@import url("https://fonts.googleapis.com/css2?family=Allura&family=Bodoni+Moda:opsz,wght@6..96,400;6..96,500;6..96,600;6..96,700&family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
    --ink: #151716;
    --ink-soft: #59615e;
    --paper: #f6f3ee;
    --panel: #fffaf3;
    --line: #ded6ca;
    --rose: #d95863;
    --rose-dark: #9d2f3c;
    --teal: #3e625d;
    --gold: #d7b36a;
    --blue: #304f78;
    --success: #44705a;
    --warning: #a97326;
    --radius: 8px;
    --font-display: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
    --font-ui: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-script: Allura, "Snell Roundhand", "Brush Script MT", cursive;
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-ui);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.full-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(21, 23, 22, 0.08);
    background: rgba(255, 250, 243, 0.72);
    backdrop-filter: blur(24px) saturate(1.35);
}

.site-header .bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand img {
    display: block;
    width: 184px;
    height: auto;
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 0.48rem;
    min-height: 40px;
    border: 1px solid rgba(21, 23, 22, 0.18);
    border-radius: 999px;
    background: rgba(255, 250, 243, 0.74);
    color: var(--ink);
    padding: 0 0.95rem;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 28px rgba(21, 23, 22, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.menu-toggle::after {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-0.12rem) rotate(45deg);
    transition: transform 180ms ease;
}

.menu-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(21, 23, 22, 0.42);
}

.site-header.is-menu-open .menu-toggle {
    background: var(--ink);
    color: var(--panel);
    border-color: var(--ink);
}

.site-header.is-menu-open .menu-toggle::after {
    transform: translateY(0.1rem) rotate(225deg);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.15rem;
    align-items: center;
    justify-content: flex-end;
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 700;
}

.nav-links form {
    margin: 0;
}

.nav-links a,
.nav-links button {
    transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links button:hover {
    color: var(--rose-dark);
}

.cart-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 1px solid rgba(21, 23, 22, 0.78);
    border-radius: 999px;
    background: var(--ink);
    color: var(--panel);
    padding: 0 1rem;
}

.nav-user-name {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border: 1px solid rgba(21, 23, 22, 0.1);
    border-radius: 999px;
    background: rgba(255, 250, 243, 0.62);
    color: var(--ink);
    padding: 0 0.78rem;
    font-size: 0.8rem;
    font-weight: 900;
    white-space: nowrap;
}

/* ---- Buttons & forms ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.78rem 1.3rem;
    border: 1px solid rgba(21, 23, 22, 0.88);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(21, 23, 22, 0.96), rgba(21, 23, 22, 0.86));
    color: var(--panel);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 36px rgba(21, 23, 22, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
    transform: translateY(-1px);
    border-color: var(--rose);
    background: var(--rose);
    box-shadow: 0 16px 40px rgba(217, 88, 99, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--ink);
}

.btn-outline:hover {
    background: var(--ink);
    color: var(--panel);
}

.btn-quiet {
    border-color: rgba(255, 250, 243, 0.52);
    background: rgba(255, 250, 243, 0.16);
    color: var(--panel);
    backdrop-filter: blur(16px) saturate(1.25);
}

.btn-quiet:hover {
    border-color: var(--panel);
    background: var(--panel);
    color: var(--ink);
}

/* ---- App invite modal ---- */
.app-invite {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 16, 15, 0.62);
    backdrop-filter: blur(14px) saturate(1.18);
    padding: 1rem;
}

.app-invite[hidden] {
    display: none;
}

.app-invite-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(310px, 1fr);
    width: min(880px, calc(100vw - 2rem));
    overflow: hidden;
    border: 1px solid rgba(255, 250, 243, 0.22);
    border-radius: 18px;
    background: rgba(255, 250, 243, 0.88);
    box-shadow: 0 38px 100px rgba(7, 9, 8, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.48);
    animation: appInviteUp 520ms cubic-bezier(0.2, 0.9, 0.3, 1);
}

@keyframes appInviteUp {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.app-invite-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 250, 243, 0.28);
    border-radius: 50%;
    background: rgba(21, 23, 22, 0.52);
    color: var(--panel);
    font: inherit;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(16px) saturate(1.2);
}

.app-invite-close:hover {
    background: var(--ink);
}

.app-invite-visual {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background: #211b15;
}

