/*
Theme Name:   Bloom Pots
Theme URI:    https://newbloompots.com
Description:  New Bloom Pots storefront. Child of Storefront, built to the Claude Design
              canvas (NewBloomPots.dc.html) — announcement bar, sticky header, cart drawer,
              filtered collection, gallery PDP, quiz and care pages.
Author:       New Bloom Pots
Template:     storefront
Version:      1.0.1
Text Domain:  bloom-pots
*/

/* =========================================================================
   1. Design tokens — lifted verbatim from the canvas
   ========================================================================= */
:root {
  --green:      #3F7D4E;
  --green-d:    #2F5F3B;
  --mint:       #EEF4EF;
  --mint-line:  #DCE8DE;
  --mint-hover: #E1EDE3;
  --ink:        #22201D;
  --muted:      #55514A;
  --faint:      #6B665E;
  --line:       #E6E2DC;
  --line-2:     #D7D1C7;
  --page:       #FAF8F5;
  --band:       #F4F1EB;
  --surface:    #F7F5F1;
  --hover:      #F2EFE9;
  --warm:       #EAE6DE;
  --terra:      #C4714B;
  --gold:       #C4863B;
  --danger:     #B4462A;
  --white:      #FFFFFF;

  --r-card:  14px;
  --r-panel: 16px;
  --r-pill:  999px;
  --r-input: 12px;
  --r-sm:    10px;

  --shadow-card:  0 1px 2px rgba(34,32,29,0.05);
  --shadow-hover: 0 6px 18px rgba(34,32,29,0.10);
  --shadow-pop:   0 10px 30px rgba(34,32,29,0.30);
  --shadow-bar:   0 -4px 14px rgba(34,32,29,0.08);

  --wrap: 1200px;
}

@keyframes bloomSlideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes bloomFadeIn  { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================================
   2. Reset / base — overrides Storefront's defaults
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

body,
body.woocommerce,
body.woocommerce-page {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Outfit, Geist, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body a           { color: var(--green); text-decoration: none; }
body a:hover     { color: var(--green-d); text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible   { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }
img              { max-width: 100%; height: auto; }

h1, h2, h3, h4 { font-family: inherit; color: var(--ink); font-weight: 600; }

/* Storefront ships a full page chrome we replace wholesale. */
.site-header, .storefront-breadcrumb, .site-footer,
.storefront-handheld-footer-bar, .secondary-navigation,
.site-header-cart, .storefront-primary-navigation { display: none !important; }

.site-content, .content-area, #primary, #content {
  margin: 0; padding: 0; width: auto; float: none;
}
.col-full { max-width: none; padding: 0; margin: 0; }

.bloom-wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.bloom-wrap--narrow { max-width: 820px; }
.bloom-wrap--article { max-width: 760px; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* =========================================================================
   3. Buttons — the canvas has exactly four shapes
   ========================================================================= */
.bloom-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  border: 0; border-radius: var(--r-pill);
  background: var(--green); color: var(--white);
  font-size: 16px; font-weight: 600; line-height: 1;
  cursor: pointer; text-align: center; text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.bloom-btn:hover { background: var(--green-d); color: var(--white); text-decoration: none; }

.bloom-btn--outline {
  background: transparent; color: var(--ink); border: 1.5px solid var(--ink);
}
.bloom-btn--outline:hover { background: var(--hover); color: var(--ink); }

.bloom-btn--ghost {
  background: transparent; color: var(--green); border: 0;
  text-decoration: underline; min-height: 44px; padding: 0 20px;
}
.bloom-btn--ghost:hover { background: transparent; color: var(--green-d); }

.bloom-btn--sm   { min-height: 44px; padding: 0 20px; font-size: 15px; }
.bloom-btn--full { width: 100%; }

.bloom-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px;
  border: 1.5px solid var(--line); border-radius: var(--r-pill);
  background: var(--white); color: var(--ink);
  font-size: 16px; font-weight: 600; cursor: pointer; text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.bloom-chip:hover { border-color: var(--green); color: var(--green); text-decoration: none; }
.bloom-chip--light { font-weight: 500; }

/* Pills and badges */
.bloom-pill {
  align-self: flex-start; display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .01em;
  color: var(--green); background: var(--mint);
  border: 1px solid var(--mint-line);
  padding: 3px 9px; border-radius: var(--r-pill);
}
.bloom-pill--lg  { font-size: 13px; padding: 4px 11px; }
.bloom-pill--flat{ color: var(--muted); background: var(--hover); border-color: var(--line); }
.bloom-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--terra); color: var(--white);
  font-size: 12px; font-weight: 700; letter-spacing: .01em;
  padding: 5px 10px; border-radius: var(--r-pill);
}
.bloom-badge--sale { background: var(--green); }

.bloom-stars { color: var(--gold); letter-spacing: 1px; }
.bloom-stars--wide { letter-spacing: 2px; }

.bloom-swatch {
  width: 16px; height: 16px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); display: inline-block; flex-shrink: 0;
}

/* =========================================================================
   4. Announcement bar + header
   ========================================================================= */
.bloom-announce {
  background: var(--ink); color: var(--page);
  font-size: 14px; padding: 9px 16px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  position: relative;
}
.bloom-announce__close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: transparent; border: 0; color: var(--page);
  font-size: 18px; line-height: 1; cursor: pointer; padding: 4px 8px;
}
.bloom-announce[hidden] { display: none; }

