*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple: #7B4F9E;
  --purple-light: #C9A9E0;
  --purple-pale: #F0E8F8;
  --purple-deep: #4A2775;
  --pink: #E8A0C0;
  --pink-light: #F7D9EA;
  --pink-pale: #FDF0F6;
  --yellow: #F5EAB0;
  --yellow-light: #FDF8E1;
  --cream: #FDF9F5;
  --text-dark: #2D1B42;
  --text-mid: #5C4575;
  --text-soft: #8B6BA8;
  --white: #ffffff;
  --border: rgba(123,79,158,0.15);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--cream); color: var(--text-dark); line-height: 1.7; overflow-x: hidden; }

/* ── IMG PLACEHOLDER UTILITY ── */
.img-placeholder {
  background: linear-graient(135deg, var(--purple-pale) 0%, var(--pink-light) 60%, var(--yellow-light) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; overflow: hidden; position: relative;
}
.img-placeholder::after {
  content: '';
  position: absolute; inset: 0;
}
.img-placeholder-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  opacity: 0.35;
  position: relative; z-index: 1;
}
.img-placeholder-label {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--purple); opacity: 0.5;
  position: relative; z-index: 1;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(253,249,245,0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 1.5rem;
}
.nav-logo-slot { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; flex-shrink: 0; }
.nav-logo-img {
  width: 90px; height: 90px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
/* Drop in <img src="logo.png"> inside .nav-logo-img to replace the placeholder SVG */
.nav-logo-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.nav-logo-placeholder-svg { width: 28px; height: 28px; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--purple-deep); letter-spacing: 0.04em; }
.nav-logo-name span { color: var(--pink); }
.nav-logo-tagline { font-size: 0.58rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-soft); font-weight: 500; }

.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; margin-left: auto; }
.nav-links a { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-mid); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--purple); }
.nav-cta { background: var(--purple) !important; color: var(--white) !important; padding: 0.5rem 1.4rem !important; border-radius: 100px; font-weight: 600 !important; }
.nav-cta:hover { background: var(--purple-deep) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; flex-shrink: 0; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--purple-deep); border-radius: 2px; transition: 0.3s; }

.mobile-menu {
  display: none; position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--cream); border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem; z-index: 199;
  flex-direction: column; gap: 1.2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mid); text-decoration: none; font-weight: 500; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--purple); color: var(--white);
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.9rem 2.2rem; border-radius: 100px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s; display: inline-block;
}
.btn-primary:hover { background: var(--purple-deep); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--purple);
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.9rem 2.2rem; border-radius: 100px;
  border: 1.5px solid var(--purple-light);
  text-decoration: none; cursor: pointer;
  transition: border-color 0.2s, background 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--purple); background: var(--purple-pale); }

/* --- HERO LAYOUT --- */
.hero-section {
  padding-top: 80px; 
  background-color: var(--cream);
  width: 100%;
}

.hero-full-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* --- THE 16:9 CAROUSEL --- */
.hero-carousel-wrapper {
  position: relative;
  width: 100%;
  /* This creates a responsive 16:9 container */
  aspect-ratio: 16 / 9; 
  overflow: hidden;
  background: #eee;
}

.carousel-track-container {
  height: 100%;
  width: 100%;
}

.carousel-track {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
}

.carousel-slide .img-placeholder {
  height: 100% !important;
  width: 100% !important;
  border-radius: 0;
  /* Use object-fit: cover when using actual <img> tags */
}

/* Navigation UI */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(0px);
  border: none;
  color: white;
  padding: 15px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.carousel-btn:hover { background: rgba(255, 255, 255, 0.4); }
.btn-prev { left: 20px; }
.btn-next { right: 20px; }

.carousel-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-indicator {
  width: 30px;
  height: 3px;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.carousel-indicator.current-indicator { background: white; }

/* --- DESCRIPTION SECTION --- */
.hero-content-footer {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  padding: 50px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.hero-text-content { flex: 1; }

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--purple-deep);
  margin: 10px 0;
}