.app-invite-visual > img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.app-invite-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(21, 23, 22, 0.08), rgba(21, 23, 22, 0.46));
}

.app-invite-device {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid rgba(255, 250, 243, 0.22);
    border-radius: 14px;
    background: rgba(19, 16, 13, 0.72);
    color: var(--panel);
    padding: 0.7rem 0.85rem;
    box-shadow: 0 20px 48px rgba(7, 9, 8, 0.32);
    backdrop-filter: blur(20px) saturate(1.2);
}

.app-invite-device img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
}

.app-invite-device span {
    font-size: 0.78rem;
    font-weight: 900;
}

.app-invite-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(1.35rem, 4vw, 2.4rem);
}

.app-invite-logo {
    width: min(178px, 70%);
    height: auto;
    margin-bottom: 1.1rem;
}

.app-invite-eyebrow {
    color: var(--rose-dark);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.app-invite-body h3 {
    max-width: 8.6em;
    margin: 0.4rem 0 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 500;
    line-height: 0.96;
}

.app-invite-body p {
    max-width: 31rem;
    margin: 1rem 0 0;
    color: var(--ink-soft);
    font-size: 0.98rem;
}

.app-invite-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.15rem;
}

.app-invite-points span {
    border: 1px solid rgba(21, 23, 22, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.44);
    padding: 0.42rem 0.72rem;
    color: var(--ink);
    font-size: 0.72rem;
    font-weight: 900;
}

.app-invite-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.45rem;
}

.app-invite-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--panel);
    padding: 0.72rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(21, 23, 22, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.app-invite-btn:hover {
    background: var(--rose-dark);
}

.app-invite-note {
    color: var(--ink-soft);
    font-size: 0.74rem;
    font-weight: 800;
}

.floating-app-download {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 42;
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    min-height: 58px;
    border: 1px solid rgba(255, 250, 243, 0.28);
    border-radius: 999px;
    background: rgba(21, 23, 22, 0.88);
    color: var(--panel);
    padding: 0.48rem 0.95rem 0.48rem 0.48rem;
    box-shadow: 0 22px 58px rgba(7, 9, 8, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(22px) saturate(1.2);
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.floating-app-download:hover {
    transform: translateY(-2px);
    background: var(--ink);
    box-shadow: 0 26px 64px rgba(7, 9, 8, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.floating-app-download img {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    object-fit: cover;
}

.floating-app-download strong,
.floating-app-download small {
    display: block;
    line-height: 1.05;
}

.floating-app-download strong {
    font-size: 0.84rem;
    font-weight: 900;
}

.floating-app-download small {
    margin-top: 0.16rem;
    color: rgba(255, 250, 243, 0.68);
    font-size: 0.68rem;
    font-weight: 800;
}

.btn-sm {
    min-height: 34px;
    padding: 0.42rem 0.8rem;
    font-size: 0.84rem;
}

.btn-block {
    width: 100%;
}

label {
    display: block;
    margin-bottom: 0.38rem;
    color: var(--ink);
    font-size: 0.85rem;
    font-weight: 800;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select,
textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    color: var(--ink);
    padding: 0.7rem 0.85rem;
    font: inherit;
    font-size: 0.95rem;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(217, 88, 99, 0.18);
    border-color: var(--rose);
}

.field {
    margin-bottom: 1rem;
}

.error-text {
    margin-top: 0.3rem;
    color: var(--rose-dark);
    font-size: 0.82rem;
}

.status-banner {
    border: 1px solid rgba(68, 112, 90, 0.3);
    border-radius: var(--radius);
    background: #eef6f0;
    color: var(--success);
    padding: 0.85rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
    font-weight: 700;
}

.status-error {
    border-color: rgba(157, 47, 60, 0.35);
    background: #fae9e9;
    color: var(--rose-dark);
}

/* ---- Editorial hero ---- */
.hero {
    border-bottom: 1px solid rgba(21, 23, 22, 0.08);
}

.hero-home {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    background:
        url("/images/ashkey-hero-studio.png") center center / cover no-repeat;
    color: var(--panel);
}

.hero-home::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(12, 16, 15, 0.82) 0%, rgba(12, 16, 15, 0.62) 36%, rgba(12, 16, 15, 0.14) 72%),
        radial-gradient(circle at 78% 18%, rgba(255, 199, 128, 0.18), transparent 34rem);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 680px;
    padding-top: 3rem;
    padding-bottom: 5rem;
}

.hero-copy {
    max-width: 610px;
}

.eyebrow,
.fabric-tag,
.product-topline {
    color: var(--teal);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-home .eyebrow {
    color: var(--gold);
}

.hero h1,
.hero-copy h1,
.garment-detail h1,
.section-head h2,
.split-intro h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.02;
    overflow-wrap: anywhere;
}

.hero-copy h1 {
    max-width: 10.6em;
    margin-top: 0.8rem;
    font-size: 4.1rem;
}

.hero-copy p {
    max-width: 42rem;
    margin: 1.2rem 0 0;
    color: rgba(255, 250, 243, 0.84);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.6rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    max-width: 530px;
    margin: 2rem 0 0;
}

.hero-stats div {
    border: 1px solid rgba(255, 250, 243, 0.28);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255, 250, 243, 0.16), rgba(255, 250, 243, 0.08));
    padding: 0.9rem;
    backdrop-filter: blur(18px) saturate(1.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-stats dt {
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
}

.hero-stats dd {
    margin: 0.25rem 0 0;
    color: rgba(255, 250, 243, 0.72);
    font-size: 0.8rem;
    font-weight: 800;
}

.hero-compact {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #101514 0%, #263e3a 55%, #803743 100%);
    color: var(--panel);
    padding: 4rem 0 3.4rem;
}

.hero-compact .eyebrow {
    color: var(--gold);
}

.hero-compact h1 {
    max-width: 13em;
    margin-top: 0.55rem;
    font-size: 3.2rem;
}

.hero-compact p {
    max-width: 45rem;
    color: rgba(255, 250, 243, 0.78);
}

/* ---- Store sections ---- */
.section-band {
    margin: 0 calc(50% - 50vw);
    padding: 2.2rem 0;
    background: rgba(255, 250, 243, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
}

.split-intro,
.section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
    gap: 2rem;
    align-items: end;
}

.split-intro h2,
.section-head h2 {
    margin-top: 0.45rem;
    font-size: 2.2rem;
}

.section-head {
    padding: 2.2rem 0 0.6rem;
}

.section-head p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.98rem;
}

.studio-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
}

.studio-steps span {
    min-height: 64px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 243, 0.6);
    padding: 0.8rem;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 900;
}

