/* =======================================================
   HATI · Premium Visuals Layer
   Hoạ tiết hoàng gia, frame vàng, ornament, texture
   ======================================================= */

/* ===== Decorative dividers ===== */
.divider-ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin: 40px auto; color: var(--gold-700);
}
.divider-ornament::before, .divider-ornament::after {
  content: ''; flex: 1; max-width: 180px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-600), transparent);
}
.divider-ornament__mark {
  font-family: var(--f-serif); font-size: 1.6rem; color: var(--gold-700);
  letter-spacing: 12px; padding-left: 12px;
}

/* ===== Korean cloud / wave pattern ===== */
.pattern-clouds {
  position: absolute; inset: 0; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60' viewBox='0 0 120 60'%3E%3Cpath d='M0 50 Q15 25 30 50 T60 50 T90 50 T120 50' fill='none' stroke='%238B1538' stroke-width='1.2'/%3E%3Cpath d='M0 30 Q15 5 30 30 T60 30 T90 30 T120 30' fill='none' stroke='%238B1538' stroke-width='0.8' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 120px 60px;
}

/* ===== Dot grid luxury ===== */
.pattern-dots {
  background-image: radial-gradient(circle, var(--gold-400) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .25;
}

/* ===== Gold frame ornament (for premium cards) ===== */
.frame-gold {
  position: relative;
  padding: 24px;
}
.frame-gold::before, .frame-gold::after {
  content: '';
  position: absolute;
  width: 28px; height: 28px;
  border: 2px solid var(--gold-600);
  transition: all .3s var(--ease);
}
.frame-gold::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.frame-gold::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.frame-gold:hover::before, .frame-gold:hover::after { width: 40px; height: 40px; border-color: var(--gold-500); }

/* ===== Gold text — solid, readable ===== */
.shimmer, .gold-foil {
  color: #D4AF37;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  -webkit-text-fill-color: #D4AF37;
}

/* ===== Enhanced hero ===== */
.hero--premium { padding-bottom: 0; }
.hero__frame {
  position: absolute; top: 50%; left: 50%;
  width: 96%; height: 92%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(212,164,55,.35);
  border-radius: calc(var(--r-xl) - 6px);
  pointer-events: none;
}
.hero__frame::before, .hero__frame::after {
  content: '';
  position: absolute;
  width: 40px; height: 40px;
  border: 2px solid var(--gold-500);
}
.hero__frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: calc(var(--r-xl) - 6px); }
.hero__frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: calc(var(--r-xl) - 6px); }

/* ===== Premium hero card - TRUE BLACK LUXURY ===== */
.hero__card-premium {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(212,175,55,.18), transparent 60%),
    radial-gradient(ellipse at 85% 85%, rgba(191,149,63,.12), transparent 55%),
    linear-gradient(160deg, #050403 0%, #0A0908 40%, #16130E 100%);
}
.hero__card-premium::before {
  content: '';
  position: absolute; inset: 18px;
  border: 1px solid rgba(212,175,55,.28);
  border-radius: calc(var(--r-xl) - 6px);
  background: linear-gradient(135deg, transparent 40%, rgba(212,175,55,.04) 100%);
}
.hero__card-premium::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cpath d='M100 20 Q120 100 100 180 Q80 100 100 20 M20 100 Q100 120 180 100 Q100 80 20 100' fill='none' stroke='%23D4AF37' stroke-width='0.5' opacity='0.12'/%3E%3Ccircle cx='100' cy='100' r='50' fill='none' stroke='%23D4AF37' stroke-width='0.3' opacity='0.18'/%3E%3Ccircle cx='100' cy='100' r='80' fill='none' stroke='%23D4AF37' stroke-width='0.3' opacity='0.12'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

/* ===== Hero ginseng SVG premium ===== */
.ginseng-premium {
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.5));
  max-width: 460px;
  width: 72%;
}

/* ===== Section intro ornament ===== */
.ornament-crown {
  display: block; margin: 0 auto 14px;
  width: 60px; height: 28px;
  color: var(--gold-700);
}

/* ===== Korean seal-style brand mark ===== */
.seal {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--red-700), var(--red-900));
  color: var(--gold-500);
  display: inline-grid; place-items: center;
  font-family: var(--f-serif); font-weight: 900;
  font-size: 1.2rem;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 4px 16px rgba(107,21,40,.3);
}
.seal::before, .seal::after {
  content: ''; position: absolute;
  background: var(--gold-500); opacity: .85;
}
.seal::before { top: 4px; left: 4px; right: 4px; height: 1px; }
.seal::after { bottom: 4px; left: 4px; right: 4px; height: 1px; }

