:root {
  /* === Brand — Pharmacity-inspired medical/ecommerce blue === */
  --primary-blue: #0f4fa8;          /* deep, trustworthy blue */
  --primary-blue-hover: #0b3f88;    /* slightly darker for hover */
  --primary-blue-deep: #093573;     /* deepest accent (footer/header) */
  --primary-blue-soft: #eaf2ff;     /* very light blue surfaces / chips */
  --primary-blue-tint: #f3f7ff;     /* even lighter, for section bg */
  --primary-blue-border: #bcd3ff;   /* light blue border for chips */
  --primary-blue-gallery: #eaf6ff;  /* image canvas background */

  /* === Text === */
  --primary-text: #0b1f44;          /* heading near-navy (Pharmacity titles) */
  --second-text: #1f2937;           /* body */
  --black-text: #0b1f44;
  --muted-text: #6b7280;            /* meta, breadcrumb */
  --light-text: #9ca3af;            /* old price, ghost */

  /* === Surfaces === */
  --surface-page: #f5f7fb;          /* page background */
  --surface-card: #ffffff;          /* card */
  --surface-alt: #f3f6fb;           /* alt soft surface */
  --surface-section: #eef3ff;       /* highlighted section (store list) */

  /* === Borders === */
  --border-default: #e5e7eb;
  --border-strong: #d1d5db;

  /* === Accent (sparingly) === */
  --accent-orange: #ff5b1f;         /* Flash sale / countdown header */
  --accent-orange-soft: #fff4ed;
  --accent-success: #00b67a;        /* Chính hãng / Còn hàng badge */
  --accent-success-bg: #e6f8f0;
  --accent-warning: #eb9b00;
  --accent-danger: #e53935;         /* on-sale red */
  --accent-star: #ffb800;

  /* === Radii === Pharmacity/Long Châu aesthetic — sharper, professional */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 10px;
  --radius-pill: 9999px;     /* keep ONLY for circular avatars / status dots */

  /* === Shadows (subtle only — Pharmacity is flat) === */
  --shadow-sm: 0 1px 2px rgba(11, 31, 68, 0.04);
  --shadow-md: 0 2px 8px rgba(11, 31, 68, 0.06);
  --shadow-lg: 0 10px 24px rgba(11, 31, 68, 0.08);

  /* === Spacing scale === */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
}

body,
.wp-block-post-title {
  font-family: Lexend, sans-serif !important;
  color: var(--primary-text);
}

html {
  background-color: var(--surface-page);
}
body {
  background-color: var(--surface-page);
}

/* ============================================================
   TOAST — Shopee-style center modal
   Centered card with big green check + short message.
   Auto-dismiss in ~1.5s. No backdrop dim (light & quick).
   ============================================================ */
.cms-pm-toast-container {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.cms-pm-toast {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 240px;
  max-width: 360px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}
.cms-pm-toast.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Big green check circle (Shopee signature) */
.cms-pm-toast-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #2ec27e;     /* Shopee-ish bright green */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(46, 194, 126, 0.25);
}
.cms-pm-toast-circle .material-symbols-outlined {
  font-size: 40px;
  color: #fff;
  font-weight: 800;
  font-variation-settings: 'FILL' 0, 'wght' 700;
  line-height: 1;
}

.cms-pm-toast--error .cms-pm-toast-circle {
  background: var(--accent-danger);
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.30);
}

.cms-pm-toast-message {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  line-height: 1.45;
  letter-spacing: 0.1px;
}

/* Suppress WC default top notices (we use toast instead) */
.woocommerce-notices-wrapper .woocommerce-message {
  display: none !important;
}

@media (max-width: 640px) {
  .cms-pm-toast {
    padding: 24px 28px;
    min-width: 200px;
    max-width: 80vw;
  }
  .cms-pm-toast-circle { width: 56px; height: 56px; }
  .cms-pm-toast-circle .material-symbols-outlined { font-size: 34px; }
  .cms-pm-toast-message { font-size: 14px; }
}

/* ============================================================
   MOBILE — Eliminate double/triple wrapper paddings
   Flatsome stacks: container 12px + row 12px + col 12px = 36px each side.
   On mobile that wastes ~72px = ~19% of viewport. Collapse to 1 layer.
   ============================================================ */
