/* PetLab base styles — design tokens + core components.
   Extracted from production offers.thepetlabco.com. Extend in your page's own <style>;
   do not edit this file inside a generated page. */

:root {
  --pl-navy: #001c72;
  --pl-green: #008900;
  --pl-green-dark: #076d08;
  --pl-green-deep: #007700;
  --pl-orange: #ff9a0a;
  --pl-orange-deep: #ff8700;
  --pl-ink: #1e1f24;
  --pl-gray-bg: #f7f8f8;
  --pl-gray-line: #d8dadf;
  --pl-blue-line: #ccd2e3;
  --pl-danger: #eb4202;
  --pl-radius-card: 14px;
  --pl-radius-pill: 50px;
  --pl-max-width: 1120px;
  --pl-font-body: 'Inter', -apple-system, sans-serif;
  --pl-font-heading: 'Archivo', 'Inter', sans-serif;
}

* { box-sizing: border-box; }

/* Landing pages always render light, regardless of OS dark mode. */
:root { color-scheme: light; }

body {
  margin: 0;
  background: #fff;
  font-family: var(--pl-font-body);
  color: var(--pl-ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--pl-font-heading);
  color: var(--pl-navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 800; }
h2 { font-size: clamp(22px, 3.6vw, 32px); font-weight: 700; }

img { max-width: 100%; height: auto; display: block; }

.pl-container { max-width: var(--pl-max-width); margin: 0 auto; padding: 0 16px; }
.pl-section { padding: 48px 0; }
.pl-section--gray { background: var(--pl-gray-bg); }

/* Buttons */
.pl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 32px;
  border: 0;
  border-radius: var(--pl-radius-pill);
  font: 700 17px/1 var(--pl-font-body);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.05s ease;
  width: 100%;
}
@media (min-width: 640px) { .pl-btn { width: auto; min-width: 280px; } }
.pl-btn--primary { background: var(--pl-green); color: #fff; }
.pl-btn--primary:hover { background: var(--pl-green-dark); }
.pl-btn:active { transform: scale(0.98); }
.pl-btn[data-petlab-busy] { opacity: 0.6; pointer-events: none; }
.pl-btn[data-petlab-busy]::after { content: '…'; }

/* Announcement bar + header */
.pl-announcement {
  background: var(--pl-navy);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
}
.pl-header {
  display: flex;
  justify-content: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--pl-gray-line);
  background: #fff;
}
.pl-header img { height: 32px; }

/* Stars / reviews */
.pl-stars { color: var(--pl-orange); letter-spacing: 2px; font-size: 18px; }

/* Badges */
.pl-badge {
  display: inline-block;
  background: var(--pl-green);
  color: #fff;
  border-radius: var(--pl-radius-pill);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.pl-badge--orange { background: var(--pl-orange-deep); }

/* Product selector */
.pl-selector {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--pl-gray-line);
  border-radius: var(--pl-radius-card);
  padding: 20px;
}
.pl-plan-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.pl-plan-toggle button {
  border: 1px solid var(--pl-gray-line);
  background: #fff;
  border-radius: var(--pl-radius-card);
  padding: 12px 8px;
  font: 700 15px var(--pl-font-body);
  color: var(--pl-ink);
  cursor: pointer;
}
.pl-plan-toggle button[data-petlab-selected] {
  border-color: var(--pl-green);
  background: #f0faf0;
  color: var(--pl-green-dark);
  box-shadow: inset 0 0 0 1px var(--pl-green);
}
.pl-tier {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--pl-gray-line);
  border-radius: var(--pl-radius-card);
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  background: #fff;
}
.pl-tier[data-petlab-selected] {
  border-color: var(--pl-green);
  background: #f0faf0;
  box-shadow: inset 0 0 0 1px var(--pl-green);
}
.pl-tier__flag {
  position: absolute;
  top: -10px;
  right: 14px;
}
.pl-tier__prices { margin-left: auto; text-align: right; white-space: nowrap; }
.pl-tier__price { font-weight: 800; font-size: 18px; color: var(--pl-navy); }
.pl-tier__rrp { color: #888; text-decoration: line-through; font-size: 13px; }
.pl-tier__save { color: var(--pl-green); font-size: 13px; font-weight: 700; }

/* Free gift callout */
.pl-gift {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff8ec;
  border: 1px dashed var(--pl-orange);
  border-radius: var(--pl-radius-card);
  padding: 10px 14px;
  font-size: 14px;
  margin: 12px 0;
}
.pl-gift img { width: 44px; height: 44px; object-fit: contain; }

/* Guarantee, FAQ, footer */
.pl-guarantee { text-align: center; max-width: 640px; margin: 0 auto; }
.pl-faq details {
  border-bottom: 1px solid var(--pl-gray-line);
  padding: 14px 0;
}
.pl-faq summary { font-weight: 700; cursor: pointer; color: var(--pl-navy); }
.pl-footer {
  background: var(--pl-navy);
  color: #cdd5f0;
  font-size: 12.5px;
  padding: 32px 16px;
  text-align: center;
}
.pl-footer a { color: #fff; }

/* Sticky mobile CTA */
.pl-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--pl-gray-line);
  z-index: 50;
}
@media (min-width: 900px) { .pl-sticky-cta { display: none; } }

/* Error box */
[data-petlab-error] {
  display: none;
  background: #fdeeea;
  border: 1px solid var(--pl-danger);
  color: var(--pl-danger);
  border-radius: var(--pl-radius-card);
  padding: 10px 14px;
  margin-top: 10px;
  font-size: 14px;
}
