/* ==========================================================================
   Niki Jewellers – Storefront styles
   Palette: gold, ivory, white and deep espresso. Typography: Cormorant
   Garamond (display) + Jost (text). Built on Bootstrap 5.3.
   ========================================================================== */

:root {
    --nj-gold: #B8913F;
    --nj-gold-light: #D9B866;
    --nj-gold-pale: #F3E6C8;
    --nj-gold-dark: #8C6A2B;
    --nj-ivory: #FBF7F0;
    --nj-cream: #F5EDE0;
    --nj-dark: #1B1714;
    --nj-dark-2: #2A221D;
    --nj-text: #2B2420;
    --nj-muted: #7A6F64;
    --nj-border: #EADFCA;
    --nj-maroon: #6B1F2A;
    --nj-radius: 14px;
    --nj-shadow: 0 10px 30px rgba(60, 40, 10, .07);
    --nj-shadow-lg: 0 20px 50px rgba(60, 40, 10, .12);
    --nj-serif: 'Cormorant Garamond', Georgia, serif;
    --nj-sans: 'Jost', 'Segoe UI', sans-serif;
    --bs-body-font-family: var(--nj-sans);
    --bs-body-color: var(--nj-text);
    --bs-link-color: var(--nj-gold-dark);
    --bs-link-hover-color: var(--nj-gold);
    --bs-link-color-rgb: 140, 106, 43;
    --bs-link-hover-color-rgb: 184, 145, 63;
}

body {
    font-family: var(--nj-sans);
    color: var(--nj-text);
    background: #fff;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .font-serif {
    font-family: var(--nj-serif);
    font-weight: 600;
    letter-spacing: .01em;
}

a { text-decoration: none; }
img { max-width: 100%; }
.text-gold { color: var(--nj-gold) !important; }
.text-gold-dark { color: var(--nj-gold-dark) !important; }
.text-muted { color: var(--nj-muted) !important; }
.bg-ivory { background: var(--nj-ivory) !important; }
.bg-cream { background: var(--nj-cream) !important; }
.bg-espresso { background: var(--nj-dark) !important; }
.small-caps { text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 500; }
.fw-medium { font-weight: 500 !important; }

