:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --text: #0d1b33;
    --muted: #58708f;
    --primary: #0d2f6f;
    --accent: #ff7a1a;
    --line: #dce5f2;
    --glass: rgba(255, 255, 255, 0.72);
}

body.dark {
    --bg: #0e1628;
    --surface: #16233b;
    --text: #eef4ff;
    --muted: #a8bad8;
    --primary: #4e89ff;
    --accent: #ff9f4d;
    --line: #2f415f;
    --glass: rgba(24, 37, 62, 0.7);
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 122, 26, 0.15), transparent 35%),
        radial-gradient(circle at 90% 30%, rgba(13, 47, 111, 0.15), transparent 45%),
        var(--bg);
}

/* Apply a 10% compact scale only to the requested customer-facing pages. */
body.compact-customer-page {
    zoom: 0.9;
}

/* Use more of the horizontal space on compact customer pages. */
body.compact-customer-page .container {
    width: min(1600px, calc(100% - 1.5rem));
}

body.compact-customer-page .catalog-modern .catalog-container,
body.compact-customer-page .collection-modern {
    width: min(1680px, calc(100% - 1.5rem)) !important;
}

body.compact-customer-page .cart-modern {
    width: min(1660px, calc(100% - 1.5rem)) !important;
}

body.compact-customer-page .auth-page {
    width: min(1600px, calc(100% - 1.5rem)) !important;
}

html, body {
    overflow-x: clip;
}

h1, h2, h3, h4, .logo { font-family: "Fraunces", serif; }
.container {
    width: min(1180px, calc(100% - 2.2rem));
    margin: 0 auto;
}
.page-main {
    min-height: 70vh;
    padding-bottom: clamp(1.4rem, 2.4vw, 2.4rem);
}

img {
    max-width: 100%;
    display: block;
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(9px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}


.hero { padding: 3rem 0; }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.2rem; align-items: stretch; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin: 0.4rem 0; }
.hero .tag { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; }
.hero-panel { border-radius: 20px; padding: 1.2rem; }

.section-block { padding: clamp(1rem, 2vw, 1.6rem) 0; }
.section-block + .section-block { margin-top: clamp(0.35rem, 1.1vw, 0.85rem); }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(7, 28, 63, 0.06);
}

.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.category-card { display: block; text-decoration: none; color: var(--text); padding: 1rem; }

.categories-showcase {
    position: relative;
    border-radius: 26px;
    padding: 1.4rem;
    background:
        radial-gradient(140% 100% at 8% 0%, rgba(255, 122, 26, 0.18), transparent 55%),
        radial-gradient(120% 95% at 100% 100%, rgba(13, 47, 111, 0.16), transparent 60%),
        var(--surface);
    border: 1px solid var(--line);
    overflow: hidden;
}

.categories-showcase .section-head {
    margin-bottom: 1.25rem;
}

.categories-showcase .section-head h1,
.categories-showcase .section-head h2 {
    margin: 0;
    font-size: clamp(1.45rem, 2.8vw, 2.2rem);
    letter-spacing: 0.01em;
}

.section-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.4rem 0.72rem;
    font-size: 0.77rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: rgba(13, 47, 111, 0.1);
    border: 1px solid rgba(13, 47, 111, 0.2);
}

.categories-showcase .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.1rem;
}

.categories-showcase .category-card {
    position: relative;
    padding: 1.1rem 1.1rem 1.2rem;
    border-radius: 20px;
    border: 1px solid rgba(13, 47, 111, 0.15);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.78)),
        var(--surface);
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 260ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 260ms ease;
    box-shadow: 0 10px 22px rgba(10, 28, 65, 0.08);
}

.categories-showcase .category-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transform: scaleX(0.24);
    transform-origin: left;
    transition: transform 240ms ease;
}

.categories-showcase .category-card .category-thumb {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 0.75rem;
    background: #eef3f9;
}

.categories-showcase .category-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.1rem;
}

.categories-showcase .category-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.categories-showcase .category-card:hover,
.categories-showcase .category-card:focus-visible {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px rgba(10, 28, 65, 0.14);
    border-color: rgba(255, 122, 26, 0.45);
}

.categories-showcase .category-card:hover::after,
.categories-showcase .category-card:focus-visible::after {
    transform: scaleX(1);
}

body.dark .categories-showcase {
    background:
        radial-gradient(140% 100% at 8% 0%, rgba(255, 159, 77, 0.18), transparent 55%),
        radial-gradient(120% 95% at 100% 100%, rgba(78, 137, 255, 0.15), transparent 60%),
        rgba(22, 35, 59, 0.9);
}

body.dark .categories-showcase .category-card {
    background: linear-gradient(165deg, rgba(30, 46, 74, 0.92), rgba(23, 36, 60, 0.88));
    border-color: rgba(168, 186, 216, 0.2);
}

body.dark .section-chip {
    color: #dbe8ff;
    background: rgba(78, 137, 255, 0.18);
    border-color: rgba(78, 137, 255, 0.4);
}

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.product-grid.compact { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
}
.product-card .thumb {
    display: block;
    overflow: hidden;
    background: #eef3f9;
    height: 260px;
    flex-shrink: 0;
}
.product-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 240ms ease;
}
.product-card:hover .thumb img,
.product-card:focus-within .thumb img {
    transform: scale(1.04);
}
.product-card .content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}
.product-card .content h3,
.product-card .content p {
    margin: 0;
}
.product-card .content h3 {
    font-size: 1.08rem;
    line-height: 1.3;
}
.product-card .actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.45rem;
}
.price { color: var(--primary); font-weight: 800; }
.muted { color: var(--muted); font-size: 0.9rem; }

