/* ==========================================================================
   Pawsome Co. — styles
   ========================================================================== */
:root {
  --navy: #152b4d;
  --navy-deep: #112746;
  --ink: #142a4c;
  --muted: #4e5a6e;
  --orange: #ff6b45;
  --orange-deep: #f0522b;
  --peach: #fdeee3;
  --peach-2: #ffe6d4;
  --cream: #fff8f2;
  --white: #fff;
  --green: #1a8851;
  --line: #efe5dc;
  --star: #ff7a35;
  --shadow-sm: 0 2px 6px rgba(20, 42, 76, 0.06);
  --shadow: 0 10px 30px -12px rgba(20, 42, 76, 0.18);
  --shadow-lg: 0 24px 50px -20px rgba(20, 42, 76, 0.32);
  --radius: 18px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll {
  overflow: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 8px;
}
.container {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
}
.icon {
  width: 22px;
  height: 22px;
  flex: none;
}
.paw {
  width: 26px;
  height: 26px;
  fill: var(--orange);
  flex: none;
}

/* page enter */
main {
  animation: pageIn 0.6s var(--ease) backwards;
}
@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s, box-shadow 0.25s, color 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.btn .icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease);
}
.btn:hover .icon-arrow {
  transform: translateX(4px);
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 20px -10px rgba(255, 107, 69, 0.9);
}
.btn-primary:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -12px rgba(255, 107, 69, 0.95);
}
.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-ghost {
  background: #eef0f3;
  color: var(--ink);
}
.btn-ghost:hover {
  background: #e2e6eb;
}
/* shine sweep on primary buttons */
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn-primary:hover::after {
  transform: translateX(120%);
}
.link-arrow {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 600;
  font-family: var(--font-head);
}
.link-arrow .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover .icon {
  transform: translateX(4px);
}
.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background-color 0.2s, transform 0.2s;
}
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}
.icon-btn .icon {
  width: 26px;
  height: 26px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--white);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.45);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo:hover .paw {
  animation: wiggle 0.6s var(--ease);
}
@keyframes wiggle {
  25% {
    transform: rotate(-16deg) scale(1.1);
  }
  60% {
    transform: rotate(12deg) scale(1.05);
  }
}
.main-nav {
  display: flex;
  gap: 8px;
  margin-left: 90px;
}
.main-nav a {
  position: relative;
  padding: 8px 20px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 17px;
  transition: color 0.2s;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -2px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}
.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}
.main-nav a.active,
.main-nav a:hover {
  color: var(--orange);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.btn-cart {
  min-height: 48px;
  padding: 0 22px;
  font-size: 16px;
  gap: 8px;
}
.btn-cart .icon {
  width: 22px;
  height: 22px;
}
.btn-cart.bump {
  animation: bump 0.55s var(--ease);
}
@keyframes bump {
  30% {
    transform: scale(1.14) rotate(-3deg);
  }
  60% {
    transform: scale(0.96) rotate(2deg);
  }
}
.menu-toggle {
  display: none;
}
.mobile-nav {
  display: grid;
  padding: 8px 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-nav[hidden] {
  display: none;
}
.mobile-nav a {
  padding: 14px 4px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  animation: slideIn 0.4s var(--ease) both;
  animation-delay: calc(var(--i) * 60ms);
}
.mobile-nav a.active {
  color: var(--orange);
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.86);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.7fr auto;
  gap: 40px;
  align-items: start;
}
.footer-brand .logo {
  font-size: 28px;
  color: var(--white);
}
.footer-brand .paw {
  width: 32px;
  height: 32px;
}
.footer-brand p {
  margin-top: 18px;
  font-size: 18px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 14px;
}
.site-footer li + li {
  margin-top: 6px;
}
.site-footer ul a {
  font-size: 17px;
  transition: color 0.2s, padding 0.25s var(--ease);
}
.site-footer ul a:hover {
  color: var(--orange);
  padding-left: 4px;
}
.footer-news p {
  font-size: 17px;
}
.news-form {
  display: flex;
  gap: 4px;
  margin-top: 18px;
}
.news-form input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
  font-size: 16px;
  transition: border-color 0.2s, background-color 0.2s;
}
.news-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.news-form input:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.05);
}
.news-form .btn {
  border-radius: 10px;
  min-height: 50px;
  padding: 0 20px;
}
.news-thanks {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(26, 136, 81, 0.2);
  color: #b9f2d3;
  animation: pop 0.5s var(--ease);
}
.socials {
  display: flex;
  gap: 20px;
  padding-top: 40px;
}
.socials a {
  color: var(--white);
  transition: transform 0.25s var(--ease), color 0.2s;
}
.socials a:hover {
  color: var(--orange);
  transform: translateY(-3px) rotate(-6deg);
}
.socials .icon {
  width: 30px;
  height: 30px;
}
.footer-bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}
.shake {
  animation: shake 0.45s;
}
@keyframes shake {
  20%,
  60% {
    transform: translateX(-6px);
  }
  40%,
  80% {
    transform: translateX(6px);
  }
}

