/* =====================================================================
   Shalimar Dairy — Stylesheet
   Theme: Green & White · Modern · Responsive · Card-based
   ===================================================================== */

:root {
  --green: #2E7D32;
  --green-dark: #1B5E20;
  --green-light: #66BB6A;
  --green-soft: #E8F5E9;
  --green-tint: #F1F8F2;
  --accent: #FF8F00;
  --accent-dark: #EF6C00;
  --white: #FFFFFF;
  --ink: #1F2A24;
  --muted: #5C6B62;
  --line: #E2EBE4;
  --danger: #C62828;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(27, 94, 32, 0.06);
  --shadow: 0 10px 30px rgba(27, 94, 32, 0.10);
  --shadow-lg: 0 20px 50px rgba(27, 94, 32, 0.16);
  --container: 1200px;
  --nav-h: 70px;

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ----------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  /* `clip` contains the off-canvas menu/drawer (which are fixed to the
     viewport) so they can never trigger horizontal scrolling, while NOT
     creating a scroll container — keeping the sticky navbar working. */
  overflow-x: clip;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-wrap: break-word;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.is-hidden { display: none !important; }

/* --------------------------- Buttons --------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--green-light); outline-offset: 2px; }

.btn--primary { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-dark); box-shadow: var(--shadow); transform: translateY(-2px); }
.btn--primary[disabled] { background: #B7C7BC; cursor: not-allowed; box-shadow: none; transform: none; }

.btn--ghost { background: var(--white); color: var(--green); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green-light); background: var(--green-tint); }

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--accent[disabled] { background: #E8C9A0; cursor: not-allowed; transform: none; }

.btn--light { background: rgba(255,255,255,0.16); color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--light:hover { background: rgba(255,255,255,0.28); }

.btn--block { width: 100%; }

/* --------------------------- Navigation ------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.nav--scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--green-dark); }
.logo__mark {
  width: 64px; height: 64px; border-radius: 14px;
  display: grid; place-items: center; color: #fff; font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.logo__text small { display: block; font-size: 0.62rem; font-weight: 600; color: var(--green-light); letter-spacing: 0.06em; text-transform: uppercase; }

.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__link { font-weight: 600; color: var(--ink); position: relative; padding: 6px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--green); transition: width 0.2s ease;
}
.nav__link:hover { color: var(--green); }
.nav__link:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 10px; }

.cart-btn {
  position: relative;
  background: var(--green-tint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--green-dark);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.cart-btn:hover { background: var(--green-soft); border-color: var(--green-light); }
.cart-count {
  position: absolute; top: -7px; right: -7px;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--accent); color: #fff;
  border-radius: 999px; font-size: 0.72rem; font-weight: 700;
  display: grid; place-items: center;
}

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 11px;
  background: var(--white); flex-direction: column; gap: 4px;
  align-items: center; justify-content: center;
}
.nav__toggle span { width: 20px; height: 2px; background: var(--green-dark); border-radius: 2px; }

/* --------------------------- Banner / Carousel ----------------------- */
.banner {
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 40%, #388E3C 100%);
  overflow: hidden;
  position: relative;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 20% 50%, rgba(255,255,255,0.08), transparent 60%),
    radial-gradient(400px 400px at 80% 80%, rgba(255,255,255,0.05), transparent 50%);
  pointer-events: none;
}
.banner__carousel-wrap {
  position: relative;
  z-index: 1;
}
.banner__carousel {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.banner__slide {
  flex: 0 0 100%;
  min-width: 0;
}
.banner__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 320px;
  padding-block: clamp(24px, 4vw, 48px);
}
.banner__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.banner__tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  color: #C8E6C9;
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: fit-content;
}
.banner__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.banner__desc {
  color: #A5D6A7;
  font-size: 1.05rem;
  max-width: 42ch;
  line-height: 1.6;
}
.banner__text .btn--primary {
  background: #fff;
  color: #1B5E20;
  align-self: flex-start;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.banner__text .btn--primary:hover {
  background: #E8F5E9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.banner__image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  aspect-ratio: 4 / 3;
  background: #1B5E20;
}
.banner__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  backdrop-filter: blur(4px);
  user-select: none;
}
.banner__arrow:hover {
  background: rgba(255,255,255,0.35);
  border-color: rgba(255,255,255,0.6);
}
.banner__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}
.banner__arrow--prev { left: 16px; }
.banner__arrow--next { right: 16px; }
.banner__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 18px 0 22px;
  z-index: 2;
  position: relative;
  background: transparent;
}
.banner__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}
.banner__dot.is-active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.2);
}
.banner__dot:hover {
  background: rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
  .banner__inner {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
  }
  .banner__text {
    align-items: center;
  }
  .banner__text .btn--primary {
    align-self: center;
  }
  .banner__desc {
    margin-inline: auto;
  }
  .banner__image {
    max-width: 380px;
    margin: 0 auto;
  }
  .banner__arrow { display: none !important; }
  .banner__arrow--prev { left: 6px; }
  .banner__arrow--next { right: 6px; }
}