.featured-products-spotlight {
    position: relative;
    padding: 1.5rem;
    border-radius: 30px;
    border: 1px solid rgba(13, 47, 111, 0.2);
    background:
        linear-gradient(150deg, #07142b 0%, #0f274f 52%, #123366 100%);
    box-shadow: 0 24px 48px rgba(6, 17, 40, 0.34);
    overflow: hidden;
}

.featured-products-spotlight::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 122, 26, 0.22) 0%, rgba(255, 122, 26, 0) 70%);
    top: -170px;
    right: -120px;
    pointer-events: none;
}

.featured-products-spotlight .section-head {
    margin-bottom: 1.15rem;
}

.featured-products-spotlight .section-head h2 {
    margin: 0;
    color: #f2f6ff;
    font-size: clamp(1.5rem, 2.8vw, 2.3rem);
    letter-spacing: 0.01em;
}

.featured-note {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.4rem 0.76rem;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffe6d1;
    border: 1px solid rgba(255, 122, 26, 0.48);
    background: rgba(255, 122, 26, 0.2);
}

.featured-products-spotlight .product-grid {
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

.featured-products-spotlight .product-card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.09));
    box-shadow: none;
    backdrop-filter: blur(3px);
    transition: transform 280ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 280ms ease, background 280ms ease;
}

.featured-products-spotlight .product-card .thumb {
    height: 270px;
}

.featured-products-spotlight .product-card .thumb img {
    height: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.featured-products-spotlight .product-card .content {
    padding: 1rem;
}

.featured-products-spotlight .product-card h3,
.featured-products-spotlight .product-card h3 a {
    color: #f7fbff;
}

.featured-products-spotlight .product-card .muted {
    color: rgba(226, 238, 255, 0.78);
}

.featured-products-spotlight .product-card .price {
    color: #ffd6ae;
}

.featured-products-spotlight .product-card .btn-primary {
    background: linear-gradient(90deg, #ff7a1a, #ff9b52);
    color: #fff;
    border: 0;
}

.featured-products-spotlight .product-card .btn-outline {
    color: #eaf2ff;
    border-color: rgba(255, 255, 255, 0.35);
}

.featured-products-spotlight .product-card:hover,
.featured-products-spotlight .product-card:focus-within {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(255, 122, 26, 0.74);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.21), rgba(255, 255, 255, 0.1));
}

.featured-products-spotlight .empty-state {
    color: #d8e4ff;
}

.btn {
    border-radius: 12px;
    padding: 0.6rem 0.95rem;
    text-decoration: none;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-outline { background: transparent; border-color: var(--line); color: var(--text); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.8rem; }
.brand-card { padding: 1rem; text-align: center; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }

.brands-runway {
    position: relative;
    padding: 1.35rem;
    border-radius: 24px;
    border: 1px solid #ead8c8;
    background:
        repeating-linear-gradient(
            135deg,
            rgba(169, 102, 56, 0.08) 0,
            rgba(169, 102, 56, 0.08) 14px,
            rgba(255, 246, 236, 0.8) 14px,
            rgba(255, 246, 236, 0.8) 28px
        ),
        #fffaf4;
    box-shadow: 0 14px 26px rgba(84, 47, 23, 0.12);
}

.brands-runway .section-head {
    margin-bottom: 1rem;
}

.brands-runway .section-head h2 {
    margin: 0;
    color: #522f18;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.brands-note {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.36rem 0.74rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 700;
    color: #fff8ef;
    background: #a24c2b;
    border: 1px solid #8a3b1d;
}

.brands-runway .brand-grid {
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    gap: 0.85rem;
}

.brands-runway .brand-card {
    position: relative;
    border-radius: 999px;
    border: 1px dashed #cfad93;
    background: #fff;
    color: #5a311b;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.72rem 0.9rem 0.72rem 1.7rem;
    text-align: left;
    box-shadow: 0 4px 10px rgba(104, 58, 33, 0.08);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.brands-runway .brand-card::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: #bf5f34;
    box-shadow: 0 0 0 4px rgba(191, 95, 52, 0.2);
}

.brands-runway .brand-card:hover,
.brands-runway .brand-card:focus-visible {
    transform: translateY(-3px);
    border-color: #b8704b;
    box-shadow: 0 8px 16px rgba(104, 58, 33, 0.16);
}

.brands-runway .empty-state {
    color: #6f452d;
}

body.dark .brands-runway {
    border-color: rgba(237, 192, 151, 0.26);
    background:
        repeating-linear-gradient(
            135deg,
            rgba(186, 115, 63, 0.16) 0,
            rgba(186, 115, 63, 0.16) 14px,
            rgba(35, 46, 67, 0.88) 14px,
            rgba(35, 46, 67, 0.88) 28px
        ),
        #23314a;
}

body.dark .brands-runway .section-head h2 {
    color: #ffe9d3;
}

body.dark .brands-runway .brand-card {
    background: rgba(16, 24, 39, 0.72);
    border-color: rgba(227, 182, 142, 0.45);
    color: #ffe5cf;
}

body.dark .brands-note {
    color: #2d1a10;
    background: #f2b37f;
    border-color: #db9b67;
}
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.review-card { padding: 1rem; }
.stars { color: #f59e0b; margin-bottom: 0.6rem; }

.page-shell { display: grid; gap: 1rem; }
.page-hero {
    padding: clamp(1.1rem, 2.3vw, 1.6rem);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.93));
    box-shadow: var(--shadow-soft);
}
.page-eyebrow {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.36rem 0.7rem;
    margin-bottom: 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(13, 47, 111, 0.1);
}
.page-hero h1 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
}
.page-hero p {
    margin: 0;
    color: var(--muted);
    max-width: 720px;
    line-height: 1.6;
}
.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1rem; }
.detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1rem;
    align-items: start;
}
.detail-gallery-card,
.detail-info-card,
.cart-card,
.checkout-card,
.summary-card {
    padding: 1.1rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}
