/* ==========================================================================
   CAOXOATRAMHUONG.VN - MODERN EDITORIAL ORIENTAL LUXURY DESIGN SYSTEM
   Typography: Gilroy VH Full • Max-Width: 1440px • Zero AI Slop
   ========================================================================== */

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/gilroy-vh/Gilroy-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/gilroy-vh/Gilroy-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/gilroy-vh/Gilroy-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/gilroy-vh/Gilroy-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/gilroy-vh/Gilroy-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/gilroy-vh/Gilroy-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/gilroy-vh/Gilroy-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/gilroy-vh/Gilroy-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sansita Swashed';
  src: url('../fonts/sansita-swashed/SansitaSwashed-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --royal-red: #7C1818;
  --royal-red-light: #991F1F;
  --royal-red-dark: #4A0C0C;
  --imperial-gold: #C9A23F;
  --imperial-gold-light: #EFE1B6;
  --agar-dark: #110E0C;
  --agar-wood: #1B1613;
  --silk-cream: #F8F5F0;
  --silk-paper: #EFE9DF;
}

html,
body {
  scroll-behavior: smooth;
  font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--silk-cream);
  color: #181412;
  letter-spacing: -0.01em;
}

.font-royal {
  font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.02em;
}

/* Global 1440px Layout Container */
.container-1440 {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 640px) {
  .container-1440 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .container-1440 {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* Refined Architectural Surfaces */
.bg-royal-gradient {
  background: linear-gradient(135deg, #6E1313 0%, #4A0C0C 60%, #260606 100%);
}

.bg-agar-gradient {
  background: linear-gradient(180deg, #14110E 0%, #0E0C0A 100%);
}

.bg-royal-pattern {
  background: radial-gradient(circle at 80% 20%, rgba(201, 162, 63, 0.12) 0%, transparent 45%),
              linear-gradient(135deg, #681212 0%, #3E0909 100%);
}

.bg-silk-pattern {
  background-color: var(--silk-cream);
}

/* Subtle Gold Text & Clean Cards */
.gold-gradient-text {
  background: linear-gradient(135deg, #F5E6B8 0%, #D4AF37 55%, #B88924 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-border-card {
  border: none;
  box-shadow: none;
  transition: transform 0.25s ease;
}

.gold-border-card:hover {
  transform: translateY(-2px);
}

/* Modern Buttons */
.btn-imperial-gold {
  background: #D4AF37;
  color: #110E0C;
  font-weight: 700;
  border: none;
  box-shadow: none;
  transition: all 0.2s ease;
}

.btn-imperial-gold:hover {
  background: #E2BE4C;
  transform: translateY(-1px);
}

.btn-royal-red {
  background: #7C1818;
  color: #FFFFFF;
  font-weight: 700;
  border: none;
  box-shadow: none;
  transition: all 0.2s ease;
}

.btn-royal-red:hover {
  background: #941D1D;
  transform: translateY(-1px);
}

/* Active Nav Link */
.nav-link-active {
  color: #F3E5AB !important;
  border-bottom: 2px solid #D4AF37;
}

/* Modal Backdrop */
.modal-backdrop {
  background-color: rgba(12, 10, 8, 0.88);
  backdrop-filter: blur(8px);
}

/* ==========================================================================
   3D FLIPBOOK (StPageFlip) & FULL-VIEWPORT INTERACTIVE MODE
   ========================================================================== */
.flipbook-stage {
  background: #FFFFFF;
  border: 1px solid #E8E1D6;
  box-shadow: 0 12px 32px -16px rgba(60, 40, 20, 0.18);
  transition: all 0.25s ease;
}

.flipbook-stage.is-fullscreen {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: 9999 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  background: #F8F5F0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 1rem 1.5rem !important;
  overflow: hidden !important;
}

body.is-book-fullscreen {
  background: #F8F5F0 !important;
  overflow: hidden !important;
}

body.is-book-fullscreen #site-header,
body.is-book-fullscreen #site-footer,
body.is-book-fullscreen #floating-dock,
body.is-book-fullscreen #legal-pages-grid {
  display: none !important;
}

.flipbook-page {
  background-color: #FFFFFF;
  color: #181412;
  border: 1px solid #E5E0D8;
  overflow: hidden;
  user-select: none;
}

.flipbook-page.--left {
  border-right: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow: inset -16px 0 28px -12px rgba(0, 0, 0, 0.2);
}

.flipbook-page.--right {
  border-left: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow: inset 16px 0 28px -12px rgba(0, 0, 0, 0.2);
}

.flipbook-page.--hard {
  background: #4A0C0C;
  border: 2px solid #D4AF37;
  color: #F3E5AB;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #F1ECE4;
}

::-webkit-scrollbar-thumb {
  background: #7C1818;
  border-radius: 9999px;
}

/* ==========================================================================
   SPLIT EDITORIAL HERO CALLOUT CARD WITH CONCAVE CORNER CUTOUT
   ========================================================================== */
.hero-callout-wrap {
  filter: none;
}

.hero-callout-body {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.4rem 1.5rem;
  -webkit-mask-image: radial-gradient(circle 31px at calc(100% - 18px) calc(100% - 18px), transparent 30px, #000 31px);
  mask-image: radial-gradient(circle 31px at calc(100% - 18px) calc(100% - 18px), transparent 30px, #000 31px);
}

.hero-callout-arrow {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: #FFFFFF;
  color: #7C1818;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  border: none;
  transition: all 0.2s ease;
}

.hero-callout-arrow:hover {
  background: #7C1818;
  color: #FFFFFF;
  transform: scale(1.06);
}

/* ==========================================================================
   THERAPEUTIC BENEFIT CARDS WITH TOP-LEFT CONCAVE CORNER CUTOUT (01 - 06)
   ========================================================================== */
.benefit-callout-wrap {
  position: relative;
  transition: transform 0.25s ease;
}

.benefit-callout-wrap:hover {
  transform: translateY(-2px);
}

.benefit-callout-body {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 1.25rem 1.35rem 1.35rem 1.35rem;
  height: 100%;
  -webkit-mask-image: radial-gradient(circle 31px at 18px 18px, transparent 30px, #000 31px);
  mask-image: radial-gradient(circle 31px at 18px 18px, transparent 30px, #000 31px);
}

.benefit-callout-num {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: #7C1818;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.benefit-callout-wrap:hover .benefit-callout-num {
  background: #5E0F0F;
  transform: scale(1.05);
}

/* ==========================================================================
   4-VIDEO CAROUSEL SLIDER TRACK & DRAGGABLE COLLECTION SLIDER TRACK
   ========================================================================== */
.video-slider-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.25rem;
  cursor: grab;
  user-select: none;
}

.video-slider-track::-webkit-scrollbar {
  display: none;
}

.video-slider-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.video-slide-card {
  flex: 0 0 86%;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .video-slide-card {
    flex: 0 0 calc(50% - 0.625rem);
  }
}

@media (min-width: 1024px) {
  .video-slide-card {
    flex: 0 0 calc(25% - 0.9375rem);
  }
}

.collection-slider-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  padding-bottom: 0.5rem;
}

.collection-slider-track::-webkit-scrollbar {
  display: none;
}

.collection-slider-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.collection-slide-card {
  flex: 0 0 86%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .collection-slide-card {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media (min-width: 1024px) {
  .collection-slide-card {
    flex: 0 0 calc((100% - 4rem) / 3);
  }
}

/* ==========================================================================
   PINTEREST MASONRY GALLERY LAYOUT
   ========================================================================== */
.pinterest-masonry {
  column-count: 1;
  column-gap: 1.25rem;
}

@media (min-width: 560px) {
  .pinterest-masonry {
    column-count: 2;
  }
}

@media (min-width: 960px) {
  .pinterest-masonry {
    column-count: 3;
  }
}

@media (min-width: 1240px) {
  .pinterest-masonry {
    column-count: 4;
  }
}

.pinterest-card {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 1.25rem;
  border-radius: 1.125rem;
  overflow: hidden;
  position: relative;
  background: #FFFFFF;
  border: none;
  box-shadow: none;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.pinterest-card:hover {
  transform: translateY(-4px);
}

.pin-ratio-0 {
  height: 370px;
}

.pin-ratio-1 {
  height: 250px;
}

.pin-ratio-2 {
  height: 320px;
}

.pin-ratio-3 {
  height: 275px;
}

/* ==========================================================================
   HEADER SHARED ::BEFORE SLIDING ACTIVE/HOVER BAR
   ========================================================================== */
.header-main-nav {
  position: relative;
}

.header-main-nav::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: var(--nav-line-width, 0px);
  transform: translateX(var(--nav-line-left, 0px));
  background: linear-gradient(90deg, #7C1818 0%, #A61C1C 60%, #D4AF37 100%);
  border-radius: 9999px;
  opacity: var(--nav-line-opacity, 0);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              width 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.2s ease;
  pointer-events: none;
}

/* ==========================================================================
   HERO LEFT PANEL RED PAGODA BACKGROUND (bg-champa-tower.webp + dark red overlay)
   ========================================================================== */
.bg-hero-red-pagoda {
  background-color: #6A0F0F;
  background-image:
    linear-gradient(180deg, rgba(74, 12, 12, 0.6) 0%, rgba(58, 8, 8, 0.85) 100%),
    url("../images/brand/bg-champa-tower.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* Titles: semibold (600) across the whole site */
h1,
h2,
h3,
h4,
h5,
h6,
.font-royal {
  font-weight: 600 !important;
}

/* Section titles: Sansita Swashed (Vietnamese-complete Sansita family) */
.font-section {
  font-family: 'Sansita Swashed', 'Gilroy', serif;
  letter-spacing: 0 !important;
}

/* ==========================================================================
   IASO-STYLE 3D CERTIFICATE & AWARDS SHOWCASE (SECTION 4)
   ========================================================================== */
.client-home-awards {
  padding: 84px 0 92px;
  position: relative;
  overflow: hidden;
  background-color: #FAF8F6;
}

.client-home-awards::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.14) 0%, rgba(124, 24, 24, 0.05) 50%, transparent 70%);
  pointer-events: none;
}

.client-awards__layout {
  display: grid;
  grid-template-columns: 500px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.client-awards__intro {
  display: flex;
  flex-direction: column;
}

.client-awards__title {
  font-size: clamp(28px, 3.2vw, 38px);
  color: #181412;
  margin: 0 0 16px;
  line-height: 1.28;
}

.client-awards__lead {
  font-size: 15.5px;
  line-height: 1.72;
  color: #57534E;
  margin: 0 0 26px;
}

.client-awards__perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.client-awards__perk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: #292524;
  line-height: 1.5;
}

.client-awards__perk-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(124, 24, 24, 0.12);
  color: #7C1818;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.client-awards__controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.client-awards__counter {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.client-awards__counter strong {
  font-size: 34px;
  font-weight: 800;
  color: #7C1818;
  line-height: 1;
}

.client-awards__counter span {
  font-size: 15px;
  font-weight: 600;
  color: #9293A3;
}

.client-awards__nav-btns {
  display: flex;
  gap: 10px;
}

.client-awards__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: none;
  color: #181412;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-awards__nav-btn:hover {
  background: #7C1818;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.client-awards__stage-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1100px;
}

.client-awards__stage {
  position: relative;
  width: 100%;
  height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.client-award-card {
  position: absolute;
  width: 300px;
  max-width: 88%;
  height: 415px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s, filter 0.5s;
  will-change: transform, opacity;
}

.client-award-card__inner {
  height: 100%;
  width: 100%;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.client-award-card__seal-border {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 2.5px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.75), rgba(124, 24, 24, 0.28), rgba(212, 175, 55, 0.75));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box exclude, linear-gradient(#fff 0 0);
  pointer-events: none;
}

.client-award-card__media {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #FFFFFF 0%, #FBF9F6 100%);
  border-radius: 12px;
  overflow: hidden;
  padding: 8px;
  position: relative;
}

.client-award-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-award-card.is-active {
  transform: translateX(0px) scale(1) translateZ(0px);
  z-index: 10;
  opacity: 1;
  pointer-events: auto;
}

.client-award-card.is-next {
  transform: translateX(125px) scale(0.9) translateZ(-60px) rotateY(-8deg);
  z-index: 5;
  opacity: 0.75;
  filter: blur(0.4px);
  pointer-events: auto;
}

.client-award-card.is-next:hover {
  opacity: 0.92;
  transform: translateX(115px) scale(0.92) translateZ(-40px) rotateY(-6deg);
}

.client-award-card.is-prev {
  transform: translateX(-125px) scale(0.9) translateZ(-60px) rotateY(8deg);
  z-index: 4;
  opacity: 0.58;
  filter: blur(0.8px);
  pointer-events: auto;
}

.client-award-card.is-prev:hover {
  opacity: 0.82;
  transform: translateX(-115px) scale(0.92) translateZ(-40px) rotateY(6deg);
}

.client-award-card.is-hidden {
  transform: translateX(0px) scale(0.78) translateZ(-140px);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.client-awards__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.client-awards__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #D8D2C9;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  padding: 0;
}

.client-awards__dot:hover {
  background: #D49A9A;
}

.client-awards__dot.is-active {
  width: 32px;
  background: #7C1818;
}

@media (max-width: 992px) {
  .client-awards__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .client-awards__intro {
    text-align: center;
    align-items: center;
  }
  .client-awards__perks {
    align-items: flex-start;
    text-align: left;
    max-width: 480px;
  }
  .client-awards__stage-wrap {
    width: 100%;
  }
  .client-awards__stage {
    height: 440px;
  }
  .client-award-card.is-next {
    transform: translateX(70px) scale(0.88) rotateY(-6deg);
  }
  .client-award-card.is-prev {
    transform: translateX(-70px) scale(0.88) rotateY(6deg);
  }
}

@media (max-width: 640px) {
  .client-home-awards {
    padding: 56px 0 64px;
  }
  .client-awards__stage {
    height: 400px;
  }
  .client-award-card {
    width: 260px;
    height: 365px;
  }
  .client-award-card.is-next {
    transform: translateX(35px) scale(0.86);
    opacity: 0.65;
  }
  .client-award-card.is-prev {
    transform: translateX(-35px) scale(0.86);
    opacity: 0.45;
  }
}

/* ==========================================================================
   VINTAGE RETRO CRT TELEVISION FRAME (SECTION 5 YOUTUBE SHOWCASE)
   ========================================================================== */
.retro-tv-wrap {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Rabbit-Ear V-Shaped Antennas */
.retro-tv-antenna {
  position: relative;
  width: 180px;
  height: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: -4px;
  z-index: 1;
}

.retro-tv-rod {
  position: absolute;
  bottom: 8px;
  width: 3px;
  height: 58px;
  background: linear-gradient(180deg, #F3E5AB 0%, #C59B27 100%);
  border-radius: 999px;
  transform-origin: bottom center;
}

.retro-tv-rod::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #F3E5AB;
}

.retro-tv-rod--left {
  transform: rotate(-38deg);
}

.retro-tv-rod--right {
  transform: rotate(38deg);
}

.retro-tv-antenna-hub {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 18px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #5A281B 0%, #2B120C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.retro-tv-antenna-hub::after {
  content: "";
  width: 20px;
  height: 5px;
  border-radius: 999px;
  background: #D4AF37;
}

/* Woodgrain / Bakelite Vintage Cabinet */
.retro-tv-cabinet {
  position: relative;
  z-index: 2;
  width: 100%;
  background: linear-gradient(145deg, #4E2217 0%, #2C120C 52%, #3D1A11 100%);
  border-radius: 26px;
  padding: 15px;
}

.retro-tv-inner {
  background: #F3ECE1;
  border-radius: 18px;
  padding: 11px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  gap: 11px;
  align-items: stretch;
}

/* Recessed Curved CRT Bezel & Video Screen */
.retro-tv-bezel {
  background: #1A1512;
  border-radius: 18px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.retro-tv-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000000;
}

/* Right Side Rotary Tuner & Speaker Panel */
.retro-tv-panel {
  background: #231B17;
  border-radius: 14px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.retro-tv-dials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.retro-tv-dial-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.retro-tv-dial-label {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #D4AF37;
}

.retro-tv-dial {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle, #3A2E28 0%, #16110E 75%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.retro-tv-dial::before {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F3E5AB 0%, #B88A28 100%);
}

.retro-tv-dial-bar {
  position: absolute;
  width: 4px;
  height: 28px;
  border-radius: 999px;
  background: #231B17;
}

.retro-tv-dial-bar--ch {
  transform: rotate(-28deg);
}

.retro-tv-dial-bar--vol {
  transform: rotate(35deg);
}

/* Vintage Slatted Speaker Grille */
.retro-tv-grille {
  width: 100%;
  flex: 1;
  min-height: 42px;
  border-radius: 6px;
  background: repeating-linear-gradient(
    180deg,
    #120D0B 0px,
    #120D0B 3px,
    #2E241F 3px,
    #2E241F 6px
  );
}

.retro-tv-power-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
}

.retro-tv-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
}

.retro-tv-ch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  padding: 5px 4px;
  border-radius: 6px;
  background: #7C1818;
  color: #F3E5AB;
  font-size: 9.5px;
  font-weight: 800;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.retro-tv-ch-btn:hover {
  background: #D4AF37;
  color: #181412;
}

/* Bottom Brass Nameplate on TV Cabinet */
.retro-tv-bottom-plate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 2px;
  color: #F3E5AB;
  font-size: 11px;
  font-weight: 700;
}

/* Splayed Mid-Century TV Legs */
.retro-tv-legs {
  width: 74%;
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  margin-top: -2px;
}

.retro-tv-leg {
  width: 12px;
  height: 22px;
  background: linear-gradient(180deg, #2C120C 0%, #4E2217 70%, #D4AF37 70%, #D4AF37 100%);
  border-radius: 0 0 4px 4px;
}

.retro-tv-leg--left {
  transform: skewX(-16deg);
}

.retro-tv-leg--right {
  transform: skewX(16deg);
}

@media (max-width: 640px) {
  .retro-tv-inner {
    grid-template-columns: 1fr;
  }
  .retro-tv-panel {
    flex-direction: row;
    padding: 8px 12px;
  }
  .retro-tv-dials {
    flex-direction: row;
    width: auto;
  }
  .retro-tv-grille {
    min-height: 28px;
    max-width: 90px;
  }
  .retro-tv-ch-btn {
    width: auto;
    padding: 6px 10px;
  }
}



/* Child page banner */
.child-banner {
  background-color: #5A0D0D;
  background-image: url("../images/brand/hero-childpage-v2.webp");
  background-size: cover;
  background-position: center 58%;
  padding: 3.25rem 0 3.5rem;
  color: #FFFFFF;
}

.child-banner__crumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.6rem;
}

.child-banner__crumbs a:hover {
  color: #F3E5AB;
}

.child-banner__crumbs [aria-current="page"] {
  color: #F3E5AB;
  font-weight: 600;
}

.child-banner__title {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.15;
  color: #FFFFFF;
}

@media (min-width: 1024px) {
  .child-banner {
    padding: 4.5rem 0 4.75rem;
  }
}

/* Press section panel: Hue gate line-art on golden paper */
.bg-hue-gold {
  background-color: #E7B957;
  background-image: url("../images/brand/bg-hue-gold.webp");
  background-size: cover;
  background-position: center right;
}

/* Interactive 3D gift box */
.b3-stage {
  position: relative;
  width: 100%;
  perspective: 1500px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.b3-stage.is-grabbing { cursor: grabbing; }
.b3-rot {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}
.b3-group { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }
.b3-face {
  position: absolute;
  left: 0;
  top: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 0;
}
.b3-shadow {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 62%;
  height: 26px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(60, 20, 10, 0.28), transparent);
  pointer-events: none;
}

/* Top bar: cloud-pattern strip */
.topbar-bg {
  background-color: #7C1818;
  background-image:
    linear-gradient(rgba(70, 8, 8, 0.28), rgba(70, 8, 8, 0.28)),
    url("../images/brand/topbar-bg.webp");
  background-size: auto, auto 42px;
  background-repeat: no-repeat, repeat;
  background-position: center, center top;
}

/* ---------- Cart drawer (slides in from the right on every page) ---------- */
.cart-overlay {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(24, 20, 18, 0.55);
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.cart-overlay.is-open { opacity: 1; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.cart-drawer {
  position: fixed; top: 0; right: 0; z-index: 71;
  display: flex; flex-direction: column;
  width: 100%; max-width: 420px; height: 100%; height: 100dvh;
  background: #fff; outline: none;
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.25);
  transform: translateX(100%); visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.32s;
}
.cart-drawer.is-open { transform: none; visibility: visible; transition-delay: 0s; }
body.is-cart-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .cart-overlay, .cart-drawer { transition-duration: 0s; }
}

/* ---------- Checkout form ---------- */
.co-input {
  display: block; width: 100%; box-sizing: border-box;
  padding: 0.8rem 1rem; border-radius: 0.75rem;
  background: #fff; border: 1px solid #ddd6ca; color: #181412;
  font-size: 0.9rem; font-weight: 600; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.co-input::placeholder { color: #a8a29e; font-weight: 500; }
.co-input:focus { border-color: #7c1818; box-shadow: 0 0 0 3px rgba(124, 24, 24, 0.14); }
.co-err { display: block; min-height: 0; margin-top: 0.3rem; font-size: 0.75rem; font-weight: 700; color: #b91c1c; }
.co-err:empty { display: none; }
.co-method {
  display: flex; gap: 0.75rem; align-items: flex-start; cursor: pointer;
  padding: 0.9rem 1rem; border-radius: 0.9rem; background: #fff; border: 1.5px solid #ddd6ca;
  transition: border-color 0.15s, background 0.15s;
}
.co-method.is-on { border-color: #7c1818; background: #fdf6f6; }

/* The contact dock would sit on top of the checkout form. */
body[data-page="checkout"] .cx-dock { display: none; }
