/* ============================================
   OFAN SHOP — Stylesheet chung
   Brand: navy #1E3A8A · blue #3B82F6 · gold #D4A843
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800;900&display=swap');

:root {
  --brand: #1E3A8A;
  --brand-light: #3B82F6;
  --brand-deep: #0B1E3F;
  --brand-bg: #E8F2FB;
  --brand-bg-soft: #F0F6FB;
  --cta: #D4A843;
  --cta-hover: #E8B84B;
  --cta-text: #0B1E3F;
  --text: #0E2A47;
  --text-soft: #476380;
  --text-mute: #8DA0B5;
  --success: #16A34A;
  --danger: #DC2626;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-alt: #F8FBFE;
  --border: #E2E8F0;
  --border-soft: #EEF2F7;
  /* Summer palette */
  --summer-sky: #4FB8FF;
  --summer-mint: #00D4C7;
  --summer-sun: #FFC83D;
  --summer-coral: #FF7A8C;
  --summer-lime: #A6E22D;
  --summer-cyan: #67E8F9;
  --summer-gradient: linear-gradient(135deg, #4FB8FF 0%, #00D4C7 50%, #67E8F9 100%);
  --sun-gradient: linear-gradient(135deg, #FFD700 0%, #FF8C42 100%);
  --shadow-sm: 0 2px 8px rgba(11, 30, 63, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 30, 63, 0.10);
  --shadow-lg: 0 20px 50px rgba(11, 30, 63, 0.15);
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 15px; }

h1, h2, h3, h4 {
  line-height: 1.2;
  color: var(--brand-deep);
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(28px, 4.5vw, 48px); }
h2 { font-size: clamp(24px, 3.4vw, 36px); margin-bottom: 14px; }
h3 { font-size: clamp(18px, 2.2vw, 22px); }
p { color: var(--text-soft); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.text-center { text-align: center; }

/* ===== Announcement bar — clean single line ===== */
.announce {
  background: linear-gradient(90deg, var(--brand-deep) 0%, var(--brand) 50%, var(--brand-deep) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.announce-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.announce-left { display: flex; align-items: center; gap: 18px; }
.announce-right { display: flex; align-items: center; gap: 16px; }
.announce-msg {
  display: flex;
  align-items: center;
  gap: 8px;
}
.announce-msg svg { flex-shrink: 0; opacity: 0.85; }
.announce a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.announce a:hover { color: var(--cta); }
.announce a.highlight { color: var(--cta); font-weight: 700; }
.announce .sep {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.20);
}
@media (max-width: 900px) {
  .announce-inner { padding: 8px 14px; font-size: 12px; }
  .announce-left { gap: 12px; }
  .announce-right { gap: 10px; }
  .announce-left .hide-md, .announce-right .hide-md { display: none; }
}
@media (max-width: 600px) {
  .announce-inner { flex-direction: column; gap: 2px; padding: 6px 12px; font-size: 11.5px; }
  .announce-left, .announce-right { gap: 10px; }
  .announce .sep { display: none; }
  .announce .hide-sm { display: none; }
}

/* ===== Main nav ===== */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--brand-deep);
  font-size: 22px;
}
.brand img { height: 44px; width: auto; }
.brand-text { letter-spacing: 0.02em; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}
.nav-links > li > a {
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}
.nav-links > li > a:hover { color: var(--brand); }
.nav-links > li > a.active { color: var(--brand); }
.nav-links > li > a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand);
}
.nav-icons {
  display: flex;
  gap: 18px;
  align-items: center;
}
.nav-icon {
  position: relative;
  color: var(--brand-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition: background 0.2s;
}
.nav-icon:hover { background: var(--brand-bg); }
.nav-icon svg { width: 22px; height: 22px; }
.nav-icon .badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-toggle { display: none; background: none; border: none; padding: 6px; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open > li > a.active::after { display: none; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--cta);
  color: var(--cta-text);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(212, 168, 67, 0.30);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  min-height: 48px;
}
.btn:hover { background: var(--cta-hover); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(212, 168, 67, 0.40); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(30, 58, 138, 0.25); }
.btn-primary:hover { background: var(--brand-light); box-shadow: 0 10px 24px rgba(30, 58, 138, 0.35); }
.btn-ghost { background: transparent; color: var(--brand); border: 2px solid var(--brand); box-shadow: none; }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; box-shadow: 0 6px 16px rgba(220, 38, 38, 0.25); }
.btn-danger:hover { background: #B91C1C; }
.btn-sm { padding: 10px 18px; font-size: 13px; min-height: 38px; }
.btn-lg { padding: 18px 36px; font-size: 17px; min-height: 56px; }
.btn-block { width: 100%; }

/* ===== Eyebrow + heading helpers ===== */
.eyebrow {
  display: inline-block;
  background: var(--brand-bg);
  color: var(--brand);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ===== Hero — clean La Vie style ===== */
.hero {
  background: linear-gradient(180deg, #F0F7FF 0%, #FFFFFF 100%);
  padding: 70px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}

/* ===== Hero banner full — official OFAN summer banner with 3D ===== */
.hero-banner-full {
  position: relative;
  background: linear-gradient(180deg, #87CEEB 0%, #B3E5FC 50%, #ffffff 100%);
  padding: 24px 0 40px;
  overflow: hidden;
}
.hero-banner-full .container {
  position: relative;
  z-index: 2;
}
@keyframes bannerFloat {
  0%, 100% { transform: translateY(0) rotateX(0) rotateY(0); }
  50% { transform: translateY(-6px) rotateX(0.5deg) rotateY(-0.3deg); }
}
.hero-banner-stage {
  position: relative;
  perspective: 1800px;
  perspective-origin: 50% 50%;
  margin: 0 auto;
  max-width: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}
.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow:
    0 30px 80px rgba(11, 30, 63, 0.25),
    0 10px 30px rgba(30, 58, 138, 0.15);
  transition: transform 0.25s cubic-bezier(.16,1,.3,1);
  transform-style: preserve-3d;
  will-change: transform;
  animation: bannerFloat 6s ease-in-out infinite;
}
.hero-banner-stage:hover .hero-banner-img { animation: none; }

/* Glare / shine overlay (iPhone-style) */
.hero-banner-glare {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.12) 18%,
    transparent 45%);
  mix-blend-mode: overlay;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 3;
  transform: translateZ(20px);
}
.hero-banner-stage:hover .hero-banner-glare { opacity: 0.8; }

/* Floating decoration layers (3D depth) */
.hero-banner-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  opacity: 0.4;
  z-index: 1;
  animation: bannerFloat 8s ease-in-out infinite;
}
.hero-banner-deco.d1 {
  top: -40px; left: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(0, 212, 199, 0.45) 0%, transparent 70%);
}
.hero-banner-deco.d2 {
  bottom: -40px; right: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(79, 184, 255, 0.45) 0%, transparent 70%);
  animation-delay: -2s;
}
.hero-banner-deco.d3 {
  top: 30%; right: 10%;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(255, 200, 61, 0.35) 0%, transparent 70%);
  animation-delay: -4s;
}
.hero-banner-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
  position: relative;
  z-index: 3;
}
.hero-banner-actions .btn { min-width: 220px; }
.hero-banner-actions .btn-3d {
  background: linear-gradient(135deg, var(--cta) 0%, #E8B84B 100%);
  box-shadow: 0 6px 0 #B8932F, 0 12px 28px rgba(212, 168, 67, 0.40);
}
.hero-banner-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  position: relative;
  z-index: 3;
}
.hbf-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 20px rgba(11, 30, 63, 0.08);
}
.hbf-item .ic {
  width: 40px; height: 40px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}
