﻿/* ======================================
   GURU TOYS — Main Stylesheet
   ====================================== */

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

:root {
  --pink:       #f97316;
  --pink-light: #fff7ed;
  --pink-dark:  #ea6c0a;
  --gold:       #fbbf24;
  --green:      #4caf50;
  --text-dark:  #1a1a2e;
  --text-mid:   #444;
  --text-light: #777;
  --white:      #ffffff;
  --bg-light:   #fafafa;
  --shadow:     0 4px 24px rgba(0,0,0,0.10);
  --shadow-hover: 0 8px 32px rgba(249,115,22,0.18);
  --radius:     14px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 10px; }

/* ===== TOPBAR ===== */
.topbar {
  background: linear-gradient(90deg, #1a1a2e 0%, #ea6c0a 100%);
  color: #fff;
  text-align: center;
  padding: 8px 20px;
  font-size: 0.82rem;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.topbar span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== HEADER ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 2.2rem;
  color: var(--pink);
  background: var(--pink-light);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.logo-text p {
  font-size: 0.72rem;
  color: var(--pink);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* NAV */
.navbar ul {
  display: flex;
  list-style: none;
  gap: 6px;
}

.navbar ul li a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 30px;
  transition: var(--transition);
}

.navbar ul li a:hover,
.navbar ul li a.active {
  background: var(--pink-light);
  color: var(--pink);
}

/* HEADER ICONS */
.header-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--text-mid);
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 50%;
  transition: var(--transition);
  position: relative;
}

.icon-btn:hover {
  background: var(--pink-light);
  color: var(--pink);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--pink);
  color: #fff;
  font-size: 0.6rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-dark);
  padding: 8px;
}

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  overflow: hidden;
  height: 92vh;
  min-height: 520px;
  max-height: 780px;
}

.slider {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Each slide */
.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background image layer */
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.08);
  transition: transform 8s ease;
  will-change: transform;
}

.slide.active .slide-bg {
  transform: scale(1);
}

/* Dark gradient overlay */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26, 10, 30, 0.78) 0%,
    rgba(26, 10, 30, 0.45) 55%,
    rgba(0, 0, 0, 0.10) 100%
  );
  z-index: 1;
}

/* Content */
.slide-content {
  position: relative;
  z-index: 2;
  padding: 0 8% 0 8%;
  max-width: 620px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
}

.slide.active .slide-content {
  opacity: 1;
  transform: translateY(0);
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(233, 30, 99, 0.22);
  border: 1px solid rgba(233, 30, 99, 0.55);
  color: #ffb3cc;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.slide-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  animation: tagDot 1.5s infinite;
}

@keyframes tagDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.slide-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.slide-content h2 span {
  color: #f9a8c9;
  display: block;
}

.slide-content p {
  font-size: clamp(0.88rem, 1.5vw, 1.05rem);
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 32px;
  line-height: 1.8;
  max-width: 440px;
}

.slide-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Outline white button for slides */
.btn-outline-light {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.55);
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* Scroll indicator */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.04));
  pointer-events: none;
  z-index: 2;
}

/* SLIDER CONTROLS */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  color: #fff;
}

.slider-btn:hover {
  background: var(--pink);
  border-color: var(--pink);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 20px rgba(249,115,22,0.4);
}

.prev { left: 24px; }
.next { right: 24px; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid rgba(255,255,255,0.4);
}

.dot.active {
  background: #fff;
  width: 28px;
  border-radius: 4px;
  border-color: #fff;
}
  cursor: pointer;
/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid var(--pink);
}

.btn-primary:hover {
  background: var(--pink-dark);
  border-color: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.35);
}

