/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #4a7c59;
  --green-light: #e8f0eb;
  --green-dark: #2d5a3d;
  --honey: #8fa888;
  --honey-light: #eef2e7;
  --text: #2c2c2c;
  --text-muted: #666;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: #f9f6f0;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== LAYOUT HELPERS ===== */
.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.section--alt { background: var(--white); }
.section--dark { background: var(--green-dark); color: var(--white); }
.section--honey { background: var(--honey-light); }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; margin-bottom: .5rem; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .3rem; }
h4 { font-size: 1rem; font-weight: 700; margin-bottom: .2rem; }
p { margin-bottom: 1rem; }

.label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .6rem;
}
.section--dark .label { color: #a8d5b5; }
.text-white { color: var(--white); }
.text-light { color: #c8e6d0; }

/* ===== NAV ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e0e0e0;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.nav-brand { font-weight: 800; font-size: 1.1rem; color: var(--green-dark); }
.nav-links { display: flex; gap: 10px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  border: 2px solid var(--green);
  color: var(--green);
  background: transparent;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--green); color: var(--white); text-decoration: none; }
.btn--solid { background: var(--green); color: var(--white); }
.btn--solid:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn--honey { border-color: var(--honey); color: var(--honey); }
.btn--honey:hover { background: var(--honey); color: var(--white); }
.btn--on-dark { border-color: #a8d5b5; color: #a8d5b5; }

/* ===== HERO ===== */
#hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, #6aab7e 100%);
  color: var(--white);
  padding: 80px 20px 60px;
}
.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-inner img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 380px;
  object-fit: cover;
}
#hero .label { color: #a8d5b5; }
#hero h1 { color: var(--white); margin-bottom: .5rem; }
#hero h2 { color: #c8e6d0; font-weight: 400; font-size: 1.2rem; margin-bottom: 1.2rem; }
#hero p { color: #dceee2; margin-bottom: 1.4rem; }
.hero-phone { font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 1.5rem; }
.hero-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 2rem; }

