/* ==========================================================================
   Choco_by_Raya - Luxury Silk & Chocolate Design System
   ========================================================================== */

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

:root {
  --primary-pink: #F9ECEF;
  --soft-rose: #F4D3D9;
  --accent-rose: #E89CAE;
  --deep-rose: #C47B89;
  --chocolate: #3D1E16;
  --chocolate-light: #5A2D22;
  --chocolate-rich: #28120B;
  --gold: #C9A050;
  --gold-light: #F4E7C5;
  --bg-silk: #FDF9F8;
  --card-bg: #FFFFFF;
  --text-dark: #2C1810;
  --text-muted: #7E6660;
  --text-light: #A48E88;
  --border-color: #F1DEE2;
  --shadow-sm: 0 4px 12px rgba(61, 30, 22, 0.04);
  --shadow-md: 0 10px 25px rgba(61, 30, 22, 0.07);
  --shadow-lg: 0 18px 40px rgba(196, 123, 137, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-silk);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Subtle Silk Texture */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 10% 20%, rgba(244, 211, 217, 0.35) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(249, 236, 239, 0.6) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

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

ul {
  list-style: none;
}

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

/* <picture> WebP uchun <img> ni o'raydi. display:contents bilan u o'zi
   quti hosil qilmaydi, shuning uchun mavjud layout o'zgarmay qoladi. */
picture {
  display: contents;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

input, textarea, select {
  font-family: inherit;
  outline: none;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= Top Announcement Bar ================= */
.top-bar {
  background-color: #F8E7EA;
  border-bottom: 1px solid rgba(196, 123, 137, 0.15);
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.top-bar-item svg {
  width: 15px;
  height: 15px;
  stroke: var(--deep-rose);
  fill: none;
}

/* ================= Header & Navigation ================= */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(253, 249, 248, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(241, 222, 226, 0.8);
  z-index: 1000;
  transition: var(--transition);
}

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

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

/* Logo */
.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.brand-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--chocolate);
}

.brand-logo-sub {
  font-size: 0.75rem;
  color: var(--deep-rose);
  line-height: 1;
  margin-top: -2px;
}

/* Main Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 4px 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--deep-rose);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--deep-rose);
  transition: var(--transition);
  border-radius: 2px;
}

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

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--chocolate);
  position: relative;
  background: rgba(249, 236, 239, 0.6);
  border: 1px solid rgba(244, 211, 217, 0.6);
}

.action-btn:hover {
  background: var(--primary-pink);
  color: var(--deep-rose);
  transform: translateY(-2px);
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--deep-rose);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  transition: var(--transition);
}

.admin-link-btn {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: #FFF0F3;
  color: var(--deep-rose);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--soft-rose);
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-link-btn:hover {
  background: var(--deep-rose);
  color: #fff;
}

.mobile-toggle {
  display: none;
  font-size: 1.4rem;
  color: var(--chocolate);
}

/* ================= Hero Section ================= */
.hero-section {
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 50px;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #FCECEF;
  border: 1px solid #F6D6DC;
  color: #BA6475;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.1rem;
  line-height: 1.18;
  font-weight: 700;
  color: var(--chocolate);
  margin-bottom: 20px;
}

.hero-title span.heart {
  color: var(--deep-rose);
  font-weight: 400;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  background: #B96677;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(185, 102, 119, 0.35);
  border: 1px solid #B96677;
}

.btn-primary:hover {
  background: #A65264;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(185, 102, 119, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  background: #FFFFFF;
  color: var(--chocolate);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--soft-rose);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: var(--primary-pink);
  border-color: var(--accent-rose);
  transform: translateY(-2px);
}

.hero-features {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(241, 222, 226, 0.9);
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.feat-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FBECEE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-rose);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #FFFFFF;
  background: #FFFFFF;
}

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--soft-rose);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatSlow 4s ease-in-out infinite;
}

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

.floating-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FDF0F3;
  color: #D44265;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.floating-text h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--chocolate);
}

.floating-text p {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ================= Section Header ================= */
.section-title-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--chocolate);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.section-heart {
  font-size: 1.2rem;
  color: var(--deep-rose);
  margin-top: 4px;
}

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

/* ================= Categories Section ================= */
.categories-section {
  padding: 50px 0 60px;
}

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

