/* ==========================================================================
   Design tokens — measured from the reference capture
   ========================================================================== */
:root {
  --primary: #4a8138;
  --primary-dark: #3b672d;
  --heading: #427233;
  --body: #1b1b1b;
  --muted: #5f5f5f;
  --secondary: #70706f;
  --bg: #f4f4f4;
  --surface: #ffffff;
  --announcement-bg: #f5f5f5;
  --border: #dadae5;
  --line: #eeeeee;
  --danger: #a52717;
  --red: #b01d22;
  --gold: #f1c40f;
  --nav-line: #5e8b50;
  --radius: 10px;
  --radius-sm: 5px;
  --container: 1260px;
  --font: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --shadow-panel: 0 0 4px rgba(0, 0, 0, 0.08);
  --font-scale: 1;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  font-size: calc(14px * var(--font-scale));
  line-height: 1.5;
  color: var(--body);
  background: var(--bg);
}

body.contrast {
  --bg: #ffffff;
  --muted: #2a2a2a;
  --secondary: #333333;
  --line: #999999;
}

img,
svg {
  vertical-align: middle;
}

/* 所有界面图标（icon() 生成的 SVG）默认按当前字号缩放，
   避免没有专门尺寸规则时被渲染成 300×150 的巨图。 */
.ico {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
  vertical-align: -0.18em;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Announcement + header
   ========================================================================== */
.announcement {
  background: var(--announcement-bg);
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: #333;
  padding: 0 16px;
  text-align: center;
}

.announcement .truck {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.header-main {
  background: var(--surface);
}

.header-top {
  height: 128px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: start;
  line-height: 1;
  color: var(--body);
}

.logo-word {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1.4px;
  color: #1d1d1b;
  white-space: nowrap;
}

.logo-word .logo-und {
  color: #ec001a;
}

.logo-tagline {
  margin-top: 5px;
  margin-left: 33px;
  font-size: 15px;
  letter-spacing: 0.1px;
  color: var(--secondary);
  white-space: nowrap;
}

.logo-img {
  height: 67px;
  width: auto;
  display: block;
}

.brand-logo {
  max-width: 94%;
  max-height: 94px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.shop-logo-img {
  max-width: 100%;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.search {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 275px;
  max-width: 100%;
  height: 40px;
}

.search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid var(--border);
  border-right: 0;
  border-radius: 3px 0 0 3px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 14px;
  color: #333;
  background: #fff;
}

.search input::placeholder {
  color: #8a8a8a;
}

.search button {
  flex: 0 0 40px;
  width: 40px;
  border: 0;
  border-radius: 0 3px 3px 0;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
}

.search button:hover {
  background: var(--primary-dark);
}

.search-suggestions {
  position: absolute;
  z-index: 40;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  display: none;
}

.search-suggestions.open {
  display: block;
}

.search-suggestions a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  font-size: 13px;
  color: #333;
  border-bottom: 1px solid var(--line);
}

.search-suggestions a:last-child {
  border-bottom: 0;
}

.search-suggestions a:hover {
  background: #f7f7f7;
  color: var(--heading);
}

.search-suggestions .price {
  color: var(--heading);
  font-weight: 700;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0;
  justify-self: end;
}

.action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  border: 0;
  background: none;
  padding: 0 17px;
  color: var(--secondary);
  font-size: 13px;
  line-height: 1;
}

.action-circle {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}

.action:hover .action-circle {
  background: var(--primary-dark);
}

.action-circle svg {
  width: 20px;
  height: 20px;
}

.action:hover {
  color: var(--primary-dark);
}

.action-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  background: #fff;
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border: 1px solid var(--primary);
}

.action-count[hidden] {
  display: none;
}

.header-bottom {
  display: none;
}

.hamburger {
  width: 34px;
  height: 34px;
  border: 0;
  background: none;
  padding: 4px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.hamburger span {
  display: block;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-row {
  background: var(--surface);
  border-bottom: 2px solid var(--nav-line);
}

.nav-inner {
  height: 43px;
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-inner li {
  display: flex;
}

.nav-inner a {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 16px;
  color: #333;
  white-space: nowrap;
}

.nav-inner a:hover,
.nav-inner a.active {
  color: var(--primary);
}

/* ==========================================================================
   Hero carousel
   ========================================================================== */
.hero {
  position: relative;
  margin: 0;
}

.hero-viewport {
  overflow: hidden;
  border-radius: 0;
}

.hero-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.hero-slide.has-photo {
  display: block;
  height: auto;
  align-self: flex-start;
}

.hero-photo {
  width: 100%;
  height: auto;
  display: block;
}

.hero-photo-link {
  position: absolute;
  left: 78.3%;
  right: 2.9%;
  top: 75%;
  bottom: 10%;
  z-index: 3;
  border-radius: 24px;
  color: transparent;
  font-size: 0;
}

.hero-slide.has-photo[data-tone='green'] .hero-photo-link {
  left: 50.2%;
  right: 40.6%;
  top: 76%;
  bottom: 14%;
  border-radius: 30px;
}

.hero-photo-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.hero-slide.has-photo picture,
.hero-slide.has-photo source {
  width: 100%;
  height: 100%;
}

.hero-slide.has-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  height: 360px;
  display: grid;
  grid-template-columns: 46.7% 26.6% 26.7%;
  background: var(--surface);
  border: 0;
  border-radius: 0;
  overflow: hidden;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  background: #dfe9f2;
}

.hero-visual .scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-lockup {
  position: absolute;
  left: 26px;
  top: 24px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 2px;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.hero-lockup strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #163a5e;
}

.hero-lockup span {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #5f6c78;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 14px;
  color: var(--red);
}

.hero-slide[data-tone='green'] .hero-copy,
.hero-slide[data-tone='green'] .hero-kicker,
.hero-slide[data-tone='green'] .hero-title,
.hero-slide[data-tone='green'] .hero-sub {
  color: var(--heading);
}

.hero-kicker {
  font-size: 64px;
  font-weight: 700;
  line-height: 0.95;
  color: var(--red);
}

.hero-title {
  font-size: 38px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--red);
  margin-top: 2px;
}

.hero-rule {
  width: 150px;
  height: 2px;
  background: currentColor;
  margin: 13px 0 18px;
  opacity: 0.9;
}

.hero-sub {
  font-size: 24px;
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--red);
  max-width: 300px;
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 20px 54px 0;
}

.hero-packs {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-left: 2px;
}

.hero-pack {
  width: 132px;
  flex: 0 0 auto;
}

.hero-pack svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-cta {
  position: absolute;
  right: 28px;
  bottom: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px 0 24px;
  border: 0;
  border-radius: 22px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.hero-cta span.arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  display: grid;
  place-items: center;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 40px;
  height: 54px;
  border: 0;
  background: none;
  color: #fff;
  display: none;
  place-items: center;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.55));
}

.hero-arrow.prev {
  left: 2px;
}

.hero-arrow.next {
  right: 2px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 7px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #bcc1c7;
}

.hero-dot.active {
  background: #afb5bd;
}

/* ==========================================================================
   White content panel
   ========================================================================== */
.main {
  padding-top: 0;
  padding-bottom: 0;
}

.content-panel {
  background: var(--surface);
  border-radius: var(--radius);
  margin-top: 18px;
  padding: 22px 40px 40px;
  box-shadow: var(--shadow-panel);
}

.section-title {
  font-size: calc(1.3rem + 0.6vw);
  line-height: 1.2;
  font-weight: 700;
  color: var(--heading);
  text-align: center;
}

