/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #b8860b;
  --gold-light: #d4a843;
  --gold-dark: #8b6914;
  --price: #8b1538;
  --cream: #faf6f0;
  --cream-dark: #f0e8da;
  --white: #ffffff;
  --text: #3d3426;
  --text-light: #6b5e4f;
  --text-muted: #9a8d7e;
  --rose: #d4a0a0;
  --rose-light: #f0dede;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --shadow: 0 2px 20px rgba(139, 105, 20, 0.08);
  --shadow-lg: 0 8px 40px rgba(139, 105, 20, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* === Typography === */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 16px;
}

.section-desc {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 1.05rem;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(184, 134, 11, 0.3);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  background: var(--white);
  color: var(--gold);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 134, 11, 0.1);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s;
  letter-spacing: 0.5px;
}
.nav-link:hover {
  color: var(--gold);
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}

.nav-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--text-muted);
  transition: all 0.2s;
}
.nav-social-icon:hover {
  color: var(--gold);
  background: rgba(184, 134, 11, 0.08);
}
.nav-social-whatsapp {
  color: var(--whatsapp-dark);
}
.nav-social-whatsapp:hover {
  color: var(--whatsapp);
  background: rgba(37, 211, 102, 0.08);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s;
}
.header-phone:hover {
  color: var(--gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === Hero === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
  animation: none;
}
.hero-slide.active {
  opacity: 1;
  animation: kenBurns 8s ease-in-out forwards;
}

/* Ken Burns — each slide gets a different pan direction */
@keyframes kenBurns {
  0%   { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.15) translate(-10px, -5px); }
}
.hero-slide:nth-child(2).active {
  animation-name: kenBurns2;
}
@keyframes kenBurns2 {
  0%   { transform: scale(1.08) translate(10px, 0); }
  100% { transform: scale(1.18) translate(-5px, -8px); }
}
.hero-slide:nth-child(3).active {
  animation-name: kenBurns3;
}
@keyframes kenBurns3 {
  0%   { transform: scale(1.05) translate(-5px, 5px); }
  100% { transform: scale(1.15) translate(8px, -5px); }
}
.hero-slide:nth-child(4).active {
  animation-name: kenBurns4;
}
@keyframes kenBurns4 {
  0%   { transform: scale(1.1) translate(5px, 5px); }
  100% { transform: scale(1.18) translate(-8px, 0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(61, 52, 38, 0.3) 0%, rgba(61, 52, 38, 0.7) 100%),
    linear-gradient(to top, rgba(30, 25, 18, 0.8) 0%, transparent 40%),
    linear-gradient(135deg, rgba(61, 52, 38, 0.6) 0%, rgba(184, 134, 11, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 700px;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 700;
  font-style: italic;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.hero-dot.active {
  background: var(--gold-light);
  transform: scale(1.2);
}

/* === Category Filters === */
.category-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.cat-btn {
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  transition: all 0.25s ease;
  cursor: pointer;
}
.cat-btn:hover {
  border-color: var(--gold-light);
  color: var(--gold);
}
.cat-btn.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* === Products === */
.products {
  padding: 100px 0;
  background: var(--cream);
}

/* Product Grid — 3 per row */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 10px;
}

.product-grid-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.product-grid-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}
.product-grid-card.cat-hidden {
  display: none;
}

.grid-card-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream);
}
.grid-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-grid-card:hover .grid-card-img img {
  transform: scale(1.05);
}

.grid-rental-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(124, 58, 237, 0.9);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.grid-card-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.grid-card-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.grid-card-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.grid-price {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--price);
}
.grid-price-original {
  font-size: 0.9rem;
  text-decoration: line-through;
  color: var(--text-muted);
}
.grid-price-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: #c41e3a;
  color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
}

.grid-rent-price {
  display: block;
  width: 100%;
  font-size: 0.85rem;
  color: #7c3aed;
  font-weight: 600;
  margin-top: 2px;
}

.grid-card-btn {
  margin-top: auto;
  text-align: center;
  width: 100%;
  justify-content: center;
  font-size: 0.9rem;
  padding: 10px 20px;
}

