/* ==========================================================================
   PETBUCKET STOREFRONT — clone of petbucket.com.au

   Brand palette extracted from the live site stylesheet (Theme-2020):
     #567BDA  primary blue   (links, CTAs, accents, hover bg #3961c8)
     #84AD08  buybox border / placeholder divider green
     #85AE07  floating sticky-bar olive green
     #90B520  "You Save $X" savings text green
     #92A48A  variant pill checked sage green
     #658600  above-variant text deep green
     #ED5A70  free-shipping ribbon hot-pink
     #F19133  rating-bar fill / orange star color
     #606060  primary text gray
     #878787  section title bar text
     #F3F3F3  section title bar bg (Q&A / Reviews tabs)
     #e9e9e9  section title bar border
     #FAFAFA  variants box / "All reviews/Q&A" buttons bg
     #EFEFEF  variant pill unchecked bg
     #EDEDED  hairlines / gallery card border
     #f2f2f2  review distribution bar TRACK
     #aaa     strikethrough retail / quantity input border
     #ed5a70  free-shipping ribbon hot pink

   Body font is Roboto (Google Fonts) loaded immediately below.

   This file is layered AFTER the bundled default theme.css so the brand
   tokens + bespoke section markup win without re-deriving primitives like
   product cards or form inputs.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --pb-blue:       #567BDA;
  --pb-blue-dark:  #3961c8;

  /* Greens — the legacy theme uses FOUR slightly different greens; we
   * keep them distinct rather than collapsing because each carries a
   * specific UI meaning. */
  --pb-green:           #84AD08;  /* buybox border */
  --pb-green-floating:  #85AE07;  /* floating sticky buy bar background */
  --pb-green-savings:   #90B520;  /* "You Save $X" copy */
  --pb-green-checked:   #92A48A;  /* variant pill checked bg (sage) */
  --pb-green-deep:      #658600;  /* above-variant text */

  /* Accents */
  --pb-pink:        #ED5A70;     /* free-shipping ribbon */
  --pb-orange:      #F19133;     /* rating bars + stars */

  /* Greys */
  --pb-text:        #606060;     /* body text + headlines */
  --pb-text-dark:   #2c2c2c;     /* extra-dark accent (rarely used) */
  --pb-text-muted:  #878787;     /* section title bar text */
  --pb-text-fade:   #aaa;        /* strikethrough retail price + qty input border */

  /* Surfaces */
  --pb-canvas:      #FAFAFA;     /* variants box + "view all" buttons */
  --pb-band:        #EFEFEF;     /* unchecked variant pill bg */
  --pb-band-title:  #F3F3F3;     /* Q&A / Reviews title bar bg */
  --pb-hairline:    #EDEDED;     /* gallery card border + dividers */
  --pb-band-border: #e9e9e9;     /* Q&A / Reviews title bar border */
  --pb-border:      #e1e1e1;
  --pb-bar-track:   #f2f2f2;     /* review distribution bar empty track */
  --pb-danger:      #FF0000;
  --pb-show-more-bg:     #eee;   /* show more / less button bg */
  --pb-show-more-border: #ccc;   /* show more / less button border */

  /* Override the bundled brand vars so any default-theme component that
     paints itself with --color-brand re-skins to Petbucket without a
     separate rewrite. */
  --color-brand:          var(--pb-blue);
  --color-brand-dark:     var(--pb-blue-dark);
  --color-brand-contrast: #ffffff;
  --color-text:           var(--pb-text);
  --color-muted:          var(--pb-text);
  --font-sans:            'Roboto', system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display:         var(--font-sans);
  /* Live petbucket.com.au layout reference:
       #divHeader (outer wrapper) ........ 1300px max
       .CenterSection (inner content) .... 1218px rendered
       Topbar (locale / currency) ........ 1260px max
     We use a single --container shared by header, sub-nav, footer
     and account pages. Inner pages free to clamp themselves further
     (e.g. legal copy at 720px). */
  --container:            1300px;
  --container-narrow:     1218px;
  --container-topbar:     1260px;
}

/* Body — legacy uses Roboto 14 / 1.5 line-height, body color #606060. */
body {
  font-family: var(--font-sans);
  color: var(--pb-text);
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
}

/* Anchor links pick up the brand blue everywhere. */
a { color: var(--pb-blue); }
a:hover { color: var(--pb-blue-dark); }

/* Skip-to-content link — visible only on focus, hops to the main
   landmark. Required for keyboard navigation past the header. */
.pb-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pb-blue);
  color: #fff;
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none;
  z-index: 1000;
  border-radius: 0 0 4px 0;
}
.pb-skip-link:focus {
  left: 0;
  outline: 3px solid #fff;
  outline-offset: -2px;
}

/* Global focus ring — the default-theme stylesheet sometimes wins
   the cascade and removes outlines, so set the brand-blue ring here
   with high specificity for any interactive element. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--pb-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Don't show focus on programmatically-focused elements (e.g. main
   landmark after the skip link). */
[tabindex="-1"]:focus { outline: none; }

/* Hide the bundled-default header so only the Petbucket header is shown
   if anything ever tries to render it. */
.site-header { display: none; }

/* The default theme.css ships a `.section-header` flex rule for its
   own homepage section-heading element. Liquid's section tag wraps
   each rendered section in `<div class="shopify-section section-{{ name }}">`,
   so the bundled rule accidentally turns the wrapper around our header
   into a flex container that puts utility-bar + header element side by
   side. Force block on every Petbucket section wrapper, with high enough
   specificity to win against the inherited `.section-header` rule. */
div.shopify-section,
div.shopify-section.section-header,
div.shopify-section.section-footer { display: block; padding: 0; margin: 0; }

/* ===== Layout primitives ===== */
.pb-container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }

/* ==========================================================================
   Utility bar
   ========================================================================== */
.pb-utility-bar {
  background: var(--pb-canvas);
  border-bottom: 1px solid var(--pb-hairline);
  font-size: 12px;
  color: var(--pb-text);
}
.pb-utility-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.pb-utility-bar__pitches,
.pb-utility-bar__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}
.pb-utility-bar__pitches li,
.pb-utility-bar__links li {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}
.pb-utility-bar__pitches img { display: inline-block; vertical-align: middle; }
.pb-utility-bar__links a { color: var(--pb-text); text-decoration: none; }
.pb-utility-bar__links a:hover { color: var(--pb-blue); }
.pb-utility-bar__lang { color: var(--pb-text); }

/* ==========================================================================
   Main header
   ========================================================================== */
.pb-header {
  background: #fff;
  border-bottom: 1px solid var(--pb-hairline);
  position: sticky;
  top: 0;
  z-index: 50;
}
.pb-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 18px;
}
.pb-logo img { display: block; max-height: 56px; width: auto; }

.pb-search {
  display: flex;
  align-items: center;
  border: 2px solid var(--pb-blue);
  border-radius: 4px;
  overflow: hidden;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
}
.pb-search input[type="search"] {
  flex: 1;
  border: 0;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--pb-text-dark);
  outline: none;
  background: transparent;
}
.pb-search button {
  background: var(--pb-blue);
  color: #fff;
  border: 0;
  padding: 0 14px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.pb-search button:hover { background: var(--pb-blue-dark); }
.pb-search button .icon { color: #fff; }

.pb-header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--pb-text);
  font-size: 13px;
}
.pb-header__phone strong { display: block; color: var(--pb-text-dark); font-size: 15px; line-height: 1.1; }
.pb-header__phone-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }

.pb-header__action {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 8px;
  text-decoration: none;
  color: var(--pb-text);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  position: relative;
}
.pb-header__action img,
.pb-header__action .icon { width: 22px; height: 22px; }
.pb-header__action span { line-height: 1; }
.pb-header__action:hover { color: var(--pb-blue); }

.pb-header__cart-count {
  position: absolute;
  top: -2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--pb-blue);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.pb-header__cart-count.is-empty { display: none; }

.pb-header__trade-chip {
  position: absolute;
  top: -4px;
  right: -8px;
  padding: 1px 5px;
  background: var(--pb-green);
  color: #fff;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 14px;
}

/* ==========================================================================
   Sub-nav strip
   ========================================================================== */
.pb-subnav {
  background: var(--pb-blue);
  color: #fff;
}
.pb-subnav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: stretch;
  gap: 24px;
  flex-wrap: wrap;
}
.pb-subnav__cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
}
.pb-subnav__cat { position: relative; }
.pb-subnav__cat-link {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.pb-subnav__cat--has-children .pb-subnav__cat-link::after {
  content: '';
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 120ms ease;
}
.pb-subnav__cat-link:hover,
.pb-subnav__cat-link.is-active {
  background: var(--pb-blue-dark);
  color: #fff;
}
.pb-subnav__cat:hover .pb-subnav__cat-link::after { transform: rotate(-135deg) translateY(-1px); }

.pb-subnav__panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--pb-hairline);
  border-top: 3px solid var(--pb-blue);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 120ms ease, transform 120ms ease, visibility 120ms ease;
  z-index: 40;
}
.pb-subnav__cat:hover .pb-subnav__panel,
.pb-subnav__cat:focus-within .pb-subnav__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.pb-subnav__panel ul { list-style: none; margin: 0; padding: 0; }
.pb-subnav__panel a {
  display: block;
  padding: 8px 16px;
  color: var(--pb-text-dark);
  text-decoration: none;
  font-size: 14px;
  border-left: 3px solid transparent;
}
.pb-subnav__panel a:hover {
  color: var(--pb-blue);
  background: var(--pb-canvas);
  border-left-color: var(--pb-blue);
}