@media (min-width: 1200px) {
  .section-title,
  .brands-title {
    font-size: 28px;
  }

  .main {
    padding-top: 0;
  }

  .hero {
    margin-bottom: 16px;
  }

  .content-panel {
    margin-top: 0;
  }

  .hero-kicker {
    font-size: 84px;
  }

  .hero-title {
    font-size: 42px;
  }

  .header-bottom .search {
    width: 263px;
  }

  .hero-dots {
    display: flex;
  }

  .hero-arrow {
    display: grid;
  }

  .announcement .truck {
    display: block;
  }
}

/* Offers */
.offers-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.offers-title {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--heading);
}

.tabs {
  display: flex;
  align-items: center;
  gap: 38px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tabs li {
  display: flex;
}

.tab {
  border: 0;
  background: none;
  padding: 2px 0 4px;
  font-size: 16px;
  color: var(--secondary);
  border-bottom: 2px solid transparent;
}

.tab[aria-selected='true'] {
  color: var(--heading);
  font-weight: 700;
}

.tab:hover {
  color: var(--heading);
}

.offers-body {
  position: relative;
  margin-top: 64px;
}

.carousel {
  position: relative;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-btn {
  position: absolute;
  top: 38%;
  z-index: 5;
  width: 36px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #6f6f6f;
  display: grid;
  place-items: center;
  padding: 0;
}

.carousel-btn:hover {
  color: var(--heading);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.carousel-btn.prev {
  left: -18px;
}

.carousel-btn.next {
  right: -18px;
}

.product-card {
  flex: 0 0 25%;
  max-width: 25%;
  scroll-snap-align: start;
  padding: 0 8px 30px;
  text-align: center;
}

.product-media {
  height: 280px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.product-media svg {
  width: 280px;
  height: 280px;
  max-width: 100%;
}

.product-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--body);
  line-height: 1.35;
  min-height: 41px;
}

.product-name:hover {
  color: var(--heading);
}

.product-desc {
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
  margin: 7px 0 16px;
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.3;
}

.product-old {
  font-size: 15px;
  font-weight: 700;
  color: #cb3333;
  text-decoration: line-through;
  margin-left: 6px;
}

.product-unit {
  font-size: 12px;
  color: var(--secondary);
  margin-top: 1px;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 1px;
  margin-top: 6px;
  height: 15px;
}

.stars .star {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 15px;
  color: #e3e3e3;
}

.stars .star.on {
  color: #f1c40f;
}

/* Brands */
.brands {
  margin-top: 70px;
}

.brands-title {
  font-size: calc(1.3rem + 0.6vw);
  line-height: 1.2;
  font-weight: 700;
  color: var(--heading);
  text-align: center;
}

.brand-track {
  margin-top: 18px;
}

.brand-slide {
  flex: 0 0 20%;
  max-width: 20%;
  scroll-snap-align: start;
  height: 180px;
  display: grid;
  place-items: center;
  padding: 0 10px;
}

.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--brand-color, #333);
  line-height: 1.1;
}

.brand-mark {
  width: 76px;
  height: 76px;
  margin-bottom: 6px;
}

.brand-name {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.6px;
}

.brand-sub {
  margin-top: 5px;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: #4a4a4a;
}

/* Tips */
.tips {
  margin-top: 48px;
}

.tips-title {
  margin-bottom: 30px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  align-items: stretch;
}

.tip-card {
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tip-media {
  height: 396px;
  overflow: hidden;
  background: #e7ece2;
}

.tip-media .scene,
.cat-media .scene {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.45s ease;
}

img.scene,
.tip-media img,
.cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-media img {
  width: 280px;
  height: 280px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.shop-animal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

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

.tip-card:hover .scene {
  transform: scale(1.03);
}

.tip-body {
  padding: 26px 20px 30px;
  text-align: center;
}

.tip-title {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 10px;
}

.tip-text {
  font-size: 15px;
  line-height: 1.45;
  color: #333;
}

/* Categories */
.categories {
  margin-top: 58px;
}

.categories-title {
  margin-bottom: 34px;
}

@media (min-width: 1200px) {
  .brands-title,
  .section-title {
    font-size: 28px;
  }

  .categories-title {
    font-size: 30px;
  }
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 40px;
}

.cat-tile {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: #dfe8d6;
  display: block;
}

.cat-tile img.scene {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cat-tile:hover .scene {
  transform: scale(1.04);
}

.cat-tile .cat-media {
  position: absolute;
  inset: 0;
}

.cat-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  z-index: 2;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}

/* Brand shops */
.shops {
  margin-top: 62px;
  margin-left: -20px;
  margin-right: -20px;
}

.shops-title {
  margin-bottom: 40px;
}

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

.shop-card {
  position: relative;
  min-height: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
  padding: 38px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.shop-bottom {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.shop-logo {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--shop-color, #333);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.3px;
  align-self: flex-start;
  margin-bottom: 70px;
}

.shop-logo .brand-mark {
  width: 34px;
  height: 34px;
  margin: 0;
}

.shop-animal {
  position: absolute;
  right: -12%;
  bottom: -25px;
  top: auto;
  height: 360px;
  width: auto;
  z-index: 1;
  opacity: 0.98;
}

.shop-animal img {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
}

.shop-animal svg {
  width: 100%;
  height: 100%;
}

.shop-target {
  position: relative;
  z-index: 3;
  font-size: 18px;
  line-height: 25px;
  font-weight: 700;
  color: var(--heading);
  margin: 0;
  max-width: none;
}

.shop-cta {
  position: relative;
  z-index: 3;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  height: auto;
  padding: 2px 12px;
  border-radius: 10px;
  background: linear-gradient(to bottom, #508c3e 0%, #4d873c 33%, #427433 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 34px;
  border: 0;
}

.shop-cta:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* The reference's brand-shop + SEO section runs as a white band across the
   full window from tablet width up, while staying inside the page gutter on
   phones. */
.white-band {
  position: relative;
  z-index: 0;
  background: #fff;
}

@media (min-width: 576px) {
  .white-band::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #fff;
  }
}

/* SEO copy */
.seo {
  margin-top: 10px;
  margin-left: -20px;
  margin-right: -20px;
  padding: 0 2px;
  text-align: center;
}

.seo-title {
  font-size: 30px;
  line-height: 28px;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 20px;
}

.seo-lead {
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 12px;
}

.seo-block {
  margin-top: 0;
}

.seo-block h2 {
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  color: var(--heading);
  margin: 28px 0 10px;
}

.seo-block p {
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
  color: #70706f;
  margin: 0 0 20px;
}

/* ==========================================================================
   Newsletter + footer
   ========================================================================== */
.newsletter {
  position: relative;
  margin-top: 0;
  height: 306px;
  overflow: hidden;
  color: #fff;
  border-bottom: 2px solid var(--primary);
}

.newsletter-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.newsletter-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px 44px;
}

.newsletter-copy {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.newsletter-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}

.newsletter-text {
  font-size: 15px;
  line-height: 1.4;
}

.newsletter-btn {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-sm);
  background: #5fb244;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.newsletter-btn:hover {
  background: #4f9c36;
}

.footer {
  background: var(--bg);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding: 32px 20px 22px;
}

.footer-col-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 12px;
  min-height: 24px;
}

.footer-contact p {
  font-size: 14px;
  line-height: 1.55;
  color: #333;
  margin-bottom: 10px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: #333;
  line-height: 37px;
}

.footer-links a:hover {
  color: var(--heading);
  text-decoration: underline;
}

.social-list {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.social-list a {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.social-list svg {
  width: 22px;
  height: 22px;
}

.social-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--heading);
  margin: 28px 0 0;
}

.vet-badge {
  margin-top: 22px;
  width: 200px;
  max-width: 100%;
  background: #fff;
  border: 0;
  padding: 0;
  color: #222;
}

/* The reference's start page leaves the VET badge out of the footer while
   the legal pages and the wishlist show it. */
body[data-page='home'] .vet-badge {
  display: none;
}

.vet-badge .vet-top {
  background: #2f80b9;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 4px;
  text-align: center;
  padding: 14px 0;
}

.vet-badge .vet-bottom {
  font-size: 13px;
  line-height: 1.3;
  padding: 8px 10px 0;
  color: #23527c;
  font-weight: 700;
}

.vet-badge .vet-flag {
  display: inline-block;
  width: 18px;
  height: 12px;
  margin-right: 6px;
  background: linear-gradient(#111 33%, #d21 33% 66%, #f2c200 66%);
  vertical-align: -1px;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 4px 20px 18px;
  font-size: 11.9px;
  color: #333;
}

.footer-copy {
  text-align: center;
  justify-self: center;
}

.footer-ship {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: center;
}

.footer-pay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  flex-wrap: wrap;
}

.ship-mark {
  display: inline-flex;
  align-items: center;
  background: #f5f5f5;
  border: 1px solid #e3e3e3;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #b01d22;
}

.pay-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 6px;
  border: 1px solid #e3e3e3;
  background: #fff;
  border-radius: 2px;
  font-size: 9px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.2px;
}

.pay-mark.has-img {
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
}

.pay-mark.has-img img {
  display: block;
  width: auto;
  height: auto;
  max-height: 24px;
}

.ship-mark.has-img {
  background: none;
  border: 0;
  padding: 0;
}

.ship-mark.has-img img {
  display: block;
  width: 72px;
  height: auto;
}

.vet-badge > img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-legal-bar {
  background: #fff;
  border-top: 2px solid var(--primary);
}

.footer-legal {
  padding: 5px 3px;
  font-size: 11.9px;
  color: #333;
  text-align: center;
}

/* The reference only offers its consent settings through the CMP recall
   control, so this duplicate footer link stays out of the rendered page. */
#footer-cookie-link {
  display: none;
}

