:root {
  --bg: #f6fff2;
  --bg-soft: #ebf8e5;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-bright: #16351d;
  --primary: #7ddc72;
  --primary-strong: #4ab84c;
  --primary-deep: #257530;
  --accent: #ffb24c;
  --accent-soft: rgba(255, 178, 76, 0.2);
  --text: #17321d;
  --muted: #5e7b63;
  --shadow: 0 24px 70px rgba(58, 118, 57, 0.14);
  --border: rgba(27, 71, 37, 0.1);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  position: relative;
  overflow-x: hidden;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(125, 220, 114, 0.42), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(255, 178, 76, 0.18), transparent 20%),
    linear-gradient(180deg, #fbfff8 0%, #f2faee 45%, #edf8e8 100%);
}

body.is-modal-open {
  overflow: hidden;
  position: fixed;
  inset: 0;
  width: 100%;
}

body.is-modal-open .footer {
  visibility: hidden;
}

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

button,
input {
  font: inherit;
}

.page-glow {
  position: fixed;
  inset: auto;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.page-glow-left {
  top: -8rem;
  left: -8rem;
  background: rgba(125, 220, 114, 0.32);
}

.page-glow-right {
  top: 10rem;
  right: -10rem;
  background: rgba(255, 178, 76, 0.22);
}

.hero-shell,
.section,
.footer,
.speed-strip {
  position: relative;
  z-index: 1;
  width: min(1600px, calc(100% - 3rem));
  margin: 0 auto;
}

.hero-shell {
  padding: 1.25rem 0 2.5rem;
}

.topbar,
.hero,
.hero-actions,
.hero-stats,
.nav-links,
.category-toolbar,
.category-grid,
.highlight-grid,
.feature-stack,
.input-row,
.footer,
.footer-meta,
.offer-banner,
.savings-panel {
  display: flex;
}

.topbar {
  position: relative;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  padding: 1rem 1.3rem;
  border: 1px solid rgba(74, 184, 76, 0.16);
  border-radius: 1.7rem;
  background:
    linear-gradient(125deg, rgba(125, 220, 114, 0.16), rgba(255, 255, 255, 0.94) 34%, rgba(255, 248, 236, 0.92) 100%);
  backdrop-filter: blur(22px);
  box-shadow:
    0 24px 52px rgba(74, 184, 76, 0.14),
    0 12px 28px rgba(58, 118, 57, 0.08);
  overflow: hidden;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at left center, rgba(125, 220, 114, 0.18), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(255, 178, 76, 0.16), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), transparent 55%);
  pointer-events: none;
}

.topbar::after {
  content: "";
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.topbar > * {
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.28), transparent 34%),
    linear-gradient(145deg, #a3ef87 0%, #4ab84c 45%, #1f6a2b 100%);
  color: #0f2414;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 26px rgba(74, 184, 76, 0.24);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  color: var(--surface-bright);
}

.brand-copy span {
  max-width: 20rem;
  font-size: 0.85rem;
  line-height: 1.45;
}

.brand-copy span,
.nav-links a,
.hero-text,
.hero-stats span,
.category-card p,
.card-meta,
.feature-slab p,
.stack-card p,
.savings-text,
.savings-result,
.footer p,
.footer-meta span,
.hero-panel p,
.hero-product p {
  color: var(--muted);
}

.nav-links {
  gap: 0.5rem;
  margin-left: auto;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-left: 0.45rem;
  border: 1px solid rgba(27, 71, 37, 0.08);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 252, 240, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 22px rgba(58, 118, 57, 0.08);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

@media (hover: hover) {
  .cart-button:hover {
    border-color: rgba(74, 184, 76, 0.18);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(223, 246, 214, 0.96));
    transform: translateY(-2px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.88),
      0 16px 28px rgba(74, 184, 76, 0.16);
  }
}

.cart-button.is-active,
.cart-button:active {
  transform: translateY(0) scale(0.95);
  background: rgba(125, 220, 114, 0.1);
}

.cart-button svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: var(--primary-deep);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-count {
  position: absolute;
  top: -0.22rem;
  right: -0.12rem;
  min-width: 1.28rem;
  height: 1.28rem;
  padding: 0 0.24rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffca6c, #ff9a2f);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.04rem;
  text-align: center;
  box-shadow: 0 8px 16px rgba(255, 154, 47, 0.24);
}

.nav-links a {
  position: relative;
  padding: 0.78rem 1.15rem;
  border-radius: 999px;
  color: rgba(23, 50, 29, 0.78);
  background: transparent;
  box-shadow: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease, letter-spacing 180ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 1.05rem;
  right: 1.05rem;
  bottom: 0.5rem;
  height: 3px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--accent), #ff8b2d);
  transition: transform 180ms ease, opacity 180ms ease;
  opacity: 0.9;
}

.nav-links a:hover {
  background: rgba(125, 220, 114, 0.16);
  color: var(--primary-deep);
  letter-spacing: 0.01em;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 12px 24px rgba(74, 184, 76, 0.1);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links a.is-active {
  color: var(--primary-deep);
  background:
    linear-gradient(180deg, rgba(125, 220, 114, 0.26), rgba(125, 220, 114, 0.16));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    0 12px 26px rgba(74, 184, 76, 0.14);
}

.nav-links a.is-active::after {
  transform: scaleX(1);
}

.hero {
  align-items: stretch;
  gap: 1.5rem;
  padding: 1rem 0 0;
}

.page-shell {
  padding-bottom: 1rem;
}

.page-hero {
  max-width: 54rem;
  padding: 1.5rem 0 0.5rem;
}

.page-hero h1 {
  max-width: 12ch;
}

.hero > * {
  flex: 1;
}

.hero-copy,
.hero-visual,
.category-card,
.feature-slab,
.stack-card,
.offer-banner,
.savings-panel,
.footer {
  border: 1px solid var(--border);
}

.hero-copy {
  padding: 2rem 0.2rem 2rem 0;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(74, 184, 76, 0.08);
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 1;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.4rem, 7vw, 6.5rem);
  letter-spacing: -0.05em;
}

.hero-text {
  max-width: 34rem;
  margin: 1.2rem 0 0;
  font-size: 1.06rem;
  line-height: 1.8;
}

.hero-actions,
.hero-stats,
.category-toolbar,
.category-grid,
.highlight-grid,
.feature-stack,
.footer-meta,
.footer-contact-info,
.social-links {
  gap: 1rem;
}

.footer-contact-info {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem !important;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Social icons are now styled in the footer section with premium gradients */

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

.footer-links a {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(37, 117, 48, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.footer-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(74, 184, 76, 0.32);
  background: rgba(125, 220, 114, 0.12);
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.5rem;
}

.policy-card {
  padding: 1.8rem;
  border: 1px solid var(--border);
  border-radius: 1.7rem;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.policy-card h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: var(--primary-deep);
  letter-spacing: -0.03em;
}

.policy-card h3 {
  margin-top: 1.3rem;
  margin-bottom: 0.6rem;
  font-size: 1.12rem;
  color: var(--surface-bright);
}

.policy-card p,
.policy-card li {
  color: var(--text);
  line-height: 1.8;
}

.policy-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.policy-side {
  display: grid;
  gap: 1.5rem;
}

.hero-actions,
.hero-stats {
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:active {
  transform: translateY(0) scale(0.98);
  transition: all 0.1s ease;
}

@media (hover: hover) {
  .btn:hover {
    transform: translateY(-2px);
  }
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #0f2414;
  box-shadow: 0 16px 35px rgba(74, 184, 76, 0.22);
}

.btn-secondary,
.btn-ghost {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.58);
}

.hero-stats article {
  min-width: 10rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.6);
}

.hero-stats strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--surface-bright);
  font-size: 1.45rem;
}

.hero-visual {
  position: relative;
  min-height: 37rem;
  padding: 1.25rem;
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(125, 220, 114, 0.5), transparent 48%),
    linear-gradient(160deg, #dff5d8 0%, #c7ebbe 72%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, transparent 10%, rgba(255, 255, 255, 0.22) 10.5%, transparent 11.2%),
    linear-gradient(125deg, transparent 22%, rgba(255, 255, 255, 0.2) 22.5%, transparent 23.2%),
    linear-gradient(125deg, transparent 34%, rgba(255, 255, 255, 0.18) 34.5%, transparent 35.2%);
  opacity: 0.9;
}

