:root {
  --web-bg: #f5f8f5;
  --web-bg-soft: #eaf2ea;
  --web-surface: #ffffff;
  --web-ink: #133126;
  --web-muted: #4e665b;
  --web-border: #d7e4d9;
  --web-primary: #165e43;
  --web-primary-strong: #0c3f2d;
  --web-accent: #db8f3a;
  --web-shadow: 0 16px 34px rgba(17, 45, 33, 0.09);
  --web-radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--web-ink);
  background:
    radial-gradient(circle at 12% 8%, #f8edcf 0%, transparent 30%),
    radial-gradient(circle at 88% 4%, #dff2e8 0%, transparent 28%),
    linear-gradient(180deg, #f9fbf9 0%, #f3f8f4 48%, #f8faf8 100%);
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  min-height: 100vh;
  position: relative;
}

[hidden] {
  display: none !important;
}

.web-bg-shape {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  filter: blur(46px);
  opacity: 0.33;
  pointer-events: none;
  z-index: -1;
  animation: webFloat 10s ease-in-out infinite;
}

.web-bg-shape-a {
  top: -130px;
  left: -130px;
  background: #f2c170;
}

.web-bg-shape-b {
  right: -130px;
  bottom: -150px;
  background: #97d8bd;
  animation-delay: 1.4s;
}

@keyframes webFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(15px); }
  100% { transform: translateY(0); }
}

.web-header {
  position: sticky;
  top: 0;
  z-index: 24;
  backdrop-filter: blur(8px);
  background: rgba(249, 252, 249, 0.86);
  border-bottom: 1px solid var(--web-border);
}

.web-header-inner,
.web-main,
.web-footer-inner {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.web-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.web-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--web-ink);
  font-weight: 700;
}

.web-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--web-primary), #2a8a62);
  color: #fff;
  display: grid;
  place-items: center;
}

.web-nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

.web-nav a {
  text-decoration: none;
  color: var(--web-ink);
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 10px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.web-nav a:hover {
  color: var(--web-primary-strong);
  background: #edf5ef;
}

.web-pill {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--web-accent);
  color: #fff;
  font-size: 11px;
  vertical-align: middle;
}

.web-main {
  padding: 22px 0 34px;
}

.web-card,
.web-product-card,
.web-category-card {
  background: var(--web-surface);
  border: 1px solid var(--web-border);
  border-radius: var(--web-radius);
  box-shadow: var(--web-shadow);
}

.web-banner-slider {
  position: relative;
  border-radius: calc(var(--web-radius) + 6px);
  overflow: clip;
  margin-bottom: 22px;
  border: 1px solid var(--web-border);
  box-shadow: var(--web-shadow);
  min-height: 360px;
  background: linear-gradient(132deg, #214736, #1e7251 60%, #24694f);
}

.web-banner-track {
  position: relative;
  min-height: 360px;
}

.web-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
}

.web-banner-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.web-banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.web-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, rgba(10, 24, 18, 0.76) 0%, rgba(11, 42, 30, 0.52) 46%, rgba(18, 60, 43, 0.14) 100%);
}

.web-banner-copy {
  position: absolute;
  inset: auto auto 26px 26px;
  width: min(640px, calc(100% - 52px));
  color: #fff;
  z-index: 1;
  animation: webReveal 0.45s ease;
}

.web-banner-copy h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.04;
  letter-spacing: 0.01em;
}

.web-banner-copy p {
  margin: 0;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.9);
}

.web-banner-btn {
  margin-top: 16px;
  display: inline-flex;
  text-decoration: none;
}

.web-banner-controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.web-banner-nav {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #123225;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.web-banner-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.web-banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.44);
  cursor: pointer;
  padding: 0;
}

.web-banner-dot.is-active {
  background: #fff;
}

.web-home-search .web-search-form {
  max-width: 760px;
}

@keyframes webReveal {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.web-search-form {
  margin-top: 18px;
  display: flex;
  gap: 8px;
}

.web-search-form input,
.web-filter-form input,
.web-filter-form select,
.web-form input,
.web-form select,
.web-form textarea,
.web-variant-select,
.web-qty {
  width: 100%;
  border: 1px solid var(--web-border);
  border-radius: 12px;
  background: #fffcf5;
  color: var(--web-ink);
  padding: 11px 12px;
  font: inherit;
}
.web-variant-value {
  margin: 10px 0;
  font-weight: bold;
}
.web-search-form button,
.web-filter-form button,
.web-btn,
.web-form button {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--web-primary), var(--web-primary-strong));
  color: #fff;
  padding: 11px 15px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.web-search-form button:hover,
