/* ===========================
   КВІТКОВА КРАМНИЦЯ «ПЕЛЮСТКА»
   Elegant Light Floral Design
   =========================== */

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

/* ===== SVG ICONS ===== */
.ico { display: inline-block; vertical-align: middle; flex-shrink: 0; }
/* Only block-display SVGs that are standalone icons */
.del-icon-wrap svg, .feat-icon-wrap svg, .about-badge svg,
.promo-ico, .cart-empty-icon, .nl-ico,
.header-info-item svg, .contact-list svg,
.social-link svg, .delivery-opt svg, .payment-opt svg,
.success-icon-wrap svg, .success-check svg,
.hero-deco svg, .cart-btn svg, .search-btn svg,
.logo-icon-wrap svg, .footer-brand .logo-icon-wrap svg,
.add-to-cart-btn svg, .modal-qty-btn svg, .qty-btn svg,
.modal-add-btn svg, .icon-btn svg, .scroll-top svg {
  display: block;
}

.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; background: var(--blush);
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; color: var(--charcoal);
  transition: all var(--transition);
}
.icon-btn:hover { background: var(--rose); color: var(--white); }

/* ===== CSS STAR RATING (clip-path, no SVG/emoji) ===== */
.stars-wrap { display: inline-flex; align-items: center; gap: 3px; vertical-align: middle; }
.star-ico {
  display: inline-block; width: 13px; height: 13px; flex-shrink: 0;
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}
.star-filled { background: #e8b84b; }
.star-empty-c { background: #ddd; }
.review-count { font-size: 0.75rem; color: var(--warm-grey); vertical-align: middle; margin-left: 4px; }

/* ===== CSS VARIABLES ===== */
:root {
  --rose:       #C9847A;
  --rose-light: #EDD5D0;
  --rose-pale:  #FAF0EE;
  --blush:      #F5E8E4;
  --sage:       #8A9E8C;
  --sage-light: #D4E3D5;
  --cream:      #FDF9F7;
  --ivory:      #FEFCFB;
  --charcoal:   #2C2420;
  --warm-grey:  #7A6E6A;
  --border:     #EDE5E2;
  --shadow:     rgba(44,36,32,0.10);
  --shadow-md:  rgba(44,36,32,0.16);
  --white:      #ffffff;
  --ff-serif:   'Cormorant Garamond', Georgia, serif;
  --ff-sans:    'Jost', system-ui, sans-serif;
  --radius:     12px;
  --radius-lg:  20px;
  --transition: 0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--ff-sans); background: var(--ivory); color: var(--charcoal); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--blush); }
::-webkit-scrollbar-thumb { background: var(--rose); border-radius: 3px; }

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-family: var(--ff-sans);
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.05em;
  transition: all var(--transition); cursor: pointer;
}
.btn-primary { background: var(--rose); color: var(--white); }
.btn-primary:hover { background: #b5736a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,132,122,0.4); }
.btn-outline { background: transparent; color: var(--charcoal); border: 1.5px solid var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--white); transform: translateY(-2px); }
.btn-full { width: 100%; }
.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-ghost { background: rgba(255,255,255,0.9); color: var(--charcoal); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--rose); color: var(--white); border-color: var(--rose); }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 48px; }
.section-title {
  font-family: var(--ff-serif); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; color: var(--charcoal); margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-sub { color: var(--warm-grey); font-size: 1rem; font-weight: 300; }

/* ===== HEADER ===== */
.header { position: sticky; top: 0; z-index: 1000; background: var(--white); }
.header.scrolled { box-shadow: 0 2px 20px var(--shadow); }

.header-top {
  background: var(--charcoal); color: rgba(255,255,255,0.85);
  padding: 8px 0; font-size: 0.78rem; letter-spacing: 0.03em;
}
.header-top-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

.header-main { padding: 16px 0; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 32px; }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-icon-wrap { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--ff-serif); font-size: 1.5rem; font-weight: 500; color: var(--charcoal); line-height: 1; }
.logo-sub { font-size: 0.68rem; color: var(--warm-grey); text-transform: uppercase; letter-spacing: 0.1em; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  padding: 8px 16px; border-radius: 8px; color: var(--warm-grey);
  font-size: 0.9rem; font-weight: 400; transition: all var(--transition); letter-spacing: 0.02em;
}
.nav-link:hover { color: var(--charcoal); background: var(--blush); }
.nav-link.active { color: var(--rose); }

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

