: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;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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: 64px;
}

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

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

.logo-text {
  display: inline-block;
  font-size: 0.88rem;
  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: 38px;
  padding: 0 0.78rem;
  border-radius: 8px;
  color: #405045;
  font-weight: 700;
  font-size: 0.9rem;
  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;
  height: 42px;
  border-radius: 8px;
  flex: 0 0 auto;
}

.cart-button {
  position: relative;
  gap: 0.42rem;
  min-width: 78px;
  padding: 0 0.75rem;
  border: 1px solid rgba(188, 139, 54, 0.34);
  background: #fffdf8;
  color: var(--brand);
  box-shadow: 0 8px 18px rgba(24, 33, 27, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cart-button:hover {
  border-color: rgba(188, 139, 54, 0.58);
  box-shadow: 0 12px 22px rgba(24, 33, 27, 0.12);
  transform: translateY(-1px);
}

.menu-toggle {
  width: 46px;
}

.cart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  line-height: 1;
}

.cart-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-label {
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
}

.cart-counter {
  position: absolute;
  top: -0.46rem;
  right: -0.46rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.28rem;
  height: 1.28rem;
  padding: 0 0.24rem;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(188, 139, 54, 0.28);
}

.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: 1.15rem 0 0.85rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.78fr);
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: start;
}

.hero-copy {
  padding-top: 0.45rem;
}

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

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 34rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.5;
}

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

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.05rem;
  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"],
.primary-button:disabled,
.secondary-button:disabled {
  background: #ccd6ce;
  border-color: #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.55rem;
  max-width: 520px;
}

.hero-metrics div {
  padding: 0.78rem;
  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.18rem;
  line-height: 1;
}

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

.hero-product {
  position: relative;
  height: clamp(300px, 32vw, 390px);
  min-height: 0;
  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: 0;
  object-fit: cover;
}

.hero-product-panel {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.85rem;
  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.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.hero-product-panel p {
  margin: 0.4rem 0 0.55rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

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

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

.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 {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  column-gap: 0.85rem;
  align-items: center;
  min-height: 4.35rem;
  padding: 0.75rem 1rem;
  border-right: 1px solid var(--line);
}

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

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

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 8px;
}

.trust-icon svg {
  width: 1.02rem;
  height: 1.02rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.payment-icon {
  background: #eaf2ff;
  color: #2563eb;
}

.batch-icon {
  background: #eaf7ed;
  color: #1f8a4c;
}

.support-icon {
  background: #fff3df;
  color: #b76716;
}

.delivery-icon {
  background: #f1ebff;
  color: #6d4bdc;
}

.trust-copy {
  min-width: 0;
  display: grid;
  gap: 0.24rem;
}

.trust-grid strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.12;
}

.trust-copy > span {
  margin-top: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

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

.product-section,
.collections-section,
.why-section,
.story-section,
.testimonial-section {
  scroll-margin-top: 82px;
}

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

.section-heading h2,
.split-heading h2,
.story-copy h2,
.panel-heading h1,
.panel-heading h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  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-offer-badge {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  background: #fff3df;
  color: #9a4f0f;
  font-size: 0.74rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(154, 79, 15, 0.14);
}

.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;
}

.price-stack {
  display: grid;
  gap: 0.12rem;
}

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

.price-stack del,
.product-price-tag del {
  color: #8a938c;
  font-size: 0.9rem;
  font-weight: 800;
}

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

.product-price .price-stack + span {
  color: #1f6b45;
}

.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: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(420px, 1.45fr);
  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-link-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 1rem;
}

.footer-link-group {
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.footer-link-group h3 {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 900;
}

.footer-link-group a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-link-group a:hover {
  color: var(--brand);
}

.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;
}

.policy-main {
  padding: 4rem 0;
}

.policy-panel {
  max-width: 880px;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(24, 33, 27, 0.06);
}

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

.policy-panel h2 {
  margin: 1.6rem 0 0.5rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.policy-panel p {
  color: var(--muted);
}

.support-grid,
.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.support-grid > div,
.contact-methods a {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.contact-methods span {
  display: block;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-methods strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--ink);
}

.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;
}

.checkout-status-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(24, 33, 27, 0.48);
}

.checkout-status-modal.active {
  display: flex;
}

.checkout-status-card {
  position: relative;
  width: min(100%, 460px);
  padding: clamp(1.2rem, 4vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(24, 33, 27, 0.22);
}

.checkout-status-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: #f5f2ea;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
}

