/* ─── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:       #f97316;
  --orange-dark:  #ea6c0a;
  --orange-light: #fff7ed;
  --green:        #16a34a;
  --gray-100:     #f5f5f5;
  --gray-200:     #e5e7eb;
  --gray-400:     #9ca3af;
  --gray-600:     #4b5563;
  --gray-800:     #1f2937;
  --white:        #ffffff;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08);
  --shadow-md:    0 4px 12px rgba(0,0,0,.10);
  --radius:       10px;
  --radius-sm:    6px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--gray-800);
  background: var(--gray-100);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ─── Container ─────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  width: 100%;
}

/* ─── Header ─────────────────────────────────────────────────────── */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  color: var(--gray-800);
}
.logo__icon {
  width: 34px;
  height: 34px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.logo__text {
  font-weight: 700;
  font-size: 18px;
  color: var(--gray-800);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__link {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  white-space: nowrap;
  transition: color .18s, background .18s;
}
.nav__link:hover {
  color: var(--orange);
  background: var(--orange-light);
}

/* Search */
.search-bar {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
}
.search-bar__input {
  border: none;
  background: transparent;
  padding: 8px 14px;
  font-size: 14px;
  outline: none;
  width: 180px;
  color: var(--gray-800);
}
.search-bar__btn {
  border: none;
  background: var(--orange);
  color: var(--white);
  padding: 8px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s;
}
.search-bar__btn:hover { background: var(--orange-dark); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-600);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Breadcrumb ─────────────────────────────────────────────────── */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.breadcrumb__inner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 13px;
}
.breadcrumb__link { color: var(--orange); }
.breadcrumb__link:hover { text-decoration: underline; }
.breadcrumb__sep { color: var(--gray-400); }
.breadcrumb__current { color: var(--gray-600); }

/* ─── Page Layout ────────────────────────────────────────────────── */
.page-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 48px;
  align-items: start;
}

/* ─── Sidebar ────────────────────────────────────────────────────── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 80px;
}

/* Brand card */
.brand-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.brand-card__logo-wrap {
  width: 100%;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-card__mascot {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.brand-card__brand-name {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--orange);
  text-align: center;
  margin: 0 0 10px;
  letter-spacing: 1px;
  text-decoration: none;
}
.brand-card__brand-name:hover {
  text-decoration: underline;
  color: var(--orange-dark);
}
.brand-card__stars { display: flex; justify-content: center; gap: 2px; margin-bottom: 4px; }
.star { font-size: 20px; color: var(--gray-200); }
.star.filled { color: #f59e0b; }
.star.half {
  color: var(--gray-200);
  position: relative;
}
.star.half::before {
  content: "★";
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
  color: #f59e0b;
}
.brand-card__rating { font-size: 13px; color: var(--gray-600); margin-bottom: 10px; }
.brand-card__author { font-size: 13px; color: var(--gray-600); margin-bottom: 4px; }
.brand-card__author-link { color: var(--orange); font-weight: 600; }
.brand-card__desc { font-size: 13px; color: var(--gray-600); line-height: 1.6; margin: 10px 0 0; text-align: left; }
.btn-vote {
  flex: 1;
  max-width: 90px;
  padding: 8px 0;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .18s, transform .1s;
}
.btn-vote:hover { opacity: .9; transform: scale(1.03); }
.btn-vote--yes { background: var(--orange); color: var(--white); }
.btn-vote--no  { background: var(--gray-200); color: var(--gray-600); }
.btn-vote--yes.active { background: var(--green); }

/* TOC card */
.toc-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.toc-card__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 10px;
  line-height: 1.5;
}
.toc-card__brand { color: var(--orange); font-weight: 700; }
.toc-card__list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.toc-card__link {
  font-size: 13px;
  color: var(--orange);
  display: block;
  padding: 3px 0;
  transition: color .15s;
}
.toc-card__link:hover { color: var(--orange-dark); text-decoration: underline; }

/* Related card */
.related-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.related-card__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 12px;
}
.dogs-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.dog-thumb {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.dog-thumb:hover { transform: scale(1.04); box-shadow: var(--shadow-md); }
.dog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dog-thumb--cta {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 60%, #f06814 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dog-thumb--cta span {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}

/* Notify card */
.notify-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.notify-card__title { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.notify-card__desc  { font-size: 12px; color: var(--gray-600); margin-bottom: 12px; }
.notify-card__form  { display: flex; flex-direction: column; gap: 8px; }
.notify-card__input {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 13px;
  outline: none;
  transition: border-color .15s;
}
.notify-card__input:focus { border-color: var(--orange); }
.notify-card__btn {
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s;
}
.notify-card__btn:hover { background: var(--orange-dark); }

/* ─── Coupon Section ─────────────────────────────────────────────── */
.coupon-section__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--gray-800);
}
.coupon-section__title .highlight { color: var(--orange); }

.coupon-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
  overflow: visible;
}