/* ---------- shared bits ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.section-head h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
}
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
}
.stars {
  display: inline-flex;
  gap: 1px;
  font-size: 17px;
  line-height: 1;
}
.star {
  background: linear-gradient(90deg, var(--star) var(--fill), #d6d0cb var(--fill));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 15px;
}
.on-white {
  background: var(--white);
}
.fit-contain {
  object-fit: contain !important;
  padding: 6%;
}
.round-cart {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 16px -8px rgba(255, 107, 69, 0.9);
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.round-cart:hover {
  background: var(--orange-deep);
  transform: scale(1.1) rotate(-8deg);
}
.round-cart .icon {
  width: 22px;
  height: 22px;
}
.pop {
  animation: pop 0.45s var(--ease);
}
@keyframes pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}

/* mini card (bestsellers / related) */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.mini-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 180px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.8s var(--ease);
}
.mini-card.in:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.mini-media {
  display: block;
  overflow: hidden;
}
.mini-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.mini-card:hover .mini-media img {
  transform: scale(1.07);
}
.mini-body {
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mini-body h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
}
.mini-body h3 a:hover {
  color: var(--orange);
}
.mini-body .price {
  font-size: 22px;
}
.mini-media .fit-contain {
  padding: 4%;
}
.mini-body .round-cart {
  margin-top: auto;
  align-self: flex-end;
}