.hero-gridline {
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(22, 53, 29, 0.08);
  border-radius: 1.5rem;
}

.hero-panel,
.hero-product {
  position: absolute;
  border: 1px solid rgba(27, 71, 37, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-panel-main {
  left: 1.6rem;
  right: 1.6rem;
  bottom: 1.6rem;
  padding: 1.7rem;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
}

.panel-kicker,
.mini-label,
.card-tag,
.stack-number,
.product-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel-transparent {
  background: none !important;
  backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}

.hero-panel-transparent .panel-kicker {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-panel-lifted {
  bottom: 6rem !important;
}

@media (max-width: 768px) {
  .hero-panel-lifted {
    bottom: 1.2rem !important;
    left: 1.2rem !important;
    right: 1.2rem !important;
  }
  .hero-panel-main h2 {
    font-size: 1.8rem !important;
  }
  .hero-panel-main p {
    font-size: 0.9rem !important;
  }
  .mobile-hide {
    display: none;
  }
}

.hero-panel-main h2 {
  max-width: 10ch;
  margin-top: 1rem;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
}

.hero-panel-main p {
  max-width: 26rem;
  margin-top: 0.9rem;
  line-height: 1.75;
}

.hero-panel-aside {
  top: 1.6rem;
  right: 1.6rem;
  width: 12rem;
  padding: 1.15rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.76);
}

.hero-panel-aside strong {
  display: block;
  margin: 0.55rem 0 0.2rem;
  font-size: 2rem;
  color: var(--surface-bright);
}

.hero-product {
  left: 1.6rem;
  width: 15rem;
  padding: 1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.66);
}

.hero-product-top {
  top: 2.3rem;
}

.hero-product-bottom {
  top: 10.4rem;
}

.hero-product h3 {
  margin-top: 0.85rem;
  font-size: 1.2rem;
}

.hero-product p {
  margin: 0.55rem 0 0;
  line-height: 1.6;
}

.speed-strip {
  overflow: hidden;
  margin-bottom: 1rem;
  border-top: 1px solid rgba(27, 71, 37, 0.08);
  border-bottom: 1px solid rgba(27, 71, 37, 0.08);
}

.strip-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 1rem 0;
  color: var(--primary-deep);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  animation: ticker 18s linear infinite;
}

.strip-track span::before {
  content: "/";
  margin-right: 2rem;
  color: var(--accent);
}

