/* ==========================================================================
   ShopBase Theme — "Modern E-Commerce" design system on Bootstrap 5
   Primary blue #4B78D1, Navy #0B162D, Inter font, 8px buttons / 16px cards,
   1200px container, 80px section padding, glassmorphism nav, mesh hero.
   _Layout.cshtml injects --bs-primary / --bs-warning / --bs-danger from
   configs/template-setting.json. We extend with full Material 3 tones,
   typography and component overrides used across pages/sections/snippets.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* ---------- Design tokens ---------- */
:root {
  /* Brand overrides */
  --sb-primary: #4B78D1;
  --sb-primary-deep: #2659b0;
  --sb-primary-container: #4572cb;
  --sb-on-primary: #ffffff;
  --sb-navy: #0B162D;
  --sb-navy-soft: #1a2440;
  --sb-secondary: #545e79;
  --sb-secondary-container: #d5dfff;
  --sb-tertiary: #5a5c60;
  --sb-tertiary-container: #e1e2e6;

  /* Fixed-tone palette (Material 3 fixed-on-fixed roles) */
  --sb-primary-fixed: #d9e2ff;
  --sb-on-primary-fixed-variant: #004398;

  /* Surfaces */
  --sb-surface: #fcf8fb;
  --sb-surface-bright: #ffffff;
  --sb-surface-container-lowest: #ffffff;
  --sb-surface-container-low: #f6f3f5;
  --sb-surface-container: #f0edef;
  --sb-surface-container-high: #eae7ea;
  --sb-surface-container-highest: #e4e2e4;
  --sb-light-gray: #F2F3F7;
  --sb-on-surface: #1b1b1d;
  --sb-on-surface-variant: #434752;
  --sb-outline: #737783;
  --sb-outline-variant: #c3c6d4;

  /* Semantic */
  --sb-error: #ba1a1a;
  --sb-error-container: #ffdad6;
  --sb-success: #16a34a;

  /* Spacing (4px base) */
  --sb-space-unit: 4px;
  --sb-stack-sm: 8px;
  --sb-stack-md: 16px;
  --sb-stack-lg: 32px;
  --sb-gutter: 24px;
  --sb-section-padding: 80px;
  --sb-container-max: 1200px;

  /* Radii */
  --sb-radius-sm: 4px;
  --sb-radius: 8px;
  --sb-radius-md: 12px;
  --sb-radius-lg: 16px;
  --sb-radius-xl: 24px;
  --sb-radius-pill: 9999px;

  /* Shadows (low-opacity, ambient — SaaS look) */
  --sb-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --sb-shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
  --sb-shadow-md: 0 10px 28px rgba(15, 23, 42, 0.08);
  --sb-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.10);

  /* Bring Bootstrap aliases in line with ShopBase */
  --bs-secondary: #0B162D;
  --bs-secondary-rgb: 11, 22, 45;
  --bs-success: #16a34a;
  --bs-success-rgb: 22, 163, 74;
  --bs-info: #4B78D1;
  --bs-info-rgb: 75, 120, 209;
  --bs-body-bg: #ffffff;
  --bs-body-color: #1b1b1d;
  --bs-body-font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --bs-border-radius: 8px;
  --bs-border-radius-sm: 4px;
  --bs-border-radius-lg: 16px;
  --bs-border-color: #e6e8ee;
}

/* ---------- Base typography ---------- */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--sb-on-surface);
  background-color: var(--sb-surface-bright);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv02","cv03","cv04","cv11";
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sb-on-surface);
  line-height: 1.2;
}
.display-1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.display-2 { font-size: clamp(32px, 5vw, 48px); font-weight: 700; line-height: 1.1;  letter-spacing: -0.02em; }
h1 { font-size: clamp(32px, 4vw, 48px); }
h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 700; }
h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; }
h4 { font-size: 20px; font-weight: 600; }
h5 { font-size: 18px; font-weight: 600; }
h6 { font-size: 14px; font-weight: 600; }

a { color: var(--sb-primary); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--sb-primary-deep); }

.text-muted { color: var(--sb-on-surface-variant) !important; }