.hbf-item .txt strong { display: block; color: var(--brand-deep); font-size: 14px; font-weight: 800; }
.hbf-item .txt span { font-size: 12px; color: var(--text-soft); }
@media (max-width: 700px) {
  .hero-banner-full { padding: 12px 0 24px; }
  .hero-banner-actions .btn { min-width: 0; flex: 1; padding: 14px 12px; font-size: 14px; }
  .hero-banner-features { grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
  .hbf-item { padding: 10px 14px; }
  .hbf-item .ic { width: 34px; height: 34px; font-size: 13px; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 { font-size: clamp(32px, 4.5vw, 52px); margin-bottom: 18px; }
.hero h1 .highlight { color: var(--brand); }
.hero .lead { font-size: 17px; margin-bottom: 26px; max-width: 540px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 30px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-trust .item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.hero-trust .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}
.hero-img {
  position: relative;
  text-align: center;
}
.hero-img img { max-height: 460px; margin: 0 auto; filter: drop-shadow(0 25px 35px rgba(11, 30, 63, 0.18)); }
@media (max-width: 900px) {
  .hero { padding: 50px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-trust { justify-content: center; }
}

/* ===== Category strip (Home) ===== */
.cat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  background: var(--brand-bg-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--border-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-card img { height: 160px; margin: 0 auto 14px; object-fit: contain; }
.cat-card h3 { color: var(--brand-deep); margin-bottom: 6px; }
.cat-card p { font-size: 14px; margin-bottom: 14px; }
.cat-card .btn-sm { background: var(--brand); color: #fff; box-shadow: none; }
@media (max-width: 800px) { .cat-strip { grid-template-columns: 1fr; } }

/* ===== Benefits ===== */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.benefit {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 28px;
}
.benefit h4 { font-size: 16px; margin-bottom: 6px; }
.benefit p { font-size: 13.5px; }
@media (max-width: 800px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .benefits { grid-template-columns: 1fr; } }

/* ===== Breadcrumbs ===== */
.crumbs {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-soft);
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-soft);
}
.crumbs a { color: var(--text-soft); }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { margin: 0 8px; color: var(--text-mute); }
.crumbs .current { color: var(--brand-deep); font-weight: 600; }

/* ===== Product listing (sản phẩm page) ===== */
.shop {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  padding-top: 36px;
  padding-bottom: 60px;
}
.shop-sidebar {
  background: linear-gradient(180deg, #ffffff 0%, var(--brand-bg-soft) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 14px;
  height: fit-content;
  position: sticky;
  top: 90px;
  box-shadow: 0 6px 18px rgba(30, 58, 138, 0.05);
}
.shop-sidebar h4 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: var(--brand-deep);
  display: flex;
  align-items: center;
  gap: 8px;
}
.shop-sidebar h4::before {
  content: "";
  width: 22px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--summer-mint) 100%);
  border-radius: 2px;
}
.cat-list { list-style: none; padding: 0; }
.cat-list li {
  margin-bottom: 3px;
}
.cat-list li:last-child { margin-bottom: 0; }
.cat-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  border-radius: 8px;
  background: rgba(255,255,255,0.6);
  border: 1px solid transparent;
  transition: all .25s cubic-bezier(.16,1,.3,1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.cat-list a > span:nth-child(2) {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-light) 100%);
  border-radius: 0 3px 3px 0;
  transition: height .25s cubic-bezier(.16,1,.3,1);
}
.cat-list a .ic {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--brand-bg) 0%, #DCEAF8 100%);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .35s cubic-bezier(.5, -0.4, .5, 1.4);
  box-shadow: 0 2px 4px rgba(30, 58, 138, 0.06);
}
.cat-list a .ic svg { display: block; }
.cat-list a .count {
  background: rgba(30, 58, 138, 0.08);
  color: var(--brand-deep);
  font-size: 10.5px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
  flex-shrink: 0;
}
.cat-list a:hover {
  color: var(--brand-deep);
  background: #fff;
  border-color: var(--brand-light);
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.08);
}
.cat-list a:hover::before { height: 55%; }
.cat-list a:hover .ic { transform: scale(1.08) rotate(-4deg); }
.cat-list a.active {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: #fff;
  font-weight: 800;
  border-color: var(--brand);
  box-shadow: 0 6px 14px rgba(30, 58, 138, 0.22);
  transform: translateX(3px);
}
.cat-list a.active::before { height: 65%; background: #fff; }
.cat-list a.active .ic {
  background: rgba(255,255,255,0.20);
  color: #fff;
}
.cat-list a.active .count {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

/* Sidebar consult section — compact */
.shop-sidebar .consult-divider {
  margin: 14px -14px 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 50%, transparent 100%);
}
.shop-sidebar .consult-box {
  text-align: center;
  padding: 4px 0;
}
.shop-sidebar .consult-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  background: linear-gradient(135deg, var(--summer-mint) 0%, var(--summer-cyan) 100%);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 14px rgba(0, 212, 199, 0.25);
  animation: float 3.5s ease-in-out infinite;
}
.shop-sidebar .consult-icon svg { display: block; }
.shop-sidebar .consult-box h5 {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-deep);
  margin-bottom: 4px;
}
.shop-sidebar .consult-box p {
  font-size: 11.5px;
  line-height: 1.45;
  margin-bottom: 10px;
  color: var(--text-soft);
}
.shop-sidebar .btn-consult {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
}
.shop-sidebar .btn-consult.phone {
  background: linear-gradient(135deg, var(--success) 0%, #22C55E 100%);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.30);
}
.shop-sidebar .btn-consult.zalo {
  background: linear-gradient(135deg, #0068FF 0%, #2D9CDB 100%);
  box-shadow: 0 6px 16px rgba(0, 104, 255, 0.30);
}
.shop-sidebar .btn-consult:hover {
  transform: translateY(-3px) scale(1.02);
}
.shop-sidebar .btn-consult.phone:hover { box-shadow: 0 10px 22px rgba(22, 163, 74, 0.40); }
.shop-sidebar .btn-consult.zalo:hover { box-shadow: 0 10px 22px rgba(0, 104, 255, 0.40); }
.shop-sidebar .btn-consult::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  transition: left 0.5s ease;
}
.shop-sidebar .btn-consult:hover::before { left: 100%; }
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}
.shop-toolbar .left, .shop-toolbar .right { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-soft); }
.shop-toolbar select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .shop { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
}
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

