.bppp {
    --bppp-accent: #d85a13;
    --bppp-accent-dark: #b9470a;
    --bppp-green: #178449;
    --bppp-green-soft: #edf8f1;
    --bppp-stars: #f5b301;
    --bppp-stars-empty: #d8d8d8;
    --bppp-text: #211f1d;
    --bppp-muted: #716a64;
    --bppp-border: #e9e1da;
    --bppp-soft: #fbf7f3;
    --bppp-shadow: 0 12px 38px rgba(43, 31, 22, .07);
    color: var(--bppp-text);
    font-size: 16px;
    line-height: 1.55;
}

.bppp *, .bppp *::before, .bppp *::after { box-sizing: border-box; }
.bppp-shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 20px 0 72px; }
.bppp a { color: inherit; }
.bppp svg { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: -.18em; }

.bppp-breadcrumb { margin: 0 0 26px; color: var(--bppp-muted); font-size: 14px; }
.bppp-breadcrumb .woocommerce-breadcrumb { margin: 0; color: inherit; }
.bppp-breadcrumb a { color: var(--bppp-muted); text-decoration: none; }

.bppp-hero { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr); gap: clamp(40px, 5vw, 74px); align-items: start; padding: 0 0 54px; }
.bppp-hero__gallery, .bppp-hero__summary { min-width: 0; }
.bppp-hero__gallery .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; }

/* Stable WooCommerce gallery viewport.
   Use a consistent square visual stage on every breakpoint instead of the
   source file's natural aspect ratio. Packshot images often contain very tall
   canvases; using their source ratio can create huge blank areas on phones. */
.bppp-hero__gallery .woocommerce-product-gallery__wrapper,
.bppp-hero__gallery .flex-viewport {
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden !important;
    background: #fff;
}

/* FlexSlider writes an inline height to .flex-viewport after initialization.
   Override it so the gallery keeps the same responsive geometry before and
   after JS starts. */
.bppp-hero__gallery .flex-viewport { height: auto !important; }
.bppp-hero__gallery .flex-viewport .woocommerce-product-gallery__wrapper {
    aspect-ratio: auto;
    height: 100% !important;
    border-radius: 0;
    overflow: visible !important;
}
.bppp-hero__gallery .woocommerce-product-gallery__image,
.bppp-hero__gallery .woocommerce-product-gallery__image > a {
    height: 100% !important;
}
.bppp-hero__gallery .woocommerce-product-gallery__image > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.bppp-hero__gallery .woocommerce-product-gallery__image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

/* WooCommerce creates the thumbnail <ol> after gallery JS starts. Reserve one
   thumbnail row from the first paint so content below the gallery stays put. */
.bppp-hero__gallery.has-thumbnails .woocommerce-product-gallery {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    row-gap: 12px;
}
.bppp-hero__gallery.has-thumbnails .woocommerce-product-gallery__wrapper,
.bppp-hero__gallery.has-thumbnails .flex-viewport {
    grid-column: 1;
    grid-row: 1;
}
.bppp-hero__gallery.has-thumbnails .woocommerce-product-gallery::after {
    content: "";
    grid-column: 1;
    grid-row: 2;
    width: calc((100% - 40px) / 5);
    aspect-ratio: 1 / 1;
    visibility: hidden;
    pointer-events: none;
}
.bppp-hero__gallery .flex-control-thumbs {
    grid-column: 1;
    grid-row: 2;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 0 !important;
}
.bppp-hero__gallery .flex-control-thumbs li {
    width: auto !important;
    float: none !important;
    aspect-ratio: 1 / 1;
}
.bppp-hero__gallery .flex-control-thumbs img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    border: 1px solid var(--bppp-border);
    border-radius: 10px;
    padding: 4px;
}

.bppp-brand { color: var(--bppp-accent); text-transform: uppercase; letter-spacing: .09em; font-size: 13px; font-weight: 800; margin-bottom: 7px; }
.bppp-title { margin: 0; font-size: clamp(34px, 3.4vw, 54px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; color: var(--bppp-text); }
.bppp-rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; text-decoration: none; color: var(--bppp-muted); font-size: 14px; }
.bppp-rating .star-rating { margin: 0; color: var(--bppp-stars) !important; }
/* WooCommerce/Divi can color star pseudo-elements independently. Keep all review stars gold. */
.bppp .star-rating::before { color: var(--bppp-stars-empty) !important; opacity: 1 !important; }
.bppp .star-rating span::before { color: var(--bppp-stars) !important; }
.bppp .star-rating,
.bppp .star-rating span { color: var(--bppp-stars) !important; }
.bppp-reviews p.stars a,
.bppp-reviews p.stars a::before,
.bppp-reviews p.stars a:hover,
.bppp-reviews p.stars a:hover::before,
.bppp-reviews p.stars.selected a,
.bppp-reviews p.stars.selected a::before { color: var(--bppp-stars) !important; }

