/* =============================
   СТОМАКС ФАРМ — Main Stylesheet
   ============================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Roboto:wght@300;400;500&display=swap');

/* ---- CSS Variables ---- */
:root {
  --green-dark:   #1b5e2f;
  --green-main:   #2e7d46;
  --green-mid:    #3a9e58;
  --green-light:  #e8f5ee;
  --green-pale:   #f4fbf6;
  --orange:       #ff8c00;
  --red:          #e63946;
  --white:        #ffffff;
  --grey-light:   #f5f5f5;
  --grey-mid:     #e0e0e0;
  --text-dark:    #1c1c1c;
  --text-mid:     #444444;
  --text-light:   #777777;
  --shadow:       0 4px 20px rgba(0,0,0,0.10);
  --shadow-card:  0 2px 12px rgba(0,0,0,0.08);
  --radius:       10px;
  --radius-sm:    6px;
  --transition:   all 0.25s ease;
}

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   HEADER
   =========================== */
header {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.logo-text {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}
.logo-text span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.75;
}

/* Desktop nav */
nav.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
nav.main-nav a {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-transform: uppercase;
}
nav.main-nav a:hover,
nav.main-nav a.active { background: rgba(255,255,255,0.15); }

/* Cart button */
.cart-btn {
  position: relative;
  color: var(--white);
  padding: 8px 16px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 25px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  flex-shrink: 0;
}
.cart-btn:hover { border-color: var(--white); background: rgba(255,255,255,0.15); }
.cart-count {
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
}

/* Mobile burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  background: var(--green-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { padding: 12px 20px 16px; }
.mobile-nav li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav a {
  display: block;
  color: var(--white);
  padding: 12px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 60%, var(--green-mid) 100%);
  color: var(--white);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  left: -60px;
  bottom: -80px;
  width: 350px;
  height: 350px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.hero-content { flex: 1 1 0; min-width: 0; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero p {
  font-size: 17px;
  opacity: 0.88;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--white);
  color: var(--green-dark);
  padding: 14px 32px;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--white);
}
.btn-primary:hover {
  background: transparent;
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 30px;
  border: 2px solid rgba(255,255,255,0.6);
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.hero-image {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}
.hero-image img { width: 100%; max-width: 100%; margin: 0 auto; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
.hero-placeholder {
  width: 300px;
  height: 280px;
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 2px dashed rgba(255,255,255,0.3);
  gap: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 48px;
}
.hero-placeholder span {
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Hero showcase */
.hero-showcase {
  position: relative;
  display: block;
  width: 100%;
}
.hero-showcase-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-showcase img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.12);
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero-showcase img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 40px 100px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.18);
}

/* Stats strip */
.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  opacity: 0.9;
}
.hero-stat-icon { font-size: 22px; }

/* ===========================
   CATEGORY STRIP
   =========================== */
.categories-strip {
  background: var(--white);
  border-bottom: 1px solid var(--grey-mid);
  padding: 16px 0;
}
.categories-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.categories-inner::-webkit-scrollbar { display: none; }
.cat-chip {
  flex-shrink: 0;
  padding: 8px 20px;
  border-radius: 25px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--grey-mid);
  color: var(--text-mid);
  background: var(--white);
  transition: var(--transition);
  white-space: nowrap;
}
.cat-chip:hover,
.cat-chip.active {
  background: var(--green-main);
  color: var(--white);
  border-color: var(--green-main);
}

/* ===========================
   SECTION TITLES
   =========================== */
.section { padding: 70px 0; }
.section-alt { background: var(--green-pale); }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.section-title p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}
.title-line {
  width: 56px;
  height: 4px;
  background: var(--green-main);
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ===========================
   PRODUCT GRID & CARDS
   =========================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border: 1px solid var(--grey-mid);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--green-mid);
}