/* ---------- toast ---------- */
.toast-wrap {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: grid;
  gap: 10px;
  max-width: calc(100% - 40px);
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.45s var(--ease) both;
  font-size: 15px;
}
.toast.out {
  animation: toastOut 0.35s ease-in forwards;
}
.toast a {
  margin-left: 6px;
  color: var(--orange);
  font-weight: 600;
  white-space: nowrap;
}
.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  flex: none;
}
.toast-error .toast-icon {
  background: #d9443a;
}
.toast-info .toast-icon {
  background: var(--orange);
}
.toast-icon .icon {
  width: 16px;
  height: 16px;
  stroke-width: 3;
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
}
@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateX(40px);
  }
}
.fly-img {
  position: fixed;
  z-index: 300;
  border-radius: 16px;
  object-fit: cover;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

/* ---------- search overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(13, 26, 48, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 90px 16px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.search-overlay.open {
  opacity: 1;
  visibility: visible;
}
.search-panel {
  width: min(640px, 100%);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(-20px) scale(0.98);
  transition: transform 0.4s var(--ease);
}
.search-overlay.open .search-panel {
  transform: none;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 22px;
  border-bottom: 1px solid var(--line);
}
.search-form input {
  flex: 1;
  border: 0;
  height: 52px;
  font-size: 19px;
  outline: none;
  min-width: 0;
}
.search-form .icon-btn:hover {
  background: var(--peach);
}
.search-form input::-webkit-search-cancel-button {
  display: none;
}
.search-results {
  max-height: min(60vh, 460px);
  overflow: auto;
  padding: 10px;
}
.search-hint {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
}
.search-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  transition: background-color 0.2s;
  animation: slideIn 0.35s var(--ease) both;
  animation-delay: calc(var(--i) * 40ms);
}
.search-item:hover {
  background: var(--cream);
}
.search-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.search-item small {
  display: block;
  color: var(--muted);
}
.search-item .price {
  font-size: 18px;
}

/* ==========================================================================
   Home
   ========================================================================== */
.hero {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  align-items: end;
  min-height: 500px;
}
.hero-copy {
  padding: 36px 0 44px;
  align-self: center;
  position: relative;
  z-index: 2;
}
.hero-copy > * {
  animation: riseIn 0.9s var(--ease) both;
}
.hero-copy > :nth-child(2) {
  animation-delay: 0.1s;
}
.hero-copy > :nth-child(3) {
  animation-delay: 0.2s;
}
.hero-copy > :nth-child(4) {
  animation-delay: 0.3s;
}
.hero-copy > :nth-child(5) {
  animation-delay: 0.42s;
}
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
}
.hero .eyebrow {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}
.hero h1 {
  margin-top: 16px;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
}
.hero h1 .word {
  display: inline-block;
}
.hero-lead {
  margin-top: 22px;
  font-size: clamp(18px, 1.6vw, 22px);
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero-ctas .btn {
  min-height: 56px;
  padding: 0 34px;
  font-size: 19px;
}
.hero-perks {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 38px;
}
.hero-perks li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
}
.hero-perks .icon {
  width: 34px;
  height: 34px;
  stroke-width: 1.6;
}
.hero-art {
  position: relative;
  align-self: end;
  animation: artIn 1.1s var(--ease) 0.15s both;
}
@keyframes artIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }
}
.hero-art img,
.shop-hero-art img {
  width: 100%;
  height: auto;
  /* the peach arch in the photo: a semicircle on top of a rectangle */
  -webkit-mask-image: radial-gradient(ellipse 50.8% 72.4% at 48.5% 72.6%, #000 99.4%, transparent 100%), linear-gradient(transparent 72.6%, #000 72.6%);
  mask-image: radial-gradient(ellipse 50.8% 72.4% at 48.5% 72.6%, #000 99.4%, transparent 100%), linear-gradient(transparent 72.6%, #000 72.6%);
  -webkit-mask-size: 100% 100%, 99.3% 100%;
  mask-size: 100% 100%, 99.3% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.hero-badge {
  position: absolute;
  left: 67.5%;
  top: 5%;
  width: 25%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.05;
  transform: rotate(-8deg);
  animation: badgeIn 0.9s var(--ease) 0.9s both, badgeFloat 4s ease-in-out 1.8s infinite;
  cursor: pointer;
}
.hero-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #ef6346;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M99.2 50.0L98.8 51.3L97.8 52.5L96.4 53.6L94.8 54.7L93.4 55.7L92.4 56.7L92.1 57.8L92.5 59.0L93.3 60.4L94.4 61.9L95.5 63.5L96.2 65.0L96.3 66.4L95.8 67.6L94.6 68.5L92.9 69.1L91.1 69.6L89.3 70.0L87.9 70.6L87.1 71.4L86.8 72.5L87.0 74.0L87.5 75.8L88.0 77.6L88.3 79.4L88.1 80.9L87.4 81.9L86.1 82.5L84.4 82.7L82.5 82.5L80.7 82.3L79.0 82.3L77.8 82.6L77.0 83.4L76.6 84.7L76.5 86.4L76.3 88.3L76.1 90.2L75.5 91.7L74.6 92.6L73.3 92.9L71.7 92.7L70.0 92.0L68.3 91.1L66.7 90.4L65.4 90.1L64.3 90.4L63.4 91.3L62.7 92.7L61.9 94.4L61.1 96.1L60.1 97.5L59.0 98.3L57.7 98.4L56.3 97.8L54.9 96.7L53.6 95.4L52.3 94.1L51.1 93.1L50.0 92.8L48.9 93.1L47.7 94.1L46.4 95.4L45.1 96.7L43.7 97.8L42.3 98.4L41.0 98.3L39.9 97.5L38.9 96.1L38.1 94.4L37.3 92.7L36.6 91.3L35.7 90.4L34.6 90.1L33.3 90.4L31.7 91.1L30.0 92.0L28.3 92.7L26.7 92.9L25.4 92.6L24.5 91.7L23.9 90.2L23.7 88.3L23.5 86.4L23.4 84.7L23.0 83.4L22.2 82.6L21.0 82.3L19.3 82.3L17.5 82.5L15.6 82.7L13.9 82.5L12.6 81.9L11.9 80.9L11.7 79.4L12.0 77.6L12.5 75.8L13.0 74.0L13.2 72.5L12.9 71.4L12.1 70.6L10.7 70.0L8.9 69.6L7.1 69.1L5.4 68.5L4.2 67.6L3.7 66.4L3.8 65.0L4.5 63.5L5.6 61.9L6.7 60.4L7.5 59.0L7.9 57.8L7.6 56.7L6.6 55.7L5.2 54.7L3.6 53.6L2.2 52.5L1.2 51.3L0.8 50.0L1.2 48.7L2.2 47.5L3.6 46.4L5.2 45.3L6.6 44.3L7.6 43.3L7.9 42.2L7.5 41.0L6.7 39.6L5.6 38.1L4.5 36.5L3.8 35.0L3.7 33.6L4.2 32.4L5.4 31.5L7.1 30.9L8.9 30.4L10.7 30.0L12.1 29.4L12.9 28.6L13.2 27.5L13.0 26.0L12.5 24.2L12.0 22.4L11.7 20.6L11.9 19.1L12.6 18.1L13.9 17.5L15.6 17.3L17.5 17.5L19.3 17.7L21.0 17.7L22.2 17.4L23.0 16.6L23.4 15.3L23.5 13.6L23.7 11.7L23.9 9.8L24.5 8.3L25.4 7.4L26.7 7.1L28.3 7.3L30.0 8.0L31.7 8.9L33.3 9.6L34.6 9.9L35.7 9.6L36.6 8.7L37.3 7.3L38.1 5.6L38.9 3.9L39.9 2.5L41.0 1.7L42.3 1.6L43.7 2.2L45.1 3.3L46.4 4.6L47.7 5.9L48.9 6.9L50.0 7.2L51.1 6.9L52.3 5.9L53.6 4.6L54.9 3.3L56.3 2.2L57.7 1.6L59.0 1.7L60.1 2.5L61.1 3.9L61.9 5.6L62.7 7.3L63.4 8.7L64.3 9.6L65.4 9.9L66.7 9.6L68.3 8.9L70.0 8.0L71.7 7.3L73.3 7.1L74.6 7.4L75.5 8.3L76.1 9.8L76.3 11.7L76.5 13.6L76.6 15.3L77.0 16.6L77.8 17.4L79.0 17.7L80.7 17.7L82.5 17.5L84.4 17.3L86.1 17.5L87.4 18.1L88.1 19.1L88.3 20.6L88.0 22.4L87.5 24.2L87.0 26.0L86.8 27.5L87.1 28.6L87.9 29.4L89.3 30.0L91.1 30.4L92.9 30.9L94.6 31.5L95.8 32.4L96.3 33.6L96.2 35.0L95.5 36.5L94.4 38.1L93.3 39.6L92.5 41.0L92.1 42.2L92.4 43.3L93.4 44.3L94.8 45.3L96.4 46.4L97.8 47.5L98.8 48.7Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M99.2 50.0L98.8 51.3L97.8 52.5L96.4 53.6L94.8 54.7L93.4 55.7L92.4 56.7L92.1 57.8L92.5 59.0L93.3 60.4L94.4 61.9L95.5 63.5L96.2 65.0L96.3 66.4L95.8 67.6L94.6 68.5L92.9 69.1L91.1 69.6L89.3 70.0L87.9 70.6L87.1 71.4L86.8 72.5L87.0 74.0L87.5 75.8L88.0 77.6L88.3 79.4L88.1 80.9L87.4 81.9L86.1 82.5L84.4 82.7L82.5 82.5L80.7 82.3L79.0 82.3L77.8 82.6L77.0 83.4L76.6 84.7L76.5 86.4L76.3 88.3L76.1 90.2L75.5 91.7L74.6 92.6L73.3 92.9L71.7 92.7L70.0 92.0L68.3 91.1L66.7 90.4L65.4 90.1L64.3 90.4L63.4 91.3L62.7 92.7L61.9 94.4L61.1 96.1L60.1 97.5L59.0 98.3L57.7 98.4L56.3 97.8L54.9 96.7L53.6 95.4L52.3 94.1L51.1 93.1L50.0 92.8L48.9 93.1L47.7 94.1L46.4 95.4L45.1 96.7L43.7 97.8L42.3 98.4L41.0 98.3L39.9 97.5L38.9 96.1L38.1 94.4L37.3 92.7L36.6 91.3L35.7 90.4L34.6 90.1L33.3 90.4L31.7 91.1L30.0 92.0L28.3 92.7L26.7 92.9L25.4 92.6L24.5 91.7L23.9 90.2L23.7 88.3L23.5 86.4L23.4 84.7L23.0 83.4L22.2 82.6L21.0 82.3L19.3 82.3L17.5 82.5L15.6 82.7L13.9 82.5L12.6 81.9L11.9 80.9L11.7 79.4L12.0 77.6L12.5 75.8L13.0 74.0L13.2 72.5L12.9 71.4L12.1 70.6L10.7 70.0L8.9 69.6L7.1 69.1L5.4 68.5L4.2 67.6L3.7 66.4L3.8 65.0L4.5 63.5L5.6 61.9L6.7 60.4L7.5 59.0L7.9 57.8L7.6 56.7L6.6 55.7L5.2 54.7L3.6 53.6L2.2 52.5L1.2 51.3L0.8 50.0L1.2 48.7L2.2 47.5L3.6 46.4L5.2 45.3L6.6 44.3L7.6 43.3L7.9 42.2L7.5 41.0L6.7 39.6L5.6 38.1L4.5 36.5L3.8 35.0L3.7 33.6L4.2 32.4L5.4 31.5L7.1 30.9L8.9 30.4L10.7 30.0L12.1 29.4L12.9 28.6L13.2 27.5L13.0 26.0L12.5 24.2L12.0 22.4L11.7 20.6L11.9 19.1L12.6 18.1L13.9 17.5L15.6 17.3L17.5 17.5L19.3 17.7L21.0 17.7L22.2 17.4L23.0 16.6L23.4 15.3L23.5 13.6L23.7 11.7L23.9 9.8L24.5 8.3L25.4 7.4L26.7 7.1L28.3 7.3L30.0 8.0L31.7 8.9L33.3 9.6L34.6 9.9L35.7 9.6L36.6 8.7L37.3 7.3L38.1 5.6L38.9 3.9L39.9 2.5L41.0 1.7L42.3 1.6L43.7 2.2L45.1 3.3L46.4 4.6L47.7 5.9L48.9 6.9L50.0 7.2L51.1 6.9L52.3 5.9L53.6 4.6L54.9 3.3L56.3 2.2L57.7 1.6L59.0 1.7L60.1 2.5L61.1 3.9L61.9 5.6L62.7 7.3L63.4 8.7L64.3 9.6L65.4 9.9L66.7 9.6L68.3 8.9L70.0 8.0L71.7 7.3L73.3 7.1L74.6 7.4L75.5 8.3L76.1 9.8L76.3 11.7L76.5 13.6L76.6 15.3L77.0 16.6L77.8 17.4L79.0 17.7L80.7 17.7L82.5 17.5L84.4 17.3L86.1 17.5L87.4 18.1L88.1 19.1L88.3 20.6L88.0 22.4L87.5 24.2L87.0 26.0L86.8 27.5L87.1 28.6L87.9 29.4L89.3 30.0L91.1 30.4L92.9 30.9L94.6 31.5L95.8 32.4L96.3 33.6L96.2 35.0L95.5 36.5L94.4 38.1L93.3 39.6L92.5 41.0L92.1 42.2L92.4 43.3L93.4 44.3L94.8 45.3L96.4 46.4L97.8 47.5L98.8 48.7Z'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: spin 24s linear infinite;
}
.hero-badge span {
  position: relative;
  font-size: clamp(11px, 1.15vw, 17px);
}
.hero-badge strong {
  display: block;
  font-size: clamp(17px, 1.9vw, 28px);
  font-weight: 700;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes badgeIn {
  from {
    opacity: 0;
    transform: rotate(-60deg) scale(0.3);
  }
}
@keyframes badgeFloat {
  50% {
    transform: rotate(-3deg) translateY(-8px) scale(1.04);
  }
}
.hero-script {
  position: absolute;
  right: max(16px, calc((100% - 1240px) / 2 - 90px));
  top: 18%;
  font-family: 'Caveat', cursive;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.45);
  transform: rotate(-6deg);
  text-align: center;
  z-index: 1;
}
.hero-script .paw {
  fill: rgba(255, 255, 255, 0.45);
  width: 30px;
  height: 30px;
  margin: 8px auto 0;
  animation: pawBob 3s ease-in-out infinite;
}
.float-paw {
  position: absolute;
  fill: rgba(150, 175, 215, 0.55);
  width: 56px;
  height: 56px;
  animation: pawBob 5s ease-in-out infinite;
  z-index: 1;
}
@keyframes pawBob {
  50% {
    transform: translateY(-12px) rotate(-10deg);
  }
}

/* category cards */
.categories {
  background: var(--peach-2);
  padding: 26px 0;
}
.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.cat-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  min-height: 196px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(90deg, #f8eee6, #fbf2eb);
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), opacity 0.8s var(--ease);
}
.cat-card.in:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.cat-media {
  overflow: hidden;
}
.cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.cat-card:hover .cat-media img {
  transform: scale(1.08);
}
.cat-body {
  padding: 26px 86px 24px 26px;
  display: flex;
  flex-direction: column;
}
.cat-body .eyebrow {
  color: #6b6b6b;
  font-weight: 500;
  font-size: 13px;
}
.cat-body h2 {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 700;
  margin: 10px 0 12px;
}
.cat-body p {
  font-size: 17px;
  max-width: 240px;
  line-height: 1.35;
}
.cat-arrow {
  position: absolute;
  right: 24px;
  bottom: 34px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--white);
  transition: transform 0.35s var(--ease);
}
.cat-card:hover .cat-arrow {
  transform: translateX(6px) scale(1.08);
}