.studio-steps span::before {
    content: "";
    display: block;
    width: 26px;
    height: 3px;
    margin-bottom: 0.65rem;
    border-radius: 999px;
    background: var(--rose);
}

.category-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    padding: 1.5rem 0 0.7rem;
}

.category-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 243, 0.72);
    backdrop-filter: blur(16px) saturate(1.18);
    padding: 1rem;
    font-weight: 900;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.category-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(217, 88, 99, 0.4);
    box-shadow: 0 18px 36px rgba(21, 23, 22, 0.08);
}

.category-chip strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--panel);
}

.catalog-section {
    padding-bottom: 3rem;
}

.video-lookbook,
.garment-video-feature {
    padding: 0.2rem 0 2rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem 0 1.6rem;
}

.video-card,
.garment-video-shell {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 243, 0.76);
    backdrop-filter: blur(18px) saturate(1.16);
    box-shadow: 0 22px 54px rgba(21, 23, 22, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.video-card {
    padding: 0.75rem;
}

.video-card video,
.garment-video-shell video {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 6px;
    background: var(--ink);
    object-fit: cover;
}

.video-card div {
    padding: 0.75rem 0.15rem 0.1rem;
}

.video-card h3,
.garment-video-shell h3 {
    margin: 0.18rem 0 0.35rem;
    font-family: var(--font-display);
    font-size: 1.32rem;
    line-height: 1.12;
}

.garment-video-shell {
    display: grid;
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
    gap: 1.2rem;
    align-items: center;
    padding: 0.9rem;
}

.garment-video-shell video {
    max-height: 680px;
}

.garment-video-shell > div {
    padding: 1rem clamp(0.2rem, 3vw, 1.8rem);
}

.garment-video-shell p {
    max-width: 34rem;
    color: var(--ink-soft);
}

/* ---- Product cards ---- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    gap: 1.05rem;
    padding: 1.2rem 0 3rem;
}

.card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 243, 0.72);
    backdrop-filter: blur(18px) saturate(1.16);
}

.product-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(217, 88, 99, 0.45);
    box-shadow: 0 22px 50px rgba(21, 23, 22, 0.1);
}

.image-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    background: #e9dfd4;
}

.product-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.product-card .body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
}

.product-title {
    display: block;
    min-height: 3.2rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    line-height: 1.25;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: auto;
    color: var(--ink-soft);
    font-size: 0.88rem;
    font-weight: 800;
}

.product-footer strong {
    color: var(--ink);
    font-size: 1.05rem;
}

.designs-badge {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    border-radius: 999px;
    background: rgba(21, 23, 22, 0.82);
    color: var(--panel);
    padding: 0.35rem 0.65rem;
    font-size: 0.76rem;
    font-weight: 900;
}

.variant-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
}

.variant-strip img {
    border: 1px solid var(--line);
    border-radius: 6px;
    aspect-ratio: 1;
    object-fit: cover;
}

/* ---- Product detail ---- */
.garment-detail {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1fr);
    gap: 2.4rem;
    align-items: start;
    padding: 2.2rem 0 3rem;
}

