/* ==============================================
   CODEWEAR — Design Tokens
   Palette drawn from real denim materials:
   indigo dye, copper rivets, selvedge ecru, fog wash
   ============================================== */
:root {
    --indigo-night: #16191a;
    --indigo-deep: #0d0f10;
    --denim-wash: #7d8688;
    --denim-wash-light: #a8b0b2;
    --rivet-copper: #4f9c82;
    --rivet-copper-light: #8ad4bb;
    --selvedge: #f4f3f1;
    --fog-blue: #a3aba9;
    --ink: #101112;

    --font-display: 'Anton', sans-serif;
    --font-body: 'Work Sans', sans-serif;
    --font-mono: 'Space Mono', monospace;

    --section-pad: clamp(4rem, 8vw, 7rem);
    --edge-pad: clamp(1.25rem, 5vw, 4rem);
}

/* ==============================================
   RESET
   ============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--selvedge);
    color: var(--ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--edge-pad);
}

/* Visible keyboard focus everywhere interactive */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--rivet-copper);
    outline-offset: 3px;
}

/* ==============================================
   STITCH DIVIDER — signature motif
   A twin-needle stitch line, used between major sections
   ============================================== */
.stitch-divider {
    width: 100%;
    height: 18px;
    background-image:
        repeating-linear-gradient(90deg, var(--rivet-copper) 0 10px, transparent 10px 20px);
    background-size: 20px 2px;
    background-repeat: repeat-x;
    background-position: 0 4px, 0 12px;
    opacity: 0.85;
}

.stitch-divider::after {
    content: '';
}

.stitch-divider.on-dark {
    opacity: 0.6;
}

/* double row via box-shadow trick */
.stitch-divider {
    position: relative;
}

.stitch-divider,
.stitch-divider {
    background-image:
        repeating-linear-gradient(90deg, var(--rivet-copper) 0 8px, transparent 8px 18px);
    background-size: 18px 2px;
    background-repeat: repeat-x;
    background-position: 0 3px;
    height: 14px;
}

.stitch-divider::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(90deg, var(--rivet-copper) 0 8px, transparent 8px 18px);
    background-size: 18px 2px;
    background-repeat: repeat-x;
    background-position: 0 9px;
    opacity: 0.7;
}

/* ==============================================
   NAV
   ============================================== */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    background: var(--selvedge);
    box-shadow: 0 2px 14px rgba(16, 17, 18, 0.06);
    transition: padding 0.35s ease, box-shadow 0.35s ease;
}

.site-nav.solid {
    padding: 0.85rem 0;
    box-shadow: 0 6px 20px rgba(16, 17, 18, 0.1);
}

.nav-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
}

.brand-lockup {
    justify-self: center;
    display: flex;
    align-items: center;
}

.brand-lockup img {
    height: 58px;
    width: auto;
    display: block;
}

.nav-links-left {
    justify-self: start;
}

.nav-right-group {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-links {
    display: flex;
    gap: 2.25rem;
    list-style: none;
}

.nav-links a {
    color: var(--ink);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: var(--rivet-copper);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--rivet-copper);
    transition: width 0.25s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links li.has-dropdown {
    position: relative;
    padding-bottom: 4px;
}

.nav-links .dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #fff;
    border: 1px solid rgba(16, 17, 18, 0.08);
    border-radius: 6px;
    padding: 0.4rem 0;
    min-width: 150px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 14px 32px rgba(16, 17, 18, 0.14);
}

.nav-links li.has-dropdown:hover .dropdown,
.nav-links li.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-links .dropdown a {
    display: block;
    padding: 0.55rem 1.1rem;
    font-size: 0.87rem;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
}

.nav-links .dropdown a::after {
    display: none;
}

.nav-links .dropdown a:hover {
    color: var(--rivet-copper);
    background: rgba(16, 17, 18, 0.04);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-icon-btn {
    position: relative;
    color: var(--ink);
    padding: 6px;
}

.nav-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--rivet-copper);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 10px;
    width: 17px;
    height: 17px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-toggle {
    display: none;
    color: var(--ink);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 1rem;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu > a {
    color: var(--ink);
    padding: 0.6rem 0;
    font-weight: 600;
    border-bottom: 1px solid rgba(16, 17, 18, 0.08);
}

.mobile-cat {
    border-bottom: 1px solid rgba(16, 17, 18, 0.08);
}

.mobile-cat-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: var(--ink);
    padding: 0.6rem 0;
    font-weight: 600;
    font-size: 1rem;
}

