:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #18211b;
  --muted: #5d665f;
  --soft: #f6f3ec;
  --surface: #ffffff;
  --line: #ded8cb;
  --brand: #1f6b45;
  --brand-dark: #164b35;
  --accent: #b7772d;
  --accent-soft: #fff3df;
  --danger: #b02a37;
  --success: #276749;
  --shadow: 0 18px 45px rgba(29, 43, 33, 0.1);
  background: var(--soft);
  color: var(--ink);
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(31, 107, 69, 0.06), rgba(255, 255, 255, 0) 420px),
    var(--soft);
  color: var(--ink);
  padding-top: env(safe-area-inset-top, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(222, 216, 203, 0.9);
  box-shadow: 0 1px 0 rgba(24, 33, 27, 0.04);
  backdrop-filter: blur(18px);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  font-weight: 800;
}

.logo-icon {
  width: 42px;
  height: 42px;
}

.logo-text {
  display: inline-block;
  font-size: 0.95rem;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex: 1 1 auto;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 0.9rem;
  border-radius: 8px;
  color: #405045;
  font-weight: 700;
  font-size: 0.94rem;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: #edf5ee;
  color: var(--brand);
}

.cart-button,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  flex: 0 0 auto;
}

.cart-button {
  position: relative;
  border: 0;
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(31, 107, 69, 0.2);
}

.cart-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.cart-counter {
  position: absolute;
  top: -7px;
  right: -7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  height: 1.55rem;
  padding: 0 0.3rem;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #ffffff;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  position: relative;
  background: var(--ink);
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.menu-toggle.active span {
  background: transparent;
}

.menu-toggle.active span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.active span::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.85rem;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.93;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 42rem;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
}

.hero-actions,
.cart-actions,
.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-actions {
  margin: 2rem 0;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(31, 107, 69, 0.18);
}

.secondary-button {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.primary-button.disabled,
.primary-button[aria-disabled="true"] {
  background: #ccd6ce;
  box-shadow: none;
  color: #526158;
  cursor: not-allowed;
  pointer-events: none;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 620px;
}

.hero-metrics div {
  padding: 1rem;
  border: 1px solid rgba(31, 107, 69, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-metrics strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-product {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(31, 107, 69, 0.16);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.hero-product img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.hero-product-panel {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(24, 33, 27, 0.16);
}

.hero-product-panel span,
.product-category {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-product-panel strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-product-panel p {
  margin: 0.55rem 0 0.9rem;
  color: var(--muted);
}

.hero-product-panel a {
  color: var(--brand);
  font-weight: 800;
}

.trust-strip {
  padding: 0 0 3rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(24, 33, 27, 0.06);
}

.trust-grid div {
  padding: 1.25rem;
  border-right: 1px solid var(--line);
}

.trust-grid div:last-child {
  border-right: 0;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  font-size: 0.98rem;
}

.trust-grid span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-section,
.collections-section,
.why-section,
.story-section,
.testimonial-section,
.checkout-main,
.admin-main,
.product-detail-page {
  padding: 4rem 0;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-heading h2,
.split-heading h2,
.story-copy h2,
.panel-heading h1,
.panel-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.split-heading p,
.story-copy p,
.panel-heading p {
  color: var(--muted);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.35rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(24, 33, 27, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  border-color: rgba(31, 107, 69, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.product-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #eef2eb;
}

.product-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.035);
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 800;
}

.product-category {
  margin: 1rem 0 0.35rem;
}

.product-card h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.2;
}

.product-card p {
  flex: 1 1 auto;
  margin: 0.7rem 0 1rem;
  color: var(--muted);
}

.product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.product-meta-row span {
  padding: 0.42rem 0.6rem;
  border-radius: 999px;
  background: #eef5ef;
  color: #34513e;
  font-size: 0.78rem;
  font-weight: 800;
}

.product-price {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #ece7dd;
}

.product-price span:first-child {
  font-size: 1.55rem;
  font-weight: 900;
}

.product-price span:last-child {
  color: var(--muted);
  font-weight: 800;
}

.product-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  margin-top: 1rem;
}

.product-card-actions .primary-button,
.product-card-actions .secondary-button {
  width: 100%;
  min-height: 46px;
  padding: 0 1rem;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.65fr);
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.collection-grid,
.values-grid,
.story-grid,
.testimonials-grid,
.admin-grid,
.checkout-grid,
.product-detail-grid,
.product-detail-extra-grid {
  display: grid;
  gap: 1.35rem;
}

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

.collection-card,
.value-card,
.testimonial-card,
.story-copy,
.story-visual,
.checkout-panel,
.admin-panel,
.order-summary,
.product-detail-preview,
.product-detail-summary,
.product-detail-about,
.product-detail-gallery-card,
.cart-content {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.collection-card {
  min-height: 240px;
  padding: 1.3rem;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  position: relative;
}

.collection-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 33, 27, 0.15), rgba(24, 33, 27, 0.76));
}

.collection-card > * {
  position: relative;
}

.collection-card span {
  font-weight: 900;
}

.collection-card h3 {
  margin: 0.45rem 0 0.4rem;
  font-size: 1.35rem;
  line-height: 1.16;
}

.collection-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.collection-card.pantry {
  background-image: url("https://images.unsplash.com/photo-1505253716362-afaea1d3d1af?auto=format&fit=crop&w=900&q=80");
}

.collection-card.masala {
  background-image: url("https://images.unsplash.com/photo-1506368249639-73a05d6f6488?auto=format&fit=crop&w=900&q=80");
}

.collection-card.cafe {
  background-image: url("https://images.unsplash.com/photo-1514432324607-a09d9b4aefdd?auto=format&fit=crop&w=900&q=80");
}

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

.value-card,
.testimonial-card {
  padding: 1.35rem;
}

.value-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 900;
}

.value-card h3,
.checkout-info-card h3 {
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.value-card p,
.testimonial-card p {
  margin: 0;
  color: var(--muted);
}

.story-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1fr);
  align-items: stretch;
}

