/* Pawfy Homepage Styles — Consolidated & Responsive */
/* Breakpoints: 1220px (tablet-land) · 819px (tablet-port) · 768px (mobile) · 560px (small) */

/* ==========================================================================
   1. CSS Variables
   ========================================================================== */

body.home,
.pawfy-home {
  --pawfy-navy: #20254a;
  --pawfy-navy-deep: #151d43;
  --pawfy-ink: #29304a;
  --pawfy-muted: #5e6784;
  --pawfy-cream: #fff6ea;
  --pawfy-peach: #fde5ca;
  --pawfy-blush: #fff1eb;
  --pawfy-sky: #eaf7fb;
  --pawfy-sky-strong: #dff2f8;
  --pawfy-white: #fff;
  --pawfy-canvas: #fafafa;
  --pawfy-green: #83b59a;
  --pawfy-green-dark: #315640;
  --pawfy-line: rgba(32, 40, 73, 0.12);
  --pawfy-mint: #edf7ee;
  --pawfy-pink: #f9e8ef;
  --pawfy-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --pawfy-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pawfy-width: min(1180px, calc(100% - 48px));
  --pawfy-width-wide: min(1320px, calc(100% - 52px));
  --pawfy-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --pawfy-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --pawfy-section-py: clamp(64px, 8vw, 96px);
  --pawfy-radius: 16px;
  --pawfy-header-h: 68px;

  color: var(--pawfy-ink);
  background: #fffaf4;
  font-family: var(--pawfy-body);
  overflow-x: hidden;
}

.pawfy-home,
.pawfy-home * {
  letter-spacing: 0;
}

.pawfy-home + .ai-dtc-brand-footer,
.home .ai-dtc-brand-footer {
  margin-top: 0;
}

/* ==========================================================================
   2. Header / Footer Overrides (.home scope)
   ========================================================================== */

.home .ai-dtc-brand-announcement {
  display: none;
}