.detail-gallery-card img {
    width: 100%;
    min-height: 360px;
    object-fit: cover;
    border-radius: 18px;
}
.detail-info-card h1 { margin: 0 0 0.45rem; }
.detail-price {
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    font-weight: 800;
    color: var(--primary);
    margin: 0.4rem 0 0.7rem;
}
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0.8rem 0 1rem;
}
.detail-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.36rem 0.7rem;
    border-radius: 999px;
    background: rgba(13, 47, 111, 0.08);
    color: var(--primary);
    font-size: 0.84rem;
    font-weight: 700;
}
.detail-form { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; margin: 0.8rem 0 1rem; }
.qty-input {
    width: 88px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.67rem 0.75rem;
    background: var(--surface);
    color: var(--text);
}
.detail-specs {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.6rem;
}
.detail-specs th,
.detail-specs td {
    border: 1px solid var(--line);
    padding: 0.62rem 0.7rem;
    text-align: left;
}
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 1rem;
    align-items: start;
}
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.4rem;
}
.cart-table th,
.cart-table td {
    padding: 0.78rem 0.6rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}
.cart-table td input {
    width: 84px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.55rem 0.6rem;
}
.summary-card { position: sticky; top: 6rem; }
.summary-card h3,
.checkout-card h3,
.cart-card h3 { margin-top: 0; }
.checkout-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
    gap: 1rem;
    align-items: start;
}
.checkout-form {
    display: grid;
    gap: 0.74rem;
}
.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.72rem 0.8rem;
    background: var(--surface);
    color: var(--text);
}
.checkout-form textarea { min-height: 110px; resize: vertical; }
.empty-state {
    display: grid;
    gap: 0.7rem;
    padding: 1.2rem;
    border-radius: 18px;
    border: 1px dashed var(--line);
    background: rgba(13, 47, 111, 0.04);
}
 
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1rem; text-align: center; }
.service i { color: var(--accent); font-size: 1.3rem; }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gallery img { width: 100%; border-radius: 16px; border: 1px solid var(--line); }
.badge-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1rem 0; }
.badge { background: rgba(13, 47, 111, 0.08); color: var(--primary); border-radius: 999px; padding: 0.28rem 0.62rem; font-size: 0.85rem; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 0.55rem; text-align: left; }