.mobile-cat-toggle .chevron {
    font-size: 0.75rem;
    color: #6b7371;
    transition: transform 0.25s ease;
}

.mobile-cat-toggle.expanded .chevron {
    transform: rotate(180deg);
}

.mobile-subcats {
    display: none;
    flex-direction: column;
    padding: 0 0 0.6rem 1rem;
}

.mobile-subcats.open {
    display: flex;
}

.mobile-subcats a {
    padding: 0.45rem 0;
    color: #565f5c;
    font-size: 0.92rem;
    font-weight: 500;
}

.mobile-subcats a:hover {
    color: var(--rivet-copper);
}

@media (max-width: 840px) {
    .site-nav {
        position: static;
        background: transparent;
        box-shadow: none;
        padding: 1rem 0 0.5rem;
    }
    .nav-links,
    .nav-right-group,
    .nav-toggle {
        display: none;
    }
    .nav-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .brand-lockup {
        padding: 0.35rem 0.85rem;
    }
    .brand-lockup img {
        height: 46px;
    }
    body {
        padding-bottom: 64px;
    }
    .hero-inner {
        padding-top: 0.5rem;
    }
}

@media (max-width: 400px) {
    .brand-lockup {
        padding: 0.3rem 0.65rem;
    }
    .brand-lockup img {
        height: 40px;
    }
}

/* ==============================================
   MOBILE BOTTOM TAB BAR
   ============================================== */
.mobile-tab-bar {
    display: none;
}

@media (max-width: 840px) {
    .mobile-tab-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        background: #fff;
        border-top: 1px solid rgba(16, 17, 18, 0.1);
        box-shadow: 0 -4px 16px rgba(16, 17, 18, 0.06);
    }
}

.tab-item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.6rem 0 0.55rem;
    color: #6b7371;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.03em;
}

.tab-item.active,
.tab-item:hover {
    color: var(--rivet-copper);
}

.tab-item svg {
    width: 21px;
    height: 21px;
}

.tab-badge {
    position: absolute;
    top: 2px;
    right: calc(50% - 20px);
    background: var(--rivet-copper);
    color: #fff;
    font-size: 9px;
    font-family: var(--font-mono);
    width: 15px;
    height: 15px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==============================================
   HERO
   ============================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(175deg, var(--selvedge) 0%, #ece9e3 100%);
    overflow: hidden;
}

.hero-texture {
    position: absolute;
    inset: -10% -10% -10% -10%;
    background-image: repeating-linear-gradient(115deg, rgba(16, 17, 18, 0.035) 0 2px, transparent 2px 26px);
    will-change: transform;
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 7rem;
}

.hero-content {
    max-width: 640px;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    color: #2c7a63;
    background: rgba(79, 156, 130, 0.1);
    border: 1px solid rgba(79, 156, 130, 0.35);
    padding: 0.35rem 0.75rem;
    border-radius: 3px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: var(--font-display);
    color: var(--ink);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: 0.01em;
}

.hero h1 .accent {
    color: var(--rivet-copper);
}

.hero p {
    color: #565f5c;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    margin-top: 1.4rem;
    max-width: 460px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    padding: 0.95rem 1.9rem;
    border-radius: 3px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-copper {
    background: var(--rivet-copper);
    color: #fff;
}

.btn-copper:hover {
    background: var(--rivet-copper-light);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(79, 156, 130, 0.3);
}

.btn-outline {
    border: 1.5px solid var(--ink);
    color: var(--ink);
}

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

.btn-outline-light {
    border: 1.5px solid var(--selvedge);
    color: var(--selvedge);
}

.btn-outline-light:hover {
    background: var(--selvedge);
    color: var(--indigo-night);
}

.hero-cta {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.scroll-cue {
    position: absolute;
    bottom: 2rem;
    left: var(--edge-pad);
    color: #6b7371;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.scroll-cue .line {
    width: 1px;
    height: 28px;
    background: #6b7371;
    animation: scrollcue 1.8s ease-in-out infinite;
}

@keyframes scrollcue {
    0%, 100% { transform: scaleY(1); opacity: 0.4; }
    50% { transform: scaleY(0.4); opacity: 1; }
}

/* ==============================================
   HERO IMAGE SLIDER (full-bleed)
   ============================================== */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0;
    transition: opacity 1.1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(100deg, rgba(13, 15, 16, 0.82) 0%, rgba(13, 15, 16, 0.6) 42%, rgba(13, 15, 16, 0.25) 75%);
}

.hero.has-slider .hero-inner {
    z-index: 2;
}

.hero.has-slider .eyebrow {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
}

.hero.has-slider h1 {
    color: #fff;
}

.hero.has-slider .accent {
    color: var(--rivet-copper-light);
}

.hero.has-slider p {
    color: rgba(255, 255, 255, 0.82);
}

.hero.has-slider .scroll-cue,
.hero.has-slider .scroll-cue .line {
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.75);
}

.hero-dots {
    position: absolute;
    z-index: 2;
    bottom: 2rem;
    right: var(--edge-pad);
    display: flex;
    gap: 0.6rem;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    transition: background 0.25s ease, width 0.25s ease;
}

.hero-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* ==============================================
   REVEAL ON SCROLL
   ============================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================================
   SECTION SHELL
   ============================================== */
.section {
    padding: var(--section-pad) 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: 3rem;
}

.section-head .eyebrow {
    background: rgba(79, 156, 130, 0.08);
}

.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.02;
}

