/*
Theme Name: EverPhool
Theme URI: http://localhost:8080
Description: Storefront theme for EverPhool artificial flowers. White layout, red actions, blush banners, Fraunces + Montserrat. Built for WooCommerce, Cash on Delivery and WhatsApp ordering.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: bloomnest
WC requires at least: 8.0
*/

:root {
  --bn-white: #FFFFFF;
  --bn-grey: #FAF6F2;        /* warm ivory (was #F6F6F6) */
  --bn-line: #EBEBEB;
  --bn-ink: #262626;
  --bn-muted: #555555;
  --bn-red: #D42E1E;
  --bn-red-dark: #B0241A;
  --bn-blush: #F7D3D8;
  --bn-blush-soft: #FBE6E9;
  --bn-deep-pink: #9E2A45;   /* berry, sits with the red (was #B83A70) */
  --bn-rose: #9E2A45;        /* script headings and icons */
  --bn-wa: #2E7D5B;
  --bn-wa-dark: #24654A;
  --bn-serif: "Fraunces", Georgia, serif;
  --bn-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bn-wrap: 1240px;
  --bn-radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--bn-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--bn-ink);
  background: var(--bn-white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bn-red); }
a:hover { color: var(--bn-red-dark); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bn-red); outline-offset: 2px; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto;
  background: var(--bn-ink); color: #fff; padding: 10px 16px; border-radius: var(--bn-radius);
}