.search-wrap { display: flex; align-items: center; background: var(--blush); border-radius: 50px; overflow: hidden; border: 1px solid var(--border); }
.search-input { padding: 8px 16px; background: none; border: none; outline: none; font-size: 0.85rem; color: var(--charcoal); width: 180px; }
.search-input::placeholder { color: var(--warm-grey); }
.search-btn { padding: 8px 12px; background: none; border: none; cursor: pointer; transition: transform 0.2s; color: var(--warm-grey); display: flex; align-items: center; }
.search-btn:hover { transform: scale(1.1); }

.cart-btn {
  position: relative; display: flex; align-items: center; gap: 8px;
  padding: 10px 20px 10px 16px; background: var(--rose); color: var(--white);
  border-radius: 50px; font-size: 0.9rem; transition: all var(--transition);
  border: none;
}
.cart-btn:hover { background: #b5736a; transform: translateY(-1px); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  background: var(--charcoal); color: var(--white);
  font-size: 0.7rem; font-weight: 600; min-width: 20px; height: 20px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.cart-count.bump { transform: scale(1.4); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  overflow: hidden; background: linear-gradient(135deg, var(--rose-pale) 0%, var(--blush) 40%, var(--sage-light) 100%);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(ellipse 800px 600px at 80% 50%, rgba(201,132,122,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 500px 400px at 20% 80%, rgba(138,158,140,0.12) 0%, transparent 60%);
  overflow: hidden;
}
.hero-deco { position: absolute; pointer-events: none; }
.hero-deco-1 { right: -60px; top: 50%; transform: translateY(-50%); animation: floatHero 7s ease-in-out infinite; }
.hero-deco-2 { right: 15%; top: 8%; animation: floatHero 5s ease-in-out infinite reverse; }
.hero-deco-3 { left: 5%; bottom: 10%; animation: floatHero 9s ease-in-out infinite; }
@keyframes floatHero { 0%,100%{transform:translateY(-50%) rotate(-4deg)} 50%{transform:translateY(-54%) rotate(4deg)} }

.hero .container { position: relative; z-index: 1; padding: 80px 24px; }
.hero-content { max-width: 640px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px; background: rgba(201,132,122,0.15);
  color: var(--rose); border-radius: 50px; font-size: 0.8rem; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 24px;
}
.hero-title {
  font-family: var(--ff-serif); font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400; line-height: 1.1; color: var(--charcoal);
  margin-bottom: 24px; letter-spacing: -0.02em;
}
.hero-desc { font-size: 1.1rem; color: var(--warm-grey); font-weight: 300; margin-bottom: 36px; line-height: 1.7; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--ff-serif); font-size: 1.8rem; font-weight: 500; color: var(--charcoal); }
.stat span { font-size: 0.78rem; color: var(--warm-grey); letter-spacing: 0.03em; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ===== PROMO BAR ===== */
.promo-bar { background: var(--charcoal); color: rgba(255,255,255,0.9); padding: 14px 0; overflow: hidden; }
.promo-items { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.promo-item { font-size: 0.82rem; letter-spacing: 0.03em; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.promo-ico { color: var(--rose-light); flex-shrink: 0; }
.promo-divider { width: 4px; height: 4px; background: var(--rose); border-radius: 50%; opacity: 0.6; }

/* ===== CATEGORY TABS ===== */
.categories-section { padding: 80px 0; background: var(--ivory); }
.category-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.cat-tab {
  padding: 8px 20px; border-radius: 50px; border: 1.5px solid var(--border);
  font-size: 0.85rem; color: var(--warm-grey); background: var(--white);
  transition: all var(--transition); font-family: var(--ff-sans); font-weight: 400;
  white-space: nowrap; display: inline-flex; align-items: center; gap: 6px;
}
.cat-tab:hover { border-color: var(--rose); color: var(--rose); }
.cat-tab.active { background: var(--rose); color: var(--white); border-color: var(--rose); }

/* ===== FILTER BAR ===== */
.filter-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.products-count { font-size: 0.85rem; color: var(--warm-grey); }
.filter-right { display: flex; align-items: center; gap: 12px; }
.filter-label { font-size: 0.85rem; color: var(--warm-grey); }
.sort-select {
  padding: 8px 16px; border: 1.5px solid var(--border); border-radius: 8px;
  background: var(--white); color: var(--charcoal); font-size: 0.85rem;
  outline: none; cursor: pointer; transition: border-color var(--transition);
}
.sort-select:focus { border-color: var(--rose); }

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: all 0.4s ease;
  position: relative; display: flex; flex-direction: column;
  cursor: pointer;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px var(--shadow-md); border-color: var(--rose-light); }

.product-img-wrap {
  position: relative; overflow: hidden; background: var(--blush);
  height: 280px;
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }

.product-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: flex; flex-direction: column; gap: 4px;
}
.badge {
  padding: 5px 12px; border-radius: 50px; font-size: 0.68rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.badge-new { background: var(--sage); color: var(--white); }
.badge-sale { background: var(--rose); color: var(--white); }
.badge-hit { background: var(--charcoal); color: var(--white); }

.product-wishlist {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); opacity: 0; transform: scale(0.8);
  border: none; cursor: pointer; color: var(--warm-grey);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.product-wishlist svg { display: block; }
.product-card:hover .product-wishlist { opacity: 1; transform: scale(1); }
.product-wishlist:hover { background: var(--rose); color: var(--white); }
.product-wishlist.active { opacity: 1; color: var(--rose); }

.product-quick-add {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 10px 12px; background: rgba(253,249,247,0.96); backdrop-filter: blur(10px);
  transform: translateY(100%); transition: transform 0.32s ease;
  border-top: 1px solid var(--border);
}
.product-card:hover .product-quick-add { transform: translateY(0); }

.product-info { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-category { font-size: 0.68rem; color: var(--rose); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.product-name { font-family: var(--ff-serif); font-size: 1.1rem; font-weight: 500; color: var(--charcoal); line-height: 1.3; }
.product-stars-row { display: flex; align-items: center; gap: 4px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.product-price-wrap { display: flex; flex-direction: column; gap: 2px; }
.product-price { font-family: var(--ff-serif); font-size: 1.25rem; font-weight: 600; color: var(--charcoal); }
.product-price-old { font-size: 0.75rem; color: var(--warm-grey); text-decoration: line-through; }

.add-to-cart-btn {
  width: 42px; height: 42px; border-radius: 50%; background: var(--rose);
  color: var(--white); display: flex; align-items: center;
  justify-content: center; transition: all var(--transition); flex-shrink: 0;
  border: none; box-shadow: 0 4px 14px rgba(201,132,122,0.35);
}
.add-to-cart-btn:hover { background: #b5736a; transform: scale(1.12); box-shadow: 0 6px 20px rgba(201,132,122,0.5); }
.add-to-cart-btn.added { background: var(--sage); }

/* ===== PRODUCT PLACEHOLDER ===== */
.product-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blush), var(--rose-pale));
  color: var(--rose-light);
}

/* ===== ABOUT SECTION ===== */
.about-section { padding: 100px 0; background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image { position: relative; }
.about-img-wrap {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5;
  box-shadow: 0 24px 60px var(--shadow);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--rose); color: var(--white); padding: 20px 24px;
  border-radius: var(--radius); box-shadow: 0 8px 24px rgba(201,132,122,0.4);
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  font-family: var(--ff-serif); font-size: 1rem; line-height: 1.3;
}

.about-tag { font-size: 0.75rem; color: var(--rose); text-transform: uppercase; letter-spacing: 0.12em; display: block; margin-bottom: 12px; }
.about-title { font-family: var(--ff-serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; line-height: 1.2; margin-bottom: 24px; }
.about-text { color: var(--warm-grey); font-size: 0.95rem; line-height: 1.8; margin-bottom: 16px; font-weight: 300; }
.about-features { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.feat { display: flex; gap: 16px; align-items: flex-start; }
.feat-icon-wrap {
  width: 40px; height: 40px; border-radius: 10px; background: var(--rose-pale);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--rose); margin-top: 2px;
}
.feat strong { display: block; font-size: 0.95rem; margin-bottom: 4px; color: var(--charcoal); font-weight: 500; }
.feat p { font-size: 0.82rem; color: var(--warm-grey); font-weight: 300; }

/* ===== DELIVERY ===== */
.delivery-section { padding: 80px 0; background: var(--ivory); }
.delivery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.delivery-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 24px;
  border: 1px solid var(--border); text-align: center; transition: all var(--transition);
}
.delivery-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px var(--shadow); border-color: var(--rose-light); }
.del-icon-wrap {
  width: 64px; height: 64px; border-radius: 16px; background: var(--rose-pale);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  color: var(--rose); transition: all var(--transition);
}
.delivery-card:hover .del-icon-wrap { background: var(--rose); color: var(--white); }
.delivery-card h3 { font-family: var(--ff-serif); font-size: 1.15rem; margin-bottom: 12px; }
.delivery-card p { font-size: 0.85rem; color: var(--warm-grey); line-height: 1.6; margin-bottom: 16px; }
.del-price { font-size: 1rem; color: var(--charcoal); margin-bottom: 8px; }
.del-price strong { color: var(--rose); }
.del-note { font-size: 0.75rem; color: var(--warm-grey); }

/* ===== NEWSLETTER ===== */
.newsletter-section { background: linear-gradient(135deg, var(--charcoal) 0%, #3d2e29 100%); padding: 70px 0; }
.newsletter-wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.nl-content h2 { font-family: var(--ff-serif); font-size: clamp(1.5rem, 3vw, 2rem); color: var(--white); font-weight: 400; margin-bottom: 8px; }
.nl-content p { color: rgba(255,255,255,0.65); font-size: 0.9rem; font-weight: 300; }
.nl-form { display: flex; gap: 12px; flex-wrap: wrap; }
.nl-input-wrap {
  position: relative; display: flex; align-items: center;
}
.nl-ico {
  position: absolute; left: 16px; color: rgba(255,255,255,0.5); pointer-events: none;
}
.nl-input {
  padding: 14px 24px 14px 44px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1); color: var(--white); font-size: 0.9rem;
  outline: none; min-width: 280px; transition: all var(--transition);
}
.nl-input::placeholder { color: rgba(255,255,255,0.5); }
.nl-input:focus { border-color: var(--rose); background: rgba(255,255,255,0.15); }

/* ===== FOOTER ===== */
.footer { background: #1a1210; color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); }
.footer-brand p { margin-top: 16px; font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.55); font-weight: 300; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); transition: all var(--transition);
}
.social-link:hover { background: var(--rose); color: var(--white); transform: translateY(-2px); }

.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.9); margin-bottom: 20px; font-weight: 500; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li, .footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color var(--transition); font-weight: 300; }
.footer-col a:hover { color: var(--rose-light); }
.contact-list li { display: flex; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: rgba(255,255,255,0.35); flex-wrap: wrap; gap: 8px; }

/* ===== CART SIDEBAR ===== */
.cart-overlay { position: fixed; inset: 0; background: rgba(44,36,32,0.5); backdrop-filter: blur(4px); z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar {
  position: fixed; top: 0; right: 0; height: 100vh; width: 420px; max-width: 100vw;
  background: var(--white); z-index: 2001; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px var(--shadow);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; border-bottom: 1px solid var(--border); }
.cart-header h2 { font-family: var(--ff-serif); font-size: 1.4rem; font-weight: 400; }

.cart-body { flex: 1; overflow-y: auto; padding: 20px 28px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 12px; text-align: center; }
.cart-empty-icon { display: block; color: var(--warm-grey); }
.cart-empty p { color: var(--charcoal); font-size: 0.95rem; }
.cart-empty-sub { color: var(--warm-grey); font-size: 0.82rem; }

.cart-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-item-img { width: 80px; height: 80px; border-radius: 10px; overflow: hidden; background: var(--blush); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.9rem; font-weight: 500; margin-bottom: 4px; line-height: 1.3; }
.cart-item-price { font-family: var(--ff-serif); font-size: 1rem; color: var(--rose); }
.cart-item-qty { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 50%; background: var(--blush); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; transition: all var(--transition);
  color: var(--charcoal); cursor: pointer;
}
.qty-btn:hover { background: var(--rose); color: var(--white); border-color: var(--rose); }
.qty-val { font-size: 0.9rem; font-weight: 500; min-width: 20px; text-align: center; }
.cart-item-remove {
  color: var(--warm-grey); cursor: pointer; transition: color var(--transition);
  background: none; border: none; margin-top: 4px; display: flex; align-items: center; gap: 4px;
  font-size: 0.75rem;
}
.cart-item-remove:hover { color: var(--rose); }

.cart-footer { padding: 20px 28px; border-top: 1px solid var(--border); }
.cart-promo { display: flex; gap: 8px; margin-bottom: 20px; }
.promo-input { flex: 1; padding: 10px 16px; border: 1.5px solid var(--border); border-radius: 8px; outline: none; font-size: 0.85rem; transition: border-color var(--transition); }
.promo-input:focus { border-color: var(--rose); }
.promo-btn { padding: 10px 16px; background: var(--blush); border-radius: 8px; font-size: 0.82rem; color: var(--charcoal); transition: all var(--transition); }
.promo-btn:hover { background: var(--rose); color: var(--white); }
.cart-total-wrap { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.cart-subtotal, .cart-delivery-info { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--warm-grey); }
.cart-total { display: flex; justify-content: space-between; font-size: 1rem; padding-top: 12px; border-top: 1px solid var(--border); }
.cart-total strong { font-family: var(--ff-serif); font-size: 1.2rem; color: var(--charcoal); }

/* ===== PRODUCT MODAL ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(44,36,32,0.6); backdrop-filter: blur(6px); z-index: 3000; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.product-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9);
  background: var(--white); border-radius: var(--radius-lg); z-index: 3001;
  width: 90vw; max-width: 860px; max-height: 90vh; overflow-y: auto;
  transition: all 0.3s ease; opacity: 0; pointer-events: none;
  box-shadow: 0 32px 80px rgba(0,0,0,0.25);
}
.product-modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: all; }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  color: var(--charcoal);
}
.modal-close:hover { background: var(--rose); color: var(--white); }

.modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal-img { aspect-ratio: 1; background: var(--blush); overflow: hidden; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--blush), var(--rose-pale)); color: var(--rose-light); }
.modal-details { padding: 40px 36px; display: flex; flex-direction: column; }
.modal-cat { font-size: 0.72rem; color: var(--rose); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.modal-title { font-family: var(--ff-serif); font-size: 1.8rem; font-weight: 400; margin-bottom: 16px; }
.modal-stars { margin-bottom: 16px; }
.modal-desc { font-size: 0.88rem; color: var(--warm-grey); line-height: 1.8; margin-bottom: 24px; flex: 1; }
.modal-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.modal-price { font-family: var(--ff-serif); font-size: 2rem; font-weight: 600; color: var(--charcoal); }
.modal-price-old { font-size: 1rem; color: var(--warm-grey); text-decoration: line-through; }
.modal-qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.modal-qty { display: flex; align-items: center; gap: 12px; background: var(--blush); border-radius: 50px; padding: 6px 16px; }
.modal-qty-btn {
  width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: none;
  cursor: pointer; transition: all var(--transition); display: flex; align-items: center;
  justify-content: center; color: var(--charcoal);
}
.modal-qty-btn:hover { background: var(--rose); color: var(--white); }
.modal-qty-val { font-weight: 500; min-width: 24px; text-align: center; }
.modal-add-btn { flex: 1; }
.modal-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.modal-tag { padding: 4px 12px; background: var(--blush); border-radius: 50px; font-size: 0.72rem; color: var(--warm-grey); }

/* ===== ORDER MODAL ===== */
.order-overlay { position: fixed; inset: 0; background: rgba(44,36,32,0.6); backdrop-filter: blur(6px); z-index: 4000; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.order-overlay.open { opacity: 1; pointer-events: all; }
.order-modal {
  position: fixed; top: 0; right: 0; bottom: 0; width: 680px; max-width: 100vw;
  background: var(--ivory); z-index: 4001; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 60px rgba(0,0,0,0.2);
}
.order-modal.open { transform: translateX(0); }
.order-modal-close {
  position: absolute; top: 20px; right: 20px; z-index: 10;
  color: var(--charcoal);
}
.order-modal-close:hover { background: var(--rose); color: var(--white); }

.order-modal-inner { padding: 48px 40px; }
.order-header { margin-bottom: 32px; }
.order-header h2 { font-family: var(--ff-serif); font-size: 1.8rem; font-weight: 400; margin-bottom: 8px; }
.order-header p { font-size: 0.88rem; color: var(--warm-grey); }

.order-summary { background: var(--white); border-radius: var(--radius); padding: 20px; margin-bottom: 28px; border: 1px solid var(--border); }
.order-summary-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.order-summary-item:last-child { border-bottom: none; }
.order-summary-item strong { font-family: var(--ff-serif); font-size: 1rem; }

.form-section { margin-bottom: 28px; }
.form-section h3 { font-family: var(--ff-serif); font-size: 1.15rem; font-weight: 400; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.82rem; color: var(--charcoal); font-weight: 500; }
.form-input {
  padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 10px;
  background: var(--white); color: var(--charcoal); font-size: 0.9rem;
  outline: none; transition: border-color var(--transition);
}
.form-input:focus { border-color: var(--rose); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 10L3 5h10z' fill='%237A6E6A'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 12px; padding-right: 32px; }

.delivery-options, .payment-options { display: flex; flex-direction: column; gap: 10px; }
.delivery-opt, .payment-opt {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: 10px; cursor: pointer;
  transition: all var(--transition); font-size: 0.88rem; color: var(--charcoal);
}
.delivery-opt:hover, .payment-opt:hover { border-color: var(--rose-light); background: var(--rose-pale); }
.delivery-opt svg, .payment-opt svg { color: var(--warm-grey); flex-shrink: 0; }
.delivery-opt input, .payment-opt input { accent-color: var(--rose); }

.order-total-row { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 2px solid var(--border); }
.order-total-line { display: flex; justify-content: space-between; align-items: baseline; }
.order-total-line span { font-size: 1rem; }
.order-total-line strong { font-family: var(--ff-serif); font-size: 1.5rem; color: var(--rose); }

/* ===== SUCCESS MODAL ===== */
.success-overlay { position: fixed; inset: 0; background: rgba(44,36,32,0.7); backdrop-filter: blur(8px); z-index: 5000; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.success-overlay.open { opacity: 1; pointer-events: all; }
.success-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8);
  z-index: 5001; opacity: 0; pointer-events: none; transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.success-modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: all; }
.success-inner {
  background: var(--white); border-radius: var(--radius-lg); padding: 60px 48px;
  text-align: center; max-width: 420px; width: 90vw;
  box-shadow: 0 32px 80px rgba(0,0,0,0.25);
}
.success-icon-wrap {
  position: relative; display: inline-block; margin-bottom: 16px;
  animation: bounceIn 0.6s ease;
}
.success-check {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 32px; height: 32px; background: var(--rose); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
@keyframes bounceIn { 0%{transform:scale(0)} 70%{transform:scale(1.1)} 100%{transform:scale(1)} }
.success-inner h2 { font-family: var(--ff-serif); font-size: 1.8rem; font-weight: 400; margin-bottom: 16px; }
.success-inner p { color: var(--warm-grey); font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.success-order-num { display: inline-block; padding: 8px 20px; background: var(--blush); border-radius: 50px; font-size: 0.85rem; font-weight: 600; color: var(--rose); margin-bottom: 28px; }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 48px; height: 48px; border-radius: 50%; background: var(--charcoal);
  color: var(--white); display: flex; align-items: center;
  justify-content: center; opacity: 0; transform: translateY(20px);
  transition: all var(--transition); box-shadow: 0 4px 16px var(--shadow-md);
  border: none; cursor: pointer;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--rose); transform: translateY(-4px); }

/* ===== BURGER BUTTON ===== */
.burger-btn {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blush); border: 1px solid var(--border);
  color: var(--charcoal); cursor: pointer; transition: all var(--transition);
  flex-shrink: 0;
}
.burger-btn:hover { background: var(--rose); color: var(--white); }
.burger-btn svg { display: block; }

/* ===== MOBILE NAV ===== */
.mob-nav-overlay {
  position: fixed; inset: 0; background: rgba(44,36,32,0.6);
  backdrop-filter: blur(6px); z-index: 3000;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mob-nav-overlay.open { opacity: 1; pointer-events: all; }

.mob-nav {
  position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 88vw);
  background: var(--white); z-index: 3001; overflow-y: auto;
  transform: translateX(-100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column; gap: 0;
  box-shadow: 4px 0 40px rgba(0,0,0,0.12);
}
.mob-nav.open { transform: translateX(0); }

.mob-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 16px; border-bottom: 1px solid var(--border);
}
.mob-nav-header .logo-name { font-size: 1.2rem; }
.mob-nav-header .logo-sub { font-size: 0.6rem; }

.mob-search {
  position: relative; margin: 16px 20px 8px;
}
.mob-search-ico {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--warm-grey); pointer-events: none;
}
.mob-search-input {
  width: 100%; padding: 11px 16px 11px 42px;
  border: 1.5px solid var(--border); border-radius: 50px;
  font-size: 0.9rem; outline: none; background: var(--blush);
  color: var(--charcoal); transition: border-color var(--transition);
}
.mob-search-input:focus { border-color: var(--rose); background: var(--white); }

.mob-nav-links {
  display: flex; flex-direction: column; padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}
.mob-nav-link {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 12px; border-radius: 10px;
  color: var(--charcoal); text-decoration: none; font-size: 0.95rem;
  transition: all var(--transition);
}
.mob-nav-link svg { display: block; color: var(--rose); flex-shrink: 0; }
.mob-nav-link:hover { background: var(--blush); color: var(--rose); }

.mob-nav-cats { padding: 16px 20px; border-bottom: 1px solid var(--border); }
.mob-cats-title {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--warm-grey); font-weight: 600; margin-bottom: 12px;
}
.mob-cats-grid {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.mob-cat-btn {
  padding: 7px 14px; border-radius: 50px; border: 1.5px solid var(--border);
  font-size: 0.82rem; color: var(--warm-grey); background: var(--white);
  transition: all var(--transition); cursor: pointer; font-family: var(--ff-sans);
}
.mob-cat-btn:hover, .mob-cat-btn.active {
  background: var(--rose); color: var(--white); border-color: var(--rose);
}

.mob-nav-contacts {
  padding: 16px 20px; margin-top: auto;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--blush); border-top: 1px solid var(--border);
}
.mob-contact-link {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: var(--charcoal); text-decoration: none;
}
.mob-contact-link svg { display: block; color: var(--rose); flex-shrink: 0; }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 48px; height: 48px; border-radius: 50%; background: var(--charcoal);
  color: var(--white); display: flex; align-items: center;
  justify-content: center; opacity: 0; transform: translateY(20px);
  transition: all var(--transition); box-shadow: 0 4px 16px var(--shadow-md);
  border: none; cursor: pointer;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--rose); transform: translateY(-4px); }
