/* ==========================================================================
   BagSpot Pet Solutions — design tokens captured from the live Wix site
   Heading font "Benzin" is a Wix-exclusive font (served from Wix's private
   font CDN) and cannot be licensed for use outside the Wix editor.
   Substituted here with Archivo Black — the closest freely-licensed match
   for weight/geometry. Body font DM Sans matches the live site exactly.
   ========================================================================== */

:root {
  --forest-green: #036f4b;
  --dark-green: #0d2818;
  --gold: #ffbf00;
  --off-white: #f2f5f2;
  --card-bg: #f1f3ef;
  --near-black: #111111;
  --white: #ffffff;
  --font-heading: 'Archivo Black', 'Benzin', sans-serif;
  --font-body: 'DM Sans', Arial, sans-serif;
  --max-width: 1200px;
}

* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--near-black);
  background: var(--white);
  line-height: 1.55;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.15;
}

h1 { font-size: 44px; letter-spacing: 1px; text-transform: uppercase; }
h2 { font-size: 32px; }
h5, .heading-sm { font-size: 18px; letter-spacing: 0.3px; }
h6, .heading-xs { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }

p { margin: 0 0 16px; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
.wrap-wide {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 18px 36px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.85; }
.btn-gold { background: var(--gold); color: var(--near-black); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-green { background: var(--white); color: var(--forest-green); border-color: var(--forest-green); }
.btn-outline { background: transparent; color: var(--forest-green); border-color: var(--forest-green); padding: 10px 22px; font-size: 13px; }

/* ---------- Top strip + header ---------- */
.top-strip {
  text-align: right;
  font-size: 12px;
  padding: 6px 40px;
  border-bottom: 1px solid #eee;
}
.top-strip a { text-decoration: underline; }

.site-header {
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 100;
}
.header-inner {
  width: 100%;
  max-width: none;
  padding: 8px 32px 8px 20px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo-link { display: flex; align-items: center; line-height: 1; flex-shrink: 0; }
.logo-img { height: 72px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 26px; margin-left: 40px; flex: 1; font-weight: 500; }
.main-nav > a { font-size: 16.5px; }
.mobile-contact-link { display: none; }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  background: none; border: none; font-family: var(--font-body); font-size: 16.5px;
  font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 4px;
  color: var(--near-black); padding: 0;
}
.caret { font-size: 10px; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; background: var(--white);
  border: 1px solid #eee; box-shadow: 0 8px 20px rgba(0,0,0,0.08); min-width: 220px;
  padding: 8px 0; margin-top: 10px;
}
.nav-dropdown-menu a { display: block; padding: 10px 20px; font-size: 14px; }
.nav-dropdown-menu a:hover { background: var(--off-white); }
.nav-dropdown.open .nav-dropdown-menu { display: block; }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.persistent-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.cart-icon { background: var(--forest-green); color: var(--white); width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mobile-nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 55%, rgba(0,0,0,0.15) 100%);
}
.hero-content { position: relative; max-width: 640px; padding: 0 40px; }
.hero h1 { color: var(--white); }
.hero p { color: var(--off-white); font-size: 18px; max-width: 560px; }
.hero-ctas { display: flex; gap: 16px; margin-top: 24px; flex-wrap: nowrap; align-items: center; }

/* smaller inner hero used on subpages */
.hero-sm { min-height: 380px; }

/* Dog Waste Stations hero: same wide 2048x768 photo shape as the
   homepage hero. Needs a taller box than the default hero-sm so the
   crop lands on the sides instead of top/bottom. */
.hero-dogstations {
  min-height: 560px;
  background-size: cover;
  background-position: center center;
}
@media (max-width: 900px) {
  .hero-dogstations { min-height: 400px; background-position: center 35%; }
}

/* homepage hero: new wide landscape photo (2048x768). At the hero's
   fixed min-height, cover crops the sides (not top/bottom) to fill the
   section — exactly as requested, section size stays unchanged. */
.hero-home {
  min-height: 680px;
  background-size: cover;
  background-position: center center;
}
.hero-home h1 { font-size: 56px; }
@media (max-width: 900px) {
  .hero-home { min-height: 420px; background-position: center 35%; }
  .hero-home h1 { font-size: 34px; }
  .hero-ctas { flex-wrap: wrap; }
}

/* ---------- Section blocks ---------- */
section { padding: 80px 0; }
.section-dark {
  background: var(--dark-green);
  color: var(--white);
}
.section-dark h1, .section-dark h2, .section-dark h5 { color: var(--white); }
.section-light { background: var(--white); }
.section-card-bg { background: var(--card-bg); }

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 20px;
}