.hero-title span { color: var(--purple); font-style: italic; }

.hero-text {
  max-width: 550px;
  color: #666;
  line-height: 1.6;
}

.hero-actions { display: flex; gap: 10px; }

/* Mobile Stack */
@media (max-width: 850px) {
  .hero-content-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 0;
  }
}

/* ── SECTION COMMONS ── */
section { scroll-margin-top: 72px; }
.section-wrap { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-tag { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple); margin-bottom: 0.8rem; }
.section-tag::before { content: ''; width: 24px; height: 1px; background: var(--purple-light); }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 600; line-height: 1.2; color: var(--text-dark); }
.section-title em { font-style: italic; color: var(--purple); }

::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--pink-deep); border-radius: 3px; }

/* ── ABOUT ── */
#about { padding: 7rem 0; background: white; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-visual { position: relative; }
.about-blob { width: 100%; padding-bottom: 100%; border-radius: 60% 40% 50% 60% / 50% 60% 40% 50%; background: linear-gradient(135deg, var(--purple-pale) 0%, var(--pink-pale) 60%, var(--yellow-light) 100%); position: relative; }
.about-blob-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.about-tagline-card { background: white; border-radius: 20px; padding: 2rem; box-shadow: 0 16px 50px rgba(123,79,158,0.12); text-align: center; max-width: 220px; }
.about-tagline-card p { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; font-weight: 600; color: var(--purple-deep); line-height: 1.3; }
.about-tagline-card span { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); margin-top: 0.7rem; display: block; font-weight: 600; }
.about-pills { position: absolute; bottom: -0.5rem; right: -1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.about-pill { background: white; border: 1px solid var(--border); border-radius: 100px; padding: 0.38rem 1rem; font-size: 0.72rem; font-weight: 600; color: var(--purple); white-space: nowrap; box-shadow: 0 4px 12px rgba(123,79,158,0.08); }

.about-text p { color: var(--text-mid); font-weight: 400; margin-bottom: 1.2rem; font-size: 0.97rem; line-height: 1.9; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.value-item { background: var(--purple-pale); border-radius: 16px; padding: 1.2rem; }

/* Value icon — image placeholder box */
.value-icon-img {
  width: 36px; height: 36px; border-radius: 10px; 
}
.value-title { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--purple-deep); margin-bottom: 0.3rem; }
.value-desc { font-size: 0.78rem; color: var(--text-soft); line-height: 1.5; font-weight: 400; }

/* ── PRODUCT SECTION (Benefits + old showcase) ── */
#product { padding: 7rem 0; background: var(--cream); position: relative; overflow: hidden; }
#product::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, var(--purple-pale) 0%, transparent 70%); pointer-events: none; }

.product-header { text-align: center; max-width: 600px; margin: 0 auto 3rem; }

/* Benefits row — stacked on mobile, row on desktop */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 4rem;
}
.benefit-card { background: white; border-radius: 20px; padding: 1.4rem; border: 1px solid var(--border); transition: transform 0.2s, box-shadow 0.2s; }
.benefit-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(123,79,158,0.1); }
.benefit-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--purple-light); line-height: 1; margin-bottom: 0.3rem; }
.benefit-title { font-size: 0.85rem; font-weight: 700; color: var(--purple-deep); margin-bottom: 0.3rem; }
.benefit-desc { font-size: 0.78rem; color: var(--text-soft); line-height: 1.5; font-weight: 400; }

/* ── PRODUCT GALLERY ── */
.gallery-header { text-align: center; max-width: 560px; margin: 0 auto 2.5rem; }
.gallery-header h3 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; color: var(--text-dark); }
.gallery-header h3 em { font-style: italic; color: var(--purple); }
.gallery-header p { font-size: 0.9rem; color: var(--text-soft); margin-top: 0.6rem; font-weight: 400; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  background: white; border-radius: 24px;
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(123,79,158,0.13); }

