/* ==========================================================================
   SHINELAB GoCurl — Premium Beauty D2C Design System
   Moonlight White · Rose Mist Pink · Deep Espresso
   ========================================================================== */

:root {
  --bg-page: #fcf9f5;
  --bg-soft: #f5eee7;
  --bg-card: #ffffff;
  --bg-dark: #1d1715;
  --bg-dark-soft: #2a211e;

  --text-main: #1f1917;
  --text-muted: #5f534d;
  --text-light: #fcf9f5;
  --text-light-muted: #d9cdc5;

  --accent: #b3795e;
  --accent-hover: #996147;
  --accent-soft: #f3e4da;
  --rose-quartz: #e8c7b8;
  --champagne: #d5b08f;
  --shopee: #ee4d2d;
  --shopee-hover: #d83f20;
  --line-green: #06c755;

  --border: rgba(31, 25, 23, 0.09);
  --border-strong: rgba(31, 25, 23, 0.18);
  --shadow-sm: 0 4px 20px rgba(31, 25, 23, 0.04);
  --shadow-md: 0 14px 40px rgba(31, 25, 23, 0.08);
  --shadow-lg: 0 24px 60px rgba(31, 25, 23, 0.12);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --container: 1180px;
  --font-sans: "Prompt", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-page);
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-soft {
  background-color: var(--bg-soft);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-dark .eyebrow {
  color: var(--champagne);
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-subtitle {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text-muted);
}

.section-dark .section-subtitle {
  color: var(--text-light-muted);
}

/* ==========================================================================
   Announcement Bar & Header
   ========================================================================== */
.announcement-bar {
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: 0.82rem;
  padding: 9px 16px;
  text-align: center;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.announcement-badge {
  background: rgba(213, 176, 143, 0.2);
  color: var(--champagne);
  border: 1px solid rgba(213, 176, 143, 0.35);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(252, 249, 245, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
}

.brand-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
}

.brand-logo span.sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-size: 1.2rem;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.main-nav a:hover {
  color: var(--text-main);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--bg-dark);
  color: var(--text-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--bg-dark);
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #332824;
  box-shadow: var(--shadow-md);
}

.btn-shopee {
  background: linear-gradient(135deg, #ee4d2d 0%, #d83e1f 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(238, 77, 45, 0.25);
}

.btn-shopee:hover {
  background: linear-gradient(135deg, #f3593a 0%, #c63518 100%);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(238, 77, 45, 0.32);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background: var(--bg-soft);
}

.btn-light {
  background: var(--bg-page);
  color: var(--text-main);
}

.btn-light:hover {
  background: var(--accent-soft);
}

.btn-line {
  background: var(--line-green);
  color: #ffffff;
}

.btn-line:hover {
  filter: brightness(0.95);
}

@media (min-width: 980px) {
  .main-nav {
    display: flex;
  }
}

/* ==========================================================================
   Hero & Flagship PDP Buy Box
   ========================================================================== */
.hero-section {
  padding: 40px 0 72px;
  background: radial-gradient(circle at 18% 12%, rgba(232, 199, 184, 0.35), transparent 52%),
    radial-gradient(circle at 86% 80%, rgba(213, 176, 143, 0.22), transparent 48%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 52px;
  }
}

/* Gallery Column */
.gallery-wrapper {
  position: relative;
}

@media (min-width: 960px) {
  .gallery-wrapper {
    position: sticky;
    top: 94px;
  }
}

.gallery-stage {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #f8f1ea 0%, #efe2d6 100%);
  border: 1px solid rgba(179, 121, 94, 0.16);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-floating-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 4;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  transition: opacity 0.2s ease;
}

.gallery-stage.poster-active .gallery-floating-badge {
  opacity: 0;
  pointer-events: none;
}

.gallery-slide {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.gallery-slide.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.gallery-slide video,
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 8px);
}

.gallery-slide img.slide-poster-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 8px);
}