.showcase-panel {
    position: sticky;
    top: 96px;
}

.hero-img {
    display: block;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #e7ded2;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.selected-design-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 243, 0.72);
    backdrop-filter: blur(18px) saturate(1.16);
    padding: 0.95rem 1rem;
}

.selected-design-card strong {
    display: block;
    margin-top: 0.16rem;
}

.buy-panel {
    min-width: 0;
}

.garment-detail h1 {
    margin-top: 0.45rem;
    font-size: 3rem;
}

.price {
    margin-top: 0.85rem;
    font-family: var(--font-display);
    font-size: 2rem;
}

.description {
    margin: 0.85rem 0 1.2rem;
    color: var(--ink-soft);
}

.detail-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 1.2rem 0 1.4rem;
}

.detail-metrics span {
    min-height: 68px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 243, 0.7);
    backdrop-filter: blur(14px);
    padding: 0.75rem;
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 800;
}

.detail-metrics strong {
    display: block;
    color: var(--ink);
    font-size: 1.05rem;
}

.size-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.4rem;
}

.size-row label {
    position: relative;
    min-width: 52px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
    padding: 0.55rem 0.9rem;
    text-align: center;
    cursor: pointer;
}

.size-row input,
.design-option input {
    position: absolute;
    opacity: 0;
}

.size-row label:has(input:checked) {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--panel);
}

.field-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.7rem;
}

.field-heading label {
    margin: 0;
}

.field-heading span {
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-weight: 800;
}

.design-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    gap: 0.8rem;
    margin-bottom: 1.3rem;
}

.design-option {
    position: relative;
    display: block;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 243, 0.78);
    backdrop-filter: blur(14px);
    padding: 0.4rem;
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.design-option:hover {
    transform: translateY(-1px);
    border-color: rgba(217, 88, 99, 0.4);
}

.design-option:has(input:checked) {
    border-color: var(--rose);
    box-shadow: 0 0 0 2px rgba(217, 88, 99, 0.18);
}