/* Image area */
.card-image {
  position: relative;
  background: var(--green-pale);
  padding: 28px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.card-image img {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.card-image-placeholder {
  width: 100%;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--green-main);
  font-size: 44px;
}
.card-image-placeholder span {
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-sale {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.badge-category {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--green-main);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}
.badge-form {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(255,255,255,0.9);
  color: var(--text-mid);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid var(--grey-mid);
}

/* Card body */
.card-body {
  padding: 18px 18px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.card-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Price */
.card-footer {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.price-block { display: flex; flex-direction: column; gap: 2px; }
.price-old {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: line-through;
}
.price-new {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--red);
}
.price-currency {
  font-size: 14px;
  font-weight: 600;
}

/* Add to cart button */
.btn-cart {
  background: var(--green-main);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 25px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.btn-cart:hover { background: var(--green-dark); }
.btn-cart.added {
  background: var(--orange);
}

/* View product link */
.btn-view {
  display: block;
  text-align: center;
  padding: 8px 0;
  font-size: 13px;
  color: var(--green-main);
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  border-top: 1px solid var(--grey-light);
  transition: var(--transition);
  margin: 0;
}
.btn-view:hover { background: var(--green-pale); color: var(--green-dark); }

/* ===========================
   FAQ ACCORDION
   =========================== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--grey-mid);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  transition: var(--transition);
  user-select: none;
}
.faq-question:hover { background: var(--green-pale); }
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--green-main);
  transition: var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--green-main); color: var(--white); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
}
.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* ===========================
   WHY US / FEATURES
   =========================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--grey-mid);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-mid); }
.feature-icon {
  font-size: 44px;
  margin-bottom: 14px;
}
.feature-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--green-dark);
}
.feature-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===========================
   DELIVERY PAGE
   =========================== */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.delivery-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--grey-mid);
}
.delivery-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.delivery-card ul { display: flex; flex-direction: column; gap: 10px; }
.delivery-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
}
.delivery-card li::before {
  content: '✓';
  color: var(--green-main);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.info-table th, .info-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--grey-mid);
}
.info-table th {
  background: var(--green-main);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.info-table tr:last-child td { border-bottom: none; }
.info-table tr:nth-child(even) td { background: var(--green-pale); }

/* ===========================
   CONTACTS PAGE
   =========================== */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--grey-mid);
}
.contact-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-light);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14.5px;
  color: var(--text-mid);
}
.contact-item-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.contact-item a { color: var(--green-main); }
.contact-item a:hover { text-decoration: underline; }

.bank-info {
  background: var(--green-pale);
  border: 1px solid var(--green-light);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
}
.bank-info h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 14px;
}
.bank-info table { width: 100%; border-collapse: collapse; }
.bank-info td { padding: 6px 0; font-size: 14px; color: var(--text-mid); }
.bank-info td:first-child { font-weight: 600; color: var(--text-dark); width: 150px; }

/* ===========================
   CART PAGE
   =========================== */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  align-items: start;
}
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-card);
}
.cart-item-image {
  width: 80px;
  height: 80px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.cart-item-form { font-size: 12px; color: var(--text-light); }
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.qty-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--grey-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  background: var(--white);
  color: var(--text-dark);
  transition: var(--transition);
  font-weight: 700;
  line-height: 1;
}
.qty-btn:hover { background: var(--green-main); color: var(--white); border-color: var(--green-main); }
.qty-value {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  min-width: 24px;
  text-align: center;
}
.cart-item-price {
  text-align: right;
  flex-shrink: 0;
}
.cart-item-price .price-new { font-size: 18px; }
.remove-item {
  color: var(--text-light);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: var(--transition);
  margin-left: 8px;
}
.remove-item:hover { color: var(--red); background: #fee; }

.cart-summary {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 90px;
}
.cart-summary h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--grey-mid);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-mid);
}
.summary-row.total {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-dark);
  border-top: 2px solid var(--grey-mid);
  margin-top: 10px;
  padding-top: 14px;
}
.btn-checkout {
  display: block;
  width: 100%;
  background: var(--green-main);
  color: var(--white);
  text-align: center;
  padding: 16px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-top: 20px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-checkout:hover { background: var(--green-dark); }
.empty-cart {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-light);
}
.empty-cart .icon { font-size: 64px; margin-bottom: 20px; }
.empty-cart h3 { font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--text-mid); }
.empty-cart a { color: var(--green-main); font-weight: 600; }