/* ------------------------------ Hero --------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(102,187,106,0.28), transparent 60%),
    linear-gradient(160deg, var(--green-tint), #fff 70%);
  overflow: hidden;
}
.hero__inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-soft); color: var(--green-dark);
  border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 0.85rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  margin: 18px 0 14px;
  letter-spacing: -0.02em;
}
.hero h1 span { color: var(--green); }
.hero__lead { font-size: 1.08rem; color: var(--muted); max-width: 48ch; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: flex; gap: 30px; margin-top: 36px; flex-wrap: wrap; }
.hero__stat strong { display: block; font-size: 1.7rem; color: var(--green-dark); }
.hero__stat span { font-size: 0.85rem; color: var(--muted); }

.hero__art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fff, var(--green-soft));
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.hero__art .bottle { font-size: clamp(6rem, 18vw, 12rem); filter: drop-shadow(0 18px 24px rgba(27,94,32,0.25)); }
.hero__chip {
  position: absolute; background: #fff; border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow); font-weight: 600; font-size: 0.85rem; display: flex; align-items: center; gap: 8px;
}
.hero__chip i { font-style: normal; font-size: 1.2rem; }
.hero__chip--1 { top: 12%; left: -4%; animation: float 5s ease-in-out infinite; }
.hero__chip--2 { bottom: 14%; right: -2%; animation: float 7s ease-in-out infinite reverse; }
.hero__chip--3 { bottom: 4%; left: 18%; animation: float 6.5s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ------------------------- Coming Soon Banner ------------------------ */
.coming-soon {
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #388E3C 100%);
  padding-block: clamp(40px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.coming-soon::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 350px at 10% 30%, rgba(255,255,255,0.1), transparent 60%),
    radial-gradient(400px 300px at 90% 70%, rgba(255,255,255,0.07), transparent 50%);
  pointer-events: none;
}
.coming-soon__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.coming-soon__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  aspect-ratio: 4 / 3;
  background: #1B5E20;
}
.coming-soon__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.coming-soon__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.coming-soon__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  color: #C8E6C9;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: fit-content;
  backdrop-filter: blur(8px);
}
.coming-soon__title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.coming-soon__desc {
  color: #C8E6C9;
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 42ch;
}
.coming-soon .btn--accent {
  background: var(--accent);
  color: #fff;
  align-self: flex-start;
  padding: 13px 28px;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: all 0.25s ease;
}
.coming-soon .btn--accent:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

@media (max-width: 768px) {
  .coming-soon__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .coming-soon__content {
    align-items: center;
  }
  .coming-soon__tag {
    margin-inline: auto;
  }
  .coming-soon__desc {
    margin-inline: auto;
  }
  .coming-soon .btn--accent {
    align-self: center;
  }
  .coming-soon__image {
    max-width: 420px;
    margin: 0 auto;
  }
}

/* --------------------------- Sections -------------------------------- */
section { scroll-margin-top: calc(var(--nav-h) + 10px); }
.section { padding-block: clamp(48px, 7vw, 84px); }
.section--tint { background: var(--green-tint); }

.section__head { text-align: center; max-width: 640px; margin: 0 auto 42px; }
.section__head--left { text-align: left; margin-inline: 0; }
.eyebrow { color: var(--green); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; }
.section__head h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 8px 0 10px; }
.section__head p { color: var(--muted); }

/* --------------------------- Why choose ------------------------------ */
.features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature__icon {
  width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.7rem;
  background: var(--green-soft); color: var(--green-dark);
}
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.92rem; }