/* Eyebrow chip — small uppercase pill above headings */
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(75, 120, 209, 0.1);
  color: var(--sb-primary);
  border-radius: var(--sb-radius-pill);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.eyebrow-light { background: rgba(255, 255, 255, 0.12); color: #fff; }

.section-heading { font-size: clamp(28px, 3.5vw, 40px); font-weight: 700; letter-spacing: -0.02em; }
.section-subtitle { color: var(--sb-on-surface-variant); margin: 0 auto 48px; max-width: 60ch; font-size: 17px; line-height: 1.55; }

/* ---------- Sections ---------- */
.section { padding: var(--sb-section-padding) 0; }
.section-tight { padding: 48px 0; }
.section-light { background: var(--sb-light-gray); }
.section-dark { background: var(--sb-navy); color: #ffffff; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5, .section-dark h6 { color: #ffffff; }
.section-dark p { color: rgba(255,255,255,0.78); }

.container, .container-md, .container-lg, .container-xl, .container-xxl {
  max-width: var(--sb-container-max);
}

/* ---------- Buttons ---------- */
.btn {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  border-radius: var(--sb-radius);
  padding: 0.625rem 1.25rem;
  letter-spacing: 0;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 16px; border-radius: var(--sb-radius); }
.btn-sm { padding: 0.4rem 0.875rem; font-size: 13px; }
.btn-pill { border-radius: var(--sb-radius-pill); }

.btn-primary {
  background: var(--sb-primary);
  border-color: var(--sb-primary);
  color: var(--sb-on-primary);
  box-shadow: 0 1px 3px rgba(75,120,209,0.18);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background: var(--sb-primary-deep);
  border-color: var(--sb-primary-deep);
  color: #fff;
  box-shadow: 0 6px 16px rgba(75,120,209,0.25);
}
.btn-outline-primary { color: var(--sb-primary); border-color: var(--sb-primary); }
.btn-outline-primary:hover { background: var(--sb-primary); border-color: var(--sb-primary); color: #fff; }

/* Navy CTA — used in nav and dark CTA banner buttons */
.btn-navy {
  background: var(--sb-navy);
  border-color: var(--sb-navy);
  color: #ffffff;
}
.btn-navy:hover, .btn-navy:focus {
  background: var(--sb-navy-soft);
  border-color: var(--sb-navy-soft);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(11,22,45,0.18);
}

.btn-light-on-dark {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  backdrop-filter: blur(6px);
}
.btn-light-on-dark:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--sb-on-surface-variant);
  border: 0;
}
.btn-ghost:hover { color: var(--sb-primary); }

/* ---------- Forms ---------- */
.form-control, .form-select {
  border-radius: var(--sb-radius);
  border: 1px solid var(--sb-outline-variant);
  background: var(--sb-surface-container-lowest);
  font-size: 15px;
  padding: 0.7rem 0.875rem;
  color: var(--sb-on-surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control::placeholder { color: var(--sb-outline); }
.form-control:focus, .form-select:focus {
  border-color: var(--sb-primary);
  box-shadow: 0 0 0 3px rgba(75, 120, 209, 0.2);
  background: var(--sb-surface-container-lowest);
}
.form-control-lg { font-size: 16px; padding: 0.95rem 1.125rem; }
.form-label { font-weight: 500; font-size: 14px; color: var(--sb-on-surface); margin-bottom: 0.375rem; }
.form-check-input:checked { background-color: var(--sb-primary); border-color: var(--sb-primary); }

.input-with-icon { position: relative; }
.input-with-icon .input-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--sb-outline);
  pointer-events: none;
  font-size: 18px;
}
.input-with-icon .form-control { padding-left: 42px; }

/* ---------- Cards ---------- */
.card {
  border-radius: var(--sb-radius-lg);
  border: 1px solid var(--bs-border-color);
  background: var(--sb-surface-container-lowest);
}
.card-soft {
  border: 1px solid var(--bs-border-color);
  background: var(--sb-surface-container-lowest);
  box-shadow: var(--sb-shadow-card);
  border-radius: var(--sb-radius-lg);
}
.card-feature {
  border: 1px solid var(--bs-border-color);
  background: var(--sb-surface-container-lowest);
  border-radius: var(--sb-radius-lg);
  padding: 32px 28px;
  height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--sb-shadow-card);
  border-color: var(--sb-outline-variant);
}
.card-feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--sb-radius);
  background: rgba(75, 120, 209, 0.1);
  color: var(--sb-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
/* Icon container variants (used by bento smaller cards) */
.card-feature-icon-primary-soft { background: rgba(75,120,209,0.10); color: var(--sb-primary); }
.card-feature-icon-secondary { background: var(--sb-secondary-container); color: #3c4660; }
.card-feature-icon-secondary-soft { background: #d9e2ff; color: #001a43; }
.card-feature-icon-tertiary { background: var(--sb-tertiary-container); color: #44474a; }

/* Bento layout — large card with image area */
.feature-bento .card-feature-lg {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 40px;
  background: var(--sb-surface-container-low);
  border: 1px solid var(--bs-border-color);
}
.feature-bento .card-feature-lg .card-feature-body { max-width: 460px; }
.card-feature-icon-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--sb-primary);
  line-height: 1;
}
.card-feature-image {
  border-radius: var(--sb-radius);
  overflow: hidden;
  border: 1px solid var(--sb-outline-variant);
  box-shadow: var(--sb-shadow-sm);
}
.card-feature-image img { width: 100%; height: auto; display: block; }
.card-feature-image-placeholder {
  height: 192px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(75,120,209,0.10), rgba(213,223,255,0.30));
}
.card-feature-image-placeholder span {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sb-primary);
  opacity: 0.20;
}

/* ---------- Badges / chips ---------- */
.badge {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  border-radius: var(--sb-radius-pill);
  padding: 0.375em 0.75em;
}
.badge.bg-primary { background: var(--sb-primary) !important; color: #fff; }
.badge.bg-primary-soft { background: rgba(75,120,209,0.10) !important; color: var(--sb-primary); }
.badge.bg-navy { background: var(--sb-navy) !important; color: #fff; }
.badge.bg-success-soft { background: rgba(22,163,74,0.10) !important; color: var(--sb-success); }
.badge.most-popular {
  background: var(--sb-primary);
  color: #fff;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Top nav (glassmorphism) ---------- */
.site-header {
  background: rgba(252, 248, 251, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(195, 198, 212, 0.4);
  position: sticky;
  top: 0;
  z-index: 1020;
}
.navbar-brand {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--sb-primary);
  letter-spacing: -0.02em;
}
.navbar-brand:hover { color: var(--sb-primary-deep); }
.top-nav .nav-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--sb-on-surface-variant);
  padding: 8px 16px;
  position: relative;
}
.top-nav .nav-link:hover { color: var(--sb-primary); }
.top-nav .nav-link.active { color: var(--sb-primary); }
.top-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--sb-primary);
  border-radius: 2px;
}
/* Replace Bootstrap's default caret with an explicit chevron icon */
.top-nav .nav-link.dropdown-toggle::after { display: none !important; }
.top-nav .nav-caret {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.7em;
  vertical-align: 1px;
  color: var(--sb-on-surface-variant);
  transition: transform 0.2s ease, color 0.2s ease;
}
.top-nav .nav-link:hover .nav-caret,
.top-nav .nav-link.active .nav-caret { color: var(--sb-primary); }
.top-nav .nav-item.show .nav-caret { transform: rotate(180deg); }

/* Dropdown menu styling — matches SaaS card aesthetic */
.top-nav .dropdown-menu {
  min-width: 220px;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid var(--sb-outline-variant);
  border-radius: var(--sb-radius-md);
  background: var(--sb-surface-container-lowest);
  box-shadow: var(--sb-shadow-md);
}
.top-nav .dropdown-item {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sb-on-surface);
  border-radius: var(--sb-radius-sm);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.top-nav .dropdown-item:hover,
