/* =============================================
   KARAT & KIN — Homepage Styles
   Theme: Quiet Luxury — Navy · Ivory · Champagne
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Backgrounds */
    --ivory:        #F8F7F5;
    --white:        #FFFFFF;
    --soft:         #F2F1EF;
    --mist:         #ECEAE7;

    /* Accent */
    --champ:        #A8906C;       /* muted champagne — the only warm note */
    --champ-dark:   #8A7455;
    --champ-pale:   #EDE6DA;
    --champ-light:  #D4C6AE;

    /* Darks */
    --navy:         #1A2B3C;       /* primary dark — deep navy */
    --navy-deep:    #0F1C2B;
    --navy-mid:     #2C4056;

    /* Grays */
    --mid:          #6E6E6E;
    --light:        #ABABAB;
    --border:       #E3E1DE;
    --border-soft:  #EDECE9;

    /* Semantic */
    --red:          #7A2020;

    /* Type */
    --serif:        'Cormorant Garamond', Georgia, serif;
    --sans:         'Montserrat', 'Helvetica Neue', sans-serif;
    --ease:         all 0.25s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--ivory); color: var(--navy); line-height: 1.6; font-size: 14px; letter-spacing: 0.02em; }
a { text-decoration: none; color: inherit; transition: var(--ease); }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: var(--sans); cursor: pointer; border: none; background: none; }

/* =============================================
   ANNOUNCEMENT BAR
   ============================================= */
.announcement-bar {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.65);
    text-align: center;
    padding: 9px 16px;
    font-size: 11.5px;
    letter-spacing: 0.1em;
}
.announcement-bar strong { color: var(--champ-light); }
.announcement-bar a { color: rgba(255,255,255,0.8); text-decoration: underline; text-underline-offset: 3px; }
.announcement-bar a:hover { color: white; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 900;
}

.header-top {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-logo {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    margin-right: 8px;
}
.logo-name {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--navy);
}
.logo-sub {
    font-size: 8px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--mid);
    margin-top: 1px;
}

.header-search {
    flex: 1;
    position: relative;
    max-width: 520px;
}
.header-search input {
    width: 100%;
    padding: 10px 44px 10px 16px;
    border: 1.5px solid var(--border);
    background: var(--soft);
    font-family: var(--sans);
    font-size: 13px;
    color: var(--navy);
    outline: none;
    letter-spacing: 0.03em;
    transition: border-color 0.2s, background 0.2s;
}
.header-search input:focus { border-color: var(--navy-mid); background: white; }
.header-search input::placeholder { color: var(--light); }
.header-search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--mid);
    padding: 0;
}
.header-search-btn:hover { color: var(--navy); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 10px;
    color: var(--navy);
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
    transition: var(--ease);
}
.action-btn:hover { color: var(--champ); }
.action-btn svg { display: block; }
.cart-bubble {
    position: absolute;
    top: 4px;
    right: 6px;
    background: var(--navy);
    color: white;
    font-size: 8px;
    font-weight: 800;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* =============================================
   MAIN NAV
   ============================================= */
.main-nav {
    background: var(--navy);
    border-top: 2px solid var(--champ);
}
.main-nav-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: stretch;
}

.nav-item { position: relative; }
.nav-item > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    white-space: nowrap;
    transition: var(--ease);
}
.nav-item > a:hover,
.nav-item:hover > a { color: var(--champ-light); background: rgba(255,255,255,0.04); }
.nav-chevron { font-size: 8px; opacity: 0.5; margin-top: 1px; transition: transform 0.2s; }
.nav-item:hover .nav-chevron { transform: rotate(180deg); }

.mega-drop {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-top: 2px solid var(--champ);
    box-shadow: 0 12px 40px rgba(15,28,43,0.14);
    padding: 32px 36px;
    min-width: 520px;
    z-index: 800;
}
.nav-item:hover .mega-drop { display: flex; gap: 40px; }

.drop-col h5 {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--navy);
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
    margin-bottom: 14px;
}
.drop-col ul { display: flex; flex-direction: column; gap: 9px; }
.drop-col ul a { font-size: 12px; color: var(--mid); letter-spacing: 0.04em; }
.drop-col ul a:hover { color: var(--champ); }

.nav-right-group { margin-left: auto; display: flex; align-items: center; }
.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.06em;
    border-left: 1px solid rgba(255,255,255,0.08);
}
.nav-phone a { color: var(--champ-light); }
.nav-phone a:hover { color: white; }