/* ===== Premium product card upgrades ===== */
.product--premium .product__media {
  background: linear-gradient(135deg, #FAF2DC 0%, #F6E8C2 50%, #F3E9D2 100%);
  position: relative;
  display: block; aspect-ratio: 1; overflow: hidden;
}
.product--premium .product__media::before {
  content: '';
  position: absolute; inset: 14px;
  border: 1px solid rgba(179,138,44,.25);
  border-radius: 10px;
  pointer-events: none;
}
.product--premium .product__media::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.4), transparent 55%);
  pointer-events: none;
}

.product__spotlight {
  position: absolute;
  width: 200%; height: 200%;
  top: -50%; left: -50%;
  background: radial-gradient(circle, rgba(255,255,255,.4) 0%, transparent 25%);
  opacity: 0; transition: opacity .4s var(--ease);
  pointer-events: none;
}
.product:hover .product__spotlight { opacity: 1; }

/* ===== Bento tile visuals ===== */
.bento-visual {
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  width: 150px; height: 150px;
  opacity: .28;
  transition: all .4s var(--ease);
  pointer-events: none;
}
.bento__tile:hover .bento-visual { opacity: .45; transform: translateY(-50%) scale(1.08) rotate(-4deg); right: -10px; }
.bento__tile--dark .bento-visual { opacity: .4; }
.bento__tile--dark:hover .bento-visual { opacity: .65; }

/* ===== Ribbon badge ===== */
.ribbon {
  position: absolute; top: 14px; left: -6px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  color: var(--ink-900);
  font-size: .7rem; font-weight: 800; letter-spacing: .12em;
  padding: 7px 14px 7px 12px;
  clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%, 5% 50%);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  z-index: 2; text-transform: uppercase;
}
.ribbon::before {
  content: '';
  position: absolute; bottom: -6px; left: 0;
  border: 3px solid var(--gold-900);
  border-left-color: transparent; border-bottom-color: transparent;
}

/* ===== Featured product showcase ===== */
.showcase {
  background:
    radial-gradient(ellipse at 80% 30%, rgba(212,175,55,.1), transparent 55%),
    linear-gradient(180deg, var(--onyx) 0%, var(--ink-900) 100%);
  position: relative; overflow: hidden;
}
.showcase h2, .showcase h3 { color: var(--gold-100); }
.showcase .section-head p { color: rgba(235,216,148,.7); }
.showcase::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='%23D4A437' opacity='0.15'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  opacity: .5;
}
.showcase > .container { position: relative; z-index: 2; }

/* ===== Stats with ornaments ===== */
.hero__stats-premium {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 540px;
  padding-top: 30px; margin-top: 30px;
  border-top: 1px solid var(--line);
  position: relative;
}
.hero__stats-premium::before {
  content: ''; position: absolute;
  top: -1px; left: 50%; transform: translateX(-50%);
  width: 50px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-600), transparent);
}

/* ===== Premium review card ===== */
.review--luxe {
  background: #fff;
  position: relative; overflow: hidden;
}
.review--luxe::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-700));
}
.review--luxe .review__stars::after {
  content: 'Khách đã xác minh';
  display: inline-block; margin-left: 10px;
  font-size: .7rem; color: var(--success); font-weight: 600;
  background: #D9F2E1; padding: 2px 8px; border-radius: 999px; letter-spacing: 0;
}

/* ===== Blog post luxe ===== */
.post--luxe::after {
  content: 'Đọc thêm →';
  position: absolute;
  bottom: 20px; right: 28px;
  color: var(--gold-500);
  font-size: .82rem; font-weight: 600;
  opacity: 0; transform: translateX(-8px);
  transition: all .3s var(--ease);
}
.post--luxe:hover::after { opacity: 1; transform: translateX(0); }

/* ===== Hero title enhancement ===== */
.hero__title-premium {
  font-size: clamp(2.6rem, 5.8vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.hero__title-premium em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-700) 0%, var(--gold-500) 50%, var(--gold-800) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__title-premium .gold-underline {
  position: relative; display: inline-block;
}
.hero__title-premium .gold-underline::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-500));
  border-radius: 2px;
}

