:root {
  --primary: #006420;
  --primary-light: #43B649;
  --primary-hover: #00B05A;
  --accent: #2CCF80;
  --danger: #E20F38;
  --dark: #242625;
  --text: #5C657F;
  --bg: #F6F6F6;
  --white: #FFFFFF;
  --border: #ECEDED;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 9999px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 32px rgba(0,100,32,0.12);
  --transition: 0.3s ease-in-out;
  --container: 1328px;
  --header-h: 80px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.5;
  padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ══════ HEADER (zabka.pl style) ══════ */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: var(--white);
  box-shadow: 0px 4px 39px 0px #eaedef;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.main-header .container {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 32px;
}

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -1px;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--text);
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  gap: 4px;
  flex: 1;
}

.nav-link {
  text-decoration: none;
  color: var(--dark);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-link:hover { background: var(--bg); }
.nav-link.active { background: var(--primary); color: var(--white); }

.header-icons {
  display: flex;
  gap: 16px;
}

.header-icon-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--dark);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.header-icon-link:hover { background: var(--bg); }
.header-icon { font-size: 1.1rem; }
.header-icon-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
}

/* ══════ HERO SLIDER ══════ */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider-container {
  position: relative;
  max-width: 100%;
}

.slides {
  position: relative;
  height: 420px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  align-items: center;
}

.slide.active { opacity: 1; z-index: 1; }

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,50,10,0.85) 0%, rgba(0,50,10,0.4) 60%, transparent 100%);
  z-index: 0;
}

.slide-overlay-banner {
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.35) 100%);
}

.slide-overlay-banner + .slide-content .slide-text {
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  padding-bottom: 8px;
}

.slide-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

.slide-text { max-width: 600px; }