/* =============================================
   HERO
   ============================================= */
.hero {
    background: linear-gradient(115deg, var(--navy-deep) 0%, #172535 45%, var(--navy) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 40px;
    min-height: 480px;
    display: flex;
    align-items: center;
}
/* Subtle texture overlay — no warm browns */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 60%, rgba(168,144,108,0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 15%, rgba(168,144,108,0.05) 0%, transparent 45%);
    pointer-events: none;
}
/* Fine grid texture */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.hero-inner {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.hero-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(168,144,108,0.35);
    color: var(--champ-light);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 6px 14px;
    margin-bottom: 20px;
}
.hero-title {
    font-family: var(--serif);
    font-size: clamp(40px, 4.5vw, 68px);
    font-weight: 400;
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}
.hero-title em { font-style: italic; color: var(--champ-light); font-weight: 300; }
.hero-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    max-width: 500px;
    line-height: 1.85;
    margin-bottom: 36px;
    letter-spacing: 0.03em;
    font-weight: 300;
}

.hero-stats { display: flex; gap: 32px; margin-bottom: 36px; flex-wrap: wrap; }
.hero-stat-num {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 600;
    color: var(--champ-light);
    line-height: 1;
    margin-bottom: 3px;
}
.hero-stat-label {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    font-weight: 500;
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-champ {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--champ);
    color: white;
    padding: 13px 32px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 2px solid var(--champ);
    transition: var(--ease);
}
.btn-champ:hover { background: var(--champ-dark); border-color: var(--champ-dark); }

.btn-ghost-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: rgba(255,255,255,0.7);
    padding: 13px 32px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 2px solid rgba(255,255,255,0.2);
    transition: var(--ease);
}
.btn-ghost-light:hover { border-color: rgba(255,255,255,0.55); color: white; }

.hero-cards { display: flex; flex-direction: column; gap: 14px; }
.hero-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 20px 24px;
    min-width: 220px;
    cursor: pointer;
    transition: var(--ease);
}
.hero-card:hover {
    background: rgba(168,144,108,0.1);
    border-color: rgba(168,144,108,0.35);
}
.hero-card-icon { font-size: 24px; margin-bottom: 8px; }
.hero-card-title { font-family: var(--serif); font-size: 17px; color: rgba(255,255,255,0.9); margin-bottom: 4px; }
.hero-card-sub { font-size: 10px; color: rgba(255,255,255,0.35); letter-spacing: 0.08em; }

/* =============================================
   TRUST STRIP
   ============================================= */
.trust-strip { background: var(--navy-mid); }
.trust-strip-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: stretch;
}
.trust-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-right: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
}
.trust-item:last-child { border-right: none; }
.trust-item svg { flex-shrink: 0; opacity: 0.7; }
.trust-text strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: white;
}
.trust-text span { font-size: 10px; opacity: 0.55; letter-spacing: 0.04em; }

/* =============================================
   SHOP BY METAL
   ============================================= */
.metal-section { background: var(--white); padding: 64px 40px; }
.metal-inner { max-width: 1440px; margin: 0 auto; }

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 12px;
}
.section-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--champ);
    margin-bottom: 7px;
}
.section-title {
    font-family: var(--serif);
    font-size: clamp(26px, 2.5vw, 38px);
    font-weight: 400;
    color: var(--navy);
    line-height: 1.2;
}
.section-link {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
}
.section-link:hover { color: var(--champ); border-color: var(--champ); }
.section-link svg { transition: transform 0.2s; }
.section-link:hover svg { transform: translateX(3px); }

.metals-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.metal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: var(--ease);
    text-align: center;
    background: var(--white);
}
.metal-card:hover {
    border-color: var(--navy);
    box-shadow: 0 4px 20px rgba(26,43,60,0.08);
    transform: translateY(-2px);
}
.metal-swatch {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.6);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15), inset 0 -3px 6px rgba(0,0,0,0.18);
    position: relative;
    overflow: hidden;
}
.metal-swatch::after {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 28%;
    height: 18%;
    background: rgba(255,255,255,0.45);
    border-radius: 50%;
    transform: rotate(-30deg);
}
.metal-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy);
    line-height: 1.3;
}
.metal-count { font-size: 10px; color: var(--light); letter-spacing: 0.06em; }

/* =============================================
   CATEGORY GRID
   ============================================= */
.categories-section { background: var(--soft); padding: 64px 40px; }
.categories-inner { max-width: 1440px; margin: 0 auto; }

.categories-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}

