.header-inner {
    display: grid;
    grid-template-columns: auto minmax(180px, 500px) auto;
    gap: clamp(1rem, 3vw, 2.5rem);
}
.site-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.site-search input {
    min-height: 44px;
    padding-right: 48px;
    border-color: var(--line);
    border-radius: 30px;
    background: var(--soft);
}
.site-search button {
    position: absolute;
    right: 4px;
    width: 39px;
    min-height: 37px;
    border: 0;
    border-radius: 50%;
    color: var(--ink);
    background: transparent;
    font: 700 1.6rem/1 sans-serif;
    cursor: pointer;
}
.search-results {
    position: absolute;
    z-index: 5;
    inset: calc(100% + 5px) 0 auto;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    box-shadow: 0 12px 25px #10294718;
    padding: .35rem;
}
.search-results a {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    padding: .65rem .7rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: .9rem;
}
.search-results a:hover,
.search-results a:focus-visible {
    background: var(--soft);
}
.search-results small {
    color: var(--body);
}
.nav-band {
    border-top: 1px solid var(--line);
}
.nav-band nav {
    justify-content: center;
    gap: clamp(1rem, 4vw, 3rem);
    min-height: 45px;
}
.nav-band nav a {
    display: block;
    padding-block: .55rem;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.hero h1 {
    font-size: clamp(3.2rem, 6.7vw, 6.1rem);
    line-height: .96;
}
.hero-art img {
    aspect-ratio: 1.42;
}
.hero-label {
    background: #071b33e8;
}
.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin: 0 0 1.35rem;
}
.category-chips a {
    border: 1px solid var(--line);
    border-radius: 2rem;
    background: #fff;
    padding: .32rem .78rem;
    color: var(--ink);
    font-size: .84rem;
    font-weight: 650;
    text-decoration: none;
}
.category-chips a:hover,
.category-chips [aria-current="true"] {
    background: var(--ink);
    color: #fff;
}
.photo-caption {
    font-size: .8rem;
}
.save-fabric {
    margin-top: .75rem;
}
.auth-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 535px;
    max-width: 1040px;
    margin-block: clamp(2rem, 5vw, 4.5rem);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
}
.auth-aside {
    display: flex;
    align-items: end;
    padding: clamp(1.35rem, 4vw, 3.5rem);
    background: linear-gradient(180deg, #09254655, #081b32f2), url('./hero.jpg') center / cover;
    color: white;
}
.auth-aside h1 {
    color: white;
    font-size: clamp(2.2rem, 4vw, 4.5rem);
}
.auth-aside a,
.auth-aside .eyebrow {
    color: white;
}
.auth-card {
    padding: clamp(1.4rem, 4vw, 3rem);
    border: 0;
}
.auth-card h2 {
    font-size: 2.5rem;
    margin: 1.3rem 0 1.1rem;
}
.auth-card form,
.social-buttons {
    display: grid;
    gap: .75rem;
}
.auth-card form .button {
    width: 100%;
}
.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .3rem;
    padding: .25rem;
    background: var(--soft);
    border-radius: 8px;
}
.auth-tabs a {
    padding: .45rem;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
}
.auth-tabs .selected {
    border-radius: 6px;
    background: white;
    box-shadow: 0 1px 4px #10294724;
}
.social-button {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 43px;
    padding: .45rem .7rem;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: white;
    color: var(--ink);
    font: inherit;
    font-weight: 650;
    text-decoration: none;
}
.social-button small {
    margin-left: auto;
    color: var(--body);
}
.social-button:disabled {
    cursor: default;
}
.social-icon {
    display: grid;
    width: 1.4rem;
    height: 1.4rem;
    place-items: center;
    font: 800 1.03rem/1 Arial, sans-serif;
}
.social-icon.google {
    color: #1762c0;
}
.social-icon.facebook {
    border-radius: 50%;
    background: #0866ff;
    color: white;
}
.auth-divider {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--body);
    font-size: .83rem;
}
.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}
.faq-list details {
    margin-bottom: .75rem;
}
.faq-list summary {
    color: var(--ink);
    font-weight: 700;
    cursor: pointer;
}
.faq-list details p {
    margin-bottom: 0;
}
@media (max-width: 680px) {
    .header-inner {
        display: flex;
        gap: .6rem;
    }
    .site-search {
        order: 4;
    }
    .header-action-text {
        display: none;
    }
    .nav-band nav {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0 1rem;
    }
    .auth-shell {
        grid-template-columns: 1fr;
    }
    .auth-aside {
        min-height: 220px;
    }
}