/* Purchase / Rent toggle on design page */
.dp-mode-toggle {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--gold);
  margin-bottom: 16px;
  width: fit-content;
}
.dp-mode-btn {
  padding: 8px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: var(--white);
  color: var(--gold);
  transition: all 0.2s;
}
.dp-mode-btn.active {
  background: var(--gold);
  color: var(--white);
}
.dp-mode-btn:hover:not(.active) {
  background: var(--cream);
}

/* Rental delivery option */
.rental-delivery-option {
  background: var(--cream);
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 12px;
}
.rental-delivery-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text);
}
.rental-delivery-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
}
.rental-delivery-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.5;
  padding-left: 28px;
}
.rental-delivery-note a {
  color: #7c3aed;
  font-weight: 600;
  text-decoration: underline;
}

/* Legacy product-card styles kept for design overlay compatibility */
.product-price {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--price);
}

.product-price-original {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-price-badge {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* === Free Shipping Banner === */
.free-ship-banner {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  text-align: center;
  padding: 9px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1002;
}
.free-ship-banner-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.free-ship-banner svg {
  width: 15px;
  height: 15px;
  stroke: #fff;
}

/* === Sale Banner === */
.sale-banner {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  text-align: center;
  padding: 10px 24px;
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  z-index: 1001;
}

.sale-banner + .header {
  top: auto;
}

.sale-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sale-banner-ends {
  opacity: 0.85;
  font-size: 0.8rem;
}

/* === Promo Banner === */
.promo-banner {
  background: var(--gold);
  color: #fff;
  text-align: center;
  padding: 8px 24px;
  font-size: 0.85rem;
}

.promo-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.promo-tag strong {
  background: rgba(255,255,255,0.2);
  padding: 1px 8px;
  border-radius: 3px;
  letter-spacing: 1px;
}

.promo-sep {
  opacity: 0.5;
}

.product-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* === Customizer === */
.customizer {
  padding: 100px 0;
  background: var(--white);
}

.customizer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.customizer-preview {
  position: sticky;
  top: 100px;
}

.preview-frame {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow-lg);
}

.preview-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
  padding: 20%;
}

.preview-blessing {
  font-family: 'Amiri', serif;
  font-size: clamp(0.8rem, 1.8vw, 1.1rem);
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5), 0 0 20px rgba(0,0,0,0.3);
  line-height: 1.5;
  direction: auto;
  min-height: 1.2em;
}

.preview-names {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.preview-groom,
.preview-bride {
  font-family: 'Amiri', serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5), 0 0 30px rgba(0,0,0,0.3);
  direction: auto;
}

.preview-heart {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: var(--gold-light);
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.preview-date {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  letter-spacing: 2px;
  margin-top: 4px;
}

/* Style variants for different product backgrounds */
.preview-frame[data-style="gold"] .preview-groom,
.preview-frame[data-style="gold"] .preview-bride {
  color: #f5e6c4;
}
.preview-frame[data-style="gold"] .preview-heart {
  color: #f5e6c4;
}

.preview-frame[data-style="rose"] .preview-groom,
.preview-frame[data-style="rose"] .preview-bride {
  color: #fff;
}

.preview-frame[data-style="white"] .preview-groom,
.preview-frame[data-style="white"] .preview-bride {
  color: var(--gold);
  text-shadow: 0 1px 6px rgba(0,0,0,0.15), 0 0 20px rgba(184,134,11,0.2);
}
.preview-frame[data-style="white"] .preview-heart {
  color: var(--gold);
  text-shadow: 0 1px 6px rgba(0,0,0,0.15);
}
.preview-frame[data-style="white"] .preview-blessing {
  color: var(--gold-dark);
  text-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.preview-frame[data-style="white"] .preview-date {
  color: var(--gold-dark);
  text-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.preview-frame[data-style="pearl"] .preview-groom,
.preview-frame[data-style="pearl"] .preview-bride {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.preview-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
  font-style: italic;
}

.customizer-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--cream);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--cream-dark);
}

.control-group {
  display: flex;
  flex-direction: column;
}
.control-group label {
  margin-bottom: 6px;
}

.control-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.customizer-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.customizer-actions .btn {
  flex: 1;
  justify-content: center;
  min-width: 180px;
}