.section {
  padding: 1rem 0;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.feature-slab h2,
.offer-banner h2,
.savings-copy h2 {
  font-size: clamp(2rem, 4.2vw, 4rem);
  letter-spacing: -0.04em;
}

.category-grid,
.highlight-grid {
  flex-wrap: wrap;
}

.product-grid,
.info-grid,
.story-grid,
.contact-layout {
  display: grid;
  gap: 1.5rem;
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.story-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

.story-row:nth-child(even) {
  flex-direction: row-reverse;
}

.story-row-media {
  flex: 0 0 40%;
  max-width: 500px;
  height: 350px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.story-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-row-content {
  flex: 1;
}

@media (max-width: 900px) {
  .story-row, .story-row:nth-child(even) {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
  }
  .story-row-media {
    width: 100%;
    min-height: 300px;
  }
}

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

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

.category-card,
.feature-slab,
.stack-card,
.info-card,
.contact-card,
.offer-banner,
.savings-panel,
.footer {
  border-radius: 1.7rem;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.category-card {
  flex: 1 1 240px;
  padding: 1.5rem;
  transition: transform 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.product-card,
.info-card,
.contact-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: transform 180ms ease, border-color 180ms ease;
}

@media (hover: hover) {
  .category-card:hover,
  .product-card:hover,
  .info-card:hover,
  .contact-card:hover,
  .stack-card:hover {
    transform: translateY(-4px);
    border-color: rgba(111, 209, 95, 0.35);
  }
}

.category-card:active,
.product-card:active,
.info-card:active,
.contact-card:active,
.stack-card:active {
  transform: translateY(0) scale(0.98);
  transition: all 0.1s ease;
}

.category-featured {
  background:
    linear-gradient(145deg, rgba(125, 220, 114, 0.26), transparent 55%),
    rgba(255, 255, 255, 0.88);
}

.filter-chip {
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--primary-deep);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  background: var(--primary);
  color: #0f2414;
}

.card-tag {
  background: rgba(125, 220, 114, 0.18);
  color: var(--primary);
}

.category-card h3,
.stack-card h3,
.info-card h3,
.contact-card h3 {
  margin-top: 1rem;
  font-size: 1.55rem;
}

.category-card p,
.feature-slab p,
.stack-card p,
.info-card p,
.contact-card p,
.offer-banner p,
.savings-text,
.savings-result {
  line-height: 1.75;
}

.card-meta {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.88rem;
}

.category-card.is-hidden {
  display: none;
}

.highlight-grid {
  align-items: stretch;
}

.feature-slab {
  flex: 1.2;
  padding: 1.8rem;
  background:
    linear-gradient(135deg, rgba(255, 178, 76, 0.12), transparent 35%),
    rgba(255, 255, 255, 0.82);
}

.feature-stack {
  flex: 1;
  flex-direction: column;
}

.stack-card {
  padding: 1.35rem;
  transition: transform 180ms ease, border-color 180ms ease;
}

.stack-number {
  background: rgba(74, 184, 76, 0.1);
  color: var(--primary-deep);
}

.offer-banner,
.savings-panel {
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.8rem;
  background:
    linear-gradient(135deg, rgba(125, 220, 114, 0.18), rgba(255, 178, 76, 0.12)),
    rgba(255, 255, 255, 0.84);
}

.savings-copy {
  max-width: 34rem;
}

.savings-form {
  flex-direction: column;
  width: min(100%, 25rem);
}

.input-label {
  margin-bottom: 0.55rem;
  color: var(--primary-deep);
  font-size: 0.95rem;
  font-weight: 700;
}

.input-row {
  gap: 0.75rem;
}

.input-row input {
  flex: 1;
  min-width: 0;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.8);
}

.input-row input:focus {
  outline: 2px solid rgba(74, 184, 76, 0.18);
  border-color: rgba(74, 184, 76, 0.35);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin: 1rem auto 1.5rem;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 2.2rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.footer-brand {
  flex: 1;
}

.footer-brand h2 {
  font-size: 1.8rem;
  color: var(--primary-deep);
  margin-bottom: 0.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-brand p {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 240px;
  line-height: 1.6;
}




.footer-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.2rem;
}

.footer-meta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-deep);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(74, 184, 76, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
}

.social-links {
  display: flex;
  gap: 1.2rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1.2rem;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.social-links a.whatsapp-icon { 
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.social-links a.facebook-icon { 
  background: linear-gradient(135deg, #1877F2, #0056b3);
}

.social-links a.instagram-icon { 
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-links a svg {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:active {
  transform: translateY(0) scale(0.95);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.1s ease;
}

@media (hover: hover) {
  .social-links a:hover {
    transform: translateY(-8px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  }

  .social-links a:hover svg {
    transform: scale(1.2) rotate(8deg);
  }
}

@media (max-width: 900px) {
  .footer {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 2.5rem 1.5rem;
    gap: 2.5rem;
  }

  .footer-brand, 
  .footer-right {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    flex: none !important;
    width: 100% !important;
  }

  .footer-brand h2,
  .footer-brand p,
  .footer-right h2,
  .footer-right p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .footer-brand p {
    max-width: 100% !important;
  }

  .social-links {
    justify-content: center !important;
    width: 100% !important;
  }
}


.shop-page {
  background:
    radial-gradient(circle at top left, rgba(125, 220, 114, 0.28), transparent 26%),
    radial-gradient(circle at 88% 10%, rgba(255, 178, 76, 0.24), transparent 18%),
    linear-gradient(180deg, #f9fff6 0%, #f3f9ed 42%, #ebf5e3 100%);
}

.shop-main {
  position: relative;
  z-index: 1;
}

.shop-showcase {
  padding-top: 0.5rem;
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.shop-sidebar,
.shop-hero-panel,
.shop-toolbar-panel,
.shop-products-panel {
  border: 1px solid var(--border);
  border-radius: 1.9rem;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.shop-sidebar {
  margin-bottom: 1.25rem;
  padding: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 251, 239, 0.96)),
    rgba(255, 255, 255, 0.84);
}

.shop-sidebar-head h2 {
  margin-top: 0.5rem;
  font-size: 1.75rem;
  letter-spacing: -0.04em;
}

.shop-category-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.shop-category-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  color: var(--text);
  background: #fff;
  text-align: center;
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.shop-category-link::after {
  display: none;
}

.shop-category-link:hover {
  background: var(--bg-soft);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.shop-category-link.is-active {
  background: var(--primary-deep);
  color: #fff;
  border-color: var(--primary-deep);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(37, 117, 48, 0.25);
  transform: translateY(-2px);
}

.shop-content {
  display: grid;
  gap: 1.25rem;
}

.shop-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1rem;
  padding: 1rem;
  background:
    radial-gradient(circle at top right, rgba(255, 178, 76, 0.2), transparent 24%),
    linear-gradient(145deg, rgba(125, 220, 114, 0.12), rgba(255, 255, 255, 0.92) 42%, rgba(255, 248, 235, 0.96));
}

.shop-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 1.6rem 1.4rem;
}

.shop-hero-copy h1 {
  max-width: 9ch;
  margin-top: 0.95rem;
  font-size: clamp(2.9rem, 5vw, 5rem);
  letter-spacing: -0.06em;
}

.shop-hero-copy .hero-text {
  max-width: 34rem;
}

.shop-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.7rem;
}

.shop-hero-badge {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(74, 184, 76, 0.16);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.76);
}

.shop-hero-badge strong {
  display: block;
  color: var(--surface-bright);
  font-size: 1.3rem;
}

.shop-hero-badge span {
  color: var(--muted);
  font-size: 0.92rem;
}

.shop-hero-visual {
  position: relative;
  min-height: 26rem;
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.7), transparent 22%),
    linear-gradient(160deg, #fff7e7 0%, #ffe7c3 58%, #f3dfba 100%);
  overflow: hidden;
}

.shop-hero-orb {
  position: absolute;
  right: 1.75rem;
  bottom: -4rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 220, 114, 0.24), rgba(125, 220, 114, 0));
  filter: blur(8px);
}

.shop-hero-image {
  position: absolute;
  right: 2rem;
  bottom: 0;
  width: min(92%, 31rem);
  height: auto;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.shop-floating-card {
  position: absolute;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(27, 71, 37, 0.1);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 32px rgba(58, 118, 57, 0.12);
  backdrop-filter: blur(12px);
}

.shop-floating-card strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--surface-bright);
  font-size: 1.1rem;
}

.shop-floating-card p,
.shop-results-copy {
  margin: 0.2rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.shop-floating-offer {
  top: 1.4rem;
  right: 1.4rem;
}

.shop-floating-delivery {
  left: 1.4rem;
  bottom: 1.4rem;
}

.shop-toolbar-panel,
.shop-products-panel {
  padding: 1.35rem;
}

.shop-heading-compact {
  max-width: 40rem;
  margin-bottom: 1.1rem;
}

.shop-heading-compact h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
}

.shop-products-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.shop-results-copy {
  margin: 0;
  font-weight: 700;
}

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

.shop-product-card {
  padding: 0.85rem;
  overflow: hidden;
}

.shop-product-media {
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 0.9rem;
  border-radius: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 100%, cover;
  background-position: center, center;
  background-origin: border-box, content-box;
  background-clip: border-box, content-box;
  background-color: rgba(247, 248, 242, 0.96);
  box-shadow: inset 0 -40px 80px rgba(9, 34, 14, 0.08);
}

.media-vegetables {
  background-image:
    linear-gradient(180deg, rgba(240, 248, 255, 0.12), rgba(240, 248, 255, 0.12)),
    url("https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=900&q=80");
}

.media-groceries {
  background-image:
    linear-gradient(180deg, rgba(240, 248, 255, 0.1), rgba(240, 248, 255, 0.1)),
    url("https://images.unsplash.com/photo-1506617564039-2f3b650b7010?auto=format&fit=crop&w=900&q=80");
}

.media-tea {
  background-image:
    linear-gradient(180deg, rgba(240, 248, 255, 0.08), rgba(240, 248, 255, 0.08)),
    url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=900&q=80");
}

.media-sweets {
  background-image:
    linear-gradient(180deg, rgba(240, 248, 255, 0.08), rgba(240, 248, 255, 0.08)),
    url("https://images.unsplash.com/photo-1603532648955-039310d9ed75?auto=format&fit=crop&w=900&q=80");
}

.media-dryfruits {
  background-image:
    linear-gradient(180deg, rgba(240, 248, 255, 0.08), rgba(240, 248, 255, 0.08)),
    url("https://images.unsplash.com/photo-1599599810694-b5b37304c041?auto=format&fit=crop&w=900&q=80");
}

.media-juice {
  background-image:
    linear-gradient(180deg, rgba(240, 248, 255, 0.08), rgba(240, 248, 255, 0.08)),
    url("https://images.unsplash.com/photo-1621506289937-a8e4df240d0b?auto=format&fit=crop&w=900&q=80");
}

.media-gift {
  background-image:
    linear-gradient(180deg, rgba(240, 248, 255, 0.08), rgba(240, 248, 255, 0.08)),
    url("https://images.unsplash.com/photo-1512909006721-3d6018887383?auto=format&fit=crop&w=900&q=80");
}

.media-care {
  background-image:
    linear-gradient(180deg, rgba(240, 248, 255, 0.08), rgba(240, 248, 255, 0.08)),
    url("https://images.unsplash.com/photo-1556228720-195a672e8a03?auto=format&fit=crop&w=900&q=80");
}

.media-cap {
  background-image:
    linear-gradient(180deg, rgba(240, 248, 255, 0.08), rgba(240, 248, 255, 0.08)),
    url("https://images.unsplash.com/photo-1521369909029-2afed882baee?auto=format&fit=crop&w=900&q=80");
}

.media-jewelry {
  background-image:
    linear-gradient(180deg, rgba(240, 248, 255, 0.08), rgba(240, 248, 255, 0.08)),
    url("https://images.unsplash.com/photo-1617038220319-276d3cfab638?auto=format&fit=crop&w=900&q=80");
}

.media-books {
  background-image:
    linear-gradient(180deg, rgba(240, 248, 255, 0.08), rgba(240, 248, 255, 0.08)),
    url("https://images.unsplash.com/photo-1512820790803-83ca734da794?auto=format&fit=crop&w=900&q=80");
}

.media-fruits {
  background-image:
    linear-gradient(180deg, rgba(240, 248, 255, 0.08), rgba(240, 248, 255, 0.08)),
    url("https://images.unsplash.com/photo-1619566636858-adf3ef46400b?auto=format&fit=crop&w=900&q=80");
}

.shop-product-body {
  padding: 1rem 0.15rem 0.2rem;
}

.shop-product-headline,
.shop-product-submeta,
.shop-notice-bar {
  display: flex;
}

.shop-product-headline {
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.shop-product-body h3 {
  font-size: 1.35rem;
}

.shop-product-submeta {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.shop-stock-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.shop-stock-note-alert {
  color: #b15d31;
}

.shop-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.shop-price-stack {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.shop-compare-price {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: line-through;
}

.shop-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(125, 220, 114, 0.14);
  color: var(--primary-deep);
  font-size: 0.74rem;
  font-weight: 800;
}

.shop-status-pill.is-alert {
  background: rgba(255, 178, 76, 0.18);
  color: #b15d31;
}

.shop-status-pill.is-muted {
  background: rgba(22, 53, 29, 0.08);
  color: var(--muted);
}

.shop-notice-bar {
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
}

.shop-empty-state {
  padding: 1.5rem;
  border: 1px dashed rgba(74, 184, 76, 0.24);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.56);
  text-align: center;
}

.shop-empty-state h3 {
  font-size: 1.5rem;
}

.shop-empty-state p {
  color: var(--muted);
}

.shop-product-card.is-out-of-stock {
  opacity: 0.9;
}

.shop-product-card.is-out-of-stock .shop-product-media {
  filter: grayscale(0.2);
}

.shop-quantity-picker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.4rem;
  border: 1px solid rgba(74, 184, 76, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.qty-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(125, 220, 114, 0.16);
  color: var(--primary-deep);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.qty-button:hover {
  background: rgba(125, 220, 114, 0.28);
  transform: scale(1.04);
}

.qty-value {
  min-width: 1.4rem;
  text-align: center;
  color: var(--surface-bright);
  font-weight: 800;
}

.shop-product-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.shop-buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 178, 76, 0.24);
  border-radius: 999px;
  background: rgba(255, 178, 76, 0.16);
  color: #8a4f00;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.shop-buy-button:hover {
  background: rgba(255, 178, 76, 0.28);
  border-color: rgba(255, 178, 76, 0.4);
  transform: translateY(-2px);
}

.shop-product-meta .card-meta {
  margin-top: 0;
  color: var(--surface-bright);
  font-size: 1rem;
  font-weight: 800;
}

.shop-add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.25rem;
  min-height: 2.5rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(74, 184, 76, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary-deep);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.shop-add-button:hover {
  background: rgba(125, 220, 114, 0.18);
  border-color: rgba(74, 184, 76, 0.34);
  transform: translateY(-2px);
}

.shop-product-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: max(0.8rem, env(safe-area-inset-top)) max(0.8rem, env(safe-area-inset-right)) max(0.8rem, env(safe-area-inset-bottom)) max(0.8rem, env(safe-area-inset-left));
}

.shop-modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(16, 36, 20, 0.46);
  backdrop-filter: blur(8px);
}

