:root {
  --text: #2d3e34;
  --muted: #4a7c5a;
  --card-bg: rgba(240, 250, 245, 0.95);
  --card-border: rgba(82, 184, 120, 0.3);
  --primary: #ffffff;
  --primary-text: #2d3e34;
  --secondary-text: #4a5f54;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "Avenir Next", Avenir, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  display: grid;
  place-items: start center;
  padding: 24px;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  background: radial-gradient(circle at top left, rgba(82, 184, 120, 0.12), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(82, 184, 120, 0.1), transparent 24%),
    linear-gradient(180deg, #f8fdf9 0%, #f0faf6 100%);
}

body.no-scroll {
  overflow: hidden;
}

.hero-backdrop {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(82, 184, 120, 0.18), transparent 28%),
    radial-gradient(circle at 24% 66%, rgba(82, 184, 120, 0.14), transparent 34%),
    radial-gradient(circle at 50% 45%, rgba(82, 184, 120, 0.1), transparent 50%),
    linear-gradient(180deg, rgba(245, 250, 248, 0.95), rgba(240, 250, 245, 0.98));
  filter: saturate(1.05) contrast(1.03);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(82, 184, 120, 0.02) 0,
    rgba(82, 184, 120, 0.02) 1px,
    transparent 2px,
    transparent 4px
  );
  opacity: 0.08;
  z-index: -1;
  pointer-events: none;
}

.age-gate,
.content {
  width: min(100%, 1280px);
  text-align: center;
}

.brand {
  margin-bottom: 18px;
}

.brand-mark {
  letter-spacing: 0.4rem;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 54px);
  text-transform: uppercase;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  color: #2d3e34;
}

.age-gate h1 {
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: 0.01em;
  font-weight: 500;
  color: #2d3e34;
  margin-top: 0;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 250, 245, 0.96));
  border: 1px solid rgba(82, 184, 120, 0.35);
  border-radius: 30px;
  padding: clamp(28px, 4vw, 52px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

h1 {
  margin: 0;
  font-size: clamp(31px, 4.7vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #2d3e34;
}

.age-copy {
  max-width: 620px;
  margin: 20px auto 0;
  color: #4a5f54;
  font-size: clamp(14px, 1.7vw, 18px);
  line-height: 1.55;
}

.actions {
  margin-top: 30px;
  display: grid;
  gap: 12px;
  justify-content: center;
}

.age-password {
  margin-top: 24px;
  display: grid;
  gap: 12px;
  align-items: stretch;
  text-align: left;
}

.password-label {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5a7066;
}

.password-input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(82, 184, 120, 0.35);
  background: rgba(82, 184, 120, 0.08);
  color: #2d3e34;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 14px;
}

.password-input:focus {
  outline: none;
  border-color: rgba(82, 184, 120, 0.6);
  box-shadow: 0 0 0 4px rgba(82, 184, 120, 0.12);
}

.password-error {
  margin: 0;
  color: #c85a54;
  font-size: 0.95rem;
}

.age-denial {
  margin-top: 24px;
  color: #c85a54;
  font-size: clamp(14px, 1.7vw, 18px);
  line-height: 1.55;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  transition: transform 0.18s ease, opacity 0.18s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.98;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: #52b878;
  color: #ffffff;
  min-width: min(90vw, 360px);
  box-shadow: 0 14px 32px rgba(82, 184, 120, 0.25);
  border-color: rgba(82, 184, 120, 0.4);
}

.btn-secondary {
  background: rgba(82, 184, 120, 0.15);
  color: #4a5f54;
  border-color: rgba(82, 184, 120, 0.35);
}

.btn-secondary:hover {
  background: rgba(82, 184, 120, 0.3);
}

.content {
  display: grid;
  place-items: center;
}


.content-inner {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(240, 250, 245, 0.95));
  border: 1px solid rgba(82, 184, 120, 0.35);
  border-radius: 34px;
  padding: clamp(28px, 5vw, 60px);
  padding-top: calc(clamp(28px, 5vw, 60px) + var(--controls-fixed-offset, 0px));
  backdrop-filter: blur(14px);
  width: min(100%, 1240px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.06);
}

