@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* --- Core Design Tokens --- */
:root {
  --bg-dark: #070b13;
  --bg-card: rgba(16, 24, 40, 0.6);
  --bg-card-hover: rgba(26, 37, 60, 0.85);
  
  --primary-gold: #e2b659;
  --primary-gold-dark: #b58930;
  --primary-gradient: linear-gradient(135deg, #fcd980 0%, #c4953c 50%, #906718 100%);
  --interactive-purple: #818cf8;
  --interactive-gradient: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(226, 182, 89, 0.2);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glow-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --gold-glow: 0 0 20px rgba(226, 182, 89, 0.25);
  --purple-glow: 0 0 25px rgba(129, 140, 248, 0.25);
}

/* --- Base Resets --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .serif-font {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

/* --- Layout Utilities --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 6rem 0;
}

.text-center { text-align: center; }

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Flex Alignments */
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(7, 11, 19, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 1000;
  transition: var(--transition-smooth);
}

header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  background: rgba(7, 11, 19, 0.95);
}

.navbar {
  height: 80px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.cart-icon-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.cart-icon-btn:hover {
  transform: scale(1.1);
  color: var(--primary-gold);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--primary-gradient);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 50%;
}

/* --- Buttons & CTAs --- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #121212;
  box-shadow: var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(226, 182, 89, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-interactive {
  background: var(--interactive-gradient);
  color: var(--text-primary);
  box-shadow: var(--purple-glow);
}

.btn-interactive:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(129, 140, 248, 0.45);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: 10%;
  left: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(226, 182, 89, 0.15) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.15) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #ffffff 30%, #e2b659 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper img {
  width: 100%;
  max-width: 500px;
  border: 1px solid var(--border-glass);
  box-shadow: var(--glow-shadow);
  border-radius: 12px;
  animation: float 6s ease-in-out infinite;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
}

.stat-item h4 {
  font-size: 2rem;
  color: var(--primary-gold);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Float Animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* --- Section Headers --- */
.section-header {
  margin-bottom: 4rem;
}

.section-header .tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-gold);
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Cards (Bestsellers & Interactive) --- */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: rgba(226, 182, 89, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), var(--gold-glow);
}

.product-card.purple-glow:hover {
  border-color: rgba(129, 140, 248, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), var(--purple-glow);
}

.card-img-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.product-card.purple-glow .card-badge {
  border-color: var(--interactive-purple);
  color: var(--interactive-purple);
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.card-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-glass);
  padding-top: 1rem;
}

.card-price {
  font-weight: 700;
  font-size: 1.15rem;
}

.card-price span {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: line-through;
  margin-right: 0.25rem;
}

.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.product-card.purple-glow .card-link {
  color: var(--interactive-purple);
}

/* --- Reviews Section --- */
.reviews-section {
  background: radial-gradient(circle at 50% 50%, rgba(16, 24, 40, 0.6) 0%, var(--bg-dark) 100%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 2rem;
}

.review-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--primary-gold);
}

.review-user h4 {
  font-size: 1rem;
  color: var(--text-primary);
}

.review-user span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stars {
  color: var(--primary-gold);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.review-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
}

.before-after-container {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.before-after-pic {
  flex: 1;
  text-align: center;
}

.before-after-pic img {
  border-radius: 6px;
  margin-bottom: 0.25rem;
  height: 100px;
  object-fit: cover;
}

/* --- Collections Directory --- */
.collection-hero {
  padding: 10rem 0 4rem;
  text-align: center;
  background: radial-gradient(circle at top, rgba(226, 182, 89, 0.08) 0%, transparent 60%);
}

.collection-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.collection-filter-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-gradient);
  color: #121212;
  border-color: transparent;
  box-shadow: var(--gold-glow);
}

/* --- Dynamic Product Page Layout --- */
.product-layout {
  padding-top: 120px;
}

.product-gallery {
  position: sticky;
  top: 100px;
}

