:root {
  --green: #226b2c;
  --green-dark: #1a5422;
  --green-leaf: #4caf50;
  --green-soft: #e8f5e9;
  --navy: #0d2b4a;
  --orange: #e67e22;
  --orange-dark: #d35400;
  --amazon: #ff9900;
  --text: #1a1a1a;
  --muted: #5c6670;
  --border: #e5e8eb;
  --bg: #ffffff;
  --bg-soft: #f5f6f7;
  --shadow: 0 8px 24px rgba(34, 107, 44, 0.08);
  --radius: 10px;
  --font: "Outfit", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Great Vibes", cursive;
  --header-h: 72px;
  --cat-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.header-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
  min-height: var(--header-h);
  padding: 0.65rem 0;
}

.menu-toggle {
  display: none;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.search-form {
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  max-width: 520px;
  width: 100%;
  justify-self: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-form:focus-within {
  border-color: var(--green-leaf);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

.search-form input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.7rem 1.1rem;
  outline: none;
  min-width: 0;
}

.search-form button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.7rem 1rem;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.icon-btn {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--navy);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  background: var(--green-soft);
  color: var(--green);
  outline: none;
}

.cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Categories */
.category-nav {
  border-top: 1px solid var(--border);
  background: #fff;
}

.category-track {
  display: flex;
  gap: 0.35rem;
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 0.55rem 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.category-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.category-item:hover,
.category-item:focus-visible {
  background: var(--green-soft);
  color: var(--green);
  outline: none;
}

.cat-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  background: #fff;
}

.category-item.more .cat-icon {
  font-size: 1rem;
  color: var(--muted);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: #eef5ef;
}

.hero-slider {
  position: relative;
  min-height: clamp(320px, 48vw, 480px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.55) 42%, rgba(255, 255, 255, 0.08) 70%),
    var(--hero-bg) center / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  animation: heroIn 0.7s ease;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-content {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 2.5rem 0;
  max-width: 520px;
  margin-left: max(1rem, calc((100% - 1180px) / 2 + 1rem));
}

.hero-script {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--green-leaf);
  line-height: 1;
}

.hero-content h1 {
  margin: 0.15rem 0 0.75rem;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1.1;
}

.hero-sub {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36ch;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--green);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, transform 0.2s;
}

.hero-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.hero-arrow.prev {
  left: 1rem;
}

.hero-arrow.next {
  right: 1rem;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 2;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s, background 0.2s;
}

.hero-dots button.is-active {
  background: var(--green);
  transform: scale(1.25);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 6px;
  padding: 0.75rem 1.35rem;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--green-leaf);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 16px rgba(34, 107, 44, 0.25);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-cart {
  background: var(--green);
  color: #fff;
  width: 100%;
}

.btn-cart:hover {
  background: var(--green-dark);
}

.btn-amazon {
  background: var(--orange);
  color: #fff;
  width: 100%;
}

.btn-amazon:hover {
  background: var(--orange-dark);
}

.btn-amazon .amz {
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #232f3e;
  color: #fff;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 0.85rem;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.btn-wide {
  width: 100%;
  padding: 0.95rem 1.5rem;
  margin-top: 1rem;
  letter-spacing: 0.06em;
}

/* Products */
.products-section {
  padding: 1.75rem 0 3rem;
}