.bn-wrap { max-width: var(--bn-wrap); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.bn-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 28px;
  border: 0; border-radius: var(--bn-radius);
  background: var(--bn-red); color: #fff;
  font-family: var(--bn-sans); font-size: 14px; font-weight: 700; line-height: 1.2;
  text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  cursor: pointer; transition: background .15s;
}
.bn-btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
  background: var(--bn-red-dark); color: #fff;
}
.bn-btn--light { background: #fff; color: var(--bn-ink); }
.bn-btn--light:hover { background: var(--bn-grey); color: var(--bn-ink); }
.bn-btn--outline,
.woocommerce ul.products li.product .button {
  background: #fff; color: var(--bn-ink); border: 1px solid var(--bn-ink);
  min-height: 44px; padding: 0 22px; font-size: 13px; letter-spacing: .05em;
}
.bn-btn--outline:hover,
.woocommerce ul.products li.product .button:hover { background: var(--bn-ink); color: #fff; }
.woocommerce a.button.disabled, .woocommerce button.button:disabled,
.woocommerce button.button.disabled, .woocommerce button.button:disabled[disabled] {
  background: var(--bn-red); color: #fff; opacity: .5; padding: 0 28px;
}

/* Top bar */
.bn-topbar { border-bottom: 1px solid var(--bn-line); font-size: 13px; color: var(--bn-muted); }
.bn-topbar .bn-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 10px; padding-bottom: 10px; }
.bn-topbar a { color: var(--bn-muted); text-decoration: none; }
.bn-topbar a:hover { color: var(--bn-red); }
.bn-topbar__links { display: flex; flex-wrap: wrap; gap: 20px; }

/* Header */
.bn-header { background: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; }
.bn-header.is-stuck { border-bottom-color: var(--bn-line); }
.admin-bar .bn-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bn-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .bn-header { top: 0; } }
.bn-header .bn-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 18px; padding-bottom: 18px; }
.bn-logo { font-family: var(--bn-serif); font-size: 32px; font-weight: 600; color: var(--bn-ink); text-decoration: none; letter-spacing: -.01em; line-height: 1; }
.bn-logo:hover { color: var(--bn-ink); }
.bn-logo img { max-height: 52px; width: auto; }
.bn-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 30px; }
.bn-nav a { color: var(--bn-ink); text-decoration: none; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.bn-nav a:hover, .bn-nav .current-menu-item > a, .bn-nav .current_page_item > a { color: var(--bn-red); }
.bn-nav .sub-menu { display: none; }
.bn-actions { display: flex; align-items: center; gap: 4px; }
.bn-icon-btn {
  width: 44px; height: 44px; border: 0; background: transparent; color: var(--bn-ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; border-radius: 999px;
}
.bn-icon-btn:hover { color: var(--bn-red); }
.bn-cart { display: inline-flex; align-items: center; gap: 10px; color: var(--bn-ink); text-decoration: none; padding-left: 6px; }
.bn-cart:hover { color: var(--bn-ink); }
.bn-cart__icon { position: relative; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--bn-line); display: inline-flex; align-items: center; justify-content: center; }
.bn-cart__count { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--bn-red); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.bn-cart__text { display: flex; flex-direction: column; font-size: 12px; line-height: 1.3; }
.bn-cart__text span:first-child { color: var(--bn-muted); }
.bn-cart__text strong { font-weight: 700; }
.bn-menu-toggle { display: none; }

.bn-search { display: none; border-top: 1px solid var(--bn-line); padding: 14px 0; }
.bn-search.is-open { display: block; }
.bn-search form { display: flex; gap: 10px; }
.bn-search input[type="search"] { flex: 1; min-height: 46px; padding: 0 14px; border: 1px solid #DDDDDD; border-radius: var(--bn-radius); }

/* Hero */
.bn-hero { background: var(--bn-blush); }
.bn-hero .bn-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 120px; }
.bn-hero__copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.bn-script { font-family: var(--bn-serif); font-style: italic; font-size: 30px; color: var(--bn-red-dark); line-height: 1.2; }
.bn-hero h1 { font-family: var(--bn-serif); font-weight: 400; font-size: clamp(40px, 5.5vw, 68px); line-height: 1.05; margin: 0; }
.bn-hero p { margin: 0; font-size: 17px; font-weight: 500; color: var(--bn-muted); }
.bn-hero__img { display: flex; justify-content: center; }
.bn-hero__img img { width: 100%; max-width: 460px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; }

/* Collections */
.bn-collections { margin-top: -72px; position: relative; }
.bn-collections__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.bn-collection { position: relative; display: block; height: 170px; border-radius: 8px; overflow: hidden; text-decoration: none; box-shadow: 0 10px 30px rgba(38,38,38,.12); background: var(--bn-grey); }
.bn-collection img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bn-collection:hover img { transform: scale(1.05); }
.bn-collection::after { content: ""; position: absolute; inset: 0; background: rgba(38,38,38,.45); }
.bn-collection__label { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; text-align: center; }
.bn-collection__label strong { font-family: var(--bn-serif); font-size: 26px; font-weight: 400; }
.bn-collection__label span { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

/* Section heads + tabs */
.bn-section { padding: 72px 0 40px; }
.bn-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--bn-line); padding-bottom: 14px; margin-bottom: 28px; }
.bn-section__head h2 { margin: 0; font-size: 22px; font-weight: 700; }
.bn-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.bn-tab { min-height: 44px; padding: 0 16px; border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: 14px; font-weight: 600; color: var(--bn-ink); cursor: pointer; }
.bn-tab[aria-selected="true"] { color: var(--bn-red); border-bottom-color: var(--bn-red); }
.bn-tabpanel[hidden] { display: none; }

/* Product grid (WooCommerce loop markup) */
.woocommerce ul.products, ul.products {
  list-style: none; margin: 0 0 24px; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product, .woocommerce-page ul.products[class*="columns-"] li.product {
  float: none; width: auto; margin: 0; padding: 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; position: relative;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; text-decoration: none; color: var(--bn-ink); }
.woocommerce ul.products li.product a img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin: 0; border-radius: 6px; background: var(--bn-grey);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--bn-sans); font-size: 15px; font-weight: 600; padding: 0; margin: 0; color: var(--bn-ink); }
.woocommerce ul.products li.product .price { color: var(--bn-red); font-weight: 700; font-size: 16px; margin: 0; display: flex; gap: 10px; justify-content: center; align-items: baseline; }
.woocommerce ul.products li.product .price del { color: var(--bn-muted); font-weight: 400; font-size: 14px; opacity: 1; order: 2; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button { display: inline-flex; margin-top: 2px; padding-top: 0; padding-bottom: 0; }
.woocommerce ul.products li.product .added_to_cart { font-size: 13px; font-weight: 600; }
.woocommerce span.onsale, .bn-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; margin: 0;
  min-width: 0; min-height: 0; padding: 5px 10px; line-height: 1.2;
  border-radius: 3px; background: var(--bn-red); color: #fff; font-size: 12px; font-weight: 700;
}