/* ----------------------------- Cards --------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green-light); }

.card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--green-soft); }
.card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.card:hover .card__media img { transform: scale(1.06); }

.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 11px; border-radius: 999px; font-size: 0.72rem; font-weight: 700;
  color: #fff; box-shadow: var(--shadow-sm); letter-spacing: 0.02em;
}
.badge--featured { background: var(--green); }
.badge--seasonal { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }

.card__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__cat { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green-light); }
.card__title { font-size: 1.08rem; }
.card__title a:hover { color: var(--green); }
.card__desc { color: var(--muted); font-size: 0.9rem; flex: 1; }

.card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; }
.rating__stars { color: #F5A623; letter-spacing: 1px; }
.rating__num { color: var(--muted); }

.stock { font-size: 0.78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.stock--in { color: var(--green-dark); background: var(--green-soft); }
.stock--out { color: var(--danger); background: #FDECEA; }

.price { display: flex; align-items: baseline; gap: 5px; }
.price__amount { font-size: 1.2rem; font-weight: 800; color: var(--green-dark); }
.price__unit { font-size: 0.82rem; color: var(--muted); }

.card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.card__actions .btn { padding: 10px 12px; font-size: 0.88rem; }

.empty-note { grid-column: 1 / -1; text-align: center; padding: 50px 20px; color: var(--muted); }

/* ------------------------- Toolbar (filters) ------------------------- */
.toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  margin-bottom: 26px;
}
.search {
  position: relative; flex: 1 1 280px; min-width: 220px;
}
.search input {
  width: 100%; padding: 12px 16px 12px 44px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 0.95rem;
  background: var(--white); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search input:focus { outline: none; border-color: var(--green-light); box-shadow: 0 0 0 4px var(--green-soft); }
.search__icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--green-light); }

.sort { display: flex; align-items: center; gap: 8px; }
.sort label { font-size: 0.88rem; color: var(--muted); font-weight: 600; }
.sort select {
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); font-size: 0.9rem; font-weight: 600; color: var(--ink); cursor: pointer;
}
.sort select:focus { outline: none; border-color: var(--green-light); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); font-weight: 600; font-size: 0.88rem; color: var(--muted);
  transition: all 0.18s ease;
}
.chip:hover { border-color: var(--green-light); color: var(--green-dark); }
.chip.is-active { background: var(--green); color: #fff; border-color: var(--green); }

.result-count { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }

/* --------------------------- Seasonal -------------------------------- */
.seasonal {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.seasonal__media { position: relative; background: var(--green-soft); }
.seasonal__media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.seasonal__body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.seasonal__body h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
.seasonal__body p { color: var(--muted); }
.seasonal__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.seasonal__foot .price__amount { font-size: 1.6rem; }
.seasonal__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ----------------------------- About --------------------------------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.about__art {
  aspect-ratio: 5 / 4; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--green-light), var(--green-dark));
  display: grid; place-items: center; box-shadow: var(--shadow-lg); color: #fff; text-align: center; padding: 30px;
}
.about__art .about__logo {
  width: clamp(120px, 20vw, 240px);
  height: auto;
  margin: 0 auto 16px;
  display: block;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(27, 94, 32, 0.2);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.about__art .big { font-size: clamp(4rem, 12vw, 7rem); }
.about__art p { font-weight: 700; font-size: 1.1rem; opacity: 0.95; }
.about__body h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 14px; }
.about__body p { color: var(--muted); margin-bottom: 14px; }
.about__list { display: grid; gap: 12px; margin-top: 18px; }
.about__list li { display: flex; gap: 12px; align-items: flex-start; }
.about__list .tick {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; font-weight: 700; font-size: 0.8rem;
}

/* ------------------------- Testimonials ------------------------------ */
.testi-carousel { position: relative; }
.testimonials {
  display: flex; gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px; margin: -4px;
  -ms-overflow-style: none; scrollbar-width: none;
}
.testimonials::-webkit-scrollbar { display: none; }
.testimonial {
  flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px;
}
.testi-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
  color: var(--green-dark); font-size: 1.6rem; line-height: 1;
  display: grid; place-items: center; transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}
