/* Proghurt Shop — storefront styles.
   Palette lifted from the main site's tokens (public/assets/css/style.css)
   so the shop reads as the same brand, not a bolted-on admin tool. */

:root {
  --green: #1D4F25;
  --green-dark: #123018;
  --cream: #F6F4DD;
  --pink: #FFBBA6;
  --ink: #26351D;
  --ink-soft: #5B6455;
  --line: #E4E0C9;
  --white: #FFFFFF;
  --radius: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Prompt', 'Host Grotesk', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}

a { color: var(--green); }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-logo {
  font-weight: 700;
  font-size: 20px;
  color: var(--green);
  text-decoration: none;
}
.site-logo span { color: var(--pink); }
.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14.5px;
}
.site-nav a { text-decoration: none; color: var(--ink-soft); }
.site-nav a:hover { color: var(--green); }
.lang-switch {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--green) !important;
  font-weight: 600;
}

.site-main { max-width: 1100px; margin: 0 auto; padding: 40px 24px 80px; }

.hero {
  text-align: center;
  padding: 32px 16px 48px;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 12px;
  color: var(--green);
}
.hero p { color: var(--ink-soft); font-size: 17px; max-width: 55ch; margin: 0 auto; }

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
  margin: 48px 0 18px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.section-title .count {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(29,79,37,.12); }
.card-image {
  aspect-ratio: 4/3;
  background: var(--cream) center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); font-size: 13px;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-badge {
  align-self: flex-start;
  background: var(--pink);
  color: var(--green-dark);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 3px 9px;
  border-radius: 999px;
}
.card-title { font-weight: 700; font-size: 16.5px; margin: 2px 0 0; }
.card-desc { color: var(--ink-soft); font-size: 14px; flex: 1; }
.card-price { font-weight: 700; color: var(--green); font-size: 16px; margin-top: 4px; }
.card-price .was, .detail-price .was { color: var(--ink-soft); font-weight: 400; text-decoration: line-through; margin-right: 8px; font-size: 13.5px; }
.detail-price .was { font-size: 17px; }
.save-badge {
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
  background: var(--pink);
  color: var(--green-dark);
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.bundle-items .hint { color: var(--ink-soft); font-size: 13px; font-weight: 400; }

.empty-state {
  text-align: center;
  color: var(--ink-soft);
  padding: 40px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.detail-image { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.detail-image img { width: 100%; display: block; }
.detail-title { font-size: 28px; color: var(--green); margin: 0 0 8px; }
.detail-price { font-size: 22px; font-weight: 700; margin: 12px 0; }
.detail-desc { color: var(--ink-soft); white-space: pre-line; }
.detail-back { display: inline-block; margin-bottom: 20px; font-size: 14px; }
.buy-soon {
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.bundle-items { margin: 10px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: 14.5px; }

.site-footer {
  text-align: center;
  padding: 24px;
  color: var(--ink-soft);
  font-size: 13.5px;
  border-top: 1px solid var(--line);
}

@media (max-width: 720px) {
  .detail-layout { grid-template-columns: 1fr; }
  .site-nav { gap: 12px; font-size: 13px; }
}