/* Card extras: badge stack, hover photo, size, rating, saving */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { position: relative; }
.bn-badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.bn-badges .bn-badge { position: static; }
.bn-badge--new { background: var(--bn-ink); }
.bn-badge--bestseller { background: #fff; color: var(--bn-ink); box-shadow: 0 1px 4px rgba(38,38,38,.15); }
.bn-badge--gift { background: var(--bn-deep-pink); }
.bn-card__alt { position: absolute; top: 0; left: 0; z-index: 1; opacity: 0; transition: opacity .3s; pointer-events: none; }
@media (hover: hover) {
  .woocommerce ul.products li.product a:hover .bn-card__alt { opacity: 1; }
}
.bn-size { display: block; font-size: 13px; color: var(--bn-muted); }
.bn-size--single { margin: -4px 0 14px; font-size: 15px; }
.bn-rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--bn-muted); }
.bn-rating .star-rating { margin: 0; font-size: 13px; color: var(--bn-red); }
.bn-save { display: inline-block; font-size: 13px; font-weight: 700; color: var(--bn-wa); }

/* Shop by occasion + price */
.bn-occasions { padding: 64px 0 0; }
.bn-occasions h2 { font-size: 22px; font-weight: 700; margin: 0 0 22px; }
.bn-occasions__list { list-style: none; margin: 0; padding: 0 0 6px; display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.bn-occasions__list::-webkit-scrollbar { display: none; } /* swipeable; the cut-off circle shows there's more */
.bn-occasions__list li { flex: none; scroll-snap-align: start; }
.bn-occasions__list a { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 120px; text-decoration: none; color: var(--bn-ink); font-size: 14px; font-weight: 600; text-align: center; }
.bn-occasions__img { width: 104px; height: 104px; border-radius: 999px; overflow: hidden; background: var(--bn-blush-soft); border: 2px solid transparent; transition: border-color .15s; }
.bn-occasions__img img { width: 100%; height: 100%; object-fit: cover; }
.bn-occasions__list a:hover { color: var(--bn-red); }
.bn-occasions__list a:hover .bn-occasions__img { border-color: var(--bn-red); }
.bn-price-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.bn-price-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--bn-line); border-radius: 999px; color: var(--bn-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.bn-price-chips a:hover { border-color: var(--bn-red); color: var(--bn-red); }

/* Why artificial */
.bn-why { background: var(--bn-blush-soft); padding: 64px 0; margin-top: 48px; }
.bn-why__head { text-align: center; margin-bottom: 32px; }
.bn-why__head .bn-script { display: block; margin-bottom: 6px; }
.bn-why h2 { font-family: var(--bn-serif); font-weight: 400; font-size: clamp(30px, 3.5vw, 40px); margin: 0; }
.bn-why__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.bn-why__grid li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.bn-why__grid svg { color: var(--bn-red); }
.bn-why__grid strong { font-size: 16px; }
.bn-why__grid span { font-size: 14px; color: var(--bn-muted); }
.bn-why__care { text-align: center; font-size: 14px; color: var(--bn-muted); margin: 28px 0 0; }
.bn-why--compact { grid-column: 1 / -1; margin: 8px 0 0; padding: 28px; border-radius: 8px; }
.bn-why--compact .bn-why__head { margin-bottom: 20px; }
.bn-why--compact h2 { font-size: 26px; }
.bn-why--compact .bn-why__grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; }