.bloom-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.bloom-header__bar {
  max-width: var(--wrap); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 24px;
}
.bloom-header__logo {
  background: transparent; border: 0; padding: 0; cursor: pointer;
  display: flex; align-items: center; flex-shrink: 0;
}
.bloom-header__logo img { height: 24px; width: auto; display: block; }
.bloom-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }

.bloom-search {
  flex: 1 1 auto; min-width: 0; max-width: 460px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  background: var(--page); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 0 6px 0 16px; height: 44px;
}
.bloom-search__icon { font-size: 14px; color: var(--faint); }
.bloom-search input {
  border: 0; background: transparent; outline: none;
  flex: 1; min-width: 0; font-size: 15px; height: 100%;
}
.bloom-search button {
  flex-shrink: 0; height: 32px; padding: 0 16px;
  border-radius: var(--r-pill); border: 0;
  background: var(--green); color: var(--white); font-weight: 600; cursor: pointer;
}
.bloom-search button:hover { background: var(--green-d); }

.bloom-account {
  display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-pill);
  cursor: pointer; font-weight: 500; white-space: nowrap; color: var(--ink);
}
.bloom-account:hover { background: var(--hover); color: var(--ink); text-decoration: none; }

.bloom-cart-btn {
  display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px;
  background: var(--ink); color: var(--white); border: 0; border-radius: var(--r-pill);
  cursor: pointer; font-weight: 600; white-space: nowrap;
  transition: background .15s ease;
}
.bloom-cart-btn:hover { background: var(--green); color: var(--white); text-decoration: none; }
.bloom-cart-btn__count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill);
  background: var(--green); color: var(--white); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.bloom-menu-btn {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill);
  cursor: pointer; font-weight: 500;
}

.bloom-nav { border-top: 1px solid var(--hover); }
.bloom-nav ul {
  max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; list-style: none;
}
.bloom-nav a {
  display: block; background: transparent; border: 0;
  border-bottom: 2px solid transparent; padding: 12px 14px;
  cursor: pointer; font-size: 16px; font-weight: 500; color: var(--ink);
}
.bloom-nav a:hover { color: var(--green); text-decoration: none; }
.bloom-nav .current-menu-item > a,
.bloom-nav .current-menu-parent > a,
.bloom-nav .bloom-nav--active > a { border-bottom-color: var(--green); color: var(--green); }

.bloom-header__handheld { display: none; padding: 0 24px 14px; flex-direction: column; gap: 10px; }
.bloom-header__handheld .bloom-search { max-width: none; margin: 0; padding-left: 14px; }
.bloom-mobile-nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 6px; list-style: none; margin: 0; }
.bloom-mobile-nav a {
  display: block; text-align: left; border-bottom: 1px solid var(--hover);
  padding: 14px 4px; min-height: 44px; font-size: 16px; font-weight: 500; color: var(--ink);
}

/* =========================================================================
   5. Sections — the alternating FAF8F5 / FFFFFF banding from the canvas
   ========================================================================= */
.bloom-section { background: var(--page); }
.bloom-section--white {
  background: var(--white);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.bloom-section--mint { background: var(--mint); border-top: 1px solid var(--mint-line); }
.bloom-section__inner { max-width: var(--wrap); margin: 0 auto; padding: 56px 24px; }
.bloom-section__inner--tight { padding: 44px 24px 8px; }
.bloom-section__inner--flush { padding: 48px 24px; }

.bloom-section__head { text-align: center; margin-bottom: 28px; }
.bloom-section__head h2 { margin: 0 0 8px; font-size: 32px; }
.bloom-section__head p  { margin: 0; font-size: 17px; color: var(--muted); }

.bloom-grid { display: grid; gap: 20px; }
.bloom-grid--cards   { grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); }
.bloom-grid--lines   { grid-template-columns: repeat(auto-fit,  minmax(240px, 1fr)); }
.bloom-grid--cats    { grid-template-columns: repeat(auto-fit,  minmax(150px, 1fr)); }
.bloom-grid--steps   { grid-template-columns: repeat(auto-fit,  minmax(260px, 1fr)); }
.bloom-grid--bundles { grid-template-columns: repeat(auto-fit,  minmax(280px, 1fr)); }
.bloom-grid--why     { grid-template-columns: repeat(auto-fit,  minmax(230px, 1fr)); }
.bloom-grid--wide    { grid-template-columns: repeat(auto-fit,  minmax(260px, 1fr)); }