/* ===== Product card ===== */
.p-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.p-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-light);
}
.p-card-img {
  position: relative;
  background: linear-gradient(180deg, #E8F2FB 0%, #F8FBFE 100%);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.p-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.p-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cta);
  color: var(--cta-text);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.p-card-badge.new { background: var(--success); color: #fff; }
.p-card-badge.hot { background: var(--danger); color: #fff; }
.p-card-body { padding: 18px; display: flex; flex-direction: column; flex-grow: 1; }
.p-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-deep);
  margin-bottom: 6px;
  min-height: 44px;
  line-height: 1.35;
}
.p-card-name:hover { color: var(--brand); }
.p-card-meta {
  font-size: 12.5px;
  color: var(--text-mute);
  margin-bottom: 10px;
}
.p-card-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 14px;
}
.p-card-price .old {
  color: var(--text-mute);
  text-decoration: line-through;
  font-size: 14px;
  font-weight: 600;
  margin-left: 8px;
}
.p-card-actions { margin-top: auto; display: flex; gap: 8px; }
.p-card-actions .btn { flex: 1; padding: 10px 12px; font-size: 13px; min-height: 42px; }
.qty-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.qty button {
  width: 32px;
  height: 36px;
  font-size: 18px;
  color: var(--brand-deep);
  background: #fff;
  transition: background 0.15s;
}
.qty button:hover { background: var(--brand-bg); }
.qty input {
  width: 44px;
  height: 36px;
  border: none;
  text-align: center;
  font-weight: 700;
  color: var(--brand-deep);
  background: #fff;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ===== Product detail page ===== */
.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  padding-top: 40px;
  padding-bottom: 60px;
}
.pd-gallery {
  background: linear-gradient(180deg, #E8F2FB 0%, #F8FBFE 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  position: sticky;
  top: 90px;
}
.pd-gallery img { max-height: 480px; margin: 0 auto; mix-blend-mode: multiply; }
.pd-info h1 { font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 10px; }
.pd-rating { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-soft); margin-bottom: 16px; }
.pd-rating .stars { color: var(--cta); }
.pd-price-block {
  background: var(--brand-bg-soft);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 22px;
}
.pd-price { font-size: 34px; font-weight: 800; color: var(--brand); }
.pd-price .old { color: var(--text-mute); text-decoration: line-through; font-size: 18px; font-weight: 600; margin-left: 12px; }
.pd-stock { font-size: 13px; color: var(--success); margin-top: 4px; font-weight: 600; }
.pd-desc { color: var(--text-soft); margin-bottom: 22px; font-size: 15px; line-height: 1.75; }
.pd-attrs { display: grid; grid-template-columns: 130px 1fr; gap: 8px 16px; margin-bottom: 24px; font-size: 14px; }
.pd-attrs dt { color: var(--text-mute); }
.pd-attrs dd { color: var(--text); font-weight: 600; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.pd-actions .btn { flex: 1; min-width: 160px; }
.pd-features { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.pd-features h4 { font-size: 15px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.pd-features ul { list-style: none; }
.pd-features li { padding: 8px 0; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--border-soft); }
.pd-features li:last-child { border-bottom: none; }
.pd-features li::before { content: "✓"; color: var(--success); font-weight: 800; }
@media (max-width: 900px) {
  .pd-grid { grid-template-columns: 1fr; gap: 30px; }
  .pd-gallery { position: static; padding: 24px; }
}

/* ===== About page ===== */
.about-hero {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
  color: #fff;
  padding: 90px 0;
  text-align: center;
}
.about-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); }
.about-hero p { color: rgba(255, 255, 255, 0.85); max-width: 720px; margin: 16px auto 0; font-size: 17px; }
.story-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }
.story-grid img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.tl-item { background: var(--brand-bg-soft); border-radius: var(--radius-lg); padding: 24px; }
.tl-item .y { font-size: 28px; font-weight: 800; color: var(--brand); margin-bottom: 6px; }
.tl-item p { font-size: 14px; }
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .timeline { grid-template-columns: 1fr; } }

/* ===== Contact page ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { background: var(--brand-bg-soft); border-radius: var(--radius-lg); padding: 30px; }
.contact-info h3 { margin-bottom: 16px; }
.contact-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
.contact-item:last-child { border-bottom: none; }
.contact-item .ic {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item .ic svg { width: 20px; height: 20px; }
.contact-item .label { font-size: 13px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.04em; }
.contact-item .val { font-size: 15px; color: var(--text); font-weight: 600; }
.contact-item .val a { color: var(--brand); }

/* ===== Forms ===== */
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; gap: 16px; }
.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row.cols-2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text); }
.field label .req { color: var(--danger); margin-left: 2px; }
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.10);
}
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: 12.5px; color: var(--text-mute); }

/* ===== Cart page ===== */
.cart-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 30px;
  padding-top: 30px;
  padding-bottom: 60px;
}
@media (max-width: 900px) { .cart-grid { grid-template-columns: 1fr; } }
.cart-items { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 6px 22px; }
.cart-row {
  display: grid;
  grid-template-columns: 90px 1fr auto auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-soft);
}
.cart-row:last-child { border-bottom: none; }
.cart-row .ci-img {
  width: 90px; height: 90px;
  background: var(--brand-bg-soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
}
.cart-row .ci-img img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-row .ci-name { font-weight: 700; color: var(--brand-deep); font-size: 15px; }
.cart-row .ci-meta { font-size: 13px; color: var(--text-mute); margin-top: 4px; }
.cart-row .ci-price { font-weight: 700; color: var(--brand); font-size: 16px; }
.cart-row .ci-remove {
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--danger);
  background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.cart-row .ci-remove:hover { background: #FEE2E2; }
.cart-summary {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  height: fit-content;
  position: sticky;
  top: 90px;
}
.cart-summary h3 { margin-bottom: 16px; }
.cs-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; color: var(--text-soft); }
.cs-row.total {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-deep);
}
.cs-row.total .v { color: var(--brand); font-size: 22px; }
.cart-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-soft);
}
.cart-empty .icon-big {
  font-size: 80px;
  color: var(--brand-light);
  opacity: 0.4;
  margin-bottom: 20px;
}

/* ===== Checkout page ===== */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 30px; padding-top: 30px; padding-bottom: 60px; }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } }
.checkout-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.checkout-card h3 { margin-bottom: 18px; font-size: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.summary-list { list-style: none; padding: 0; }
.summary-list li {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
}
.summary-list li:last-child { border-bottom: none; }
.summary-list .si-img {
  width: 56px; height: 56px;
  background: var(--brand-bg-soft);
  border-radius: 8px;
  padding: 6px;
  display: flex; align-items: center; justify-content: center;
}
.summary-list .si-img img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.summary-list .si-name { font-size: 13.5px; font-weight: 600; color: var(--brand-deep); line-height: 1.3; }
.summary-list .si-qty { font-size: 12px; color: var(--text-mute); margin-top: 4px; }
.summary-list .si-price { font-size: 14px; font-weight: 700; color: var(--brand); }
.pay-method { border: 1px solid var(--border); border-radius: 8px; padding: 16px; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; transition: border-color 0.15s; }
.pay-method:hover { border-color: var(--brand-light); }
.pay-method.active { border-color: var(--brand); background: var(--brand-bg-soft); }
.pay-method input { margin-top: 4px; }
.pay-method .pt-name { font-weight: 700; color: var(--brand-deep); }
.pay-method .pt-desc { font-size: 13px; color: var(--text-soft); margin-top: 4px; }

/* ===== Footer ===== */
.footer {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer .brand-foot { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.footer .brand-foot img { height: 50px; filter: brightness(0) invert(1); }
.footer-links { list-style: none; }
.footer-links li { padding: 5px 0; }
.footer-links a { color: rgba(255, 255, 255, 0.75); transition: color 0.15s; }
.footer-links a:hover { color: var(--cta); }
.footer-contact { line-height: 1.9; }
.footer-contact strong { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== Floating Zalo/CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 22px;
  right: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(11, 30, 63, 0.30);
  transition: transform 0.15s;
  position: relative;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn.zalo { background: #0068FF; }
.float-btn.phone { background: var(--success); }
.float-btn svg { width: 26px; height: 26px; }
.float-btn::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.5;
  animation: ringPulse 1.6s infinite;
}
@keyframes ringPulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.4); opacity: 0; } }

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--brand-deep);
  color: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  z-index: 200;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* ===== Utility ===== */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.gap-2 { gap: 16px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }

/* ============================================
   ANIMATIONS & MOTION
   ============================================ */

/* === Keyframes === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(2deg); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes bubbleRise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-120vh) scale(1.3); opacity: 0; }
}
@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}
@keyframes spinSlow {
  to { transform: rotate(360deg); }
}
@keyframes shimmerGold {
  0%, 100% { background-position: 0 0; }
  50% { background-position: 100% 0; }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.35); }
  50% { box-shadow: 0 0 0 14px rgba(59, 130, 246, 0); }
}
@keyframes waveMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === Scroll reveal === */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal-left.in-view { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal-right.in-view { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.reveal-scale.in-view { opacity: 1; transform: scale(1); }

/* Stagger children by delay */
.stagger > * { transition-delay: 0s; }
.stagger > *:nth-child(1) { transition-delay: .05s; }
.stagger > *:nth-child(2) { transition-delay: .15s; }
.stagger > *:nth-child(3) { transition-delay: .25s; }
.stagger > *:nth-child(4) { transition-delay: .35s; }
.stagger > *:nth-child(5) { transition-delay: .45s; }
.stagger > *:nth-child(6) { transition-delay: .55s; }
.stagger > *:nth-child(7) { transition-delay: .65s; }
.stagger > *:nth-child(8) { transition-delay: .75s; }

/* === Bubbles for hero === */
.bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.bubble {
  position: absolute;
  bottom: -60px;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.85), rgba(186, 219, 252, .35) 60%, rgba(59, 130, 246, .15) 100%);
  border-radius: 50%;
  animation: bubbleRise linear infinite;
  box-shadow: inset -3px -3px 6px rgba(255,255,255,.4), 0 4px 12px rgba(30, 58, 138, 0.08);
}

/* === Hero wave (SVG bottom curve) === */
.wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 2;
  pointer-events: none;
}
.wave-bottom svg { width: 100%; height: 100%; display: block; }

/* === Hero image floating === */
.hero-img img { animation: float 5s ease-in-out infinite; }

/* === Button shimmer === */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn:hover::before { left: 100%; }

/* === Ripple effect === */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

/* === Product card glow on hover === */
.p-card { position: relative; transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s cubic-bezier(.16,1,.3,1), border-color .35s; }
.p-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(30, 58, 138, 0.18), 0 0 0 1px rgba(59, 130, 246, 0.18);
  border-color: var(--brand-light);
}
.p-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.p-card:hover::after { opacity: 1; }
.p-card-img img { transition: transform .55s cubic-bezier(.16,1,.3,1); }
.p-card:hover .p-card-img img { transform: scale(1.06); }

/* === Floating CTA pulse === */
.float-btn { animation: pulseGlow 2.2s ease-in-out infinite; }
.float-btn.phone { animation-delay: 1.1s; }

/* === Nav link underline hover === */
.nav-links > li > a {
  position: relative;
}
.nav-links > li > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after { transform: scaleX(1); }

/* === Eyebrow shimmer === */
.eyebrow {
  background: linear-gradient(90deg, var(--brand-bg) 0%, #DCEAF8 50%, var(--brand-bg) 100%);
  background-size: 200% 100%;
  animation: shimmerGold 3s ease-in-out infinite;
}

/* === Stats counter container === */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  text-align: center;
}
.stat-item .stat-num {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, var(--cta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.stat-item .stat-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (max-width: 800px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }

/* === Benefit icon animations === */
.benefit { transition: transform .35s, box-shadow .35s, background .35s; }
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: linear-gradient(180deg, #fff 0%, var(--brand-bg-soft) 100%); }
.benefit .icon { transition: transform .4s cubic-bezier(.5, -0.4, .5, 1.4); }
.benefit:hover .icon { transform: scale(1.15) rotate(-8deg); }

/* === Cat card improvements === */
.cat-card { transition: transform .35s, box-shadow .35s; position: relative; overflow: hidden; }
.cat-card::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.cat-card:hover::before { opacity: 1; }
.cat-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 20px 40px rgba(30, 58, 138, 0.15); }
.cat-card img { transition: transform .55s cubic-bezier(.16,1,.3,1); }
.cat-card:hover img { transform: scale(1.08) rotate(-2deg); }

/* === Section dividers with wave === */
.wave-divider {
  position: relative;
  width: 100%;
  height: 60px;
  background: var(--bg-alt);
}
.wave-divider svg { width: 100%; height: 100%; display: block; }

/* === Smooth gradient backgrounds === */
.gradient-mesh {
  background:
    radial-gradient(at 20% 20%, rgba(59, 130, 246, 0.10) 0px, transparent 50%),
    radial-gradient(at 80% 30%, rgba(212, 168, 67, 0.06) 0px, transparent 50%),
    radial-gradient(at 40% 80%, rgba(30, 58, 138, 0.08) 0px, transparent 50%),
    linear-gradient(180deg, var(--brand-bg) 0%, #F8FBFE 100%);
}

/* === Tooltip badge === */
@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.p-card-badge.hot, .p-card-badge.new {
  animation: badgePulse 2.5s ease-in-out infinite;
}

/* === Loading skeleton === */
.skeleton {
  background: linear-gradient(90deg, var(--border-soft) 0%, #F7FAFD 50%, var(--border-soft) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 8px;
}

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1 !important; transform: none !important; }
}

/* ============================================
   SUMMER THEME — bright, refreshing, fun
   ============================================ */

@keyframes sunRotate { to { transform: rotate(360deg); } }
@keyframes sunRays { 0%, 100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 0.7; transform: scale(1.05); } }
@keyframes iceFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-18px) rotate(3deg); }
}
@keyframes summerGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes waveFlow {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}
@keyframes splashIn {
  0% { transform: scale(0) rotate(-180deg); opacity: 0; }
  60% { transform: scale(1.1) rotate(10deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* Summer hero gradient — more vibrant */
.hero.summer {
  background:
    radial-gradient(ellipse at top right, rgba(255, 200, 61, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(0, 212, 199, 0.20) 0%, transparent 50%),
    linear-gradient(180deg, #87CEEB 0%, #B3E5FC 25%, #E0F6FF 55%, #F0FBFF 85%, #ffffff 100%);
}
.hero.summer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 60%, rgba(255,255,255,0.6) 0%, transparent 8%),
    radial-gradient(circle at 85% 25%, rgba(255,255,255,0.5) 0%, transparent 6%),
    radial-gradient(circle at 30% 80%, rgba(255,255,255,0.7) 0%, transparent 4%);
  pointer-events: none;
}
.hero.summer h1 .highlight {
  background: var(--summer-gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: summerGradient 4s ease-in-out infinite;
}

/* Sun decoration */
.summer-sun {
  position: absolute;
  top: 40px;
  right: 60px;
  width: 200px;
  height: 200px;
  z-index: 1;
  pointer-events: none;
}
.summer-sun .sun-core {
  position: absolute;
  inset: 30px;
  background: var(--sun-gradient);
  border-radius: 50%;
  box-shadow: 0 0 60px 20px rgba(255, 200, 61, 0.45);
  animation: sunRays 3s ease-in-out infinite;
}
.summer-sun .sun-rays {
  position: absolute;
  inset: 0;
  animation: sunRotate 30s linear infinite;
}
.summer-sun .sun-rays::before,
.summer-sun .sun-rays::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 200, 61, 0.6) 30%, rgba(255, 200, 61, 0.6) 70%, transparent 100%);
  transform: translate(-50%, -50%);
  border-radius: 3px;
}
.summer-sun .sun-rays::after { transform: translate(-50%, -50%) rotate(45deg); }
.summer-sun .sun-rays-2 { position: absolute; inset: 0; animation: sunRotate 30s linear infinite reverse; }
.summer-sun .sun-rays-2::before,
.summer-sun .sun-rays-2::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 200, 61, 0.6) 30%, rgba(255, 200, 61, 0.6) 70%, transparent 100%);
  transform: translate(-50%, -50%) rotate(22.5deg);
  border-radius: 3px;
}
.summer-sun .sun-rays-2::after { transform: translate(-50%, -50%) rotate(67.5deg); }
@media (max-width: 800px) { .summer-sun { width: 130px; height: 130px; top: 20px; right: 20px; } }

