/* ============================================
   LUXE LIPS - Feminine Aesthetic Stylesheet
   ============================================ */

:root {
  /* Light Mode (Default) */
  --pink-light: #fdf2f4;
  --pink-soft: #f8c8dc;
  --pink-medium: #e8a0b0;
  --pink-dark: #c77d8e;
  --rose-gold: #b76e79;
  --cream: #faf8f5;
  --charcoal: #2d2d2d;
  --text-dark: #3a3a3a;
  --text-light: #6a6a6a;
  --white: #ffffff;
  --shadow-soft: 0 4px 20px rgba(183, 110, 121, 0.1);
  --shadow-medium: 0 8px 30px rgba(183, 110, 121, 0.15);
  --transition: all 0.3s ease;

  /* Theme-aware colors */
  --bg-primary: #faf8f5;
  --bg-secondary: #ffffff;
  --bg-tertiary: #fdf2f4;
  --bg-card: #ffffff;
  --border-color: #fdf2f4;
  --text-primary: #3a3a3a;
  --text-secondary: #6a6a6a;
  --text-inverted: #ffffff;
}

/* Dark Mode */
[data-theme="dark"] {
  --pink-light: #3d2830;
  --pink-soft: #5c3d4a;
  --cream: #1a1a1a;
  --charcoal: #e8e8e8;
  --text-dark: #e8e8e8;
  --text-light: #a8a8a8;
  --white: #242424;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.4);

  /* Theme-aware colors for dark mode */
  --bg-primary: #1a1a1a;
  --bg-secondary: #242424;
  --bg-tertiary: #2d2528;
  --bg-card: #2a2a2a;
  --border-color: #3d3d3d;
  --text-primary: #e8e8e8;
  --text-secondary: #a8a8a8;
  --text-inverted: #1a1a1a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--cream);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--rose-gold);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   HEADER
   ============================================ */

header {
  position: relative;
  padding: 0 40px;
  background: var(--white);
  border-bottom: 1px solid var(--pink-light);
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--pink-light);
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

header nav ul li a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  padding: 5px 0;
}

header nav ul li a:hover {
  color: var(--pink-medium);
}

.cart-trigger {
  cursor: pointer;
}

/* Theme Toggle Button */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--pink-light);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition);
  vertical-align: middle;
  margin-left: 5px;
}

.theme-toggle:hover {
  background: var(--pink-light);
  border-color: var(--pink-medium);
  color: var(--rose-gold);
}

.theme-toggle svg {
  width: 14px;
  height: 14px;
}

.theme-toggle .sun-icon {
  display: block;
}

.theme-toggle .moon-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle {
  border-color: var(--border-color);
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle:hover {
  background: var(--pink-soft);
  border-color: var(--pink-soft);
}

#logo {
  text-align: center;
  padding: 30px 0 40px;
}

#logo h1 {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 12px;
  color: var(--charcoal);
  margin-bottom: 5px;
}

#logo .tagline {
  font-size: 12px;
  text-transform: lowercase;
  letter-spacing: 3px;
  color: var(--text-light);
  font-style: italic;
}

/* ============================================
   CART SIDEBAR
   ============================================ */

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100%;
  background: var(--white);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transition: right 0.4s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 1px solid var(--pink-light);
}

.cart-header h3 {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 2px;
}

.cart-close {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.cart-close:hover {
  color: var(--rose-gold);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 30px;
}

.cart-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--pink-light);
}

.cart-item-image {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--pink-light);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  margin-bottom: 5px;
}

.cart-item-price {
  color: var(--text-light);
  font-size: 13px;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
  transition: var(--transition);
}

.cart-item-remove:hover {
  color: var(--rose-gold);
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.cart-empty p {
  margin-bottom: 20px;
}

.cart-footer {
  padding: 25px 30px;
  border-top: 1px solid var(--pink-light);
  background: var(--pink-light);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  margin-bottom: 20px;
}

.cart-total span:last-child {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
}

.checkout-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  transition: var(--transition);
}

.checkout-btn:hover {
  background: var(--rose-gold);
  color: var(--white);
}

.cart-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-light);
  margin-top: 15px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding: 60px 40px 80px;
  background: linear-gradient(135deg, var(--white) 0%, var(--pink-light) 100%);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
}

