/* Pet Department pages (built by scripts/import_pets.py). Uses the store's
   tokens; blue + yellow accents echo the tiles (the colours pets see best). */

.pets {
  --pet-blue: #2f56a6;
  --pet-blue-soft: #eaf0fb;
  --pet-yellow: #f2c230;
  --pet-yellow-soft: #fdf3c4;
}

.pets .site-header a { text-decoration: none; }

.pets-main { max-width: 1180px; margin: 0 auto; padding: 18px 24px 56px; }

.pets-crumbs { font-size: 13px; color: #8a7d88; margin: 6px 0 4px; }
.pets-crumbs a { color: var(--brand); text-decoration: none; font-weight: 600; }
.pets-crumbs a:hover { text-decoration: underline; }

.pets-hero { padding: 22px 0 8px; text-align: left; }
.pets-hero h1 { margin: 0 0 8px; }
.pets-hero p { max-width: 680px; margin: 0; }

.pets-heading { font-family: var(--serif); font-size: 26px; color: var(--brand-dark); margin: 34px 0 6px; }
.pets-sub { margin: 0 0 14px; color: #5a4a58; font-size: 14.5px; }

/* landing: two big doors */
.pet-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.pet-door {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 22px;
  border-radius: 16px;
  background: var(--white);
  border: 2px solid var(--pet-blue-soft);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.pet-door:hover { transform: translateY(-3px); border-color: var(--pet-yellow); }
.pet-door img { width: 100%; height: auto; border-radius: 10px; background: var(--cream); }
.pet-door__label { font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--pet-blue); }
.pet-door__desc { color: #5a4a58; font-size: 15px; }

/* section grids */
.pet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.pet-grid--sets { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.pet-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(107, 79, 38, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pet-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pet-card__image { display: block; background: var(--cream); aspect-ratio: 1 / 1; }
.pet-card--tile .pet-card__image { aspect-ratio: 210 / 297; }
.pet-card__image img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pet-card__body { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 14px 14px; }
.pet-card__name { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.pet-card__price { font-weight: 800; color: var(--pet-blue); white-space: nowrap; }
.pet-card--kit { border: 2px solid var(--pet-yellow); }

/* product page */
.pet-product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; margin-top: 18px; align-items: start; }
.pet-product__media > img { width: 100%; height: auto; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.pet-gallery { display: flex; gap: 10px; overflow-x: auto; padding: 12px 0 4px; }
.pet-gallery img { height: 150px; width: auto; border-radius: 6px; border: 1px solid var(--line); background: var(--white); flex: none; }
.pet-product__eyebrow { margin: 0; text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; font-weight: 700; color: var(--pet-blue); }
.pet-product__info h1 { font-family: var(--serif); font-size: 34px; line-height: 1.15; color: var(--brand-dark); margin: 6px 0 10px; }
.pet-product__price { font-size: 26px; font-weight: 800; color: var(--pet-blue); margin: 0 0 12px; }
.pet-product__ccy { font-size: 13px; font-weight: 600; color: #8a7d88; margin-left: 6px; }
.pet-product__info p { line-height: 1.6; }
.pet-includes { background: var(--pet-blue-soft); border-radius: 8px; padding: 10px 12px; font-size: 14.5px; }
.pet-buy { max-width: 360px; margin-top: 6px; }
.pet-min { font-size: 13px; color: #5a4a58; margin: 8px 0 0; }
.pet-min a { color: var(--brand); font-weight: 700; }
.pet-upsell { margin: 16px 0 0; }
.pet-upsell a {
  display: inline-block;
  background: var(--pet-yellow-soft);
  border: 1px solid var(--pet-yellow);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 14px;
  padding: 9px 14px;
  border-radius: 999px;
  text-decoration: none;
}
.pet-upsell a:hover { background: var(--pet-yellow); }
.pet-safety {
  margin: 22px 0 0;
  padding: 10px 14px;
  border-left: 4px solid var(--red);
  background: #fbefec;
  color: #6e2a22;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 8px 8px 0;
}
.pet-back a { color: var(--brand); font-weight: 600; text-decoration: none; font-size: 14px; }

@media (max-width: 640px) {
  .pets .header-actions a[href="/pet-department/"] { display: none; } /* the breadcrumb covers it */
}

@media (max-width: 760px) {
  .pets-main { padding: 12px 16px 44px; }
  .pet-doors { grid-template-columns: 1fr; }
  .pet-door__label { font-size: 28px; }
  .pet-product { grid-template-columns: 1fr; gap: 20px; }
  .pet-product__info h1 { font-size: 28px; }
  .pet-buy { max-width: none; }
}