@media (max-width: 768px) {
  /* Outer page containers — keep minimal page-edge margin */
  body .row-main,
  body .page-wrapper > .row,
  body .shop-container,
  body .cms-author-list .row-main,
  body .content-area > .row-main { padding-left: 8px !important; padding-right: 8px !important; }

  /* Rows — should be layout primitives, no own horizontal padding */
  body .row.content-row,
  body .row.row-small,
  body .row.row-large {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Inner cols — let CONTENT (cards) provide its own padding */
  body .row > .col > .col-inner {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  /* Section content padding — collapse to single 12px */
  body .section .section-content > .row {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
}

/* ============================================================
   Policy / FAQ / Buying Guide Pages
   Applies to pages with .cms-policy-page content wrapper.
   ============================================================ */
.page-template-page-blank-title-center #main {
  background:
    linear-gradient(180deg, #eef5ff 0%, #f5f7fb 300px, #f5f7fb 100%);
}

.page-template-page-blank-title-center .page-wrapper {
  padding-top: 28px;
  padding-bottom: 56px;
}

.page-template-page-blank-title-center .entry-header {
  max-width: 960px;
  margin: 0 auto 18px;
  text-align: center;
}

.page-template-page-blank-title-center .entry-title {
  color: var(--primary-text);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
}

.cms-policy-page {
  max-width: 1040px;
  margin: 0 auto;
  color: var(--second-text);
}

.cms-policy-page a {
  color: var(--primary-blue);
  font-weight: 700;
  text-decoration: none;
}

.cms-policy-page a:hover {
  color: var(--primary-blue-hover);
  text-decoration: underline;
}

.cms-policy-hero,
.cms-policy-section,
.cms-policy-faq-list,
.cms-policy-contact {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.cms-policy-hero {
  padding: 34px;
  margin-bottom: 18px;
  overflow: hidden;
  position: relative;
}

.cms-policy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 79, 168, 0.08), transparent 46%),
    radial-gradient(circle at 92% 8%, rgba(0, 182, 122, 0.11), transparent 32%);
  pointer-events: none;
}

.cms-policy-hero > * {
  position: relative;
}

.cms-policy-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  margin-bottom: 16px;
  border: 1px solid var(--primary-blue-border);
  border-radius: var(--radius-md);
  background: var(--primary-blue-soft);
  color: var(--primary-blue);
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
}

.cms-policy-eyebrow .material-symbols-outlined {
  font-size: 18px;
  line-height: 1;
  color: inherit;
}

.cms-policy-hero h2 {
  max-width: 820px;
  margin: 0 0 14px;
  color: var(--primary-text);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0;
}

.cms-policy-hero p {
  max-width: 820px;
  margin: 0;
  color: var(--second-text);
  font-size: 16px;
  line-height: 1.75;
}

.cms-policy-quick-grid,
.cms-policy-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cms-policy-quick-grid {
  margin-top: 24px;
}

.cms-policy-quick-grid > div,
.cms-policy-card {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.cms-policy-quick-grid > div {
  padding: 16px;
}

.cms-policy-quick-grid strong,
.cms-policy-quick-grid span {
  display: block;
}

.cms-policy-quick-grid strong {
  margin-bottom: 4px;
  color: var(--primary-text);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

.cms-policy-quick-grid span {
  color: var(--muted-text);
  font-size: 13px;
  line-height: 1.5;
}

.cms-policy-section {
  padding: 28px 32px;
  margin-bottom: 14px;
}

.cms-policy-section h3,
.cms-policy-contact h3 {
  margin: 0 0 14px;
  color: var(--primary-text);
  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0;
}

.cms-policy-section p,
.cms-policy-contact p {
  margin: 0 0 12px;
  color: var(--second-text);
  font-size: 15px;
  line-height: 1.75;
}

.cms-policy-section p:last-child {
  margin-bottom: 0;
}

.cms-policy-note {
  border-color: #fed7aa;
  background: #fff7ed;
}

.cms-policy-card-grid {
  margin-top: 18px;
}

.cms-policy-card {
  padding: 18px;
}

.cms-policy-card .material-symbols-outlined {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  background: var(--primary-blue-soft);
  color: var(--primary-blue);
  font-size: 21px;
}

.cms-policy-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary-text);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

.cms-policy-card p {
  margin: 0;
  color: var(--muted-text);
  font-size: 14px;
  line-height: 1.6;
}

.cms-policy-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.cms-policy-list li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 30px;
  color: var(--second-text);
  font-size: 15px;
  line-height: 1.65;
}