/* Featured brands strip on the right of the sub-nav */
.pb-subnav__brands {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}
.pb-subnav__brands-label { white-space: nowrap; }
.pb-subnav__brands ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.pb-subnav__brands a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  padding: 6px 0;
}
.pb-subnav__brands a:hover { border-bottom-color: #fff; }

/* Mobile collapse */
@media (max-width: 880px) {
  .pb-utility-bar__inner { font-size: 11px; gap: 8px; }
  .pb-utility-bar__pitches li:nth-child(2) { display: none; }
  .pb-header__inner { grid-template-columns: auto 1fr auto; }
  .pb-header__phone { display: none; }
  .pb-search { order: 4; grid-column: 1 / -1; max-width: 100%; }
  .pb-subnav__inner { gap: 0; }
  /* Allow horizontal scroll for the category strip on narrow screens
     but hide the scrollbar so the row reads as a clean swipe surface
     (matches the live site UX). Scrolling still works via touch /
     trackpad / arrow keys. */
  .pb-subnav__cats {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* legacy IE/Edge */
  }
  .pb-subnav__cats::-webkit-scrollbar { display: none; } /* WebKit/Blink */
  .pb-subnav__cat-link { padding: 0 12px; font-size: 13px; white-space: nowrap; }
  .pb-subnav__brands { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.pb-hero {
  background:
    linear-gradient(135deg, rgba(86, 123, 218, 0.92), rgba(57, 97, 200, 0.95)),
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.12), transparent 50%);
  color: #fff;
  padding: clamp(48px, 8vw, 96px) 16px;
}
.pb-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}
.pb-hero__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0.01em;
}
.pb-hero__subtitle {
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 300;
  max-width: 720px;
  margin: 0 auto 32px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}
.pb-hero__ctas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.pb-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid #fff;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: background 150ms ease, transform 150ms ease;
}
.pb-hero__cta:hover {
  background: #fff;
  color: var(--pb-blue-dark);
  transform: translateY(-1px);
}
.pb-hero__cta:hover img { filter: brightness(0.4); }
.pb-hero__cta img { transition: filter 150ms ease; }

/* ==========================================================================
   Reviews band
   ========================================================================== */
.pb-reviews-band {
  background: var(--pb-canvas);
  border-bottom: 1px solid var(--pb-hairline);
  padding: 24px 16px;
}
.pb-reviews-band__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.pb-reviews-band__logo {
  width: 78px;
  height: auto;
  flex-shrink: 0;
}
.pb-reviews-band__text {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 16px;
  color: var(--pb-text-dark);
  flex-wrap: wrap;
}
.pb-reviews-band__count,
.pb-reviews-band__rating {
  font-size: 28px;
  font-weight: 700;
  color: var(--pb-blue);
  display: inline-block;
  margin-right: 6px;
}
.pb-reviews-band__rating { color: var(--pb-green); }
/* Numeric rating value (e.g. "4.97") sits flush before the star bar
 * by default — give it a small gap so it reads as "4.97 ★★★★★". */
.pb-reviews-band__rating .pb-stars__value { margin-right: 6px; }
.pb-reviews-band__text em { color: var(--pb-text); font-style: italic; }
.pb-reviews-band__button {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--pb-blue);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background 120ms ease;
}
.pb-reviews-band__button:hover { background: var(--pb-blue-dark); color: #fff; }

/* ==========================================================================
   Popular brands strip
   ========================================================================== */
.pb-popular-brands {
  padding: 36px 16px;
  background: #fff;
}
.pb-popular-brands__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.pb-popular-brands__title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  text-align: center;
  margin: 0 0 24px;
  color: var(--pb-text-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pb-popular-brands__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--pb-blue);
  margin: 10px auto 0;
}
.pb-popular-brands__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (min-width: 720px) {
  .pb-popular-brands__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .pb-popular-brands__grid { grid-template-columns: repeat(6, 1fr); }
}
.pb-popular-brands__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  padding: 12px 16px;
  border: 1px solid var(--pb-hairline);
  border-radius: 6px;
  background: #fff;
  transition: border-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}
.pb-popular-brands__tile:hover {
  border-color: var(--pb-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(86, 123, 218, 0.12);
}
.pb-popular-brands__tile img { max-height: 56px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.pb-popular-brands__name { font-weight: 600; color: var(--pb-text-dark); }

/* ==========================================================================
   Featured products row
   ========================================================================== */
.pb-featured-products {
  padding: 36px 16px 56px;
  background: var(--pb-canvas);
}
.pb-featured-products__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.pb-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
}
.pb-section-head h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  margin: 0;
  color: var(--pb-text-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pb-section-head__link { color: var(--pb-blue); font-weight: 600; text-decoration: none; }
.pb-section-head__link:hover { color: var(--pb-blue-dark); }

.pb-product-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (min-width: 720px) { .pb-product-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .pb-product-row { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.pb-footer { background: #2c2c2c; color: #d8d8d8; }
.pb-footer__promise {
  background: var(--pb-blue);
  color: #fff;
  padding: 20px 16px;
}
.pb-footer__promise-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  text-align: center;
}
@media (min-width: 720px) {
  .pb-footer__promise-inner { grid-template-columns: repeat(3, 1fr); text-align: left; }
}
.pb-footer__promise-inner > div {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (min-width: 720px) {
  .pb-footer__promise-inner > div { justify-content: flex-start; }
}
.pb-footer__promise-inner img { width: 32px; height: 32px; flex-shrink: 0; }
.pb-footer__promise-inner strong { font-weight: 600; font-size: 15px; display: block; }
.pb-footer__promise-inner span { font-size: 13px; opacity: 0.92; display: block; width: 100%; }

.pb-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 720px) { .pb-footer__inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pb-footer__inner { grid-template-columns: repeat(4, 1fr); } }

.pb-footer__col h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pb-footer__col ul { list-style: none; margin: 0; padding: 0; }
.pb-footer__col li { margin: 0 0 9px; }
.pb-footer__col a {
  color: #d8d8d8;
  text-decoration: none;
  font-size: 14px;
  transition: color 120ms ease;
}
.pb-footer__col a:hover { color: #fff; text-decoration: underline; }

.pb-footer__bottom { background: #1f1f1f; padding: 18px 16px; }
.pb-footer__bottom-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.pb-footer__social { display: flex; gap: 10px; align-items: center; }
.pb-footer__social a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: background 120ms ease;
}
.pb-footer__social a:hover { background: var(--pb-blue); color: #fff; }
.pb-footer__copy { margin: 0; font-size: 13px; color: #999; }

/* ==========================================================================
   Hide bundled-default sections we replace so the home stays Petbucket-only
   ========================================================================== */
.shopify-section.section-trust-badges,
.shopify-section.section-collection-list,
.shopify-section.section-image-with-text,
.shopify-section.section-newsletter,
.shopify-section.section-featured-collection,
.shopify-section.section-announcement-bar { display: none; }

/* ==========================================================================
   Category detail page
   ========================================================================== */
.pb-collection {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 16px 48px;
}

.pb-breadcrumb {
  font-size: 13px;
  color: var(--pb-text);
  margin-bottom: 16px;
}
.pb-breadcrumb a { color: var(--pb-blue); text-decoration: none; }
.pb-breadcrumb a:hover { text-decoration: underline; }
.pb-breadcrumb__current { color: var(--pb-text-dark); font-weight: 600; }
.pb-breadcrumb span[aria-hidden] { margin: 0 6px; color: var(--pb-text); }

.pb-subcat-strip {
  margin-bottom: 24px;
  border: 1px solid var(--pb-hairline);
  border-radius: 6px;
  background: #fff;
  padding: 16px;
}
.pb-subcat-strip__title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pb-text-dark);
  margin: 0 0 14px;
}
.pb-subcat-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 720px) { .pb-subcat-strip ul { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .pb-subcat-strip ul { grid-template-columns: repeat(6, 1fr); } }
.pb-subcat-strip a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  color: var(--pb-text-dark);
  transition: border-color 120ms ease, transform 120ms ease;
}
.pb-subcat-strip a:hover {
  border-color: var(--pb-blue);
  transform: translateY(-2px);
}
.pb-subcat-strip img,
.pb-subcat-strip__placeholder {
  width: 100%;
  height: 80px;
  object-fit: contain;
  background: var(--pb-canvas);
  border-radius: 4px;
}
.pb-subcat-strip span {
  font-size: 13px;
  font-weight: 500;
}

.pb-collection__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) {
  .pb-collection__body { grid-template-columns: 240px 1fr; }
}

/* Sidebar */
.pb-sidebar { display: flex; flex-direction: column; gap: 20px; }
.pb-filter-box {
  background: #fff;
  border: 1px solid var(--pb-hairline);
  border-radius: 6px;
  overflow: hidden;
}
.pb-filter-box__title {
  background: var(--pb-blue);
  color: #fff;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pb-filter-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  max-height: 360px;
  overflow-y: auto;
}
.pb-filter-list li { font-size: 13px; }
.pb-filter-list a {
  display: block;
  padding: 6px 14px;
  color: var(--pb-text-dark);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 120ms ease;
}
.pb-filter-list a:hover {
  background: var(--pb-canvas);
  color: var(--pb-blue);
}
.pb-filter-list .is-active > a {
  background: var(--pb-canvas);
  color: var(--pb-blue);
  font-weight: 700;
  border-left-color: var(--pb-blue);
}

/* Header / toolbar / pager */
.pb-collection-head { margin-bottom: 18px; }
.pb-collection-head__title {
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 0 0 6px;
  color: var(--pb-text-dark);
}
.pb-collection-head__desc { color: var(--pb-text); font-size: 14px; line-height: 1.5; }

.pb-collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 0;
  border-top: 1px solid var(--pb-hairline);
  border-bottom: 1px solid var(--pb-hairline);
  margin-bottom: 16px;
}
.pb-collection-toolbar__count {
  margin: 0;
  color: var(--pb-text);
  font-size: 13px;
}
.pb-collection-toolbar__sort label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--pb-text); }
.pb-collection-toolbar__sort select {
  border: 1px solid var(--pb-border);
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 4px;
  background: #fff;
}