/* === Gallery & Testimonials === */
.gallery-section {
  padding: 100px 0;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery-item.gallery-large {
  grid-row: span 1;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: #fff;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 6px;
}

.gallery-credit {
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 500;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 20px;
}

.testimonial-author strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 4px;
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-section {
    padding: 60px 0;
  }
  .gallery-overlay {
    opacity: 1;
  }
  .testimonial-card {
    padding: 24px 20px;
  }
}

/* === Language Toggle === */
.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.lang-toggle:hover {
  background: var(--gold);
  color: var(--white);
}

/* === RTL Support === */
body.rtl {
  direction: rtl;
  text-align: right;
}
body.rtl .header-inner { flex-direction: row-reverse; }
body.rtl .nav { flex-direction: row-reverse; }
body.rtl .nav-socials { flex-direction: row-reverse; }
body.rtl .hero-content { text-align: center; }
body.rtl .product-buttons { flex-direction: row-reverse; }
body.rtl .product-dims { flex-direction: row-reverse; }
body.rtl .steps { flex-direction: row-reverse; }
body.rtl .footer-grid { direction: rtl; }
body.rtl .footer-contact li { flex-direction: row-reverse; }
body.rtl .social-links { flex-direction: row-reverse; }
body.rtl .form-row { direction: rtl; }
body.rtl .section-subtitle,
body.rtl .section-title,
body.rtl .section-desc { text-align: center; }
body.rtl .faq-question { flex-direction: row-reverse; text-align: right; }
body.rtl .search-bar { flex-direction: row-reverse; }
body.rtl .search-result { flex-direction: row-reverse; }
body.rtl .category-filters { flex-direction: row-reverse; }
body.rtl .cart-item { flex-direction: row-reverse; text-align: right; }
body.rtl .cart-drawer { right: auto; left: -420px; }
body.rtl .cart-drawer.open { left: 0; right: auto; }
body.rtl .cart-backdrop.open + .cart-drawer { left: 0; }
body.rtl .whatsapp-float { right: auto; left: 28px; }
body.rtl .rental-overlay-badge { left: auto; right: 12px; }

@media (max-width: 768px) {
  body.rtl .nav {
    right: auto;
    left: -100%;
    flex-direction: column;
    align-items: flex-end;
  }
  body.rtl .nav.open { left: 0; right: auto; }
  body.rtl .nav-socials { flex-direction: row; }
  body.rtl .hamburger { order: -1; }
  body.rtl .whatsapp-float { left: 20px; right: auto; }
}

/* === Search === */
.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-light);
  transition: color 0.2s;
  cursor: pointer;
}
.search-toggle:hover { color: var(--gold); }

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(250,246,240,0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 24px 40px;
  overflow-y: auto;
}
.search-overlay[hidden] {
  display: none;
}

.search-overlay-inner {
  width: 100%;
  max-width: 640px;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  transition: border-color 0.2s;
}
.search-bar:focus-within { border-color: var(--gold); }
.search-bar svg { color: var(--text-muted); flex-shrink: 0; }
.search-bar input {
  flex: 1;
  border: none;
  background: none;
  font-size: 1.1rem;
  font-family: inherit;
  color: var(--text);
  outline: none;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-close {
  font-size: 1.6rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}
.search-close:hover { color: var(--text); }

.search-results { margin-top: 24px; }

.search-hint {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.search-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.search-tag {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
}
.search-tag:hover { border-color: var(--gold); color: var(--gold); }

.search-empty {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: 1rem;
}

.search-result {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
}
.search-result:hover { background: var(--white); }
.search-result img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.search-result-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.search-result-dims {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* === Lightbox === */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 60px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s;
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.7);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
}
.lightbox-close:hover { color: #fff; }
.lightbox-zoom-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

/* === Blog === */
.blog-section {
  padding: 100px 0;
  background: var(--cream);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img { aspect-ratio: 16/10; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px; }
.blog-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  background: rgba(184,134,11,0.08);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.blog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-card-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
}
.blog-read {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
}

/* Blog Post Overlay */
.blog-overlay {
  position: fixed;
  inset: 0;
  z-index: 4500;
  background: var(--cream);
  overflow-y: auto;
}
.blog-overlay[hidden] { display: none; }
.blog-overlay-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(250,246,240,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,134,11,0.1);
}
.blog-overlay-header button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
}
.blog-overlay-header button:hover { color: var(--gold); }
.blog-overlay-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.blog-post-hero {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 32px;
}
.blog-post-tag { margin-bottom: 12px; }
.blog-post-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 20px;
  line-height: 1.25;
}
.blog-post-body { font-size: 1.05rem; color: var(--text-light); line-height: 1.85; }
.blog-post-body h2 { font-size: 1.4rem; color: var(--text); margin: 32px 0 14px; }
.blog-post-body p { margin-bottom: 18px; }
.blog-post-body ul { padding-left: 24px; margin-bottom: 18px; }
.blog-post-body li { margin-bottom: 8px; }
.blog-post-body strong { color: var(--text); }
.blog-post-cta {
  margin-top: 40px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}
