:root {
  --ink: #172033;
  --muted: #647084;
  --paper: #fffaf8;
  --panel: rgba(255, 255, 255, 0.74);
  --line: rgba(255, 255, 255, 0.58);
  --pink: #ec4f86;
  --purple: #6a3cc7;
  --orange: #ff9f1c;
  --green: #2f8f58;
  --blue: #0d56a6;
  --shadow: 0 20px 55px rgba(73, 52, 96, 0.16);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 5%, rgba(236, 79, 134, 0.18), transparent 34rem),
    radial-gradient(circle at 85% 12%, rgba(255, 159, 28, 0.18), transparent 30rem),
    radial-gradient(circle at 60% 90%, rgba(106, 60, 199, 0.15), transparent 34rem),
    linear-gradient(135deg, #fff7f5 0%, #f8fbff 48%, #fff8ed 100%);
  min-height: 100vh;
  opacity: 1;
  transition: opacity .45s ease;
}

body.page-loading { opacity: 0; }
body.page-loaded main { animation: pageRise .7s cubic-bezier(.2,.8,.2,1) both; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(236, 79, 134, 0.16) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(106, 60, 199, 0.12) 0 2px, transparent 3px);
  background-size: 90px 90px, 120px 120px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  z-index: -1;
}

.glass {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(145%);
  position: relative;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  width: min(1180px, calc(100% - 28px));
  margin: 14px auto 0;
  min-height: 74px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 12px 16px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: 0; }
.brand img { width: 46px; height: 46px; object-fit: contain; }

.site-nav { display: flex; gap: 8px; }
.site-nav a, .admin-sidebar a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #24304a;
  font-weight: 750;
}
.site-nav a:hover, .admin-sidebar a:hover { background: rgba(236, 79, 134, 0.1); color: var(--pink); }