.filter-bar, .checkout-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.6rem; margin-bottom: 1rem; }
.filter-bar input, .filter-bar select, .checkout-form input, .checkout-form textarea, .checkout-form select {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.65rem;
    background: var(--surface);
    color: var(--text);
}
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; }
.error { color: #d12b2b; min-height: 1rem; }
.alert { border-radius: 10px; padding: 0.6rem; margin-bottom: 0.6rem; }
.alert.success { background: #d2f4e2; color: #0b6e43; }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { border-bottom: 1px solid var(--line); padding: 0.7rem; vertical-align: top; }
.summary-box { border: 1px solid var(--line); border-radius: 14px; padding: 1rem; background: var(--surface); margin-top: 1rem; }
.summary-box.right { margin-left: auto; max-width: 340px; }

.site-footer { margin-top: clamp(1.3rem, 2.6vw, 2rem); background: #091932; color: #c7d8f6; }
.footer-grid {
    display: grid;
    grid-template-columns: 1fr minmax(220px, 2fr);
    gap: 1rem;
    align-items: start;
    padding: 1.8rem 0;
}
.footer-grid a { color: #c7d8f6; display: block; margin-bottom: 0.45rem; text-decoration: none; }
.newsletter { display: flex; gap: 0.5rem; }
.newsletter input { flex: 1; border-radius: 10px; border: 0; padding: 0.6rem; }
.newsletter button { border: 0; border-radius: 10px; background: var(--accent); color: #fff; padding: 0.6rem 0.8rem; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.16); padding: 1rem 0; font-size: 0.9rem; }
.wa-btn { background: #25d366; color: #fff; padding: 0.55rem 0.8rem; border-radius: 999px; text-decoration: none; display: inline-flex; gap: 0.3rem; align-items: center; }

.center { text-align: center; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.map-placeholder { border-radius: 16px; padding: 1rem; }

.front-hub {
    --hub-surface: #ffffff;
    --hub-surface-soft: #f8fafd;
    --hub-border: #dbe3ef;
    --hub-shadow: 0 16px 34px rgba(8, 24, 55, 0.08);
    --hub-shadow-soft: 0 10px 24px rgba(10, 27, 61, 0.06);
    --hub-title: #112645;
    --hub-muted: #60738f;
    --hub-highlight: #c57d37;
    padding-top: 0.55rem;
}

.front-hub .hero-unified {
    padding: clamp(1.5rem, 2.8vw, 2.35rem) 0;
}

.front-hub .hero-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.97), rgba(248, 251, 255, 0.93));
    border: 1px solid var(--hub-border);
    border-radius: 26px;
    box-shadow: var(--hub-shadow);
    padding: clamp(1.1rem, 2.4vw, 1.7rem);
}

.front-hub .hero-card h1,
.front-hub .hero-card h2,
.front-hub .hero-card h3 {
    color: var(--hub-title);
    letter-spacing: 0.01em;
}

.front-hub .hero-card p {
    color: var(--hub-muted);
    line-height: 1.58;
}

.front-hub .tag {
    color: #9c6027;
    letter-spacing: 0.12em;
    font-size: 0.73rem;
}

.hero-side h3 {
    margin-top: 0;
    margin-bottom: 0.65rem;
}

.hero-points {
    margin: 0 0 1rem;
    padding-left: 1.1rem;
    color: var(--hub-muted);
    line-height: 1.5;
}

.shop-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.92));
    border: 1px solid var(--hub-border);
    border-radius: 26px;
    padding: clamp(1.05rem, 2.3vw, 1.5rem);
    box-shadow: var(--hub-shadow-soft);
}

.shop-section .section-head {
    margin-bottom: 1rem;
    gap: 1rem;
}

.shop-section .section-head h2 {
    margin: 0;
    font-size: clamp(1.42rem, 2.55vw, 2.02rem);
    color: var(--hub-title);
}

.shop-section .section-head p {
    margin: 0;
    color: var(--hub-muted);
    font-size: 0.95rem;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.quick-access-card {
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
    text-decoration: none;
    color: var(--hub-title);
    border: 1px solid var(--hub-border);
    border-radius: 16px;
    padding: 1rem;
    background: var(--hub-surface);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.quick-access-card span {
    color: var(--hub-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.quick-access-card:hover,
.quick-access-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(197, 125, 55, 0.55);
    background: linear-gradient(180deg, #ffffff, #fcf9f4);
    box-shadow: 0 10px 20px rgba(9, 26, 62, 0.09);
}

.shop-section .category-card,
.shop-section .brand-card,
.shop-section .product-card {
    border-radius: 18px;
    border: 1px solid var(--hub-border);
    box-shadow: 0 10px 20px rgba(7, 24, 58, 0.06);
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.shop-section .category-card .category-thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0.6rem;
    background: #eef3f9;
}

.shop-section .category-card:hover,
.shop-section .category-card:focus-visible,
.shop-section .product-card:hover,
.shop-section .product-card:focus-within,
.shop-section .brand-card:hover,
.shop-section .brand-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(197, 125, 55, 0.5);
    box-shadow: 0 14px 24px rgba(7, 24, 58, 0.1);
}

.front-products-grid .product-card .content {
    padding: 1rem;
}

.front-products-grid .product-card .price {
    color: #a85e1f;
}

.front-brand-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.9rem;
}

.front-brand-grid .brand-card {
    text-align: left;
    font-weight: 700;
    background: linear-gradient(180deg, #ffffff, #f7fafc);
    color: #253a57;
}

.path-to-buy .buy-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.buy-step-card {
    border: 1px solid var(--hub-border);
    border-radius: 16px;
    background: var(--hub-surface);
    padding: 0.95rem;
    box-shadow: 0 8px 18px rgba(7, 24, 58, 0.05);
}

.buy-step-card span {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(140deg, #183f78, #3267aa);
}

.buy-step-card h3 {
    margin: 0.6rem 0 0.45rem;
    font-size: 1.08rem;
}

.buy-step-card p {
    margin: 0;
    color: var(--hub-muted);
    line-height: 1.45;
}

.conversion-banner {
    border-radius: 26px;
    border: 1px solid rgba(17, 38, 69, 0.28);
    background: linear-gradient(145deg, #112645 0%, #21477f 60%, #305f9c 100%);
    color: #eef3fb;
    text-align: center;
    padding: clamp(1.05rem, 2.45vw, 1.7rem);
    box-shadow: 0 18px 32px rgba(7, 20, 44, 0.24);
}

.conversion-banner h2 {
    margin: 0 0 0.35rem;
}

.conversion-banner p {
    margin: 0 auto 1rem;
    max-width: 760px;
    color: rgba(238, 243, 251, 0.9);
}

.conversion-banner .hero-actions {
    justify-content: center;
}

body.dark .front-hub .hero-card,
body.dark .shop-section,
body.dark .quick-access-card,
body.dark .buy-step-card {
    background: linear-gradient(180deg, rgba(24, 37, 62, 0.95), rgba(26, 40, 66, 0.93));
    border-color: rgba(173, 188, 211, 0.32);
}

body.dark .shop-section .section-head p,
body.dark .quick-access-card span,
body.dark .buy-step-card p,
body.dark .hero-points {
    color: #bfd0e8;
}

body.dark .front-brand-grid .brand-card {
    background: linear-gradient(180deg, rgba(30, 45, 74, 0.95), rgba(22, 35, 58, 0.92));
}

body.dark .front-hub .hero-card h1,
body.dark .front-hub .hero-card h2,
body.dark .front-hub .hero-card h3,
body.dark .shop-section .section-head h2,
body.dark .quick-access-card,
body.dark .front-brand-grid .brand-card {
    color: #eef4ff;
}

/* New storefront presentation */
:root {
    --surface-soft: #f7f9fd;
    --shadow: 0 20px 46px rgba(7, 25, 53, 0.12);
    --shadow-soft: 0 12px 24px rgba(7, 25, 53, 0.08);
}

body {
    background:
        radial-gradient(circle at top left, rgba(255, 122, 26, 0.16), transparent 28%),
        radial-gradient(circle at 90% 10%, rgba(13, 47, 111, 0.16), transparent 28%),
        linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.4), transparent 50%, rgba(255, 255, 255, 0.22));
    mix-blend-mode: screen;
    opacity: 0.6;
}

body.dark {
    background:
        radial-gradient(circle at top left, rgba(255, 159, 77, 0.14), transparent 26%),
        radial-gradient(circle at 90% 10%, rgba(78, 137, 255, 0.16), transparent 24%),
        linear-gradient(180deg, #0f1728 0%, #111b2d 100%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid rgba(13, 47, 111, 0.08);
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(24px);
    box-shadow: 0 10px 26px rgba(8, 18, 40, 0.04);
}

body.dark .site-header {
    background: rgba(13, 20, 38, 0.84);
    border-color: rgba(173, 188, 211, 0.2);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--text);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #244a93);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 12px 20px rgba(13, 47, 111, 0.18);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.brand-copy strong {
    font-size: 1rem;
    font-family: "Fraunces", serif;
}

.brand-copy small {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
}

.header-tools {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    justify-content: flex-end;
}

.search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    min-width: min(360px, 100%);
}

.search-wrap input {
    flex: 1;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.78rem 1rem;
    padding-right: 3rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    box-shadow: 0 8px 18px rgba(7, 24, 53, 0.06);
}

.search-wrap button {
    position: absolute;
    right: 0.25rem;
    border: 0;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), #2f5eb8);
    color: #fff;
    cursor: pointer;
}

.suggestions {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    display: none;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.suggestions a {
    display: block;
    padding: 0.7rem 0.9rem;
    text-decoration: none;
    color: var(--text);
}

.suggestions a:hover,
.suggestions a:focus-visible {
    background: rgba(13, 47, 111, 0.07);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.site-nav a,
.site-nav button {
    text-decoration: none;
    font-weight: 700;
    color: var(--text);
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.43rem;
    padding: 0.6rem 0.82rem;
    border-radius: 999px;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active,
.site-nav .nav-pill.is-active {
    background: rgba(13, 47, 111, 0.1);
    color: var(--primary);
    transform: translateY(-1px);
}

.nav-pill {
    background: var(--surface-soft);
    border: 1px solid rgba(13, 47, 111, 0.14);
}

.dark-toggle,
.nav-toggle {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    border-radius: 999px;
    padding: 0.7rem 0.8rem;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(7, 24, 53, 0.06);
}

.nav-toggle {
    display: none;
}

.page-main {
    padding-bottom: 2.2rem;
}

.hero {
    padding: clamp(1.25rem, 2.4vw, 2rem) 0 1.4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
}

.hero-card {
    border-radius: 30px;
    padding: clamp(1.2rem, 2.4vw, 1.75rem);
    border: 1px solid rgba(13, 47, 111, 0.12);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.92));
    box-shadow: var(--shadow);
}

.hero-main {
    position: relative;
    overflow: hidden;
}

.hero-main::after {
    content: "";
    position: absolute;
    inset: auto -80px -120px auto;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 122, 26, 0.22), transparent 70%);
    pointer-events: none;
}

.hero-card h1 {
    margin: 0.45rem 0 0.7rem;
    font-size: clamp(2rem, 3.7vw, 3.1rem);
    line-height: 1.04;
    max-width: 14ch;
}

.hero-card p,
.hero-footnote,
.quick-access-card span,
.section-head p,
.buy-step-card p,
.shop-section .section-head p,
.footer-brand p {
    color: var(--muted);
    line-height: 1.6;
}

.tag,
.section-pill,
.hero-side-badge,
.featured-note,
.brands-note {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tag,
.section-pill,
.hero-side-badge {
    color: var(--primary);
    background: rgba(13, 47, 111, 0.09);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.btn {
    border-radius: 999px;
    padding: 0.75rem 1.1rem;
    border: 1px solid transparent;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(7, 24, 53, 0.06);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #2c65ba);
    color: #fff;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary);
    border-color: rgba(13, 47, 111, 0.14);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.hero-stats > div {
    padding: 0.8rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(13, 47, 111, 0.09);
}

.hero-stats strong {
    display: block;
    font-size: 1.15rem;
    color: var(--primary);
}

.hero-stats span {
    color: var(--muted);
    font-size: 0.9rem;
}

.hero-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.hero-points {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
    display: grid;
    gap: 0.45rem;
}

.hero-footnote {
    border-radius: 18px;
    padding: 0.95rem 1rem;
    background: rgba(13, 47, 111, 0.05);
    border: 1px solid rgba(13, 47, 111, 0.08);
}

.shop-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(247, 250, 255, 0.95));
    border: 1px solid rgba(13, 47, 111, 0.1);
    border-radius: 28px;
    padding: clamp(1rem, 2.2vw, 1.4rem);
    box-shadow: var(--shadow-soft);
    margin-top: 1rem;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-head h2 {
    margin: 0.35rem 0 0;
    font-size: clamp(1.4rem, 2.35vw, 1.9rem);
    color: var(--text);
}

.text-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.text-link-light {
    color: #f7f4ff;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.quick-access-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-decoration: none;
    color: var(--text);
    border-radius: 20px;
    border: 1px solid rgba(13, 47, 111, 0.1);
    padding: 1rem;
    background: var(--surface);
    box-shadow: 0 8px 18px rgba(7, 24, 53, 0.05);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.quick-access-card strong {
    color: var(--primary);
}

.quick-access-card:hover,
.quick-access-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(255, 122, 26, 0.36);
    box-shadow: 0 14px 24px rgba(7, 24, 53, 0.1);
}

.category-grid,
.product-grid,
.brand-grid {
    display: grid;
    gap: 1rem;
}

.category-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card,
.product-card,
.category-card,
.brand-card,
.buy-step-card {
    border-radius: 22px;
    border: 1px solid rgba(13, 47, 111, 0.1);
    background: var(--surface);
    box-shadow: 0 10px 24px rgba(7, 24, 53, 0.06);
}

.category-card,
.brand-card {
    display: block;
    text-decoration: none;
    color: var(--text);
    padding: 1rem;
}

.category-card .category-thumb {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 0.8rem;
    background: #eef3f9;
}

.category-card h3,
.product-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
}

.category-card p,
.product-card .muted {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.product-card .thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-card .content {
    padding: 1rem;
}

.product-card .price {
    color: var(--primary);
    font-weight: 800;
    margin: 0.7rem 0;
}

.product-card .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.featured-products-spotlight {
    background: linear-gradient(145deg, #0f2349 0%, #173a68 56%, #2b5d9a 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f5f9ff;
}

.featured-products-spotlight .section-head h2,
.featured-products-spotlight .section-head p,
.featured-products-spotlight .product-card h3,
.featured-products-spotlight .product-card h3 a,
.featured-products-spotlight .product-card .muted,
.featured-products-spotlight .product-card .price {
    color: #f5f9ff;
}

.featured-products-spotlight .quick-access-card,
.featured-products-spotlight .product-card {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.featured-products-spotlight .product-card .thumb img {
    height: 190px;
}

.brands-runway {
    background: linear-gradient(135deg, rgba(255, 248, 239, 0.95), rgba(255, 255, 255, 0.96));
}

.brands-runway .brand-card {
    text-align: left;
    font-weight: 700;
    color: var(--primary);
}

.buy-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.buy-step-card {
    padding: 1rem;
}

.buy-step-card span {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), #2c65ba);
    color: #fff;
    font-weight: 700;
}

.buy-step-card h3 {
    margin: 0.7rem 0 0.35rem;
    font-size: 1.06rem;
}

.conversion-banner {
    text-align: center;
    padding: clamp(1.15rem, 2.4vw, 1.6rem);
    background: linear-gradient(135deg, #112745 0%, #1f3f6f 48%, #2b5b91 100%);
    color: #eef5ff;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(8, 18, 40, 0.18);
}

.conversion-banner h2 {
    margin: 0 0 0.5rem;
}

.conversion-banner p {
    margin: 0 auto 1rem;
    max-width: 700px;
    color: rgba(238, 245, 255, 0.9);
}

.site-footer {
    margin-top: 2rem;
    padding: 1.7rem 0 0;
    background: linear-gradient(180deg, #0e1730 0%, #081122 100%);
    color: #dce7f9;
}

.footer-shell {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1.25fr repeat(2, minmax(0, 0.8fr));
    padding-bottom: 1.4rem;
}

.footer-brand-link {
    color: #fff;
}

.footer-links h4 {
    margin: 0 0 0.6rem;
    color: #fff;
}

.footer-links a {
    display: block;
    margin-bottom: 0.45rem;
    color: #c7d8f6;
    text-decoration: none;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1rem 0 1.4rem;
    color: rgba(220, 231, 249, 0.7);
}

body.dark .hero-card,
body.dark .shop-section,
body.dark .quick-access-card,
body.dark .buy-step-card,
body.dark .brand-card,
body.dark .product-card,
body.dark .category-card {
    background: linear-gradient(180deg, rgba(28, 42, 69, 0.95), rgba(21, 33, 56, 0.93));
    border-color: rgba(173, 188, 211, 0.2);
    color: #eaf2ff;
}

body.dark .hero-card p,
body.dark .hero-points,
body.dark .section-head p,
body.dark .buy-step-card p,
body.dark .shop-section .section-head p,
body.dark .category-card p,
body.dark .product-card .muted,
body.dark .footer-brand p,
body.dark .footer-links a,
body.dark .brand-card {
    color: #bfd0e8;
}

body.dark .btn-outline {
    background: rgba(255, 255, 255, 0.06);
    color: #f7fbff;
    border-color: rgba(173, 188, 211, 0.25);
}

body.dark .quick-access-card strong,
body.dark .product-card .price,
body.dark .hero-stats strong,
body.dark .section-head h2,
body.dark .hero-card h1,
body.dark .hero-card h2,
body.dark .hero-card h3,
body.dark .category-card h3,
body.dark .product-card h3,
body.dark .buy-step-card h3,
body.dark .section-head h2 {
    color: #f7fbff;
}

body.dark .brands-runway {
    background: linear-gradient(135deg, rgba(34, 47, 69, 0.96), rgba(23, 36, 58, 0.94));
}

@media (max-width: 1120px) {
    .nav-shell { gap: 0.8rem; }
    .search-wrap { min-width: min(280px, 100%); }
}

@media (max-width: 980px) {
    .nav-shell {
        flex-wrap: wrap;
    }

    .header-tools {
        width: 100%;
        justify-content: space-between;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: calc(100% + 0.6rem);
        right: 0;
        left: 0;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem;
        background: var(--surface);
        border-radius: 20px;
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .hero-grid,
    .product-detail,
    .checkout-grid,
    .split,
    .contact-grid,
    .footer-shell,
    .hero-grid-editorial {
        grid-template-columns: 1fr;
    }

    .quick-access-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .buy-steps-grid { grid-template-columns: 1fr; }
    .catalog-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .container { width: min(1180px, calc(100% - 1.3rem)); }
    .nav-shell { padding: 0.8rem 0; }
    .header-tools { flex-wrap: wrap; justify-content: flex-start; }
    .search-wrap { min-width: 100%; }
    .hero-stats { grid-template-columns: 1fr; }
    .quick-access-grid { grid-template-columns: 1fr; }
    .section-head { align-items: flex-start; flex-direction: column; }
    .hero-card { border-radius: 20px; }
    .shop-section, .conversion-banner { border-radius: 20px; }
    .hero-grid-editorial { gap: 0.8rem; }
    .hero-badges { grid-template-columns: 1fr; }
    .showcase-metrics { grid-template-columns: 1fr; }
    .catalog-side-links { flex-direction: column; }
}
@media (max-width: 1120px) {
    .nav-row {
        grid-template-columns: 160px 1fr auto;
        gap: 0.75rem;
    }

    nav {
        gap: 0.75rem;
    }
}

@media (max-width: 640px) {
    .container { width: min(1180px, calc(100% - 1.3rem)); }
    .services, .footer-grid { grid-template-columns: 1fr; }
    .categories-showcase { padding: 1.05rem; border-radius: 20px; }
    .categories-showcase .category-grid { grid-template-columns: 1fr; }
    .section-chip { font-size: 0.72rem; }
    .featured-products-spotlight { padding: 1.05rem; border-radius: 18px; }
    .featured-products-spotlight .product-grid { grid-template-columns: 1fr; gap: 1rem; }
    .featured-note { font-size: 0.69rem; }
    .brands-runway { padding: 1rem; border-radius: 18px; }
    .brands-runway .brand-grid { grid-template-columns: 1fr; }
    .brands-note { font-size: 0.68rem; }
    .section-head { gap: 0.55rem; align-items: flex-start; }
    .quick-access-grid { grid-template-columns: 1fr; }
    .shop-section,
    .conversion-banner,
    .front-hub .hero-card { border-radius: 18px; }
}

/* Handcrafted homepage composition */
.hero-editorial {
    padding-top: 1.4rem;
}

.hero-grid-editorial {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
}

.hero-copy-card,
.hero-showcase-card {
    border-radius: 30px;
    padding: clamp(1.2rem, 2.3vw, 1.6rem);
    border: 1px solid rgba(13, 47, 111, 0.12);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(247, 250, 255, 0.94));
    box-shadow: 0 16px 34px rgba(8, 22, 46, 0.08);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(13, 47, 111, 0.08);
}

.hero-copy-card h1 {
    margin: 0.75rem 0 0.7rem;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.05;
    max-width: 11ch;
}

.hero-copy-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    max-width: 60ch;
}

.hero-badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    list-style: none;
    padding: 0;
    margin: 1.1rem 0 0;
}

.hero-badges li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 0.8rem;
    border-radius: 16px;
    background: rgba(13, 47, 111, 0.05);
    color: var(--text);
    font-size: 0.92rem;
}

.hero-badges i {
    color: var(--primary);
}

.hero-showcase-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    background:
        radial-gradient(circle at top right, rgba(255, 122, 26, 0.18), transparent 28%),
        linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.95));
}