/* ===== Floating label chip — clean ===== */
.chip-luxe {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: rgba(212,175,55,.08);
  border: 1px solid rgba(212,175,55,.3);
  border-radius: 3px;
  font-family: var(--f-sans);
  font-size: .78rem; font-weight: 600;
  color: #D4AF37;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.chip-luxe::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #D4AF37;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

/* ===== Section-head luxe ===== */
.section-head--luxe h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.section-head--luxe .ornament-top {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  color: var(--gold-700);
  font-size: 1.4rem; letter-spacing: 8px;
}

/* ===== CTA button — clean gold solid ===== */
.btn-luxe {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px;
  background: #D4AF37;
  color: #0B0B0B;
  border-radius: 4px;
  font-family: var(--f-sans);
  font-weight: 700; font-size: .95rem;
  letter-spacing: .02em;
  box-shadow: 0 4px 16px rgba(212,175,55,.25);
  border: 0;
  position: relative; overflow: hidden;
  transition: all .25s var(--ease);
  text-transform: none;
}
.btn-luxe::before {
  content: '';
  position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transition: left .7s var(--ease);
}
.btn-luxe:hover {
  transform: translateY(-2px);
  background: #E5C767;
  box-shadow: 0 8px 24px rgba(212,175,55,.4);
  color: #0B0B0B;
}
.btn-luxe:hover::before { left: 100%; }
.btn-luxe svg { transition: transform .3s var(--ease); }
.btn-luxe:hover svg { transform: translateX(5px); }

/* Dark variant for use on light backgrounds */
.btn-luxe--dark {
  background: var(--ink-900);
  color: var(--gold-400);
  border: 1px solid var(--gold-700);
  box-shadow: 0 10px 28px rgba(10,9,8,.3), inset 0 1px 0 rgba(212,175,55,.3);
}
.btn-luxe--dark::before {
  background: linear-gradient(100deg, transparent 30%, rgba(212,175,55,.25) 50%, transparent 70%);
}
.btn-luxe--dark:hover {
  background: var(--ink-800); color: var(--gold-300);
  box-shadow: 0 18px 40px rgba(10,9,8,.45), inset 0 1px 0 rgba(212,175,55,.4);
}

/* ===== Testimonial big quotes ===== */
.testim-big {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.4;
  color: var(--ink-700);
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 40px 20px;
}
.testim-big::before, .testim-big::after {
  position: absolute;
  font-family: var(--f-serif); color: var(--gold-500);
  font-size: 4rem; line-height: 1;
}
.testim-big::before { content: '"'; top: 0; left: 10%; }
.testim-big::after { content: '"'; bottom: 10px; right: 10%; }

/* ===== Countdown timer banner ===== */
.countdown {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.countdown__cell {
  background: rgba(0,0,0,.4); color: var(--gold-500);
  border: 1px solid rgba(212,164,55,.3);
  border-radius: 10px;
  padding: 10px 16px;
  text-align: center;
  min-width: 60px;
}
.countdown__cell b { display: block; font-family: var(--f-serif); font-size: 1.6rem; font-weight: 700; color: #fff; line-height: 1; }
.countdown__cell span { font-size: .68rem; letter-spacing: .2em; color: var(--gold-500); text-transform: uppercase; margin-top: 4px; display: block; }

/* ===== Brand ribbon bar ===== */
.brand-strip {
  background: linear-gradient(180deg, var(--cream), var(--ivory));
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.brand-strip__track {
  display: flex; gap: 56px; align-items: center;
  animation: brand-scroll 28s linear infinite;
  white-space: nowrap;
}
.brand-strip__logo {
  flex: 0 0 auto;
  font-family: var(--f-serif);
  font-size: 1.6rem; font-weight: 700;
  color: var(--gold-700);
  opacity: .7;
  transition: opacity .3s var(--ease);
  letter-spacing: .04em;
}
.brand-strip__logo:hover { opacity: 1; color: var(--red-800); }
@keyframes brand-scroll { to { transform: translateX(-50%); } }

/* ===== Floating deco ===== */
.deco-float {
  position: absolute; pointer-events: none; opacity: .08; z-index: 1;
}
.deco-float--gold {
  color: var(--gold-600);
}

/* ===== Loading skeleton ===== */
.skeleton {
  background: linear-gradient(90deg, var(--ivory) 0%, var(--cream) 50%, var(--ivory) 100%);
  background-size: 200% 100%; animation: skeleton 1.4s linear infinite;
  border-radius: 8px;
}
@keyframes skeleton { to { background-position: -200% 0; } }

/* ===== Bestseller pulse ===== */
.pulse-ring {
  position: absolute; inset: -4px;
  border: 2px solid var(--gold-500);
  border-radius: inherit;
  animation: ring 2s ease-out infinite;
  pointer-events: none;
}
@keyframes ring {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.14); }
}

/* ===== YouTube section ===== */
.yt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.yt-card {
  position: relative; border-radius: var(--r-lg);
  overflow: hidden; aspect-ratio: 16/9;
  background: var(--ink-900);
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
  transition: all .3s var(--ease);
  display: block;
}
.yt-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(212,175,55,.25); }
.yt-card img { width: 100%; height: 100%; object-fit: cover; }
.yt-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.85) 100%);
  z-index: 1;
}
.yt-card::after {
  content: '▶';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #FCF6BA, #D4AF37, #86682C);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-900); font-size: 1.3rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  z-index: 2;
  transition: transform .3s var(--ease);
}
.yt-card:hover::after { transform: translate(-50%, -50%) scale(1.12); }
.yt-card__title {
  position: absolute; bottom: 14px; left: 16px; right: 16px;
  color: #fff; font-size: .88rem; font-weight: 600; line-height: 1.35;
  z-index: 3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yt-card__badge {
  position: absolute; top: 12px; left: 12px;
  background: #FF0000; color: #fff;
  font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 4px;
  z-index: 3; display: flex; align-items: center; gap: 4px;
}

/* ===== Phone category cards ===== */
.phone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.phone-card {
  background: linear-gradient(160deg, var(--ink-900), var(--ink-800));
  color: var(--gold-300);
  padding: 28px 26px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(212,175,55,.25);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.phone-card__label {
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-500); font-weight: 700; margin-bottom: 16px;
}
.phone-card__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-800));
  color: var(--ink-900);
  display: grid; place-items: center; margin-bottom: 14px;
}
.phone-card a {
  display: block;
  font-family: var(--f-serif); font-weight: 700; font-size: 1.2rem;
  color: #fff; padding: 8px 0; border-bottom: 1px solid rgba(212,175,55,.1);
  transition: color .2s var(--ease);
}
.phone-card a:last-child { border-bottom: 0; }
.phone-card a:hover { color: var(--gold-400); }