.header-search input, .filter-bar input, .filter-bar select, .form-grid input, .form-grid textarea, .form-grid select {
  width: 100%;
  border: 1px solid rgba(23, 32, 51, 0.12);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  padding: 13px 15px;
  outline: none;
}
.header-search { position: relative; }
.header-search input {
  padding-right: 58px;
  overflow: hidden;
}
.header-search button {
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  width: 50px;
  height: auto;
  border: 0;
  border-radius: 0 15px 15px 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 10px 22px rgba(236,79,134,.2);
  cursor: pointer;
}
.header-search button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-link, .icon-btn {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.08);
  cursor: pointer;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(236, 79, 134, 0.28);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, opacity .2s ease, filter .22s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: -40% -80%;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.42), transparent 62%);
  transform: translateX(-55%) rotate(8deg);
  transition: transform .55s ease;
}
.btn:hover::after { transform: translateX(55%) rotate(8deg); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 38px rgba(106, 60, 199, 0.3); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.ghost { background: rgba(255, 255, 255, .8); color: var(--ink); box-shadow: none; border: 1px solid rgba(23,32,51,.1); }
.btn.whatsapp, .floating-whatsapp { background: linear-gradient(135deg, #2dbb66, #168c4a); }
.btn.orange { background: linear-gradient(135deg, var(--orange), #ff6b35); }

.nav-toggle { display: none; border: 0; background: transparent; font-size: 1.5rem; }

.section { width: min(1180px, calc(100% - 28px)); margin: 34px auto; }
.products-section { margin-top: 28px; }
.compact-shop-head { margin-bottom: 14px; }
.products-section .compact-shop-head { padding-inline: 14px; }
.compact-shop-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.section-head h2, .hero h1, .page-hero h1 { margin: 0; line-height: .98; letter-spacing: 0; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.section-head p, .hero p, .page-hero p { color: var(--muted); line-height: 1.7; }

.hero {
  width: min(1180px, calc(100% - 28px));
  margin: 28px auto 42px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items: center;
  min-height: 560px;
}
.hero-copy { padding: clamp(24px, 4vw, 54px); border-radius: 32px; position: relative; overflow: hidden; }
.hero-copy::after {
  content: "";
  position: absolute;
  width: 210px; height: 210px;
  right: -70px; top: -70px;
  background: radial-gradient(circle, rgba(255,255,255,.95), rgba(236,79,134,.08));
  border-radius: 50%;
}
.hero h1 { font-size: clamp(3.2rem, 9vw, 7.5rem); }
.hero h1 span { display: block; color: var(--pink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-card { border-radius: 32px; padding: 20px; position: relative; overflow: hidden; min-height: 480px; }
.hero-card img { width: 100%; height: 430px; object-fit: contain; filter: drop-shadow(0 24px 24px rgba(23,32,51,.12)); animation: floaty 5s ease-in-out infinite; }
.hero-stat { position: absolute; left: 20px; right: 20px; bottom: 20px; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.hero-stat div { background: rgba(255,255,255,.8); border-radius: 18px; padding: 14px; text-align: center; font-weight: 900; }
.hero-stat span { display: block; font-size: .76rem; color: var(--muted); font-weight: 700; }

.hero-slider {
  padding: 0;
  isolation: isolate;
  background: #121827;
}

.hero-slider .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  opacity: 0;
  filter: none;
  transform: scale(1.06);
  animation: none;
  transition: opacity .9s ease, transform 5s ease;
}

.hero-slider:not(.js-slider-ready) .hero-slide {
  animation: heroSlideFade 32s infinite;
  animation-delay: calc(var(--slide-index) * 4s);
}

.hero-slider .hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slider-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12,18,32,.72), rgba(12,18,32,.18) 56%, rgba(12,18,32,.46)),
    linear-gradient(0deg, rgba(12,18,32,.72), transparent 50%);
}

.hero-slider-copy {
  position: absolute;
  left: clamp(22px, 4vw, 46px);
  right: clamp(22px, 4vw, 46px);
  bottom: clamp(54px, 6vw, 72px);
  z-index: 2;
  color: #fff;
}

.hero-slider-copy h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4.6rem);
  line-height: 1;
}

.hero-slider-copy .eyebrow,
.hero-slider-copy p {
  color: rgba(255,255,255,.82);
}

.hero-dots {
  position: absolute;
  left: clamp(22px, 4vw, 46px);
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.hero-dots button.active {
  width: 32px;
  background: #fff;
}

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.category-grid, .offer-grid, .product-grid, .banner-grid, .stats-grid, .policy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.category-card, .offer-card, .promo-banner, .product-card, .info-card, .stat-card {
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.category-card::before,
.offer-card::before,
.product-card::before,
.info-card::before,
.promo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 20%), rgba(255,255,255,.48), transparent 32%);
  opacity: 0;
  transition: opacity .28s ease;
  z-index: 1;
}
.category-card:hover::before,
.offer-card:hover::before,
.product-card:hover::before,
.info-card:hover::before,
.promo-banner:hover::before { opacity: 1; }
.category-card > *,
.offer-card > *,
.product-card > *,
.info-card > *,
.promo-banner > * { position: relative; z-index: 2; }
.category-card:hover, .offer-card:hover, .product-card:hover, .promo-banner:hover { transform: translateY(-4px); }
.category-card, .offer-card, .product-card, .promo-banner { transition: transform .22s ease, box-shadow .22s ease; }
.category-card strong, .offer-card strong { font-size: 1.08rem; display: block; margin-bottom: 7px; }
.paw-icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 12px; background: rgba(236,79,134,.12); color: var(--pink); font-weight: 1000; }

.banner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.promo-banner { min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: linear-gradient(135deg, var(--blue), var(--purple)); }
.promo-banner:nth-child(2) { background: linear-gradient(135deg, var(--orange), var(--pink)); }
.promo-banner:nth-child(3) { background: linear-gradient(135deg, var(--green), #54c77e); }
.promo-banner img { position: absolute; right: -20px; bottom: -20px; width: 46%; opacity: .85; }
.promo-banner h3 { font-size: 1.7rem; max-width: 70%; margin: 0; }
.promo-banner p { max-width: 65%; color: rgba(255,255,255,.86); }

.filter-bar {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(145px, 1fr));
  gap: 12px;
  padding: 14px;
  border-radius: 24px;
  margin-bottom: 18px;
}

.instant-filter-bar {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.instant-filter-bar.has-clear-filter {
  grid-template-columns: repeat(4, minmax(150px, 1fr)) auto;
}

.search-field {
  position: relative;
}

.search-field input {
  padding-right: 64px;
  border-radius: 18px;
  background: rgba(255,255,255,.88);
}

.search-field button {
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  width: 58px;
  height: auto;
  border: 0;
  border-radius: 0 17px 17px 0;
  display: grid;
  place-items: center;
  color: #172033;
  background: linear-gradient(135deg, #ffd36a, #ffad42);
  cursor: pointer;
  box-shadow: inset 1px 0 0 rgba(23,32,51,.08);
  transform: none;
  transition: width .2s ease, background .2s ease, box-shadow .2s ease;
}

.search-field button:hover {
  width: 66px;
  background: linear-gradient(135deg, #ffcb4f, #ff9f1c);
  box-shadow: inset 1px 0 0 rgba(23,32,51,.08), 0 12px 24px rgba(255,159,28,.28);
}

.search-field svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.filter-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 22px;
  padding: 14px 16px;
  margin-bottom: 22px;
}

.filter-link-row code {
  display: block;
  max-width: min(920px, 62vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
}

.clear-filter-btn {
  min-height: 50px;
  white-space: nowrap;
}

.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { padding: 12px; }
.product-media {
  height: auto;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,239,246,.65));
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
.product-media::after {
  content: "";
  position: absolute;
  inset: auto 18% 8% 18%;
  height: 18px;
  background: radial-gradient(ellipse, rgba(23,32,51,.18), transparent 70%);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}
.product-media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 18px;
  transition: transform .25s ease;
  padding: 0;
}
.product-card:hover .product-media img { transform: scale(1.06); }
.product-card:hover .product-media::after { opacity: 1; transform: scaleX(1.08); }
.product-card .wishlist-toggle { position: absolute; top: 20px; right: 20px; z-index: 10; }
.wishlist-toggle.active { background: var(--pink); color: #fff; }
.badge {
  position: absolute;
  top: 12px; left: 12px;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: .78rem;
  font-weight: 900;
  color: #fff;
  background: var(--pink);
  z-index: 2;
}
.badge.muted { background: var(--muted); }
.product-body { padding: 15px 6px 4px; }
.eyebrow { color: var(--pink); font-weight: 900; font-size: .78rem; text-transform: uppercase; margin: 0 0 6px; }
.product-body h3 { margin: 0 0 8px; font-size: 1.05rem; min-height: 2.4em; }
.product-body p { color: var(--muted); line-height: 1.5; margin: 0 0 12px; }
.card-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}

.card-rating span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #8a5a00;
  background: rgba(255,178,29,.14);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: .82rem;
  font-weight: 900;
}

.card-rating small {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}
.price-row { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.price-row strong { font-size: 1.2rem; }
.price-row span { color: var(--muted); text-decoration: line-through; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card-actions .btn {
  min-height: 48px;
  padding: 11px 10px;
  font-size: .88rem;
  line-height: 1.15;
}

.page-hero {
  width: min(1180px, calc(100% - 28px));
  margin: 28px auto;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 32px;
}
.page-hero h1 { font-size: clamp(2.5rem, 7vw, 5rem); }

.product-detail {
  width: min(1180px, calc(100% - 28px));
  margin: 26px auto 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}
.product-gallery {
  align-self: start;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100%;
  padding: 14px;
  border-radius: 28px;
}
.gallery-main {
  border-radius: 28px;
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(10px, 1.4vw, 16px);
  box-shadow: none;
  background: rgba(255,255,255,.62);
  overflow: hidden;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 96px));
  justify-content: start;
  gap: 10px;
  margin-top: 12px;
}
.thumbs button { border: 1px solid rgba(23,32,51,.1); background: rgba(255,255,255,.75); border-radius: 16px; aspect-ratio: 1 / .86; height: auto; padding: 6px; cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.thumbs button:hover, .thumbs button.active { transform: translateY(-3px); border-color: rgba(236,79,134,.6); box-shadow: 0 12px 24px rgba(236,79,134,.14); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-panel { border-radius: 28px; padding: clamp(22px, 3.2vw, 32px); }
.detail-panel h1 { font-size: clamp(2rem, 3.5vw, 3.25rem); margin: 0 0 12px; line-height: 1; }
.detail-panel h2 { margin: 20px 0 10px; }
.option-group { margin: 18px 0; }
.option-group label { display: block; font-weight: 900; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { border: 1px solid rgba(23,32,51,.12); background: rgba(255,255,255,.74); border-radius: 999px; padding: 10px 14px; cursor: pointer; }
.chip input { display: none; }
.chip:has(input:checked) { background: var(--ink); color: #fff; }
.qty-row { display: flex; align-items: center; gap: 10px; margin: 20px 0; }
.qty-row input { width: 76px; text-align: center; }
.spec-list { padding-left: 18px; color: var(--muted); line-height: 1.7; }

.product-detail + .section {
  margin-top: 20px;
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(220px, .55fr) minmax(320px, .9fr) minmax(420px, 1.6fr);
  gap: 18px;
  align-items: start;
}

.review-summary,
.review-form,
.review-card {
  border-radius: 26px;
  padding: 24px;
}

.rating-number {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1;
  font-weight: 1000;
  color: var(--ink);
}

.rating-stars {
  display: flex;
  gap: 4px;
  margin: 12px 0;
  color: rgba(100,112,132,.28);
  font-size: 1.35rem;
}

.rating-stars.small {
  font-size: 1rem;
  margin: 0 0 8px;
}

.rating-stars .filled {
  color: #ffb21d;
  filter: drop-shadow(0 6px 10px rgba(255,178,29,.22));
}

.review-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.review-card h3 {
  margin: 0 0 8px;
}

.review-card p {
  color: var(--muted);
  line-height: 1.6;
}

.review-card small {
  color: var(--muted);
  font-weight: 800;
}

.cart-page { margin-top: 28px; }
.cart-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 20px;
  align-items: start;
}

.cart-items-panel,
.cart-summary {
  border-radius: 28px;
  padding: 18px;
}

.cart-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 6px 6px 18px;
}

.cart-panel-head h3 {
  margin: 0;
  font-size: 1.25rem;
}

.cart-panel-head a {
  color: var(--pink);
  font-weight: 900;
}

.cart-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 16px 38px rgba(23,32,51,.08);
}

.cart-item + .cart-item { margin-top: 12px; }
.cart-item img { width: 96px; height: 96px; object-fit: contain; background: #fff; border-radius: 18px; }
.cart-item-info strong { display: block; margin-bottom: 6px; font-size: 1.05rem; }
.cart-item-info p { margin: 0 0 8px; color: var(--muted); line-height: 1.45; }
.cart-item-info span { color: var(--muted); font-weight: 800; }
.cart-item-controls { display: flex; align-items: center; gap: 12px; }
.cart-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(23,32,51,.08);
}

.cart-stepper .icon-btn {
  width: 36px;
  min-width: 36px;
  height: 36px;
}

.cart-summary {
  position: sticky;
  top: 112px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(23,32,51,.08);
}

.summary-line strong {
  font-size: 1.55rem;
}

.summary-note {
  color: var(--muted);
  line-height: 1.6;
  margin: 18px 0;
}

.cart-summary .btn {
  width: 100%;
}

.wishlist-shell {
  grid-template-columns: minmax(0, 1fr);
}

.wishlist-items-panel {
  width: 100%;
}

.wishlist-page .compact-shop-head {
  padding-inline: clamp(10px, 4vw, 24px);
}

.wishlist-item-image {
  display: block;
}

.wishlist-item-actions .btn {
  min-height: 44px;
  padding: 10px 16px;
  white-space: nowrap;
}

.empty-cart-state {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 32px;
}

.empty-cart-state .paw-icon {
  margin-inline: auto;
}

.form-grid { display: grid; gap: 14px; }
.form-grid.two { grid-template-columns: repeat(2, 1fr); }
.admin-body { display: grid; grid-template-columns: 260px 1fr; }
.admin-sidebar { position: sticky; top: 14px; min-height: calc(100vh - 28px); margin: 14px; padding: 18px; border-radius: 24px; }
.admin-sidebar nav { display: grid; gap: 6px; margin-top: 22px; }
.admin-main { padding: 24px 24px 48px; }
.admin-card { padding: 22px; border-radius: 24px; margin-bottom: 18px; }
.table-wrap { overflow-x: auto; border-radius: 18px; }
table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,.7); }
th, td { padding: 14px; border-bottom: 1px solid rgba(23,32,51,.08); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: .82rem; text-transform: uppercase; }
.file-field {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(23,32,51,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.66);
  font-weight: 800;
}
.file-field small,
.help-text {
  color: var(--muted);
  font-size: .82rem;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 1000;
  font-size: 1.4rem;
  z-index: 60;
  box-shadow: 0 18px 35px rgba(45,187,102,.32);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  padding: 13px 18px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 90;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-toggle { display: block; }
  .site-nav, .header-search, .header-actions { grid-column: 1 / -1; display: none; }
  .site-header.open .site-nav, .site-header.open .header-search, .site-header.open .header-actions { display: flex; flex-wrap: wrap; }
  .header-search { display: none; }
  .hero, .product-detail { grid-template-columns: 1fr; min-height: auto; }
  .product-gallery { position: static; min-height: auto; }
  .gallery-main { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .category-grid, .offer-grid, .product-grid, .banner-grid, .stats-grid, .policy-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .review-layout { grid-template-columns: 1fr 1fr; }
  .review-list { grid-column: 1 / -1; }
  .filter-bar, .instant-filter-bar, .instant-filter-bar.has-clear-filter { grid-template-columns: 1fr 1fr; }
  .filter-link-row { align-items: stretch; flex-direction: column; }
  .filter-link-row code { max-width: 100%; }
  .admin-body { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; min-height: auto; }
}

@media (max-width: 620px) {
  .site-header { top: 8px; width: calc(100% - 16px); margin-top: 8px; border-radius: 20px; }
  .brand span { font-size: .9rem; }
  .hero h1 { font-size: 3rem; }
  .hero-card { min-height: 360px; }
  .hero-card img { height: 310px; }
  .hero-stat { grid-template-columns: 1fr; position: static; margin-top: 12px; }
  .category-grid, .offer-grid, .product-grid, .banner-grid, .policy-grid, .filter-bar, .form-grid.two { grid-template-columns: 1fr; }
  .instant-filter-bar, .instant-filter-bar.has-clear-filter { grid-template-columns: 1fr; }
  .review-layout { grid-template-columns: 1fr; }
  .review-list { grid-column: auto; }
  .promo-banner h3, .promo-banner p { max-width: 100%; }
  .promo-banner img { opacity: .25; width: 70%; }
  .cart-item { grid-template-columns: 76px 1fr; }
  .cart-item img { width: 76px; height: 76px; }
  .cart-item-controls { grid-column: 1 / -1; justify-content: space-between; flex-wrap: wrap; }
  .wishlist-item-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 8px;
  }
  .wishlist-item-actions .btn {
    min-width: 0;
    padding-inline: 10px;
    font-size: .82rem;
  }
}

@media (max-width: 760px) {
  .contact-page .contact-hero {
    min-height: 0;
    margin-top: 18px;
    padding: clamp(24px, 8vw, 34px);
    border-radius: 26px;
  }

  .contact-hero-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 13px;
    border-radius: 16px;
  }

  .contact-hero-icon svg {
    width: 24px;
    height: 24px;
  }

  .contact-page .contact-hero h1 {
    max-width: 620px;
    font-size: clamp(2.45rem, 10.8vw, 3.65rem);
    line-height: .96;
  }

  .contact-page .contact-hero p:not(.eyebrow) {
    max-width: 34rem;
    font-size: .95rem;
    line-height: 1.65;
  }

  .contact-page .contact-hero .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .contact-social-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .contact-social-card {
    min-height: 104px;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    grid-template-rows: 1fr;
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
  }

  .contact-social-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .contact-social-icon svg {
    width: 23px;
    height: 23px;
  }

  .contact-social-copy strong {
    font-size: 1.08rem;
  }

  .contact-social-copy small {
    font-size: .86rem;
  }

  .contact-social-arrow {
    grid-column: auto;
    align-self: center;
    padding: 7px 10px;
    font-size: .7rem;
  }
}