.hero-text {
  flex: 1;
  max-width: 500px;
}

.hero-text h2 {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--charcoal);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-text p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  background: var(--rose-gold);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--pink-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-blob {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1;
  filter: drop-shadow(0 20px 40px rgba(183, 110, 121, 0.2));
}

.hero-blob {
  transition: transform 0.4s ease;
}

.hero-blob:hover {
  transform: scale(1.08);
}

.blob-text {
  font: 600 6px/1.2 'Montserrat', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  fill: var(--pink-dark);
}

/* ============================================
   MARQUEE
   ============================================ */

.marquee {
  position: relative;
  min-height: 60px;
  overflow: hidden;
  background: var(--pink-soft);
  border-top: 1px solid var(--pink-medium);
  border-bottom: 1px solid var(--pink-medium);
}

.marquee .inner {
  position: relative;
}

.marquee .items {
  position: absolute;
  top: 0;
  left: 0;
  width: max-content;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  user-select: none;
  pointer-events: none;
}

.marquee .items.ready {
  animation: slideleft 25s linear infinite;
}

.marquee .item {
  padding: 18px 30px;
  flex-shrink: 0;
}

.marquee .item span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--charcoal);
  font-style: italic;
}

@keyframes slideleft {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ============================================
   SECTION TITLES
   ============================================ */

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  text-align: center;
  color: var(--charcoal);
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 50px;
  font-style: italic;
}

/* ============================================
   TREATMENTS/PRODUCTS
   ============================================ */

