/* ============================================================
   Bia's Wardrobe — Main Stylesheet
   Theme: Off-White + Sage Green | Mobile-first
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Dancing+Script:wght@500;600;700&family=Jost:wght@300;400;500&family=Playfair+Display:wght@500;600;700&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --sage:        #6B8F6E;
  --sage-dk:     #3D5E40;
  --sage-lt:     #C2D4C3;
  --sage-pale:   #EBF1EB;
  --off:         #F8F7F4;
  --white:       #FFFFFF;
  --ink:         #1A1C19;
  --muted:       #7A7974;
  --border:      rgba(107,143,110,0.2);
  --border-dark: rgba(26,28,25,0.08);
  --red:         #B85C5C;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Jost', system-ui, sans-serif;
  --radius:      0px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06);
  --shadow:      0 4px 16px rgba(0,0,0,0.08);
  --transition:  0.2s ease;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); background: var(--off); color: var(--ink); line-height: 1.6; font-weight: 300; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Utilities ────────────────────────────────────────────── */
.container    { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.sr-only      { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-center  { text-align: center; }
.text-sage    { color: var(--sage); }
.text-sage-dk { color: var(--sage-dk); }
.text-muted   { color: var(--muted); }
.serif        { font-family: var(--font-serif); }
.italic       { font-style: italic; }
.mt-4         { margin-top: 1rem; }
.mb-4         { margin-bottom: 1rem; }
.d-flex       { display: flex; }
.align-center { align-items: center; }
.gap-2        { gap: 0.5rem; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; font-family: var(--font-sans); font-size: 11px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; border: none; transition: all var(--transition); }
.btn-primary  { background: var(--sage-dk); color: var(--white); }
.btn-primary:hover { background: var(--ink); }
.btn-outline  { background: transparent; color: var(--ink); border: 1px solid rgba(26,28,25,0.22); }
.btn-outline:hover { background: var(--sage-pale); border-color: var(--sage); }
.btn-sage     { background: var(--sage); color: white; }
.btn-sage:hover { background: var(--sage-dk); }
.btn-ghost    { background: transparent; color: var(--sage-dk); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--sage-pale); }
.btn-block    { width: 100%; }
.btn-sm       { padding: 9px 18px; font-size: 10px; }
.btn-lg       { padding: 16px 36px; font-size: 12px; }

/* ── Forms ────────────────────────────────────────────────── */
.form-group   { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-label   { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.form-control { border: 1px solid var(--border); padding: 11px 14px; font-family: var(--font-sans); font-size: 13px; color: var(--ink); background: var(--white); outline: none; width: 100%; transition: border-color var(--transition); }
.form-control:focus { border-color: var(--sage); }
.form-control::placeholder { color: rgba(122,121,116,0.5); }
.form-error   { font-size: 11px; color: var(--red); margin-top: 3px; }
.form-success { font-size: 11px; color: var(--sage-dk); margin-top: 3px; }

/* ── Section Layout ───────────────────────────────────────── */
.section      { padding: 60px 0; }
.section-sm   { padding: 40px 0; }
.section-lg   { padding: 80px 0; }
.section-header       { text-align: center; margin-bottom: 40px; }
.section-eyebrow      { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage); margin-bottom: 10px; }
.section-title        { font-family: var(--font-serif); font-size: clamp(26px, 4vw, 36px); font-weight: 300; color: var(--ink); }
.section-title em     { font-style: italic; color: var(--sage); }

/* ── Ticker ───────────────────────────────────────────────── */
.ticker-bar   { background: var(--sage-dk); overflow: hidden; white-space: nowrap; padding: 10px 0; }
.ticker-inner { display: inline-flex; animation: ticker-scroll 30s linear infinite; }
.ticker-inner span { padding: 0 40px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.88); }
.ticker-inner em  { color: var(--sage-lt); font-style: normal; }
@keyframes ticker-scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── Navigation ───────────────────────────────────────────── */
.navbar       { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 96px; padding: 0 32px; background: var(--white); border-bottom: 1px solid var(--border-dark); position: sticky; top: 0; z-index: 500; }
.nav-links    { display: flex; gap: 24px; list-style: none; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.nav-links a  { transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--sage-dk); }
.nav-links a.active { border-bottom: 1.5px solid var(--sage); padding-bottom: 2px; }
.nav-logo     { text-align: center; }
.nav-logo-link { display: inline-flex; flex-direction: row; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-img { height: 76px; width: auto; display: block; }
.nav-logo-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.nav-logo-brand { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 1.5rem; color: var(--sage-dk); letter-spacing: .01em; line-height: 1.05; white-space: nowrap; }
.nav-logo-tagline { font-family: 'Dancing Script', cursive; font-size: 1.15rem; font-weight: 600; color: var(--sage); line-height: 1; margin-top: 2px; }
.nav-actions  { display: flex; gap: 20px; align-items: center; justify-content: flex-end; }
.nav-actions a { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 5px; transition: color var(--transition); }
.nav-actions a:hover { color: var(--sage-dk); }
.nav-actions i { font-size: 18px; }
.cart-badge   { position: relative; }
.cart-badge__count { position: absolute; top: -6px; right: -6px; background: var(--sage); color: white; width: 16px; height: 16px; border-radius: 50%; font-size: 9px; display: flex; align-items: center; justify-content: center; font-weight: 500; }
/* Mobile menu toggle */
.nav-hamburger { display: none; background: none; border: none; font-size: 24px; color: var(--ink); }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb   { background: var(--white); padding: 12px 32px; border-bottom: 1px solid var(--border-dark); font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { transition: color var(--transition); }
.breadcrumb a:hover { color: var(--sage-dk); }
.breadcrumb i { font-size: 11px; }

/* ── Loader ───────────────────────────────────────────────── */
#page-loader  { position: fixed; inset: 0; background: var(--white); z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; transition: opacity 0.5s ease, visibility 0.5s ease; }
#page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo-wrap { position: relative; width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; }
.loader-logo-wrap img { width: 90px; height: 90px; object-fit: contain; animation: loader-pulse 1.8s ease-in-out infinite; }
.loader-ring  { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--sage-lt); border-top-color: var(--sage); animation: spin 1.1s linear infinite; }
@keyframes spin         { to { transform: rotate(360deg); } }
@keyframes loader-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.75;transform:scale(0.96)} }
.loader-dots  { display: flex; gap: 6px; }
.loader-dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--sage-lt); animation: dot-bounce 1.2s ease-in-out infinite; }
.loader-dots span:nth-child(1){animation-delay:0s;background:var(--sage);}
.loader-dots span:nth-child(2){animation-delay:0.2s;}
.loader-dots span:nth-child(3){animation-delay:0.4s;}
@keyframes dot-bounce   { 0%,80%,100%{transform:scale(0.8);opacity:0.5} 40%{transform:scale(1.2);opacity:1} }