@media (max-width: 360px) {
  .contact-page .contact-hero {
    padding: 22px;
  }

  .contact-page .contact-hero h1 {
    font-size: 2.25rem;
  }

  .contact-page .contact-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-social-card {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 96px;
    padding: 14px;
  }

  .contact-social-arrow {
    grid-column: 2;
    justify-self: start;
    margin-top: -2px;
  }
}

@media (max-width: 380px) {
  .wishlist-page .compact-shop-head {
    padding-inline: 12px;
  }

  .wishlist-page .cart-items-panel {
    padding: 14px;
  }

  .wishlist-page .cart-panel-head {
    gap: 8px;
    padding: 4px 2px 14px;
  }

  .wishlist-page .cart-panel-head h3 {
    font-size: .98rem;
    line-height: 1.05;
    white-space: nowrap;
  }

  .wishlist-page .cart-panel-head a {
    flex: 0 0 auto;
    font-size: .72rem;
    line-height: 1.05;
    white-space: nowrap;
  }

  .wishlist-page .empty-cart-state {
    min-height: 300px;
    padding: 24px 12px;
  }

  .wishlist-page .empty-cart-state h2 {
    font-size: 1.12rem;
    line-height: 1.12;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Polish pass: wider ecommerce layout, stronger motion, premium footer and banner overlays. */
.site-header,
.section,
.hero,
.page-hero,
.product-detail {
  width: min(1760px, calc(100% - 48px));
}

.cart-layout { width: min(1320px, calc(100% - 48px)); }

.site-header {
  grid-template-columns: auto auto minmax(280px, 1fr) auto;
  padding: 12px 18px;
  box-shadow: 0 22px 70px rgba(23, 32, 51, 0.14), inset 0 1px 0 rgba(255,255,255,.8);
  animation: headerDrop .55s cubic-bezier(.2,.8,.2,1) both;
}

.site-nav a {
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.site-nav a:hover { transform: translateY(-1px); }

.header-actions .icon-link {
  min-width: 54px;
  height: 54px;
  padding: 0 14px;
  color: var(--ink);
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(255,255,255,.58));
  border: 1px solid rgba(255,255,255,.72);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.header-actions .icon-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-actions .icon-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(236, 79, 134, .18);
  background: #fff;
}

.header-actions .btn.whatsapp {
  min-height: 54px;
  padding-inline: 24px;
}

.hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  min-height: 650px;
  gap: 32px;
}

.hero-copy,
.hero-card {
  min-height: 560px;
  box-shadow: 0 28px 90px rgba(73, 52, 96, 0.18), inset 0 1px 0 rgba(255,255,255,.85);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy {
  background:
    radial-gradient(circle at 88% 0%, rgba(255,255,255,.95) 0 0, transparent 10rem),
    linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.55));
}

.hero h1 { font-size: clamp(4rem, 8.5vw, 8.8rem); }
.hero p { max-width: 720px; font-size: 1.06rem; }
.hero-card:not(.hero-slider) img { height: 480px; }

.glass,
.category-card,
.offer-card,
.product-card,
.promo-banner,
.info-card,
.stat-card {
  transform-style: preserve-3d;
}

.category-card,
.offer-card,
.product-card,
.promo-banner {
  transition: transform .34s cubic-bezier(.2,.8,.2,1), box-shadow .34s ease, border-color .34s ease;
}

.category-card:hover,
.offer-card:hover,
.product-card:hover {
  transform: translateY(-10px) scale(1.012) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  box-shadow: 0 30px 75px rgba(73, 52, 96, .2), 0 0 0 1px rgba(255,255,255,.78) inset;
}

.product-card:hover .btn,
.offer-card:hover .paw-icon,
.category-card:hover .paw-icon {
  box-shadow: 0 18px 40px rgba(236, 79, 134, .22);
}

.product-media {
  height: auto;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.95), rgba(255,239,246,.68) 52%, rgba(255,255,255,.56));
}

.product-media img { max-height: none; padding: 0; object-fit: cover; }
.product-card:hover .product-media img { transform: scale(1.06); }

.banner-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.category-grid,
.offer-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.product-grid {
  grid-template-columns: repeat(auto-fill, minmax(270px, 330px));
  justify-content: start;
}

.promo-banner {
  min-height: 320px;
  padding: 0;
  display: block;
  border-radius: 28px;
  background: #101827;
  color: #fff;
  box-shadow: 0 28px 80px rgba(23, 32, 51, .18);
}

.promo-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .35s ease;
}

.promo-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,14,24,.12), rgba(10,14,24,.68)),
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.22), transparent 18rem);
  transition: opacity .3s ease;
}

.promo-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  transform: translateY(0);
  transition: transform .35s ease;
}

.promo-banner h3 {
  max-width: 100%;
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  text-shadow: 0 10px 30px rgba(0,0,0,.3);
}

.promo-banner p {
  max-width: 100%;
  color: rgba(255,255,255,.9);
  margin: 0;
}

.promo-actions {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .32s ease, transform .32s ease;
}

.promo-actions .btn {
  min-height: 46px;
  padding: 11px 15px;
  font-size: .92rem;
}

.promo-banner:hover {
  transform: translateY(-10px) scale(1.01) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  box-shadow: 0 38px 90px rgba(23, 32, 51, .26);
}

.promo-banner:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) brightness(.78);
}

.promo-banner:hover .promo-content {
  transform: translateY(-72px);
}

.promo-banner:hover .promo-actions {
  opacity: 1;
  transform: translateY(0);
}

/* Contact page polish */
.contact-page .contact-hero {
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(310px, 28vw, 430px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 86% 12%, rgba(47,143,88,.16), transparent 18rem),
    radial-gradient(circle at 14% 20%, rgba(236,79,134,.16), transparent 20rem),
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,249,246,.66));
}

.contact-page .contact-hero::after {
  content: "";
  position: absolute;
  right: clamp(22px, 7vw, 86px);
  bottom: clamp(-54px, -3vw, -24px);
  width: clamp(150px, 20vw, 250px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.95), rgba(47,143,88,.18) 54%, rgba(236,79,134,.06));
  z-index: 0;
}

.contact-hero-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #2dbb66, #168c4a);
  box-shadow: 0 18px 36px rgba(47,143,88,.22);
}

.contact-hero-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-page .contact-hero > * {
  position: relative;
  z-index: 1;
}

.contact-social-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.contact-social-card {
  min-height: 150px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 20px;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 10%, rgba(255,255,255,.92), transparent 8rem),
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,249,252,.62));
  border: 1px solid rgba(255,255,255,.78);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.contact-social-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(73,52,96,.18);
}

.contact-social-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--pink);
  background: rgba(236,79,134,.11);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

.contact-social-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-social-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.contact-social-copy strong {
  font-size: 1.18rem;
}

.contact-social-copy small {
  color: var(--muted);
  font-weight: 750;
}

.contact-social-arrow {
  grid-column: 1 / -1;
  align-self: end;
  justify-self: start;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--pink);
  background: rgba(236,79,134,.09);
  font-size: .78rem;
  font-weight: 900;
}