/* Product image placeholder in gallery card */
.gallery-card-img {
  width: 100%; aspect-ratio: 4/3;
  position: relative;
}
.gallery-card-img.img-placeholder { aspect-ratio: 4/3; }

.gallery-card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--purple); color: white;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25rem 0.75rem; border-radius: 100px;
}

.gallery-card-body { padding: 1.2rem 1.4rem 1.4rem; }

.gallery-card-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--text-dark); line-height: 1.2; margin-bottom: 0.3rem; }

.gallery-card-stars { display: flex; gap: 2px; align-items: center; margin-bottom: 0.5rem; }
.g-star { color: #F5C842; font-size: 0.82rem; }
.g-rating-count { font-size: 0.72rem; color: var(--text-soft); margin-left: 0.3rem; font-weight: 500; }

.gallery-card-desc { font-size: 0.8rem; color: var(--text-soft); line-height: 1.55; font-weight: 400; margin-bottom: 1rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.gallery-card-footer { display: flex; align-items: center; justify-content: space-between; }
.gallery-card-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--purple-deep); }
.gallery-card-btn { background: var(--purple-pale); color: var(--purple); border: 1px solid var(--purple-light); border-radius: 100px; padding: 0.4rem 1rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: background 0.2s; }
.gallery-card-btn:hover { background: var(--purple); color: white; border-color: var(--purple); }

/* ── PRODUCT POPUP MODAL ── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(45,27,66,0.55);
  backdrop-filter: blur(10px);
  align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }

.modal {
    background: #fff;
    width: 90%;
    max-width: 600px; /* Reduced width since it's now single-column */
    border-radius: 32px;
    position: relative;
    padding: 40px; /* Consistent padding around the text */
    display: block; /* Change from grid/flex to block */
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem; color: var(--text-mid);
  transition: background 0.2s;
}
.modal-close:hover { background: var(--purple-pale); color: var(--purple); }

.modal-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple); }

.modal-name { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--text-dark); line-height: 1.15; }

.modal-stars { display: flex; align-items: center; gap: 4px; }
.modal-stars .g-star { font-size: 0.95rem; }
.modal-stars .g-rating-text { font-size: 0.78rem; font-weight: 600; color: var(--text-soft); margin-left: 0.4rem; }

.modal-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--purple-deep); }
.modal-price-note { font-size: 0.75rem; color: var(--text-soft); font-weight: 500; margin-top: 0.1rem; }

.modal-divider { height: 1px; background: var(--border); margin: 16px 0;}

.modal-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 0.5rem; }

/* Variation chips */
.modal-variations { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 16px 0;}
.var-chip {
  border: 1.5px solid var(--border); border-radius: 100px;
  padding: 0.3rem 0.9rem; font-size: 0.75rem; font-weight: 600;
  color: var(--text-mid); cursor: pointer; transition: all 0.15s;
  background: white;
}
.var-chip:hover { border-color: var(--purple); color: var(--purple); }
.var-chip.selected { border-color: var(--purple); background: var(--purple-pale); color: var(--purple-deep); }

.modal-stock { font-size: 0.8rem; font-weight: 600; color: var(--text-soft); }
.modal-stock span { color: var(--purple); }

.modal-desc { font-size: 0.85rem; color: var(--text-mid); line-height: 1.75; font-weight: 400; }

.modal-qty-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid); }
.modal-qty-btn:hover { background: var(--purple); color: white; }
.modal-qty-val { width: 36px; text-align: center; font-weight: 700; font-size: 0.95rem; color: var(--text-dark); font-family: var(--font-body); border: none; background: transparent; }

.modal-order-btn {
    width: 100%;
    background: var(--purple);
    color: white;
    border: none;
    border-radius: 100px;
    padding: 0.95rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    margin-top: 24px; /* Added margin for better spacing since buttons are gone */
}
.modal-order-btn:hover { background: var(--purple-deep); transform: translateY(-1px); }