.pb-empty {
  padding: 48px;
  text-align: center;
  color: var(--pb-text);
  background: var(--pb-canvas);
  border-radius: 6px;
  border: 1px dashed var(--pb-border);
}

.pb-pager { margin-top: 32px; text-align: center; }
.pb-pager ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.pb-pager li a,
.pb-pager li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid var(--pb-border);
  color: var(--pb-text-dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.pb-pager li a:hover { border-color: var(--pb-blue); color: var(--pb-blue); }
.pb-pager li.is-current span { background: var(--pb-blue); color: #fff; border-color: var(--pb-blue); }

/* ==========================================================================
   Product grid + card
   ========================================================================== */
.pb-product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 720px) { .pb-product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .pb-product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .pb-product-grid { grid-template-columns: repeat(4, 1fr); } }

.pb-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--pb-hairline);
  border-radius: 4px;
  padding: 12px;
  transition: border-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
  position: relative;
}
.pb-card:hover {
  border-color: var(--pb-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(86, 123, 218, 0.12);
}
.pb-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  margin-bottom: 12px;
  background: var(--pb-canvas);
  border-radius: 4px;
  overflow: hidden;
}
.pb-card__thumb img,
.pb-card__thumb-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pb-card__sale-ribbon,
.pb-card__new-ribbon {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  border-radius: 999px;
  z-index: 2;
}
.pb-card__sale-ribbon { background: var(--pb-danger); }
.pb-card__new-ribbon  { background: var(--pb-green); }

.pb-card__brand {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pb-blue);
  margin-bottom: 4px;
  text-decoration: none;
}
.pb-card__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.pb-card__title a { color: var(--pb-text-dark); text-decoration: none; }
.pb-card__title a:hover { color: var(--pb-blue); }

.pb-card__prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.pb-card__price {
  font-size: 18px;
  font-weight: 700;
  color: var(--pb-danger);
}
.pb-card__compare {
  font-size: 13px;
  color: var(--pb-text);
  text-decoration: line-through;
}
.pb-card__save {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--pb-green);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pb-card__cta {
  display: block;
  text-align: center;
  margin-top: auto;
  padding: 7px 12px;
  background: var(--pb-blue);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  border-radius: 4px;
  transition: background 120ms ease;
}
.pb-card__cta:hover { background: var(--pb-blue-dark); color: #fff; }

/* ==========================================================================
   Brand detail page (extends pb-collection)
   ========================================================================== */
.pb-brand-banner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 24px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--pb-canvas) 0%, #fff 100%);
  border: 1px solid var(--pb-hairline);
  border-radius: 6px;
  flex-wrap: wrap;
}
.pb-brand-banner__logo {
  max-width: 200px;
  max-height: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.pb-brand-banner__copy {
  flex: 1;
  min-width: 240px;
}
.pb-brand-banner__title {
  font-size: clamp(24px, 2.6vw, 30px);
  margin: 0 0 8px;
  color: var(--pb-text-dark);
}
.pb-brand-banner__desc {
  color: var(--pb-text);
  font-size: 14px;
  line-height: 1.5;
}
.pb-brand-banner__desc p { margin: 0 0 6px; }

/* ==========================================================================
   Product detail page
   ========================================================================== */
.pb-product { max-width: var(--container); margin: 0 auto; padding: 18px 16px 48px; }

/* ==========================================================================
   Mobile sticky buy-bar + variant modal (<880px)
   ========================================================================== */
/* Buy-bar pinned to the top of the scrolling content. Above the
   header on the way in (z-index above sticky header). Desktop hides
   it via the media query below. */
/* Sticky top buy-bar. Hidden by default; the inline JS at the bottom of
   main-product.liquid toggles `is-visible` once the desktop buybox
   scrolls out of view via IntersectionObserver. That keeps the bar
   from cannibalising the page on widths where the desktop buybox
   would otherwise still be visible. */
/* Floating sticky buy bar — direct port of legacy `.floating-buy-wrapper`:
 *   position: fixed; top:0; left:0; right:0; z-index:999
 *   background:#85AE07 (olive — distinct from the buybox border green)
 *   padding:6px 10px
 *   color:#fff
 *
 * Inner cluster (.pb-mobile-buybar__inner) is centred at max-width:1260px,
 * containing the price (24px white) + Add-to-Cart pill (#567BDA, 3px radius,
 * 16px text, with cart icon).
 *
 * The IntersectionObserver in main-product.liquid toggles `.is-visible`
 * once the desktop buybox scrolls out of view. */
.pb-mobile-buybar {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 6px 10px;
  background: var(--pb-green-floating);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transform: translateY(-100%);
  transition: transform 180ms ease;
}
.pb-mobile-buybar.is-visible {
  display: flex;
  transform: translateY(0);
}
.pb-mobile-buybar__price {
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  padding: 0 15px 0 0;
  line-height: 35px;
}
.pb-mobile-buybar__add {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pb-blue);
  color: #fff;
  border: 0;
  border-radius: 3px;
  padding: 8px 15px 8px 12px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  font-family: var(--font-sans);
}
.pb-mobile-buybar__add:hover { background: var(--pb-blue-dark); }
.pb-mobile-buybar__add:disabled { opacity: 0.6; cursor: not-allowed; }