.facebook-card .contact-social-icon { color: #1877f2; background: rgba(24,119,242,.1); }
.instagram-card .contact-social-icon { color: #d9468f; background: rgba(217,70,143,.1); }
.tiktok-card .contact-social-icon { color: #111827; background: rgba(17,24,39,.08); }
.youtube-card .contact-social-icon { color: #e11d48; background: rgba(225,29,72,.1); }

.site-footer {
  width: min(1760px, calc(100% - 48px));
  margin: 64px auto 26px;
  padding: 0;
  color: #eef4ff;
  border-radius: 34px;
  background:
    radial-gradient(circle at 4% 4%, rgba(236,79,134,.26), transparent 26rem),
    radial-gradient(circle at 92% 0%, rgba(255,159,28,.16), transparent 24rem),
    radial-gradient(circle at 70% 100%, rgba(106,60,199,.2), transparent 28rem),
    linear-gradient(135deg, #111827, #1e2236 58%, #141927);
  box-shadow: 0 30px 90px rgba(23, 32, 51, .24);
  overflow: hidden;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) repeat(4, minmax(150px, .72fr));
  gap: clamp(22px, 3vw, 46px);
  padding: clamp(34px, 5vw, 64px);
}

.site-footer h2,
.site-footer h3,
.site-footer p { margin-top: 0; }

.site-footer p,
.site-footer a { color: rgba(238,244,255,.78); }

.site-footer a {
  display: block;
  margin: 9px 0;
  transition: color .2s ease, transform .2s ease;
}

.site-footer a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-brand img {
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
  filter: drop-shadow(0 16px 26px rgba(236,79,134,.2));
}

.footer-brand h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3vw, 3.35rem);
  line-height: 1;
}

.footer-brand p {
  max-width: 360px;
  line-height: 1.7;
}

.footer-col h3 {
  position: relative;
  margin-bottom: 20px;
}

.footer-col h3::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 12px;
  background: linear-gradient(90deg, rgba(236,79,134,.5), rgba(255,255,255,.08));
}

.footer-phone {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff !important;
}

.footer-contact span {
  display: block;
  margin: 14px 0 4px;
  color: rgba(238,244,255,.46);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.icon-socials a,
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.icon-socials a {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
  font-size: .82rem;
  font-weight: 900;
}

.social-row:not(.icon-socials) a {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(34px, 5vw, 64px);
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(238,244,255,.62);
  font-size: .92rem;
}

.footer-bottom p {
  margin: 0;
}

.credit-heart {
  color: var(--pink);
  display: inline-block;
  transform: translateY(-1px);
}

.floating-whatsapp {
  width: 64px;
  height: 64px;
  font-size: .95rem;
  letter-spacing: 0;
  animation: pulseWa 2.4s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(.985);
  filter: blur(7px);
  transition: opacity .75s cubic-bezier(.2,.8,.2,1), transform .75s cubic-bezier(.2,.8,.2,1), filter .75s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.hero .reveal:nth-child(2) { transition-delay: .12s; }
.offer-grid .reveal:nth-child(2),
.product-grid .reveal:nth-child(2),
.category-grid .reveal:nth-child(2) { transition-delay: .06s; }
.offer-grid .reveal:nth-child(3),
.product-grid .reveal:nth-child(3),
.category-grid .reveal:nth-child(3) { transition-delay: .12s; }
.offer-grid .reveal:nth-child(4),
.product-grid .reveal:nth-child(4),
.category-grid .reveal:nth-child(4) { transition-delay: .18s; }

@keyframes headerDrop {
  from { opacity: 0; transform: translateY(-18px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pulseWa {
  0%, 100% { box-shadow: 0 18px 35px rgba(45,187,102,.32), 0 0 0 0 rgba(45,187,102,.22); }
  50% { box-shadow: 0 18px 35px rgba(45,187,102,.32), 0 0 0 13px rgba(45,187,102,0); }
}

@keyframes heroSlideFade {
  0%, 10% { opacity: 1; transform: scale(1); }
  15%, 100% { opacity: 0; transform: scale(1.06); }
}

@keyframes pageRise {
  from { opacity: 0; transform: translateY(16px); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes softGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(236,79,134,0)); }
  50% { filter: drop-shadow(0 18px 28px rgba(236,79,134,.18)); }
}

.hero-copy .btn,
.hero-slider-copy .btn {
  animation: softGlow 3.2s ease-in-out infinite;
}

.section-head {
  animation: sectionHeadIn .7s cubic-bezier(.2,.8,.2,1) both;
  animation-timeline: view();
  animation-range: entry 0% cover 28%;
}

@keyframes sectionHeadIn {
  from { opacity: .25; transform: translateX(-18px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1180px) {
  .hero:not(.home-hero) { grid-template-columns: 1fr; }
  .hero:not(.home-hero) .hero-copy,
  .hero:not(.home-hero) .hero-card { min-height: auto; }
}

/* Desktop section ordering: pull featured products above promo banners */
@media (min-width: 981px) {
  body.home-page main {
    display: flex;
    flex-direction: column;
  }
  body.home-page .home-hero           { order: 1; }
  body.home-page .home-quick-strip    { order: 2; }
  body.home-page .home-featured-top   { order: 3; }
  body.home-page .home-promo-below    { order: 4; }
  body.home-page .home-category-below { order: 5; }
  /* Everything else comes after */
  body.home-page .mobile-category-product-section { order: 6; }
  body.home-page .mobile-popular-section           { order: 7; }
  body.home-page .mobile-offer-products-section    { order: 8; }
  body.home-page .desktop-extra-promo-section      { order: 9; }
  body.home-page .mobile-all-products-section      { order: 10; }
}

@media (max-width: 980px) {
  .site-header,
  .section,
  .hero,
  .page-hero,
  .product-detail,
  .cart-layout,
  .site-footer {
    width: min(100% - 22px, 760px);
  }

  .site-footer {
    grid-template-columns: none;
  }

  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .cart-shell { grid-template-columns: 1fr; }
  .cart-summary { position: static; }

  .promo-banner { min-height: 280px; }
}

@media (max-width: 620px) {
  .site-header,
  .section,
  .hero,
  .page-hero,
  .product-detail,
  .cart-layout,
  .site-footer {
    width: calc(100% - 16px);
  }

  .hero h1 { font-size: 3.35rem; }
  .hero-card:not(.hero-slider) img { height: 280px; }
  .hero-slider { min-height: 430px; }
  .hero-slider-copy { bottom: 62px; }
  .hero-slider-copy h2 { font-size: 2.4rem; }
  .product-media { height: auto; aspect-ratio: 4 / 3; }
  .gallery-main { min-height: 0; aspect-ratio: 4 / 3; }
  .thumbs { grid-template-columns: repeat(auto-fill, minmax(70px, 82px)); }
  .site-footer { grid-template-columns: none; border-radius: 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .promo-actions { opacity: 1; transform: none; position: relative; left: auto; right: auto; bottom: auto; padding: 0 18px 18px; }
  .promo-content { position: relative; left: auto; right: auto; bottom: auto; padding: 160px 18px 12px; transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* Commercial icon polish */
.header-actions .icon-link {
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.98), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,255,255,.62));
  border: 1px solid rgba(255,255,255,.8);
}

.header-actions .icon-link span {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(236,79,134,.1);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 900;
}

.header-actions .icon-link:hover {
  color: var(--pink);
}

.paw-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 28% 20%, rgba(255,255,255,.94), transparent 45%),
    linear-gradient(135deg, rgba(236,79,134,.16), rgba(106,60,199,.1));
  border: 1px solid rgba(236,79,134,.08);
  box-shadow: 0 14px 26px rgba(236,79,134,.08);
}

.paw-icon svg,
.icon-btn svg,
.floating-whatsapp svg,
.icon-socials svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.8;
}

.icon-socials svg {
  width: 19px;
  height: 19px;
}

.category-card:nth-child(2n) .paw-icon,
.offer-card:nth-child(2n) .paw-icon {
  color: var(--purple);
  background: linear-gradient(135deg, rgba(106,60,199,.14), rgba(255,255,255,.72));
}

.category-card:nth-child(3n) .paw-icon,
.offer-card:nth-child(3n) .paw-icon {
  color: var(--orange);
  background: linear-gradient(135deg, rgba(255,159,28,.18), rgba(255,255,255,.72));
}

.category-card:nth-child(4n) .paw-icon,
.offer-card:nth-child(4n) .paw-icon {
  color: var(--green);
  background: linear-gradient(135deg, rgba(47,143,88,.15), rgba(255,255,255,.72));
}

.icon-socials a:hover {
  color: #fff;
  background: linear-gradient(135deg, rgba(236,79,134,.42), rgba(106,60,199,.38));
  border-color: rgba(255,255,255,.24);
}

/* Product view gallery and detail panel polish */
.gallery-main {
  overflow: hidden;
}

.gallery-main img {
  border-radius: 24px;
  transition: transform .45s ease, opacity .3s ease;
}

.gallery-main:hover img {
  transform: scale(1.015);
}

.thumbs button {
  overflow: hidden;
}

.thumbs img {
  border-radius: 11px;
}

.gallery-counter {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(23,32,51,.72);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px);
  font-size: .86rem;
  font-weight: 900;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: rgba(255,255,255,.82);
  box-shadow: 0 16px 34px rgba(23,32,51,.14);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%) scale(.94);
  transition: opacity .22s ease, transform .22s ease, background .22s ease;
  font-size: 0;
  line-height: 1;
  overflow: hidden;
}

.gallery-arrow::before {
  content: "\2039";
  display: block;
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
  transform: translate(-1px, -1px);
}

.gallery-arrow.next::before {
  content: "\203A";
  transform: translate(1px, -1px);
}

.gallery-arrow.prev { left: 18px; }
.gallery-arrow.next { right: 18px; }
.gallery-main:hover .gallery-arrow,
.product-gallery:focus-within .gallery-arrow {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.gallery-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}

.product-lead {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.product-mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.rating-pill,
.stock-pill,
.share-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
}

.rating-pill {
  color: #8a5a00;
  background: rgba(255,178,29,.16);
}

.rating-pill small {
  color: var(--muted);
  font-weight: 800;
}

.stock-pill {
  color: var(--green);
  background: rgba(47,143,88,.12);
}

.stock-pill.muted {
  color: var(--muted);
  background: rgba(100,112,132,.12);
}

.share-pill {
  border: 0;
  color: var(--pink);
  background: rgba(236,79,134,.1);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.share-pill svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share-pill:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  transform: translateY(-1px);
}

.detail-price-card {
  margin: 16px 0;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.92), transparent 16rem),
    linear-gradient(135deg, rgba(236,79,134,.08), rgba(106,60,199,.07));
  border: 1px solid rgba(255,255,255,.72);
}

