:root {
  --navy: #082d59;
  --navy2: #041e3d;
  --pink: #ec2e78;
  --pink2: #ff5d98;
  --orange: #ff9900;
  --ink: #172b41;
  --muted: #66778c;
  --line: #dfe8ef;
  --page: #f5f8fb;
  --white: #fff;
  --green: #2d9f5b;
  --shadow: 0 18px 48px rgba(8,45,89,.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

body.modal-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button,input {
  font: inherit;
}

.page-shell {
  width: min(1280px,calc(100% - 40px));
  margin-inline: auto;
}

.section-label {
  display: block;
  color: var(--pink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.button {
  position: relative;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s,box-shadow .2s,filter .2s;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(8,45,89,.18);
}

.button-primary {
  background: linear-gradient(135deg,var(--pink),var(--pink2));
  color: #fff;
}

.button-secondary,.button-light {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(8,45,89,.12);
}

.button-outline {
  background: #fff;
  border: 1px solid #cfdce6;
  color: var(--navy);
}

.full {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(8,45,89,.08);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(1320px,calc(100% - 34px));
  height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand-mini img {
  width: 190px;
  max-height: 44px;
  object-fit: contain;
}

.nav-shell nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-shell nav>a,.nav-menu>button {
  border: 0;
  background: none;
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.nav-shell nav>a:hover,.nav-menu>button:hover {
  color: var(--pink);
}

.wishlist-nav {
  color: var(--pink) !important;
}

.alerts-top {
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.nav-menu {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 34px;
  left: 50%;
  transform: translate(-50%,-6px);
  width: min(820px,88vw);
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(4,30,61,.24);
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transition: .2s;
}

.nav-menu:hover .mega-menu,.nav-menu.open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%,0);
}

.mega-menu a {
  padding: 12px;
  border-radius: 12px;
}

.mega-menu a:hover {
  background: #f7f9fc;
}

.mega-menu strong,.mega-menu span {
  display: block;
}

.mega-menu strong {
  color: var(--navy);
  font-size: 13px;
}

.mega-menu span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: #f8fbfd;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background: url("/assets/images/petdealsheader-v2.png") center right/cover no-repeat;
}

.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#f8fbfd 0%,rgba(248,251,253,.98) 34%,rgba(248,251,253,.78) 50%,rgba(248,251,253,.18) 69%,rgba(248,251,253,0) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1280px,calc(100% - 44px));
  min-height: 540px;
  margin: auto;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.cause-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 17px;
}

.cause-logo-wrap {
  width: 86px;
  height: 86px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 30px rgba(8,45,89,.2);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.cause-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cause-logo-wrap span {
  font-size: 22px;
  font-weight: 950;
  color: var(--navy);
}

.cause-name {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 950;
}

.hero-brand {
  width: min(390px,45vw);
  max-height: 70px;
  object-fit: contain;
  object-position: left center;
}

.hero-kicker {
  margin: 4px 0 0;
  color: var(--pink);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .16em;
}

.hero h1 {
  width: min(620px,52%);
  margin: 0;
  color: var(--navy);
  font-size: clamp(43px,4.5vw,68px);
  line-height: .98;
  letter-spacing: -.052em;
}

.hero-copy {
  width: min(590px,49%);
  margin: 17px 0 0;
  color: #455e76;
  font-size: 17px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.hero-note {
  margin: 15px 0 0;
  color: #78889a;
  font-size: 10px;
}

.stats-strip {
  position: relative;
  z-index: 3;
  width: min(1120px,calc(100% - 40px));
  margin: -28px auto 34px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4,1fr);
}

.stats-strip div {
  text-align: center;
  border-right: 1px solid var(--line);
}

.stats-strip div:last-child {
  border: 0;
}

.stats-strip strong,.stats-strip span {
  display: block;
}

.stats-strip strong {
  color: var(--pink);
  font-size: 24px;
}

.stats-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.stats-strip div:last-child > span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.stats-live-dot {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #36c96f;
    box-shadow: 0 0 0 0 rgba(54, 201, 111, 0.45);
}

.stats-live-dot::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(54, 201, 111, 0.55);
    border-radius: 50%;
    animation: statsLivePulse 1.8s ease-out infinite;
}

@keyframes statsLivePulse {
    0% {
        transform: scale(0.55);
        opacity: 0.9;
    }

    70%,
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.wishlist-callout {
  margin-bottom: 30px;
  padding: 22px 24px;
  border-radius: 20px;
  background: linear-gradient(120deg,var(--navy2),var(--navy));
  color: #fff;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  box-shadow: 0 18px 40px rgba(4,30,61,.19);
}

.wishlist-callout .section-label {
  color: #ffc8dc;
}

.wishlist-callout h2 {
  margin: 3px 0 4px;
  font-size: 24px;
}

.wishlist-callout p {
  margin: 0;
  color: #dbe7f3;
}

.wishlist-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.1);
  font-size: 32px;
}

.section-block {
  padding: 32px 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 21px;
}

.section-heading h2 {
  margin: 5px 0 0;
  color: var(--navy);
  font-size: 34px;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.section-heading p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.department-grid {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  gap: 12px;
}

.department-card {
  min-height: 178px;
  padding: 18px;
  border-radius: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(8,45,89,.12);
  transition: transform .25s,box-shadow .25s;
}

.department-card:after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  top: -50px;
  right: -50px;
  background: rgba(255,255,255,.16);
  transition: transform .3s;
}

.department-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 45px rgba(8,45,89,.2);
}

.department-card:hover:after {
  transform: scale(1.35);
}

.department-card>span,.department-card>strong,.department-card>small,.department-card>b {
  position: relative;
  z-index: 1;
}

.department-card>span {
  font-size: 36px;
}

.department-card strong {
  margin-top: 12px;
  font-size: 17px;
}

.department-card small {
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.45;
  opacity: .9;
}

.department-card b {
  margin-top: auto;
  align-self: flex-end;
  font-size: 11px;
}

.department-pink {
  background: linear-gradient(145deg,#ff5f92,#e92e77);
}

.department-purple {
  background: linear-gradient(145deg,#9270e8,#6344c2);
}

.department-green {
  background: linear-gradient(145deg,#42bf75,#178e4e);
}

.department-gold {
  background: linear-gradient(145deg,#ffc94c,#ef991d);
}

.department-blue {
  background: linear-gradient(145deg,#35bee1,#168fb4);
}

.department-violet {
  background: linear-gradient(145deg,#5F6B7A,#384250); 
}

.department-brown {
  background: linear-gradient(145deg,#bd7a4b,#80421f);
}

.editorial-section {
  padding: 34px 28px;
  margin-top: 22px;
  margin-bottom: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 38px rgba(8,45,89,.07);
}

.editorial-section.tinted {
  background: linear-gradient(135deg,#eef8ff,#faf5ff);
}

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

.product-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe7ee;
  border-radius: 20px;
  box-shadow: 0 9px 24px rgba(8,45,89,.08);
  transition: transform .25s,box-shadow .25s,border-color .25s;
}

.product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(236,46,120,.34);
  box-shadow: 0 25px 45px rgba(8,45,89,.17);
}

.product-image {
  height: 215px;
  padding: 18px;
  background: #fff;
  border-bottom: 1px solid #edf2f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  transition: transform .28s;
}

.product-card:hover .product-image img {
  transform: scale(1.045);
}

.saving-flag {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  padding: 7px 9px;
  border-radius: 8px;
  background: #ff3d4c;
  color: #fff;
  font-size: 9px;
  font-weight: 950;
}

.watch-icon-button {
  position: absolute;
  right: 11px;
  top: 11px;
  z-index: 4;
  width: 41px;
  height: 41px;
  border: 1px solid #dce5ed;
  border-radius: 50%;
  background: #fff;
  color: var(--pink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 7px 15px rgba(8,45,89,.1);
  transition: .2s;
}

.watch-icon-button:hover {
  background: var(--pink);
  color: #fff;
  transform: scale(1.07);
}

.eye-icon {
  width: 21px;
  height: 21px;
  display: inline-block;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 5c5.5 0 9.7 5.4 10 5.8a2 2 0 0 1 0 2.4C21.7 13.6 17.5 19 12 19S2.3 13.6 2 13.2a2 2 0 0 1 0-2.4C2.3 10.4 6.5 5 12 5Zm0 2c-4.2 0-7.7 3.8-8.4 5 .7 1.2 4.2 5 8.4 5s7.7-3.8 8.4-5c-.7-1.2-4.2-5-8.4-5Zm0 2.2A2.8 2.8 0 1 1 12 14.8 2.8 2.8 0 0 1 12 9.2Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.product-body {
  padding: 17px;
}

.product-category {
  color: var(--pink);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.product-body h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  min-height: 76px;
  margin: 8px 0 12px;
  overflow: hidden;
  color: var(--navy);
  font-size: 14px;
  line-height: 19px;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.price-row strong {
  color: var(--navy);
  font-size: 23px;
}

.price-row del {
  color: #8a98a6;
  font-size: 11px;
}

.saving-pill {
  padding: 5px 7px;
  border-radius: 7px;
  background: #e7f7ec;
  color: #25813f;
  font-size: 9px;
  font-weight: 950;
}

.product-signals {
  min-height: 30px;
  margin: 11px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.watcher-line {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #65778d;
  font-size: 10px;
  font-weight: 800;
}

.watcher-line .eye-icon {
  width: 17px;
  height: 17px;
  color: var(--pink);
}

.wishlist-badge {
  padding: 5px 7px;
  border-radius: 7px;
  background: #fff0f6;
  color: var(--pink);
  font-size: 9px;
  font-weight: 900;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.button-details {
  width: 100%;
  background: #f1f5f8;
  border: 1px solid #d7e1e9;
  color: var(--navy);
}

.button-amazon {
  width: 100%;
  background: var(--orange);
  color: #fff !important;
  overflow: hidden;
}

.button-amazon img {
  position: absolute;
  left: 9px;
  top: 50%;
  width: 54px;
  height: 38px;
  object-fit: contain;
  transform: translateY(-50%);
  pointer-events: none;
}

.button-amazon span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  pointer-events: none;
}

.button-watch {
  width: 100%;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.button-leading {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.button-watch>span:last-child {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-watch .eye-icon {
  color: #fff;
}

footer {
  margin-top: 38px;
  padding: 18px 20px;
  background: #e8f0f5;
  border-top: 1px solid #d5e1e9;
  text-align: center;
}

.footer-logo {
  width: 175px;
  max-height: 45px;
  object-fit: contain;
}

.footer-logo+ p {
  margin-top: 2px;
}

.footer-logo~p {
  margin-bottom: 3px;
  color: #64768a;
  font-size: 10px;
  line-height: 1.4;
}

.footer-logo~p a {
  text-decoration: underline;
  color: var(--navy);
}

.disclosure {
  opacity: .88;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  padding: 22px;
  display: grid;
  place-items: center;
  overflow: auto;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3,20,40,.78);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(680px,100%);
  padding: 30px;
  background: #fff;
  border-radius: 23px;
  box-shadow: 0 30px 80px rgba(0,0,0,.34);
}

.product-modal-card {
  width: min(1020px,100%);
}

.small-modal {
  width: min(510px,100%);
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 13px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #edf3f7;
  color: var(--navy);
  font-size: 23px;
  cursor: pointer;
}

.detail-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
}

.detail-image-panel {
  min-height: 420px;
  padding: 28px;
  border: 1px solid #e0e8ee;
  border-radius: 18px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-image-panel img {
  max-width: 100%;
  max-height: 365px;
  object-fit: contain;
}

.detail-content h2 {
  margin: 8px 0 12px;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.18;
}

.detail-price-row {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.detail-price-row strong {
  color: var(--navy);
  font-size: 32px;
}

.detail-price-row del {
  color: #8796a5;
}

.detail-price-row span {
  padding: 5px 8px;
  border-radius: 7px;
  background: #e7f7ec;
  color: #25813f;
  font-size: 10px;
  font-weight: 950;
}

.history-panel {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #dee8ef;
  border-radius: 16px;
  background: #f6f9fc;
}

.history-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.history-heading h3 {
  margin: 4px 0 0;
  color: var(--navy);
}

.history-heading>span {
  color: var(--muted);
  font-size: 10px;
}

.history-panel svg {
  width: 100%;
  height: 210px;
  margin-top: 10px;
  background: #fff;
  border: 1px solid #e2eaf0;
  border-radius: 12px;
}

.history-summary {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  margin-top: 10px;
}

.history-summary div {
  padding: 9px;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.history-summary strong,.history-summary span {
  display: block;
}

.history-summary strong {
  color: var(--navy);
  font-size: 15px;
}

.history-summary span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.small-modal h2 {
  margin: 7px 0;
  color: var(--navy);
}

.small-modal p {
  color: var(--muted);
  line-height: 1.5;
}

.small-modal label {
  display: block;
  margin: 16px 0 10px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
}

.small-modal input[type=email] {
  width: 100%;
  margin-top: 7px;
  padding: 13px;
  border: 1px solid #ccd8e2;
  border-radius: 10px;
}

.small-modal small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

.modal-eye {
  width: 42px;
  height: 42px;
  color: var(--pink);
  margin-bottom: 10px;
}

.alert-options {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 8px;
  margin: 15px 0;
}

.alert-options label {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 11px;
}

@media (max-width:1100px) {
  .nav-shell nav {
    display: none;
  }

  .alerts-top {
    margin-left: auto;
  }

  .department-grid {
    grid-template-columns: repeat(4,1fr);
  }

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

  .hero h1 {
    width: min(600px,58%);
  }

  .hero-copy {
    width: min(560px,55%);
  }
}

@media (max-width:820px) {
  .hero {
    min-height: auto;
  }

  .hero-photo {
    position: relative;
    height: 340px;
    background-position: center 45%;
  }

  .hero-fade {
    background: linear-gradient(180deg,#f8fbfd 0%,rgba(248,251,253,.3) 30%,rgba(248,251,253,.04) 65%);
  }

  .hero-inner {
    min-height: auto;
    padding: 34px 0 38px;
    text-align: center;
    align-items: center;
  }

  .cause-lockup {
    flex-direction: column;
  }

  .hero-brand {
    width: min(390px,82vw);
    object-position: center;
  }

  .hero h1,.hero-copy {
    width: min(680px,100%);
  }

  .hero-actions {
    justify-content: center;
  }

  .stats-strip {
    grid-template-columns: repeat(2,1fr);
    margin-top: -20px;
  }

  .stats-strip div:nth-child(2) {
    border-right: 0;
  }

  .stats-strip div:nth-child(-n/**/+2) {
    padding-bottom: 12px;
  }

  .wishlist-callout {
    grid-template-columns: auto 1fr;
  }

  .wishlist-callout .button {
    grid-column: 1/-1;
    width: 100%;
  }

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

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

  .detail-grid {
    grid-template-columns: 1fr;
  }

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

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width:540px) {
  .page-shell {
    width: min(100% - 24px,1280px);
  }

  .nav-shell {
    width: calc(100% - 22px);
    height: 62px;
  }

  .brand-mini img {
    width: 155px;
  }

  .alerts-top {
    padding: 10px 12px;
  }

  .hero-photo {
    height: 285px;
  }

  .hero-inner {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .cause-logo-wrap {
    width: 75px;
    height: 75px;
  }

  .stats-strip {
    width: calc(100% - 24px);
    padding: 17px;
  }

  .wishlist-callout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .wishlist-icon {
    margin: auto;
  }

  .department-grid,.product-grid {
    grid-template-columns: 1fr;
  }

  .editorial-section {
    padding: 22px 17px;
  }

  .section-heading h2 {
    font-size: 29px;
  }

  .product-image {
    height: 260px;
  }

  .history-summary {
    grid-template-columns: 1fr;
  }

  .alert-options {
    grid-template-columns: 1fr;
  }
}

/* Milestone 1 wordmark — avoids external logo dependencies */
.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-weight: 950;
  letter-spacing: -.055em;
  white-space: nowrap;
  line-height: 1;
}

.brand-wordmark span {
  color: #2db0e0;
}

.brand-wordmark b {
  color: #082d59;
  font-weight: 950;
}

.brand-mini.brand-wordmark {
  font-size: 24px;
}

.hero-brand.brand-wordmark {
  font-size: clamp(31px,3.4vw,48px);
  width: auto;
  max-height: none;
  margin: 2px 0 0;
}

.footer-logo.brand-wordmark {
  font-size: 23px;
  width: auto;
  max-height: none;
  justify-content: center;
  margin: 0 auto 7px;
}

.cause-logo-wrap span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,#eef8ff,#fff4f8);
  font-size: 22px;
  font-weight: 950;
  color: #082d59;
}

@media (max-width:540px) {
  .brand-mini.brand-wordmark {
    font-size: 19px;
  }

  .hero-brand.brand-wordmark {
    font-size: 34px;
  }
}

/* Milestone 2 — ambient intelligence, live ticker and secondary alerts */
.cause-lockup {
  border-radius: 22px;
  padding: 7px 10px 7px 7px;
  margin-left: -7px;
}

/* Only the cause's circular logo animates. The PETDEALS by Support&Shop wordmark and
   organisation name remain completely stable. */
.cause-logo-wrap {
  transition: transform .28s ease, box-shadow .28s ease;
}

.cause-logo-wrap:hover {
  transform: rotate(-2deg) translateY(-3px) scale(1.045);
  box-shadow: 0 17px 36px rgba(8,45,89,.24);
}

.hero-intelligence {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
}

.intel-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 165px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 16px;
  background: rgba(255,255,255,.79);
  color: var(--navy);
  box-shadow: 0 18px 45px rgba(8,45,89,.14);
  backdrop-filter: blur(14px);
  animation: intelFloat 10s ease-in-out infinite alternate;
}

.intel-card strong,.intel-card small {
  display: block;
}

.intel-card strong {
  font-size: 12px;
}

.intel-card small {
  margin-top: 2px;
  color: #728398;
  font-size: 9px;
}

.intel-icon {
  flex: 0 0 auto;
  color: var(--pink);
}

.intel-history svg {
  width: 46px;
  height: 28px;
  color: var(--pink);
}

.intel-bell,.intel-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff0f6;
  color: var(--pink);
  font-size: 20px;
  font-weight: 950;
}

.intel-watch {
  top: 22%;
  right: 35%;
  animation-delay: -2s;
}

.intel-history {
  right: 9%;
  bottom: 25%;
  animation-delay: -6s;
}

.intel-update {
  top: 17%;
  right: 4%;
  animation-delay: -4s;
}

.intel-reduced {
  right: 27%;
  bottom: 10%;
  animation-delay: -8s;
}

@keyframes intelFloat {
  0% {
    transform: translate3d(0,0,0);
  }

  100% {
    transform: translate3d(0,-9px,0);
  }
}

.deal-ticker {
  height: 48px;
  background: linear-gradient(90deg,var(--navy2),var(--navy));
  color: #fff;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 12px 28px rgba(4,30,61,.16);
}

.ticker-label,.ticker-status {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
  white-space: nowrap;
}

.ticker-label {
  color: #fff;
}

.ticker-label span,.ticker-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 5px rgba(236,46,120,.15);
}

.ticker-status span {
  background: #49cf78;
  box-shadow: 0 0 0 5px rgba(73,207,120,.12);
}

.ticker-window {
  overflow: hidden;
}

.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 22px;
  animation: tickerMove 36s linear infinite;
  font-size: 11px;
}

.ticker-track i {
  color: var(--pink);
  font-style: normal;
}

.deal-ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes tickerMove {
  to {
    transform: translateX(-50%);
  }
}

.alerts-banner {
  position: relative;
  min-height: 230px;
  margin-top: 28px;
  margin-bottom: 28px;
  padding: 38px 34px 38px 250px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  border-radius: 26px;
  background: radial-gradient(circle at 12% 50%,rgba(45,176,224,.22),transparent 26%),linear-gradient(120deg,var(--navy2),var(--navy) 64%,#123f76);
  color: #fff;
  box-shadow: 0 24px 55px rgba(4,30,61,.23);
}

.alerts-banner:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,transparent 45%,rgba(255,255,255,.06));
  pointer-events: none;
}

.alerts-copy,.alerts-banner-button {
  position: relative;
  z-index: 2;
}

.alerts-banner .section-label {
  color: #ff9fc2;
}

.alerts-banner h2 {
  max-width: 650px;
  margin: 7px 0 10px;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.alerts-banner p {
  max-width: 680px;
  margin: 0;
  color: #d9e6f3;
  line-height: 1.55;
}

.alerts-banner-button {
  min-width: 190px;
}

.alerts-visual {
  position: absolute;
  left: 38px;
  top: 50%;
  width: 165px;
  height: 165px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
}

.alert-eye {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  color: #fff;
}

.alert-orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  animation: orbitPulse 5s ease-in-out infinite alternate;
}

.orbit-one {
  inset: 12px;
}

.orbit-two {
  inset: 31px;
  animation-delay: -2.5s;
}

.alerts-visual:after {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--pink),var(--pink2));
  box-shadow: 0 20px 45px rgba(236,46,120,.35);
}

@keyframes orbitPulse {
  to {
    transform: scale(1.08);
    opacity: .48;
  }
}

.wishlist-callout {
  margin-top: 28px;
  background: linear-gradient(120deg,#eef6fb,#f8f3fb);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(8,45,89,.08);
  border: 1px solid var(--line);
}

.wishlist-callout .section-label {
  color: var(--pink);
}

.wishlist-callout h2 {
  color: var(--navy);
}

.wishlist-callout p {
  color: var(--muted);
}

.wishlist-icon {
  background: #fff;
  color: var(--pink);
  box-shadow: 0 8px 22px rgba(8,45,89,.08);
}

@media (max-width:1100px) {
  .hero-intelligence {
    display: none;
  }

  .alerts-banner {
    padding-left: 190px;
  }

  .alerts-visual {
    left: 20px;
    transform: translateY(-50%) scale(.82);
  }
}

@media (max-width:820px) {
  .deal-ticker {
    grid-template-columns: auto 1fr;
  }

  .ticker-status {
    display: none;
  }

  .alerts-banner {
    padding: 30px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .alerts-visual {
    position: relative;
    left: auto;
    top: auto;
    margin: 0 auto -5px;
    transform: none;
  }

  .alerts-banner h2,.alerts-banner p {
    margin-left: auto;
    margin-right: auto;
  }

  .alerts-banner-button {
    justify-self: center;
  }

  .cause-lockup:hover {
    transform: none;
  }
}

@media (max-width:540px) {
  .deal-ticker {
    height: 44px;
  }

  .ticker-label {
    padding: 0 13px;
    font-size: 9px;
  }

  .ticker-track {
    font-size: 10px;
  }

  .alerts-banner {
    padding: 25px 20px;
  }

  .alerts-banner h2 {
    font-size: 28px;
  }

  .alerts-visual {
    width: 130px;
    height: 130px;
  }

  .alert-eye {
    width: 44px;
    height: 44px;
  }

  .alerts-visual:after {
    width: 76px;
    height: 76px;
  }
}

/* --------------------------------------------------------------------------
   Final wordmark and hero layout
   -------------------------------------------------------------------------- */
:root {
  --header-height: 72px;
}

html {
  scroll-padding-top: calc(var(--header-height) + 16px);
}

.brand-wordmark .word-support,
.brand-wordmark .word-shop {
  color: #2db0e0;
  font-style: normal;
  font-weight: 950;
}

.brand-wordmark .word-amp {
  color: var(--navy);
  font-style: normal;
  font-weight: 950;
}

.brand-wordmark .word-pet {
  color: var(--pink);
  font-style: normal;
  font-weight: 950;
}

.site-header {
  min-height: var(--header-height);
}

main {
  position: relative;
}

.hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  isolation: isolate;
  background: #f8fbfd;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: none;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 22%;
}

.hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(248, 251, 253, 0.98) 0%,
    rgba(248, 251, 253, 0.94) 31%,
    rgba(248, 251, 253, 0.7) 45%,
    rgba(248, 251, 253, 0.25) 58%,
    rgba(248, 251, 253, 0) 72%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 540px;
}

.hero-intelligence {
  z-index: 4;
}

.intel-alert {
  right: 7%;
  bottom: 8%;
  animation-delay: -5s;
  pointer-events: auto;
}

.hero-separator {
  position: relative;
  z-index: 2;
  display: block;
  height: 8px;
  margin: 0;
  background: linear-gradient(90deg, var(--navy2), var(--navy));
  box-shadow: 0 8px 20px rgba(4, 30, 61, 0.12);
}

.stats-strip {
  z-index: 5;
  min-height: 86px;
  margin-top: -47px;
  margin-bottom: 34px;
}

/* --------------------------------------------------------------------------
   Responsive refinements
   -------------------------------------------------------------------------- */
@media (max-width: 820px) {
  :root {
    --header-height: 62px;
  }

  .hero-photo,
  .hero-fade,
  .hero-intelligence,
  .hero-separator {
    display: none;
  }

  .hero {
    min-height: 0;
    background: radial-gradient(
        circle at 85% 15%,
        rgba(236, 46, 120, 0.1),
        transparent 34%
      ),
      radial-gradient(
        circle at 12% 12%,
        rgba(45, 176, 224, 0.14),
        transparent 32%
      ),
      #f8fbfd;
  }

  .hero-inner {
    width: calc(100% - 32px);
    min-height: 0;
    padding: 34px 0 40px;
    align-items: center;
    text-align: center;
  }

  .cause-lockup {
    flex-direction: column;
    gap: 10px;
    margin: 0 0 20px;
  }

  .cause-logo-wrap {
    width: 78px;
    height: 78px;
    margin: 0 auto;
  }

  .hero-brand.brand-wordmark {
    justify-content: center;
  }

  .hero h1,
  .hero-copy {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
    justify-content: center;
  }

  .stats-strip {
    min-height: 0;
    height: auto;
    margin: 18px auto 30px;
  }
}

@media (max-width: 540px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }
}

/* PETDEALS catalogue filtering and alert forms */
.subcategory-filter{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px}.subcategory-filter[hidden]{display:none}.subcategory-pill{border:1px solid #d6e1e9;border-radius:999px;background:#fff;color:var(--navy);padding:9px 13px;font-size:11px;font-weight:850;cursor:pointer;transition:.2s}.subcategory-pill:hover,.subcategory-pill.is-active{border-color:var(--pink);background:#fff0f6;color:var(--pink);transform:translateY(-1px)}.subcategory-pill span{opacity:.65;margin-left:4px}.department-card.is-active{outline:3px solid rgba(255,255,255,.82);outline-offset:-7px;transform:translateY(-5px)}.mega-menu{grid-template-columns:repeat(2,minmax(0,1fr));max-height:70vh;overflow:auto}.mega-department{padding:10px;border-radius:12px;background:#f8fafc}.mega-pet{width:100%;padding:4px;border:0;background:none;text-align:left;color:var(--navy);cursor:pointer}.mega-pet strong,.mega-pet span{display:block}.mega-pet span{margin-top:2px;color:var(--muted);font-size:10px}.mega-subcategories{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.mega-subcategories button{border:1px solid #dce5ec;border-radius:999px;background:#fff;padding:6px 8px;color:var(--navy);font-size:9px;cursor:pointer}.mega-subcategories button:hover{border-color:var(--pink);color:var(--pink)}.mega-subcategories small{opacity:.6}.form-status{min-height:18px;margin:8px 0 0!important;color:var(--pink)!important;font-size:10px!important;font-weight:800;text-align:center}.empty-state,.loading-state{grid-column:1/-1;padding:24px;text-align:center;color:var(--muted)}
@media(max-width:820px){.mega-menu{grid-template-columns:1fr}.subcategory-filter{justify-content:center}}


/* PETDEALS deal controls */
.deal-controls{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 22px}.deal-controls .subcategory-filter{margin:0;flex:1}.saving-filter{min-width:250px;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(8,45,89,.06);display:grid;grid-template-columns:1fr auto;align-items:center;gap:7px 12px;color:var(--navy)}.saving-filter span{font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.saving-filter strong{color:var(--pink);font-size:13px}.saving-filter input{grid-column:1/-1;width:100%;accent-color:var(--pink);cursor:pointer}.saving-filter input:focus-visible{outline:2px solid rgba(236,46,120,.35);outline-offset:3px}
@media(max-width:820px){.deal-controls{flex-direction:column;align-items:stretch}.saving-filter{min-width:0;width:100%}}


/* Product-modal Amazon disclosure */
.amazon-compliance{margin:10px 2px 0;color:var(--muted);font-size:10px;line-height:1.45;text-align:center}

/* PETDEALS interface refinements */
.amazon-compliance{font-size:12px;line-height:1.55;margin-top:12px}
.alert-category-label{display:block;margin:16px 0 10px;color:var(--navy);font-size:12px;font-weight:850}
.alert-category-label select{width:100%;margin-top:7px;padding:13px 38px 13px 13px;border:1px solid #ccd8e2;border-radius:10px;background:#fff;color:var(--navy)}
.alert-options{display:block}
.alert-options .alert-guidance{margin:12px 0;padding:12px;border:1px dashed var(--line);border-radius:10px;background:#f7fafc;color:var(--muted);font-size:11px}
.alert-all-option{display:flex!important;align-items:center;gap:8px;margin:0 0 9px!important;padding:12px!important;border:1px solid var(--line);border-radius:10px;background:#f7fafc}
.alert-subcategory-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.alert-subcategory-list label{display:flex!important;align-items:center;gap:7px;margin:0!important;padding:10px!important;border:1px solid var(--line);border-radius:10px;font-size:11px}
.alert-subcategory-list input:disabled+span{opacity:.55}
@media(max-width:540px){.alert-subcategory-list{grid-template-columns:1fr}}


/* PETDEALS UI polish — wishlist visibility, alerts selector and footer */
#wishlist[hidden],
#wishlist-nav[hidden] {
  display: none !important;
}

.footer-logo~p a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.footer-logo~p a:hover,
.footer-logo~p a:focus-visible {
  text-decoration: none;
}

.alert-category-label {
  margin-top: 18px;
}

.alert-select-wrap {
  position: relative;
  display: block;
  margin-top: 8px;
}

.alert-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--pink);
  border-bottom: 2px solid var(--pink);
  transform: translateY(-68%) rotate(45deg);
  pointer-events: none;
}

.alert-category-label select {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 0 46px 0 16px;
  border: 1px solid #cbd8e2;
  border-radius: 14px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(8,45,89,.08);
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.alert-category-label select:hover {
  border-color: rgba(236,46,120,.45);
}

.alert-category-label select:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(236,46,120,.11), 0 10px 28px rgba(8,45,89,.10);
}

.alert-all-option,
.alert-subcategory-list label {
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}

.alert-all-option:hover,
.alert-subcategory-list label:hover {
  border-color: rgba(236,46,120,.38);
  background: #fff7fa;
  transform: translateY(-1px);
  box-shadow: 0 7px 16px rgba(8,45,89,.06);
}

.alert-all-option input,
.alert-subcategory-list input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--pink);
}


/* PETDEALS v1.0 final editorial and interaction polish */
.editorial-section{transition:opacity .24s ease,transform .24s ease}
.editorial-section.is-refreshing{opacity:.48;transform:translateY(3px);pointer-events:none}
.fact-badges{position:absolute;left:12px;top:48px;z-index:3;display:flex;flex-direction:column;align-items:flex-start;gap:5px;max-width:calc(100% - 70px)}
.fact-badge{padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.95);box-shadow:0 5px 14px rgba(8,45,89,.12);font-size:8px;font-weight:950;letter-spacing:.045em;text-transform:uppercase}
.fact-badge-reduced{color:#25813f;border:1px solid #cdebd6}
.fact-badge-low{color:var(--navy);border:1px solid #d6e3ed}

.alert-category-picker{margin-top:18px}
.alert-step-label{display:block;margin:0 0 10px;color:var(--navy);font-size:11px;font-weight:900;letter-spacing:.075em;text-transform:uppercase}
.alert-pet-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.alert-pet-card{min-height:70px;padding:10px 7px;border:1px solid var(--line);border-radius:14px;background:#f8fafc;color:var(--navy);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font:inherit;font-size:10px;font-weight:900;cursor:pointer;transition:transform .2s,border-color .2s,background .2s,box-shadow .2s}
.alert-pet-card:hover{transform:translateY(-2px);border-color:rgba(236,46,120,.45);background:#fff}
.alert-pet-card.is-selected{border-color:var(--pink);background:#fff0f6;color:var(--pink);box-shadow:0 8px 20px rgba(236,46,120,.12)}
.alert-pet-icon{font-size:24px;line-height:1}
.alert-options{display:grid;grid-template-rows:0fr;opacity:0;transform:translateY(-6px);margin-top:0;transition:grid-template-rows .28s ease,opacity .22s ease,transform .28s ease,margin-top .28s ease}
.alert-options>*{overflow:hidden}
.alert-options.is-open{grid-template-rows:1fr;opacity:1;transform:none;margin-top:18px}
.alert-options .alert-guidance{margin:12px 0 0;padding:12px;border:1px dashed var(--line);border-radius:12px;background:#f7fafc;color:var(--muted);font-size:11px;text-align:center}
.alert-options-inner{padding:16px;border:1px solid var(--line);border-radius:16px;background:#f8fafc}
.alert-all-option{display:flex!important;align-items:center;gap:10px;margin:0!important;padding:13px!important;border:1px solid #d7e3eb!important;border-radius:13px!important;background:#fff;cursor:pointer}
.alert-all-option span{display:block}.alert-all-option strong,.alert-all-option small{display:block}.alert-all-option strong{color:var(--navy);font-size:12px}.alert-all-option small{margin-top:2px;color:var(--muted);font-size:9px;line-height:1.35}
.alert-or-divider{display:flex;align-items:center;gap:9px;margin:13px 0;color:var(--muted);font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.alert-or-divider:before,.alert-or-divider:after{content:"";height:1px;flex:1;background:var(--line)}
.alert-subcategory-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.alert-subcategory-list label{display:flex!important;align-items:center;gap:8px;margin:0!important;padding:10px 11px!important;border:1px solid var(--line)!important;border-radius:11px!important;background:#fff;color:var(--navy);font-size:10px!important;font-weight:800!important;cursor:pointer;transition:.2s}
.alert-subcategory-list label:hover{border-color:rgba(236,46,120,.45)!important;transform:translateY(-1px)}
.alert-subcategory-list label:has(input:checked){border-color:var(--pink)!important;background:#fff0f6;color:var(--pink)}
.alert-subcategory-list label:has(input:disabled){opacity:.46;cursor:not-allowed;transform:none}
.alert-pet-card,.alert-subcategory-list label,.alert-all-option{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
@media(max-width:540px){.alert-pet-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.alert-subcategory-list{grid-template-columns:1fr}}


/* PETDEALS alert modal full-width selection and subscriber identity */
.category-alert-card {
  width: min(760px, 100%);
}

.category-alert-card .alert-category-picker,
.category-alert-card .alert-options,
.category-alert-card .alert-options-inner,
.category-alert-card .alert-subcategory-list {
  width: 100%;
}

.category-alert-card .alert-options-inner {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.category-alert-card .alert-all-option {
  width: 100%;
  margin-bottom: 14px !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 20px rgba(8,45,89,.06);
}

.category-alert-card .alert-or-divider {
  margin: 16px 0 13px;
}

.category-alert-card .alert-subcategory-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.category-alert-card .alert-subcategory-list label {
  min-height: 48px;
  justify-content: flex-start;
  padding: 12px 13px !important;
  border-radius: 14px !important;
  background: #fff;
  box-shadow: 0 8px 20px rgba(8,45,89,.06);
}

.category-alert-card .alert-step-label {
  margin-bottom: 12px;
}

.small-modal input[type=text],
.small-modal input[type=email] {
  width: 100%;
  margin-top: 7px;
  padding: 13px;
  border: 1px solid #ccd8e2;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
}

.small-modal input[type=text]:focus,
.small-modal input[type=email]:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(236,46,120,.1);
}

/* Graceful fallback for invalid cause URLs */
.cause-not-found {
  position: absolute;
  z-index: 8;
  top: 82px;
  right: clamp(24px, 4.5vw, 72px);
  width: min(350px, calc(100% - 48px));
  min-height: 190px;
  padding: 30px 52px 28px 28px;
  border: 1px solid rgba(236,46,120,.24);
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  color: var(--navy);
  box-shadow: 0 24px 58px rgba(4,30,61,.22);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: causeNoticePop .28s cubic-bezier(.2,.8,.2,1) both;
}

.cause-not-found strong {
  display: block;
  margin-bottom: 11px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
}

.cause-not-found p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.62;
}

.cause-not-found .brand-inline {
  display: inline-flex;
  margin: 0 2px;
  font-size: 1em;
  vertical-align: baseline;
}

.cause-not-found-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f8;
  color: #718196;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: color .18s, background .18s, transform .18s;
}

.cause-not-found-close:hover {
  background: #fff0f6;
  color: var(--pink);
  transform: scale(1.05);
}

.cause-not-found.is-closing {
  opacity: 0;
  transform: translateY(-8px) scale(.98);
  transition: opacity .18s ease, transform .18s ease;
}

@keyframes causeNoticePop {
  from { opacity: 0; transform: translateY(-10px) scale(.96); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .cause-not-found {
    top: 70px;
    right: 24px;
    width: min(330px, calc(100% - 48px));
  }
}

@media (max-width: 820px) {
  .cause-not-found {
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% - 32px);
    min-height: 0;
    margin: 0 auto 28px;
    padding: 22px 50px 22px 22px;
  }
}

@media (max-width: 700px) {
  .category-alert-card .alert-subcategory-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .category-alert-card .alert-subcategory-list {
    grid-template-columns: 1fr;
  }
  .cause-not-found {
    width: calc(100% - 24px);
    padding: 18px 48px 18px 18px;
  }
}


/* PETDEALS final alert-grid and department-menu visual alignment */
.category-alert-card .alert-options {
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}

.category-alert-card .alert-options > * {
  width: 100%;
  min-width: 0;
}

.category-alert-card .alert-subcategory-list {
  width: 100%;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.category-alert-card .alert-subcategory-list label {
  min-width: 0;
  min-height: 64px;
  padding: 10px 8px !important;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 6px;
  border-radius: 14px !important;
  background: #f8fafc;
  box-shadow: 0 7px 18px rgba(8,45,89,.07);
  font-size: 10px !important;
  font-weight: 900 !important;
}

.category-alert-card .alert-subcategory-list label:hover {
  background: #fff;
  box-shadow: 0 11px 24px rgba(8,45,89,.11);
}

.category-alert-card .alert-subcategory-list label:has(input:checked) {
  background: #fff0f6;
  box-shadow: 0 9px 22px rgba(236,46,120,.13);
}

.category-alert-card .alert-subcategory-list input {
  margin: 0;
}

/* Match the department mega-menu to the seven coloured category cards. */
.mega-department {
  position: relative;
  overflow: hidden;
  border: 0;
  box-shadow: 0 10px 24px rgba(8,45,89,.13);
}

.mega-department::after {
  content: "";
  position: absolute;
  top: -48px;
  right: -48px;
  width: 115px;
  height: 115px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  pointer-events: none;
}

.mega-department .mega-pet,
.mega-department .mega-pet strong,
.mega-department .mega-pet span {
  position: relative;
  z-index: 1;
  color: #fff;
}

.mega-department .mega-pet span {
  color: rgba(255,255,255,.84);
}

.mega-department .mega-subcategories {
  position: relative;
  z-index: 1;
}

.mega-department .mega-subcategories button {
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.14);
  color: #fff;
  font-weight: 800;
}

.mega-department .mega-subcategories button:hover {
  border-color: #fff;
  background: #fff;
  color: var(--navy);
}

@media (max-width: 760px) {
  .category-alert-card .alert-subcategory-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .category-alert-card .alert-subcategory-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ========================================================================
   PETDEALS v1.0 — authoritative selection and mega-menu component styles
   These rules intentionally override earlier iterative component rules.
   ======================================================================== */

/* Alert modal: category and subcategory selections share one visual system. */
.category-alert-card {
  width: min(760px, 100%);
}

.category-alert-card .alert-category-picker,
.category-alert-card .alert-options,
.category-alert-card .alert-options-inner,
.category-alert-card .alert-subcategory-list {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

.category-alert-card .alert-options {
  display: block !important;
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition: max-height .3s ease, opacity .22s ease, transform .28s ease, margin-top .28s ease;
}

.category-alert-card .alert-options.is-open {
  opacity: 1;
  max-height: 900px;
  margin-top: 18px;
  overflow: visible;
  transform: none;
}

.category-alert-card .alert-options > *,
.category-alert-card .alert-options-inner {
  width: 100% !important;
  overflow: visible !important;
}

.category-alert-card .alert-options-inner {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.category-alert-card .alert-subcategory-list {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.category-alert-card .alert-pet-card,
.category-alert-card .alert-subcategory-list label {
  min-width: 0;
  min-height: 70px;
  margin: 0 !important;
  padding: 10px 7px !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  background: #f8fafc !important;
  color: var(--navy) !important;
  box-shadow: none !important;
  font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  text-align: center;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease !important;
}

.category-alert-card .alert-subcategory-list label {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.category-alert-card .alert-pet-card:hover,
.category-alert-card .alert-subcategory-list label:hover {
  border-color: rgba(236,46,120,.45) !important;
  background: #fff !important;
  color: var(--pink) !important;
  box-shadow: none !important;
  transform: translateY(-2px);
}

.category-alert-card .alert-pet-card.is-selected,
.category-alert-card .alert-subcategory-list label:has(input:checked) {
  border-color: var(--pink) !important;
  background: #fff0f6 !important;
  color: var(--pink) !important;
  box-shadow: none !important;
}

.category-alert-card .alert-subcategory-list label:has(input:disabled) {
  opacity: .48;
  cursor: not-allowed;
  transform: none !important;
}

.category-alert-card .alert-subcategory-list input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--pink);
}

/* Keep the all-categories control full width, without the heavy card shadow. */
.category-alert-card .alert-all-option {
  width: 100%;
  margin: 0 0 14px !important;
  box-shadow: none !important;
}

/* Mega menu: explicit category gradients and guaranteed readable text. */
.mega-menu .mega-department {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border: 0 !important;
  border-radius: 14px;
  box-shadow: none !important;
  color: #fff !important;
  transition: transform .2s ease, filter .2s ease;
}

.mega-menu .mega-department.department-pink {
  background: linear-gradient(145deg,#ff5f92,#e92e77) !important;
}
.mega-menu .mega-department.department-purple {
  background: linear-gradient(145deg,#9270e8,#6344c2) !important;
}
.mega-menu .mega-department.department-green {
  background: linear-gradient(145deg,#42bf75,#178e4e) !important;
}
.mega-menu .mega-department.department-gold {
  background: linear-gradient(145deg,#ffc94c,#ef991d) !important;
}
.mega-menu .mega-department.department-blue {
  background: linear-gradient(145deg,#35bee1,#168fb4) !important;
}
.mega-menu .mega-department.department-violet {
  background: linear-gradient(145deg,#5F6B7A,#384250) !important;
}
.mega-menu .mega-department.department-brown {
  background: linear-gradient(145deg,#bd7a4b,#80421f) !important;
}

.mega-menu .mega-department:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.mega-menu .mega-department::after {
  content: "";
  position: absolute;
  top: -48px;
  right: -48px;
  width: 115px;
  height: 115px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  pointer-events: none;
}

.mega-menu .mega-pet,
.mega-menu .mega-pet strong,
.mega-menu .mega-pet span,
.mega-menu .mega-subcategories,
.mega-menu .mega-subcategories button,
.mega-menu .mega-subcategories small {
  position: relative;
  z-index: 1;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.mega-menu .mega-pet {
  width: 100%;
  padding: 2px;
  border: 0;
  background: transparent !important;
  text-align: left;
  cursor: pointer;
}

.mega-menu .mega-pet strong {
  font-size: 13px;
}

.mega-menu .mega-pet span {
  margin-top: 3px;
  color: rgba(255,255,255,.86) !important;
  -webkit-text-fill-color: rgba(255,255,255,.86) !important;
  font-size: 10px;
}

.mega-menu .mega-subcategories {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.mega-menu .mega-subcategories button {
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.38) !important;
  border-radius: 999px;
  background: rgba(255,255,255,.14) !important;
  box-shadow: none !important;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.mega-menu .mega-subcategories button:hover {
  border-color: #fff !important;
  background: #fff !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
}

.mega-menu .mega-subcategories button:hover small {
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
}

@media (max-width: 760px) {
  .category-alert-card .alert-subcategory-list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .category-alert-card .alert-subcategory-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}


/* Final PETDEALS navigation and editorial refinements */
.mega-pet strong {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.mega-pet-icon {
  display: inline-block !important;
  flex: 0 0 auto;
  margin: 0 !important;
  font-size: 22px;
  line-height: 1;
}

#latest {
  margin-top: 4px;
}

#departments {
  padding-top: 18px;
}


/* Final copy and readability polish */
.hero-associate-note {
  margin: 4px 0 0;
  color: #78889a;
  font-size: 10px;
  line-height: 1.45;
}

.footer-logo~p {
  font-size: 11px;
}

.mega-pet-icon {
  font-size: 26px;
}


/* --------------------------------------------------------------------------
   DEAL FEED — live activity launcher and drawer
   -------------------------------------------------------------------------- */

body.deal-feed-open {
  overflow: hidden;
}

.deal-feed-launcher {
  position: absolute;
  z-index: 6;
  top: 48%;
  right: clamp(16%, 20vw, 27%);
  width: 108px;
  min-height: 132px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transform: translateY(-50%);
}

.deal-feed-radar {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 38% 32%, #72e39b, #25a95b 58%, #13753d);
  border: 5px solid rgba(255,255,255,.94);
  box-shadow: 0 16px 35px rgba(8,45,89,.2), 0 0 0 1px rgba(23,142,78,.16);
  transition: transform .25s ease, box-shadow .25s ease;
}

.deal-feed-radar:before,
.deal-feed-radar-ring {
  content: "";
  position: absolute;
  inset: -9px;
  border: 2px solid rgba(45,191,117,.4);
  border-radius: 50%;
  animation: dealFeedPulse 2.4s ease-out infinite;
}

.deal-feed-radar-ring {
  inset: -18px;
  opacity: .45;
  animation-delay: .75s;
}

.deal-feed-launcher-label {
  margin-top: -7px;
}

.deal-feed-launcher:hover .deal-feed-radar,
.deal-feed-launcher:focus-visible .deal-feed-radar {
  transform: scale(1.06);
  box-shadow: 0 20px 42px rgba(8,45,89,.24), 0 0 0 1px rgba(23,142,78,.18);
}

.deal-feed-launcher-label {
  font-size: 12px;
  line-height: 1.05;
  letter-spacing: .13em;
  font-weight: 950;
  text-align: center;
}

.deal-feed-unread {
  position: relative;
  z-index: 2;
  min-width: 30px;
  height: 30px;
  padding: 0 7px;
  border-radius: 999px;
  background: #fff;
  color: #16864a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 6px 18px rgba(4,30,61,.18);
}

.deal-feed-unread[hidden] { display: none; }
.deal-feed-launcher.has-unread .deal-feed-radar { animation: dealFeedNudge 4s ease-in-out infinite; }

@keyframes dealFeedPulse {
  0% { transform: scale(.72); opacity: .7; }
  100% { transform: scale(1.12); opacity: 0; }
}

@keyframes dealFeedNudge {
  0%, 88%, 100% { transform: translateY(0); }
  92% { transform: translateY(-3px); }
  96% { transform: translateY(0); }
}

.deal-feed-backdrop {
  position: fixed;
  z-index: 699;
  inset: 0;
  background: rgba(3,20,40,.42);
  opacity: 0;
  transition: opacity .26s ease;
  backdrop-filter: blur(2px);
}

.deal-feed-backdrop.is-open { opacity: 1; }

.deal-feed-drawer {
  position: fixed;
  z-index: 700;
  top: 0;
  right: 0;
  width: min(420px, 94vw);
  height: 100dvh;
  padding: 26px 22px 24px;
  background: #f5f8fb;
  border-left: 1px solid rgba(8,45,89,.12);
  box-shadow: -24px 0 70px rgba(4,30,61,.24);
  transform: translateX(105%);
  transition: transform .36s cubic-bezier(.22,.82,.22,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.deal-feed-drawer.is-open { transform: translateX(0); }

.deal-feed-header {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.deal-feed-header h2 {
  margin: 5px 0 4px;
  color: var(--navy);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.deal-feed-header p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.deal-feed-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #e8eff4;
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s, background .2s;
}

.deal-feed-close:hover { transform: rotate(4deg) scale(1.05); background: #dde8ef; }

.deal-feed-filters {
  flex: 0 0 auto;
  display: flex;
  gap: 7px;
  padding: 16px 0 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.deal-feed-filters::-webkit-scrollbar { display: none; }

.deal-feed-filters button {
  flex: 0 0 auto;
  min-width: 38px;
  height: 38px;
  padding: 0 11px;
  border: 1px solid #d7e2ea;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
  transition: .2s;
}

.deal-feed-filters button:first-child { font-size: 10px; text-transform: uppercase; }
.deal-feed-filters button:first-child:hover,
.deal-feed-filters button:first-child.is-active {
  border-color: var(--pink);
  background: #fff0f6;
  color: var(--pink);
  transform: translateY(-1px);
}

.deal-feed-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 4px 30px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.deal-feed-event {
  width: 100%;
  border: 1px solid #dfe8ef;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8,45,89,.08);
  animation: dealFeedEventIn .35s ease both;
}

@keyframes dealFeedEventIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.deal-feed-event-platform {
  padding: 17px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 13px;
  align-items: center;
}

.deal-feed-platform-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg,#eaf8ef,#f6fffa);
  color: #178e4e;
  font-size: 24px;
  font-weight: 950;
}

.deal-feed-event-platform span,
.deal-feed-eyebrow {
  display: block;
  color: var(--pink);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.deal-feed-event-platform h3 {
  margin: 4px 0 3px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.15;
}

.deal-feed-event-platform p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.deal-feed-event-platform time {
  display: block;
  margin-top: 6px;
  color: #8797a7;
  font-size: 9px;
}

.deal-feed-event-product {
  position: relative;
  overflow: hidden;
  padding: 0;
  display: grid;
  grid-template-columns: 105px 1fr;
  text-align: left;
  color: var(--navy);
  cursor: pointer;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}

.deal-feed-event-product:hover {
  transform: translateY(-3px);
  border-color: rgba(236,46,120,.38);
  box-shadow: 0 18px 38px rgba(8,45,89,.15);
}

.deal-feed-product-image {
  min-height: 122px;
  padding: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-right: 1px solid rgba(255,255,255,.35);
}

.deal-feed-product-image img {
  max-width: 100%;
  max-height: 96px;
  object-fit: contain;
}

.deal-feed-product-copy {
  min-width: 0;
  padding: 14px 15px 13px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.deal-feed-product-copy strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 5px 0 7px;
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
}

.deal-feed-product-copy b {
  color: #fff;
  font-size: 12px;
}

.deal-feed-product-copy small {
  margin-top: 7px;
  color: rgba(255,255,255,.84);
  font-size: 9px;
}

.deal-feed-event-product .deal-feed-eyebrow { color: rgba(255,255,255,.9); }
.feed-pink { background: linear-gradient(145deg,#ff5f92,#e92e77); }
.feed-purple { background: linear-gradient(145deg,#9270e8,#6344c2); }
.feed-green { background: linear-gradient(145deg,#42bf75,#178e4e); }
.feed-gold { background: linear-gradient(145deg,#ffc94c,#ef991d); }
.feed-blue { background: linear-gradient(145deg,#35bee1,#168fb4); }
.feed-violet { background: linear-gradient(145deg,#5F6B7A,#384250); }
.feed-brown { background: linear-gradient(145deg,#bd7a4b,#80421f); }
.feed-navy { background: linear-gradient(145deg,var(--navy),var(--navy2)); }

.deal-feed-loading,
.deal-feed-empty {
  margin: 18px 0;
  padding: 24px;
  border: 1px dashed #cfdae3;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  color: var(--muted);
  text-align: center;
  font-size: 11px;
}

.deal-feed-mini-radar {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: #2d9f5b;
  box-shadow: 0 0 0 5px rgba(45,159,91,.12);
}

@media (max-width: 1100px) {
  .deal-feed-launcher {
    right: 8%;
  }
}

@media (max-width: 820px) {
  .deal-feed-launcher {
    position: fixed;
    z-index: 90;
    right: 14px;
    bottom: 18px;
    top: auto;
    width: 68px;
    min-height: 82px;
    transform: none;
    gap: 5px;
  }
  .deal-feed-radar { width: 52px; height: 52px; border-width: 4px; }
  .deal-feed-radar:before { inset: -6px; }
  .deal-feed-radar-ring { inset: -11px; }
  .deal-feed-launcher-label { font-size: 9px; }
  .deal-feed-unread { min-width: 24px; height: 24px; font-size: 10px; }
  .deal-feed-drawer { width: min(410px,100vw); padding: 20px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .deal-feed-radar:before,
  .deal-feed-radar-ring,
  .deal-feed-launcher.has-unread .deal-feed-radar,
  .deal-feed-event { animation: none; }
  .deal-feed-drawer,
  .deal-feed-backdrop { transition: none; }
}

/* DEAL FEED v1.1 refinements */
@media (min-width: 821px) {
  .deal-feed-launcher {
    left: calc(62.5% - 56px);
    right: auto;
    top: 43%;
    width: 138px;
    min-height: 154px;
    gap: 0;
  }
}

/* A larger version of the live pulse used in the stats area: a crisp centre
   signal with expanding radar rings, rather than a glossy static orb. */
.deal-feed-radar {
  width: 110px;
  height: 110px;
  border: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.deal-feed-radar::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2d9f5b;
  box-shadow: 0 8px 22px rgba(45,159,91,.28), inset 0 0 0 5px rgba(255,255,255,.2);
  transform: translate(-50%,-50%);
}

.deal-feed-radar::before,
.deal-feed-radar-ring {
  z-index: 0;
  inset: 18px;
  border: 2px solid rgba(45,159,91,.42);
  animation: dealFeedPulse 2.25s cubic-bezier(.2,.65,.35,1) infinite;
}

.deal-feed-radar-ring {
  inset: 18px;
  animation-delay: 1.05s;
}

.deal-feed-launcher:hover .deal-feed-radar,
.deal-feed-launcher:focus-visible .deal-feed-radar {
  transform: scale(1.045);
  box-shadow: none;
}

.deal-feed-unread {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  min-width: 34px;
  height: 34px;
  padding: 0 5px;
  background: transparent;
  color: #fff;
  box-shadow: none;
  transform: translate(-50%,-50%);
}

@keyframes dealFeedPulse {
  0% { transform: scale(.45); opacity: .75; }
  72%,100% { transform: scale(1.55); opacity: 0; }
}

/* Keep every feed tile at its intended height. Previously flex shrinking made
   the unfiltered All view compress the events to a fraction of their size. */
.deal-feed-event {
  flex: 0 0 auto;
  min-height: 122px;
}

.deal-feed-event-platform {
  min-height: 122px;
}

/* All plus all seven animal filters fit in one row. */
.deal-feed-filters {
  display: grid;
  grid-template-columns: repeat(8,minmax(0,1fr));
  gap: 5px;
  overflow: visible;
}

.deal-feed-filters button {
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0;
  font-size: 15px;
}

.deal-feed-filters button:first-child {
  font-size: 9px;
}


/* The data remains genuine and is refreshed every minute; this quiet cycle
   prevents the open feed from becoming visually static between real updates. */
.deal-feed-list.is-cycling .deal-feed-event:first-child {
  animation: dealFeedLiveArrival .52s cubic-bezier(.2,.75,.3,1) both;
}

@keyframes dealFeedLiveArrival {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 820px) {
  .deal-feed-radar {
    width: 56px;
    height: 56px;
  }
  .deal-feed-radar::after {
    width: 24px;
    height: 24px;
  }
  .deal-feed-radar::before,
  .deal-feed-radar-ring {
    inset: 10px;
    border-width: 2px;
  }
  .deal-feed-unread {
    min-width: 24px;
    height: 24px;
    font-size: 10px;
  }
  .deal-feed-filters {
    gap: 4px;
  }
  .deal-feed-filters button {
    height: 34px;
    font-size: 14px;
  }
}


/* ========================================================================
   PETDEALS launch polish — Deal Feed, alert-category colours and stat values
   ======================================================================== */
@media (min-width: 821px) {
  .deal-feed-launcher {
    left: calc(56% - 59px);
    top: 43%;
    width: 144px;
    min-height: 156px;
  }
}

.deal-feed-radar {
  width: 130px;
  height: 130px;
}

.deal-feed-launcher-label {
  margin-top: -35px;
}

/* Each subcategory group now inherits the same colour as its animal card. */
.category-alert-card .alert-options.department-pink { --alert-category-start:#ff5f92; --alert-category-end:#e92e77; }
.category-alert-card .alert-options.department-purple { --alert-category-start:#9270e8; --alert-category-end:#6344c2; }
.category-alert-card .alert-options.department-green { --alert-category-start:#42bf75; --alert-category-end:#178e4e; }
.category-alert-card .alert-options.department-gold { --alert-category-start:#ffc94c; --alert-category-end:#ef991d; }
.category-alert-card .alert-options.department-blue { --alert-category-start:#35bee1; --alert-category-end:#168fb4; }
.category-alert-card .alert-options.department-violet { --alert-category-start:#5f6b7a; --alert-category-end:#384250; }
.category-alert-card .alert-options.department-brown { --alert-category-start:#bd7a4b; --alert-category-end:#80421f; }

.category-alert-card .alert-options[class*="department-"] .alert-subcategory-list label {
  border-color: color-mix(in srgb, var(--alert-category-end) 42%, white) !important;
  background: linear-gradient(145deg,var(--alert-category-start),var(--alert-category-end)) !important;
  color: #fff !important;
}

.category-alert-card .alert-options[class*="department-"] .alert-subcategory-list label:hover {
  border-color: #fff !important;
  background: linear-gradient(145deg,var(--alert-category-start),var(--alert-category-end)) !important;
  color: #fff !important;
  filter: brightness(1.06);
  box-shadow: 0 11px 24px color-mix(in srgb, var(--alert-category-end) 24%, transparent) !important;
}

.category-alert-card .alert-options[class*="department-"] .alert-subcategory-list label:has(input:checked) {
  border-color: #fff !important;
  background: linear-gradient(145deg,var(--alert-category-start),var(--alert-category-end)) !important;
  color: #fff !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--alert-category-end) 25%, transparent) !important;
}

.category-alert-card .alert-options[class*="department-"] .alert-subcategory-list input {
  accent-color: var(--alert-category-end);
}

@media (max-width: 820px) {
  .deal-feed-launcher-label { margin-top: -9px; }
}


/* Progressive catalogue browsing */
.progressive-deals {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 30px;
  text-align: center;
}
.progressive-deals[hidden] { display: none !important; }
.progressive-deals-count {
  margin: 0;
  color: var(--muted, #667085);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .03em;
}
.progressive-deals-button {
  min-width: 210px;
  border: 0;
  background: var(--navy, #082d59);
  color: #fff;
  box-shadow: 0 12px 28px rgba(8,45,89,.16);
}
.progressive-deals-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(8,45,89,.22);
}
.progressive-deals-button:disabled {
  cursor: wait;
  opacity: .72;
}
.product-card-reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: petdeals-card-reveal .42s ease forwards;
  animation-delay: var(--reveal-delay, 0ms);
}
@keyframes petdeals-card-reveal {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .product-card-reveal { animation: none; opacity: 1; transform: none; }
}


/* ========================================================================
   RESTORED PRODUCTION VISUALS — preserve established Petdeals interactions
   ======================================================================== */

/* Shop by Animal arrow: rotate smoothly when the mega menu opens. */
.nav-menu > button > span {
  display: inline-block;
  margin-left: 4px;
  transform-origin: 50% 52%;
  transition: transform .24s cubic-bezier(.2,.75,.3,1);
}
.nav-menu.open > button > span,
.nav-menu > button[aria-expanded="true"] > span {
  transform: rotate(180deg);
}

/* Choose My Alerts animal cards: exact department / mega-menu gradients. */
.category-alert-card .alert-pet-card[data-alert-pet="dogs"] {
  background: linear-gradient(145deg,#ff5f92,#e92e77) !important;
}
.category-alert-card .alert-pet-card[data-alert-pet="cats"] {
  background: linear-gradient(145deg,#9270e8,#6344c2) !important;
}
.category-alert-card .alert-pet-card[data-alert-pet="small-pets"] {
  background: linear-gradient(145deg,#42bf75,#178e4e) !important;
}
.category-alert-card .alert-pet-card[data-alert-pet="birds"] {
  background: linear-gradient(145deg,#ffc94c,#ef991d) !important;
}
.category-alert-card .alert-pet-card[data-alert-pet="fish"] {
  background: linear-gradient(145deg,#35bee1,#168fb4) !important;
}
.category-alert-card .alert-pet-card[data-alert-pet="reptiles"] {
  background: linear-gradient(145deg,#5f6b7a,#384250) !important;
}
.category-alert-card .alert-pet-card[data-alert-pet="horses"] {
  background: linear-gradient(145deg,#bd7a4b,#80421f) !important;
}
.category-alert-card .alert-pet-card[data-alert-pet] {
  border-color: transparent !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 9px 20px rgba(8,45,89,.12) !important;
}
.category-alert-card .alert-pet-card[data-alert-pet] span {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.category-alert-card .alert-pet-card[data-alert-pet]:hover,
.category-alert-card .alert-pet-card[data-alert-pet].is-selected {
  border-color: rgba(255,255,255,.92) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  filter: brightness(1.06);
  box-shadow: 0 12px 24px rgba(8,45,89,.18) !important;
}
.category-alert-card .alert-pet-card[data-alert-pet].is-selected {
  outline: 3px solid rgba(255,255,255,.92);
  outline-offset: -6px;
}

/* Deal Feed animal pills — single canonical colour system. */
.deal-feed-filters button[data-feed-pet="dogs"] {
  background: linear-gradient(145deg,#ff5f92,#e92e77);
}
.deal-feed-filters button[data-feed-pet="cats"] {
  background: linear-gradient(145deg,#9270e8,#6344c2);
}
.deal-feed-filters button[data-feed-pet="small-pets"] {
  background: linear-gradient(145deg,#42bf75,#178e4e);
}
.deal-feed-filters button[data-feed-pet="birds"] {
  background: linear-gradient(145deg,#ffc94c,#ef991d);
}
.deal-feed-filters button[data-feed-pet="fish"] {
  background: linear-gradient(145deg,#35bee1,#168fb4);
}
.deal-feed-filters button[data-feed-pet="reptiles"] {
  background: linear-gradient(145deg,#5f6b7a,#384250);
}
.deal-feed-filters button[data-feed-pet="horses"] {
  background: linear-gradient(145deg,#bd7a4b,#80421f);
}
.deal-feed-filters button[data-feed-pet]:not([data-feed-pet=""]) {
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 14px rgba(8,45,89,.12);
}
.deal-feed-filters button[data-feed-pet]:not([data-feed-pet=""]):hover,
.deal-feed-filters button[data-feed-pet]:not([data-feed-pet=""]).is-active {
  color: #fff;
  filter: brightness(1.08);
  outline: 2px solid rgba(255,255,255,.88);
  outline-offset: -4px;
  transform: translateY(-1px);
}


/* Final Shop by Animal interaction restoration. */
.nav-menu > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-menu-chevron {
  display: inline-flex !important;
  width: 12px;
  height: 8px;
  margin: 0 !important;
  transform-origin: 50% 50%;
  transition: transform .24s cubic-bezier(.2,.75,.3,1);
}
.nav-menu-chevron svg {
  display: block;
  width: 100%;
  height: 100%;
}
.nav-menu.open > button .nav-menu-chevron,
.nav-menu > button[aria-expanded="true"] .nav-menu-chevron {
  transform: rotate(180deg);
}
.nav-menu.is-closing .mega-menu,
.nav-menu.is-closing:hover .mega-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate(-50%,-6px) !important;
}


/* Final authoritative Shop by Animal click-toggle behaviour.
   The menu opens only when JavaScript applies .open; hover cannot force it open. */
.nav-menu:not(.open) .mega-menu,
.nav-menu:not(.open):hover .mega-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate(-50%, -6px) !important;
}
.nav-menu.open .mega-menu,
.nav-menu.open:hover .mega-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translate(-50%, 0) !important;
}


/* ========================================================================
   PETDEALS LIVE — chronological, filterable verified-deal stream
   ======================================================================== */
.deal-feed-saving-filter {
  flex: 0 0 auto;
  margin: 0 0 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 12px;
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(8,45,89,.05);
}
.deal-feed-saving-filter span {
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .1em;
}
.deal-feed-saving-filter strong {
  color: var(--pink);
  font-size: 12px;
}
.deal-feed-saving-filter input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--pink);
  cursor: pointer;
}
.deal-feed-product-copy time {
  display: block;
  margin: 0 0 5px;
  color: rgba(255,255,255,.94);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
}
.deal-feed-event-product.is-new {
  animation: liveDealArrive .62s cubic-bezier(.18,.82,.24,1) both;
}
@keyframes liveDealArrive {
  0% { opacity: 0; transform: translateY(-18px) scale(.985); }
  58% { opacity: 1; transform: translateY(3px) scale(1); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.deal-feed-list {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  .deal-feed-event-product.is-new { animation: none; }
}


/* PETDEALS LIVE FEED V2 — compact streaming tiles */
.deal-feed-list { display:flex; flex-direction:column; gap:10px; overflow-anchor:none; }
.deal-feed-tile { position:relative; flex:0 0 auto; min-height:94px; overflow:hidden; border:1px solid #dfe8ef; border-radius:16px; background:#fff; box-shadow:0 8px 22px rgba(8,45,89,.07); }
.deal-feed-tile::before { content:""; position:absolute; inset:0 auto 0 0; width:5px; background:var(--feed-accent,#2d9f5b); }
.deal-feed-tile-main { width:100%; padding:10px 12px 10px 15px; border:0; background:transparent; display:grid; grid-template-columns:72px 1fr; gap:12px; align-items:center; text-align:left; cursor:pointer; }
.deal-feed-tile-image { width:72px; height:72px; border-radius:12px; background:#f7fafc; display:grid; place-items:center; overflow:hidden; }
.deal-feed-tile-image img { max-width:88%; max-height:88%; object-fit:contain; }
.deal-feed-tile-copy { min-width:0; display:block; }
.deal-feed-tile-meta { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:5px; }
.deal-feed-tile-meta time { color:#178e4e; font-size:9px; font-weight:950; letter-spacing:.08em; }
.deal-feed-tile-meta em { color:var(--feed-accent,#2d9f5b); font-size:9px; font-weight:900; font-style:normal; text-transform:uppercase; }
.deal-feed-tile-copy>strong { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; color:var(--navy); font-size:12px; line-height:1.35; }
.deal-feed-tile-price { display:flex; align-items:baseline; gap:8px; margin-top:6px; }
.deal-feed-tile-price b { color:#e52e65; font-size:14px; }
.deal-feed-tile-price span { color:var(--navy); font-size:13px; font-weight:900; }
.deal-feed-tile-copy small { display:block; margin-top:5px; color:#6b7d90; font-size:9px; font-weight:900; letter-spacing:.05em; }
.feed-pink{--feed-accent:#e92e77}.feed-purple{--feed-accent:#6344c2}.feed-green{--feed-accent:#178e4e}.feed-gold{--feed-accent:#ef991d}.feed-blue{--feed-accent:#168fb4}.feed-violet{--feed-accent:#384250}.feed-brown{--feed-accent:#80421f}.feed-navy{--feed-accent:#082d59}
.deal-feed-tile.is-new { animation:liveFeedInsert .52s cubic-bezier(.2,.75,.3,1) both; }
@keyframes liveFeedInsert { from { opacity:0; transform:translateY(-18px); } to { opacity:1; transform:translateY(0); } }
.deal-feed-waiting { padding:34px 18px; border:1px dashed #cbd9e3; border-radius:18px; text-align:center; color:var(--muted); background:#f8fbfd; }
.deal-feed-waiting strong,.deal-feed-waiting p { display:block; }
.deal-feed-waiting strong { margin-top:12px; color:var(--navy); font-size:11px; letter-spacing:.08em; }
.deal-feed-waiting p { margin:7px 0 0; font-size:11px; line-height:1.45; }
@media(max-width:540px){.deal-feed-tile-main{grid-template-columns:62px 1fr}.deal-feed-tile-image{width:62px;height:62px}}
@media(prefers-reduced-motion:reduce){.deal-feed-tile.is-new{animation:none}}

/* PETDEALS LIVE FEED — interaction and newly-arrived emphasis */
.deal-feed-tile {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.deal-feed-tile-main {
  transition: background-color .22s ease;
}

.deal-feed-tile-image img {
  transition: transform .25s ease;
}

.deal-feed-tile-copy small {
  transition: transform .22s ease, color .22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .deal-feed-tile:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--feed-accent, #2d9f5b) 38%, #dfe8ef);
    box-shadow: 0 16px 34px rgba(8,45,89,.14), 0 4px 12px rgba(8,45,89,.06);
  }

  .deal-feed-tile:hover .deal-feed-tile-main {
    background: rgba(248,251,253,.72);
  }

  .deal-feed-tile:hover .deal-feed-tile-image img {
    transform: scale(1.045);
  }

  .deal-feed-tile:hover .deal-feed-tile-copy small {
    color: var(--feed-accent, #2d9f5b);
    transform: translateX(3px);
  }
}

.deal-feed-tile.is-new {
  animation:
    liveFeedInsert .52s cubic-bezier(.2,.75,.3,1) both,
    liveFeedFreshness 5s ease-out both;
}

@keyframes liveFeedFreshness {
  0%, 12% {
    border-color: color-mix(in srgb, var(--feed-accent, #2d9f5b) 62%, white);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--feed-accent, #2d9f5b) 18%, transparent), 0 14px 30px rgba(8,45,89,.12);
  }
  100% {
    border-color: #dfe8ef;
    box-shadow: 0 8px 22px rgba(8,45,89,.07);
  }
}

@media (prefers-reduced-motion: reduce) {
  .deal-feed-tile,
  .deal-feed-tile-main,
  .deal-feed-tile-image img,
  .deal-feed-tile-copy small {
    transition: none;
  }
  .deal-feed-tile.is-new {
    animation: none;
  }
}

/* ========================================================================
   PETDEALS v1.0 FINAL POLISH
   ======================================================================== */
.deal-feed-header-copy { min-width: 0; }
.deal-feed-live-title {
  display: flex;
  align-items: center;
  gap: 11px;
}
.deal-feed-live-title h2 { margin: 0; }
.deal-feed-header-radar {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2d9f5b;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.18), 0 5px 14px rgba(45,159,91,.28);
}
.deal-feed-header-radar::before,
.deal-feed-header-radar::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1.5px solid rgba(45,191,117,.52);
  border-radius: 50%;
  animation: dealFeedHeaderPulse 2.2s ease-out infinite;
}
.deal-feed-header-radar::after {
  inset: -13px;
  opacity: .45;
  animation-delay: .7s;
}
@keyframes dealFeedHeaderPulse {
  0% { transform: scale(.62); opacity: .82; }
  100% { transform: scale(1.16); opacity: 0; }
}
.deal-feed-header p {
  margin-top: 7px;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
}

/* The launcher has already done its job while the drawer is open. */
body.deal-feed-open .deal-feed-launcher .deal-feed-radar::before,
body.deal-feed-open .deal-feed-launcher .deal-feed-radar-ring {
  animation-play-state: paused;
  opacity: 0;
}
body.deal-feed-open .deal-feed-launcher .deal-feed-radar {
  box-shadow: 0 12px 28px rgba(8,45,89,.16), 0 0 0 1px rgba(23,142,78,.16);
}

/* Interactive 30-day history points. */
.history-chart-point {
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
  transition: r .16s ease, transform .16s ease, filter .16s ease;
  outline: none;
}
.history-chart-point:hover,
.history-chart-point:focus {
  r: 8px;
  transform: scale(1.08);
  filter: drop-shadow(0 3px 5px rgba(8,45,89,.28));
}
.history-chart-tooltip { pointer-events: none; }

/* Mobile launcher remains visible beneath the sticky site header. */
@media (max-width: 820px) {
  .deal-feed-launcher {
    position: fixed !important;
    top: 74px !important;
    right: 12px !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    z-index: 1000 !important;
    filter: drop-shadow(0 10px 24px rgba(15,23,42,.16));
  }
  .deal-feed-launcher:hover,
  .deal-feed-launcher:focus-visible { transform: translateY(-2px) !important; }
}

@media (prefers-reduced-motion: reduce) {
  .deal-feed-header-radar::before,
  .deal-feed-header-radar::after { animation: none; }
  .history-chart-point { transition: none; }
}


/* PETDEALS brand lockup */
.brand-wordmark{align-items:baseline;gap:0;}
.brand-wordmark .word-pet{color:#2db0e0;}
.brand-wordmark .word-shop{color:#082d59;}
.brand-wordmark .brand-byline{
  margin-left:.42em;
  color:#66778c;
  font-size:.34em;
  font-weight:800;
  letter-spacing:0;
  white-space:nowrap;
}
.brand-mini.brand-wordmark .brand-byline{font-size:9px;}
.footer-logo.brand-wordmark .brand-byline{font-size:8px;}
@media (max-width:540px){
  .hero-brand.brand-wordmark .brand-byline{display:block;margin:.45em 0 0;font-size:10px;}
}


/* PETDEALS final brand lockup: byline is a deliberate second line. */
.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  line-height: 1;
  white-space: nowrap;
}
.brand-lockup .brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}
.brand-lockup .brand-byline {
  display: block;
  margin: 0;
  color: #66778c;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.1;
  text-transform: none;
}
.brand-mini.brand-lockup .brand-name { font-size: 24px; }
.brand-mini.brand-lockup .brand-byline { font-size: 9px; }
.hero-brand.brand-lockup .brand-name { font-size: clamp(31px,3.4vw,48px); }
.hero-brand.brand-lockup .brand-byline { font-size: 11px; }
.footer-logo.brand-lockup {
  align-items: center;
  width: auto;
  max-height: none;
  margin: 0 auto 7px;
}
.footer-logo.brand-lockup .brand-name { font-size: 23px; }
.footer-logo.brand-lockup .brand-byline { font-size: 8px; }

/* Seven animal cards: two columns across, four rows down, no clipping. */
.mega-menu {
  width: min(820px, calc(100vw - 40px)) !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  max-height: none !important;
  overflow: visible !important;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .mega-menu {
    width: min(760px, calc(100vw - 28px)) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 540px) {
  .brand-mini.brand-lockup .brand-name { font-size: 19px; }
  .hero-brand.brand-lockup .brand-name { font-size: 34px; }
  .hero-brand.brand-lockup .brand-byline { font-size: 10px; }
  .mega-menu {
    grid-template-columns: 1fr !important;
    max-height: calc(100vh - 100px) !important;
    overflow-y: auto !important;
  }
}