.footer-edit-link {
  margin-left: 12px;
  color: #70706f;
  text-decoration: underline;
}

.footer-edit-link:hover {
  color: var(--heading);
}

.footer-accordion {
  display: none;
}

/* ==========================================================================
   Floating controls
   ========================================================================== */
.a11y-fab {
  position: fixed;
  left: 10px;
  bottom: 10px;
  z-index: 130;
  width: 46px;
  height: 46px;
  border: 0;
  background: var(--heading);
  color: #fff;
  display: grid;
  place-items: center;
}

.a11y-fab svg {
  width: 28px;
  height: 28px;
}

.cookie-badge {
  position: fixed;
  left: 62px;
  bottom: 10px;
  z-index: 130;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #d5d5d5;
  background: #fff;
  color: var(--red);
  display: grid;
  place-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.cookie-badge svg {
  width: 19px;
  height: 19px;
}

.cookie-badge:hover {
  color: var(--heading);
}

/* The reference keeps its recall badge above the consent dialog so the
   settings can be reopened. */
body.consent-open .cookie-badge {
  z-index: 140;
}

.editor-fab {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 70;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}

.editor-fab:hover {
  background: #f6faf3;
  color: var(--primary-dark);
}

.a11y-panel {
  position: fixed;
  left: 10px;
  bottom: 64px;
  z-index: 75;
  width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.2);
  padding: 16px;
  display: none;
}

.a11y-panel.open {
  display: block;
}

.a11y-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.a11y-panel-head .a11y-panel-title {
  margin-bottom: 0;
}

.panel-close,
.consent-close,
.flyout-close {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  color: #555;
  border-radius: 4px;
  cursor: pointer;
}

.panel-close:hover,
.consent-close:hover,
.flyout-close:hover {
  color: #1b1b1b;
  background: rgba(0, 0, 0, 0.06);
}

.panel-close svg,
.consent-close svg,
.flyout-close svg {
  width: 18px;
  height: 18px;
}

/* 弹窗右上角的关闭按钮浮在留白处，不挤动标题与 logo */
.consent-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
}

.a11y-panel h2,
.a11y-panel-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 12px;
}

.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0;
  font-size: 13px;
}

.a11y-row button {
  border: 1px solid var(--border);
  background: #fff;
  height: 30px;
  min-width: 34px;
  border-radius: 3px;
}

/* ==========================================================================
   Overlays, drawers, dialogs
   ========================================================================== */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(20, 24, 20, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: 400px;
  max-width: 100%;
  height: 100%;
  background: #fff;
  transform: translateX(101%);
  transition: transform 0.28s ease, visibility 0.28s ease;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.18);
}

.drawer.open {
  transform: none;
  visibility: visible;
}

.drawer.left {
  right: auto;
  left: 0;
  transform: translateX(-101%);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
}

.drawer.left.open {
  transform: none;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
}

.drawer-close {
  width: 34px;
  height: 34px;
  border: 0;
  background: none;
  color: #555;
  display: grid;
  place-items: center;
}

.drawer-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 22px;
}

.drawer-foot {
  border-top: 1px solid var(--line);
  padding: 18px 22px;
}

.menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  color: #333;
}

.menu-list a span {
  flex: 1 1 auto;
}

.menu-list a svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--secondary);
}

.menu-list a:hover {
  color: var(--heading);
}

.menu-sub {
  margin-top: 24px;
}

.menu-sub h3,
.menu-sub-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--secondary);
  margin-bottom: 6px;
}

.menu-sub a {
  display: block;
  padding: 8px 0;
  color: #333;
  font-size: 14px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: #fff;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  color: #333;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.btn:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn.secondary {
  background: #fff;
  color: #333;
  border: 1px solid var(--border);
}

.btn.secondary:hover {
  background: #f7f7f7;
  color: #333;
}

.btn.block {
  width: 100%;
}

.hint {
  font-size: 12px;
  color: var(--secondary);
  line-height: 1.45;
}

.drawer-links {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.empty-state {
  text-align: center;
  padding: 40px 0;
  color: var(--secondary);
}

.empty-state svg {
  width: 54px;
  height: 54px;
  color: #c9c9c9;
  margin-bottom: 14px;
}

.empty-state h3,
.empty-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 6px;
}

.empty-state p {
  font-size: 14px;
}

/* Modal dialog */
.modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  place-items: center;
  grid-template-columns: 100%;
  background: rgba(20, 24, 20, 0.5);
  padding: 20px;
}

.modal.open {
  display: grid;
}

.modal-box {
  width: 520px;
  max-width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  position: relative;
}

.modal-box h2,
.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 6px;
}

.modal-box p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.modal-close {
  position: sticky;
  top: 0;
  z-index: 3;
  float: right;
  width: 36px;
  height: 36px;
  margin: -12px -12px 0 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #555;
  cursor: pointer;
}

.modal-close:hover {
  background: #efefef;
  color: #111;
}