.detail-price-card .price-row {
  margin-bottom: 8px;
}

.detail-price-card .price-row strong {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.detail-price-card p {
  margin: 0;
  color: var(--muted);
}

.purchase-box {
  margin: 18px 0;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(23,32,51,.08);
}

.purchase-box .qty-row {
  margin: 0 0 14px;
  justify-content: space-between;
}

.purchase-box input {
  width: 92px;
  border: 1px solid rgba(23,32,51,.14);
  border-radius: 14px;
  background: #fff;
  padding: 11px;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.product-actions .btn {
  min-height: 54px;
}

.detail-wishlist {
  grid-column: 1 / -1;
  color: var(--ink);
  border: 1px solid rgba(236,79,134,.16);
  background: rgba(255,255,255,.78);
}

.detail-wishlist svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-wishlist.active {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.detail-info-grid section {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(23,32,51,.06);
}

.detail-info-grid h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.detail-info-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.detail-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.detail-service-grid div {
  min-height: 82px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 6px;
  padding: 12px;
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(23,32,51,.06);
  font-weight: 900;
}

.detail-service-grid svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--pink);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 980px) {
  .detail-info-grid,
  .detail-service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .product-actions {
    grid-template-columns: 1fr;
  }

  .gallery-arrow {
    opacity: 1;
    width: 38px;
    height: 38px;
  }
}

/* Desktop product-page viewport optimization */
@media (min-width: 981px) {
  .product-detail {
    margin-top: 14px;
    margin-bottom: 14px;
    gap: 20px;
    grid-template-columns: minmax(0, .96fr) minmax(430px, 1.04fr);
    align-items: start;
  }

  .product-gallery {
    min-height: 0;
    padding: 11px;
    display: flex;
    flex-direction: column;
  }

  .gallery-main {
    min-height: 0;
    height: auto;
    flex: 0 0 auto;
    aspect-ratio: 4 / 3;
    padding: 12px;
    border-radius: 24px;
  }

  .gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 19px;
  }

  .thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding: 4px 6px 20px 4px; /* Extra bottom padding for active state drop shadow */
  }

  .thumbs button {
    flex: 0 0 96px; /* Increased size as requested */
    width: 96px;
    height: 82px;
    aspect-ratio: auto;
    border-radius: 14px;
    padding: 5px;
  }

  .thumbs img {
    border-radius: 9px;
  }

  .detail-panel {
    display: flex;
    flex-direction: column;
    padding: clamp(16px, 2vw, 24px);
    min-height: 0;
    height: auto;
    overflow: visible;
  }

  .detail-panel h1 {
    font-size: clamp(1.9rem, 2.75vw, 2.8rem);
    margin-bottom: 6px;
  }

  .product-lead {
    margin-bottom: 8px;
    line-height: 1.45;
  }

  .product-mini-meta {
    margin: 8px 0;
  }

  .detail-price-card {
    margin: 8px 0 10px;
    padding: 12px 16px;
    border-radius: 20px;
  }

  .detail-price-card .price-row strong {
    font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  }

  .detail-price-card .price-row {
    margin-bottom: 5px;
  }

  .detail-price-card p {
    font-size: .94rem;
  }

  .option-group {
    margin: 10px 0;
  }

  .chip {
    padding: 8px 12px;
  }

  .purchase-box {
    margin: 10px 0;
    padding: 12px;
    border-radius: 20px;
    display: grid;
    grid-template-columns: minmax(105px, .22fr) minmax(0, 1fr);
    gap: 10px 12px;
    align-items: end;
  }

  .purchase-box .qty-row {
    display: grid;
    gap: 6px;
    margin: 0;
  }

  .purchase-box input {
    width: 100%;
    padding: 9px;
  }

  .purchase-box .product-actions {
    gap: 8px;
  }

  .product-actions .btn {
    min-height: 43px;
  }

  .detail-wishlist {
    min-height: 38px;
  }

  .detail-info-grid {
    gap: 10px;
    margin-top: 10px;
  }

  .detail-info-grid section {
    padding: 12px;
    border-radius: 17px;
  }

  .detail-info-grid h2 {
    font-size: 1.04rem;
    margin-bottom: 6px;
  }

  .detail-info-grid p,
  .spec-list {
    font-size: .91rem;
    line-height: 1.42;
  }

  .detail-info-grid p {
    display: block;
    overflow: visible;
  }

  .spec-list {
    margin: 0;
    max-height: none;
    overflow: visible;
  }

  .detail-service-grid {
    display: none;
  }
}

/* Mobile commerce layout */
.mobile-menu-panel {
  display: none;
}

.mobile-header-cart {
  display: none;
}

.mobile-menu-actions {
  display: none;
}

.mobile-menu-head,
.mobile-nav-backdrop {
  display: none;
}