/* Hero (variant A) */
.bloom-hero { background: var(--white); border-bottom: 1px solid var(--line); }
.bloom-hero__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 40px 24px;
  display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch;
}
.bloom-hero__media {
  flex: 1 1 380px; min-width: 0; border-radius: var(--r-panel);
  overflow: hidden; background: var(--band); min-height: 340px;
}
.bloom-hero__media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }
.bloom-hero__copy {
  flex: 1 1 380px; min-width: 0; background: var(--band);
  border-radius: var(--r-panel); padding: 40px;
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.bloom-hero__copy h1 { margin: 0; font-size: 44px; line-height: 1.1; letter-spacing: -0.01em; }
.bloom-hero__copy p  { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 440px; }
.bloom-hero__cta     { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.bloom-hero__note    { margin: 6px 0 0 !important; font-size: 15px !important; color: var(--faint) !important; }

/* Category circles */
.bloom-cat { background: transparent; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--ink); }
.bloom-cat:hover { color: var(--green); text-decoration: none; }
.bloom-cat__img {
  width: 100%; max-width: 170px; aspect-ratio: 1/1; border-radius: var(--r-pill);
  overflow: hidden; background: var(--band); border: 1px solid var(--line); display: block;
}
.bloom-cat__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bloom-cat__label { font-size: 17px; font-weight: 600; }

/* Range cards */
.bloom-line-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card);
}
.bloom-line-card__img { display: block; aspect-ratio: 4/3; background: var(--band); }
.bloom-line-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bloom-line-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bloom-line-card__body h3 { margin: 0; font-size: 20px; }
.bloom-line-card__body p  { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.bloom-line-card__from    { margin: 4px 0 0 !important; font-size: 16px !important; font-weight: 700; color: var(--ink) !important; }
.bloom-line-card .bloom-btn { margin-top: auto; }

/* How-it-works steps */
.bloom-step {
  background: var(--page); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.bloom-section--white .bloom-step { background: var(--page); }
.bloom-step__n {
  width: 40px; height: 40px; border-radius: var(--r-pill);
  background: var(--green); color: var(--white); font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.bloom-step h3 { margin: 0; font-size: 19px; }
.bloom-step p  { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Chips row */
.bloom-chips { display: flex; flex-direction: column; gap: 18px; align-items: center; }
.bloom-chips__row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Bundles */
.bloom-bundle {
  background: var(--page); border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden; display: flex; flex-direction: column;
}
.bloom-bundle__img { display: block; aspect-ratio: 16/10; background: var(--band); }
.bloom-bundle__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bloom-bundle__body { padding: 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.bloom-bundle__tag {
  align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--white);
  background: var(--terra); padding: 4px 10px; border-radius: var(--r-pill);
}
.bloom-bundle__body h3 { margin: 0; font-size: 20px; }
.bloom-bundle__body p  { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.bloom-bundle__price   { margin: 2px 0 0 !important; font-size: 18px !important; font-weight: 700; color: var(--ink) !important; }
.bloom-bundle__price s  { font-size: 15px; font-weight: 500; color: var(--faint); }
.bloom-bundle .bloom-btn { margin-top: auto; }

/* Why / trust row */
.bloom-why { display: flex; gap: 12px; align-items: flex-start; }
.bloom-why__icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: var(--r-sm);
  background: var(--mint); border: 1px solid var(--mint-line); color: var(--green);
  font-size: 17px; display: flex; align-items: center; justify-content: center;
}
.bloom-why h3 { margin: 0 0 4px; font-size: 16px; }
.bloom-why p  { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Reviews */
.bloom-review {
  background: var(--page); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 22px; display: flex; flex-direction: column; gap: 12px;
}
.bloom-review__quote { margin: 0; font-size: 16px; line-height: 1.6; }
.bloom-review__who { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 6px; }
.bloom-review__avatar {
  width: 36px; height: 36px; border-radius: var(--r-pill);
  background: var(--mint); border: 1px solid var(--mint-line); color: var(--green);
  font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center;
}
.bloom-review__who p { margin: 0; font-size: 15px; font-weight: 600; }
.bloom-review__who span { font-size: 14px; color: var(--faint); }

/* Article cards */
.bloom-article-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden; display: flex; flex-direction: column;
}
.bloom-article-card__img { display: block; aspect-ratio: 16/10; background: var(--band); }
.bloom-article-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bloom-article-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bloom-article-card__meta { margin: 0; font-size: 13px; font-weight: 600; color: var(--green); }
.bloom-article-card__body h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.bloom-article-card__body p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.bloom-article-card .bloom-btn { margin-top: auto; align-self: flex-start; }

/* FAQ accordion */
.bloom-faq { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--page); }
.bloom-faq__item { border-bottom: 1px solid var(--line); }
.bloom-faq__item:last-child { border-bottom: 0; }
.bloom-faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; min-height: 56px; padding: 16px 20px;
  background: transparent; border: 0; cursor: pointer; font-size: 17px; font-weight: 600;
}
.bloom-faq__q:hover { background: var(--hover); }
.bloom-faq__chev { color: var(--green); font-size: 14px; }
.bloom-faq__a { margin: 0; padding: 0 20px 18px; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 640px; }
.bloom-faq__a[hidden] { display: none; }

/* Newsletter */
.bloom-newsletter { max-width: 640px; margin: 0 auto; padding: 56px 24px; text-align: center; }
.bloom-newsletter h2 { margin: 0 0 8px; font-size: 30px; }
.bloom-newsletter > p { margin: 0 0 22px; font-size: 17px; color: var(--muted); }
.bloom-newsletter form { display: flex; flex-direction: column; gap: 8px; text-align: left; max-width: 460px; margin: 0 auto; }
.bloom-newsletter label { font-size: 15px; font-weight: 600; }
.bloom-newsletter__row { display: flex; flex-wrap: wrap; gap: 10px; }
.bloom-newsletter input {
  flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 0 16px;
  border-radius: var(--r-input); border: 1px solid var(--line-2);
  background: var(--white); font-size: 16px;
}
.bloom-newsletter small { font-size: 14px; color: var(--faint); }

/* =========================================================================
   6. Product card — ProductCard.dc.html, one-for-one
   ========================================================================= */
ul.products, .bloom-products {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 20px; margin: 0; padding: 0; list-style: none;
}
ul.products::before, ul.products::after { content: none; display: none; }
ul.products li.product {
  width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important;
  clear: none !important;
}

.bloom-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden; display: flex; flex-direction: column; height: 100%;
  box-shadow: var(--shadow-card);
  transition: box-shadow .18s ease, border-color .18s ease;
}
.bloom-card:hover { box-shadow: var(--shadow-hover); border-color: var(--line-2); }

.bloom-card__media {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  background: var(--surface); cursor: pointer; aspect-ratio: 1/1; overflow: hidden;
}
.bloom-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bloom-card__body { padding: 16px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.bloom-card__title {
  background: transparent; border: 0; padding: 0; text-align: left; cursor: pointer;
  font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--ink);
  font-family: inherit;
}
.bloom-card__title:hover { color: var(--green); text-decoration: none; }
.bloom-card__meta { margin: 0; font-size: 14px; color: var(--muted); }
.bloom-card__feature {
  margin: 0; font-size: 14px; font-weight: 600; color: var(--ink);
  background: var(--band); border-radius: 8px; padding: 7px 10px; line-height: 1.35;
}
.bloom-card__swatches { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.bloom-card__swatches span.bloom-card__ncol { font-size: 13px; color: var(--faint); }
.bloom-card__rating { display: flex; align-items: center; gap: 7px; font-size: 14px; }
.bloom-card__rating span:last-child { color: var(--muted); }

.bloom-card__foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.bloom-card__prices { display: flex; align-items: baseline; gap: 8px; }
.bloom-card__price { font-size: 19px; font-weight: 700; }
.bloom-card__was   { font-size: 15px; color: var(--faint); text-decoration: line-through; }
.bloom-card__stock { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--green); }
.bloom-card__foot .bloom-btn,
.bloom-card__foot a.button {
  width: 100%; min-height: 44px; border-radius: var(--r-pill); border: 0;
  background: var(--green); color: var(--white); font-size: 15px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 16px;
}
.bloom-card__foot .bloom-btn:hover, .bloom-card__foot a.button:hover { background: var(--green-d); color: var(--white); }
.bloom-card__foot .added_to_cart { display: none; }

/* WooCommerce loop noise we replace */
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .price,
ul.products li.product .star-rating,
ul.products li.product .woocommerce-loop-product__link > img { display: none; }

/* =========================================================================
   7. Collection / archive
   ========================================================================= */
.bloom-collection { max-width: var(--wrap); margin: 0 auto; padding: 20px 24px 56px; }
.bloom-crumb { font-size: 14px; color: var(--faint); margin-bottom: 16px; }
.bloom-crumb a { color: var(--green); font-size: 14px; }
.bloom-crumb span.sep { margin: 0 6px; }
.bloom-collection > h1 { margin: 0 0 8px; font-size: 34px; }
.bloom-collection__intro { margin: 0 0 24px; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 640px; }

.bloom-collection__layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.bloom-filters {
  flex: 0 0 240px; max-width: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px;
}
.bloom-filters h2 { margin: 0 0 14px; font-size: 18px; }
.bloom-filters fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.bloom-filters legend { padding: 0; font-size: 15px; font-weight: 600; margin-bottom: 9px; }
.bloom-filters__opts { display: flex; flex-direction: column; gap: 8px; }
.bloom-filters label {
  display: flex; align-items: center; gap: 9px; font-size: 15px; color: var(--muted);
  cursor: pointer; min-height: 28px;
}
.bloom-filters input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--green); cursor: pointer; margin: 0; }
.bloom-filters__count { margin-left: auto; color: var(--faint); font-size: 14px; }
.bloom-filters__clear {
  width: 100%; min-height: 44px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line); background: var(--page);
  font-size: 15px; font-weight: 600; cursor: pointer; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.bloom-filters__clear:hover { background: var(--hover); text-decoration: none; color: var(--ink); }