/* ===========================
   PRODUCT DETAIL PAGE
   =========================== */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.detail-image-block {
  background: var(--green-pale);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--grey-mid);
}
.detail-image-block img {
  max-width: 280px;
  border-radius: var(--radius-sm);
}
.detail-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--green-main);
  font-size: 80px;
}
.detail-info {}
.detail-below {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 2px solid var(--grey-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 50px;
}
.detail-below .detail-section:nth-child(odd):last-child {
  grid-column: 1 / -1;
}
.detail-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}
.tag-green { background: var(--green-light); color: var(--green-dark); }
.tag-orange { background: #fff4e0; color: var(--orange); }
.tag-red { background: #fee; color: var(--red); }
.detail-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.detail-subtitle {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 24px;
}
.detail-price-block {
  background: var(--green-pale);
  border: 1px solid var(--green-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.detail-price-old { font-size: 15px; color: var(--text-light); text-decoration: line-through; }
.detail-price-new {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--red);
}
.detail-price-new span { font-size: 18px; }
.detail-discount {
  background: var(--red);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.btn-add-detail {
  width: 100%;
  background: var(--green-main);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  margin-bottom: 14px;
  border: none;
  cursor: pointer;
}
.btn-add-detail:hover { background: var(--green-dark); }

.detail-section {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--grey-mid);
}
.detail-section h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--green-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.detail-section p, .detail-section li {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.7;
}
.detail-section ul { display: flex; flex-direction: column; gap: 6px; }
.detail-section li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.detail-section li::before {
  content: '🌿';
  flex-shrink: 0;
  font-size: 14px;
}
.usage-steps {
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--green-main); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--grey-mid); }

/* ===========================
   NEWSLETTER / PROMO
   =========================== */
.promo-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: var(--white);
  border-radius: var(--radius);
  padding: 50px 40px;
  text-align: center;
}
.promo-banner h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
  margin-bottom: 12px;
}
.promo-banner p { font-size: 16px; opacity: 0.85; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.newsletter-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
  gap: 0;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  outline: none;
  color: var(--text-dark);
}
.newsletter-form button {
  padding: 14px 24px;
  background: var(--orange);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.newsletter-form button:hover { background: #e07b00; }

/* ===========================
   FOOTER
   =========================== */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.footer-col .logo-text { color: var(--white); font-size: 20px; margin-bottom: 12px; }
.footer-col .logo-text span { opacity: 0.6; font-size: 12px; }
.footer-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
  line-height: 1.5;
}
.footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-contact-item a:hover { color: var(--white); }
.footer-contact-icon { flex-shrink: 0; font-size: 16px; margin-top: 1px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-bottom-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* ===========================
   TOAST / NOTIFICATION
   =========================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--green-dark);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideUp 0.3s ease;
  min-width: 260px;
}
.toast.removing { animation: slideDown 0.3s ease forwards; }
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes slideDown {
  from { transform: translateY(0); opacity: 1; }
  to   { transform: translateY(40px); opacity: 0; }
}

/* ===========================
   COOKIE BANNER
   =========================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--green-dark);
  color: var(--white);
  padding: 20px;
  z-index: 8000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transform: translateY(0);
  transition: transform 0.4s ease;
}
.cookie-banner.hidden { transform: translateY(110%); }
.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-text { font-size: 14px; color: rgba(255,255,255,0.85); flex: 1; min-width: 200px; }
.cookie-text a { color: rgba(255,255,255,0.75); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn {
  padding: 9px 18px;
  border-radius: 25px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.cookie-btn-accept { background: var(--white); color: var(--green-dark); border: none; }
.cookie-btn-accept:hover { background: var(--green-pale); }
.cookie-btn-partial { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.cookie-btn-partial:hover { border-color: var(--white); }
.cookie-btn-decline { background: transparent; color: rgba(255,255,255,0.6); border: none; font-size: 12px; }
.cookie-btn-decline:hover { color: var(--white); }

/* ===========================
   PAGE HERO (inner pages)
   =========================== */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 100%);
  color: var(--white);
  padding: 50px 0;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  margin-bottom: 10px;
}
.page-hero p {
  font-size: 15px;
  opacity: 0.8;
  max-width: 500px;
  margin: 0 auto;
}

/* ===========================
   UTILS / MISC
   =========================== */
.text-center { text-align: center; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }
.no-products {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  font-size: 15px;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: 30px;
  padding: 10px 20px;
  max-width: 360px;
  margin: 0 auto 30px;
  box-shadow: var(--shadow-card);
}
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
  background: transparent;
}
.search-bar span { color: var(--text-light); font-size: 18px; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.page-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--grey-mid);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-mid);
  background: var(--white);
}
.page-num.active, .page-num:hover { background: var(--green-main); color: var(--white); border-color: var(--green-main); }

/* ===========================
   PACKAGE SELECTOR
   =========================== */
.pkg-selector {
  margin-bottom: 20px;
}
.pkg-selector-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pkg-selector-label::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 14px;
  background: var(--green-main);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Vertical list, bordered container */