.story-copy {
  padding: clamp(1.4rem, 3vw, 2.25rem);
}

.story-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.story-list span {
  padding: 0.8rem 0.9rem;
  border: 1px solid #e6edde;
  border-radius: 8px;
  background: #f6faf5;
  color: #34513e;
  font-weight: 800;
}

.story-visual {
  min-height: 430px;
  background-image:
    linear-gradient(180deg, rgba(24, 33, 27, 0.05), rgba(24, 33, 27, 0.2)),
    url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
}

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

.testimonial-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.testimonial-card strong {
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 0;
}

.footer-grid p {
  max-width: 460px;
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.footer-links a {
  min-height: 40px;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  color: #405045;
  font-weight: 800;
}

.footer-links a:hover {
  background: #edf5ee;
  color: var(--brand);
}

.footer-bottom {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  padding: 0 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(24, 33, 27, 0.58);
}

.cart-modal.active {
  display: flex;
}

.cart-content {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 3rem);
  overflow: auto;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.cart-content h2 {
  margin: 0 0 1rem;
  line-height: 1.15;
}

.close-cart {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.35rem;
}

#cartItems,
#checkoutItems,
#adminProductList {
  margin: 1rem 0;
}

.cart-item,
.order-item,
.admin-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #ece7dd;
}

.cart-item:last-child,
.order-item:last-child,
.admin-product:last-child {
  border-bottom: 0;
}

.cart-item-details,
.order-item-details {
  display: grid;
  gap: 0.2rem;
}

.cart-item-details span,
.order-item-details span {
  color: var(--muted);
}

.cart-item-actions,
.admin-product-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.cart-item-actions .secondary-button,
.admin-product-actions .secondary-button {
  min-height: 38px;
  padding: 0 0.8rem;
}

.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #ece7dd;
}

.cart-summary span {
  color: var(--muted);
  font-weight: 800;
}

.cart-summary strong {
  font-size: 1.3rem;
}

.cart-actions {
  justify-content: flex-end;
  margin-top: 1.2rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.breadcrumb a {
  color: var(--brand);
  font-weight: 800;
}

.product-detail-grid {
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1fr);
  align-items: start;
}

.product-detail-preview,
.product-detail-summary,
.product-detail-about,
.product-detail-gallery-card {
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(24, 33, 27, 0.06);
}

.product-detail-image-frame {
  overflow: hidden;
  border-radius: 8px;
  background: #eef2eb;
}