.hero-showcase {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-halo {
  position: absolute;
  width: 78%;
  max-width: 356px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(213, 176, 143, 0.18);
  pointer-events: none;
}

.hero-halo-ring {
  position: absolute;
  width: 60%;
  max-width: 274px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed rgba(179, 121, 94, 0.24);
  pointer-events: none;
}

.gallery-slide img.hero-product-img {
  position: relative;
  z-index: 2;
  width: auto;
  height: 86%;
  max-width: 62%;
  max-height: 430px;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 18px 28px rgba(45, 32, 24, 0.15));
}

.hero-callout {
  position: absolute;
  z-index: 3;
  background: #ffffff;
  border: 1px solid rgba(179, 121, 94, 0.3);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(45, 32, 24, 0.06);
  white-space: nowrap;
}

.hero-callout-tl {
  top: 24%;
  left: 4%;
}

.hero-callout-mr {
  top: 38%;
  right: 4%;
}

.hero-callout-bl {
  bottom: 24%;
  left: 4%;
}

@media (max-width: 480px) {
  .hero-callout {
    padding: 5px 10px;
    font-size: 0.7rem;
  }

  .hero-callout-tl {
    left: 2%;
  }

  .hero-callout-mr {
    right: 2%;
  }

  .hero-callout-bl {
    left: 2%;
  }
}

.travel-showcase {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-lg) - 8px);
  overflow: hidden;
}

.gallery-slide img.travel-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 0;
}

.travel-overlay-card {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(29, 23, 21, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fcf9f5;
  box-shadow: 0 12px 26px rgba(20, 14, 11, 0.25);
}

.travel-overlay-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.travel-overlay-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.travel-overlay-title {
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.travel-overlay-sub {
  font-size: 0.76rem;
  color: rgba(252, 249, 245, 0.84);
  line-height: 1.35;
}

.travel-overlay-badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(232, 199, 184, 0.35);
  text-align: center;
}

.travel-overlay-badge strong {
  font-size: 1rem;
  line-height: 1.15;
  color: #ffffff;
}

.travel-overlay-badge span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent-soft);
  margin-top: 2px;
}

@media (max-width: 560px) {
  .travel-overlay-card {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 10px 12px;
    gap: 10px;
  }

  .travel-overlay-title {
    font-size: 0.84rem;
  }

  .travel-overlay-sub {
    font-size: 0.7rem;
  }

  .travel-overlay-badge {
    min-width: 60px;
    padding: 6px 8px;
  }
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.thumb-btn {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

@media (max-width: 560px) {
  .gallery-thumbs {
    gap: 6px;
  }

  .thumb-btn {
    padding: 8px 4px;
    font-size: 0.66rem;
  }
}

.thumb-btn svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
}

.thumb-btn.active,
.thumb-btn:hover {
  border-color: var(--accent);
  color: var(--text-main);
  background: var(--accent-soft);
}

/* Buy Box Column */
.buy-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

@media (min-width: 640px) {
  .buy-box {
    padding: 36px;
  }
}

.rating-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.stars {
  color: #e59819;
  letter-spacing: 1px;
}

.hero-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-tagline {
  margin: 4px 0 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--accent);
}

.hero-subtitle {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-desc {
  margin: 0 0 16px;
  font-size: 0.96rem;
  color: var(--text-muted);
}

.highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--bg-soft);
  border: 1px solid rgba(179, 121, 94, 0.22);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 22px;
}

.price-block {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.price-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  width: 100%;
  margin-bottom: -6px;
}

.price-current {
  font-size: 2.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
}

.price-compare {
  font-size: 1.1rem;
  color: #9e918a;
  text-decoration: line-through;
}

.save-badge {
  background: #fdf0ea;
  color: var(--shopee);
  border: 1px solid rgba(238, 77, 45, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
}

.option-group {
  margin-bottom: 18px;
}

.option-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.color-swatches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.swatch-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-page);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
  transition: all 0.2s ease;
}

.swatch-btn.active {
  border-color: var(--bg-dark);
  background: var(--bg-card);
  box-shadow: 0 0 0 1px var(--bg-dark);
}

.swatch-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.swatch-white {
  background: linear-gradient(135deg, #ffffff, #e6e9ef);
}

.swatch-pink {
  background: linear-gradient(135deg, #fce8ef, #e4b0c2);
}

.bundle-cards {
  display: grid;
  gap: 10px;
}

.bundle-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-page);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.bundle-card.active {
  border-color: var(--accent);
  background: #fdf6f1;
  box-shadow: 0 0 0 1px var(--accent);
}

.bundle-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
}