.pkg-grid {
  display: flex;
  flex-direction: column;
  border: 1.5px solid #ccd9d2;
  border-radius: 10px;
  overflow: hidden;
}

/* Each row */
.pkg-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  cursor: pointer;
  background: var(--white);
  border-bottom: 1px solid #e5eeea;
  transition: background 0.18s;
  position: relative;
}
.pkg-option:last-child {
  border-bottom: none;
}
.pkg-option:hover {
  background: #f0f7f2;
}
.pkg-option.selected {
  background: #e8f4ec;
}

/* Radio circle */
.pkg-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #b5c9be;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.18s, background 0.18s;
}
.pkg-option.selected .pkg-radio {
  border-color: var(--green-main);
  background: var(--green-main);
}
.pkg-radio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0;
  transition: opacity 0.15s;
}
.pkg-option.selected .pkg-radio-dot {
  opacity: 1;
}

/* Info column */
.pkg-info {
  flex: 1;
  min-width: 0;
}
.pkg-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pkg-qty-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

/* Badge — inline, not floating */
.pkg-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 10px;
  line-height: 1.5;
  white-space: nowrap;
  pointer-events: none;
}
.pkg-badge-popular {
  background: var(--orange);
  color: var(--white);
}
.pkg-badge-best {
  background: #6d28d9;
  color: var(--white);
}

/* Delivery sub-line */
.pkg-delivery-text {
  font-size: 11px;
  font-weight: 600;
  margin-top: 3px;
  line-height: 1.3;
}
.pkg-delivery-text.included { color: var(--green-main); }
.pkg-delivery-text.excluded { color: var(--text-light); }

/* Price group (right side) */
.pkg-prices {
  text-align: right;
  flex-shrink: 0;
}
.pkg-per-unit {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 2px;
  white-space: nowrap;
}
.pkg-price-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.1;
  white-space: nowrap;
}