.bloom-results { flex: 1 1 520px; min-width: 0; }
.bloom-results__bar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  justify-content: space-between; margin-bottom: 16px;
}
.bloom-results__count { margin: 0; font-size: 15px; color: var(--muted); }
.bloom-results__tools { display: flex; align-items: center; gap: 10px; }
.bloom-results__tools label { font-size: 15px; font-weight: 600; }
.bloom-results__tools select {
  min-height: 44px; padding: 0 12px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--white); font-size: 15px; cursor: pointer;
}
.bloom-sheet-btn {
  display: none; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line); background: var(--white); font-weight: 600; cursor: pointer;
}

.bloom-active { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.bloom-active__pill {
  display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px;
  border-radius: var(--r-pill); border: 1px solid var(--mint-line);
  background: var(--mint); color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer;
}
.bloom-active__pill:hover { background: var(--mint-hover); color: var(--ink); text-decoration: none; }
.bloom-active__clear { background: transparent; border: 0; padding: 8px; cursor: pointer; font-size: 14px; color: var(--green); text-decoration: underline; }

.bloom-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.bloom-pagination a, .bloom-pagination span {
  min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  font-size: 15px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.bloom-pagination .current { background: var(--green); border-color: var(--green); color: var(--white); }
.bloom-pagination a:hover { text-decoration: none; border-color: var(--green); color: var(--green); }

.bloom-empty {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 48px 28px; text-align: center;
}
.bloom-empty h2 { margin: 0 0 8px; font-size: 22px; }
.bloom-empty p  { margin: 0 0 20px; font-size: 16px; color: var(--muted); }

/* Mobile filter sheet */
.bloom-sheet {
  position: fixed; inset: 0; z-index: 60; background: rgba(34,32,29,0.45);
  display: flex; align-items: flex-end; animation: bloomFadeIn .15s ease;
}
.bloom-sheet[hidden] { display: none; }
.bloom-sheet__panel {
  width: 100%; max-height: 82vh; overflow-y: auto; background: var(--white);
  border-radius: 18px 18px 0 0; padding: 20px 20px 28px;
}
.bloom-sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.bloom-sheet__head h2 { margin: 0; font-size: 20px; }
.bloom-sheet__close { min-height: 44px; min-width: 44px; background: transparent; border: 0; font-size: 22px; cursor: pointer; }
.bloom-sheet .bloom-filters__opts { gap: 6px; }
.bloom-sheet label { font-size: 16px; min-height: 44px; color: var(--ink); }
.bloom-sheet input[type=checkbox] { width: 20px; height: 20px; }
.bloom-sheet__apply {
  width: 100%; min-height: 50px; border-radius: var(--r-pill); border: 0;
  background: var(--green); color: var(--white); font-size: 16px; font-weight: 600; cursor: pointer;
}

/* =========================================================================
   8. Product detail page
   ========================================================================= */
.bloom-pdp { max-width: var(--wrap); margin: 0 auto; padding: 20px 24px 56px; }
.bloom-pdp__top { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; }

.bloom-gallery { flex: 1 1 380px; min-width: 0; }
.bloom-gallery__main {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line);
  border-radius: var(--r-panel); overflow: hidden; background: var(--surface); cursor: zoom-in;
}
.bloom-gallery__main img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.bloom-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.bloom-gallery__thumb {
  width: 80px; height: 80px; padding: 0; border-radius: var(--r-sm); overflow: hidden;
  border: 2px solid var(--line); background: var(--surface); cursor: pointer;
}
.bloom-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bloom-gallery__thumb.is-active { border-color: var(--green); }
.bloom-gallery__hint { margin: 10px 0 0; font-size: 14px; color: var(--faint); }

.bloom-summary { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.bloom-summary h1 { margin: 0; font-size: 34px; line-height: 1.15; }
.bloom-summary__rating {
  align-self: flex-start; background: transparent; border: 0; padding: 4px 0; cursor: pointer;
  display: flex; align-items: center; gap: 8px; font-size: 15px;
}
.bloom-summary__rating u { color: var(--green); }
.bloom-summary__price { margin: 0; font-size: 28px; font-weight: 700; }
.bloom-summary__price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: var(--ink); }
.bloom-summary__price del { color: var(--faint); font-weight: 500; font-size: 20px; }
.bloom-summary__price ins { text-decoration: none; }
.bloom-summary__feature {
  margin: 0; font-size: 16px; font-weight: 600; background: var(--band);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; line-height: 1.45;
}
.bloom-summary__label { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.bloom-summary__opts { display: flex; flex-wrap: wrap; gap: 10px; }

.bloom-opt-colour {
  display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border-radius: var(--r-pill); border: 2px solid var(--line); background: var(--white);
  cursor: pointer; font-size: 15px; font-weight: 500; color: var(--ink);
}
.bloom-opt-colour.is-active { border-color: var(--green); }
.bloom-opt-size {
  min-width: 56px; min-height: 44px; padding: 0 14px; border-radius: var(--r-sm);
  border: 2px solid var(--line); background: var(--white); cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--ink);
}
.bloom-opt-size.is-active { border-color: var(--green); }
.bloom-opt-size:disabled, .bloom-opt-colour:disabled { opacity: .4; cursor: not-allowed; }
.bloom-summary__hint { margin: 8px 0 0; font-size: 14px; color: var(--faint); }

.bloom-buy { display: flex; flex-direction: column; gap: 12px; }
.bloom-buy__stock { margin: 0; font-size: 15px; font-weight: 600; color: var(--green); }
.bloom-buy__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bloom-qty {
  display: flex; align-items: center; border: 1px solid var(--line-2);
  border-radius: var(--r-pill); background: var(--white); overflow: hidden;
}
.bloom-qty button { width: 44px; height: 48px; border: 0; background: transparent; font-size: 20px; cursor: pointer; }
.bloom-qty input {
  width: 44px; height: 48px; border: 0; background: transparent; text-align: center;
  font-size: 16px; font-weight: 600; -moz-appearance: textfield;
}
.bloom-qty input::-webkit-outer-spin-button, .bloom-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bloom-buy__add { flex: 1 1 220px; min-height: 52px; font-size: 17px; }

.bloom-notice-box {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
}
.bloom-notice-box__title { margin: 0; font-size: 16px; font-weight: 600; color: var(--danger); }
.bloom-notice-box p { margin: 0; font-size: 15px; color: var(--muted); }
.bloom-notice-box input {
  min-height: 48px; padding: 0 14px; border-radius: var(--r-input);
  border: 1px solid var(--line-2); font-size: 16px;
}
.bloom-shipping-note {
  background: var(--page); border: 1px solid var(--line); border-radius: var(--r-input);
  padding: 16px; font-size: 15px; line-height: 1.6; color: var(--muted);
}

/* Tabs */
.bloom-tabs {
  margin-top: 48px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-panel); overflow: hidden;
}
.bloom-tabs__nav {
  display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line);
  background: var(--page); margin: 0; padding: 0; list-style: none;
}
.bloom-tabs__nav button {
  min-height: 52px; padding: 0 18px; border: 0; border-bottom: 3px solid transparent;
  background: transparent; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer;
}
.bloom-tabs__nav button:hover { color: var(--green); }
.bloom-tabs__nav button.is-active { border-bottom-color: var(--green); color: var(--green); }
.bloom-tabs__panels { padding: 26px; }
.bloom-tabs__panel[hidden] { display: none; }
.bloom-tabs__panel { max-width: 760px; }
.bloom-tabs__panel > p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; color: var(--ink); }
.bloom-tabs__panel ul { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.bloom-tabs__panel li { font-size: 16px; line-height: 1.6; color: var(--muted); }
.bloom-specs { width: 100%; max-width: 720px; border-collapse: collapse; font-size: 16px; }
.bloom-specs th {
  text-align: left; font-weight: 600; padding: 11px 12px 11px 0;
  border-bottom: 1px solid var(--line); width: 45%;
}
.bloom-specs td { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); }

