/* Naswood kataloglar sayfası */
.nw-catalogs { padding: 48px 0 72px; }
.nw-catalog-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}
.nw-catalog-jump a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--nwhs-project-line);
    border-radius: 999px;
    color: var(--nwhs-project-ink) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}
.nw-catalog-jump a span { color: var(--nwhs-project-muted); font-weight: 400; }
.nw-catalog-jump a:hover, .nw-catalog-jump a:focus-visible { border-color: var(--nwhs-project-accent); }
.nw-catalog-group { scroll-margin-top: 120px; margin-bottom: 52px; }
.nw-catalog-group > h2 {
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--nwhs-project-line);
    color: var(--nwhs-project-ink);
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 600;
}
.nw-catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.nw-catalog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--nwhs-project-line);
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    scroll-margin-top: 120px;
}
.nw-catalog-cover {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--nwhs-project-paper);
}
.nw-catalog-cover img {
    position: absolute;
    inset: 18px;
    width: calc(100% - 36px);
    height: calc(100% - 36px);
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .16));
    transition: transform .3s ease;
}
.nw-catalog-card:hover .nw-catalog-cover img { transform: translateY(-3px); }
.nw-catalog-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    padding: 16px 18px 18px;
}
.nw-catalog-body h3 { margin: 0; color: var(--nwhs-project-ink); font-size: 16px; font-weight: 600; line-height: 1.35; }
.nw-catalog-body p { margin: 0 0 6px; color: var(--nwhs-project-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.nw-catalog-body .nw-btn { margin-top: auto; min-height: 44px; font-size: 14px; }
.nw-btn--outline {
    color: var(--nwhs-project-ink) !important;
    background: transparent;
    border-color: rgba(47, 48, 47, .3) !important;
}
.nw-btn--outline:hover, .nw-btn--outline:focus-visible { border-color: var(--nwhs-project-accent) !important; color: #87501f !important; }

.nw-catalog-help {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin-top: 16px;
    padding: 28px 32px;
    background: var(--nwhs-project-paper);
    border-radius: 4px;
}
.nw-catalog-help h2 { margin: 0 0 6px; font-size: 20px; font-weight: 600; color: var(--nwhs-project-ink); }
.nw-catalog-help p { margin: 0; color: var(--nwhs-project-muted); }
.nw-catalog-help-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* Form penceresi */
html.nw-modal-open { overflow: hidden; }
.nw-catalog-modal[hidden] { display: none; }
.nw-catalog-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 16px;
}
.nw-catalog-modal__backdrop { position: absolute; inset: 0; background: rgba(20, 20, 20, .55); }
.nw-catalog-modal__dialog {
    position: relative;
    width: min(100%, 480px);
    max-height: calc(100vh - 32px);
    overflow: auto;
    padding: 28px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
    color: var(--nwhs-project-ink);
}
.nw-catalog-modal__close {
    position: absolute;
    top: 8px;
    inset-inline-end: 8px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: var(--nwhs-project-ink);
    cursor: pointer;
}
.nw-catalog-form { display: grid; gap: 14px; }
.nw-catalog-form[hidden], .nw-catalog-ready[hidden] { display: none; }
.nw-catalog-form__eyebrow { margin: 0; color: #87501f; font-size: 13px; font-weight: 600; padding-inline-end: 36px; }
.nw-catalog-form h2, .nw-catalog-ready h2 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.25; }
.nw-catalog-form__text { margin: 0; color: var(--nwhs-project-muted); font-size: 14px; line-height: 1.5; }
.nw-field { display: grid; gap: 6px; }
.nw-field label { font-size: 14px; font-weight: 600; }
.nw-field label span { color: #b3261e; }
.nw-field input[type=text], .nw-field input[type=email], .nw-field input[type=tel] {
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid rgba(47, 48, 47, .3);
    border-radius: 3px;
    font: inherit;
    font-size: 15px;
    color: var(--nwhs-project-ink);
    background: #fff;
}
.nw-field input:focus-visible { outline: 2px solid var(--nwhs-project-accent); outline-offset: 1px; }
.nw-field input[aria-invalid=true] { border-color: #b3261e; }
.nw-field__error { margin: 0; color: #b3261e; font-size: 13px; }
.nw-field--check { grid-template-columns: 22px minmax(0, 1fr); align-items: start; column-gap: 10px; }
.nw-field--check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #a0612f; }
.nw-field--check label { font-weight: 400; font-size: 13px; line-height: 1.45; }
.nw-field--check label a { color: #87501f; text-decoration: underline; }
.nw-field--check .nw-field__error { grid-column: 2; }
.nw-field--hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.nw-catalog-form__status { margin: 0; min-height: 1em; font-size: 13px; color: var(--nwhs-project-muted); }
.nw-catalog-form .nw-btn, .nw-catalog-ready .nw-btn { width: 100%; }
.nw-catalog-ready { display: grid; gap: 18px; padding-top: 8px; }

@media (max-width: 1180px) { .nw-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
    .nw-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .nw-catalog-help { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .nw-catalog-grid { grid-template-columns: 1fr; }
    .nw-catalog-modal__dialog { padding: 22px 18px; }
}