/* ---- Card promo strip (catalog) ---- */
.card-promo-strip {
  padding: 9px 14px 10px;
  border-top: 1px solid var(--grey-light);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.card-promo-strip-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-light);
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-basis: 100%;
  margin-bottom: 2px;
}
.promo-chip {
  font-size: 11px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  background: var(--green-pale);
  color: var(--green-dark);
  border: 1px solid var(--green-light);
  padding: 4px 9px;
  border-radius: 12px;
  white-space: nowrap;
  transition: var(--transition);
  cursor: default;
}
.promo-chip.highlight {
  background: #fff4e0;
  color: #b45309;
  border-color: #fcd34d;
}
.promo-chip.best-val {
  background: #f3e8ff;
  color: #6d28d9;
  border-color: #c4b5fd;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  nav.main-nav { display: none; }
  .burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-inner { flex-direction: column; gap: 24px; text-align: center; }
  .hero-content { order: 1; }
  .hero-image { order: 2; width: 100%; max-width: 480px; margin: 0 auto; }
  .hero-stats { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .detail-image-block { position: static; }
  .detail-below { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { padding: 50px 0 60px; }
  .section { padding: 50px 0; }
  .cart-item { flex-wrap: wrap; }
  .cart-item-price { width: 100%; text-align: left; }
  .newsletter-form { flex-direction: column; border-radius: var(--radius); }
  .newsletter-form input { border-radius: var(--radius) var(--radius) 0 0; }
  .newsletter-form button { border-radius: 0 0 var(--radius) var(--radius); }
  .cookie-buttons { width: 100%; }
  /* Package selector: compact on small screens */
  .pkg-option { padding: 12px 14px; gap: 10px; }
  .pkg-qty-text { font-size: 14px; }
  .pkg-price-text { font-size: 16px; }
  .pkg-per-unit { font-size: 10px; }
}

/* ===========================
   MOBILE CART FAB
   =========================== */
.mobile-cart-fab {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-main);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  z-index: 7500;
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.25);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.mobile-cart-fab:hover {
  background: var(--green-dark);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 28px rgba(0,0,0,0.4);
}
.mobile-fab-count {
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
@media (max-width: 900px) {
  .mobile-cart-fab { display: flex; }
  body.has-mobile-fab { padding-bottom: 80px; }
  body.has-mobile-fab .toast-container { bottom: 84px; }
}

/* ===========================
   CHECKOUT PAGE
   =========================== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  align-items: start;
}
.checkout-block {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}
.checkout-block h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-light);
}
.form-row { margin-bottom: 16px; }
.form-row:last-child { margin-bottom: 0; }
.form-row label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-mid);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-row .optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-light);
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-sm);
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(46,125,70,0.12);
}
.form-row input.error,
.form-row select.error { border-color: var(--red); box-shadow: 0 0 0 3px rgba(230,57,70,0.1); }
.form-row select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23777' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-row textarea { resize: vertical; min-height: 80px; }
.delivery-fields { margin-top: 16px; }
.delivery-fields.hidden { display: none; }
/* City autocomplete */
.city-ac-wrap { position: relative; }
.city-ac-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0; right: 0;
  background: var(--white);
  border: 1.5px solid var(--green-main);
  border-radius: var(--radius-sm);
  max-height: 200px;
  overflow-y: auto;
  z-index: 500;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.city-ac-item {
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
  border-bottom: 1px solid var(--grey-light);
}
.city-ac-item:last-child { border-bottom: none; }
.city-ac-item:hover { background: var(--green-pale); color: var(--green-dark); }
.form-row input:disabled {
  background: var(--grey-light);
  color: var(--text-light);
  cursor: not-allowed;
}

.checkout-error {
  background: #fff0f0;
  border: 1px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--red);
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.6;
}
.checkout-error.hidden { display: none; }
.checkout-error a { color: var(--red); font-weight: 700; text-decoration: underline; }
.checkout-summary-col { position: sticky; top: 90px; }
.checkout-summary-items {
  max-height: 280px;
  overflow-y: auto;
  padding-right: 2px;
  margin-bottom: 16px;
}
.co-sum-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--grey-light);
  font-size: 13px;
}
.co-sum-item:last-child { border-bottom: none; }
.co-sum-item-img {
  width: 44px; height: 44px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.co-sum-item-img img { width: 40px; height: 40px; object-fit: contain; }
.co-sum-item-name { flex: 1; font-weight: 600; line-height: 1.3; color: var(--text-dark); }
.co-sum-item-price { font-weight: 700; color: var(--red); white-space: nowrap; }

/* ===========================
   THANK YOU PAGE
   =========================== */
.thankyou-section { padding: 60px 0 80px; }
.thankyou-box { max-width: 700px; margin: 0 auto; }
.thankyou-icon { font-size: 72px; text-align: center; margin-bottom: 20px; }
.thankyou-box h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 12px;
  text-align: center;
}
.thankyou-box > p {
  font-size: 16px; color: var(--text-mid);
  line-height: 1.7; text-align: center; margin-bottom: 36px;
}
.order-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}
.order-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--green-light);
}
.order-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 7px 0; font-size: 14px;
  border-bottom: 1px solid var(--grey-light);
}
.order-row:last-child { border-bottom: none; }
.order-row .lbl { color: var(--text-light); flex-shrink: 0; }
.order-row .val { font-weight: 600; text-align: right; }
.order-row.total {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 17px; color: var(--text-dark);
  border-top: 2px solid var(--grey-mid);
  margin-top: 8px; padding-top: 14px; border-bottom: none;
}
.ty-phones {
  background: var(--green-pale);
  border: 1px solid var(--green-light);
  border-radius: var(--radius);
  padding: 24px 28px; text-align: center; margin-top: 24px;
}
.ty-phones h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--green-dark); text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 14px;
}
.ty-phones a {
  display: inline-block;
  color: var(--green-main);
  font-family: 'Montserrat', sans-serif;
  font-size: 20px; font-weight: 700;
  margin: 4px 16px;
}
.ty-phones a:hover { color: var(--green-dark); }
.ty-back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-main); color: var(--white);
  padding: 14px 32px; border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px; font-weight: 700;
  margin-top: 30px; transition: var(--transition);
}
.ty-back-btn:hover { background: var(--green-dark); }

@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary-col { position: static; order: -1; }
}


/* ===========================
   COOKIE CONSENT BANNER (v2)
   =========================== */

/* Убираем старый банер — он заменён новым */
.cookie-banner { display: none !important; }

:root {
  --cc-bg:                      #0f2318;
  --cc-text:                    #e8f5ee;
  --cc-btn-primary-bg:          #2e7d46;
  --cc-btn-primary-text:        #ffffff;
  --cc-btn-primary-hover-bg:    #1b5e2f;
  --cc-btn-secondary-bg:        #1a3024;
  --cc-btn-secondary-text:      #c8e6d4;
  --cc-btn-secondary-hover-bg:  #243f2e;
  --cc-toggle-bg-off:           #3a5a44;
  --cc-toggle-bg-on:            #2e7d46;
  --cc-toggle-bg-readonly:      #2a4035;
  --cc-toggle-knob-bg:          #ffffff;
  --cc-border-radius:           8px;
  --cc-btn-border-radius:       6px;
}