.bestsellers {
  padding: 36px 0 64px;
}

/* marquee */
.marquee {
  background: var(--orange);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
}
.marquee-track {
  display: inline-flex;
  gap: 48px;
  animation: marquee 32s linear infinite;
  padding-left: 48px;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.marquee .paw {
  fill: var(--white);
  width: 20px;
  height: 20px;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Shop
   ========================================================================== */
.page-hero {
  background: var(--peach);
  position: relative;
  overflow: hidden;
}
.page-hero .container {
  position: relative;
  min-height: 150px;
  padding: 26px 0 22px;
}
.page-hero h1 {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  animation: riseIn 0.8s var(--ease) both;
}
.page-hero p {
  margin-top: 8px;
  font-size: 20px;
  animation: riseIn 0.8s var(--ease) 0.1s both;
}
.shop-hero-art {
  position: absolute;
  right: 110px;
  top: 0;
  width: 440px;
  height: 100%;
  overflow: hidden;
  animation: artIn 1s var(--ease) 0.15s both;
}
.page-hero .hero-script {
  color: rgba(20, 42, 76, 0.55);
  right: 0;
  top: 16%;
  font-size: 30px;
}
.page-hero .hero-script .paw {
  fill: rgba(20, 42, 76, 0.45);
}
.shop-wrap {
  background: var(--peach);
  padding: 4px 0 70px;
}
.shop-layout > * {
  min-width: 0;
}
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  align-items: start;
}
.filters {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px 12px;
  box-shadow: var(--shadow-sm);
  animation: riseIn 0.8s var(--ease) 0.15s both;
}
.filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.filters-head h2 {
  font-size: 26px;
  font-weight: 600;
}
.clear-filters {
  font-size: 14px;
  color: var(--orange);
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.clear-filters.show {
  opacity: 1;
  pointer-events: auto;
}
.filter-group {
  border-bottom: 1px solid var(--line);
}
.filter-group:last-child {
  border-bottom: 0;
}
.filter-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
}
.filter-toggle .icon {
  width: 20px;
  height: 20px;
  transition: transform 0.35s var(--ease);
}
.filter-group.open .filter-toggle .icon {
  transform: rotate(180deg);
}
.filter-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.filter-group.open .filter-body {
  grid-template-rows: 1fr;
}
.filter-body > div {
  overflow: hidden;
}
.filter-body ul {
  padding-bottom: 14px;
}
.check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 0;
  font-size: 17px;
  cursor: pointer;
  user-select: none;
}
.check input {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1.6px solid #2c3d58;
  border-radius: 4px;
  display: grid;
  place-items: center;
  flex: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.check input::after {
  content: '';
  width: 10px;
  height: 6px;
  border: 2.5px solid var(--white);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform 0.25s var(--ease);
}
.check input:checked {
  background: var(--orange);
  border-color: var(--orange);
}
.check input:checked::after {
  transform: rotate(-45deg) translate(1px, -1px) scale(1);
}
.check small {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}
.shop-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  animation: riseIn 0.8s var(--ease) 0.2s both;
}
.chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.chip {
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.chip:hover {
  transform: translateY(-2px);
}
.chip.active {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 18px -10px rgba(255, 107, 69, 0.9);
}
.sort {
  margin-left: auto;
  position: relative;
}
.sort select {
  appearance: none;
  height: 46px;
  padding: 0 52px 0 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 17px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.sort .icon {
  position: absolute;
  right: 18px;
  top: 50%;
  translate: 0 -50%;
  pointer-events: none;
  width: 20px;
}
.filter-open {
  display: none;
}
.result-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: -6px 0 14px;
  color: var(--muted);
  font-size: 15px;
}
.active-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 12px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  animation: pop 0.35s var(--ease);
}
.active-tag button {
  display: grid;
  place-items: center;
}
.active-tag .icon {
  width: 14px;
  height: 14px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  animation: cardIn 0.6s var(--ease) both;
  animation-delay: calc(var(--i) * 60ms);
}
@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
}
.grid-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.grid-media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.grid-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.grid-card:hover .grid-media img {
  transform: scale(1.06);
}
.fav-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), color 0.2s;
}
.fav-btn:hover {
  transform: scale(1.1);
}
.fav-btn .icon {
  width: 24px;
  height: 24px;
}
.fav-btn.on {
  color: var(--orange);
}
.fav-btn.on .icon {
  fill: var(--orange);
}
.grid-body {
  padding: 16px 16px 14px;
}
.grid-body h3 {
  font-size: 19px;
  font-weight: 600;
}
.grid-body h3 a:hover {
  color: var(--orange);
}
.grid-body .rating {
  margin-top: 8px;
}
.grid-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.grid-foot .price {
  font-size: 25px;
}
.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--white);
  border-radius: var(--radius);
  animation: cardIn 0.5s var(--ease);
}
.empty .paw {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  animation: pawBob 2.5s ease-in-out infinite;
}
.empty h3 {
  font-size: 24px;
}
.empty p {
  color: var(--muted);
  margin: 8px 0 20px;
}
.filters-backdrop {
  display: none;
}