body.home {
  background: linear-gradient(180deg, #ffe2c3 0%, #ffe6cb 54%, #ffd6b5 100%) no-repeat;
  background-attachment: fixed;
}

.home .ai-dtc-brand-header {
  position: sticky;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.home .ai-dtc-brand-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 4px 20px rgba(32, 37, 74, 0.08);
  border-bottom: 1px solid rgba(32, 37, 74, 0.1);
}

.home .ai-dtc-brand-header__inner {
  width: var(--pawfy-width-wide);
  min-height: var(--pawfy-header-h);
  padding: 0;
}

.home .ai-dtc-brand-logo {
  color: var(--pawfy-navy);
  font-family: var(--pawfy-heading);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: opacity 0.25s ease;
}

.home .ai-dtc-brand-logo:hover {
  opacity: 0.7;
}

.home .ai-dtc-brand-nav {
  gap: 32px;
}

.home .ai-dtc-brand-nav a,
.home .ai-dtc-brand-nav a:last-child {
  position: relative;
  padding: 4px 0;
  color: var(--pawfy-navy);
  background: transparent;
  border-radius: 0;
  font-family: var(--pawfy-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  transition: color 0.2s ease;
}

.home .ai-dtc-brand-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--pawfy-navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.home .ai-dtc-brand-nav a:hover,
.home .ai-dtc-brand-nav a:focus-visible {
  color: var(--pawfy-navy);
  background: transparent;
}

.home .ai-dtc-brand-nav a:hover::after,
.home .ai-dtc-brand-nav a:focus-visible::after {
  transform: scaleX(1);
}

/* Cart icon in header */
.home .ai-dtc-brand-header__cart {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--pawfy-navy);
  text-decoration: none;
  position: relative;
}

.home .ai-dtc-brand-header__cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #d34646;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}

/* Hamburger */
.home .ai-dtc-brand-header__hamburger span {
  background: var(--pawfy-navy);
}

@media (max-width: 768px) {
  .home .ai-dtc-brand-header__nav-wrap {
    background: var(--pawfy-navy);
  }
  .home .ai-dtc-brand-header__nav-wrap .ai-dtc-brand-nav a {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
  .home .ai-dtc-brand-header__hamburger span {
    background: var(--pawfy-navy);
  }
}

/* Footer */
.home .ai-dtc-brand-footer {
  background: var(--pawfy-navy-deep);
  color: #fff;
  padding-top: 58px;
}

.home .ai-dtc-brand-footer__grid {
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(130px, 1fr));
}

.home .ai-dtc-brand-footer__intro p,
.home .ai-dtc-brand-footer__column a {
  color: rgba(255, 255, 255, 0.74);
}

.home .ai-dtc-brand-footer__column h2 {
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
}

.home .ai-dtc-brand-footer__bottom {
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   3. Shared Components
   ========================================================================== */

.pawfy-eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--pawfy-green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pawfy-section-header {
  width: var(--pawfy-width);
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.pawfy-section-title {
  margin: 0;
  color: var(--pawfy-navy);
  font-family: var(--pawfy-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.06;
}

.pawfy-section-desc {
  margin: 14px auto 0;
  max-width: 720px;
  color: var(--pawfy-muted);
  font-size: 14px;
  line-height: 1.7;
}

.pawfy-section-action {
  display: flex;
  justify-content: center;
  width: var(--pawfy-width);
  margin: 34px auto 0;
}

.pawfy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--pawfy-body);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(32, 37, 74, 0.15);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.pawfy-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(32, 37, 74, 0.22);
}

.pawfy-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(32, 37, 74, 0.12);
  transition-duration: 0.1s;
}

.pawfy-btn--primary,
.pawfy-btn--small {
  color: #fff;
  background: var(--pawfy-navy);
  border-color: var(--pawfy-navy);
  box-shadow: 0 4px 14px rgba(32, 37, 74, 0.25);
}

.pawfy-btn--primary:hover,
.pawfy-btn--small:hover {
  background: var(--pawfy-navy-deep);
  border-color: var(--pawfy-navy-deep);
  box-shadow: 0 8px 24px rgba(32, 37, 74, 0.35);
}

.pawfy-btn--outline {
  color: var(--pawfy-navy);
  background: transparent;
  border-color: var(--pawfy-navy);
  box-shadow: 0 2px 8px rgba(32, 37, 74, 0.08);
}

.pawfy-btn--outline:hover {
  color: #fff;
  background: var(--pawfy-navy);
  box-shadow: 0 6px 20px rgba(32, 37, 74, 0.22);
}

.pawfy-btn--small {
  min-height: 30px;
  padding: 0 18px;
  font-size: 10px;
}

.pawfy-section-action .pawfy-btn {
  min-height: 42px;
  padding: 0 28px;
  color: var(--pawfy-navy);
  background: transparent;
  border: 2px solid var(--pawfy-navy);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(32, 37, 74, 0.08);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0;
}

.pawfy-section-action .pawfy-btn:hover {
  color: #fff;
  background: var(--pawfy-navy);
  box-shadow: 0 6px 20px rgba(32, 37, 74, 0.22);
}

/* ==========================================================================
   4. Hero
   ========================================================================== */

.pawfy-hero.modern-editorial,
.pawfy-hero {
  display: block;
  position: relative;
  z-index: 0;
  min-height: min(720px, 86vh);
  margin-top: calc(var(--pawfy-header-h) * -1);
  padding-top: var(--pawfy-header-h);
  padding-bottom: 0;
  background:
    url('../img/hero-bg.jpg') right center / cover no-repeat,
    linear-gradient(180deg, #ffe2c3 0%, #ffe6cb 54%, #ffd6b5 100%);
}

/* Left-side scrim that lifts the headline/CTA off the photo while the products
   + dog stay visible on the right. Its tint matches the photo's natural cream
   sky (#ffe2c4), so it is invisible against the sky (no seam at the header
   line) yet still lightens any darker fur/product pixels that drift under the
   text. Starts below the header so the transparent header floats on raw photo. */
.pawfy-hero.modern-editorial::before,
.pawfy-hero::before {
  content: "";
  position: absolute;
  top: var(--pawfy-header-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 226, 196, 0.98) 0%, rgba(255, 226, 196, 0.9) 26%, rgba(255, 226, 196, 0.45) 48%, rgba(255, 226, 196, 0) 64%);
}

.pawfy-hero.modern-editorial .pawfy-hero__container {
  z-index: 1;
}

.pawfy-hero.modern-editorial .pawfy-hero__container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.74fr) minmax(400px, 1.26fr);
  align-items: center;
  gap: 28px;
  width: var(--pawfy-width-wide);
  max-width: 1320px;
  min-height: min(700px, 85vh);
  margin: 0 auto;
  padding-top: 54px;
}