.section-head p {
    color: #565f5c;
    margin-top: 1rem;
    font-size: 1.05rem;
}

.section.on-dark {
    background: #f6f5f2;
    color: var(--ink);
}

.section.on-dark .section-head p {
    color: #565f5c;
}

/* ==============================================
   COLLECTIONS (Men / Women)
   ============================================== */
.collections-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}

.collection-tile {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    transition: transform 0.4s ease;
}

.collection-tile:hover {
    transform: translateY(-6px);
}

.collection-tile.men {
    background: linear-gradient(160deg, #262b2c 0%, var(--indigo-night) 70%);
}

.collection-tile.women {
    background: linear-gradient(160deg, var(--denim-wash-light) 0%, var(--denim-wash) 70%);
}

.collection-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(-35deg, rgba(255, 255, 255, 0.035) 0 3px, transparent 3px 22px);
}

.tile-label {
    position: relative;
    z-index: 1;
}

.tile-label .eyebrow {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--selvedge);
}

.collection-tile h3 {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    color: var(--selvedge);
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin: 0.75rem 0 1.25rem;
}

.collection-tile .btn {
    position: relative;
    z-index: 1;
    align-self: flex-start;
}

@media (max-width: 760px) {
    .collections-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================================
   TOP PICKS
   ============================================== */
.top-picks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.pick-tile {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background: #ece9e3;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pick-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(16, 17, 18, 0.12);
}

.pick-tile img {
    width: 100%;
    height: 420px;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.pick-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    background: var(--rivet-copper);
    color: #fff;
    padding: 0.35rem 0.65rem;
    border-radius: 3px;
}

.pick-info {
    padding: 1.1rem 1.25rem 1.4rem;
    background: #fff;
}

.pick-info h4 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.pick-info .price {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--ink);
}

@media (max-width: 860px) {
    .top-picks-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================================
   TRENDING
   ============================================== */
.section-trending {
    background: #f6f5f2;
}

.trending-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.trending-item {
    position: relative;
    display: block;
    background: #fff;
    border: 1px solid rgba(16, 17, 18, 0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trending-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(16, 17, 18, 0.1);
}

.trending-item img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    object-position: center center;
    background: #ece9e3;
    display: block;
}

.trending-rank {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(16, 17, 18, 0.5);
}

.trending-info {
    padding: 0.9rem 1rem 1.15rem;
}

.trending-info h4 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.trending-info .price {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink);
}

@media (max-width: 900px) {
    .trending-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .trending-row {
        grid-template-columns: 1fr;
    }
}

/* ==============================================
   SALE BANNER
   ============================================== */
.sale-banner {
    background: var(--indigo-night);
    padding: var(--section-pad) 0;
}

.sale-banner-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 3rem;
}