/* Variant modal */
.pb-mobile-modal {
  border: 0;
  border-radius: 8px;
  padding: 20px;
  width: min(360px, 92vw);
  background: #fff;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}
.pb-mobile-modal::backdrop { background: rgba(0, 0, 0, 0.5); }
.pb-mobile-modal__close-form { margin: 0; }
.pb-mobile-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 28px;
  height: 28px;
  background: transparent;
  border: 1px solid var(--pb-border);
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: var(--pb-text);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pb-mobile-modal__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 28px 16px 0;
  color: var(--pb-text-dark);
}
.pb-mobile-modal__title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.pb-mobile-modal__product-title {
  font-size: 14px;
  color: var(--pb-text-dark);
  flex: 1;
}
.pb-mobile-modal__product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--pb-text-dark);
  white-space: nowrap;
}
.pb-mobile-modal__image {
  display: block;
  margin: 0 auto 16px;
  max-width: 200px;
  height: auto;
}
.pb-mobile-modal__variants {
  background: var(--pb-canvas);
  border: 1px solid var(--pb-hairline);
  border-radius: 6px;
  padding: 14px;
  margin: 0 0 16px;
}
.pb-mobile-modal__variants legend {
  font-weight: 700;
  font-size: 14px;
  color: var(--pb-text-dark);
  padding: 0 4px;
}
.pb-mobile-modal__variants ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pb-mobile-modal__variants label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--pb-text-dark);
  cursor: pointer;
}
.pb-mobile-modal__variants input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--pb-blue);
}
.pb-mobile-modal__submit {
  width: 100%;
  background: var(--pb-blue);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.pb-mobile-modal__submit:hover { background: var(--pb-blue-dark); }
.pb-mobile-modal__submit:disabled { background: #b8c0c8; cursor: not-allowed; }

/* ==========================================================================
   end mobile buy-bar
   ========================================================================== */

/* Title row above the grid — legacy:
 *   `.detailTop` (no border, margin-bottom: 5px)
 *   `.product-title` (a <div>): font-size:24px !important, font-weight:normal !important
 *   `.detailMeta` (flex row): rating sprite + "X customer reviews" + "X answered questions"
 * The links inside the meta row are #567BDA on hover-underline.
 *
 * We render the title as <h1> (good SEO) but match the visual to the
 * legacy <div>: 24px / weight 400 / #606060 / margin-bottom 5px.
 */
.pb-product-titlerow {
  margin: 4px 0 18px;
  max-width: var(--pb-pdp-cap, 1314px);
  margin-left: auto;
  margin-right: auto;
}
.pb-product-titlerow__title {
  font-size: 24px;
  font-weight: normal;
  margin: 0 0 5px;
  color: var(--pb-text);
  line-height: 1.25;
}
@media (max-width: 640px) {
  .pb-product-titlerow__title { font-size: 22px; }
}
.pb-product-titlerow__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
}
.pb-product-titlerow__rating,
.pb-product-titlerow__qa {
  color: var(--pb-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pb-product-titlerow__rating:hover,
.pb-product-titlerow__qa:hover { color: var(--pb-blue); text-decoration: underline; }
.pb-product-titlerow__rating .pb-stars { color: var(--pb-orange); font-size: 18px; }
.pb-product-titlerow__count { font-weight: 400; }
.pb-product-titlerow__sep { color: var(--pb-text); opacity: 0.5; }

/* Star rating widget — legacy uses an image sprite (Theme-2020/stars.png).
 * Without the asset we render unicode stars in the brand orange. The
 * `.pb-stars` selector is used in title row + each individual review card. */
.pb-stars { color: var(--pb-orange); letter-spacing: 1px; }

/* PDP top fold — flat 3-sibling grid (gallery / centre / buybox) so we
 * can drive the responsive cascade with grid-template-areas without
 * touching markup. Order priorities:
 *
 *   ≥1024px:  3 columns — gallery (left), description (centre), buybox
 *             (right, sticky). Direct visual port of legacy 45/22/30.
 *   720-1023: 2 columns — gallery (left) + buybox (right) on row 1,
 *             description full-width on row 2. Description "drops down"
 *             so it stops squeezing.
 *   <720px:   single column stacked in this order: gallery → buybox →
 *             centre. Buybox sits directly under the picture so the
 *             customer can buy before scrolling past the long copy.
 *
 * The `--pb-pdp-cap` variable matches the legacy
 * `.CenterSection .ProductDetail .wWrapperOut max-width:1314px`.
 */
:root {
  --pb-pdp-cap: 1314px;
}
.pb-product__top {
  display: grid;
  grid-template-columns: 1fr;
  /* Default (mobile <720) — single column, ordered by area:
   *   gallery / buybox / centre */
  grid-template-areas:
    "gallery"
    "buybox"
    "centre";
  gap: 24px;
  margin: 0 auto 36px;
  max-width: var(--pb-pdp-cap);
  align-items: start;
}
.pb-product__top > .pb-product-gallery { grid-area: gallery; }
.pb-product__top > .pb-product-buybox  { grid-area: buybox; }
.pb-product__top > .pb-product-centre  { grid-area: centre; }

/* Tablet — gallery + buybox side-by-side on row 1, description below. */
@media (min-width: 720px) {
  .pb-product__top {
    grid-template-columns: 1fr 320px;
    grid-template-areas:
      "gallery buybox"
      "centre  centre";
    column-gap: 24px;
    row-gap: 28px;
  }
}

/* Desktop — 3 columns, description in the middle, buybox on the right
 * (sticky). Approximates the legacy 45/22/30 split. */
@media (min-width: 1024px) {
  .pb-product__top {
    grid-template-columns: minmax(360px, 45fr) minmax(0, 25fr) minmax(280px, 30fr);
    grid-template-areas: "gallery centre buybox";
    column-gap: 28px;
  }
  .pb-product__top > .pb-product-centre {
    /* Legacy `.detailMiddle .productDescription { padding:0 0 20px 35px }` —
     * applied as a direct gap rather than an internal pad to keep grid
     * tracks predictable. The 28px column-gap covers most of it. */
    padding: 0;
  }
}

/* Gallery — direct port of legacy `.productGallery .image-gallery > .slide-container-h > div:first-of-type`:
 *   background: #FFFFFF
 *   border:     1px solid #EDEDED
 *   padding:    30px (square corners — radius 0)
 *   text-align: center
 *   width:      100% (within the 45% gallery column)
 * Native asset is 350×350; the 30px padding + 1px border yields a ~412px card.
 */
.pb-product-gallery { width: 100%; max-width: 412px; margin-left: auto; margin-right: auto; }
.pb-product-gallery__main {
  background: #fff;
  border: 1px solid var(--pb-hairline);
  border-radius: 0;
  padding: 30px;
  box-sizing: border-box;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}
.pb-product-gallery__thumbs { max-width: 412px; }

/* Centre column — italic lead, Type/SKU/Brand spec line, full
   description, secure-logo strip, award badges. */
.pb-product-centre {
  color: var(--pb-text-dark);
  font-size: 14px;
  line-height: 1.55;
  /* Critical: keep the grid item from overflowing its track when the
     content has long inline tokens (URLs, brand names, etc.). Without
     `min-width: 0` the implicit `min-width: min-content` lets the
     column expand into the buybox's lane and the description visually
     hides behind the sticky buybox. */
  min-width: 0;
  overflow-wrap: anywhere;
}
.pb-product-centre img,
.pb-product-centre table { max-width: 100%; height: auto; }
.pb-product-centre__lead {
  font-style: italic;
  color: var(--pb-text-dark);
  font-size: 16px;
  margin: 0 0 12px;
}
.pb-product-centre__specs {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--pb-text);
}
.pb-product-centre__specs strong { color: var(--pb-text-dark); font-weight: 600; }
.pb-product-centre__desc { color: var(--pb-text); font-size: 14px; line-height: 21px; }
.pb-product-centre__desc ul { padding-left: 22px; margin: 8px 0; }
.pb-product-centre__desc li { margin: 4px 0; }

/* Description "Show more / Show less" toggle — direct port of legacy
 * `#truncate` / `#restore` pill button:
 *   display:inline-block;
 *   background-color:#eee;
 *   padding:6px 15px;
 *   color:#567BDA;
 *   border:1px solid #ccc;
 *   border-radius:3px;
 *   margin-top:20px;
 * Hover bg: #fff. CSS-only toggle via hidden checkbox + sibling
 * combinator (no JS needed). */
.pb-desc-toggle { margin: 20px 0 14px; }
.pb-desc-toggle__input { position: absolute; opacity: 0; pointer-events: none; }
.pb-desc-toggle__content {
  max-height: 320px;
  overflow: hidden;
  position: relative;
  transition: max-height 240ms ease;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}
.pb-desc-toggle__input:checked ~ .pb-desc-toggle__content {
  max-height: 6000px;
  -webkit-mask-image: none;
          mask-image: none;
}
.pb-show-more {
  display: inline-block;
  margin: 20px 0 0;
  padding: 6px 15px;
  background: var(--pb-show-more-bg);
  color: var(--pb-blue);
  border: 1px solid var(--pb-show-more-border);
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 21px;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
}
.pb-show-more:hover { background: #fff; }
.pb-show-more__less { display: none; }
.pb-desc-toggle__input:checked ~ .pb-show-more .pb-show-more__more { display: none; }
.pb-desc-toggle__input:checked ~ .pb-show-more .pb-show-more__less { display: inline; }
.pb-product-centre__secure {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  margin-top: 16px;
  border-top: 1px solid var(--pb-hairline);
}
.pb-product-centre__secure img {
  height: 32px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}
.pb-product-centre__secure img:hover { opacity: 1; }
.pb-product-centre__awards {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.pb-product-centre__awards img { max-height: 96px; width: auto; }

/* Below-fold bands (Q&A, Recommended, Reviews) — direct port of the
 * legacy `.questions-title` / `.reviews-title` pseudo-tab look:
 *   background: #F3F3F3
 *   border:     1px solid #e9e9e9
 *   border-radius: 5px 5px 0 0   (top-rounded only — sits on the
 *                                  content like a tab)
 *   padding:    10px 10px 10px 20px
 *   color:      #878787 (Q&A) / #606060 (Reviews — slightly darker)
 *   font-size:  24px
 *   max-width:  950px (legacy `.detailBottom .questions-title`)
 *   margin-top: 40px (Reviews adds extra gap above)
 *
 * The `.pb-product-band__head` is the shared header rendered on each
 * `<section class="pb-product-band">` (Q&A, Reviews, Recommended).
 * The "Ask a question" / "Write a review" pill sits on the right.
 */
.pb-product-band {
  margin-top: 30px;
  padding-top: 0;
  border-top: 0;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}
/* Reviews band gets extra breathing room above (legacy +40px). */
.pb-product-band#reviews { margin-top: 40px; }
.pb-product-band__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--pb-band-title);
  border: 1px solid var(--pb-band-border);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  padding: 10px 10px 10px 20px;
  margin-bottom: 0;
  position: relative;
  overflow: visible;
}
.pb-product-band__head::before { content: none; } /* drop the legacy blue stripe accent */
.pb-product-band__head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  color: var(--pb-text-muted);
  line-height: 1.25;
  letter-spacing: 0;
}
/* Reviews title is slightly darker per legacy. */
.pb-product-band#reviews .pb-product-band__head h2 { color: var(--pb-text); }
@media (max-width: 640px) {
  .pb-product-band__head h2 { font-size: 20px; }
}

/* The "Ask a Question" / "Write a Review" trigger button on the right
 * of each tab — legacy uses a small white pill with #ccc border. */
.pb-product-band__head .pb-button--ghost,
.pb-product-band__head .pb-button {
  border-radius: 3px;
  background: #fff;
  border: 1px solid #ccc;
  color: var(--pb-text);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 15px;
  text-decoration: none;
  font-family: var(--font-sans);
  transition: background 120ms ease, color 120ms ease;
}
.pb-product-band__head .pb-button--ghost:hover,
.pb-product-band__head .pb-button:hover {
  background: var(--pb-blue);
  color: #fff;
  border-color: var(--pb-blue);
}
.pb-product-gallery__main img,
.pb-product-gallery__placeholder {
  width: 100%;
  height: 100%;
  max-width: 350px;
  max-height: 350px;
  object-fit: contain;
  background: #fff;
}
/* Thumbnail strip — legacy: row of 72×72 cells, each holding a 50×50
 * thumbnail centered with 10px padding + 1px #EDEDED border + white
 * background. Strip sits BELOW the main image, centred via flex.
 * Hidden below 960px (mobile uses single image only). */
.pb-product-gallery__thumbs {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.pb-product-gallery__thumbs li {
  width: 72px;
  height: 72px;
}
.pb-product-gallery__thumbs button {
  width: 72px;
  height: 72px;
  padding: 10px;
  border: 1px solid var(--pb-hairline);
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  transition: border-color 120ms ease;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pb-product-gallery__thumbs button:hover,
.pb-product-gallery__thumbs button.is-active { border-color: var(--pb-blue); }
.pb-product-gallery__thumbs img { width: 50px; height: 50px; object-fit: contain; display: block; }
@media (max-width: 960px) {
  .pb-product-gallery__thumbs { display: none; }
}

/* Buybox — direct visual port of the legacy `.productBuyBox`.
 *   border  : 1px solid #84AD08 (Petbucket green)
 *   bg      : #fff
 *   padding : 25px (legacy 25px square)
 *   radius  : 0  (legacy has no rounded corners)
 *   sticky  : position:sticky; top:10px on desktop ≥960
 */
.pb-product-buybox {
  background: #fff;
  border: 1px solid var(--pb-green);
  border-radius: 0;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  position: relative;
}
@media (min-width: 960px) {
  .pb-product-buybox {
    position: sticky;
    top: 10px;
    align-self: start;
  }
}

/* Free-shipping ribbon — full-width band that bleeds over the box's
 * 25px padding via negative margins (legacy `margin:-26px -26px 20px`).
 * Coral background `#ed5a70` with white left-aligned 18px text and a
 * bundled icon to the left. Square corners — no radius (it's a flush
 * top band, not a pill).
 */
.pb-product-buybox__shipping {
  background: #ed5a70;
  color: #fff;
  font-weight: 500;
  padding: 8px 5px 7px 40px;
  margin: -26px -26px 20px;
  border-radius: 0;
  font-size: 18px;
  line-height: 1.2;
  text-align: left;
  background-image: url('/petbucket-assets/icon-free-shipping-top.png');
  background-repeat: no-repeat;
  background-position: 8px center;
  background-size: 24px auto;
}
.pb-product-buybox__brand {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pb-blue);
  text-decoration: none;
}
.pb-product-buybox__title {
  font-size: clamp(20px, 2vw, 24px);
  margin: 0;
  color: var(--pb-text-dark);
  line-height: 1.25;
}
.pb-product-buybox__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--pb-text);
  text-decoration: none;
}
.pb-product-buybox__rating:hover { color: var(--pb-blue); }