.pawfy-hero__content::before {
  display: none;
}

.pawfy-hero.modern-editorial .pawfy-hero__content {
  width: auto;
  padding: 0 0 14px;
}

.pawfy-hero.modern-editorial .pawfy-hero__title,
.pawfy-hero__title {
  max-width: 560px;
  margin: 0 0 18px;
  color: var(--pawfy-navy);
  font-family: var(--pawfy-heading);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.02;
}

.pawfy-hero.modern-editorial .pawfy-hero__sub,
.pawfy-hero__sub {
  max-width: 440px;
  margin: 0 0 28px;
  color: var(--pawfy-navy);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.pawfy-hero__actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 0;
}

.pawfy-hero__actions::after {
  content: "Take Our Quiz";
  position: absolute;
  left: auto;
  right: -24px;
  top: 58px;
  color: var(--pawfy-navy);
  font-family: var(--pawfy-heading);
  font-size: 16px;
  font-style: italic;
  transform: rotate(-7deg);
  white-space: nowrap;
}

.pawfy-hero.modern-editorial .pawfy-hero__image-wrapper {
  align-self: stretch;
  display: none;
  align-items: flex-end;
  justify-content: flex-end;
  min-width: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.pawfy-hero.modern-editorial .pawfy-hero__image,
.pawfy-hero__image {
  position: relative;
  right: auto;
  bottom: auto;
  display: block;
  width: min(100%, 840px);
  height: auto;
  max-height: min(720px, 100%);
  object-fit: contain;
  object-position: bottom center;
  border-radius: 0;
  box-shadow: none;
}

/* ==========================================================================
   5. Trust Bar
   ========================================================================== */

.pawfy-trust {
  padding: 0;
  background: var(--pawfy-navy);
  border: 0;
}

.pawfy-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  max-width: 1180px;
  min-height: 60px;
  margin: 0 auto;
}

.pawfy-trust__item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #fff;
  transition: opacity 0.2s ease;
}

.pawfy-trust__item:hover {
  opacity: 0.85;
}

.pawfy-trust__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: transparent;
}

.pawfy-trust__icon img {
  max-width: 26px;
  height: auto;
  filter: brightness(0) invert(1);
}

.pawfy-trust__title {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.pawfy-trust__desc {
  display: none;
}

/* ==========================================================================
   6. Product Cards (shared by Best Sellers & Bundles)
   ========================================================================== */

.pawfy-product-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(32, 40, 73, 0.06);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.pawfy-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(32, 40, 73, 0.12);
}

.pawfy-product-card__media {
  display: grid;
  place-items: center;
  position: relative;
  aspect-ratio: 1.08;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #fff1ec;
  text-decoration: none;
  transition: background 0.35s ease;
}

.pawfy-product-card:hover .pawfy-product-card__media {
  background: #ffe8df;
}

.pawfy-product-card__media img {
  width: 82%;
  height: 82%;
  padding: 0;
  object-fit: contain;
  transition: opacity 0.35s ease, transform 0.5s ease;
}

.pawfy-product-card:hover .pawfy-product-card__media img {
  transform: scale(1.06);
}

/* Hover image swap */
.pawfy-product-card__img-primary {
  transition: opacity 0.35s ease, transform 0.5s ease;
}

.pawfy-product-card__img-hover {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  padding: 9% !important;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.pawfy-product-card:hover .pawfy-product-card__img-primary {
  opacity: 0;
}

/* Only swap when hover image exists */
.pawfy-product-card:hover .pawfy-product-card__img-hover {
  opacity: 1;
}

/* Shop grid cards: bigger images for visual impact */
.pawfy-shop__grid .pawfy-product-card__media {
  aspect-ratio: 1 / 1;
}

.pawfy-shop__grid .pawfy-product-card__media img {
  width: 90%;
  height: 90%;
}

.pawfy-shop__grid .pawfy-product-card__img-hover {
  padding: 5% !important;
}

.pawfy-product-card__badge {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--pawfy-navy);
  background: #fff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  z-index: 2;
}