.blog-post-cta h3 { margin-bottom: 12px; }
.blog-post-cta p { color: var(--text-light); margin-bottom: 16px; }

@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-section { padding: 60px 0; }
}

/* === FAQ === */
.faq-section {
  padding: 80px 0;
  background: var(--cream);
}
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--cream-dark);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 500;
  text-align: left;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  gap: 16px;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--text-muted);
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--gold);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}
.faq-answer p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === How It Works === */
.how-it-works {
  padding: 100px 0;
  background: var(--white);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 30px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--white);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

.step-divider {
  width: 60px;
  height: 2px;
  background: var(--cream-dark);
  margin-top: 28px;
  flex-shrink: 0;
}

/* === Custom Order Form === */
.custom-order {
  padding: 100px 0;
  background: var(--cream);
}

.order-form {
  max-width: 740px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}
.form-group.full-width {
  margin-bottom: 20px;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.optional {
  color: var(--text-muted);
  font-weight: 400;
}

input,
select,
textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
  background: var(--white);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239a8d7e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1.05rem;
  margin-top: 8px;
}

/* Form Success */
.form-success {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form-success .success-icon {
  color: var(--whatsapp);
  margin-bottom: 20px;
}
.form-success h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.form-success p {
  color: var(--text-light);
  margin-bottom: 16px;
}
.form-success .btn {
  margin-top: 8px;
}

/* === Footer === */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer .logo {
  font-size: 2rem;
  margin-bottom: 4px;
  display: inline-block;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.footer-about {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
.footer-contact li svg {
  flex-shrink: 0;
  opacity: 0.7;
}
.footer-contact a {
  transition: color 0.2s;
}
.footer-contact a:hover {
  color: var(--gold-light);
}

.social-links {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.social-links a:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: rgba(184, 134, 11, 0.1);
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-location svg {
  opacity: 0.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* === Floating WhatsApp === */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .customizer-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .customizer-preview {
    position: static;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 24px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }
  .nav.open {
    right: 0;
  }
  .nav-link {
    font-size: 1.05rem;
  }
  .nav-socials {
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--cream-dark);
    margin-top: 8px;
  }
  .nav-social-icon {
    width: 40px;
    height: 40px;
  }
  .hamburger {
    display: flex;
  }
  .header-phone {
    display: none;
  }

  .hero {
    min-height: 500px;
    max-height: 700px;
  }
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .products {
    padding: 60px 0;
  }
  .section-desc {
    margin-bottom: 40px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .grid-card-name {
    font-size: 1rem;
  }
  .grid-card-info {
    padding: 14px;
  }

  .steps {
    flex-direction: column;
    gap: 36px;
  }
  .step-divider {
    width: 2px;
    height: 40px;
    margin: 0 auto;
  }

  .how-it-works,
  .custom-order {
    padding: 60px 0;
  }

  .category-filters {
    gap: 8px;
    margin-bottom: 30px;
  }
  .cat-btn {
    padding: 8px 18px;
    font-size: 0.82rem;
  }

  .order-form {
    padding: 28px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    max-width: 260px;
  }
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .grid-card-info {
    padding: 12px;
  }
  .grid-card-name {
    font-size: 0.92rem;
  }
  .grid-card-btn {
    font-size: 0.82rem;
    padding: 8px 14px;
  }
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
}

/* ============================================================
   RENTAL BADGE ON PRODUCT IMAGE + RENT BUTTON
   ============================================================ */
.product-main-img {
  position: relative;
}

.rental-overlay-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.4);
  z-index: 2;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 2px 12px rgba(124, 58, 237, 0.4); }
  50% { box-shadow: 0 2px 20px rgba(124, 58, 237, 0.6); }
}

.btn-rent {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
}
.btn-rent:hover {
  background: linear-gradient(135deg, #6d28d9, #5b21b6);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.rent-btn-price {
  background: rgba(255,255,255,0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-left: 4px;
}

/* Rental tags in design page and cart */
.rental-badge-lg {
  display: inline-block;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.dp-rental-tag {
  font-size: 0.85rem;
  color: #7c3aed;
  font-weight: 500;
}

.rental-info-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f5f0ff;
  border: 1px solid #e4d9fc;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: #5b21b6;
  line-height: 1.5;
}
.rental-info-box svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #7c3aed;
}

/* Deposit notice on design page */
.rental-deposit-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: #92400e;
  line-height: 1.5;
}
.rental-deposit-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #f59e0b;
}
.rental-deposit-notice p {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: #a16207;
}