.category-card {
  background: #FFFFFF;
  border: 1px solid #F3DFE3;
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

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

.category-card.active {
  border-color: var(--deep-rose);
  background: #FFF5F7;
}

.category-img-box {
  width: 100%;
  height: 120px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #F9ECEF;
  margin-bottom: 14px;
}

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

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

.category-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
}

.category-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--chocolate);
  margin-bottom: 3px;
}

.category-count {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
}

.category-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--soft-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-rose);
  font-size: 0.85rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.category-card:hover .category-arrow {
  background: var(--deep-rose);
  color: #fff;
  border-color: var(--deep-rose);
}

/* ================= Products Section ================= */
.products-section {
  padding: 60px 0 80px;
}

.products-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

/* Natijalar soni (chapda) va saralash (o'ngda) */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.products-count {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.sort-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.sort-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.sort-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 8px 38px 8px 18px;
  border-radius: var(--radius-full);
  background-color: #FFFFFF;
  /* Pastga qaragan chevron */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B96677' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  border: 1.5px solid #F1DEE2;
  color: var(--chocolate);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.sort-select:hover,
.sort-select:focus-visible {
  border-color: #B96677;
  outline: none;
  box-shadow: 0 4px 14px rgba(185, 102, 119, 0.22);
}

@media (max-width: 600px) {
  .products-toolbar {
    justify-content: center;
  }
  .sort-control {
    margin-left: 0;
  }
}

.filter-chip {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1.5px solid #F1DEE2;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-chip:hover,
.filter-chip.active {
  background: #B96677;
  color: #FFFFFF;
  border-color: #B96677;
  box-shadow: 0 4px 14px rgba(185, 102, 119, 0.3);
}

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

.product-card {
  background: #FFFFFF;
  border: 1px solid #F3DFE3;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #E6B5BF;
}

.product-thumb-wrap {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #FBF1F3;
}

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

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

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: #BA6475;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  z-index: 2;
}

.product-fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #BA6475;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  transition: var(--transition);
}

.product-fav-btn:hover {
  background: #fff;
  transform: scale(1.1);
  color: #D44265;
}

.product-fav-btn.active {
  background: #BA6475;
  color: #fff;
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--chocolate);
  margin-bottom: 6px;
  line-height: 1.35;
  cursor: pointer;
}

.product-title:hover {
  color: var(--deep-rose);
}

.product-desc-snippet {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-row {
  margin-top: auto;
  margin-bottom: 14px;
}

.product-price {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--chocolate);
}

.product-old-price {
  font-size: 0.82rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-left: 6px;
}

.btn-add-cart {
  width: 100%;
  padding: 11px;
  background: #F8E7EA;
  color: #7D434E;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid #F0D3D9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-add-cart:hover {
  background: #BA6475;
  color: #FFFFFF;
  border-color: #BA6475;
  box-shadow: 0 4px 12px rgba(186, 100, 117, 0.3);
}

/* ================= Split Promo & Why Us ================= */
.promo-why-section {
  padding: 40px 0 70px;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
}

/* Left: Why Us Card */
.why-us-card {
  background: #FFFFFF;
  border: 1px solid #F3DFE3;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: center;
}

.why-us-img {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.why-us-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-us-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--chocolate);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.why-us-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.why-us-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-dark);
  font-weight: 500;
}

.why-us-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--deep-rose);
  flex-shrink: 0;
}

/* Right: Promo Gift Banner */
.promo-gift-banner {
  background: linear-gradient(135deg, #F8E2E6 0%, #F5D3DB 100%);
  border: 1px solid #ECC4CC;
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.promo-gift-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--chocolate);
  margin-bottom: 8px;
  line-height: 1.3;
}

.promo-gift-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.45;
}

.promo-gift-img {
  width: 130px;
  height: 130px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.promo-gift-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= Testimonials Section ================= */
.testimonials-section {
  padding: 40px 0 80px;
}

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

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid #F3DFE3;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

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

.testimonial-quote-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: #BA6475;
  line-height: 1;
  margin-bottom: -10px;
}

.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--chocolate);
  line-height: 1.45;
  margin-bottom: 20px;
  flex-grow: 1;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: #E2A740;
  font-size: 0.95rem;
  margin-bottom: 10px;
  justify-content: center;
}