.shop-header {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(82, 184, 120, 0.2);
  margin-bottom: 30px;
}

.shop-header h2,
.shop-header .content-copy {
  max-width: 760px;
}

.shop-header h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  letter-spacing: 0.08em;
  line-height: 1;
}

.content-copy {
  margin: 0;
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
  line-height: 1.7;
  color: #5a7066;
}

.featured-section {
  background: rgba(82, 184, 120, 0.1);
  border: 1px solid rgba(82, 184, 120, 0.25);
  border-radius: 28px;
  padding: 24px;
  display: grid;
  gap: 24px;
  margin-bottom: 30px;
}

.clearance-section {
  background:
    radial-gradient(circle at top right, rgba(255, 170, 76, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 245, 233, 0.96), rgba(255, 250, 244, 0.92));
  border: 1px solid rgba(255, 170, 76, 0.32);
  border-radius: 28px;
  padding: 24px;
  display: grid;
  gap: 18px;
  margin-bottom: 30px;
}

.clearance-copy {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.clearance-label {
  background: rgba(255, 170, 76, 0.18);
  color: #6a4020;
}

.clearance-copy h3 {
  margin: 0;
  color: #3f2e21;
}

.clearance-copy p {
  margin: 0;
  color: #73594a;
  line-height: 1.65;
}

.featured-copy {
  display: grid;
  gap: 10px;
  align-content: start;
}

.featured-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(82, 184, 120, 0.2);
  color: #2d3e34;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.featured-section h3 {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.2;
  color: #2d3e34;
  font-weight: 400;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.featured-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(82, 184, 120, 0.3);
  border-radius: 24px;
  padding: 18px;
  display: grid;
  gap: 10px;
}

.featured-tag {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4a5f54;
  text-align: center;
}

.featured-card h4 {
  margin: 0;
  color: #2d3e34;
  font-size: 1rem;
  line-height: 1.3;
}

.featured-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(82, 184, 120, 0.4);
  transition: text-decoration-color 0.2s;
}

.featured-link:hover {
  text-decoration-color: #4a7c5a;
}

.featured-link:focus-visible,
.btn:focus-visible,
.filter-btn:focus-visible,
.item-view-btn:focus-visible {
  outline: 3px solid rgba(82, 184, 120, 0.3);
  outline-offset: 3px;
}

#product-muha-cookies,
#product-bubblegum-blowpop {
  scroll-margin-top: 160px;
}

.featured-card p {
  margin: 0;
  color: #5a7066;
  font-size: 0.94rem;
  line-height: 1.6;
}

.kicker {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #5a7066;
  font-size: 0.78rem;
}

.content h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: #2d3e34;
}

.content-copy {
  margin: 14px auto 26px;
  color: #4a5f54;
  font-size: clamp(14px, 1.7vw, 18px);
  max-width: 56ch;
}

.page-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.page-actions .btn {
  padding: 12px 22px;
}

.products {
  margin-top: 30px;
  padding-top: 0;
}

.products-controls {
  position: sticky;
  top: env(safe-area-inset-top, 0);
  left: auto;
  transform: none;
  z-index: 20;
  width: 100%;
  margin: 0;
  background: rgba(240, 250, 245, 0.92);
  border: 1px solid rgba(82, 184, 120, 0.35);
  border-radius: 0 0 16px 16px;
  padding: 14px 16px;
  backdrop-filter: blur(14px);
  margin-bottom: 22px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 12px;
}