.product-detail-image-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.product-assurance span {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  border-radius: 8px;
  background: #f6faf5;
  color: #34513e;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
}

.product-detail-summary {
  padding: clamp(1.3rem, 3vw, 2rem);
}

.product-detail-summary h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.02;
}

.product-rating {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-weight: 800;
}

.product-price-tag {
  margin-bottom: 1rem;
  color: var(--brand);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
}

.product-detail-description,
.product-detail-extra-copy {
  color: var(--muted);
}

.product-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0;
}

.product-detail-meta span {
  padding: 0.62rem 0.8rem;
  border-radius: 999px;
  background: #eef5ef;
  color: #34513e;
  font-weight: 800;
}

.quantity-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 900;
}

.product-quantity {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.product-quantity button {
  width: 46px;
  height: 46px;
  border: 0;
  background: #f7f8f4;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
}

.product-quantity span {
  min-width: 3rem;
  text-align: center;
  font-weight: 900;
}

.product-detail-actions {
  margin-top: 1.2rem;
}

.product-detail-actions .primary-button,
.product-detail-actions .secondary-button {
  flex: 1 1 180px;
}

.product-detail-support {
  display: grid;
  gap: 0.25rem;
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 8px;
  background: var(--accent-soft);
  color: #6f4a20;
}

.product-detail-support strong {
  color: #4c3216;
}

.product-detail-extra {
  margin-top: 1.35rem;
}

.product-detail-extra-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
}

.product-detail-about,
.product-detail-gallery-card {
  padding: clamp(1.2rem, 3vw, 1.7rem);
}

.product-detail-about h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.14;
}

.product-detail-bullets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.product-detail-bullets li {
  padding: 0.8rem;
  border: 1px solid #e6edde;
  border-radius: 8px;
  background: #f6faf5;
  color: #34513e;
  font-weight: 800;
}

.product-detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  gap: 0.65rem;
}

.gallery-thumb {
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #eef2eb;
}

