/* ─────────────────────────────────────────────────────────────
   Storefront theme — black & gold
   Shared by _Layout, the homepage and _StoreProductCard.
   ───────────────────────────────────────────────────────────── */
:root {
    --ink:        #111111;
    --ink-2:      #1f1f1f;
    --gold:       #c8a14a;   /* on dark backgrounds / as fill */
    --gold-dark:  #8a6a1f;   /* gold text on white (AA contrast) */
    --gold-soft:  #f7f1e3;
    --sale:       #d62839;
    --line:       #e8e8e8;
    --muted:      #6b6b6b;
    --bg-soft:    #f6f6f4;

    /* legacy aliases — older views still reference these */
    --pink:  var(--ink);
    --pink2: var(--gold);
    --dark:  var(--ink);
    --gray:  var(--muted);
    --light: var(--bg-soft);
}

* { box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background: #fff; color: #222; overflow-x: hidden; margin: 0; }
a { color: inherit; }

/* ── Top bar ─────────────────────────────────── */
.sf-topbar { background: var(--ink); color: #cfcfcf; font-size: .78rem; }
.sf-topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.sf-topbar a { color: #cfcfcf; text-decoration: none; transition: color .2s; }
.sf-topbar a:hover { color: var(--gold); }
.sf-topbar .sf-social a { margin-left: 14px; font-size: .9rem; }
.sf-topbar .sep { opacity: .35; margin: 0 10px; }

/* ── Main header row ─────────────────────────── */
.sf-header { background: #fff; border-bottom: 1px solid var(--line); }
.sf-header .container { display: flex; align-items: center; gap: 28px; padding-top: 18px; padding-bottom: 18px; }
.sf-logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; }
.sf-logo-name { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 700; color: var(--ink); letter-spacing: .5px; }
.sf-logo-name span { color: var(--gold); }
.sf-logo-tag { font-size: .62rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-dark); margin-top: 4px; }

.sf-search { flex: 1; display: flex; border: 2px solid var(--ink); border-radius: 4px; overflow: hidden; max-width: 720px; }
.sf-search select { border: none; background: var(--bg-soft); padding: 0 12px; font-size: .82rem; color: #333; border-right: 1px solid var(--line); outline: none; max-width: 150px; }
.sf-search select.sf-search-brand { max-width: 170px; }
.sf-search input { flex: 1; border: none; padding: 11px 14px; font-size: .9rem; outline: none; min-width: 0; }
.sf-search button { border: none; background: var(--ink); color: var(--gold); padding: 0 22px; font-size: 1rem; cursor: pointer; transition: background .2s; }
.sf-search button:hover { background: var(--ink-2); }

.sf-actions { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.sf-action { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); background: none; border: none; padding: 0; cursor: pointer; position: relative; font-family: inherit; }
.sf-action > i { font-size: 1.35rem; }
.sf-action-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.sf-action-text small { font-size: .7rem; color: var(--muted); }
.sf-action-text strong { font-size: .84rem; font-weight: 600; }
.sf-action:hover > i, .sf-action:hover strong { color: var(--gold-dark); }
.sf-count {
    position: absolute; top: -7px; left: 14px;
    background: var(--gold); color: var(--ink);
    min-width: 18px; height: 18px; border-radius: 9px; padding: 0 5px;
    font-size: .66rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.sf-account .dropdown-toggle::after { display: none; }

/* ── Category nav bar ────────────────────────── */
.sf-nav { background: var(--ink); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.sf-nav .navbar { padding: 0; }
.sf-nav .nav-link {
    color: #eee !important; font-size: .8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
    padding: 14px 16px !important; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.sf-nav .nav-link:hover, .sf-nav .nav-link.show { color: var(--gold) !important; border-bottom-color: var(--gold); }
.sf-nav .nav-link.sf-offer { color: var(--gold) !important; }
.sf-nav .dropdown-menu { border: none; border-radius: 0 0 6px 6px; border-top: 2px solid var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,.12); margin-top: 0; padding: 8px 0; }
.sf-nav .dropdown-item { font-size: .86rem; padding: 7px 20px; }
.sf-nav .dropdown-item:hover { background: var(--gold-soft); color: var(--ink); }
/* Brands mega menu */
.sf-nav .sf-mega { padding: 18px 8px 0; min-width: 620px; }
.sf-mega-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 10px; }
.sf-mega-col .dropdown-item { padding: 5px 12px; font-size: .84rem; }
.sf-mega-head { display: block; padding: 4px 12px 8px; font-size: .74rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-dark); text-decoration: none; }
.sf-mega-head:hover { color: var(--ink); }
.sf-mega-more { color: var(--muted) !important; font-size: .78rem !important; }
.sf-mega-all { font-weight: 600; }
.sf-mega-foot { border-top: 1px solid var(--line); margin-top: 12px; padding: 10px 12px; }
.sf-mega-foot a { font-size: .78rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.sf-mega-foot a:hover { color: var(--gold-dark); }
@media (min-width: 992px) and (max-width: 1199.98px) {
    .sf-nav .nav-link { padding: 14px 9px !important; font-size: .74rem; letter-spacing: .5px; }
}
@media (max-width: 991.98px) {
    .sf-nav .sf-mega { min-width: 0; }
}

.sf-nav-toggler { background: none; border: none; color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 12px 0; }
.sf-nav-toggler i { color: var(--gold); margin-right: 8px; }

/* ── Flash messages ──────────────────────────── */
.sf-flash { border-radius: 4px; }

/* ── Cart / wishlist sidebars ────────────────── */
.cart-sidebar {
    position: fixed; top: 0; right: -420px; width: 400px; height: 100vh; background: #fff;
    box-shadow: -4px 0 30px rgba(0,0,0,.15); transition: right .35s cubic-bezier(.4,0,.2,1);
    z-index: 1060; display: flex; flex-direction: column;
}
.cart-sidebar.open { right: 0; }
.cart-head { background: var(--ink); color: #fff; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--gold); }
.cart-head h5 { margin: 0; font-weight: 600; font-size: 1rem; letter-spacing: .5px; }
.cart-head h5 i { color: var(--gold); }
.cart-body { flex: 1; padding: 16px; overflow-y: auto; background: var(--bg-soft); }
.cart-item { display: flex; align-items: center; background: #fff; border-radius: 6px; padding: 12px; margin-bottom: 10px; border: 1px solid var(--line); }
.cart-item-title { font-weight: 600; font-size: .85rem; color: #222; margin-bottom: 3px; }
.cart-item-price { color: var(--ink); font-weight: 700; font-size: .9rem; }
.qty-btn { width: 26px; height: 26px; border: 1px solid #ccc; background: #fff; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-weight: 700; font-size: .85rem; transition: all .2s; }
.qty-btn:hover { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.remove-btn { color: var(--sale); cursor: pointer; padding: 4px; border-radius: 4px; }
.remove-btn:hover { background: rgba(214,40,57,.1); }
.cart-foot { padding: 20px; border-top: 1px solid var(--line); background: #fff; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; }
.btn-checkout {
    background: var(--ink); color: #fff; border: none; padding: 14px; border-radius: 4px; font-weight: 600;
    font-size: .9rem; width: 100%; letter-spacing: 1px; text-transform: uppercase; transition: background .2s, color .2s;
}
.btn-checkout:hover:not(:disabled) { background: var(--gold); color: var(--ink); }
.btn-checkout:disabled { opacity: .45; cursor: not-allowed; }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1050; opacity: 0; visibility: hidden; transition: all .3s; }
.overlay.show { opacity: 1; visibility: visible; }
.empty-bag { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty-bag i { font-size: 3.5rem; margin-bottom: 16px; opacity: .35; }

/* ── Toast ───────────────────────────────────── */
.cart-toast {
    position: fixed; top: 90px; right: 20px; z-index: 1070; min-width: 280px; max-width: 350px;
    border-radius: 6px; padding: 14px 18px; box-shadow: 0 8px 24px rgba(0,0,0,.15);
    animation: sfSlideIn .3s ease; font-size: .88rem; font-weight: 500;
}
@keyframes sfSlideIn { from { transform: translateX(100%); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── Service strip (above footer) ────────────── */
.sf-services { background: var(--bg-soft); border-top: 1px solid var(--line); }
.sf-service { display: flex; align-items: center; gap: 14px; padding: 26px 0; }
.sf-service i { font-size: 1.7rem; color: var(--gold-dark); width: 36px; text-align: center; }
.sf-service strong { display: block; font-size: .9rem; color: var(--ink); }
.sf-service small { color: var(--muted); font-size: .78rem; }

/* ── Footer ──────────────────────────────────── */
.sf-footer { background: var(--ink); color: #bdbdbd; padding: 56px 0 0; font-size: .87rem; }
.sf-footer .sf-logo-name { color: #fff; }
.sf-footer-heading { color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; }
.sf-footer-heading::after { content: ""; display: block; width: 28px; height: 2px; background: var(--gold); margin-top: 8px; }
.sf-footer a.sf-flink { display: block; color: #bdbdbd; text-decoration: none; margin-bottom: 9px; transition: color .2s; }
.sf-footer a.sf-flink:hover { color: var(--gold); }
.sf-footer .sf-contact { margin-bottom: 10px; display: flex; gap: 10px; }
.sf-footer .sf-contact i { color: var(--gold); margin-top: 3px; width: 14px; }
.sf-footer .social-btn {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid #444; display: inline-flex; align-items: center; justify-content: center;
    color: #ddd; text-decoration: none; margin-right: 8px; transition: all .2s;
}
.sf-footer .social-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.sf-newsletter { display: flex; max-width: 300px; }
.sf-newsletter input { flex: 1; background: #1c1c1c; border: 1px solid #3a3a3a; color: #fff; padding: 9px 12px; font-size: .85rem; outline: none; border-radius: 4px 0 0 4px; min-width: 0; }
.sf-newsletter button { background: var(--gold); color: var(--ink); border: none; padding: 0 16px; border-radius: 0 4px 4px 0; font-weight: 600; }
.sf-footer-bottom { border-top: 1px solid #2c2c2c; margin-top: 44px; padding: 18px 0; font-size: .8rem; color: #8a8a8a; }
.sf-footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.sf-pay { display: flex; flex-wrap: wrap; gap: 6px; }
.sf-pay span { background: #fff; color: #222; font-size: .68rem; font-weight: 700; padding: 4px 9px; border-radius: 3px; }

/* ── Homepage sections ───────────────────────── */
.sf-section { padding: 48px 0; }
.sf-section.alt { background: var(--bg-soft); }
.sf-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.sf-section-title { font-size: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ink); margin: 0; padding-bottom: 12px; border-bottom: 3px solid var(--gold); margin-bottom: -2px; }
.sf-section-title i { color: var(--gold); margin-right: 8px; }
.sf-viewall { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--ink); text-decoration: none; padding-bottom: 12px; white-space: nowrap; }
.sf-viewall:hover { color: var(--gold-dark); }

/* Hero carousel */
.sf-hero .carousel-item { height: 460px; }
.sf-slide { height: 100%; display: flex; align-items: center; position: relative; overflow: hidden; }
.sf-slide-1 { background: radial-gradient(circle at 80% 40%, #3a2f17 0%, #111 55%); }
.sf-slide-2 { background: radial-gradient(circle at 20% 60%, #2b2b2b 0%, #0b0b0b 60%); }
.sf-slide-3 { background: linear-gradient(120deg, #f7f1e3 0%, #efe2c2 100%); }
.sf-slide .container { position: relative; z-index: 2; }
.sf-slide-kicker { color: var(--gold); font-size: .78rem; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 14px; }
.sf-slide h2 { font-family: 'Playfair Display', serif; font-size: 3.2rem; line-height: 1.12; color: #fff; margin-bottom: 16px; font-weight: 700; }
.sf-slide p { color: #bdbdbd; font-size: 1.05rem; max-width: 460px; margin-bottom: 26px; }
.sf-slide-3 .sf-slide-kicker { color: var(--gold-dark); }
.sf-slide-3 h2 { color: var(--ink); }
.sf-slide-3 p { color: #555; }
.sf-slide-art { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); display: grid; grid-template-columns: repeat(2, 170px); gap: 16px; z-index: 1; }
.sf-slide-art img { width: 170px; height: 170px; object-fit: cover; border-radius: 6px; border: 3px solid rgba(200,161,74,.5); background: #fff; }
.sf-btn { display: inline-block; padding: 13px 34px; font-size: .82rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; border-radius: 3px; transition: all .2s; border: 2px solid transparent; }
.sf-btn-gold { background: var(--gold); color: var(--ink); }
.sf-btn-gold:hover { background: #fff; color: var(--ink); }
.sf-btn-dark { background: var(--ink); color: #fff; }
.sf-btn-dark:hover { background: var(--gold); color: var(--ink); }
.sf-hero .carousel-indicators [data-bs-target] { width: 28px; height: 3px; background: var(--gold); }

/* Category tiles */
.sf-cat { display: block; text-align: center; text-decoration: none; color: var(--ink); }
.sf-cat-circle {
    width: 100%; aspect-ratio: 1; max-width: 130px; margin: 0 auto 12px; border-radius: 50%;
    background: var(--gold-soft); border: 1px solid #eadfc4; display: flex; align-items: center; justify-content: center;
    transition: all .25s;
}
.sf-cat-circle i { font-size: 2.1rem; color: var(--gold-dark); transition: color .25s; }
.sf-cat:hover .sf-cat-circle { background: var(--ink); border-color: var(--ink); }
.sf-cat:hover .sf-cat-circle i { color: var(--gold); }
.sf-cat span { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* Promo banners */
.sf-promo { display: flex; flex-direction: column; justify-content: center; min-height: 190px; padding: 30px 34px; border-radius: 6px; text-decoration: none; position: relative; overflow: hidden; transition: transform .25s; }
.sf-promo:hover { transform: translateY(-3px); }
.sf-promo small { font-size: .72rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; }
.sf-promo h3 { font-family: 'Playfair Display', serif; font-size: 1.7rem; margin: 6px 0 12px; }
.sf-promo em { font-style: normal; font-size: .78rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border-bottom: 2px solid currentColor; align-self: flex-start; }
.sf-promo-dark { background: var(--ink); color: #fff; }
.sf-promo-dark small, .sf-promo-dark em { color: var(--gold); }
.sf-promo-gold { background: var(--gold); color: var(--ink); }
.sf-promo-light { background: var(--gold-soft); color: var(--ink); border: 1px solid #eadfc4; }
.sf-promo-light small { color: var(--gold-dark); }
.sf-promo > i { position: absolute; right: 24px; bottom: 16px; font-size: 5rem; opacity: .12; }

/* Brands */
.sf-brand {
    display: flex; align-items: center; justify-content: center; height: 76px; padding: 10px; text-align: center;
    background: #fff; border: 1px solid var(--line); border-radius: 4px; text-decoration: none;
    font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1rem; color: #444; transition: all .2s;
}
.sf-brand:hover { border-color: var(--gold); color: var(--ink); box-shadow: 0 4px 14px rgba(0,0,0,.06); }

.sf-brand-tall { flex-direction: column; gap: 4px; height: 92px; }
.sf-brand-tall small { font-family: 'Poppins', sans-serif; font-weight: 500; font-size: .7rem; color: var(--muted); }

/* Origin tabs (Korean / Japanese / French …) */
.sf-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-pill {
    border: 1px solid var(--line); background: #fff; color: #444; border-radius: 20px; padding: 7px 16px;
    font-size: .8rem; font-weight: 600; transition: all .2s;
}
.sf-pill span { color: var(--muted); font-weight: 500; margin-left: 4px; }
.sf-pill:hover { border-color: var(--ink); color: var(--ink); }
.sf-pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.sf-pill.active span { color: var(--gold); }

.sf-empty { text-align: center; padding: 36px 0; color: var(--muted); }

/* ── Product card ────────────────────────────── */
.sp-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow .25s, border-color .25s; }
.sp-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.08); border-color: #ddd; }
.sp-img-wrap { position: relative; aspect-ratio: 1; background: #fafafa; overflow: hidden; }
.sp-img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .4s; }
.sp-card:hover .sp-img { transform: scale(1.05); }
.sp-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #ccc; }
.sp-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; z-index: 2; }
.sp-badges span { color: #fff; font-size: .68rem; font-weight: 600; padding: 3px 9px; border-radius: 2px; letter-spacing: .3px; }
.sp-sale { background: var(--sale); }
.sp-new { background: var(--ink); color: var(--gold) !important; text-transform: uppercase; }
.sp-expiring { background: #b86e00; }
.sp-expired { background: #6c757d; text-transform: uppercase; }
.sp-admin { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: .76rem; }
.sp-admin a { text-decoration: none; color: var(--muted); font-weight: 600; }
.sp-admin a:hover { color: var(--ink); }
.sp-wish { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: none; background: #fff; color: #333; box-shadow: 0 2px 6px rgba(0,0,0,.1); transition: all .2s; }
.sp-wish:hover { background: var(--ink); color: var(--gold); }
.sp-quick {
    position: absolute; left: 0; right: 0; bottom: -40px; background: rgba(17,17,17,.9); color: #fff; text-align: center;
    font-size: .74rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 10px; text-decoration: none; transition: bottom .25s;
}
.sp-quick:hover { color: var(--gold); }
.sp-card:hover .sp-quick { bottom: 0; }
.sp-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.sp-brand { font-size: .7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold-dark); text-decoration: none; font-weight: 600; margin-bottom: 3px; }
.sp-title {
    font-size: .86rem; color: #222; text-decoration: none; line-height: 1.35; min-height: 2.7em; margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sp-title:hover { color: var(--gold-dark); }
.sp-rating { font-size: .7rem; color: #e0a800; margin-bottom: 6px; }
.sp-rating span { color: var(--muted); margin-left: 3px; }
.sp-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; margin-bottom: 10px; }
.sp-price span { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.sp-price del { font-size: .82rem; color: #999; }
.sp-add {
    width: 100%; background: #fff; color: var(--ink); border: 1px solid var(--ink); border-radius: 3px; padding: 8px;
    font-size: .76rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; transition: all .2s;
}
.sp-add:hover { background: var(--ink); color: var(--gold); }

/* ── Page title bar + breadcrumb ─────────────── */
.sf-pagebar { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 22px 0; }
.sf-pagebar h1 { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.sf-crumbs { font-size: .78rem; color: var(--muted); margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.sf-crumbs li + li::before { content: "/"; margin-right: 6px; color: #bbb; }
.sf-crumbs a { color: var(--muted); text-decoration: none; }
.sf-crumbs a:hover { color: var(--gold-dark); }
.sf-crumbs li:last-child { color: var(--ink); max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Shop (product listing) ──────────────────── */
.sf-shop { padding: 32px 0 56px; }
.sf-filter-box { border: 1px solid var(--line); border-radius: 4px; margin-bottom: 20px; background: #fff; }
.sf-filter-box h6 { font-size: .78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin: 0; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--ink); }
.sf-filter-list { list-style: none; margin: 0; padding: 8px 0; max-height: 320px; overflow-y: auto; }
.sf-filter-list a { display: flex; justify-content: space-between; align-items: center; padding: 7px 16px; font-size: .86rem; color: #444; text-decoration: none; transition: background .15s, color .15s; }
.sf-filter-list a:hover { background: var(--bg-soft); color: var(--ink); }
.sf-filter-list a.active { color: var(--ink); font-weight: 600; background: var(--gold-soft); box-shadow: inset 3px 0 0 var(--gold); }
.sf-filter-list a i { font-size: .7rem; color: #bbb; }
.sf-filter-list .sf-filter-group { padding: 10px 16px 4px; font-size: .7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-dark); }
.sf-filter-more { display: block; padding: 10px 16px; border-top: 1px solid var(--line); font-size: .78rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.sf-filter-more:hover { color: var(--gold-dark); }
.sf-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 4px; margin-bottom: 20px; background: #fff; }
.sf-toolbar .count { font-size: .85rem; color: var(--muted); }
.sf-toolbar .count strong { color: var(--ink); }
.sf-toolbar select { border: 1px solid var(--line); border-radius: 3px; padding: 6px 10px; font-size: .84rem; outline: none; background: #fff; }
.sf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sf-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; font-size: .76rem; padding: 5px 12px; border-radius: 20px; text-decoration: none; }
.sf-chip i { color: var(--gold); }
.sf-chip:hover { color: var(--gold); }
.sf-chip-clear { background: none; color: var(--muted); text-decoration: underline; padding: 5px 4px; }
.sf-fab {
    position: fixed; bottom: 24px; left: 24px; width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: var(--gold) !important;
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: 0 4px 16px rgba(0,0,0,.3); text-decoration: none; z-index: 1000;
}

/* ── Product details ─────────────────────────── */
.pd-wrap { padding: 32px 0 56px; }
.pd-gallery { position: relative; border: 1px solid var(--line); border-radius: 4px; background: #fff; overflow: hidden; }
.pd-gallery img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 20px; transition: transform .35s; cursor: zoom-in; }
.pd-gallery:hover img { transform: scale(1.35); }
.pd-gallery-empty { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; color: #ccc; background: var(--bg-soft); }
.pd-gallery .sp-badges { top: 16px; left: 16px; }
.pd-gallery .sp-badges span { font-size: .78rem; padding: 4px 12px; }
.pd-brand { font-size: .78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dark); text-decoration: none; }
.pd-title { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 700; color: var(--ink); margin: 6px 0 10px; line-height: 1.25; }
.pd-rating { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); margin-bottom: 16px; }
.pd-rating .stars { color: #e0a800; font-size: .85rem; }
.pd-rating a { color: var(--muted); }
.pd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.pd-price .now { font-size: 2rem; font-weight: 700; color: var(--ink); }
.pd-price del { font-size: 1.1rem; color: #999; }
.pd-price .save { background: var(--sale); color: #fff; font-size: .74rem; font-weight: 600; padding: 3px 10px; border-radius: 2px; }
.pd-short { color: #555; font-size: .92rem; line-height: 1.75; margin-bottom: 20px; }
.pd-buy { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.pd-qty { display: flex; border: 1px solid #ccc; border-radius: 3px; height: 48px; }
.pd-qty button { width: 40px; border: none; background: #fff; font-size: 1rem; color: #333; }
.pd-qty button:hover { background: var(--bg-soft); }
.pd-qty input { width: 48px; border: none; border-left: 1px solid #eee; border-right: 1px solid #eee; text-align: center; font-weight: 600; outline: none; -moz-appearance: textfield; }
.pd-qty input::-webkit-outer-spin-button, .pd-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-btn { height: 48px; padding: 0 28px; border-radius: 3px; font-size: .8rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; border: 1px solid var(--ink); transition: all .2s; }
.pd-btn-cart { background: var(--ink); color: #fff; flex: 1; min-width: 170px; }
.pd-btn-cart:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.pd-btn-buy { background: var(--gold); border-color: var(--gold); color: var(--ink); flex: 1; min-width: 150px; }
.pd-btn-buy:hover { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.pd-btn-wish { width: 48px; padding: 0; background: #fff; color: var(--ink); }
.pd-btn-wish:hover { background: var(--ink); color: var(--gold); }
.pd-meta { font-size: .84rem; color: var(--muted); margin-bottom: 20px; }
.pd-meta div { margin-bottom: 4px; }
.pd-meta strong { color: var(--ink); font-weight: 600; margin-right: 4px; }
.pd-meta a { color: var(--gold-dark); text-decoration: none; }
.pd-perks { border: 1px solid var(--line); border-radius: 4px; }
.pd-perk { display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-size: .84rem; color: #444; }
.pd-perk + .pd-perk { border-top: 1px solid var(--line); }
.pd-perk i { color: var(--gold-dark); width: 18px; text-align: center; }
.pd-perk a { color: inherit; }
.pd-admin { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; gap: 8px; }

.pd-tabs { margin-top: 48px; border-bottom: 1px solid var(--line); display: flex; gap: 4px; overflow-x: auto; }
.pd-tabs .nav-link {
    border: none; border-bottom: 3px solid transparent; border-radius: 0; background: none; color: var(--muted) !important;
    font-size: .82rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 12px 18px; white-space: nowrap;
}
.pd-tabs .nav-link.active { color: var(--ink) !important; border-bottom-color: var(--gold); }
.pd-tab-body { padding: 26px 0; }
.pd-desc { color: #444; line-height: 1.85; font-size: .95rem; white-space: pre-line; }
.specs-table { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.specs-row { display: flex; padding: 11px 16px; font-size: .88rem; }
.specs-row + .specs-row { border-top: 1px solid var(--line); }
.specs-row:nth-child(even) { background: var(--bg-soft); }
.specs-label { width: 35%; font-weight: 600; color: var(--ink); flex-shrink: 0; }
.specs-value { color: #444; }

.rv-summary { border: 1px solid var(--line); border-radius: 4px; padding: 22px; margin-bottom: 20px; }
.rv-score { font-size: 3.2rem; font-weight: 700; line-height: 1; color: var(--ink); }
.rv-bar { height: 6px; background: #eee; border-radius: 3px; overflow: hidden; flex: 1; }
.rv-bar span { display: block; height: 100%; background: var(--gold); }
.rv-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.rv-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.rv-verified { background: #e7f5ec; color: #1d7a43; font-size: .68rem; font-weight: 600; padding: 2px 8px; border-radius: 2px; margin-left: 6px; }
.rv-form { border: 1px solid var(--line); border-radius: 4px; padding: 24px; margin-bottom: 24px; background: var(--bg-soft); }
.sf-outline-btn { background: #fff; border: 1px solid var(--ink); color: var(--ink); border-radius: 3px; font-size: .78rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 8px 16px; }
.sf-outline-btn:hover { background: var(--ink); color: var(--gold); }
.sf-solid-btn { background: var(--ink); border: 1px solid var(--ink); color: #fff; border-radius: 3px; font-size: .8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 10px 22px; }
.sf-solid-btn:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.sf-solid-btn:disabled { opacity: .45; }

/* ── Checkout ────────────────────────────────── */
.co-steps { display: flex; justify-content: center; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.co-steps li { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #aaa; }
.co-steps li + li::before { content: ""; width: 60px; height: 1px; background: #ccc; margin: 0 14px; }
.co-steps .num { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #ccc; display: flex; align-items: center; justify-content: center; font-size: .75rem; }
.co-steps li.done { color: var(--ink); }
.co-steps li.done .num { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.co-steps li.current { color: var(--ink); }
.co-steps li.current .num { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.form-control:focus, .form-select:focus { border-color: var(--ink); box-shadow: 0 0 0 .2rem rgba(200,161,74,.25); }

/* ── Utility ─────────────────────────────────── */
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 991.98px) {
    .sf-header .container { flex-wrap: wrap; gap: 14px; }
    .sf-search { order: 3; flex-basis: 100%; max-width: none; }
    .sf-actions { margin-left: auto; gap: 16px; }
    .sf-action-text { display: none; }
    .sf-nav .nav-link { padding: 10px 0 !important; border-bottom: 1px solid #2a2a2a; }
    .sf-slide-art { display: none; }
    .pd-gallery:hover img { transform: none; }
}
@media (max-width: 767.98px) {
    .sf-topbar { display: none; }
    .sf-logo-name { font-size: 1.5rem; }
    .sf-search select { display: none; }
    .sf-hero .carousel-item { height: 340px; }
    .sf-slide h2 { font-size: 2rem; }
    .sf-slide p { font-size: .92rem; }
    .sf-section { padding: 34px 0; }
    .sf-section-title { font-size: 1rem; letter-spacing: 1px; }
    .cart-sidebar { width: 100%; right: -100%; }
    .sf-service { padding: 16px 0; }
    .sf-pagebar h1, .pd-title { font-size: 1.45rem; }
    .co-steps li .label { display: none; }
    .co-steps li + li::before { width: 36px; }
}