/* Checkout */
.bn-city-other[hidden] { display: none !important; }
.bn-field-error { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--bn-red-dark); }
.woocommerce form .form-row .description { font-size: 13px; color: var(--bn-muted); }
.woocommerce-checkout .woocommerce-additional-fields > h3 { display: none; }
.woocommerce form .form-row select { min-height: 46px; padding: 10px 12px; border: 1px solid #DDDDDD; border-radius: var(--bn-radius); background: #fff; width: 100%; }

/* Promo */
.bn-promo { background: var(--bn-deep-pink); margin-top: 48px; }
.bn-promo .bn-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: center; }
.bn-promo img { width: 100%; max-width: 480px; aspect-ratio: 1 / 1; object-fit: cover; }
.bn-promo__copy { display: flex; flex-direction: column; gap: 16px; color: #fff; text-align: center; align-items: center; padding: 48px 0; }
.bn-promo__copy .bn-script { color: #fff; }
.bn-promo__copy p { margin: 0; font-size: 17px; max-width: 30em; }

/* Deal */
.bn-deal { background: var(--bn-grey); margin-top: 40px; }
.bn-deal .bn-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.bn-deal img { width: 100%; max-width: 480px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; justify-self: center; }
.bn-deal__copy { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.bn-deal__copy .bn-script { color: var(--bn-red); }
.bn-deal__copy h2 { font-size: 30px; font-weight: 700; margin: 0; }
.bn-deal__copy h2 span { color: var(--bn-red); }
.bn-countdown { display: grid; grid-template-columns: repeat(4, 76px); gap: 12px; }
.bn-countdown div { padding: 14px 0; background: #fff; border-radius: 6px; display: flex; flex-direction: column; gap: 2px; }
.bn-countdown strong { font-size: 26px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.bn-countdown span { font-size: 12px; color: var(--bn-muted); }

/* Services */
.bn-services { padding: 56px 0; }
.bn-services .bn-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.bn-service { display: flex; gap: 14px; align-items: center; }
.bn-service svg { flex: none; color: var(--bn-red); }
.bn-service strong { display: block; }
.bn-service span { font-size: 14px; color: var(--bn-muted); }

/* Footer */
.bn-footer { background: var(--bn-ink); color: #fff; }
.bn-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; padding-top: 56px; padding-bottom: 32px; }
.bn-footer__brand { font-family: var(--bn-serif); font-size: 28px; font-weight: 600; }
.bn-footer p { margin: 12px 0 0; color: #D6D6D6; }
.bn-footer h3 { font-family: var(--bn-sans); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 12px; }
.bn-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bn-footer a, .bn-footer li { color: #D6D6D6; text-decoration: none; }
.bn-footer a:hover { color: #fff; }
.bn-footer__bottom { border-top: 1px solid #3D3D3D; }
.bn-footer__bottom .bn-wrap { padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: #BDBDBD; }

/* Generic pages */
.bn-main { min-height: 50vh; }
.bn-page { padding: 48px 0 72px; }
.bn-page__title { font-family: var(--bn-serif); font-weight: 400; font-size: clamp(32px, 4vw, 44px); margin: 0 0 24px; }
.bn-content { max-width: 760px; }
.bn-content > * + * { margin-top: 1em; }

/* WooCommerce: breadcrumbs, notices, shop header */
.woocommerce .woocommerce-breadcrumb { font-size: 14px; color: var(--bn-muted); margin: 0 0 20px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--bn-muted); }
.woocommerce-products-header__title { font-family: var(--bn-serif); font-weight: 400; font-size: clamp(32px, 4vw, 44px); margin: 0 0 8px; }
.woocommerce .woocommerce-result-count { color: var(--bn-muted); font-size: 14px; }
.woocommerce .woocommerce-ordering select { min-height: 44px; padding: 0 12px; border: 1px solid #DDDDDD; border-radius: var(--bn-radius); background: #fff; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-top-color: var(--bn-red); background: var(--bn-grey); border-radius: var(--bn-radius);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--bn-red); }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; justify-content: center; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--bn-line); border-radius: var(--bn-radius); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--bn-red); color: #fff; border-color: var(--bn-red); }

/* Single product */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 56px; align-items: start; position: relative; }
.woocommerce div.product > div.images, .woocommerce div.product > div.summary,
.woocommerce div.product .bn-media > div.images { float: none !important; width: auto !important; margin: 0; }
.bn-media { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.bn-video { margin: 0; }
.bn-video video { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; background: var(--bn-grey); }
.bn-video figcaption { margin-top: 6px; font-size: 13px; color: var(--bn-muted); }

/* Customer photos (product page + homepage) */
.bn-customer-photos { grid-column: 1 / -1; margin-top: 24px; }
.bn-customer-photos h2 { font-family: var(--bn-serif); font-weight: 400; font-size: 30px; margin: 0 0 18px; }
.bn-customer-photos--home h2 { font-family: var(--bn-sans); font-weight: 700; font-size: 22px; margin: 0; }
.bn-customer-photos ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.bn-customer-photos a { display: flex; flex-direction: column; gap: 6px; color: var(--bn-ink); text-decoration: none; font-size: 13px; font-weight: 600; }
.bn-customer-photos img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; }
.bn-customer-photos__note { font-size: 13px; color: var(--bn-muted); margin: 10px 0 0; }
.woocommerce div.product > span.onsale { top: 12px; left: 12px; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product div.images img { border-radius: 8px; background: var(--bn-grey); }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto; float: none; }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: 6px; aspect-ratio: 1 / 1; object-fit: cover; }
.woocommerce div.product .product_title { font-family: var(--bn-serif); font-weight: 400; font-size: clamp(34px, 4vw, 48px); line-height: 1.05; letter-spacing: -.015em; margin: 0 0 12px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--bn-red); font-size: 28px; font-weight: 700; }
.woocommerce div.product p.price del { color: var(--bn-muted); font-size: 18px; font-weight: 400; opacity: 1; }
.woocommerce div.product p.price ins { text-decoration: none; }
.bn-price-note { display: block; font-size: 14px; color: var(--bn-muted); margin: -8px 0 16px; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 16px; color: var(--bn-muted); }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0 12px; }
.woocommerce div.product form.cart.variations_form { display: block; }
.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 .button { flex: 1 1 200px; min-height: 52px; float: none; }
.woocommerce .quantity .qty { width: 72px; min-height: 52px; border: 1.5px solid var(--bn-ink); border-radius: var(--bn-radius); text-align: center; font-weight: 700; }
.woocommerce div.product form.cart .variations { width: 100%; border: 0; margin-bottom: 12px; }
.woocommerce div.product form.cart .variations tr { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0; text-align: left; line-height: 1.4; }
.woocommerce div.product form.cart .variations label { font-weight: 700; }
.woocommerce div.product form.cart .variations select { min-height: 44px; min-width: 220px; padding: 0 12px; border: 1px solid #DDDDDD; border-radius: var(--bn-radius); background: #fff; }
.woocommerce div.product form.cart .reset_variations { font-size: 13px; margin-left: 8px; }
.woocommerce div.product .woocommerce-variation-price { margin-bottom: 10px; }
.woocommerce div.product .product_meta { font-size: 14px; color: var(--bn-muted); display: flex; flex-direction: column; gap: 4px; margin-top: 20px; }

/* Variation swatches (built by theme.js from the selects) */
.bn-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.bn-swatch {
  min-height: 44px; padding: 0 16px; border: 1px solid #DDDDDD; border-radius: var(--bn-radius);
  background: #fff; color: var(--bn-ink); font-size: 14px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.bn-swatch:hover { border-color: var(--bn-ink); }
.bn-swatch[aria-pressed="true"] { border: 2px solid var(--bn-red); color: var(--bn-red); }
.bn-swatch[disabled] { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.bn-swatch__dot { width: 18px; height: 18px; border-radius: 999px; border: 1px solid rgba(38,38,38,.2); }
.bn-swatches + select { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

.bn-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; background: var(--bn-grey); border-radius: 8px; padding: 18px; margin: 20px 0; }
.bn-trust div { display: flex; flex-direction: column; gap: 2px; }
.bn-trust strong { font-size: 15px; }
.bn-trust span { font-size: 13px; color: var(--bn-muted); }

.woocommerce div.product .woocommerce-tabs { margin-top: 24px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; border-bottom: 1px solid var(--bn-line); display: flex; flex-wrap: wrap; gap: 6px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0; background: transparent; margin: 0; padding: 0; border-radius: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 16px; font-size: 14px; font-weight: 600; color: var(--bn-ink); border-bottom: 2px solid transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--bn-red); border-bottom-color: var(--bn-red); }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 20px; }
.woocommerce table.shop_attributes { border-top: 1px solid var(--bn-line); }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 12px 0; border-bottom: 1px solid var(--bn-line); font-style: normal; background: transparent; }
.woocommerce table.shop_attributes th { color: var(--bn-muted); font-weight: 500; width: 40%; text-align: left; }
.related.products > h2, .upsells.products > h2, .cross-sells > h2 { font-family: var(--bn-serif); font-weight: 400; font-size: 34px; margin: 32px 0 24px; }

/* Cart + checkout */
.woocommerce table.shop_table { border: 1px solid var(--bn-line); border-radius: 8px; border-collapse: separate; }
.woocommerce table.shop_table th { font-weight: 700; }
.woocommerce table.shop_table img { width: 72px; border-radius: 6px; }
.woocommerce-cart .cart-collaterals .cart_totals { width: 100%; max-width: 460px; float: right; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
  min-height: 46px; padding: 10px 12px; border: 1px solid #DDDDDD; border-radius: var(--bn-radius); background: #fff;
}
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 24px; padding: 0; }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { top: 10px; }
.woocommerce form .form-row label { font-weight: 600; font-size: 14px; }
.woocommerce-checkout #payment { background: var(--bn-grey); border-radius: 8px; }
.woocommerce-checkout h3 { font-size: 20px; }
.woocommerce ul.order_details { padding: 0; }

/* Responsive */
@media (max-width: 960px) {
  .bn-menu-toggle { display: inline-flex; }
  .bn-header .bn-wrap { flex-wrap: wrap; }
  .bn-logo { order: 1; font-size: 28px; }
  .bn-actions { order: 2; }
  .bn-nav { order: 3; width: 100%; display: none; }
  .bn-nav.is-open { display: block; }
  .bn-nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--bn-line); }
  .bn-nav li a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--bn-line); }
  .bn-cart__text { display: none; }
}
@media (max-width: 600px) {
  .bn-wrap { padding: 0 16px; }
  .bn-hero .bn-wrap { padding-top: 36px; padding-bottom: 96px; grid-template-columns: 1fr; }
  .bn-collection { height: 140px; }
  .bn-section { padding-top: 56px; }
  .woocommerce ul.products, ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .woocommerce ul.products li.product .button { padding: 0 12px; font-size: 12px; }
  .bn-countdown { grid-template-columns: repeat(4, minmax(0, 64px)); gap: 8px; }
  .bn-promo .bn-wrap, .bn-deal .bn-wrap { grid-template-columns: 1fr; }
  .woocommerce div.product { grid-template-columns: 1fr; }
  .bn-topbar__welcome { display: none; }
}

/* ==========================================================================
   UI/UX review fixes (ui-ux-pro-max audit, Nov 2026)
   ========================================================================== */

/* #2 Anchors and keyboard focus land below the sticky header (81px), not under it. */
html { scroll-padding-top: 100px; }

/* #1 16px inputs: iPhone Safari zooms the page when a field under 16px is tapped. */
input, select, textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce .quantity .qty, .woocommerce .select2-container .select2-selection--single { font-size: 16px; }

/* #7 16px body text on phones. */
@media (max-width: 600px) {
  body { font-size: 16px; }
}

/* #3 Tap targets of at least 44px. */
.bn-logo { display: inline-flex; align-items: center; min-height: 44px; }
.bn-topbar .bn-wrap { padding-top: 0; padding-bottom: 0; align-items: center; }
.bn-topbar__welcome { padding: 12px 0; }
.bn-topbar__links { gap: 4px 20px; }
.bn-topbar a { display: inline-flex; align-items: center; min-height: 44px; }
.bn-footer ul { gap: 0; }
.bn-footer li { display: flex; align-items: center; min-height: 44px; }
.bn-footer li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.woocommerce .woocommerce-breadcrumb a { display: inline-block; padding: 12px 0; }
.woocommerce div.product .product_meta a { display: inline-block; padding: 12px 2px; }
.woocommerce div.product form.cart .reset_variations { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; margin-left: 0; }

/* #5 Review form styled like checkout (it's where review requests send customers). */
#review_form #respond { padding: 0; }
#review_form .comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
#review_form .comment-form input[type="text"], #review_form .comment-form input[type="email"], #review_form .comment-form textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #DDDDDD; border-radius: var(--bn-radius); background: #fff;
}
#review_form .comment-form textarea { min-height: 120px; }
#review_form .comment-form p { margin: 0 0 16px; }
.woocommerce #review_form p.stars { margin: 4px 0 0; }
.woocommerce #review_form p.stars a { width: 44px; height: 44px; font-size: 36px; margin-right: 4px; color: var(--bn-red); }
.woocommerce #review_form p.stars a::before { width: 44px; height: 44px; line-height: 44px; text-align: center; }
#review_form .comment-form-cookies-consent { display: flex; align-items: center; gap: 10px; }
#review_form .comment-form-cookies-consent label { display: inline; font-weight: 400; margin: 0; }
#review_form input[type="checkbox"] { width: 24px; height: 24px; accent-color: var(--bn-red); flex: none; }