.shop-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(90vh, 90dvh);
  margin: 0 auto;
  padding: 1rem;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at top right, rgba(255, 178, 76, 0.16), transparent 24%),
    linear-gradient(145deg, rgba(125, 220, 114, 0.12), rgba(255, 255, 255, 0.96) 38%, rgba(255, 248, 235, 0.96));
  box-shadow: 0 32px 70px rgba(16, 36, 20, 0.22);
}

.shop-modal-close {
  position: sticky;
  top: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  border: 1px solid rgba(27, 71, 37, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--surface-bright);
  font-weight: 800;
  cursor: pointer;
}

.shop-modal-layout,
.shop-modal-meta,
.shop-modal-head,
.shop-modal-section-head,
.shop-modal-controls,
.shop-modal-actions {
  display: flex;
}

.shop-modal-layout {
  align-items: start;
  gap: 1rem;
}

.shop-modal-gallery,
.shop-modal-copy {
  flex: 1;
}

.shop-modal-main-image {
  min-height: clamp(18rem, 48vw, 36rem);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 1.45rem;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 -40px 80px rgba(9, 34, 14, 0.08);
}

.shop-modal-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.shop-modal-thumb {
  min-height: 5.5rem;
  border: 1px solid rgba(27, 71, 37, 0.08);
  border-radius: 1rem;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.shop-modal-thumb.is-active {
  border-color: rgba(74, 184, 76, 0.42);
  box-shadow: 0 0 0 2px rgba(125, 220, 114, 0.22);
}

.shop-modal-copy {
  flex-direction: column;
  gap: 0.95rem;
  padding: 0.2rem 0.2rem 0.4rem;
}

.shop-modal-head {
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.shop-modal-head h2 {
  margin-top: 0.8rem;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.04em;
}

.shop-modal-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.shop-modal-price-row {
  display: flex;
  align-items: end;
  gap: 0.8rem;
}

.shop-modal-price-row strong {
  color: var(--surface-bright);
  font-family: "Sora", sans-serif;
  font-size: 1.6rem;
}

.shop-modal-meta {
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.shop-modal-meta span {
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(27, 71, 37, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.shop-modal-stock {
  color: var(--muted);
  font-weight: 700;
}

.shop-modal-stock.is-alert {
  color: #b15d31;
}

.shop-modal-section {
  padding: 1rem;
  border: 1px solid rgba(27, 71, 37, 0.08);
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.58);
}

.shop-modal-section-head {
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.shop-modal-section-head h3 {
  margin: 0;
  font-size: 1rem;
}

.shop-modal-section-head span {
  color: var(--muted);
  font-size: 0.92rem;
}

.shop-modal-variants {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.shop-variant-chip {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem;
  border: 1px solid rgba(27, 71, 37, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.shop-variant-chip strong {
  color: var(--surface-bright);
  font-size: 1rem;
}

.shop-variant-chip span,
.shop-variant-chip small {
  color: var(--muted);
}

.shop-variant-chip.is-active {
  border-color: rgba(74, 184, 76, 0.42);
  background: rgba(125, 220, 114, 0.18);
}

.shop-variant-chip.is-unavailable {
  opacity: 0.65;
}

.shop-modal-controls {
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.shop-modal-actions {
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cart-page {
  background:
    radial-gradient(circle at top left, rgba(125, 220, 114, 0.22), transparent 24%),
    radial-gradient(circle at 92% 12%, rgba(255, 178, 76, 0.18), transparent 18%),
    linear-gradient(180deg, #fbfff8 0%, #f2f9eb 46%, #edf5e6 100%);
}

.cart-main {
  position: relative;
  z-index: 1;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  gap: 1.25rem;
  align-items: start;
}

.cart-items-panel,
.cart-summary-panel {
  border: 1px solid var(--border);
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.cart-items-panel {
  padding: 1.35rem;
}

.cart-summary-panel {
  position: sticky;
  top: 1.2rem;
  padding: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 253, 243, 0.98)),
    rgba(255, 255, 255, 0.88);
}

.cart-heading {
  margin-bottom: 1rem;
}

.cart-items-list {
  display: grid;
  gap: 1rem;
}

.cart-item-card,
.cart-empty-state {
  border: 1px solid var(--border);
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 32px rgba(58, 118, 57, 0.08);
}

.cart-item-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1rem;
  padding: 0.9rem;
}

.cart-item-media {
  min-height: 10.5rem;
  border-radius: 1.2rem;
  background-size: cover;
  background-position: center;
}

.cart-item-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cart-item-copy h3 {
  margin-top: 0.8rem;
  font-size: 1.45rem;
}

.cart-item-copy p,
.cart-payment-note,
.cart-empty-state p {
  color: var(--muted);
  line-height: 1.7;
}

.cart-availability-note {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
}

.cart-availability-alert {
  color: #b15d31;
}

.cart-item-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.9rem;
}

.cart-item-price {
  color: var(--surface-bright);
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
}

.cart-remove-button {
  border: 0;
  background: transparent;
  color: #b15d31;
  font-weight: 700;
  cursor: pointer;
}

.cart-item-card.is-unavailable {
  border-color: rgba(255, 178, 76, 0.28);
  background: rgba(255, 248, 239, 0.84);
}

.cart-empty-state {
  padding: 1.5rem;
}

.cart-empty-state h3 {
  font-size: 1.6rem;
}

.cart-summary-rows {
  display: grid;
  gap: 0.8rem;
}

.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(27, 71, 37, 0.08);
}

.cart-summary-total {
  margin-top: 0.35rem;
  padding-top: 1.15rem;
}

.cart-summary-total span,
.cart-summary-total strong {
  color: var(--surface-bright);
  font-size: 1.08rem;
}

.cart-checkout-form {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.cart-checkout-form input,
.cart-checkout-form select,
.cart-checkout-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.84);
}

.cart-checkout-form input:focus,
.cart-checkout-form select:focus,
.cart-checkout-form textarea:focus {
  outline: 2px solid rgba(74, 184, 76, 0.18);
  border-color: rgba(74, 184, 76, 0.35);
}

.cart-pay-button {
  width: 100%;
  margin-top: 0.4rem;
}

.cart-pay-button:disabled,
.shop-add-button:disabled,
.shop-buy-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.cart-payment-note {
  margin: 0.2rem 0 0;
  font-size: 0.94rem;
}

.is-hidden {
  display: none !important;
}

.admin-page {
  background:
    radial-gradient(circle at top left, rgba(125, 220, 114, 0.18), transparent 24%),
    radial-gradient(circle at 92% 14%, rgba(255, 178, 76, 0.18), transparent 18%),
    linear-gradient(180deg, #fcfff9 0%, #f2f9eb 46%, #ecf5e5 100%);
}

.admin-main {
  position: relative;
  z-index: 1;
}

.admin-dashboard {
  padding-top: 0.5rem;
}

.admin-auth-shell {
  display: grid;
  gap: 1rem;
  padding-top: 0.5rem;
}

.admin-layout,
.admin-stats-grid,
.admin-toggle-grid,
.admin-form-actions,
.admin-toolbar-head,
.admin-toolbar-actions,
.admin-product-head,
.admin-product-state,
.admin-product-meta,
.admin-product-price-row,
.admin-product-actions,
.admin-two-col,
.admin-field-head {
  display: flex;
}

.admin-layout {
  align-items: start;
  gap: 1.25rem;
}

.admin-form-panel,
.admin-toolbar-panel,
.admin-products-panel,
.admin-stat-card,
.admin-auth-card {
  border: 1px solid var(--border);
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.admin-auth-card {
  padding: 1.35rem;
}

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

.admin-auth-form input {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.86);
}

.admin-auth-form input:focus {
  outline: 2px solid rgba(74, 184, 76, 0.18);
  border-color: rgba(74, 184, 76, 0.35);
}

.admin-form-panel {
  position: sticky;
  top: 1.2rem;
  flex: 0 0 min(100%, 27rem);
  padding: 1.35rem;
  max-height: calc(100vh - 2.4rem);
  overflow-y: auto;
}

.admin-content {
  display: grid;
  flex: 1;
  gap: 1.25rem;
}

.admin-heading-compact {
  max-width: 36rem;
  margin-bottom: 1rem;
}

.admin-heading-compact h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.04em;
}

.admin-product-form {
  display: grid;
  gap: 0.7rem;
}

.admin-product-form input,
.admin-product-form select,
.admin-product-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.86);
}

.admin-product-form textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.admin-product-form input:focus,
.admin-product-form select:focus,
.admin-product-form textarea:focus {
  outline: 2px solid rgba(74, 184, 76, 0.18);
  border-color: rgba(74, 184, 76, 0.35);
}

.admin-two-col {
  gap: 0.8rem;
}

.admin-two-col > * {
  flex: 1;
}

.admin-toggle-grid {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.3rem;
}

.admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.admin-toggle input {
  width: auto;
  margin: 0;
}

.admin-delivery-card {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.1rem;
  border: 1px solid rgba(27, 71, 37, 0.1);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 248, 242, 0.92));
  box-shadow: 0 20px 45px rgba(27, 71, 37, 0.08);
}

.admin-delivery-card-head {
  margin-bottom: 0;
}

.admin-delivery-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-delivery-summary-card {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(27, 71, 37, 0.08);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.8);
}

.admin-delivery-summary-card strong {
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  color: var(--surface-bright);
  overflow-wrap: anywhere;
}

.admin-delivery-summary-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.admin-delivery-rate-form {
  display: grid;
  gap: 1rem;
}

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

.admin-delivery-rate-form select,
.admin-delivery-rate-form input {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
}

.admin-delivery-rate-form select:focus,
.admin-delivery-rate-form input:focus {
  outline: 2px solid rgba(74, 184, 76, 0.18);
  border-color: rgba(74, 184, 76, 0.35);
}

.admin-delivery-rate-row {
  display: grid;
  gap: 0.55rem;
}

.admin-delivery-rate-input-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0.95rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
}