.sale-banner-photo {
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.sale-banner-photo img {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.sale-banner-content .eyebrow {
    background: rgba(79, 156, 130, 0.15);
    border-color: rgba(138, 212, 187, 0.4);
    color: var(--rivet-copper-light);
}

.sale-banner-content h2 {
    font-family: var(--font-display);
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.05;
    margin: 1rem 0 1.25rem;
}

.sale-banner-content h2 .accent {
    color: var(--rivet-copper-light);
}

.sale-banner-content p {
    color: var(--fog-blue);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 420px;
}

@media (max-width: 860px) {
    .sale-banner-inner {
        grid-template-columns: 1fr;
    }
    .sale-banner-photo img {
        max-height: 420px;
    }
}

/* ==============================================
   SLIDER (shared base — products + testimonials)
   ============================================== */
.slider {
    position: relative;
}

.slider-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.product-card,
.testimonial-card {
    scroll-snap-align: start;
}

.slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.slider-arrow:hover {
    background: var(--rivet-copper);
    border-color: var(--rivet-copper);
    color: var(--selvedge);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
}

.slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
    transition: background 0.25s ease, width 0.25s ease;
}

.slider-dot.active {
    background: var(--rivet-copper);
    width: 22px;
    border-radius: 4px;
}

/* ==============================================
   PRODUCT CARDS
   ============================================== */
.product-card {
    flex: 0 0 clamp(240px, 26vw, 280px);
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.product-swatch {
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.product-swatch::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.08) 0 3px, transparent 3px 20px);
}

.product-swatch span {
    position: relative;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
}

.product-photo {
    height: 420px;
    position: relative;
    overflow: hidden;
    background: #e8e9e6;
    cursor: pointer;
}

.product-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    transition: opacity 0.35s ease;
}

.product-photo .photo-hover {
    opacity: 0;
}

.wish-btn {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(16, 17, 18, 0.12);
    transition: color 0.2s ease, transform 0.15s ease;
}

.wish-btn svg {
    width: 17px;
    height: 17px;
}

.wish-btn:hover {
    transform: scale(1.08);
}

.wish-btn.active {
    color: var(--rivet-copper);
}

.wish-btn.active svg {
    fill: currentColor;
}

.product-card:hover .photo-hover {
    opacity: 1;
}

.product-card:hover .photo-default {
    opacity: 0;
}