.section-intro { max-width: 720px; margin-bottom: 48px; }
.section-intro.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Trust icons (Municipal Grade / Universal Compatibility / etc) ---------- */
.trust-icons-grid { margin-top: 48px; text-align: center; }
.trust-icon-card { display: flex; flex-direction: column; align-items: center; }
.trust-icon { width: 56px; height: 56px; color: var(--forest-green); margin-bottom: 24px; }
.trust-icon-card h6 {
  font-size: 19px; letter-spacing: 0.3px; text-transform: uppercase; font-weight: 700;
  color: var(--near-black); margin-bottom: 12px;
}
.trust-icon-card p { font-size: 15px; color: #333; max-width: 260px; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.hero-bags-grid { grid-template-columns: 0.7fr 1.3fr; }

.card {
  background: var(--card-bg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card h5 { color: var(--near-black); margin-bottom: 12px; white-space: nowrap; }
.card p { font-size: 15px; color: #333; margin: 0 0 24px; flex-grow: 1; }
.card .btn { margin-top: auto; align-self: flex-start; }

@media (max-width: 1300px) {
  .card h5 { white-space: normal; }
}

.card-outline {
  background: var(--white);
  border: 1px solid #ddd;
  padding: 40px 32px;
  text-align: center;
}
.card-outline h5 { text-transform: uppercase; letter-spacing: 0.5px; }

.product-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card img {
  width: 100%;
  max-width: 280px;
  height: 240px;
  object-fit: cover;
  margin: 0 auto 20px;
}
.product-card h5 { color: var(--forest-green); }

.product-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  text-align: left;
  font-size: 13.5px;
  color: #444;
  flex-grow: 1;
}
.product-specs li { padding: 7px 0; border-bottom: 1px solid #e6e6e6; }
.product-specs li:last-child { border-bottom: none; }
.product-card .btn-stack { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: auto; }
.product-card .btn-stack .btn { margin-top: 0; align-self: stretch; }

/* Products page: larger, clean, uncropped product photography, consistent
   across every card regardless of the source image's own aspect ratio */
.catalog-card img {
  width: 100%;
  height: 320px;
  max-width: none;
  object-fit: contain;
  margin-bottom: 20px;
}
.catalog-card h5 { font-size: 19px; }

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}
.category-tabs button {
  background: none;
  border: 1px solid #ccc;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--near-black);
  transition: all 0.15s ease;
}
.category-tabs button.active,
.category-tabs button:hover {
  background: var(--forest-green);
  border-color: var(--forest-green);
  color: var(--white);
}
.category-section { padding: 56px 0; }
.category-section:nth-child(odd) { background: var(--white); }
.category-section:nth-child(even) { background: var(--card-bg); }
.category-count { color: #888; font-size: 14px; margin-bottom: 28px; }
.replacement-card {
  background: var(--card-bg);
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.replacement-card img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  margin-bottom: 20px;
}
.replacement-card h5 { color: var(--forest-green); margin-bottom: 10px; font-size: 19px; }
.replacement-card p { font-size: 15px; color: #333; margin: 0; flex-grow: 1; }
.replacement-card a { color: var(--forest-green); font-weight: 600; }
.product-card p { flex-grow: 1; }
.product-card .btn { margin-top: auto; align-self: center; }

/* Compatible Dispensers: larger, cleaner product shots — full product
   visible (no crop) on a clean padded white card instead of a tight cover crop */
.dispenser-card img {
  max-width: 440px;
  height: 380px;
  object-fit: contain;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  text-align: center;
  padding: 20px 0 8px;
}
.cta-banner .btn { margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { padding: 60px 0 30px; }
.footer-top {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}
.footer-logo-img { height: 100px; width: auto; display: block; margin-bottom: 8px; }
.footer-col h6 { margin-bottom: 12px; }
.footer-col p { font-size: 14px; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 40px 0;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { text-decoration: underline; }

/* ---------- FAQ accordion ---------- */
.faq-search { display: flex; justify-content: flex-end; margin-bottom: 24px; }
.faq-search input {
  border: none; border-bottom: 1px solid #ccc; padding: 8px 4px; font-family: var(--font-body); font-size: 14px; width: 220px;
}
.faq-tabs { border-bottom: 2px solid #eee; margin-bottom: 20px; }
.faq-tabs span {
  display: inline-block; padding: 10px 4px; margin-right: 28px; color: var(--gold);
  border-bottom: 3px solid var(--gold); font-weight: 600;
}
.faq-item { border: 1px solid #ddd; margin-bottom: 14px; }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 24px; font-family: var(--font-body); font-size: 16px; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-answer { display: none; padding: 0 24px 24px; font-size: 15px; color: #333; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-caret { transform: rotate(180deg); }
.faq-caret { transition: transform 0.15s ease; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-card { display: block; }
.blog-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 16px; }
.blog-card h5 { color: var(--near-black); margin-bottom: 8px; font-size: 18px; }
.blog-card p { font-size: 14px; color: #444; margin-bottom: 8px; }
.blog-meta { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
.blog-tabs { border-bottom: 2px solid #eee; margin-bottom: 40px; }
.blog-tabs span {
  display: inline-block; padding: 10px 4px; margin-right: 28px; color: var(--gold);
  border-bottom: 3px solid var(--gold); font-weight: 600;
}
.article-header { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.article-body { max-width: 720px; margin: 0 auto; font-size: 16px; }
.article-body p { margin-bottom: 20px; }
.article-body ul { padding-left: 22px; margin-bottom: 20px; }
.article-body li { margin-bottom: 10px; }
.article-cta { text-align: center; margin: 40px 0; font-size: 16px; }
.article-back { display: inline-block; margin-bottom: 24px; font-size: 14px; color: var(--forest-green); font-weight: 600; }

/* ---------- Misc ---------- */
.stat-strip {
  background: var(--dark-green);
  color: var(--white);
  text-align: center;
  padding: 18px 0;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.products-hero-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.products-hero-stats .stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--gold);
}
.products-hero-stats .stat-label {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--off-white);
  margin-top: 4px;
}
.badge-list { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.badge-list li { list-style: none; padding-left: 26px; position: relative; }
.badge-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.checklist-box {
  background: var(--card-bg);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.checklist-box .check {
  color: var(--gold);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  flex-shrink: 0;
}
.checklist-box p { margin: 0; font-size: 15px; color: #222; }
@media (max-width: 700px) {
  .checklist-grid { grid-template-columns: 1fr; }
}

blockquote.callout {
  border-left: 4px solid var(--gold);
  padding-left: 20px;
  font-size: 18px;
  font-style: italic;
  margin: 32px 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-2, .hero-bags-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; text-align: left; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .hero { min-height: 520px; }
  .wrap, .wrap-wide { padding: 0 20px; }
  .header-inner { padding: 12px 20px; }
  .footer-top, .footer-bottom { padding-left: 20px; padding-right: 20px; }
  .logo-img { height: 44px; }
  .footer-logo-img { height: auto; width: 100%; max-width: 220px; }
}

@media (max-width: 480px) {
  .header-inner { gap: 12px; padding: 10px 16px; }
  .logo-img { height: 36px; }
  .cart-icon { width: 44px; height: 44px; }
  .products-hero-stats { gap: 32px; }
  .pricing-layout { gap: 32px; }
  .checklist-grid { gap: 14px; }
  h1 { font-size: 26px; }
  .hero-content { padding: 0 20px; }
}


/* ---------- Product pricing detail pages ---------- */
.pricing-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 24px;
}
.pricing-table-box {
  background: var(--card-bg);
  border: 1px solid #e0e0e0;
  padding: 28px 24px;
}
.pricing-table-heading {
  text-align: center;
  color: var(--dark-green);
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.pricing-table { width: 100%; border-collapse: collapse; }
.pricing-table th, .pricing-table td {
  border: 1px solid #d8d8d8;
  padding: 10px 12px;
  font-size: 13.5px;
}
.pricing-table th {
  background: var(--white);
  color: var(--near-black);
  font-weight: 500;
  text-align: left;
}
.pricing-table td {
  color: var(--dark-green);
  font-weight: 700;
  font-size: 15px;
  text-align: right;
  white-space: nowrap;
}
.pricing-flat {
  text-align: center;
  color: var(--dark-green);
  font-weight: 700;
  font-size: 28px;
  margin: 8px 0 4px;
}
.pricing-note {
  text-align: center;
  font-size: 13px;
  color: #555;
  margin: 16px 0 0;
}
.pricing-note.pricing-shipping {
  color: var(--forest-green);
  font-weight: 600;
}
.pricing-info img {
  width: 100%;
  max-width: 360px;
  height: 300px;
  object-fit: contain;
  margin-bottom: 20px;
}
@media (max-width: 800px) {
  .pricing-layout { grid-template-columns: 1fr; }
}

/* ---------- Contact form (Who We Serve #contact) ---------- */
#contact { scroll-margin-top: 20px; }
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact-intro p { color: var(--off-white); }
.contact-direct a { color: var(--gold); text-decoration: underline; }
.contact-form {
  background: var(--white);
  color: var(--near-black);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  padding: 11px 12px;
  border: 1px solid #cfcfcf;
  background: var(--white);
  color: var(--near-black);
  width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 2px solid var(--forest-green); outline-offset: -1px; }
.contact-form .btn { align-self: flex-start; border: none; }
.form-status { margin: 0; font-size: 14px; color: var(--forest-green); font-weight: 600; min-height: 1em; }
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .contact-form { padding: 24px 20px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .contact-form .btn { align-self: stretch; text-align: center; }
}

/* ---------- Audience landing pages (property-solutions, dog-parks) ---------- */
.img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(45deg, #eef1ee, #eef1ee 12px, #e5e9e5 12px, #e5e9e5 24px);
  border: 2px dashed #b9c4bb;
  color: #6b7a6f;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 16px;
}
.img-placeholder.wide { aspect-ratio: 16 / 7; }
.img-placeholder.small { aspect-ratio: 1 / 1; max-width: 120px; font-size: 11px; }
.jump-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.audience-section { scroll-margin-top: 20px; }
.audience-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.audience-section:nth-of-type(even) .audience-split > .audience-media { order: 2; }
.audience-section .eyebrow { margin-bottom: 14px; }
.audience-section .badge-list { padding-left: 0; }
.feature-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 12px; }
.feature-icons .feature { background: var(--card-bg); padding: 28px; }
.feature-icons .feature h5 { color: var(--forest-green); margin-bottom: 10px; }
.feature-icons .feature p { font-size: 15px; color: #333; margin: 0; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps .step { border-top: 3px solid var(--gold); padding-top: 18px; }
.steps .step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 26px;
  display: block;
  margin-bottom: 8px;
}
.steps .step h5 { color: var(--white); margin-bottom: 8px; }
.steps .step p { font-size: 15px; color: var(--off-white); margin: 0; }
@media (max-width: 900px) {
  .audience-split, .feature-icons { grid-template-columns: 1fr; gap: 24px; }
  .audience-section:nth-of-type(even) .audience-split > .audience-media { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .jump-links .btn { flex: 1 1 100%; text-align: center; }
}

/* Landing page section photos (property-solutions, dog-parks) */
.audience-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.product-card img.setup-img { width: 100%; max-width: none; height: 260px; object-fit: cover; margin: 0 0 20px; }

/* Blog post FAQs */
.article-faq { max-width: 720px; margin: 48px auto 0; }
.article-faq h3 { margin-bottom: 20px; }

/* No white boxes around product photos: blend each photo's baked-in white
   background into whatever section/card color sits behind it */
.product-card img:not(.setup-img),
.catalog-card img,
.replacement-card img,
.dispenser-card img,
.pricing-info img {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  mix-blend-mode: multiply;
}

/* Pet Waste Bags hero: wide 3:1 park panorama. Open lawn on the left holds
   the text; anchor right so the woman and station always stay in frame. */
.hero-petbags {
  min-height: 560px;
  background-size: cover;
  background-position: right center;
}
@media (max-width: 900px) {
  .hero-petbags { min-height: 440px; background-position: 97% center; }
}

/* Blog grid: 2 columns on tablets, 1 on phones */
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-petbags .hero-overlay { background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.05) 100%); }
@media (max-width: 900px) {
  .hero-petbags .hero-overlay { background: rgba(0,0,0,0.5); }
}

/* ---------- Mobile/touch optimization ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img { height: auto; }
@media (max-width: 900px) {
  /* 44px minimum touch targets (Apple/Google guideline) */
  .category-tabs button { min-height: 44px; }
  /* 16px+ form text stops iPhones from zooming in when a field is tapped */
  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .faq-search input { font-size: 16px; min-height: 44px; }
  .faq-search { justify-content: stretch; }
  .faq-search input { width: 100%; }
}

/* ---------- Tablet tier (601–900px): 2 columns instead of 1 ---------- */
@media (min-width: 601px) and (max-width: 900px) {
  .grid-3, .feature-icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* odd card out: center it at one column wide instead of leaving a gap */
  .grid-3 > :last-child:nth-child(odd),
  .feature-icons > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 12px);
  }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .catalog-card img, .replacement-card img { height: 260px; }
}

/* ---------- Header nav breakpoints ----------
   Menu labels never wrap. The full menu needs ~1180px; spacing tightens
   from 1121-1279px, and below 1120px it switches to the hamburger panel. */
.main-nav > a, .nav-dropdown-toggle { white-space: nowrap; }
@media (min-width: 1121px) and (max-width: 1279px) {
  .main-nav { gap: 18px; margin-left: 24px; }
  .main-nav > a, .nav-dropdown-toggle { font-size: 15.5px; }
  .header-actions .btn { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 1120px) {
  .main-nav, .header-actions { display: none; }
  .persistent-actions { margin-left: auto; }
  .mobile-nav-toggle { display: flex; }

  /* Mobile dropdown menu: hamburger toggles these open as a
     full-width panel below the header. */
  .main-nav.show-mobile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid #eee;
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    padding: 8px 20px 16px;
    margin-left: 0;
    z-index: 200;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
  .main-nav.show-mobile > a,
  .main-nav.show-mobile .nav-dropdown-toggle {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
    justify-content: space-between;
  }
  .main-nav.show-mobile .nav-dropdown { width: 100%; }
  .main-nav.show-mobile .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    margin-top: 0;
    padding: 0 0 8px 16px;
    min-width: 0;
  }
  .main-nav.show-mobile .nav-dropdown-menu a { padding: 10px 0; }
  .mobile-contact-link {
    display: block !important;
    order: -1;
    color: var(--forest-green) !important;
    font-weight: 700 !important;
  }

  .cart-icon { width: 44px; height: 44px; }
  .mobile-nav-toggle {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; line-height: 1; padding: 0;
  }
  .main-nav.show-mobile { max-height: calc(100dvh - 100px); }
  .main-nav.show-mobile .nav-dropdown-menu a { padding: 12px 0; min-height: 44px; display: flex; align-items: center; }
  .header-inner { position: relative; }
}