.cms-policy-list li::before {
  content: "check";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-md);
  background: var(--accent-success-bg);
  color: var(--accent-success);
  font-family: "Material Symbols Outlined";
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  font-variation-settings: "FILL" 0, "wght" 600;
}

.cms-policy-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.cms-policy-steps > div {
  padding: 18px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: #fff;
}

.cms-policy-steps span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  background: var(--primary-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.cms-policy-steps strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary-text);
  font-size: 15px;
  font-weight: 800;
}

.cms-policy-steps p {
  margin: 0;
  color: var(--muted-text);
  font-size: 14px;
  line-height: 1.6;
}

.cms-policy-faq-list {
  padding: 12px;
  margin-bottom: 14px;
}

.cms-policy-faq-list details {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: #fff;
}

.cms-policy-faq-list details + details {
  margin-top: 10px;
}

.cms-policy-faq-list summary {
  cursor: pointer;
  position: relative;
  padding: 16px 46px 16px 18px;
  color: var(--primary-text);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 800;
  list-style: none;
}

.cms-policy-faq-list summary::-webkit-details-marker {
  display: none;
}

.cms-policy-faq-list summary::after {
  content: "expand_more";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-blue);
  font-family: "Material Symbols Outlined";
  font-size: 22px;
  line-height: 1;
}

.cms-policy-faq-list details[open] summary::after {
  content: "expand_less";
}

.cms-policy-faq-list details[open] {
  border-color: var(--primary-blue-border);
  background: var(--primary-blue-tint);
}

.cms-policy-faq-list details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--second-text);
  font-size: 15px;
  line-height: 1.72;
}

.cms-policy-contact {
  padding: 28px 32px;
  border-color: var(--primary-blue-border);
  background: linear-gradient(135deg, #ffffff 0%, #eef5ff 100%);
}

.cms-policy-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cms-policy-contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--primary-blue);
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none;
}

.cms-policy-contact-actions a:hover {
  background: var(--primary-blue-hover);
  color: #fff;
  text-decoration: none;
}

.cms-policy-contact-actions .material-symbols-outlined {
  font-size: 19px;
  color: inherit;
}

@media (max-width: 849px) {
  .cms-policy-quick-grid,
  .cms-policy-card-grid,
  .cms-policy-steps {
    grid-template-columns: 1fr;
  }

  .cms-policy-hero,
  .cms-policy-section,
  .cms-policy-contact {
    padding: 22px 18px;
  }
}

@media (max-width: 549px) {
  .page-template-page-blank-title-center .page-wrapper {
    padding-top: 14px;
    padding-bottom: 36px;
  }

  .page-template-page-blank-title-center .entry-title {
    font-size: 25px;
    line-height: 1.18;
  }

  .cms-policy-hero h2 {
    font-size: 22px;
  }

  .cms-policy-section h3,
  .cms-policy-contact h3 {
    font-size: 19px;
  }

  .cms-policy-contact-actions a {
    width: 100%;
  }
}

/* ============================================================
   GLOBAL RADIUS REFINEMENT
   Pharmacity/Long Châu aesthetic — reduce excessive pill-rounding.
   Keep --radius-pill (9999px) ONLY for:
     - Avatars / status dots / round close buttons
     - Notification badges (numeric pills)
   Everything else uses --radius-sm/md/lg.
   ============================================================ */

/* Convert hard-coded 9999px pills to 6px on common shape elements */
.button,
.button.primary,
.button.secondary,
.button.alt,
input[type="submit"],
input[type="button"],
.btn,
.cms-pm-anchor-pill,
.cms-pm-anchor-pill--cta,
.cms-badge,
.cms-list-author-top .cms-text-box p.cms-badge,
.cms-list-author-team .cms-members > .col > .col-inner > .cms-badge,
.cms-post-category-tabs-item,
.cms-post-category-tabs-item a,
.product-categories a,
.cat-label,
.tag-cloud-link,
.widget-area .tagcloud a,
.input-group .input-group-addon,
form input.search-field,
form input[type="search"],
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form select,
.searchform input,
.searchform button {
  border-radius: 6px !important;
}

/* Search forms inside hero/content areas — slightly less round */
.cms-post-category-search-bar,
.live-search-form,
.searchform-wrapper.form-flat .flex-row,
.header-search-form-wrapper form .flex-row,
.cms-pm-searchbox {
  border-radius: 6px !important;
}