@media (max-width: 760px) {
  body.nav-open {
    overflow: hidden;
  }

  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    min-height: 64px;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 20px;
    grid-template-columns: minmax(0, 1fr) 42px 44px;
    gap: 8px;
    overflow: visible;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand img {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .brand span {
    min-width: 0;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .9rem;
    line-height: 1;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    color: var(--ink);
    background:
      radial-gradient(circle at 28% 20%, rgba(255,255,255,.96), transparent 44%),
      linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,255,255,.68));
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 10px 24px rgba(23,32,51,.08);
    font-size: 0;
  }

  .mobile-header-cart {
    grid-column: 2;
    grid-row: 1;
    min-width: 42px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    justify-self: end;
    padding: 0;
    position: relative;
  }

  .mobile-header-cart svg {
    width: 18px;
    height: 18px;
  }

  .mobile-header-cart span {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(236,79,134,.15);
    color: var(--ink);
    font-size: .66rem;
    font-weight: 900;
  }

  .nav-toggle::before {
    content: none;
    width: 20px;
    height: 14px;
    background:
      linear-gradient(currentColor, currentColor) 0 0 / 20px 2px no-repeat,
      linear-gradient(currentColor, currentColor) 0 6px / 20px 2px no-repeat,
      linear-gradient(currentColor, currentColor) 0 12px / 20px 2px no-repeat;
  }

  .nav-toggle svg {
    width: 21px;
    height: 21px;
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: block;
    border: 0;
    background: rgba(12,18,32,.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease;
  }

  .site-header > .desktop-nav,
  .site-header.open > .desktop-nav,
  .site-header.open > .header-actions {
    display: none;
  }

  .mobile-menu-panel {
    position: fixed;
    inset: 0;
    z-index: 120;
    width: 100%;
    height: 100dvh;
    max-height: none;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 3vw, 16px);
    padding: max(18px, env(safe-area-inset-top)) clamp(16px, 5vw, 24px) max(22px, env(safe-area-inset-bottom));
    border-radius: 0;
    background:
      radial-gradient(circle at 15% 0%, rgba(236,79,134,.18), transparent 18rem),
      radial-gradient(circle at 90% 18%, rgba(255,159,28,.13), transparent 16rem),
      linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,248,250,.94));
    border-left: 0;
    box-shadow: -24px 0 70px rgba(23,32,51,.18);
    transform: translateX(105%);
    transition: transform .3s cubic-bezier(.2,.8,.2,1);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body.nav-open .mobile-menu-panel {
    transform: translateX(0);
  }

  body.nav-open .mobile-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-weight: 1000;
    font-size: 1.25rem;
    padding: 2px 0 8px;
  }

  .nav-close {
    width: 42px;
    min-width: 42px;
    height: 42px;
  }

  .nav-close svg,
  .mobile-menu-panel svg {
    width: 20px;
    height: 20px;
  }

  .mobile-menu-panel .site-nav,
  body.nav-open .mobile-menu-panel .site-nav {
    display: grid;
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .mobile-menu-panel .site-nav a {
    width: 100%;
    padding: 16px 17px;
    border-radius: 18px;
    text-align: left;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(23,32,51,.06);
    box-shadow: 0 10px 24px rgba(23,32,51,.06);
    font-size: 1.02rem;
    font-weight: 900;
  }

  .mobile-menu-actions {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
  }

  .mobile-menu-actions .icon-link {
    min-width: 0;
    width: 100%;
    height: 58px;
    padding: 0 12px;
    border-radius: 18px;
    justify-content: flex-start;
    gap: 8px;
    position: relative;
  }

  .mobile-menu-actions .icon-link strong {
    font-size: .82rem;
  }

  .mobile-menu-actions .icon-link > span {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(236,79,134,.15);
    color: var(--ink);
    font-size: .66rem;
    font-weight: 900;
  }

  .mobile-menu-actions .btn.whatsapp {
    grid-column: 1 / -1;
    min-height: 52px;
  }

  .site-header > .header-search {
    grid-column: 1 / -1;
    display: block;
    width: 100%;
    margin-top: 2px;
    position: relative;
  }

  .site-header > .header-search input {
    min-height: 42px;
    padding: 10px 58px 10px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.78));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.68);
  }

  .site-header > .header-search button {
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    width: 50px;
    height: auto;
    border: 0;
    border-radius: 0 15px 15px 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    box-shadow: 0 10px 22px rgba(236,79,134,.2);
    cursor: pointer;
  }

  .site-header > .header-search button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .site-header > .header-actions {
    display: none;
  }

  body.home-page main {
    display: flex;
    flex-direction: column;
  }

  body.home-page .home-hero { order: 1; }
  body.home-page .mobile-quick-section { order: 2; }
  body.home-page .mobile-featured-section { order: 3; }
  body.home-page .mobile-promo-section { order: 4; }
  body.home-page .mobile-offer-products-section { order: 5; }
  body.home-page .mobile-category-section { order: 6; }
  body.home-page .mobile-category-product-section { order: 7; }
  body.home-page .mobile-popular-section { order: 8; }
  body.home-page .mobile-all-products-section { order: 9; }

  .section,
  .hero,
  .page-hero,
  .product-detail,
  .cart-layout,
  .site-footer {
    width: calc(100% - 16px);
  }

  .home-hero {
    min-height: 0;
    margin: 10px auto 8px;
    display: block;
  }

  .home-hero .hero-copy {
    min-height: 0;
    padding: 14px 16px;
    border-radius: 20px;
  }

  .home-hero .hero-copy::after {
    width: 120px;
    height: 120px;
    right: -46px;
    top: -54px;
  }

  .home-hero .eyebrow {
    max-width: 220px;
    margin-bottom: 6px;
    font-size: .66rem;
    line-height: 1.25;
  }

  .home-hero h1 {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: .22em;
    font-size: clamp(1.85rem, 8.5vw, 2.55rem);
    line-height: .98;
    white-space: nowrap;
  }

  .home-hero h1 span {
    display: inline;
  }

  .home-hero p:not(.eyebrow) {
    display: -webkit-box;
    margin: 8px 0 0;
    max-width: 96%;
    overflow: hidden;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.42;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .home-hero .hero-actions {
    margin-top: 10px;
    gap: 8px;
  }

  .home-hero .btn {
    min-height: 36px;
    padding: 9px 12px;
    font-size: .76rem;
  }

  .home-hero .hero-slider {
    display: none;
  }

  .section {
    margin: 14px auto;
  }

  .section-head {
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .section-head h2 {
    font-size: 1.3rem;
    line-height: 1.05;
  }

  .section-head .eyebrow {
    font-size: .64rem;
    margin-bottom: 3px;
  }

  .section-head .btn.ghost {
    min-height: 34px;
    padding: 8px 11px;
    font-size: .72rem;
    white-space: nowrap;
  }

  .mobile-quick-section {
    margin-top: 6px;
  }

  .mobile-quick-section .offer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(5px, 1.8vw, 8px);
  }

  .mobile-quick-section .offer-card {
    min-width: 0;
    min-height: clamp(64px, 18vw, 76px);
    padding: clamp(6px, 1.6vw, 8px) 4px;
    border-radius: clamp(13px, 4vw, 16px);
    display: grid;
    justify-items: center;
    align-content: center;
    text-align: center;
  }

  .mobile-quick-section .offer-card .paw-icon {
    width: clamp(28px, 8vw, 32px);
    height: clamp(28px, 8vw, 32px);
    margin: 0 0 4px;
    border-radius: 11px;
  }

  .mobile-quick-section .offer-card .paw-icon svg {
    width: 18px;
    height: 18px;
  }

  .mobile-quick-section .offer-card strong {
    margin: 0;
    font-size: clamp(.54rem, 2.15vw, .68rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .mobile-quick-section .offer-card p {
    display: none;
  }

  .mobile-category-section .category-grid {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: initial;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(6px, 1.8vw, 9px);
    overflow: visible;
    padding: 2px 0 6px;
    scrollbar-width: auto;
  }

  .mobile-category-section .category-grid::-webkit-scrollbar {
    display: none;
  }

  .mobile-category-section .category-card {
    min-width: 0;
    min-height: clamp(72px, 20vw, 86px);
    padding: clamp(6px, 1.8vw, 9px) 3px;
    border-radius: clamp(13px, 4vw, 16px);
    display: grid;
    justify-items: center;
    align-content: center;
    text-align: center;
  }

  .mobile-category-section .category-card .paw-icon {
    width: clamp(28px, 8vw, 34px);
    height: clamp(28px, 8vw, 34px);
    margin: 0 auto 5px;
    border-radius: 12px;
  }

  .mobile-category-section .category-card .paw-icon svg {
    width: 18px;
    height: 18px;
  }

  .mobile-category-section .category-card strong {
    margin: 0;
    font-size: clamp(.54rem, 2.1vw, .68rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .mobile-category-section .category-card p {
    display: none;
  }

  .mobile-promo-section .banner-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mobile-promo-section .promo-banner:nth-child(n+2) {
    display: none;
  }

  .mobile-promo-section {
    margin-top: 10px;
    margin-bottom: 14px;
  }

  .mobile-promo-section .section-head {
    align-items: center;
    margin-bottom: 8px;
  }

  .mobile-promo-section .section-head h2 {
    font-size: 1.16rem;
  }

  .mobile-promo-section .section-head .btn.ghost {
    min-height: 30px;
    padding: 7px 10px;
    background: rgba(255, 255, 255, .88);
    font-size: .66rem;
  }

  .mobile-promo-section .promo-banner {
    min-height: 0;
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 7px;
    border-radius: 20px;
    overflow: hidden;
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, .72);
    background:
      linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(255, 245, 250, .82)),
      rgba(255, 255, 255, .82);
    box-shadow: 0 16px 34px rgba(23, 32, 51, .13), inset 0 1px 0 rgba(255, 255, 255, .75);
  }

  .mobile-promo-section .promo-banner::before {
    display: none;
  }

  .mobile-promo-section .promo-banner img {
    position: relative;
    grid-column: 1 / -1;
    inset: 0;
    width: 100%;
    height: auto;
    right: auto;
    bottom: auto;
    z-index: 0;
    aspect-ratio: 16 / 8.4;
    object-fit: contain;
    opacity: 1;
    border-radius: 15px;
    background:
      radial-gradient(circle at 78% 18%, rgba(236, 79, 134, .22), transparent 9rem),
      linear-gradient(135deg, #121827, #0d111c);
    filter: saturate(1.06) contrast(1.03);
    box-shadow: 0 10px 22px rgba(23, 32, 51, .12);
  }

  .mobile-promo-section .promo-shade {
    display: none;
  }

  .mobile-promo-section .promo-content {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 2;
    min-width: 0;
    align-self: center;
    padding: 1px 0 1px 6px;
    transform: none;
    transition: none;
  }

  .mobile-promo-section .promo-banner h3 {
    display: -webkit-box;
    overflow: hidden;
    max-width: 100%;
    margin: 0;
    color: var(--ink);
    font-size: .82rem;
    line-height: 1.12;
    text-shadow: none;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }

  .mobile-promo-section .promo-banner p {
    display: block;
    overflow: hidden;
    margin-top: 2px;
    max-width: 100%;
    color: var(--muted);
    font-size: .64rem;
    line-height: 1.15;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mobile-promo-section .promo-actions {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 3;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    opacity: 1;
    transform: none;
    padding: 0;
    padding-right: 2px;
    pointer-events: auto;
    transition: none;
  }

  .mobile-promo-section .promo-actions .btn {
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: .66rem;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(236, 79, 134, .24);
    pointer-events: auto;
  }

  .mobile-promo-section .promo-actions .btn::after {
    display: none;
  }

  .mobile-promo-section .promo-actions .btn.whatsapp {
    display: none;
  }

  .mobile-promo-section .promo-banner:hover {
    transform: none;
  }

  .mobile-promo-section .promo-banner:hover img {
    transform: none;
    filter: saturate(1.06) contrast(1.03);
  }

  .mobile-promo-section .promo-banner:hover .promo-content,
  .mobile-promo-section .promo-banner:hover .promo-actions {
    transform: none;
    opacity: 1;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .product-card {
    padding: 7px;
    border-radius: 17px;
  }

  .product-media {
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }

  .product-media img {
    max-height: none;
    object-fit: cover;
    border-radius: 14px;
    padding: 0;
  }

  .product-card .wishlist-toggle {
    width: 34px;
    height: 34px;
    top: 14px;
    right: 14px;
    z-index: 10;
    padding: 0;
  }

  .product-card .wishlist-toggle svg {
    width: 16px;
    height: 16px;
  }

  .badge {
    top: 8px;
    left: 8px;
    padding: 4px 7px;
    font-size: .62rem;
  }

  .product-body {
    padding: 8px 2px 1px;
  }

  .product-body .eyebrow {
    margin-bottom: 4px;
    font-size: .58rem;
    line-height: 1.1;
  }

  .product-body h3 {
    display: -webkit-box;
    min-height: 2.35em;
    margin-bottom: 5px;
    overflow: hidden;
    font-size: .82rem;
    line-height: 1.18;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .product-body > p:not(.eyebrow) {
    display: none;
  }

  .card-rating {
    gap: 5px;
    margin-bottom: 6px;
  }

  .card-rating span {
    padding: 4px 6px;
    font-size: .64rem;
  }

  .card-rating small {
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .58rem;
  }

  .price-row {
    gap: 5px;
    margin-bottom: 7px;
  }

  .price-row strong {
    font-size: .92rem;
  }

  .price-row span {
    font-size: .68rem;
  }

  .card-actions {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }

  .card-actions .btn {
    min-height: 32px;
    padding: 6px 4px;
    border-radius: 12px;
    font-size: .62rem;
    line-height: 1.05;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 380px) {
  .brand span {
    max-width: 132px;
    font-size: .82rem;
  }

  .mobile-quick-section .offer-grid {
    gap: 6px;
  }

  .mobile-quick-section .offer-card strong,
  .mobile-category-section .category-card strong {
    font-size: .62rem;
  }

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

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    overflow: visible;
  }

  .mobile-quick-section,
  .mobile-category-section,
  .mobile-featured-section,
  .mobile-offer-products-section,
  .mobile-popular-section,
  .mobile-all-products-section,
  .mobile-category-product-section {
    overflow: hidden;
  }

  .mobile-quick-section .offer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(5px, 1.8vw, 8px);
    overflow: visible;
    padding: 2px 0 6px;
  }

  .mobile-quick-section .offer-grid::-webkit-scrollbar {
    display: none;
  }

  .mobile-quick-section .offer-card {
    width: auto;
    min-width: 0;
  }

  .product-grid,
  .product-card,
  .product-body,
  .card-actions,
  .card-actions .btn {
    min-width: 0;
  }
}

/* Corrective layer: keep the earlier mobile look, only fix full-screen menu and promo rotation. */
.promo-picture {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 0;
}

.promo-picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.primary-promo-section .desktop-extra-hidden {
  display: none;
}

@media (min-width: 761px) {
  .desktop-extra-promo-section {
    display: block;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) 42px 44px !important;
    align-items: center;
  }

  .site-header > .desktop-nav,
  .site-header > .header-actions {
    display: none !important;
  }

  .mobile-header-cart {
    grid-column: 2;
    grid-row: 1;
  }

  .nav-toggle {
    grid-column: 3;
    grid-row: 1;
    color: var(--ink);
  }

  .nav-toggle svg,
  .mobile-header-cart svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-menu-panel {
    max-width: none;
    min-height: 100dvh;
    padding: max(20px, env(safe-area-inset-top)) 18px max(20px, env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 12% 0%, rgba(236,79,134,.16), transparent 18rem),
      radial-gradient(circle at 88% 12%, rgba(255,159,28,.12), transparent 16rem),
      linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,248,250,.94));
  }

  .mobile-menu-panel .site-nav {
    display: grid !important;
    gap: 12px;
  }

  .mobile-menu-panel .site-nav a {
    min-height: 54px;
    display: flex;
    align-items: center;
  }

  .mobile-menu-actions {
    grid-template-columns: 1fr;
  }

  .mobile-menu-actions .icon-link,
  .mobile-menu-actions .btn.whatsapp {
    min-height: 52px;
  }

  .desktop-extra-promo-section {
    display: none;
  }

  .primary-promo-section .banner-grid {
    display: block;
    position: relative;
  }

  .primary-promo-section .promo-banner,
  .primary-promo-section .promo-banner:nth-child(n+2),
  .primary-promo-section .desktop-extra-hidden {
    display: none;
  }

  .primary-promo-section .promo-banner.is-active {
    display: grid;
  }

  .mobile-promo-section .promo-banner {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 7px;
  }

  .mobile-promo-section .promo-picture {
    position: relative;
    grid-column: 1 / -1;
    inset: auto;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 8.4;
    border-radius: 15px;
    background:
      radial-gradient(circle at 78% 18%, rgba(236, 79, 134, .22), transparent 9rem),
      linear-gradient(135deg, #121827, #0d111c);
    box-shadow: 0 10px 22px rgba(23, 32, 51, .12);
  }

  .mobile-promo-section .promo-picture img,
  .mobile-promo-section .promo-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    filter: saturate(1.06) contrast(1.03);
  }

  .mobile-promo-section .promo-content {
    padding-left: 6px;
  }

  .mobile-promo-section .promo-actions {
    padding-right: 2px;
  }
}

/* Mobile product page polish only */
@media (max-width: 760px) {
  .product-detail {
    width: calc(100% - 16px);
    margin: 18px auto 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .product-gallery {
    width: 100%;
    min-width: 0;
    padding: clamp(10px, 3.4vw, 14px);
    border-radius: 24px;
    display: grid;
    gap: 10px;
    justify-items: stretch;
    overflow: hidden;
  }

  .gallery-main {
    width: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 4 / 3;
    padding: 8px;
    border-radius: 22px;
    overflow: hidden;
  }

  .gallery-main img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
  }

  .gallery-counter {
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    font-size: .78rem;
  }

  .gallery-arrow {
    opacity: 1;
    width: 36px;
    height: 36px;
    box-shadow: 0 10px 22px rgba(23,32,51,.14);
  }

  .gallery-arrow.prev {
    left: 14px;
  }

  .gallery-arrow.next {
    right: 14px;
  }

  .thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 0;
    width: 100%;
  }

  .thumbs button {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / .78;
    padding: 5px;
    border-radius: 15px;
  }

  .thumbs img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    border-radius: 10px;
  }

  .detail-panel {
    width: 100%;
    padding: clamp(16px, 4vw, 22px);
    border-radius: 24px;
  }

  .detail-panel .eyebrow {
    margin-bottom: 6px;
    font-size: .7rem;
  }

  .detail-panel h1 {
    font-size: clamp(1.62rem, 7vw, 2.2rem);
    line-height: 1.03;
    margin: 0 0 10px;
  }

  .product-lead {
    margin: 0 0 12px;
    font-size: .9rem;
    line-height: 1.45;
  }

  .product-mini-meta {
    gap: 8px;
    margin: 12px 0;
  }

  .rating-pill,
  .stock-pill,
  .share-pill {
    min-height: 34px;
    padding: 7px 10px;
    font-size: .78rem;
  }

  .share-pill svg {
    width: 16px;
    height: 16px;
  }

  .detail-price-card {
    margin: 12px 0;
    padding: 15px;
    border-radius: 20px;
  }

  .detail-price-card .price-row strong {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .detail-price-card p {
    font-size: .84rem;
  }

  .option-group {
    margin: 13px 0;
  }

  .option-group label {
    font-size: .88rem;
  }

  .chips {
    gap: 8px;
  }

  .chip {
    padding: 9px 12px;
    font-size: .82rem;
  }

  .purchase-box {
    margin: 14px 0;
    padding: 13px;
    border-radius: 20px;
  }

  .purchase-box .qty-row {
    gap: 8px;
    margin-bottom: 11px;
  }

  .purchase-box input {
    width: 86px;
    padding: 10px;
  }

  .product-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .product-actions .btn {
    min-height: 46px;
    padding: 10px 11px;
    border-radius: 18px;
    font-size: .84rem;
  }

  .detail-wishlist {
    grid-column: 1 / -1;
  }

  .detail-info-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
  }

  .detail-info-grid section {
    padding: 14px;
    border-radius: 18px;
  }

  .detail-info-grid h2 {
    font-size: 1.06rem;
    margin-bottom: 8px;
  }

  .detail-info-grid p,
  .spec-list {
    font-size: .88rem;
    line-height: 1.5;
  }

  .detail-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 11px;
  }

  .detail-service-grid div {
    min-width: 0;
    min-height: 74px;
    padding: 9px 5px;
    border-radius: 16px;
    gap: 5px;
    font-size: clamp(.6rem, 2.6vw, .74rem);
    line-height: 1.12;
  }

  .detail-service-grid svg {
    width: 20px;
    height: 20px;
  }

  .product-detail + .section,
  .product-detail + .section + .section {
    width: calc(100% - 16px);
    margin-top: 22px;
  }

  .review-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .review-summary,
  .review-form,
  .review-card {
    border-radius: 22px;
    padding: 18px;
  }

  .rating-number {
    font-size: clamp(2.8rem, 14vw, 4rem);
    line-height: .9;
  }
}