.top-nav .dropdown-item:focus {
  background: rgba(75, 120, 209, 0.08);
  color: var(--sb-primary);
}
.top-nav .dropdown-item.active {
  background: rgba(75, 120, 209, 0.12);
  color: var(--sb-primary);
  font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  /* Nền đồng nhất với body theme (--sb-surface-bright) — bỏ radial-gradient
     + --sb-surface gây hiệu ứng 2 tông trắng khác nhau ở vùng Hero. */
  background: var(--sb-surface-bright);
  padding: clamp(48px, 8vw, 96px) 0;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(195, 198, 212, 0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--sb-radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--sb-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 16px 0 20px;
  color: var(--sb-on-surface);
}
.hero-title .accent { color: var(--sb-primary); }
.hero-description {
  font-size: 18px;
  line-height: 1.55;
  color: var(--sb-on-surface-variant);
  max-width: 540px;
  margin-bottom: 32px;
}
/* width:100% needed so `justify-content-start|center|end` (set from
   settings.content_button_align in hero.liquid) has horizontal room to act.
   Without it, the flex container shrinks to its button → all alignments
   look identical and "Button alignment" in the editor appears broken. */
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; width: 100%; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--sb-on-surface-variant);
  font-size: 14px;
}
.hero-trust .bi { color: var(--sb-success); font-size: 18px; }
.hero-mock {
  border-radius: var(--sb-radius-lg);
  background: var(--sb-surface-container-lowest);
  padding: 16px;
  box-shadow: var(--sb-shadow-lg);
  border: 1px solid var(--sb-outline-variant);
}
.hero-mock img { width: 100%; height: auto; border-radius: var(--sb-radius); display: block; }

/* Floating glass badge over hero mockup */
.hero-mock-wrap { position: relative; }
.hero-badge {
  position: absolute;
  left: -20px;
  bottom: -28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--sb-radius-md);
  border: 1px solid rgba(195, 198, 212, 0.5);
  box-shadow: var(--sb-shadow-md);
  z-index: 2;
}
.hero-badge-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sb-primary-container);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.hero-badge-value { font-size: 14px; font-weight: 700; color: var(--sb-on-surface); line-height: 1.2; }
.hero-badge-label { font-size: 12px; font-weight: 500; color: var(--sb-on-surface-variant); margin-top: 2px; line-height: 1.2; }

/* Inline email + CTA combo (hero signup) */
.signup-inline {
  display: flex;
  gap: 8px;
  background: var(--sb-surface-container-lowest);
  padding: 6px;
  border-radius: var(--sb-radius);
  border: 1px solid var(--sb-outline-variant);
  max-width: 480px;
  box-shadow: var(--sb-shadow-card);
}
.signup-inline .form-control { border: 0; box-shadow: none !important; padding-left: 16px; }
.signup-inline .btn { white-space: nowrap; }

/* ---------- Logo strip ---------- */
.logo-strip {
  background: var(--sb-light-gray);
  padding: 32px 0;
  text-align: center;
}
.logo-strip-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sb-on-surface-variant);
  margin-bottom: 20px;
}
.logo-strip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 32px;
}
.logo-strip-row .logo-item {
  font-weight: 700;
  font-size: 20px;
  color: var(--sb-on-surface-variant);
  opacity: 0.7;
  letter-spacing: -0.01em;
}

/* ---------- CTA banner (dark navy) ---------- */
.cta-banner {
  background: var(--sb-navy);
  color: #fff;
  border-radius: var(--sb-radius-lg);
  padding: clamp(40px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(75,120,209,0.4), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -40%; left: -20%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(84,94,121,0.35), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.cta-banner h2 {
  color: #fff;
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cta-banner p { color: rgba(255,255,255,0.78); position: relative; z-index: 1; max-width: 60ch; margin: 0 auto 24px; }
.cta-banner .btn { position: relative; z-index: 1; }

/* ---------- Stats row ---------- */
.stat-block { text-align: center; padding: 24px 12px; }
.stat-value {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--sb-primary);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { color: var(--sb-on-surface-variant); font-size: 14px; font-weight: 500; }

/* ---------- Pricing cards ---------- */
.pricing-card {
  background: var(--sb-surface-container-lowest);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--sb-radius-lg);
  padding: 32px 28px;
  height: 100%;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pricing-card.featured {
  background: var(--sb-navy);
  color: #fff;
  border-color: var(--sb-navy);
  transform: translateY(-12px);
  box-shadow: var(--sb-shadow-lg);
}
.pricing-card.featured h3,
.pricing-card.featured .price-amount,
.pricing-card.featured .price-period { color: #fff; }
.pricing-card.featured .price-period,
.pricing-card.featured ul li { color: rgba(255,255,255,0.78); }
.price-amount {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--sb-on-surface);
}
.price-period { color: var(--sb-on-surface-variant); font-size: 14px; }
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.pricing-card ul li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--sb-on-surface-variant);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pricing-card ul li::before {
  content: "✓";
  color: var(--sb-success);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-card.featured ul li::before { color: #4ade80; }

/* ---------- Auth (login/register) layout ---------- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sb-light-gray);
  padding: 32px 16px;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--sb-surface-container-lowest);
  border-radius: var(--sb-radius-lg);
  padding: 40px 36px;
  box-shadow: var(--sb-shadow-md);
  border: 1px solid var(--bs-border-color);
}
.auth-brand { text-align: center; }
.auth-brand .navbar-brand { font-size: 24px; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--sb-on-surface-variant);
  font-size: 13px;
}
.auth-divider::before, .auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--sb-outline-variant);
}
.btn-google {
  background: #fff;
  border: 1px solid var(--sb-outline-variant);
  color: var(--sb-on-surface);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.btn-google:hover { background: var(--sb-surface-container-low); border-color: var(--sb-outline); color: var(--sb-on-surface); }

/* ---------- Article / blog cards ---------- */
.article-card {
  background: var(--sb-surface-container-lowest);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--sb-radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sb-shadow-card);
}
.article-card-img {
  aspect-ratio: 16 / 10;
  width: 100%;
  background: var(--sb-light-gray);
  object-fit: cover;
  display: block;
}
.article-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-card-meta {
  font-size: 12px;
  color: var(--sb-on-surface-variant);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.article-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--sb-on-surface);
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-title a { color: inherit; }
.article-card-title a:hover { color: var(--sb-primary); }
.article-card-excerpt { color: var(--sb-on-surface-variant); font-size: 14px; flex: 1; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--sb-surface-container-lowest);
  color: var(--sb-on-surface-variant);
  padding: 64px 0 24px;
  border-top: 1px solid var(--bs-border-color);
  margin-top: 0;
}
.site-footer .footer-brand {
  font-size: 22px;
  font-weight: 800;
  color: var(--sb-on-surface);
  letter-spacing: -0.02em;
}
.site-footer h6 {
  color: var(--sb-on-surface);
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}
.site-footer .footer-link {
  color: var(--sb-on-surface-variant);
  font-size: 14px;
  display: block;
  padding: 5px 0;
  transition: color 0.15s ease;
}
.site-footer .footer-link:hover { color: var(--sb-primary); }
.site-footer .footer-bottom {
  border-top: 1px solid var(--bs-border-color);
  padding-top: 24px;
  margin-top: 48px;
  font-size: 13px;
  color: var(--sb-on-surface-variant);
}

/* ---------- Comparison table (pricing) ---------- */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--bs-border-color);
  font-size: 14px;
}
.compare-table thead th {
  font-weight: 700;
  color: var(--sb-on-surface);
  background: var(--sb-light-gray);
  border-bottom: 2px solid var(--bs-border-color);
}
.compare-table tbody td:first-child { text-align: left; color: var(--sb-on-surface-variant); }
.compare-table .check { color: var(--sb-success); font-weight: 700; }