/* Coupon card */
.coupon-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 15px;
  display: flex;
  align-items: stretch;
  min-height: 130px;
  overflow: visible;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
  position: relative;
}
/* Perforation — circles painted with page bg color over the left edge */
.coupon-card::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 0;
  bottom: 0;
  width: 18px;
  background: radial-gradient(circle at 50% 50%, #f5f5f5 7px, transparent 8px);
  background-size: 18px 30px;
  background-repeat: repeat-y;
  background-position: 0 6px;
  z-index: 10;
  pointer-events: none;
}
.coupon-card:hover::before {
  background: radial-gradient(circle at 50% 50%, #f5f5f5 7px, transparent 8px);
  background-size: 18px 30px;
  background-repeat: repeat-y;
  background-position: 0 6px;
}
.coupon-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.13);
  transform: scale(1.018);
  z-index: 2;
}

.coupon-card__strip {
  background: linear-gradient(160deg, #fb923c 0%, #f97316 60%, #f06814 100%);
  color: var(--white);
  width: 120px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 15px 0 0 15px;
}
.coupon-card__strip-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 2px;
}
.coupon-card__strip::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 10px solid var(--orange);
  z-index: 1;
}
.coupon-card__strip--deal { background: linear-gradient(160deg, #8b5cf6 0%, #7c3aed 60%, #6d28d9 100%); }
.coupon-card__strip--deal::after { border-left-color: #5b21b6; }
.coupon-card__pct { font-size: 35px; font-weight: 900; line-height: 1; letter-spacing: -1px; text-align: center; }
.coupon-card__off { font-size: 14px; font-weight: 700; opacity: .95; text-transform: uppercase; letter-spacing: 5px; text-align: center; margin-left: 5px; }

.coupon-card__body {
  flex: 1;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
}
.coupon-card__title { font-size: 19px; font-weight: 700; color: var(--gray-800); line-height: 1.4; }

.coupon-card__badges { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; margin-top: auto; padding-top: 10px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  padding: 0;
  border-radius: 0;
  background: none;
}
.badge--verified { color: var(--green); }
.badge--hot      { color: var(--gray-600); }

/* Human verification tag */
.human-verify {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 99px;
  padding: 3px 10px 3px 6px;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  white-space: nowrap;
}
.human-verify strong {
  font-weight: 600;
  color: #4b5563;
}
.hv-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #9ca3af;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* separator between badges */
.coupon-card__badges .badge + .badge::before {
  content: '|';
  margin-right: 8px;
  color: var(--gray-300);
}

.coupon-card__action {
  display: flex;
  align-items: center;
  padding: 22px 24px;
  flex-shrink: 0;
  position: relative;
  /* ticket perforation — semicircles cut from the left edge */
  border-left: none;
}

/* Dashed ticket divider */
.coupon-card__action::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 0;
  border-left: 2px dashed #c4c8d0;
  pointer-events: none;
}
.coupon-card__action-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.expiry-label {
  font-size: 11px;
  color: #dc2626;
  white-space: nowrap;
  text-align: center;
}
.expiry-label strong {
  font-weight: 700;
}
/* Ticket button wrapper */
.btn-ticket {
  display: inline-flex;
  align-items: stretch;
  position: relative;
}

.get-code-btn {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 60%, #f06814 100%);
  color: var(--white);
  border: none;
  border-radius: 6px 0 0 6px;
  padding: 12px 42px 12px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(249,115,22,.30);
  /* diagonal cut on the right: top-right stays flush, bottom-right cuts inward */
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  transition: transform .28s cubic-bezier(.34,1.4,.64,1), filter .18s;
}
/* On hover, button slides left to reveal the code peek */
.btn-ticket:hover .get-code-btn {
  transform: translateX(-14px);
  filter: brightness(1.06);
}

.get-code-btn--deal {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 60%, #6d28d9 100%);
  box-shadow: 0 3px 10px rgba(124,58,237,.30);
}
.get-code-btn--deal + .code-peek {
  border-color: #7c3aed;
  color: #7c3aed;
}

/* Code peek — hidden behind button, revealed on hover */
.code-peek {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* only top / right / bottom dashed — NO left border */
  border-top:    2px dashed var(--orange);
  border-right:  2px dashed var(--orange);
  border-bottom: 2px dashed var(--orange);
  border-left:   none;
  border-radius: 0 6px 6px 0;
  padding: 0 10px;
  margin-left: -36px;        /* deeper under button so left border is invisible */
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--orange);
  background: var(--white);
  cursor: pointer;
  white-space: nowrap;
  min-width: 60px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* ─── FAQ ────────────────────────────────────────────────────────── */
.faq-section { margin-bottom: 40px; }
.faq-section__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-200);
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  background: var(--white);
  overflow: hidden;
}
.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  padding: 17px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  gap: 12px;
  transition: background .15s;
}
.faq-item__question:hover { background: var(--gray-100); }
.faq-item__icon {
  font-size: 22px;
  color: var(--orange);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item.open .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-item__answer { max-height: 400px; }
.faq-item__answer p,
.faq-item__answer ol {
  padding: 0 20px 18px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
}
.faq-item__answer ol { padding-left: 38px; }

/* ─── Policies ──────────────────────────────────────────────────── */
.policies-section { margin-bottom: 40px; }
.policies-section__title {
  font-size: 22px; font-weight: 700;
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-200);
}
.policies-section__sub { font-size: 14px; color: var(--gray-400); margin-bottom: 18px; }