.btn-primary.green  { background: #388e3c; border-color: #388e3c; }
.btn-primary.green:hover { background: #2e7d32; border-color: #2e7d32; }
.btn-primary.gold   { background: #e65100; border-color: #e65100; }
.btn-primary.gold:hover  { background: #bf360c; border-color: #bf360c; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--pink);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--pink);
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--pink);
  color: #fff;
}

.btn-outline.green { color: #388e3c; border-color: #388e3c; }
.btn-outline.green:hover { background: #388e3c; color: #fff; }
.btn-outline.gold  { color: #e65100; border-color: #e65100; }
.btn-outline.gold:hover  { background: #e65100; color: #fff; }

/* ===== FEATURES STRIP ===== */
.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: var(--text-dark);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 36px;
  color: #fff;
  flex: 1;
  min-width: 200px;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.feature-item:last-child { border-right: none; }

.feature-item:hover { background: rgba(249,115,22,0.2); }

.feature-item .fa {
  font-size: 1.6rem;
  color: var(--pink);
}

.feature-item h4 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.feature-item p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-tag {
  display: inline-block;
  background: var(--pink-light);
  color: var(--pink);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.section-header p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ===== CATEGORIES ===== */
.categories {
  padding: 70px 60px;
  background: var(--bg-light);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.category-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 2px solid transparent;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--pink);
}

.cat-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 12px;
  transition: var(--transition);
}

.category-card:hover .cat-icon {
  transform: scale(1.1);
}

.category-card span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ===== OFFER BANNER ===== */
.offer-banner {
  background: linear-gradient(135deg, #ea6c0a 0%, #1a1a2e 60%, #f97316 100%);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.offer-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.offer-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -5%;
  width: 250px;
  height: 250px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.offer-content {
  position: relative;
  z-index: 2;
}

.offer-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.offer-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 12px;
}

.highlight {
  color: #ffcc02;
}

.offer-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  margin-bottom: 24px;
}

.code {
  background: rgba(255,255,255,0.2);
  padding: 2px 12px;
  border-radius: 6px;
  font-size: 1rem;
  letter-spacing: 2px;
}

/* ===== PRODUCTS ===== */
.products {
  padding: 70px 60px;
  background: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  transition: var(--transition);
  border: 1.5px solid #f0f0f0;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--pink-light);
}

.product-image {
  height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Product dummy models */
.product-dummy {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0;
}

.pd-model {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pd-head {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f5cba7;
  border: 3px solid rgba(255,255,255,0.7);
  z-index: 2;
  margin-bottom: -2px;
  position: relative;
}

.pd-head::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 6px;
  width: 30px;
  height: 14px;
  background: #3d2b1f;
  border-radius: 50% 50% 0 0;
}

/* SAREE */
.pd-saree {
  width: 88px;
  min-height: 190px;
  background: linear-gradient(160deg, #f97316, #ea6c0a, #fdba74);
  border-radius: 20px 20px 40px 40px;
  position: relative;
  overflow: hidden;
}

.pd-pallu {
  position: absolute;
  top: 10px;
  right: -10px;
  width: 36px;
  height: 120px;
  background: linear-gradient(180deg, rgba(255,255,255,0.35), transparent);
  transform: rotate(12deg);
  border-radius: 6px;
}

/* SUIT */
.pd-suit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pd-kameez {
  width: 84px;
  height: 120px;
  background: linear-gradient(180deg, #388e3c, #a5d6a7);
  border-radius: 14px 14px 0 0;
  position: relative;
}

.pd-kameez::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: rgba(255,255,255,0.4);
}

.pd-pant {
  width: 80px;
  height: 80px;
  background: linear-gradient(180deg, #2e7d32, #81c784);
  border-radius: 0 0 20px 20px;
}

/* LEHENGA */
.pd-lehenga {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pd-choli {
  width: 70px;
  height: 60px;
  background: linear-gradient(180deg, #e65100, #ff9800);
  border-radius: 10px 10px 0 0;
}

.pd-skirt {
  width: 110px;
  height: 140px;
  background: linear-gradient(180deg, #ff9800, #ffcc02);
  border-radius: 0 0 55px 55px;
  clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
  position: relative;
  overflow: hidden;
}

.pd-skirt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.4);
  box-shadow: 0 16px 0 rgba(255,255,255,0.25), 0 32px 0 rgba(255,255,255,0.2), 0 48px 0 rgba(255,255,255,0.15);
}

/* KURTA */
.pd-kurta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pd-top {
  width: 82px;
  height: 130px;
  background: linear-gradient(180deg, #7b1fa2, #ce93d8);
  border-radius: 14px 14px 0 0;
  position: relative;
  overflow: hidden;
}

.pd-top::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 6px;
  right: 6px;
  bottom: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 6px, rgba(255,255,255,0.12) 6px, rgba(255,255,255,0.12) 7px);
}

.pd-bottom {
  width: 78px;
  height: 70px;
  background: linear-gradient(180deg, #6a1b9a, #ab47bc);
  border-radius: 0 0 18px 18px;
}

/* PRODUCT BADGE */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 3;
}

.product-badge.new      { background: #1a1a2e; color: #fff; }
.product-badge.trending { background: var(--pink); color: #fff; }
.product-badge.hot      { background: #e65100; color: #fff; }

/* PRODUCT OVERLAY */
.product-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  z-index: 3;
}

.product-card:hover .product-overlay {
  opacity: 1;
  transform: translateX(0);
}

.overlay-btn {
  width: 36px;
  height: 36px;
  background: #fff;
  border: none;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--text-mid);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.overlay-btn:hover {
  background: var(--pink);
  color: #fff;
  transform: scale(1.1);
}

/* PRODUCT INFO */
.product-info {
  padding: 18px;
}

.product-category {
  font-size: 0.72rem;
  color: var(--pink);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-info h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin: 4px 0 8px;
  color: var(--text-dark);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 10px;
}

.product-rating .fa {
  font-size: 0.75rem;
  color: #f59e0b;
}

.product-rating span {
  font-size: 0.74rem;
  color: var(--text-light);
  margin-left: 4px;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.current-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pink);
}

.original-price {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.discount {
  font-size: 0.72rem;
  background: #e8f5e9;
  color: #388e3c;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
}

.add-to-cart {
  width: 100%;
  padding: 10px;
  background: var(--pink);
  color: #fff;
  border: 2px solid var(--pink);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.add-to-cart:hover {
  background: var(--pink-dark);
  border-color: var(--pink-dark);
  transform: translateY(-1px);
}

.add-to-cart.added {
  background: #388e3c;
  border-color: #388e3c;
}

.view-all-wrap {
  text-align: center;
  margin-top: 40px;
}

.btn-outline-pink {
  display: inline-block;
  padding: 13px 32px;
  border: 2px solid var(--pink);
  color: var(--pink);
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline-pink:hover {
  background: var(--pink);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 70px 60px;
  background: var(--bg-light);
}

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

.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: var(--transition);
  border: 1.5px solid transparent;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--pink-light);
  box-shadow: var(--shadow-hover);
}

.testimonial-card .stars {
  color: #f59e0b;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.testimonial-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
}

.reviewer strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.reviewer span {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ===== NEWSLETTER ===== */
.newsletter {
  background: linear-gradient(135deg, #fff7ed 0%, #fff3e0 100%);
  padding: 70px 40px;
  text-align: center;
}

.newsletter-icon {
  font-size: 2.8rem;
  color: var(--pink);
  margin-bottom: 18px;
}

.newsletter h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.newsletter p {
  font-size: 0.94rem;
  color: var(--text-mid);
  margin-bottom: 26px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(249,115,22,0.18);
}

.newsletter-form input {
  flex: 1;
  padding: 14px 22px;
  border: none;
  outline: none;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
}

.newsletter-form button {
  padding: 14px 26px;
  background: var(--pink);
  color: #fff;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.newsletter-form button:hover {
  background: var(--pink-dark);
}

/* ===== FOOTER ===== */
.footer {
  background: #0f0f1e;
  color: rgba(255,255,255,0.85);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 60px 60px 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo .logo-icon {
  font-size: 1.8rem;
  color: var(--pink);
  background: rgba(249,115,22,0.15);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #fff;
}

.footer-logo p {
  font-size: 0.7rem;
  color: var(--pink);
  letter-spacing: 1px;
}

.footer-desc {
  font-size: 0.84rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--pink);
  color: #fff;
  transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--pink);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--pink);
  padding-left: 4px;
}

.footer-links ul li a .fa {
  font-size: 0.6rem;
  color: var(--pink);
}

.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-contact ul li .fa {
  color: var(--pink);
  margin-top: 3px;
  flex-shrink: 0;
}

.payment-icons {
  margin-top: 20px;
}

.payment-icons span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 8px;
}

.pay-methods {
  display: flex;
  gap: 12px;
  font-size: 1.7rem;
  color: rgba(255,255,255,0.5);
}

.pay-methods .fa:hover {
  color: #fff;
}

/* FOOTER BOTTOM */
.footer-bottom {
  background: rgba(0,0,0,0.3);
  text-align: center;
  padding: 16px 40px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom strong {
  color: var(--pink);
}

/* ===== CART TOAST ===== */
.cart-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #1a1a2e;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.4s ease;
}

.cart-toast .fa {
  color: #4caf50;
  font-size: 1rem;
}

.cart-toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--pink);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(249,115,22,0.35);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--pink-dark);
  transform: translateY(-3px);
}

/* ===========================
   RESPONSIVE — TABLET
   =========================== */
@media (max-width: 1100px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-top    { grid-template-columns: 1fr 1fr; gap: 30px; }
  .slide { padding: 40px 40px; }
  .slide-content h2 { font-size: 2.2rem; }
}

@media (max-width: 900px) {
  .header { padding: 12px 20px; }
  .navbar { display: none; }
  .navbar.open {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #fff;
    z-index: 9000;
    padding: 80px 30px;
  }
  .navbar.open ul {
    flex-direction: column;
    gap: 8px;
  }
  .navbar.open ul li a {
    font-size: 1.1rem;
    padding: 12px 20px;
    display: block;
    border-radius: 10px;
  }
  .hamburger { display: flex; }
  .hero { height: 70vh; min-height: 400px; }
  .slide-content { padding: 0 5%; }
  .slide-content h2 { font-size: 2rem; }
  .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .topbar { display: none; }
  .categories { padding: 50px 20px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .products { padding: 50px 20px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .features { flex-direction: column; }
  .feature-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .newsletter-form { flex-direction: column; border-radius: 14px; }
  .newsletter-form button { border-radius: 0; }
  .footer-top { grid-template-columns: 1fr; padding: 40px 20px; }
  .testimonials { padding: 50px 20px; }
  .offer-banner h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-text h1 { font-size: 1.1rem; }
}

/* ======================================
   SEARCH OVERLAY
   ====================================== */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.search-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 30, 0.65);
  backdrop-filter: blur(4px);
  z-index: -1;
}

/* The white card */
.search-box {
  background: #fff;
  width: 100%;
  max-width: 660px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  overflow: hidden;
  transform: translateY(-18px);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.search-overlay.open .search-box {
  transform: translateY(0);
}

/* Input row */
.search-input-wrap {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1.5px solid #f0f0f0;
  gap: 12px;
}

.search-icon-inside {
  color: var(--pink);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.search-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
  background: transparent;
}

.search-input-wrap input::placeholder {
  color: #bbb;
}

.search-clear {
  background: #f5f5f5;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  color: #888;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}

.search-clear.visible {
  opacity: 1;
  pointer-events: all;
}

.search-clear:hover {
  background: var(--pink);
  color: #fff;
}

/* Results area */
.search-results {
  overflow-y: auto;
  max-height: calc(80vh - 72px);
  padding: 8px 0;
}

.search-empty,
.search-no-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #bbb;
  gap: 10px;
}

.search-empty .fa,
.search-no-result .fa {
  font-size: 2.2rem;
}

.search-empty p,
.search-no-result p {
  font-size: 0.88rem;
  color: #aaa;
}

/* Individual result item */
.search-result-list {
  padding: 6px 12px;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid #fafafa;
  text-decoration: none;
  color: inherit;
}

.result-item:hover,
.result-item.focused {
  background: var(--pink-light);
}

.result-thumb {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.85);
}

.result-info {
  flex: 1;
  min-width: 0;
}

.result-name {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.result-name mark {
  background: #fff7ed;
  color: var(--pink);
  border-radius: 3px;
  padding: 0 2px;
}

.result-cat {
  font-size: 0.74rem;
  color: var(--text-light);
  margin-top: 2px;
}

.result-price-wrap {
  text-align: right;
  flex-shrink: 0;
}

.result-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pink);
  display: block;
}

.result-original {
  font-size: 0.75rem;
  color: #bbb;
  text-decoration: line-through;
  display: block;
}

/* "View all results" footer inside results */
.search-view-all {
  display: block;
  text-align: center;
  padding: 12px;
  font-size: 0.84rem;
  color: var(--pink);
  font-weight: 600;
  cursor: pointer;
  border-top: 1px solid #f5f5f5;
  margin-top: 4px;
  transition: var(--transition);
}

.search-view-all:hover {
  background: var(--pink-light);
  border-radius: 0 0 18px 18px;
}

/* Active search icon state */
#searchToggleBtn.active {
  background: var(--pink-light);
  color: var(--pink);
}

/* highlight on product card when jumped to */
.product-card.search-highlight {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  animation: highlightPulse 1.4s ease forwards;
}

@keyframes highlightPulse {
  0%   { outline-color: var(--pink); box-shadow: 0 0 0 0 rgba(249,115,22,0.4); }
  50%  { box-shadow: 0 0 0 10px rgba(249,115,22,0); }
  100% { outline-color: transparent; }
}

/* Responsive */
@media (max-width: 700px) {
  .search-overlay { padding-top: 60px; align-items: stretch; padding-left: 12px; padding-right: 12px; }
  .search-box { max-width: 100%; border-radius: 14px; }
}

/* ======================================
   PRODUCT DETAIL MODAL
   ====================================== */

.pd-modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pd-modal-wrap.open {
  opacity: 1;
  pointer-events: all;
}

.pd-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 30, 0.72);
  backdrop-filter: blur(5px);
}

/* The modal card */
.pd-modal {
  position: relative;
  background: #fff;
  border-radius: 22px;
  width: 100%;
  max-width: 960px;
  max-height: 92vh;
  display: grid;
  grid-template-columns: 380px 1fr;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
  transform: translateY(40px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.pd-modal-wrap.open .pd-modal {
  transform: translateY(0) scale(1);
}

/* Close button */
.pd-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  transition: var(--transition);
}

.pd-close:hover {
  background: var(--pink);
  color: #fff;
  transform: rotate(90deg);
}

/* ── LEFT panel (image) ── */
.pd-left {
  background: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  gap: 20px;
  position: relative;
  border-right: 1px solid #f0f0f0;
  overflow: hidden;
}

.pd-main-visual {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3/4;
  border-radius: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Floating badge on detail visual */
.pd-visual-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #1a1a2e;
  color: #fff;
  letter-spacing: 0.5px;
}

/* Thumbnail strip */
.pd-thumbs {
  display: flex;
  gap: 10px;
}

.pd-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  opacity: 0.7;
}

.pd-thumb:hover,
.pd-thumb.active {
  border-color: var(--pink);
  opacity: 1;
  transform: translateY(-3px);
}

/* Offer pill on left */
.pd-offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(90deg, #f97316, #ea6c0a);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 30px;
}

/* ── RIGHT panel (info) ── */
.pd-right {
  padding: 28px 30px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  scroll-behavior: smooth;
}

/* Scrollbar inside modal */
.pd-right::-webkit-scrollbar { width: 5px; }
.pd-right::-webkit-scrollbar-thumb { background: #f0c0cc; border-radius: 4px; }

/* Breadcrumb */
.pd-breadcrumb {
  font-size: 0.74rem;
  color: var(--text-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pd-breadcrumb span { color: var(--pink); font-weight: 600; }
.pd-breadcrumb i { font-size: 0.6rem; color: #ccc; }

/* Title */
.pd-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 10px;
}

/* Rating row */
.pd-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.pd-rating-row .stars { color: #f59e0b; font-size: 0.85rem; display: flex; gap: 2px; }
.pd-rating-row .rating-num { font-size: 0.85rem; font-weight: 700; color: var(--text-dark); }
.pd-rating-row .review-count { font-size: 0.78rem; color: var(--text-light); }
.pd-rating-row .sold-badge {
  background: #e8f5e9;
  color: #388e3c;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 20px;
  margin-left: 4px;
}

/* Price row */
.pd-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.pd-price-row .cp {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pink);
  line-height: 1;
}

.pd-price-row .op {
  font-size: 1rem;
  color: #aaa;
  text-decoration: line-through;
}

.pd-price-row .dp {
  background: #fff7ed;
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.pd-price-row .save-text {
  font-size: 0.78rem;
  color: #388e3c;
  font-weight: 500;
}

/* Short desc */
.pd-short-desc {
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f5f5f5;
}

/* Sections (color, size, qty) */
.pd-section {
  margin-bottom: 16px;
}

.pd-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pd-selected-label {
  font-weight: 500;
  color: var(--pink);
}

/* Colors */
.pd-colors {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pd-color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.pd-color-swatch:hover,
.pd-color-swatch.active {
  border-color: var(--text-dark);
  transform: scale(1.15);
}

/* Sizes */
.pd-sizes {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.pd-size-btn {
  min-width: 44px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-dark);
  transition: var(--transition);
}

.pd-size-btn:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.pd-size-btn.active {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

.pd-size-btn.out-of-stock {
  opacity: 0.38;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Size guide toggle */
.pd-size-guide {
  margin-left: auto;
  background: none;
  border: 1px dashed var(--pink);
  color: var(--pink);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.pd-size-guide:hover { background: var(--pink-light); }

/* Size guide table */
.pd-size-guide-table {
  margin-top: 12px;
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #f0f0f0;
}

.pd-size-guide-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.pd-size-guide-table th {
  background: var(--pink-light);
  color: var(--pink);
  padding: 8px 10px;
  text-align: center;
  font-weight: 600;
}

.pd-size-guide-table td {
  padding: 7px 10px;
  text-align: center;
  color: var(--text-mid);
  border-bottom: 1px solid #fafafa;
}

.pd-size-guide-table tr:last-child td { border-bottom: none; }
.pd-size-guide-table tr:nth-child(even) td { background: #fafafa; }

/* Quantity */
.pd-qty-row {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  width: fit-content;
}

.pd-qty-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: #f8f8f8;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--text-dark);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-qty-btn:hover { background: var(--pink-light); color: var(--pink); }

.pd-qty-val {
  min-width: 44px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  border-left: 1.5px solid #e0e0e0;
  border-right: 1.5px solid #e0e0e0;
  line-height: 38px;
}

/* CTA row */
.pd-cta-row {
  display: flex;
  gap: 10px;
  margin: 18px 0;
}

.pd-btn-cart {
  flex: 1;
  padding: 13px 20px;
  background: var(--pink);
  color: #fff;
  border: 2px solid var(--pink);
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

.pd-btn-cart:hover {
  background: var(--pink-dark);
  border-color: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.3);
}

.pd-btn-cart.added {
  background: #388e3c;
  border-color: #388e3c;
}

.pd-btn-wish {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  background: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  color: #aaa;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.pd-btn-wish:hover,
.pd-btn-wish.wished {
  background: #fff7ed;
  border-color: var(--pink);
  color: var(--pink);
}

/* Delivery info box */
.pd-delivery-box {
  background: #fafafa;
  border-radius: 14px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
  border: 1px solid #f0f0f0;
}

.pd-delivery-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pd-delivery-item .fa {
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.pd-delivery-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1px;
}

.pd-delivery-item span {
  font-size: 0.73rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* Tabs */
.pd-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 16px;
}

.pd-tab {
  padding: 9px 18px;
  border: none;
  background: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}

.pd-tab:hover { color: var(--pink); }

.pd-tab.active {
  color: var(--pink);
  border-bottom-color: var(--pink);
}

/* Tab content */
.pd-tab-content {
  font-size: 0.84rem;
  color: var(--text-mid);
  line-height: 1.85;
  padding-bottom: 10px;
}

.pd-tab-content ul {
  padding-left: 18px;
  margin-top: 6px;
}

.pd-tab-content ul li { margin-bottom: 5px; }

.pd-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin-top: 6px;
}

.pd-detail-row {
  display: flex;
  gap: 8px;
  font-size: 0.8rem;
  padding: 7px 10px;
  background: #fafafa;
  border-radius: 8px;
}

.pd-detail-row .dk {
  color: var(--text-light);
  min-width: 80px;
  flex-shrink: 0;
}

.pd-detail-row .dv {
  color: var(--text-dark);
  font-weight: 600;
}

/* Reviews list */
.pd-review-item {
  padding: 14px 0;
  border-bottom: 1px solid #f5f5f5;
}

.pd-review-item:last-child { border-bottom: none; }

.pd-review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.pd-reviewer-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.pd-review-meta strong { display: block; font-size: 0.82rem; color: var(--text-dark); }
.pd-review-meta .rd { font-size: 0.72rem; color: var(--text-light); }
.pd-review-stars { margin-left: auto; color: #f59e0b; font-size: 0.75rem; display: flex; gap: 2px; }
.pd-review-text { font-size: 0.82rem; color: var(--text-mid); line-height: 1.7; }
.pd-review-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: #388e3c;
  margin-top: 4px;
}

/* Product card cursor */
.product-card { cursor: pointer; }

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  .pd-modal {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    max-height: 96vh;
    border-radius: 18px 18px 0 0;
    align-self: flex-end;
    transform: translateY(100%);
  }

  .pd-modal-wrap.open .pd-modal {
    transform: translateY(0);
  }

  .pd-modal-wrap {
    align-items: flex-end;
    padding: 0;
  }

  .pd-left {
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 20px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
  }

  .pd-main-visual {
    width: 110px;
    max-width: 110px;
    aspect-ratio: 3/4;
  }

  .pd-thumbs { flex-direction: row; flex-wrap: wrap; }

  .pd-right { padding: 20px 18px; }

  .pd-title { font-size: 1.25rem; }

  .pd-delivery-box { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 480px) {
  .pd-detail-grid { grid-template-columns: 1fr; }
}

/* ======================================
   CART DRAWER
   ====================================== */

/* Backdrop */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 30, 0.55);
  backdrop-filter: blur(3px);
  z-index: 11000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

/* Drawer panel */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 12000;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.18);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.open {
  transform: translateX(0);
}

/* ── Header ── */
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1.5px solid #f0f0f0;
  flex-shrink: 0;
}

.cart-drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
}

.cart-drawer-title .fa {
  color: var(--pink);
  font-size: 1.1rem;
}

.cart-drawer-count {
  background: var(--pink);
  color: #fff;
  font-size: 0.72rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.cart-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f5f5f5;
  color: var(--text-mid);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cart-drawer-close:hover {
  background: var(--pink);
  color: #fff;
  transform: rotate(90deg);
}

/* ── Free delivery progress bar ── */
.cart-free-delivery {
  padding: 12px 22px;
  background: #fdf8fb;
  border-bottom: 1px solid #f5e8ed;
  flex-shrink: 0;
}

.cfd-text {
  font-size: 0.78rem;
  color: var(--text-mid);
  margin-bottom: 7px;
  font-weight: 500;
}

.cfd-text strong { color: var(--pink); }
.cfd-text .fa { color: var(--pink); margin-right: 4px; }

.cfd-bar-track {
  height: 6px;
  background: #f0e0e8;
  border-radius: 3px;
  overflow: hidden;
}

.cfd-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pink), #ff6090);
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* ── Items wrap ── */
.cart-items-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 10px 0;
}

.cart-items-wrap::-webkit-scrollbar { width: 4px; }
.cart-items-wrap::-webkit-scrollbar-thumb { background: #f0c0cc; border-radius: 2px; }

/* ── Single cart item ── */
.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 22px;
  border-bottom: 1px solid #fafafa;
  transition: background 0.2s;
  animation: slideInItem 0.25s ease;
}

@keyframes slideInItem {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.cart-item:hover { background: #fdf8fb; }

/* Product image */
.ci-image {
  width: 72px;
  height: 86px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid #f0f0f0;
  background: #fafafa;
}

.ci-image-fallback {
  width: 72px;
  height: 86px;
  border-radius: 10px;
  background: #fff7ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

/* Item info */
.ci-info {
  flex: 1;
  min-width: 0;
}

.ci-category {
  font-size: 0.68rem;
  color: var(--pink);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.ci-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 2px 0 5px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ci-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.ci-tag {
  background: #f5f5f5;
  color: var(--text-mid);
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 500;
}

/* Qty controls inline */
.ci-qty-row {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
}

.ci-qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: #f8f8f8;
  font-size: 0.7rem;
  cursor: pointer;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.ci-qty-btn:hover { background: var(--pink-light); color: var(--pink); }

.ci-qty-val {
  min-width: 32px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  border-left: 1.5px solid #e8e8e8;
  border-right: 1.5px solid #e8e8e8;
  line-height: 28px;
}

/* Price + remove */
.ci-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.ci-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pink);
}

.ci-original {
  font-size: 0.72rem;
  color: #bbb;
  text-decoration: line-through;
}

.ci-remove {
  background: none;
  border: none;
  color: #ccc;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 4px;
  transition: var(--transition);
  border-radius: 4px;
}

.ci-remove:hover { color: #e53935; background: #ffeaea; }

/* Stock warning inside item */
.ci-stock-warn {
  font-size: 0.68rem;
  color: #e65100;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Empty state ── */
.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 20px;
  text-align: center;
}

.cart-empty .fa {
  font-size: 3.5rem;
  color: #f0c0cc;
}

.cart-empty p {
  font-size: 1rem;
  color: var(--text-light);
  font-family: 'Playfair Display', serif;
}

/* ── Footer ── */
.cart-drawer-footer {
  padding: 16px 22px 24px;
  border-top: 1.5px solid #f0f0f0;
  flex-shrink: 0;
  background: #fff;
}

.cart-price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.cpb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: var(--text-mid);
}

.cpb-row.saving { color: #388e3c; font-weight: 500; }
.cpb-row.total  { font-size: 1rem; font-weight: 700; color: var(--text-dark); }

.cpb-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 4px 0;
}

.free-tag { color: #388e3c; font-weight: 700; }

.cart-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: var(--pink);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 10px;
}

.cart-checkout-btn:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.3);
}

.cart-clear-btn {
  width: 100%;
  padding: 9px;
  background: none;
  border: 1.5px solid #eee;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cart-clear-btn:hover {
  border-color: #e53935;
  color: #e53935;
  background: #ffeaea;
}

/* Disable checkout btn when empty */
.cart-checkout-btn.disabled {
  background: #ccc;
  pointer-events: none;
  box-shadow: none;
}

@media (max-width: 480px) {
  .cart-drawer { width: 100vw; }
}

/* ======================================
   PAGE LOADER
   ====================================== */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0f0f1e;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ── Background fabric grid pattern ── */
.loader-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(233,30,99,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233,30,99,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: patternDrift 12s linear infinite;
}

@keyframes patternDrift {
  from { background-position: 0 0; }
  to   { background-position: 40px 40px; }
}

/* ── Floating petals ── */
.loader-petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.petal {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50% 0 50% 0;
  opacity: 0;
  animation: petalFloat 6s ease-in-out infinite;
}

.p1 { background: #f97316; top: 20%; left: 10%;  animation-delay: 0s;    animation-duration: 7s;  width:8px;  height:8px;  }
.p2 { background: #fdba74; top: 60%; left: 5%;   animation-delay: 1.2s;  animation-duration: 9s;  width:12px; height:12px; }
.p3 { background: #ea6c0a; top: 30%; right: 12%; animation-delay: 0.5s;  animation-duration: 8s;  width:7px;  height:7px;  }
.p4 { background: #fdba74; top: 70%; right: 8%;  animation-delay: 2s;    animation-duration: 10s; width:10px; height:10px; }
.p5 { background: #f97316; top: 80%; left: 25%;  animation-delay: 0.8s;  animation-duration: 7.5s; width:6px; height:6px;  }
.p6 { background: #ad1457; top: 15%; right: 30%; animation-delay: 1.6s;  animation-duration: 9.5s; width:9px; height:9px;  }

@keyframes petalFloat {
  0%   { transform: translateY(0)   rotate(0deg)   scale(0); opacity: 0; }
  20%  { opacity: 0.7; transform: translateY(-30px) rotate(45deg)  scale(1); }
  80%  { opacity: 0.4; transform: translateY(-90px) rotate(180deg) scale(0.8); }
  100% { transform: translateY(-140px) rotate(260deg) scale(0); opacity: 0; }
}

/* ── Center card ── */
.loader-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  animation: cardReveal 0.6s cubic-bezier(0.4,0,0.2,1) both;
}

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

/* ── Logo ring ── */
.loader-logo-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ring {
  position: absolute;
  inset: 0;
  width: 110px;
  height: 110px;
  transform: rotate(-90deg);
}

.ring-track {
  fill: none;
  stroke: rgba(233,30,99,.15);
  stroke-width: 3;
}

.ring-fill {
  fill: none;
  stroke: var(--pink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 339;       /* 2π × 54 */
  stroke-dashoffset: 339;
  transition: stroke-dashoffset 0.05s linear;
  filter: drop-shadow(0 0 6px rgba(233,30,99,.7));
}

/* Outer glow ring */
.loader-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    rgba(233,30,99,.12) 50%,
    transparent 100%
  );
  animation: conicSpin 3s linear infinite;
}

@keyframes conicSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.loader-logo-icon {
  position: relative;
  z-index: 2;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(233,30,99,.2), rgba(194,24,91,.3));
  border: 1.5px solid rgba(233,30,99,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  color: #fdba74;
  animation: iconPulse 2s ease-in-out infinite;
  backdrop-filter: blur(4px);
}

@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(233,30,99,.45); }
  50%       { box-shadow: 0 0 0 14px rgba(249,115,22,0); }
}

/* ── Brand name ── */
.loader-brand {
  text-align: center;
}

.loader-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lt-word {
  display: inline-block;
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  animation: wordReveal 0.55s cubic-bezier(0.4,0,0.2,1) forwards;
  animation-delay: var(--d, 0s);
}

.lt-word.accent { color: var(--pink); }

@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0); }
}

.loader-tagline {
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-top: 6px;
  opacity: 0;
  animation: taglineReveal 0.5s ease forwards 0.5s;
}

@keyframes taglineReveal {
  from { opacity: 0; letter-spacing: 5px; }
  to   { opacity: 1; letter-spacing: 2.5px; }
}

/* ── Progress bar ── */
.loader-progress-wrap {
  width: 220px;
  height: 3px;
  background: rgba(255,255,255,.1);
  border-radius: 3px;
  overflow: hidden;
}

.loader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ea6c0a, #f97316, #fdba74);
  border-radius: 3px;
  transition: width 0.12s ease;
  box-shadow: 0 0 8px rgba(233,30,99,.6);
}

.loader-percent {
  font-size: 0.72rem;
  color: rgba(255,255,255,.35);
  letter-spacing: 1px;
  font-weight: 500;
  transition: opacity 0.3s;
}

/* ── Product skeleton loading ── */
.skeleton-card { pointer-events: none; }

.skeleton-img {
  height: 260px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius) var(--radius) 0 0;
}

.skeleton-line {
  height: 12px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 6px;
  margin: 10px 0;
}

.skeleton-line.short  { width: 50%; }
.skeleton-line.medium { width: 70%; }

@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ── Category cards with image support ── */
.category-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}

.cat-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff7ed;
  margin-bottom: 10px;
  transition: var(--transition);
  position: relative;
}

.cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.category-card:hover .cat-img-wrap img {
  transform: scale(1.07);
}

.cat-fallback-icon {
  font-size: 2rem;
}

.category-card:hover .cat-img-wrap {
  box-shadow: 0 6px 20px rgba(249,115,22,0.2);
}

.category-card span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
  text-align: center;
}