.testimonial-author {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.add-review-wrap {
  text-align: center;
  margin-top: 32px;
}

/* ================= Footer ================= */
.site-footer {
  background: #FAF0F2;
  border-top: 1px solid #F0D5DA;
  padding: 60px 0 24px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .brand-logo-text {
  font-size: 1.6rem;
  color: var(--chocolate);
  text-align: left;
}

.footer-about {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 12px;
  margin-bottom: 20px;
  line-height: 1.55;
}

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

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #F1DEE2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-rose);
  font-size: 1.05rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--deep-rose);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--chocolate);
  margin-bottom: 18px;
}

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

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--deep-rose);
  padding-left: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-row svg {
  width: 16px;
  height: 16px;
  stroke: var(--deep-rose);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(241, 222, 226, 0.8);
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ================= Cart Drawer ================= */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44, 24, 16, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
}

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

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

.cart-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--chocolate);
}

.drawer-close-btn {
  font-size: 1.4rem;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.drawer-close-btn:hover {
  background: #FBECEE;
  color: var(--deep-rose);
}

.cart-items-list {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.empty-cart-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-cart-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  color: var(--soft-rose);
}

.cart-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #F8ECEE;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #FDF4F6;
}

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

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

.cart-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--chocolate);
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--deep-rose);
}

.cart-qty-ctrls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #F6E6EA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--chocolate);
}

.qty-btn:hover {
  background: var(--deep-rose);
  color: #fff;
}

.qty-val {
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 18px;
  text-align: center;
}

.cart-remove-btn {
  color: #C07986;
  font-size: 1.1rem;
  padding: 6px;
}

.cart-remove-btn:hover {
  color: #D44265;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid #F1DEE2;
  background: #FFFDFC;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--chocolate);
}

.btn-checkout {
  width: 100%;
  padding: 13px;
  background: #BA6475;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 18px rgba(186, 100, 117, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-checkout:hover {
  background: #A65264;
}

/* ================= Modal Windows ================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44, 24, 16, 0.6);
  backdrop-filter: blur(5px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FBECEE;
  color: var(--chocolate);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
}

.modal-close:hover {
  background: var(--deep-rose);
  color: #fff;
}

.modal-header {
  padding: 24px 28px 16px;
  border-bottom: 1px solid #F3DFE3;
}

.modal-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  color: var(--chocolate);
}

.modal-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-body {
  padding: 24px 28px;
}

/* Form Styles */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--chocolate);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  background: #FFFDFC;
  border: 1.5px solid #F1DEE2;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--deep-rose);
  box-shadow: 0 0 0 3px rgba(196, 123, 137, 0.15);
}

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

/* Payment Method radio buttons */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 6px;
}

.payment-radio-label {
  border: 1.5px solid #F1DEE2;
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
  display: block;
}

.payment-radio-label:hover {
  border-color: var(--accent-rose);
  background: #FFF6F8;
}

.payment-radio-input:checked + .payment-radio-label {
  border-color: var(--deep-rose);
  background: #FCECEF;
  color: var(--deep-rose);
}

.payment-radio-input {
  display: none;
}

/* Quick View Modal layout */
.quick-view-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
}

.quick-view-img {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #FBECEE;
}

.quick-view-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-view-details h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--chocolate);
  margin-bottom: 6px;
}

.quick-view-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--deep-rose);
  margin-bottom: 12px;
}

.quick-view-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.quick-view-meta {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 20px;
  background: #FAF3F4;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

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

.toast {
  background: #FFFFFF;
  border-left: 4px solid var(--deep-rose);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--chocolate);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInRight 0.3s ease;
  min-width: 260px;
  border-top: 1px solid #F1DEE2;
  border-right: 1px solid #F1DEE2;
  border-bottom: 1px solid #F1DEE2;
}

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

/* Floating Quick Order Action */
.floating-actions-bar {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: flex;
  gap: 10px;
  z-index: 1000;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  font-size: 1.4rem;
}

.float-tg {
  background: #2AABEE;
}

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

.float-btn:hover {
  transform: translateY(-4px) scale(1.05);
}

/* ================= Responsive Queries ================= */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-features {
    justify-content: center;
  }
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .promo-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .top-bar-inner {
    justify-content: center;
    gap: 8px;
    font-size: 0.75rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .why-us-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .why-us-img {
    height: 140px;
    max-width: 200px;
    margin: 0 auto;
  }
  .why-us-list {
    align-items: center;
  }
  .promo-gift-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .promo-gift-img {
    margin: 0 auto;
  }
  .quick-view-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