/* ---------- Accordion (FAQ) ---------- */
.accordion-item {
  border: 1px solid var(--bs-border-color);
  border-radius: var(--sb-radius-md) !important;
  margin-bottom: 8px;
  background: var(--sb-surface-container-lowest);
  overflow: hidden;
}
.accordion-button {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--sb-on-surface);
  background: var(--sb-surface-container-lowest);
  padding: 18px 22px;
  box-shadow: none !important;
  border-radius: var(--sb-radius-md) !important;
}
.accordion-button:not(.collapsed) { background: var(--sb-surface-container-lowest); color: var(--sb-primary); }
.accordion-button:focus { border-color: var(--sb-outline-variant); box-shadow: none; }
.accordion-body { padding: 0 22px 18px; color: var(--sb-on-surface-variant); font-size: 14px; }

/* ---------- Tabs / pills row (for blog filter) ---------- */
.pill-tabs { display: inline-flex; gap: 4px; background: var(--sb-surface-container-low); padding: 4px; border-radius: var(--sb-radius-pill); }
.pill-tabs .pill {
  padding: 8px 16px;
  border-radius: var(--sb-radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--sb-on-surface-variant);
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pill-tabs .pill:hover { color: var(--sb-on-surface); }
.pill-tabs .pill.active {
  background: var(--sb-surface-container-lowest);
  color: var(--sb-primary);
  box-shadow: var(--sb-shadow-sm);
}

/* ---------- Material-symbol-like icons (we use Bootstrap Icons primarily) ---------- */
.material-symbols-outlined { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1; display: inline-block; vertical-align: middle; }

/* ---------- Loading state on buttons ---------- */
.btn-loading { pointer-events: none; position: relative; color: transparent !important; }
.btn-loading::after {
  content: ""; position: absolute;
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  top: 50%; left: 50%;
  margin: -8px 0 0 -8px;
  color: #fff;
  animation: btnSpin 0.7s linear infinite;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }

/* ---------- Utilities ---------- */
.bg-light-gray { background: var(--sb-light-gray) !important; }
.bg-navy { background: var(--sb-navy) !important; color: #fff; }
.bg-primary-soft { background: rgba(75,120,209,0.08) !important; }
.text-primary { color: var(--sb-primary) !important; }
.text-navy { color: var(--sb-navy) !important; }
.text-on-surface { color: var(--sb-on-surface) !important; }
.text-on-surface-variant { color: var(--sb-on-surface-variant) !important; }
.rounded-sb-sm { border-radius: var(--sb-radius-sm) !important; }
.rounded-sb { border-radius: var(--sb-radius) !important; }
.rounded-sb-lg { border-radius: var(--sb-radius-lg) !important; }
.shadow-card { box-shadow: var(--sb-shadow-card) !important; }
.shadow-md-sb { box-shadow: var(--sb-shadow-md) !important; }

/* ---------- Print-on-Demand page ---------- */

/* Eyebrow variant — primary-fixed pill (also used by other landing pages) */
.eyebrow-fixed {
  background: var(--sb-primary-fixed) !important;
  color: var(--sb-on-primary-fixed-variant) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
  border: 0 !important;
  padding: 6px 14px;
}

/* Hero visual with soft glow behind product image */
.pod-hero { padding: clamp(48px, 8vw, 96px) 0; }
.pod-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.pod-hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 12%;
  background: radial-gradient(circle at 70% 30%, rgba(75, 120, 209, 0.18), transparent 60%);
  filter: blur(40px);
  z-index: 0;
}
.pod-hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(15, 23, 42, 0.18));
}

