/* =====================================================================
   DIGUP E-Commerce — ONE stylesheet for the whole website.
   Colours come from Settings > Logo & Colors (--store-primary,
   --store-secondary, set in views/layouts/header.php).
   Sections:
     1. Base: colours, buttons, header, footer
     2. Product cards, grids, wishlist, account, star rating
     3. Product page
     4. Cart
     5. Checkout, payment, order tracking
     6. WhatsApp button & enquiry
     7. Royal theme (fonts, gold accents, arch headers)
     8. Small screens
     9. Utilities (replace inline styles)
   ===================================================================== */


/* =====================================================================
   1. Base: colours, buttons, header, footer
   ===================================================================== */
/* =========================================================
   DIGUP Store — base styles (colors come from Settings > Branding)
   ========================================================= */
:root { --store-primary: #0d6efd; --store-secondary: #198754; }

body { color: #1f2937; background: #fff; }
a { color: var(--store-primary); }
.text-store { color: var(--store-primary) !important; }
.btn-store { background: var(--store-primary); border-color: var(--store-primary); color: #fff; }
.btn-store:hover, .btn-store:focus { filter: brightness(.92); color: #fff; background: var(--store-primary); }
.btn-outline-store { border-color: var(--store-primary); color: var(--store-primary); }
.btn-outline-store:hover { background: var(--store-primary); color: #fff; }

.top-notice { background: var(--store-primary); color: #fff; }
.site-logo { max-height: 44px; max-width: 180px; object-fit: contain; }
.site-menu .nav-link { color: #374151; font-weight: 500; padding: .6rem 1rem; }
.site-menu .nav-link:hover { color: var(--store-primary); }
.site-main { min-height: 50vh; }

.section-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.home-hero-logo { width: 150px; max-width: 40vw; height: auto; }
.home-hero { background: linear-gradient(135deg, color-mix(in srgb, var(--store-secondary) 14%, #fff), #fff); }

.site-footer { background: color-mix(in srgb, var(--store-primary) 35%, #0b0b0b); color: #e5e7eb; }

.cms-content img { max-width: 100%; height: auto; }
.object-fit-cover { object-fit: cover; }


/* =====================================================================
   2. Product cards, grids, wishlist, account, star rating
   ===================================================================== */
/* Product cards, grids, category tiles */
.product-card { border-radius: 12px; overflow: hidden; transition: box-shadow .15s ease, transform .15s ease; }
.product-card:hover { transform: translateY(-2px); box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.08) !important; }
.product-card-img { background: #f6f7f9; }
.product-card-img img { width: 100%; height: 100%; }
.product-card-title { font-size: .95rem; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.category-tile img { width: 100%; height: 100%; }
.category-tile:hover .small { color: var(--store-primary); }

.bg-store-secondary { background: var(--store-secondary) !important; color: #fff; }
.product-badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; width: auto; height: auto; }
.product-badges .badge { font-weight: 600; }
.color-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid #ccc; vertical-align: -1px; margin-right: 4px; }
.search-suggest { position: absolute; top: 100%; left: 0; right: 0; z-index: 1060; max-height: 360px; overflow: auto; }
.product-scroller { scroll-snap-type: x mandatory; }
.product-scroller > * { scroll-snap-align: start; }
.product-scroller { scrollbar-width: none; scroll-behavior: smooth; }
.product-scroller::-webkit-scrollbar { display: none; }
.scroller-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold, #b8892f); background: #fff; color: var(--store-primary); display: inline-flex; align-items: center; justify-content: center; }
.scroller-btn:hover:not(:disabled) { background: var(--store-primary); color: #fff; border-color: var(--store-primary); }
.scroller-btn:disabled { opacity: .35; }
.option-card { border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px; cursor: pointer; }
.option-card:has(input:checked) { border-color: var(--store-primary); background: color-mix(in srgb, var(--store-primary) 5%, #fff); }
.step-no { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: var(--store-primary); color: #fff; font-size: .8rem; align-items: center; justify-content: center; margin-right: 6px; }
.success-icon, .failed-icon { width: 72px; height: 72px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 2.2rem; color: #fff; }
.success-icon { background: #16a34a; } .failed-icon { background: #dc2626; }
.filter-panel .form-check { margin-bottom: .25rem; }
@media (min-width: 992px) { .offcanvas-lg .offcanvas-header { display: none; } }

/* Wishlist heart */
.product-card { position: relative; }
.card-wishlist { position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px; padding: 0; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.wishlist-btn { width: 40px; height: 40px; padding: 0; flex-shrink: 0; }
.card-wishlist.wishlist-btn { width: 34px; height: 34px; }
.wishlist-btn.saved, .wishlist-btn:hover { color: #dc3545; }

/* Account pages */
.auth-page { max-width: 480px; }
.account-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--store-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; flex-shrink: 0; }
.account-nav .list-group-item.active { background: color-mix(in srgb, var(--store-primary) 10%, #fff); color: var(--store-primary); border-color: rgba(0,0,0,.125); font-weight: 600; }
.min-w-0 { min-width: 0; }

/* Star rating input */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 1.8rem; line-height: 1; color: #d1d5db; cursor: pointer; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #f59e0b; }
.star-input input:focus-visible + label { outline: 2px solid var(--store-primary); border-radius: 4px; }
.border-dashed { border-style: dashed !important; }


/* =====================================================================
   3. Product page
   ===================================================================== */
/* Product page */
.gallery-main { overflow: hidden; }
.gallery-main img, .gallery-main video, .gallery-main iframe { width: 100%; height: 100%; border: 0; }
.gallery-thumb { width: 68px; height: 68px; border: 2px solid #e5e7eb; border-radius: 8px; padding: 0; background: #fff; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; flex-direction: column; font-size: .7rem; color: #555; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--store-primary); }
.gallery-thumb-video i { font-size: 1.4rem; color: var(--store-primary); }
@media (min-width: 992px) { .product-gallery { position: sticky; top: 140px; } }

.option-btn { min-width: 52px; padding: 6px 14px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; font-weight: 500; }
.option-btn:hover { border-color: var(--store-primary); }
.option-btn.active { border-color: var(--store-primary); background: var(--store-primary); color: #fff; }
.option-btn.no-stock { text-decoration: line-through; color: #9ca3af; }
.option-btn.active.no-stock { color: #fff; opacity: .7; }
.option-btn.unavailable { opacity: .35; }
.option-color { width: 36px; height: 36px; min-width: 36px; padding: 0; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 3px #fff; }
.option-color.active { background: var(--swatch); outline: 2px solid var(--store-primary); outline-offset: 1px; }
.qty-box input::-webkit-outer-spin-button, .qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-box input { -moz-appearance: textfield; }
.product-highlights { padding-left: 1.1rem; }
.product-highlights li { margin-bottom: .25rem; }
.mobile-buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; background: #fff; border-top: 1px solid #e5e7eb; padding: 10px 12px; display: flex; gap: 10px; align-items: center; box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
@media (max-width: 991.98px) {
    .product-page { padding-bottom: 80px; }
    .product-page ~ .whatsapp-float, body:has(.mobile-buy-bar) .whatsapp-float { bottom: 84px; }
}


/* =====================================================================
   4. Cart
   ===================================================================== */
/* Cart page */
#cartLines .list-group-item { border-color: #eef0f3; }
@media (min-width: 992px) { #cartSummary { position: sticky; top: 140px; } }


/* =====================================================================
   5. Checkout, payment, order tracking
   ===================================================================== */
/* Checkout */
@media (min-width: 992px) { .checkout-summary { position: sticky; top: 120px; } }
.checkout-items { max-height: 320px; overflow: auto; }
.order-timeline { list-style: none; padding: 0; margin: 0; display: flex; justify-content: space-between; position: relative; }
.order-timeline::before { content: ""; position: absolute; top: 9px; left: 8%; right: 8%; height: 3px; background: #e5e7eb; }
.order-timeline li { flex: 1; text-align: center; position: relative; font-size: .85rem; }
.order-timeline .dot { display: block; width: 20px; height: 20px; margin: 0 auto 6px; border-radius: 50%; background: #e5e7eb; border: 3px solid #fff; position: relative; }
.order-timeline li.done .dot { background: #16a34a; }
.order-timeline li.done { color: #111; }
.order-timeline li:not(.done) { color: #9ca3af; }
@media (max-width: 575.98px) {
    .order-timeline { flex-direction: column; gap: 12px; }
    .order-timeline::before { left: 9px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
    .order-timeline li { text-align: left; padding-left: 30px; }
    .order-timeline .dot { position: absolute; left: 0; top: 0; margin: 0; }
}


/* =====================================================================
   6. WhatsApp button & enquiry
   ===================================================================== */
/* Floating WhatsApp button + WhatsApp buttons */
.whatsapp-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 1050;
    width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
    box-shadow: 0 6px 18px rgba(0,0,0,.2); text-decoration: none;
}
.whatsapp-float:hover { color: #fff; filter: brightness(.95); }
.btn-whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5b; border-color: #1ebe5b; color: #fff; }


/* =====================================================================
   7. Royal theme (fonts, gold accents, arch headers)
   ===================================================================== */
/* =========================================================
   Royal theme — Indian heritage look for the store
   Colours follow Settings > Logo & Colors:
     --store-primary   deep brown  (Sukra #2f1409)
     --store-secondary millet green (Sukra #6b8e3d)
   Fixed accent: --gold (thin lines, ornaments, hover only)
   Fonts: Rozha One (headings) + Mukta (text)
   ========================================================= */
:root {
    /* --gold comes from Admin > Settings > Logo & Colors (Highlight color).
       The soft shades below are mixed from it, so a new brand needs no CSS change. */
    --gold: #b8892f;
    --gold-soft: color-mix(in srgb, var(--gold) 37%, #fff);
    --ivory: color-mix(in srgb, var(--gold) 8%, #fff);
    --ink: color-mix(in srgb, var(--store-primary) 25%, #222);
    --ink-soft: color-mix(in srgb, var(--ink) 70%, #fff);
    --line: color-mix(in srgb, var(--gold) 25%, #fff);
    --font-display: 'Rozha One', Georgia, 'Times New Roman', serif;
    --font-text: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body { font-family: var(--font-text); color: var(--ink); font-size: 1.02rem; line-height: 1.6; }
h1, h2, h3, .h1, .h2, .h3, .section-title, .page-hero-title, .display-5 { font-family: var(--font-display); font-weight: 400; letter-spacing: .2px; color: var(--store-primary); }
h4, h5, h6, .h4, .h5, .h6 { font-family: var(--font-text); font-weight: 700; color: var(--ink); }
a { color: var(--store-primary); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
::selection { background: var(--gold-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 6px; }
.btn-store { background: var(--store-primary); border-color: var(--store-primary); box-shadow: inset 0 -2px 0 rgba(0,0,0,.18); }
.btn-store:hover, .btn-store:focus { background: var(--store-primary); border-color: var(--gold); color: #fff; filter: none; box-shadow: inset 0 -2px 0 var(--gold); }
.btn-outline-store { border-width: 1.5px; }
.btn-outline-store:hover { border-color: var(--store-primary); }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--gold) 18%, transparent); }

/* ---------- Header ---------- */
.top-notice { background: var(--store-primary); color: var(--gold-soft); letter-spacing: .2px; border-bottom: 1px solid var(--gold); }
.navbar-brand .brand-text, #mobileMenu .brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.navbar-brand .brand-name, #mobileMenu .brand-name { font-family: var(--font-display); font-size: 1.55rem; color: var(--store-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.navbar-brand .brand-tagline, #mobileMenu .brand-tagline { font-size: .72rem; color: var(--gold); letter-spacing: .3px; margin-top: 3px; }
@media (max-width: 575.98px) {
    .navbar-brand .brand-name, #mobileMenu .brand-name { font-size: 1.2rem; max-width: 46vw; }
    .navbar-brand .site-logo { max-height: 38px; }
}
#mobileMenu .brand-name { font-size: 1.3rem; max-width: 200px; }
#mobileMenu .min-w-0 { min-width: 0; }
.site-header { border-bottom: 1px solid var(--line) !important; box-shadow: 0 1px 0 color-mix(in srgb, var(--gold) 25%, transparent); }
.site-search .form-control { border-color: var(--line); background: var(--ivory); }
.site-menu .nav-link { color: var(--ink); font-weight: 600; position: relative; }
.site-menu .nav-link::after { content: ''; position: absolute; left: 1rem; right: 1rem; bottom: .35rem; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s ease; }
.site-menu .nav-link:hover, .site-menu .nav-link.active { color: var(--store-primary); }
.site-menu .nav-link:hover::after, .site-menu .nav-link.active::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .site-menu .nav-link::after { transition: none; } }

/* ---------- Section titles with a small gold ornament ---------- */
.section-title { font-size: 1.85rem; line-height: 1.2; margin-bottom: 1.25rem; }
.section-title::after { content: ''; display: block; width: 72px; height: 10px; margin-top: .45rem;
    background: radial-gradient(circle at 50% 50%, var(--gold) 0 3px, transparent 3.5px), linear-gradient(var(--gold), var(--gold)) 0 50%/100% 1px no-repeat; }
.section-title.text-center::after { margin-left: auto; margin-right: auto; }
.d-flex > .section-title::after { margin-bottom: 0; }

/* ---------- Home hero (shown when no slider image) ---------- */
.home-hero { background: var(--store-primary); color: var(--gold-soft); position: relative; overflow: hidden; }
.home-hero::before { content: ''; position: absolute; inset: 18px; border: 1px solid color-mix(in srgb, var(--gold-soft) 45%, transparent); border-radius: 220px 220px 8px 8px; pointer-events: none; }
.home-hero h1 { color: #fff; }
.home-hero .lead { color: var(--gold-soft); opacity: 1 !important; }
.home-hero .btn-store { background: var(--gold); border-color: var(--gold); color: var(--store-primary); }
.home-slider .carousel-item img { max-height: 560px; object-fit: cover; }

/* ---------- Page hero: the jharokha arch ---------- */
.page-hero { background: var(--store-primary); padding: 2.75rem 0 0; margin-bottom: 2.5rem; position: relative; }
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px;
    background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 14px); opacity: .9; }
.page-hero-arch { max-width: 760px; margin: 0 auto; text-align: center; padding: 2.4rem 1.5rem 2rem;
    border: 1px solid color-mix(in srgb, var(--gold-soft) 55%, transparent); border-bottom: 0; border-radius: 380px 380px 0 0; position: relative; }
.page-hero-arch::before { content: ''; position: absolute; inset: 10px 10px 0; border: 1px solid color-mix(in srgb, var(--gold-soft) 25%, transparent); border-bottom: 0; border-radius: 370px 370px 0 0; pointer-events: none; }
.page-hero-title { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3rem); margin: 0 0 .35rem; line-height: 1.15; }
.page-hero-text { color: var(--gold-soft); margin: 0 auto .9rem; max-width: 46ch; }
.page-hero-crumbs { --bs-breadcrumb-divider-color: var(--gold-soft); }
.page-hero-crumbs a { color: var(--gold-soft); text-decoration: none; }
.page-hero-crumbs a:hover { color: #fff; }
.page-hero-crumbs .active { color: rgba(255,255,255,.7); }
@media (max-width: 575.98px) {
    .page-hero { padding-top: 1.5rem; margin-bottom: 1.75rem; }
    .page-hero-arch { border-radius: 160px 160px 0 0; padding: 2rem 1rem 1.5rem; }
    .page-hero-arch::before { border-radius: 150px 150px 0 0; }
}

/* ---------- About & policy pages ---------- */
.cms-wrap { padding-bottom: 3rem; }
.cms-page { max-width: 72ch; }
.cms-content { font-size: 1.06rem; line-height: 1.75; }
.cms-content .lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink); padding-left: 1rem; border-left: 3px solid var(--gold); margin-bottom: 1.75rem; }
.cms-content h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; color: var(--store-primary); margin: 2rem 0 .6rem; scroll-margin-top: 120px; }
.cms-content ul { padding-left: 0; list-style: none; }
.cms-content ul li { position: relative; padding-left: 1.4rem; margin-bottom: .45rem; }
.cms-content ul li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.cms-content a { font-weight: 600; }
.cms-updated { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .92rem; }
.cms-toc { position: sticky; top: 140px; border-left: 2px solid var(--line); padding-left: 1rem; font-size: .95rem; }
.cms-toc-title { font-weight: 700; color: var(--ink-soft); margin-bottom: .5rem; }
.cms-toc li { margin-bottom: .35rem; }
.cms-toc a { color: var(--ink-soft); text-decoration: none; }
.cms-toc a:hover { color: var(--store-primary); }
.cms-related { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.cms-related a { border: 1px solid var(--line); border-radius: 999px; padding: .3rem .9rem; font-size: .92rem; text-decoration: none; color: var(--ink); background: #fff; }
.cms-related a:hover { border-color: var(--gold); color: var(--store-primary); }

/* ---------- FAQ ---------- */
.faq-group { font-family: var(--font-display); font-size: 1.35rem; color: var(--store-primary); margin: 2rem 0 .75rem; }
.faq-list .accordion-item { border-color: var(--line); }
.faq-list .accordion-button { font-weight: 600; color: var(--ink); }
.faq-list .accordion-button:not(.collapsed) { background: var(--ivory); color: var(--store-primary); box-shadow: inset 3px 0 0 var(--gold); }
.faq-list .accordion-button:focus { box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--gold) 20%, transparent); }
.faq-more { margin-top: 2rem; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-card { border: 1px solid var(--line); border-top: 3px solid var(--gold); background: var(--ivory); }
.contact-card h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--store-primary); }

/* ---------- Product cards ---------- */
.product-card { border: 1px solid var(--line) !important; box-shadow: none !important; border-radius: 10px; }
.product-card:hover { border-color: var(--gold) !important; transform: none; box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--store-primary) 45%, transparent) !important; }
.product-card-title { font-weight: 600; color: var(--ink) !important; }
.product-card .fw-semibold { color: var(--store-primary); font-size: 1.05rem; }
.category-tile .ratio { box-shadow: 0 0 0 1px var(--line), 0 0 0 4px #fff, 0 0 0 5px var(--gold-soft); }
.category-tile:hover .ratio { box-shadow: 0 0 0 1px var(--gold), 0 0 0 4px #fff, 0 0 0 5px var(--gold); }
.why-us .bg-light { background: var(--ivory) !important; border: 1px solid var(--line); }

/* ---------- Product page ---------- */
.price-box [data-price] { font-family: var(--font-display); font-weight: 400 !important; color: var(--store-primary); }
.product-highlights li::marker { color: var(--gold); }

/* ---------- Generic cards on account / cart / checkout ---------- */
.site-main .card.shadow-sm { box-shadow: none !important; border: 1px solid var(--line) !important; }
.account-nav .list-group-item.active { box-shadow: inset 3px 0 0 var(--gold); }
.breadcrumb a { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--store-primary); color: rgba(255,255,255,.82); position: relative; border-top: 0; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px;
    background: repeating-conic-gradient(from 45deg, var(--gold) 0 25%, transparent 0 50%) 0 0/12px 12px, var(--store-primary); opacity: .95; }
.site-footer h5 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; color: #fff; }
.site-footer h6 { color: var(--gold-soft); letter-spacing: .3px; }
.site-footer a:hover { color: var(--gold-soft) !important; opacity: 1 !important; }
.site-footer .btn-store { background: var(--gold); border-color: var(--gold); color: var(--store-primary); }
.site-footer .form-control { background: rgba(255,255,255,.08); border-color: color-mix(in srgb, var(--gold-soft) 35%, transparent); color: #fff; }
.site-footer .form-control::placeholder { color: rgba(255,255,255,.55); }
.site-footer > .border-top { border-color: color-mix(in srgb, var(--gold-soft) 25%, transparent) !important; }
.home-hero .home-hero-logo { background: var(--ivory); border-radius: 50%; padding: 14px; box-shadow: 0 0 0 1px var(--gold), 0 0 0 6px var(--store-primary), 0 0 0 7px color-mix(in srgb, var(--gold-soft) 50%, transparent); }
.page-hero .page-hero-crumbs a { color: var(--gold-soft); }
.page-hero .page-hero-crumbs a:hover { color: #fff; }

/* Product page tabs */
.nav-tabs { border-bottom-color: var(--line); }
.nav-tabs .nav-link { color: var(--ink-soft); font-weight: 600; border: 0; border-bottom: 2px solid transparent; }
.nav-tabs .nav-link:hover { color: var(--store-primary); border-bottom-color: var(--gold-soft); }
.nav-tabs .nav-link.active { color: var(--store-primary); background: transparent; border-bottom-color: var(--gold); }
.nav-pills .nav-link { color: var(--ink); }
.nav-pills .nav-link.active { background: var(--store-primary); color: #fff; }


/* =====================================================================
   8. Small screens
   ===================================================================== */
/* Small screen tweaks */
@media (max-width: 575.98px) {
    .section-title { font-size: 1.15rem; }
    .product-card .card-body { padding: .6rem !important; }
    .product-card-title { font-size: .85rem; }
    .whatsapp-float { width: 50px; height: 50px; font-size: 1.6rem; right: 12px; bottom: 12px; }
}

/* keep the last footer line clear of the floating WhatsApp button on phones */
@media (max-width: 767.98px) {
    .site-footer > .border-top { padding-bottom: 72px; }
}

/* Testimonials: customer photo (or first letter) with a thin gold ring */
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--gold, #b8892f); }
.testimonial-initial { display: inline-flex; align-items: center; justify-content: center; background: var(--ivory, #faf6ee);
    color: var(--store-primary); font-family: var(--font-display, serif); font-size: 1.3rem; }

/* 9. Utilities — fixed sizes used in page markup (instead of style="...")
   mw = max-width, wpx = width, minw = min-width, hpx = height, mhpx = max-height (px) */
.mw-200 { max-width: 200px; }
.mw-420 { max-width: 420px; }
.mw-520 { max-width: 520px; }
.mw-560 { max-width: 560px; }
.mw-600 { max-width: 600px; }
.mw-640 { max-width: 640px; }
.mw-720 { max-width: 720px; }
.mw-760 { max-width: 760px; }
.mw-860 { max-width: 860px; }
.mw-900 { max-width: 900px; }
.mw-1100 { max-width: 1100px; }
.wpx-1-5em { width: 1.5em; }
.wpx-36 { width: 36px; }
.wpx-44 { width: 44px; }
.wpx-70 { width: 70px; }
.wpx-90 { width: 90px; }
.wpx-100 { width: 100px; }
.wpx-110 { width: 110px; }
.wpx-120 { width: 120px; }
.wpx-130 { width: 130px; }
.wpx-140 { width: 140px; }
.wpx-150 { width: 150px; }
.wpx-180 { width: 180px; }
.wpx-200 { width: 200px; }
.wpx-320 { width: 320px; }
.minw-90 { min-width: 90px; }
.minw-100 { min-width: 100px; }
.minw-110 { min-width: 110px; }
.minw-120 { min-width: 120px; }
.hpx-8 { height: 8px; }
.hpx-14 { height: 14px; }
.hpx-18 { height: 18px; }
.hpx-44 { height: 44px; }
.hpx-50 { height: 50px; }
.hpx-60 { height: 60px; }
.hpx-70 { height: 70px; }
.mhpx-56 { max-height: 56px; }
.mhpx-60 { max-height: 60px; }
.mhpx-64 { max-height: 64px; }
.mhpx-110 { max-height: 110px; }
.mhpx-240 { max-height: 240px; }
.mhpx-340 { max-height: 340px; }
.cursor-pointer { cursor: pointer; }
.ratio-square { aspect-ratio: 1; }
.text-pre-wrap { white-space: pre-wrap; }
.z-1050 { z-index: 1050; }
