/* =========================================================
   WONDER PEPS — CUTE BUYER STOREFRONT
   Visual overrides only. Existing storefront behavior remains in app.js.
========================================================= */

:root {
  --store-pink: #df4f86;
  --store-pink-dark: #bb3268;
  --store-pink-soft: #fff0f6;
  --store-blush: #fbdce8;
  --store-cream: #fffafc;
  --store-ink: #492c39;
  --store-muted: #8d6f7b;
  --store-line: #f0cfdd;
  --store-green: #58b487;
  --store-shadow: 0 18px 50px rgba(123, 60, 86, 0.12);
}

body.storefront-page {
  min-height: 100vh;
  color: var(--store-ink);
  background:
    radial-gradient(circle at 4% 8%, rgba(251, 220, 232, 0.44) 0 4px, transparent 5px),
    radial-gradient(circle at 95% 18%, rgba(223, 79, 134, 0.12) 0 3px, transparent 4px),
    linear-gradient(180deg, #fff 0%, #fff9fc 48%, #fff 100%);
}

/* Bunny boutique catalog refresh: visual-only overrides. */
.storefront-page .hero {
  min-height: 380px;
  grid-template-columns: minmax(0, 1fr);
  padding: clamp(38px, 5vw, 68px);
  background-image: linear-gradient(90deg, rgba(255,244,248,.97) 0%, rgba(255,240,246,.84) 42%, rgba(255,238,245,.12) 67%), url("assets/wonderpeps-bunny-hero.png");
  background-position: center;
  background-size: cover;
}
.storefront-page .hero-media { display: none; }
.storefront-page .hero-copy { width: min(52%, 650px); }
.storefront-page .hero h1 { font-size: clamp(2.8rem, 5.2vw, 5rem); }
.storefront-page .search-wrap { width: min(520px, 100%); flex-basis: min(520px, 44%); }
.storefront-page .search { min-height: 62px; border-radius: 999px; font-size: 1rem; }
.storefront-page .category-chip { min-height: 54px; padding-inline: 25px; }
.storefront-page .product-card > .product-image { aspect-ratio: 1 / .86; }
.storefront-page .product-badge {
  position: absolute; top: 14px; left: 14px; z-index: 5;
  padding: 7px 12px; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, #e95f93, #d33f78);
  box-shadow: 0 7px 18px rgba(192,49,105,.2); font-size: .74rem; font-weight: 850;
}
.storefront-page .product-body { display: flex; flex: 1; flex-direction: column; }
.storefront-page .product-body h3,
.storefront-page .product-body .product-description {
  display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.storefront-page .product-body h3 { min-height: 2.45em; }
.storefront-page .product-body .product-description { min-height: 2.7em; }
.storefront-page .product-stats { min-height: 31px; }
.storefront-page .add-button { margin-top: auto; }

@media (max-width: 760px) {
  .storefront-page .hero {
    min-height: 285px; padding: 30px 22px;
    background-image: linear-gradient(90deg, rgba(255,244,248,.98) 0%, rgba(255,240,246,.88) 47%, rgba(255,238,245,.05) 76%), url("assets/wonderpeps-bunny-hero.png");
    background-position: 60% center;
  }
  .storefront-page .hero-copy { width: 66%; padding: 0; }
  .storefront-page .hero h1 { font-size: clamp(2rem, 8.7vw, 3.15rem); line-height: 1; }
  .storefront-page .hero-copy > p:not(.eyebrow) { margin: 13px 0 17px; font-size: .82rem; line-height: 1.45; }
  .storefront-page .hero-button { min-height: 43px; padding: 11px 17px; font-size: .82rem; }
  .storefront-page .catalog-section { padding-top: 32px; }
  .storefront-page .section-heading { gap: 16px; }
  .storefront-page .search { min-height: 58px; }
  .storefront-page .category-chip { min-height: 50px; padding: 12px 20px; }
  .storefront-page .product-card > .product-image { aspect-ratio: 1 / .92; }
  .storefront-page .product-badge { top: 10px; left: 10px; padding: 6px 9px; font-size: .64rem; }
  .storefront-page .sold-count, .storefront-page .stock { font-size: .68rem; }
}

/* Final placement corrections. */
.storefront-page .hero {
  min-height: 500px;
  padding: clamp(40px, 6vw, 78px);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: clamp(36px, 7vw, 88px);
  background:
    radial-gradient(circle at 12% 14%, #fff 0 5px, transparent 6px),
    radial-gradient(circle at 90% 82%, rgba(255,255,255,.85) 0 7px, transparent 8px),
    linear-gradient(125deg, #fffafd 3%, #ffedf5 58%, #f9d5e4 100%);
}
.storefront-page .hero-media { display: grid; }
.storefront-page .hero-copy { width: auto; }
.storefront-page .hero h1 { font-size: clamp(3rem, 5.8vw, 5.7rem); }

.storefront-page .section-heading {
  position: relative;
  min-height: 300px;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid var(--store-line);
  border-radius: 30px;
  background-image: linear-gradient(90deg, rgba(255,252,253,.99) 0%, rgba(255,244,248,.94) 47%, rgba(255,238,245,.08) 74%), var(--catalog-image, url("wonderpeps-bunny-hero.png"));
  background-position: center;
  background-size: cover;
  box-shadow: 0 14px 38px rgba(104,56,76,.09);
}
.storefront-page .section-heading > div { position: relative; z-index: 1; max-width: 54%; }
.storefront-page .section-heading .search-wrap {
  position: absolute; z-index: 2; left: clamp(28px, 4vw, 48px); bottom: clamp(25px, 3.5vw, 40px);
  width: min(480px, 48%);
}
.storefront-page .product-stats { flex-wrap: nowrap; }
.storefront-page .stock, .storefront-page .sold-count { white-space: nowrap; }

@media (max-width: 760px) {
  .storefront-page .hero {
    min-height: 0; margin: 14px 14px 4px; padding: 0;
    grid-template-columns: 1fr; gap: 0;
    background: radial-gradient(circle at 12% 14%, #fff 0 5px, transparent 6px), radial-gradient(circle at 90% 82%, rgba(255,255,255,.85) 0 7px, transparent 8px), linear-gradient(125deg, #fffafd 3%, #ffedf5 58%, #f9d5e4 100%);
  }
  .storefront-page .hero-media { order: 1; width: 100%; padding: 13px 13px 0; }
  .storefront-page .hero-copy { order: 2; width: auto; padding: 31px 25px 35px; }
  .storefront-page .hero h1 { font-size: clamp(2.45rem, 11vw, 4rem); }
  .storefront-page .hero-copy > p:not(.eyebrow) { margin: 18px 0 23px; font-size: .98rem; line-height: 1.7; }
  .storefront-page .hero-button { min-height: 50px; padding: 14px 22px; font-size: inherit; }
  .storefront-page .section-heading {
    min-height: 330px; margin-bottom: 20px; padding: 25px 22px 94px;
    background-image: linear-gradient(90deg, rgba(255,252,253,.99) 0%, rgba(255,244,248,.93) 53%, rgba(255,238,245,.12) 82%), var(--catalog-image, url("wonderpeps-bunny-hero.png"));
    background-position: 61% center;
  }
  .storefront-page .section-heading > div { max-width: 68%; }
  .storefront-page .section-heading h2 { font-size: clamp(2rem, 8.5vw, 3rem); }
  .storefront-page .section-heading .search-wrap { left: 20px; right: 20px; bottom: 20px; width: auto; }
  .storefront-page .product-stats { gap: 4px; }
  .storefront-page .stock, .storefront-page .sold-count { padding: 4px 6px; font-size: .61rem; }
}

/* Correct placement: retain the product hero; place bunny art in catalog intro. */
.storefront-page .hero {
  min-height: 500px;
  padding: clamp(40px, 6vw, 78px);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: clamp(36px, 7vw, 88px);
  background:
    radial-gradient(circle at 12% 14%, #fff 0 5px, transparent 6px),
    radial-gradient(circle at 90% 82%, rgba(255,255,255,.85) 0 7px, transparent 8px),
    linear-gradient(125deg, #fffafd 3%, #ffedf5 58%, #f9d5e4 100%);
}
.storefront-page .hero-media { display: grid; }
.storefront-page .hero-copy { width: auto; }
.storefront-page .hero h1 { font-size: clamp(3rem, 5.8vw, 5.7rem); }

.storefront-page .section-heading {
  position: relative;
  min-height: 300px;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid var(--store-line);
  border-radius: 30px;
  background-image:
    linear-gradient(90deg, rgba(255,252,253,.99) 0%, rgba(255,244,248,.94) 47%, rgba(255,238,245,.08) 74%),
    url("wonderpeps-bunny-hero.png");
  background-position: center;
  background-size: cover;
  box-shadow: 0 14px 38px rgba(104,56,76,.09);
}
.storefront-page .section-heading > div { position: relative; z-index: 1; max-width: 54%; }
.storefront-page .catalog-search {
  position: relative;
  width: min(680px, 100%);
  margin: 0 0 22px;
}

@media (max-width: 760px) {
  .storefront-page .hero {
    min-height: 0;
    margin: 14px 14px 4px;
    padding: 0;
    grid-template-columns: 1fr;
    gap: 0;
    background:
      radial-gradient(circle at 12% 14%, #fff 0 5px, transparent 6px),
      radial-gradient(circle at 90% 82%, rgba(255,255,255,.85) 0 7px, transparent 8px),
      linear-gradient(125deg, #fffafd 3%, #ffedf5 58%, #f9d5e4 100%);
  }
  .storefront-page .hero-media { order: 1; width: 100%; padding: 13px 13px 0; }
  .storefront-page .hero-copy { order: 2; width: auto; padding: 31px 25px 35px; }
  .storefront-page .hero h1 { font-size: clamp(2.45rem, 11vw, 4rem); }
  .storefront-page .hero-copy > p:not(.eyebrow) { margin: 18px 0 23px; font-size: .98rem; line-height: 1.7; }
  .storefront-page .hero-button { min-height: 50px; padding: 14px 22px; font-size: inherit; }

  .storefront-page .section-heading {
    min-height: 330px;
    margin-bottom: 20px;
    padding: 25px 22px 94px;
    background-image:
      linear-gradient(90deg, rgba(255,252,253,.99) 0%, rgba(255,244,248,.93) 53%, rgba(255,238,245,.12) 82%),
      url("wonderpeps-bunny-hero.png");
    background-position: 61% center;
  }
  .storefront-page .section-heading > div { max-width: 68%; }
  .storefront-page .section-heading h2 { font-size: clamp(2rem, 8.5vw, 3rem); }
  .storefront-page .section-heading .search-wrap { left: 20px; right: 20px; bottom: 20px; width: auto; }
}

/* Keep the original admin-managed product hero and its established layout. */
.storefront-page .hero {
  min-height: 500px;
  padding: clamp(40px, 6vw, 78px);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: clamp(36px, 7vw, 88px);
  background:
    radial-gradient(circle at 12% 14%, #fff 0 5px, transparent 6px),
    radial-gradient(circle at 90% 82%, rgba(255,255,255,.85) 0 7px, transparent 8px),
    linear-gradient(125deg, #fffafd 3%, #ffedf5 58%, #f9d5e4 100%);
}

.storefront-page .hero-media {
  display: grid;
}

.storefront-page .hero-copy {
  width: auto;
}

.storefront-page .hero h1 {
  font-size: clamp(3rem, 5.8vw, 5.7rem);
}

@media (max-width: 760px) {
  .storefront-page .hero {
    min-height: 0;
    margin: 14px 14px 4px;
    padding: 0;
    grid-template-columns: 1fr;
    gap: 0;
    background:
      radial-gradient(circle at 12% 14%, #fff 0 5px, transparent 6px),
      radial-gradient(circle at 90% 82%, rgba(255,255,255,.85) 0 7px, transparent 8px),
      linear-gradient(125deg, #fffafd 3%, #ffedf5 58%, #f9d5e4 100%);
  }

  .storefront-page .hero-media {
    order: 1;
    width: 100%;
    padding: 13px 13px 0;
  }

  .storefront-page .hero-copy {
    order: 2;
    width: auto;
    padding: 31px 25px 35px;
  }

  .storefront-page .hero h1 {
    font-size: clamp(2.45rem, 11vw, 4rem);
  }

  .storefront-page .hero-copy > p:not(.eyebrow) {
    margin: 18px 0 23px;
    font-size: .98rem;
    line-height: 1.7;
  }

  .storefront-page .hero-button {
    min-height: 50px;
    padding: 14px 22px;
    font-size: inherit;
  }
}

body.storefront-page.page-scroll-locked {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

.storefront-page button,
.storefront-page a,
.storefront-page input,
.storefront-page select,
.storefront-page textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease, background-color 0.2s ease;
}

.storefront-page :focus-visible {
  outline: 3px solid rgba(223, 79, 134, 0.28);
  outline-offset: 3px;
}

/* Header */
.storefront-page .site-header {
  min-height: 78px;
  padding: 14px clamp(22px, 4vw, 70px);
  border-bottom: 1px solid rgba(240, 207, 221, 0.85);
  background: rgba(255, 252, 254, 0.9);
  box-shadow: 0 7px 24px rgba(91, 43, 62, 0.05);
  backdrop-filter: blur(18px);
}

.storefront-page .brand {
  gap: 0;
  min-width: 0;
  color: var(--store-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.storefront-page .brand:hover {
  transform: translateY(-1px);
}

.storefront-page .brand-logo,
.storefront-page .brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 2px solid #fff;
  box-shadow: 0 8px 20px rgba(223, 79, 134, 0.2);
}

/* The storefront uses a clean wordmark; the bunny remains in the menu drawer. */
.storefront-page .brand > .brand-logo,
.storefront-page .brand > .brand-mark {
  display: none !important;
}

.storefront-page .brand-mark {
  color: #fff;
  background: linear-gradient(145deg, #ef73a3, var(--store-pink));
  font-size: 1.42rem;
}

.storefront-page .brand small {
  color: var(--store-pink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.48em;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.storefront-page .brand-heart {
  margin-left: 5px;
  color: #ef9aba;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.45em;
  vertical-align: super;
}

.storefront-nav {
  gap: 9px;
}

.storefront-page .shop-link {
  margin-right: 5px;
  padding: 10px 12px;
  color: #644553;
  font-size: 0.94rem;
  font-weight: 700;
}

.storefront-page .shop-link:hover {
  color: var(--store-pink-dark);
}

.storefront-page .cart-button,
.storefront-page .favorite-header-button,
.storefront-page .menu-button {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 15px;
  color: var(--store-ink);
  background: var(--store-pink-soft);
  cursor: pointer;
}

.storefront-page .cart-button:hover,
.storefront-page .favorite-header-button:hover,
.storefront-page .menu-button:hover {
  border-color: var(--store-line);
  color: var(--store-pink-dark);
  background: #fff;
  box-shadow: 0 9px 22px rgba(115, 57, 80, 0.1);
  transform: translateY(-2px);
}

.storefront-page .cart-icon,
.storefront-page .header-icon {
  width: 22px;
  height: 22px;
  display: block;
  overflow: visible;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: none;
}

.storefront-page .favorite-header-button .header-icon path {
  fill: transparent;
}

.storefront-page #cartCount,
.storefront-page .favorites-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 3;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--store-pink);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(223, 79, 134, 0.25);
}

.storefront-page .favorites-badge[hidden] {
  display: none;
}

/* Hero */
.storefront-page .hero {
  position: relative;
  max-width: 1320px;
  min-height: 500px;
  margin: 34px auto 12px;
  padding: clamp(40px, 6vw, 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(240, 207, 221, 0.9);
  border-radius: 38px;
  background:
    radial-gradient(circle at 12% 14%, #fff 0 5px, transparent 6px),
    radial-gradient(circle at 90% 82%, rgba(255, 255, 255, 0.85) 0 7px, transparent 8px),
    linear-gradient(125deg, #fffafd 3%, #ffedf5 58%, #f9d5e4 100%);
  box-shadow: var(--store-shadow);
}

.storefront-page .hero::before {
  content: "♡";
  position: absolute;
  left: -18px;
  bottom: -74px;
  color: rgba(223, 79, 134, 0.08);
  font-family: Georgia, serif;
  font-size: 18rem;
  line-height: 1;
  transform: rotate(-12deg);
  pointer-events: none;
}

.storefront-page .hero-copy {
  position: relative;
  z-index: 2;
  order: 1;
  max-width: 680px;
}

.storefront-page .eyebrow {
  margin: 0 0 17px;
  color: var(--store-pink-dark);
  font-size: 0.73rem;
  letter-spacing: 0.19em;
}

.storefront-page .hero h1 {
  max-width: 740px;
  margin: 0;
  color: #412733;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5.8vw, 5.7rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.storefront-page .hero-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 24px 0 28px;
  color: #765563;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.7;
}

.storefront-page .hero-button {
  min-height: 50px;
  gap: 12px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #e45a8e, #cf3d77);
  box-shadow: 0 12px 26px rgba(207, 61, 119, 0.25);
}

.storefront-page .hero-button:hover {
  box-shadow: 0 16px 32px rgba(207, 61, 119, 0.32);
  transform: translateY(-2px);
}

.storefront-page .hero-button span {
  font-size: 1.12rem;
}

.storefront-page .hero-media {
  position: relative;
  z-index: 2;
  order: 2;
  display: grid;
  place-items: center;
}

.storefront-page .hero-image-frame {
  position: relative;
  width: min(390px, 100%);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 35px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 22px 55px rgba(105, 50, 72, 0.17);
  transform: rotate(1.5deg);
}

.storefront-page .hero-image,
.storefront-page .bunny-card {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  box-shadow: none;
}

.storefront-page .hero-image {
  object-fit: cover;
}

.storefront-page .bunny-card {
  color: var(--store-pink-dark);
  background:
    radial-gradient(circle at 25% 22%, #fff 0 5px, transparent 6px),
    radial-gradient(circle at 78% 18%, #fff 0 4px, transparent 5px),
    linear-gradient(145deg, #ffeaf3, #f6cddd);
}

.hero-sparkle {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  color: #fff;
  filter: drop-shadow(0 5px 9px rgba(166, 55, 99, 0.18));
  pointer-events: none;
}

.hero-sparkle-one {
  top: 4%;
  right: 2%;
  font-size: 2rem;
}

.hero-sparkle-two {
  right: 10%;
  bottom: -2%;
  font-size: 4rem;
  transform: rotate(12deg);
}

/* Catalog */
.storefront-page .catalog-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 76px clamp(22px, 4.5vw, 62px) 96px;
}

.storefront-page .section-heading {
  margin-bottom: 26px;
  align-items: flex-end;
  gap: 30px;
}

.storefront-page .section-heading h2 {
  margin: 0;
  color: #432a36;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.storefront-page .catalog-subtitle {
  margin: 10px 0 0;
  color: var(--store-muted);
  font-size: 0.97rem;
}

.storefront-page .search-wrap {
  position: relative;
  display: block;
  width: min(390px, 100%);
  flex: 0 0 min(390px, 40%);
}

.storefront-page .search-wrap svg {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 18px;
  width: 20px;
  height: 20px;
  stroke: var(--store-pink);
  stroke-width: 1.8;
  stroke-linecap: round;
  transform: translateY(-50%);
  pointer-events: none;
}

.storefront-page .search {
  width: 100%;
  min-height: 54px;
  padding: 14px 20px 14px 49px;
  border: 1px solid var(--store-line);
  border-radius: 18px;
  color: var(--store-ink);
  background: #fff;
  box-shadow: 0 9px 26px rgba(91, 43, 62, 0.06);
}

.storefront-page .search:focus {
  border-color: var(--store-pink);
  box-shadow: 0 0 0 4px rgba(223, 79, 134, 0.1),
    0 12px 30px rgba(91, 43, 62, 0.08);
  transform: none;
}

.storefront-page .category-area {
  position: relative;
  margin: 0 0 34px;
}

.storefront-page .category-filters {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0;
  padding: 3px 2px 9px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.storefront-page .category-filters::-webkit-scrollbar {
  display: none;
}

.storefront-page .category-chip {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 13px 23px;
  border: 1px solid #f3d6e2;
  border-radius: 999px;
  color: #644553;
  background: linear-gradient(180deg, #fff8fb, #ffeaf3);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 750;
  white-space: nowrap;
  scroll-snap-align: start;
  box-shadow: 0 6px 16px rgba(109, 51, 75, 0.06);
  cursor: pointer;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.storefront-page .category-chip::before {
  content: "♡";
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--store-pink);
  background: #fff;
  font-size: 0.88rem;
  line-height: 1;
}

.storefront-page .category-chip:hover {
  border-color: var(--store-line);
  color: var(--store-pink-dark);
  background: #fff;
  box-shadow: none;
  transform: translateY(-2px);
}

.storefront-page .category-chip.active {
  border-color: var(--store-pink);
  color: #fff;
  background: linear-gradient(135deg, #e25a8d, #cf3f78);
  box-shadow: none;
  transform: none;
}

.storefront-page .category-chip.active::before {
  content: "♥";
  color: var(--store-pink);
  background: #fff;
}

.storefront-page .category-chip:focus {
  outline: none;
  box-shadow: none;
}

.storefront-page .category-chip:focus-visible {
  outline: 2px solid rgba(223, 79, 134, 0.38);
  outline-offset: 2px;
  box-shadow: none;
}

/* Products */
.storefront-page .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.storefront-page .product-card {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--store-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(104, 56, 76, 0.08);
}

.storefront-page .product-card:hover {
  border-color: #e9b8cb;
  box-shadow: 0 22px 48px rgba(104, 56, 76, 0.14);
  transform: translateY(-6px);
}

.storefront-page .product-card > .product-image {
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
  color: var(--store-pink);
  background:
    radial-gradient(circle at 28% 24%, #fff 0 5px, transparent 6px),
    radial-gradient(circle at 74% 20%, #fff 0 4px, transparent 5px),
    linear-gradient(145deg, #fff1f7, #f9dce8);
  font-size: clamp(3.2rem, 6vw, 5rem);
}

.storefront-page .favorite-button {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 6;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.storefront-page .favorite-button:hover {
  background: transparent;
  box-shadow: none;
  transform: translateY(-2px) scale(1.1);
}

.storefront-page .favorite-button:active {
  transform: scale(0.92);
}

.storefront-page .favorite-icon {
  display: block;
  width: 28px;
  height: 28px;
  overflow: visible;
  filter: drop-shadow(0 3px 5px rgba(92, 44, 63, 0.12));
}

.storefront-page .favorite-icon path {
  fill: rgba(255, 255, 255, 0.96);
  stroke: var(--store-ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.2s ease, stroke 0.2s ease, transform 0.2s ease;
  transform-origin: center;
}

.storefront-page .favorite-button:hover .favorite-icon path {
  stroke: var(--store-pink);
}

.storefront-page .favorite-button.is-favorite .favorite-icon path {
  fill: var(--store-pink);
  stroke: var(--store-pink);
  transform: scale(1.08);
}

.storefront-page .product-body {
  padding: 19px;
}

.storefront-page .product-body h3 {
  margin: 5px 0 7px;
  font-size: 1.05rem;
}

.storefront-page .product-body p {
  color: var(--store-muted);
  font-size: 0.88rem;
}

.storefront-page .price-row {
  padding-top: 20px;
}

.storefront-page .price-row strong {
  color: var(--store-pink-dark);
  font-size: 1.18rem;
}

.storefront-page .stock {
  border: 1px solid #f0d5e0;
  color: #a7446b;
  background: #fff3f8;
}

.storefront-page .stock::before {
  background: var(--store-green);
}

.storefront-page .product-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 10px;
}

.storefront-page .sold-count {
  padding: 5px 9px;
  border: 1px solid #f0d5e0;
  border-radius: 999px;
  color: var(--store-pink-dark);
  background: #fff8fb;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.storefront-page .sold-count::before {
  margin-right: 4px;
  content: "♥";
  color: var(--store-pink);
}

.storefront-page .add-button {
  min-height: 46px;
  margin-top: 15px;
  background: linear-gradient(135deg, #e2598c, #ce3d76);
  box-shadow: 0 10px 23px rgba(206, 61, 118, 0.22);
}

.storefront-page .add-button:hover {
  box-shadow: 0 14px 29px rgba(206, 61, 118, 0.3);
}

.storefront-page .empty {
  grid-column: 1 / -1;
  padding: 42px 24px;
  border: 1px dashed var(--store-line);
  border-radius: 24px;
  color: var(--store-muted);
  background: var(--store-pink-soft);
  text-align: center;
}

/* Drawers, dialogs, checkout */
.storefront-page .drawer {
  background: rgba(60, 34, 45, 0.34);
  backdrop-filter: blur(4px);
}

.storefront-page #cartDrawer,
.storefront-page #favoritesDrawer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  min-height: 100svh;
  overflow: hidden;
  overscroll-behavior: contain;
}

.storefront-page #cartDrawer.open,
.storefront-page #favoritesDrawer.open {
  display: flex;
  align-items: stretch;
}

.storefront-page #cartDrawer .drawer-panel,
.storefront-page #favoritesDrawer .drawer-panel {
  height: 100dvh;
  min-height: 100svh;
  max-height: 100dvh;
  margin-left: auto;
  overflow: hidden;
}

.storefront-page .drawer-panel {
  width: min(460px, 100%);
  padding: 25px;
  border-left: 1px solid var(--store-line);
  background: linear-gradient(180deg, #fff 0%, #fff9fc 100%);
  box-shadow: -18px 0 50px rgba(62, 32, 44, 0.14);
}

.storefront-page #favoritesItems {
  flex: 1;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 8px 1px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.storefront-page .favorite-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 40px;
  gap: 13px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--store-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(91, 43, 62, 0.06);
}

.storefront-page .favorite-thumb {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid #f1d5e1;
  border-radius: 16px;
  object-fit: cover;
  color: var(--store-pink);
  background: linear-gradient(145deg, #fff1f7, #f9dce8);
  font-size: 1.7rem;
}

.storefront-page .favorite-details {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.storefront-page .favorite-details strong {
  overflow: hidden;
  color: var(--store-ink);
  font-size: 0.96rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-page .favorite-details span {
  color: var(--store-pink-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.storefront-page .favorite-remove {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 1px solid #f0cfdd;
  border-radius: 50%;
  color: var(--store-pink);
  background: var(--store-pink-soft);
  font-size: 1rem;
  cursor: pointer;
}

.storefront-page .favorite-remove:hover {
  color: #fff;
  background: var(--store-pink);
  transform: scale(1.05);
}

#favoritesToast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 10020;
  display: flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 13px 18px;
  border: 1px solid #efc3d5;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #e25a8d, #c93b73);
  box-shadow: 0 15px 36px rgba(151, 48, 89, 0.27);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px) scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

#favoritesToast::before {
  content: "♥";
  color: #fff;
}

#favoritesToast.show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.storefront-page .drawer-header h2,
.storefront-page dialog h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
}

.storefront-page .drawer-header .icon-button {
  border: 1px solid var(--store-line);
  color: var(--store-pink-dark);
  background: var(--store-pink-soft);
}

.storefront-page dialog {
  border: 1px solid var(--store-line);
  border-radius: 28px;
  background: #fffdfd;
  box-shadow: 0 28px 80px rgba(68, 43, 54, 0.22);
}

.storefront-page dialog::backdrop {
  background: rgba(52, 30, 40, 0.43);
  backdrop-filter: blur(5px);
}

.storefront-page #checkoutDialog {
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  border-radius: 0;
}

.storefront-page #checkoutDialog .checkout-form {
  display: grid;
  grid-auto-rows: max-content;
  align-content: start;
  gap: 16px;
  width: min(780px, 100%);
  height: 100dvh;
  max-height: none;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 26px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(circle at 96% 4%, rgba(223, 79, 134, .09) 0 4px, transparent 5px),
    linear-gradient(180deg, #fffdfd 0%, #fff9fc 100%);
  scrollbar-color: #e9afc5 transparent;
}

.storefront-page #checkoutDialog .drawer-header {
  margin-bottom: 2px;
  padding: 0 2px 14px;
  border-bottom: 1px solid var(--store-line);
}

.storefront-page #checkoutDialog .drawer-header h2 {
  margin: 0;
  color: var(--store-ink);
  font-size: clamp(2rem, 5vw, 2.7rem);
}

.storefront-page .checkout-section-card {
  position: relative;
  display: grid;
  gap: 17px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid #edc5d6;
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 30px rgba(110, 50, 74, .07);
}

.storefront-page .checkout-section-card::after {
  position: absolute;
  right: -24px;
  bottom: -34px;
  width: 112px;
  height: 112px;
  border: 18px solid rgba(223, 79, 134, .055);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.storefront-page .checkout-customer-card {
  background: linear-gradient(145deg, #fff 0%, #fff5f9 100%);
}

.storefront-page .checkout-address-card {
  background: linear-gradient(145deg, #fff 0%, #fff1f7 100%);
}

.storefront-page .checkout-section-heading {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  align-items: center;
}

.storefront-page .checkout-section-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  border: 1px solid #efc8d8;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #ec6a9c, var(--store-pink));
  box-shadow: 0 8px 18px rgba(223, 79, 134, .2);
  font-size: 1.25rem;
  font-weight: 900;
}

.storefront-page .checkout-section-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.storefront-page .checkout-section-heading h3 {
  margin: 0;
  color: var(--store-ink);
  font-size: 1.05rem;
}

.storefront-page .checkout-section-heading p {
  margin: 3px 0 0;
  color: var(--store-muted);
  font-size: .78rem;
  line-height: 1.4;
}

.storefront-page .checkout-field-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.storefront-page .checkout-address-card .checkout-field-grid {
  grid-template-areas:
    "province city"
    "barangay zipcode"
    "address address";
}

.storefront-page .checkout-province-field { grid-area: province; }
.storefront-page .checkout-city-field { grid-area: city; }
.storefront-page .checkout-barangay-field { grid-area: barangay; }
.storefront-page .checkout-zipcode-field { grid-area: zipcode; }
.storefront-page .checkout-address-card .checkout-field-full { grid-area: address; }

.storefront-page .checkout-section-card label {
  gap: 7px;
  margin: 0;
  color: var(--store-ink);
  font-size: .86rem;
}

.storefront-page .checkout-section-card label > span {
  display: flex;
  gap: 8px;
  align-items: center;
}

.storefront-page .checkout-section-card label small {
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--store-pink-dark);
  background: #ffe4ef;
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.storefront-page .checkout-field-full {
  grid-column: 1 / -1;
}

.storefront-page .checkout-section-card input,
.storefront-page .checkout-section-card textarea {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 15px;
  background: rgba(255, 255, 255, .94);
}

.storefront-page .checkout-shipping-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid #edc5d6;
  border-radius: 24px;
  background: linear-gradient(145deg, #fffafd, #fff0f6);
  box-shadow: 0 12px 30px rgba(110, 50, 74, .065);
}

.storefront-page .checkout-shipping-card .checkout-section-heading h3 {
  margin: 0;
  color: var(--store-ink);
  font-size: 1.05rem;
}

.storefront-page .checkout-shipping-card .checkout-section-heading p {
  margin: 3px 0 0;
  color: var(--store-muted);
  font-size: .78rem;
}

.storefront-page .shipping-fee-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 10px;
}

.storefront-page .shipping-fee-selector > .empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
}

.storefront-page .shipping-fee-option {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 3px 9px;
  align-items: center;
  min-height: 75px;
  padding: 12px;
  border: 1px solid #edc8d7;
  border-radius: 18px;
  color: var(--store-ink);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 7px 18px rgba(105, 50, 72, .05);
  text-align: left;
  cursor: pointer;
}

.storefront-page .shipping-fee-option:hover,
.storefront-page .shipping-fee-option:focus-visible {
  border-color: #e594b4;
  background: #fff;
  transform: translateY(-2px);
}

.storefront-page .shipping-fee-option.selected {
  border-color: var(--store-pink);
  color: #fff;
  background: linear-gradient(135deg, #e85f94, #d5427a);
  box-shadow: 0 12px 24px rgba(211, 64, 119, .22);
}

.storefront-page .shipping-fee-check {
  grid-row: 1 / span 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--store-pink-dark);
  background: #fff0f6;
  font-weight: 900;
}

.storefront-page .shipping-fee-option.selected .shipping-fee-check {
  color: var(--store-pink-dark);
  background: #fff;
}

.storefront-page .shipping-fee-label {
  min-width: 0;
  overflow: hidden;
  font-size: .88rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-page .shipping-fee-option strong {
  color: var(--store-pink-dark);
  font-size: 1rem;
}

.storefront-page .shipping-fee-option.selected strong {
  color: #fff;
}

.storefront-page .shipping-fee-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  padding: 17px;
  border: 1px dashed #e5a7bf;
  border-radius: 17px;
  color: var(--store-muted);
  background: rgba(255, 255, 255, .78);
}

.storefront-page .shipping-fee-empty strong {
  color: var(--store-ink);
}

.storefront-page .checkout-section-card textarea {
  min-height: 78px;
  resize: vertical;
}

.storefront-page .checkout-form input,
.storefront-page .checkout-form textarea,
.storefront-page .checkout-form select {
  min-height: 47px;
  border-color: var(--store-line);
  background: #fff;
}

.storefront-page .checkout-form input:focus,
.storefront-page .checkout-form textarea:focus,
.storefront-page .checkout-form select:focus {
  border-color: var(--store-pink);
  box-shadow: 0 0 0 4px rgba(223, 79, 134, 0.1);
  outline: none;
}

.storefront-page .primary-button {
  background: linear-gradient(135deg, #e2598c, #ce3d76);
}

.storefront-page footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px clamp(22px, 4vw, 70px);
  border-top: 1px solid var(--store-line);
  background: #fffafd;
}

.storefront-page footer p,
.storefront-page footer .footer-links {
  margin: 0;
}

.storefront-page footer .footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.storefront-page footer a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
}

/* Tablet */
@media (max-width: 980px) {
  .storefront-page .hero {
    min-height: 450px;
    margin: 24px 22px 6px;
    padding: 48px;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.68fr);
    gap: 40px;
    border-radius: 32px;
  }

  .storefront-page .hero h1 {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
  }

  .storefront-page .catalog-section {
    padding-top: 58px;
  }

  .storefront-page .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
  }
}

/* Small tablet and mobile */
@media (max-width: 760px) {
  .storefront-page .site-header {
    min-height: 70px;
    padding: 11px 16px;
  }

  .storefront-page .brand-logo,
  .storefront-page .brand-mark {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
  }

  .storefront-page .shop-link {
    display: none;
  }

  .storefront-page .hero {
    margin: 14px 14px 4px;
    padding: 0;
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 28px;
  }

  .storefront-page .hero-media {
    order: 1;
    width: 100%;
    padding: 13px 13px 0;
  }

  .storefront-page .hero-image-frame {
    width: 100%;
    padding: 8px;
    border: 2px solid rgba(255, 255, 255, 0.96);
    border-radius: 27px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 14px 32px rgba(105, 50, 72, 0.12);
    transform: none;
  }

  .storefront-page .hero-image,
  .storefront-page .bunny-card {
    height: min(58vw, 355px);
    aspect-ratio: auto;
    border-radius: 19px;
  }

  .storefront-page .hero-copy {
    order: 2;
    padding: 31px 25px 35px;
  }

  .storefront-page .hero h1 {
    font-size: clamp(2.45rem, 11vw, 4rem);
  }

  .storefront-page .hero-copy > p:not(.eyebrow) {
    margin: 18px 0 23px;
    font-size: 0.98rem;
  }

  .hero-sparkle-one {
    display: none;
  }

  .hero-sparkle-two {
    right: 24px;
    bottom: 2px;
    display: grid;
    color: #fff;
    font-size: 3.4rem;
    filter: drop-shadow(0 5px 10px rgba(117, 48, 76, 0.2));
    transform: rotate(12deg);
  }

  .storefront-page .catalog-section {
    padding: 50px 16px 72px;
  }

  .storefront-page .section-heading {
    margin-bottom: 21px;
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

  .storefront-page .section-heading h2 {
    font-size: clamp(2.1rem, 9vw, 3.1rem);
  }

  .storefront-page .search-wrap {
    width: 100%;
    flex-basis: auto;
  }

  .storefront-page .category-area {
    margin-right: -16px;
    margin-bottom: 27px;
  }

  .storefront-page .category-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-right: 16px;
  }

  .storefront-page .category-chip {
    min-height: 52px;
    padding: 13px 22px;
    font-size: 1rem;
  }

  .storefront-page .category-chip:hover {
    box-shadow: none;
    transform: none;
  }

  .storefront-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .storefront-page .product-card {
    border-radius: 21px;
  }

  .storefront-page .product-body {
    padding: 13px;
  }

  .storefront-page .product-body h3 {
    font-size: 0.92rem;
  }

  .storefront-page .product-body p {
    min-height: 38px;
    font-size: 0.79rem;
  }

  .storefront-page .price-row {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
  }

  .storefront-page .product-stats {
    align-items: flex-start;
  }

  .storefront-page .price-row strong {
    font-size: 1.04rem;
  }

  .storefront-page .add-button {
    min-height: 42px;
    padding: 9px;
    font-size: 0.79rem;
  }

  .storefront-page #checkoutDialog {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
  }

  .storefront-page #checkoutDialog .checkout-form {
    height: 100dvh;
    max-height: none;
    gap: 13px;
    padding: 17px;
  }

  .storefront-page #checkoutDialog .drawer-header {
    padding-bottom: 12px;
  }

  .storefront-page .checkout-section-card {
    gap: 15px;
    padding: 17px;
    border-radius: 21px;
  }

  .storefront-page .checkout-field-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .storefront-page .checkout-address-card .checkout-field-grid {
    grid-template-areas:
      "province"
      "city"
      "zipcode"
      "barangay"
      "address";
  }

  .storefront-page .checkout-field-full {
    grid-column: auto;
  }

  .storefront-page .checkout-shipping-card {
    padding: 17px;
    border-radius: 21px;
  }

  .storefront-page .shipping-fee-selector {
    grid-template-columns: 1fr;
  }

  .storefront-page .shipping-fee-option {
    min-height: 68px;
  }
}

@media (max-width: 430px) {
  .storefront-page .brand {
    font-size: clamp(1.18rem, 5.2vw, 1.34rem);
  }

  .storefront-nav {
    gap: 6px;
  }

  .storefront-page .cart-button,
  .storefront-page .favorite-header-button,
  .storefront-page .menu-button {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .storefront-page .hero-button {
    width: 100%;
  }

  .storefront-page .favorite-button {
    top: 9px;
    right: 9px;
    width: 36px;
    height: 36px;
  }

  .storefront-page .favorite-icon {
    width: 25px;
    height: 25px;
  }

  .storefront-page .favorite-item {
    grid-template-columns: 60px minmax(0, 1fr) 38px;
    gap: 10px;
    padding: 10px;
    border-radius: 18px;
  }

  .storefront-page .favorite-thumb {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }

  #favoritesToast {
    bottom: 20px;
  }
}

.storefront-page .hero-title-ph {
  margin-left: 0.12em;
  color: var(--store-pink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.34em;
  font-weight: 800;
  letter-spacing: 0.1em;
  vertical-align: 0.55em;
}

@media (prefers-reduced-motion: reduce) {
  .storefront-page *,
  .storefront-page *::before,
  .storefront-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   GROUPED STOREFRONT MENU
========================================================= */

.storefront-page .menu-drawer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  min-height: 100svh;
  overflow: hidden;
  background: rgba(49, 31, 39, 0.38);
  backdrop-filter: blur(6px);
  overscroll-behavior: contain;
}

.storefront-page .menu-drawer.open {
  display: flex;
  align-items: stretch;
}

.storefront-page .menu-drawer .drawer-panel {
  width: min(440px, 92vw);
  height: 100dvh;
  min-height: 100svh;
  max-height: 100dvh;
  margin: 0 auto 0 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-right: 1px solid var(--store-line);
  background: linear-gradient(180deg, #fff 0%, #fffafd 100%);
  box-shadow: 22px 0 65px rgba(61, 34, 45, 0.2);
}

.storefront-page .menu-drawer-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 22px;
  border-bottom: 1px solid var(--store-line);
  background: rgba(255, 255, 255, 0.94);
}

.storefront-page .menu-brand-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.storefront-page .menu-brand-logo,
.storefront-page .menu-brand-fallback {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 9px 22px rgba(223, 79, 134, 0.2);
}

.storefront-page .menu-brand-logo {
  display: block;
  object-fit: cover;
}

.storefront-page .menu-brand-logo[hidden],
.storefront-page .menu-brand-fallback[hidden] {
  display: none;
}

.storefront-page .menu-brand-fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #ec6b9c, var(--store-pink));
  font-size: 1.65rem;
}

.storefront-page .menu-brand-identity h2 {
  overflow: hidden;
  margin: 0;
  color: var(--store-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-page .menu-brand-identity h2 small {
  color: var(--store-pink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.52em;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.storefront-page .menu-brand-identity p {
  margin: 5px 0 0;
  color: var(--store-muted);
  font-size: 0.78rem;
}

.storefront-page .menu-close-button {
  flex: 0 0 42px;
  border: 1px solid var(--store-line);
  color: var(--store-pink-dark);
  background: var(--store-pink-soft);
}

.storefront-page .menu-close-button svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.storefront-page .store-menu-items {
  flex: 1;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 29px;
  margin: 0;
  padding: 27px 22px 44px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.storefront-page .store-menu-section {
  display: grid;
  gap: 10px;
}

.storefront-page .store-menu-heading {
  margin: 0;
  padding: 0 10px;
  color: #a17e8d;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.storefront-page .store-menu-links {
  display: grid;
  gap: 7px;
}

.storefront-page .store-menu-link {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) 22px;
  gap: 12px;
  align-items: center;
  min-height: 59px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 19px;
  color: #5c3e4c;
  background: transparent;
  font-size: 0.98rem;
  font-weight: 750;
}

.storefront-page .store-menu-link:hover,
.storefront-page .store-menu-link:focus-visible {
  border-color: #f2d2df;
  color: var(--store-pink-dark);
  background: linear-gradient(135deg, #fff2f7, #ffe8f1);
  box-shadow: none;
  transform: translateX(3px);
}

.storefront-page .store-menu-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 14px;
  color: var(--store-pink-dark);
  background: var(--store-pink-soft);
}

.storefront-page .store-menu-icon svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.storefront-page .store-menu-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-page .store-menu-arrow {
  color: #c7a8b5;
  font-size: 1.45rem;
  font-weight: 400;
  text-align: center;
}

@media (max-width: 520px) {
  .storefront-page .menu-drawer .drawer-panel {
    width: min(420px, 88vw);
  }

  .storefront-page .menu-drawer-brand {
    padding: 20px 17px;
  }

  .storefront-page .menu-brand-logo,
  .storefront-page .menu-brand-fallback {
    width: 49px;
    height: 49px;
    flex-basis: 49px;
  }

  .storefront-page .store-menu-items {
    gap: 25px;
    padding: 24px 16px 38px;
  }

  .storefront-page .store-menu-link {
    grid-template-columns: 40px minmax(0, 1fr) 20px;
    min-height: 56px;
    padding: 8px 10px;
  }

  .storefront-page .store-menu-icon {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }
}

/* Final storefront overrides: original product hero, bunny in catalog intro. */
.storefront-page .hero {
  min-height: 500px;
  padding: clamp(40px, 6vw, 78px);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: clamp(36px, 7vw, 88px);
  background: radial-gradient(circle at 12% 14%, #fff 0 5px, transparent 6px), radial-gradient(circle at 90% 82%, rgba(255,255,255,.85) 0 7px, transparent 8px), linear-gradient(125deg, #fffafd 3%, #ffedf5 58%, #f9d5e4 100%);
}
.storefront-page .hero-media { display: grid; }
.storefront-page .hero-copy { width: auto; }
.storefront-page .hero h1 { font-size: clamp(3rem, 5.8vw, 5.7rem); }
.storefront-page .section-heading {
  position: relative; min-height: 300px; padding: clamp(28px, 4vw, 48px); overflow: hidden;
  border: 1px solid var(--store-line); border-radius: 30px;
  background-image: linear-gradient(90deg, rgba(255,252,253,.99) 0%, rgba(255,244,248,.94) 47%, rgba(255,238,245,.08) 74%), var(--catalog-image, url("wonderpeps-bunny-hero.png"));
  background-position: center; background-repeat: no-repeat; background-size: cover;
  box-shadow: 0 14px 38px rgba(104,56,76,.09);
}
.storefront-page .section-heading > div { position: relative; z-index: 1; max-width: 54%; }
.storefront-page .catalog-search { position: relative; width: min(680px, 100%); margin: 0 0 22px; }
.storefront-page .search-wrap { width: min(520px, 100%); flex-basis: min(520px, 44%); }
.storefront-page .search { min-height: 62px; border-radius: 999px; font-size: 1rem; }
.storefront-page .category-chip { min-height: 54px; padding-inline: 25px; }
.storefront-page .product-card > .product-image { aspect-ratio: 1 / .86; }
.storefront-page .product-badge {
  position: absolute; top: 14px; left: 14px; z-index: 5;
  padding: 7px 12px; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, #e95f93, #d33f78);
  box-shadow: 0 7px 18px rgba(192,49,105,.2); font-size: .74rem; font-weight: 850;
}
.storefront-page .product-body { display: flex; flex: 1; flex-direction: column; }
.storefront-page .product-body h3,
.storefront-page .product-body .product-description {
  display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.storefront-page .product-body h3 { min-height: 2.45em; }
.storefront-page .product-body .product-description { min-height: 2.7em; }
.storefront-page .product-stats {
  display: flex;
  flex-wrap: nowrap;
  min-height: 31px;
  gap: 7px;
}
.storefront-page .stock,
.storefront-page .sold-count {
  display: inline-flex;
  width: auto;
  height: 29px;
  min-height: 29px;
  padding-block: 0;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  line-height: 1;
  white-space: nowrap;
}
.storefront-page .stock::before,
.storefront-page .sold-count::before {
  display: inline-block;
  flex: 0 0 auto;
  line-height: 1;
}
.storefront-page .sold-count {
  position: relative;
  top: -2px;
}
.storefront-page .add-button { margin-top: auto; }

@media (max-width: 760px) {
  .storefront-page .hero {
    min-height: 0; margin: 14px 14px 4px; padding: 0;
    grid-template-columns: 1fr; gap: 0;
    background: radial-gradient(circle at 12% 14%, #fff 0 5px, transparent 6px), radial-gradient(circle at 90% 82%, rgba(255,255,255,.85) 0 7px, transparent 8px), linear-gradient(125deg, #fffafd 3%, #ffedf5 58%, #f9d5e4 100%);
  }
  .storefront-page .hero-media { order: 1; width: 100%; padding: 13px 13px 0; }
  .storefront-page .hero-copy { order: 2; width: auto; padding: 31px 25px 35px; }
  .storefront-page .hero h1 { font-size: clamp(2.45rem, 11vw, 4rem); }
  .storefront-page .hero-copy > p:not(.eyebrow) { margin: 18px 0 23px; font-size: .98rem; line-height: 1.7; }
  .storefront-page .hero-button { min-height: 50px; padding: 14px 22px; font-size: inherit; }
  .storefront-page .catalog-section { padding-top: 32px; }
  .storefront-page .section-heading {
    min-height: 0; margin-bottom: 18px; padding: 26px 22px; gap: 16px;
    background-image: linear-gradient(90deg, rgba(255,252,253,.99) 0%, rgba(255,244,248,.93) 53%, rgba(255,238,245,.12) 82%), var(--catalog-image, url("wonderpeps-bunny-hero.png"));
    background-position: center, right center;
    background-repeat: no-repeat;
    background-size: cover, auto 100%;
  }
  .storefront-page .section-heading > div { max-width: 62%; }
  .storefront-page .section-heading h2 { font-size: clamp(1.85rem, 7.6vw, 2.7rem); }
  .storefront-page .catalog-subtitle { max-width: 95%; font-size: .88rem; }
  .storefront-page .catalog-search { width: 100%; margin-bottom: 20px; }
  .storefront-page .search { min-height: 58px; }
  .storefront-page .category-chip { min-height: 50px; padding: 12px 20px; }
  .storefront-page .product-card > .product-image { aspect-ratio: 1 / .92; }
  .storefront-page .product-badge { top: 10px; left: 10px; padding: 6px 9px; font-size: .64rem; }
  .storefront-page .product-stats { display: flex; flex-wrap: nowrap; align-items: center; gap: 5px; }
  .storefront-page .sold-count,
  .storefront-page .stock {
    height: 27px;
    min-height: 27px;
    padding: 0 7px;
    font-size: .61rem;
    line-height: 1;
  }
  .storefront-page .product-body { padding-bottom: 11px; }
  .storefront-page .product-body .product-description { display: none; min-height: 0; }
  .storefront-page .price-row { padding-top: 7px; }
  .storefront-page .add-button { min-height: 38px; margin-top: 9px; }
}

/* Keep category labels centered and remove the decorative heart circles. */
.storefront-page .category-chip {
  justify-content: center;
  gap: 0;
  text-align: center;
}
.storefront-page .category-chip::before,
.storefront-page .category-chip.active::before {
  content: none;
  display: none;
}

/* Keep mobile product descriptions visible and card rows evenly sized. */
@media (max-width: 760px) {
  .storefront-page .product-grid {
    align-items: stretch;
  }
  .storefront-page .product-card {
    height: auto;
  }
  .storefront-page .product-body .product-description {
    display: -webkit-box;
    min-height: 2.65em;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}

/* Compact mobile storefront so products appear sooner without changing the card grid. */
@media (max-width: 760px) {
  .storefront-page .hero {
    margin: 10px 12px 2px;
  }

  .storefront-page .hero-media {
    padding: 10px 10px 0;
  }

  .storefront-page .hero-image,
  .storefront-page .bunny-card {
    aspect-ratio: 16 / 10;
  }

  .storefront-page .hero-copy {
    padding: 21px 22px 25px;
  }

  .storefront-page .hero-copy .eyebrow {
    margin-bottom: 10px;
  }

  .storefront-page .hero h1 {
    font-size: clamp(2.2rem, 9.8vw, 3.25rem);
  }

  .storefront-page .hero-copy > p:not(.eyebrow) {
    margin: 12px 0 18px;
    line-height: 1.5;
  }

  .storefront-page .hero-button {
    min-height: 46px;
    padding-block: 12px;
  }

  .storefront-page .catalog-section {
    padding-top: 20px;
    padding-bottom: 32px;
  }

  .storefront-page .section-heading {
    margin-bottom: 14px;
    padding: 20px 18px;
    border-radius: 25px;
  }

  .storefront-page .section-heading > div {
    max-width: 64%;
  }

  .storefront-page .section-heading .eyebrow {
    margin-bottom: 10px;
  }

  .storefront-page .section-heading h2 {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
  }

  .storefront-page .catalog-subtitle {
    margin-top: 7px;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .storefront-page .catalog-search {
    margin-bottom: 13px;
  }

  .storefront-page .search {
    min-height: 50px;
    padding-block: 11px;
    font-size: 0.94rem;
  }

  .storefront-page .category-area {
    margin-bottom: 10px;
  }

  .storefront-page .category-filters {
    gap: 8px;
    padding-bottom: 6px;
  }

  .storefront-page .category-chip {
    min-height: 42px;
    padding: 9px 16px;
    font-size: 0.88rem;
  }

  .storefront-page .product-body {
    padding: 11px;
  }

  .storefront-page .product-body h3 {
    margin: 2px 0 5px;
  }

  .storefront-page .price-row {
    padding-top: 4px;
  }

  .storefront-page .product-stats {
    margin-top: 6px;
  }

  .storefront-page .add-button {
    min-height: 37px;
    margin-top: 7px;
  }
}