/* Floating ice cubes */
.ice-cube {
  position: absolute;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(255,255,255,.9) 0%, rgba(186, 230, 253, .6) 100%);
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.15), inset -8px -8px 0 rgba(186, 230, 253, .35);
  animation: iceFloat 5s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}
.ice-cube.ic1 { top: 20%; left: 8%; animation-delay: 0s; }
.ice-cube.ic2 { top: 60%; left: 14%; width: 36px; height: 36px; animation-delay: -1.5s; }
.ice-cube.ic3 { top: 30%; right: 12%; width: 42px; height: 42px; animation-delay: -3s; }
@media (max-width: 700px) { .ice-cube { display: none; } }

/* Palm leaf — floating in corners */
.palm-leaf {
  position: absolute;
  width: 180px;
  height: 180px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
  filter: drop-shadow(0 8px 16px rgba(0, 100, 50, 0.25));
}
.palm-leaf.pl-tl { top: -30px; left: -40px; transform: rotate(-25deg); animation: float 6s ease-in-out infinite; }
.palm-leaf.pl-br { bottom: 50px; right: -50px; transform: rotate(190deg); animation: float 7s ease-in-out infinite reverse; }
@media (max-width: 800px) {
  .palm-leaf { width: 100px; height: 100px; }
  .palm-leaf.pl-tl { top: -10px; left: -25px; }
  .palm-leaf.pl-br { bottom: 30px; right: -25px; }
}

/* Lemon slice - bright yellow accent */
.lemon-slice {
  position: absolute;
  width: 80px;
  height: 80px;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 6px 12px rgba(255, 200, 61, 0.35));
  animation: float 4.5s ease-in-out infinite;
}
.lemon-slice.ls1 { top: 35%; left: 25%; animation-delay: -1s; }
.lemon-slice.ls2 { top: 60%; right: 35%; width: 60px; height: 60px; animation-delay: -2.5s; }
@media (max-width: 700px) { .lemon-slice { display: none; } }

/* Beach ball */
.beach-ball {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg,
      #FF6B7A 0deg 60deg,
      #FFD700 60deg 120deg,
      #4FB8FF 120deg 180deg,
      #00D4C7 180deg 240deg,
      #FF8C42 240deg 300deg,
      #FF6B7A 300deg 360deg
    );
  box-shadow: inset -10px -10px 20px rgba(0,0,0,0.15), 0 12px 24px rgba(11, 30, 63, 0.20);
  animation: float 5s ease-in-out infinite, sunRotate 12s linear infinite;
  pointer-events: none;
  z-index: 2;
}
.beach-ball.bb1 { top: 70%; right: 15%; animation-delay: -3s; }
@media (max-width: 800px) { .beach-ball { width: 60px; height: 60px; } }

/* Wave divider — animated thick summer wave between sections */
.summer-wave-divider {
  position: relative;
  height: 80px;
  margin-top: -1px;
  overflow: hidden;
  background: var(--bg-alt);
}
.summer-wave-divider svg {
  position: absolute;
  width: 200%;
  height: 100%;
  left: 0;
  animation: waveMove 12s linear infinite;
}
.summer-wave-divider.flip { transform: rotate(180deg); }

/* Animated emoji icons in eyebrow */
.eyebrow.summer::before {
  content: "";
  display: inline-block;
}

/* Splash on stat counter */
.stat-summer { position: relative; }
.stat-summer::before {
  content: "";
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle at center, rgba(255, 200, 61, 0.15) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  animation: splashIn 1.5s ease-out 0.5s forwards;
}

/* CTA button — sun-like glow on summer */
.btn-3d.summer-glow {
  background: linear-gradient(135deg, var(--summer-sun) 0%, #FF8C42 100%);
  box-shadow: 0 6px 0 #C97914, 0 10px 30px rgba(255, 140, 66, 0.45), 0 0 40px rgba(255, 200, 61, 0.30);
  color: #5C2D00;
}
.btn-3d.summer-glow:hover {
  box-shadow: 0 9px 0 #C97914, 0 15px 36px rgba(255, 140, 66, 0.55), 0 0 60px rgba(255, 200, 61, 0.50);
}

/* Floating element wrapper */
.summer-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* ============================================
   REAL ANIMATIONS — inspired by Apple, La Vie, Nike
   ============================================ */

/* === Nav shrink on scroll === */
.nav { transition: padding 0.3s ease, box-shadow 0.3s ease; }
.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(11, 30, 63, 0.08);
}
.nav.scrolled .nav-inner { padding: 8px 20px; }
.nav.scrolled .brand img { height: 36px; transition: height 0.3s; }