.modal-close svg {
  width: 20px;
  height: 20px;
  display: block;
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.search-result {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: center;
}

.search-result svg {
  width: 100%;
  max-width: 150px;
  height: auto;
}

.search-result strong {
  display: block;
  font-size: 13px;
  margin-top: 6px;
}

.search-result span {
  color: var(--heading);
  font-weight: 700;
  font-size: 14px;
}

/* Consent manager */
.consent {
  position: absolute;
  top: -200vh;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 16px;
  background: #cfcfcfb3;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
}

html.consent-open {
  scrollbar-width: none;
}

html.consent-open::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.consent.open {
  top: 0;
  opacity: 1;
  pointer-events: auto;
}

/* The reference capture shows the first-visit CMP over the product area
   rather than over the header, so it keeps that page position on the home
   page while the settings view still opens as a normal viewport dialog. */
body[data-page='home'] .consent.open.initial {
  top: 940px;
}

@media (min-width: 576px) and (max-width: 1199px) {
  body[data-page='home'] .consent.open.initial {
    top: 477px;
  }
}

@media (max-width: 575px) {
  body[data-page='home'] .consent.open.initial {
    top: 9738px;
    height: 603px;
  }

  body[data-page='home'] .consent.open.initial .consent-box {
    transform: translateY(246px);
  }
}

/* The settings view is almost viewport-high, so it sits above the shop bar
   (as in the reference) while the welcome dialog leaves the bar usable. */
.consent.open.settings-mode {
  z-index: 135;
}

.consent.open .consent-box:not(.settings) {
  transform: translateY(0);
}

.consent-box {
  width: 600px;
  max-width: calc(100vw - 24px);
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  pointer-events: auto;
  border-radius: 5px;
  border-top: 2px solid #fff;
  border-bottom: 5px solid #fff;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.75);
  padding: 30px 40px 10px;
  position: relative;
  font-size: 14.6667px;
  color: #1b1b1b;
}

.consent-box.settings {
  width: 800px;
  max-height: 90vh;
  padding: 44px 32px 20px;
}

.consent-head,
.consent-settings-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
}

body.hide-images .scene,
body.hide-images .shop-animal,
body.hide-images .newsletter-scene {
  visibility: hidden;
}

.consent-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  padding-top: 0;
  color: #3b3b3b;
}

.consent-logo {
  line-height: 1;
  text-align: left;
  color: #1d1d1b;
  flex: 0 0 auto;
}

.consent-logo .logo-img {
  height: 49px;
  width: auto;
  max-width: 220px;
}

.consent-logo .logo-word {
  font-size: 30px;
  letter-spacing: -1.2px;
}

.consent-logo .logo-tagline {
  font-size: 10px;
  margin-top: 3px;
}

.consent-text {
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 10px;
}

.consent-text .cmplink,
.cmplink {
  color: #4a8138;
  text-decoration: none;
}

.consent-text .cmplink:hover {
  text-decoration: underline;
}

.consent-purposes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 0;
  margin-bottom: 30px;
}

.switch-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  min-height: 28px;
}

.switch {
  position: relative;
  width: 42px;
  height: 21px;
  border: 0;
  border-radius: 11px;
  background: #bcc1c7;
  padding: 0;
  flex: 0 0 auto;
}

.switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease;
}

.switch[aria-pressed='true'] {
  background: #f94b5a;
}

.switch[aria-pressed='true']::after {
  transform: translateX(21px);
}

.switch.small {
  width: 34px;
  height: 21px;
}

.switch.small::after {
  width: 17px;
  height: 17px;
}

.switch.small[aria-pressed='true']::after {
  transform: translateX(13px);
}

.consent-buttons {
  display: block;
  text-align: center;
  margin-bottom: 10px;
}

.consent-buttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 35px;
  margin: 0 15px;
  font-size: 14.6667px;
  font-weight: 400;
  border-radius: 3px;
}

.consent-buttons .btn.ghost {
  background: #f5f5f5;
  color: #000;
}

.consent-buttons .btn.line {
  background: #f5f5f5;
  color: #000;
  border: 1px solid #d0d0d0;
}

.consent-all {
  display: inline-block;
  height: 35px;
  line-height: 35px;
  border-radius: 3px;
  font-size: 14.6667px;
  font-weight: 400;
  width: 200px;
  margin: 20px 0 0;
  background: #427233;
}

.consent-buttons .consent-all {
  margin: 20px 0 0;
}

.consent-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  font-size: 12px;
  margin-bottom: 0;
}

.consent-links a {
  color: #5f5f5f;
  padding: 5px 7px;
}

.consent-links .sep {
  color: #b9b9b9;
}

.consent-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: 9.33333px;
  color: #666;
  margin-top: 20px;
}

.lang-flag {
  width: 16px;
  height: 11px;
  border: 1px solid #ddd;
  object-fit: cover;
  display: inline-block;
  position: absolute;
  left: 4px;
  bottom: 4px;
}

.consent-powered {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cmp-shield {
  width: 14px;
  height: 14px;
  display: inline-block;
}

.consent-powered svg {
  width: 13px;
  height: 13px;
  color: #2f80b9;
}

.consent-settings-lead {
  font-size: 13px;
  line-height: 1.6;
  color: #5f5f5f;
  margin-bottom: 16px;
}

.consent-list {
  border-top: 1px solid #e2e2e2;
  max-height: 560px;
  overflow-y: auto;
  margin-bottom: 14px;
  padding-right: 6px;
}

.consent-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f5f5f5;
  border-bottom: 1px solid #e2e2e2;
  padding: 3px 12px;
  min-height: 28px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

.consent-provider {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 3px 12px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 13px;
  min-height: 29px;
}

.consent-provider .name {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #333;
}

.vend-icon {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  flex: 0 0 auto;
  background: #6b7a8f;
}

.vend-cmp {
  background: #2f6fb0;
  font-size: 9px;
}

.vend-facebook {
  background: #1877f2;
  font-family: Arial, sans-serif;
  font-size: 13px;
}

.vend-fuf {
  background: #ffffff;
  color: #c8102e;
  font-family: Georgia, serif;
  font-size: 14px;
}

.vend-google {
  background: #ffffff;
  color: #4285f4;
  border: 1px solid #e0e0e0;
  font-family: Arial, sans-serif;
  font-size: 11px;
}

.vend-klarna {
  background: #ffb3c7;
  color: #101010;
  font-size: 8px;
}

.vend-microsoft {
  background: #f3f3f3;
  color: #5a5a5a;
  font-size: 12px;
}

.vend-paypal {
  background: #003087;
  font-family: Arial, sans-serif;
  font-size: 11px;
}

.vend-polyfill {
  background: #e8eefc;
  color: #2f6fb0;
  font-size: 11px;
}

.vend-smartketer {
  background: #e5322d;
  font-size: 9px;
}

.consent-provider .tick {
  width: 14px;
  height: 14px;
  color: #1b6fa8;
}

.consent-provider .help {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #5a5a5a;
  color: #fff;
  font-size: 9px;
  line-height: 15px;
  text-align: center;
  display: inline-block;
}

.consent-settings-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
}

.consent-settings-actions .btn {
  flex: 0 0 200px;
  height: 35px;
  font-size: 14.6667px;
  font-weight: 400;
  border-radius: 3px;
}

.consent-settings-actions .btn.line {
  background: #f5f5f5;
  color: #000;
  border: 1px solid #d0d0d0;
}

.consent-settings-actions .btn.solid {
  flex: 0 0 200px;
  font-weight: 400;
  background: #427233;
  color: #ffffff;
}

/* ==========================================================================
   Editor hooks in preview
   ========================================================================== */
body.editing [data-edit],
body.editing [data-section] {
  cursor: pointer;
}

body.editing [data-edit]:hover {
  outline: 2px dashed rgba(74, 129, 56, 0.8);
  outline-offset: 2px;
}

body.editing .is-editing {
  outline: 3px solid #4a8138 !important;
  outline-offset: 2px;
}

body.preview .editor-fab,
body.preview .a11y-fab,
body.preview .a11y-panel {
  display: none;
}

body.editing .editor-fab {
  display: none;
}

/* ==========================================================================
   Responsive — 1200 / 991 / 575
   ========================================================================== */