.cat-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--white);
    border: 1px solid var(--border);
    transition: var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 12px 18px;
    text-align: center;
}
.cat-card:hover {
    border-color: var(--navy);
    box-shadow: 0 6px 24px rgba(26,43,60,0.09);
    transform: translateY(-3px);
}
.cat-card.featured {
    grid-column: span 2;
    grid-row: span 2;
    padding: 0;
    align-items: flex-end;
    justify-content: flex-end;
    border: none;
    min-height: 260px;
}
.cat-card.featured .cat-bg { position: absolute; inset: 0; transition: transform 0.4s ease; }
.cat-card.featured:hover .cat-bg { transform: scale(1.04); }
.cat-card.featured .cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,18,28,0.72) 0%, transparent 60%);
}
.cat-card.featured .cat-info { position: relative; z-index: 2; padding: 20px; width: 100%; text-align: left; }
.cat-card.featured .cat-name { color: white; font-size: 20px; }
.cat-card.featured .cat-count { color: rgba(255,255,255,0.55); }
.cat-card.featured .cat-arrow { color: var(--champ-light); }

.cat-icon { font-size: 34px; margin-bottom: 10px; line-height: 1; }
.cat-name {
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 3px;
    letter-spacing: 0.02em;
}
.cat-count { font-size: 10px; color: var(--light); letter-spacing: 0.06em; }
.cat-arrow {
    font-size: 11px;
    color: var(--champ);
    margin-top: 8px;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    transform: translateX(-4px);
}
.cat-card:hover .cat-arrow { opacity: 1; transform: translateX(0); }

/* Featured card backgrounds */
.feat-rings {
    background: linear-gradient(150deg, #0f1c2b 0%, #1a2b3c 50%, #243850 100%);
}
.feat-religious {
    background: linear-gradient(150deg, #0d1520 0%, #162030 50%, #1e2e42 100%);
}

/* =============================================
   PRODUCT TABS / GRID
   ============================================= */
.products-section { padding: 64px 40px; background: var(--white); }
.products-inner { max-width: 1440px; margin: 0 auto; }

.tab-bar {
    display: flex;
    border-bottom: 1.5px solid var(--border);
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.tab-btn {
    padding: 12px 24px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--light);
    border-bottom: 2px solid transparent;
    margin-bottom: -1.5px;
    transition: var(--ease);
    cursor: pointer;
}
.tab-btn.active, .tab-btn:hover { color: var(--navy); border-bottom-color: var(--navy); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    position: relative;
    cursor: pointer;
    transition: var(--ease);
}
.product-card:hover {
    border-color: var(--navy);
    box-shadow: 0 8px 32px rgba(26,43,60,0.1);
    transform: translateY(-3px);
}

.product-flags {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.flag {
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 8px;
    color: white;
}
.flag-new  { background: var(--navy); }
.flag-sale { background: var(--red); }
.flag-mto  { background: var(--mid); }

.product-img {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--soft);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-img-placeholder {
    font-size: 52px;
    transition: transform 0.3s ease;
}
.product-card:hover .product-img-placeholder { transform: scale(1.05); }

.product-wish {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    opacity: 0;
    transition: var(--ease);
    z-index: 2;
    cursor: pointer;
}
.product-card:hover .product-wish { opacity: 1; }
.product-wish:hover { background: var(--navy); color: white; }

.product-info {
    padding: 16px;
    border-top: 1px solid var(--border-soft);
}
.product-metal {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--champ);
    margin-bottom: 4px;
}
.product-name {
    font-family: var(--serif);
    font-size: 15px;
    color: var(--navy);
    margin-bottom: 3px;
    font-weight: 500;
    line-height: 1.3;
}
.product-sku { font-size: 10px; color: var(--light); letter-spacing: 0.06em; margin-bottom: 10px; }
.product-pricing { display: flex; align-items: baseline; gap: 8px; }
.price { font-size: 15px; font-weight: 700; color: var(--navy); }
.price-orig { font-size: 12px; color: var(--light); text-decoration: line-through; }
.price-sale { color: var(--red); }

.products-footer {
    text-align: center;
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.products-count-note { font-size: 12px; color: var(--mid); letter-spacing: 0.06em; }

.btn-navy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: white;
    padding: 13px 36px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 2px solid var(--navy);
    transition: var(--ease);
}
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); }

/* Alias for template compatibility */
.btn-dark { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: white; padding: 13px 36px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border: 2px solid var(--navy); transition: var(--ease); }
.btn-dark:hover { background: var(--navy-mid); border-color: var(--navy-mid); }