.mockup-preview-box {
  background: #0d1321;
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  box-shadow: var(--glow-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.mockup-overlay-text {
  position: absolute;
  bottom: 30px;
  left: 20px;
  right: 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.image-preview-label {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-gradient);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.product-gallery-thumbnails {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.thumbnail-item {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  overflow: hidden;
}

.thumbnail-item.active {
  border-color: var(--primary-gold);
}

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

/* Product Info Form */
.product-info-panel h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.product-meta-seo {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-display-wrapper {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1.5rem;
}

.current-price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-gold);
}

.old-price {
  font-size: 1.3rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-tag-badge {
  background: rgba(226, 182, 89, 0.15);
  color: var(--primary-gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.radio-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.radio-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 1rem;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-smooth);
}

.radio-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.radio-card input {
  display: none;
}

.radio-card.active {
  border-color: var(--primary-gold);
  background: rgba(226, 182, 89, 0.05);
  box-shadow: 0 0 15px rgba(226, 182, 89, 0.15);
}

.radio-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

.radio-card-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* File Upload Widget */
.file-upload-zone {
  border: 2px dashed var(--border-glass);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.01);
  transition: var(--transition-smooth);
}

.file-upload-zone:hover {
  border-color: var(--primary-gold);
  background: rgba(226, 182, 89, 0.02);
}

.file-upload-zone input {
  display: none;
}

.upload-icon {
  font-size: 2rem;
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.upload-text {
  font-size: 0.95rem;
  font-weight: 500;
}

.upload-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.input-text-custom {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.input-text-custom:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 10px rgba(226, 182, 89, 0.2);
}

.trust-badges-wrapper {
  margin-top: 2rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-around;
  gap: 1rem;
}

.badge-item {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.badge-item i {
  display: block;
  font-size: 1.3rem;
  color: var(--primary-gold);
  margin-bottom: 0.4rem;
}

/* Accordions (Product FAQs / Specs) */
.product-tabs-wrapper {
  margin-top: 3.5rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
}

.accordion-item {
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 0.5rem;
}

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.2rem 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-trigger::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 1.4rem;
  color: var(--primary-gold);
  transition: var(--transition-smooth);
}

.accordion-item.active .accordion-trigger::after {
  content: '−';
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content p {
  padding-bottom: 1.2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.accordion-content ul {
  padding-left: 1.2rem;
  padding-bottom: 1.2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- Cart Slide-out Drawer --- */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 450px;
  height: 100%;
  background: #090e18;
  border-left: 1px solid var(--border-glass);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

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

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-close-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-items-container {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-empty-state {
  text-align: center;
  padding-top: 4rem;
  color: var(--text-muted);
}

.cart-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1.5rem;
}

.cart-item-img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border-glass);
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cart-item-meta {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.cart-item-price {
  font-weight: 700;
  color: var(--primary-gold);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  margin-top: 0.5rem;
  display: block;
}

.cart-item-remove:hover {
  color: #ef4444;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.01);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.cart-subtotal-price {
  color: var(--primary-gold);
  font-weight: 700;
}

/* --- SEO Blog Styling --- */
.blog-hero {
  padding: 10rem 0 4rem;
  text-align: center;
  background: radial-gradient(circle at bottom, rgba(129, 140, 248, 0.05) 0%, transparent 60%);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
}

.blog-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.blog-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.78rem;
  color: var(--primary-gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.blog-content h3 {
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 0.8rem;
}

.blog-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-readmore {
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #fff;
}

/* Blog Article Content Details */
.article-layout {
  padding: 10rem 0 6rem;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.article-header {
  margin-bottom: 3rem;
  text-align: center;
}

.article-header h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.article-meta {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.article-main-image {
  border-radius: 16px;
  margin-bottom: 3rem;
  box-shadow: var(--glow-shadow);
  border: 1px solid var(--border-glass);
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #d1d5db;
}

.article-body p {
  margin-bottom: 1.8rem;
}

.article-body h2 {
  font-size: 1.8rem;
  color: var(--primary-gold);
  margin: 2.5rem 0 1rem;
}

.article-body h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin: 2rem 0 1rem;
}

.article-body ul {
  margin-bottom: 1.8rem;
  padding-left: 2rem;
}

.article-body li {
  margin-bottom: 0.6rem;
}

.article-body blockquote {
  border-left: 4px solid var(--primary-gold);
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  margin: 2rem 0;
}

/* Call-to-action block inside blog */
.article-inline-cta {
  background: linear-gradient(135deg, rgba(226, 182, 89, 0.08) 0%, rgba(129, 140, 248, 0.08) 100%);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
}

.article-inline-cta h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.article-inline-cta p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* --- Pre-Footer Call to Action --- */
.prefooter-cta {
  position: relative;
  background: linear-gradient(180deg, #090e18 0%, #05080e 100%);
  border-top: 1px solid var(--border-glass);
  overflow: hidden;
}

.cta-glass-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 5rem 2rem;
  text-align: center;
  box-shadow: var(--glow-shadow);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-glass-panel h2 {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  background: linear-gradient(180deg, #ffffff 40%, var(--primary-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-glass-panel p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* --- Footer --- */
footer {
  background: #030508;
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  margin-top: 3.5rem;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

/* --- Draggable Before/After Visual Slider --- */
.slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--glow-shadow);
  border: 1px solid var(--border-glass);
}
.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.slider-before {
  z-index: 1;
}
.slider-after {
  z-index: 2;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}
.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--primary-gradient);
  z-index: 3;
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: var(--gold-glow);
}
.slider-handle::after {
  content: '↔';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: #0f172a;
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--glow-shadow);
}

/* --- Gamified Escape Game Riddle Console --- */
.riddle-console {
  background: rgba(16, 24, 40, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 3rem;
  box-shadow: var(--purple-glow);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.riddle-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.riddle-header h3 {
  font-size: 1.4rem;
  color: var(--interactive-purple);
  font-family: var(--font-serif);
}
.riddle-console p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}
.riddle-box {
  background: #090e18;
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: 8px;
  padding: 1.2rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  text-align: center;
  color: #fff;
  margin-bottom: 1.5rem;
}
.riddle-input-group {
  display: flex;
  gap: 1rem;
}
.riddle-input-group input {
  flex-grow: 1;
}
.riddle-success-card {
  display: none;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid #10b981;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  margin-top: 1rem;
  color: #10b981;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero {
    text-align: center;
    padding-top: 120px;
    padding-bottom: 4rem;
  }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; gap: 1.5rem; }
  .hero-image-wrapper { margin-top: 3rem; }
  
  .reviews-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  
  .radio-cards-grid { grid-template-columns: 1fr; }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* ════════════════════════════════════════════════════
   ENHANCEMENTS — mobile nav, how-it-works, before/after
   showcase, shop-by-occasion, image fallbacks, polish
   ════════════════════════════════════════════════════ */

/* --- Image fallback (when a photo fails to load) --- */
img.img-fallback {
  object-fit: cover;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(226,182,89,0.18), transparent 60%),
    linear-gradient(135deg, #131b2d 0%, #0b1120 100%);
}

/* --- Mobile hamburger + slide menu (injected by app.js) --- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 0.5rem;
}
.nav-hamburger span {
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}
.mobile-nav-panel {
  position: fixed;
  inset: 0;
  background: rgba(7, 11, 19, 0.98);
  backdrop-filter: blur(14px);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav-panel.active { opacity: 1; pointer-events: all; }
.mobile-nav-panel a {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--text-primary);
}
.mobile-nav-panel a:hover { color: var(--primary-gold); }
.mobile-nav-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none; border: none;
  color: var(--text-primary);
  font-size: 1.6rem; cursor: pointer;
}

/* --- How It Works --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 2.2rem 1.6rem;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
}
.step-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--gold-glow);
}
.step-number {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.step-icon { font-size: 1.6rem; color: var(--primary-gold); margin-bottom: 0.8rem; }
.step-card h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.85rem; color: var(--text-secondary); }

/* --- Before / After Showcase --- */
.ba-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.ba-showcase-item { text-align: center; }
.ba-showcase-item .slider-container { aspect-ratio: 4/5; margin-bottom: 1rem; }
.ba-showcase-caption {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
}
.ba-showcase-caption span { display: block; font-family: var(--font-sans); font-size: 0.8rem; color: var(--text-secondary); margin-top: 0.25rem; }

/* --- Shop by Occasion --- */
.occasion-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.occasion-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 1.6rem 0.8rem;
  text-align: center;
  transition: var(--transition-smooth);
  cursor: pointer;
}
.occasion-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--gold-glow);
}
.occasion-card .occasion-emoji { font-size: 2rem; display: block; margin-bottom: 0.6rem; }
.occasion-card .occasion-name { font-size: 0.8rem; color: var(--text-secondary); font-weight: 500; }
.occasion-card:hover .occasion-name { color: var(--primary-gold); }

/* --- Shop by Style chips --- */
.style-chips { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 2.5rem; }
.style-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 40px;
  padding: 0.7rem 1.4rem;
  font-size: 0.85rem; font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}
.style-chip:hover { border-color: var(--primary-gold); color: var(--primary-gold); transform: translateY(-2px); }

/* --- Newsletter / email capture --- */
.newsletter-inline { display: flex; gap: 0.75rem; max-width: 480px; margin: 2rem auto 0; flex-wrap: wrap; justify-content: center; }
.newsletter-inline input {
  flex: 1; min-width: 220px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  border-radius: 10px; padding: 0.9rem 1.1rem;
  color: var(--text-primary); font-family: var(--font-sans); font-size: 0.92rem;
}
.newsletter-inline input:focus { outline: none; border-color: var(--primary-gold); }
.newsletter-success { color: #10b981; margin-top: 1rem; font-weight: 500; }

/* --- Extended responsive --- */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-showcase-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .occasion-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .steps-grid { grid-template-columns: 1fr; }
  .occasion-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.3rem; }
  .section-header h2 { font-size: 2rem; }
}

/* ════════ CLS fixes — reserve image space to prevent layout shift ════════ */
.article-main-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
#hero-preview-frame { width: 100%; max-width: 460px; aspect-ratio: 4 / 5; object-fit: cover; }
.card-img-container img { width: 100%; height: 100%; object-fit: cover; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }

/* ════════ Before/After: support inline SVG art inside slider layers ════════ */
.slider-img svg { width: 100%; height: 100%; display: block; }
.slider-before, .slider-after { overflow: hidden; }

/* ════════════════════════════════════════════════════
   DIY CRAFT KIT LANDING PAGES (dot painting, diamond, etc.)
   ════════════════════════════════════════════════════ */
.diy-hero { padding: 4rem 0 2rem; position: relative; }
.diy-hero .grid-2 { gap: 3rem; align-items: center; }
.diy-badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 1.4rem; }
.diy-pill { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; color: var(--primary-gold); background: rgba(226,182,89,0.08); border: 1px solid var(--border-glass); border-radius: 40px; padding: 0.4rem 0.9rem; }
.diy-rating { display: flex; align-items: center; gap: 0.5rem; color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 0.8rem; }
.diy-rating .stars { color: var(--primary-gold); letter-spacing: 1px; }

.option-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.6rem 0 0; }
.option-pill { cursor: pointer; border: 1px solid var(--border-glass); border-radius: 10px; padding: 0.7rem 1rem; font-size: 0.85rem; color: var(--text-secondary); background: var(--bg-card); transition: var(--transition-smooth); user-select: none; }
.option-pill:hover { border-color: var(--border-glow); color: var(--text-primary); }
.option-pill.active { border-color: var(--primary-gold); color: var(--primary-gold); background: rgba(226,182,89,0.07); }

.diy-quantity-note { font-size: 0.78rem; color: var(--text-secondary); margin-top: 1rem; }
.diy-quantity-note strong { color: var(--primary-gold); }

/* Feature row (how it works / benefits) */
.diy-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.diy-feature { background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: 16px; padding: 2rem 1.5rem; text-align: center; transition: var(--transition-smooth); }
.diy-feature:hover { border-color: var(--border-glow); transform: translateY(-5px); box-shadow: var(--gold-glow); }
.diy-feature .icon { font-size: 1.8rem; color: var(--primary-gold); margin-bottom: 0.9rem; }
.diy-feature h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.diy-feature p { font-size: 0.85rem; color: var(--text-secondary); }

/* Mindfulness band */
.mindful-band { background: linear-gradient(135deg, rgba(226,182,89,0.07) 0%, rgba(16,185,129,0.05) 100%); border-top: 1px solid var(--border-glass); border-bottom: 1px solid var(--border-glass); }
.mindful-band .grid-2 { align-items: center; gap: 3rem; }
.mindful-band blockquote { font-family: var(--font-serif); font-size: 1.6rem; line-height: 1.4; color: var(--text-primary); border-left: 3px solid var(--primary-gold); padding-left: 1.4rem; }

/* Cross-sell other DIY kits */
.diy-crosssell-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 2.5rem; }
.diy-crosssell-card { display: block; background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: 14px; overflow: hidden; transition: var(--transition-smooth); }
.diy-crosssell-card:hover { border-color: var(--border-glow); transform: translateY(-4px); box-shadow: var(--gold-glow); }
.diy-crosssell-card .cs-img { aspect-ratio: 1; overflow: hidden; }
.diy-crosssell-card .cs-img img { width: 100%; height: 100%; object-fit: cover; }
.diy-crosssell-card .cs-label { padding: 0.8rem; text-align: center; font-size: 0.82rem; font-weight: 600; color: var(--text-primary); }

@media (max-width: 1024px) {
  .diy-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .diy-crosssell-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .diy-hero .grid-2, .mindful-band .grid-2 { grid-template-columns: 1fr; }
  .diy-feature-grid { grid-template-columns: 1fr; }
  .diy-crosssell-grid { grid-template-columns: repeat(2, 1fr); }
  .mindful-band blockquote { font-size: 1.3rem; }
}