/* Rental agreement */
.rental-agreement {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 12px;
  cursor: pointer;
}
.rental-agreement input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #7c3aed;
  cursor: pointer;
}
.rental-terms-link {
  color: #7c3aed;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: none;
  font-size: inherit;
  font-family: inherit;
  padding: 0;
}
.rental-terms-link:hover { color: #5b21b6; }

.rental-terms {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  line-height: 1.7;
}
.rental-terms h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.rental-terms ul {
  padding-left: 20px;
}
.rental-terms li {
  margin-bottom: 6px;
  color: var(--text-light);
}

.rental-btn {
  background: #7c3aed !important;
}
.rental-btn:hover {
  background: #6d28d9 !important;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3) !important;
}

.cart-rental-tag {
  display: inline-block;
  background: #7c3aed;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .rental-overlay-badge {
    font-size: 0.65rem;
    padding: 5px 12px;
  }
}

/* ============================================================
   CART ICON
   ============================================================ */
.cart-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-light);
  transition: color 0.2s;
  cursor: pointer;
  flex-shrink: 0;
}
.cart-toggle:hover { color: var(--gold); }
.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--gold);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.cart-badge.hidden, .cart-badge[hidden] { display: none; }

/* ============================================================
   CART DRAWER
   ============================================================ */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 2999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-backdrop.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 30px rgba(0,0,0,0.15);
  transition: right 0.3s ease;
}
.cart-drawer.open { right: 0; }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--cream-dark);
}
.cart-drawer-header h3 {
  font-size: 1.2rem;
}
.cart-close {
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}
.cart-close:hover { color: var(--text); }

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.cart-empty p { font-size: 1.1rem; margin-bottom: 8px; }
.cart-empty-sub { font-size: 0.9rem; }

.cart-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.cart-item:last-child { border-bottom: none; }

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.cart-item-personalization { font-size: 0.85rem; color: var(--text-light); }
.cart-item-date { font-size: 0.8rem; color: var(--text-muted); }
.cart-item-blessing { font-size: 0.8rem; color: var(--gold); font-style: italic; margin-top: 2px; }
.cart-item-price { font-weight: 700; color: var(--price); margin-top: 6px; font-size: 0.95rem; }

.cart-item-remove {
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 4px;
  flex-shrink: 0;
  line-height: 1;
}
.cart-item-remove:hover { color: #dc2626; }

.cart-drawer-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--cream-dark);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-total {
  text-align: center;
  font-size: 1.1rem;
  padding-bottom: 6px;
}
.cart-total strong { color: var(--price); font-size: 1.2rem; font-weight: 700; }

.cart-footer-btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   DESIGN PAGE OVERLAY
   ============================================================ */
.design-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--cream);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.design-overlay.open { transform: translateX(0); }

.design-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(250,246,240,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,134,11,0.1);
}

.design-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
}
.design-back:hover { color: var(--gold); }

.design-header-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  cursor: pointer;
}
.design-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.design-header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
}
.design-header-phone:hover { color: var(--gold); }
@media (max-width: 600px) {
  .design-header-phone span { display: none; }
}

.design-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.design-left { position: sticky; top: 80px; }

.design-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--white);
  box-shadow: var(--shadow);
}
.design-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}

.design-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.design-right { padding-bottom: 60px; }