.bloom-related { margin-top: 44px; }
.bloom-related h2 { margin: 0 0 18px; font-size: 24px; }

/* Sticky mobile buy bar */
.bloom-sticky-buy {
  display: none; position: sticky; bottom: 0; z-index: 35; background: var(--white);
  border-top: 1px solid var(--line); padding: 10px 16px;
  align-items: center; gap: 12px; box-shadow: var(--shadow-bar);
}
.bloom-sticky-buy p { margin: 0; }
.bloom-sticky-buy__meta { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bloom-sticky-buy__price { font-size: 17px; font-weight: 700; }
.bloom-sticky-buy .bloom-btn { margin-left: auto; flex: 1; max-width: 220px; min-height: 48px; }

/* Zoom lightbox */
.bloom-zoom {
  position: fixed; inset: 0; z-index: 70; background: rgba(34,32,29,0.8);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  cursor: zoom-out; animation: bloomFadeIn .15s ease; border: 0;
}
.bloom-zoom[hidden] { display: none; }
.bloom-zoom img { max-width: 100%; max-height: 100%; border-radius: var(--r-input); display: block; }

/* =========================================================================
   9. Cart drawer
   ========================================================================= */
.bloom-drawer {
  position: fixed; inset: 0; z-index: 80; display: flex; justify-content: flex-end;
  background: rgba(34,32,29,0.45); animation: bloomFadeIn .15s ease;
}
.bloom-drawer[hidden] { display: none; }
.bloom-drawer__scrim { flex: 1; border: 0; background: transparent; cursor: pointer; }
.bloom-drawer__panel {
  width: 420px; max-width: 100%; background: var(--page);
  display: flex; flex-direction: column;
  animation: bloomSlideIn .22s ease; box-shadow: -8px 0 24px rgba(34,32,29,0.18);
}
.bloom-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--line); background: var(--white);
}
.bloom-drawer__head h2 { margin: 0; font-size: 20px; }
.bloom-drawer__close { min-width: 44px; min-height: 44px; border: 0; background: transparent; font-size: 22px; cursor: pointer; }
.bloom-drawer__body { flex: 1; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; }