@media (max-width: 1199px) {
  .container {
    padding: 0 10px;
  }

  .header-top {
    height: 109px;
    grid-template-columns: 1fr auto;
  }

  .header-top .search {
    display: none;
  }

  .logo-word {
    font-size: 34px;
  }

  .logo-img {
    height: 62px;
  }

  .brand-logo {
    max-height: 100px;
  }

  .logo-tagline {
    font-size: 13px;
  }

  .header-actions {
    align-items: center;
    gap: 18px;
  }

  .action {
    min-width: 48px;
    padding: 0 4px;
  }

  .action span.action-label {
    display: none;
  }

  .action {
    gap: 0;
  }

  .action-circle {
    width: 40px;
    height: 40px;
  }

  .header-bottom {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 82px;
    padding-top: 8px;
    padding-bottom: 26px;
  }

  .header-bottom .search {
    flex: 1 1 auto;
    width: auto;
    margin-left: auto;
    max-width: 251px;
    height: 38px;
  }

  .header-bottom .search button {
    flex-basis: 40px;
    width: 40px;
  }

  .nav-row {
    display: none;
  }

  .main {
    padding-top: 2px;
  }

  .hero {
    margin: 0;
  }

  .hero-viewport,
  .hero-slide {
    border-radius: 0;
  }

  .hero-slide {
    height: 172px;
    border-left: 0;
    border-right: 0;
    grid-template-columns: 42% 31% 27%;
  }

  .hero-kicker {
    font-size: 34px;
  }

  .hero-title {
    font-size: 21px;
  }

  .hero-sub {
    font-size: 9px;
    line-height: 1.3;
    max-width: 160px;
    letter-spacing: 0.3px;
  }

  .hero-rule {
    width: 80px;
    margin: 5px 0 6px;
  }

  .hero-lockup {
    left: 16px;
    top: 16px;
    padding: 4px 8px;
  }

  .hero-lockup strong {
    font-size: 14px;
  }

  .hero-lockup span {
    font-size: 8px;
  }

  .hero-copy {
    padding: 8px 10px;
  }

  .hero-pack {
    width: 64px;
  }

  .hero-art {
    padding: 8px 10px 34px 0;
  }

  .hero-cta {
    right: 10px;
    bottom: 10px;
    height: 28px;
    padding: 0 8px 0 12px;
    font-size: 9px;
    gap: 6px;
  }

  .hero-cta span.arrow {
    width: 16px;
    height: 16px;
  }

  .hero-dots {
    bottom: 6px;
    gap: 10px;
    display: none;
  }

  .hero-dot {
    width: 11px;
    height: 11px;
  }

  .hero-arrow {
    display: none;
  }

  .content-panel {
    margin: 21px 8px 0;
    border-radius: var(--radius);
    padding: 24px 20px 30px;
    box-shadow: var(--shadow-panel);
  }

  .offers-head {
    flex-direction: column;
    gap: 14px;
  }

  .offers-title {
    text-align: center;
  }

  .tabs {
    justify-content: center;
    gap: 34px;
  }

  .offers-body {
    margin-top: 26px;
  }

  .product-card {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .carousel-btn.prev {
    left: -8px;
  }

  .carousel-btn.next {
    right: -8px;
  }

  .brands {
    margin-top: 90px;
  }

  .brand-slide {
    flex: 0 0 50%;
    max-width: 50%;
    height: 250px;
  }

  .brand-logo {
    max-height: 175px;
  }

  .brand-mark {
    width: 104px;
    height: 104px;
  }

  .brand-name {
    font-size: 40px;
  }

  .tips {
    margin-top: 44px;
  }

  .tips-title {
    margin-bottom: 30px;
  }

  .tips-grid {
    gap: 40px;
  }

  .tip-media {
    height: 305px;
  }

  .tip-title {
    font-size: 24px;
  }

  .categories {
    margin-top: 48px;
  }

  .categories-title {
    margin-bottom: 26px;
  }

  .cat-grid {
    gap: 32px 40px;
  }

  .cat-tile {
    height: 330px;
  }

  .cat-label {
    font-size: 26px;
    bottom: 22px;
  }

  .shops {
    margin-top: 50px;
  }

  .shops-title {
    margin-bottom: 60px;
  }

  .shop-card {
    min-height: 0;
    padding: 38px;
  }

  .shop-logo {
    font-size: 17px;
  }

  .shop-target {
    font-size: 18px;
    max-width: none;
  }

  .shop-cta {
    font-size: 15px;
    height: auto;
    padding: 2px 12px;
  }

  .seo {
    margin-top: 48px;
    padding: 0 10px;
  }

  .seo-block p {
    line-height: 26px;
    font-size: 15px;
  }

  .newsletter {
    margin-top: 30px;
    height: 150px;
  }

  .newsletter-inner {
    padding: 0 10px 30px;
  }

  .newsletter-title {
    font-size: 26px;
  }

  .newsletter-text {
    font-size: 14px;
  }

  .footer-columns {
    padding: 44px 10px 26px;
    gap: 30px;
  }

  .footer-bottom {
    padding: 4px 10px 16px;
    font-size: 12px;
  }

  .footer-contact p,
  .footer-links a {
    font-size: 14px;
  }

  .footer-links a {
    line-height: 40px;
  }

  .footer-copy {
    text-align: left;
    justify-self: start;
  }

  .social-title {
    margin-top: 22px;
  }
}

@media (max-width: 1199px) {
  .brand-track .brand-slide:nth-child(n + 15) {
    display: none;
  }

  .hero-track .hero-clone:nth-child(n + 15) {
    display: none;
  }
}

@media (max-width: 991px) {
  .content-panel {
    padding: 22px 10px 26px;
  }

  .brand-slide {
    flex: 0 0 252px;
    max-width: 252px;
  }

  .cat-tile {
    height: 350px;
  }

  .tips-grid {
    gap: 30px 40px;
    max-width: 670px;
    margin-left: auto;
    margin-right: auto;
  }

  .tip-media {
    height: 330px;
  }

  .cat-grid {
    gap: 70px 40px;
    max-width: 670px;
    margin-left: auto;
    margin-right: auto;
  }

  .categories-title {
    margin-bottom: 40px;
  }

  .shops-grid {
    gap: 20px;
  }
}@media (max-width: 767px) {
  .tips-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .tip-title {
    font-size: 20px;
  }

  .tip-text {
    font-size: 13px;
  }

  .tip-body {
    padding: 20px 12px 24px;
  }

  .tip-media {
    height: 240px;
  }

  .cat-tile {
    height: 240px;
  }

  .cat-label {
    font-size: 22px;
    bottom: 18px;
  }

  .shop-card {
    min-height: 0;
  }

  .shop-logo {
    font-size: 15px;
  }

  .shop-logo-img {
    max-width: 100%;
    max-height: 90px;
  }

  .shop-logo .brand-mark {
    width: 26px;
    height: 26px;
  }

  .shop-target {
    font-size: 18px;
  }

  .shop-cta {
    font-size: 14px;
    height: auto;
  }
}

@media (max-width: 575px) {
  body {
    font-size: 12px;
  }

  .brand-track .brand-slide:nth-child(n + 13) {
    display: none;
  }

  .hero-track .hero-clone:nth-child(n + 13) {
    display: none;
  }

  .announcement {
    height: 38px;
    font-size: 12px;
    padding: 0 10px;
  }

  .container {
    padding: 0 10px;
  }

  .header-top {
    height: 78px;
    gap: 8px;
    padding-top: 0;
  }

  .logo-word {
    font-size: 21px;
    letter-spacing: -0.8px;
  }

  .logo-img {
    height: 35px;
  }

  .brand-logo {
    max-width: 200px;
    max-height: 120px;
  }

  .brand-item {
    width: 100%;
  }

  .logo-tagline {
    font-size: 10px;
    margin-top: 3px;
    margin-left: 28px;
  }

  .header-actions {
    gap: 0;
  }

  .action {
    min-width: 48px;
    padding: 0;
  }

  .action-circle {
    width: 40px;
    height: 40px;
  }

  .action:last-child {
    min-width: 44px;
  }

  .action-circle svg {
    width: 19px;
    height: 19px;
  }

  .header-bottom {
    height: 49px;
    padding-top: 3px;
    padding-bottom: 6px;
    gap: 10px;
  }

  .header-bottom .search {
    max-width: 252px;
    margin-left: 18px;
    height: 40px;
  }

  .header-bottom .search button {
    flex-basis: 40px;
    width: 40px;
  }

  .hero-slide {
    height: 320px;
    grid-template-columns: 1fr;
  }

  .hero-slide.hero-clone:nth-last-child(-n + 2) {
    display: none;
  }

  .hero-visual {
    position: absolute;
    inset: 0;
    opacity: 0.28;
  }

  .hero-lockup {
    z-index: 3;
    background: rgba(255, 255, 255, 0.9);
    left: 12px;
    top: 12px;
  }

  .hero-copy {
    position: relative;
    z-index: 3;
    padding: 10px 20px 40px;
    justify-content: center;
  }

  .hero-kicker {
    font-size: 42px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-sub {
    font-size: 12px;
    max-width: 240px;
  }

  .hero-rule {
    margin: 7px 0 9px;
  }

  .hero-art {
    display: block;
    height: 0;
    padding: 0;
    overflow: visible;
  }

  .hero-packs {
    display: none;
  }

  .hero-copy {
    padding-bottom: 86px;
  }

  .hero-cta {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 42px;
    z-index: 4;
  }

  .hero-dots {
    bottom: 8px;
  }

  .hero-dot {
    width: 12px;
    height: 12px;
  }

  .content-panel {
    margin: 7px -2px 0;
    border-radius: var(--radius);
    padding: 22px 8px 24px;
  }

  .offers-title {
    font-size: 30px;
    line-height: 1.24;
    max-width: 260px;
  }

  .tabs {
    gap: 0 30px;
    max-width: 260px;
  }

  .tab {
    font-size: 15px;
    padding: 0 0 2px;
  }

  .product-card {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 8px;
  }

  .product-media {
    height: 280px;
  }

  .carousel-btn.prev {
    left: -2px;
  }

  .carousel-btn.next {
    right: -2px;
  }

  .carousel-btn {
    top: 36%;
  }

  .brands {
    margin-top: 90px;
  }

  .brand-clone {
    display: none;
  }

  .brand-slide {
    flex: 0 0 100%;
    max-width: 100%;
    height: 230px;
  }

  .brand-mark {
    width: 64px;
    height: 64px;
  }

  .brand-name {
    font-size: 30px;
  }

  .tips {
    margin-top: 17px;
  }

  .tips-title {
    margin-bottom: 49px;
  }

  .tips-grid {
    grid-template-columns: 1fr;
    gap: 31px;
    justify-items: center;
    max-width: calc(100% - 64px);
    margin-left: auto;
    margin-right: auto;
  }

  .tip-card {
    width: 100%;
    max-width: 100%;
  }

  .tip-media {
    height: 342px;
  }

  .tip-title {
    font-size: 24px;
    line-height: 1.3;
  }

  .tip-body {
    padding: 46px 20px 30px;
  }

  .categories {
    margin-top: 41px;
  }

  .categories-title {
    font-size: 30px;
    margin-bottom: 38px;
  }

  .cat-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    justify-items: center;
    max-width: calc(100% - 68px);
    margin-left: auto;
    margin-right: auto;
  }

  .cat-tile {
    width: 100%;
    max-width: 100%;
    height: 340px;
    aspect-ratio: auto;
  }

  .cat-label {
    font-size: 30px;
    bottom: 20px;
  }

  .shops {
    margin-top: 70px;
  }

  .shops-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    justify-items: center;
    max-width: calc(100% - 24px);
    margin-left: auto;
    margin-right: auto;
  }

  .shop-card {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: 294px;
    padding: 38px;
  }

  .shop-animal {
    height: 230px;
    right: -4%;
    bottom: -8px;
  }

  .shop-target {
    white-space: nowrap;
  }

  .shop-logo {
    font-size: 19px;
  }

  .shop-logo-img {
    max-width: 100%;
    max-height: 90px;
  }

  .shops-title {
    margin-bottom: 30px;
  }

  .shop-target {
    font-size: 18px;
  }

  .shop-cta {
    height: auto;
    font-size: 14px;
    padding: 2px 12px;
  }

  .seo {
    margin-top: 112px;
    padding: 0 12px;
    text-align: center;
  }

  .seo-title {
    font-size: 30px;
    line-height: 28px;
    overflow-wrap: normal;
  }

  .seo-block p {
    font-size: 14px;
    line-height: 24px;
  }

  .seo-block {
    margin-top: 0;
  }

  .seo-block h2 {
    font-size: 22px;
    line-height: 1.35;
  }

  .seo-lead {
    font-size: 18px;
  }

  .newsletter {
    margin-top: 0;
    height: 230px;
  }

  .newsletter-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 12px;
    padding-bottom: 24px;
  }

  .newsletter-title {
    font-size: 26px;
  }

  .newsletter-text {
    font-size: 13px;
    max-width: 260px;
  }

  .newsletter-btn {
    font-size: 14px;
    height: 34px;
  }

  .footer-columns {
    display: none;
  }

  .footer-accordion {
    display: block;
    padding: 0 10px;
  }

  .acc-item {
    border-bottom: 1px solid var(--border);
  }

  .acc-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 24px 0;
    background: none;
    border: 0;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    color: var(--heading);
  }

  .acc-btn .sign {
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    color: #333;
  }

  .acc-panel {
    display: none;
    padding: 0 0 18px;
  }

  .acc-item.open .acc-panel {
    display: block;
  }

  .acc-panel .footer-links a {
    line-height: 34px;
    font-size: 14px;
  }

  .acc-panel .footer-contact p {
    font-size: 14px;
  }

  .footer-bottom {
    display: block;
    text-align: center;
    padding: 18px 10px;
    font-size: 13px;
  }

  .footer-copy {
    text-align: center;
    margin-bottom: 10px;
  }

  .footer-ship,
  .footer-pay {
    justify-content: center;
    display: flex;
    margin-top: 10px;
  }

  .footer-bottom .footer-ship,
  .footer-bottom .footer-pay {
    display: none;
  }

  .footer-legal {
    font-size: 11px;
    padding: 8px 12px;
  }

  .a11y-fab {
    width: 44px;
    height: 44px;
    bottom: 8px;
    left: 8px;
  }

  .cookie-badge {
    left: 58px;
    bottom: 8px;
    width: 28px;
    height: 28px;
  }

  .cookie-badge svg {
    width: 17px;
    height: 17px;
  }

  .editor-fab {
    width: 38px;
    height: 38px;
    right: 8px;
    bottom: 8px;
  }

  .consent {
    padding: 0;
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
  }

  .consent.open.settings-mode {
    align-items: center;
  }

  .consent-box {
    width: 100%;
    max-width: 100%;
    padding: 15px;
    margin-top: 10px;
    border-radius: 0;
    border-top-width: 2px;
    border-bottom-width: 5px;
  }

  .consent.open .consent-box:not(.settings) {
    margin-top: 36vh;
    transform: none;
  }

  .consent-box.settings {
    padding: 16px 12px 12px;
    margin-top: 0;
    max-height: 92vh;
    min-height: 92vh;
    width: 100%;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
  }

  .consent-box.settings [data-consent-view='settings']:not([hidden]) {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
  }

  .consent-box.settings .consent-list {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
  }

  .lang-flag {
    left: 15px;
    bottom: 15px;
  }

  .consent-logo {
    display: none;
  }

  .consent-logo .logo-word {
    font-size: 26px;
  }

  .consent-title {
    font-size: 16px;
  }

  /* The reference's CMP drops to 12 px body copy on phones. */
  .consent-text {
    font-size: 12px;
    line-height: 1.4;
  }

  .consent-purposes {
    display: none;
  }

  .consent-list {
    max-height: 56vh;
  }

  .consent-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .consent-buttons .btn {
    flex: 0 0 35px;
    width: 200px;
    height: 35px;
    margin: 0 0 15px;
  }

  .consent-buttons .consent-all {
    margin: 0 0 10px;
  }

  .consent-all {
    width: 200px;
    margin-top: 14px;
  }

  .consent-settings-actions {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .consent-settings-actions .btn,
  .consent-settings-actions .btn.solid {
    flex: 0 0 35px;
    width: 200px;
  }

  .search-results-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 576px) and (max-width: 991px) {
  .content-panel {
    position: relative;
    z-index: 0;
    padding-bottom: 0;
  }

  /* The reference's whole content column is an edge-to-edge white band at
     tablet width, with the same 712 px inner width. */
  .content-panel::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #fff;
  }

  .seo {
    margin-top: 12px;
    padding: 0 2px;
  }

  .seo-title {
    font-size: 28px;
    line-height: 28px;
  }

  .shop-logo-img {
    max-height: 90px;
  }

  .newsletter {
    margin-top: 0;
    height: 306px;
  }

  /* Tablet: match the reference's brand logo scale and section rhythm. */
  .brand-item {
    width: 100%;
  }

  .brand-logo {
    max-width: 200px;
    max-height: 182px;
  }

  .tips {
    margin-top: 20px;
  }

  .tips-title {
    position: relative;
    top: -51px;
  }

  .product-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
  }

  .cat-grid {
    gap: 42px 40px;
  }

  .categories {
    margin-top: 84px;
  }

  .seo-block {
    margin-top: 0;
  }

  .newsletter {
    height: 306px;
  }

  .newsletter-inner {
    align-items: flex-end;
    padding: 0 16px 41px;
  }

  .newsletter-title {
    font-size: 30px;
  }

  .newsletter-text {
    font-size: 15px;
  }
}