.gallery-thumb.active {
  border-color: var(--brand);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-grid {
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
}

.checkout-panel,
.admin-form-panel,
.admin-list-panel {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.panel-heading {
  margin-bottom: 1.4rem;
}

.panel-heading p {
  margin-bottom: 0;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.checkout-steps span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.checkout-steps span.active {
  border-color: rgba(31, 107, 69, 0.18);
  background: #eef5ef;
  color: var(--brand);
}

.order-summary {
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.order-summary h2,
.checkout-form h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.checkout-info-card {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  background: var(--accent-soft);
}

.checkout-info-card p {
  margin: 0;
  color: #6f4a20;
}

.checkout-form,
.admin-form {
  display: grid;
  gap: 1rem;
}

.field-group {
  display: grid;
  gap: 0.45rem;
}

.field-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field-group label {
  font-weight: 900;
}

.field-group small {
  color: var(--muted);
}

.field-group input,
.field-group textarea,
.field-group select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.92rem 1rem;
  background: #fbfaf7;
  color: var(--ink);
}

.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus {
  outline: 3px solid rgba(31, 107, 69, 0.14);
  border-color: var(--brand);
}

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

.order-message {
  min-height: 1.5rem;
  font-weight: 800;
}

.admin-grid {
  grid-template-columns: minmax(300px, 0.85fr) minmax(360px, 1.15fr);
  align-items: start;
}

.admin-product {
  grid-template-columns: 78px minmax(0, 1fr) auto;
}

.admin-product-image {
  width: 78px;
  height: 78px;
  border-radius: 8px;
  object-fit: cover;
  background: #eef2eb;
}

.admin-product-info {
  min-width: 0;
}

.admin-product-info span:first-child {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-product-info strong,
.admin-product-info span,
.admin-product-info p {
  display: block;
}

.admin-product-info p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.admin-footer {
  margin-top: 2rem;
}

.header-action {
  min-height: 42px;
  padding: 0 1rem;
}

.auth-main,
.orders-main {
  padding: 4rem 0;
}

.auth-grid {
  width: min(100% - 2rem, 1040px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  align-items: start;
}

.auth-panel,
.orders-panel,
.admin-orders-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(24, 33, 27, 0.06);
}

.auth-panel {
  width: min(100% - 2rem, 520px);
  margin: 0 auto;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.auth-grid .auth-panel {
  width: auto;
  margin: 0;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.dashboard-heading {
  margin-bottom: 1.4rem;
}

.dashboard-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.dashboard-heading p {
  max-width: 720px;
  color: var(--muted);
}

.admin-orders-panel,
.orders-panel {
  padding: clamp(1.2rem, 3vw, 2rem);
  margin-top: 1.35rem;
}

.orders-panel {
  width: min(100% - 2rem, 920px);
  margin-right: auto;
  margin-left: auto;
}

.order-status-card,
.admin-order-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.order-status-card,
.admin-order-card {
  padding: 1.2rem;
  margin-top: 1rem;
}

.order-status-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ece7dd;
}

.order-status-header h2,
.order-status-header h3 {
  margin: 0;
  line-height: 1.15;
}

.order-status-header p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.order-status-header > strong {
  color: var(--brand);
  font-size: 1.3rem;
}

.order-status-items {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 0;
}

.order-status-items div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.order-status-items strong {
  color: var(--ink);
}

.order-status-footer {
  padding-top: 1rem;
  border-top: 1px solid #ece7dd;
}

.order-status-footer span,
.admin-order-controls label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-status-footer p {
  margin: 0;
  color: var(--muted);
}

.admin-order-controls {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0;
  border-top: 1px solid #ece7dd;
}

.admin-order-controls select {
  width: min(100%, 320px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  background: #fbfaf7;
  color: var(--ink);
  font-weight: 800;
}

.empty-state {
  padding: 1.5rem;
  text-align: center;
}

.empty-state h2 {
  margin: 0 0 0.5rem;
}

.empty-state p {
  margin: 0 auto 1rem;
  max-width: 520px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .header-row {
    flex-wrap: wrap;
    min-height: auto;
    padding: 0.85rem 0;
  }

  .logo {
    order: 1;
  }

  .cart-button {
    order: 2;
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .nav-links {
    order: 4;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    border-radius: 0;
    justify-content: flex-start;
  }

  .hero-grid,
  .split-heading,
  .story-grid,
  .product-detail-grid,
  .product-detail-extra-grid,
  .admin-grid,
  .auth-grid {
    grid-template-columns: 1fr;
  }

  .hero-product,
  .hero-product img {
    min-height: 420px;
  }

  .trust-grid,
  .collection-grid,
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid div:nth-child(2) {
    border-right: 0;
  }

  .trust-grid div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .container,
  .footer-bottom {
    width: min(100% - 1rem, 1180px);
  }

  .hero,
  .product-section,
  .collections-section,
  .why-section,
  .story-section,
  .testimonial-section,
  .checkout-main,
  .admin-main,
  .product-detail-page,
  .auth-main,
  .orders-main {
    padding: 2.5rem 0;
  }

  .hero-metrics,
  .trust-grid,
  .collection-grid,
  .values-grid,
  .testimonials-grid,
  .product-assurance,
  .product-detail-bullets,
  .checkout-steps,
  .field-split {
    grid-template-columns: 1fr;
  }

  .trust-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-grid div:last-child {
    border-bottom: 0;
  }

  .product-card-actions,
  .admin-product,
  .cart-item,
  .order-item {
    grid-template-columns: 1fr;
  }

  .admin-product-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .cart-item-actions,
  .admin-product-actions,
  .cart-actions,
  .footer-links,
  .footer-grid {
    justify-content: stretch;
  }

  .footer-grid,
  .hero-actions,
  .product-detail-actions,
  .order-status-header {
    flex-direction: column;
  }

  .footer-links a,
  .cart-actions .primary-button,
  .cart-actions .secondary-button,
  .product-detail-actions .primary-button,
  .product-detail-actions .secondary-button {
    width: 100%;
  }

  .cart-modal {
    align-items: flex-start;
    padding: 0.5rem;
  }

  .cart-content {
    max-height: calc(100vh - 1rem);
    padding: 1rem;
  }

  .hero-product,
  .hero-product img {
    min-height: 360px;
  }

  .hero-product-panel {
    right: 0.6rem;
    bottom: 0.6rem;
    left: 0.6rem;
  }
}
