/*
 * RHEA SKINLAB website
 * Recreated from scratch for Laravel Blade + Bootstrap 5
 */
:root {
  --primary: #0b7a5a;
  --primary-rgb: 11 122 90;
  --primary-hover: #09664c;
  --primary-soft: #ebf4f2;
  --secondary: #c7a55b;
  --secondary-rgb: 199 165 91;
  --secondary-soft: #faf6ed;
  --secondary-hover: #ad8e4e;

  --ink: #21362e;
  --muted: #65736c;
  --line: #dfeae4;
  --surface: #ffffff;
  --canvas: #f8fbf9;
  --tone-caution: #f0a500;
  --tone-critical: #e51c38;
  --tone-positive: #0b7a5a;
  --shadow: 0 14px 38px rgba(20, 74, 56, .09);
  --shadow-sm: 0 8px 24px rgba(20, 74, 56, .07);
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Be Vietnam Pro", "Segoe UI", sans-serif;

  /* Token derived from the active frontend palette. */
  --on-brand: #fff;
  --primary-wash: color-mix(in srgb, var(--primary) 7%, var(--surface));
  --primary-pale: color-mix(in srgb, var(--primary) 18%, var(--surface));
  --primary-light: color-mix(in srgb, var(--primary) 32%, var(--surface));
  --primary-vivid: color-mix(in srgb, var(--primary) 82%, var(--surface));
  --primary-strong: color-mix(in srgb, var(--primary) 78%, var(--ink));
  --primary-deep: color-mix(in srgb, var(--primary) 60%, var(--ink));
  --secondary-pale: color-mix(in srgb, var(--secondary) 12%, var(--surface));
  --brand-eyebrow: color-mix(in srgb, var(--primary) 25%, var(--surface));
  --brand-quote: color-mix(in srgb, var(--primary) 40%, var(--surface));
  --brand-topbar-start: color-mix(in srgb, var(--secondary) 60%, var(--surface));
  --brand-topbar-middle: color-mix(in srgb, var(--primary) 55%, var(--secondary));
  --brand-topbar-end: color-mix(in srgb, var(--primary) 65%, var(--surface));
  --brand-dark: color-mix(in srgb, var(--ink) 68%, var(--primary));
  --brand-dark-secondary: color-mix(in srgb, var(--ink) 45%, var(--primary));

  --primary-color: var(--primary);
  --primary-hover-color: var(--primary-hover);
  --secondary-color: var(--secondary);
  --secondary-hover-color: var(--secondary-hover);

  --bs-primary: var(--primary);
  --bs-primary-rgb: 11, 122, 90;
  --bs-secondary: var(--secondary);
  --bs-secondary-rgb: 199, 165, 91;
}