.checkout-status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.85rem;
  border-radius: 8px;
  background: #fff3df;
  color: #9a4f0f;
  font-weight: 900;
}

.checkout-status-modal.success .checkout-status-icon {
  background: #e7f1e8;
  color: var(--brand);
}

.checkout-status-modal.error .checkout-status-icon {
  background: #fff0f0;
  color: #b02a37;
}

.checkout-status-card h2 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.12;
}

.checkout-status-card p:not(.section-label) {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.checkout-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.checkout-status-actions .primary-button,
.checkout-status-actions .secondary-button {
  min-height: 42px;
}

#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);
}

.order-discount-line,
.admin-offer-line {
  color: var(--brand) !important;
  font-weight: 900;
}

.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: 0.8rem;
  color: var(--muted);
  font-size: 0.84rem;
}

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

.product-detail-grid {
  grid-template-columns: minmax(280px, 0.76fr) minmax(360px, 1fr);
  align-items: start;
  gap: 1rem;
}

.product-detail-preview,
.product-detail-summary,
.product-detail-about,
.product-detail-gallery-card {
  padding: 0.8rem;
  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 / 0.86;
  object-fit: cover;
}

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

.product-assurance span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  color: #34513e;
  font-size: 0.8rem;
  font-weight: 850;
  text-align: center;
}

.product-assurance svg {
  width: 1.08rem;
  height: 1.08rem;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-detail-summary {
  padding: clamp(1rem, 2.2vw, 1.35rem);
}

.product-detail-summary h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.08;
}

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

.product-price-tag {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
  color: var(--brand);
  font-weight: 900;
}

.product-price-tag span {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.product-price-tag em {
  padding: 0.28rem 0.48rem;
  border-radius: 999px;
  background: #fff3df;
  color: #9a4f0f;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.product-offer-note {
  display: inline-flex;
  width: fit-content;
  margin: -0.25rem 0 0.7rem;
  padding: 0.42rem 0.62rem;
  border: 1px solid #f1d5aa;
  border-radius: 8px;
  background: #fffaf1;
  color: #8a4a12;
  font-size: 0.84rem;
  font-weight: 900;
}

.product-detail-description,
.product-detail-extra-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

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

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

.quantity-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  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: 0.9rem;
}

.product-detail-actions .primary-button,
.product-detail-actions .secondary-button {
  flex: 1 1 160px;
  min-height: 44px;
  padding: 0 1rem;
}

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

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

.mobile-product-buy-bar {
  display: none;
}

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

.product-detail-extra-grid,
.product-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.product-detail-about,
.product-detail-gallery-card,
.product-info-panel {
  padding: clamp(1rem, 2.2vw, 1.25rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(24, 33, 27, 0.05);
}

.product-detail-about h2,
.product-info-panel h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.14;
}

.product-info-panel .section-label {
  margin-bottom: 0.55rem;
}

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

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

.product-preparation-panel {
  grid-column: 1 / -1;
}

.product-preparation-list {
  display: grid;
  gap: 0.55rem;
  margin: 0.85rem 0;
  padding: 0;
  list-style: none;
  counter-reset: prep-step;
}

.product-preparation-list li {
  counter-increment: prep-step;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.product-preparation-list li::before {
  content: counter(prep-step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: #eef5ef;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 900;
}

.product-source-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.8rem;
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 900;
}

.product-detail-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.gallery-thumb {
  width: 62px;
  flex: 0 0 62px;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #eef2eb;
  touch-action: manipulation;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gallery-thumb.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(31, 107, 69, 0.12);
}

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

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

.product-faq-panel {
  grid-column: 1 / -1;
}

.product-faq-item {
  border-top: 1px solid #ece7dd;
  padding: 0.75rem 0;
}

.product-faq-item summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.product-faq-item p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

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

.checkout-panel {
  box-shadow: var(--shadow);
}

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

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

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

.checkout-steps span {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem 0.55rem 1.35rem;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
  background: #f5f2ea;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 16px 50%);
}

.checkout-steps span:first-child {
  border-radius: 8px 0 0 8px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
}

.checkout-steps span:last-child {
  border-radius: 0 8px 8px 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 16px 50%);
}

.checkout-steps span.completed {
  background: #e7f1e8;
  color: var(--brand);
}

.checkout-steps span.active {
  background: var(--brand);
  color: #ffffff;
}

.checkout-steps {
  scrollbar-width: none;
}

.checkout-steps::-webkit-scrollbar {
  display: none;
}

