/* ============================================================================
   Storefront chrome — shared layout shell:
   • shop-layout base (reset, container, btn, flash, page)
   • announcement bar (top rotating notices)
   • header (logo, search, cart, account icons + slide-in menu drawer)
   • footer (dark info bar with columns + social)
   • mobile bottom-nav bar
   Loaded by shop-layout.blade.php + design-head-base.blade.php so both
   shop-layout pages and Pancake-export pages share the same chrome.
   ============================================================================ */


/* ---- 1) shop-layout base ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { color: #13273F; background: #fff; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-block; background: #13273F; color: #F4F0EA; padding: 13px 28px; border: 1px solid #13273F;
    font-weight: 400; text-transform: uppercase; font-size: 13px; letter-spacing: .5px; cursor: pointer; }
.btn:hover { background: #fff; color: #13273F; }
.btn-outline { background: #fff; color: #13273F; }
.btn-outline:hover { background: #13273F; color: #F4F0EA; }
.btn-block { display: block; width: 100%; text-align: center; }
.flash { padding: 12px 16px; margin: 16px 0; border-radius: 4px; font-size: 14px; }
.flash-success { background: #e6f7ed; color: #1a7f43; }
.flash-error { background: #fdeaea; color: #c0392b; }
.page { min-height: 60vh; padding: 32px 0; }


/* ---- 2) Announcement bar (rotating notices) ---- */
.ann-bar { background: #13273F; height: 36px; position: relative; overflow: hidden; grid-column: 1 / -1; width: 100%; }
.ann-bar__rotator { position: relative; height: 100%; }
.ann-bar__item { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 16px; color: #fff; font-size: 12px; font-weight: 400; letter-spacing: .13em; text-transform: uppercase; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.ann-bar__item.is-active { opacity: 1; visibility: visible; }


/* ---- 3) Header (sticky logo + icons + slide-in drawer) ---- */
.sf-header { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid #ececec; }
.sf-header *, .sf-menu-panel * { box-sizing: border-box; }
.sf-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.sf-menu-toggle, .sf-search-toggle { position: absolute; opacity: 0; pointer-events: none; }

/* bar: empty-left · centered logo · right icons (full-width — icons go all
   the way to the viewport's right edge, not just to the 1280px container). */
.sf-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 110px; gap: 12px; }
.sf-bar.sf-container { max-width: none; padding: 0 32px; }
.sf-logo { grid-column: 2; justify-self: center; font-size: clamp(22px, 3vw, 34px); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: #13273F; text-decoration: none; white-space: nowrap; display: flex; align-items: center; }
.sf-logo img { max-height: 100px; width: auto; display: block; background: transparent; }

.sf-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 26px; }
.sf-act { display: inline-flex; align-items: center; gap: 8px; color: #13273F; cursor: pointer; background: none; border: 0; text-decoration: none; position: relative; font-family: inherit; transition: color .15s ease; }
.sf-act:hover { color: #b0894f; }
.sf-act svg { width: 30px; height: 30px; stroke-width: 1.6; }
.sf-act .sf-badge { position: absolute; top: -7px; right: -10px; min-width: 20px; height: 20px; padding: 0 6px; background: #13273F; color: #F4F0EA; border-radius: 999px; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; box-sizing: border-box; }
.sf-menu-label { font-size: 15px; font-weight: 400; text-transform: lowercase; letter-spacing: .02em; }

/* search drop bar (toggled by the magnifier) */
.sf-searchbar { max-height: 0; overflow: hidden; border-top: 0 solid #eee; transition: max-height .25s ease; }
.sf-search-toggle:checked ~ .sf-header .sf-searchbar { max-height: 80px; border-top: 1px solid #eee; }
.sf-searchbar form { max-width: 680px; margin: 0 auto; display: flex; padding: 14px 24px; }
.sf-searchbar input { flex: 1; border: 1px solid #ddd; border-right: 0; border-radius: 999px 0 0 999px; padding: 11px 18px; font-size: 14px; font-family: inherit; outline: none; }
.sf-searchbar button { border: 1px solid #13273F; background: #13273F; color: #F4F0EA; border-radius: 0 999px 999px 0; padding: 0 22px; cursor: pointer; font-size: 15px; }

/* ---- Slide-in menu drawer (refined, on-brand) ---- */
.sf-menu-overlay { position: fixed; inset: 0; background: rgba(20,18,14,.5); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; z-index: 1100; backdrop-filter: blur(2px); }
.sf-menu-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; z-index: 1101; transform: translateX(100%); transition: transform .4s cubic-bezier(.22,.61,.36,1); display: flex; flex-direction: column; box-shadow: -10px 0 40px -10px rgba(20,18,14,.18); pointer-events: none; }
.sf-menu-toggle:checked ~ .sf-menu-overlay { opacity: 1; visibility: visible; }
.sf-menu-toggle:checked ~ .sf-menu-panel { transform: translateX(0); pointer-events: auto; }

/* Header bar (inside drawer) */
.sf-menu-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px 18px; }
.sf-menu-head span { font-size: 10.5px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; color: #b0894f; }
.sf-menu-close { background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: #8a8378; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background .15s, color .15s; }
.sf-menu-close:hover { background: #faf8f5; color: #13273F; }

/* Nav list (display:block overrides theme's nav{display:flex}) */
.sf-menu-nav { display: block; overflow-y: auto; padding: 10px 0 20px; flex: 1; }
.sf-menu-nav a, .sf-menu-cat > summary { position: relative; display: flex; align-items: center; padding: 14px 26px; font-size: 14.5px; font-weight: 500; letter-spacing: .005em; color: #2a2520; text-decoration: none; transition: color .2s ease, background .2s ease, padding-left .25s ease; }
.sf-menu-nav a::before, .sf-menu-cat > summary::before { content: ''; position: absolute; left: 0; top: 50%; width: 3px; height: 0; background: #b0894f; transform: translateY(-50%); transition: height .25s ease; }
.sf-menu-nav a:hover, .sf-menu-cat > summary:hover { color: #13273F; background: linear-gradient(90deg, #faf8f5 0%, transparent 80%); padding-left: 30px; }
.sf-menu-nav a:hover::before, .sf-menu-cat > summary:hover::before { height: 22px; }

/* "Sản phẩm" collapsible group */
.sf-menu-cat > summary { list-style: none; cursor: pointer; justify-content: space-between; }
.sf-menu-cat > summary::-webkit-details-marker { display: none; }
.sf-menu-cat > summary::after { content: '\2304'; font-size: 1em; color: #b0894f; opacity: .7; transition: transform .25s ease, opacity .15s ease; margin-left: 8px; }
.sf-menu-cat[open] > summary { color: #13273F; padding-left: 30px; }
.sf-menu-cat[open] > summary::before { height: 22px; }
.sf-menu-cat[open] > summary::after { transform: rotate(180deg); opacity: 1; }
.sf-menu-cat__list { display: flex; flex-direction: column; padding: 6px 0 10px; background: linear-gradient(180deg, #faf8f5 0%, rgba(250,248,245,.5) 100%); border-top: 1px solid rgba(176,137,79,.12); border-bottom: 1px solid rgba(176,137,79,.12); }
.sf-menu-cat__list a { position: relative; padding: 12px 26px 12px 46px !important; font-weight: 500 !important; color: #3a352d !important; font-size: 14px !important; letter-spacing: 0 !important; transition: color .2s ease, padding-left .25s ease, background .2s ease; }
.sf-menu-cat__list a::before { content: ''; display: block !important; position: absolute; left: 30px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: #d5cdbe; transform: translateY(-50%); transition: background .2s ease, width .2s ease; }
.sf-menu-cat__list a:hover { color: #b0894f !important; background: rgba(255,255,255,.55) !important; padding-left: 50px !important; }
.sf-menu-cat__list a:hover::before { background: #b0894f; width: 7px; height: 7px; }

/* Contact footer inside the drawer */
.sf-menu-contact { padding: 20px 26px 24px; border-top: 1px solid #ece7de; background: linear-gradient(180deg, #fff 0%, #faf8f5 100%); }
.sf-menu-contact__label { display: block; font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: #b0894f; font-weight: 400; margin-bottom: 12px; }
.sf-menu-contact__hotline { display: flex; align-items: center; gap: 10px; color: #13273F; text-decoration: none; font-weight: 400; font-size: 17px; margin-bottom: 14px; transition: color .15s ease; }
.sf-menu-contact__hotline:hover { color: #b0894f; }
.sf-menu-contact__hotline svg { width: 18px; height: 18px; color: #b0894f; flex: none; }
.sf-menu-contact__social { display: flex; gap: 10px; }
.sf-menu-contact__social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid #ece7de; color: #13273F; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.sf-menu-contact__social a:hover { background: #b0894f; border-color: #b0894f; color: #fff; transform: translateY(-2px); }
.sf-menu-contact__social a svg { width: 18px; height: 18px; }

@media (max-width: 700px) {
  .sf-bar { height: 88px; }
  .sf-bar.sf-container { padding: 0 16px; }
  .sf-logo img { max-height: 68px; }
  .sf-actions { gap: 16px; }
  .sf-menu-label { display: none; }
}

/* ---- 4) Mobile bottom nav bar (≤768px only) ---- */
.sf-bottombar { display: none; }
@media (max-width: 768px) {
  .sf-bottombar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid #ece7de; box-shadow: 0 -6px 18px -10px rgba(20,18,14,.18); z-index: 1050; padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
  .sf-bb-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 4px 2px; color: #6a645a; text-decoration: none; font-size: 10.5px; font-weight: 400; letter-spacing: .01em; transition: color .15s ease; }
  .sf-bb-item svg { width: 22px; height: 22px; stroke-width: 1.7; transition: transform .15s ease; }
  .sf-bb-item:hover, .sf-bb-item:active { color: #b0894f; }
  .sf-bb-item.is-active { color: #13273F; }
  .sf-bb-item.is-active::before { content: ''; position: absolute; top: -7px; left: 50%; transform: translateX(-50%); width: 22px; height: 3px; border-radius: 2px; background: #b0894f; }
  .sf-bb-item.is-active svg { transform: translateY(-1px); }
  .sf-bb-badge { position: absolute; top: 0; right: calc(50% - 18px); min-width: 16px; height: 16px; padding: 0 4px; background: #13273F; color: #F4F0EA; border-radius: 999px; font-size: 9.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 1.5px solid #fff; box-sizing: border-box; }
  body { padding-bottom: 64px; }
}


/* ---- 5) Footer (dark info bar with columns + social) ---- */
.sf-footer { background: #13273F; color: #b9b9b9; padding: 48px 0 0; font-size: var(--text-sm); margin-top: 60px; }
.sf-footer * { box-sizing: border-box; }
.sf-footer .sf-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.sf-footer a { color: #b9b9b9; text-decoration: none; }
.sf-footer a:hover { color: #fff; }
.sf-foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.sf-footer h4 { color: #fff; } /* size/family controlled by typography scale below */
.sf-footer p { margin: 0 0 9px; line-height: 1.6; }
.sf-foot-brand .sf-fb-logo { font-size: 20px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 12px; display: inline-block; }
.sf-foot-brand .sf-fb-logo img { max-height: 40px; width: auto; }
.sf-foot-brand .sf-about { max-width: 300px; color: #9a9a9a; }
.sf-contact-line { display: flex; gap: 8px; align-items: flex-start; }
.sf-contact-line .ic { flex: 0 0 16px; opacity: .8; }
.sf-social { display: flex; gap: 10px; margin-top: 14px; }
.sf-social a { width: 34px; height: 34px; border: 1px solid #444; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #ddd; }
.sf-social a:hover { background: #fff; color: #13273F; border-color: #fff; }
.sf-social svg { width: 17px; height: 17px; }
.sf-foot-bottom { border-top: 1px solid #2a2a2a; margin-top: 40px; padding: 18px 0; text-align: center; color: #888; font-size: 12px; }
@media (max-width: 860px) {
  .sf-foot-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  .sf-foot-cols { grid-template-columns: 1fr; }
}

/* ============================================================================
   Floating support widget — bottom-right FAB + channel fan
   ============================================================================
   - FAB anchored to bottom-right of viewport
   - Hover (desktop) OR click (mobile/touch) → channels fan upward
   - Mobile bottom-bar (.sf-bottombar) is 64px tall; FAB lifts above it.
*/
/* .sf-support box is intentionally LARGER than the FAB so the mouse can
   travel from the FAB to any fanned-out icon without leaving the :hover
   region (which would otherwise snap the fan shut mid-move).
   The FAB itself anchors to the bottom-right corner of this larger box;
   the rest of the box is transparent. */
/* Logical wrapper only — no visual footprint. The FAB and the card
   are each position:fixed and own their layout; .sf-support just
   groups them so the click handler can detect "click outside the
   widget" via .contains(e.target). */
.sf-support {
  position: fixed;
  right: 0; bottom: 0;
  width: 0; height: 0;
  z-index: 99000;
  pointer-events: none;
}

.sf-support-fab {
  /* Fixed directly to the viewport — bypasses any parent that might
     create a containing block (overflow, contain, etc.). z-index sits
     above the .sf-support hit-area wrapper. */
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  top: auto !important;
  left: auto !important;
  z-index: 99001;
  width: 56px; height: 56px;
  border: 0; border-radius: 50%;
  background: #b0894f; color: #fff; cursor: pointer;
  pointer-events: auto;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25), 0 0 0 6px rgba(176,137,79,.18);
  transition: transform .2s ease, background .2s ease;
  position: relative;
  animation: sf-support-pulse 2.4s ease-out infinite;
}
.sf-support-fab:hover { background: #95723e; transform: scale(1.06); }
.sf-support-fab svg { width: 26px; height: 26px; }
.sf-support-fab .sf-support-fab-close { display: none; }
.sf-support.is-open .sf-support-fab {
  background: #13273F;
  animation: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.sf-support.is-open .sf-support-fab-icon { display: none; }
.sf-support.is-open .sf-support-fab-close { display: inline-block; }

@keyframes sf-support-pulse {
  0%   { box-shadow: 0 6px 18px rgba(0,0,0,.25), 0 0 0 0 rgba(176,137,79,.45); }
  60%  { box-shadow: 0 6px 18px rgba(0,0,0,.25), 0 0 0 18px rgba(176,137,79,0); }
  100% { box-shadow: 0 6px 18px rgba(0,0,0,.25), 0 0 0 0 rgba(176,137,79,0); }
}

/* Mobile FAB position — placed AFTER the base .sf-support-fab rule so
   source order wins the !important cascade tie. Stays on bottom-RIGHT
   (user preference) but lifts above the mobile bottom-bar (.sf-bottombar
   is ≈ 64px tall) + the 30px corner inset = 94px. */
@media (max-width: 800px) {
  .sf-support-fab {
    bottom: 94px !important;
  }
}

/* ============================================================
   Contact card — slide-up panel listing every channel as a row
   (icon · label · caption · chevron). Replaces the old fan UI.
   ============================================================ */
.sf-card {
  position: fixed;
  right: 30px;
  bottom: 96px;                        /* sits ~10px above the 56px FAB (bottom:30 + 56 = 86) */
  width: 300px;
  max-width: calc(100vw - 60px);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .35),
              0 4px 12px rgba(0, 0, 0, .08);
  z-index: 99001;
  pointer-events: none;
  visibility: hidden;                  /* defensive: nothing inside is interactive when closed */
  opacity: 0;
  transform: translateY(14px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .25s ease, visibility .25s, transform .3s cubic-bezier(.22, .61, .36, 1);
}
.sf-support.is-open .sf-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.sf-card-head {
  background: #13273F;
  color: #F4F0EA;
  padding: 16px 18px;
}
.sf-card-title {
  font-size: 13px; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase;
}
.sf-card-sub {
  font-size: 11.5px; color: rgba(244, 240, 234, .7);
  margin-top: 3px; letter-spacing: .01em;
}

.sf-card-list {
  list-style: none; margin: 0; padding: 0;
  max-height: 60vh; overflow-y: auto;
}
.sf-card-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid #f0ece4;
  color: #13273F;
  text-decoration: none;
  transition: background .15s ease, padding-left .2s ease;
  touch-action: manipulation;      /* remove the 300ms tap delay on mobile */
  cursor: pointer;                  /* iOS needs this for reliable :active on <a> */
  -webkit-tap-highlight-color: rgba(19, 39, 63, .08);
  /* pointer-events inherited from parent .sf-card — none when closed,
     auto when .sf-support.is-open. Don't force it here, otherwise rows
     would stay clickable even when the card is hidden. */
}
.sf-card-list li:last-child .sf-card-row { border-bottom: 0; }
.sf-card-row:hover {
  background: #faf8f5;
  padding-left: 22px;
}
.sf-card-ic {
  flex-shrink: 0;
  width: 34px; height: 34px;
  background: #13273F; color: #F4F0EA;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.sf-card-ic svg { width: 16px; height: 16px; fill: currentColor; }
.sf-card-text { flex: 1; min-width: 0; }
.sf-card-text b {
  display: block;
  font-size: 13.5px; font-weight: 400;
  color: #13273F; line-height: 1.3;
}
.sf-card-text span {
  display: block;
  font-size: 11.5px; color: #888;
  margin-top: 2px; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sf-card-arr {
  flex-shrink: 0;
  color: #c8c2b8; font-size: 22px; font-weight: 300;
  transition: color .15s ease, transform .15s ease;
}
.sf-card-row:hover .sf-card-arr {
  color: #13273F; transform: translateX(3px);
}

@media (max-width: 800px) {
  /* Mobile: FAB sits at bottom:94, so card lifts to just above it
     (94 + 56 = 150) + ~10px gap = bottom:160. Stays anchored bottom-right. */
  .sf-card {
    bottom: 160px;
  }
}

/* ============================================================================
   Typography system — Fear of God-inspired pairing
   ============================================================================
   Heading face: Cormorant Garamond (free Optima-alternative — luxury serif)
   Body face:    Barlow Condensed (free Helvetica Neue LT Pro Cn-alternative)

   SCALE (calibrated for Cormorant/Barlow's narrow strokes — equivalent to
   Helvetica 11px-30px). Stick to these tokens; don't hardcode px below.

     --text-xs   13px   badges, breadcrumb, tooltip, fine print
     --text-sm   15px   sidebar items, blog excerpts, footer body, metadata
     --text-base 17px   default body / paragraph / accordion / button
     --text-md   19px   product names, blog post titles
     --text-lg   22px   product card price, h4–h6
     --text-xl   28px   product-detail price, h2–h3, section titles
     --text-2xl  34px   h1 / hero titles
*/
:root {
  /* Montserrat — geometric sans-serif with proper Vietnamese diacritics
     support. Loaded from Google Fonts in <head> (design-head-base +
     shop-layout). Both heading + body share the family, only weights
     differ — the .x-* / typography rules below pick weights per role. */
  --font-heading: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --text-xs:   13px;
  --text-sm:   15px;
  --text-base: 17px;
  --text-md:   19px;
  --text-lg:   22px;
  --text-xl:   28px;
  --text-2xl:  34px;
}

/* ---- Font family — body face everywhere, icon glyphs preserved ---- */
html, body { font-size: var(--text-base); line-height: 1.6; }

body, body * {
  font-family: var(--font-body) !important;
  letter-spacing: 0.01em;
}

i, .bx, [class^="bx-"], [class*=" bx-"],
.fa, .fas, .far, .fab, .fal, [class^="fa-"], [class*=" fa-"],
.material-icons, .material-symbols-outlined, .material-symbols-rounded,
.iconify, svg, svg * {
  font-family: revert !important;
  letter-spacing: normal !important;
}

/* ---- HEADINGS — Cormorant serif. Native h1-h6 + Pancake design nodes.
   Footer column titles (`.sf-foot-cols h4`) intentionally excluded — they
   are eyebrow labels, not typographic headings (see footer rules below). */
h1, h2, h3, h4, h5, h6,
.x-text h1, .x-text h2, .x-text h3, .x-text h4, .x-text h5, .x-text h6,
.ql-editor h1, .ql-editor h2, .ql-editor h3, .ql-editor h4, .ql-editor h5, .ql-editor h6,
.blog-head h1, .bp-article h1.bp-title, .bp-article h1,
.grid-product--title, .grid-product--title-inner,
.blog-card .title, .bs-title, .mp-trigger-title,
.bp-body h2, .bp-body h3, .bp-body h4 {
  font-family: var(--font-heading) !important;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

h1, .x-text h1, .ql-editor h1, .bp-article h1, .blog-head h1 {
  font-size: var(--text-2xl) !important;
  letter-spacing: 0.03em !important;
}
h2, h3, .x-text h2, .x-text h3, .ql-editor h2, .ql-editor h3,
.bp-body h2, .bp-body h3 {
  font-size: var(--text-xl) !important;
  letter-spacing: 0.04em !important;
}
h4, h5, h6, .x-text h4, .x-text h5, .x-text h6,
.ql-editor h4, .ql-editor h5, .ql-editor h6,
.bp-body h4 {
  font-size: var(--text-lg) !important;
  letter-spacing: 0.03em !important;
}

/* Exception — Pancake's product accordion uses <h6 class="x-text ql-editor">
   for the row title ("Thông tin sản phẩm") while sibling rows ("Chính sách
   vận chuyển", "đổi trả") use plain <p>. Force the h6 to match the body
   styling of the <p> rows so all 4 accordion titles look identical.
   Selector bumped to max specificity to beat Pancake's [id^="TEXT-..."] rules. */
body #TEXT-ncgt1ngs h6,
body #TEXT-ncgt1ngs .x-text,
body h6.x-text.ql-editor,
body .x-text.ql-editor h6,
body h6.x-text {
  font-family: var(--font-body) !important;
  font-size: var(--text-base) !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  color: #13273F !important;
  text-transform: none !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* ---- BODY TEXT — paragraphs, descriptions, accordion rows ---- */
p, li, .bp-body {
  font-size: var(--text-base);
  line-height: 1.6;
}

.x-text, .x-text-wrapper, .text-dataset-wrapper,
.x-text p, .x-text span, .x-text div:not([class*="button"]):not([class*="rect"]),
.ql-editor, .ql-editor p, .ql-editor span, .ql-editor div {
  font-size: var(--text-base) !important;
  line-height: 1.55 !important;
}

/* ---- PRODUCT CARDS (homepage + grid + collection + search + blog cards) ----
   Uppercase + medium weight — editorial / fashion-brand convention. */
.listProd .grid-product--title,
.listProd .grid-product--title-inner,
body .listProd .grid-product--title-inner,
.blog-card .title {
  font-size: var(--text-md) !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
}
.listProd .grid-product--price,
.listProd .grid-product--retail-price,
body .listProd .grid-product--retail-price {
  font-size: var(--text-lg) !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
}
.listProd .grid-product--origin-price,
body .listProd .grid-product--origin-price {
  font-size: var(--text-sm) !important;
}

/* ---- PRODUCT DETAIL — main price ---- */
#shop-price {
  font-size: var(--text-xl) !important;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ---- BLOG + SIDEBAR ---- */
.blog-card .excerpt { font-size: var(--text-sm); line-height: 1.5; }
.bs-title { font-size: var(--text-base); font-weight: 400; }
.bs-recent-item .title, .bs-product-item .name { font-size: var(--text-sm); }

/* ---- Outfit slider cards (homepage "STYLING" section) ----
   Pancake's .post-list__title was 20px Jost. Cormorant @ 20px renders
   visually narrower so we bump to var(--text-lg) (22px) to match the
   design's intended weight. Description + metadata follow the scale. */
.post-list__title {
  font-family: var(--font-heading) !important;
  font-size: var(--text-lg) !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.01em !important;
}
.post-list__description {
  font-size: var(--text-base) !important;
  line-height: 1.55 !important;
}
.post-list__category,
.post-list__category_description,
.post-list__publish_date {
  font-size: var(--text-xs) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ---- FOOTER ---- */
.sf-foot-cols p, .sf-foot-cols a, .sf-about, .sf-contact-line, .sf-foot-bottom {
  font-size: var(--text-sm);
}
/* Footer column titles ("KHÁM PHÁ", "CHÍNH SÁCH & HỖ TRỢ", "LIÊN HỆ") —
   eyebrow style: small caps + wide tracking, body face (not Cormorant). */
.sf-foot-cols h4, .sf-footer h4 {
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  line-height: 1.4;
  margin: 0 0 14px;
}

/* ---- BUTTONS + NAV (uppercase + wide tracking, FoG/Aritzia/Tom Ford style) ---- */
.sf-nav a, .sf-act, .sf-bottombar a, .sf-menu-cat-head,
button.btn, .x-button, .pr-submit, .add-to-cart-btn {
  font-family: var(--font-body) !important;
  letter-spacing: 0.08em;
}
.x-button, button.btn, .pr-submit, .add-to-cart-btn {
  font-size: var(--text-base) !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em !important;
}

/* ---- METADATA / FINE PRINT ---- */
.flash, time, .breadcrumb, .caption, .sf-foot-bottom small {
  font-size: var(--text-xs);
}