.web-filter-form button:hover,
.web-btn:hover,
.web-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(7, 86, 64, 0.2);
}

.web-btn[disabled],
button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.web-btn-ghost {
  background: #fff;
  color: var(--web-primary-strong);
  border: 1px solid var(--web-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.is-disabled {
  pointer-events: none;
  opacity: 0.5;
}

body.web-modal-open {
  overflow: hidden;
}

.web-variant-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(24, 32, 28, 0.48);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  padding: 14px;
}

.web-variant-modal {
  width: min(540px, 100%);
  background: var(--web-surface);
  border: 1px solid var(--web-border);
  border-radius: var(--web-radius);
  box-shadow: var(--web-shadow);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.web-variant-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.web-variant-modal-head h3 {
  margin: 0;
  font-size: 18px;
}

.web-variant-modal-close {
  border: 1px solid var(--web-border);
  background: #fff;
  color: var(--web-ink);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.web-variant-modal-product {
  margin: 0;
}

.web-variant-modal-meta {
  display: grid;
  gap: 6px;
}

.web-variant-modal-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--web-border);
  padding-bottom: 6px;
}

.web-variant-modal-meta-row span {
  color: var(--web-muted);
  font-size: 13px;
}

.web-variant-modal-meta-row strong {
  color: var(--web-ink);
}

.web-variant-modal-stock {
  margin: 0;
  color: #8b2300;
}

.web-variant-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.web-hero-card {
  padding: 22px;
}

.web-hero-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--web-muted);
}

.web-section {
  margin-top: 22px;
}

.web-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.web-section-head h1,
.web-section-head h2 {
  margin: 0;
}

.web-muted {
  margin: 0;
  color: var(--web-muted);
}

.web-link {
  color: var(--web-primary-strong);
  text-decoration: none;
  font-weight: 700;
}

.web-category-grid,
.web-product-grid {
  display: grid;
  gap: 14px;
}

.web-category-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.web-category-card {
  text-decoration: none;
  color: var(--web-ink);
  padding: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.web-category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(23, 58, 42, 0.13);
}

.web-category-card h3 {
  margin: 0 0 5px;
}

.web-category-card p {
  margin: 0;
  color: var(--web-muted);
}

.web-product-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.web-product-grid-home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.web-product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.web-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(25, 46, 32, 0.12);
}

.web-product-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--web-border);
  background: linear-gradient(135deg, #fbf3dd, #f5f8e8);
}

.web-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.web-product-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--web-muted);
  font-weight: 700;
  padding: 12px;
  text-align: center;
}

.web-product-body {
  padding: 13px;
}

.web-product-category {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--web-muted);
}

.web-product-body h3 {
  margin: 6px 0;
  font-size: 18px;
  line-height: 1.25;
}

.web-product-body h3 a {
  color: var(--web-ink);
  text-decoration: none;
}

.web-product-price {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 800;
  color: var(--web-primary-strong);
}

.web-product-sku {
  margin: 0 0 8px;
  color: var(--web-muted);
  font-size: 12px;
}

.web-product-cta {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
}

.web-product-cta-lg {
  grid-template-columns: 90px 1fr auto;
}

.web-products-section .web-filter-form {
  grid-template-columns: minmax(230px, 2fr) minmax(180px, 1fr) auto;
}

.web-products-section .web-product-grid {
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 10px;
}

.web-products-section .web-product-media {
  aspect-ratio: 5 / 4;
}

.web-products-section .web-product-body {
  padding: 10px;
}

.web-products-section .web-product-category {
  font-size: 11px;
}

.web-products-section .web-product-body h3 {
  margin: 4px 0;
  font-size: 15px;
  line-height: 1.25;
  min-height: 37px;
}

.web-products-section .web-product-price {
  margin: 0 0 8px;
  font-size: 17px;
}

.web-products-section .web-product-cta {
  grid-template-columns: 64px 1fr;
  gap: 6px;
}

.web-products-section .web-product-cta .web-qty {
  padding: 8px 8px;
}

.web-load-more {
  margin-top: 16px;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.web-load-more .web-btn {
  min-width: 160px;
}

.web-product-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}

.web-product-detail-media,
.web-product-detail-body {
  background: var(--web-surface);
  border: 1px solid var(--web-border);
  border-radius: var(--web-radius);
  box-shadow: var(--web-shadow);
}

.web-product-detail-media {
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #f6f2e9, #ffffff);
}

.web-product-detail-media img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.web-product-detail-body {
  padding: 18px;
}