/* ── Product Cards ────────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card  { background: var(--white); position: relative; transition: transform var(--transition); }
.product-card:hover { transform: translateY(-4px); }
.product-card:hover .product-card__actions { opacity: 1; }
.product-card:hover .product-card__wishlist { opacity: 1; }
.product-card__img-wrap { aspect-ratio: 3/4; overflow: hidden; background: var(--sage-pale); position: relative; }
.product-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.product-card:hover .product-card__img-wrap img { transform: scale(1.05); }
.product-card__badge { position: absolute; top: 10px; left: 10px; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; color: white; z-index: 2; }
.badge-new    { background: var(--sage); }
.badge-sale   { background: var(--sage-dk); }
.badge-hot    { background: var(--red); }
.product-card__wishlist { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; background: white; border: none; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--transition); z-index: 2; }
.product-card__wishlist i { font-size: 15px; color: var(--ink); }
.product-card__wishlist:hover i { color: var(--red); }
.product-card__actions { position: absolute; bottom: 0; left: 0; right: 0; opacity: 0; transition: opacity var(--transition); z-index: 2; }
.btn-add-to-cart { width: 100%; background: var(--ink); color: white; border: none; padding: 11px 0; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; transition: background var(--transition); }
.btn-add-to-cart:hover { background: var(--sage-dk); }
.product-card__quick-actions { display: flex; background: white; border-top: 1px solid var(--border-dark); }
.quick-act-btn { flex: 1; border: none; background: white; padding: 9px 0; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--border-dark); transition: background var(--transition); }
.quick-act-btn:last-child { border-right: none; }
.quick-act-btn:hover { background: var(--sage-pale); }
.quick-act-btn i { font-size: 14px; color: var(--ink); }
.product-card__info { padding: 12px 13px 14px; }
.product-card__cat  { font-size: 10px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.product-card__name { font-family: var(--font-serif); font-size: 15px; font-weight: 400; color: var(--ink); line-height: 1.3; margin-bottom: 6px; }
.product-card__price { display: flex; align-items: center; gap: 8px; }
.price-current { font-size: 14px; font-weight: 500; color: var(--ink); }
.price-sale    { color: var(--sage-dk); }
.price-original { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.product-card__colors { display: flex; gap: 5px; margin-top: 8px; }
.color-swatch  { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(26,28,25,0.12); cursor: pointer; }
.product-card__rating { display: flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 10px; color: var(--sage); }
.stock-alert   { font-size: 10px; color: var(--red); margin-top: 4px; }

/* ── Footer ───────────────────────────────────────────────── */
.footer       { background: #111310; color: rgba(255,255,255,0.55); padding: 48px 0 24px; }
.footer-grid  { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand img { height: 48px; filter: brightness(0) invert(1); opacity: 0.72; margin-bottom: 14px; }
.footer-brand { display: flex; flex-direction: column; margin-bottom: 14px; }
.footer-brand-name { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 1.6rem; color: #fff; line-height: 1.1; }
.footer-brand-tagline { font-family: 'Dancing Script', cursive; font-weight: 600; font-size: 1.25rem; color: var(--sage-lt); margin-top: 2px; }
.footer-desc  { font-size: 12px; line-height: 1.85; margin-bottom: 16px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { font-size: 18px; color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-social a:hover { color: var(--sage-lt); }
.footer-col-title { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { font-size: 12px; padding: 4px 0; }
.footer-links a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.payment-badges { display: flex; gap: 8px; }
.pay-badge    { background: rgba(255,255,255,0.07); padding: 4px 10px; font-size: 10px; color: rgba(255,255,255,0.42); }

/* ── WhatsApp Sticky ──────────────────────────────────────── */
.wa-sticky    { position: fixed; bottom: 24px; right: 24px; z-index: 999; }
.wa-sticky a  { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; background: #25D366; border-radius: 50%; box-shadow: 0 4px 12px rgba(37,211,102,0.35); transition: transform var(--transition); }
.wa-sticky a:hover { transform: scale(1.1); }
.wa-sticky i  { font-size: 26px; color: white; }
.scroll-top   { position: fixed; bottom: 86px; right: 24px; z-index: 999; width: 40px; height: 40px; background: var(--sage-dk); border: none; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all var(--transition); }
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top i { font-size: 18px; color: white; }

/* ── Trust Strip ──────────────────────────────────────────── */
.trust-strip  { background: var(--sage-dk); padding: 36px 0; }
.trust-strip .trust-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-strip .trust-item  { display: flex; flex-direction: row; align-items: center; gap: 14px; justify-content: center; text-align: left; padding: 0; border: none; }
.trust-icon { width: 48px; height: 48px; background: rgba(255,255,255,.14); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.35rem; flex-shrink: 0; }
.trust-text strong { display: block; font-size: .92rem; color: #fff; white-space: nowrap; }
.trust-text span   { font-size: .78rem; color: rgba(255,255,255,.7); white-space: nowrap; }

/* ── Flash Messages ───────────────────────────────────────── */
.alert        { padding: 12px 16px; font-size: 13px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.alert-success { background: var(--sage-pale); color: var(--sage-dk); border-left: 3px solid var(--sage); }
.alert-error   { background: #FBE8E8; color: #8B2C2C; border-left: 3px solid var(--red); }
.alert-info    { background: #E8F0F8; color: #2C4E8B; border-left: 3px solid #4A7AB5; }

/* ── Cookie Consent ───────────────────────────────────────── */
.cookie-bar   { position: fixed; bottom: 0; left: 0; right: 0; background: var(--ink); color: rgba(255,255,255,0.85); padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; z-index: 9998; font-size: 13px; }
.cookie-bar.hidden { display: none; }
.cookie-bar__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept { background: var(--sage); color: white; border: none; padding: 9px 20px; font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .navbar        { padding: 0 14px; grid-template-columns: auto 1fr auto; height: 72px; }
  .nav-links     { display: none; }
  /* Mobile dropdown menu */
  .nav-links.nav-links--open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-dark);
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
    padding: 8px 0;
    z-index: 600;
    text-transform: none;
    font-size: 15px;
    letter-spacing: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav-links.nav-links--open li { width: 100%; }
  .nav-links.nav-links--open a {
    display: block;
    padding: 14px 22px;
    color: var(--ink);
    border-bottom: 1px solid #f3f1ec;
  }
  .nav-links.nav-links--open a.active { border-bottom: 1px solid #f3f1ec; color: var(--sage-dk); }
  .nav-hamburger { display: block; }
  .nav-logo-img  { height: 48px; }
  .nav-logo-brand { font-size: 1.05rem; }
  .nav-logo-tagline { font-size: .85rem; }
  .nav-logo-link { gap: 8px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-strip .trust-items { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .trust-text strong, .trust-text span { white-space: normal; }
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section       { padding: 40px 0; }
  .breadcrumb    { padding: 10px 16px; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .section-title { font-size: 22px; }
  .nav-logo-brand { font-size: .95rem; }
  .nav-logo-img  { height: 42px; }
}

/* ============================================================
   Product Card (home / shop / account) — matches product-card.php
   ============================================================ */
.product-card { background: var(--white); border-radius: 14px; overflow: hidden; position: relative; transition: transform .25s ease, box-shadow .25s ease; box-shadow: 0 1px 6px rgba(0,0,0,.05); }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.10); }
.product-card-img-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--sage-pale); }
.product-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s ease, transform .6s ease; }
.product-img-hover { opacity: 0; }
.product-card:hover .product-img-hover { opacity: 1; }
.product-card:hover .product-img-main { opacity: 0; }

/* Badges */
.product-badge { position: absolute; top: 12px; left: 12px; z-index: 3; font-size: .7rem; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 50px; color: #fff; }
.badge-sale { background: #c0563f; }
.badge-new  { background: var(--sage); }

/* Action buttons (heart / eye / cart) */
.product-card-actions { position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateX(8px); transition: all .3s ease; }
.product-card:hover .product-card-actions { opacity: 1; transform: translateX(0); }
.product-action-btn { width: 38px; height: 38px; border-radius: 50%; border: none; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: all .2s ease; font-size: 1.05rem; text-decoration: none; }
.product-action-btn:hover { background: var(--sage-dk); color: #fff; transform: scale(1.08); }
.product-action-btn.active { background: #c0563f; color: #fff; }

/* Card info */
.product-card-info { padding: 16px 16px 18px; }
.product-card-cat { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.product-card-name { font-family: 'Playfair Display', var(--font-serif); font-size: 1rem; font-weight: 600; line-height: 1.35; margin-bottom: 8px; }
.product-card-name a { color: var(--ink); transition: color .2s ease; }
.product-card-name a:hover { color: var(--sage-dk); }
.product-card-rating { display: flex; align-items: center; gap: 5px; margin-bottom: 8px; }
.product-card-price { display: flex; align-items: center; gap: 10px; }
.product-card-price .price-current { font-size: 1.05rem; font-weight: 700; color: var(--sage-dk); }
.product-card-price .price-original { font-size: .9rem; color: var(--muted); text-decoration: line-through; }
.product-card-colors { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.color-dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,.1); cursor: pointer; }

/* Section header (home sections) */
.section-tag { display: inline-block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); font-weight: 600; margin-bottom: 10px; }
.section-title { font-family: 'Playfair Display', var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.section-subtitle { color: var(--muted); font-size: .95rem; max-width: 520px; margin: 0 auto; }
.section-header { text-align: center; }

/* ============================================================
   Toast notifications (BW.showToast)
   ============================================================ */
.bw-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--ink, #1A1C19);
    color: #fff;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 500;
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
    z-index: 9999;
    opacity: 0;
    transition: opacity .3s ease, transform .3s ease;
    max-width: 90vw;
    text-align: center;
}
.bw-toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.bw-toast--success { background: var(--sage-dk, #3D5E40); }
.bw-toast--error   { background: #c0392b; }

/* ============================================================
   Sold Out ribbon + state
   ============================================================ */
.sold-out-ribbon {
    position: absolute;
    top: 14px;
    left: -34px;
    background: #c0392b;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 5px 40px;
    transform: rotate(-45deg);
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
    z-index: 4;
}
.product-card.is-soldout .product-card-img { filter: grayscale(.5) opacity(.75); }
.product-card.is-soldout .product-card-name a { color: #888; }

/* Detail page sold-out banner */
.detail-soldout-banner {
    background: #fdecea;
    border: 1px solid #f5c6c0;
    color: #c0392b;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
}
.btn-soldout {
    background: #d1d1d1 !important;
    color: #777 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}