/* Fulfillment section — light surface */
.pod-fulfillment { background: var(--sb-surface-container-low); }
.pod-card-feature {
  background: var(--sb-surface-container-lowest);
  border: 1px solid var(--sb-outline-variant);
  border-radius: var(--sb-radius-lg);
  padding: 32px;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.pod-card-feature:hover {
  box-shadow: var(--sb-shadow-md);
  transform: translateY(-2px);
}
.pod-card-icon {
  width: 48px; height: 48px;
  background: var(--sb-primary-fixed);
  color: var(--sb-on-primary-fixed-variant);
  border-radius: var(--sb-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.pod-card-feature h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }

.pod-map {
  border-radius: var(--sb-radius-lg);
  overflow: hidden;
  border: 1px solid var(--sb-outline-variant);
  box-shadow: var(--sb-shadow-sm);
  height: 400px;
}
.pod-map img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* "Try Editor" button — secondary gray-blue */
.btn-secondary-sb {
  background: var(--sb-secondary);
  border-color: var(--sb-secondary);
  color: #fff;
  border-radius: var(--sb-radius);
  padding: 0.625rem 1.5rem;
  font-weight: 600;
}
.btn-secondary-sb:hover {
  background: #44486a;
  border-color: #44486a;
  color: #fff;
}

/* Bento grid — design tools */
.pod-bento .pod-bento-card {
  border-radius: var(--sb-radius-lg);
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pod-bento-card-large {
  background: var(--sb-surface-container);
  justify-content: space-between;
  gap: 32px;
  min-height: 460px;
}
.pod-bento-card-large h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; }
.pod-chip-soft {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(75, 120, 209, 0.12);
  color: var(--sb-primary);
  border-radius: var(--sb-radius-pill);
  font-size: 12px;
  font-weight: 600;
}
.pod-bento-image {
  flex: 1;
  border-radius: var(--sb-radius);
  overflow: hidden;
  border: 1px solid rgba(195, 198, 212, 0.4);
  background: rgba(255, 255, 255, 0.5);
  min-height: 200px;
}
.pod-bento-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pod-bento-card-primary {
  background: var(--sb-primary-deep);
  color: #fff;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 460px;
}
.pod-bento-card-primary h3 { color: #fff; font-size: 24px; font-weight: 700; }
.pod-bento-icon-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.pod-bento-card-muted {
  background: var(--sb-surface-container-high);
  min-height: 240px;
}
.pod-bento-icon {
  font-size: 28px;
  color: var(--sb-secondary);
}
.pod-bento-card-muted h4 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }

/* Light button on primary/dark background */
.btn-light-on-primary {
  background: #fff;
  border-color: #fff;
  color: var(--sb-primary-deep);
  border-radius: var(--sb-radius);
  padding: 0.75rem 1.75rem;
  font-weight: 600;
}
.btn-light-on-primary:hover {
  background: var(--sb-surface-container-low);
  border-color: var(--sb-surface-container-low);
  color: var(--sb-primary-deep);
}
.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  border-radius: var(--sb-radius);
  padding: 0.75rem 1.75rem;
  font-weight: 600;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

/* Image frame — quality standards */
.pod-image-frame {
  border-radius: var(--sb-radius-xl);
  overflow: hidden;
  box-shadow: var(--sb-shadow-lg);
}
.pod-image-frame img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

/* Checklist with icon pill */
.pod-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: var(--sb-radius-md);
  transition: background-color 0.15s ease;
}
.pod-checklist-item:hover { background: var(--sb-surface-container); }
.pod-checklist-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--sb-primary-fixed);
  color: var(--sb-on-primary-fixed-variant);
  border-radius: var(--sb-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.pod-checklist-item h5 { font-size: 16px; }

/* CTA — primary-container blue with blur accents */
.pod-cta {
  background: var(--sb-primary-container);
  color: #fff;
  border-radius: 32px;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 48px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pod-cta h2 {
  color: #fff;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pod-cta p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto;
}
.pod-cta-blur {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.pod-cta-blur-tl {
  background: rgba(255, 255, 255, 0.18);
  top: -120px; left: -120px;
}
.pod-cta-blur-br {
  background: rgba(213, 223, 255, 0.30);
  bottom: -120px; right: -120px;
  width: 400px; height: 400px;
}

/* ---------- Features page ---------- */

/* Hero — centered with mesh blob background */
.fe-hero { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 112px) 0; }
.fe-hero-blob {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.fe-hero-blob-tr {
  background: rgba(75, 120, 209, 0.08);
  top: -50%; right: -25%;
}
.fe-hero-blob-bl {
  background: rgba(84, 94, 121, 0.08);
  bottom: -50%; left: -25%;
}

/* Section heading variant — left-aligned, no center margin */
.fe-heading {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sb-on-surface);
  line-height: 1.2;
}

/* Image frame — soft surface container with padding */
.fe-image-frame {
  background: var(--sb-surface-container-low);
  border: 1px solid var(--sb-outline-variant);
  border-radius: var(--sb-radius-lg);
  padding: 16px;
  box-shadow: var(--sb-shadow-sm);
}
.fe-image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--sb-radius);
}

/* Marketing dashboard placeholder */
.fe-marketing-mock {
  aspect-ratio: 16 / 9;
  border-radius: var(--sb-radius);
  background: linear-gradient(135deg, rgba(75,120,209,0.10), rgba(84,94,121,0.10));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--sb-on-surface);
}
.fe-marketing-mock .bi { font-size: 64px; color: var(--sb-primary); }

/* Mini sub-feature card (Email Automation, Upsell etc.) */
.fe-mini-card {
  background: var(--sb-surface-container-lowest);
  border: 1px solid var(--sb-outline-variant);
  border-radius: var(--sb-radius-lg);
  padding: 20px;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.fe-mini-card:hover {
  box-shadow: var(--sb-shadow-sm);
  transform: translateY(-2px);
}
.fe-mini-icon {
  font-size: 24px;
  color: var(--sb-primary);
}
.fe-mini-card h5 { font-size: 18px; }

/* Circular icon container for store design list */
.fe-circle-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--sb-secondary-container);
  color: var(--sb-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* Store Design abstract mockup */
.fe-design-mock {
  position: relative;
  aspect-ratio: 1.6 / 1;
  border-radius: var(--sb-radius-lg);
  border: 1px solid var(--sb-outline-variant);
  background: var(--sb-surface-container-high);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fe-design-mock-page {
  width: 78%;
  height: 78%;
  background: var(--sb-surface-container-lowest);
  border-radius: var(--sb-radius);
  box-shadow: var(--sb-shadow-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fe-design-mock-bar {
  height: 28px;
  width: 35%;
  background: var(--sb-surface-variant);
  border-radius: var(--sb-radius-sm);
}
.fe-design-mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  flex: 1;
}
.fe-design-mock-grid > div {
  background: rgba(75, 120, 209, 0.06);
  border: 1px solid rgba(75, 120, 209, 0.20);
  border-radius: var(--sb-radius-sm);
}
.fe-design-mock-palette {
  position: absolute;
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
  width: 100px;
  height: 150px;
  background: var(--sb-secondary-container);
  border-radius: var(--sb-radius);
  box-shadow: var(--sb-shadow-md);
  padding: 8px;
}
.fe-design-mock-palette-inner {
  width: 100%; height: 100%;
  border: 2px dashed rgba(60, 70, 96, 0.30);
  border-radius: var(--sb-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3c4660;
  font-size: 22px;
}

/* CTA — full-width primary blue band */
.fe-cta {
  background: var(--sb-primary-deep);
  color: #fff;
  padding: clamp(64px, 9vw, 112px) 0;
}
.fe-cta-heading {
  color: #fff;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.fe-cta-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.55;
  max-width: 540px;
  margin: 0 auto;
}
.fe-cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--sb-primary-deep);
  padding: 16px 40px;
  border-radius: var(--sb-radius);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: var(--sb-shadow-md);
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.fe-cta-btn:hover {
  background: var(--sb-surface-bright);
  color: var(--sb-primary-deep);
  transform: translateY(-1px);
  box-shadow: var(--sb-shadow-lg);
}

/* ---------- Dropshipping page ---------- */

/* Pill chip with sparkle (secondary-container tone) */
.ds-pill {
  padding: 6px 14px;
  background: var(--sb-secondary-container);
  color: #3c4660;
  border-radius: var(--sb-radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  width: fit-content;
}
.ds-pill .bi { font-size: 14px; }

/* Hero visual with gradient blob behind framed dashboard */
.ds-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 48px); }
.ds-hero-visual { position: relative; }
.ds-hero-glow {
  position: absolute;
  inset: -10% -10%;
  background: radial-gradient(circle at 70% 40%, var(--sb-primary-fixed), rgba(213,223,255,0.3) 50%, transparent 75%);
  filter: blur(40px);
  opacity: 0.55;
  z-index: 0;
}
.ds-hero-frame {
  position: relative;
  z-index: 1;
  background: var(--sb-surface-container-lowest);
  border: 1px solid var(--sb-outline-variant);
  padding: 16px;
  border-radius: var(--sb-radius-lg);
  box-shadow: var(--sb-shadow-lg);
}
.ds-hero-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--sb-radius);
}