/* === Marquee certification logos === */
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.cert-marquee {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
}
.cert-marquee::before, .cert-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.cert-marquee::before { left: 0; background: linear-gradient(90deg, #fff 0%, transparent 100%); }
.cert-marquee::after { right: 0; background: linear-gradient(-90deg, #fff 0%, transparent 100%); }
.cert-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.cert-track:hover { animation-play-state: paused; }
.cert-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.cert-item:hover { opacity: 1; }
.cert-item .cert-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-bg);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* === Magnetic button — subtle JS-driven === */
.btn[data-magnetic], a.btn[data-magnetic] {
  transition: transform 0.25s cubic-bezier(.5, -0.4, .5, 1.4), box-shadow 0.25s;
  will-change: transform;
}

/* === Parallax hero image === */
.hero-img.parallax { will-change: transform; }

/* === Product card image cross-fade hover === */
.p-card-img {
  position: relative;
  overflow: hidden;
}
.p-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(30, 58, 138, 0.06) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.p-card:hover .p-card-img::after { opacity: 1; }
.p-card-img img {
  transition: transform 0.6s cubic-bezier(.16,1,.3,1), filter 0.4s ease;
}
.p-card:hover .p-card-img img {
  transform: scale(1.04);
  filter: brightness(1.02);
}

/* === Combo badge — special styling === */
.p-card-badge.combo {
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.30);
}

/* === Smooth reveal — slower, more cinematic === */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  transition-duration: 0.85s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Scroll progress bar (top) === */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--summer-mint) 100%);
  z-index: 200;
  width: 0;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* === Image lazy-load fade-in === */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s ease;
}
img[loading="lazy"].loaded,
img[loading="lazy"][src] {
  opacity: 1;
}

/* ============================================
   3D SUMMER FRESH — water drops, ice 3D, wave depth
   ============================================ */

/* === 3D Water drops rain === */
@keyframes dropFall {
  0% { transform: translateY(-100px) translateZ(0) rotateX(0deg); opacity: 0; }
  10% { opacity: 0.7; }
  100% { transform: translateY(800px) translateZ(40px) rotateX(180deg); opacity: 0; }
}
.water-drops {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  perspective: 600px;
  z-index: 1;
}
.water-drop {
  position: absolute;
  width: 14px;
  height: 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.18) 30%, rgba(59, 130, 246, 0.6) 80%, rgba(255,255,255,0.9) 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: inset -1px -2px 3px rgba(255,255,255,0.4), 0 4px 8px rgba(30, 58, 138, 0.15);
  animation: dropFall linear infinite;
  transform-style: preserve-3d;
}

/* === 3D Ice cubes rotating with glass === */
@keyframes iceRotate3d {
  0% { transform: rotateY(0deg) rotateX(15deg) translateY(0); }
  50% { transform: rotateY(180deg) rotateX(-15deg) translateY(-12px); }
  100% { transform: rotateY(360deg) rotateX(15deg) translateY(0); }
}
.ice-3d {
  position: absolute;
  width: 60px;
  height: 60px;
  perspective: 800px;
  pointer-events: none;
  z-index: 2;
}
.ice-3d-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: iceRotate3d 8s ease-in-out infinite;
}
.ice-3d-face {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(186, 230, 253, 0.45) 50%, rgba(59, 130, 246, 0.25) 100%);
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 12px;
  box-shadow:
    inset -4px -4px 8px rgba(186, 230, 253, 0.4),
    inset 4px 4px 8px rgba(255,255,255,0.6),
    0 10px 30px rgba(30, 58, 138, 0.20);
  backdrop-filter: blur(2px);
}
.ice-3d-face.front { transform: translateZ(30px); }
.ice-3d-face.back { transform: translateZ(-30px) rotateY(180deg); }
.ice-3d-face.right { transform: rotateY(90deg) translateZ(30px); }
.ice-3d-face.left { transform: rotateY(-90deg) translateZ(30px); }
.ice-3d-face.top { transform: rotateX(90deg) translateZ(30px); }
.ice-3d-face.bottom { transform: rotateX(-90deg) translateZ(30px); }
.ice-3d.size-md { width: 70px; height: 70px; }
.ice-3d.size-md .ice-3d-face.front { transform: translateZ(35px); }
.ice-3d.size-md .ice-3d-face.back { transform: translateZ(-35px) rotateY(180deg); }
.ice-3d.size-md .ice-3d-face.right { transform: rotateY(90deg) translateZ(35px); }
.ice-3d.size-md .ice-3d-face.left { transform: rotateY(-90deg) translateZ(35px); }
.ice-3d.size-md .ice-3d-face.top { transform: rotateX(90deg) translateZ(35px); }
.ice-3d.size-md .ice-3d-face.bottom { transform: rotateX(-90deg) translateZ(35px); }
@media (max-width: 700px) { .ice-3d { display: none; } }

/* === 3D animated wave with depth === */
.wave-3d {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  pointer-events: none;
  z-index: 2;
}
.wave-3d svg {
  width: 200%;
  height: 100%;
  position: absolute;
  bottom: 0;
  animation: waveMove 14s linear infinite;
}
.wave-3d svg.wave-back { animation-duration: 20s; opacity: 0.45; bottom: 0; }
.wave-3d svg.wave-mid { animation-duration: 14s; opacity: 0.65; bottom: 6px; }
.wave-3d svg.wave-front { animation-duration: 10s; opacity: 1; bottom: 0; }

/* === Hero image 3D tilt on scroll === */
.hero-img-3d {
  perspective: 1500px;
  transform-style: preserve-3d;
}
.hero-img-3d img {
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}

/* ============================================
   LIVE PURCHASE ACTIVITY (subtle, not spammy)
   ============================================ */

@keyframes activityIn {
  from { transform: translateY(20px) scale(0.92); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes activityOut {
  to { transform: translateY(20px) scale(0.92); opacity: 0; }
}
.activity-toast {
  position: fixed;
  bottom: 22px;
  left: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 32px rgba(11, 30, 63, 0.15);
  max-width: 300px;
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.92);
}
.activity-toast.show {
  animation: activityIn 0.45s cubic-bezier(.16,1,.3,1) forwards;
}
.activity-toast.hide {
  animation: activityOut 0.35s ease-in forwards;
}
.activity-toast .at-check {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success) 0%, #22C55E 100%);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.30);
}
.activity-toast .at-text { font-size: 12.5px; color: var(--text); line-height: 1.4; }
.activity-toast .at-text strong { color: var(--brand-deep); }
.activity-toast .at-time { color: var(--text-mute); font-size: 11px; }
@media (max-width: 700px) {
  .activity-toast { bottom: 78px; left: 8px; max-width: calc(100% - 76px); padding: 8px 12px; }
}

/* === Stock indicator on product card === */
.stock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-soft);
  margin-bottom: 8px;
  margin-top: -4px;
}
.stock-bar .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
  animation: pulseGlow 1.8s ease-in-out infinite;
}

/* === Viewer count badge === */
.viewer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(220, 38, 38, 0.08);
  color: var(--danger);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: 6px;
}
.viewer-badge::before {
  content: "👁";
  font-size: 12px;
}