.showcase-topbar {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.showcase-topbar span {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
}

.showcase-topbar strong {
    font-size: 1.2rem;
}

.showcase-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.showcase-metrics > div {
    border-radius: 16px;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(13, 47, 111, 0.08);
}

.showcase-metrics strong {
    display: block;
    font-size: 1.15rem;
    color: var(--primary);
}

.showcase-metrics span {
    color: var(--muted);
    font-size: 0.84rem;
}

.showcase-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.showcase-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    background: rgba(13, 47, 111, 0.07);
}

.value-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1rem;
}

.value-strip article {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-radius: 22px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(13, 47, 111, 0.1);
    box-shadow: 0 10px 22px rgba(8, 22, 46, 0.05);
}

.value-strip i {
    font-size: 1.15rem;
    color: var(--primary);
    margin-top: 0.1rem;
}

.value-strip strong {
    display: block;
    margin-bottom: 0.25rem;
}

.value-strip p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.catalog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.55fr);
    gap: 1rem;
}

.category-stack {
    display: grid;
    gap: 0.75rem;
}

.category-story-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.9rem;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    border-radius: 20px;
    padding: 0.8rem;
    border: 1px solid rgba(13, 47, 111, 0.1);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 18px rgba(8, 22, 46, 0.05);
}

.category-story-card img {
    width: 100%;
    height: 95px;
    object-fit: cover;
    border-radius: 14px;
    background: #eef3f9;
}