.scroll-top svg { display: block; }

/* ===== EMPTY STATE ===== */
.empty-state { grid-column: 1/-1; text-align: center; padding: 60px 20px; }
.empty-state-icon { margin-bottom: 16px; opacity: 0.5; }
.empty-state p { color: var(--warm-grey); font-size: 1rem; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.product-card { animation: fadeInUp 0.4s ease both; }

/* ═══════════════════════════════════════
   RESPONSIVE — TABLET 1024px
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-img { aspect-ratio: 3/2; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .hero-stats { gap: 28px; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE 768px
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  /* Header */
  .header-top { display: none; }
  .header-inner {
    flex-wrap: nowrap; gap: 12px;
    justify-content: space-between;
  }
  .nav { display: none; }
  .search-wrap { display: none; }
  .burger-btn { display: flex; }
  .cart-btn span:not(.cart-count) { display: none; }
  .cart-btn { padding: 10px 14px; gap: 6px; }

  /* Hero */
  .hero { min-height: 65vh; }
  .hero .container { padding: 60px 20px 40px; }
  .hero-deco { display: none; }
  .hero-tag { font-size: 0.72rem; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-desc { font-size: 0.95rem; }
  .hero-btns { gap: 10px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .stat strong { font-size: 1.4rem; }
  .stat-divider { height: 28px; }

  /* Promo bar */
  .promo-items { gap: 12px; }
  .promo-divider { display: none; }

  /* Catalog */
  .categories-section { padding: 48px 0 32px; }
  .cats-scroll-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
  .cats-scroll-wrap::-webkit-scrollbar { height: 0; }
  .cat-tabs { flex-wrap: nowrap; gap: 8px; width: max-content; }
  .cat-tab { padding: 7px 16px; font-size: 0.8rem; }
  
  .products-section { padding: 40px 0 60px; }
  .section-head { flex-direction: column; gap: 12px; align-items: flex-start; }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-img-wrap { height: 200px; }
  .product-info { padding: 12px 12px 14px; gap: 4px; }
  .product-name { font-size: 0.92rem; }
  .product-price { font-size: 1.1rem; }
  .add-to-cart-btn { width: 36px; height: 36px; }
  .add-to-cart-btn svg { width: 16px; height: 16px; }
  
  /* About */
  .about-section { padding: 60px 0; }
  .about-img-wrap { aspect-ratio: 3/2; }
  .about-badge { position: static; margin-top: 16px; width: fit-content; }
  
  /* Delivery */
  .delivery-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  
  /* Newsletter */
  .newsletter-wrap { flex-direction: column; gap: 24px; }
  .nl-form { flex-direction: column; }
  .nl-input { min-width: unset; width: 100%; }
  .nl-input-wrap { width: 100%; }
  
  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { max-width: 100%; }
  
  /* Cart */
  .cart-sidebar { width: 100vw; }
  .cart-header { padding: 18px 20px; }
  .cart-body { padding: 16px 20px; }
  .cart-footer { padding: 16px 20px; }

  /* Order modal */
  .order-modal { width: 100vw; }
  .order-modal-inner { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .payment-opts { grid-template-columns: 1fr; }

  /* Product modal */
  .product-modal {
    width: 96vw; max-height: 90vh;
    overflow-y: auto; border-radius: var(--radius-lg);
  }
  .modal-img { aspect-ratio: 4/3; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .modal-details { padding: 24px 20px 28px; }
  .modal-title { font-size: 1.4rem; }

  /* Scroll to top */
  .scroll-top { bottom: 20px; right: 16px; width: 42px; height: 42px; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — SMALL MOBILE 480px
   ═══════════════════════════════════════ */
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-img-wrap { height: 170px; }
  .product-info { padding: 10px 10px 12px; gap: 3px; }
  .product-name { font-size: 0.85rem; line-height: 1.25; }
  .product-price { font-size: 1rem; }
  .product-category { font-size: 0.62rem; }
  .stars-wrap { gap: 2px; }
  .star-ico { width: 11px; height: 11px; }
  .review-count { font-size: 0.68rem; }
  .add-to-cart-btn { width: 34px; height: 34px; }
  .add-to-cart-btn svg { width: 15px; height: 15px; }
  .hero-stats { gap: 14px; }
  .stat-divider { display: none; }
  .delivery-grid { grid-template-columns: 1fr; }
  .hero-btns .btn { padding: 12px 20px; font-size: 0.85rem; }
  .hero-tag { font-size: 0.68rem; padding: 5px 14px; }
  .section-title { font-size: 1.6rem; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — XS 360px
   ═══════════════════════════════════════ */
@media (max-width: 360px) {
  .products-grid { gap: 8px; }
  .product-img-wrap { height: 150px; }
  .logo-name { font-size: 1.1rem; }
  .hero-title { font-size: 1.8rem; }
}