@media (max-width: 360px) {
  .product-detail {
    width: calc(100% - 12px);
    gap: 12px;
  }

  .product-gallery {
    padding: 9px;
    border-radius: 22px;
  }

  .gallery-main {
    aspect-ratio: 4 / 3;
    padding: 7px;
  }

  .thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .detail-panel {
    padding: 15px;
  }

  .product-actions .btn {
    font-size: .78rem;
    min-height: 44px;
  }

  .detail-service-grid {
    gap: 6px;
  }

  .detail-service-grid div {
    min-height: 70px;
    padding-inline: 4px;
  }
}

/* Prevent mobile card glows and button shadows from looking clipped at section edges. */
@media (max-width: 760px) {
  .section {
    overflow: visible;
    padding-bottom: 12px;
  }

  .reveal,
  .reveal.visible,
  .section-head {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .mobile-quick-section,
  .mobile-category-section,
  .mobile-featured-section,
  .mobile-offer-products-section,
  .mobile-popular-section,
  .mobile-all-products-section,
  .mobile-category-product-section,
  .products-section {
    overflow: visible;
  }

  .product-grid,
  .offer-grid,
  .category-grid,
  .banner-grid {
    overflow: visible;
    padding-bottom: 14px;
  }

  .product-card {
    padding-bottom: 10px;
  }

  .product-body {
    padding-bottom: 10px;
  }

  .card-actions {
    margin-bottom: 2px;
  }
}

/* Mobile Contact Social Cards 2x2 Grid Override */
@media (max-width: 760px) {
  .contact-social-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    margin-top: 20px !important;
  }

  .contact-social-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 18px 12px !important;
    gap: 8px !important;
    min-height: auto !important;
  }

  .contact-social-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 16px !important;
    margin-bottom: 4px !important;
  }

  .contact-social-icon svg {
    width: 24px !important;
    height: 24px !important;
  }

  .contact-social-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;
    margin-bottom: 4px !important;
  }

  .contact-social-copy strong {
    font-size: 1.05rem !important;
  }

  .contact-social-copy small {
    display: none !important;
  }

  .contact-social-arrow {
    width: 100% !important;
    padding: 8px !important;
    margin-top: auto !important;
    font-size: 0.8rem !important;
    border-radius: 999px !important;
  }
}