.policies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.policy-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.policy-card:hover {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px var(--orange-light);
}
.policy-card__icon {
  font-size: 18px;
  color: var(--green);
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}
.policy-card__body { flex: 1; }
.policy-card__label { font-size: 15px; font-weight: 600; color: var(--gray-800); }
.policy-card__detail { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.pay-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  background: #dcfce7;
  padding: 2px 7px;
  border-radius: 99px;
}
.policy-card__arrow { color: var(--gray-400); font-size: 18px; flex-shrink: 0; }

/* ─── Reviews ────────────────────────────────────────────────────── */
.reviews-section { margin-bottom: 40px; }
.reviews-section__title {
  font-size: 22px; font-weight: 700;
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-200);
}
.reviews-section__sub { font-size: 14px; color: var(--gray-400); margin-bottom: 14px; }

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.reviews-summary__score { font-size: 18px; font-weight: 700; color: var(--gray-800); }
.reviews-summary__count { font-size: 13px; color: var(--gray-400); }

/* Write review CTA */
.review-cta {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.review-cta__icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.review-cta__title { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.review-cta__sub { font-size: 13px; color: var(--gray-400); margin-bottom: 8px; }
.review-cta__stars { display: flex; gap: 4px; }
.r-star {
  font-size: 24px;
  cursor: pointer;
  color: var(--gray-200);
  transition: color .1s, transform .1s;
}
.r-star:hover, .r-star.active { color: #f59e0b; transform: scale(1.2); }

/* Review cards */
.review-list { display: flex; flex-direction: column; gap: 12px; }
.review-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.review-card__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.review-card__name { font-size: 15px; font-weight: 700; }
.review-card__date { font-size: 13px; color: var(--gray-400); }
.review-card__stars { margin-left: auto; display: flex; }
.review-card__stars .star { font-size: 15px; }
.review-card__text { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 12px; }
.review-card__actions { display: flex; gap: 8px; }
.review-vote {
  display: flex; align-items: center; gap: 5px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 99px;
  padding: 4px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.review-vote:hover { background: var(--orange-light); border-color: var(--orange); }
.review-vote.voted { background: var(--orange-light); border-color: var(--orange); font-weight: 700; }

/* ─── Blog ───────────────────────────────────────────────────────── */
.blog-section { margin-bottom: 16px; }
.blog-section__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-200);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); }
.blog-card__img-wrap { height: 160px; overflow: hidden; flex-shrink: 0; }
.blog-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-card__img { transform: scale(1.05); }
.blog-card__content { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.blog-card__title { font-size: 14px; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.blog-card__excerpt { font-size: 12px; color: var(--gray-600); margin-bottom: 10px; flex: 1; }
.blog-card__link { font-size: 12px; color: var(--orange); font-weight: 600; }
.blog-card__link:hover { text-decoration: underline; }

/* ─── Toy Cards (inside blog grid) ──────────────────────────────── */
.toy-card__img-wrap {
  position: relative;
  background: #f8f8f8;
  height: 190px !important;   /* taller for product shots */
  flex-shrink: 0;
}
.toy-card__img {
  object-fit: contain !important;
  padding: 20px;
  background: #f8f8f8;
}
/* Make toy card content flex so all cards stretch to same height */
.toy-card .blog-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.toy-card .blog-card__excerpt { flex: 1; }
.toy-card__cta { margin-top: auto; }
.toy-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  z-index: 1;
  letter-spacing: .3px;
}
.toy-card__badge--ultra       { background: #fff3e0; color: var(--orange); }
.toy-card__badge--power       { background: #fef9c3; color: #b45309; }
.toy-card__badge--interactive { background: #ede9fe; color: #6d28d9; }

.toy-card__header { margin-bottom: 4px; }
.toy-card__name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--gray-800);
  margin-bottom: 1px;
}
.toy-card__type {
  font-size: 12px;
  color: var(--gray-400);
  border-bottom: 1px dashed var(--gray-200);
  display: block;
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.toy-card__about-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.toy-card__features {
  list-style: none;
  padding: 0;
  margin: 8px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.toy-card__features li {
  font-size: 13px;
  color: var(--gray-600);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.toy-card__features li::before {
  content: '•';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}
.toy-card__cta {
  display: inline-block;
  background: linear-gradient(135deg, #fb923c 0%, #f97316 60%, #f06814 100%);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  transition: filter .18s;
  box-shadow: 0 3px 8px rgba(249,115,22,.28);
}
.toy-card__cta:hover { filter: brightness(1.08); }

/* ─── Modal ──────────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 999;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  max-width: 380px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  text-align: center;
  animation: popIn .25s ease;
}
@keyframes popIn {
  from { transform: scale(.9); opacity: 0; }
  to   { transform: scale(1);  opacity: 1; }
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--gray-400);
}
.modal__close:hover { color: var(--gray-800); }
.modal__label { font-size: 13px; color: var(--gray-600); margin-bottom: 10px; }
.modal__code-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px dashed var(--orange);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
}
.modal__code {
  flex: 1;
  padding: 12px 16px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gray-800);
}
.modal__copy-btn {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s;
}
.modal__copy-btn:hover { background: var(--orange-dark); }
.modal__hint { font-size: 13px; color: var(--gray-600); }
.modal__store-link { color: var(--orange); text-decoration: none; font-size: 19px; }
.modal__store-link:hover { text-decoration: underline; }

/* ─── Footer ─────────────────────────────────────────────────────── */
.footer {
  background: var(--gray-800);
  color: #d1d5db;
  padding: 32px 0;
  margin-top: 40px;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.footer__brand { display: flex; align-items: center; gap: 8px; }
.footer__brand .logo__text { color: var(--white); font-size: 16px; }
.footer__brand .logo__icon { background: var(--orange); }
.footer__nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer__link { font-size: 14px; color: #d1d5db; transition: color .15s; }
.footer__link:hover { color: var(--orange); }
.footer__copy { font-size: 13px; color: var(--gray-400); }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .search-bar__input { width: 140px; }
  .page-layout { grid-template-columns: 260px 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .nav.open { display: flex; }
  .nav__link {
    padding: 12px 20px;
    border-radius: 0;
    font-size: 15px;
  }
  .search-bar { display: none; }

  .header__inner { position: relative; }

  .page-layout {
    grid-template-columns: 1fr;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-width: 100%;
  }
  .coupon-section {
    max-width: 100%;
    overflow: hidden;
  }
  .coupon-list {
    max-width: 100%;
  }
  .coupon-card {
    max-width: 100%;
    box-sizing: border-box;
  }
  /* Prevent badges row from overflowing */
  .coupon-card__badges {
    flex-wrap: wrap;
  }
  .human-verify {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Flatten sidebar children into the column flow so we can reorder */
  .sidebar {
    display: contents;
    position: static;
  }

  /* Mobile order: brand card → coupons → TOC → dogs gallery */
  .brand-card    { order: 1; }
  .coupon-section { order: 2; }
  .toc-card      { order: 3; }
  .related-card  { order: 4; }
  #notify        { order: 5; }

  /* Grid layout: strip spans full height on the left, body+action stack on the right */
  .coupon-card {
    display: grid;
    grid-template-columns: 88px 1fr;
    grid-template-rows: auto auto;
    overflow: hidden;
  }
  .coupon-card__strip {
    grid-column: 1;
    grid-row: 1 / -1;
    width: 88px;
    min-width: 88px;
    flex-direction: column;
    border-radius: 15px 0 0 15px;
  }
  .coupon-card__pct { font-size: 28px; }
  .coupon-card__off { font-size: 12px; }
  .coupon-card__body {
    grid-column: 2;
    grid-row: 1;
    padding: 12px 12px 6px;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
  }
  .coupon-card__title { font-size: 14px; }
  .badge { font-size: 11px; }
  .expiry-label { font-size: 11px; }
  .human-verify { font-size: 11px; }

  .coupon-card__action {
    grid-column: 2;
    grid-row: 2;
    padding: 0 12px 12px;
    border-left: none;
    position: relative;
  }
  .coupon-card__action::before { display: none; }
  .coupon-card__action-wrap { align-items: flex-start; }
  /* Button auto-width — not stretched */
  .btn-ticket { width: auto; }
  .get-code-btn {
    padding: 9px 32px 9px 14px;
    font-size: 13px;
  }
  .code-peek { min-width: 44px; justify-content: center; }

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

@media (max-width: 480px) {
  .coupon-section__title { font-size: 20px; }
  .modal { padding: 24px 16px; }
  .modal__code { font-size: 15px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__nav { justify-content: center; }
}