.btn-gold { display: inline-flex; align-items: center; gap: 8px; background: var(--champ); color: white; padding: 13px 32px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border: 2px solid var(--champ); transition: var(--ease); }
.btn-gold:hover { background: var(--champ-dark); border-color: var(--champ-dark); }

/* =============================================
   WHY KARAT & KIN
   ============================================= */
.why-section { background: var(--mist); padding: 72px 40px; }
.why-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    align-items: start;
}
.why-lead .section-title { margin-bottom: 16px; }
.why-lead p { font-size: 14px; color: var(--mid); line-height: 1.9; margin-bottom: 24px; font-weight: 300; }
.why-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
    background: var(--white);
    padding: 28px 24px;
    border-top: 2px solid var(--navy);
}
.why-icon { font-size: 26px; margin-bottom: 14px; }
.why-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--navy);
    margin-bottom: 8px;
    text-transform: uppercase;
}
.why-desc { font-size: 12px; color: var(--mid); line-height: 1.75; font-weight: 300; }

/* =============================================
   SPECIAL COLLECTIONS BANNER
   ============================================= */
.collections-section { padding: 64px 40px; background: var(--white); }
.collections-inner { max-width: 1440px; margin: 0 auto; }

.collections-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.collection-banner {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
}
.coll-bg { position: absolute; inset: 0; transition: transform 0.4s ease; }
.collection-banner:hover .coll-bg { transform: scale(1.05); }
.coll-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,18,28,0.75) 0%, rgba(10,18,28,0.15) 60%);
}
.coll-content { position: relative; z-index: 1; padding: 24px; width: 100%; }
.coll-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--champ-light);
    margin-bottom: 6px;
}
.coll-title { font-family: var(--serif); font-size: 24px; color: white; margin-bottom: 4px; font-weight: 400; }
.coll-sub { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; margin-bottom: 14px; }
.coll-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: white;
    border-bottom: 1px solid var(--champ);
    padding-bottom: 2px;
    transition: var(--ease);
}
.coll-btn:hover { color: var(--champ-light); }

/* Collection backgrounds — all navy family, no brown */
.coll-religious {
    background: linear-gradient(140deg, #0a1628 0%, #152540 40%, #1e3255 100%);
}
.coll-watches {
    background: linear-gradient(140deg, #111820 0%, #1c2535 50%, #253040 100%);
}
.coll-gifts {
    background: linear-gradient(140deg, #0f1a26 0%, #1a2c3e 50%, #243852 100%);
}

/* =============================================
   NEWSLETTER
   ============================================= */
.newsletter-section { background: var(--navy); padding: 72px 40px; }
.newsletter-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.newsletter-inner .section-eyebrow { color: var(--champ-light); margin-bottom: 10px; }
.newsletter-title {
    font-family: var(--serif);
    font-size: 36px;
    color: white;
    font-weight: 400;
    margin-bottom: 12px;
}
.newsletter-sub { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 28px; line-height: 1.8; font-weight: 300; }
.newsletter-perks {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.perk { display: flex; align-items: center; gap: 7px; font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; }
.perk-check { color: var(--champ-light); font-size: 13px; }
.newsletter-form {
    display: flex;
    border: 1px solid rgba(255,255,255,0.12);
    max-width: 460px;
    margin: 0 auto 12px;
}
.newsletter-input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: none;
    outline: none;
    padding: 14px 18px;
    font-family: var(--sans);
    font-size: 13px;
    color: white;
    letter-spacing: 0.03em;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.25); }
.newsletter-btn {
    background: var(--champ);
    color: white;
    border: none;
    padding: 14px 24px;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--ease);
    white-space: nowrap;
}
.newsletter-btn:hover { background: var(--champ-dark); }
.newsletter-fine { font-size: 10px; color: rgba(255,255,255,0.22); letter-spacing: 0.04em; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.6); }

.footer-main {
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 40px 48px;
    display: grid;
    grid-template-columns: 260px repeat(4, 1fr);
    gap: 48px;
}
.footer-logo-name {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    color: white;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 2px;
}
.footer-logo-gold-bar { width: 36px; height: 2px; background: var(--champ); margin: 6px 0 16px; }
.footer-brand-desc { font-size: 12px; line-height: 1.85; color: rgba(255,255,255,0.35); margin-bottom: 24px; font-weight: 300; }
.footer-social { display: flex; gap: 10px; }
.soc {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    transition: var(--ease);
}
.soc:hover { border-color: var(--champ); color: var(--champ); }