.pb-product-buybox__prices { display: flex; flex-direction: column; gap: 4px; }
.pb-product-buybox__retail {
  /* Legacy: 18px / weight 300 / #aaa / strikethrough. */
  font-size: 18px;
  font-weight: 300;
  text-decoration: line-through;
  color: #aaa;
  line-height: 135%;
}
.pb-product-buybox__our {
  /* Legacy: 36px / weight 500 / #606060 (body grey, NOT red) / line-height 42px. */
  font-size: 36px;
  font-weight: 500;
  color: var(--pb-text);
  line-height: 42px;
}
.pb-product-buybox__save {
  /* Legacy: 18px / lighter-green #90b520 / NOT bold. */
  color: #90b520;
  font-weight: 400;
  font-size: 18px;
}
.pb-product-buybox__short { color: var(--pb-text); font-size: 14px; line-height: 1.5; }

/* Variant group + Schedule & Save — direct port of legacy `.variants`:
 *   bg      : #FAFAFA  (--pb-canvas)
 *   border  : 1px solid #ededed (--pb-hairline)
 *   padding : 15px
 *   heading : first <p> bolded, plain text — no accent color
 *
 * Each option is a `<label>` row with the plan name + an inline
 * surcharge in parentheses (e.g. "Every 3 months (-$2.20)"). No
 * pill background or selected-state border on the visible row —
 * the native radio dot is the indicator (legacy parity).
 */
.pb-product-variant-group,
.pb-product-schedule-save {
  background: var(--pb-canvas);
  border: 1px solid var(--pb-hairline);
  border-radius: 0;
  padding: 15px;
  margin: 0 0 15px;
}
.pb-product-variant-group legend,
.pb-product-schedule-save legend {
  font-weight: 700;
  font-size: 14px;
  color: var(--pb-text-dark);
  padding: 0;
  margin-bottom: 8px;
  float: none;
}
/* Schedule & Save / variant rows — direct port of the legacy `labelauty`
 * jQuery pill widget:
 *   .variantsAsRadioButton input[type=radio] { display:none }
 *   input + label {
 *     display:block;       (full-row)
 *     box-sizing:border-box;
 *     min-width:170px;
 *     margin:3px 0;
 *     padding:10px;
 *     background:#efefef;  (unchecked)
 *     color:#b3b3b3;
 *     border-radius:3px;
 *     font-size:13px;
 *     cursor:pointer;
 *   }
 *   input:checked + label { background:#92a48a; color:#fff; }
 *
 * The radio itself is hidden; the visible affordance is the entire
 * label cell. Hover darkens the unchecked bg slightly.
 */
.pb-variant-pills {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pb-variant-pill__input {
  /* Hide the native radio — the wrapping label IS the affordance. */
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.pb-variant-pill {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  min-width: 170px;
  margin: 0;
  padding: 10px;
  background: var(--pb-band);
  color: #b3b3b3;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.4;
  box-sizing: border-box;
  user-select: none;
  transition: background 120ms ease, color 120ms ease;
}
.pb-variant-pill:hover { background: #eaeaea; color: #a7a7a7; }

/* Checked state — the sibling input is :checked, paint the pill sage green. */
.pb-variant-pill__input:checked + .pb-variant-pill {
  background: var(--pb-green-checked);
  color: #fff;
}
.pb-variant-pill__input:checked + .pb-variant-pill .pb-variant-pill__surcharge {
  color: #fff;
  opacity: 0.92;
}

.pb-variant-pill__label { font-weight: 400; flex: 0 1 auto; }
.pb-variant-pill__surcharge {
  /* Surcharge sits inline next to the label, no pill background. */
  background: transparent;
  color: inherit;
  padding: 0 0 0 4px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0.85;
}
.pb-variant-pill__input:focus-visible + .pb-variant-pill {
  outline: 2px solid var(--pb-blue);
  outline-offset: 2px;
}

/* Disabled / unavailable */
.pb-variant-pill.is-unavailable,
.pb-variant-pill__input:disabled + .pb-variant-pill {
  opacity: 0.55;
  cursor: not-allowed;
}
.pb-variant-pill__oos {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pb-danger);
}

.pb-product-buybox__cta {
  display: grid;
  /* Legacy: qty cell is 65px wide; the button takes the rest. */
  grid-template-columns: 65px 1fr;
  gap: 8px;
  align-items: center;
}
.pb-product-buybox__qty { display: flex; align-items: center; margin: 0; }
.pb-product-buybox__qty span {
  /* Hide the inline "Qty" label — the legacy buybox doesn't show it
   * (the input alone is the affordance). Keep the markup for a11y. */
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.pb-product-buybox__qty input {
  /* Legacy: 60×43px, 1px solid #aaa, radius 4px, 16px text, padding 5px. */
  width: 60px;
  height: 43px;
  text-align: center;
  border: 1px solid #aaa;
  border-radius: 4px;
  font-size: 16px;
  padding: 5px;
}
.pb-product-buybox__add {
  /* Add-to-Cart pill — text + emoji icon centred, no background-image
   * sprite (the legacy fade-out icon was visually competing with the
   * inline emoji). Larger text per merchant request.
   *   bg      : #567BDA
   *   border  : 1px solid #567BDA
   *   color   : #fff
   *   font    : Roboto 20px / weight 500
   *   padding : 14px 16px (symmetric, content centred)
   *   radius  : 4px
   *   width   : 100%
   */
  background: var(--pb-blue);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 14px 16px;
  height: auto;
  border: 1px solid var(--pb-blue);
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 120ms ease, border-color 120ms ease;
}
.pb-product-buybox__add:hover {
  background-color: var(--pb-blue-dark);
  border-color: var(--pb-blue-dark);
}
.pb-product-buybox__add:disabled {
  background-color: #b8c0c8;
  border-color: #b8c0c8;
  cursor: not-allowed;
}

.pb-product-buybox__pitches {
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--pb-hairline);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--pb-text);
}

/* Rewards strip — sits above the variants. Mirrors the live `.earn-points`
   row + tooltip link. */
.pb-product-buybox__rewards {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--pb-hairline);
  border-bottom: 1px solid var(--pb-hairline);
  text-decoration: none;
  color: var(--pb-text-dark);
  font-size: 14px;
}
.pb-product-buybox__rewards img { width: 28px; height: auto; flex-shrink: 0; }
.pb-product-buybox__rewards strong { font-weight: 700; color: var(--pb-text-dark); }
.pb-product-buybox__rewards-count { color: var(--pb-text); }
.pb-product-buybox__rewards-count strong { font-size: 17px; line-height: 1; }
.pb-product-buybox__rewards-link {
  margin-left: auto;
  color: var(--pb-blue);
  font-size: 13px;
  font-weight: 500;
}
.pb-product-buybox__rewards:hover .pb-product-buybox__rewards-link { color: var(--pb-blue-dark); text-decoration: underline; }