/* Bento section background */
.ds-bento-section { background: var(--sb-surface-container-low); }

/* Bento cards — base */
.ds-bento .ds-bento-card {
  border-radius: var(--sb-radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.ds-bento .ds-bento-card h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; margin: 0; }

/* Card: Winning Product Research (large white) */
.ds-bento-card-research {
  background: var(--sb-surface-container-lowest);
  border: 1px solid var(--sb-outline-variant);
  justify-content: space-between;
  min-height: 380px;
}
.ds-bento-icon-xl { font-size: 48px; color: var(--sb-primary); }
.ds-bento-image-slide {
  border-radius: var(--sb-radius);
  overflow: hidden;
  box-shadow: var(--sb-shadow-md);
  transform: translateY(8px);
  transition: transform 0.4s ease;
}
.ds-bento-card-research:hover .ds-bento-image-slide { transform: translateY(0); }
.ds-bento-image-slide img { width: 100%; height: auto; display: block; max-height: 220px; object-fit: cover; }

/* Card: Instant Inventory Sync (primary container blue) */
.ds-bento-card-sync {
  background: var(--sb-primary-container);
  color: #fff;
  min-height: 380px;
}
.ds-bento-card-sync h3 { color: #fff; }
.ds-bento-icon-md { font-size: 32px; color: #fff; }
.ds-bento-cloud-badge {
  display: flex;
  justify-content: center;
}
.ds-bento-cloud-circle {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  color: #fff;
}

/* Card: High-Conversion Templates (dark navy) */
.ds-bento-card-storefront {
  background: #101b32;
  color: #fff;
  min-height: 240px;
}
.ds-bento-card-storefront h3 { color: #fff; }
.ds-bento-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--sb-secondary-container);
}
.ds-bento-bar {
  flex: 1;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--sb-radius-sm);
}

/* Card: One-Click Fulfillment (white surface) */
.ds-bento-card-fulfill {
  background: var(--sb-surface-bright);
  border: 1px solid var(--sb-outline-variant);
  min-height: 240px;
  justify-content: center;
}
.ds-bento-rotor {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 160px;
  margin: 0 auto;
  background: var(--sb-surface-container-high);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: var(--sb-primary);
}
.ds-bento-rotor::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(75, 120, 209, 0.25);
  border-radius: 50%;
  animation: ds-spin-slow 18s linear infinite;
}
@keyframes ds-spin-slow {
  to { transform: rotate(360deg); }
}

/* Section: Store Templates */
.ds-link-primary {
  color: var(--sb-primary);
  font-weight: 600;
  text-decoration: none;
}
.ds-link-primary:hover { color: var(--sb-primary-deep); text-decoration: underline; }

.ds-template-card {
  background: var(--sb-surface-container-lowest);
  border: 1px solid var(--sb-outline-variant);
  border-radius: var(--sb-radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.ds-template-card:hover { box-shadow: var(--sb-shadow-md); transform: translateY(-2px); }
.ds-template-img {
  aspect-ratio: 4 / 3;
  background: var(--sb-surface-container);
  overflow: hidden;
}
.ds-template-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.ds-template-card:hover .ds-template-img img { transform: scale(1.06); }
.ds-template-body { padding: 20px 24px 24px; }
.ds-template-body h4 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.ds-template-btn {
  display: block;
  width: 100%;
  padding: 10px 16px;
  text-align: center;
  background: var(--sb-surface-container);
  color: var(--sb-on-surface);
  border-radius: var(--sb-radius);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.ds-template-btn:hover {
  background: var(--sb-primary);
  color: #fff;
}

/* Template badges */
.ds-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: var(--sb-radius-sm);
  white-space: nowrap;
}
.ds-badge-secondary { background: var(--sb-secondary-container); color: #3c4660; }
.ds-badge-tertiary  { background: var(--sb-tertiary-container); color: #fcfcff; }
.ds-badge-primary   { background: var(--sb-primary-container); color: #fff; }

/* CTA — primary deep blue with rounded 32px */
.ds-cta {
  background: var(--sb-primary-deep);
  color: #fff;
  border-radius: 32px;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 48px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ds-cta h2 {
  color: #fff;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.ds-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  line-height: 1.55;
  max-width: 540px;
  margin: 0 auto;
}
.ds-cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.10), transparent 60%);
  pointer-events: none;
}
.ds-cta-btn {
  padding: 14px 36px;
  border-radius: var(--sb-radius-pill);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}
.ds-cta-btn-primary {
  background: #fff;
  color: var(--sb-primary-deep);
  box-shadow: var(--sb-shadow-md);
}
.ds-cta-btn-primary:hover {
  background: var(--sb-surface-container-low);
  color: var(--sb-primary-deep);
  transform: translateY(-1px);
}
.ds-cta-btn-ghost {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: #fff;
  backdrop-filter: blur(8px);
}
.ds-cta-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.20);
  color: #fff;
}
.ds-cta-trust {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin-top: 16px;
}

/* ---------- About page ---------- */
.about-hero { padding-bottom: 0; }
.about-hero .hero-title { font-size: clamp(40px, 6vw, 64px); }
.about-hero-image {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--sb-radius-lg);
  overflow: hidden;
  box-shadow: var(--sb-shadow-sm);
}
.about-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.about-mv { background: var(--sb-surface-container-low); }
.about-card {
  background: var(--sb-surface-container-lowest);
  border: 1px solid var(--sb-outline-variant);
  border-radius: var(--sb-radius-lg);
  padding: 48px;
  box-shadow: var(--sb-shadow-sm);
}
.about-card-icon {
  width: 56px; height: 56px;
  border-radius: var(--sb-radius);
  background: rgba(75, 120, 209, 0.10);
  color: var(--sb-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.about-card h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; }

.about-stats { padding: 16px 0; }
.about-stat { padding: 24px 16px; }
.about-stat-value {
  font-family: "Inter", sans-serif;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--sb-primary);
  margin-bottom: 8px;
}
.about-stat-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sb-on-surface-variant);
}
@media (min-width: 768px) {
  .about-stat:not(:last-child) {
    border-right: 1px solid var(--sb-outline-variant);
  }
}