.design-product-name {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.design-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.dp-price {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--price);
}
.dp-price.contact { font-size: 1.2rem; font-style: italic; font-weight: 500; }
.dp-price-original {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.design-dims {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.design-desc {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 28px;
}

.design-form {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.design-form-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--text);
}

.design-field {
  margin-bottom: 16px;
}
.design-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.design-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.design-preview-wrap {
  margin: 24px 0;
}

/* Rental availability indicator */
.dp-availability {
  margin-top: 8px;
  font-size: 0.88rem;
}
.dp-avail-loading { color: var(--text-muted); }
.dp-avail-yes { color: #16a34a; display: flex; align-items: center; gap: 6px; font-weight: 500; }
.dp-avail-no { color: #dc2626; display: flex; align-items: center; gap: 6px; font-weight: 500; }

/* Rental mini calendar */
.dp-calendar-wrap { margin-bottom: 16px; }
.dp-cal-toggle {
  font-size: 0.85rem;
  color: #7c3aed;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dp-cal-toggle:hover { color: #5b21b6; }

.dp-calendar {
  margin-top: 12px;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 12px;
  padding: 16px;
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cal-month {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
}
.cal-nav {
  background: none;
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  padding: 4px 12px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-light);
}
.cal-nav:hover { background: var(--white); color: var(--gold); }

.cal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}
.cal-table th {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 0 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cal-table td {
  padding: 6px 2px;
  border-radius: 8px;
  vertical-align: top;
  position: relative;
}

.cal-day {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
}
.cal-dots {
  display: block;
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.cal-open {
  background: #f0fdf4;
  cursor: pointer;
}
.cal-open:hover { background: #dcfce7; }
.cal-open .cal-day { color: #16a34a; }

.cal-full {
  background: #fef2f2;
}
.cal-full .cal-day { color: #dc2626; }
.cal-full .cal-dots { color: #dc2626; }

.cal-past {
  opacity: 0.3;
}

.cal-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.cal-legend-open, .cal-legend-full, .cal-legend-past {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: 3px;
}
.cal-legend-open { background: #f0fdf4; border: 1px solid #16a34a; }
.cal-legend-full { background: #fef2f2; border: 1px solid #dc2626; }
.cal-legend-past { background: #f5f5f5; border: 1px solid #ccc; }

.design-add-cart {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1.05rem;
  margin-bottom: 12px;
  transition: all 0.3s;
}

.design-whatsapp {
  width: 100%;
  justify-content: center;
}

/* Related Products */
.design-related {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--cream-dark);
}
.design-related-title {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--text);
}
.design-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.related-card {
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream);
  transition: transform 0.2s, box-shadow 0.2s;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.related-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.related-name {
  padding: 10px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

@media (max-width: 480px) {
  .design-related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SITE TOAST
   ============================================================ */
.site-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--text);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}
.site-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ============================================================
   DESIGN PAGE RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .design-body {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 24px 16px;
  }
  .design-left { position: static; }
  .design-field-row { grid-template-columns: 1fr; }
  .design-form { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .design-header { padding: 12px 16px; }
  .design-product-name { font-size: 1.3rem; }
  .design-thumbs .thumb { width: 52px; height: 52px; }
}

/* ============================================================
   Chat Widget
   ============================================================ */
.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}
.chat-tooltip {
  position: absolute;
  bottom: 75px;
  right: 0;
  background: #fff;
  color: #1d1d1f;
  padding: 10px 16px 10px 18px;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: chatTooltipBounce 2.5s ease-in-out infinite;
  cursor: default;
}
.chat-tooltip::after {
  content: '';
  position: absolute;
  bottom: -7px;
  right: 22px;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.05);
}
.chat-tooltip span {
  position: relative;
  z-index: 1;
}
.chat-tooltip-close {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.chat-tooltip-close:hover {
  color: #1d1d1f;
  background: #f0f0f0;
}
.chat-widget.open .chat-tooltip { display: none !important; }

@keyframes chatTooltipBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.chat-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.chat-toggle-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}
.chat-icon-close { display: none; }
.chat-widget.open .chat-icon-open { display: none; }
.chat-widget.open .chat-icon-close { display: block; }
.chat-widget.open .chat-toggle-btn {
  background: #1d1d1f;
}

.chat-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.5;
  animation: chatPulse 2s ease-out infinite;
  pointer-events: none;
}
.chat-widget.open .chat-pulse { display: none; }
@keyframes chatPulse {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 40px);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: bottom right;
}
.chat-widget.open .chat-window {
  display: flex;
  transform: translateY(0) scale(1);
  opacity: 1;
}

.chat-header {
  background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
  color: #fff;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
}
.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.chat-header-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.chat-header-status {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.chat-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.3);
}
.chat-close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.2s, background 0.2s;
}
.chat-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
}

.chat-number-picker {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f0f2f5;
  border-bottom: 1px solid #e5e7eb;
  flex-wrap: wrap;
}
.chat-picker-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6e6e73;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 4px;
}
.chat-num-btn {
  flex: 1;
  min-width: 0;
  padding: 7px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 14px;
  border: 1px solid #d4cabc;
  background: #fff;
  color: #6e6e73;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-num-btn:hover {
  border-color: #075e54;
  color: #075e54;
}
.chat-num-btn.active {
  background: #075e54;
  color: #fff;
  border-color: #075e54;
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  background: #ece5dd;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d4cabc' fill-opacity='0.3'%3E%3Cpath d='M0 0h20v20H0V0zm20 20h20v20H20V20z'/%3E%3C/g%3E%3C/svg%3E");
}
.chat-message {
  display: flex;
  margin-bottom: 14px;
}
.chat-message-bot {
  justify-content: flex-start;
}
.chat-bubble {
  background: #fff;
  padding: 12px 14px;
  border-radius: 0 12px 12px 12px;
  max-width: 85%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.chat-bubble p {
  font-size: 0.88rem;
  color: #1d1d1f;
  line-height: 1.5;
  margin: 0 0 6px;
}
.chat-bubble p:last-child { margin-bottom: 0; }

.chat-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.chat-quick-btn {
  text-align: left;
  background: #fff;
  border: 1px solid #d4cabc;
  color: #075e54;
  padding: 11px 14px;
  border-radius: 18px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.chat-quick-btn:hover {
  background: #075e54;
  color: #fff;
  border-color: #075e54;
}

.chat-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #f0f2f5;
  border-top: 1px solid #e5e7eb;
}
.chat-input {
  flex: 1;
  padding: 11px 16px;
  border: none;
  border-radius: 24px;
  background: #fff;
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
  color: #1d1d1f;
}
.chat-input::placeholder { color: #9ca3af; }
.chat-send-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.chat-send-btn:hover {
  background: #128c7e;
  transform: scale(1.05);
}
.chat-powered {
  text-align: center;
  font-size: 0.7rem;
  color: #6e6e73;
  padding: 6px;
  background: #f0f2f5;
  border-top: 1px solid #e5e7eb;
}

@media (max-width: 480px) {
  .chat-widget {
    bottom: 20px;
    right: 20px;
  }
  .chat-toggle-btn {
    width: 54px;
    height: 54px;
  }
  .chat-window {
    bottom: 72px;
    width: calc(100vw - 32px);
    right: -4px;
    height: 70vh;
  }
}

/* ============================================================
   Sold by Dozen
   ============================================================ */
.dp-dozen-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  border: 1px solid #d8b4fe;
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: #6b21a8;
  line-height: 1.5;
}
.dp-dozen-notice svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #7c3aed;
}
.dp-dozen-notice strong {
  font-weight: 700;
}
.dp-dozen-hint {
  font-size: 0.85rem;
  color: #7c3aed;
  font-weight: 600;
  margin-left: 4px;
}
.grid-price-suffix {
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 500;
  margin-left: 4px;
  font-family: 'Inter', sans-serif;
}
.dp-price-suffix {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
  margin-left: 6px;
  font-family: 'Inter', sans-serif;
}

/* ============================================================
   Quantity Selector & Stock
   ============================================================ */
.dp-stock-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.dp-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #16a34a;
  background: #f0fdf4;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #bbf7d0;
}
.dp-stock-badge.low {
  color: #d97706;
  background: #fffbeb;
  border-color: #fde68a;
}
.dp-stock-warning {
  font-size: 0.8rem;
  color: #d97706;
  font-weight: 500;
}
.dp-qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.dp-qty-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}
.dp-qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid #d4c5a9;
  border-radius: var(--radius);
  overflow: hidden;
}
.dp-qty-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #faf8f5;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  transition: background 0.15s;
}
.dp-qty-btn:hover {
  background: var(--gold-light);
  color: #fff;
}
.dp-qty-control input {
  width: 70px;
  height: 44px;
  text-align: center;
  border: none;
  border-left: 1.5px solid #d4c5a9;
  border-right: 1.5px solid #d4c5a9;
  font-size: 1.15rem;
  font-weight: 700;
  background: #fff;
  outline: none;
  color: var(--text);
  -moz-appearance: textfield;
}
.dp-qty-control input::-webkit-inner-spin-button,
.dp-qty-control input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* ============================================================
   Variants (Color/Style with images)
   ============================================================ */