/* ── REVIEWS ── */
#reviews { padding: 7rem 0; background: white; }
.reviews-header { text-align: center; max-width: 500px; margin: 0 auto 3.5rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review-card { 
    background: var(--cream); 
    border-radius: 24px; 
    padding: 1.8rem; 
    border: 1px solid var(--border); 
    transition: transform 0.2s; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}
.review-card:hover { transform: translateY(-4px); }
.review-card.featured { background: var(--purple); border-color: transparent; }
.review-quote { font-size: 2.5rem; line-height: 1; color: var(--purple-light); font-family: var(--font-display); font-weight: 700; margin-bottom: 0.5rem; }
.review-card.featured .review-quote { color: rgba(255,255,255,0.25); }
.review-stars { display: flex; gap: 3px; margin-bottom: 0.8rem; }
.star { color: #F5C842; font-size: 0.88rem; }
.review-card.featured .star { color: var(--yellow); }
.review-text { font-size: 0.88rem; font-weight: 400; color: var(--text-mid); line-height: 1.75; margin-bottom: 1.2rem; flex-grow: 1;}
.review-card.featured .review-text { color: rgba(255,255,255,0.85); }
.reviewer { display: flex; align-items: center; gap: 0.8rem; margin-top: auto;}
.reviewer-avatar { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.82rem; font-weight: 700; flex-shrink: 0; }
.reviewer-avatar.a1 { background: var(--purple-pale); color: var(--purple); }
.reviewer-avatar.a2 { background: rgba(255,255,255,0.2); color: white; }
.reviewer-avatar.a3 { background: var(--pink-pale); color: var(--purple); }
.reviewer-name { font-size: 0.82rem; font-weight: 700; color: var(--text-dark); }
.review-card.featured .reviewer-name { color: white; }
.reviewer-loc { font-size: 0.7rem; color: var(--text-soft); font-weight: 500; }
.review-card.featured .reviewer-loc { color: rgba(255,255,255,0.45); }
.reviews-summary { display: flex; align-items: center; justify-content: center; gap: 4rem; margin-top: 3rem; padding: 2rem; background: var(--purple-pale); border-radius: 24px; flex-wrap: wrap; }
.summary-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--purple-deep); line-height: 1; }
.summary-label { font-size: 0.7rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.3rem; font-weight: 600; }

/* ── INQUIRE ── */
#inquire { padding: 7rem 0; background: var(--cream); position: relative; overflow: hidden; }
#inquire::after { content: ''; position: absolute; bottom: -80px; left: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, var(--pink-pale) 0%, transparent 70%); pointer-events: none; }
.inquire-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; align-items: start; position: relative; z-index: 1; }
.inquire-info p { color: var(--text-mid); font-weight: 400; line-height: 1.85; margin-bottom: 1.2rem; font-size: 0.95rem; }
.contact-ways { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 2rem; }
.contact-way { display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1.2rem; background: white; border-radius: 16px; border: 1px solid var(--border); }
.contact-icon-img { width: 40px; height: 40px; border-radius: 12px; background: var(--purple-pale); flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.contact-icon-img.img-placeholder { border-radius: 12px; }
.contact-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-soft); font-weight: 600; }
.contact-value { font-size: 0.84rem; font-weight: 600; color: var(--text-dark); }

/* FORM PANEL */
.form-panel { background: white; border-radius: 28px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(123,79,158,0.07); }
.form-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.form-tab {
  padding: 1.2rem 1rem; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft);
  transition: color 0.2s, background 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  position: relative;
}
.form-tab::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--purple); transform: scaleX(0); transition: transform 0.25s; }
.form-tab.active { color: var(--purple-deep); background: var(--purple-pale); }
.form-tab.active::after { transform: scaleX(1); }

/* Tab icon — placeholder image spot */
.form-tab-icon-img { width: 36px; height: 36px; border-radius: 4px; }