/* Variant fieldset header — bold title (with ? tooltip) on the left,
   "Cancel anytime" on the right. The fieldset's own <legend> is
   visually-hidden for a11y. */
.pb-variant-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.pb-variant-header__title {
  font-weight: 700;
  font-size: 14px;
  color: var(--pb-text-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pb-variant-header__hint {
  font-size: 12px;
  color: var(--pb-text);
}

/* Tooltip — `<details>` with a small ? trigger; popover floats above the
   trigger when open. Click anywhere else closes via clicking the
   summary again (native details behaviour). */
.pb-variant-tooltip {
  display: inline-block;
  position: relative;
}
.pb-variant-tooltip > summary {
  list-style: none;
  cursor: pointer;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pb-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: background 120ms ease;
}
.pb-variant-tooltip > summary::-webkit-details-marker { display: none; }
.pb-variant-tooltip > summary:hover { background: var(--pb-blue-dark); }
.pb-variant-tooltip[open] > summary {
  background: var(--pb-blue-dark);
  outline: 2px solid var(--pb-blue);
  outline-offset: 2px;
}
.pb-variant-tooltip__pop {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  padding: 10px 12px;
  background: var(--pb-text-dark);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
  z-index: 20;
}
.pb-variant-tooltip__pop strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}
.pb-variant-tooltip__pop::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--pb-text-dark);
}

/* sr-only utility — keep an element accessible to assistive tech but
   visually hidden. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Secure-checkout trust badges + best-pet-store badge — sit at the
   bottom of the buybox like the live site. */
.pb-product-buybox__secure {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--pb-hairline);
}
.pb-product-buybox__secure img {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}
.pb-product-buybox__secure img:hover { opacity: 1; }

.pb-product-buybox__badge {
  text-align: center;
  padding-top: 6px;
}
.pb-product-buybox__badge img {
  max-width: 180px;
  height: auto;
  display: inline-block;
}

.pb-spec-table { width: 100%; border-collapse: collapse; }
.pb-spec-table th, .pb-spec-table td { padding: 8px 12px; border-bottom: 1px solid var(--pb-hairline); text-align: left; font-size: 14px; }
.pb-spec-table th { color: var(--pb-text); font-weight: 600; width: 200px; }

/* Reviews wrapper — sits inside the Q&A/Reviews "tab" header above.
 * Legacy renders the wrapper as plain content (no border, no bg) directly
 * under the gray-tab title. The summary card sits on the LEFT (~310px),
 * the review list sits on the RIGHT (60% column), and the footer/pagination
 * spans both. Below 1200px the grid collapses (`display:block`).
 */
.pb-reviews-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  padding: 20px;
  border: 1px solid var(--pb-band-border);
  border-top: 0;
}
@media (min-width: 1100px) {
  .pb-reviews-wrapper {
    grid-template-columns: 310px 1fr;
    align-items: start;
  }
}

/* Summary card — left column, white card with #EDEDED border. */
.pb-reviews-summary {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--pb-hairline);
  border-radius: 0;
  margin: 0;
  box-sizing: border-box;
  width: 100%;
  max-width: 310px;
}
.pb-reviews-summary__avg {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.pb-reviews-summary__avg strong {
  font-size: 36px;
  line-height: 1;
  color: var(--pb-text);
  font-weight: 500;
}
.pb-reviews-summary__avg span { font-size: 14px; color: var(--pb-text); }
.pb-reviews-summary__avg .pb-stars { font-size: 22px; line-height: 1; }
.pb-reviews-summary__caption {
  margin: 0;
  font-size: 14px;
  color: var(--pb-blue);
  line-height: 1.4;
}
.pb-reviews-summary__share {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--pb-text);
  line-height: 1.4;
}

/* Distribution bars — legacy: 180px width, #f2f2f2 track, #f19133 fill. */
.pb-reviews-summary__dist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pb-reviews-summary__dist li {
  display: grid;
  grid-template-columns: 50px 1fr 40px;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--pb-text);
}
.pb-reviews-summary__star { color: var(--pb-blue); font-size: 14px; }
.pb-reviews-summary__bar {
  height: 12px;
  background: var(--pb-bar-track);
  border-radius: 0;
  overflow: hidden;
  width: 100%;
  max-width: 180px;
}
.pb-reviews-summary__bar > span {
  display: block;
  height: 100%;
  background: var(--pb-orange);
}
.pb-reviews-summary__cnt { font-size: 14px; color: var(--pb-text); }

/* "Write a Review" trigger inside the summary card — full-width blue
 * button (legacy: 100% width inside the 310px card; #567BDA bg). */
.pb-reviews-summary .pb-write-form {
  margin-top: 6px;
  border-top: 0;
  padding-top: 0;
}
.pb-reviews-summary .pb-write-form > summary {
  list-style: none;
  display: block;
  width: 100%;
  background: var(--pb-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  padding: 12px 15px;
  border-radius: 4px;
  border: 1px solid var(--pb-blue);
  text-align: center;
  cursor: pointer;
  font-family: var(--font-sans);
  box-sizing: border-box;
}
.pb-reviews-summary .pb-write-form > summary::-webkit-details-marker { display: none; }
.pb-reviews-summary .pb-write-form > summary:hover {
  background: var(--pb-blue-dark);
  border-color: var(--pb-blue-dark);
}

/* Review list — right column. Legacy: each review is a flex row with a
 * 50×50 colored circle on the left + content on the right. */
.pb-review-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pb-review {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--pb-hairline);
  align-items: flex-start;
}
.pb-review:first-child { padding-top: 4px; }
.pb-review:last-child { border-bottom: 0; }
/* Avatar — legacy: 50×50 circle, 3px solid #ddd border, white initials,
 * 24px font, 50px line-height (vertical centre), uppercase. The
 * background-color is set per-review via inline style="" so each
 * reviewer gets their own colour. */
.pb-review__avatar {
  width: 50px;
  height: 50px;
  border-radius: 72px;
  border: 3px solid #ddd;
  background: var(--pb-blue);
  color: #fff;
  display: inline-block;
  text-align: center;
  font-weight: 400;
  font-size: 24px;
  line-height: 50px;
  letter-spacing: 0;
  user-select: none;
  text-transform: uppercase;
  box-sizing: border-box;
}
.pb-review__body-wrap { min-width: 0; }
.pb-review__top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pb-review__top .pb-stars { font-size: 16px; }
.pb-review__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--pb-text);
  line-height: 20px;
}
.pb-review__meta {
  margin: 4px 0 6px;
  font-size: 12px;
  color: var(--pb-text-fade);
  opacity: 0.9;
}
.pb-review__meta strong { color: var(--pb-text); font-weight: 600; }
.pb-review__sep { margin: 0 4px; opacity: 0.6; }
.pb-review__body {
  margin: 0;
  font-size: 14px;
  line-height: 21px;
  color: var(--pb-text);
}

/* Q&A wrapper — legacy: white content area sitting BELOW the gray
 * title-tab, with side+bottom border connecting them visually.
 * The "Ask a Question" pill in the title tab + the question/answer
 * rows + the "1-5 of N Questions" footer all live inside this card. */