.pawfy-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 16px 16px 20px;
  text-align: center;
}

.pawfy-product-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  order: 3;
  margin: 0 0 10px;
  color: var(--pawfy-muted);
  font-size: 11px;
  font-weight: 700;
}

.pawfy-product-card__rating span {
  color: #f4b63d;
  font-size: 12px;
  line-height: 1;
}

.pawfy-product-card__title {
  margin: 0 0 8px;
  color: var(--pawfy-navy);
  font-family: var(--pawfy-heading);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.05;
}

.pawfy-product-card__title a {
  color: inherit;
  text-decoration: none;
}

.pawfy-product-card__body p {
  margin: 0 0 12px;
  min-height: 38px;
  color: var(--pawfy-navy);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.pawfy-product-card__benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.pawfy-product-card__benefits li {
  position: relative;
  padding: 0;
  color: var(--pawfy-muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
}

.pawfy-product-card__benefits li::before {
  position: static;
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto 4px;
  border-radius: 999px;
  background: #eef8fa;
  color: var(--pawfy-navy);
  content: "✓";
  font-size: 12px;
  line-height: 22px;
  text-align: center;
}

.pawfy-product-card__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 100%;
  margin-top: auto;
  padding-top: 0;
  border-top: 0;
}

.pawfy-product-card__footer .pawfy-btn {
  min-height: 30px;
  padding: 0 18px;
  width: 100%;
  color: #fff;
  background: var(--pawfy-navy);
  border: 0;
  border-radius: 999px;
  font-size: 10px;
}

.pawfy-product-card__footer .pawfy-btn:hover {
  background: var(--pawfy-navy-deep);
}

.pawfy-product-card__price {
  order: 2;
  color: var(--pawfy-navy);
  font-size: 11px;
  font-weight: 900;
}

.pawfy-product-card__compare {
  margin: 0;
  color: #dd6f79;
  font-size: 11px;
  font-weight: 600;
  text-decoration: line-through;
}

/* ==========================================================================
   7. Best Sellers
   ========================================================================== */

.pawfy-bestsellers,
.pawfy-bundles {
  padding: clamp(56px, 7vw, 72px) 0 clamp(64px, 7vw, 88px);
  background: #fffaf4;
}

.pawfy-bestsellers__carousel {
  position: relative;
  width: min(100% - 74px, 1220px);
  margin: 0 auto;
  overflow: hidden;
}

.pawfy-bestsellers__track {
  display: flex;
  gap: 20px;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.pawfy-bestsellers__track .pawfy-product-card {
  flex: 0 0 calc(25% - 15px);
  min-width: 0;
}

.pawfy-carousel-controls {
  position: absolute;
  top: 50%;
  left: -36px;
  right: -36px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.pawfy-carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pawfy-navy);
  background: #fff;
  border: 1px solid var(--pawfy-line);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(32, 40, 73, 0.1);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.pawfy-carousel-arrow:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(32, 40, 73, 0.18);
}

.pawfy-carousel-arrow svg {
  display: block;
}

/* ==========================================================================
   8. Bundles
   ========================================================================== */

.pawfy-bundles__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: var(--pawfy-width);
  margin: 0 auto;
}

/* ==========================================================================
   9. Vet Banner
   ========================================================================== */

.pawfy-vet {
  position: relative;
  padding: clamp(64px, 8vw, 96px) 0 clamp(64px, 7vw, 88px);
  background: var(--pawfy-sky-strong);
  overflow: hidden;
}

.pawfy-vet::before,
.pawfy-vet::after {
  content: "";
  position: absolute;
  left: -5%;
  width: 110%;
  height: 64px;
  background: #fffaf4;
  border-radius: 0 0 50% 50%;
}

.pawfy-vet::before {
  top: -38px;
}

.pawfy-vet::after {
  bottom: -38px;
  border-radius: 50% 50% 0 0;
}

.pawfy-vet__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 0.96fr);
  gap: 42px;
  align-items: center;
  width: var(--pawfy-width);
  margin: 0 auto;
}

.pawfy-vet__content {
  padding: 0;
}