.form-body { padding: 2.2rem 2.5rem 2.5rem; }
.form-pane { display: none; }
.form-pane.active { display: block; }
.form-heading { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.3rem; }
.form-desc { font-size: 0.8rem; color: var(--text-soft); margin-bottom: 1.8rem; font-weight: 400; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-mid); }
.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid var(--border); border-radius: 12px;
  padding: 0.72rem 1rem; font-family: var(--font-body);
  font-size: 0.87rem; font-weight: 400; color: var(--text-dark);
  background: var(--cream); outline: none;
  transition: border-color 0.2s, background 0.2s; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--purple); background: white; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B6BA8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.qty-group { display: flex; align-items: center; gap: 0.5rem; border: 1.5px solid var(--border); border-radius: 12px; background: var(--cream); padding: 0.3rem 0.6rem; transition: border-color 0.2s; }
.qty-group:focus-within { border-color: var(--purple); background: white; }
.qty-btn { width: 30px; height: 30px; border-radius: 8px; border: none; background: var(--purple-pale); color: var(--purple); font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; font-weight: 600; transition: background 0.2s; }
.qty-btn:hover { background: var(--purple-light); color: white; }
.qty-val { border: none; background: transparent; text-align: center; width: 40px; font-weight: 700; font-size: 0.95rem; color: var(--text-dark); font-family: var(--font-body); }
.form-submit { width: 100%; background: var(--purple); color: white; border: none; border-radius: 100px; padding: 1rem; font-family: var(--font-body); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: background 0.2s, transform 0.15s; margin-top: 0.5rem; }
.form-submit:hover { background: var(--purple-deep); transform: translateY(-1px); }
.form-note { text-align: center; font-size: 0.7rem; color: var(--text-soft); margin-top: 0.8rem; font-weight: 500; }

.form-success { display: none; text-align: center; padding: 3rem 2rem; flex-direction: column; align-items: center; gap: 0.8rem; }
.form-success.show { display: flex; }
.success-icon-img { width: 60px; height: 60px; border-radius: 50%; background: var(--purple-pale); overflow: hidden; }
.success-icon-img.img-placeholder { border-radius: 50%; }
.success-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--purple-deep); }
.success-msg { font-size: 0.83rem; color: var(--text-soft); font-weight: 400; }

/* ── FOOTER ── */
footer { background: var(--text-dark); padding: 4rem 0 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 2rem; }
.footer-logo-name { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: white; margin-bottom: 0.3rem; }
.footer-logo-tag { font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--purple-light); margin-bottom: 1rem; font-weight: 600; }
.footer-desc { font-size: 0.8rem; line-height: 1.75; color: rgba(255,255,255,0.45); max-width: 280px; }
.footer-col-title { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: white; margin-bottom: 1.2rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; font-weight: 400; }
.footer-links a:hover { color: var(--purple-light); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; font-size: 0.72rem; color: rgba(255,255,255,0.28); }
.footer-social { display: flex; gap: 0.7rem; }
.social-btn { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: background 0.2s, color 0.2s, border-color 0.2s; font-weight: 700; }
.social-btn:hover { background: var(--purple); color: white; border-color: var(--purple); }