.admin-delivery-rate-input-shell input {
  border: 0;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

.admin-delivery-rate-input-shell input:focus {
  outline: none;
  border-color: transparent;
}

.admin-delivery-currency,
.admin-delivery-unit {
  color: var(--muted);
  font-weight: 700;
}

.admin-delivery-toggle {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.88);
}

.admin-delivery-toggle span {
  flex: 1 1 12rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-delivery-actions {
  display: grid;
  gap: 0.7rem;
}

.admin-delivery-actions .btn {
  width: 100%;
}

.admin-form-actions {
  gap: 0.75rem;
  margin-top: 0.3rem;
}

.admin-field-shell {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid rgba(27, 71, 37, 0.08);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.56);
}

.admin-field-head {
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-inline-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.admin-mini-button {
  white-space: nowrap;
}

.admin-image-list,
.admin-variant-list {
  display: grid;
  gap: 0.75rem;
}

.admin-image-row,
.admin-variant-row {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid rgba(27, 71, 37, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
}

.admin-image-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

.admin-image-preview {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(27, 71, 37, 0.1);
  background-color: rgba(247, 248, 242, 0.96);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  transition: opacity 180ms ease;
}

.admin-image-preview.is-empty {
  opacity: 0.4;
  background-image: none !important;
}

.admin-variant-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-form-note,
.admin-toolbar-note,
.admin-product-copy p,
.admin-stat-card p {
  color: var(--muted);
}

.admin-stats-grid {
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-stat-card {
  flex: 1 1 180px;
  padding: 1.25rem;
}

.admin-stat-card strong {
  display: block;
  margin-top: 0.9rem;
  color: var(--surface-bright);
  font-family: "Sora", sans-serif;
  font-size: 2rem;
}

.admin-toolbar-panel,
.admin-products-panel {
  padding: 1.35rem;
}

.admin-toolbar-head,
.admin-products-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.admin-products-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}


.admin-product-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.74);
}

.admin-product-media {
  min-height: 15rem;
  border-radius: 1.15rem;
  background-size: cover;
  background-position: center;
}

.admin-product-copy h3 {
  margin-top: 0.7rem;
  font-size: 1.4rem;
}

.admin-product-head {
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-product-state,
.admin-product-meta,
.admin-product-price-row,
.admin-product-actions {
  flex-wrap: wrap;
  gap: 0.7rem;
}

.admin-product-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-product-price-row {
  align-items: center;
  margin-top: 0.9rem;
}

.admin-product-price-row strong {
  color: var(--surface-bright);
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
}

.admin-product-actions {
  margin-top: 1rem;
}

.admin-delete-button {
  color: #b15d31;
}

.admin-dashboard [data-reveal] {
  opacity: 1;
  transform: translateY(0);
}

/* Admin Tabs */
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 1rem;
  border: 1px solid var(--border);
  width: fit-content;
}

.admin-tab-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 0.75rem;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  transition: all 0.2s ease;
}

.admin-tab-btn:hover {
  background: rgba(255, 255, 255, 0.5);
  color: var(--text);
}

.admin-tab-btn.is-active {
  background: var(--surface-bright);
  color: white;
  box-shadow: 0 4px 12px rgba(27, 71, 37, 0.15);
}

/* Orders List */
.admin-orders-stats {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.admin-order-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.74);
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.admin-order-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.order-card-main {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.order-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.order-id {
  font-family: monospace;
  font-weight: 700;
  color: var(--surface-bright);
}

.order-date {
  color: var(--muted);
  font-size: 0.85rem;
}

.order-customer {
  font-weight: 600;
  font-size: 1.1rem;
}

.order-summary {
  color: var(--muted);
  font-size: 0.9rem;
}

.order-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}

.order-total {
  font-weight: 700;
  font-size: 1.2rem;
  font-family: "Sora", sans-serif;
}

