/* =============================================
   NISA BOUTIQUE — style.css
   Inspired by Bokitta.com — Clean, Minimal, Luxury Light
   ============================================= */

/* ----- CSS Variables (Bokitta-inspired palette) ----- */
:root {
  /* Primary = deep charcoal-black like Bokitta */
  --primary: #111111;
  --primary-light: #2b2b2b;
  --primary-dark: #040404;

  /* Accent = warm beige / sand (subtle elegance) */
  --accent: #b89a78;
  --accent-light: #d4b896;
  --accent-dark: #8f7358;

  /* Gold for stars only */
  --gold: #c9a227;

  /* Backgrounds — clean white palette */
  --bg: #ffffff;
  --surface: #fafafa;
  --surface-2: #fdf2f4;
  --surface-3: #f0ede8;

  /* Text — near-black like Bokitta */
  --text: #1c1d1d;
  --text-muted: #5a5a5a;
  --text-dim: #999999;

  /* Borders — soft beige like Bokitta (#e8e8e1) */
  --border: #e8e8e1;
  --border-strong: #d0cdc5;

  /* Shape */
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 4px;
  --radius-xl: 0px;

  /* Shadows — lighter for light theme */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.12);
  --shadow-gold: 0 4px 20px rgba(184,154,120,0.2);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Sans Thai', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

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

/* ----- Scrollbar ----- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--primary-light);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

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

.btn-ghost:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.82rem;
  font-weight: 700;
}

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

.full-width { width: 100%; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.logo-icon {
  color: var(--accent);
  font-size: 1.2rem;
  animation: spin-slow 8s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo-text { color: var(--text); }
.logo-accent { color: var(--accent); }

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

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 60%;
}

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

.nav-icon-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
  background: transparent;
}

.nav-icon-btn:hover {
  color: var(--primary);
  background: var(--surface-2);
}

.cart-btn {
  background: var(--primary);
  color: #fff !important;
  border-radius: 50%;
}

.cart-btn:hover {
  background: var(--primary-light);
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  background: #ff4f33;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  pointer-events: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.05);
  animation: hero-zoom 20s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.75) 0%,
    rgba(255, 255, 255, 0.5) 40%,
    rgba(255, 255, 255, 0.1) 100%
  );
}

.arabesque-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(184,154,120,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,0.04) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 80px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(17,17,17,0.06);
  border: 1px solid rgba(17,17,17,0.15);
  border-radius: var(--radius-xl);
  color: var(--primary);
  font-size: 0.75rem;
  letter-spacing: 3px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fade-up 0.8s ease both;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text);
  animation: fade-up 0.8s 0.15s ease both;
}

.hero-accent {
  color: var(--accent-dark);
  font-weight: 600;
  font-style: italic;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.8;
  font-weight: 300;
  animation: fade-up 0.8s 0.3s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fade-up 0.8s 0.45s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fade-up 0.8s 0.6s ease both;
}

.stat-item { text-align: left; }

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 1px;
  animation: fade-up 1s 1s ease both;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   ANNOUNCEMENT BAR
   ============================================= */
.announcement-bar {
  background: #000000;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  color: #ffffff;
}