.bloom-ship {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-input); padding: 14px;
}
.bloom-ship p { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.bloom-ship__track { height: 8px; border-radius: var(--r-pill); background: var(--warm); overflow: hidden; }
.bloom-ship__fill { display: block; height: 100%; background: var(--green); }

.bloom-line {
  display: flex; gap: 12px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-input); padding: 12px;
}
.bloom-line__img {
  flex-shrink: 0; width: 76px; height: 76px; border-radius: var(--r-sm);
  overflow: hidden; background: var(--surface); display: block;
}
.bloom-line__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bloom-line__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.bloom-line__name { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.3; }
.bloom-line__meta { margin: 0; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bloom-line__meta .bloom-swatch { width: 12px; height: 12px; }
.bloom-line__row { display: flex; align-items: center; gap: 12px; margin-top: 2px; }
.bloom-line__qty {
  display: flex; align-items: center; border: 1px solid var(--line-2);
  border-radius: var(--r-pill); background: var(--white);
}
.bloom-line__qty button { width: 36px; height: 36px; border: 0; background: transparent; font-size: 18px; cursor: pointer; }
.bloom-line__qty span { min-width: 24px; text-align: center; font-size: 15px; font-weight: 600; }
.bloom-line__price { margin-left: auto; font-size: 16px; font-weight: 700; }
.bloom-line__rm {
  align-self: flex-start; background: transparent; border: 0; padding: 4px 0;
  font-size: 14px; color: var(--green); text-decoration: underline; cursor: pointer;
}

.bloom-upsell {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-input);
  padding: 14px; display: flex; gap: 12px; align-items: center;
}
.bloom-upsell__img { flex-shrink: 0; width: 56px; height: 56px; border-radius: var(--r-sm); overflow: hidden; background: var(--surface); display: block; }
.bloom-upsell__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bloom-upsell__info { flex: 1; min-width: 0; }
.bloom-upsell__kicker { margin: 0; font-size: 13px; font-weight: 700; color: var(--green); }
.bloom-upsell__name { margin: 0; font-size: 15px; font-weight: 600; }
.bloom-upsell .bloom-btn { min-height: 40px; padding: 0 16px; font-size: 14px; }

.bloom-drawer__foot {
  border-top: 1px solid var(--line); background: var(--white);
  padding: 18px 20px; display: flex; flex-direction: column; gap: 10px;
}
.bloom-drawer__subtotal { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; }
.bloom-drawer__eta { margin: 0; font-size: 14px; color: var(--muted); }
.bloom-drawer__empty {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 40px 28px; text-align: center;
}
.bloom-drawer__empty-icon {
  width: 64px; height: 64px; border-radius: var(--r-pill); background: var(--hover);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--faint);
}
.bloom-drawer__empty h3 { margin: 0; font-size: 22px; }
.bloom-drawer__empty p  { margin: 0; font-size: 16px; color: var(--muted); max-width: 280px; }