.cc_div {
  font-family: 'Roboto', -apple-system, sans-serif;
  font-size: 15px;
  color: var(--cc-text);
}

#cm {
  background: var(--cc-bg);
  max-width: 24em;
  position: fixed;
  bottom: 1.25em;
  right: 1.25em;
  border-radius: var(--cc-border-radius);
  box-shadow: 0 0.625em 2.5em rgba(0,0,0,0.55);
  padding: 1.3em 1.5em 1.6em;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
  z-index: 9990;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  border: 1px solid rgba(46,125,70,0.3);
}

.show--consent #cm {
  opacity: 1;
  transform: scale(1);
  visibility: visible !important;
}

#c-ttl {
  font-weight: 700;
  font-size: 1.05em;
  margin-bottom: 0.7em;
  color: #68c985;
  font-family: 'Montserrat', sans-serif;
}

#c-txt {
  font-size: 0.9em;
  line-height: 1.5em;
  margin-bottom: 0.8em;
  color: var(--cc-text);
  opacity: 0.85;
}

#c-txt p { margin: 0; }

.cookie-options {
  margin: 0.8em 0 1em;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.cookie-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  min-height: 1.5em;
  gap: 0.9em;
  font-size: 0.9em;
}

.cookie-checkbox span.cookie-text {
  flex: 1;
}

.cookie-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
}

.cc_div .b-tg {
  position: relative;
  display: inline-block;
  width: 3.2em;
  height: 1.5em;
  flex-shrink: 0;
}

.cc_div .b-tg .c-tg {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  background: var(--cc-toggle-bg-off);
  border-radius: 4em;
  transition: background-color 0.25s ease;
}

.cc_div .b-tg .c-tg:after {
  position: absolute;
  content: "";
  height: 1.15em;
  width: 1.15em;
  border-radius: 100%;
  background: var(--cc-toggle-knob-bg);
  top: 0.175em;
  left: 0.175em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.cookie-checkbox input:checked ~ .b-tg .c-tg {
  background: var(--cc-toggle-bg-on);
}

.cookie-checkbox input:checked ~ .b-tg .c-tg:after {
  transform: translateX(1.7em);
  box-shadow: 0 2px 6px rgba(46,125,70,0.5);
}

.cookie-checkbox input:disabled ~ .b-tg .c-tg {
  background: var(--cc-toggle-bg-readonly);
  cursor: not-allowed;
}

.cc_div #c-bns {
  display: flex;
  justify-content: space-between;
  margin-top: 1.2em;
  gap: 0.6em;
}

.cc_div .c-bn {
  color: var(--cc-btn-secondary-text);
  background: var(--cc-btn-secondary-bg);
  padding: 0.75em 0.9em;
  display: inline-block;
  cursor: pointer;
  font-size: 0.8em;
  text-align: center;
  border-radius: var(--cc-btn-border-radius);
  flex: 1;
  border: none;
  transition: all 0.22s ease;
  font-family: inherit;
  font-weight: 500;
}

.cc_div .c-bn:hover {
  background: var(--cc-btn-secondary-hover-bg);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}

.cc_div .c-bn.accept-all {
  background: var(--cc-btn-primary-bg);
  color: var(--cc-btn-primary-text);
}

.cc_div .c-bn.accept-all:hover {
  background: var(--cc-btn-primary-hover-bg);
}

.cc-privacy-link {
  color: #68c985;
  text-decoration: none;
  border-bottom: 1px solid rgba(104,201,133,0.5);
  transition: all 0.2s ease;
  font-size: 0.85em;
}

.cc-privacy-link:hover {
  border-color: transparent;
  color: #8fe3a6;
}

.cc_div > p {
  margin: 0.5em 0 0;
  font-size: 0.82em;
  opacity: 0.8;
}

@media screen and (max-width: 688px) {
  #cm {
    left: 0.75em;
    right: 0.75em;
    bottom: 85px;
    width: auto;
    max-width: 100%;
  }
  .cc_div #c-bns {
    flex-direction: column;
    gap: 0.5em;
  }
  .cc_div .c-bn {
    width: 100%;
  }
}