/* Status Pills */
.status-pill {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-placed { background: #fff3cd; color: #856404; }
.status-packed { background: #d1ecf1; color: #0c5460; }
.status-shipped { background: #cce5ff; color: #004085; }
.status-delivered { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }

@keyframes status-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); filter: brightness(1.2); box-shadow: 0 0 15px rgba(125, 220, 114, 0.4); }
  100% { transform: scale(1); }
}

.status-updated {
  animation: status-pulse 1s ease-in-out 2;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-awaiting_payment { background: #ffeeba; color: #856404; }
.status-paid { background: #d4edda; color: #155724; }
.status-failed { background: #f8d7da; color: #721c24; }
.status-refunded { background: #e2e3e5; color: #383d41; }

/* Order Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 36, 20, 0.46);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 1.5rem;
  background: #fdfdfc;
  box-shadow: 0 32px 70px rgba(16, 36, 20, 0.22);
}

.modal-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem;
  background: #fdfdfc;
  border-bottom: 1px solid var(--border);
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  z-index: 2;
}

.modal-header h2 {
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.modal-body {
  padding: 1.5rem;
}

.admin-order-modal-content {
  width: min(100%, 800px);
  max-height: 90vh;
  overflow-y: auto;
}

.order-modal-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
}

.order-modal-main h3,
.order-sidebar-section h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--surface-bright);
}

.order-items-list {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.order-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.5);
}

.order-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.order-item-price {
  font-weight: 600;
}

.order-financials {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.order-financial-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.order-total-row {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border);
  color: var(--text);
  font-size: 1.2rem;
}

.order-sidebar-section {
  background: rgba(255, 255, 255, 0.6);
  padding: 1.2rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.admin-status-select {
  width: 100%;
  padding: 0.6rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  background: white;
}

.customer-info-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.customer-address {
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: rgba(0,0,0,0.03);
  border-radius: 0.5rem;
  font-size: 0.9rem;
}

.payment-method-badge {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  background: #e9ecef;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  width: fit-content;
  margin-top: 0.5rem;
}

@media (max-width: 1024px) {
  .shop-modal-layout {
    flex-direction: column;
  }

  .shop-modal-main-image {
    min-height: min(28rem, 62vw);
  }
}

@media (max-width: 760px) {
  .shop-product-modal {
    z-index: 1010;
    padding-bottom: 6.5rem;
  }

  .shop-modal-dialog {
    width: 100%;
    max-height: calc(min(100vh, 100dvh) - 6.5rem - 1rem);
    margin: auto 0 0;
    padding: 0.85rem;
    border-radius: 1.25rem;
  }

  .shop-modal-main-image {
    min-height: clamp(14rem, 50vw, 18rem);
  }

  .shop-modal-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-modal-head h2 {
    margin-top: 0.35rem;
    font-size: clamp(1.35rem, 5.5vw, 1.85rem);
  }

  .shop-modal-copy {
    gap: 0.55rem;
    padding: 0.15rem 0.15rem 0.3rem;
  }

  .shop-modal-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.55;
    margin: 0;
  }

  .shop-modal-section {
    padding: 0.7rem;
  }

  .shop-modal-section-head {
    margin-bottom: 0.5rem;
  }

  .shop-quantity-picker {
    margin-top: 0.6rem;
  }

  .shop-modal-controls {
    align-items: stretch;
    flex-direction: column;
    gap: 0.6rem;
  }

  .shop-modal-actions {
    width: 100%;
  }

  .shop-modal-actions .shop-add-button,
  .shop-modal-actions .shop-buy-button {
    flex: 1;
    min-height: 2.75rem;
  }

  .admin-image-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .shop-product-modal {
    padding: max(0.5rem, env(safe-area-inset-top)) max(0.5rem, env(safe-area-inset-right)) 6.5rem max(0.5rem, env(safe-area-inset-left));
  }

  .shop-modal-dialog {
    padding: 0.6rem;
  }

  .shop-modal-main-image {
    min-height: clamp(12rem, 45vw, 16rem);
  }

  .shop-modal-thumbs {
    grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
    gap: 0.4rem;
    margin-top: 0.5rem;
  }

  .shop-modal-thumb {
    min-height: 3.5rem;
  }

  .shop-modal-head h2 {
    margin-top: 0.2rem;
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }

  .shop-modal-copy {
    gap: 0.4rem;
    padding: 0.1rem 0.1rem 0.2rem;
  }

  .shop-modal-description {
    -webkit-line-clamp: 2;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .shop-modal-price-row strong {
    font-size: 1.35rem;
  }

  .shop-modal-meta {
    gap: 0.4rem;
    font-size: 0.82rem;
  }

  .shop-modal-meta span {
    padding: 0.35rem 0.55rem;
  }

  .shop-modal-section {
    padding: 0.55rem;
  }

  .shop-modal-variants {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
  }

  .shop-variant-chip {
    padding: 0.6rem;
  }

  .shop-quantity-picker {
    margin-top: 0.4rem;
  }

  .shop-modal-actions .shop-add-button,
  .shop-modal-actions .shop-buy-button {
    min-height: 2.6rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
  }
}

.home-page {
  background:
    radial-gradient(circle at top left, rgba(125, 220, 114, 0.35), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(255, 178, 76, 0.18), transparent 20%),
    linear-gradient(180deg, #f9fff6 0%, #eef8e6 46%, #e5f1dc 100%);
}

.home-shell {
  min-height: 100vh;
  padding-bottom: 1.25rem;
}

.home-topbar {
  margin-bottom: 1.5rem;
}

.home-hero,
.story-grid,
.split-feature,
.home-spotlight,
.feature-marquee-grid {
  display: grid;
  gap: 1rem;
}

.home-hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
  align-items: stretch;
  min-height: calc(100vh - 8.5rem);
}

.hero-kicker,
.gallery-tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(22, 53, 29, 0.08);
  color: var(--primary-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero-intro,
.home-card,
.split-copy,
.split-mini,
.spotlight-lead,
.spotlight-panel,
.spotlight-mini,
.home-footer {
  border: 1px solid var(--border);
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.home-hero-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent),
    linear-gradient(145deg, rgba(125, 220, 114, 0.2), rgba(255, 255, 255, 0.82) 48%);
}

.home-hero-intro h1 {
  max-width: 9ch;
  margin-top: 1rem;
}

.home-hero-stack {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 1rem;
}

.home-card {
  padding: 1.6rem;
}

.home-card-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(255, 178, 76, 0.22), transparent 30%),
    linear-gradient(160deg, #d9f0cf 0%, #f7fff2 62%);
}

.home-card-main h2 {
  max-width: 9ch;
  margin-top: 1rem;
  font-size: clamp(2.3rem, 4vw, 4rem);
  letter-spacing: -0.05em;
}

.home-card-main p {
  max-width: 28rem;
  color: var(--muted);
  line-height: 1.8;
}

.scroll-card {
  opacity: 0;
  transition:
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 650ms ease;
  will-change: transform, opacity;
}

.scroll-card-left {
  transform: translate3d(-80px, 0, 0);
}

.scroll-card-right {
  transform: translate3d(80px, 0, 0);
}

.scroll-card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.scroll-card-food,
.scroll-card-lifestyle {
  position: relative;
  overflow: hidden;
  color: #f7fff8;
}

.scroll-card-food::before,
.scroll-card-lifestyle::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.scroll-card-food::after,
.scroll-card-lifestyle::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.scroll-card-food::before {
  background-image: url("https://images.pexels.com/photos/20120621/pexels-photo-20120621.jpeg?cs=srgb&dl=pexels-manish-meena-1391970-20120621.jpg&fm=jpg");
}

.scroll-card-food::after {
  background:
    linear-gradient(180deg, rgba(9, 34, 14, 0.2), rgba(9, 34, 14, 0.5)),
    linear-gradient(90deg, rgba(9, 34, 14, 0.82), rgba(9, 34, 14, 0.44) 48%, rgba(9, 34, 14, 0.28));
}

.scroll-card-lifestyle::before {
  background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Himachali_person_wearing_traditional_Cap.jpg");
  background-position: center top;
}

.scroll-card-lifestyle::after {
  background:
    linear-gradient(180deg, rgba(43, 24, 6, 0.18), rgba(19, 33, 12, 0.48)),
    linear-gradient(90deg, rgba(20, 34, 12, 0.82), rgba(20, 34, 12, 0.44) 48%, rgba(20, 34, 12, 0.24));
}

.scroll-card-food > *,
.scroll-card-lifestyle > * {
  position: relative;
  z-index: 1;
}

.scroll-card-food .panel-kicker,
.scroll-card-lifestyle .panel-kicker {
  background: rgba(255, 255, 255, 0.14);
  color: #f7fff8;
}

.scroll-card-food h2,
.scroll-card-lifestyle h2 {
  color: #f7fff8;
}

.scroll-card-food p,
.scroll-card-lifestyle p {
  color: rgba(247, 255, 248, 0.9);
}

.split-mini h3,
.spotlight-panel h3,
.spotlight-mini h3 {
  margin-top: 0.85rem;
  font-size: 1.35rem;
}

.split-copy p,
.split-mini p,
.spotlight-lead p,
.spotlight-panel p,
.spotlight-mini p {
  color: var(--muted);
  line-height: 1.75;
}

.home-main {
  position: relative;
  z-index: 1;
}

.home-gallery {
  overflow: hidden;
}

.why-fresh-section {
  overflow: hidden;
}

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

.pahadi-legacy-section {
  position: relative;
}

.pahadi-legacy-section::before {
  content: "";
  position: absolute;
  inset: auto 0 -1.2rem;
  height: 72%;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(125, 220, 114, 0.42), rgba(255, 178, 76, 0.3));
  filter: blur(1px);
}

.pahadi-legacy-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 3rem;
  padding: 3rem;
  border: 1px solid rgba(37, 117, 48, 0.16);
  border-radius: 2rem;
  background:
    linear-gradient(125deg, rgba(125, 220, 114, 0.1), rgba(255, 255, 255, 0.95) 34%, rgba(255, 248, 236, 0.92) 100%);
  backdrop-filter: blur(20px);
  box-shadow: 0 28px 64px rgba(58, 118, 57, 0.16);
  overflow: hidden;
}

.pahadi-legacy-copy {
  flex: 1;
  color: var(--primary-deep);
}

.pahadi-legacy-copy h2 {
  max-width: 15ch;
  margin-top: 0.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-deep);
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  line-height: 1.1;
}

.legacy-carousel {
  flex: 1.2;
  position: relative;
  height: 500px;
  border-radius: 1.8rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.legacy-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}

.legacy-carousel-slide {
  min-width: 100%;
  position: relative;
}

.legacy-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legacy-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 2rem 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  color: #fff;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.legacy-carousel-slide.is-active .legacy-slide-caption {
  transform: translateY(0);
  opacity: 1;
}

.legacy-slide-caption strong {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.legacy-slide-caption span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.legacy-carousel-dots {
  position: absolute;
  bottom: 1.2rem;
  right: 2rem;
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.legacy-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.1);
}

.legacy-dot.is-active {
  background: var(--primary);
  width: 28px;
  border-radius: 10px;
}

.pahadi-legacy-copy p {
  max-width: 38rem;
  color: var(--primary-deep);
  opacity: 0.85;
  line-height: 1.8;
  font-size: 1.15rem;
}

.pahadi-legacy-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.pahadi-legacy-points span {
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(37, 117, 48, 0.2);
  border-radius: 999px;
  background: rgba(37, 117, 48, 0.06);
  color: var(--primary-deep);
  font-size: 0.95rem;
  font-weight: 700;
}

.pahadi-legacy-btn {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, #f6f0d8, #fff8ea);
  color: #103417;
}

.pahadi-legacy-btn:hover {
  background: linear-gradient(135deg, #fff8ea, #f6f0d8);
}

.auto-gallery-frame {
  position: relative;
  overflow: hidden;
  padding: 0.4rem 0;
}

.auto-gallery-frame::before,
.auto-gallery-frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2.5rem, 8vw, 7rem);
  z-index: 2;
  pointer-events: none;
}

.auto-gallery-frame::before {
  left: 0;
  background: linear-gradient(90deg, rgba(249, 255, 246, 1), rgba(249, 255, 246, 0));
}

.auto-gallery-frame::after {
  right: 0;
  background: linear-gradient(270deg, rgba(229, 241, 220, 1), rgba(229, 241, 220, 0));
}

.auto-gallery-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: gallery-loop 28s linear infinite;
}

.auto-gallery-card {
  flex: 0 0 clamp(220px, 24vw, 360px);
  overflow: hidden;
  min-height: clamp(16rem, 28vw, 24rem);
  border: 1px solid var(--border);
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.auto-gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-copy {
  padding: 1.8rem;
}

.split-feature {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.split-stack {
  display: grid;
  gap: 1rem;
}

.split-mini {
  padding: 1.35rem;
}

.home-spotlight {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr) minmax(0, 0.85fr);
  align-items: stretch;
}

.spotlight-lead,
.spotlight-panel,
.spotlight-mini {
  padding: 1.5rem;
}

.spotlight-lead {
  background:
    linear-gradient(135deg, rgba(125, 220, 114, 0.18), rgba(255, 255, 255, 0.88)),
    rgba(255, 255, 255, 0.82);
}

.spotlight-panel-feature {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(255, 178, 76, 0.24), transparent 28%),
    linear-gradient(160deg, rgba(22, 53, 29, 0.95), rgba(37, 117, 48, 0.88));
}

.spotlight-panel-feature h3,
.spotlight-panel-feature p,
.spotlight-panel-feature .text-link {
  color: #f5ffef;
}

.spotlight-panel-feature .panel-kicker {
  background: rgba(255, 255, 255, 0.12);
  color: #f5ffef;
}

.spotlight-stack {
  display: grid;
  gap: 1rem;
}

.spotlight-mini {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(241, 250, 237, 0.92));
}

.home-footer {
  margin-bottom: 2.5rem;
  background:
    linear-gradient(135deg, rgba(125, 220, 114, 0.14), rgba(255, 178, 76, 0.12)),
    rgba(255, 255, 255, 0.82);
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary-deep);
  font-weight: 700;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

[data-reveal="left"] {
  transform: translateX(-60px);
}

[data-reveal="right"] {
  transform: translateX(60px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0) !important;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes gallery-loop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

@media (max-width: 980px) {
  .admin-layout {
    flex-direction: column;
  }

  .admin-delivery-summary,
  .admin-delivery-grid {
    grid-template-columns: 1fr;
  }

  .admin-form-panel {
    position: static;
    width: 100%;
  }

  .admin-toolbar-head,
  .admin-products-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary-panel {
    position: static;
  }

  .shop-layout,
  .shop-hero-panel {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
  }

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

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

  .shop-products-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-hero,
  .split-feature,
  .home-spotlight,
  .pahadi-legacy-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .home-hero-intro {
    min-height: auto;
  }

  .why-fresh-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .offer-banner,
  .savings-panel,
  .footer {
    flex-direction: column;
    align-items: center; /* Centered for better mobile feel */
    text-align: center;
    gap: 0.8rem !important; /* Extremely reduced vertical gap */
  }

  .footer-brand h2 {
    margin-bottom: 0.25rem;
  }

  .footer-brand p {
    margin-bottom: 0; /* Removed paragraph bottom margin */
    font-size: 0.95rem;
  }

  .topbar {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
  }

  .brand {
    min-width: auto;
    flex-shrink: 0;
  }

  .brand-copy {
    justify-content: center;
    padding-top: 0.14rem;
  }

  .brand-copy strong {
    line-height: 1.1;
  }

  .brand-copy span {
    display: none; /* Hide tagline on mobile to save space */
  }

  .nav-links {
    display: none; /* Hide top nav links on mobile since we have bottom nav */
  }

  .cart-button {
    margin-left: auto; /* Push cart to the right since nav-links are gone */
  }

  .cart-button {
    margin-left: 0;
    align-self: center;
    transform: translateY(1px);
  }

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

  .hero-visual {
    width: 100%;
    min-height: 34rem;
  }

  .footer-meta {
    flex-wrap: wrap;
  }

  .footer-links {
    justify-content: center;
  }

  .category-toolbar,
  .highlight-grid {
    flex-wrap: wrap;
  }

  .hero-stats article,
  .feature-slab,
  .feature-stack {
    width: 100%;
  }

  .product-grid,
  .info-grid,
  .contact-layout,
  .policy-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .shop-notice-bar,
  .admin-form-actions,
  .admin-two-col,
  .admin-product-head {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .admin-product-media {
    min-height: 10rem;
  }

  .cart-item-card {
    grid-template-columns: 65px 1fr;
    gap: 0.75rem;
    padding: 0.6rem;
    border-radius: 1rem;
  }

  .cart-item-media {
    min-height: 65px;
    height: 65px;
    border-radius: 0.6rem;
  }

  .cart-item-body {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .cart-item-copy .card-tag {
    display: none;
  }

  .cart-item-copy h3 {
    margin-top: 0;
    font-size: 0.95rem;
    line-height: 1.2;
    margin-bottom: 0.15rem;
    color: var(--surface-bright);
  }

  .cart-item-copy p {
    font-size: 0.75rem;
    margin: 0 0 0.15rem 0;
    color: var(--muted);
  }

  .cart-availability-note {
    font-size: 0.7rem !important;
  }

  .cart-item-controls {
    width: 100%;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    margin-top: 0.4rem;
  }

  .cart-item-price {
    order: -1;
    font-size: 0.95rem;
    font-weight: 800;
  }

  .cart-remove-button {
    order: 1;
    font-size: 0.7rem;
    margin-left: 0.6rem;
    margin-right: auto;
    color: #b15d31;
    text-transform: uppercase;
    font-weight: 800;
  }

  .cart-item-controls .shop-quantity-picker {
    order: 2;
    margin-top: 0;
    padding: 0.15rem;
    border-radius: 0.4rem;
    background: rgba(125, 220, 114, 0.15);
    border: none;
  }
  
  .cart-item-controls .qty-button {
    width: 1.6rem;
    height: 1.6rem;
    font-size: 1rem;
    background: transparent;
    color: var(--primary-deep);
  }
  
  .cart-item-controls .qty-button:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: none;
  }
  
  .cart-item-controls .qty-value {
    min-width: 1.2rem;
    font-size: 0.85rem;
    color: var(--primary-deep);
  }

  .shop-hero-copy,
  .shop-toolbar-panel,
  .shop-products-panel {
    padding: 1.2rem;
  }

  .shop-sidebar {
    padding: 0.85rem;
    margin-bottom: 0.85rem;
  }

  .shop-sidebar-head {
    display: none;
  }

  .shop-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0;
  }

  .shop-category-link {
    width: auto;
    flex: 0 0 auto;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    gap: 0;
    box-shadow: none;
  }

  .shop-category-link span {
    white-space: nowrap;
  }

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

  .shop-hero-copy h1 {
    max-width: 11ch;
  }

  .shop-hero-visual {
    min-height: 21rem;
  }

  .shop-hero-image {
    right: 0.5rem;
    width: min(100%, 22rem);
  }

  .shop-floating-offer {
    top: 1rem;
    right: 1rem;
  }

  .shop-floating-delivery {
    left: 1rem;
    bottom: 1rem;
  }

  .split-feature,
  .home-spotlight {
    grid-template-columns: 1fr;
  }

  .scroll-card-left,
  .scroll-card-right {
    transform: translateY(44px);
  }

  .scroll-card.is-visible {
    transform: translateY(0);
  }



  @media (max-width: 1100px) {
    .pahadi-legacy-card {
      flex-direction: column;
      padding: 1.5rem;
      gap: 1.5rem;
      border-radius: 1.5rem;
    }
    .legacy-carousel {
      width: 100%;
      height: 400px;
      order: 1;
    }
    .pahadi-legacy-copy {
      width: 100%;
      order: 2;
    }
  }

  @media (max-width: 768px) {
    .legacy-carousel {
      height: 300px;
    }
    .pahadi-legacy-copy h2 {
      font-size: 2.2rem;
    }
    .legacy-slide-caption {
      background: none;
      backdrop-filter: none;
      border: none;
      padding: 1.5rem 1rem;
      background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    }
    .legacy-slide-caption strong {
      font-size: 1.1rem;
    }
    .legacy-slide-caption span {
      font-size: 0.85rem;
    }
    .pahadi-legacy-copy p {
      font-size: 1rem;
    }
  }

  .pahadi-legacy-logo {
    right: 1rem;
    width: min(54vw, 240px);
    opacity: 0.88;
  }

  .pahadi-legacy-section::before {
    inset: auto 0 -0.8rem;
    height: 84%;
  }

  .pahadi-legacy-copy h2 {
    max-width: 11ch;
  }

  .home-card-main,
  .split-copy,
  .split-mini,
  .spotlight-lead,
  .spotlight-panel,
  .spotlight-mini {
    padding: 1.25rem;
  }

  .auto-gallery-track {
    animation-duration: 22s;
  }

  .home-card-main {
    min-height: auto;
  }

  .home-card-main h2 {
    max-width: 12ch;
  }

  .hero-shell,
  .section,
  .footer,
  .speed-strip {
    width: min(100% - 1.2rem, 1600px);
  }

  /* .nav-links is hidden on mobile */

  h1 {
    font-size: 3.2rem;
  }

  .hero {
    gap: 1.25rem;
  }

  .hero-actions .btn,
  .input-row .btn {
    width: 100%;
  }

  .hero-visual {
    display: grid;
    gap: 1rem;
    min-height: auto;
  }

  .hero-gridline {
    inset: 0.75rem;
  }

  .hero-panel,
  .hero-product {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
  }

  .hero-panel-main h2,
  .hero-panel-main p,
  .hero-text {
    max-width: none;
  }

  .hero-visual {
    padding-top: 3rem;
  }

  .product-grid,
  .info-grid,
  .contact-layout,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .hero-stats article {
    min-width: calc(50% - 0.5rem);
  }

  .footer-meta {
    width: 100%;
  }

  .footer-right {
    align-items: center;
  }
}

@media (max-width: 560px) {
  .shop-hero-actions,
  .admin-toolbar-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-product-card {
    padding: 0.75rem;
  }

  .shop-product-media {
    min-height: 13rem;
  }

  .shop-product-meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.75rem;
  }

  .shop-product-actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.4rem;
  }

  .shop-product-actions .shop-add-button,
  .shop-product-actions .shop-buy-button {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: 0.5rem 0.55rem;
    font-size: 0.72rem;
    min-height: 2rem;
    border-radius: 999px;
    white-space: nowrap;
  }

  .admin-form-actions .btn,
  .admin-product-actions .btn,
  .admin-toolbar-actions .btn {
    width: 100%;
  }

  .home-hero-intro,
  .home-card,
  .split-copy,
  .split-mini,
  .spotlight-lead,
  .spotlight-panel,
  .spotlight-mini,
  .home-footer {
    padding: 1.15rem;
  }

  .auto-gallery-card {
    flex-basis: 78vw;
    min-height: 15rem;
  }

  .home-card-main h2 {
    font-size: 1.95rem;
  }

  .topbar,
  .hero-visual,
  .category-card,
  .feature-slab,
  .stack-card,
  .offer-banner,
  .savings-panel,
  .footer {
    padding: 1.2rem;
  }

  .brand {
    align-items: flex-start;
  }

  .brand-copy span {
    line-height: 1.4;
  }

  .topbar {
    border-radius: 1.35rem;
  }

  h1 {
    font-size: 2.7rem;
  }

  .hero-visual {
    padding-top: 2.75rem;
  }

  .hero-panel-main,
  .hero-panel-aside,
  .hero-product {
    padding: 1rem;
  }

  .hero-stats article {
    flex-basis: 100%;
  }
  /* .nav-links a is hidden on mobile */

  .category-toolbar,
  .hero-actions {
    flex-direction: column;
  }

  .filter-chip,
  .hero-actions .btn,
  .input-row .btn {
    width: 100%;
  }

  .hero-panel-main h2 {
    font-size: 1.9rem;
  }

  .input-row {
    flex-direction: column;
  }
}

/* Mobile Bottom Navigation - Floating Dock Design */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100vw - 1rem), 42rem);
  max-width: calc(100vw - 1rem);
  height: 4.8rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 1.75rem;
  z-index: 1000;
  padding: 0.35rem;
  justify-content: space-between;
  align-items: center;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.08),
    0 5px 15px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.mobile-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  flex: 1;
  min-width: 0;
  height: 100%;
  gap: 0.35rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1.25rem;
  text-align: center;
}