.slide-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.slide-title .highlight {
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-time {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  font-size: 2rem;
  font-weight: 800;
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.slide-time sup { font-size: 0.6em; }

.slide-promo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.promo-label {
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.promo-price {
  color: #FFD700;
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.slide-desc {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.slide-btn {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.slide-btn:hover { transform: scale(1.05); box-shadow: var(--shadow-hover); }

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

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active { background: var(--white); transform: scale(1.2); }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  font-size: 2.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover { background: rgba(255,255,255,0.4); }
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

/* ══════ SECTIONS ══════ */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 32px;
  color: var(--dark);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.see-all {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.see-all:hover { color: var(--primary-hover); }

.categories-section, .products-section, .services-section {
  padding: 48px 0;
}

.products-section { background: var(--bg); }

/* ══════ CATEGORIES ══════ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px;
  background: var(--white);
  border-radius: 16px;
  text-decoration: none;
  color: var(--dark);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.category-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 4px 16px rgba(0,100,32,0.12);
  transform: translateY(-4px);
}

.category-img {
  width: 72px;
  height: 72px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
  border-radius: 14px;
  overflow: hidden;
}

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

.emoji-fallback {
  font-size: 2rem;
}

.category-name {
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  color: #242625;
}

/* ══════ PRODUCTS ══════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

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

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

.product-image {
  position: relative;
  height: 180px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  max-width: 75%;
  max-height: 75%;
  object-fit: contain;
}

.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary-light);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
}

.product-info { padding: 16px; }

.product-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
}

.product-desc {
  color: var(--text);
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-price {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}

.product-price sup {
  font-size: 0.5em;
  font-weight: 700;
}

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

/* ══════ SERVICES ══════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--bg);
  padding: 28px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.service-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.service-card h4 { margin-bottom: 6px; font-weight: 700; }
.service-card p { color: var(--text); font-size: 0.85rem; }

/* ══════ APP PROMO ══════ */
.app-promo {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  text-align: center;
}

.promo-content h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.promo-content p { opacity: 0.9; margin-bottom: 24px; font-size: 1.1rem; }

/* ══════ BUTTONS ══════ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary { background: var(--white); color: var(--primary); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* ══════ PAGE HERO ══════ */
.page-hero {
  background: var(--primary);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
}

.page-hero h1 { font-size: 2.5rem; font-weight: 800; }

/* ══════ FILTER BAR ══════ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  padding: 16px 0;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  border: 2px solid var(--border);
  transition: var(--transition);
  font-size: 0.9rem;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.catalog-section { padding: 40px 0; }
.empty-state { text-align: center; padding: 60px; color: var(--text); }

/* ══════ DOWNLOAD ══════ */
.download-section { padding: 60px 0; }

.download-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
  text-align: center;
}

.app-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 4px 16px rgba(0,100,32,0.3);
}

.captcha-block {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.captcha-image { background: var(--bg); padding: 8px; border-radius: var(--radius-sm); }
.captcha-image svg { max-width: 100%; }
.captcha-refresh { color: var(--primary); text-decoration: none; font-size: 0.9rem; }

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

.form-group input, .captcha-form input[type="text"], .captcha-form input[type="tel"], .form-select {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form label {
  display: block;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}

.form-group input:focus, .captcha-form input:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
}

.download-success .success-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

.token-display {
  background: var(--bg);
  padding: 16px;
  border-radius: var(--radius-sm);
  font-family: 'Courier New', monospace;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 16px 0;
  color: var(--primary);
  border: 2px dashed var(--primary-light);
}

.token-hint { color: var(--text); font-size: 0.85rem; margin-bottom: 24px; }

.btn-large { padding: 16px 40px; font-size: 1.1rem; background: var(--primary); color: white; }
.btn-large:hover { background: var(--primary-hover); }

/* ══════ ABOUT ══════ */
.about-section { padding: 60px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
  align-items: center;
}

.about-content h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.about-content p { color: var(--text); margin-bottom: 12px; line-height: 1.7; }
.text-green { color: var(--primary-light); }

.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.stat-card {
  background: var(--bg);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
}

.stat-number { display: block; font-size: 1.8rem; font-weight: 900; color: var(--primary); }
.stat-label { color: var(--text); font-size: 0.85rem; }

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

.feature-card {
  background: var(--bg);
  padding: 32px;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover { box-shadow: var(--shadow); }
.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--text); font-size: 0.9rem; }

/* ══════ FOOTER ══════ */
.main-footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 24px;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-desc { color: rgba(255,255,255,0.6); margin-top: 12px; font-size: 0.9rem; }
.footer-col h4 { margin-bottom: 16px; }

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-bottom: 8px;
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-col a:hover { color: var(--accent); }
.footer-col p { color: rgba(255,255,255,0.6); margin-bottom: 4px; font-size: 0.9rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

.footer-logo .logo-text { color: var(--white); font-size: 1.8rem; }

/* ══════ ALERTS ══════ */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 0.9rem; }
.alert-error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }

/* ══════ ADMIN (dark theme) ══════ */
.admin-body { background: #1a1d23; padding-top: 0; }
.admin-login { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.admin-login-card { background: #2a2d35; padding: 40px; border-radius: var(--radius); width: 100%; max-width: 400px; text-align: center; }
.admin-login-card h1 { color: var(--primary-light); margin-bottom: 24px; }
.admin-wrapper { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: #2a2d35; padding: 24px 16px; display: flex; flex-direction: column; }
.sidebar-header { display: flex; align-items: center; gap: 8px; margin-bottom: 32px; padding: 0 8px; }
.sidebar-header h2 { color: var(--primary-light); }
.admin-badge { background: var(--primary); color: white; padding: 2px 8px; border-radius: var(--radius-pill); font-size: 0.7rem; }
.sidebar-nav { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.sidebar-link { display: block; padding: 10px 16px; color: rgba(255,255,255,0.7); text-decoration: none; border-radius: var(--radius-sm); transition: var(--transition); }
.sidebar-link:hover, .sidebar-link.active { background: var(--primary); color: white; }
.sidebar-logout { color: rgba(255,255,255,0.5); text-decoration: none; padding: 10px 16px; font-size: 0.9rem; }
.admin-main { padding: 32px; overflow-y: auto; }
.admin-tab { display: none; }
.admin-tab.active { display: block; }
.admin-tab h2 { color: white; margin-bottom: 24px; }
.admin-form { background: #2a2d35; padding: 20px; border-radius: var(--radius-sm); margin-bottom: 24px; }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.form-row input, .form-row select { padding: 10px 14px; border: 1px solid #3a3d45; background: #1a1d23; color: white; border-radius: var(--radius-sm); font-size: 0.9rem; flex: 1; min-width: 120px; }
.form-row input:focus, .form-row select:focus { outline: none; border-color: var(--primary-light); }
.checkbox-label { color: rgba(255,255,255,0.7); font-size: 0.9rem; display: flex; align-items: center; gap: 6px; }
.admin-table-wrapper { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; background: #2a2d35; border-radius: var(--radius-sm); overflow: hidden; }
.admin-table th { padding: 12px 16px; text-align: left; color: rgba(255,255,255,0.5); font-weight: 500; font-size: 0.8rem; text-transform: uppercase; border-bottom: 1px solid #3a3d45; }
.admin-table td { padding: 12px 16px; color: rgba(255,255,255,0.8); border-bottom: 1px solid #3a3d45; font-size: 0.9rem; }
.table-img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.inactive-row { opacity: 0.5; }
.mono { font-family: 'Courier New', monospace; font-size: 0.85rem; }
.items-cell { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-badge { padding: 4px 10px; border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 600; }
.status-badge.active { background: rgba(67,182,73,0.2); color: var(--primary-light); }
.status-badge.inactive { background: rgba(226,15,56,0.2); color: var(--danger); }
.btn-small { padding: 6px 12px; border: 1px solid #3a3d45; background: transparent; color: rgba(255,255,255,0.7); border-radius: var(--radius-sm); cursor: pointer; font-size: 0.8rem; transition: var(--transition); }
.btn-small:hover { border-color: var(--primary-light); color: white; }
.btn-danger { color: var(--danger); }
.btn-danger:hover { border-color: var(--danger); background: rgba(226,15,56,0.1); }
.hint { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-top: 12px; }

/* ══════ PROMO BANNERS ══════ */
.promo-banners { padding: 40px 0; }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo-banner-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 220px;
  display: block;
  text-decoration: none;
  background: linear-gradient(135deg, #006420, #43B649);
}
.promo-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ══════ CART ══════ */
.cart-link { position: relative; }
.cart-count {
  display: none;
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
}
body.cart-open { overflow: hidden; }
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1190;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
#checkout-overlay { z-index: 1240; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 32px rgba(0,0,0,0.12);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1200;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-header h2 { font-size: 1.25rem; }
.cart-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg);
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}
.cart-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--text);
}
.cart-empty-icon { font-size: 3rem; margin-bottom: 12px; }
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-image {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-image img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.cart-item-price { color: var(--primary); font-weight: 700; margin-bottom: 8px; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; }
.qty-btn, .cart-remove {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 0.85rem;
}
.cart-remove { margin-left: auto; color: var(--danger); }
.cart-footer {
  padding: 20px 24px 28px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.cart-checkout-btn { width: 100%; }
.cart-checkout-hint {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text);
  text-align: center;
}
.btn-add-cart {
  width: 100%;
  margin-top: 12px;
  padding: 10px 14px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-add-cart:hover { background: var(--primary-hover); }
.btn-add-cart.added { background: var(--primary-light); }
.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  opacity: 0;
  transition: 0.25s ease;
  z-index: 1300;
  pointer-events: none;
}
.cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.checkout-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1250;
  pointer-events: none;
}
.checkout-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.checkout-modal-card {
  position: relative;
  width: min(480px, 100%);
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-hover);
}
.checkout-close { position: absolute; top: 12px; right: 12px; }

.promo-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
}
.promo-banner-overlay h3 {
  font-size: 1.2rem;
  margin: 0 0 8px;
}
.promo-banner-btn {
  display: inline-block;
  padding: 6px 16px;
  background: #fff;
  color: #006420;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Services updated */
.section-subtitle {
  color: #666;
  font-size: 1rem;
  margin-top: -10px;
  margin-bottom: 24px;
}
.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: #e6f7ed;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.service-icon-wrap .service-icon { font-size: 1.5rem; }
.service-icon-wrap .service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.service-card {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.service-card h4 { margin: 0 0 6px; font-size: 0.95rem; color: #242625; }
.service-card p { margin: 0; font-size: 0.85rem; color: #666; }

/* App Promo */
.app-promo {
  padding: 60px 0;
  color: #fff;
  margin-top: 40px;
}
.app-promo .promo-content {
  max-width: 500px;
}
.app-promo h2 { font-size: 2rem; margin-bottom: 12px; }
.app-promo p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 24px; }
.btn-white {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: #006420;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-white:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ══════ RESPONSIVE ══════ */
@media (max-width: 992px) {
  .header-icons { display: none; }
  .header-icons.open { display: flex; position: absolute; top: var(--header-h); right: 0; background: white; padding: 16px; flex-direction: column; box-shadow: var(--shadow); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
  .slides { height: 300px; }
  .slide-title { font-size: 2.2rem; }
}

/* ══════ GAZETKA ══════ */
.gazetka-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff; padding: 48px 0; }
.gazetka-hero h1 { color: #fff; }
.hero-subtitle { opacity: 0.9; font-size: 1.1rem; margin-top: 8px; }
.gazetka-valid { font-size: 0.9rem; margin-top: 6px; opacity: 0.85; }
.back-link { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.9rem; display: inline-block; margin-bottom: 12px; }
.back-link:hover { color: #fff; }

.gazetka-section { padding: 40px 0; }

.gazetka-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.gazetka-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--dark);
  transition: var(--transition);
}
.gazetka-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

.gazetka-cover { height: 320px; background: var(--bg); overflow: hidden; position: relative; }
.gazetka-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gazetka-card:hover .gazetka-cover img { transform: scale(1.05); }
.gazetka-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.gazetka-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.3s;
}
.gazetka-card:hover .gazetka-badge { opacity: 1; transform: translateY(0); }

.gazetka-info { padding: 16px; }
.gazetka-info h3 { margin-bottom: 4px; font-size: 1.1rem; }
.gazetka-subtitle { color: var(--text); font-size: 0.9rem; margin-bottom: 6px; }
.gazetka-dates { font-size: 0.82rem; color: var(--primary); font-weight: 600; margin-bottom: 6px; }
.gazetka-pages-count { font-size: 0.8rem; background: var(--bg); padding: 3px 10px; border-radius: 12px; color: var(--text); }

/* ══════ PLATFORM DETECTION (download) ══════ */
.platform-notice {
  text-align: center;
  padding: 24px;
  margin-bottom: 20px;
  background: #f0faf3;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 100, 32, 0.15);
}
.notice-icon { font-size: 2rem; margin-bottom: 8px; }
.platform-notice h3 { color: var(--primary); margin-bottom: 8px; font-size: 1.1rem; }
.platform-notice p { color: var(--text); font-size: 0.9rem; margin-bottom: 6px; line-height: 1.5; }

.btn-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0088cc;
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-telegram:hover { background: #006daa; transform: translateY(-1px); }

.manager-hint {
  text-align: center;
  color: var(--text);
  font-size: 0.82rem;
  margin-top: 12px;
  opacity: 0.7;
}

.platform-divider {
  text-align: center;
  margin: 24px 0 16px;
  position: relative;
}
.platform-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #ddd;
}
.platform-divider span {
  position: relative;
  background: var(--white);
  padding: 0 16px;
  font-size: 0.85rem;
  color: var(--text);
}

.btn-outline {
  display: block;
  width: 100%;
  padding: 12px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.gazetka-detail-section { padding: 32px 0; }
.empty-state { text-align: center; padding: 60px 20px; }

@media (max-width: 768px) {
  .main-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--white); flex-direction: column; padding: 16px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .mobile-menu-btn { display: flex; }
  .slides { height: 260px; }
  .slide-title { font-size: 1.8rem; }
  .slide-content { padding: 0 24px; }
  .slider-arrow { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .admin-wrapper { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .gazetka-grid { grid-template-columns: 1fr; }
  .gazetka-cover { height: 240px; }
}