/* Pill-shape buttons that LOOK pharmacity-style (CTAs) — keep slight rounding */
.cms-khampha-btn,
.button.is-large,
.btn-cta-primary {
  border-radius: 6px !important;
}

/* PRESERVE pill for: avatars, dots, status circles, numeric badges */
.cart-icon-count,
.cart-count,
.is-circle,
.avatar,
.author-avatar,
.cms-pm-sp-toast-avatar,
.cms-pm-sp-toast-dot,
.material-symbols-outlined.is-circle,
.cms-pm-status-dot,
.mfp-close,
.cms-pm-close,
.cms-pm-exit-popup-close,
.cs-mm-cta .material-symbols-outlined,
.cs-mm-cat-card .material-symbols-outlined,
#main-menu .social-icons a,
.notification-bubble,
.cart-item .cart-count {
  border-radius: 9999px !important;
}

/* Refine card / box shapes — keep subtle rounding only */
.box,
.box-text,
.product-small,
.col-inner,
.cms-card,
.widget,
.entry-content blockquote {
  /* don't force — let individual styles win, just hint */
}

/* ============================================================
   QUICK-BUY POPUP — nhãn field rõ ràng + chữ to hơn (2026-07)
   ============================================================ */
.devvn_cusstom_info .cms-qb-label {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary-text);
  margin: 0 0 5px;
  line-height: 1.3;
}
.devvn_cusstom_info .cms-qb-label .cms-qb-req { color: var(--accent-danger); }

/* Chữ to, rõ hơn trong popup */
.devvn_cusstom_info input[type="text"],
.devvn_cusstom_info input[type="tel"],
.devvn_cusstom_info input[type="email"],
.devvn_cusstom_info textarea,
.devvn_cusstom_info select { font-size: 15px !important; }
.devvn_cusstom_info .popup-customer-info-title { font-size: 16.5px !important; }
.devvn_cusstom_info .paymentmethob-wrap label span,
.devvn_cusstom_info .popup-customer-info-radio label span { font-size: 14.5px !important; }
.devvn_cusstom_info .popup_quickbuy_shipping_title { font-size: 15px !important; }
.devvn_cusstom_info .popup_quickbuy_total_calc { font-size: 21px !important; }

/* Mobile: mỗi field 1 dòng, chữ gọn dễ điền, ghi chú cao hơn, ẩn email */
@media (max-width: 600px) {
  .devvn_cusstom_info .popup-customer-info-item-2 { width: 100% !important; float: none !important; padding-left: 0 !important; padding-right: 0 !important; }
  .devvn_cusstom_info .popup-customer-info-group > .popup-customer-info-item-2:first-child { margin-bottom: 8px; }
  .devvn_cusstom_info .cms-qb-label { font-size: 13px !important; margin-bottom: 3px; }
  .devvn_cusstom_info .popup-customer-info-title { font-size: 15px !important; }
  .devvn_cusstom_info input[type="text"],
  .devvn_cusstom_info input[type="tel"],
  .devvn_cusstom_info input[type="email"],
  .devvn_cusstom_info select,
  .devvn_cusstom_info textarea { font-size: 14px !important; height: auto !important; padding: 8px 10px !important; }
  .devvn_cusstom_info textarea.order-note { min-height: 64px !important; }
  .devvn_cusstom_info .paymentmethob-wrap label span,
  .devvn_cusstom_info .popup-customer-info-radio label span { font-size: 14px !important; }
  .devvn_cusstom_info .cms-qb-email-group { display: none !important; }
}