.dp-variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 6px;
}
.dp-variant-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  background: #fff;
  border: 2px solid #e8e0d0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.dp-variant-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-2px);
}
.dp-variant-card.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15);
}
.dp-variant-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}
.dp-variant-color-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.08);
}
.dp-variant-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}
.dp-variant-stock {
  font-size: 0.7rem;
  color: var(--text-light);
}

/* ============================================================
   Color Picker (legacy hardcoded)
   ============================================================ */
.dp-color-picker {
  margin-bottom: 18px;
}
.dp-color-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.dp-color-swatches {
  display: flex;
  gap: 10px;
}
.dp-color-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dp-color-swatch:hover {
  transform: scale(1.1);
}
.dp-color-swatch.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-light);
}
.dp-color-swatch.active::after {
  content: '✓';
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.dp-color-name {
  position: absolute;
  top: 46px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--text-secondary);
  white-space: nowrap;
  pointer-events: none;
}
.cart-item-color {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

/* ============================================================
   Contact Me / Design Help
   ============================================================ */
.contact-me-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #faf8f5 0%, #f5f0e8 100%);
  border: 1.5px solid var(--gold-light);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.contact-me-option:hover {
  border-color: var(--gold);
}
.contact-me-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}
.contact-me-option span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}
.contact-me-msg {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #faf8f5 0%, #f5f0e8 100%);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  animation: qoSlide 0.3s ease;
}
.contact-me-msg svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-me-msg strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.contact-me-msg p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}
.cart-item-contact-me {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 2px;
}