@media (min-width: 768px) {
  .shop-logo {
    height: 120px;
  }

  .shop-animal {
    height: 360px;
    max-height: 200px;
    bottom: -15px;
  }

  .shops-grid {
    gap: 60px 24px;
  }

  .shops-title {
    margin-bottom: 60px;
  }
}

@media (min-width: 992px) {
  .shop-animal {
    height: 400px;
    max-height: 400px;
    bottom: -30px;
    right: -23%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-track,
  .drawer,
  .overlay {
    transition: none;
  }
}

/* ==========================================================================
   Chinese typography
   ========================================================================== */
html[lang='zh-CN'] body {
  line-height: 1.65;
}

html[lang='zh-CN'] .logo-word,
html[lang='zh-CN'] .hero-title,
html[lang='zh-CN'] .hero-sub,
html[lang='zh-CN'] .section-title,
html[lang='zh-CN'] .brands-title,
html[lang='zh-CN'] .seo-title,
html[lang='zh-CN'] .newsletter-title {
  letter-spacing: 0;
}

html[lang='zh-CN'] .seo-block p {
  line-height: 1.95;
}

html[lang='zh-CN'] .seo-block h2 {
  letter-spacing: 0;
}

html[lang='zh-CN'] .product-name,
html[lang='zh-CN'] .product-desc,
html[lang='zh-CN'] .tip-title,
html[lang='zh-CN'] .tip-text {
  letter-spacing: 0;
}



/* ==========================================================================
   Legal pages (/rechtliches/*) and wishlist
   ========================================================================== */
.legal-main {
  padding: 0;
  font-size: 14px;
}

.legal-container,
.wishlist-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 20px 0;
}