.pb-qa-wrapper {
  padding: 20px;
  border: 1px solid var(--pb-band-border);
  border-top: 0;
  background: #fff;
}
@media (max-width: 640px) {
  .pb-qa-wrapper { padding: 15px; }
}

/* Q&A band — matches petbucket.com.au row layout. */
.pb-qa-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: pb-qa;
}
.pb-qa-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--pb-hairline);
}
.pb-qa-item:first-child { padding-top: 4px; }
.pb-qa-item:last-child { border-bottom: 0; }

.pb-qa-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.pb-qa-row:first-child { margin-top: 0; }
.pb-qa-row__label {
  font-weight: 700;
  font-size: 14px;
  color: var(--pb-text-dark);
  line-height: 1.5;
}
.pb-qa-row__label--answer { color: var(--pb-text); }

.pb-qa-row__body { font-size: 14px; line-height: 1.5; color: var(--pb-text-dark); }
.pb-qa-row__text { margin: 0; }
.pb-qa-row__by {
  margin: 4px 0 0;
  color: var(--pb-text);
  font-size: 13px;
}

.pb-qa__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--pb-canvas);
  font-size: 13px;
  color: var(--pb-text);
  border-radius: 0 0 6px 6px;
  margin-top: 4px;
}
.pb-qa__footer a {
  color: var(--pb-blue);
  font-size: 18px;
  text-decoration: none;
  line-height: 1;
}
.pb-qa__footer a:hover { color: var(--pb-blue-dark); }

/* Reviews pagination footer — mirrors `.pb-qa__footer` (mid-tone grey
 * row sitting under the review list with the "1-10 of N Reviews" range
 * left and prev/next chevrons right). */
.pb-reviews__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--pb-canvas);
  font-size: 13px;
  color: var(--pb-text);
  border-radius: 0 0 6px 6px;
  margin-top: 6px;
}
.pb-reviews__footer-links { display: inline-flex; align-items: center; gap: 14px; }
.pb-reviews__footer-links a {
  color: var(--pb-blue);
  font-size: 18px;
  text-decoration: none;
  line-height: 1;
}
.pb-reviews__footer-links a:hover { color: var(--pb-blue-dark); }

.pb-write-form { margin-top: 18px; border-top: 1px solid var(--pb-hairline); padding-top: 18px; }
.pb-write-form summary { cursor: pointer; font-weight: 600; color: var(--pb-blue); }
.pb-write-form form { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; max-width: 540px; }
.pb-write-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--pb-text-dark); }
.pb-write-form input,
.pb-write-form textarea,
.pb-write-form select { padding: 8px 10px; border: 1px solid var(--pb-border); border-radius: 4px; font-size: 14px; font-family: inherit; }
.pb-write-form textarea { resize: vertical; min-height: 80px; }
.pb-form-note { margin: 4px 0 0; font-size: 12px; color: var(--pb-text); }
.pb-button {
  display: inline-flex;
  padding: 10px 18px;
  border: 0;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  background: #fff;
  color: var(--pb-text-dark);
  align-self: flex-start;
}
.pb-button--primary { background: var(--pb-blue); color: #fff; }
.pb-button--primary:hover { background: var(--pb-blue-dark); }

/* You-might-also-like */
.pb-product-recs {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--pb-hairline);
}
.pb-empty--inline { padding: 24px 0; background: transparent; border: 0; text-align: left; }

/* ==========================================================================
   /account/* shell — sidebar + main column. Used by every customer-facing
   account page (dashboard, details, orders, subscriptions, cards, addresses).
   The sidebar lives in default-theme/snippets/account-shell.liquid.
   ========================================================================== */
.account-shell {
  /* Match the rest of petbucket.com.au — full-width container constrained
     by the same `--container` (1180px) variable used by the header,
     sub-nav and footer. The header / footer / utility-bar all stay at
     100% viewport width above and below; only the inner content here
     is centred. */
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.5rem 16px 3rem;
  max-width: var(--container, 1180px);
  margin: 0 auto;
  /* Belt-and-braces against rogue inner overflow that would force the
     viewport wider than the device and trigger mobile zoom-out. */
  min-width: 0;
}
@media (min-width: 720px) {
  .account-shell {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.5rem;
  }
}