.wash-1 { background: linear-gradient(160deg, #2c3d61, #1a2540); }
.wash-2 { background: linear-gradient(160deg, #4c6a94, #35507a); }
.wash-3 { background: linear-gradient(160deg, #6b86ab, #4c6a94); }
.wash-4 { background: linear-gradient(160deg, #1c2740, #0f1526); }

.product-info {
    padding: 1.1rem 1.25rem 1.4rem;
}

.product-info h4 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.product-info .stars {
    color: var(--rivet-copper);
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price .price {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.05rem;
}

.add-btn {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: var(--rivet-copper);
    border: 1px solid var(--rivet-copper);
    padding: 0.4rem 0.7rem;
    border-radius: 3px;
    transition: background 0.2s ease, color 0.2s ease;
}

.add-btn:hover,
.add-btn.added {
    background: var(--rivet-copper);
    color: #fff;
}

/* ==============================================
   BRAND STORY / FEATURES (parallax, dark)
   ============================================== */
.story {
    position: relative;
}

.story-texture {
    position: absolute;
    inset: -15% 0 -15% 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(79, 156, 130, 0.08), transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(163, 171, 169, 0.08), transparent 45%);
    will-change: transform;
}

.story-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.feature {
    padding: 1.75rem 1.5rem;
    border: 1px solid rgba(16, 17, 18, 0.1);
    border-radius: 6px;
    background: #fff;
}

.feature-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 1rem;
    color: var(--rivet-copper);
}

.feature h4 {
    font-size: 1.02rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #565f5c;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .story-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================================
   TESTIMONIALS
   ============================================== */
.testimonial-card {
    flex: 0 0 clamp(280px, 34vw, 380px);
    background: #fff;
    border: 1px solid rgba(16, 17, 18, 0.08);
    border-radius: 6px;
    padding: 2rem;
}

.testimonial-card .stars {
    color: var(--rivet-copper);
    margin-bottom: 1rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.testimonial-card p.quote {
    color: var(--ink);
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-card .who {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: #6b7371;
    letter-spacing: 0.03em;
}

/* ==============================================
   NEWSLETTER
   ============================================== */
.newsletter {
    background: linear-gradient(135deg, var(--rivet-copper) 0%, #2f6b58 100%);
    border-radius: 10px;
    padding: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    color: var(--selvedge);
}

.newsletter h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 0.75rem;
}

.newsletter p {
    color: rgba(237, 228, 210, 0.9);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 440px;
    margin: 0 auto;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 0.9rem 1.1rem;
    border-radius: 4px;
    border: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.newsletter-form .btn {
    background: var(--indigo-night);
    color: var(--selvedge);
}

.newsletter-form .btn:hover {
    background: var(--ink);
}

.form-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: rgba(237, 228, 210, 0.75);
}

/* ==============================================
   FOOTER
   ============================================== */
.site-footer {
    background: var(--ink);
    color: var(--fog-blue);
    padding: 3.5rem 0 1.75rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-grid .footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-grid .footer-logo img {
    height: 100px;
    width: auto;
}

.footer-grid p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-grid h5 {
    color: var(--selvedge);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid ul li {
    margin-bottom: 0.6rem;
}

.footer-grid ul a {
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-grid ul a:hover {
    color: var(--selvedge);
}

.footer-bottom {
    border-top: 1px solid rgba(163, 171, 169, 0.15);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
}

.social-row {
    display: flex;
    gap: 1rem;
}

.social-row a {
    color: var(--fog-blue);
    transition: color 0.2s ease;
}

.social-row a:hover {
    color: var(--selvedge);
}

@media (max-width: 760px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==============================================
   UTILITY CLASSES (replace ad-hoc inline styles)
   ============================================== */
.section-bestsellers {
    background: #f2f3f1;
}

.section-head--split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
    max-width: none;
}

.story-inner {
    position: relative;
    z-index: 1;
}

.section-reviews {
    background: #f1efe9;
    padding-top: 3.5rem;
}

.section-newsletter {
    padding-top: 4rem;
}

/* Coming Soon page */
.coming-soon-hero {
    min-height: 85vh;
}

.coming-soon-inner {
    width: 100%;
}

.coming-soon-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.coming-soon-content p {
    margin-left: auto;
    margin-right: auto;
}

.coming-soon-form {
    margin-top: 2.5rem;
    justify-content: center;
}

.coming-soon-note {
    color: #565f5c;
}

.coming-soon-cta {
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .hero-texture,
    .story-texture {
        transform: none !important;
    }
}

/* ==============================================
   RESPONSIVE TYPE / SPACING
   ============================================== */
@media (max-width: 560px) {
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    .slider-controls {
        justify-content: center;
    }
    .product-photo,
    .product-swatch {
        height: 280px;
    }
}

/* ==============================================
   CARD-LEVEL COLOR SWATCHES
   ============================================== */
.card-color-row {
    display: flex;
    gap: 0.45rem;
    padding: 0.4rem 0 0.1rem;
}

.card-color-dot {
    width: 17px;
    height: 17px;
    border-radius: 999px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
    padding: 0;
    cursor: pointer;
}

.card-color-dot.active {
    box-shadow: 0 0 0 2px var(--rivet-copper);
}

.swatch-ash-grey {
    background: #a8b0ab;
}

.swatch-deep-indigo {
    background: #1c2a4a;
}

.swatch-jet-black {
    background: #1c1e1f;
}

.swatch-stone-grey {
    background: #9a9d9c;
}

/* ==============================================
   QUICK VIEW MODAL
   ============================================== */

.quick-view-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 11, 11, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 300;
    padding: 1.5rem;
}

.quick-view-overlay.open {
    display: flex;
}

.quick-view-modal {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 840px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
}

.quick-view-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: var(--ink);
}

.quick-view-gallery {
    position: relative;
    background: #e8e9e6;
    min-height: 460px;
}

.quick-view-main-image {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: contain;
    object-position: center center;
}

.quick-view-thumbs {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
}

.quick-view-thumb-btn {
    width: 46px;
    height: 46px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.7);
    padding: 0;
    flex-shrink: 0;
}

.quick-view-thumb-btn.active {
    border-color: var(--rivet-copper-light);
}

.quick-view-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-view-info {
    padding: 2rem;
}

.quick-view-info h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.quick-view-price {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 1rem 0;
}

.quick-view-colors {
    margin: 1.25rem 0;
}

.quick-view-colors h5 {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: #6b7371;
    margin-bottom: 0.6rem;
}

.color-swatch-row {
    display: flex;
    gap: 0.6rem;
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1.5px #d8d8d5;
    cursor: pointer;
    padding: 0;
}

.color-swatch.active {
    box-shadow: 0 0 0 2px var(--rivet-copper);
}

.quick-view-add-btn {
    width: 100%;
    justify-content: center;
    margin-top: 1.5rem;
}

@media (max-width: 720px) {
    .quick-view-modal {
        grid-template-columns: 1fr;
    }
    .quick-view-gallery,
    .quick-view-main-image {
        min-height: 300px;
    }
}

/* ==============================================
   SHOP PAGE
   ============================================== */
.shop-banner {
    padding: 9rem 0 3rem;
    background: linear-gradient(175deg, var(--selvedge) 0%, #ece9e3 100%);
    text-align: center;
}

.shop-banner h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    color: var(--ink);
    margin: 1rem 0 0.75rem;
}

.shop-banner p {
    color: #565f5c;
    font-size: 1.05rem;
}

.shop-main {
    padding-top: 3rem;
}

.shop-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    padding: 0.6rem 1.4rem;
    border: 1.5px solid rgba(16, 17, 18, 0.15);
    border-radius: 999px;
    color: var(--ink);
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--rivet-copper);
}

.filter-btn.active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.shop-grid .product-card {
    width: 100%;
}

.shop-grid .product-card.is-hidden {
    display: none;
}

.shop-empty {
    display: none;
    text-align: center;
    color: #565f5c;
    padding: 3rem 0;
}

.shop-empty.is-visible {
    display: block;
}

@media (max-width: 640px) {
    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
    .shop-banner {
        padding-top: 2rem;
    }
}

/* ==============================================
   CART PAGE
   ============================================== */
.cart-main {
    padding-bottom: 5rem;
}

.cart-empty {
    display: none;
    text-align: center;
    padding: 3rem 0;
}

.cart-empty.is-visible {
    display: block;
}

.cart-empty p {
    color: #565f5c;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 3rem;
    align-items: start;
}

.cart-layout.is-hidden,
.cart-empty:not(.is-visible) {
    display: none;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(16, 17, 18, 0.08);
}

.cart-item img {
    width: 100px;
    height: 130px;
    object-fit: contain;
    background: #ece9e3;
    border-radius: 6px;
}

.cart-item-name {
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.cart-item-color {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #6b7371;
    margin-bottom: 0.6rem;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(16, 17, 18, 0.15);
    border-radius: 6px;
}

.qty-stepper button {
    width: 30px;
    height: 30px;
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--ink);
}

.qty-stepper span {
    min-width: 28px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.cart-item-right {
    text-align: right;
}

.cart-item-price {
    font-family: var(--font-mono);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.remove-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #a3372a;
    text-decoration: underline;
}

.cart-summary {
    background: #f6f5f2;
    border-radius: 10px;
    padding: 1.75rem;
    position: sticky;
    top: 6rem;
}

.cart-summary h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    color: #565f5c;
    margin-bottom: 0.9rem;
}

.summary-total {
    border-top: 1px solid rgba(16, 17, 18, 0.1);
    padding-top: 0.9rem;
    font-weight: 700;
    color: var(--ink);
    font-size: 1.05rem;
}

.cart-checkout-btn {
    width: 100%;
    justify-content: center;
    margin-top: 1.25rem;
}

.continue-link {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #565f5c;
    text-decoration: underline;
}

@media (max-width: 760px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .cart-summary {
        position: static;
    }
    .cart-item {
        grid-template-columns: 70px 1fr;
    }
    .cart-item-right {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

/* ==============================================
   CHECKOUT PAGE
   ============================================== */
.checkout-main {
    padding-bottom: 5rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.checkout-form h3 {
    font-size: 1.05rem;
    margin: 0 0 1rem;
}

.checkout-form h3:not(:first-child) {
    margin-top: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-span-2 {
    grid-column: 1 / -1;
}

.input-field {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(16, 17, 18, 0.15);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: #fff;
}

.input-field:focus {
    outline: none;
    border-color: var(--rivet-copper);
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.1rem;
    border: 1.5px solid rgba(16, 17, 18, 0.12);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.payment-option:has(input:checked) {
    border-color: var(--rivet-copper);
    background: rgba(79, 156, 130, 0.06);
}

.checkout-place-btn {
    width: 100%;
    justify-content: center;
    margin-top: 2rem;
}

.checkout-summary {
    position: sticky;
    top: 6rem;
}

.checkout-items {
    margin-bottom: 1rem;
}

.checkout-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.88rem;
    color: #565f5c;
    margin-bottom: 0.75rem;
}

.checkout-line .qty-tag {
    color: #8a938f;
}

.order-confirmation {
    display: none;
    text-align: center;
    padding: 4rem 0;
}

.order-confirmation.is-visible {
    display: block;
}

.confirmation-icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: var(--rivet-copper);
    color: #fff;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.order-confirmation h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.order-confirmation p {
    color: #565f5c;
    max-width: 440px;
    margin: 0 auto 1.75rem;
}

@media (max-width: 760px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .checkout-summary {
        position: static;
    }
}