/* Summer announcement bar — bright */
.announce.summer {
  background: linear-gradient(90deg, var(--summer-coral) 0%, var(--summer-sun) 50%, var(--summer-mint) 100%);
  background-size: 200% 100%;
  animation: summerGradient 4s ease infinite;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.announce.summer a { color: #fff; text-decoration: underline; }

/* Summer eyebrow — fresh mint */
.eyebrow.summer {
  background: linear-gradient(135deg, var(--summer-mint) 0%, var(--summer-cyan) 100%);
  color: #003E3A;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 212, 199, 0.25);
}

/* Summer wave between sections */
.wave-summer {
  position: relative;
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, var(--summer-cyan) 0%);
  overflow: hidden;
}
.wave-summer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath fill='%234FB8FF' fill-opacity='.35' d='M0 30 Q150 60 300 30 T600 30 T900 30 T1200 30 V80 H0 Z'/%3E%3Cpath fill='%2300D4C7' fill-opacity='.3' d='M0 45 Q150 75 300 45 T600 45 T900 45 T1200 45 V80 H0 Z'/%3E%3C/svg%3E");
  background-size: 50% 100%;
  background-repeat: repeat-x;
  animation: waveFlow 8s linear infinite;
}

/* Summer stat card variant */
.stat-summer .stat-num {
  background: var(--summer-gradient);
  background-size: 200% 200%;
  animation: summerGradient 4s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================
   3D EFFECTS
   ============================================ */

/* Card 3D tilt — perspective container */
.tilt-3d {
  perspective: 1000px;
  transform-style: preserve-3d;
}
.tilt-3d > * {
  transition: transform 0.2s cubic-bezier(.16,1,.3,1);
  transform-style: preserve-3d;
}

/* Product cards get tilt via JS, but here's hover lift in 3D */
.p-card { transform-style: preserve-3d; }
.p-card .p-card-img { transform: translateZ(0); }
.p-card .p-card-badge { transform: translateZ(20px); transition: transform .3s; }
.p-card:hover .p-card-badge { transform: translateZ(40px) scale(1.08); }

/* 3D button — deep shadow + lift */
.btn {
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(.5, -0.4, .5, 1.4), box-shadow 0.25s;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-3d {
  box-shadow: 0 6px 0 #B8932F, 0 10px 20px rgba(212, 168, 67, 0.35);
}
.btn-3d:hover { transform: translateY(-3px); box-shadow: 0 9px 0 #B8932F, 0 15px 30px rgba(212, 168, 67, 0.45); }
.btn-3d:active { transform: translateY(3px); box-shadow: 0 3px 0 #B8932F, 0 6px 12px rgba(212, 168, 67, 0.30); }

/* 3D hero image with depth */
.hero-img { perspective: 1200px; }
.hero-img img {
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(.16,1,.3,1);
}

/* 3D category cards on hover */
.cat-card {
  perspective: 800px;
  transition: transform 0.35s cubic-bezier(.16,1,.3,1), box-shadow 0.35s;
}
.cat-card img { transition: transform 0.5s cubic-bezier(.16,1,.3,1); }
.cat-card:hover img { transform: translateZ(20px) scale(1.08) rotate(-2deg); }

/* 3D benefit icons */
.benefit { perspective: 600px; }
.benefit .icon { transform-style: preserve-3d; transition: transform 0.4s cubic-bezier(.5, -0.4, .5, 1.4); }
.benefit:hover .icon {
  transform: scale(1.15) rotateY(360deg);
}

/* 3D stat numbers */
.stat-item .stat-num {
  text-shadow: 0 2px 0 rgba(255,255,255,.1), 0 4px 12px rgba(0,0,0,.25);
}

/* 3D nav brand logo (subtle) */
.brand img { transition: transform 0.3s; }
.brand:hover img { transform: scale(1.05) rotate(-5deg); }

/* Tilt direction provided by JS via CSS var */
.tilt-card {
  transition: transform 0.15s ease-out;
  will-change: transform;
}

/* ============================================
   MOBILE RESPONSIVE — improvements
   ============================================ */

/* Make sure all images stay sharp on retina */
img { -webkit-backface-visibility: hidden; backface-visibility: hidden; }

/* Larger touch targets on mobile */
@media (max-width: 700px) {
  body { font-size: 14px; }
  h1 { font-size: clamp(26px, 7vw, 36px) !important; }
  h2 { font-size: clamp(22px, 5.5vw, 28px) !important; margin-bottom: 12px; }
  h3 { font-size: clamp(17px, 4.5vw, 20px) !important; }
  .section { padding: 40px 0; }
  .section-sm { padding: 28px 0; }
  .container { padding: 0 16px; }

  /* Hero adjustments */
  .hero { padding: 36px 0 50px; }
  .hero h1 { font-size: clamp(24px, 7vw, 32px) !important; }
  .hero .lead { font-size: 15px; }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { width: 100%; }
  .hero-trust { gap: 14px; }
  .hero-trust .item { font-size: 13px; }
  .hero-img img { max-height: 320px; }
  .wave-bottom { height: 50px; }

  /* Nav */
  .nav-inner { padding: 10px 16px; }
  .brand img { height: 34px; }
  .nav-icons { gap: 8px; }
  .nav-icon { width: 36px; height: 36px; }
  .nav-icon svg { width: 18px; height: 18px; }

  /* Topbar simplify */
  .topbar { display: none; }
  .announce { font-size: 12px; padding: 7px 12px; }

  /* Buttons mobile */
  .btn { padding: 14px 22px; font-size: 15px; min-height: 50px; }
  .btn-lg { padding: 16px 26px; font-size: 16px; min-height: 56px; }
  .btn-sm { padding: 10px 16px; font-size: 13px; min-height: 40px; }

  /* Cards on mobile */
  .p-card-name { font-size: 14px; min-height: auto; }
  .p-card-meta { font-size: 12px; }
  .p-card-price { font-size: 18px; }
  .p-card-actions .btn { font-size: 12px; padding: 8px; }

  /* Stats — 2 cols + smaller */
  .stats-strip { gap: 14px; padding: 20px 14px; }
  .stat-item .stat-num { font-size: clamp(22px, 6vw, 32px); }
  .stat-item .stat-label { font-size: 11px; }

  /* Cart */
  .cart-row {
    grid-template-columns: 70px 1fr;
    grid-template-rows: auto auto auto;
    gap: 8px 12px;
  }
  .cart-row .ci-img { width: 70px; height: 70px; grid-row: 1 / 3; }
  .cart-row .qty { grid-column: 2; }
  .cart-row .ci-price { grid-column: 2; font-size: 16px; }
  .cart-row .ci-remove { grid-column: 2; grid-row: 1; justify-self: end; }

  /* Checkout summary stick to bottom on mobile */
  .checkout-grid { gap: 20px; padding-top: 20px; padding-bottom: 30px; }
  .checkout-card { padding: 20px 16px; }
  .checkout-card h3 { font-size: 16px; }
  .field input, .field select, .field textarea { padding: 14px 12px; font-size: 16px; /* prevent iOS zoom */ }
  .form-row.cols-2 { grid-template-columns: 1fr; gap: 10px; }

  /* Pay method blocks */
  .pay-method { padding: 14px; }
  .pay-method .pt-name { font-size: 14px; }
  .pay-method .pt-desc { font-size: 12.5px; }

  /* Floating CTAs */
  .floating-cta { bottom: 14px; right: 14px; gap: 10px; }
  .float-btn { width: 48px; height: 48px; }
  .float-btn svg { width: 22px; height: 22px; }

  /* Footer compact */
  .footer { padding: 36px 0 0; }
  .footer-grid { gap: 24px; padding-bottom: 24px; }
  .footer h4 { font-size: 13px; margin-bottom: 12px; }
  .footer .brand-foot img { height: 36px; }

  /* Bank info QR layout — stack */
  /* Containers using grid 300px+1fr will stack with media query if used inline */
}

/* Very small phones (320px) */
@media (max-width: 380px) {
  .hero-img img { max-height: 260px; }
  .nav-icons { gap: 6px; }
  .brand img { height: 30px; }
  .p-card-name { font-size: 13.5px; line-height: 1.3; }
  .p-card-price { font-size: 17px; }
}

/* Tablet portrait */
@media (min-width: 701px) and (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .cat-strip { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Inline overrides for QR bank info on mobile — stack QR on top of info */
@media (max-width: 700px) {
  div[style*="grid-template-columns:300px 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================
   PREMIUM COMPONENTS — built from best e-commerce
   ============================================ */

/* === Trust strip === */
.trust-strip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.06);
  position: relative;
  margin: -40px auto 30px;
  max-width: 1180px;
  z-index: 5;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  position: relative;
}
.trust-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border);
}
.trust-item .ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-bg) 0%, #DCEAF8 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.08);
}
.trust-item .num {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-deep);
  line-height: 1.1;
}
.trust-item .lbl {
  font-size: 11.5px;
  color: var(--text-soft);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
@media (max-width: 800px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); padding: 18px; gap: 14px; margin: -20px 16px 20px; }
  .trust-item:not(:last-child)::after { display: none; }
  .trust-item:not(:nth-child(2n))::after {
    display: block; right: -7px; height: 60%;
  }
}

