/* Eni Cvjećarnica — stylesheet */

:root {
  --bg: oklch(97.5% 0.012 75);
  --bgCard: oklch(99% 0.008 75);
  --fg: oklch(23% 0.015 75);
  --muted: oklch(45% 0.02 75);
  --border: oklch(88% 0.015 75);
  --green: oklch(38% 0.07 148);
  --greenLight: oklch(90% 0.03 148);
  --rose: oklch(58% 0.09 18);
  --roseLight: oklch(92% 0.03 18);
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bgCard);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.brand-name em { color: var(--green); font-style: italic; }

.desktop-nav { display: none; gap: 22px; align-items: center; }
.desktop-nav a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--fg);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.desktop-nav a.active { color: var(--green); border-bottom-color: var(--green); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.phone-link { display: none; text-decoration: none; color: var(--fg); font-size: 14px; font-weight: 600; }

.cart-btn {
  position: relative;
  background: var(--green);
  color: var(--bgCard);
  border: none;
  border-radius: 24px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-btn:hover { opacity: 0.9; }
.cart-count {
  background: var(--rose);
  color: white;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  font-size: 11.5px;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.cart-count.show { display: flex; }

.mobile-nav-btn {
  display: flex;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  padding: 10px 20px 16px;
  flex-direction: column;
  gap: 2px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  text-decoration: none;
  padding: 10px 4px;
  color: var(--fg);
  font-weight: 500;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a.active { color: var(--green); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--fg);
  color: var(--bg);
  padding: 16px 24px;
  display: none;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-text { font-size: 13.5px; max-width: 640px; line-height: 1.5; }
.cookie-text a { color: var(--roseLight); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  border: none;
  border-radius: 26px;
  padding: 15px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.btn-sm { padding: 9px 20px; font-size: 13.5px; border-radius: 20px; }
.btn-green { background: var(--green); color: white; }
.btn-green:hover { opacity: 0.92; }
.btn-rose { background: var(--rose); color: white; }
.btn-rose:hover { opacity: 0.92; }
.btn-outline { background: none; color: var(--fg); border: 1.5px solid var(--border); }
.btn-outline-white { background: transparent; border: 1.5px solid rgba(255,255,255,0.6); color: #fff; }
.btn-white { background: white; color: var(--green); }

/* ===== CART DRAWER ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,15,10,0.35);
  z-index: 50;
  display: none;
  justify-content: flex-end;
}
.cart-overlay.open { display: flex; }
.cart-drawer {
  width: min(420px, 100%);
  background: var(--bgCard);
  height: 100%;
  padding: 26px;
  overflow-y: auto;
  box-shadow: -8px 0 30px rgba(0,0,0,0.12);
}
.cart-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.cart-drawer-title { font-family: var(--font-heading); font-size: 24px; font-weight: 600; }
.cart-close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--muted); }
.cart-empty { text-align: center; padding: 40px 0; color: var(--muted); }
.cart-empty-emoji { font-size: 38px; margin-bottom: 10px; }
.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.cart-item img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: 14.5px; }
.cart-item-price { color: var(--muted); font-size: 13px; }
.qty-controls { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border); background: none; cursor: pointer; }
.cart-remove { background: none; border: none; color: var(--rose); cursor: pointer; font-size: 13px; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); padding-top: 4px; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; padding-top: 6px; }

/* ===== SECTIONS ===== */
main { flex: 1; }

.hero-grid {
  padding: 70px 24px 60px;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-grid.narrow { grid-template-columns: 1fr 1fr; padding: 56px 24px 30px; gap: 44px; }
.eyebrow {
  display: inline-block;
  background: var(--greenLight);
  color: var(--green);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.eyebrow.rose { background: var(--roseLight); color: var(--rose); }
h1 { font-family: var(--font-heading); font-weight: 600; margin: 0 0 20px; line-height: 1.1; }
h2 { font-family: var(--font-heading); font-weight: 600; margin: 0; }
h3 { font-family: var(--font-heading); font-weight: 600; margin: 0; }
.hero-title { font-size: 52px; }
.hero-lead { font-size: 16.5px; line-height: 1.7; color: var(--muted); max-width: 460px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { border-radius: 20px; overflow: hidden; height: 420px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media.short { height: 340px; }

.usp-section {
  background: var(--bgCard);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 34px 24px;
}
.usp-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.usp-item { display: flex; gap: 12px; align-items: flex-start; }
.usp-icon { font-size: 24px; }
.usp-title { font-weight: 700; font-size: 14.5px; margin-bottom: 3px; }
.usp-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

.section { max-width: 1180px; margin: 0 auto; padding: 70px 24px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 10px;
}
.section-title { font-size: 34px; }
.link-arrow { color: var(--green); font-weight: 600; font-size: 14px; text-decoration: none; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: var(--bgCard);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-photo { height: 150px; overflow: hidden; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat { font-size: 11px; font-weight: 700; color: var(--rose); letter-spacing: 0.04em; text-transform: uppercase; }
.product-name { font-family: var(--font-heading); font-size: 19px; font-weight: 600; line-height: 1.25; }
.product-desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.product-price { font-size: 17px; font-weight: 700; color: var(--green); }
.add-cart-btn { background: var(--green); color: white; border: none; border-radius: 20px; padding: 9px 16px; font-size: 13px; font-weight: 700; cursor: pointer; }
.add-cart-btn:hover { opacity: 0.9; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card { background: var(--bgCard); border: 1px solid var(--border); border-radius: 16px; padding: 26px; }
.stars { color: var(--rose); font-size: 15px; margin-bottom: 10px; }
.testimonial-text { font-size: 14.5px; line-height: 1.65; color: var(--fg); margin-bottom: 16px; font-style: italic; }
.testimonial-author { font-size: 13px; font-weight: 700; color: var(--muted); }

.cta-green {
  background: var(--green);
  color: white;
  padding: 56px 24px;
  text-align: center;
}
.cta-green h2 { font-size: 32px; margin: 0 0 12px; }
.cta-green p { opacity: 0.9; margin: 0 0 24px; font-size: 15.5px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== FILTERS ===== */
.filter-row { display: flex; justify-content: center; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.filter-btn {
  border-radius: 20px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--bgCard);
  color: var(--fg);
}
.filter-btn.active { border-color: var(--green); background: var(--green); color: white; }

/* ===== WEDDING STEPS / PACKAGES ===== */
.step-card { text-align: center; padding: 20px 14px; background: var(--bgCard); border: 1px solid var(--border); border-radius: 16px; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--rose); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 12px; }
.step-title { font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

.package-card { border: 1.5px solid var(--border); border-radius: 18px; padding: 28px; background: var(--bgCard); position: relative; }
.package-card.featured { border-color: var(--rose); }
.package-badge { position: absolute; top: -12px; right: 20px; background: var(--rose); color: white; font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: 12px; }
.package-name { font-family: var(--font-heading); font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.package-price { font-size: 24px; font-weight: 700; color: var(--green); margin-bottom: 16px; }
.package-item { font-size: 13.5px; color: var(--muted); padding: 6px 0; border-top: 1px solid var(--border); }

/* ===== PLANT TIPS ===== */
.tips-section { background: var(--bgCard); border-top: 1px solid var(--border); padding: 56px 24px; }
.tips-wrap { max-width: 900px; margin: 0 auto; }
.tip-item { display: flex; gap: 12px; }
.tip-icon { font-size: 20px; }
.tip-text { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.tip-text b { color: var(--fg); }

/* ===== DELIVERY ===== */
.zone-card { background: var(--bgCard); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.zone-name { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.zone-time { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.zone-price { font-weight: 700; color: var(--green); font-size: 15px; }
.free-delivery-note { background: var(--greenLight); border-radius: 16px; padding: 26px; margin-bottom: 44px; font-size: 14px; line-height: 1.7; }

.faq-item { border: 1px solid var(--border); border-radius: 12px; background: var(--bgCard); overflow: hidden; }
.faq-question {
  padding: 16px 18px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: inherit;
}
.faq-answer { padding: 0 18px 16px; color: var(--muted); font-size: 13.5px; line-height: 1.6; display: none; }
.faq-item.open .faq-answer { display: block; }

/* ===== ABOUT ===== */
.about-lead { font-size: 15.5px; line-height: 1.8; color: var(--fg); margin: 0 0 20px; }
.about-sub { font-size: 15.5px; line-height: 1.8; color: var(--muted); margin: 0 0 40px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 50px; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-heading); font-size: 34px; font-weight: 700; color: var(--green); }
.stat-label { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card { background: var(--bgCard); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.value-icon { font-size: 22px; margin-bottom: 8px; }
.value-title { font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.value-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ===== BLOG ===== */
.blog-list { display: flex; flex-direction: column; gap: 22px; }
.blog-card { background: var(--bgCard); border: 1px solid var(--border); border-radius: 16px; padding: 26px; }
.blog-meta { font-size: 12.5px; color: var(--rose); font-weight: 700; margin-bottom: 8px; }
.blog-title { font-family: var(--font-heading); font-size: 22px; font-weight: 600; margin: 0 0 10px; }
.blog-text { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0; }

/* ===== CONTACT ===== */
.contact-grid { max-width: 1100px; margin: 0 auto; padding: 56px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-row { font-size: 14.5px; }
.contact-info-row a { color: var(--green); text-decoration: none; }
.contact-map { border-radius: 14px; overflow: hidden; height: 220px; border: 1px solid var(--border); }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-card { background: var(--bgCard); border: 1px solid var(--border); border-radius: 18px; padding: 30px; }
.form-success { text-align: center; padding: 40px 10px; display: none; }
.form-success.show { display: block; }
.form-success-emoji { font-size: 38px; margin-bottom: 12px; }
.form-success-title { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.form-success-desc { color: var(--muted); font-size: 14px; }
.form-error { display: none; background: var(--roseLight); color: var(--rose); border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 4px; }
.form-error.show { display: block; }

form.styled-form { display: flex; flex-direction: column; gap: 14px; }
.field label { font-size: 12.5px; font-weight: 700; display: block; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
  box-sizing: border-box;
  font-family: inherit;
  background: var(--bg);
  color: var(--fg);
}
.field textarea { resize: vertical; }
.form-note { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ===== CHECKOUT ===== */
.checkout-wrap { max-width: 640px; margin: 0 auto; padding: 56px 24px 90px; }
.checkout-summary { background: var(--bgCard); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin-bottom: 24px; }
.checkout-line { display: flex; justify-content: space-between; font-size: 13.5px; padding: 6px 0; color: var(--muted); }
.checkout-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; padding-top: 10px; border-top: 1px solid var(--border); margin-top: 6px; }
.state-block { text-align: center; padding: 60px 10px; }
.state-emoji { font-size: 48px; margin-bottom: 16px; }

/* ===== LEGAL ===== */
.legal-body { font-size: 14.5px; line-height: 1.8; color: var(--muted); display: flex; flex-direction: column; gap: 18px; }
.legal-body b { color: var(--fg); }
.legal-body-tight { font-size: 14.5px; line-height: 1.9; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }

/* ===== FOOTER ===== */
.site-footer { background: var(--fg); color: var(--bg); padding: 50px 24px 26px; margin-top: auto; }
.footer-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand { font-family: var(--font-heading); font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.footer-desc { font-size: 13.5px; opacity: 0.75; line-height: 1.6; max-width: 280px; }
.footer-col-title { font-weight: 700; font-size: 13px; margin-bottom: 14px; letter-spacing: 0.04em; opacity: 0.6; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: var(--bg); opacity: 0.8; text-decoration: none; font-size: 13.5px; }
.footer-contact { font-size: 13.5px; opacity: 0.8; line-height: 1.7; }
.footer-bottom { max-width: 1180px; margin: 34px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 12px; opacity: 0.55; text-align: center; }

/* ===== 404 ===== */
.notfound-wrap { max-width: 640px; margin: 0 auto; padding: 100px 24px; text-align: center; }
.notfound-code { font-family: var(--font-heading); font-size: 96px; font-weight: 700; color: var(--green); margin-bottom: 10px; }

/* ===== RESPONSIVE ===== */
@media (min-width: 861px) {
  .desktop-nav { display: flex; }
  .mobile-nav-btn { display: none; }
  .phone-link { display: inline-block; }
}
@media (max-width: 860px) {
  .hero-grid, .hero-grid.narrow, .contact-grid { grid-template-columns: 1fr !important; }
  .usp-grid, .product-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
  .stats-grid, .values-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .hero-title { font-size: 40px; }
}
@media (max-width: 520px) {
  .usp-grid, .product-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
  .stats-grid, .values-grid, .testimonial-grid { grid-template-columns: 1fr !important; }
  .hero-title { font-size: 32px; }
}