@keyframes qoSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Spin the Wheel
   ============================================================ */
.spin-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: spinFadeIn 0.4s ease;
}
@keyframes spinFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.spin-modal {
  position: relative;
  background: linear-gradient(145deg, #1a1714 0%, #0d0b09 100%);
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: 36px 32px 32px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 60px rgba(184, 134, 11, 0.2), 0 20px 60px rgba(0, 0, 0, 0.6);
}
.spin-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.8rem;
  color: #888;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
}
.spin-close:hover { color: var(--gold); }
.spin-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.spin-subtitle {
  color: #b0a48a;
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}
.spin-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.spin-input-row input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #3d3426;
  border-radius: 10px;
  background: #1a1714;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.spin-input-row input:focus {
  border-color: var(--gold);
}
.spin-input-row input::placeholder { color: #6b5e4f; }
#spin-go {
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
#spin-go:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(184, 134, 11, 0.4);
}
#spin-go:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.spin-error {
  color: #ef4444;
  font-size: 0.85rem;
  margin: -12px 0 16px;
}
.spin-canvas-wrap {
  position: relative;
  display: inline-block;
  margin: 0 auto 20px;
}
.spin-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 22px solid var(--gold);
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
#spin-canvas {
  display: block;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--gold), 0 0 30px rgba(184, 134, 11, 0.3);
}
.spin-result {
  animation: spinResultIn 0.5s ease;
}
@keyframes spinResultIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.spin-prize-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.spin-promo-code {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}
.spin-promo-code strong {
  display: inline-block;
  background: linear-gradient(135deg, #3d3426 0%, #2a2318 100%);
  border: 1px solid var(--gold);
  padding: 6px 16px;
  border-radius: 8px;
  letter-spacing: 2px;
  font-size: 1.2rem;
  color: var(--gold);
}
.spin-dismiss {
  padding: 10px 28px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 10px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.spin-dismiss:hover {
  background: var(--gold);
  color: #1a1714;
}
@media (max-width: 480px) {
  .spin-modal { padding: 28px 20px 24px; }
  .spin-title { font-size: 1.6rem; }
  #spin-canvas { width: 260px; height: 260px; }
}