.bundle-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.bundle-price {
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}

.bundle-tag {
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.cta-stack {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.cta-secondary-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 520px) {
  .cta-secondary-row {
    grid-template-columns: 1fr 1fr;
  }
}

.marketplace-extras {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   3 Everyday Styles Grid
   ========================================================================== */
.styles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 820px) {
  .styles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.style-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.style-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.style-visual {
  height: 210px;
  background: linear-gradient(135deg, #f8efe6 0%, #ebd8c8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.style-visual.has-photo {
  padding: 0;
  overflow: hidden;
}

.style-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform 0.35s ease;
}

.style-card:hover .style-visual img {
  transform: scale(1.03);
}

.style-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.style-tag {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 6px;
}

.style-title {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 600;
}

.style-desc {
  margin: 0 0 16px;
  font-size: 0.94rem;
  color: var(--text-muted);
  flex: 1;
}

.style-tip {
  padding-top: 12px;
  border-top: 1px dashed var(--border-strong);
  font-size: 0.8rem;
  color: var(--text-main);
  font-weight: 500;
}

/* ==========================================================================
   Before / After Interactive Comparison Slider
   ========================================================================== */
.ba-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .ba-layout {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  user-select: none;
  touch-action: pan-y;
  background: #f2e8df;
}

.ba-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ba-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  pointer-events: none;
}

.ba-after {
  background: linear-gradient(135deg, #fffaf5 0%, #f3dfd0 100%);
}

.ba-before {
  background: linear-gradient(135deg, #e3dbd4 0%, #cec3ba 100%);
  clip-path: inset(0 50% 0 0);
}

.ba-badge {
  position: absolute;
  bottom: 16px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.ba-badge.left {
  left: 16px;
  background: rgba(31, 25, 23, 0.78);
  color: #fff;
}

.ba-badge.right {
  right: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-main);
}

.ba-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 4;
}

.ba-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--text-main);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  margin: 0;
}

.ba-points {
  display: grid;
  gap: 16px;
}

.ba-point-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ba-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* ==========================================================================
   Comparison Table (GoCurl vs Wired Iron)
   ========================================================================== */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.compare-table thead th {
  background: var(--bg-soft);
  font-weight: 600;
  font-size: 0.94rem;
}

.compare-table th.col-gocurl,
.compare-table td.col-gocurl {
  background: #fdf4ee;
  font-weight: 600;
  color: var(--text-main);
  border-left: 1px solid rgba(179, 121, 94, 0.25);
  border-right: 1px solid rgba(179, 121, 94, 0.25);
}

.compare-table thead th.col-gocurl {
  background: var(--bg-dark);
  color: var(--champagne);
}

.check-mark {
  color: #1c8c53;
  font-weight: 700;
  margin-right: 6px;
}

/* ==========================================================================
   Everyday Routine Cards
   ========================================================================== */
.routine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 820px) {
  .routine-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.routine-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.routine-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.routine-media {
  position: relative;
  aspect-ratio: 3 / 3.6;
  overflow: hidden;
  background: var(--bg-soft);
}

.routine-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.45s ease;
}

.routine-card:hover .routine-media img {
  transform: scale(1.03);
}

.routine-time {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-block;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: rgba(252, 249, 245, 0.92);
  backdrop-filter: blur(8px);
  color: var(--accent);
  border: 1px solid rgba(179, 121, 94, 0.2);
  font-size: 0.78rem;
  font-weight: 700;
}

.routine-body {
  padding: 24px 26px 28px;
}

.routine-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.routine-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ==========================================================================
   6 Core Feature Bento Grid
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 680px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-soft), #f9eee6);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-sub {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bento-card h3 {
  margin: 0;
  font-size: 1.12rem;
}

.bento-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Interactive Temperature Guide
   ========================================================================== */
.temp-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  max-width: 880px;
  margin: 0 auto;
}

.temp-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.temp-tab {
  padding: 14px 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-page);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.temp-tab.active {
  background: var(--bg-dark);
  color: var(--champagne);
  border-color: var(--bg-dark);
  box-shadow: var(--shadow-sm);
}