/* ==========================================================================
   Product
   ========================================================================== */
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 18px 0;
  font-size: 17px;
}
.crumbs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.crumbs a:hover {
  color: var(--orange);
}
.crumbs .icon {
  width: 18px;
  height: 18px;
}
.crumbs .sep {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.pdp {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 18px 18px;
  padding-bottom: 34px;
}
.thumbs {
  display: grid;
  gap: 12px;
  align-content: start;
}
.thumb {
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: 0 0 0 1px var(--line);
  transition: border-color 0.2s, transform 0.25s var(--ease);
  animation: cardIn 0.5s var(--ease) both;
  animation-delay: calc(var(--i) * 70ms);
}
.thumb:hover {
  transform: translateY(-2px);
}
.thumb.active {
  border-color: var(--orange);
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.05;
  background: var(--cream);
  cursor: zoom-in;
  animation: artIn 0.8s var(--ease) both;
}
.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease), opacity 0.35s;
  transform-origin: var(--zx, 50%) var(--zy, 50%);
}
.main-image.zoom img {
  transform: scale(1.8);
}
.main-image img.swap {
  opacity: 0;
  transform: scale(1.03);
}
.main-image .fav-btn {
  top: 18px;
  right: 18px;
}
.pdp-info {
  padding-left: 30px;
}
.pdp-info > * {
  animation: riseIn 0.7s var(--ease) both;
}
.pdp-info > :nth-child(2) {
  animation-delay: 0.05s;
}
.pdp-info > :nth-child(3) {
  animation-delay: 0.1s;
}
.pdp-info > :nth-child(4) {
  animation-delay: 0.15s;
}
.pdp-info > :nth-child(5) {
  animation-delay: 0.2s;
}
.pdp-info > :nth-child(n + 6) {
  animation-delay: 0.25s;
}
.pdp-info .eyebrow {
  color: #7c7f86;
  font-weight: 500;
}
.pdp-info h1 {
  font-size: clamp(34px, 3.4vw, 50px);
  font-weight: 700;
  margin-top: 8px;
}
.pdp-info .rating {
  margin-top: 12px;
  font-size: 19px;
  color: var(--ink);
  gap: 12px;
}
.pdp-info .rating .stars {
  font-size: 26px;
}
.pdp-price {
  font-size: 40px;
  margin-top: 14px;
}
.pdp-desc {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.6;
  color: #2b3a52;
}
.opt-group {
  margin-top: 22px;
}
.opt-group h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.opt-group h3 span {
  font-weight: 400;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 15px;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pill {
  height: 42px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 17px;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s var(--ease);
}
.pill:hover {
  border-color: #ffc2b1;
  transform: translateY(-1px);
}
.pill.active {
  border: 2px solid var(--orange);
  background: #fff6f3;
}
.swatch {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 4px;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.swatch span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.swatch:hover {
  transform: scale(1.08);
}
.swatch.active {
  border-color: var(--orange);
}
.buy-row {
  display: flex;
  gap: 18px;
  margin-top: 28px;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  height: 58px;
  flex: none;
}
.qty button {
  width: 58px;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 999px;
  transition: background-color 0.2s, color 0.2s;
}
.qty button:hover {
  background: var(--peach);
  color: var(--orange);
}
.qty button:disabled {
  opacity: 0.35;
  pointer-events: none;
}
.qty output {
  min-width: 30px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  font-family: var(--font-head);
}
.qty output.tick {
  animation: tick 0.3s var(--ease);
}
@keyframes tick {
  from {
    transform: translateY(-8px);
    opacity: 0;
  }
}
.buy-row .btn-primary {
  flex: 1;
  min-height: 58px;
  font-size: 21px;
}
.buy-row .btn-primary .icon {
  width: 26px;
  height: 26px;
}
.ship-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 16px;
}
.ship-note .icon {
  width: 26px;
  height: 26px;
}
.related {
  background: var(--peach);
  padding: 30px 0 56px;
}
.related .mini-grid {
  grid-template-columns: repeat(3, 1fr);
}
.related .mini-card {
  grid-template-columns: 1fr 0.95fr;
}
.not-found {
  text-align: center;
  padding: 100px 20px;
}
.not-found h1 {
  font-size: 40px;
  margin-bottom: 12px;
}
.not-found p {
  margin-bottom: 24px;
  color: var(--muted);
}

/* ==========================================================================
   Cart
   ========================================================================== */
.cart-page {
  background: var(--peach);
  padding: 30px 0 46px;
}
.cart-page h1 {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  animation: riseIn 0.8s var(--ease) both;
}
.cart-page .subtitle {
  margin-top: 6px;
  font-size: 21px;
  animation: riseIn 0.8s var(--ease) 0.1s both;
}
.cart-layout > * {
  min-width: 0;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 432px;
  gap: 22px;
  align-items: start;
  margin-top: 24px;
}
.cart-list {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 12px 30px;
  box-shadow: var(--shadow-sm);
  animation: riseIn 0.8s var(--ease) 0.15s both;
}
.cart-line {
  display: grid;
  grid-template-columns: 165px 1fr 140px 44px;
  gap: 28px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  animation: cardIn 0.5s var(--ease) both;
  animation-delay: calc(var(--i) * 80ms);
  transition: opacity 0.35s, transform 0.35s var(--ease);
}
.cart-line:last-child {
  border-bottom: 0;
}
.cart-line.removing {
  opacity: 0;
  transform: translateX(-30px);
}
.line-media {
  display: block;
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  background: #f4f1ee;
}
.line-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.line-media:hover img {
  transform: scale(1.06);
}
.line-info h3 {
  font-size: 21px;
  font-weight: 600;
}
.line-info h3 a:hover {
  color: var(--orange);
}
.line-info p {
  margin-top: 6px;
  font-size: 17px;
  color: #33425a;
}
.stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 16px;
  color: var(--green);
}
.stock::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(26, 136, 81, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 7px rgba(26, 136, 81, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(26, 136, 81, 0);
  }
}
.line-price .price {
  font-size: 28px;
  display: block;
  margin-bottom: 10px;
}
.line-price small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: -8px;
  margin-bottom: 8px;
}
.line-price .qty {
  height: 46px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e2df;
}
.line-price .qty button {
  width: 46px;
  border-radius: 0;
  background: #f1f1f2;
}
.line-price .qty button:hover {
  background: var(--peach);
}
.line-price .qty output {
  min-width: 46px;
  font-size: 20px;
}
.remove-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.remove-btn:hover {
  background: #ffe9e4;
  color: #d9443a;
  transform: rotate(-10deg);
}
.remove-btn .icon {
  width: 26px;
  height: 26px;
}
.cart-below {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 8px 0;
}
.cart-below .link-arrow {
  font-size: 18px;
}
.cart-below .link-arrow:hover .icon {
  transform: translateX(-4px);
}
.save-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.2s;
}
.save-btn .icon {
  width: 26px;
  height: 26px;
  transition: transform 0.3s var(--ease), fill 0.2s;
}
.save-btn:hover {
  color: var(--orange);
}
.save-btn:hover .icon {
  transform: scale(1.15);
}
.save-btn.saved .icon {
  fill: var(--orange);
  color: var(--orange);
}
.summary {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px 30px 30px;
  box-shadow: var(--shadow-sm);
  animation: riseIn 0.8s var(--ease) 0.25s both;
}
.summary h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 18px;
}
.sum-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 20px;
  padding: 4px 0;
}
.sum-row strong {
  font-family: var(--font-head);
  font-size: 24px;
}
.sum-row .free {
  color: var(--green);
}
.sum-row.discount strong {
  color: var(--green);
}
.ship-progress {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
.ship-bar {
  height: 6px;
  border-radius: 6px;
  background: #f1ebe5;
  margin-top: 6px;
  overflow: hidden;
}
.ship-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), #ffa07f);
  border-radius: inherit;
  transition: width 0.6s var(--ease);
}
.sum-sep {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}
.promo label {
  display: block;
  font-size: 17px;
  margin-bottom: 10px;
}
.promo-row {
  display: flex;
  gap: 4px;
}
.promo-row input {
  flex: 1;
  min-width: 0;
  height: 50px;
  border: 1px solid #e3e0dc;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 17px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.promo-row input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 69, 0.15);
}
.promo-row .btn {
  border-radius: 10px;
  min-height: 50px;
  padding: 0 32px;
  font-size: 18px;
}
.promo-msg {
  font-size: 14px;
  margin-top: 8px;
  min-height: 20px;
}
.promo-msg.ok {
  color: var(--green);
}
.promo-msg.err {
  color: #d9443a;
}
.promo-msg button {
  color: var(--orange);
  font-weight: 600;
  margin-left: 6px;
}
.sum-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sum-total span {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 600;
}
.sum-total strong {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 700;
}
.sum-total strong.tick {
  animation: tick 0.35s var(--ease);
}
.checkout-btn {
  width: 100%;
  min-height: 64px;
  margin-top: 22px;
  font-size: 22px;
}
.secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 15px;
  color: #4a5262;
}
.secure .icon {
  width: 18px;
  height: 18px;
  fill: #8c919a;
  stroke: #8c919a;
}
.cart-empty {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 24px;
  text-align: center;
  animation: riseIn 0.7s var(--ease) both;
}
.cart-empty .bowl {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--peach);
  display: grid;
  place-items: center;
}
.cart-empty .bowl .paw {
  width: 60px;
  height: 60px;
  animation: pawBob 2.5s ease-in-out infinite;
}
.cart-empty h2 {
  font-size: 30px;
}
.cart-empty p {
  margin: 8px 0 22px;
  color: var(--muted);
  font-size: 18px;
}
.cart-empty .btn {
  margin: 4px;
}
.cart-suggest {
  margin-top: 40px;
}

/* modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(13, 26, 48, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal.open {
  opacity: 1;
  visibility: visible;
}
.modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.45s var(--ease);
}
.modal.open .modal-card {
  transform: none;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
}
.modal-close:hover {
  background: var(--peach);
}
.modal h2 {
  font-size: 28px;
  margin-bottom: 4px;
}
.modal .muted {
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.field {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
.field.full {
  grid-column: 1 / -1;
}
.field input {
  height: 48px;
  border: 1px solid #e3e0dc;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 16px;
  font-weight: 400;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 69, 0.15);
}
.field input.invalid {
  border-color: #d9443a;
}
.modal .checkout-btn {
  margin-top: 22px;
}
.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.success {
  text-align: center;
  padding: 10px 0;
}
.success-check {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: grid;
  place-items: center;
  animation: pop 0.6s var(--ease);
}
.success-check .icon {
  width: 48px;
  height: 48px;
  stroke-width: 3;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: draw 0.5s 0.3s ease-out forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.success p {
  margin: 10px 0 22px;
  color: var(--muted);
}
.confetti {
  position: fixed;
  top: -40px;
  z-index: 160;
  pointer-events: none;
  width: 22px;
  height: 22px;
  animation: fall linear forwards;
}
@keyframes fall {
  to {
    transform: translate(var(--dx), 110vh) rotate(var(--r));
  }
}

/* ==========================================================================
   Brands
   ========================================================================== */