.treatments {
  padding: 80px 40px;
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.products-grid.small {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.product-card {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.card-visual {
  position: relative;
  width: 100%;
  height: 350px;
  background: var(--pink-light);
  overflow: hidden;
}

.card-visual.small {
  height: 200px;
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 20px;
  z-index: 2;
}

.product-badge.sale {
  background: var(--rose-gold);
}

.product-badge.luxe {
  background: linear-gradient(135deg, #c9a86c 0%, #a67c52 100%);
}

.image-frame {
  width: 100%;
  height: 100%;
  position: relative;
}

.product-image {
  position: absolute;
  inset: 0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.card-details {
  padding: 25px;
}

.card-details h3 {
  font-size: 24px;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.addon .card-details h3 {
  font-size: 18px;
}

.price {
  font-size: 18px;
  color: var(--rose-gold);
  margin-bottom: 12px;
  font-weight: 500;
}

.card-details p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 15px;
}

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tags li {
  background: var(--pink-light);
  color: var(--pink-dark);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 20px;
}

.tags .subtle { background: #e8f0e8; color: #5a7a5f; }
.tags .natural { background: #f0ece8; color: #8a7a6a; }
.tags .volume { background: #f0e8ec; color: #8a6a7a; }
.tags .definition { background: #e8ecf0; color: #6a7a8a; }
.tags .glam { background: #f8e8f0; color: #a06a8a; }
.tags .full { background: #f0e8e8; color: #8a6a6a; }
.tags .iconic { background: linear-gradient(135deg, #f8e8d8, #e8d8c8); color: #8a7a5a; }

.add-to-cart {
  width: 100%;
  padding: 14px;
  background: var(--charcoal);
  border: none;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 4px;
}

.add-to-cart:hover {
  background: var(--rose-gold);
}

/* ============================================
   ADD-ONS SECTION
   ============================================ */

.addons {
  padding: 80px 40px;
  background: var(--pink-light);
}

/* ============================================
   REVIEWS/VIDEO SECTION
   ============================================ */

.reviews {
  padding: 80px 40px;
  background: transparent;
}

.video-container {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.video-row {
  margin-bottom: 40px;
}

fw-embed-feed,
fw-storyblock {
  display: block;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
  padding: 80px 40px;
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--cream) 100%);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: clamp(32px, 4vw, 44px);
  color: var(--charcoal);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 25px;
}

.benefits {
  list-style: none;
}

.benefits li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--rose-gold);
  border-radius: 50%;
}

.about-image {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.about-image img {
  width: 100%;
  display: block;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
  padding: 100px 40px;
  background: linear-gradient(135deg, var(--pink-medium) 0%, var(--rose-gold) 100%);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--white);
  margin-bottom: 20px;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin-bottom: 30px;
}

.cta .btn-primary {
  background: var(--white);
  color: var(--rose-gold);
}

.cta .btn-primary:hover {
  background: var(--charcoal);
  color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 60px 40px 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-brand h3 {
  font-size: 28px;
  letter-spacing: 4px;
  margin-bottom: 10px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.footer-nav a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-nav a:hover {
  color: var(--pink-soft);
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-social a:hover {
  color: var(--pink-soft);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-visual {
    order: -1;
  }

  .hero-blob {
    max-width: 300px;
  }

  .about-content {
    flex-direction: column;
  }

  .about-image {
    order: -1;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0 20px;
  }

  header nav {
    flex-direction: column;
    gap: 10px;
  }

  header nav ul {
    gap: 15px;
  }

  #logo h1 {
    font-size: 32px;
    letter-spacing: 6px;
  }

  .hero {
    padding: 40px 20px 60px;
  }

  .treatments,
  .addons,
  .reviews,
  .about,
  .cta {
    padding: 60px 20px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .nav-left {
    display: none;
  }

  #logo h1 {
    font-size: 28px;
    letter-spacing: 4px;
  }

  .hero-text h2 {
    font-size: 28px;
  }

  .card-visual {
    height: 280px;
  }
}

/* ============================================
   VIDEO SECTION MOBILE FIX
   ============================================ */

.reviews {
  overflow-x: hidden;
}

.video-container {
  width: 100%;
  overflow: hidden;
}

.video-container fw-storyblock,
.video-container fw-embed-feed {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 768px) {
  .video-container {
    margin: 0;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .reviews {
    padding: 40px 15px;
  }

  .video-container {
    margin: 0;
    width: 100%;
  }

  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 13px;
    margin-bottom: 30px;
  }
}

/* ============================================
   DARK MODE SPECIFIC OVERRIDES
   ============================================ */

[data-theme="dark"] body {
  background: var(--bg-primary);
}

[data-theme="dark"] header {
  background: var(--bg-secondary);
  border-bottom-color: var(--border-color);
}

[data-theme="dark"] header nav {
  border-bottom-color: var(--border-color);
}

[data-theme="dark"] #logo h1 {
  color: var(--text-primary);
}

[data-theme="dark"] .hero {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

[data-theme="dark"] .hero-text h2 {
  color: var(--text-primary);
}

[data-theme="dark"] .treatments {
  background: var(--bg-secondary);
}

[data-theme="dark"] .product-card {
  background: var(--bg-card);
}

[data-theme="dark"] .card-visual {
  background: var(--pink-soft);
}

[data-theme="dark"] .card-details h3 {
  color: var(--text-primary);
}

[data-theme="dark"] .addons {
  background: var(--bg-tertiary);
}

[data-theme="dark"] .reviews {
  background: transparent;
}

[data-theme="dark"] .section-title {
  color: var(--text-primary);
}

[data-theme="dark"] .about {
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
}

[data-theme="dark"] .about-text h2 {
  color: var(--text-primary);
}

[data-theme="dark"] .benefits li {
  color: var(--text-primary);
}

[data-theme="dark"] .cart-sidebar {
  background: var(--bg-secondary);
}

[data-theme="dark"] .cart-header {
  border-bottom-color: var(--border-color);
}

[data-theme="dark"] .cart-header h3 {
  color: var(--text-primary);
}

[data-theme="dark"] .cart-item {
  border-bottom-color: var(--border-color);
}

[data-theme="dark"] .cart-item-name {
  color: var(--text-primary);
}

[data-theme="dark"] .cart-footer {
  background: var(--bg-tertiary);
  border-top-color: var(--border-color);
}

[data-theme="dark"] .checkout-btn {
  background: var(--rose-gold);
}

[data-theme="dark"] .marquee {
  background: var(--pink-soft);
  border-color: var(--border-color);
}

[data-theme="dark"] .marquee .item span {
  color: var(--text-primary);
}

[data-theme="dark"] footer {
  background: #0f0f0f;
}

/* Mobile theme toggle responsive */
@media (max-width: 768px) {
  .theme-toggle {
    padding: 6px;
  }

  .theme-toggle svg {
    width: 16px;
    height: 16px;
  }
}
