/* BHR Shop: delivery panel, add-ons, Buy now, sticky add-to-cart, in-place add message. Uses theme colour tokens with fallbacks. */
.bhr-muted { color: var(--wp--preset--color--muted, #666); font-weight: 400; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons row: quantity + Add to cart, Buy now underneath */
form.cart { display: flex; flex-wrap: wrap; gap: .6rem; align-items: stretch; margin-bottom: 0; }
form.cart .variations, form.cart .single_variation_wrap, form.cart .woocommerce-variation-add-to-cart { width: 100%; }
.woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: .6rem; }
.single_add_to_cart_button { flex: 1 1 auto; }
.single_add_to_cart_button.loading { opacity: .7; }
.bhr-buy-now { flex: 1 1 100%; min-height: 52px; background: var(--wp--preset--color--ink, #222) !important; border: 1px solid var(--wp--preset--color--ink, #222) !important; color: #fff !important; padding: .9rem 1.6rem !important; font-size: .875rem !important; font-weight: 700 !important; letter-spacing: .08em !important; text-transform: uppercase !important; line-height: 1.2 !important; cursor: pointer; }
.bhr-buy-now:hover:not(:disabled) { background: #000 !important; }
.bhr-buy-now:disabled { opacity: .45; cursor: not-allowed; }
.bhr-form-msg { margin: .6rem 0 0; padding: .6rem .8rem; font-size: .9rem; }
.bhr-form-msg.is-ok { background: #e8f3ee; color: #17583f; }
.bhr-form-msg.is-error { background: #fbeaea; color: #8a0d0d; }

/* Delivery panel */
.bhr-delivery { border: 1px solid var(--wp--preset--color--line, #d0d0d0); background: #fff; padding: 1rem 1.1rem; margin: 1.25rem 0 0; font-size: .95rem; }
.bhr-delivery__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-bottom: .75rem; margin-bottom: .75rem; border-bottom: 1px solid var(--wp--preset--color--line, #d0d0d0); }
.bhr-delivery__head label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--muted, #666); }
.bhr-delivery__head select { border: 0; background: transparent; height: 32px; padding: 0 .2rem; font: inherit; font-weight: 700; text-align: right; cursor: pointer; }
.bhr-delivery__when { margin: 0; }
.bhr-delivery__countdown { margin: .25rem 0 0; color: var(--wp--preset--color--brand-red, #bb0a0a); font-weight: 700; display: flex; align-items: center; gap: .4rem; }
.bhr-delivery__countdown::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: bhr-pulse 1.6s ease-in-out infinite; }
@keyframes bhr-pulse { 50% { opacity: .25; } }
.bhr-delivery__facts { list-style: none; padding: 0; margin: .7rem 0 0; display: grid; gap: .2rem; font-size: .85rem; color: #444; }
.bhr-delivery__note { margin: .5rem 0 0; font-size: .8rem; color: var(--wp--preset--color--muted, #666); }

/* Complete the gift: horizontal strip */
.bhr-addons { flex: 1 0 100%; width: 100%; margin: 1.5rem 0 0; } /* under Add to cart and Buy now, in the form's button row (4 Dec item 24) */
.bhr-addons__title { font-size: 1.35rem !important; margin: 0 0 .7rem !important; }
.bhr-addons__list { list-style: none; padding: 0 0 .3rem; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: .65rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.bhr-addon { scroll-snap-align: start; display: flex; flex-direction: column; gap: .3rem; font-size: .8rem; }
.bhr-addon__img img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--wp--preset--color--ivory, #f3f0ec); display: block; }
.bhr-addon__name { line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.bhr-addon__price { font-weight: 700; }
.bhr-addon__price small, .bhr-addon__price .woocommerce-price-suffix { display: none; }
.bhr-addon__btn { margin-top: auto; text-align: center; padding: .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--wp--preset--color--ink, #222); color: var(--wp--preset--color--ink, #222); background: #fff; }
.bhr-addon__btn:hover { background: var(--wp--preset--color--ink, #222); color: #fff; }
.bhr-addon__btn.is-added { background: var(--wp--preset--color--trust-green, #21795e); border-color: var(--wp--preset--color--trust-green, #21795e); color: #fff; }

/* Sticky add-to-cart (mobile only) */
.bhr-sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; align-items: center; gap: .75rem; padding: .6rem max(16px, env(safe-area-inset-right)) calc(.6rem + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: #fff; border-top: 1px solid var(--wp--preset--color--line, #d0d0d0); box-shadow: 0 -8px 24px rgba(0,0,0,.08); transform: translateY(110%); transition: transform .25s ease; }
.bhr-sticky-atc.is-visible { transform: none; }
.bhr-sticky-atc__info { flex: 1; min-width: 0; display: grid; }
.bhr-sticky-atc__title { font-weight: 700; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bhr-sticky-atc__price { font-size: .85rem; font-weight: 700; }
.bhr-sticky-atc__price small, .bhr-sticky-atc__price .woocommerce-price-suffix { display: none; }
.bhr-sticky-atc__btn { background: var(--wp--preset--color--brand-red, #bb0a0a); color: #fff; border: 0; padding: .8rem 1.2rem; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 781px) { .bhr-sticky-atc { display: flex; } body:has(.bhr-sticky-atc.is-visible) .bhr-whatsapp { bottom: 84px; } }
@media (prefers-reduced-motion: reduce) { .bhr-sticky-atc { transition: none; } .bhr-delivery__countdown::before { animation: none; } }

/* "Complete the gift" as add-ons: tap "+ Add" (or the photo) to include a gift; it goes into the cart with the flowers. */
.bhr-addons__hint { margin: -.35rem 0 .7rem; font-size: .82rem; color: var(--wp--preset--color--muted, #666); }
.bhr-addon { position: relative; }
.bhr-addon__cb { position: absolute; opacity: 0; width: 1px; height: 1px; left: 0; top: 0; }
.bhr-addon__pick { display: flex; flex-direction: column; gap: .3rem; cursor: pointer; }
.bhr-addon__img { position: relative; display: block; border: 2px solid transparent; transition: border-color .15s; }
.bhr-addon__tick { position: absolute; top: .4rem; right: .4rem; width: 22px; height: 22px; border-radius: 50%; background: var(--wp--preset--color--ink, #222); display: none; }
.bhr-addon__tick::after { content: ""; position: absolute; left: 8px; top: 4px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bhr-addon:has(.bhr-addon__cb:checked) .bhr-addon__img { border-color: var(--wp--preset--color--ink, #222); }
.bhr-addon:has(.bhr-addon__cb:checked) .bhr-addon__tick { display: block; }
.bhr-addon:has(.bhr-addon__cb:focus-visible) .bhr-addon__add { outline: 2px solid var(--wp--preset--color--action-rose, #9e1724); outline-offset: 2px; }
.bhr-addon__size { width: 100%; font-size: .75rem; padding: .25rem; border: 1px solid #d0d0d0; background: #fff; }
.bhr-addon__row { display: flex; align-items: center; justify-content: space-between; gap: .35rem; margin-top: auto; }
.bhr-addon__add { flex: none; padding: .3rem .55rem; border: 1px solid var(--wp--preset--color--ink, #222); font-size: .75rem; font-weight: 700; cursor: pointer; background: #fff; white-space: nowrap; }
.bhr-addon__add .is-on { display: none; }
.bhr-addon:has(.bhr-addon__cb:checked) .bhr-addon__add { background: var(--wp--preset--color--ink, #222); color: #fff; }
.bhr-addon:has(.bhr-addon__cb:checked) .bhr-addon__add .is-on { display: inline; }
.bhr-addon:has(.bhr-addon__cb:checked) .bhr-addon__add .is-off { display: none; }
.bhr-addons__sum { margin: .6rem 0 0; font-size: .9rem; font-weight: 700; }
/* Cart drawer: no price-each line at quantity 1 (see bhr-shop.js). */
.wc-block-mini-cart__drawer .wc-block-cart-items__row.bhr-qty-one .wc-block-cart-item__prices { display: none; }

/* Cart drawer "Complete the gift": a chip opens that category's bestsellers (bhr-shop.js, storefront module). */
.bhr-drawer-chips a[aria-expanded="true"] { border-color: var(--wp--preset--color--ink); background: var(--wp--preset--color--ink); color: #fff; }
.bhr-picks { margin-top: .75rem; }
.bhr-picks__wait { margin: 0; font-size: .82rem; color: #666; }
.bhr-picks__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.bhr-pick { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: .7rem; align-items: center; }
.bhr-pick__img img { display: block; width: 56px; height: 56px; object-fit: cover; background: var(--wp--preset--color--ivory); }
.bhr-pick__body { display: grid; gap: .15rem; min-width: 0; }
.bhr-pick__name { font-size: .85rem; line-height: 1.3; color: inherit; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bhr-pick__price { font-size: .8rem; color: #444; }
.bhr-pick__price del { opacity: .6; margin-right: .3rem; }
.bhr-pick__add { min-width: 4.5rem; min-height: 36px; padding: .4rem .8rem; border: 1px solid var(--wp--preset--color--ink); border-radius: 999px; background: #fff; color: var(--wp--preset--color--ink); font: inherit; font-size: .8rem; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; }
.bhr-pick__add.is-added { background: var(--wp--preset--color--ink); color: #fff; }
.bhr-pick__add.is-loading { opacity: .6; }
.bhr-picks__all { display: inline-block; margin-top: .7rem; font-size: .82rem; color: inherit; }
/* Care tabs by product type (module care-guides, 4 Dec items 27-32): arrangement subheadings */
.bhr-accordion__body .bhr-care__head { margin: 1.1rem 0 .35rem; font-family: inherit; font-size: .95rem; font-weight: 700; letter-spacing: 0; color: var(--wp--preset--color--ink, #222); }
.bhr-accordion__body .bhr-care__head + ul { margin-top: 0; }
.bhr-size-line { margin: .6rem 0 0; font-size: .88rem; color: var(--wp--preset--color--muted, #666); }
/* Mobile review (5 Dec 2026, CHANGELOG #149): while the bar shows, the page ends above it, so it no longer covers the
   footer's last row. The rose box designer uses the same bar (bhr-rose-builder.js). */
@media (max-width: 781px) { body:has(.bhr-sticky-atc.is-visible) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); } }