.account-shell__sidebar {
  background: #fff;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 8px;
  padding: 1.25rem 1rem;
  align-self: start;
}
@media (min-width: 720px) {
  .account-shell__sidebar {
    position: sticky;
    top: 1rem;
  }
}
.account-shell__sidebar-head { margin-bottom: 1rem; }
.account-shell__sidebar-head h2 {
  margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-muted, #6b7280);
}
.account-shell__greeting {
  margin: 0.25rem 0 0; font-size: 16px; font-weight: 600; color: var(--color-text, #111827);
}
.account-shell__nav ul { list-style: none; margin: 0; padding: 0; }
.account-shell__nav li { margin: 0; }
.account-shell__nav a {
  display: block;
  padding: 0.55rem 0.75rem;
  margin: 0.15rem -0.25rem;
  border-radius: 6px;
  color: var(--color-text, #1f2937);
  text-decoration: none;
  font-size: 14px;
}
.account-shell__nav a:hover { background: #f3f4f6; }
.account-shell__nav a.is-active {
  background: var(--color-brand, #ff6b00);
  color: #fff;
  font-weight: 600;
}
.account-shell__credit {
  margin-top: 1rem; padding: 0.75rem 0.85rem;
  background: #ecfdf5; border: 1px solid #a7f3d0;
  border-radius: 6px;
}
.account-shell__credit-label {
  display: block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: #065f46;
}
.account-shell__credit-amount { display: block; font-size: 18px; color: #065f46; }
.account-shell__logout { margin-top: 1.25rem; }
.account-shell__logout-btn {
  width: 100%; background: transparent;
  border: 1px solid var(--color-border, #d1d5db);
  color: var(--color-muted, #6b7280);
  padding: 0.5rem 0.75rem; border-radius: 6px;
  font-size: 13px; cursor: pointer;
}
.account-shell__logout-btn:hover { background: #f9fafb; color: var(--color-text); }

.account-shell__main {
  background: #fff;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 8px;
  padding: 1.5rem;
  min-width: 0;
  /* Long product titles, URLs in attribution lines, etc. should wrap
     instead of pushing the page wider than the viewport. */
  overflow-wrap: anywhere;
}
.account-shell__page-head {
  display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border, #e5e7eb);
}
.account-shell__page-head h1 { margin: 0; font-size: 1.4rem; font-weight: 700; color: var(--color-text, #111827); }
.account-shell__page-sub { margin: 0.35rem 0 0; color: var(--color-muted, #6b7280); font-size: 14px; max-width: 560px; }
.account-shell__counter {
  display: inline-flex; align-items: baseline; gap: 0.25rem;
  background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe;
  border-radius: 999px; padding: 0.25rem 0.75rem; font-size: 12px; font-weight: 600;
}
.account-shell__counter strong { font-size: 14px; }

.account-shell__flash {
  margin-bottom: 1rem; padding: 0.7rem 0.9rem;
  border-radius: 6px; font-size: 13px;
}
.account-shell__flash--ok    { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.account-shell__flash--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Empty-state panels — used by every account page */
.account-empty {
  border: 1px dashed var(--color-border, #d1d5db);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--color-muted, #6b7280);
}
.account-empty h2 { margin: 0 0 0.5rem; font-size: 16px; color: var(--color-text, #111827); }
.account-empty p  { margin: 0 0 1rem; font-size: 14px; }

/* Buttons used inside the account shell */
.account-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.85rem; border-radius: 6px;
  border: 1px solid var(--color-border, #d1d5db);
  background: #fff; color: var(--color-text, #1f2937);
  font-size: 13px; font-weight: 500; cursor: pointer;
  text-decoration: none; line-height: 1;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.account-btn:hover { background: #f9fafb; border-color: #9ca3af; }
.account-btn--primary {
  background: var(--color-brand, #ff6b00); border-color: var(--color-brand, #ff6b00);
  color: #fff;
}
.account-btn--primary:hover { background: var(--color-brand-dark, #e55c00); border-color: var(--color-brand-dark, #e55c00); color: #fff; }
.account-btn--ghost { background: #f9fafb; }
.account-btn--ghost:hover { background: #f3f4f6; }
.account-btn--danger-link {
  border-color: transparent; background: transparent; color: #b91c1c;
}
.account-btn--danger-link:hover { background: #fef2f2; color: #991b1b; border-color: transparent; }

/* Dashboard tiles */
.account-tiles {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
@media (min-width: 720px) { .account-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .account-tiles { grid-template-columns: repeat(3, 1fr); } }
.account-tile {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 1.25rem;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  color: var(--color-text, #1f2937);
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}
.account-tile:hover {
  border-color: var(--color-brand, #ff6b00);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}
.account-tile__count { font-size: 28px; font-weight: 700; line-height: 1; color: var(--color-text, #111827); }
.account-tile__label { font-size: 13px; font-weight: 600; color: var(--color-muted, #6b7280); text-transform: uppercase; letter-spacing: 0.04em; }
.account-tile__hint  { font-size: 12px; color: var(--color-muted, #9ca3af); }
.account-tile--credit { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.account-tile--credit .account-tile__count { color: #065f46; }
.account-tile--credit .account-tile__label { color: #047857; }
.account-tile--credit .account-tile__hint  { color: #047857; }

/* Generic card-row layout used by /account/cards + /account/addresses */
.card-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.card-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem; align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 8px;
  background: #fff;
}
.card-row--default { border-color: var(--color-brand, #ff6b00); background: #fff7f0; }
.card-row__icon { font-size: 22px; line-height: 1; }
.card-row__body { min-width: 0; }
.card-row__label { display: block; font-weight: 600; font-size: 14px; }
.card-row__tag {
  display: inline-block; margin-left: 0.4rem;
  background: #d1fae5; color: #065f46;
  padding: 0.1rem 0.45rem; border-radius: 999px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  vertical-align: middle;
}
.card-row__meta {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  font-size: 12px; color: var(--color-muted, #6b7280);
  margin-top: 0.2rem;
}
.card-row__actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }

/* Subscription cards — /account/subscriptions */
.sub-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.sub-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 8px;
  background: #fff;
}
.sub-card--cancelled { opacity: 0.65; }
.sub-card__thumb {
  width: 84px; height: 84px;
  border-radius: 6px;
  overflow: hidden;
  background: #f3f4f6;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sub-card__thumb img { width: 100%; height: 100%; object-fit: contain; }
.sub-card__thumb-placeholder { font-size: 32px; opacity: 0.45; }

.sub-card__body { min-width: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.sub-card__top { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.sub-card__title {
  margin: 0; font-size: 15px; font-weight: 700; flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sub-card__title a { color: var(--color-text, #111827); text-decoration: none; }
.sub-card__title a:hover { text-decoration: underline; }
.sub-card__status {
  font-size: 10px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 999px;
}
.sub-card__status--active    { background: #d1fae5; color: #065f46; }
.sub-card__status--paused    { background: #fef9c3; color: #854d0e; }
.sub-card__status--cancelled { background: #fee2e2; color: #991b1b; }

.sub-card__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 0;
}
.sub-card__meta dt {
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--color-muted, #9ca3af);
}
.sub-card__meta dd { margin: 0.15rem 0 0; font-size: 14px; font-weight: 500; }
@media (max-width: 600px) { .sub-card__meta { grid-template-columns: 1fr; } }

.sub-card__actions {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--color-border, #e5e7eb);
}
.sub-card__action-group {
  display: flex; gap: 0.35rem; align-items: center; flex-wrap: wrap; margin: 0;
}
.sub-card__action-label {
  font-size: 12px; font-weight: 600; color: var(--color-muted, #6b7280);
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-right: 0.25rem;
}
.sub-card__reschedule { margin: 0; }
.sub-card__reschedule summary {
  list-style: none;
  display: inline-flex; align-items: center; gap: 0.4rem;
  cursor: pointer;
}
.sub-card__reschedule summary::-webkit-details-marker { display: none; }
.sub-card__reschedule[open] summary { background: #eff6ff; border-color: #93c5fd; color: #1e40af; }
.sub-card__date-form {
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: flex-end;
  margin-top: 0.6rem; padding: 0.6rem;
  background: #f9fafb; border: 1px solid var(--color-border, #e5e7eb); border-radius: 6px;
}
.sub-card__date-form label {
  display: flex; flex-direction: column; gap: 0.2rem; flex: 1 1 160px;
  min-width: 0;
  font-size: 12px; color: var(--color-muted, #6b7280);
}
.sub-card__date-form input[type="date"] {
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--color-border, #d1d5db);
  border-radius: 6px; font-size: 14px;
  width: 100%; min-width: 0;
}
.sub-card__cancel { margin-left: auto; }
@media (max-width: 600px) {
  .sub-card { grid-template-columns: 1fr; }
  .sub-card__cancel { margin-left: 0; }
}

/* ==========================================================================
   /account/login + /account/register — direct port of the legacy
   Views/Member/SignIn.cshtml + SignUp.cshtml two-column layout. New
   customer pitch on the left, returning-customer form on the right;
   the register page reuses the same card style in a single column.
   ========================================================================== */
.pb-auth {
  max-width: var(--container, 1300px);
  margin: 0 auto;
  padding: 1.5rem 16px 3rem;
}
.pb-auth__header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.pb-auth__header h1 {
  margin: 0; font-size: 1.6rem; font-weight: 700;
  color: var(--pb-text-dark, #1a1a1a);
}
.pb-auth__header p {
  margin: 0.4rem 0 0; color: var(--pb-text, #606060); font-size: 14px;
}

.pb-auth__grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
  max-width: 880px; margin: 0 auto;
}
.pb-auth__grid--single { max-width: 480px; }
@media (min-width: 720px) {
  .pb-auth__grid:not(.pb-auth__grid--single) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pb-auth__card {
  background: #fff;
  border: 1px solid var(--pb-hairline, #e5e7eb);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.85rem;
}
.pb-auth__card-title {
  margin: 0; font-size: 1.05rem; font-weight: 700;
  color: var(--pb-text-dark, #1a1a1a);
}
.pb-auth__card-sub {
  margin: 0; color: var(--pb-text, #606060); font-size: 14px; line-height: 1.5;
}
.pb-auth__card-foot {
  margin: 0.25rem 0 0; color: var(--pb-text, #606060); font-size: 13px;
}
.pb-auth__card-foot a { color: var(--pb-blue, #567BDA); text-decoration: none; }
.pb-auth__card-foot a:hover { text-decoration: underline; }

.pb-auth__error {
  background: #fef2f2; color: #991b1b; border: 1px solid #fecaca;
  padding: 0.6rem 0.75rem; border-radius: 6px; font-size: 13px;
}
.pb-auth__error a { color: inherit; text-decoration: underline; font-weight: 600; }

.pb-auth__form { display: flex; flex-direction: column; gap: 0.85rem; margin: 0; }
.pb-auth__form--register { gap: 0.95rem; }

.pb-auth__field { display: flex; flex-direction: column; gap: 0.3rem; }
.pb-auth__label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--pb-text-dark, #1a1a1a); text-transform: none;
}
.pb-auth__label em { color: var(--pb-danger, #c0392b); font-style: normal; }
.pb-auth__field input[type="email"],
.pb-auth__field input[type="text"],
.pb-auth__field input[type="password"] {
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--pb-border, #d1d5db);
  border-radius: 6px;
  font-size: 14px; line-height: 1.4;
  background: #fff;
  width: 100%; min-width: 0;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.pb-auth__field input:focus {
  outline: none;
  border-color: var(--pb-blue, #567BDA);
  box-shadow: 0 0 0 3px rgba(86, 123, 218, 0.18);
}
.pb-auth__hint { font-size: 12px; color: var(--pb-text, #6b7280); }

.pb-auth__row-fields {
  display: grid; gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) { .pb-auth__row-fields { grid-template-columns: 1fr 1fr; } }

.pb-auth__row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem;
}
.pb-auth__remember {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 13px; color: var(--pb-text-dark, #1a1a1a); cursor: pointer;
}
.pb-auth__forgot {
  font-size: 13px; color: var(--pb-blue, #567BDA); text-decoration: none;
}
.pb-auth__forgot:hover { text-decoration: underline; }

.pb-auth__btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.65rem 1rem; border: 1px solid transparent;
  border-radius: 6px; font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none; line-height: 1.2;
  transition: background 120ms ease, border-color 120ms ease;
}
.pb-auth__btn--primary {
  background: var(--pb-blue, #567BDA); border-color: var(--pb-blue, #567BDA);
  color: #fff;
}
.pb-auth__btn--primary:hover {
  background: var(--pb-blue-dark, #4368c2);
  border-color: var(--pb-blue-dark, #4368c2);
  color: #fff;
}
.pb-auth__btn--secondary {
  background: #fff; border-color: var(--pb-border, #d1d5db);
  color: var(--pb-text-dark, #1a1a1a);
}
.pb-auth__btn--secondary:hover {
  background: #f9fafb; border-color: #9ca3af;
}
.pb-auth__form--secondary { margin-top: 0.6rem; gap: 0; }
.pb-auth__inline-form {
  display: inline; margin: 0; padding: 0;
}
.pb-auth__link-btn {
  background: none; border: 0; padding: 0;
  color: var(--pb-blue, #567BDA);
  font: inherit; cursor: pointer; text-decoration: underline;
}
.pb-auth__link-btn:hover { color: var(--pb-blue-dark, #4368c2); }
.pb-auth__sub {
  margin: 0.4rem 0 0; color: var(--pb-text, #606060); font-size: 14px; line-height: 1.5;
}