.category-story-card h3 {
    margin: 0 0 0.3rem;
    font-size: 1rem;
}

.category-story-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.catalog-side-card {
    border-radius: 24px;
    padding: 1.1rem;
    background: linear-gradient(145deg, #112745 0%, #234672 100%);
    color: #f5f8ff;
    box-shadow: 0 18px 34px rgba(7, 19, 43, 0.16);
}

.catalog-side-card h3 {
    margin: 0.6rem 0 0.45rem;
    font-size: 1.3rem;
}

.catalog-side-card p {
    margin: 0;
    color: rgba(245, 248, 255, 0.82);
    line-height: 1.6;
}

.catalog-side-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.catalog-side-links a {
    text-decoration: none;
    color: #fff;
    padding: 0.65rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

body.dark .hero-copy-card,
body.dark .hero-showcase-card,
body.dark .value-strip article,
body.dark .category-story-card {
    background: linear-gradient(180deg, rgba(28, 42, 69, 0.95), rgba(20, 32, 53, 0.92));
    border-color: rgba(173, 188, 211, 0.2);
    color: #f7fbff;
}

body.dark .hero-copy-card p,
body.dark .hero-badges li,
body.dark .value-strip p,
body.dark .category-story-card p,
body.dark .catalog-side-card p {
    color: #bfd0e8;
}

body.dark .showcase-metrics > div,
body.dark .showcase-links a {
    background: rgba(255, 255, 255, 0.07);
}

body.dark .hero-showcase-card {
    background: radial-gradient(circle at top right, rgba(255, 159, 77, 0.16), transparent 28%), linear-gradient(150deg, rgba(28, 42, 69, 0.96), rgba(22, 35, 58, 0.94));
}

@media (max-width: 980px) {
    .hero-grid-editorial {
        grid-template-columns: 1fr;
    }
    .value-strip {
        grid-template-columns: 1fr;
    }
    .catalog-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-copy-card,
    .hero-showcase-card {
        border-radius: 20px;
    }
    .hero-badges,
    .showcase-metrics {
        grid-template-columns: 1fr;
    }
    .category-story-card {
        grid-template-columns: 1fr;
    }
    .category-story-card img {
        height: 120px;
    }
}

:root {
    --bg: #f3f6fb;
    --surface: #fcfdff;
    --surface-elevated: #ffffff;
    --text: #101827;
    --muted: #627084;
    --primary: #12223d;
    --accent: #b68c3f;
    --accent-2: #5e6dd1;
    --line: rgba(18, 34, 61, 0.12);
    --shadow: 0 22px 50px rgba(10, 22, 48, 0.08);
}

body {
    background:
        radial-gradient(circle at 0% 0%, rgba(182, 140, 63, 0.16), transparent 28%),
        radial-gradient(circle at 100% 0%, rgba(94, 109, 209, 0.12), transparent 24%),
        linear-gradient(135deg, #f7f9fd 0%, #edf3fb 100%);
    color: var(--text);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.58) 0%, transparent 45%, rgba(255, 255, 255, 0.18) 100%);
    mix-blend-mode: screen;
    opacity: 0.8;
}

.site-header {
    backdrop-filter: blur(18px);
    background: rgba(248, 251, 255, 0.8);
    border-bottom: 1px solid rgba(18, 34, 61, 0.08);
    box-shadow: 0 12px 30px rgba(10, 22, 48, 0.06);
}

.brand {
    color: var(--primary);
}

.site-nav a,
.site-nav button {
    color: var(--muted);
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    transition: transform 180ms ease, color 180ms ease, background-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active,
.site-nav .nav-pill.is-active {
    background: rgba(18, 34, 61, 0.08);
    color: var(--primary);
    transform: translateY(-1px);
}

.search-wrap input,
.dark-toggle,
.nav-toggle {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 8px 18px rgba(10, 22, 48, 0.05);
}

.btn,
.btn-primary,
.btn-outline {
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(10, 22, 48, 0.08);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent-2));
    color: #fff;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.84);
    color: var(--primary);
    border-color: rgba(18, 34, 61, 0.14);
}