.site-header {
    padding: 9px 0;
    border: 0;
    background: linear-gradient(90deg, #eaf2f8, #f8fafc 72%);
}
.site-header .header-inner {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(200px, .78fr) minmax(160px, .85fr);
    align-items: center;
    width: min(1600px, calc(100% - 40px));
    min-height: 67px;
    gap: clamp(1rem, 3vw, 3.5rem);
    padding: 0 14px;
    background: #fff;
    border: 1px solid #e5edf3;
    border-radius: 23px;
    box-shadow: 0 8px 30px #10294709;
}
.site-header nav {
    flex-wrap: nowrap;
    width: auto;
    gap: clamp(.95rem, 2vw, 1.75rem);
}
.site-header nav a {
    position: relative;
    display: grid;
    align-items: center;
    min-height: 46px;
    text-decoration: none;
}
.site-header nav a[aria-current="page"]::after {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 1px;
    background: var(--blue);
    content: "";
}
.site-search input {
    padding-inline: 39px 47px;
}
.search-glyph {
    position: absolute;
    top: 50%;
    left: 13px;
    display: grid;
    color: #56758c;
    transform: translateY(-50%);
    pointer-events: none;
}
.search-glyph svg {
    width: 17px;
    height: 17px;
}
.site-search button {
    display: grid;
    width: 33px;
    min-height: 33px;
    place-items: center;
    background: var(--blue);
    color: white;
}
.site-search button svg {
    width: 16px;
    height: 16px;
}
.header-actions {
    justify-content: end;
    gap: clamp(.75rem, 1.7vw, 1.6rem);
}
.header-actions a,
.header-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    gap: .4rem;
}
.header-actions a:not(.basket),
.header-actions button {
    min-width: 36px;
}
.header-actions .basket {
    padding-inline: .9rem;
    border: 1px solid var(--line);
    border-radius: 2rem;
    background: #f9fbfd;
}
.header-actions .bag-label {
    padding: 0;
    background: transparent;
}
.header-actions .search-toggle,
.mobile-dock,
.mobile-collection {
    display: none;
}
.demo-3d {
    display: grid;
    grid-template-columns: .68fr 1fr;
    gap: clamp(1.5rem, 5vw, 5rem);
    align-items: center;
    padding: clamp(1.25rem, 4vw, 3rem);
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #f7fafd;
    scroll-margin-top: 20px;
}
.demo-stage {
    position: relative;
    border: 1px solid #d2e0eb;
    border-radius: 12px;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 30%, #fff, #dbe7f0);
}
.demo-stage model-viewer {
    width: 100%;
    min-height: 0;
    height: clamp(270px, 34vw, 470px);
    background: transparent;
    --poster-color: #e1edf4;
}
.viewer-legend {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    padding: .55rem .9rem;
    border-top: 1px solid #d2e0eb;
    color: var(--ink);
    background: #f9fcff;
    font-size: .73rem;
    font-weight: 650;
}
@media (max-width: 1050px) {
    .site-header .header-inner {
        grid-template-columns: auto auto minmax(135px, 1fr) auto;
        gap: .85rem;
    }
    .site-header nav {
        order: 0;
        gap: .75rem;
    }
    .header-actions {
        gap: .35rem;
    }
}
@media (max-width: 940px) {
    body {
        padding-bottom: calc(65px + env(safe-area-inset-bottom));
    }
    .site-header {
        padding-block: 7px;
    }
    .site-header .header-inner {
        display: flex;
        flex-wrap: wrap;
        width: calc(100% - 16px);
        min-height: 55px;
        padding: .3rem .55rem;
        border-radius: 16px;
    }
    .site-header nav,
    .header-actions .header-account,
    .header-actions .bag-label {
        display: none;
    }
    .site-header .logo {
        gap: .45rem;
        font-size: 1.03rem;
    }
    .site-header .logo small {
        font-size: .44rem;
    }
    .site-header .logo-mark {
        width: 38px;
        font-size: 1.03rem;
    }
    .site-search {
        order: 5;
        flex-basis: 100%;
        margin-bottom: .3rem;
    }
    .js .site-search:not(.is-open) {
        display: none;
    }
    .js .header-actions .search-toggle {
        display: inline-flex;
        min-width: 34px;
        border: 0;
        background: transparent;
        color: var(--ink);
        cursor: pointer;
    }
    .header-actions .basket {
        padding-inline: .28rem;
        border: 0;
        background: transparent;
    }
    .mobile-dock {
        position: fixed;
        inset: auto 0 0;
        z-index: 8;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 2px;
        padding: 4px 6px calc(4px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--line);
        background: #fff;
        box-shadow: 0 -4px 18px #10294713;
    }
    .mobile-dock a {
        display: grid;
        place-items: center;
        gap: 2px;
        padding: .2rem 0;
        border-radius: 8px;
        font-size: .67rem;
    }
    .mobile-dock [aria-current="page"] {
        background: #e8f2f9;
        color: var(--blue);
        text-decoration: none;
    }
    .mobile-dock .dock-icon {
        display: grid;
        width: 32px;
        height: 28px;
        place-items: center;
    }
    .mobile-dock a:nth-child(3) .dock-icon {
        border-radius: 7px;
        background: var(--blue);
        color: white;
    }
}
@media (max-width: 680px) {
    .hero {
        position: relative;
        display: flex;
        align-items: end;
        width: 100%;
        min-height: clamp(470px, 135vw, 620px);
        padding: 0;
        overflow: hidden;
        background: #eaf3f9;
    }
    .hero-art {
        position: absolute;
        inset: 0;
        border-radius: 0;
    }
    .hero-art img {
        width: 100%;
        height: 100%;
        object-position: 54% 25%;
    }
    .hero-art::after {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 30%, #f0f6fa93 50%, #f4f8fb 82%);
        content: "";
    }
    .hero-label {
        display: none;
    }
    .hero-copy {
        position: relative;
        z-index: 1;
        width: 100%;
        padding: 0 1.35rem 2.6rem;
    }
    .hero h1 {
        font-size: clamp(2.5rem, 9.5vw, 4.2rem);
    }
    .hero-copy > p:not(.eyebrow) {
        font-size: .96rem;
        margin-block: .85rem 1rem;
    }
    .hero .actions {
        gap: .5rem;
    }
    .hero .button {
        font-size: .84rem;
    }
    .mobile-collection {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        padding-block: .8rem;
    }
    .mobile-collection a {
        display: inline-flex;
        align-items: center;
        gap: .35rem;
        font-size: .84rem;
        text-decoration: none;
    }
    .mobile-collection svg {
        width: 16px;
        height: 16px;
    }
    .demo-3d {
        grid-template-columns: 1fr;
        gap: .8rem;
    }
}