.brands-wrap {
  background: var(--peach);
  padding: 10px 0 70px;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.brand-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.8s var(--ease);
}
.brand-card.in:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--c);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  transition: transform 0.4s var(--ease);
}
.brand-card:hover .brand-logo {
  transform: rotate(-8deg) scale(1.06);
}
.brand-card h2 {
  font-size: 26px;
}
.brand-card p {
  color: var(--muted);
}
.brand-thumbs {
  display: flex;
  gap: 8px;
}
.brand-thumbs span {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.brand-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-card .link-arrow {
  margin-top: auto;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .main-nav {
    margin-left: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-news {
    grid-column: span 2;
  }
  .socials {
    padding-top: 44px;
  }
  .mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cart-line {
    grid-template-columns: 130px 1fr 130px 44px;
    gap: 18px;
  }
  .line-media {
    height: 120px;
  }
  .cart-layout {
    grid-template-columns: 1fr 380px;
  }
  .shop-hero-art {
    right: 70px;
    width: 340px;
  }
}
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy {
    padding-top: 40px;
    padding-bottom: 10px;
  }
  .hero-art {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
  }
  .hero-script,
  .float-paw {
    display: none;
  }
  .cat-grid {
    grid-template-columns: 1fr;
  }
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .filters {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(340px, 88vw);
    z-index: 130;
    border-radius: 0 var(--radius) var(--radius) 0;
    overflow: auto;
    transform: translateX(-105%);
    transition: transform 0.45s var(--ease);
    animation: none;
  }
  .filters.open {
    transform: none;
  }
  .filters-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 125;
    background: rgba(13, 26, 48, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .filters-backdrop.open {
    opacity: 1;
    visibility: visible;
  }
  .filter-open {
    display: inline-flex;
    min-height: 46px;
    padding: 0 18px;
    font-size: 16px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
  }
  .shop-toolbar {
    flex-wrap: wrap;
  }
  .chips {
    order: 3;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .chip {
    flex: none;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shop-hero-art,
  .page-hero .hero-script {
    display: none;
  }
  .pdp {
    grid-template-columns: 1fr;
  }
  .thumbs {
    order: 2;
    grid-template-columns: repeat(4, 80px);
  }
  .main-image {
    order: 1;
  }
  .pdp-info {
    order: 3;
    padding-left: 0;
  }
  .related .mini-grid {
    grid-template-columns: 1fr;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .summary {
    position: static;
  }
}
@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }
  :root {
    --header-h: 64px;
  }
  .header-inner {
    gap: 8px;
  }
  .logo {
    font-size: 20px;
  }
  .btn-cart {
    padding: 0 14px;
    min-height: 42px;
    font-size: 15px;
  }
  .header-actions {
    gap: 4px;
  }
  .hero-ctas {
    gap: 12px;
  }
  .hero-ctas .btn {
    flex: 1;
    padding: 0 18px;
    font-size: 17px;
  }
  .hero-perks {
    gap: 16px 24px;
  }
  .cat-card {
    grid-template-columns: 1fr;
  }
  .cat-media {
    height: 190px;
  }
  .cat-arrow {
    bottom: 22px;
  }
  .mini-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .grid-body {
    padding: 12px;
  }
  .grid-body h3 {
    font-size: 16px;
  }
  .grid-foot .price {
    font-size: 20px;
  }
  .round-cart {
    width: 42px;
    height: 42px;
  }
  .fav-btn {
    width: 38px;
    height: 38px;
    top: 8px;
    right: 8px;
  }
  .sort {
    margin-left: auto;
  }
  .sort select {
    padding: 0 40px 0 14px;
    font-size: 15px;
  }
  .sort .icon {
    right: 12px;
  }
  .cart-list {
    padding: 6px 16px;
  }
  .cart-line {
    grid-template-columns: 96px 1fr 36px;
    grid-template-areas: 'media info remove' 'media price price';
    gap: 8px 14px;
  }
  .line-media {
    grid-area: media;
    height: 96px;
  }
  .line-info {
    grid-area: info;
  }
  .line-info h3 {
    font-size: 17px;
  }
  .line-info p {
    font-size: 14px;
  }
  .stock {
    margin-top: 6px;
    font-size: 14px;
  }
  .line-price {
    grid-area: price;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .line-price .price {
    margin: 0;
    font-size: 22px;
  }
  .line-price small {
    margin: 0 auto 0 0;
    white-space: nowrap;
  }
  .remove-btn {
    grid-area: remove;
    width: 36px;
    height: 36px;
  }
  .cart-below {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .summary {
    padding: 22px 20px 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand,
  .footer-news {
    grid-column: 1 / -1;
  }
  .socials {
    padding-top: 0;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .buy-row {
    flex-wrap: wrap;
  }
  .buy-row .btn-primary {
    min-width: 200px;
  }
}

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