@keyframes gradient-slide {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.announcement-track {
  display: inline-flex;
  gap: 30px;
  animation: marquee 60s linear infinite;
}

.announcement-track span {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #fff;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =============================================
   SECTION COMMONS
   ============================================= */
section { padding: 96px 0; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-badge {
  display: inline-block;
  padding: 6px 18px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 3px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.section-badge:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.section-badge.light {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: 0.02em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* =============================================
   CATEGORIES
   ============================================= */
.categories-section { background: var(--surface); }

.categories-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 20px;
  height: 500px;
}

.category-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-img-wrap {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover .category-img {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.category-card:hover .category-overlay {
  opacity: 1;
}

.category-explore {
  background: var(--accent);
  color: var(--bg);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 700;
}

.category-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}

.category-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.category-count {
  font-size: 0.8rem;
  color: var(--accent);
}

/* =============================================
   PRODUCTS
   ============================================= */
.products-section { background: var(--bg); }

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-tab {
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.filter-tab:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.filter-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.product-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.product-img-wrap {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: var(--surface-2);
}

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

.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.badge-pill {
  padding: 4px 10px;
  border-radius: var(--radius-xl);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.badge-new { background: #111111; color: #fff; }
.badge-sale { background: #c20000; color: #fff; }
.badge-best { background: #111111; color: #fff; }

.product-actions {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(60px);
  opacity: 0;
  transition: var(--transition);
}

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

.product-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.product-action-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: scale(1.1);
}

.product-info {
  padding: 16px;
}

.product-category {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 400;
  margin-bottom: 6px;
}

.product-name {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.01em;
}

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

.stars-mini { color: var(--gold); font-size: 0.8rem; }
.rating-count { font-size: 0.75rem; color: var(--text-dim); }

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}

.product-old-price {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.add-to-cart-btn {
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition);
}

.add-to-cart-btn:hover {
  background: var(--primary-light);
  color: #fff;
  transform: scale(1.03);
}

.load-more-wrap {
  text-align: center;
}

/* =============================================
   FEATURES
   ============================================= */
.features-section {
  background: var(--surface);
  padding: 64px 0;
}

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

.feature-item {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--primary);
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   ABOUT
   ============================================= */
.about-section { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visuals {
  position: relative;
  height: 560px;
}

.about-img-main {
  width: 78%;
  height: 80%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: absolute;
  bottom: 0;
  left: 0;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-accent {
  width: 55%;
  height: 50%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--bg);
  outline: 2px solid var(--border-strong);
}

.about-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge-float {
  position: absolute;
  bottom: 32px;
  right: 0;
  background: var(--primary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.float-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.float-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.about-content .section-badge { margin-bottom: 12px; display: inline-block; }

.about-desc {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-highlights {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.highlight-icon { color: var(--accent-dark); font-size: 0.8rem; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section { background: var(--surface); }

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

.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.testimonial-card.featured {
  border-color: var(--border-strong);
  background: var(--surface-3);
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.testimonial-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.testimonial-card.featured:hover {
  transform: translateY(-12px);
}

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

.testimonial-text {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.92rem;
  margin-bottom: 24px;
  font-style: italic;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.author-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.author-location {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* =============================================
   NEWSLETTER
   ============================================= */
.newsletter-section { background: var(--bg); padding: 48px 0; }

.newsletter-card {
  background: var(--primary);
  border-radius: var(--radius-xl);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-decor {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 10% 50%, rgba(255,255,255,0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 50%, rgba(255,255,255,0.08) 0%, transparent 40%);
  pointer-events: none;
}

.newsletter-content { position: relative; z-index: 1; }

.newsletter-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.newsletter-desc {
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  font-size: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 14px 24px;
  border-radius: var(--radius-xl);
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  outline: none;
}

.newsletter-input::placeholder { color: rgba(255,255,255,0.6); }

.newsletter-input:focus {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.15);
}

.newsletter-form .btn-primary {
  background: #fff;
  color: var(--primary);
  white-space: nowrap;
}

.newsletter-form .btn-primary:hover {
  background: var(--surface-2);
  color: var(--primary);
}

/* =============================================
   CONTACT
   ============================================= */
.contact-section { background: var(--surface); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item h4 {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-item p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
}

.contact-form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 0;
  color: var(--text);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: none;
}

.form-input::placeholder { color: var(--text-dim); }

.form-textarea { resize: vertical; min-height: 120px; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 64px 0 32px;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo { margin-bottom: 16px; color: #fff; }
.footer-brand .logo-icon { color: rgba(255,255,255,0.6); }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-accent { color: rgba(255,255,255,0.6); }

.footer-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-links h4 {
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

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

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 6px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

.footer-payments {
  display: flex;
  gap: 8px;
}

.payment-badge {
  padding: 4px 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

/* =============================================
   CART DRAWER
   ============================================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(2px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100vh;
  background: #fff;
  border-left: 1px solid var(--border);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
}

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

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

.cart-header h3 {
  font-size: 0.85rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
}

.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.cart-close:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

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

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 16px;
  text-align: center;
}

.cart-empty-icon { font-size: 3rem; }
.cart-empty p { color: var(--text-muted); }

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  border-radius: 0;
  margin-bottom: 1px;
  border: 1px solid var(--border);
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-details { flex: 1; }
.cart-item-name { font-size: 0.88rem; font-weight: 500; margin-bottom: 4px; }
.cart-item-price { color: var(--accent); font-weight: 600; font-size: 0.9rem; }

.cart-item-remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
  margin-top: 4px;
}

.cart-item-remove:hover { background: rgba(255,50,50,0.1); color: #ff5050; }

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

#cart-total-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.2rem;
}

/* =============================================
   TOAST
   ============================================= */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  max-width: 360px;
  animation: toast-in 0.3s ease;
}

.toast.success { border-left: 4px solid #4caf50; }
.toast.error { border-left: 4px solid #f44336; }
.toast.info { border-left: 4px solid var(--primary); }

.toast-icon { font-size: 1rem; flex-shrink: 0; }
.toast-msg { font-size: 0.85rem; color: var(--text); }

@keyframes toast-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: var(--transition);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover { transform: translateY(-4px); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .category-card.large { grid-column: 1 / -1; height: 300px; }
  .categories-grid { height: auto; }
  .category-card:not(.large) { height: 280px; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 48px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid .testimonial-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }

  .nav-links { display: none; position: fixed; inset: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); flex-direction: column; align-items: center; justify-content: center; gap: 24px; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.2rem; padding: 12px 32px; }
  .hamburger { display: flex; }

  .hero-title { font-size: clamp(2.5rem, 8vw, 4rem); }
  .hero-stats { gap: 20px; }

  .categories-grid { grid-template-columns: 1fr; }
  .category-card.large { grid-column: auto; }
  .categories-grid { height: auto; }
  .category-card { height: 250px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-visuals { height: 350px; order: -1; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card.featured { transform: none; }

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

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

  .newsletter-card { padding: 40px 24px; }
  .newsletter-form { flex-direction: column; }

  .cart-drawer { width: 100%; right: -100%; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .features-grid { grid-template-columns: 1fr; }
}

/* =============================================
   IMAGE LIGHTBOX
   ============================================= */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
}
.lightbox-close:hover {
  color: #ccc;
}

/* =============================================
   CUSTOMER REVIEWS SYSTEM
   ============================================= */
.review-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.review-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.review-modal-content {
  background: var(--bg);
  padding: 30px;
  width: 90%;
  max-width: 500px;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  border: 1px solid var(--border);
}

.review-modal.active .review-modal-content {
  transform: translateY(0);
}

.review-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-muted);
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
}

.review-modal-close:hover {
  color: var(--primary);
}

.review-modal h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 5px;
}

/* Star rating input style */
.star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 5px;
  font-size: 2rem;
  margin-bottom: 5px;
}

.star-rating-input .star-btn {
  cursor: pointer;
  color: #ccc;
  transition: color 0.15s, transform 0.1s;
  user-select: none;
}

/* Hover and active states */
.star-rating-input .star-btn.active,
.star-rating-input .star-btn:hover,
.star-rating-input .star-btn:hover ~ .star-btn {
  color: var(--gold);
}

.star-rating-input .star-btn:active {
  transform: scale(0.9);
}

/* Admin Delete Review Button */
.delete-review-btn {
  opacity: 0.6;
}

.delete-review-btn:hover {
  opacity: 1 !important;
  transform: scale(1.15);
}

.testimonial-card:hover .delete-review-btn {
  opacity: 0.8;
}

/* Navbar Heart Button Liked State */
#wishlist-btn.liked svg {
  fill: #ff5252;
  stroke: #ff5252;
}

/* ===== FLOATING SOCIAL BUBBLES ===== */
.social-floating-bubbles {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.social-bubble {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #ffffff;
  text-decoration: none;
}

.social-bubble:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.social-bubble.facebook {
  background: #1877f2;
}

.social-bubble.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-bubble.tiktok {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-bubble.line {
  background: #06c755;
}

.social-bubble svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Mobile responsive styling for social bubbles */
@media (max-width: 768px) {
  .social-floating-bubbles {
    right: 16px;
    bottom: 16px;
    gap: 8px;
  }
  
  .social-bubble {
    width: 44px;
    height: 44px;
  }
  
  .social-bubble svg {
    width: 20px;
    height: 20px;
  }
}