.mobile-nav-item svg {
  width: 1.4rem;
  height: 1.4rem;
  stroke-width: 1.8;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.3s ease;
}

.mobile-nav-item span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.8;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.mobile-nav-item.is-active {
  color: var(--primary-deep);
}

.mobile-nav-item.is-active::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0.4rem;
  right: 0.4rem;
  background: rgba(125, 220, 114, 0.12);
  border-radius: 1rem;
  z-index: -1;
  animation: activeIn 0.3s ease-out;
}

@keyframes activeIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.mobile-nav-item.is-active svg {
  transform: translateY(-2px);
  stroke: var(--primary-deep);
}

.mobile-nav-item.is-active span {
  opacity: 1;
  font-weight: 800;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .mobile-nav {
    display: flex;
    width: min(calc(100vw - 0.8rem), 42rem);
    max-width: calc(100vw - 0.8rem);
    bottom: max(0.75rem, env(safe-area-inset-bottom));
  }
  
  body {
    padding-bottom: 6rem; /* Space for the bottom nav */
  }
  
  .footer {
    margin-bottom: 1rem !important;
  }
}

@media (max-width: 420px) {
  .mobile-nav {
    height: 4.65rem;
    border-radius: 1.5rem;
    padding: 0.3rem;
  }

  .mobile-nav-item {
    gap: 0.28rem;
    border-radius: 1.1rem;
  }

  .mobile-nav-item span {
    font-size: 0.62rem;
  }

  .mobile-nav-item.is-active::before {
    top: 0.35rem;
    bottom: 0.35rem;
    left: 0.28rem;
    right: 0.28rem;
  }
}