.products-controls-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.products-filter-toggle {
  display: none;
  border: 1px solid rgba(82, 184, 120, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #2d3e34;
  min-height: 38px;
  padding: 8px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.products-filter-toggle::after {
  content: "▾";
  font-size: 0.9em;
  transition: transform 0.2s ease;
}

.products-controls.is-mobile-filters-open .products-filter-toggle::after {
  transform: rotate(180deg);
}

.products-filter-toggle:hover {
  background: rgba(255, 255, 255, 0.94);
}

.products-filter-toggle:focus-visible {
  outline: 3px solid rgba(82, 184, 120, 0.3);
  outline-offset: 3px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0;
}

.products-actions {
  display: flex;
  justify-content: flex-end;
}

.products-sign-out {
  border: 1px solid rgba(82, 184, 120, 0.28);
  border-radius: 999px;
  background: #52b878;
  color: #ffffff;
  min-height: 32px;
  padding: 6px 14px;
  font-size: 10px;
  letter-spacing: 0.07em;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border-color: #52b878;
  box-shadow: 0 10px 24px rgba(82, 184, 120, 0.25);
  transition: transform 0.18s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.products-sign-out:hover {
  transform: translateY(-1px);
  background: #49a96d;
  border-color: #49a96d;
  color: #ffffff;
}

.products-sign-out:focus-visible {
  outline: 3px solid rgba(82, 184, 120, 0.3);
  outline-offset: 3px;
}

.filter-btn {
  border: 1px solid rgba(82, 184, 120, 0.35);
  border-radius: 999px;
  background: rgba(82, 184, 120, 0.12);
  color: #2d3e34;
  font-size: 10px;
  letter-spacing: 0.07em;
  font-weight: 700;
  min-height: 32px;
  padding: 6px 14px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.filter-btn:hover {
  transform: translateY(-1px);
  background: rgba(82, 184, 120, 0.28);
  color: #2d3e34;
}

.filter-btn.is-active {
  background: #52b878;
  color: #ffffff;
  border-color: #52b878;
  box-shadow: 0 10px 24px rgba(82, 184, 120, 0.25);
}

.products-grid {
  display: grid;
  gap: 18px;
  align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}


.item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(240, 250, 245, 0.88));
  border: 1px solid rgba(82, 184, 120, 0.35);
  border-radius: 28px;
  padding: 20px;
  text-align: left;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  scroll-margin-top: 120px;
  min-height: 100%;
}

@media (min-width: 641px) {
  .item {
    width: min(100%, 320px);
    justify-self: center;
  }
}

.item:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.1);
  border-color: rgba(82, 184, 120, 0.5);
}

.item:hover img {
  transform: scale(1.03);
}

.item-badge {
  position: absolute;
  right: 18px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(82, 184, 120, 0.2);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(82, 184, 120, 0.35);
}

.item h3,
.item-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: #4a5f54;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  cursor: pointer;
  border: 1px solid rgba(82, 184, 120, 0.2);
  box-shadow: 0 14px 32px rgba(53, 87, 64, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.item p {
  margin: 0;
  display: grid;
  gap: 10px;
  color: #4a5f54;
  font-size: 0.80rem;
  align-content: start;
}

.item-copy-title {
  font-size: 0.88rem;
  color: #2d3e34;
  font-weight: 800;
  line-height: 1.25;
}

.item-copy-summary {
  font-size: 0.92rem;
  color: #5a7066;
  letter-spacing: 0.02em;
  line-height: 1.5;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.item-copy-subtitle {
  font-size: 0.92rem;
  color: #5a7066;
  letter-spacing: 0.02em;
}

.item-copy-prices {
  display: grid;
  gap: 5px;
  color: #5a7066;
}

.item-copy-prices div {
  font-size: 13px;
  font-weight: 400;
}

.item-view-btn {
  justify-self: stretch;
  margin-top: 2px;
  padding: 10px 16px;
  font-size: 9px;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.item.filtered-out {
  display: none;
}


.modal {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.modal-content {
  position: relative;
  z-index: 1;
  width: min(92vw, 920px);
  max-height: 90vh;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(82, 184, 120, 0.35);
  border-radius: 14px;
  padding: 12px;
}

.modal video,
.modal img {
  width: 100%;
  max-height: calc(90vh - 70px);
  object-fit: contain;
  border-radius: 10px;
}

.modal-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(82, 184, 120, 0.35);
  background: rgba(82, 184, 120, 0.2);
  color: #2d3e34;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
}

.modal-expand {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(82, 184, 120, 0.35);
  background: rgba(82, 184, 120, 0.2);
  color: #2d3e34;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease;
}

.modal-expand:not(.hidden) {
  display: flex;
}

.modal-expand:hover {
  background: rgba(82, 184, 120, 0.35);
}

#modal-image:not(.hidden) {
  cursor: zoom-in;
}

.modal-prev,
.modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(82, 184, 120, 0.35);
  background: rgba(82, 184, 120, 0.2);
  color: #2d3e34;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.18s ease;
}

.modal-prev:hover,
.modal-next:hover {
  background: rgba(82, 184, 120, 0.35);
}

.modal-prev {
  left: 10px;
}

.modal-next {
  right: 10px;
}

.modal-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.modal-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(82, 184, 120, 0.3);
  transition: background 0.18s ease;
}

