:root {
  --green:        #2d5016;
  --green-light:  #4a7c20;
  --green-pale:   #e8f3d6;
  --cream:        #faf6ef;
  --warm:         #f0e8d8;
  --text:         #1a1a0f;
  --muted:        #7a7060;
  --red:          #c0392b;
  --orange:       #d35400;
  --border:       #e0d8c8;
}

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

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  min-height: 100vh;
  font-size: 16px;
}

/* ── HEADER ── */
header {
  background: var(--cream);
  font-weight: 500;
  padding: 32px 14px 28px;
  text-align: center;
  position: relative;
}
.site-logo {
    width: 28%;
  }
@media (max-width: 480px) {
  .site-logo {
    width: 52%;
    overflow: hidden;
  }
}
.lang-switch {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 4px;
}

.lang-btn {
  background: var(--green);
  border: 1px solid rgba(255,255,255,0.28);
  color: white;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.15s;
}
.lang-btn.active,
.lang-btn:hover {   
    background: var(--green-pale);
    color: var(--green);
 }

header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

#header-sub {
  margin-top: 14px;
  font-size: 0.82rem;
  opacity: 0.75;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#header-intro {
  margin-top: 12px;
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.65;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.header-address {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
    background: var(--green-light);
    color: white;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  opacity: 0.9;
}
.header-address svg { width: 12px; height: 12px; fill: white; flex-shrink: 0; }

/* ── UPDATED BAR ── */
.last-updated {
  background: var(--green-pale);
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 9px 16px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
  min-height: 36px;
}

/* ── INVENTORY GRID ── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 16px;
  padding: 28px 16px;
  max-width: 680px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 14px;
  padding: 22px 14px 18px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.card.soldout { opacity: 0.48; background: #f5f5f0; }

.card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 12px;
  display: block;
}
.card .name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
}
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge.available { background: var(--green-pale); color: var(--green); }
.badge.low       { background: #fef3e2; color: var(--orange); }
.badge.soldout   { background: #fce8e6; color: var(--red); }

.card-note {
  margin-top: 8px;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.4;
  font-style: italic;
}

.load-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── SHARED SECTION ── */
.section-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px 28px;
}
.section-card {
  background: white;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.section-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  color: var(--green);
  margin-bottom: 12px;
}
.section-card p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ── ABOUT PHOTOS ── */
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
@media (max-width: 480px) {
  .about-photos {
    grid-template-columns: 1fr;
  }
}

.photo-slot {
  flex: 1;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover;   border-radius: 14px;
}

/* ── LOCATION ── */
.map-placeholder iframe {
  width: 100%;
  height: 210px;
  border: none;
  display: block;
}
.location-info { padding: 20px 24px; }
.location-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--green);
  margin-bottom: 12px;
}
.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 10px;
}
.location-detail svg { width: 16px; height: 16px; fill: var(--green); flex-shrink: 0; margin-top: 2px; }

.maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 11px 20px;
  background: var(--green);
  color: white;
  border-radius: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 0.15s;
}
.maps-btn:hover { background: var(--green-light); }
.maps-btn svg { width: 14px; height: 14px; fill: white; }

/* ── EXTRA PRODUCTS ── */
.extras-header {
  margin-bottom: 16px;
}
.extras-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  color: var(--green);
  margin-bottom: 6px;
}
.extras-header p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.extras-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.extra-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--cream);
  border-radius: 12px;
  padding: 14px 10px 10px;
  flex: 1 1 80px;
  max-width: 110px;
  border: 1px solid var(--border);
}
.extra-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.extra-name {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
}

/* ── FOOTER ── */
footer {
  background: var(--green);
  color: white;
  padding: 32px 24px 0;
  margin-top: 8px;
  overflow:hidden;
}
.footer-grid {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-bottom: 28px;
  padding-top: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-col h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  opacity: 0.95;
}
.footer-col p,
.footer-col a {
  font-size: 0.85rem;
  opacity: 0.78;
  line-height: 1.8;
  color: white;
  text-decoration: none;
  display: block;
}
.footer-col a:hover { opacity: 1; text-decoration: underline; }

.footer-badges {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.78rem;
  opacity: 0.85;
  letter-spacing: 0.03em;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 0.8rem;
  color: white;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.15s, background 0.15s;
}
.social-btn:hover { opacity: 1; background: rgba(255,255,255,0.22); }
.social-btn svg { width: 14px; height: 14px; fill: white; }

/* ── KODALEX BAR ── */
.kodalex-bar {
  background: rgba(0,0,0,0.2);
  text-align: center;
  padding: 16px 24px 20px;
}
.kodalex-bar p {
  font-size: 0.78rem;
  opacity: 0.65;
  color: white;
  line-height: 1.7;
}
.kodalex-bar a {
  color: #a8d878;
  text-decoration: none;
  font-weight: 400;
}
.kodalex-bar a:hover { text-decoration: underline; }
.kodalex-tagline {
  margin-top: 4px;
  font-size: 0.76rem;
  opacity: 0.55;
}