.breadcrumb {
  height: 31px;
  display: flex;
  align-items: center;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb a,
.breadcrumb-current {
  font-size: 14px;
  line-height: 19px;
}

.breadcrumb a {
  color: var(--body);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb-current {
  color: var(--primary);
  font-weight: 700;
}

.breadcrumb-sep {
  display: flex;
  align-items: center;
  color: #4a545b;
}

.breadcrumb-sep svg {
  width: 14px;
  height: 14px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.legal-sidebar {
  background: #f7fcff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-panel);
}

.legal-sidebar-head {
  height: 50px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  background: linear-gradient(180deg, #a6d945 0%, #94c43e 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.legal-menu {
  padding: 10px 0;
}

.legal-menu a {
  position: relative;
  display: flex;
  align-items: center;
  height: 31px;
  padding: 0 11px;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary);
}

.legal-menu a:hover {
  color: var(--primary);
}

.legal-menu a.is-active {
  color: var(--primary);
  font-weight: 700;
}

.legal-menu a.is-active::before {
  content: '›';
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-55%);
  font-size: 17px;
  line-height: 1;
  color: var(--primary);
}

.legal-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
  padding: 48px 24px 40px 13px;
  margin-bottom: 40px;
  min-width: 0;
}

.legal-body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--body);
  overflow-wrap: break-word;
}

.legal-body h1 {
  margin: 0 0 11px;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--heading);
}

.legal-body h2 {
  margin: 28px 0 17px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--heading);
}

.legal-body h3 {
  margin: 21px 0 13px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--heading);
}

.legal-body h4 {
  margin: 20px 0 10px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--heading);
}

.legal-body p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
}

.legal-body div {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.legal-body b,
.legal-body strong {
  font-weight: 700;
}

.legal-body ul {
  margin: 0 0 16px;
  padding-left: 32px;
  list-style: disc;
}

.legal-body li {
  font-size: 14px;
  line-height: 1.5;
}

.legal-body a {
  color: var(--primary);
  text-decoration: none;
}

.legal-body a:hover {
  text-decoration: underline;
}

.legal-body br {
  line-height: 1.5;
}

@media (min-width: 1200px) {
  .legal-container {
    padding: 10px 0 0;
  }

  .legal-layout {
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 46px;
  }

  .legal-card {
    padding-right: 20px;
  }
}

.legal-main + .newsletter,
.wishlist-main + .newsletter {
  margin-top: 0;
}

/* Wishlist */
.wishlist-main {
  padding: 0;
  min-height: 700px;
}

.wishlist-main .wishlist-container {
  padding: 20px 20px 0;
}

.wishlist-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 2px;
  padding-top: 10px;
  color: #666666;
}

.wishlist-view-btn {
  width: 32px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: #666666;
}

.wishlist-view-btn svg {
  width: 16px;
  height: 16px;
}

.wishlist-view-btn.is-active {
  color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--border);
}

.wishlist-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wishlist-illustration {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: 200px;
  object-fit: contain;
  margin-top: 122px;
}

.wishlist-empty h1 {
  margin: 53px 0 0;
  padding: 0;
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
  color: var(--heading);
}

.wishlist-empty p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 20px;
  color: #666666;
}