.bppp-availability { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 18px; }
.bppp-stock { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; }
.bppp-stock i { width: 9px; height: 9px; border-radius: 50%; background: #c9c9c9; box-shadow: 0 0 0 4px rgba(0,0,0,.04); }
.bppp-stock.is-in-stock { color: var(--bppp-green); }
.bppp-stock.is-in-stock i { background: var(--bppp-green); box-shadow: 0 0 0 4px rgba(23,132,73,.11); }
.bppp-stock.is-out { color: #a13c30; }
.bppp-eta { display: inline-flex; align-items: center; gap: 7px; color: var(--bppp-muted); font-size: 14px; }
.bppp-eta svg { color: var(--bppp-accent); }
.bppp-short-description { margin-top: 18px; color: #514b46; font-size: 15px; }
.bppp-short-description p:last-child { margin-bottom: 0; }

.bppp-buybox { margin-top: 24px; padding: 22px; border: 1px solid var(--bppp-border); border-radius: 18px; background: #fff; box-shadow: var(--bppp-shadow); }
.bppp-packaging__label { margin: 0 0 10px; font-size: 14px; font-weight: 750; }
.bppp-packaging__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.bppp-package { appearance: none; width: 100%; min-height: 96px; padding: 13px 14px; text-align: left; border: 1.5px solid var(--bppp-border); border-radius: 13px; background: #fff; color: var(--bppp-text); cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.bppp-package:hover { border-color: #d6b49d; }
.bppp-package.is-active { border-color: var(--bppp-accent); background: #fff8f3; box-shadow: 0 0 0 2px rgba(216,90,19,.08); }
.bppp-package.is-disabled { opacity: .5; cursor: not-allowed; }
.bppp-package__name { display: block; font-size: 15px; font-weight: 800; }
.bppp-package__note { display: block; margin-top: 1px; color: var(--bppp-muted); font-size: 12px; }
.bppp-package__price { display: block; margin-top: 7px; color: var(--bppp-accent); font-size: 19px; font-weight: 850; line-height: 1.15; }
.bppp-package__price .price, .bppp-package__price ins, .bppp-package__price del { color: inherit; }
.bppp-package__kg { display: block; margin-top: 2px; color: var(--bppp-muted); font-size: 11px; }

.bppp-native-cart form.cart, .bppp-native-cart .variations_form { margin: 0 !important; }
.bppp-native-cart .variations { width: 100%; margin: 0 0 12px !important; border: 0 !important; }
.bppp-native-cart .variations th, .bppp-native-cart .variations td { border: 0 !important; padding: 4px 0 !important; display: block; text-align: left; }
.bppp-native-cart .variations label { font-size: 13px; font-weight: 700; }
.bppp-native-cart .variations select { width: 100%; min-height: 46px; border: 1px solid var(--bppp-border); border-radius: 9px; padding: 0 12px; background: #fff; }
.bppp-native-cart .bppp-form-enhanced .variations tr.bppp-packaging-row-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bppp-native-cart .reset_variations { font-size: 12px; color: var(--bppp-muted); }
.bppp-simple-price { margin-bottom: 12px; color: var(--bppp-accent); font-size: 24px; font-weight: 850; }
.bppp-native-cart .woocommerce-variation-price { margin: 4px 0 10px; }
.bppp-native-cart .woocommerce-variation-price .price { color: var(--bppp-text); font-size: 23px; font-weight: 800; }
.bppp-native-cart .woocommerce-variation-availability { color: var(--bppp-muted); font-size: 13px; }
.bppp-native-cart .woocommerce-variation-add-to-cart, .bppp-native-cart form.cart { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.bppp-native-cart .quantity { display: inline-flex !important; align-items: stretch; height: 52px; border: 1px solid var(--bppp-border); border-radius: 10px; overflow: hidden; background: #fff; }
.bppp-native-cart .quantity input.qty { width: 54px !important; min-width: 54px; height: 50px; padding: 0 4px !important; border: 0 !important; border-radius: 0 !important; background: #fff; text-align: center; font-weight: 750; box-shadow: none !important; }
.bppp-qty-btn { width: 38px; border: 0; background: #fff; color: var(--bppp-text); font-size: 20px; cursor: pointer; }
.bppp-qty-btn:hover { background: var(--bppp-soft); }
.bppp-native-cart .single_add_to_cart_button { min-height: 52px !important; flex: 1 1 220px; padding: 0 24px !important; border: 0 !important; border-radius: 10px !important; background: var(--bppp-accent) !important; color: #fff !important; font-size: 16px !important; font-weight: 800 !important; box-shadow: none !important; text-transform: none !important; }
.bppp-native-cart .single_add_to_cart_button:hover { background: var(--bppp-accent-dark) !important; }
.bppp-native-cart .single_add_to_cart_button.disabled { opacity: .55; }

.bppp-trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.bppp-trust-strip span { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; border-radius: 9px; background: var(--bppp-soft); color: #625a54; text-align: center; font-size: 11px; font-weight: 650; }
.bppp-trust-strip svg { color: var(--bppp-accent); flex: 0 0 auto; }
.bppp-help { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--bppp-border); font-size: 13px; }
.bppp-help > span { color: var(--bppp-muted); }
.bppp-help > div { display: flex; gap: 12px; }
.bppp-help a { display: inline-flex; align-items: center; gap: 5px; font-weight: 750; text-decoration: none; color: var(--bppp-text); }

.bppp-section { margin-top: 34px; }
.bppp-section__head { margin-bottom: 18px; }
.bppp-eyebrow { display: block; margin-bottom: 5px; color: var(--bppp-accent); text-transform: uppercase; letter-spacing: .085em; font-size: 11px; font-weight: 800; }
.bppp-section h2, .bppp-section__head h2 { margin: 0; color: var(--bppp-text); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.15; letter-spacing: -.025em; font-weight: 800; }

.bppp-info-grid { display: grid; gap: 12px; }
.bppp-info-grid--3 { grid-template-columns: repeat(3, 1fr); }
.bppp-info-card { min-height: 118px; display: flex; align-items: flex-start; gap: 13px; padding: 20px; border: 1px solid var(--bppp-border); border-radius: 14px; background: #fff; }
.bppp-info-card__icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 12px; background: #fff2e9; color: var(--bppp-accent); }
.bppp-info-card strong { display: block; font-size: 14px; line-height: 1.35; }
.bppp-info-card span:not(.bppp-info-card__icon) { display: block; margin-top: 5px; color: var(--bppp-muted); font-size: 12px; }
.bppp-info-card--success { background: var(--bppp-green-soft); border-color: #cce8d6; }
.bppp-info-card--success .bppp-info-card__icon { background: #fff; color: var(--bppp-green); }

.bppp-specs-wrap { padding: 28px; border: 1px solid var(--bppp-border); border-radius: 18px; background: #fff; }
.bppp-specs-wrap .beo-pelet-specs__title { font-size: clamp(26px, 2.4vw, 36px); font-weight: 800; }

.bppp-proof__card { display: flex; gap: 20px; align-items: center; padding: 24px; border: 1px solid #cce8d6; border-radius: 18px; background: var(--bppp-green-soft); }
.bppp-proof__icon { width: 64px; height: 64px; flex: 0 0 64px; display: grid; place-items: center; border-radius: 18px; background: #fff; color: var(--bppp-green); }
.bppp-proof__icon svg { width: 34px; height: 34px; }
.bppp-proof__body { flex: 1; }
.bppp-proof__body h2 { font-size: 26px; }
.bppp-proof__body p { margin: 7px 0 0; color: #557060; }
.bppp-proof__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.bppp-btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 15px; border-radius: 9px; text-decoration: none !important; font-size: 13px; font-weight: 800; }
.bppp-btn--outline { border: 1px solid #b8d9c4; background: #fff; color: #1e5e38 !important; }
.bppp-btn--dark { background: #27231f; color: #fff !important; }
.bppp-btn--whatsapp { background: #1f9d55; color: #fff !important; }

.bppp-content { padding: clamp(26px, 4vw, 48px); border-radius: 18px; background: var(--bppp-soft); }
.bppp-section__head--content { max-width: 880px; }
.bppp-content__body { max-width: 920px; color: #4d4742; font-size: 16px; line-height: 1.8; }
.bppp-content__body h2 { margin: 1.8em 0 .55em; font-size: clamp(24px, 2.2vw, 32px); }
.bppp-content__body h3 { margin: 1.55em 0 .45em; font-size: 21px; line-height: 1.3; }
.bppp-content__body p { margin: 0 0 1.05em; }
.bppp-content__body ul, .bppp-content__body ol { margin: 0 0 1.15em 1.2em; }
.bppp-content__body a { color: var(--bppp-accent); text-decoration: underline; }

.bppp-reviews { padding: 28px; border: 1px solid var(--bppp-border); border-radius: 18px; background: #fff; }
.bppp-reviews #reviews, .bppp-reviews .woocommerce-Reviews { margin: 0; }
.bppp-reviews #reviews h2.woocommerce-Reviews-title { display: none; }
.bppp-reviews #comments, .bppp-reviews #review_form_wrapper { width: 100% !important; float: none !important; }
.bppp-reviews .commentlist { padding: 0 !important; }
.bppp-reviews .commentlist li { margin-bottom: 12px !important; }
.bppp-reviews .comment_container { padding: 16px; border: 1px solid var(--bppp-border); border-radius: 12px; }
.bppp-reviews .avatar { border-radius: 50%; }

.bppp-faq-wrap .bepfaq { margin: 0; }
.bppp-faq-wrap .bepfaq__title { color: var(--bppp-text); font-weight: 800; }

.bppp-seller__card { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 26px 28px; border-radius: 18px; background: #24211f; color: #fff; }
.bppp-seller__card h2 { color: #fff; font-size: 28px; }
.bppp-seller__details { display: flex; flex-wrap: wrap; gap: 5px 18px; margin-top: 12px; color: #d7d1cc; font-size: 12px; }
.bppp-seller__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.bppp-seller__actions .bppp-btn--dark { background: #fff; color: #24211f !important; }

.bppp-related .related.products > h2 { margin-bottom: 18px; font-size: clamp(26px, 2.4vw, 36px); font-weight: 800; }
.bppp-related ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bppp-related ul.products::before, .bppp-related ul.products::after { display: none; }
.bppp-related ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }

.bppp-sticky-cart { display: none; }

@media (max-width: 980px) {
    .bppp-shell { width: min(100% - 34px, 920px); }
    .bppp-hero { grid-template-columns: 1fr 1fr; gap: 30px; }
    .bppp-title { font-size: clamp(32px, 4.8vw, 44px); }
    .bppp-info-grid--3 { grid-template-columns: 1fr; }
    .bppp-info-card { min-height: 0; }
    .bppp-related ul.products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .bppp { font-size: 15px; }
    .bppp-shell { width: 95%; padding: 10px 0 96px; }
    .bppp-breadcrumb { margin-bottom: 14px; font-size: 11px; }
    .bppp-hero { display: block; padding-bottom: 22px; }
    .bppp-hero__gallery { margin-bottom: 18px; }
    .bppp-hero__gallery .woocommerce-product-gallery__wrapper { border-radius: 12px; }
    .bppp-hero__gallery .flex-control-thumbs { gap: 7px; }
    .bppp-hero__summary { padding: 0 2px; }
    .bppp-brand { font-size: 10px; margin-bottom: 5px; }
    .bppp-title { font-size: 29px; line-height: 1.08; letter-spacing: -.025em; }
    .bppp-rating { margin-top: 10px; font-size: 12px; }
    .bppp-availability { margin-top: 12px; gap: 8px 12px; }
    .bppp-stock { font-size: 13px; }
    .bppp-eta { font-size: 11px; }
    .bppp-short-description { margin-top: 12px; font-size: 13px; }
    .bppp-buybox { margin-top: 15px; padding: 14px; border-radius: 13px; box-shadow: 0 8px 24px rgba(43,31,22,.05); }
    .bppp-packaging__label { margin-bottom: 8px; font-size: 12px; }
    .bppp-packaging__grid { gap: 8px; margin-bottom: 12px; }
    .bppp-package { min-height: 84px; padding: 10px 11px; border-radius: 10px; }
    .bppp-package__name { font-size: 13px; }
    .bppp-package__note { font-size: 10px; }
    .bppp-package__price { margin-top: 5px; font-size: 16px; }
    .bppp-package__kg { font-size: 9px; }
    .bppp-native-cart .woocommerce-variation-price .price { font-size: 18px; }
    .bppp-native-cart .woocommerce-variation-add-to-cart, .bppp-native-cart form.cart { gap: 8px; flex-wrap: nowrap; }
    .bppp-native-cart .quantity { flex: 0 0 auto; height: 48px; }
    .bppp-native-cart .quantity input.qty { width: 42px !important; min-width: 42px; height: 46px; font-size: 13px; }
    .bppp-qty-btn { width: 30px; font-size: 18px; }
    .bppp-native-cart .single_add_to_cart_button { min-height: 48px !important; flex: 1 1 auto; min-width: 0; padding: 0 12px !important; font-size: 13px !important; }
    .bppp-trust-strip { gap: 5px; margin-top: 10px; }
    .bppp-trust-strip span { min-height: 42px; padding: 6px 4px; font-size: 9px; line-height: 1.2; }
    .bppp-trust-strip svg { width: 15px; height: 15px; }
    .bppp-help { align-items: flex-start; margin-top: 10px; padding-top: 10px; font-size: 10px; }
    .bppp-help > div { gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
    .bppp-help a { font-size: 10px; }

    .bppp-section { margin-top: 22px; }
    .bppp-section__head { margin-bottom: 11px; }
    .bppp-eyebrow { font-size: 9px; }
    .bppp-section h2, .bppp-section__head h2 { font-size: 22px; }
    .bppp-info-grid { gap: 7px; }
    .bppp-info-card { min-height: 0; gap: 10px; padding: 12px; border-radius: 10px; }
    .bppp-info-card__icon { width: 34px; height: 34px; flex-basis: 34px; border-radius: 9px; }
    .bppp-info-card strong { font-size: 11px; }
    .bppp-info-card span:not(.bppp-info-card__icon) { margin-top: 2px; font-size: 9px; }

    .bppp-specs-wrap { padding: 15px 12px; border-radius: 12px; }
    .bppp-specs-wrap .beo-pelet-specs__title { margin-bottom: 12px; font-size: 22px; }
    .bppp-specs-wrap .beo-pelet-specs__cards { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 5px; margin-bottom: 8px; }
    .bppp-specs-wrap .beo-pelet-specs__card { min-height: 68px; padding: 8px 4px; border-radius: 8px; }
    .bppp-specs-wrap .beo-pelet-specs__card-value { font-size: 13px; }
    .bppp-specs-wrap .beo-pelet-specs__card-label { font-size: 8px; }
    .bppp-specs-wrap .beo-pelet-specs__tables { grid-template-columns: 1fr; gap: 6px; }
    .bppp-specs-wrap .beo-pelet-specs__row { min-height: 0; padding: 7px 9px; }
    .bppp-specs-wrap .beo-pelet-specs__row dt, .bppp-specs-wrap .beo-pelet-specs__row dd { font-size: 10px; }

    .bppp-proof__card { align-items: flex-start; gap: 12px; padding: 14px; border-radius: 12px; }
    .bppp-proof__icon { width: 42px; height: 42px; flex-basis: 42px; border-radius: 11px; }
    .bppp-proof__icon svg { width: 24px; height: 24px; }
    .bppp-proof__body h2 { font-size: 18px; }
    .bppp-proof__body p { margin-top: 4px; font-size: 10px; }
    .bppp-proof__actions { gap: 6px; margin-top: 8px; }
    .bppp-btn { min-height: 34px; padding: 7px 9px; font-size: 10px; }

    .bppp-content { padding: 17px 15px; border-radius: 12px; }
    .bppp-content__body { font-size: 13px; line-height: 1.7; }
    .bppp-content__body h2 { font-size: 20px; }
    .bppp-content__body h3 { font-size: 17px; }

    .bppp-reviews { padding: 14px; border-radius: 12px; }
    .bppp-reviews .comment_container { padding: 10px; border-radius: 9px; }
    .bppp-faq-wrap .bepfaq__title { font-size: 22px; }
    .bppp-faq-wrap .bepfaq__summary { min-height: 52px; padding: 11px 12px; }
    .bppp-faq-wrap .bepfaq__question { font-size: 12px; }
    .bppp-faq-wrap .bepfaq__answer { font-size: 11px; }

    .bppp-seller__card { display: block; padding: 17px 15px; border-radius: 12px; }
    .bppp-seller__card h2 { font-size: 20px; }
    .bppp-seller__details { display: grid; gap: 3px; margin-top: 9px; font-size: 9px; }
    .bppp-seller__actions { justify-content: flex-start; margin-top: 12px; }

    .bppp-related ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .bppp-related .related.products > h2 { font-size: 22px; }

    .bppp-sticky-cart { position: fixed; z-index: 9999; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px max(10px, env(safe-area-inset-left)) calc(9px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-right)); background: rgba(255,255,255,.98); border-top: 1px solid var(--bppp-border); box-shadow: 0 -8px 28px rgba(43,31,22,.1); transform: translateY(120%); transition: transform .22s ease; }
    .bppp-sticky-cart.is-visible { transform: translateY(0); }
    .bppp-sticky-cart__info { min-width: 0; flex: 1; }
    .bppp-sticky-cart__info strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
    .bppp-sticky-cart__info span { display: block; margin-top: 1px; color: var(--bppp-accent); font-size: 12px; font-weight: 850; }
    .bppp-sticky-cart__button { flex: 0 0 auto; min-height: 40px; padding: 0 15px; border: 0; border-radius: 8px; background: var(--bppp-accent); color: #fff; font-size: 11px; font-weight: 850; }
}

@media (max-width: 390px) {
    .bppp-title { font-size: 26px; }
    .bppp-buybox { padding: 12px; }
    .bppp-package { padding: 9px; }
    .bppp-trust-strip span { font-size: 8px; }
    .bppp-native-cart .quantity input.qty { width: 36px !important; min-width: 36px; }
    .bppp-qty-btn { width: 27px; }
    .bppp-native-cart .single_add_to_cart_button { font-size: 12px !important; }
}

/* =========================================================
 * Responsive refinement v1.0.1
 * Dedicated layouts for desktop, laptop, tablet landscape,
 * tablet portrait and compact mobile screens.
 * ======================================================= */

/* Wide desktop / large laptop */
@media (min-width: 1280px) {
    .bppp-shell { width: min(1320px, calc(100% - 72px)); }
    .bppp-hero { grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr); gap: clamp(54px, 5vw, 84px); }
    .bppp-buybox { padding: 24px; }
}

/* Standard laptop and tablet landscape */
@media (min-width: 901px) and (max-width: 1279px) {
    .bppp-shell { width: min(1180px, calc(100% - 40px)); }
    .bppp-hero { grid-template-columns: minmax(0, .94fr) minmax(390px, 1.06fr); gap: clamp(26px, 3.4vw, 46px); padding-bottom: 42px; }
    .bppp-title { font-size: clamp(32px, 3.8vw, 46px); }
    .bppp-buybox { padding: 18px; }
    .bppp-package { min-height: 90px; padding: 12px; }
    .bppp-trust-strip span { padding-inline: 6px; }
    .bppp-info-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bppp-info-card { min-height: 112px; padding: 16px; }
    .bppp-related ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Tablet portrait: deliberate one-column hero, not a stretched phone layout */
@media (min-width: 768px) and (max-width: 900px) {
    .bppp { font-size: 16px; }
    .bppp-shell { width: min(94%, 820px); padding: 16px 0 104px; }
    .bppp-breadcrumb { margin-bottom: 20px; font-size: 13px; }
    .bppp-hero { display: block; padding-bottom: 34px; }
    .bppp-hero__gallery { width: min(100%, 640px); margin: 0 auto 28px; }
    .bppp-hero__summary { width: min(100%, 760px); margin: 0 auto; }
    .bppp-title { font-size: clamp(36px, 5.4vw, 44px); }
    .bppp-brand { font-size: 12px; }
    .bppp-short-description { font-size: 15px; }
    .bppp-buybox { padding: 22px; border-radius: 16px; }
    .bppp-package { min-height: 96px; padding: 14px; }
    .bppp-package__name { font-size: 15px; }
    .bppp-package__price { font-size: 20px; }
    .bppp-native-cart .single_add_to_cart_button { min-height: 52px !important; font-size: 15px !important; }
    .bppp-trust-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .bppp-trust-strip span { min-height: 48px; font-size: 11px; }
    .bppp-help { font-size: 12px; }
    .bppp-help a { font-size: 12px; }

    .bppp-section { margin-top: 30px; }
    .bppp-section h2, .bppp-section__head h2 { font-size: 30px; }
    .bppp-info-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .bppp-info-grid--3 .bppp-info-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .bppp-info-card { min-height: 104px; padding: 17px; }
    .bppp-specs-wrap { padding: 24px; }
    .bppp-proof__card { padding: 22px; }
    .bppp-content { padding: 30px; }
    .bppp-content__body { font-size: 15px; }
    .bppp-reviews { padding: 22px; }
    .bppp-seller__card { padding: 22px; }
    .bppp-related ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

    .bppp-sticky-cart { position: fixed; z-index: 9999; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px max(18px, env(safe-area-inset-left)) calc(11px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-right)); background: rgba(255,255,255,.985); border-top: 1px solid var(--bppp-border); box-shadow: 0 -8px 28px rgba(43,31,22,.09); transform: translateY(120%); transition: transform .22s ease; }
    .bppp-sticky-cart.is-visible { transform: translateY(0); }
    .bppp-sticky-cart__info { min-width: 0; flex: 1; }
    .bppp-sticky-cart__info strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
    .bppp-sticky-cart__info span { display: block; margin-top: 2px; color: var(--bppp-accent); font-size: 14px; font-weight: 850; }
    .bppp-sticky-cart__button { flex: 0 0 auto; min-height: 44px; padding: 0 22px; border: 0; border-radius: 9px; background: var(--bppp-accent); color: #fff; font-size: 12px; font-weight: 850; }
}

/* Small tablet / large phone: preserve breathing room and readable type */
@media (min-width: 600px) and (max-width: 767px) {
    .bppp { font-size: 15.5px; }
    .bppp-shell { width: 94%; }
    .bppp-hero__gallery { width: min(100%, 580px); margin-inline: auto; }
    .bppp-hero__summary { width: min(100%, 640px); margin-inline: auto; }
    .bppp-title { font-size: 33px; }
    .bppp-brand { font-size: 11px; }
    .bppp-short-description { font-size: 14px; }
    .bppp-buybox { padding: 18px; }
    .bppp-package { min-height: 90px; padding: 12px; }
    .bppp-package__name { font-size: 14px; }
    .bppp-package__price { font-size: 18px; }
    .bppp-native-cart .single_add_to_cart_button { font-size: 14px !important; }
    .bppp-trust-strip span { font-size: 10px; }
    .bppp-help, .bppp-help a { font-size: 11px; }
    .bppp-section h2, .bppp-section__head h2 { font-size: 26px; }
    .bppp-info-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bppp-info-grid--3 .bppp-info-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .bppp-info-card { padding: 15px; }
    .bppp-info-card strong { font-size: 12px; }
    .bppp-info-card span:not(.bppp-info-card__icon) { font-size: 10px; }
    .bppp-specs-wrap { padding: 20px 17px; }
    .bppp-content { padding: 22px 20px; }
    .bppp-content__body { font-size: 14px; }
    .bppp-proof__body h2 { font-size: 21px; }
    .bppp-proof__body p { font-size: 11px; }
    .bppp-seller__card { padding: 20px 18px; }
}

/* Touch and accessibility refinements across compact devices */
@media (max-width: 900px) {
    .bppp-package,
    .bppp-native-cart .single_add_to_cart_button,
    .bppp-sticky-cart__button,
    .bppp-btn,
    .bppp-help a { touch-action: manipulation; }
    .bppp-native-cart .single_add_to_cart_button,
    .bppp-sticky-cart__button { min-height: 44px; }
    .bppp img { max-width: 100%; height: auto; }
    .bppp table { max-width: 100%; }
}

/* =========================================================
 * Mobile & SEO-safe visual refinement v1.0.2
 * Real-device adjustments for 320–430px phones plus clearer
 * touch targets and readable technical/product content.
 * ======================================================= */

/* When our Džak/Paleta cards are present, their price is the visible source.
   Hide WooCommerce's duplicated variation price/availability below the cards. */
.bppp-buybox.has-packaging-picker .woocommerce-variation-price,
.bppp-buybox.has-packaging-picker .woocommerce-variation-availability {
    display: none !important;
}

/* Four concise trust items on larger screens. */
.bppp-trust-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Related products: keep theme typography from becoming oversized. */
.bppp-related ul.products li.product .woocommerce-loop-product__title {
    line-height: 1.28;
    overflow-wrap: anywhere;
}

@media (min-width: 431px) and (max-width: 767px) {
    .bppp-trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    .bppp-trust-strip span { min-height: 46px; padding: 8px 7px; font-size: 10.5px; }
    .bppp-specs-wrap .beo-pelet-specs__card-value { font-size: 14px; }
    .bppp-specs-wrap .beo-pelet-specs__card-label { font-size: 9.5px; }
    .bppp-specs-wrap .beo-pelet-specs__row dt,
    .bppp-specs-wrap .beo-pelet-specs__row dd { font-size: 11.5px; }
}

/* Main phone layout. 430px includes devices such as Galaxy Ultra in common
   CSS viewport modes and prevents the CTA from being squeezed into columns. */
@media (max-width: 430px) {
    .bppp { font-size: 15px; }
    .bppp-shell { width: calc(100% - 20px); padding-top: 8px; padding-bottom: 102px; }
    .bppp-breadcrumb { margin-bottom: 12px; font-size: 11px; line-height: 1.35; }

    .bppp-hero__gallery { margin-bottom: 16px; }
    .bppp-hero__gallery .woocommerce-product-gallery__wrapper,
    .bppp-hero__gallery .flex-viewport { border-radius: 12px; }
    .bppp-hero__gallery.has-thumbnails .woocommerce-product-gallery { row-gap: 7px; }
    .bppp-hero__gallery.has-thumbnails .woocommerce-product-gallery::after { width: calc((100% - 28px) / 5); }
    .bppp-hero__gallery .flex-control-thumbs { gap: 7px; }
    .bppp-hero__summary { padding-inline: 0; }
    .bppp-brand { font-size: 10px; }
    .bppp-title { font-size: clamp(27px, 7.4vw, 31px); line-height: 1.08; }
    .bppp-rating { font-size: 12px; }
    .bppp-availability { align-items: flex-start; gap: 7px 12px; }
    .bppp-stock { font-size: 13px; }
    .bppp-eta { font-size: 11.5px; line-height: 1.4; }
    .bppp-short-description { font-size: 13.5px; line-height: 1.6; }

    .bppp-buybox { padding: 13px; border-radius: 13px; }
    .bppp-packaging__label { font-size: 12.5px; }
    .bppp-packaging__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    .bppp-package { min-height: 92px; padding: 10px; }
    .bppp-package__name { font-size: 13.5px; }
    .bppp-package__note { font-size: 10.5px; line-height: 1.3; }
    .bppp-package__price { font-size: 16px; }
    .bppp-package__kg { font-size: 10px; line-height: 1.35; }

    /* Quantity gets its own row and CTA gets the full width below it. */
    .bppp-native-cart .woocommerce-variation-add-to-cart,
    .bppp-native-cart form.cart {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        align-items: stretch !important;
    }
    .bppp-native-cart .quantity {
        justify-self: start;
        width: 122px;
        height: 48px;
    }
    .bppp-native-cart .quantity input.qty {
        width: 50px !important;
        min-width: 50px;
        height: 46px;
        font-size: 14px;
    }
    .bppp-qty-btn { width: 35px; min-width: 35px; }
    .bppp-native-cart .single_add_to_cart_button {
        width: 100% !important;
        min-width: 100% !important;
        min-height: 50px !important;
        padding: 0 16px !important;
        font-size: 14px !important;
        line-height: 1.15 !important;
        white-space: nowrap;
    }

    .bppp-trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        margin-top: 11px;
    }
    .bppp-trust-strip span {
        min-height: 48px;
        justify-content: flex-start;
        padding: 8px 9px;
        font-size: 10.5px;
        line-height: 1.25;
        text-align: left;
    }
    .bppp-trust-strip svg { width: 17px; height: 17px; }

    .bppp-help { display: block; font-size: 11.5px; }
    .bppp-help > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 8px; }
    .bppp-help a {
        min-height: 44px;
        justify-content: center;
        padding: 8px;
        border: 1px solid var(--bppp-border);
        border-radius: 9px;
        background: #85ffa7;
        font-size: 11.5px;
    }

    .bppp-section { margin-top: 24px; }
    .bppp-section__head { margin-bottom: 12px; }
    .bppp-eyebrow { font-size: 9.5px; }
    .bppp-section h2,
    .bppp-section__head h2 { font-size: 23px; line-height: 1.18; }

    /* Delivery remains stacked, but text is not reduced to unreadable sizes. */
    .bppp-info-grid--3 { grid-template-columns: 1fr; }
    .bppp-info-card { padding: 13px; gap: 11px; }
    .bppp-info-card__icon { width: 36px; height: 36px; flex-basis: 36px; }
    .bppp-info-card strong { font-size: 12.5px; }
    .bppp-info-card span:not(.bppp-info-card__icon) { font-size: 10.5px; line-height: 1.45; }

    /* The four key specifications become a legible 2x2 grid. */
    .bppp-specs-wrap { padding: 16px 12px; }
    .bppp-specs-wrap .beo-pelet-specs__title { font-size: 23px; }
    .bppp-specs-wrap .beo-pelet-specs__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
        margin-bottom: 10px !important;
    }
    .bppp-specs-wrap .beo-pelet-specs__card {
        min-height: 76px;
        padding: 11px 7px;
    }
    .bppp-specs-wrap .beo-pelet-specs__card-value { font-size: 15px; }
    .bppp-specs-wrap .beo-pelet-specs__card-label { font-size: 10px; line-height: 1.3; }
    .bppp-specs-wrap .beo-pelet-specs__row { padding: 9px 9px; gap: 10px; }
    .bppp-specs-wrap .beo-pelet-specs__row dt,
    .bppp-specs-wrap .beo-pelet-specs__row dd {
        font-size: 12px;
        line-height: 1.4;
    }
    .bppp-specs-wrap .beo-pelet-specs__row dt { flex: 1 1 52%; }
    .bppp-specs-wrap .beo-pelet-specs__row dd { flex: 0 1 48%; text-align: right; }

    .bppp-proof__card { gap: 11px; padding: 14px 12px; }
    .bppp-proof__icon { width: 42px; height: 42px; flex-basis: 42px; }
    .bppp-proof__body h2 { font-size: 19px; }
    .bppp-proof__body p { font-size: 12px; line-height: 1.5; }
    .bppp-btn { min-height: 42px; padding: 9px 11px; font-size: 11.5px; }

    /* SEO body text must remain comfortable to read on small phones. */
    .bppp-content { padding: 18px 14px; }
    .bppp-content__body { font-size: 14.5px; line-height: 1.72; }
    .bppp-content__body p { margin-bottom: 1em; }
    .bppp-content__body h2 { margin-top: 1.45em; font-size: 21px; line-height: 1.25; }
    .bppp-content__body h3 { margin-top: 1.35em; font-size: 18px; line-height: 1.3; }
    .bppp-content__body ul,
    .bppp-content__body ol { padding-left: 1.25em; }

    .bppp-reviews { padding: 15px 12px; }
    .bppp-faq-wrap .bepfaq__title { font-size: 23px; }
    .bppp-faq-wrap .bepfaq__summary { min-height: 50px; padding: 11px 10px; }
    .bppp-faq-wrap .bepfaq__question { font-size: 13px; line-height: 1.4; }
    .bppp-faq-wrap .bepfaq__answer { font-size: 12.5px; line-height: 1.6; }

    .bppp-seller__card { padding: 17px 14px; }
    .bppp-seller__card h2 { font-size: 20px; }
    .bppp-seller__details { font-size: 11.5px; line-height: 1.5; }

    .bppp-related ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
    .bppp-related .related.products > h2 { font-size: 23px; }
    .bppp-related ul.products li.product .woocommerce-loop-product__title {
        font-size: 14px !important;
        line-height: 1.25 !important;
        padding-top: 7px !important;
    }
    .bppp-related ul.products li.product .price { font-size: 13px !important; }

    .bppp-sticky-cart { gap: 8px; padding-top: 9px; }
    .bppp-sticky-cart__info strong { font-size: 11px; }
    .bppp-sticky-cart__info span { font-size: 13px; }
    .bppp-sticky-cart__button { min-height: 44px; padding-inline: 14px; font-size: 11.5px; white-space: nowrap; }
}

/* Very narrow devices: change layout rather than shrinking type to illegibility. */
@media (max-width: 359px) {
    .bppp-shell { width: calc(100% - 16px); }
    .bppp-title { font-size: 26px; }
    .bppp-packaging__grid { grid-template-columns: 1fr; }
    .bppp-package { min-height: 82px; }
    .bppp-help > div { grid-template-columns: 1fr; }
    .bppp-sticky-cart__info strong { max-width: 112px; }
    .bppp-sticky-cart__button { padding-inline: 11px; font-size: 11px; }
}

/* 1.0.3 — clear selected-package state */
.bppp-package { position: relative; }
.bppp-package.is-active { padding-right: 44px; }
.bppp-package.is-active::after {
    content: "✓";
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #219653;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 2px 7px rgba(33, 150, 83, .22);
}
@media (max-width: 430px) {
    .bppp-package.is-active { padding-right: 36px; }
    .bppp-package.is-active::after {
        top: 8px;
        right: 8px;
        width: 21px;
        height: 21px;
        font-size: 13px;
    }
}

/* =========================================================
 * Sticky cart total v1.0.5
 * The bottom bar always shows the total for the currently
 * selected quantity, not the unit price.
 * ======================================================= */
.bppp-sticky-cart__total {
    display: flex !important;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
    white-space: nowrap;
}
.bppp-sticky-cart__total small {
    flex: 0 0 auto;
    color: #6f675f;
    font-size: .78em;
    font-weight: 700;
}
.bppp-sticky-cart__total [data-bppp-sticky-price] {
    display: inline !important;
    min-width: 0;
    margin: 0 !important;
    color: var(--bppp-accent);
    font-size: inherit;
    font-weight: 850;
}
.bppp-sticky-cart__total [data-bppp-sticky-price] span,
.bppp-sticky-cart__total [data-bppp-sticky-price] bdi,
.bppp-sticky-cart__total [data-bppp-sticky-price] del,
.bppp-sticky-cart__total [data-bppp-sticky-price] ins {
    display: inline !important;
    margin: 0 !important;
}
.bppp-sticky-cart__total [data-bppp-sticky-price] ins {
    text-decoration: none;
}
.bppp-sticky-cart__total [data-bppp-sticky-price] del {
    margin-right: 3px !important;
    color: #8a8178;
    font-size: .82em;
    font-weight: 650;
}

@media (max-width: 430px) {
    .bppp-sticky-cart__total { gap: 3px; }
    .bppp-sticky-cart__total small { font-size: 9.5px; }
    .bppp-sticky-cart__total [data-bppp-sticky-price] { font-size: 13px; }
}

@media (max-width: 359px) {
    .bppp-sticky-cart__total small { font-size: 9px; }
    .bppp-sticky-cart__total [data-bppp-sticky-price] { font-size: 12px; }
}


/* =========================================================
 * Stock status v1.0.6
 * Shared Beo Pelet inventory is stored in bag/base units by Core.
 * Exact quantities are intentionally not exposed to shoppers.
 * ======================================================= */
.bppp-purchase-stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    margin: 0 0 13px;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: clamp(12px, .9vw, 13.5px);
    line-height: 1.3;
    font-weight: 800;
    white-space: normal;
}
.bppp-purchase-stock__dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 0 4px currentColor;
    opacity: .95;
}
.bppp-purchase-stock__text { min-width: 0; overflow-wrap: normal; word-break: normal; }
.bppp-purchase-stock.is-in {
    color: #178449;
    background: #f1fbf5;
    border-color: #cce8d6;
}
.bppp-purchase-stock.is-low {
    color: #a85a00;
    background: #fff8ed;
    border-color: #f2d7ad;
}
.bppp-purchase-stock.is-out {
    color: #a13c30;
    background: #fff4f2;
    border-color: #efcbc5;
}
/* Keep the dot ring subtle rather than a solid large blob. */
.bppp-purchase-stock.is-in .bppp-purchase-stock__dot { box-shadow: 0 0 0 4px rgba(23,132,73,.11); }
.bppp-purchase-stock.is-low .bppp-purchase-stock__dot { box-shadow: 0 0 0 4px rgba(168,90,0,.10); }
.bppp-purchase-stock.is-out .bppp-purchase-stock__dot { box-shadow: 0 0 0 4px rgba(161,60,48,.10); }

.bppp-package__availability {
    display: block;
    margin-top: 5px;
    color: #a13c30;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 800;
}
.bppp-package.is-disabled {
    opacity: 1;
    color: #77706a;
    background: #faf9f7;
    border-color: #e6e1dc;
}
.bppp-package.is-disabled .bppp-package__price,
.bppp-package.is-disabled .bppp-package__kg,
.bppp-package.is-disabled .bppp-package__note { color: #948c85; }

@media (min-width: 768px) and (max-width: 1279px) {
    .bppp-purchase-stock {
        font-size: 12.5px;
        padding: 8px 10px;
    }
}

@media (max-width: 430px) {
    .bppp-purchase-stock {
        display: flex;
        width: fit-content;
        max-width: 100%;
        margin-bottom: 11px;
        padding: 7px 9px;
        font-size: 11.5px;
        line-height: 1.35;
    }
    .bppp-purchase-stock__dot { width: 8px; height: 8px; flex-basis: 8px; }
    .bppp-package__availability { font-size: 10.5px; line-height: 1.3; }
}

@media (max-width: 359px) {
    /* Do not crush typography: allow the status to wrap to a second line. */
    .bppp-purchase-stock {
        width: 100%;
        font-size: 11px;
    }
    .bppp-purchase-stock__text { flex: 1 1 auto; }
    .bppp-package__availability { font-size: 10.5px; }
}

.bppp-sticky-cart__button.is-disabled,
.bppp-sticky-cart__button:disabled {
    background: #b7b0aa !important;
    cursor: not-allowed;
    opacity: .9;
}