.hero-card,
.shop-section,
.quick-access-card,
.buy-step-card,
.card,
.product-card,
.category-card,
.brand-card,
.review-card,
.hero-copy-card,
.hero-showcase-card,
.category-story-card,
.catalog-side-card,
.value-strip article,
.conversion-banner {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(247, 250, 255, 0.92));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.product-card,
.category-card,
.brand-card,
.quick-access-card,
.review-card,
.hero-copy-card,
.hero-showcase-card,
.category-story-card,
.catalog-side-card,
.conversion-banner {
    border-radius: 24px;
}

.product-card .thumb img,
.category-card .category-thumb,
.category-story-card img {
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.product-card .content h3 a,
.category-card h3,
.product-card h3 {
    color: var(--primary);
}

.product-card .price,
.section-head h2,
.hero-copy-card h1,
.hero-card h1,
.hero-card h2,
.hero-card h3 {
    color: var(--primary);
}

.site-footer {
    background: linear-gradient(180deg, #0f172d 0%, #0a1221 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-links a {
    color: #cdd7eb;
}

body.dark {
    --bg: #0c1424;
    --surface: #111c2f;
    --surface-elevated: #16233b;
    --text: #f3f7ff;
    --muted: #9eaec8;
    --primary: #dce7ff;
    --accent: #f0bc68;
    --accent-2: #7d90ff;
    --line: rgba(255, 255, 255, 0.12);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.23);
}

body.dark .site-header {
    background: rgba(8, 13, 25, 0.82);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.dark .hero-card,
body.dark .shop-section,
body.dark .quick-access-card,
body.dark .buy-step-card,
body.dark .card,
body.dark .product-card,
body.dark .category-card,
body.dark .brand-card,
body.dark .review-card,
body.dark .hero-copy-card,
body.dark .hero-showcase-card,
body.dark .category-story-card,
body.dark .catalog-side-card,
body.dark .value-strip article,
body.dark .conversion-banner {
    background: linear-gradient(145deg, rgba(20, 31, 54, 0.95), rgba(14, 24, 41, 0.95));
    border-color: rgba(255, 255, 255, 0.12);
}