.checkout-content-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(340px, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.order-summary {
  padding: 1.25rem;
  margin-bottom: 0;
  background: #fbfaf7;
}

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

.checkout-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.checkout-section-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
}

.checkout-info-card {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(31, 107, 69, 0.12);
  background: #eef5ef;
}

.checkout-info-card p {
  margin: 0;
  color: #34513e;
}

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

.checkout-form {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.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;
}

.account-shell {
  width: min(100% - 2rem, 1080px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 480px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.account-shell-modern {
  width: min(100% - 2rem, 980px);
  grid-template-columns: minmax(340px, 0.95fr) minmax(330px, 400px);
  gap: 0;
  min-height: 580px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.account-visual-panel {
  height: 100%;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    linear-gradient(180deg, rgba(24, 33, 27, 0.18), rgba(24, 33, 27, 0.82)),
    url("https://images.unsplash.com/photo-1506368249639-73a05d6f6488?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.account-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.account-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.account-visual-panel .section-label,
.account-visual-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.account-visual-panel .section-label {
  margin-bottom: 1rem;
}

.account-visual-panel h1 {
  max-width: 520px;
  color: #ffffff;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.account-visual-panel p {
  max-width: 520px;
}

.account-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.account-benefits span {
  min-height: 64px;
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.account-benefits strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 8px;
  background: #ffffff;
  color: var(--brand);
  font-size: 1rem;
  line-height: 1;
}

.account-benefits svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-benefits em {
  font-style: normal;
}

.account-card {
  align-self: center;
  margin: clamp(1rem, 2.4vw, 1.7rem);
  padding: clamp(1rem, 2.4vw, 1.35rem);
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
}

.account-card .auth-form {
  gap: 0.8rem;
}

.account-card .field-group {
  gap: 0.35rem;
}

.account-card .field-group label {
  font-size: 0.92rem;
}

.account-card .field-group input {
  min-height: 48px;
  padding: 0.75rem 0.9rem;
}

.password-field {
  position: relative;
}

.password-field input {
  width: 100%;
  padding-right: 3rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.55rem;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}

.password-toggle:hover,
.password-toggle.active {
  background: #eef5ef;
  color: var(--brand);
}

.password-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text-link {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: left;
}

.text-link:hover {
  text-decoration: underline;
}

.forgot-password-link {
  margin-top: 0.1rem;
}

.account-card .primary-button {
  min-height: 48px;
}

.compact-secondary {
  min-height: 44px;
  padding: 0.65rem 1rem;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.35rem;
  margin-bottom: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f6f2;
}

.auth-tabs button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}

.auth-tabs button.active {
  background: #ffffff;
  color: var(--brand);
  box-shadow: 0 8px 18px rgba(24, 33, 27, 0.08);
}

.auth-panel-section {
  display: none;
}

.auth-panel-section.active {
  display: block;
}

.compact-heading {
  margin-bottom: 0.9rem;
}

.compact-heading h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.15;
}

.compact-heading p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.single-line-copy {
  white-space: nowrap;
}

.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;
}

.admin-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
}

.admin-order-meta span {
  padding: 0.35rem 0.55rem;
  border: 1px solid #e6edde;
  border-radius: 999px;
  background: #f6faf5;
  color: #34513e;
  font-size: 0.78rem;
  font-weight: 900;
}

.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;
}