/* SePay QR payment */
.sepay-payment-card{max-width:920px;border:1px solid color-mix(in srgb,var(--bs-primary) 12%,transparent)}
.sepay-kicker{display:inline-flex;align-items:center;padding:.45rem .8rem;border-radius:999px;background:color-mix(in srgb,var(--bs-primary) 10%,white);color:var(--bs-primary);font-size:.82rem;font-weight:700}
.sepay-qr-wrap{display:inline-flex;padding:.75rem;border-radius:1.25rem;background:#fff;border:1px solid rgba(17,24,39,.1);box-shadow:0 14px 40px rgba(17,24,39,.08)}
.sepay-qr-wrap img{display:block;width:min(100%,320px);height:auto;aspect-ratio:1;object-fit:contain}
.sepay-waiting-status{display:inline-flex;align-items:center;gap:.5rem;font-weight:700;color:#8a5d00}
.sepay-waiting-status span{width:.65rem;height:.65rem;border-radius:50%;background:#f0a500;box-shadow:0 0 0 .35rem rgba(240,165,0,.16);animation:sepayPulse 1.5s infinite}
@keyframes sepayPulse{50%{box-shadow:0 0 0 .6rem rgba(240,165,0,0)}}
@media(max-width:575.98px){.sepay-payment-card{padding:1.15rem}.sepay-qr-wrap{padding:.5rem}}

html { scroll-behavior: smooth; font-size: 15px; }
body {
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
img { max-width: 100%; }
::selection { color: #fff; background: var(--primary); }

.container { --bs-gutter-x: 1.5rem; }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-positive { color: var(--tone-positive) !important; }
.text-caution { color: var(--tone-caution) !important; }
.text-critical { color: var(--tone-critical) !important; }
.bg-positive { color: #fff !important; background-color: var(--tone-positive) !important; }
.bg-caution { color: #3a3024 !important; background-color: var(--tone-caution) !important; }
.bg-critical { color: #fff !important; background-color: var(--tone-critical) !important; }
.bg-soft { background: var(--canvas); }
.section-space { padding-block: 58px; }
.section-space-sm { padding-block: 38px; }
.object-fit-cover { object-fit: cover; }
.fw-black { font-weight: 800; }
.letter-spacing { letter-spacing: .1em; }

.btn {
  --bs-btn-font-weight: 700;
  --bs-btn-border-radius: 999px;
  --bs-btn-padding-x: 1.35rem;
  --bs-btn-padding-y: .7rem;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary-hover);
  --bs-btn-hover-border-color: var(--primary-hover);
  --bs-btn-active-bg: var(--primary-hover);
  --bs-btn-active-border-color: var(--primary-hover);
  --bs-btn-disabled-bg: var(--primary-light);
  --bs-btn-disabled-border-color: var(--primary-light);
  box-shadow: 0 9px 22px rgb(var(--primary-rgb) / .18);
}
.btn-outline-critical {
  --bs-btn-color: var(--tone-critical);
  --bs-btn-border-color: var(--tone-critical);
  --bs-btn-hover-bg: var(--tone-critical);
  --bs-btn-hover-border-color: var(--tone-critical);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #b81a31;
  --bs-btn-active-border-color: #b81a31;
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-color: #f4a4b0;
  --bs-btn-disabled-border-color: #f4a4b0;
}
.btn-outline-primary {
  --bs-btn-color: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary);
  --bs-btn-hover-border-color: var(--primary);
  --bs-btn-active-bg: var(--primary-hover);
  --bs-btn-active-border-color: var(--primary-hover);
}
.alert-positive {
  --bs-alert-color: #0d4e34;
  --bs-alert-bg: #e7f6ee;
  --bs-alert-border-color: #b9e4cf;
}
.alert-critical {
  --bs-alert-color: #6f1123;
  --bs-alert-bg: #fde8ec;
  --bs-alert-border-color: #f4bcc7;
}
.btn-secondary {
  --bs-btn-bg: var(--secondary);
  --bs-btn-border-color: var(--secondary);
  --bs-btn-hover-bg: var(--secondary-hover);
  --bs-btn-hover-border-color: var(--secondary-hover);
}
.btn-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
}
.form-control, .form-select {
  border-color: var(--line);
  border-radius: 12px;
  min-height: 46px;
}
.form-control:focus, .form-select:focus {
  border-color: rgb(var(--primary-rgb) / .55);
  box-shadow: 0 0 0 .25rem rgb(var(--primary-rgb) / .1);
}

/* Header */
.site-topbar {
  min-height: 34px;
  color: var(--on-brand);
  background: linear-gradient(90deg, var(--brand-topbar-start) 0%, var(--brand-topbar-middle) 52%, var(--brand-topbar-end) 100%);
  font-size: 12.5px;
}
.site-topbar a { color: var(--on-brand); opacity: .94; }
.site-topbar a:hover { opacity: 1; text-decoration: underline; }
.topbar-separator { opacity: .55; margin-inline: 10px; }

.site-header-main {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding-block: 14px;
}
.site-logo { display: inline-block; width: 225px; max-width: 100%; }
.site-logo img { width: 100%; height: auto; display: block; }
.header-search { position: relative; }
.header-search .form-control {
  height: 48px;
  padding: 0 58px 0 19px;
  border: 1px solid var(--line);
  background: #fbfafc;
  border-radius: 999px;
  font-size: 14px;
}
.header-search .btn {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: none;
}
.header-action {
  min-width: 69px;
  color: var(--ink);
  text-align: center;
  position: relative;
}
.header-action-icon {
  width: 39px;
  height: 39px;
  margin: 0 auto 2px;
  display: grid;
  place-items: center;
  border: 1px solid #ebe8ee;
  border-radius: 50%;
  font-size: 19px;
  transition: .2s ease;
}
.header-action:hover .header-action-icon {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}
.header-action-label { display: block; font-size: 11px; white-space: nowrap; }
.header-action .badge-count {
  position: absolute;
  top: -4px;
  right: 9px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border: 2px solid #fff;
  border-radius: 10px;
  font-size: 10px;
  line-height: 1;
}
.hotline-box { min-width: 145px; }
.hotline-box .hotline-icon {
  width: 44px;
  height: 44px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 21px;
}
.hotline-box small { color: var(--muted); font-size: 11px; }
.hotline-box strong { color: var(--primary); font-size: 14px; }

.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(36, 26, 43, .025);
}
.site-navbar.is-sticky {
  animation: site-slide-down .25s ease;
  box-shadow: 0 8px 28px rgba(49, 31, 58, .08);
}
@keyframes site-slide-down { from { transform: translateY(-12px); opacity: .75; } to { transform: translateY(0); opacity: 1; } }
.site-navbar .navbar { --bs-navbar-padding-y: 0; }
.site-navbar .nav-link {
  color: var(--ink);
  padding: 16px 19px !important;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
}
.site-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  transform: scaleX(0);
  transition: transform .2s ease;
}
.site-navbar .nav-link:hover::after,
.site-navbar .nav-link.active::after { transform: scaleX(1); }
.site-navbar .nav-link.active { color: var(--primary); }
.navbar-category-trigger {
  min-width: 205px;
  color: #fff !important;
  background: var(--primary);
  border-radius: 0;
}
.navbar-category-trigger::after { display: none; }

.mega-menu {
  left: 0;
  right: 0;
  top: calc(100% - 1px);
  width: min(1140px, calc(100vw - 48px));
  padding: 24px;
  border: 0;
  border-radius: 0 0 18px 18px;
  box-shadow: var(--shadow);
}
.mega-title { font-size: 14px; font-weight: 800; margin-bottom: 10px; }
.mega-link {
  color: var(--muted);
  display: block;
  padding: 4px 0;
  font-size: 13.5px;
}
.mega-link:hover { color: var(--primary); padding-left: 3px; }
.category-mega-menu {
  max-height: min(680px, calc(100vh - 180px));
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--line) transparent;
  scrollbar-width: thin;
}
.category-mega-menu::-webkit-scrollbar { width: 8px; }
.category-mega-menu::-webkit-scrollbar-track { background: transparent; }
.category-mega-menu::-webkit-scrollbar-thumb { background: var(--line); border: 2px solid #fff; border-radius: 999px; }
.mega-category-layout {
  display: grid;
  grid-template-columns: minmax(240px, 28%) 1fr;
  min-height: 360px;
}
.mega-category-tabs {
  padding: 14px 0;
  background: #f8f6f9;
  border-right: 1px solid var(--line);
}
.mega-category-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 10px 18px;
  color: var(--ink);
  border-left: 3px solid transparent;
  font-size: 13.5px;
  font-weight: 750;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.mega-category-tab:hover,
.mega-category-tab:focus,
.mega-category-tab.is-active {
  color: var(--primary);
  background: #fff;
  border-left-color: var(--primary);
}
.mega-category-tab > .bi { flex: 0 0 auto; font-size: 12px; }
.mega-category-panels { padding: 28px 30px; background: #fff; }
.mega-category-panel { display: none; }
.mega-category-panel.is-active { display: block; animation: mega-panel-in .18s ease; }
@keyframes mega-panel-in { from { opacity: 0; transform: translateX(5px); } to { opacity: 1; transform: translateX(0); } }
.mega-panel-title { color: var(--ink); font-size: 19px; font-weight: 850; }
.mega-panel-title:hover,
.mega-panel-all:hover { color: var(--primary); }
.mega-panel-all { color: var(--muted); font-size: 12.5px; font-weight: 700; }
.mega-child-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 28px; }
.mega-child-group { min-width: 0; }
.mega-child-title { display: block; margin-bottom: 7px; color: var(--ink); font-size: 14px; font-weight: 800; }
.mega-child-title:hover { color: var(--primary); }
@media (min-width: 992px) {
  .nav-item.dropdown:hover > .dropdown-menu,
  .nav-item.dropdown:focus-within > .dropdown-menu { display: block; margin-top: 0; }
  .site-navbar .dropdown-submenu { position: relative; }
  .site-navbar .dropdown-submenu-menu {
    top: -8px;
    left: calc(100% - 4px);
    min-width: 220px;
    margin: 0;
  }
  .site-navbar .dropdown-submenu:hover > .dropdown-submenu-menu,
  .site-navbar .dropdown-submenu:focus-within > .dropdown-submenu-menu { display: block; }
}

.mobile-header { background: #fff; border-bottom: 1px solid var(--line); padding-block: 9px; }
.mobile-header .site-logo { width: 155px; }
.mobile-trigger {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 19px;
  position: relative;
}
.mobile-trigger .badge-count {
  position: absolute;
  right: -4px;
  top: -5px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border-radius: 9px;
  font-size: 9px;
}

/* Breadcrumb */
.breadcrumb-wrap { background: var(--canvas); border-bottom: 1px solid var(--line); }
.breadcrumb { margin: 0; padding-block: 12px; font-size: 13px; }
.breadcrumb-item + .breadcrumb-item::before { color: #aaa4af; content: "›"; }
.breadcrumb-item.active { color: var(--muted); }

/* Hero */
.home-hero { background: #fff; }
.home-hero-swiper { width: 100%; overflow: hidden; background: var(--canvas); }
.home-hero-swiper .swiper-slide,
.home-hero-fallback { position: relative; height: clamp(450px, 37.5vw, 720px); }
.home-hero-fallback { overflow: hidden; background: linear-gradient(135deg, var(--secondary-pale), var(--brand-dark)); }
.home-hero-image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 65% center; }
.home-hero-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(20, 36, 28, .86), rgba(20, 36, 28, .63) 43%, rgba(20, 36, 28, .18) 70%, transparent 90%); }
.home-hero-caption {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: auto;
  bottom: auto;
  left: max(7vw, calc((100vw - 1140px) / 2));
  width: min(560px, 42vw);
  padding: 0;
  text-align: left;
  transform: translateY(-50%);
}
.home-hero-caption h1,
.home-hero-caption h2 { margin-bottom: 14px; color: #fff; font-size: clamp(30px, 3.4vw, 52px); font-weight: 800; line-height: 1.12; text-shadow: 0 2px 20px rgba(0, 0, 0, .18); }
.home-hero-caption p { margin-bottom: 24px; color: rgba(255, 255, 255, .9); font-size: clamp(14px, 1.25vw, 18px); }
.home-hero-prev,
.home-hero-next {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(23, 17, 27, .32);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  font-size: 19px;
  transform: translateY(-50%);
  transition: background-color .2s ease, transform .2s ease;
}
.home-hero-prev { left: 24px; }
.home-hero-next { right: 24px; }
.home-hero-prev:hover,
.home-hero-next:hover { background: var(--primary); transform: translateY(-50%) scale(1.04); }
.home-hero-swiper .swiper-pagination { z-index: 4; bottom: 18px; }
.home-hero-swiper .swiper-pagination-bullet { width: 28px; height: 4px; margin: 0 4px; background: rgba(255, 255, 255, .72); border-radius: 999px; opacity: 1; }
.home-hero-swiper .swiper-pagination-bullet-active { background: var(--primary); }

/* Homepage promotion CTA */
.home-promotion-cta {
  position: relative;
  min-height: clamp(300px, 29vw, 430px);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(30px, 5vw, 72px);
  border-radius: 24px;
  background: var(--brand-dark);
  box-shadow: 0 18px 45px rgb(var(--primary-rgb) / .16);
}
.home-promotion-cta__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-promotion-cta__shade { position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 88%, var(--primary)), color-mix(in srgb, var(--ink) 70%, var(--primary)) 53%, transparent); }
.home-promotion-cta__content { position: relative; z-index: 1; max-width: min(570px, 58%); color: #fff; }
.home-promotion-cta__eyebrow,
.home-lead-eyebrow { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 13px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.home-promotion-cta__eyebrow { color: var(--brand-eyebrow); }
.home-promotion-cta__content h2 { margin: 0 0 12px; color: #fff; font-size: clamp(27px, 3.1vw, 42px); font-weight: 900; line-height: 1.16; }
.home-promotion-cta__content p { max-width: 500px; margin: 0 0 24px; color: rgba(255, 255, 255, .9); font-size: 16px; line-height: 1.65; }

/* Testimonials and lead form */
.home-testimonials-section { background: linear-gradient(180deg, #fff, var(--canvas)); }
.home-testimonials-swiper { position: relative; width: 100%; overflow: hidden; padding: 4px 0; }
.home-testimonials-swiper--interactive { padding: 4px 50px 52px; }
.home-testimonials-swiper .swiper-wrapper { align-items: stretch; height: auto; }
.home-testimonials-swiper .swiper-slide { height: auto; display: flex; align-items: stretch; }
.home-testimonial-card { display: flex; flex-direction: column; width: 100%; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 32px rgb(var(--primary-rgb) / .07); }
.home-testimonial-image { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: cover; }
.home-testimonial-card__content { display: flex; flex: 1; flex-direction: column; padding: clamp(24px, 4vw, 42px); }
.home-testimonial-video-link { display: block; position: relative; overflow: hidden; border-radius: 12px; }
.home-testimonial-video { width: 100%; max-height: 240px; display: block; object-fit: cover; background: #111; border-radius: 12px; transition: transform .25s ease; }
.home-testimonial-video-link:hover .home-testimonial-video { transform: scale(1.02); }
.home-testimonial-video-play { position: absolute; inset: 50% auto auto 50%; display: grid; width: 48px; height: 48px; place-items: center; color: #fff; background: rgb(0 0 0 / .58); border: 1px solid rgb(255 255 255 / .7); border-radius: 50%; font-size: 25px; transform: translate(-50%, -50%); pointer-events: none; }
.home-testimonial-stars { color: #ec9d1d; font-size: 17px; letter-spacing: 1px; white-space: nowrap; }
.home-testimonial-stars span { color: var(--line); }
.home-testimonial-quote { color: var(--brand-quote); font-size: 30px; line-height: 1; }
.home-testimonial-card blockquote { flex: 1; width: 100%; max-width: 880px; margin: 0 auto 22px; color: var(--ink); font-size: 15px; font-style: italic; line-height: 1.8; text-align: center; }
.home-testimonial-author { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-top: 17px; border-top: 1px solid var(--line); text-align: center; }
.home-testimonial-author strong,
.home-testimonial-author small { display: block; }
.home-testimonial-author strong { color: var(--ink); font-size: 13px; }
.home-testimonial-author small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.home-testimonials-pagination { position: absolute; z-index: 2; right: 0; bottom: 12px !important; left: 0 !important; }
.home-testimonials-pagination .swiper-pagination-bullet { width: 8px; height: 8px; margin: 0 4px !important; background: var(--line); opacity: 1; transition: width .2s ease, background .2s ease; }
.home-testimonials-pagination .swiper-pagination-bullet-active { width: 24px; background: var(--primary); border-radius: 999px; }
.home-testimonials-prev,
.home-testimonials-next { position: absolute; z-index: 3; top: 50%; width: 40px; height: 40px; display: grid; place-items: center; color: var(--primary); background: var(--primary-soft); border: 0; border-radius: 50%; box-shadow: 0 8px 20px rgb(var(--primary-rgb) / .12); transform: translateY(-50%); transition: .2s ease; }
.home-testimonials-prev { left: 0; }
.home-testimonials-next { right: 0; }
.home-testimonials-prev:hover,
.home-testimonials-next:hover { color: var(--on-brand); background: var(--primary); }
.home-testimonials-prev.swiper-button-disabled,
.home-testimonials-next.swiper-button-disabled { opacity: .35; cursor: default; }
.home-lead-card { overflow: hidden; position: relative; padding: clamp(26px, 4.5vw, 54px); color: var(--on-brand); background: linear-gradient(128deg, var(--brand-dark), var(--brand-dark-secondary) 55%, var(--primary-strong)); border-radius: 26px; box-shadow: 0 18px 44px rgb(var(--primary-rgb) / .22); }
.home-lead-card::before { content: ""; position: absolute; top: -100px; left: -74px; width: 300px; height: 300px; background: rgba(255, 255, 255, .06); border-radius: 50%; pointer-events: none; }
.home-lead-card > .row { position: relative; z-index: 1; }
.home-lead-eyebrow { color: var(--brand-eyebrow); }
.home-lead-card h2 { max-width: 460px; margin: 0 0 14px; color: #fff; font-size: clamp(27px, 3.05vw, 39px); font-weight: 900; line-height: 1.18; }
.home-lead-card > .row > div:first-child > p { max-width: 485px; margin: 0 0 22px; color: rgba(255, 255, 255, .82); line-height: 1.7; }
.home-lead-benefits { display: grid; gap: 9px; color: rgba(255, 255, 255, .91); font-size: 13px; }
.home-lead-benefits i { margin-right: 8px; color: var(--primary-light); font-size: 16px; vertical-align: -1px; }
.home-lead-form-wrap { padding: clamp(20px, 3vw, 30px); color: var(--ink); background: #fff; border-radius: 18px; box-shadow: 0 14px 34px rgb(var(--primary-rgb) / .18); }
.home-lead-form-wrap h3 { margin: 0 0 19px; font-size: 19px; font-weight: 900; }
.home-lead-form-wrap .form-label { margin-bottom: 6px; color: var(--muted); font-size: 12px; font-weight: 750; }
.home-lead-form-wrap .form-control,
.home-lead-form-wrap .form-select { min-height: 44px; border-color: var(--line); }
.home-lead-form-wrap .form-control:focus,
.home-lead-form-wrap .form-select:focus { border-color: rgb(var(--primary-rgb) / .55); box-shadow: 0 0 0 .2rem rgb(var(--primary-rgb) / .1); }
.hero-section { padding-top: 22px; }
.hero-main,
.hero-side-card {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--canvas);
}
.hero-main img,
.hero-side-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}
.hero-main:hover img,
.hero-side-card:hover img { transform: scale(1.018); }
.hero-main { aspect-ratio: 2.5 / 1; }
.hero-side-card { aspect-ratio: 2.57 / 1; }
.hero-seo-title {
  max-width: 980px;
  margin: 17px auto 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  text-align: center;
}

/* Heading */
.section-heading { margin-bottom: 25px; }
.section-heading-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2.15vw, 30px);
  line-height: 1.2;
  font-weight: 800;
}
.section-link { color: var(--primary); font-size: 14px; font-weight: 800; }
.section-link i { transition: transform .2s ease; }
.section-link:hover i { transform: translateX(3px); }

/* Categories */
.home-categories-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 40px);
  background: linear-gradient(135deg, var(--surface) 12%, var(--primary-wash) 55%, var(--secondary-pale) 100%);
  border: 1px solid rgb(var(--primary-rgb) / .12);
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(71, 42, 79, .11);
}
.home-categories-panel::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgb(var(--primary-rgb) / .12), transparent 68%);
  pointer-events: none;
}
.home-categories-panel .section-heading,
.home-categories-panel .category-scroller { position: relative; z-index: 1; }
.category-scroller {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}
.category-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.category-image {
  position: relative;
  width: 100%;
  display: block;
  flex: 0 0 auto;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(224, 218, 228, .7);
  border-radius: 50%;
  background: #f6f3f8;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.category-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.category-title {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
}
.category-card:hover .category-image {
  transform: translateY(-5px);
  border-color: rgb(var(--primary-rgb) / .32);
  box-shadow: 0 12px 24px rgba(74, 43, 84, .1);
}
.category-card:hover .category-title { color: var(--primary); }

/* Product cards */
.product-card {
  height: 100%;
  overflow: hidden;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover {
  z-index: 2;
  transform: translateY(-4px);
  border-color: rgb(var(--primary-rgb) / .23);
  box-shadow: var(--shadow-sm);
}
.product-card-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: #fbfafc;
}
.product-card-media > a { display: block; width: 100%; height: 100%; }
.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.product-card:hover .product-card-media img { transform: scale(1.045); }
.product-badge-stack {
  position: absolute;
  left: 9px;
  top: 9px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: calc(100% - 55px);
}
.product-badge {
  padding: 4px 7px;
  color: #fff;
  background: #2e4f80;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.product-badge.sale { background: var(--tone-critical); }
.product-badge.new { background: var(--tone-positive); }
.wishlist-btn {
  position: absolute;
  z-index: 3;
  right: 9px;
  top: 9px;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, .93);
  border: 1px solid #eeeaf0;
  border-radius: 50%;
  font-size: 18px;
  transition: .2s ease;
}
.wishlist-btn:hover,
.wishlist-btn.is-active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}
.product-card-actions {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 10px;
  display: flex;
  gap: 7px;
  transform: translate(-50%, 12px);
  opacity: 0;
  transition: .25s ease;
}
.product-card:hover .product-card-actions { transform: translate(-50%, 0); opacity: 1; }
.product-card-actions .btn {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(39, 27, 45, .16);
}
.product-card-actions .btn:hover { color: #fff; background: var(--primary); }
.product-card-body { padding: 12px 13px 14px; }
.product-brand { min-height: 15px; color: #9a939f; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.product-title {
  height: 42px;
  margin: 5px 0 8px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #3b3740;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.55;
}
.product-title:hover { color: var(--primary); }
.product-price { color: var(--primary); font-size: 15.5px; font-weight: 800; white-space: nowrap; }
.product-old-price { margin-left: 5px; color: #aaa4ad; font-size: 11.5px; text-decoration: line-through; white-space: nowrap; }
.product-discount {
  margin-left: auto;
  padding: 2px 5px;
  color: #fff;
  background: var(--tone-critical);
  border-radius: 3px;
  font-size: 9px;
  font-weight: 800;
}
.product-sold { margin-top: 9px; }
.product-sold-bar {
  height: 15px;
  overflow: hidden;
  position: relative;
  background: var(--primary-light);
  border-radius: 999px;
}
.product-sold-progress {
  width: var(--sold, 65%);
  height: 100%;
  background: linear-gradient(90deg, var(--primary-vivid), var(--primary));
  border-radius: inherit;
}
.product-sold-text {
  position: absolute;
  inset: 0;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 15px;
  text-align: center;
  text-shadow: 0 1px 1px rgba(0,0,0,.12);
}
.product-gift {
  margin-top: 8px;
  padding: 5px 7px;
  overflow: hidden;
  color: #9b6829;
  background: #fffaf1;
  border: 1px dashed #e2b268;
  border-radius: 4px;
  font-size: 9px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.product-stock { margin-top: 8px; color: var(--tone-positive); font-size: 11px; font-weight: 700; }
.product-stock.preorder { color: #a96d00; }
.product-stock.out { color: var(--tone-critical); }

/* Flash sale */
.flash-sale-wrap {
  padding: 22px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--primary-vivid), var(--primary-strong));
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(179, 30, 88, .2);
}
.flash-sale-wrap::before,
.flash-sale-wrap::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #fff;
  opacity: .08;
}
.flash-sale-wrap::before { width: 260px; height: 260px; right: -100px; top: -130px; }
.flash-sale-wrap::after { width: 160px; height: 160px; left: -65px; bottom: -90px; }
.flash-sale-head { position: relative; z-index: 1; color: #fff; }
.flash-sale-title { margin: 0; color: #ffe255; font-size: 25px; font-weight: 900; }
.countdown { display: flex; align-items: center; gap: 5px; }
.countdown-unit {
  min-width: 45px;
  padding: 8px 6px;
  color: #fff;
  background: #1e1c25;
  border-radius: 8px;
  line-height: 1;
  text-align: center;
}
.countdown-unit strong { display: block; font-size: 17px; }
.countdown-unit span { display: block; margin-top: 3px; color: #d8d4db; font-size: 8px; text-transform: uppercase; }
.countdown-separator { color: #fff; font-weight: 900; }
.flash-sale-swiper { z-index: 1; overflow: hidden; padding: 2px; }
.flash-sale-swiper .swiper-slide { height: auto; }
.flash-sale-swiper .product-card { border: 0; }
.flash-sale-prev,
.flash-sale-next {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: rgba(255, 255, 255, .96);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(45, 24, 39, .22);
  transform: translateY(-50%);
}
.flash-sale-prev { left: 8px; }
.flash-sale-next { right: 8px; }
.flash-sale-prev.swiper-button-disabled,
.flash-sale-next.swiper-button-disabled { opacity: .35; cursor: default; }

/* Voucher */
.voucher-card {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
}
.voucher-side {
  min-width: 105px;
  padding: 19px 13px;
  color: #3a3024;
  background: var(--tone-caution);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: .08em;
}
.voucher-content { flex: 1; padding: 14px 18px; }
.voucher-code { color: var(--primary); font-size: 17px; font-weight: 900; }
.voucher-description { color: var(--muted); font-size: 13px; }
.voucher-cut {
  width: 1px;
  position: relative;
  border-left: 1px dashed #cfc8d2;
}
.voucher-cut::before,
.voucher-cut::after {
  content: "";
  width: 16px;
  height: 16px;
  position: absolute;
  left: -8px;
  background: var(--canvas);
  border-radius: 50%;
}
.voucher-cut::before { top: -8px; }
.voucher-cut::after { bottom: -8px; }

/* Product tabs */
.product-section-shell {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(55, 39, 65, .05);
}
.product-section-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #fff, #fff7fa);
}
.product-section-title { margin: 0; font-size: 22px; font-weight: 900; }
.product-tabs { gap: 8px; }
.product-tabs .nav-link {
  padding: 7px 16px;
  color: #5f5a65;
  background: #f7f5f8;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.product-tabs .nav-link:hover,
.product-tabs .nav-link.active {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: rgb(var(--primary-rgb) / .18);
}
.product-section-content { padding: 20px; }
.product-section-banner {
  height: 100%;
  min-height: 430px;
  overflow: hidden;
  position: relative;
  border-radius: 15px;
  background: linear-gradient(150deg, var(--secondary-pale), var(--primary-pale));
}
.product-section-banner::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -80px;
  top: -75px;
  border-radius: 50%;
  background: #fff;
  opacity: .4;
}
.product-section-banner-content { position: relative; z-index: 1; padding: 34px 26px; }
.product-section-banner .eyebrow { color: var(--primary); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.product-section-banner h3 { margin: 12px 0; font-size: 27px; font-weight: 900; line-height: 1.2; }
.product-section-banner p { color: #676170; }
.product-section-banner .mini-products {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 210px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
}
.product-section-banner .mini-products img {
  width: 145px;
  filter: drop-shadow(0 18px 14px rgba(77, 47, 89, .15));
}
.product-section-banner .mini-products img + img { margin-left: -42px; }

/* Brands */
.brand-marquee {
  position: relative;
  overflow: hidden;
  padding-block: 6px 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.brand-marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: brand-marquee-scroll 65s linear infinite;
}
.brand-marquee__group {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
  padding-right: 12px;
}
.brand-marquee:hover .brand-marquee__track,
.brand-marquee:focus-within .brand-marquee__track {
  animation-play-state: paused;
}
.brand-card {
  flex: 0 0 clamp(150px, 14vw, 210px);
  min-height: 82px;
  padding: 16px;
  display: grid;
  place-items: center;
  color: #4c4853;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  transition: .2s ease;
}
.brand-card:hover {
  color: var(--primary);
  border-color: rgb(var(--primary-rgb) / .28);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.brand-card__logo {
  display: block;
  width: min(100%, 158px);
  max-height: 50px;
  object-fit: contain;
}
@keyframes brand-marquee-scroll {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .brand-marquee__track { animation: none; }
  .brand-marquee__group[aria-hidden="true"] { display: none; }
}

/* News */
.news-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  transition: .25s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.news-card-image { aspect-ratio: 16 / 9; overflow: hidden; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-card:hover .news-card-image img { transform: scale(1.04); }
.news-card-body { padding: 17px; }
.news-date { color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.news-title {
  min-height: 48px;
  margin: 7px 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
}
.news-excerpt {
  min-height: 63px;
  margin-bottom: 13px;
  color: var(--muted);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 13px;
}
.news-readmore { color: var(--primary); font-size: 13px; font-weight: 800; }

/* Homepage advice / articles */
.home-advice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 24px;
  align-items: stretch;
}
.home-advice-layout--single { grid-template-columns: minmax(0, 1fr); }
.home-advice-feature {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgb(19 53 40 / .14);
}
.home-advice-feature__image,
.home-advice-feature__image img { width: 100%; height: 100%; display: block; }
.home-advice-feature__image { position: absolute; inset: 0; }
.home-advice-feature__image img { object-fit: cover; transition: transform .45s ease; }
.home-advice-feature:hover .home-advice-feature__image img { transform: scale(1.035); }
.home-advice-feature__overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgb(13 42 32 / .04) 22%, rgb(13 42 32 / .9) 100%);
}
.home-advice-feature__content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(24px, 3vw, 38px);
  color: var(--on-brand);
}
.home-advice-feature__category,
.home-advice-feature__date { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; }
.home-advice-feature__category { margin-right: 9px; padding: 6px 10px; color: var(--ink); background: var(--secondary); border-radius: 999px; }
.home-advice-feature__date { color: rgb(255 255 255 / .82); }
.home-advice-feature h3 { max-width: 680px; margin: 13px 0 10px; color: var(--on-brand); font-size: clamp(22px, 2vw, 30px); font-weight: 900; line-height: 1.25; letter-spacing: -.015em; }
.home-advice-feature h3 a,
.home-advice-feature__link { color: inherit; }
.home-advice-feature p { max-width: 620px; margin: 0 0 18px; color: rgb(255 255 255 / .86); font-size: 14px; line-height: 1.65; }
.home-advice-feature__link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 850; }
.home-advice-feature__link i { transition: transform .2s ease; }
.home-advice-feature__link:hover i { transform: translateX(4px); }
.home-advice-side { min-width: 0; }
.home-advice-swiper { height: 100%; overflow: hidden; padding: 2px 2px 38px; }
.home-advice-swiper .swiper-wrapper,
.home-advice-swiper .swiper-slide { height: 100%; }
.home-advice-list { min-height: 100%; display: grid; align-content: space-between; gap: 16px; }
.home-advice-item { display: grid; grid-template-columns: 152px minmax(0, 1fr); gap: 16px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.home-advice-item:last-child { padding-bottom: 0; border-bottom: 0; }
.home-advice-item__image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--canvas); border-radius: 13px; }
.home-advice-item__image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .3s ease; }
.home-advice-item:hover .home-advice-item__image img { transform: scale(1.05); }
.home-advice-item__meta { display: flex; flex-wrap: wrap; gap: 7px 10px; margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .055em; }
.home-advice-item__meta span { color: var(--primary); }
.home-advice-item h3 { margin: 0; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--ink); font-size: 16px; font-weight: 850; line-height: 1.38; }
.home-advice-item h3 a:hover { color: var(--primary); }
.home-advice-item p { margin: 7px 0 0; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--muted); font-size: 12px; line-height: 1.5; }
.home-advice-pagination { position: absolute; z-index: 2; bottom: 6px !important; left: 0 !important; width: auto !important; }
.home-advice-pagination .swiper-pagination-bullet { width: 7px; height: 7px; margin: 0 3px !important; background: var(--line); opacity: 1; }
.home-advice-pagination .swiper-pagination-bullet-active { width: 20px; background: var(--primary); border-radius: 999px; }
.home-advice-prev,
.home-advice-next { position: absolute; z-index: 3; bottom: 0; width: 29px; height: 29px; display: grid; place-items: center; color: var(--primary); background: var(--primary-soft); border: 0; border-radius: 50%; font-size: 13px; transition: .2s ease; }
.home-advice-prev { right: 37px; }
.home-advice-next { right: 2px; }
.home-advice-prev:hover,
.home-advice-next:hover { color: var(--on-brand); background: var(--primary); }

/* News detail */
.news-detail-section { background: linear-gradient(180deg, #faf8fb, #fff 42%); }
.news-detail-main {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 16px 44px rgba(55, 37, 64, .08);
}
.news-detail-header { padding: clamp(28px, 4vw, 52px) clamp(24px, 5vw, 64px) clamp(24px, 3vw, 38px); }
.news-detail-meta {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.news-detail-category {
  padding: 6px 11px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  font-weight: 800;
}
.news-detail-header h1 {
  max-width: 920px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3.3vw, 44px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.025em;
}
.news-detail-excerpt {
  max-width: 860px;
  margin: 18px 0 0;
  color: #716b76;
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.65;
}
.news-detail-cover { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #f4f1f5; }
.news-detail-cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.news-article-content {
  padding: clamp(30px, 5vw, 64px);
  color: #514c55;
  font-size: 15.5px;
  line-height: 1.85;
}
.news-article-content > :first-child { margin-top: 0; }
.news-article-content > :last-child { margin-bottom: 0; }
.news-article-content h2,
.news-article-content h3,
.news-article-content h4 {
  margin: 1.7em 0 .65em;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.35;
}
.news-article-content h2 { font-size: clamp(21px, 2.1vw, 27px); }
.news-article-content h3 { font-size: clamp(18px, 1.7vw, 22px); }
.news-article-content p,
.news-article-content ul,
.news-article-content ol { margin-bottom: 1.2em; }
.news-article-content img { max-width: 100%; height: auto; border-radius: 14px; }
.news-article-content blockquote {
  margin: 1.8em 0;
  padding: 18px 22px;
  color: #4c414e;
  background: #fbf3f7;
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  font-size: 18px;
  font-style: italic;
}
.news-detail-footer {
  padding: 20px clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.news-detail-footer a { color: var(--primary); font-size: 13px; font-weight: 800; }
.news-detail-sidebar {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 20px;
}
.news-sidebar-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(55, 37, 64, .07);
}
.news-sidebar-heading {
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.news-sidebar-heading h2,
.news-sidebar-newsletter h2 { margin: 0; font-size: 19px; font-weight: 850; }
.news-sidebar-heading > a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 50%;
}
.news-sidebar-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 11px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.news-sidebar-item:last-child { padding-bottom: 0; border-bottom: 0; }
.news-sidebar-thumb { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 9px; background: #f4f1f5; }
.news-sidebar-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s ease; }
.news-sidebar-item:hover .news-sidebar-thumb img { transform: scale(1.05); }
.news-sidebar-date { margin-bottom: 4px; color: var(--primary); font-size: 9px; font-weight: 800; letter-spacing: .05em; }
.news-sidebar-item h3 {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}
.news-sidebar-item h3 a:hover { color: var(--primary); }
.news-sidebar-newsletter {
  overflow: hidden;
  position: relative;
  padding: 24px 20px;
  color: var(--on-brand);
  background: linear-gradient(145deg, var(--primary-strong), var(--primary-deep));
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(166, 34, 89, .2);
}
.news-sidebar-newsletter::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -70px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, .08);
  border-radius: 50%;
  pointer-events: none;
}
.news-sidebar-newsletter-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: #fff;
  border-radius: 50%;
  font-size: 21px;
}
.news-sidebar-newsletter form { position: relative; z-index: 1; margin-top: 17px; }
.news-sidebar-newsletter .form-control { margin-bottom: 10px; border: 0; min-height: 44px; }
.news-sidebar-newsletter .btn { color: var(--primary); font-size: 12px; font-weight: 850; }
.news-newsletter-success { position: relative; z-index: 1; margin-top: 16px; font-size: 13px; }

/* USP */
.home-values-section {
  padding-block: 22px;
  background: linear-gradient(90deg, var(--primary-wash), var(--secondary-pale));
  border-top: 1px solid #eee7ef;
  border-bottom: 1px solid #eee7ef;
}
.home-value-card {
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px;
  text-align: left;
}
.home-value-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin: 0;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: linear-gradient(145deg, #fff, var(--primary-soft));
  border: 1px solid #eee5f0;
  border-radius: 50%;
  box-shadow: 0 9px 24px rgba(63, 43, 72, .09);
  font-size: 22px;
}
.home-value-card h3 { margin-bottom: 4px; color: var(--ink); font-size: 14px; font-weight: 850; }
.home-value-card p { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.service-strip {
  background: linear-gradient(90deg, var(--primary-wash), var(--secondary-pale));
  border-top: 1px solid #eee7ef;
  border-bottom: 1px solid #eee7ef;
}
.service-item { display: flex; align-items: center; gap: 12px; padding: 23px 10px; }
.service-icon {
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 7px 20px rgba(63, 43, 72, .07);
  font-size: 21px;
}
.service-title { font-size: 13px; font-weight: 800; }
.service-text { color: var(--muted); font-size: 11.5px; }

/* Footer */
.site-footer { color: color-mix(in srgb, #fff 80%, var(--ink)); background: var(--brand-dark); }
.site-footer-main { padding-block: 52px 40px; }
.footer-logo {
  width: min(220px, 100%);
  height: auto;
  display: block;
  padding: 0;
  background: transparent;
  border-radius: 0;
  filter: brightness(0) invert(1);
}
.footer-heading {
  margin-bottom: 17px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}
.footer-text { color: color-mix(in srgb, #fff 72%, var(--ink)); font-size: 13px; }
.footer-contact-item { display: flex; gap: 10px; margin-top: 10px; color: color-mix(in srgb, #fff 76%, var(--ink)); font-size: 13px; }
.footer-contact-item i { color: var(--primary-light); margin-top: 2px; }
.footer-link { display: block; padding: 4px 0; color: color-mix(in srgb, #fff 72%, var(--ink)); font-size: 13px; }
.footer-link:hover { color: #fff; padding-left: 3px; }
.footer-sublink { padding-left: 12px; font-size: 12px; }
.social-links { display: flex; gap: 8px; }
.social-link {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: color-mix(in srgb, var(--brand-dark) 78%, #fff);
  border-radius: 50%;
}
.social-link:hover { color: #fff; background: var(--primary); }
.social-link.zalo-link:hover { background: #fff; }
.zalo-icon { display: block; width: 21px; height: 21px; }
.newsletter-form { position: relative; }
.newsletter-form .form-control {
  min-height: 47px;
  padding-right: 112px;
  color: #fff;
  background: color-mix(in srgb, var(--brand-dark) 84%, #fff);
  border-color: color-mix(in srgb, var(--brand-dark) 65%, #fff);
  border-radius: 999px;
}
.newsletter-form .form-control::placeholder { color: color-mix(in srgb, #fff 55%, var(--ink)); }
.newsletter-form .btn { position: absolute; right: 4px; top: 4px; height: 39px; padding-inline: 17px; font-size: 12px; }
.payment-badge {
  min-width: 52px;
  height: 31px;
  padding: 0 9px;
  display: inline-grid;
  place-items: center;
  color: #44404a;
  background: #fff;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 900;
}
.site-footer-bottom { padding-block: 16px; border-top: 1px solid color-mix(in srgb, var(--brand-dark) 70%, #fff); color: color-mix(in srgb, #fff 55%, var(--ink)); font-size: 12px; }

/* Floating contact */
.floating-actions {
  position: fixed;
  z-index: 1035;
  right: 19px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.floating-action {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border: 3px solid rgba(255,255,255,.85);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgb(var(--primary-rgb) / .22);
  font-size: 20px;
  position: relative;
}
.floating-action:hover { color: #fff; transform: translateY(-2px); }
.floating-action.phone { background: #24a269; animation: site-pulse 2s infinite; }
.floating-action.zalo { background: #fff; }
.floating-action.zalo .zalo-icon { width: 29px; height: 29px; }
.floating-action.messenger { background: var(--secondary); }
.floating-action.back-to-top { opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s ease; }
.floating-action.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.floating-tooltip {
  position: absolute;
  right: 58px;
  width: max-content;
  max-width: 220px;
  padding: 7px 10px;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 7px;
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(5px);
  transition: .2s ease;
}
.floating-action:hover .floating-tooltip { opacity: 1; transform: translateX(0); }
@keyframes site-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(var(--primary-rgb) / .28), 0 8px 20px rgb(var(--primary-rgb) / .22); } 50% { box-shadow: 0 0 0 10px rgb(var(--primary-rgb) / 0), 0 8px 20px rgb(var(--primary-rgb) / .22); } }

/* Offcanvas and modal */
.offcanvas { --bs-offcanvas-width: min(390px, 92vw); }
.offcanvas-header { border-bottom: 1px solid var(--line); }
.offcanvas-title { font-weight: 800; }
.mobile-menu-list .nav-link { padding: 11px 0; color: var(--ink); border-bottom: 1px solid var(--line); font-weight: 700; }
.mobile-menu-heading { margin: 22px 0 4px; color: var(--primary); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.mobile-submenu { padding: 4px 0 10px 15px; }
.mobile-submenu a { display: block; padding: 5px 0; color: var(--muted); font-size: 13px; }
.mobile-submenu .mobile-submenu { margin-left: 8px; padding-left: 14px; border-left: 1px solid var(--line); }
.search-modal .modal-content { border: 0; border-radius: 18px; }
.search-modal .modal-body { padding: 34px; }
.search-modal .form-control { min-height: 57px; padding-right: 58px; border-radius: 999px; font-size: 16px; }
.quick-view-modal .modal-content { overflow: hidden; border: 0; border-radius: 18px; }
.quick-view-image { min-height: 430px; background: #faf8fb; }
.quick-view-image img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.toast-container { z-index: 1090; }
.site-toast { border: 0; border-radius: 12px; box-shadow: var(--shadow); }

/* Catalog */
.page-hero {
  padding-block: 42px;
  background: linear-gradient(100deg, var(--primary-wash), var(--secondary-soft));
}
.page-hero h1 { margin: 0; font-size: clamp(27px, 3.2vw, 39px); font-weight: 900; }
.page-hero p { max-width: 640px; margin: 8px 0 0; color: var(--muted); }
.catalog-toolbar {
  padding: 12px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.filter-card {
  overflow: hidden;
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.filter-card-title {
  padding: 11px 15px;
  margin: 0;
  background: linear-gradient(90deg, var(--secondary-soft), var(--primary-pale));
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.filter-card-body { max-height: 250px; overflow: auto; padding: 12px 15px; }
.filter-card .form-check { margin-bottom: 8px; }
.filter-card .form-check-label { color: #5f5a64; font-size: 13px; }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.catalog-empty { padding: 70px 20px; text-align: center; }
.pagination { --bs-pagination-color: var(--ink); --bs-pagination-active-bg: var(--primary); --bs-pagination-active-border-color: var(--primary); --bs-pagination-hover-color: var(--primary); }
.page-link { border-color: var(--line); }

/* Product detail */
.product-gallery-main {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #faf9fb;
  border: 1px solid var(--line);
  border-radius: 17px;
}
.product-gallery-main .swiper-slide { display: grid; place-items: center; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(49, 40, 57, .12);
  transform: translateY(-50%);
  transition: color .2s ease, background .2s ease, opacity .2s ease;
}
.product-gallery-nav:hover { color: #fff; background: var(--primary); }
.product-gallery-prev { left: 12px; }
.product-gallery-next { right: 12px; }
.product-gallery-nav.swiper-button-disabled { pointer-events: none; opacity: .35; }
.product-gallery-thumbs { padding: 2px; }
.product-gallery-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.product-gallery-thumb.swiper-slide-thumb-active,
.product-gallery-thumb:hover { border-color: var(--primary); box-shadow: 0 0 0 2px rgb(var(--secondary-rgb) / .16); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-title { margin: 0 0 8px; font-size: clamp(18px, 1.9vw, 24px); line-height: 1.25; font-weight: 800; }
.product-meta { color: var(--muted); font-size: 13px; }
.product-detail-price { margin-block: 17px; color: var(--primary); font-size: 30px; font-weight: 900; }
.product-detail-price del { margin-left: 10px; color: #a8a2ac; font-size: 16px; font-weight: 400; }
.deal-box {
  overflow: hidden;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--secondary) 20%, var(--surface));
  border-radius: 12px;
}
.deal-box-head {
  padding: 10px 13px;
  color: var(--on-brand);
  background: linear-gradient(90deg, var(--secondary), color-mix(in srgb, var(--secondary) 68%, var(--surface)));
  font-weight: 800;
}
.gift-box { overflow: hidden; margin-bottom: 17px; border: 1px solid #e43449; border-radius: 11px; }
.gift-box-head { padding: 10px 13px; color: #fff; background: #d80f20; font-weight: 800; }
.gift-box-body { padding: 12px 14px; }
.option-label { margin-bottom: 8px; font-weight: 800; }
.variant-btn { min-width: 58px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.variant-btn.active { color: var(--primary); background: var(--primary-soft); border-color: var(--primary); }
.quantity-control { width: 125px; display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.quantity-control button { width: 38px; border: 0; background: #f8f6f9; }
.quantity-control input { width: 49px; min-height: 42px; border: 0; text-align: center; outline: none; }
.policy-card { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; }
.policy-card-head { padding: 11px 14px; background: linear-gradient(90deg, var(--secondary-soft), var(--primary-pale)); font-weight: 800; }
.policy-row { display: flex; gap: 11px; padding: 11px 14px; color: #625d67; border-top: 1px dashed var(--line); font-size: 13px; }
.policy-row i { color: var(--secondary); font-size: 19px; }
.product-description { color: #55515a; line-height: 1.75; }
.product-description h2, .product-description h3 { color: var(--ink); font-weight: 800; }
.description-product-callout {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 680px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.description-product-callout img { width: 120px; border-radius: 10px; }

/* Cart */
.shipping-progress { height: 12px; background: #f0edf2; border-radius: 999px; overflow: hidden; }
.shipping-progress-bar { width: 62%; height: 100%; background: linear-gradient(90deg, var(--tone-caution), #ffad33); }
.rating-stars { color: #ffb72d; }
.cart-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.cart-table th { color: #625d67; background: #f8f7f9; font-size: 12px; text-transform: uppercase; }
.cart-product-img { width: 88px; height: 88px; object-fit: cover; border: 1px solid var(--line); border-radius: 9px; }
.cart-summary { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.coupon-chip { padding: 7px 10px; color: var(--primary); background: #fff; border: 1px dashed var(--primary); border-radius: 7px; font-size: 12px; font-weight: 800; }

/* Content / contact */
.content-card { padding: clamp(20px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.auth-brand-logo { display: block; width: auto; max-width: min(230px, 100%); height: auto; max-height: 72px; margin-inline: auto; object-fit: contain; }
.contact-info-card { height: 100%; padding: 22px; background: linear-gradient(145deg, #2d2933, #1f1c24); border-radius: 18px; color: #fff; }
.contact-info-row { display: flex; gap: 13px; margin-top: 18px; color: #d7d1db; }
.contact-info-row i { color: var(--primary-light); font-size: 20px; }
.contact-map-embed { min-height: 360px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 32px rgb(19 53 40 / .08); }
.contact-map-embed iframe { width: 100%; min-height: 360px; height: 100%; display: block; border: 0; }
.map-placeholder { min-height: 360px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #e7e3ed, #f8edf2); border-radius: 18px; }

/* Responsive */
@media (max-width: 1199.98px) {
  .category-scroller { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .site-navbar .nav-link { padding-inline: 13px !important; font-size: 12.5px; }
  .navbar-category-trigger { min-width: 180px; }
}
@media (max-width: 991.98px) {
  .section-space { padding-block: 44px; }
  .home-hero-swiper .swiper-slide,
  .home-hero-fallback { height: clamp(360px, 62vw, 560px); }
  .home-hero-caption { right: auto; left: 7vw; width: min(560px, 72vw); }
  .home-hero-caption h1,
  .home-hero-caption h2 { font-size: clamp(27px, 5vw, 40px); }
  .hero-section { padding-top: 13px; }
  .hero-main { aspect-ratio: 2.15 / 1; }
  .category-scroller {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 2px 2px 12px;
  }
  .category-scroller::-webkit-scrollbar { display: none; }
  .category-card { flex: 0 0 120px; scroll-snap-align: start; }
  .flash-sale-wrap { padding: 17px; border-radius: 16px; }
  .product-section-header { align-items: flex-start !important; }
  .home-promotion-cta__content { max-width: min(560px, 72%); }
  .home-advice-layout { grid-template-columns: minmax(0, 1fr); }
  .home-advice-feature { min-height: 470px; }
  .home-advice-list { min-height: 0; }
  .product-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 5px; scrollbar-width: none; }
  .product-tabs .nav-link { white-space: nowrap; }
  .floating-actions { right: 12px; bottom: 14px; }
  .floating-action { width: 44px; height: 44px; }
  .news-detail-sidebar { position: static; }
}
@media (max-width: 767.98px) {
  html { font-size: 14px; }
  body { font-size: 13.5px; }
  .container { --bs-gutter-x: 1.15rem; }
  .home-hero-swiper .swiper-slide,
  .home-hero-fallback { height: min(78vw, 480px); min-height: 330px; }
  .home-hero-shade { background: linear-gradient(90deg, rgba(20, 36, 28, .82), rgba(20, 36, 28, .52) 68%, rgba(20, 36, 28, .16)); }
  .home-hero-caption { right: auto; left: 24px; width: calc(100% - 48px); }
  .home-hero-caption h1,
  .home-hero-caption h2 { margin-bottom: 9px; font-size: clamp(24px, 7vw, 33px); }
  .home-hero-caption p { margin-bottom: 16px; font-size: 13.5px; }
  .home-hero-caption .btn { padding: 9px 14px; font-size: 12px; }
  .home-promotion-cta { min-height: 340px; padding: 28px; border-radius: 18px; }
  .home-promotion-cta__shade { background: linear-gradient(90deg, rgba(31, 21, 34, .9), rgba(31, 21, 34, .62) 72%, rgba(31, 21, 34, .26)); }
  .home-promotion-cta__content { max-width: 92%; }
  .home-promotion-cta__content h2 { font-size: 28px; }
  .home-advice-feature { min-height: 410px; border-radius: 18px; }
  .home-advice-feature__content { padding: 22px; }
  .home-advice-feature h3 { font-size: 24px; }
  .home-advice-feature p { font-size: 13px; }
  .home-advice-item { grid-template-columns: 116px minmax(0, 1fr); gap: 12px; }
  .home-advice-item h3 { font-size: 14px; }
  .home-advice-item p { display: none; }
  .home-promotion-cta__content p { font-size: 13.5px; }
  .home-testimonials-swiper--interactive { padding-inline: 38px; }
  .home-testimonial-image { aspect-ratio: 4 / 3; }
  .home-testimonial-card__content { padding: 20px 18px 24px; }
  .home-testimonials-prev,
  .home-testimonials-next { width: 32px; height: 32px; font-size: 12px; }
  .home-lead-card { padding: 25px 20px; border-radius: 18px; }
  .home-hero-prev,
  .home-hero-next { width: 38px; height: 38px; font-size: 15px; }
  .home-hero-prev { left: 10px; }
  .home-hero-next { right: 10px; }
  .home-values-section { padding-block: 16px; }
  .home-value-card { padding: 10px 6px; }
  .section-space { padding-block: 36px; }
  .section-space-sm { padding-block: 28px; }
  .section-heading { margin-bottom: 18px; }
  .section-heading-title { font-size: 21px; }
  .home-categories-panel { padding: 20px 16px; border-radius: 18px; }
  .news-detail-main { border-radius: 16px; }
  .news-detail-header { padding: 24px 20px; }
  .news-detail-header h1 { font-size: 25px; }
  .news-detail-excerpt { font-size: 13.5px; }
  .news-article-content { padding: 26px 20px; font-size: 14px; line-height: 1.8; }
  .news-detail-footer { padding: 18px 20px; }
  .hero-main { aspect-ratio: auto; border-radius: 13px; }
  .hero-main img { height: auto; object-fit: contain; object-position: center; }
  .hero-side-card { border-radius: 13px; }
  .hero-seo-title { font-size: 11px; }
  .category-card { flex-basis: 102px; }
  .category-title { font-size: 12px; }
  .flash-sale-head { align-items: flex-start !important; }
  .flash-sale-title { font-size: 21px; }
  .countdown-unit { min-width: 38px; padding: 7px 5px; }
  .countdown-unit strong { font-size: 14px; }
  .product-card-body { padding: 10px; }
  .product-title { height: 39px; font-size: 12.5px; line-height: 1.5; }
  .product-price { font-size: 14px; }
  .product-old-price { display: block; margin: 2px 0 0; }
  .product-card-actions { display: none; }
  .voucher-side { min-width: 73px; font-size: 14px; }
  .voucher-content { padding: 12px; }
  .voucher-code { font-size: 14px; }
  .voucher-description { font-size: 11px; }
  .product-section-shell { border-radius: 15px; }
  .product-section-header { padding: 15px; }
  .product-section-title { font-size: 20px; }
  .product-section-content { padding: 12px; }
  .brand-marquee__group { gap: 9px; padding-right: 9px; }
  .brand-card { flex-basis: 145px; min-height: 66px; font-size: 16px; }
  .service-item { padding-block: 14px; }
  .site-footer-main { padding-block: 38px 28px; }
  .quick-view-image, .quick-view-image img { min-height: 280px; }
  .search-modal .modal-body { padding: 22px; }
  .product-detail-title { font-size: 18px; }
  .cart-table-wrap { border: 0; overflow: visible; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { margin-bottom: 13px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
  .cart-table td { padding: 5px 0; border: 0; }
  .floating-tooltip { display: none; }
}
@media (max-width: 575.98px) {
  .home-hero-swiper .swiper-slide { height: 96vw; max-height: 460px; min-height: 340px; }
  .home-hero-prev,
  .home-hero-next { display: none; }
  .mobile-header .site-logo { width: 132px; }
  .mobile-trigger { width: 37px; height: 37px; }
  .hero-main { aspect-ratio: auto; }
  .hero-main img { height: auto; object-fit: contain; object-position: center; }
  .hero-side-card { aspect-ratio: 2.25 / 1; }
  .flash-sale-wrap { margin-inline: -4px; padding: 14px; }
  .voucher-card { align-items: stretch; }
  .voucher-side { writing-mode: vertical-rl; text-orientation: mixed; letter-spacing: .06em; }
  .product-tabs .nav-link { padding: 6px 12px; font-size: 12px; }
  .floating-actions .floating-action.messenger { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Purchase funnel */
.catalog-quick-filters,
.catalog-active-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}
.catalog-quick-filters__label { margin-right: 4px; font-size: 13px; font-weight: 800; color: var(--ink); }
.catalog-quick-chip,
.catalog-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  transition: .2s ease;
}
.catalog-quick-chip:hover,
.catalog-quick-chip.is-active,
.catalog-active-chip:hover { color: #fff; background: var(--primary); border-color: var(--primary); }
.catalog-quick-chip small { min-width: 20px; padding: 1px 5px; text-align: center; background: rgb(var(--primary-rgb) / .09); border-radius: 8px; }
.catalog-quick-chip.is-active small { background: rgba(255, 255, 255, .18); }
.catalog-active-chip { min-height: 32px; padding: 5px 9px 5px 12px; color: var(--primary); background: rgb(var(--primary-rgb) / .06); border-color: rgb(var(--primary-rgb) / .18); }
.catalog-active-chip i { font-size: 16px; }
.catalog-clear-link { margin-left: 3px; color: var(--primary); font-size: 12px; font-weight: 800; text-decoration: underline; }
.filter-label { width: 100%; display: flex; justify-content: space-between; gap: 12px; }
.filter-label small { color: var(--muted); font-size: 10px; }
.catalog-filter-actions { position: sticky; bottom: 0; z-index: 3; display: grid; grid-template-columns: 1fr; gap: 8px; padding: 12px 0; background: var(--surface); }
.catalog-filter-actions--mobile { grid-template-columns: 1fr 1.45fr; margin: 0 -16px -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); box-shadow: 0 -8px 22px rgba(42, 27, 33, .08); }
.product-card-actions .product-card-select-action { width: auto; padding-inline: 12px; gap: 5px; border-radius: 20px; font-size: 10px; }
.product-card-actions .product-card-select-action span { white-space: nowrap; }

.cart-confirmation {
  position: fixed;
  z-index: 1090;
  right: 24px;
  bottom: 24px;
  width: min(390px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 13px;
  padding: 18px 48px 18px 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 55px rgb(var(--primary-rgb) / .2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: .24s ease;
}
.cart-confirmation.is-visible { opacity: 1; visibility: visible; transform: none; }
.cart-confirmation__icon { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: #2f8a68; border-radius: 50%; font-size: 24px; }
.cart-confirmation p { margin: 3px 0 9px; color: var(--muted); font-size: 12px; }
.cart-confirmation__actions { display: flex; gap: 14px; }
.cart-confirmation__actions a { color: var(--primary); font-size: 12px; font-weight: 800; }
.cart-confirmation__close { position: absolute; top: 11px; right: 11px; padding: 5px; color: var(--muted); background: none; border: 0; }

.product-detail-summary { margin: 14px 0; color: #4f474a; font-size: 16px; font-weight: 600; line-height: 1.65; }
.product-purchase-proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 13px; color: var(--muted); font-size: 12px; }
.product-purchase-proof a { color: inherit; }
.product-suitability { margin: 15px 0; padding: 12px 14px; background: var(--canvas); border-left: 3px solid var(--secondary); border-radius: 0 10px 10px 0; color: #554c50; font-size: 13px; }
.product-purchase-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.combo-component-box { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--primary-wash); }
.combo-component-box .list-group-item { background: transparent; border-color: var(--line); }
.combo-component-box a { color: var(--ink); font-weight: 700; }
.combo-component-box a:hover { color: var(--primary); }
.product-ingredient-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.product-ingredient-list li { padding: 7px 11px; background: rgb(var(--primary-rgb) / .07); border: 1px solid rgb(var(--primary-rgb) / .12); border-radius: 999px; font-size: 12px; font-weight: 700; }
.routine-guide { padding: 14px; color: #5d5156; background: var(--canvas); border-radius: 10px; }
.review-scope-note { padding: 24px; background: var(--canvas); border: 1px solid var(--line); border-radius: 14px; }
.review-scope-note > i { display: block; margin-bottom: 12px; color: var(--primary); font-size: 30px; }
.review-scope-note p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.review-form-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.product-mobile-buybar { display: none; }

.checkout-page { background: var(--surface); }
.checkout-main-column { padding-right: clamp(1rem, 2.5vw, 2.75rem); }
.checkout-section-card { padding: clamp(20px, 3vw, 28px); border-radius: 14px; }
.checkout-order-column { align-self: stretch; padding: 0; border-left: 1px solid var(--line); background: var(--canvas); }
.checkout-summary { top: 1rem; min-height: calc(100vh - 2rem); padding: clamp(1.5rem, 2.5vw, 2.5rem); border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.checkout-payment-option { display: flex; align-items: flex-start; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; }
.checkout-payment-option:has(input:checked) { background: rgb(var(--primary-rgb) / .05); border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.checkout-payment-option.is-disabled { opacity: .58; cursor: not-allowed; }
.checkout-payment-option input { margin-top: 4px; }
.checkout-payment-option span { display: flex; flex-direction: column; gap: 3px; }
.checkout-payment-option small { color: var(--muted); font-size: 11px; font-weight: 500; }
.checkout-note summary { color: var(--primary); font-weight: 700; cursor: pointer; }
.checkout-product-row { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }

.order-success-card { max-width: 820px; padding: clamp(24px, 5vw, 48px); }
.order-success-icon { width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto; color: var(--primary); background: rgb(var(--primary-rgb) / .1); border-radius: 50%; font-size: 48px; }
.order-success-icon.is-bank { color: var(--primary); background: rgb(var(--primary-rgb) / .09); }
.bank-transfer-box { padding: 20px; text-align: left; background: #fff9ec; border: 1px solid #ecd9ab; border-radius: 14px; }
.bank-transfer-status { margin-bottom: 14px; color: #6f5620; }
.bank-transfer-status span { width: 8px; height: 8px; display: inline-block; margin-right: 7px; background: #c59124; border-radius: 50%; }
.bank-transfer-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 30px; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #e4d4af; }
.bank-transfer-row span { color: #766d5b; font-size: 12px; }
.bank-transfer-row strong { word-break: break-word; }
.bank-transfer-row button { width: 30px; height: 30px; color: var(--primary); background: #fff; border: 1px solid #dfcfa8; border-radius: 7px; }
.order-success-details,
.order-success-products { padding: 20px; background: var(--canvas); border-radius: 14px; }
.order-success-details dl { margin: 0; }
.order-success-details dl > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 7px 0; }
.order-success-details dt { color: var(--muted); font-weight: 500; }
.order-success-details dd { margin: 0; font-weight: 700; text-align: right; }
.order-success-products > div { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.order-success-products small { color: var(--muted); }
.order-success-products .order-success-total { margin-top: 7px; padding-top: 14px; border-bottom: 0; font-size: 18px; }
.order-success-total strong { color: var(--primary); }
.policy-content { max-width: 820px; padding: clamp(24px, 5vw, 48px); }
.policy-content h2 { margin-top: 28px; }
.policy-content p { color: #5d5558; line-height: 1.8; }

@media (max-width: 991.98px) {
  .checkout-main-column { padding-right: calc(var(--bs-gutter-x) * .5); }
  .checkout-order-column { padding: 0 calc(var(--bs-gutter-x) * .5); border-left: 0; background: transparent; }
  .checkout-summary { min-height: auto; padding: 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
}

@media (max-width: 767.98px) {
  body:has(.product-mobile-buybar) { padding-bottom: 76px; }
  body:has(.product-mobile-buybar) .floating-actions { bottom: 84px; }
  .catalog-quick-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 7px; scrollbar-width: none; }
  .catalog-quick-filters::-webkit-scrollbar { display: none; }
  .catalog-quick-filters__label { position: sticky; left: 0; z-index: 1; padding-right: 8px; background: var(--surface); white-space: nowrap; }
  .catalog-quick-chip { flex: 0 0 auto; }
  .catalog-filter-offcanvas-body { padding-bottom: 0; }
  .product-purchase-actions { grid-template-columns: 1fr; }
  .product-mobile-buybar {
    position: fixed;
    z-index: 1045;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(90px, .8fr) 1fr 1fr;
    gap: 7px;
    align-items: center;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(45, 29, 35, .12);
    backdrop-filter: blur(10px);
  }
  .product-mobile-buybar > div { min-width: 0; }
  .product-mobile-buybar small { display: block; color: var(--muted); font-size: 9px; }
  .product-mobile-buybar strong { display: block; overflow: hidden; color: var(--primary); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
  .product-mobile-buybar .btn { padding: 10px 6px; font-size: 10px; }
  .cart-confirmation { right: 16px; bottom: 16px; }
  body:has(.product-mobile-buybar) .cart-confirmation { bottom: 86px; }
  .bank-transfer-row { grid-template-columns: 95px minmax(0, 1fr) 30px; }
  .order-success-details dl > div { grid-template-columns: 1fr; gap: 2px; }
  .order-success-details dd { text-align: left; }
}