/* === Testimonials === */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: transform .35s, box-shadow .35s;
}
.testimonial::before {
  content: "❝";
  position: absolute;
  top: -10px;
  left: 18px;
  font-size: 52px;
  color: var(--cta);
  font-family: serif;
  line-height: 1;
}
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.10);
}
.testimonial .stars {
  color: var(--cta);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.testimonial .quote {
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 16px;
  min-height: 88px;
}
.testimonial .author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-soft);
  padding-top: 14px;
}
.testimonial .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--summer-gradient);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.testimonial .author-info .name {
  font-weight: 800;
  color: var(--brand-deep);
  font-size: 14px;
}
.testimonial .author-info .meta {
  font-size: 12px;
  color: var(--text-mute);
}
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

/* === Live activity ticker === */
.live-ticker {
  position: fixed;
  bottom: 100px;
  left: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(11, 30, 63, 0.15);
  max-width: 320px;
  z-index: 95;
  opacity: 0;
  transform: translateX(-120%);
  transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .3s;
  pointer-events: none;
}
.live-ticker.show {
  opacity: 1;
  transform: translateX(0);
}
.live-ticker .lt-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--summer-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}
.live-ticker .lt-text {
  font-size: 12.5px;
  color: var(--text);
  line-height: 1.4;
}
.live-ticker .lt-text strong { color: var(--brand-deep); }
.live-ticker .lt-time { color: var(--text-mute); font-size: 11px; }
.live-ticker .lt-dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulseGlow 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .live-ticker { bottom: 80px; left: 8px; max-width: calc(100% - 80px); padding: 10px 12px; }
  .live-ticker .lt-text { font-size: 11.5px; }
}

/* === Newsletter popup === */
.newsletter-popup {
  position: fixed;
  bottom: 24px;
  right: 88px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 360px;
  box-shadow: 0 30px 60px rgba(11, 30, 63, 0.25);
  z-index: 110;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity .35s, transform .35s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.newsletter-popup.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.newsletter-popup .np-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-soft);
  border: none;
  cursor: pointer;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.newsletter-popup .np-close:hover { background: var(--border); color: var(--text); }
.newsletter-popup .np-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sun-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 20px rgba(255, 200, 61, 0.30);
  margin-bottom: 12px;
}
.newsletter-popup h4 {
  font-size: 17px;
  color: var(--brand-deep);
  margin-bottom: 6px;
}
.newsletter-popup p {
  font-size: 13px;
  margin-bottom: 14px;
  color: var(--text-soft);
}
.newsletter-popup .np-discount {
  background: var(--cta);
  color: var(--cta-text);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 13px;
}
.newsletter-popup input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 10px;
}
.newsletter-popup button.np-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: #fff;
  border: none;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.newsletter-popup button.np-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(30, 58, 138, 0.30);
}
@media (max-width: 700px) {
  .newsletter-popup { right: 12px; left: 12px; bottom: 90px; width: auto; }
}

/* === Comparison table === */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(30, 58, 138, 0.08);
  border: 1px solid var(--border);
}
.compare-table th, .compare-table td {
  padding: 14px 18px;
  text-align: center;
  font-size: 14px;
}
.compare-table th {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12.5px;
}
.compare-table th.highlight {
  background: linear-gradient(135deg, var(--cta) 0%, #E8B84B 100%);
  color: var(--cta-text);
  position: relative;
}
.compare-table th.highlight .star {
  display: inline-block;
  margin-right: 4px;
  filter: drop-shadow(0 1px 0 rgba(11, 30, 63, 0.20));
}
.compare-table tbody tr { transition: background .2s; }
.compare-table tbody tr:hover { background: var(--brand-bg-soft); }
.compare-table tbody tr:not(:last-child) td { border-bottom: 1px solid var(--border-soft); }
.compare-table td.feature {
  text-align: left;
  font-weight: 700;
  color: var(--text);
}
.compare-table td.yes { color: var(--success); font-weight: 800; font-size: 18px; }
.compare-table td.no { color: var(--text-mute); font-size: 18px; }
.compare-table td.ofan { background: linear-gradient(180deg, rgba(212, 168, 67, 0.06) 0%, rgba(212, 168, 67, 0.02) 100%); }
@media (max-width: 700px) {
  .compare-table th, .compare-table td { padding: 10px 8px; font-size: 12.5px; }
}

/* === Free shipping progress bar === */
.free-ship-bar {
  background: linear-gradient(90deg, var(--summer-mint) 0%, var(--summer-cyan) 50%, var(--summer-sky) 100%);
  background-size: 200% 100%;
  animation: summerGradient 4s ease infinite;
  color: #003E3A;
  padding: 10px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
.free-ship-bar .progress {
  background: rgba(255,255,255,.5);
  height: 6px;
  border-radius: 3px;
  margin-top: 6px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}
.free-ship-bar .progress-fill {
  background: var(--brand-deep);
  height: 100%;
  border-radius: 3px;
  transition: width .5s cubic-bezier(.16,1,.3,1);
}

/* === Sticky mobile bottom CTA === */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  display: none;
  align-items: center;
  gap: 10px;
  z-index: 90;
  box-shadow: 0 -8px 24px rgba(11, 30, 63, 0.12);
}
.mobile-sticky-cta .btn { flex: 1; padding: 12px; font-size: 14px; min-height: 46px; }
@media (max-width: 700px) {
  body.has-sticky-cta .mobile-sticky-cta { display: flex; }
  body.has-sticky-cta { padding-bottom: 70px; }
  body.has-sticky-cta .floating-cta { bottom: 80px; }
}