.pawfy-vet .pawfy-section-title {
  color: var(--pawfy-navy);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

.pawfy-vet__text,
.pawfy-nutrition__body,
.pawfy-clubhouse__body {
  margin: 18px 0 0;
  color: var(--pawfy-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.68;
}

.pawfy-vet__doctor {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
  padding: 0;
  background: transparent;
}

.pawfy-vet__doctor-img {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  object-fit: cover;
}

.pawfy-vet__doctor-info strong {
  display: block;
  color: var(--pawfy-ink);
  font-size: 14px;
  font-weight: 900;
}

.pawfy-vet__doctor-info span {
  color: var(--pawfy-muted);
  font-size: 12px;
  font-weight: 800;
}

.pawfy-vet__product {
  order: -1;
  display: grid;
  place-items: center;
  min-height: 430px;
  background: transparent;
  border-radius: 0;
}

.pawfy-vet__product-img {
  width: min(100%, 500px);
  max-height: 430px;
  object-fit: contain;
}

.pawfy-vet__logos {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(22px, 4vw, 58px);
  max-width: 560px;
  margin-top: 30px;
  padding-top: 0;
  border-top: 0;
}

.pawfy-vet__logo {
  width: auto;
  max-width: 150px;
  height: 30px;
  object-fit: contain;
  opacity: 0.54;
  filter: grayscale(1);
}

/* ==========================================================================
   10. Nutrition
   ========================================================================== */

.pawfy-nutrition {
  padding: clamp(64px, 7vw, 88px) 0 clamp(56px, 7vw, 80px);
  background: #fffaf4;
}

.pawfy-nutrition__inner,
.pawfy-clubhouse__inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  width: var(--pawfy-width);
  margin: 0 auto;
}

.pawfy-nutrition .pawfy-section-title,
.pawfy-clubhouse .pawfy-section-title {
  color: var(--pawfy-navy);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

.pawfy-nutrition__bullets {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.pawfy-nutrition__bullets li {
  position: relative;
  padding-left: 30px;
  color: var(--pawfy-navy);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.pawfy-nutrition__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--pawfy-mint);
}

.pawfy-nutrition__bullets li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.53em;
  width: 8px;
  height: 4px;
  border-bottom: 2px solid var(--pawfy-green-dark);
  border-left: 2px solid var(--pawfy-green-dark);
  transform: rotate(-45deg);
}

.pawfy-nutrition__certs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.pawfy-nutrition__cert {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  padding: 0;
  border: 2px solid rgba(32, 40, 73, 0.16);
  border-radius: 999px;
  color: rgba(32, 40, 73, 0.54);
  background: transparent;
  font-size: 9px;
  font-weight: 900;
  text-align: center;
}

.pawfy-nutrition__image,
.pawfy-clubhouse__media {
  display: grid;
  place-items: center;
  min-height: 420px;
  border-radius: 0;
  background: transparent;
}

.pawfy-nutrition__image img,
.pawfy-clubhouse__media img {
  width: min(100%, 560px);
  max-height: 430px;
  object-fit: contain;
}

/* ==========================================================================
   11. Condition Finder
   ========================================================================== */

.pawfy-finder {
  padding: clamp(56px, 7vw, 80px) 0 clamp(64px, 7vw, 88px);
  background: #fffaf4;
}

.pawfy-finder__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(300px, 1.18fr);
  gap: 34px;
  align-items: center;
  width: var(--pawfy-width);
  margin: 0 auto;
}

.pawfy-finder__tabs {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 330px;
  background: url("../images/pawfy/finder-skin.png") center / contain no-repeat;
}