.design-option img {
    display: block;
    width: 100%;
    border-radius: 6px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.radio-dot {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    width: 18px;
    height: 18px;
    border: 2px solid var(--panel);
    border-radius: 50%;
    background: rgba(21, 23, 22, 0.5);
    box-shadow: 0 0 0 1px rgba(21, 23, 22, 0.24);
}

.design-option:has(input:checked) .radio-dot {
    background: var(--rose);
}

.design-option .name {
    display: block;
    min-height: 2.3rem;
    margin-top: 0.55rem;
    color: var(--ink);
    font-size: 0.83rem;
    font-weight: 900;
    line-height: 1.2;
}

.design-meta {
    display: block;
    color: var(--ink-soft);
    font-size: 0.72rem;
    font-weight: 800;
}

.micro-link {
    color: var(--rose-dark);
    font-size: 0.82rem;
    font-weight: 900;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.micro-link.muted {
    color: var(--ink-soft);
    text-decoration: none;
}

.page-heading {
    padding: 2.6rem 0 1.5rem;
}

.page-heading h1 {
    max-width: 13em;
    margin: 0.35rem 0 0;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.05;
}

.page-flow {
    padding-bottom: 3rem;
}

.auth-wrap {
    max-width: 420px;
    margin: 3.2rem auto;
}

.panel-title {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.1;
}

.script-signature {
    font-family: var(--font-script);
    font-size: clamp(2.4rem, 7vw, 5.2rem);
    line-height: 0.9;
    color: rgba(255, 250, 243, 0.82);
    text-shadow: 0 12px 34px rgba(21, 23, 22, 0.28);
}

.panel-title.small {
    font-size: 1.35rem;
}

.muted-text {
    margin: 0.75rem 0 1rem;
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.flash-offset {
    margin-top: 1.5rem;
}

.logout-button,
.remove-button {
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.remove-button {
    color: var(--rose-dark);
    font-size: 0.82rem;
}

.new-address {
    margin-top: 1rem;
}

.inline-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.option-detail {
    color: var(--ink-soft);
    font-size: 0.85rem;
}

.delivery-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.panel-stack {
    margin-bottom: 1.5rem;
}

.order-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.order-link:hover {
    transform: translateY(-2px);
    border-color: rgba(217, 88, 99, 0.42);
    box-shadow: 0 18px 36px rgba(21, 23, 22, 0.08);
}

.order-meta {
    color: var(--ink-soft);
    font-size: 0.85rem;
}

.order-side {
    text-align: right;
}

.order-total {
    margin-top: 0.4rem;
    font-weight: 900;
}

.summary-spaced {
    margin-top: 1rem;
}

.tracking-note {
    margin: 1rem 0 0;
}

.timeline-note {
    margin-top: 0.3rem;
    font-size: 0.85rem;
}

.reel-board {
    padding: 0.6rem 0 3.5rem;
}

.reel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.9rem;
    padding-top: 1rem;
}

.reel-card {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 243, 0.74);
    backdrop-filter: blur(16px);
    padding: 0.75rem;
}

.reel-card img {
    width: 82px;
    height: 108px;
    border-radius: 6px;
    object-fit: cover;
}

.reel-card h3 {
    margin: 0.18rem 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
    line-height: 1.15;
}

.reel-card p {
    margin: 0 0 0.45rem;
    color: var(--ink-soft);
    font-size: 0.78rem;
}

/* ---- Cart / checkout / orders ---- */
.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.72fr);
    gap: 2rem;
    align-items: start;
}

.panel-box {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 243, 0.74);
    backdrop-filter: blur(18px) saturate(1.15);
    padding: 1.4rem;
}

.line-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

.line-item:first-child {
    padding-top: 0;
}

.line-item img {
    width: 82px;
    height: 104px;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 6px;
    object-fit: cover;
}

.line-item .grow {
    flex: 1;
    min-width: 0;
}

.qty-size {
    color: var(--ink-soft);
    font-size: 0.84rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    font-size: 0.94rem;
}

.summary-row.total {
    margin-top: 0.6rem;
    border-top: 1px solid var(--line);
    padding-top: 0.9rem;
    font-weight: 900;
}

.order-heading-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.9rem;
}

.invoice-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
}

.invoice-shell {
    max-width: 920px;
}

.invoice-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--ink-soft);
    font-size: 0.86rem;
    font-weight: 800;
}

.invoice-brand img {
    width: 168px;
}

.invoice-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.invoice-meta span {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 243, 0.72);
    padding: 0.72rem;
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 800;
}

.invoice-meta strong {
    display: block;
    color: var(--ink);
    font-size: 0.72rem;
    text-transform: uppercase;
}

.invoice-address {
    margin-bottom: 1rem;
}

.invoice-row {
    border-bottom: 1px solid rgba(222, 214, 202, 0.72);
}

.delivery-option {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    padding: 0.85rem 1rem;
    margin-bottom: 0.65rem;
    cursor: pointer;
}

.delivery-option:has(input:checked) {
    border-color: var(--rose);
    background: #fff1f1;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 0 0.72rem;
    font-size: 0.75rem;
    font-weight: 900;
}

.badge-pending_review {
    background: #fbecd7;
    color: var(--warning);
}

.badge-approved,
.badge-sent_to_manufacturer,
.badge-in_production {
    background: #e3edf6;
    color: var(--blue);
}

.badge-shipped {
    background: #e8e4f4;
    color: #604a8a;
}

.badge-delivered {
    background: #e4f0e8;
    color: var(--success);
}