body.bloom-locked { overflow: hidden; }

/* =========================================================================
   10. Footer
   ========================================================================= */
.bloom-footer { background: var(--white); border-top: 1px solid var(--line); margin-top: 8px; }
.bloom-footer__top {
  max-width: var(--wrap); margin: 0 auto; padding: 48px 24px 28px;
  display: flex; flex-wrap: wrap; gap: 32px;
}
.bloom-footer__brand { flex: 1 1 240px; min-width: 0; }
.bloom-footer__brand img { height: 24px; width: auto; display: block; margin-bottom: 14px; }
.bloom-footer__brand p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 280px; }
.bloom-footer__contact { margin: 0 !important; line-height: 1.7 !important; }
.bloom-footer__col { flex: 1 1 160px; min-width: 0; }
.bloom-footer__col h3 { margin: 0 0 12px; font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.bloom-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.bloom-footer__col a { font-size: 15px; color: var(--muted); }
.bloom-footer__col a:hover { color: var(--green); }
.bloom-footer__bottom { max-width: var(--wrap); margin: 0 auto; padding: 0 24px 40px; }
.bloom-footer__bottom-inner {
  border-top: 1px solid var(--line); padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.bloom-footer__bottom p { margin: 0; font-size: 14px; color: var(--faint); }
.bloom-pay { display: flex; gap: 8px; align-items: center; }
.bloom-pay span {
  border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px;
  font-size: 12px; font-weight: 600; color: var(--muted); background: var(--page);
}

/* =========================================================================
   11. Quiz
   ========================================================================= */
.bloom-quiz {
  max-width: 720px; margin: 0 auto; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-panel); padding: 28px;
  box-shadow: var(--shadow-card);
}
.bloom-quiz--page { max-width: 760px; padding: 28px; }
.bloom-quiz__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.bloom-quiz__step { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.bloom-quiz__reset { background: transparent; border: 0; padding: 6px; cursor: pointer; font-size: 14px; color: var(--green); text-decoration: underline; }
.bloom-quiz__track { height: 8px; border-radius: var(--r-pill); background: var(--warm); overflow: hidden; margin-bottom: 22px; }
.bloom-quiz__fill { display: block; height: 100%; background: var(--green); transition: width .25s ease; }
.bloom-quiz__q { margin: 0 0 18px; font-size: 22px; font-weight: 600; }
.bloom-quiz__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.bloom-quiz--page .bloom-quiz__opts { display: flex; flex-direction: column; }
.bloom-quiz__opt {
  min-height: 64px; padding: 14px 18px; text-align: left; border-radius: var(--r-input);
  border: 1.5px solid var(--line); background: var(--page); cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--ink);
}
.bloom-quiz__opt:hover { border-color: var(--green); background: var(--mint); }
.bloom-quiz--page .bloom-quiz__opt { font-size: 17px; padding: 16px 20px; }

.bloom-quiz-result {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-panel);
  padding: 24px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; margin-bottom: 40px;
}
.bloom-quiz-result__img { flex: 1 1 260px; max-width: 360px; border-radius: var(--r-card); overflow: hidden; background: var(--surface); display: block; }
.bloom-quiz-result__img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.bloom-quiz-result__body { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.bloom-quiz-result__body h2 { margin: 0; font-size: 28px; }
.bloom-quiz-result__why { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.bloom-quiz-result__feature { margin: 0; font-size: 16px; font-weight: 600; background: var(--band); border-radius: var(--r-sm); padding: 10px 14px; }
.bloom-quiz-result__price { margin: 0; font-size: 24px; font-weight: 700; }

/* =========================================================================
   12. Editorial pages (Plant Care, article, accessories, gifts)
   ========================================================================= */
.bloom-page { max-width: var(--wrap); margin: 0 auto; padding: 20px 24px 56px; }
.bloom-page > h1 { margin: 0 0 8px; font-size: 34px; }
.bloom-page__intro { margin: 0 0 28px; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 640px; }

.bloom-article { max-width: 760px; margin: 0 auto; padding: 20px 24px 64px; }
.bloom-article__meta { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--green); }
.bloom-article h1 { margin: 0 0 20px; font-size: 36px; line-height: 1.15; }
.bloom-article__hero { display: block; border-radius: var(--r-panel); overflow: hidden; background: var(--band); margin-bottom: 24px; }
.bloom-article__hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.bloom-article__body { display: flex; flex-direction: column; gap: 18px; }
.bloom-article__body p { margin: 0; font-size: 18px; line-height: 1.75; color: var(--ink); }
.bloom-article__cta {
  margin-top: 36px; background: var(--mint); border: 1px solid var(--mint-line);
  border-radius: var(--r-panel); padding: 24px;
}
.bloom-article__cta h2 { margin: 0 0 6px; font-size: 20px; }
.bloom-article__cta p  { margin: 0 0 16px; font-size: 16px; color: var(--muted); }

.bloom-giftcard {
  background: var(--mint); border: 1px solid var(--mint-line); border-radius: var(--r-panel);
  padding: 28px; display: flex; flex-wrap: wrap; gap: 20px;
  align-items: center; justify-content: space-between;
}
.bloom-giftcard h2 { margin: 0 0 6px; font-size: 22px; }
.bloom-giftcard p  { margin: 0; font-size: 16px; color: var(--muted); }

/* Accessory card */
.bloom-acc {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden; display: flex; flex-direction: column;
}
.bloom-acc__img { display: block; aspect-ratio: 1/1; background: var(--surface); }
.bloom-acc__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bloom-acc__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bloom-acc__body h2 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; }
.bloom-acc__body p  { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.bloom-acc__price   { margin: 4px 0 0 !important; font-size: 19px !important; font-weight: 700; color: var(--ink) !important; }
.bloom-acc .bloom-btn { margin-top: auto; }

/* =========================================================================
   13. WooCommerce cart / checkout / account — keep Storefront usable but on-brand
   ========================================================================= */
.woocommerce-cart .entry-content, .woocommerce-checkout .entry-content,
.woocommerce-account .entry-content, .woocommerce-page:not(.woocommerce-shop) .bloom-wc-page {
  max-width: var(--wrap); margin: 0 auto; padding: 32px 24px 64px;
}
.bloom-wc-page > h1 { margin: 0 0 24px; font-size: 34px; }
.woocommerce table.shop_table {
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--white); border-collapse: separate; border-spacing: 0;
}
.woocommerce table.shop_table th { font-weight: 600; color: var(--ink); }
.woocommerce .button, .woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit {
  background: var(--green); color: var(--white); border: 0; border-radius: var(--r-pill);
  min-height: 48px; padding: 0 26px; font-size: 16px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
}
.woocommerce .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce input.button:hover, .woocommerce #respond input#submit:hover {
  background: var(--green-d); color: var(--white);
}
.woocommerce .button.alt, .woocommerce button.button.alt { background: var(--green); }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  background: var(--mint); border-top-color: var(--green);
  border-radius: var(--r-input); color: var(--ink);
}
.woocommerce-error { background: #FBEEEA; border-top-color: var(--danger); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  min-height: 48px; padding: 0 14px; border-radius: var(--r-input);
  border: 1px solid var(--line-2); background: var(--white); font-size: 16px;
}
.woocommerce form .form-row textarea { padding: 12px 14px; min-height: 120px; }