.footer-col h4 {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: white;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.38); letter-spacing: 0.03em; font-weight: 300; transition: var(--ease); }
.footer-links a:hover { color: var(--champ-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.22); letter-spacing: 0.04em; }
.footer-copy a { color: rgba(255,255,255,0.22); text-decoration: underline; text-underline-offset: 3px; }
.footer-copy a:hover { color: var(--champ); }
.footer-payments { display: flex; gap: 6px; }
.pay-chip {
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    padding: 4px 9px;
    font-size: 9px;
    font-weight: 700;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.07em;
    border: 1px solid rgba(255,255,255,0.08);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
    .metals-grid { grid-template-columns: repeat(3, 1fr); }
    .categories-grid { grid-template-columns: repeat(4, 1fr); }
    .cat-card.featured { grid-column: span 2; }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-cards { flex-direction: row; }
    .why-inner { grid-template-columns: 1fr; }
    .why-cards { grid-template-columns: repeat(2, 1fr); }
    .collections-grid { grid-template-columns: 1fr 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .header-top { padding: 0 16px; gap: 12px; }
    .main-nav-inner { padding: 0 8px; overflow-x: auto; }
    .hero { padding: 48px 20px; }
    .hero-cards { display: none; }
    .metal-section, .categories-section, .products-section, .why-section, .collections-section { padding: 48px 20px; }
    .metals-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .cat-card.featured { grid-column: span 3; min-height: 180px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .collections-grid { grid-template-columns: 1fr; }
    .why-cards { grid-template-columns: 1fr; }
    .trust-strip-inner { flex-wrap: wrap; }
    .trust-item { flex: none; width: 50%; }
    .footer-main { grid-template-columns: 1fr; padding: 40px 20px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* =============================================
   COLLECTION PAGE
   ============================================= */

/* Breadcrumbs */
.breadcrumbs-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border-soft);
    padding: 12px 40px;
}
.breadcrumbs {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: 0.06em;
}
.breadcrumb-item a {
    color: var(--mid);
    transition: var(--ease);
}
.breadcrumb-item a:hover { color: var(--champ); }
.breadcrumb-item.active {
    color: var(--navy);
    font-weight: 600;
}
.breadcrumb-sep {
    color: var(--border);
    font-size: 10px;
}

/* Collection page header */
.collection-header {
    background: var(--navy);
    padding: 40px 40px 36px;
    position: relative;
    overflow: hidden;
}
.collection-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 50%, rgba(168,144,108,0.08) 0%, transparent 60%),
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: auto, 48px 48px, 48px 48px;
    pointer-events: none;
}
.collection-header-inner {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.collection-header h1 {
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    color: white;
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}
.collection-header-count {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.1em;
}
.collection-header-count strong {
    color: var(--champ-light);
    font-weight: 700;
}

/* Subcategory strip */
.subcategory-strip {
    background: var(--soft);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border);
    padding: 12px 40px;
    position: sticky;
    top: 68px;
    z-index: 100;
    /* Right-edge fade to hint at overflow */
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 60px), transparent 100%);
    mask-image: linear-gradient(to right, black calc(100% - 60px), transparent 100%);
}
/* Remove fade when scrolled to end — JS toggles this class */
.subcategory-strip.at-end {
    -webkit-mask-image: none;
    mask-image: none;
}
.subcategory-strip-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 8px;
    flex-wrap: wrap;
}
.subcategory-strip-inner::-webkit-scrollbar { display: none; }

/* Pill button base */
.subcat-link[hidden] { display: none !important; }
.subcat-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
    white-space: nowrap;
    border: 1.5px solid var(--border);
    background: var(--white);
    border-radius: 2px;
    transition: var(--ease);
    flex-shrink: 0;
    line-height: 1;
}
.subcat-link:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: white;
}
.subcat-link:hover .subcat-count {
    background: rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.85);
}
.subcat-link.active {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
    font-weight: 700;
}
.subcat-link.active .subcat-count {
    background: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
}
.subcat-count {
    background: var(--mist);
    color: var(--mid);
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 8px;
    letter-spacing: 0.06em;
    line-height: 1.4;
}