/* Gallery zoom button: 44px instead of WooCommerce's 36px. */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }

/* #10 Larger payment radios; the whole label row stays clickable. */
.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] { width: 22px; height: 22px; accent-color: var(--bn-red); vertical-align: middle; margin: 0 8px 0 0; }
.woocommerce-checkout #payment ul.payment_methods li > label { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; }

/* #9 Room below the footer so the floating WhatsApp button doesn't cover the last links. */
@media (max-width: 600px) {
  .bn-footer__bottom .bn-wrap { padding-bottom: 90px; }
}

/* #4 Respect "reduce motion": no hover zooms, fades or smooth scrolling. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .bn-collection:hover img { transform: none; }
}

/* ==========================================================================
   Colour refinements (Nov 2026): red is kept for buying and sales only.
   ========================================================================== */

/* Regular prices in charcoal; only sale prices stay red, so sales stand out. */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--bn-ink); }
.woocommerce ul.products li.product .price ins,
.woocommerce div.product p.price ins, .woocommerce div.product span.price ins { color: var(--bn-red); }

/* Script headings and decorative icons in deep rose instead of red. */
.bn-script, .bn-deal__copy .bn-script { color: var(--bn-rose); }
.bn-service svg, .bn-why__grid svg { color: var(--bn-rose); }

/* ---------- SEO: hero kicker + homepage FAQ ---------- */
.bn-hero__kicker { display: block; margin-bottom: 14px; font-family: var(--bn-sans, "Montserrat", sans-serif); font-size: 13px; font-weight: 600; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; color: var(--bn-ink); }
.bn-faq__list { display: grid; gap: 12px; max-width: 860px; }
.bn-faq details { background: var(--bn-grey); border-radius: 8px; padding: 0 20px; }
.bn-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; cursor: pointer; list-style: none; }
.bn-faq summary::-webkit-details-marker { display: none; }
.bn-faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--bn-rose); }
.bn-faq details[open] summary::after { content: "–"; }
.bn-faq summary h3 { margin: 0; font-size: 16px; font-weight: 600; }
.bn-faq details p { margin: 0 0 18px; color: var(--bn-muted); line-height: 1.6; }
.bn-faq summary:focus-visible { outline: 2px solid var(--bn-red); outline-offset: 2px; }
.woocommerce-products-header + .term-description, .bn-page .term-description { max-width: 860px; margin-top: 40px; color: var(--bn-muted); line-height: 1.7; }