.web-product-description {
  margin: 8px 0;
  color: var(--web-muted);
}

.web-filter-form {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  gap: 8px;
  margin-bottom: 14px;
}

.web-pagination {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.web-pagination a {
  text-decoration: none;
  color: var(--web-primary-strong);
  font-weight: 700;
}

.web-card {
  padding: 16px;
}

.web-checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
}

.web-form {
  display: grid;
  gap: 10px;
}

.web-form-row {
  display: grid;
  gap: 5px;
}

.web-form-row label {
  font-size: 13px;
  color: var(--web-muted);
  font-weight: 700;
}

.web-form-grid-2 {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.web-form-grid-3 {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.web-btn-sm {
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 13px;
}

.web-account-auth-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.web-account-shell {
  display: grid;
  gap: 14px;
}

.web-account-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.web-account-head h1 {
  margin: 0;
}

.web-account-head-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.web-account-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.4fr 1fr;
}

.web-account-outstanding {
  margin: 8px 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--web-primary-strong);
}

.web-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.web-error {
  color: #8b2300;
  background: #ffe3d3;
  border: 1px solid #f1ba9f;
  border-radius: 10px;
  padding: 8px 10px;
  margin: 0;
}

.web-kv {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--web-border);
}

.web-kv-total {
  font-weight: 800;
}

.web-order-head {
  margin-bottom: 14px;
}

.web-table-wrap {
  overflow-x: auto;
}

.web-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.web-table th,
.web-table td {
  border-bottom: 1px solid var(--web-border);
  text-align: left;
  padding: 8px;
}

.web-static-card {
  padding: 18px;
}

.web-static-head h1 {
  margin: 0;
}

.web-static-content {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.web-static-content p {
  margin: 0;
  color: var(--web-muted);
  line-height: 1.65;
}

.web-contact-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 14px 0;
}

.web-contact-item {
  background: #f3f9f4;
  border: 1px solid var(--web-border);
  border-radius: 14px;
  padding: 12px;
  text-decoration: none;
  color: var(--web-ink);
  display: grid;
  gap: 5px;
}

.web-contact-item span {
  color: var(--web-muted);
  font-size: 13px;
}

.web-footer {
  margin-top: 24px;
  border-top: 1px solid var(--web-border);
  background: rgba(255, 255, 255, 0.78);
}

.web-footer-inner {
  padding: 16px 0;
  color: var(--web-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.web-footer-links {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.web-footer-links a,
.web-footer-contact a {
  color: var(--web-muted);
  text-decoration: none;
  font-weight: 600;
}

.web-footer-links a:hover,
.web-footer-contact a:hover {
  color: var(--web-primary-strong);
}

.web-footer-contact {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .web-product-detail,
  .web-checkout-grid {
    grid-template-columns: 1fr;
  }

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

  .web-filter-form {
    grid-template-columns: 1fr;
  }

  .web-account-auth-grid,
  .web-account-grid {
    grid-template-columns: 1fr;
  }

  .web-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .web-products-section .web-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  }

  .web-product-grid-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .web-banner-slider,
  .web-banner-track {
    min-height: 320px;
  }

  .web-banner-copy {
    inset: auto auto 20px 20px;
    width: min(580px, calc(100% - 40px));
  }
}

@media (max-width: 640px) {
  .web-header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .web-nav {
    justify-content: space-between;
  }

  .web-banner-slider,
  .web-banner-track {
    min-height: 290px;
  }

  .web-banner-copy {
    inset: auto auto 16px 16px;
    width: calc(100% - 32px);
  }

  .web-banner-controls {
    right: 10px;
    bottom: 10px;
    gap: 6px;
  }

  .web-banner-nav {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .web-form-grid-2 {
    grid-template-columns: 1fr;
  }

  .web-form-grid-3 {
    grid-template-columns: 1fr;
  }

  .web-variant-modal-actions {
    grid-template-columns: 1fr;
  }

  .web-products-section .web-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .web-product-grid-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .web-products-section .web-product-media {
    aspect-ratio: 1 / 1;
  }

  .web-products-section .web-product-body {
    padding: 8px;
  }

  .web-products-section .web-product-body h3 {
    font-size: 14px;
    min-height: 34px;
  }

  .web-products-section .web-product-price {
    font-size: 15px;
  }

  .web-products-section .web-product-sku {
    display: none;
  }

  .web-products-section .web-product-cta {
    grid-template-columns: 56px 1fr;
  }

  .web-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .web-load-more {
    justify-items: stretch;
  }

  .web-load-more .web-btn {
    width: 100%;
  }
}