.modal-dot.active {
  background: #52b878;
}

.promo-modal-content {
  width: min(94vw, 560px);
  padding: clamp(22px, 3vw, 30px);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(233, 249, 239, 0.98));
  display: grid;
  gap: 14px;
  text-align: center;
}

.promo-kicker {
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  letter-spacing: 0.18em;
  font-weight: 800;
  color: #4a7c5a;
  text-transform: uppercase;
}

.promo-title {
  margin: 0;
  font-size: clamp(1rem, 2.3vw, 1.2rem);
  line-height: 1.15;
  color: #2d3e34;
}

.promo-copy {
  margin: 0;
  color: #4a5f54;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.6;
}

.promo-actions {
  display: flex;
  justify-content: center;
}

.promo-actions .btn {
  min-width: min(86vw, 260px);
}

.promo-launcher {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 45;
  border: 1px solid #52b878;
  border-radius: 999px;
  background: #52b878;
  color: #ffffff;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  text-transform: uppercase;
  min-height: 40px;
  padding: 8px 16px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(82, 184, 120, 0.28);
}

.promo-launcher:hover {
  background: #49a96d;
}

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 64px;
  z-index: 45;
  border: 1px solid rgba(82, 184, 120, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #2d3e34;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(45, 62, 52, 0.14);
  transition: transform 0.18s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.back-to-top:hover {
  transform: translateY(-1px);
  background: #52b878;
  border-color: #52b878;
  color: #ffffff;
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(82, 184, 120, 0.25);
  outline-offset: 3px;
}

.product-page {
  width: min(100%, 880px);
}

.product-shell {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(240, 250, 245, 0.95));
  border: 1px solid rgba(82, 184, 120, 0.35);
  border-radius: 34px;
  padding: clamp(20px, 4vw, 36px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.06);
  display: grid;
  gap: 22px;
}

.product-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.product-back-link {
  color: #4a5f54;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

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

.product-hero {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.03em;
  color: #2d3e34;
}

.media-viewer {
  position: relative;
  border: 1px solid rgba(82, 184, 120, 0.35);
  border-radius: 20px;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.5), rgba(82, 184, 120, 0.1));
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(124, 197, 158, 0.2);
}

.media-stage {
  width: 100%;
  aspect-ratio: 5 / 4;
  display: grid;
  place-items: center;
}