.pawfy-finder__tab {
  position: absolute;
  width: auto;
  max-width: 150px;
  padding: 8px 14px;
  border: 1px solid #d8dcef;
  border-radius: 999px;
  background: #fff;
  color: var(--pawfy-navy);
  font-family: var(--pawfy-body);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(32, 40, 73, 0.08);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.pawfy-finder__tab:nth-child(1) { top: 18px; right: 24px; }
.pawfy-finder__tab:nth-child(2) { top: 120px; left: 0; }
.pawfy-finder__tab:nth-child(3) { right: 0; bottom: 82px; }
.pawfy-finder__tab:nth-child(4) { left: 74px; bottom: 16px; }

.pawfy-finder__tab:hover,
.pawfy-finder__tab.is-active {
  border-color: rgba(47, 117, 83, 0.28);
  background: var(--pawfy-white);
  transform: translateX(3px);
}

.pawfy-finder__tab-name {
  display: block;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.pawfy-finder__tab-desc {
  display: none;
}

.pawfy-finder__products {
  min-height: auto;
}

.pawfy-finder__panel {
  display: none;
}

.pawfy-finder__panel.is-active {
  display: block;
}

.pawfy-finder__panel .pawfy-product-card {
  width: 100%;
  max-width: none;
  min-height: 330px;
  margin: 0;
  padding: 34px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(32, 40, 73, 0.08);
}

.pawfy-finder__fallback {
  display: grid;
  place-items: center;
  min-height: 330px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(32, 40, 73, 0.08);
}

.pawfy-finder__fallback img {
  width: min(100%, 520px);
  max-height: 250px;
  object-fit: contain;
}

/* ==========================================================================
   12. Promise
   ========================================================================== */

.pawfy-promise {
  padding: 44px 0;
  background: var(--pawfy-navy);
}

.pawfy-promise__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: var(--pawfy-width);
  margin: 0 auto;
  color: var(--pawfy-white);
}

.pawfy-promise__icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  opacity: 0.62;
}

.pawfy-promise__text {
  max-width: 900px;
  margin: 0;
  color: var(--pawfy-white);
  font-family: var(--pawfy-heading);
  font-size: clamp(24px, 3vw, 36px);
  font-style: normal;
  line-height: 1.22;
  text-align: center;
}

/* ==========================================================================
   13. Reviews
   ========================================================================== */

.pawfy-reviews {
  padding: clamp(56px, 7vw, 80px) 0 clamp(64px, 7vw, 88px);
  background: var(--pawfy-sky);
}

.pawfy-reviews__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  color: var(--pawfy-muted);
  font-size: 13px;
  font-weight: 700;
}

.pawfy-reviews__summary-stat strong {
  color: var(--pawfy-navy);
}

.pawfy-reviews__summary-divider {
  color: var(--pawfy-muted);
  opacity: 0.5;
}

.pawfy-reviews__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  width: var(--pawfy-width);
  margin: 0 auto;
}

.pawfy-review-card {
  min-height: 220px;
  padding: 28px 24px;
  border: 1px solid var(--pawfy-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(32, 40, 73, 0.05);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.pawfy-review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(32, 40, 73, 0.1);
}

.pawfy-review-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}

.pawfy-star {
  color: #d8dce3;
  font-size: 15px;
}

.pawfy-star.is-filled {
  color: #f4b63d;
}

.pawfy-review-card__quote {
  margin: 0;
  color: var(--pawfy-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.pawfy-review-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: var(--pawfy-muted);
  font-size: 12px;
  font-weight: 800;
}

.pawfy-review-card__meta strong {
  color: var(--pawfy-ink);
}

.pawfy-review-card__verified {
  padding: 5px 10px;
  border-radius: 999px;
  color: #278e56;
  background: #dff6e8;
  font-size: 11px;
}

/* ==========================================================================
   14. Clubhouse
   ========================================================================== */

.pawfy-clubhouse {
  padding: 78px 0;
  background: #fff1eb;
}

.pawfy-clubhouse__inner {
  grid-template-columns: minmax(300px, 0.9fr) minmax(300px, 1.1fr);
}

.pawfy-clubhouse__benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
  margin-top: 26px;
}

.pawfy-clubhouse__benefit {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.pawfy-clubhouse__benefit-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--pawfy-white);
  font-size: 18px;
}

.pawfy-clubhouse__benefit strong {
  display: block;
  color: var(--pawfy-ink);
  font-size: 14px;
  font-weight: 900;
}

.pawfy-clubhouse__benefit p {
  margin: 4px 0 0;
  color: var(--pawfy-muted);
  font-size: 12px;
  line-height: 1.45;
}

.pawfy-clubhouse .pawfy-btn {
  margin-top: 28px;
}

/* ==========================================================================
   15. Social CTA
   ========================================================================== */

.pawfy-social {
  min-height: auto;
  padding: clamp(48px, 7vw, 86px) 0 60px;
  background: #fff;
  text-align: center;
}