.temp-display {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fbf4ed 0%, #f5e5d8 100%);
  border: 1px solid rgba(179, 121, 94, 0.2);
}

.temp-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.temp-readout {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.temp-hair-type {
  font-size: 1.15rem;
  font-weight: 600;
}

.temp-desc {
  margin: 0;
  color: var(--text-muted);
}

/* ==========================================================================
   Power & Battery Section
   ========================================================================== */
.power-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 760px) {
  .power-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: var(--bg-dark-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--champagne);
  line-height: 1.1;
}

.stat-unit {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  margin-top: 6px;
}

.footnote {
  margin-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light-muted);
}

.footnote-muted {
  color: var(--text-muted);
}

/* ==========================================================================
   Specifications Table & FAQ & Safety
   ========================================================================== */
.specs-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th,
.specs-table td {
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.94rem;
}

.specs-table thead th {
  background: var(--bg-soft);
  font-weight: 600;
}

.specs-table tbody th {
  width: 42%;
  font-weight: 600;
  color: var(--text-main);
}

.specs-table tbody td {
  color: var(--text-muted);
}

.specs-table tbody tr:last-child th,
.specs-table tbody tr:last-child td {
  border-bottom: 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.faq-item.open .faq-answer {
  display: block;
}

.safety-box {
  max-width: 820px;
  margin: 48px auto 0;
  padding: 28px;
  border-radius: var(--radius-md);
  background: #fdf6ef;
  border: 1px solid rgba(179, 121, 94, 0.3);
}

.safety-box h3 {
  margin: 8px 0 12px;
  font-size: 1.2rem;
}

.safety-box p {
  margin: 0 0 10px;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.safety-box p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Warranty Callout & Closing Banner & Footer
   ========================================================================== */
.warranty-banner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

@media (min-width: 820px) {
  .warranty-banner {
    flex-direction: row;
    align-items: center;
    padding: 44px 48px;
  }
}

.warranty-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.closing-section {
  background: linear-gradient(135deg, #251c19 0%, #3a2a24 100%);
  color: var(--text-light);
  text-align: center;
  padding: 88px 20px;
}

.closing-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2.1rem, 4.5vw, 3.3rem);
  margin: 0 0 12px;
  color: var(--champagne);
}

.closing-sub {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.closing-desc {
  max-width: 600px;
  margin: 0 auto 28px;
  color: var(--text-light-muted);
}

.site-footer {
  background: #14100f;
  color: var(--text-light-muted);
  padding: 56px 0 92px;
  font-size: 0.88rem;
}

@media (min-width: 820px) {
  .site-footer {
    padding-bottom: 48px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 780px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-col h4 {
  color: var(--text-light);
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-links button,
.footer-links a {
  background: none;
  border: 0;
  padding: 0;
  color: var(--text-light-muted);
  font-size: 0.86rem;
  text-align: left;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--champagne);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

/* ==========================================================================
   Sticky Mobile Buy Bar & Modals
   ========================================================================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-strong);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}

@media (min-width: 820px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 16, 15, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  cursor: pointer;
  font-size: 1.1rem;
}

.form-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-page);
  font-size: 0.94rem;
}

.form-feedback {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background: #eaf8ef;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-feedback.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.modal-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: var(--bg-soft);
  padding: 5px;
  border-radius: var(--radius-sm);
  margin: 14px 0 16px;
}

.modal-tab-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-tab-btn.active {
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.lookup-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.lookup-row input {
  flex: 1;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-page);
  font-size: 0.92rem;
}

.warranty-result-card {
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fdf8f3 0%, #f5e9de 100%);
  border: 1px solid rgba(179, 121, 94, 0.25);
  display: grid;
  gap: 10px;
}

.warranty-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.warranty-status-pill {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
}

.warranty-status-pill.active {
  background: #e6f6ec;
  color: #156e3f;
}

.warranty-status-pill.warn {
  background: #fef3c7;
  color: #92400e;
}

.warranty-progress {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(31, 25, 23, 0.1);
  overflow: hidden;
}

.warranty-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #1c8c53);
  border-radius: 999px;
}

.ticket-mini-card {
  margin-top: 10px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.85rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