/* Ghi chú động + tĩnh trong popup */
.cms-qb-freeship-note,
.cms-qb-disc-progress,
.cms-qb-hoatoc {
  margin-top: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
}
.cms-qb-freeship-note { background: #fff7ed; border: 1px solid #fed7aa; color: #c2410c; }
.cms-qb-disc-progress { background: var(--primary-blue-soft); border: 1px solid var(--primary-blue-border); color: var(--primary-blue); }
.cms-qb-hoatoc { background: var(--surface-alt); border: 1px dashed var(--border-strong); color: var(--second-text); font-weight: 500; }
.cms-qb-ck-note { margin-top: 6px; text-align: right; font-size: 13.5px; font-weight: 700; color: #0f8a5f; }

/* ============================================================
   ƯU ĐÃI GIỎ HÀNG / CHECKOUT — perks (freeship, giảm 50k, hỏa tốc)
   ============================================================ */
.cms-cart-perks { display: flex; flex-direction: column; gap: 8px; margin: 6px 0; }
.cms-cart-perks .cms-perk {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  border: 1px solid transparent;
}
.cms-cart-perks .cms-perk strong { font-weight: 800; }
.cms-cart-perks .cms-perk-cond { font-weight: 500; opacity: .8; }
.cms-cart-perks .cms-perk-ok   { background: var(--accent-success-bg); border-color: #b7e6cf; color: #0f8a5f; }
.cms-cart-perks .cms-perk-go   { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.cms-cart-perks .cms-perk-info { background: var(--surface-alt); border: 1px dashed var(--border-strong); color: var(--second-text); font-weight: 500; }

/* Freeship + thanh tiến trình */
.cms-cart-perks .cms-perk-ship { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.cms-cart-perks .cms-perk-ship.is-done { background: var(--accent-success-bg); border-color: #b7e6cf; color: #0f8a5f; }
.cms-cart-perks .cms-perk-ship .cms-perk-text { margin-bottom: 7px; }
.cms-cart-perks .cms-perk-bar { height: 7px; border-radius: 99px; background: rgba(0,0,0,.08); overflow: hidden; }
.cms-cart-perks .cms-perk-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg,#ff8a3d,#ff5b1f); transition: width .4s ease; }
.cms-cart-perks .cms-perk-ship.is-done .cms-perk-bar span { background: linear-gradient(90deg,#3ddc97,#00b67a); }

/* ============================================================
   NIỀM TIN ĐƠN HÀNG — dự kiến giao + badge + chip TT + hotline
   ============================================================ */
.cms-order-confidence { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.cms-oc-delivery { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px; background: var(--primary-blue-soft); border: 1px solid var(--primary-blue-border); color: var(--primary-text); font-size: 13.5px; line-height: 1.4; }
.cms-oc-delivery .material-symbols-outlined { color: var(--primary-blue); font-size: 20px; flex: none; }
.cms-oc-delivery small { color: var(--muted-text); font-weight: 500; }
.cms-oc-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cms-oc-badge { display: flex; align-items: center; gap: 9px; padding: 10px; border: 1px solid var(--border-default); border-radius: 8px; background: #fff; }
.cms-oc-badge .material-symbols-outlined { color: var(--primary-blue); font-size: 22px; flex: none; }
.cms-oc-badge strong { display: block; font-size: 13px; color: var(--primary-text); line-height: 1.25; }
.cms-oc-badge span { font-size: 11.5px; color: var(--muted-text); }
.cms-oc-pay { padding: 10px 12px; border: 1px solid var(--border-default); border-radius: 8px; background: #fff; }
.cms-oc-pay-title { display: block; font-size: 12px; font-weight: 700; color: var(--muted-text); margin-bottom: 7px; text-transform: uppercase; letter-spacing: .03em; }
.cms-oc-pay-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cms-oc-chip { font-size: 12.5px; font-weight: 600; color: var(--primary-blue); background: var(--primary-blue-soft); border: 1px solid var(--primary-blue-border); padding: 4px 10px; border-radius: 99px; }
.cms-oc-hotline { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; background: var(--primary-blue-deep); color: #fff; }
.cms-oc-hotline .material-symbols-outlined { font-size: 26px; flex: none; }
.cms-oc-hotline span { display: block; font-size: 12px; opacity: .85; }
.cms-oc-hotline a { color: #fff; text-decoration: none; }
.cms-oc-hotline strong { font-size: 18px; letter-spacing: .02em; }

/* ============================================================
   THANK-YOU — đồng hồ đếm ngược thanh toán QR
   ============================================================ */
.cms-ty-countdown { max-width: 520px; margin: 0 auto 18px; padding: 18px 20px; border-radius: 14px; text-align: center; background: linear-gradient(135deg,#fff7ed,#ffedd5); border: 1px solid #fed7aa; }
.cms-ty-countdown.is-expired { background: var(--surface-alt); border-color: var(--border-strong); }
.cms-ty-cd-title { font-size: 15px; font-weight: 700; color: #c2410c; }
.cms-ty-countdown.is-expired .cms-ty-cd-title { color: var(--muted-text); }
.cms-ty-cd-timer { font-size: 40px; font-weight: 800; line-height: 1.1; margin: 6px 0; color: #ea580c; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.cms-ty-countdown.is-expired .cms-ty-cd-timer { color: var(--muted-text); }
.cms-ty-cd-note { font-size: 13.5px; color: var(--second-text); line-height: 1.5; }
.cms-ty-countdown.is-paid { background: var(--accent-success-bg); border-color: #b7e6cf; }
.cms-ty-countdown.is-paid .cms-ty-cd-title { color: #0f8a5f; font-size: 18px; }

/* ============================================================
   GIỎ HÀNG MOBILE — bỏ lề cộng dồn (row-main + col large-12 + col large-8 ~53px)
   ============================================================ */
@media (max-width: 768px) {
  body.woocommerce-cart .row-main > .col.large-12 { padding-left: 0 !important; padding-right: 0 !important; }
  body.woocommerce-cart .row.row-large > .col { padding-left: 0 !important; padding-right: 0 !important; }
  body.woocommerce-cart .row.row-divided > .col + .col { border-left: 0 !important; }
}

/* ============================================================
   GIỎ HÀNG — CRO: giữ giỏ, tiết kiệm, coupon ẩn, secure CTA
   ============================================================ */
.cms-cart-hold { display: flex; align-items: center; gap: 8px; justify-content: center; background: #fff7ed; border: 1px solid #fed7aa; color: #c2410c; font-weight: 600; font-size: 14px; padding: 10px 14px; border-radius: 10px; margin: 0 0 14px; }
.cms-cart-hold-time { background: var(--accent-danger); color: #fff; font-weight: 800; padding: 2px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.cart_totals .cms-savings-row th,
.cart_totals .cms-savings-row td { color: #0f8a5f !important; font-weight: 700 !important; font-size: 14px !important; }
.cms-coupon-toggle { background: none; border: 0; color: var(--primary-blue); font-weight: 700; font-size: 13.5px; cursor: pointer; padding: 4px 0; text-decoration: underline; }
.cms-coupon-toggle.is-open { text-decoration: none; opacity: .8; }
.cms-coupon .checkout_coupon { margin-top: 8px; }
.cms-cart-secure { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 12px; color: var(--muted-text); font-size: 12.5px; line-height: 1.45; text-align: center; }
.cms-cart-secure .material-symbols-outlined { font-size: 18px; color: #0f8a5f; flex: none; }
.cms-cart-secure-pay { text-align: center; font-size: 12.5px; color: var(--muted-text); margin-top: 6px; }
.cms-cart-secure-pay strong { color: var(--primary-text); }

/* Freeship bar dùng ở ĐẦU giỏ/checkout (ngoài .cms-cart-perks) — style độc lập */
.cms-cart-topbars { margin: 0 0 14px; }
.cms-perk.cms-perk-ship { padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; line-height: 1.4; border: 1px solid #fed7aa; background: #fff7ed; color: #c2410c; }
.cms-perk.cms-perk-ship.is-done { background: var(--accent-success-bg); border-color: #b7e6cf; color: #0f8a5f; }
.cms-perk.cms-perk-ship .cms-perk-text { margin-bottom: 7px; }
.cms-perk.cms-perk-ship .cms-perk-bar { height: 7px; border-radius: 99px; background: rgba(0,0,0,.08); overflow: hidden; }
.cms-perk.cms-perk-ship .cms-perk-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg,#ff8a3d,#ff5b1f); transition: width .4s ease; }
.cms-perk.cms-perk-ship.is-done .cms-perk-bar span { background: linear-gradient(90deg,#3ddc97,#00b67a); }

/* Ghi chú hỏa tốc trong khối niềm tin */
.cms-order-confidence .cms-oc-note { font-size: 12px; color: var(--muted-text); line-height: 1.45; padding: 8px 10px; background: var(--surface-alt); border-radius: 8px; }

/* ============================================================
   CHECKOUT MOBILE — bỏ lề cột thừa (như giỏ hàng)
   ============================================================ */
@media (max-width: 768px) {
  body.woocommerce-checkout .row-main > .col.large-12 { padding-left: 0 !important; padding-right: 0 !important; }
  body.woocommerce-checkout .cms-checkout > .row > .col { padding-left: 0 !important; padding-right: 0 !important; }
}

/* ============================================================
   VIETQR — ẩn dãy 40 logo ngân hàng (rối, không cần; mô tả đã nói "hầu hết NH đều hỗ trợ")
   ============================================================ */
.vietqr-row { display: none !important; }