.breadcrumbs {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.breadcrumbs a:hover {
  color: var(--green);
}

.section-head h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 700;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-head.center {
  text-align: center;
  margin-bottom: 1.75rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.product-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(34, 107, 44, 0.12);
}

.badge-off {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--green-soft);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-media {
  background: linear-gradient(180deg, #f8faf8, #eef3ee);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 1rem;
}

.product-media img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.product-info {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.product-info h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
}

.stars {
  color: #f5a623;
  letter-spacing: 1px;
}

.reviews {
  color: var(--muted);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.price {
  font-size: 1.25rem;
  font-weight: 700;
}

.mrp {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.9rem;
}

.save {
  color: var(--green);
  font-weight: 600;
  font-size: 0.85rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.tag.cashback {
  background: #e8f5e9;
  color: var(--green);
}

.tag.new {
  background: #e3f2fd;
  color: #1565c0;
}

.tag.best {
  background: #fff3e0;
  color: #e65100;
}

.product-actions {
  margin-top: auto;
  display: grid;
  gap: 0.45rem;
  padding-top: 0.35rem;
}

/* About */
.about-section {
  background: var(--bg-soft);
  padding: 3rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-copy h2 {
  margin: 0 0 1rem;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.about-copy p {
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 52ch;
}

.show-more {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  border-bottom: 2px solid var(--green);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.show-more:hover {
  color: var(--green-dark);
}

.about-visual {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 280px;
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

/* Inquiry */
.inquiry-section {
  padding: 3.25rem 0 3.5rem;
}

.inquiry-form {
  max-width: 900px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-col label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 0.35rem;
}

.form-col label:first-child {
  margin-top: 0;
}

.form-col input,
.form-col textarea {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 0.95rem;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}

.form-col input:focus,
.form-col textarea:focus {
  border-color: var(--green-leaf);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

.form-status {
  text-align: center;
  margin: 0.85rem 0 0;
  color: var(--green);
  font-weight: 600;
  min-height: 1.4em;
}

/* Footer */
.site-footer {
  background: #f3f5f4;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr) 1.2fr;
  gap: 1.5rem;
  padding: 2.5rem 0;
}

.footer-brand img {
  height: 72px;
  width: auto;
  margin-bottom: 0.85rem;
}

.socials {
  display: flex;
  gap: 0.65rem;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: #fff;
  transition: background 0.2s, color 0.2s;
}

.socials a:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.site-footer h4 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  color: var(--green);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer li,
.site-footer a {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--green);
}

.newsletter-form {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.newsletter-form input {
  flex: 1;
  border: 0;
  padding: 0.7rem 0.85rem;
  outline: none;
  min-width: 0;
}

.newsletter-form button {
  border: 0;
  background: var(--green);
  color: #fff;
  padding: 0 0.9rem;
  cursor: pointer;
}

.footer-bar {
  background: var(--green-dark);
  color: #fff;
}

.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  gap: 1rem;
}

.footer-bar p {
  margin: 0;
  font-size: 0.88rem;
}

.back-top {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}

.back-top:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(120%);
  background: var(--green);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  z-index: 200;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 38% 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
  }

  .header-top {
    grid-template-columns: auto 1fr auto;
  }

  .search-form {
    display: none;
  }

  .brand-logo {
    height: 48px;
  }

  .hero-content {
    margin-left: 1rem;
    padding-right: 1rem;
  }

  .hero-arrow {
    display: none;
  }

  .about-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-media {
    min-height: 180px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-actions .icon-btn:nth-child(1) {
    display: none;
  }

  .product-info h3 {
    font-size: 0.95rem;
  }
}

/* ===== Inner pages ===== */
.page-hero {
  background: linear-gradient(135deg, #e8f5e9 0%, #f5f6f7 55%, #fff 100%);
  padding: 2.25rem 0 1.75rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin: 0.35rem 0 0.4rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--green);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.page-section {
  padding: 2.5rem 0 3.5rem;
}

.prose {
  max-width: 820px;
  color: var(--muted);
}

.prose h2, .prose h3 {
  color: var(--text);
  margin-top: 1.75rem;
}

.prose ul, .prose ol {
  padding-left: 1.2rem;
}

.prose li { margin: 0.4rem 0; }

.content-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.75rem;
  align-items: start;
}

.filter-box h3 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  color: var(--green);
}

.filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.filter-list a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--navy);
  font-size: 0.92rem;
  transition: background 0.2s, color 0.2s;
}

.filter-list a:hover,
.filter-list a.is-active {
  background: var(--green-soft);
  color: var(--green);
  font-weight: 600;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.shop-toolbar p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.pdp-gallery {
  background: linear-gradient(180deg, #f8faf8, #eef3ee);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.pdp-gallery img {
  max-height: 360px;
  width: 100%;
  object-fit: contain;
}

.pdp-meta .sku {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 0.35rem;
}

.pdp-meta h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
}

.qty-control {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.qty-control button {
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--bg-soft);
  cursor: pointer;
  font-size: 1.1rem;
}

.qty-control input {
  width: 48px;
  border: 0;
  text-align: center;
  outline: none;
}

.pdp-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 1rem 0 1.5rem;
}

.pdp-tabs {
  margin-top: 2.5rem;
}

.tab-btns {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.tab-btns button {
  border: 0;
  background: transparent;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}

.tab-btns button.is-active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.tab-panel { display: none; color: var(--muted); }
.tab-panel.is-active { display: block; }

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th,
.cart-table td {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.cart-item {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: var(--bg-soft);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin: 0.55rem 0;
  color: var(--muted);
}

.summary-row.total {
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
  margin-top: 0.85rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.form-stack label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0.75rem 0 0.35rem;
}

.form-stack input,
.form-stack select,
.form-stack textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  outline: none;
}

.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus {
  border-color: var(--green-leaf);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.auth-card {
  max-width: 440px;
  margin: 0 auto;
}

.auth-switch {
  text-align: center;
  margin-top: 1rem;
  color: var(--muted);
}

.auth-switch a { color: var(--green); font-weight: 600; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.feature-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.feature-item h3 {
  margin: 0 0 0.5rem;
  color: var(--green);
  font-size: 1.05rem;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}

.blog-card:hover { transform: translateY(-3px); }

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-card .body {
  padding: 1rem 1.1rem 1.25rem;
}

.blog-card .date {
  color: var(--muted);
  font-size: 0.8rem;
}

.blog-card h3 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.05rem;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.65rem;
  background: #fff;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
}

.faq-list details[open] summary { color: var(--green); }

.faq-list details p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: var(--shadow);
}

.cat-tile:hover {
  transform: translateY(-3px);
  border-color: var(--green-leaf);
}

.cat-tile .cat-icon {
  width: 52px;
  height: 52px;
  font-size: 0.95rem;
}

.cat-tile strong { font-size: 0.95rem; }

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 0.85rem;
}

.account-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
}

.account-nav a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  margin-bottom: 0.25rem;
  color: var(--navy);
}

.account-nav a:hover,
.account-nav a.is-active {
  background: var(--green-soft);
  color: var(--green);
  font-weight: 600;
}

.order-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .shop-layout,
  .pdp,
  .cart-layout,
  .checkout-grid,
  .account-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pdp-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .feature-grid,
  .blog-grid,
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .cart-table thead { display: none; }
  .cart-table tr {
    display: block;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
  }
  .cart-table td {
    display: block;
    border: 0;
    padding: 0.25rem 0;
  }
}