/* "Show more" toggle button — distinct from category chips */
.subcat-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--champ-dark);
    background: var(--champ-pale);
    border: 1.5px dashed var(--champ);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--ease);
    flex-shrink: 0;
    white-space: nowrap;
}
.subcat-toggle::after {
    content: '›';
    font-size: 14px;
    line-height: 1;
    transition: transform 0.2s;
}
.subcat-toggle[aria-expanded="true"]::after {
    content: '‹';
}
.subcat-toggle:hover {
    background: var(--champ);
    border-color: var(--champ);
    color: white;
    border-style: solid;
}

/* Collection toolbar */
.collection-toolbar {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.toolbar-results {
    font-size: 12px;
    color: var(--mid);
    letter-spacing: 0.04em;
}
.toolbar-results strong { color: var(--navy); font-weight: 700; }
.toolbar-right { display: flex; align-items: center; gap: 12px; }
.sort-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mid);
}
.sort-select {
    appearance: none;
    background: var(--white);
    border: 1.5px solid var(--border);
    padding: 8px 32px 8px 12px;
    font-family: var(--sans);
    font-size: 12px;
    color: var(--navy);
    letter-spacing: 0.04em;
    cursor: pointer;
    outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236E6E6E'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: border-color 0.2s;
}
.sort-select:focus { border-color: var(--navy); }

/* Collection body layout */
.collection-body {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px 64px;
}

/* Collection product grid — image swap on hover */
.coll-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.coll-product-card {
    background: var(--white);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}
.coll-product-card:hover {
    border-color: var(--navy);
    box-shadow: 0 8px 28px rgba(26,43,60,0.1);
    transform: translateY(-3px);
}

/* Image area with two-image swap */
.coll-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--soft);
}
.coll-img-primary,
.coll-img-secondary {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}
.coll-img-secondary { opacity: 0; }

.coll-product-card:hover .coll-img-primary  { opacity: 0; }
.coll-product-card:hover .coll-img-secondary { opacity: 1; }

/* When only one image, just scale */
.coll-img-single {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.coll-product-card:hover .coll-img-single { transform: scale(1.05); }

.coll-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    transition: transform 0.3s ease;
}
.coll-product-card:hover .coll-img-placeholder { transform: scale(1.05); }

/* Badges on image */
.coll-product-flags {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.coll-product-wish {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s, background 0.2s, color 0.2s;
}
.coll-product-card:hover .coll-product-wish { opacity: 1; }
.coll-product-wish:hover { background: var(--navy); color: white; }

/* Product info */
.coll-product-info {
    padding: 14px 16px 16px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}
.coll-product-name {
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.35;
    letter-spacing: 0.01em;
}
.coll-product-sku {
    font-size: 10px;
    color: var(--light);
    letter-spacing: 0.08em;
}
.coll-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    gap: 8px;
    flex-wrap: wrap;
}
.coll-product-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.02em;
}

/* Stock badge */
.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: 2px;
}
.stock-badge::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.7;
}
.stock-in     { background: #EBF5EB; color: #2A7A2A; }
.stock-low    { background: #FFF7E6; color: #A05A00; }
.stock-mto    { background: #EBF0FA; color: #1A3A80; }
.stock-out    { background: #FAEAEA; color: #8B2020; }

/* Empty state */
.coll-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--mid);
}
.coll-empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.4; }
.coll-empty h3 {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 8px;
    font-weight: 400;
}
.coll-empty p { font-size: 13px; max-width: 360px; margin: 0 auto; }

/* Pagination */
.pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 40px 0 0;
    flex-wrap: wrap;
}
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--navy);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: var(--ease);
    text-decoration: none;
}
.page-btn:hover {
    border-color: var(--navy);
    background: var(--soft);
}
.page-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
    cursor: default;
}
.page-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}
.page-ellipsis {
    padding: 0 6px;
    color: var(--light);
    font-size: 14px;
    user-select: none;
}

/* Collection page responsive */
@media (max-width: 1200px) {
    .coll-products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .collection-header { padding: 32px 24px; }
    .collection-toolbar, .collection-body { padding-left: 24px; padding-right: 24px; }
    .breadcrumbs-bar { padding-left: 24px; padding-right: 24px; }
    .subcategory-strip { padding: 0 24px; }
    .coll-products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 540px) {
    .collection-header { padding: 28px 16px; }
    .collection-toolbar, .collection-body { padding-left: 16px; padding-right: 16px; }
    .breadcrumbs-bar { padding-left: 16px; padding-right: 16px; }
    .subcategory-strip { padding: 0 8px; top: 60px; }
    .coll-products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .coll-product-info { padding: 10px 12px 12px; }
    .toolbar-right { width: 100%; }
    .sort-select { flex: 1; }
}