/* =========================================================================
   14. Responsive
   ========================================================================= */
@media (max-width: 860px) {
  .bloom-header__bar .bloom-search,
  .bloom-header__bar .bloom-account,
  .bloom-nav { display: none; }
  .bloom-menu-btn { display: flex; }
  .bloom-header__handheld { display: flex; }
  .bloom-sheet-btn { display: inline-flex; align-items: center; justify-content: center; }
  .bloom-filters { display: none; }
  .bloom-sticky-buy { display: flex; }

  .bloom-hero__copy { padding: 28px; }
  .bloom-hero__copy h1 { font-size: 34px; }
  .bloom-section__inner { padding: 40px 20px; }
  .bloom-section__head h2 { font-size: 26px; }
  .bloom-collection, .bloom-pdp, .bloom-page { padding: 16px 20px 40px; }
  .bloom-collection > h1, .bloom-page > h1, .bloom-summary h1 { font-size: 28px; }
  .bloom-article h1 { font-size: 30px; }
  .bloom-tabs__panels { padding: 20px; }
  .bloom-drawer__panel { width: 100%; }
  ul.products, .bloom-products, .bloom-grid--cards {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px;
  }
  .bloom-card__body { padding: 12px; gap: 7px; }
  .bloom-card__title { font-size: 15px; }
}

@media (max-width: 520px) {
  .bloom-header__bar { padding: 10px 16px; gap: 12px; }
  .bloom-header__handheld { padding: 0 16px 12px; }
  .bloom-cart-btn span:not(.bloom-cart-btn__count) { display: none; }
  .bloom-footer__top { padding: 32px 20px 20px; }
  .bloom-gallery__thumb { width: 64px; height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .bloom-drawer, .bloom-drawer__panel, .bloom-sheet, .bloom-zoom { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* =========================================================================
   15. Related / upsell rows, and Storefront leftovers
   ========================================================================= */
.related.products, .upsells.products, .up-sells {
  margin-top: 44px; clear: both;
}
.related.products > h2, .upsells.products > h2, .up-sells > h2 {
  margin: 0 0 18px; font-size: 24px; font-weight: 600;
}

/* Storefront paints its own buttons and loop columns; ours must win. */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button { margin-top: 0; }
.storefront-full-width-content .bloom-collection,
.storefront-full-width-content .bloom-pdp { max-width: var(--wrap); }
.woocommerce .quantity .qty { width: 44px; }
.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
  display: block; padding: 0; border: 0; text-align: left;
}
.woocommerce div.product form.cart .variations { margin-bottom: 14px; width: 100%; }
.woocommerce div.product form.cart .variations tr { display: block; margin-bottom: 14px; }
.woocommerce div.product form.cart .variations label { font-weight: 600; }
/* The generated swatch heading replaces the native label. */
.woocommerce div.product form.cart .variations tr > th.label { display: none; }
.woocommerce div.product form.cart .reset_variations { display: inline-block; margin-top: 4px; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart .button { flex: 1 1 220px; min-height: 52px; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce div.product form.cart .single_add_to_cart_button {
  border-radius: var(--r-pill); background: var(--green); min-height: 52px; font-size: 17px;
}
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .product_meta { display: none; }
.woocommerce-variation-price { margin-bottom: 8px; font-size: 20px; font-weight: 700; }
.woocommerce div.product form.cart { margin: 0; }