/* Buttons ---------------------------------------------------------------- */
.btn { border-radius: 999px; padding: .62rem 1.5rem; font-weight: 500; letter-spacing: .03em; transition: all .25s ease; }
.btn-sm { padding: .4rem 1rem; }
.btn-lg { padding: .85rem 2rem; }
.btn-gold {
    background: linear-gradient(135deg, #CFA955 0%, #B8913F 45%, #9A7330 100%);
    color: #fff; border: 0; box-shadow: 0 6px 18px rgba(184, 145, 63, .3);
}
.btn-gold:hover, .btn-gold:focus { color: #fff; box-shadow: 0 10px 24px rgba(184, 145, 63, .45); transform: translateY(-1px); }
.btn-dark-gold { background: var(--nj-dark); color: var(--nj-gold-light); border: 1px solid var(--nj-dark); }
.btn-dark-gold:hover { background: #000; color: #fff; }
.btn-outline-gold { border: 1px solid var(--nj-gold); color: var(--nj-gold-dark); background: transparent; }
.btn-outline-gold:hover { background: var(--nj-gold); color: #fff; }
.btn-light-outline { border: 1px solid rgba(255,255,255,.7); color: #fff; }
.btn-light-outline:hover { background: #fff; color: var(--nj-dark); }
.btn:disabled { opacity: .55; }

.form-control, .form-select {
    border-radius: 10px; border-color: #E2D6C0; padding: .65rem .9rem;
}
.form-control:focus, .form-select:focus, .form-check-input:focus {
    border-color: var(--nj-gold); box-shadow: 0 0 0 .2rem rgba(184, 145, 63, .15);
}
.form-check-input:checked { background-color: var(--nj-gold); border-color: var(--nj-gold); }
.form-label { font-weight: 500; font-size: .9rem; }

/* Top bar & header -------------------------------------------------------- */
.topbar { background: var(--nj-dark); color: #CBBFA8; font-size: .78rem; letter-spacing: .03em; }
.topbar a { color: #E8D9B6; }
.topbar .rate { color: var(--nj-gold-light); white-space: nowrap; }
.topbar .rate + .rate { margin-left: 1rem; }

.site-header { background: #fff; position: sticky; top: 0; z-index: 1030; box-shadow: 0 1px 0 var(--nj-border); }
.site-header .header-main { padding-top: .9rem; padding-bottom: .9rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--nj-dark); }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-name { font-family: var(--nj-serif); font-size: 1.75rem; font-weight: 700; letter-spacing: .32em; line-height: 1; color: var(--nj-dark); }
.brand-sub { display: block; font-size: .58rem; letter-spacing: .55em; color: var(--nj-gold-dark); margin-top: 4px; font-family: var(--nj-sans); font-weight: 500; }
.brand img.logo { max-height: 52px; }

.search-box { position: relative; }
.search-box .form-control { border-radius: 999px; padding-left: 1.2rem; padding-right: 3rem; background: var(--nj-ivory); border-color: var(--nj-border); }
.search-box button { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); border: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--nj-gold); color: #fff; }

.header-icons a, .header-icons button { color: var(--nj-text); display: inline-flex; flex-direction: column; align-items: center; font-size: .7rem; letter-spacing: .05em; position: relative; padding: 0 .65rem; background: none; border: 0; }
.header-icons i { font-size: 1.35rem; line-height: 1.2; }
.header-icons a:hover { color: var(--nj-gold-dark); }
.header-icons .count { position: absolute; top: -4px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--nj-maroon); color: #fff; font-size: .65rem; display: grid; place-items: center; padding: 0 4px; }

.main-nav { border-top: 1px solid var(--nj-border); background: #fff; }
.main-nav .nav-link { color: var(--nj-text); font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: .85rem .9rem; position: relative; white-space: nowrap; }
.main-nav .nav-link::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .45rem; height: 1.5px; background: var(--nj-gold); transform: scaleX(0); transition: transform .25s; }
.main-nav .nav-item:hover > .nav-link, .main-nav .nav-link.active { color: var(--nj-gold-dark); }
.main-nav .nav-item:hover > .nav-link::after, .main-nav .nav-link.active::after { transform: scaleX(1); }
.main-nav .nav-item { position: static; }
.mega {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--nj-border);
    box-shadow: var(--nj-shadow-lg); padding: 2rem 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .22s ease; z-index: 1000;
}
.main-nav .nav-item:hover > .mega, .main-nav .nav-item:focus-within > .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega h6 { font-family: var(--nj-serif); font-size: 1.15rem; margin-bottom: .6rem; }
.mega h6 a { color: var(--nj-dark); }
.mega ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.mega li a { color: var(--nj-muted); font-size: .88rem; display: block; padding: .22rem 0; }
.mega li a:hover { color: var(--nj-gold-dark); padding-left: 4px; }
.mega .mega-img { border-radius: var(--nj-radius); overflow: hidden; background: var(--nj-ivory); aspect-ratio: 1; }
.mega .mega-img img { width: 100%; height: 100%; object-fit: cover; }

/* Mobile menu */
.offcanvas-menu .accordion-button { font-family: var(--nj-serif); font-size: 1.15rem; font-weight: 600; }
.offcanvas-menu .accordion-button:not(.collapsed) { background: var(--nj-ivory); color: var(--nj-gold-dark); box-shadow: none; }
.offcanvas-menu .list-group-item { border: 0; padding-left: 2rem; color: var(--nj-muted); }

/* Section headings -------------------------------------------------------- */
.section { padding: 4.5rem 0; }
.section-sm { padding: 3rem 0; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title .eyebrow { color: var(--nj-gold-dark); }
.section-title h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin: .35rem 0 .5rem; }
.section-title p { color: var(--nj-muted); margin: 0 auto; max-width: 560px; }
.ornament { display: flex; align-items: center; justify-content: center; gap: .75rem; color: var(--nj-gold); margin: .4rem 0; }
.ornament::before, .ornament::after { content: ""; width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--nj-gold)); }
.ornament::after { transform: scaleX(-1); }

/* Hero slider -------------------------------------------------------------- */
.hero .carousel-item { position: relative; min-height: 340px; background: var(--nj-dark); }
.hero .hero-img { width: 100%; height: clamp(360px, 42vw, 620px); object-fit: cover; display: block; }
.hero .hero-caption { position: absolute; inset: 0; display: flex; align-items: center; }
.hero .hero-caption .inner { max-width: 560px; }
.hero .eyebrow { color: var(--nj-gold-light); }
.hero h1, .hero h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.02; margin: .6rem 0 1rem; color: #fff; font-weight: 600; }
.hero p { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 460px; }
.hero .theme-dark h1, .hero .theme-dark h2 { color: var(--nj-dark); }
.hero .theme-dark p { color: var(--nj-muted); }
.hero .theme-dark .eyebrow { color: var(--nj-gold-dark); }
.hero .carousel-indicators [data-bs-target] { width: 28px; height: 3px; background: var(--nj-gold-light); }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 6%; }

/* Category circles --------------------------------------------------------- */
.cat-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(118px, 1fr); gap: 1.25rem; overflow-x: auto; padding: .5rem .25rem 1rem; scrollbar-width: thin; }
.cat-circle { text-align: center; color: var(--nj-text); display: block; }
.cat-circle .ring { width: 118px; height: 118px; margin: 0 auto .75rem; border-radius: 50%; padding: 4px; background: linear-gradient(135deg, var(--nj-gold-light), var(--nj-gold-pale), var(--nj-gold)); transition: transform .3s; }
.cat-circle img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #fff; background: var(--nj-ivory); }
.cat-circle span { font-size: .88rem; font-weight: 500; }
.cat-circle:hover .ring { transform: translateY(-4px) rotate(-3deg); }
.cat-circle:hover span { color: var(--nj-gold-dark); }

/* Product cards ------------------------------------------------------------- */
.product-card { position: relative; background: #fff; border-radius: var(--nj-radius); transition: box-shadow .3s, transform .3s; height: 100%; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--nj-shadow-lg); transform: translateY(-3px); }
.product-card .media { position: relative; aspect-ratio: 1; border-radius: var(--nj-radius); overflow: hidden; background: var(--nj-ivory); }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease, transform .6s ease; }
.product-card .media img.hover { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .media img.hover { opacity: 1; }
.product-card:hover .media img.main { transform: scale(1.04); }
.product-card .badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge-nj { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .6rem; border-radius: 999px; font-weight: 500; }
.badge-sale { background: var(--nj-maroon); color: #fff; }
.badge-new { background: var(--nj-dark); color: var(--nj-gold-light); }
.badge-best { background: var(--nj-gold-pale); color: var(--nj-gold-dark); }
.badge-oos { background: #fff; color: var(--nj-muted); border: 1px solid var(--nj-border); }
.wish-btn { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--nj-text); display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.08); transition: all .2s; }
.wish-btn:hover { color: var(--nj-maroon); transform: scale(1.08); }
.wish-btn.active { color: var(--nj-maroon); }
.wish-btn.active i::before { content: "\f415"; } /* bi-heart-fill */
.product-card .quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; opacity: 0; transform: translateY(10px); transition: all .3s; }
.product-card:hover .quick { opacity: 1; transform: translateY(0); }
.product-card .quick .btn { width: 100%; background: rgba(27, 23, 20, .9); color: #fff; backdrop-filter: blur(4px); font-size: .8rem; }
.product-card .quick .btn:hover { background: var(--nj-gold); }
.product-card .body { padding: .9rem .4rem .4rem; display: flex; flex-direction: column; flex: 1; }
.product-card .meta { font-size: .72rem; color: var(--nj-muted); text-transform: uppercase; letter-spacing: .1em; }
.product-card .title { font-family: var(--nj-serif); font-size: 1.12rem; font-weight: 600; color: var(--nj-text); line-height: 1.25; margin: .25rem 0 .35rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .title:hover { color: var(--nj-gold-dark); }
.product-card .price-row { margin-top: auto; display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.price { font-weight: 600; color: var(--nj-dark); font-size: 1.05rem; }
.price-mrp { color: var(--nj-muted); text-decoration: line-through; font-size: .85rem; }
.price-off { color: var(--nj-maroon); font-size: .8rem; font-weight: 500; }
.stars { color: #D4A23C; font-size: .8rem; letter-spacing: 1px; }
.rating-count { font-size: .75rem; color: var(--nj-muted); }

@media (hover: none) {
    .product-card .quick { opacity: 1; transform: none; position: static; margin-top: .5rem; }
    .product-card .media img.hover { display: none; }
}

/* Horizontal product rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc(25% - 1.125rem); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 991.98px) { .rail { grid-auto-columns: calc(40% - 1rem); } }
@media (max-width: 575.98px) { .rail { grid-auto-columns: 68%; gap: 1rem; } }

/* Collections ---------------------------------------------------------------- */
.collection-tile { position: relative; display: block; border-radius: var(--nj-radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--nj-cream); }
.collection-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.collection-tile:hover img { transform: scale(1.06); }
.collection-tile .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem; background: linear-gradient(transparent, rgba(27, 23, 20, .78)); color: #fff; }
.collection-tile .caption h3 { font-size: 1.6rem; margin: 0; color: #fff; }
.collection-tile .caption p { margin: .2rem 0 0; font-size: .85rem; opacity: .85; }
.collection-tile .caption .go { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--nj-gold-light); }

.promo-tile { position: relative; display: block; border-radius: var(--nj-radius); overflow: hidden; min-height: 280px; }
.promo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.promo-tile:hover img { transform: scale(1.04); }
.promo-tile .content { position: relative; padding: 2.5rem; max-width: 60%; }
.promo-tile h3 { font-size: 2.1rem; }
.promo-tile.theme-light h3, .promo-tile.theme-light p { color: #fff; }
.promo-tile.theme-light .eyebrow { color: var(--nj-gold-light); }
.promo-tile.theme-dark h3 { color: var(--nj-dark); }
.promo-tile.theme-dark .eyebrow { color: var(--nj-gold-dark); }
.promo-tile.theme-dark p { color: var(--nj-muted); }

.wide-banner { position: relative; border-radius: var(--nj-radius); overflow: hidden; }
.wide-banner img { width: 100%; height: clamp(260px, 26vw, 400px); object-fit: cover; display: block; }
.wide-banner .content { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 6%; }
.wide-banner .content > div { max-width: 520px; }
.wide-banner h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); color: #fff; }
.wide-banner p { color: rgba(255,255,255,.8); }
.wide-banner .eyebrow { color: var(--nj-gold-light); }

/* Shop by metal */
.metal-card { display: block; border-radius: var(--nj-radius); padding: 1.6rem 1.2rem; text-align: center; color: var(--nj-text); border: 1px solid var(--nj-border); background: #fff; transition: all .25s; height: 100%; }
.metal-card .swatch { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1rem; box-shadow: inset -6px -8px 14px rgba(0,0,0,.18), inset 6px 6px 12px rgba(255,255,255,.7); }
.metal-card h5 { margin: 0; font-size: 1.3rem; }
.metal-card small { color: var(--nj-muted); }
.metal-card:hover { border-color: var(--nj-gold); box-shadow: var(--nj-shadow); transform: translateY(-3px); }

/* Testimonials */
.testimonial { background: #fff; border-radius: var(--nj-radius); padding: 1.8rem; border: 1px solid var(--nj-border); height: 100%; position: relative; }
.testimonial::before { content: "\201C"; font-family: var(--nj-serif); position: absolute; top: -.2rem; right: 1.2rem; font-size: 5rem; color: var(--nj-gold-pale); line-height: 1; }
.testimonial p { font-size: .95rem; color: var(--nj-text); }
.testimonial .who { font-weight: 500; }

/* USP strip */
.usp-strip { background: var(--nj-ivory); border-top: 1px solid var(--nj-border); border-bottom: 1px solid var(--nj-border); }
.usp { display: flex; align-items: center; gap: .9rem; padding: 1.4rem .5rem; }
.usp i { font-size: 1.9rem; color: var(--nj-gold); }
.usp strong { display: block; font-weight: 500; font-size: .92rem; }
.usp span { font-size: .78rem; color: var(--nj-muted); }

/* Newsletter */
.newsletter { background: var(--nj-dark) url("../img/pattern.svg") center / 420px repeat; color: #E9DFCC; border-radius: var(--nj-radius); }
.newsletter h3 { color: #fff; }
.newsletter .form-control { background: rgba(255,255,255,.08); border-color: rgba(217,184,102,.35); color: #fff; }
.newsletter .form-control::placeholder { color: #A99D8A; }

/* Footer --------------------------------------------------------------------- */
.site-footer { background: var(--nj-dark); color: #B7AB97; font-size: .9rem; }
.site-footer h6 { color: var(--nj-gold-light); text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; margin-bottom: 1.1rem; font-family: var(--nj-sans); font-weight: 500; }
.site-footer a { color: #CFC4B1; }
.site-footer a:hover { color: var(--nj-gold-light); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer .brand-name { color: #fff; }
.site-footer .social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #4A4037; display: inline-grid; place-items: center; margin-right: .4rem; }
.site-footer .social a:hover { background: var(--nj-gold); border-color: var(--nj-gold); color: #fff; }
.site-footer .bottom { border-top: 1px solid #352C25; color: #8D8172; font-size: .8rem; }
.pay-icons i { font-size: 1.5rem; margin-left: .6rem; color: #CFC4B1; }

/* Page header / breadcrumbs ---------------------------------------------------- */
.page-hero { background: var(--nj-ivory) url("../img/pattern-light.svg") center / 380px repeat; border-bottom: 1px solid var(--nj-border); padding: 2.4rem 0 2rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: .3rem 0 .4rem; }
.page-hero p { color: var(--nj-muted); max-width: 640px; margin: 0; }
.breadcrumb { font-size: .8rem; margin: 0; }
.breadcrumb a { color: var(--nj-muted); }
.breadcrumb-item.active { color: var(--nj-gold-dark); }

/* Shop ---------------------------------------------------------------------- */
.filter-block { border-bottom: 1px solid var(--nj-border); padding: 1.1rem 0; }
.filter-block:first-child { padding-top: 0; }
.filter-block h6 { font-family: var(--nj-sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: .75rem; }
.filter-block .form-check { margin-bottom: .35rem; font-size: .9rem; }
.filter-block .cat-list a { display: flex; justify-content: space-between; color: var(--nj-text); font-size: .9rem; padding: .25rem 0; }
.filter-block .cat-list a.active, .filter-block .cat-list a:hover { color: var(--nj-gold-dark); font-weight: 500; }
.filter-chip { display: inline-flex; align-items: center; gap: .35rem; background: var(--nj-ivory); border: 1px solid var(--nj-border); border-radius: 999px; padding: .25rem .75rem; font-size: .78rem; color: var(--nj-text); margin: 0 .35rem .35rem 0; }
.filter-chip:hover { border-color: var(--nj-gold); color: var(--nj-gold-dark); }
.shop-toolbar { border-bottom: 1px solid var(--nj-border); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.shop-toolbar .form-select { width: auto; border-radius: 999px; font-size: .88rem; }
.subcat-pills a { display: inline-block; padding: .4rem 1rem; border-radius: 999px; border: 1px solid var(--nj-border); margin: 0 .4rem .5rem 0; font-size: .85rem; color: var(--nj-text); background: #fff; }
.subcat-pills a:hover, .subcat-pills a.active { border-color: var(--nj-gold); color: var(--nj-gold-dark); background: var(--nj-ivory); }

.pagination { --bs-pagination-color: var(--nj-text); --bs-pagination-active-bg: var(--nj-gold); --bs-pagination-active-border-color: var(--nj-gold); --bs-pagination-hover-color: var(--nj-gold-dark); --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(184,145,63,.2); gap: .35rem; }
.pagination .page-link { border-radius: 50% !important; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; }

.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state i { font-size: 3.5rem; color: var(--nj-gold); }

/* Product detail -------------------------------------------------------------- */
.gallery { display: flex; gap: 1rem; position: sticky; top: 150px; }
.gallery .thumbs { display: flex; flex-direction: column; gap: .75rem; width: 84px; flex: none; }
.gallery .thumbs button { border: 1px solid var(--nj-border); border-radius: 10px; padding: 0; overflow: hidden; background: var(--nj-ivory); aspect-ratio: 1; opacity: .7; transition: all .2s; }
.gallery .thumbs button.active, .gallery .thumbs button:hover { border-color: var(--nj-gold); opacity: 1; }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery .main-img { flex: 1; border-radius: var(--nj-radius); overflow: hidden; background: var(--nj-ivory); aspect-ratio: 1; position: relative; cursor: zoom-in; }
.gallery .main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.gallery .main-img.zoom img { transform: scale(1.9); }
@media (max-width: 767.98px) {
    .gallery { flex-direction: column-reverse; position: static; }
    .gallery .thumbs { flex-direction: row; width: 100%; overflow-x: auto; }
    .gallery .thumbs button { width: 70px; flex: none; }
}
.pd-title { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.1; }
.pd-price { font-size: 2rem; font-weight: 600; color: var(--nj-dark); font-family: var(--nj-sans); }
.pd-chips span { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; padding: .35rem .8rem; background: var(--nj-ivory); border: 1px solid var(--nj-border); border-radius: 999px; margin: 0 .35rem .4rem 0; }
.variant-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant-options .btn-check + label { border-radius: 10px; border: 1px solid var(--nj-border); padding: .5rem .95rem; min-width: 64px; font-size: .88rem; background: #fff; color: var(--nj-text); }
.variant-options .btn-check:checked + label { border-color: var(--nj-gold); background: var(--nj-gold-pale); color: var(--nj-gold-dark); font-weight: 500; }
.variant-options .btn-check:disabled + label { text-decoration: line-through; opacity: .45; }
.qty-input { display: inline-flex; align-items: center; border: 1px solid var(--nj-border); border-radius: 999px; overflow: hidden; background: #fff; }
.qty-input button { border: 0; background: transparent; width: 40px; height: 44px; font-size: 1.1rem; color: var(--nj-text); }
.qty-input input { width: 46px; border: 0; text-align: center; font-weight: 500; -moz-appearance: textfield; }
.qty-input input::-webkit-outer-spin-button, .qty-input input::-webkit-inner-spin-button { -webkit-appearance: none; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; text-align: center; }
.trust-row div { font-size: .72rem; color: var(--nj-muted); padding: .75rem .25rem; border-radius: 10px; background: var(--nj-ivory); }
.trust-row i { display: block; font-size: 1.4rem; color: var(--nj-gold); margin-bottom: .25rem; }
.breakup-table td { padding: .45rem 0; font-size: .9rem; }
.spec-table th { width: 45%; font-weight: 400; color: var(--nj-muted); font-size: .9rem; }
.spec-table td { font-size: .9rem; font-weight: 500; }
.nav-tabs-nj { border-bottom: 1px solid var(--nj-border); gap: 1.5rem; }
.nav-tabs-nj .nav-link { border: 0; color: var(--nj-muted); font-weight: 500; padding: .8rem 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; }
.nav-tabs-nj .nav-link.active { color: var(--nj-dark); border-bottom-color: var(--nj-gold); }
.rating-big { font-size: 3rem; font-family: var(--nj-serif); line-height: 1; }
.rating-bar { height: 6px; border-radius: 3px; background: #F0E8DA; overflow: hidden; }
.rating-bar span { display: block; height: 100%; background: var(--nj-gold); }
.review-item { border-bottom: 1px solid var(--nj-border); padding: 1.2rem 0; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.star-input input { display: none; }
.star-input label { font-size: 1.7rem; color: #DDD2BF; cursor: pointer; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #D4A23C; }

/* Cart & checkout ------------------------------------------------------------- */
.card-nj { border: 1px solid var(--nj-border); border-radius: var(--nj-radius); background: #fff; }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 1.2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--nj-border); align-items: center; }
.cart-item img { width: 110px; height: 110px; border-radius: 12px; object-fit: cover; background: var(--nj-ivory); }
.cart-item .name { font-family: var(--nj-serif); font-size: 1.2rem; font-weight: 600; color: var(--nj-text); }
@media (max-width: 575.98px) { .cart-item { grid-template-columns: 80px 1fr; } .cart-item img { width: 80px; height: 80px; } .cart-item .end { grid-column: 1 / -1; } }
.summary-row { display: flex; justify-content: space-between; padding: .45rem 0; font-size: .95rem; }
.summary-total { border-top: 1px dashed var(--nj-border); margin-top: .5rem; padding-top: .9rem; font-size: 1.2rem; font-weight: 600; }
.coupon-pill { border: 1px dashed var(--nj-gold); border-radius: 10px; padding: .6rem .8rem; background: var(--nj-ivory); font-size: .82rem; }
.address-option { border: 1px solid var(--nj-border); border-radius: 12px; padding: 1rem 1.1rem; cursor: pointer; display: block; transition: all .2s; }
.address-option:hover { border-color: var(--nj-gold-light); }
.form-check-input:checked + .address-option, .address-option.selected { border-color: var(--nj-gold); background: var(--nj-ivory); }
.pay-option { border: 1px solid var(--nj-border); border-radius: 12px; padding: .9rem 1.1rem; display: flex; gap: .8rem; align-items: center; cursor: pointer; margin-bottom: .6rem; }
.pay-option:has(input:checked) { border-color: var(--nj-gold); background: var(--nj-ivory); }
.checkout-steps { display: flex; gap: .5rem; align-items: center; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--nj-muted); }
.checkout-steps .on { color: var(--nj-gold-dark); font-weight: 600; }

/* Account ---------------------------------------------------------------------- */
.account-nav .list-group-item { border: 0; border-radius: 10px !important; padding: .75rem 1rem; color: var(--nj-text); margin-bottom: .2rem; }
.account-nav .list-group-item i { color: var(--nj-gold); margin-right: .6rem; }
.account-nav .list-group-item.active { background: var(--nj-ivory); color: var(--nj-gold-dark); font-weight: 500; }
.account-nav .list-group-item:hover { background: var(--nj-ivory); }
.stat-tile { border: 1px solid var(--nj-border); border-radius: var(--nj-radius); padding: 1.3rem; background: #fff; }
.stat-tile .num { font-size: 1.7rem; font-weight: 600; font-family: var(--nj-serif); }
.auth-card { max-width: 480px; margin: 0 auto; }
.auth-side { background: var(--nj-dark) url("../img/pattern.svg") center / 380px repeat; color: #E9DFCC; border-radius: var(--nj-radius); }

/* Tracking timeline */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 1.4rem 2.6rem; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--nj-border); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #F2EBDD; color: #B8AD9C; font-size: .85rem; }
.timeline li.done .dot { background: var(--nj-gold); color: #fff; }
.timeline li.done::before { background: var(--nj-gold-light); }
.timeline li.current .dot { box-shadow: 0 0 0 5px rgba(184,145,63,.2); }
.timeline li.cancelled .dot { background: #B23A48; color: #fff; }
.timeline .label { font-weight: 500; }
.timeline .when { font-size: .78rem; color: var(--nj-muted); }

.progress-track { display: flex; justify-content: space-between; position: relative; margin: 1.5rem 0 2rem; }
.progress-track::before { content: ""; position: absolute; top: 15px; left: 6%; right: 6%; height: 2px; background: var(--nj-border); }
.progress-track .bar { position: absolute; top: 15px; left: 6%; height: 2px; background: var(--nj-gold); }
.progress-track .stp { position: relative; text-align: center; flex: 1; font-size: .72rem; color: var(--nj-muted); }
.progress-track .stp .dot { width: 32px; height: 32px; border-radius: 50%; margin: 0 auto .4rem; background: #fff; border: 2px solid var(--nj-border); display: grid; place-items: center; color: #C9BDA8; }
.progress-track .stp.done .dot { background: var(--nj-gold); border-color: var(--nj-gold); color: #fff; }
.progress-track .stp.done { color: var(--nj-text); }

/* Badges for statuses */
.badge-status { font-weight: 500; padding: .4rem .7rem; border-radius: 999px; font-size: .74rem; }

/* CMS content */
.cms-content h2, .cms-content h3 { margin-top: 1.8rem; }
.cms-content { font-size: 1.02rem; line-height: 1.8; }
.cms-content ul li { margin-bottom: .35rem; }

/* Toasts */
.toast-nj { background: var(--nj-dark); color: #fff; border: 0; border-left: 3px solid var(--nj-gold); border-radius: 10px; }
.toast-nj.error { border-left-color: #C0394A; }
.alert { border-radius: 12px; }

/* Utility */
.ratio-1 { aspect-ratio: 1; }
.rounded-nj { border-radius: var(--nj-radius) !important; }
.shadow-nj { box-shadow: var(--nj-shadow) !important; }
.divider-gold { height: 1px; background: linear-gradient(90deg, transparent, var(--nj-gold), transparent); border: 0; opacity: .6; }
.sticky-summary { position: sticky; top: 150px; }
.back-to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--nj-dark); color: var(--nj-gold-light); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: all .3s; z-index: 1040; border: 0; }
.back-to-top.show { opacity: 1; visibility: visible; }
.whatsapp-float { position: fixed; left: 18px; bottom: 18px; width: 50px; height: 50px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 1.5rem; z-index: 1040; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.whatsapp-float:hover { color: #fff; transform: scale(1.06); }

@media (max-width: 991.98px) {
    .section { padding: 3rem 0; }
    .site-header .header-main { padding-top: .6rem; padding-bottom: .6rem; }
    .brand-name { font-size: 1.4rem; }
    .brand-mark { width: 34px; height: 34px; }
    .promo-tile .content { max-width: 80%; padding: 1.8rem; }
    .sticky-summary, .gallery { position: static; }
}
@media (max-width: 575.98px) {
    .header-icons a, .header-icons button { padding: 0 .35rem; }
    .brand { gap: .45rem; }
    .brand-name { font-size: 1.25rem; letter-spacing: .25em; }
    .hero .hero-img { object-position: 70% center; }
    .hero .hero-caption.theme-light { background: linear-gradient(90deg, rgba(20,14,10,.78), rgba(20,14,10,.25)); }
    .hero .hero-caption.theme-dark { background: linear-gradient(90deg, rgba(255,252,246,.88), rgba(255,252,246,.3)); }
    .hero p { font-size: .95rem; }
    .trust-row { grid-template-columns: repeat(2, 1fr); }
    .section-title { margin-bottom: 1.75rem; }
}
@media print {
    .topbar, .site-header, .site-footer, .usp-strip, .no-print, .back-to-top, .whatsapp-float { display: none !important; }
}