.badge-rejected,
.badge-cancelled {
    background: #f8dfdf;
    color: var(--rose-dark);
}

.timeline {
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline li {
    position: relative;
    margin-left: 0.35rem;
    border-left: 2px solid var(--line);
    padding: 0.65rem 0 0.65rem 1rem;
}

.timeline li::before {
    content: "";
    position: absolute;
    top: 1.05rem;
    left: -5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rose);
}

.timeline .when {
    margin-top: 0.25rem;
    color: var(--ink-soft);
    font-size: 0.78rem;
}

.empty-state {
    padding: 4rem 1rem;
    text-align: center;
    color: var(--ink-soft);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--ink);
    color: rgba(255, 250, 243, 0.72);
    padding: 2rem 0;
    font-size: 0.88rem;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-grid strong {
    display: block;
    color: var(--panel);
    font-family: var(--font-display);
    font-size: 1.2rem;
}

@media (max-width: 980px) {
    .hero-copy h1,
    .hero-compact h1,
    .garment-detail h1,
    .page-heading h1 {
        font-size: 2.7rem;
    }

    .hero-home,
    .hero-content {
        min-height: 610px;
    }

    .split-intro,
    .section-head,
    .garment-detail,
    .two-col {
        grid-template-columns: 1fr;
    }

    .garment-detail {
        gap: 1.35rem;
        padding-top: 1.25rem;
    }

    .showcase-panel {
        position: static;
    }

    .two-col {
        gap: 1.25rem;
    }

    .invoice-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-row,
    .studio-steps,
    .video-grid,
    .reel-grid,
    .inline-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .container {
        padding: 0 1rem;
    }

    .app-invite {
        align-items: flex-end;
        padding: 0.75rem;
    }

    .app-invite-close {
        position: fixed;
        top: max(0.75rem, env(safe-area-inset-top));
        right: max(0.75rem, env(safe-area-inset-right));
        z-index: 101;
        width: 46px;
        height: 46px;
        border-color: rgba(255, 250, 243, 0.64);
        background: rgba(255, 250, 243, 0.94);
        color: var(--ink);
        box-shadow: 0 18px 44px rgba(7, 9, 8, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.72);
    }

    .app-invite-close:hover {
        background: var(--panel);
        color: var(--ink);
    }

    .app-invite-card {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 1.5rem);
        overflow-y: auto;
        border-radius: 18px;
    }

    .app-invite-visual,
    .app-invite-visual > img {
        min-height: 220px;
    }

    .app-invite-device {
        left: 0.75rem;
        bottom: 0.75rem;
        padding: 0.55rem 0.7rem;
    }

    .app-invite-device img {
        width: 36px;
        height: 36px;
    }

    .app-invite-body {
        padding: 1.2rem;
    }

    .app-invite-logo {
        width: 142px;
        margin-bottom: 0.8rem;
    }

    .app-invite-body h3 {
        max-width: 9.5em;
        font-size: 2.25rem;
    }

    .site-header .bar {
        display: grid;
        grid-template-columns: 1fr auto;
        min-height: auto;
        padding: 0.65rem 0;
        align-items: center;
        gap: 0.55rem 0.85rem;
    }

    .brand img {
        width: 146px;
    }

    .menu-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .nav-links {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr;
        max-height: 0;
        overflow: hidden;
        justify-content: stretch;
        gap: 0.25rem;
        border: 0 solid transparent;
        border-radius: var(--radius);
        background: rgba(255, 250, 243, 0);
        opacity: 0;
        padding: 0 0.75rem;
        pointer-events: none;
        transform: translateY(-0.35rem);
        transition: max-height 220ms ease, opacity 180ms ease, padding 220ms ease, border-color 180ms ease, background 180ms ease, transform 220ms ease;
        white-space: nowrap;
    }

    .site-header.is-menu-open .nav-links {
        max-height: 18rem;
        border-width: 1px;
        border-color: rgba(21, 23, 22, 0.12);
        background: rgba(255, 250, 243, 0.88);
        box-shadow: 0 22px 54px rgba(21, 23, 22, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.54);
        backdrop-filter: blur(22px) saturate(1.22);
        opacity: 1;
        padding: 0.75rem;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links a,
    .nav-links button,
    .nav-user-name {
        display: flex;
        align-items: center;
        min-height: 44px;
        width: 100%;
        border-radius: var(--radius);
        padding: 0.6rem 0.75rem;
    }

    .nav-user-name {
        justify-content: center;
        background: rgba(21, 23, 22, 0.06);
    }

    .nav-links a:hover,
    .nav-links button:hover {
        background: rgba(217, 88, 99, 0.09);
    }

    .nav-links form {
        width: 100%;
    }

    .cart-pill {
        justify-content: center;
        margin-top: 0.15rem;
    }

    .hero-home {
        min-height: 620px;
        background:
            url("/images/ashkey-hero-studio.png") 66% center / cover no-repeat;
    }

    .hero-home::before {
        background:
            linear-gradient(180deg, rgba(12, 16, 15, 0.84) 0%, rgba(12, 16, 15, 0.56) 54%, rgba(12, 16, 15, 0.22) 100%),
            radial-gradient(circle at 74% 18%, rgba(255, 199, 128, 0.16), transparent 24rem);
    }

    .hero-content {
        min-height: 620px;
        align-items: flex-end;
        padding-bottom: 2rem;
    }

    .hero-copy h1,
    .hero-compact h1,
    .garment-detail h1,
    .page-heading h1 {
        font-size: 2.25rem;
    }

    .hero-stats,
    .detail-metrics,
    .category-row,
    .studio-steps,
    .video-grid,
    .reel-grid,
    .inline-fields {
        grid-template-columns: 1fr;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .design-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.62rem;
    }

    .garment-detail {
        padding: 1rem 0 2.4rem;
        gap: 1rem;
    }

    .showcase-panel {
        margin-inline: -1rem;
    }

    .hero-img {
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .selected-design-card {
        margin: 0.75rem 1rem 0;
    }

    .buy-panel {
        padding-top: 0.35rem;
    }

    .detail-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .detail-metrics span {
        min-height: 58px;
        padding: 0.58rem;
        font-size: 0.68rem;
        line-height: 1.2;
    }

    .detail-metrics strong {
        font-size: 0.92rem;
    }

    .design-option {
        padding: 0.32rem;
    }

    .design-option .name {
        min-height: 2.45rem;
        font-size: 0.76rem;
    }

    .design-meta {
        font-size: 0.68rem;
    }

    .two-col.page-flow {
        gap: 1rem;
    }

    .panel-box {
        padding: 1rem;
    }

    .line-item {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        align-items: start;
        gap: 0.75rem;
    }

    .line-item img {
        width: 72px;
        height: 92px;
    }

    .line-item .grow {
        width: 100%;
    }

    .line-item > div:last-child {
        grid-column: 2;
        font-weight: 900;
    }

    .selected-design-card,
    .footer-grid,
    .line-item,
    .order-link,
    .delivery-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-side {
        text-align: left;
    }

    .reel-grid {
        grid-template-columns: 1fr;
    }

    .garment-video-shell {
        grid-template-columns: 1fr;
    }

    .order-heading-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .invoice-heading,
    .invoice-brand {
        align-items: flex-start;
        flex-direction: column;
    }

    .invoice-meta {
        grid-template-columns: 1fr;
    }

    .floating-app-download {
        right: 0.85rem;
        bottom: 0.85rem;
        min-height: 52px;
        padding: 0.4rem 0.78rem 0.4rem 0.4rem;
    }

    .floating-app-download img {
        width: 38px;
        height: 38px;
    }
}

@media print {
    .site-header,
    .site-footer,
    .floating-app-download,
    .app-invite,
    .print-hide {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    .panel-box,
    .invoice-meta span {
        background: #fff;
        box-shadow: none;
    }
}

/* Brand byline — AshKi, by Shardha */
.brand { display: flex; align-items: baseline; gap: .45rem; }
.brand-byline {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: .66rem;
    letter-spacing: .04em;
    color: #8a7c68;
    white-space: nowrap;
    transform: translateY(-2px);
}
.footer-byline {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: .72rem;
    color: #8a7c68;
}

/* ---- Search Bar ---- */
.section-head-searchable {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.section-head-searchable > div {
    flex: 1 1 300px;
}

.search-area {
    flex: 0 1 360px;
    width: 100%;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid rgba(21, 23, 22, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
    padding: 2px 2px 2px 1.2rem;
    transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.search-input-group:focus-within {
    border-color: rgba(217, 88, 99, 0.5);
    box-shadow: 0 0 0 4px rgba(217, 88, 99, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.search-input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0.6rem 2rem 0.6rem 0;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: var(--ink);
    outline: none;
}

.search-input::placeholder {
    color: var(--ink-soft);
    opacity: 0.7;
}

.search-submit-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: var(--ink);
    color: var(--panel);
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
}

.search-submit-btn:hover {
    background: var(--rose);
    transform: scale(1.05);
}

.search-icon {
    width: 16px;
    height: 16px;
}

/* Empty Search State */
.empty-search-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.25);
    margin: 2rem 0;
}

.empty-search-icon {
    width: 48px;
    height: 48px;
    color: var(--ink-soft);
    opacity: 0.5;
    margin-bottom: 1.2rem;
}

.empty-search-state h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.empty-search-state p {
    color: var(--ink-soft);
    margin: 0 0 1.5rem 0;
    max-width: 420px;
    font-size: 0.95rem;
}

.search-form-advanced {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.filters-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-control {
    flex: 1 1 90px;
    min-width: 100px;
}

.filter-control select {
    width: 100%;
    border: 1px solid rgba(21, 23, 22, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    padding: 0.45rem 1rem;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--ink);
    outline: none;
    cursor: pointer;
    transition: all 160ms ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23151716' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px;
    padding-right: 28px;
}

.filter-control select:hover,
.filter-control select:focus {
    border-color: rgba(217, 88, 99, 0.4);
    background-color: rgba(255, 255, 255, 0.95);
}

.clear-filters-btn {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--rose);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    transition: background-color 160ms ease;
}

.clear-filters-btn:hover {
    background-color: rgba(217, 88, 99, 0.08);
}

@media (max-width: 680px) {
    .section-head-searchable {
        flex-direction: column;
        align-items: flex-start;
    }
    .search-area {
        flex: 1 1 auto;
    }
}

/* Autocomplete Header Search */
.header-search-container {
    position: relative;
    flex: 1;
    max-width: 280px;
    margin: 0 1.5rem;
}
.header-search-form {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(21, 23, 22, 0.04);
    border: 1px solid rgba(21, 23, 22, 0.08);
    border-radius: 20px;
    padding: 2px 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.header-search-form:focus-within {
    background: #ffffff;
    border-color: #cb5d46;
    box-shadow: 0 0 0 3px rgba(203, 93, 70, 0.12);
}
.header-search-input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 6px 4px;
    font-size: 13px;
    outline: none;
    color: #151716;
    font-family: var(--font-ui);
}
.header-search-input::placeholder {
    color: rgba(21, 23, 22, 0.4);
}
.header-search-icon {
    width: 15px;
    height: 15px;
    color: rgba(21, 23, 22, 0.4);
    margin-right: 4px;
    display: block;
}
.search-clear-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: rgba(21, 23, 22, 0.4);
    cursor: pointer;
    padding: 0 4px;
}
.search-clear-btn:hover {
    color: #151716;
}

.header-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid rgba(21, 23, 22, 0.12);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(21, 23, 22, 0.08);
    max-height: 380px;
    overflow-y: auto;
    z-index: 100;
    padding: 8px 0;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: #151716;
    transition: background 0.2s;
    border-bottom: 1px solid rgba(21, 23, 22, 0.03);
}
.search-result-item:last-child {
    border-bottom: none;
}
.search-result-item:hover {
    background: rgba(21, 23, 22, 0.03);
}
.search-result-thumb {
    width: 36px;
    height: 48px;
    border-radius: 4px;
    object-fit: cover;
    background: rgba(21, 23, 22, 0.03);
}
.search-result-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.search-result-name {
    font-size: 13px;
    font-weight: 600;
    color: #151716;
    font-family: var(--font-body);
}
.search-result-meta {
    font-size: 11px;
    color: rgba(21, 23, 22, 0.5);
    margin-top: 2px;
    font-family: var(--font-ui);
}
.search-result-price {
    font-size: 12.5px;
    font-weight: 500;
    color: #cb5d46;
    font-family: var(--font-ui);
}
.search-result-empty {
    padding: 16px;
    text-align: center;
    color: rgba(21, 23, 22, 0.5);
    font-size: 13px;
    font-family: var(--font-ui);
}

@media (max-width: 768px) {
    .header-search-container {
        display: none;
    }
}