.testi-arrow:hover { background: var(--green); color: #fff; border-color: var(--green); }
.testi-arrow--prev { left: -10px; }
.testi-arrow--next { right: -10px; }
.testi-arrow:disabled { opacity: 0; pointer-events: none; }
.testimonial__stars { color: #F5A623; letter-spacing: 2px; }
.testimonial blockquote { color: var(--ink); font-style: italic; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial__avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.testimonial figcaption small { display: block; color: var(--muted); }

/* --------------------------- Delivery -------------------------------- */
.delivery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.delivery__card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); text-align: center;
}
.delivery__card .num {
  width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 14px;
  background: var(--green); color: #fff; display: grid; place-items: center; font-size: 1.3rem; font-weight: 800;
}
.delivery__card h3 { margin-bottom: 6px; }
.delivery__card p { color: var(--muted); font-size: 0.92rem; }

/* ---------------------------- Contact -------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.contact__info { display: grid; gap: 18px; }
.contact__item { display: flex; gap: 14px; align-items: flex-start; }
.contact__item .ic {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 13px;
  background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; font-size: 1.3rem;
}
.contact__item h4 { margin-bottom: 2px; }
.contact__item p { color: var(--muted); word-break: break-word; }
.contact__item a { color: var(--green-dark); font-weight: 600; transition: color 0.15s ease; }
.contact__item a:hover { color: var(--green); text-decoration: underline; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 0.95rem; font-family: inherit; background: var(--white); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-light); box-shadow: 0 0 0 4px var(--green-soft); }

/* ----------------------------- Footer -------------------------------- */
.footer { background: var(--green-dark); color: #D7EAD9; padding-block: 54px 26px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; align-items: start; }
.footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.footer a { color: #C7E0CA; transition: color 0.15s ease; }
.footer a:hover { color: #fff; }
.footer ul { display: grid; gap: 9px; }
.footer .logo { color: #fff; margin-bottom: 12px; }
.footer .logo__text small { color: var(--green-light); }
.footer__about p { color: #B7D2BB; font-size: 0.92rem; max-width: 34ch; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,0.1);
  display: grid; place-items: center; font-weight: 700;
}
.footer__social a:hover { background: var(--green-light); color: #fff; }
.footer__bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.86rem; color: #B7D2BB;
}
.footer__credit { text-align: center; margin-top: 16px; font-size: 0.84rem; color: #B7D2BB; }
.footer__credit a { color: #fff; font-weight: 600; }
.footer__credit a:hover { color: var(--green-light); }

/* -------------------------- Cart drawer ------------------------------ */
.overlay {
  position: fixed; inset: 0; background: rgba(20, 38, 26, 0.45);
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; z-index: 60;
}
.overlay.is-active { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: var(--white); z-index: 70; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.2rem; }
.drawer__close, .modal__close {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--white); font-size: 1.3rem; line-height: 1; color: var(--muted);
  display: grid; place-items: center; transition: all 0.18s ease;
}
.drawer__close:hover, .modal__close:hover { background: var(--green-soft); color: var(--green-dark); }

.drawer__body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-empty { text-align: center; padding: 50px 16px; color: var(--muted); }
.cart-empty .ic { font-size: 3rem; display: block; margin-bottom: 12px; }

.cart-line { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line__img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--green-soft); flex: 0 0 64px; }
.cart-line__info { flex: 1; min-width: 0; }
.cart-line__info h4 { font-size: 0.96rem; }
.cart-line__unit { font-size: 0.8rem; color: var(--muted); }
.cart-line__end { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-line__total { font-weight: 800; color: var(--green-dark); }
.cart-line__remove { background: none; border: none; color: var(--danger); font-size: 0.8rem; font-weight: 600; padding: 0; }
.cart-line__remove:hover { text-decoration: underline; }

.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.qty__btn {
  width: 28px; height: 28px; border-radius: 50%; border: none; background: var(--green-soft);
  color: var(--green-dark); font-size: 1.1rem; line-height: 1; display: grid; place-items: center; font-weight: 700;
  transition: background 0.15s ease;
}
.qty__btn:hover { background: var(--green-light); color: #fff; }
.qty__val { min-width: 28px; text-align: center; font-weight: 700; }
.qty--lg { padding: 5px; }
.qty--lg .qty__btn { width: 36px; height: 36px; font-size: 1.3rem; }
.qty--lg .qty__val { min-width: 40px; font-size: 1.05rem; }

.drawer__foot { padding: 18px 20px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.cart-total-row { display: flex; align-items: baseline; justify-content: space-between; }
.cart-total-row span { color: var(--muted); }
.cart-total-row strong { font-size: 1.4rem; color: var(--green-dark); }

/* ----------------------------- Modal --------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__panel {
  background: var(--white); border-radius: var(--radius-lg); width: min(560px, 100%);
  max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.98); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal.is-open .modal__panel { transform: translateY(0) scale(1); }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.modal__head h2 { font-size: 1.25rem; }
.modal__body { padding: 24px; }

.checkout__summary { background: var(--green-tint); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 20px; }
.checkout__summary h3 { font-size: 0.95rem; margin-bottom: 10px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 0.92rem; }
.sum-line em { color: var(--muted); font-style: normal; }
.sum-line__price { font-weight: 700; color: var(--green-dark); white-space: nowrap; }
.checkout__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 12px; border-top: 1px dashed var(--line); }
.checkout__total strong { font-size: 1.3rem; color: var(--green-dark); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .field--full { grid-column: 1 / -1; }

.checkout-success { text-align: center; padding: 20px 10px; }
.checkout-success .tick-big {
  width: 78px; height: 78px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 2.4rem;
  animation: pop 0.4s ease;
}
.checkout-success h3 { font-size: 1.35rem; margin-bottom: 10px; }
.checkout-success p { color: var(--muted); margin-bottom: 8px; }
.checkout-success .order-ref { font-weight: 700; color: var(--green-dark); }
@keyframes pop { 0% { transform: scale(0.4); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }

/* ----------------------------- Toasts -------------------------------- */
.toast-host { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  background: var(--green-dark); color: #fff; padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(16px); transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }

/* --------------------------- Breadcrumb ------------------------------ */
.breadcrumb { padding-block: 18px; font-size: 0.9rem; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb li::after { content: "/"; margin-left: 8px; color: var(--line); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* ----------------------- Product detail page ------------------------- */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; padding-bottom: 20px; }
.detail__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--green-soft); box-shadow: var(--shadow); aspect-ratio: 1 / 1;
}
.detail__media img { width: 100%; height: 100%; object-fit: cover; }
.detail__cat { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green-light); }
.detail__title { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 8px 0 14px; }
.detail__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.detail__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.detail__price .price__amount { font-size: 1.9rem; }
.detail__desc { color: var(--muted); margin-bottom: 24px; }
.detail__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 26px; }
.detail__facts { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.detail__facts li { display: flex; justify-content: space-between; padding: 12px 16px; font-size: 0.92rem; }
.detail__facts li:nth-child(odd) { background: var(--green-tint); }
.detail__facts strong { color: var(--ink); }

.not-found { text-align: center; padding: 80px 20px; display: grid; gap: 16px; place-items: center; }
.not-found h1 { font-size: 2rem; }

/* --------------------------- Reveal anim ----------------------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* ---------------------------- Responsive ----------------------------- */
@media (max-width: 1100px) {
  .delivery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__cta, .hero__stats { justify-content: center; }
  .hero__art { max-width: 360px; margin: 0 auto; }
  .hero__lead { margin-inline: auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .delivery { grid-template-columns: 1fr; }
  .testimonial { flex-basis: calc((100% - 22px) / 2); }
  .seasonal, .about, .contact, .detail { grid-template-columns: 1fr; }
  .detail__media { max-width: 460px; margin-inline: auto; width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav__menu {
    position: fixed; top: var(--nav-h); right: 0; width: min(300px, 86%); height: calc(100vh - var(--nav-h));
    background: #fff; flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 22px; box-shadow: var(--shadow-lg); transform: translateX(110%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); border-left: 1px solid var(--line);
    overflow-y: auto;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__menu .nav__link { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__toggle { display: flex; }
  .nav__inner { gap: 12px; }
  .logo__mark { width: 48px; height: 48px; border-radius: 12px; }
  .logo { font-size: 1.08rem; gap: 8px; }
  .hero__stats { gap: 20px; }
  .testimonial { flex-basis: 100%; }
  .testi-arrow--prev { left: 0; }
  .testi-arrow--next { right: 0; }
  .testi-arrow { display: none !important; }
}

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .toolbar { gap: 12px; }
  .sort { width: 100%; }
  .sort select { flex: 1; }
  .detail__buy { flex-direction: column; align-items: stretch; }
  .detail__buy .btn { width: 100%; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .nav__inner { gap: 10px; }
  .logo__text small { display: none; }
  .logo__mark { width: 42px; height: 42px; }
  .cart-btn { padding: 9px 11px; }
  .cart-btn span:nth-child(2) { display: none; } /* hide "Cart" label, keep icon */
  .hero__stat { flex: 1 1 40%; }
  .hero__stat strong { font-size: 1.4rem; }
  .card__actions { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .container { padding-inline: 16px; }
  .drawer { width: 100%; }
  .drawer__body, .modal__body { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