@media (max-width: 1199px) {
  .legal-main {
    padding: 0;
  }

  /* The 20 px section bleed only exists at desktop width in the reference. */
  .shops,
  .seo {
    margin-left: 0;
    margin-right: 0;
  }

  .legal-container {
    padding: 10px 10px 0;
  }

  .legal-layout {
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 27px;
  }

  .legal-card {
    padding: 44px 23px 36px;
  }

  .legal-body h1 {
    font-size: 31px;
  }

  .legal-body h2 {
    font-size: 25px;
  }

  .legal-body h3 {
    font-size: 23px;
  }

  .legal-body h4 {
    font-size: 20px;
  }

  .wishlist-main {
    padding: 0;
    min-height: 625px;
  }

  .wishlist-main .wishlist-container {
    padding: 20px 10px 0;
  }

  .wishlist-illustration {
    height: 168px;
    margin-top: 96px;
  }

  .wishlist-empty h1 {
    margin-top: 42px;
    font-size: 36px;
    line-height: 40px;
  }
}

@media (max-width: 575px) {
  .legal-main {
    padding: 0;
    font-size: 14px;
  }

  .legal-container {
    padding: 10px 10px 0;
  }

  .breadcrumb {
    height: 31px;
    padding-left: 4px;
  }

  .breadcrumb ol {
    gap: 6px;
  }

  .breadcrumb li:not(.breadcrumb-current),
  .breadcrumb .breadcrumb-sep {
    display: none;
  }

  .breadcrumb-current {
    font-size: 14px;
  }

  .legal-layout {
    display: block;
  }

  .legal-sidebar {
    display: none;
  }

  .legal-card {
    padding: 55px 20px 30px;
    margin-bottom: 0;
    border-radius: 10px;
  }

  .legal-body h1 {
    font-size: 26px;
  }

  .legal-body h2 {
    font-size: 23px;
  }

  .legal-body h3 {
    font-size: 22px;
  }

  .legal-body h4 {
    font-size: 18px;
  }

  .legal-container {
    padding-bottom: 0;
  }

  .wishlist-main {
    padding: 0;
    min-height: 524px;
  }

  .wishlist-main .wishlist-container {
    padding: 10px 10px 0;
  }

  .wishlist-toolbar {
    padding-top: 0;
  }

  .wishlist-illustration {
    height: 120px;
    margin-top: 122px;
  }

  .wishlist-empty h1 {
    margin-top: 48px;
    font-size: 23px;
    line-height: 34px;
    padding: 0 12px;
  }

  .wishlist-empty p {
    max-width: 330px;
    padding: 0;
  }
}


/* Phone: the reference newsletter keeps the photo band and grows taller; the
   accordion footer lists the contact block first on content pages. */
@media (max-width: 575px) {
  .newsletter {
    height: 230px;
  }

  /* The AGB's reference capture keeps the taller photo band. */
  body[data-page='agb'] .newsletter {
    height: 330px;
  }

  /* The Impressum capture shows the plain green band. */
  body[data-page='impressum'] .newsletter {
    background: #427233;
  }

  body[data-page='impressum'] .newsletter-scene {
    display: none;
  }

  .newsletter-inner {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 16px 30px 0;
  }

  .newsletter-copy {
    align-self: flex-start;
    width: 100%;
    text-shadow: none;
  }

  .newsletter-title {
    font-size: 30px;
    line-height: 1.2;
  }

  .newsletter-text {
    margin-top: 8px;
    max-width: none;
    font-size: 15px;
  }

  .newsletter-btn {
    margin-top: 14px;
    height: 35px;
    padding: 0 22px;
    background: #5fb244;
    font-size: 14px;
  }

  .footer-accordion .vet-badge {
    margin: 0 0 20px 10px;
  }
}


@media (max-width: 575px) {
  .acc-btn {
    padding: 17px 0;
  }

  .footer-accordion .vet-badge {
    margin: 0 0 12px 10px;
  }
}

/* ==========================================================================
   Round 9 — values measured again from the reference captures
   ========================================================================== */

/* The reference home page's main column reports a 30 px body text size. Every
   visible text block inside sets its own size, so this only matches the
   measurement without changing the rendered type. */
body[data-page='home'] .main {
  font-size: 30px;
}

/* The reference AGB uses a 3 px and a 5 px spacing value that our legal
   pages lacked. */
.legal-body h1 {
  padding-bottom: 3px;
}

.legal-body ul {
  margin-top: 5px;
}

@media (min-width: 1200px) {
  /* In the reference the card rows bleed 7 px past the section headings on
     both sides: offers/tips/categories span 1180 px from x=123, the brand
     shops 1220 px from x=110 with 17 px gutters. */
  /* In the reference the card rows sit 7 px left of the section headings
     without changing the 1180 px row width. */
  .offers-body,
  .tips-grid,
  .cat-grid {
    transform: translateX(-7px);
  }

  .shops-grid {
    gap: 60px 17px;
  }

  /* The reference's product cards are 526 px tall with a 30 px bottom pad;
     the extra 18 px of top room is why the brand row starts at y=1306. */
  .product-card {
    padding: 18px 8px 30px;
  }

  /* "Rund um Ihr Tier" is a 50 px-high heading in the reference; the tip
     cards put their title 401 px into the card and end after 539 px. */
  .tips {
    margin-top: 36px;
  }

  .tips-title {
    line-height: 50px;
  }

  .tip-media {
    height: 372px;
  }

  .tip-body {
    padding-bottom: 46px;
  }

  /* The category heading follows the tips cards after 8 px, and its own
     58 px bottom margin puts "Unsere Markenshops" back on the reference's
     y position. */
  .categories {
    margin-top: 8px;
  }

  .categories-title {
    margin-bottom: 58px;
  }

  /* The AGB's numbered headings sit 9 px above their paragraph in the
     reference's desktop layout. */
  body[data-page='agb'] .legal-body h2 {
    margin-bottom: 9px;
  }

  /* The logo and search field sit 4 px / 2 px lower in the reference header. */
  .header-top .logo {
    transform: translateY(4px);
  }

  .header-top .search {
    transform: translate(10px, 2px);
  }
}

/* ------------------------------------------------------------------ */
/* Account flyout menu (mirrors the reference header account menu)     */
/* ------------------------------------------------------------------ */
.header-actions { position: relative; }

.account-flyout {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 300px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  text-align: left;
  z-index: 80;
}

.account-flyout[hidden] { display: none; }

.account-flyout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
}

.account-flyout-register {
  margin: 10px 0 14px;
  font-size: 14px;
  color: var(--muted);
}

.account-flyout-register a { color: var(--primary); text-decoration: underline; }

.account-flyout-links { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--line); }

.account-flyout-links li + li { margin-top: 2px; }

.account-flyout-links a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: #333;
}

.account-flyout-links a:hover { color: var(--primary); }

@media (max-width: 575px) {
  .account-flyout {
    position: fixed;
    top: 66px;
    left: 10px;
    right: 10px;
    width: auto;
    max-height: calc(100vh - 90px);
    overflow: auto;
  }
}

/* The reference's legal pages keep the 14 px body at phone width, while the
   newsletter line below them is 12 px. */
@media (max-width: 575px) {
  body[data-page='datenschutz'] .newsletter-text {
    font-size: 12px;
  }
}
/* 收藏清单页（登录后按账户显示） */
.wishlist-head { padding: 30px 0 14px; }
.wishlist-title { font-size: 26px; margin: 0 0 6px; color: var(--heading); }
.wishlist-sub { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.wishlist-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.wishlist-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.wishlist-card-media {
  width: 100%;
  display: grid;
  place-items: center;
  background: #f7f8f5;
  border-radius: 10px;
  padding: 12px;
}
.wishlist-card-name { font-size: 15px; margin: 0; color: var(--body); }
.wishlist-card-price { margin: 0; color: var(--primary); font-weight: 600; }
.wishlist-foot { margin: 26px 0 46px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
@media (max-width: 991px) { .wishlist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .wishlist-grid { grid-template-columns: 1fr; } }