.stats-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.stat { flex: 1; min-width: 120px; }
.stat-value { font-size: 1.6rem; font-weight: 800; color: var(--white); }
.stat-label { font-size: .85rem; color: #c8e6d0; }
.stat-sub { font-size: .8rem; color: #a8d5b5; }

/* ===== OFFER TABLE ===== */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; }
table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
thead tr { background: var(--green); color: var(--white); }
thead th { padding: 12px 16px; text-align: left; font-size: .9rem; }
tbody tr:nth-child(even) { background: var(--green-light); }
tbody tr:nth-child(odd) { background: var(--white); }
tbody td { padding: 11px 16px; font-size: .95rem; }
.price { font-weight: 700; color: var(--green-dark); }
.offer-note { margin-top: 20px; font-size: 1.1rem; font-weight: 700; color: var(--green-dark); text-align: center; }
.offer-shipping-note { margin-top: 4px; font-size: .9rem; color: var(--text-muted); text-align: center; }
.offer-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.offer-images img { border-radius: var(--radius); height: 320px; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.offer-images__beekeeper { object-position: center top; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.about-grid img { border-radius: var(--radius); width: 100%; height: 260px; object-fit: cover; }
.values-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.value-card { background: var(--green-light); border-radius: var(--radius); padding: 18px; }
.value-card h4 { color: var(--green-dark); }
.value-card p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ===== NATURAL METHODS ===== */
.methods-hero { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; }
.methods-hero img { width: 100%; height: 320px; object-fit: cover; }
.methods-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,60,40,.75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
}
.methods-hero-overlay h3 { color: var(--white); margin: 0; font-size: clamp(1.3rem, 3vw, 1.8rem); }
.methods-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.method-card { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border-top: 4px solid var(--green); }
.method-card h4 { color: var(--green-dark); margin-bottom: .4rem; }
.method-card p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ===== HONEY PRODUCT CARDS ===== */
.honey-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-bottom: 60px; }
.honey-card:last-child { margin-bottom: 0; }
.honey-card.reverse img { order: -1; }
.honey-card img { border-radius: var(--radius); width: 100%; max-height: 480px; object-fit: contain; box-shadow: var(--shadow); background: var(--honey-light); }
.honey-props { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.honey-prop { background: var(--honey-light); border-radius: 8px; padding: 14px; border-left: 3px solid var(--honey); }
.honey-prop h4 { color: var(--green-dark); font-size: .9rem; }
.honey-prop p { font-size: .82rem; color: var(--text-muted); margin: 0; }
.mini-table { margin-top: 16px; }
.mini-table table { box-shadow: none; border: 1px solid #e0e0e0; }
.mini-table thead tr { background: var(--green-dark); }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
.contact-card { background: rgba(255,255,255,.12); border-radius: var(--radius); padding: 20px; border: 1px solid rgba(255,255,255,.2); }
.contact-card h4 { color: #a8d5b5; margin-bottom: .4rem; }
.contact-card p, .contact-card a { color: var(--white); font-size: 1rem; }
.contact-card a.contact-link { color: #a8d5b5; }
.contact-images { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-images img { border-radius: var(--radius); height: 180px; object-fit: cover; width: 100%; }
.contact-images--single { grid-template-columns: 1fr; }
.contact-images--single img { height: 260px; }
.contact-cta { margin-top: 28px; }
.footer-note {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  text-align: center;
}

/* ===== KOSZYK ===== */
.btn-add-cart {
  border: 2px solid var(--green);
  background: transparent;
  color: var(--green);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.btn-add-cart:hover { background: var(--green); color: var(--white); }

.cart-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--green);
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s, background .2s;
}
.cart-fab:hover { background: var(--green-dark); }
.cart-fab--bump { transform: scale(1.15); }
.cart-fab__count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--honey);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid var(--white);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 210;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 100vw;
  background: var(--white);
  z-index: 220;
  box-shadow: -4px 0 24px rgba(0,0,0,.2);
  flex-direction: column;
  overflow-y: auto;
  padding: 20px;
}
.cart-drawer:not([hidden]) { display: flex; }
.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cart-drawer__header h3 { margin: 0; }
.cart-drawer__close {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
  padding: 4px;
}

.cart-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.cart-item__info { font-size: .9rem; }
.cart-item__info strong { display: block; }
.cart-item__info span { color: var(--text-muted); font-size: .82rem; }
.cart-item__controls { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: var(--white);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.qty-btn:hover { background: var(--green-light); }
.qty-value { min-width: 18px; text-align: center; font-weight: 600; }
.cart-item__price { font-weight: 700; color: var(--green-dark); font-size: .88rem; min-width: 55px; text-align: right; }
.cart-item__remove { background: none; border: none; color: #c0392b; cursor: pointer; font-size: 1rem; padding: 2px 4px; }

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

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  padding: 12px 0;
  border-top: 2px solid var(--green-light);
  margin-bottom: 12px;
}
.cart-total-row strong { color: var(--green-dark); }

.cart-full-btn { display: block; width: 100%; text-align: center; margin-bottom: 8px; box-sizing: border-box; }
.cart-full-btn:disabled { opacity: .5; cursor: not-allowed; }

.checkout-view label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.checkout-view input, .checkout-view textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 9px 11px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
  box-sizing: border-box;
}
.checkout-view h4 { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.delivery-fieldset { border: 1px solid #eee; border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; }
.delivery-fieldset legend { font-weight: 600; font-size: .85rem; padding: 0 6px; }
.radio-label { display: flex; align-items: center; gap: 8px; font-weight: 400; margin-bottom: 6px; }
.radio-label input { width: auto; margin: 0; }
.delivery-fields { margin-bottom: 6px; }
.inpost-find-link { display: inline-block; font-size: .85rem; margin-top: -6px; margin-bottom: 12px; }

.order-summary-box {
  background: var(--green-light);
  border-radius: 8px;
  padding: 14px;
  font-family: inherit;
  font-size: .85rem;
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 12px;
  max-height: 260px;
  overflow-y: auto;
}
.copy-feedback { color: var(--green-dark); font-weight: 600; font-size: .85rem; text-align: center; margin: -4px 0 10px; }
.summary-hint { font-size: .82rem; color: var(--text-muted); margin-bottom: 14px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
  .hero-inner, .about-grid, .honey-card, .contact-grid, .methods-cards,
  .values-row, .honey-props, .offer-images, .contact-images {
    grid-template-columns: 1fr;
  }
  .hero-inner img { height: 240px; }
  .honey-card img { max-height: 320px; }
  .cart-drawer { width: 100vw; }
  .field-row { grid-template-columns: 1fr; }
}