.admin-order-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.admin-order-summary span {
  display: grid;
  gap: 0.12rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-order-summary strong {
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
}

.admin-order-list {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.admin-order-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(170px, 1fr) minmax(180px, 1.2fr) minmax(80px, 0.45fr) minmax(120px, 0.7fr) minmax(150px, 0.8fr) minmax(220px, 1.3fr);
  gap: 0.85rem;
  align-items: center;
  min-width: 1080px;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid #ece7dd;
}

.admin-order-row:last-child {
  border-bottom: 0;
}

.admin-order-head {
  background: #f7f8f4;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-order-row strong,
.admin-order-row em {
  display: block;
}

.admin-order-row em,
.admin-order-items,
.admin-order-address {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.35;
}

.admin-order-time strong,
.admin-order-customer strong,
.admin-order-total {
  color: var(--ink);
  font-weight: 900;
}

.admin-order-address strong {
  color: #405045;
  font-size: 0.78rem;
  line-height: 1.35;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.32rem 0.52rem;
  border-radius: 999px;
  background: #eef2eb;
  color: #405045;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.payment-badge.pending {
  background: #fff8e8;
  color: #8a5a12;
}

.payment-badge.cancelled {
  background: #f2f1ee;
  color: #5b625c;
}

.payment-badge.failed {
  background: #fff0f1;
  color: #b02a37;
}

.payment-badge.paid {
  background: #eef8f0;
  color: var(--brand);
}

.admin-order-controls.compact {
  display: block;
  padding: 0;
  border: 0;
}

.admin-order-controls.compact select {
  width: 100%;
  min-height: 2.15rem;
  padding: 0.35rem 0.45rem;
  font-size: 0.78rem;
}

.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,
  .product-info-grid,
  .admin-grid,
  .auth-grid,
  .account-shell,
  .checkout-content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .account-shell-modern {
    min-height: 0;
  }

  .account-visual-panel {
    min-height: 360px;
  }

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

  .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);
  }

  .header-row {
    gap: 0.55rem;
    min-height: 56px;
  }

  .logo {
    gap: 0.5rem;
  }

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

  .logo-text {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  .cart-button {
    width: 40px;
    height: 38px;
    min-width: 40px;
    padding: 0;
  }

  .cart-icon {
    width: 1.08rem;
    height: 1.08rem;
  }

  .cart-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .cart-counter {
    top: -0.42rem;
    right: -0.42rem;
    min-width: 1.18rem;
    height: 1.18rem;
    font-size: 0.62rem;
  }

  .menu-toggle {
    width: 40px;
    height: 38px;
  }

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

  .hero {
    padding: 0.85rem 0 0.55rem;
  }

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

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

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

  .hero-grid {
    gap: 0;
  }

  .hero-copy .eyebrow {
    margin-bottom: 0.35rem;
    font-size: 0.62rem;
  }

  .hero-copy h1 {
    font-size: 2rem;
    line-height: 1;
  }

  .hero-copy p {
    max-width: 100%;
    margin-top: 0.55rem;
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin: 0.85rem 0 0;
  }

  .hero-actions .secondary-button {
    display: none;
  }

  .hero-actions .primary-button {
    width: 100%;
  }

  .hero-metrics,
  .hero-visual {
    display: none;
  }

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

  .trust-grid {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem;
    border-radius: 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .trust-grid div {
    min-width: 190px;
    grid-template-columns: 1.8rem minmax(0, 1fr);
    column-gap: 0.55rem;
    align-items: center;
    min-height: 3.35rem;
    padding: 0.55rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    scroll-snap-align: start;
  }

  .trust-icon {
    width: 1.8rem;
    height: 1.8rem;
    margin-top: 0;
  }

  .trust-icon svg {
    width: 0.95rem;
    height: 0.95rem;
  }

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

  .trust-copy > span {
    margin-top: 0.12rem;
    font-size: 0.7rem;
    line-height: 1.25;
  }

  .product-section {
    padding-top: 0.75rem;
  }

  .section-heading {
    margin-bottom: 0.8rem;
    text-align: left;
  }

  .section-heading .section-label {
    margin-bottom: 0.35rem;
    font-size: 0.62rem;
  }

  .section-heading h2 {
    font-size: 1.35rem;
  }

  .section-heading > p {
    display: none;
  }

  .checkout-panel {
    padding: 1rem;
  }

  .checkout-main .panel-heading {
    margin-bottom: 0.85rem;
  }

  .checkout-main .panel-heading .section-label {
    margin-bottom: 0.35rem;
    font-size: 0.62rem;
  }

  .checkout-main .panel-heading h1 {
    font-size: 1.75rem;
    line-height: 1.08;
  }

  .checkout-main .panel-heading p {
    margin-top: 0.65rem;
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .checkout-steps {
    display: flex;
    gap: 0.35rem;
    margin: 0 -1rem 0.9rem;
    padding: 0 1rem 0.15rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .checkout-steps span {
    flex: 0 0 auto;
    min-width: 116px;
    min-height: 36px;
    padding: 0.42rem 0.9rem 0.42rem 1.15rem;
    font-size: 0.8rem;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .products-grid {
    gap: 0.8rem;
  }

  .product-card {
    padding: 0.55rem;
  }

  .product-media img {
    aspect-ratio: 16 / 9;
  }

  .product-category {
    margin: 0.7rem 0 0.25rem;
  }

  .product-card h3 {
    font-size: 1.05rem;
  }

  .product-card p {
    margin: 0.45rem 0 0.65rem;
    font-size: 0.86rem;
    line-height: 1.4;
  }

  .product-meta-row {
    gap: 0.35rem;
    margin-bottom: 0.65rem;
  }

  .product-meta-row span {
    padding: 0.3rem 0.45rem;
    font-size: 0.7rem;
  }

  .product-price {
    gap: 0.6rem;
    padding-top: 0.7rem;
  }

  .price-stack span,
  .product-price > span:first-child {
    font-size: 1.25rem;
  }

  .product-card-actions {
    grid-template-columns: 1fr 0.72fr;
    gap: 0.5rem;
    margin-top: 0.7rem;
  }

  .product-card-actions .primary-button,
  .product-card-actions .secondary-button {
    min-height: 40px;
    padding: 0 0.7rem;
    font-size: 0.86rem;
  }

  .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;
  }

  .support-grid,
  .contact-methods {
    grid-template-columns: 1fr;
  }

  .site-footer {
    margin-top: 0;
  }

  .footer-grid {
    gap: 0.9rem;
    padding: 1rem 0 0.85rem;
  }

  .footer-grid > div:first-child {
    display: none;
  }

  .footer-link-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
  }

  .footer-link-group {
    gap: 0.18rem;
  }

  .footer-link-group h3 {
    margin-bottom: 0.12rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .footer-link-group a {
    padding: 0.16rem 0;
    font-size: 0.78rem;
    line-height: 1.25;
    font-weight: 700;
  }

  .footer-bottom {
    padding-bottom: 1rem;
    font-size: 0.74rem;
  }

  .footer-bottom p {
    margin: 0;
  }

  .admin-order-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .admin-order-summary span {
    padding: 0.55rem 0.65rem;
    font-size: 0.72rem;
  }

  .admin-order-list {
    display: grid;
    gap: 0.7rem;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .admin-order-head {
    display: none;
  }

  .admin-order-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    min-width: 0;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
  }

  .admin-order-row > span {
    display: grid;
    grid-template-columns: 7.3rem minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
  }

  .admin-order-row > span::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .admin-order-controls.compact select {
    min-height: 2.35rem;
  }

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

  .hero-actions .primary-button,
  .hero-actions .secondary-button,
  .cart-actions .primary-button,
  .cart-actions .secondary-button,
  .checkout-status-actions .primary-button,
  .checkout-status-actions .secondary-button,
  .product-detail-actions .primary-button,
  .product-detail-actions .secondary-button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 1rem;
  }

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

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

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

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

  .hero-copy {
    padding-top: 0;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

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

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

  .account-shell-modern {
    width: min(100% - 1rem, 1040px);
  }

  .account-visual-panel {
    min-height: 320px;
    padding: 1.4rem;
  }

  .account-card {
    margin: 0;
    padding: 1rem;
  }

  .product-detail-page {
    padding-top: 1rem;
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0));
  }

  .product-detail-summary,
  .product-detail-preview,
  .product-info-panel {
    padding: 0.75rem;
  }

  .product-detail-summary h1 {
    font-size: 1.55rem;
  }

  .product-price-tag {
    font-size: 1.55rem;
  }

  .product-assurance {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .product-assurance span {
    gap: 0.28rem;
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .product-assurance svg {
    width: 0.92rem;
    height: 0.92rem;
  }

  .product-detail-gallery {
    gap: 0.35rem;
  }

  .gallery-thumb {
    width: 52px;
    flex-basis: 52px;
  }

  .mobile-product-buy-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 18;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    align-items: center;
    padding: 0.65rem max(0.75rem, env(safe-area-inset-right, 0)) calc(0.65rem + env(safe-area-inset-bottom, 0)) max(0.75rem, env(safe-area-inset-left, 0));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -12px 28px rgba(24, 33, 27, 0.14);
    backdrop-filter: blur(16px);
  }

  .mobile-buy-price {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    min-width: 0;
  }

  .mobile-buy-price span {
    color: var(--brand);
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1;
  }

  .mobile-buy-price del {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
  }

  .mobile-buy-controls {
    display: grid;
    grid-template-columns: 5.6rem minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 0.4rem;
    min-width: 0;
  }

  .mobile-buy-quantity {
    display: grid;
    grid-template-columns: 1.55rem minmax(0, 1fr) 1.55rem;
    min-height: 40px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
  }

  .mobile-buy-quantity button {
    border: 0;
    background: #f7f8f4;
    color: var(--ink);
    font-weight: 900;
  }

  .mobile-buy-quantity span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 900;
  }

  .mobile-product-buy-bar .primary-button,
  .mobile-product-buy-bar .secondary-button {
    min-height: 40px;
    padding: 0 0.55rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }
}