.about-team { background: var(--sb-surface-container-high); }
.team-card {
  background: var(--sb-surface-container-lowest);
  border: 1px solid var(--sb-outline-variant);
  border-radius: var(--sb-radius-lg);
  overflow: hidden;
  box-shadow: var(--sb-shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.team-card:hover { box-shadow: var(--sb-shadow-card); transform: translateY(-2px); }
.team-card-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sb-light-gray);
}
.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.team-card:hover .team-card-img img { transform: scale(1.05); }
.team-card-body { padding: 20px 24px; }
.team-card-body h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--sb-on-surface);
}
.team-card-body p {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sb-primary);
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
  .top-nav { display: none !important; }
  .pricing-card.featured { transform: none; }
  .about-card { padding: 32px 28px; }
}

/* ============================================================================
   ACCOUNT — PROFILE (Monolith Luxury, scoped to .bb-acct-*)
   Font Manrope/Hanken Grotesk nạp qua <link> trong account-index.liquid.
   ============================================================================ */
.bb-acct {
  --acc-primary: #010101;
  --acc-on-primary: #ffffff;
  --acc-surface: #ffffff;
  --acc-surface-subtle: #F8F8F8;
  --acc-border: #EFEFEF;
  --acc-on-surface: #1a1c1c;
  --acc-on-surface-variant: #444748;
  --acc-text-muted: #757575;
  --acc-outline: #747878;
  --acc-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --acc-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--acc-surface);
  padding: 48px 0 96px;
  font-family: var(--acc-body);
  color: var(--acc-on-surface);
}
.bb-acct *, .bb-acct *::before, .bb-acct *::after { border-radius: 0 !important; box-shadow: none; }

.bb-acct-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 992px) {
  .bb-acct-grid { grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
}

/* sidebar */
.bb-acct-side {
  background: var(--acc-surface-subtle);
  border: 1px solid var(--acc-border);
  padding: 32px 0;
}
.bb-acct-side-head { padding: 0 28px 24px; border-bottom: 1px solid var(--acc-border); margin-bottom: 16px; }
.bb-acct-side-title {
  font-family: var(--acc-display);
  font-weight: 300;
  font-size: 24px;
  margin: 0 0 4px;
  color: var(--acc-primary);
}
.bb-acct-side-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--acc-text-muted);
}
.bb-acct-side-nav { display: flex; flex-direction: column; }
.bb-acct-side-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  color: var(--acc-on-surface-variant);
  font-size: 14px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.bb-acct-side-link:hover { background: #ECECEC; color: var(--acc-primary); }
.bb-acct-side-link.is-active {
  background: #E8E8E8;
  color: var(--acc-primary);
  font-weight: 600;
}
.bb-acct-side-ico { width: 18px; display: inline-flex; justify-content: center; font-size: 16px; }

/* main */
.bb-acct-main { min-width: 0; }
.bb-acct-head { margin-bottom: 40px; }
.bb-acct-title {
  font-family: var(--acc-display);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.01em;
  color: var(--acc-primary);
  margin: 0 0 12px;
}
.bb-acct-rule { width: 96px; height: 1px; background: var(--acc-primary); }

.bb-acct-form { display: flex; flex-direction: column; gap: 48px; max-width: 640px; }
.bb-acct-grid2 { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 640px) {
  .bb-acct-grid2 { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.bb-acct-group { display: flex; flex-direction: column; gap: 8px; }
.bb-acct-label {
  font-family: var(--acc-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--acc-text-muted);
}
.bb-acct-input,
.bb-acct-select {
  border: 0;
  border-bottom: 1px solid var(--acc-border);
  background: transparent;
  padding: 12px 0;
  font-family: var(--acc-body);
  font-size: 16px;
  color: var(--acc-on-surface);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.bb-acct-input:focus,
.bb-acct-select:focus {
  outline: 0;
  box-shadow: none;
  border-bottom: 2px solid var(--acc-primary);
  color: var(--acc-primary);
}
.bb-acct-input[readonly] { color: var(--acc-text-muted); }
.bb-acct-select {
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
}

.bb-acct-section { padding-top: 40px; border-top: 1px solid var(--acc-border); display: flex; flex-direction: column; gap: 24px; }
.bb-acct-section-head { display: flex; justify-content: space-between; align-items: flex-end; }
.bb-acct-section-title {
  font-family: var(--acc-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--acc-primary);
  margin: 0 0 6px;
}
.bb-acct-section-sub { color: var(--acc-text-muted); font-size: 14px; margin: 0; }
.bb-acct-grid3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) {
  .bb-acct-grid3 { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
}

/* actions */
.bb-acct-actions { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }
@media (min-width: 640px) { .bb-acct-actions { flex-direction: row; gap: 16px; } }
.bb-acct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 48px;
  font-family: var(--acc-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: 1px solid var(--acc-primary);
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
}
.bb-acct-btn-primary { background: var(--acc-primary); color: var(--acc-on-primary); }
.bb-acct-btn-primary:hover { background: var(--acc-surface); color: var(--acc-primary); }
.bb-acct-btn-ghost { background: transparent; color: var(--acc-primary); }
.bb-acct-btn-ghost:hover { background: var(--acc-primary); color: var(--acc-on-primary); }

/* alerts */
.bb-acct-alert { padding: 12px 16px; font-size: 13px; letter-spacing: .03em; border: 1px solid; margin-bottom: 16px; }
.bb-acct-alert-ok { color: #085e16; border-color: #085e16; background: transparent; }
.bb-acct-alert-err { color: #bb0213; border-color: #bb0213; background: transparent; }

/* bento — Member Benefit + Elite Status */
.bb-acct-bento { margin-top: 80px; display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 992px) { .bb-acct-bento { grid-template-columns: 2fr 1fr; } }
.bb-acct-bento-img { position: relative; aspect-ratio: 2 / 1; overflow: hidden; }
.bb-acct-bento-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.bb-acct-bento-img:hover img { transform: scale(1.05); }
.bb-acct-bento-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.06);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 40px;
  color: #fff;
}
.bb-acct-bento-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.bb-acct-bento-title { font-family: var(--acc-display); font-weight: 400; font-size: 22px; margin: 0; }
.bb-acct-bento-card { background: var(--acc-surface-subtle); border: 1px solid var(--acc-border); padding: 40px; display: flex; flex-direction: column; }
.bb-acct-bento-icon { font-size: 28px; color: var(--acc-primary); margin-bottom: 24px; }
.bb-acct-bento-card-title { font-family: var(--acc-display); font-weight: 400; font-size: 22px; color: var(--acc-primary); margin: 0 0 16px; }
.bb-acct-bento-card-text { color: var(--acc-text-muted); font-size: 15px; margin: 0 0 32px; }
.bb-acct-bento-link { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--acc-primary); text-decoration: underline; text-underline-offset: 4px; }

/* ============================================================================
   ACCOUNT — ORDERS (re-use .bb-acct-* tokens; add orders-specific styling)
   ============================================================================ */
.bb-acct-side-foot { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--acc-border); }
.bb-acct-side-signout { color: var(--acc-text-muted); }
.bb-acct-side-signout:hover { color: var(--acc-primary); background: transparent; }

.bb-acct-orders-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.bb-acct-sort {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--acc-border);
  background: var(--acc-surface);
}
.bb-acct-sort-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--acc-text-muted);
}
.bb-acct-sort-select {
  border: 0;
  background: transparent;
  font-family: var(--acc-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--acc-primary);
  cursor: pointer;
  padding-right: 16px;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 6px) 50%, calc(100% - 2px) 50%;
  background-size: 4px 4px;
  background-repeat: no-repeat;
}
.bb-acct-sort-select:focus { outline: 0; }