/* ===== Responsive - MOBILE FIRST optimized ===== */
@media (max-width: 1024px) {
  .yt-grid { grid-template-columns: repeat(2, 1fr); }
  .phone-grid { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 768px) {
  .hero__frame { display: none; }
  .bento-visual { width: 100px; height: 100px; right: -10px; }
  .testim-big { font-size: 1.1rem; padding: 16px 8px; line-height: 1.5; }
  .testim-big::before, .testim-big::after { font-size: 2.2rem; }
  .yt-grid { grid-template-columns: 1fr; gap: 14px; }
  .hero__title-premium { font-size: clamp(1.8rem, 8vw, 2.6rem) !important; line-height: 1.08; }
  .hero__lead { font-size: .95rem !important; }
  .chip-luxe { font-size: .72rem; padding: 7px 14px; }
  .btn-luxe { padding: 14px 24px; font-size: .9rem; }
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head--luxe h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .divider-ornament { margin: 20px auto; }
  .hero__stats-premium { grid-template-columns: 1fr 1fr !important; gap: 14px; }
  .hero__stat__num { font-size: 1.4rem !important; }
  .hero__stat__label { font-size: .72rem !important; }
  .hero__ctas { gap: 10px; flex-direction: column; }
  .hero__ctas .btn-luxe, .hero__ctas .btn { width: 100%; justify-content: center; }
  .brand-strip__track { gap: 32px; }
  .brand-strip__logo { font-size: 1.15rem; }
  .pattern-clouds, .deco-float { display: none; }
  .phone-card a { font-size: 1.05rem; }
  .yt-card::after { width: 52px; height: 52px; font-size: 1.1rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .topbar { font-size: .74rem; padding: 6px 0; }
  .topbar__left, .topbar__right { gap: 10px; }
  .topbar__right a:not(:first-child) { display: none; }
  .marquee { font-size: .76rem; padding: 8px 0; }
  .hero { padding: 32px 0 48px; }
  .hero__card-premium::before { inset: 10px; }
  .hero__badge { padding: 10px 14px; min-width: auto; font-size: .78rem; }
  .hero__badge__val { font-size: .88rem; }
  .hero__badge--tl { left: 8px; top: 12px; }
  .hero__badge--br { right: 8px; bottom: 12px; }
  .bento { grid-auto-rows: 140px; }
  .bento__title { font-size: .95rem !important; }
  .bento__tile { padding: 14px; }
  .bento__tile--wide { padding: 18px; }
  .bento__tile--wide .bento__title { font-size: 1.2rem !important; }
  .product__body { padding: 14px; }
  .product__name { font-size: .88rem; min-height: 2.4em; }
  .product__price__current { font-size: 1rem; }
  .trust__item { padding: 16px 12px; }
  .trust__title { font-size: .88rem; }
  .trust__sub { font-size: .76rem; }
  .footer { padding: 40px 0 0; }
  .footer h4 { font-size: .78rem; margin-bottom: 12px; }
  .float-cta { right: 12px; bottom: 12px; }
  .float-cta a { width: 48px; height: 48px; }
}