/* About page polish */
.about-page .about-hero {
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(310px, 28vw, 430px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 86% 12%, rgba(236,79,134,.16), transparent 18rem),
    radial-gradient(circle at 14% 20%, rgba(255,159,28,.16), transparent 20rem),
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,249,246,.66));
}

.about-page .about-hero::after {
  content: "";
  position: absolute;
  right: clamp(22px, 7vw, 86px);
  bottom: clamp(-54px, -3vw, -24px);
  width: clamp(150px, 20vw, 250px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.95), rgba(236,79,134,.18) 54%, rgba(255,159,28,.06));
  z-index: 0;
}

.about-hero-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #f97316, #ec4f86);
  box-shadow: 0 18px 36px rgba(236,79,134,.22);
}

.about-hero-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-page .about-hero > * {
  position: relative;
  z-index: 1;
}

/* About Grid enhancements */
.about-page .policy-grid .info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
  gap: 12px;
}

.about-page .policy-grid .paw-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

.about-page .policy-grid .info-card:nth-child(1) .paw-icon {
  color: var(--pink);
  background: linear-gradient(135deg, rgba(236,79,134,.14), rgba(255,255,255,.72));
}

.about-page .policy-grid .info-card:nth-child(2) .paw-icon {
  color: var(--purple);
  background: linear-gradient(135deg, rgba(106,60,199,.14), rgba(255,255,255,.72));
}

.about-page .policy-grid .info-card:nth-child(3) .paw-icon {
  color: var(--green);
  background: linear-gradient(135deg, rgba(47,143,88,.14), rgba(255,255,255,.72));
}

.about-page .policy-grid .info-card:nth-child(4) .paw-icon {
  color: var(--orange);
  background: linear-gradient(135deg, rgba(255,159,28,.14), rgba(255,255,255,.72));
}

.about-page .policy-grid .paw-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.9;
}

.about-page .policy-grid h2 {
  font-size: 1.35rem;
  margin: 0;
}

.about-page .policy-grid p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 760px) {
  .about-page .about-hero {
    min-height: 0;
    margin-top: 18px;
    padding: clamp(24px, 8vw, 34px);
    border-radius: 26px;
  }

  .about-hero-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 13px;
    border-radius: 16px;
  }

  .about-hero-icon svg {
    width: 24px;
    height: 24px;
  }

  .about-page .about-hero h1 {
    max-width: 620px;
    font-size: clamp(2.45rem, 10.8vw, 3.65rem);
    line-height: .96;
  }

  .about-page .about-hero p:not(.eyebrow) {
    max-width: 34rem;
    font-size: .95rem;
    line-height: 1.65;
  }

  .about-page .policy-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }

  .about-page .policy-grid .info-card {
    padding: 20px 14px;
  }

  .about-page .policy-grid .paw-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    margin-bottom: 4px;
  }

  .about-page .policy-grid .paw-icon svg {
    width: 22px;
    height: 22px;
  }

  .about-page .policy-grid h2 {
    font-size: 1.1rem;
  }

  .about-page .policy-grid p {
    font-size: 0.82rem;
  }
}
@media (max-width: 360px) {
  .about-page .about-hero {
    padding: 22px;
  }

  .about-page .about-hero h1 {
    font-size: 2.25rem;
  }
}

/* Mobile cart layout fixes for iPhone 5/SE */
@media (max-width: 360px) {
  .cart-page { 
    margin-top: 14px; 
  }
  .cart-shell { 
    gap: 14px; 
  }
  .cart-items-panel, .cart-summary {
    padding: 16px 14px;
    border-radius: 20px;
  }
  .empty-cart-state {
    min-height: 220px;
    padding: 16px 10px;
  }
  .empty-cart-state .paw-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    margin-bottom: 10px;
  }
  .empty-cart-state .paw-icon svg {
    width: 22px;
    height: 22px;
  }
  .empty-cart-state h2 {
    font-size: 1.15rem;
    margin-top: 4px;
    margin-bottom: 6px;
  }
  .empty-cart-state p {
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 16px;
    padding-inline: 4px;
  }
  .empty-cart-state .btn {
    min-height: 42px;
    font-size: 0.85rem;
    padding: 10px 18px;
  }
  .cart-panel-head {
    flex-wrap: wrap;
    gap: 6px;
    padding-bottom: 12px;
  }
  .cart-panel-head h3 {
    font-size: 1.1rem;
  }
  .cart-panel-head a {
    font-size: 0.82rem;
  }
}

/* ===================================================
   DESKTOP ABOVE-THE-FOLD COMMERCE OPTIMISATION
   Goal: hero visible + feature strip + products all
   in one screen load on ≥ 981px viewports.
   =================================================== */
@media (min-width: 981px) {

  /* ── 1. Compact the hero ── */
  .home-hero.hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
    min-height: 0;
    margin: 18px auto 0;
    gap: 20px;
    align-items: stretch;
  }

  .home-hero .hero-copy,
  .home-hero .hero-card {
    min-height: 0;
  }

  .home-hero .hero-copy {
    padding: clamp(22px, 3vw, 38px);
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Shrink the massive h1 */
  .home-hero h1 {
    font-size: clamp(2.4rem, 5.2vw, 4.8rem);
    line-height: 1.0;
    margin: 6px 0 10px;
  }

  .home-hero h1 span {
    display: inline;
  }

  .home-hero .eyebrow {
    margin-bottom: 4px;
  }

  .home-hero p:not(.eyebrow) {
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 500px;
    margin: 0 0 6px;
    /* clamp lines to keep compact */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-hero .hero-actions {
    margin-top: 16px;
    gap: 10px;
  }

  /* Slider: compact height */
  .home-hero .hero-slider {
    border-radius: 26px;
    min-height: 0;
    height: 100%;
    min-height: 280px;
    max-height: 340px;
  }

  .home-hero .hero-slider .hero-slide {
    object-fit: cover;
    height: 100%;
  }

  /* Fix eyebrow text clipping at top of compact slider */
  .home-hero .hero-slider-copy {
    bottom: clamp(36px, 5vw, 52px);
    left: clamp(18px, 3vw, 32px);
    right: clamp(18px, 3vw, 32px);
  }

  .home-hero .hero-slider-copy .eyebrow {
    font-size: .7rem;
    margin-bottom: 6px;
    padding-top: 6px;
  }

  .home-hero .hero-slider-copy h2 {
    font-size: clamp(1.45rem, 3vw, 2.4rem);
    line-height: 1.05;
    margin-bottom: 12px;
  }

  .home-hero .hero-dots {
    bottom: 14px;
    left: clamp(18px, 3vw, 32px);
  }

  /* ── 2. Feature strip (offer-cards) inline row ── */
  .home-quick-strip .offer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .home-quick-strip {
    margin: 14px auto 0 !important;
  }

  .home-quick-strip .offer-card {
    padding: 16px;
    border-radius: 20px;
    min-height: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 6px 12px;
  }

  .home-quick-strip .offer-card .paw-icon {
    grid-column: 1;
    grid-row: 1;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 14px;
  }

  .home-quick-strip .offer-card .paw-icon svg {
    width: 22px;
    height: 22px;
  }

  .home-quick-strip .offer-card strong {
    grid-column: 2;
    grid-row: 1;
    font-size: .88rem;
    line-height: 1.15;
    display: block;
  }

  .home-quick-strip .offer-card p {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: .76rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* ── 3. "You may like" featured products move right up ── */
  .home-featured-top {
    margin-top: 18px !important;
  }

  .home-featured-top .section-head {
    margin-bottom: 14px;
  }

  .home-featured-top .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  /* ── 4. Tighten section spacing above fold ── */
  .home-promo-below {
    margin-top: 24px !important;
  }

  .home-category-below {
    margin-top: 24px !important;
  }

  /* ── 5. Compact product cards in the featured top strip ── */
  .home-featured-top .product-card {
    padding: 8px;
    border-radius: 20px;
  }

  .home-featured-top .product-media {
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }

  .home-featured-top .product-media img {
    max-height: none;
    object-fit: cover;
    border-radius: 14px;
    padding: 0;
  }

  .home-featured-top .product-body {
    padding: 10px 4px 4px;
  }

  .home-featured-top .product-body h3 {
    font-size: .9rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.2em;
  }

  .home-featured-top .price-row strong {
    font-size: 1rem;
  }

  .home-featured-top .card-actions {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .home-featured-top .card-actions .btn {
    min-height: 36px;
    padding: 8px 6px;
    font-size: .76rem;
  }

  /* ── 6. Make all other desktop sections tighter ── */
  body.home-page .section:not(.home-hero):not(.home-quick-strip):not(.home-featured-top) {
    margin-top: 28px;
  }
}