/* ── NAV ACTIONS — always applies ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;   
  gap: 6px;
  background: none;
  border: none;
  padding: 6px 8px;          
  cursor: pointer;
  color: var(--text-mid);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.cart-icon {
  width: 22px;               
  height: 22px;
  stroke: var(--text-mid);
  flex-shrink: 0;            
  transition: 0.2s ease;
}

.cart-btn:hover { color: var(--purple); }
.cart-btn:hover .cart-icon {
  stroke: var(--purple);
  transform: translateY(-1px);
}

.cart-text { font-weight: 500; }

.cart-count {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--pink);
  color: white;
  font-size: 0.55rem;
  padding: 2px 5px;
  border-radius: 100px;
  font-weight: 600;
  line-height: 1;            
}

/* ── MOBILE OVERRIDES ── */
@media (max-width: 900px) {
  .cart-text { display: none; }  
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-logo-tagline { display: none; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 3rem 1.5rem 2rem; }
  .hero-visual { padding: 0 2rem 4rem; min-height: auto; }
  .product-circle { width: 240px; height: 240px; }
  .hero-product-img { width: 175px; height: 175px; }
  .badge-1, .badge-2 { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-blob { padding-bottom: 70%; }

  .benefits-grid { grid-template-columns: 1fr 1fr; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }

  .modal { grid-template-columns: 1fr; max-height: 88vh; overflow-y: auto; }
  .modal-img-wrap { min-height: 220px; }
  .modal-img-wrap.img-placeholder { min-height: 220px; }
  .modal-info-side { padding: 1.5rem; max-height: none; }

  .reviews-grid { grid-template-columns: 1fr; }
  .inquire-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-body { padding: 1.5rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .hero-stats { gap: 1.2rem; }
  .reviews-summary { gap: 2rem; }  
}

@media (max-width: 520px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .section-wrap { padding: 0 1.2rem; }
  .hero-content { padding: 2.5rem 1.2rem 1.5rem; }
}

/* Make all links match paragraph text styling */
a {
  color: inherit;           /* Takes the color of the surrounding text */
  text-decoration: none;    /* Removes the default underline */
  font-family: 'DM Sans', sans-serif; /* Matches your body/p font */
  font-size: inherit;       /* Matches the size of the parent text */
  line-height: inherit;
  font-weight: 400;         /* Standard weight for paragraphs */
  cursor: pointer;          /* Keeps the hand icon so users know it's clickable */
}

/* Optional: Add a subtle hover effect so users know it's a link */
a:hover {
  opacity: 0.8;
  /* or specify a color: color: var(--purple); */
}

/* Specifically target links inside paragraphs if needed */
p a {
  display: inline;
  color: inherit;
  text-decoration: none;
}

.nav-links a {
  font-weight: 500; /* Slightly bolder than standard <p> text for readability */
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;

  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #C9A9E0;
  backdrop-filter: blur(12px);
  color: var(--purple);
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 2;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.3s ease, background 0.2s, box-shadow 0.5s;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

.back-to-top:hover {
  background: var(--purple);
  color: white;
  border-color: var(--purple);
  box-shadow: 0 8px 24px rgba(123, 79, 158, 0.25);
  transform: translateY(-2px);
}

/* shown class toggled by JS */
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ─── SIDE PANEL ─── */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%; /* Keeps it fully off-screen on all devices */
  width: 400px; /* Default desktop width */
  height: 100vh;
  background: var(--cream);
  z-index: 2001; /* Ensure it is above the Nav (2000) */
  box-shadow: -10px 0 30px rgba(45,27,66,0.15);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

/* Slide in state */
.cart-drawer.open {
  right: 0 !important;
}

/* Mobile specific: Full screen */
@media (max-width: 768px) {
    .cart-drawer {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .cart-drawer .cart-body {
        max-height: calc(100vh - 250px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .btn-checkout {
        position: sticky;
        bottom: 0;
        z-index: 10;
    }
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45,27,66,0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile responsive width */
@media (max-width: 480px) {
  .cart-drawer { width: 85%; right: -100%; }
}

  /* ─── IMPROVED CART UI ─── */
  .cart-body {
      padding: 1.5rem;
      overflow-y: auto;
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 2rem;
  }

  .cart-section-title {
      font-family: 'DM Sans', sans-serif;
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      color: var(--purple);
      margin-bottom: 1.2rem;
      border-bottom: 1px solid var(--purple-pale);
      padding-bottom: 0.5rem;
  }

  /* Product Card */
  .cart-item-card {
      display: flex;
      gap: 1rem;
      background: white;
      padding: 1rem;
      border-radius: 12px;
      border: 1px solid var(--purple-pale);
  }

  .cart-item-img {
      width: 70px;
      height: 70px;
      object-fit: cover;
      border-radius: 8px;
  }

  /* Inputs & Forms */
  .cart-input-group {
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
  }

  .cart-field {
      width: 100%;
      padding: 12px 16px;
      border: 1px solid #E2E8F0;
      border-radius: 8px;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.9rem;
      transition: border-color 0.3s;
      background: #fff;
  }

  .cart-field:focus {
      outline: none;
      border-color: var(--purple);
  }

  .cart-field-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.8rem;
  }

  /* Add a little breathing room for the switchers */
  .delivery-switcher {
      display: flex;
      background: var(--purple-pale);
      padding: 4px;
      border-radius: 10px;
      margin-bottom: 0.5rem;
  }

  .delivery-btn {
      flex: 1;
      padding: 10px;
      border: none;
      border-radius: 7px;
      background: none;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.85rem;
      font-weight: 600;
      cursor: pointer;
      transition: 0.3s;
  }

  /* This ensures both Delivery and Payment buttons highlight correctly */
  .delivery-btn.active {
      background: white !important;
      color: var(--purple) !important;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      font-weight: 600;
  }
  
  /* Payment Cards */
  .payment-selection {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
  }

  .payment-label {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px;
      border: 1px solid var(--purple-pale);
      border-radius: 8px;
      cursor: pointer;
  }

  .payment-label input { accent-color: var(--purple); }
  
  .menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 198;
}

.menu-overlay.open {
  display: block;
}

/* ── STAR RATING ── */
.star-item {
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.15s, transform 0.15s;
    user-select: none;
}

.star-item:hover {
    transform: scale(1.2);
}

.star-item.active {
    color: #F5C842 !important;
}

.star-item.hover {
    color: #F5C842 !important;
}

/* ── REVIEWS CAROUSEL ── */
.reviews-grid {
    display: block !important; /* Override grid for carousel */
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}

.reviews-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reviews-track .review-card {
    min-width: calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
    flex-shrink: 0;
}

.review-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.review-arrow:hover {
    background: var(--purple) !important;
    color: white !important;
    border-color: var(--purple) !important;
}

.review-nav-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.review-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-dot.active {
    background: var(--purple) !important;
    width: 24px;
    border-radius: 5px;
}

/* Mobile: 1 card */
@media (max-width: 900px) {
    .reviews-carousel {
        padding: 0 30px;
    }
    .reviews-track .review-card {
        min-width: calc(100% - 1rem) !important;
        max-width: calc(100% - 1rem) !important;
    }
}

/* Tablet: 2 cards */
@media (min-width: 768px) and (max-width: 1023px) {
    .reviews-track .review-card {
        min-width: calc(50% - 0.75rem) !important;
        max-width: calc(50% - 0.75rem) !important;
    }
}

@media (max-width: 520px) {
    .review-arrow {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
    }
}

/* ── ABOUT CAROUSEL ── */
.card {
    overflow: hidden;
    border-radius: 24px;
    height: fit-content;
    max-height: 100%;
}

.auto-carousel-frame {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 9 / 16;
    height: 600px;
}

.auto-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease;
}

.auto-carousel-track img {
    min-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 901px) {
    .auto-carousel-frame {
    }
}

@media (max-width: 900px) {
    .auto-carousel-frame {
        aspect-ratio: 9 / 16;
    }
}

.gallery-card-badge.sale-badge {
    background: #E53935;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-size: 1.2rem;
    padding: 0.5rem 1.5rem;
    letter-spacing: 0.15em;
    opacity: 0.9;
}

.starburst-sale {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 5;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.starburst-sale span {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.7rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 2;
    transform: rotate(15deg);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Four rotated squares for extra spikes */
.starburst-sale::before,
.starburst-sale::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--purple);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.starburst-sale::before {
    transform: translate(-50%, -50%) rotate(20deg);
}
.starburst-sale::after {
    transform: translate(-50%, -50%) rotate(-20deg);
}

/* Extra spikes via additional pseudo-elements (use an inner container if needed) */
.starburst-sale .spike1,
.starburst-sale .spike2 {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--purple);
    transform: rotate(45deg);
}