.pawfy-social__inner {
  width: var(--pawfy-width);
  margin: 0 auto;
}

.pawfy-social__heading {
  margin: 0;
  color: var(--pawfy-navy);
  font-family: var(--pawfy-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.05;
}

.pawfy-social__handle {
  margin: 12px 0 0;
  color: var(--pawfy-navy);
  font-size: 13px;
  font-weight: 900;
}

.pawfy-social__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 32px auto 0;
  width: 100%;
  max-width: 640px;
}

.pawfy-social__tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--pawfy-cream);
  text-decoration: none;
}

.pawfy-social__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.pawfy-social__tile:hover img {
  transform: scale(1.05);
}

.pawfy-social__tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(32, 37, 74, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pawfy-social__tile:hover .pawfy-social__tile-overlay {
  opacity: 1;
}

/* ==========================================================================
   Newsletter
   ========================================================================== */

.pawfy-newsletter {
  padding: clamp(48px, 7vw, 72px) 20px;
  background: var(--pawfy-navy);
  text-align: center;
}

.pawfy-newsletter__inner {
  max-width: 520px;
  margin: 0 auto;
}

.pawfy-newsletter__heading {
  margin: 0;
  color: #fff;
  font-family: var(--pawfy-heading);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.15;
}

.pawfy-newsletter__body {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

.pawfy-newsletter__form {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.pawfy-newsletter__input {
  flex: 1;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  font-size: 13px;
}

.pawfy-newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.pawfy-newsletter__input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
}

.pawfy-newsletter__btn {
  white-space: nowrap;
}

/* ==========================================================================
   16. Animations
   ========================================================================== */

.animate-up {
  opacity: 0;
  transform: translateY(24px);
}

.animate-fade-in {
  opacity: 0;
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

.animate-up.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-fade-in.is-visible {
  opacity: 1;
  transition: opacity 0.7s ease-out;
}

/* ==========================================================================
   17. Shop Page
   ========================================================================== */

.pawfy-shop__header {
  background: var(--pawfy-blush);
  padding: 0 0 32px;
}

.pawfy-shop__trust-bar {
  padding: 32px 0;
}

.pawfy-shop__tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  width: var(--pawfy-width);
  margin: 0 auto;
}

.pawfy-shop__tab {
  padding: 10px 24px;
  border: 2px solid var(--pawfy-navy);
  border-radius: 999px;
  background: transparent;
  color: var(--pawfy-navy);
  font-family: var(--pawfy-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease;
}

.pawfy-shop__tab:hover {
  background: var(--pawfy-sky);
}

.pawfy-shop__tab.is-active {
  background: var(--pawfy-navy);
  color: var(--pawfy-white);
}

.pawfy-shop__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: var(--pawfy-width);
  margin: 48px auto;
}

.pawfy-shop__grid .pawfy-product-card[style*="display: none"],
.pawfy-shop__grid .pawfy-product-card.is-hidden {
  display: none;
}

.pawfy-shop__empty {
  text-align: center;
  padding: clamp(48px, 7vw, 80px) 0;
  color: var(--pawfy-muted);
}

/* ==========================================================================
   18. Responsive — 1220px (tablet landscape)
   ========================================================================== */

@media (max-width: 1220px) {
  .pawfy-bestsellers__carousel {
    width: var(--pawfy-width);
  }

  .pawfy-bestsellers__track .pawfy-product-card {
    flex: 0 0 calc(33.333% - 14px);
  }

  .pawfy-bundles__grid,
  .pawfy-reviews__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pawfy-hero.modern-editorial,
  .pawfy-hero {
    min-height: min(560px, 72vh);
    background-position: 65% 60%;
  }

  .pawfy-hero.modern-editorial .pawfy-hero__container {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 110px 0 0;
    text-align: left;
  }

  .pawfy-hero.modern-editorial .pawfy-hero__image-wrapper {
    justify-content: center;
  }

  .pawfy-vet__inner,
  .pawfy-nutrition__inner,
  .pawfy-finder__layout,
  .pawfy-clubhouse__inner {
    grid-template-columns: 1fr;
  }

  .pawfy-vet__logos {
    margin-left: auto;
  }

  .pawfy-carousel-controls {
    left: 10px;
    right: 10px;
  }

  .pawfy-shop__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   19. Responsive — 819px (tablet portrait)
   ========================================================================== */

@media (max-width: 819px) {
  .pawfy-bestsellers__track .pawfy-product-card {
    flex: 0 0 calc(50% - 10px);
  }

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

  .pawfy-vet__product,
  .pawfy-nutrition__image,
  .pawfy-clubhouse__media {
    min-height: 340px;
  }

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

/* ==========================================================================
   20. Responsive — 768px (mobile)
   ========================================================================== */

@media (max-width: 768px) {
  .home .ai-dtc-brand-header__inner {
    width: var(--pawfy-width);
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .home .ai-dtc-brand-nav {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .pawfy-hero.modern-editorial .pawfy-hero__container {
    width: var(--pawfy-width);
    padding: 38px 0 0;
    overflow: hidden;
  }

  .pawfy-hero.modern-editorial .pawfy-hero__image-wrapper {
    width: 100%;
    overflow: hidden;
  }

  .pawfy-hero.modern-editorial .pawfy-hero__image,
  .pawfy-hero__image {
    width: 100%;
    max-width: 100%;
  }

  .pawfy-hero.modern-editorial,
  .pawfy-hero {
    min-height: min(560px, 80vh);
    background-position: 60% 68%;
  }

  /* Narrow screens: switch the scrim to vertical so the headline reads at the
     top while the product/dog photo stays visible in the lower portion. Tint
     matches the photo's cream sky (#ffe2c4) for a seamless, seam-free blend. */
  .pawfy-hero.modern-editorial::before,
  .pawfy-hero::before {
    top: 0;
    background: linear-gradient(180deg, rgba(255, 226, 196, 0.95) 0%, rgba(255, 226, 196, 0.55) 40%, rgba(255, 226, 196, 0.18) 62%, rgba(255, 226, 196, 0) 74%);
  }

  .pawfy-hero.modern-editorial .pawfy-hero__title,
  .pawfy-hero__title {
    font-size: 42px;
  }

  .pawfy-hero__actions::after {
    position: static;
    margin-left: 10px;
  }

  .pawfy-bestsellers__carousel {
    width: var(--pawfy-width);
    overflow: hidden;
  }

  .pawfy-carousel-controls {
    left: 0;
    right: 0;
  }

  .pawfy-finder__tabs {
    min-height: 280px;
  }

  .pawfy-promise__text {
    font-size: 24px;
  }

  .home .ai-dtc-brand-footer {
    overflow: hidden;
  }

  .home .ai-dtc-brand-footer__grid {
    grid-template-columns: 1fr;
    width: var(--pawfy-width);
    max-width: none;
  }

  .home .ai-dtc-brand-footer__bottom {
    width: var(--pawfy-width);
    max-width: none;
    flex-wrap: wrap;
  }

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

/* ==========================================================================
   21. Responsive — 560px (small mobile)
   ========================================================================== */

@media (max-width: 560px) {
  body.home,
  .pawfy-home {
    --pawfy-width: min(100% - 28px, 1180px);
    overflow-x: hidden;
  }

  .home .ai-dtc-brand-header {
    position: relative;
    background: #ffe2c3;
    overflow: hidden;
  }

  .home .ai-dtc-brand-logo {
    font-size: 22px;
  }

  .pawfy-section-title,
  .pawfy-hero__title {
    font-size: clamp(28px, 8vw, 42px);
  }

  .pawfy-hero__sub,
  .pawfy-section-desc {
    font-size: 14px;
  }

  .pawfy-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pawfy-bestsellers__track .pawfy-product-card {
    flex: 0 0 100%;
  }

  .pawfy-bundles__grid,
  .pawfy-reviews__track,
  .pawfy-clubhouse__benefits,
  .pawfy-trust__grid {
    grid-template-columns: 1fr;
  }

  .pawfy-trust__item {
    min-height: 38px;
  }

  .pawfy-product-card__body h3 {
    font-size: 20px;
  }

  .pawfy-promise__inner {
    align-items: flex-start;
  }

  .pawfy-vet::before,
  .pawfy-vet::after {
    left: 0;
    width: 100%;
  }

  .pawfy-shop__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   22. Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .pawfy-home *,
  .home .ai-dtc-brand-header * {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
  }
}