.media-stage img,
.media-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 2px solid rgba(82, 184, 120, 0.8);
  background: rgba(82, 184, 120, 0.5);
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  z-index: 12;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.media-nav-btn:hover {
  background: rgba(82, 184, 120, 0.7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.media-nav-btn.prev {
  left: 10px;
}

.media-nav-btn.next {
  right: 10px;
}

.media-counter {
  margin: 0;
  color: #5a7066;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.9;
}

.product-details {
  border: 1px solid rgba(82, 184, 120, 0.25);
  background: rgba(82, 184, 120, 0.06);
  border-radius: 20px;
  padding: 18px;
  display: grid;
  gap: 12px;
}

.product-details h3 {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2d3e34;
  text-align: center;
}

.product-details p {
  margin: 0;
  color: #4a5f54;
  line-height: 1.6;
  display: grid;
  gap: 8px;
  text-align: left;
}

.product-details p strong {
  font-weight: 700;
  color: #2d3e34;
}

.product-detail-info-row {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: #2d3e34;
  font-weight: 600;
  text-align: center;
}

.product-detail-info-row.is-name {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  letter-spacing: 0.06em;
}

.product-detail-info-row.is-meta {
  color: #5a7066;
  font-size: 0.98rem;
}

.product-detail-price-row {
  color: #2d3e34;
  background: rgba(82, 184, 120, 0.1);
  border: 1px solid rgba(82, 184, 120, 0.25);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: inset 0 1px 0 rgba(124, 197, 158, 0.1);
}

.product-detail-price-label {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5a7066;
  font-weight: 700;
}

.product-detail-price-value {
  font-size: clamp(1rem, 2.1vw, 1.08rem);
  font-weight: 700;
  color: #52b878;
}

.product-detail-spacer {
  height: 2px;
}

.hidden {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1024px) {
  .content-inner {
    width: min(100%, 1120px);
  }

  .featured-section {
    gap: 18px;
  }

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

@media (min-width: 960px) {
  .featured-section {
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 640px) {
  .modal-controls {
    top: 8px;
    right: 8px;
    gap: 6px;
  }

  body {
    padding: 10px;
  }

  .card {
    padding: 18px;
  }

  .btn {
    min-height: 48px;
    font-size: 14px;
  }

  /* Featured section — 2 per row, centered */
  .featured-section {
    padding: 16px;
    gap: 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-align: center;
  }

  .featured-copy {
    gap: 8px;
  }

  .featured-label {
    font-size: 0.80rem;
    font-weight: 700;
    padding: 5px 12px;
  }

  .featured-section h3 {
    font-size: 1.05rem;
    font-weight: 400;
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .featured-card {
    padding: 12px;
    border-radius: 16px;
    gap: 8px;
    text-align: center;
  }

  .featured-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-align: center;
  }

  .featured-card h4 {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .featured-card p {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .products-controls {
    position: sticky;
    padding: 8px 10px;
    border-radius: 0 0 18px 18px;
    margin-bottom: 12px;
    top: env(safe-area-inset-top, 0);
    left: auto;
    transform: none;
    width: 100%;
    background: rgba(247, 252, 249, 0.88);
    border-color: rgba(82, 184, 120, 0.24);
    box-shadow: 0 12px 28px rgba(38, 66, 50, 0.1);
    backdrop-filter: blur(12px);
    gap: 8px;
  }

  .products-controls-header {
    align-items: center;
    gap: 8px;
  }

  .products-filter-toggle {
    display: inline-flex;
    flex: 1 1 auto;
    min-height: 34px;
    padding: 7px 12px;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    border-radius: 12px;
    justify-content: space-between;
    background: rgba(82, 184, 120, 0.12);
    color: #2d3e34;
    border-color: rgba(82, 184, 120, 0.35);
    box-shadow: none;
  }

  .products-controls.is-mobile-filters-open .products-filter-toggle {
    background: #52b878;
    color: #ffffff;
    border-color: #52b878;
    box-shadow: 0 10px 24px rgba(82, 184, 120, 0.25);
  }

  .filter-bar {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    justify-content: stretch;
    padding-top: 0;
  }

  .products-controls.is-mobile-filters-open .filter-bar {
    display: grid;
  }

  .products-actions {
    justify-content: flex-end;
    flex: 0 0 auto;
  }

  .products-sign-out {
    width: auto;
    max-width: none;
    min-height: 34px;
    padding: 7px 11px;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    border-radius: 12px;
    background: rgba(82, 184, 120, 0.12);
    color: #2d3e34;
    border-color: rgba(82, 184, 120, 0.35);
    box-shadow: none;
  }

  .filter-btn {
    width: 100%;
    min-height: 32px;
    padding: 6px 8px;
    font-size: 0.56rem;
    letter-spacing: 0.03em;
    border-radius: 12px;
  }

  /* 2-column grid on mobile — clean and browseable */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .item {
    padding: 10px;
    border-radius: 18px;
    gap: 8px;
    text-align: center;
  }

  .item img {
    border-radius: 12px;
  }

  .item-badge {
    right: 8px;
    top: 8px;
    font-size: 8px;
    letter-spacing: 0.05em;
    padding: 4px 8px;
  }

  .item h3,
  .item-title {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    line-height: 1.25;
  }

  .item p {
    gap: 5px;
  }

  .item-copy-title {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .item-copy-summary {
    font-size: 0.7rem;
    line-height: 1.4;
  }

  .item-copy-subtitle {
    font-size: 0.72rem;
  }

  .item-copy-prices div {
    font-size: 10px;
  }

  .item-copy,
  .item-copy-title,
  .item-copy-subtitle,
  .item-copy-prices,
  .item-copy-prices div {
    text-align: center;
  }

  .item-view-btn {
    min-height: 32px;
    padding: 8px 10px;
    font-size: 7px;
    letter-spacing: 0.07em;
  }

  .product-shell {
    border-radius: 24px;
    gap: 16px;
  }

  .product-hero {
    font-size: 1.35rem;
    text-align: center;
  }

  .media-stage {
    aspect-ratio: 1 / 1;
  }

  .product-details {
    padding: 14px;
    border-radius: 16px;
  }

  .product-details h3 {
    text-align: center;
    font-size: 0.84rem;
    letter-spacing: 0.09em;
  }

  .product-detail-info-row {
    font-size: 0.86rem;
  }

  .product-detail-info-row.is-name {
    font-size: 0.98rem;
  }

  .product-detail-price-row {
    padding: 9px 10px;
    border-radius: 12px;
  }

  .product-detail-price-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .product-detail-price-value {
    font-size: 0.92rem;
  }

  .media-nav-btn {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }
}

@media (max-width: 520px) {
  .products-controls-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .products-actions {
    justify-content: end;
  }

  .products-sign-out {
    width: auto;
    min-width: 76px;
  }

  .filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }

  .item {
    padding: 10px;
    border-radius: 18px;
  }

  .shop-header h2 {
    font-size: 1.65rem;
  }

  .promo-launcher {
    left: 12px;
    right: auto;
    bottom: 12px;
    transform: none;
    min-height: 32px;
    padding: 6px 12px;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    border-color: rgba(82, 184, 120, 0.35);
    background: rgba(232, 247, 238, 0.96);
    color: #34704e;
    box-shadow: 0 10px 22px rgba(82, 184, 120, 0.18);
  }

  .back-to-top {
    right: 12px;
    bottom: 54px;
    min-height: 34px;
    padding: 6px 12px;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }
}

/* tighter spacing on very small phones while keeping 2-up browsing */
@media (max-width: 360px) {
  .products-controls {
    padding: 7px 9px;
  }

  .products-filter-toggle {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 0.56rem;
  }

  .products-sign-out {
    min-height: 32px;
    min-width: 70px;
    padding: 6px 9px;
    font-size: 0.54rem;
  }

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

  .featured-grid {
    gap: 7px;
  }

  .products-grid {
    gap: 8px;
  }

  .item {
    padding: 9px;
    gap: 7px;
  }

  .item h3,
  .item-title {
    font-size: 0.74rem;
  }

  .item-copy-title {
    font-size: 0.69rem;
  }

  .item-copy-summary,
  .item-copy-subtitle {
    font-size: 0.66rem;
  }

  .item-view-btn {
    min-height: 30px;
    font-size: 6.5px;
    padding: 7px 8px;
  }

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

  .item {
    padding: 12px;
    border-radius: 18px;
  }

  .item h3,
  .item-title,
  .item-copy-title,
  .item-copy-summary,
  .item-view-btn {
    font-size: 0.72rem;
  }
}