.bb-acct-orders-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 64px;
}
@media (min-width: 1100px) {
  .bb-acct-orders-row { grid-template-columns: 2fr 1fr; gap: 48px; }
}

/* empty state */
.bb-acct-empty {
  background: var(--acc-surface);
  border: 1px solid var(--acc-border);
  padding: 80px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.bb-acct-empty-ico {
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--acc-text-muted);
  background: var(--acc-surface-subtle);
}
.bb-acct-empty-title {
  font-family: var(--acc-body);
  font-weight: 600;
  font-size: 20px;
  color: var(--acc-primary);
  margin: 8px 0 0;
}
.bb-acct-empty-sub {
  color: var(--acc-text-muted);
  font-size: 15px;
  max-width: 360px;
  margin: 0 0 16px;
  line-height: 1.6;
}

/* order list card */
.bb-acct-order-cards { display: flex; flex-direction: column; gap: 16px; }
.bb-acct-order {
  border: 1px solid var(--acc-border);
  padding: 24px 28px;
  background: var(--acc-surface);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bb-acct-order-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bb-acct-order-num {
  font-family: var(--acc-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--acc-primary);
}
.bb-acct-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid currentColor;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.bb-acct-chip-processing { color: var(--acc-on-surface-variant); }
.bb-acct-chip-fulfillment { color: #085e16; }
.bb-acct-chip-cancel { color: var(--acc-text-muted); }
.bb-acct-chip-refund { color: #bb0213; }
.bb-acct-chip-pending { color: var(--acc-on-surface-variant); }

.bb-acct-order-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
  padding-top: 12px;
  border-top: 1px solid var(--acc-border);
}
.bb-acct-order-ship { grid-column: 1 / -1; }
.bb-acct-order-meta-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--acc-text-muted);
  margin-bottom: 4px;
}
.bb-acct-order-meta-val {
  display: block;
  font-size: 14px;
  color: var(--acc-on-surface);
}
.bb-acct-order-actions { display: flex; gap: 24px; padding-top: 8px; border-top: 1px solid var(--acc-border); }

.bb-acct-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--acc-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.bb-acct-link:hover { color: var(--acc-text-muted); }

/* right info cards */
.bb-acct-orders-side { display: flex; flex-direction: column; gap: 16px; }
.bb-acct-info-card {
  background: var(--acc-surface-subtle);
  border: 1px solid var(--acc-border);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bb-acct-info-ico {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--acc-primary);
  background: var(--acc-surface);
  border: 1px solid var(--acc-border);
}
.bb-acct-info-title {
  font-family: var(--acc-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--acc-primary);
  margin: 8px 0 0;
}
.bb-acct-info-text { color: var(--acc-text-muted); font-size: 14px; margin: 0; line-height: 1.6; }

/* recommended grid */
.bb-acct-recommend { padding-top: 64px; border-top: 1px solid var(--acc-border); }
.bb-acct-recommend-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}
.bb-acct-recommend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (min-width: 992px) {
  .bb-acct-recommend-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Header — logged-in icon link (square pill, override .header-account-btn defaults) */
.header-account-link {
  width: 36px;
  padding: 0 !important;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}
.header-account-link .bi { font-size: 16px; line-height: 1; }

/* === CMS page-content policy scale (2026-07-07) === */
.ql-editor.page-content { font-size: 16px; line-height: 1.7; color: var(--sb-on-surface); }
.ql-editor.page-content > :first-child { margin-top: 0; }
.ql-editor.page-content p,
.ql-editor.page-content ul,
.ql-editor.page-content ol,
.ql-editor.page-content blockquote,
.ql-editor.page-content table { margin: 0 0 1.15em; font-size: 16px; line-height: 1.7; }
.ql-editor.page-content h2 { font-size: 1.5rem;  font-weight: 700; line-height: 1.3;  margin: 2em 0 .6em; letter-spacing: -0.01em; }
.ql-editor.page-content h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.35; margin: 1.6em 0 .5em; }
.ql-editor.page-content h4 { font-size: 1.05rem; font-weight: 600; line-height: 1.4;  margin: 1.4em 0 .4em; }
.ql-editor.page-content ul,
.ql-editor.page-content ol { padding-left: 1.4em; }
.ql-editor.page-content li { margin-bottom: .4em; line-height: 1.7; }
.ql-editor.page-content li:last-child { margin-bottom: 0; }
.ql-editor.page-content a { text-decoration: underline; }
/* === end CMS page-content policy scale === */