/* ===== Karta produktu (podprojekt D) — ładowane tylko na stronach produktu ===== */
.bst-p{gap:32px;padding:16px;color:var(--bst-primary)}
.bst-p .elementor-shortcode{width:100%}
.bst-p--buy{align-items:flex-start;padding-top:24px}
.bst-p .elementor-widget.bst-p-gallery{flex:2 1 0;min-width:0}
.bst-p .elementor-widget.bst-p-buy{flex:1 1 0;min-width:0;position:sticky;top:88px}
.bst-visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* gallery: one large photo + 2x2 grid. Buttons need (0,2,1)+: the kit styles `.elementor-kit-11 button`, WooCommerce `button.button.alt.disabled` (0,4,1) */
.bst-gallery{display:flex;flex-direction:column;gap:16px}
.bst-gallery__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.bst-gallery button.bst-gallery__item{display:block;width:100%;padding:0;border:0;border-radius:var(--bst-radius-lg);overflow:hidden;background:var(--bst-surface-alt);cursor:zoom-in}
.bst-gallery__item img{display:block;width:100%;height:100%;aspect-ratio:1/1;object-fit:cover}
.bst-gallery__item[data-index="0"] img{aspect-ratio:4/3}
.bst-lightbox{width:100vw;height:100vh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;overflow:hidden}
.bst-lightbox[open]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:32px}
.bst-lightbox::backdrop{background:rgba(42,26,20,.55);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}
.bst-lightbox__stage img{display:block;width:auto;height:auto;max-width:min(1000px,90vw);max-height:66vh;border-radius:var(--bst-radius-lg);background:#fff;object-fit:contain} /* product photos are on white */
.bst-lightbox__thumbs{display:flex;gap:16px;max-width:90vw;padding:4px;overflow-x:auto}
:is(.bst-gallery,.bst-reviews) .bst-lightbox button{display:block;padding:0;border:0;background:none;cursor:pointer}
.bst-lightbox__thumbs button{flex:0 0 auto;width:82px;height:82px;border-radius:var(--bst-radius-md);overflow:hidden;opacity:.6;transition:opacity .2s}
.bst-lightbox__thumbs img{width:100%;height:100%;object-fit:cover;background:#fff}
.bst-gallery .bst-lightbox__thumbs button[aria-current=true]{opacity:1;outline:2px solid var(--bst-surface);outline-offset:2px}
.bst-gallery .bst-lightbox__thumbs button:is(:hover,:focus-visible){opacity:1}
:is(.bst-gallery,.bst-reviews) .bst-lightbox .bst-lightbox__close{position:absolute;top:24px;right:24px;display:grid;place-items:center;width:44px;height:44px;color:var(--bst-surface);font-size:22px}
@media (max-width:767px){
  .bst-lightbox[open]{gap:20px}
  .bst-lightbox__thumbs{gap:8px}
  .bst-lightbox__thumbs button{width:56px;height:56px}
  :is(.bst-gallery,.bst-reviews) .bst-lightbox .bst-lightbox__close{top:12px;right:12px}
}
/* buy box */
.bst-buy{display:flex;flex-direction:column;gap:12px}
.bst-buy__brand{align-self:flex-start;margin:0;padding:2px 12px;border:1px solid currentColor;border-radius:var(--bst-radius-full);color:var(--bst-brand,var(--bst-primary));font-size:14px;font-weight:500;line-height:20px}
.bst-buy.bst-brand-silk-addict{--bst-brand:var(--bst-silk-addict-dark)}
.bst-buy.bst-brand-so-divine{--bst-brand:var(--bst-so-divine-dark)}
.bst-buy.bst-brand-hair-syrup{--bst-brand:var(--bst-hair-syrup-dark)}
.bst-buy.bst-brand-truly{--bst-brand:var(--bst-truly-dark)}
.bst-buy .bst-buy__name{margin:0;font-size:var(--bst-h3-size);line-height:1.15;font-weight:350;color:inherit}
.bst-buy__lead{margin:0;font-size:16px;line-height:1.45;font-weight:500}
.bst-buy__price{margin:4px 0 0;font-size:24px;font-weight:400}
.bst-buy__price .woocommerce-Price-amount,.bst-companion__price .woocommerce-Price-amount,.bst-p .bst-buy p.bst-buy__price span.price{color:inherit} /* variation price_html is a span.price: WooCommerce colours it --wc-highlight at (0,2,2) */
.bst-buy form.cart{display:flex;flex-direction:column;gap:16px;margin:8px 0 0}
.bst-buy table.variations{margin:0;border:0}
.bst-buy table.variations th,.bst-buy table.variations td{display:block;padding:0;border:0;background:none;text-align:left}
.bst-buy table.variations th label{font-size:14px;font-weight:500;color:inherit}
.bst-buy .reset_variations,.bst-buy .woocommerce-variation-price{display:none!important}
.bst-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.bst-buy .bst-pill-opt{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border:1px solid var(--bst-line);border-radius:var(--bst-radius-full);background:var(--bst-surface);color:var(--bst-primary);font-size:14px;font-weight:500;line-height:20px;cursor:pointer}
.bst-buy .bst-pill-opt.is-active{border-color:var(--bst-primary);box-shadow:inset 0 0 0 1px var(--bst-primary)}
.bst-buy .bst-pill-opt:focus-visible{outline:2px solid var(--bst-primary);outline-offset:2px}
.bst-pill-opt__dot{width:14px;height:14px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(22,18,17,.25)}
.bst-buy form.cart .quantity input.qty{width:72px;height:52px;padding:0;text-align:center;border:1px solid var(--bst-line);border-radius:var(--bst-radius-full);background:var(--bst-surface);color:var(--bst-primary)}
.bst-buy form.cart button.button.single_add_to_cart_button,.bst-buy form.cart button.button.single_add_to_cart_button:is(.disabled,:hover,:focus){flex:1 1 auto;min-height:52px;padding:14px 24px;border:0;border-radius:var(--bst-radius-full);background:var(--bst-btn);color:var(--bst-text-inverse);font-size:16px;font-weight:500;text-transform:none;letter-spacing:0}
.bst-buy form.cart button.button.single_add_to_cart_button.disabled{opacity:.45}
.bst-buy .woocommerce-variation-add-to-cart,.bst-buy form.cart:not(.variations_form){display:flex;gap:12px;align-items:stretch}
.bst-buy__more{margin-top:8px;border-top:1px solid var(--bst-line)}
.bst-buy details{border-bottom:1px solid var(--bst-line)}
.bst-buy summary{display:flex;justify-content:space-between;align-items:center;padding:16px 0;font-size:16px;font-weight:500;cursor:pointer;list-style:none}
.bst-buy summary::-webkit-details-marker{display:none}
.bst-buy summary::after{content:'+';font-size:20px;font-weight:300}
.bst-buy details[open] summary::after{content:'–'}
.bst-buy details>div,.bst-buy details>dl,.bst-buy details>p{margin:0 0 16px;font-size:14px;line-height:1.5}
.bst-buy dl{display:grid;grid-template-columns:auto 1fr;gap:6px 16px}
.bst-buy dt{font-weight:500}
.bst-buy dd{margin:0}
.bst-buy details a{color:inherit;text-decoration:underline;text-underline-offset:4px}
.bst-companion{display:flex;align-items:center;gap:16px;margin-top:8px;padding:12px;border-radius:var(--bst-radius-md);background:var(--bst-foam);color:var(--bst-primary);text-decoration:none}
.bst-companion img{width:72px;height:72px;object-fit:cover;border-radius:var(--bst-radius-sm)}
.bst-companion__text{display:flex;flex:1 1 auto;flex-direction:column;gap:2px;font-size:14px}
.bst-companion__eyebrow{font-weight:500}
.bst-companion__cta{padding:6px 14px;border:1px solid currentColor;border-radius:var(--bst-radius-full);font-size:14px;font-weight:500}
@media (max-width:1024px){
  .bst-p .elementor-widget.bst-p-gallery,.bst-p .elementor-widget.bst-p-buy{flex:0 0 auto;width:100%;position:static}
}
@media (max-width:767px){
  .bst-p{padding:12px}
  .bst-gallery,.bst-gallery__grid{gap:8px}
  .bst-gallery button.bst-gallery__item{border-radius:var(--bst-radius-md)}
}
/* feel the difference: Seed photo + glass panel with the brand's 4 features */
.bst-features{position:relative;display:flex;flex-direction:column;justify-content:flex-end;gap:48px;min-height:600px;margin-top:88px;padding:72px 24px 24px;border-radius:var(--bst-radius-lg);background:var(--bst-blush) center/cover no-repeat;color:var(--bst-text-inverse)}
.bst-features h2{position:absolute;left:0;bottom:100%;max-width:none;margin:0 0 20px;font-size:var(--bst-h2-size);line-height:1.1;font-weight:350;color:var(--bst-primary)} /* above the photo (owner's banners, 2026-10-19): on a busy photo white words fell on the product, a neon or a face */
.bst-features--truly{background-position:50% 0} /* the photo from its top: her eyes in frame */
.bst-features__panel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;padding:32px;border-radius:var(--bst-radius-lg);background:var(--bst-glass);-webkit-backdrop-filter:blur(var(--bst-blur));backdrop-filter:blur(var(--bst-blur));color:var(--bst-primary)}
.bst-feature .bst-ico{width:36px;height:36px}
.bst-feature h3{margin:16px 0 8px;font-size:18px;font-weight:500;color:inherit}
.bst-feature p{margin:0;font-size:14px;line-height:1.45;font-weight:500}
/* brand story: photo tile + dark brand card */
.bst-story{display:grid;grid-template-columns:1fr 2.9fr;gap:16px;min-height:550px} /* Seed: narrow photo tile + wide card */
.bst-story__media img{display:block;width:100%;height:100%;object-fit:contain;border-radius:var(--bst-radius-lg);background:#fff} /* brand thumbnails are packshots on white: never crop the product */
.bst-story__card{display:flex;flex-direction:column;justify-content:center;gap:16px;padding:48px;border-radius:var(--bst-radius-lg);background:var(--bst-surface-alt);color:var(--bst-primary)} /* light pink like the other cards (user: no brown backgrounds) */
.bst-story h2{margin:0;font-size:var(--bst-h3-size);font-weight:350;color:inherit}
.bst-story p{max-width:520px;margin:0;font-size:16px;line-height:1.45;font-weight:500}
.bst-story a{display:inline-flex;align-items:center;gap:6px;color:inherit;font-weight:500;text-decoration:underline;text-underline-offset:6px}
/* more from the brand */
.bst-more h2,.bst-reviews h2{margin:24px 0;font-size:var(--bst-h2-size);line-height:1.1;font-weight:350;color:inherit}
/* reviews */
.bst-reviews{max-width:960px;margin:0 auto 48px}
.bst-reviews__empty{font-size:16px;font-weight:500}
.bst-reviews__summary{display:flex;align-items:center;gap:32px;margin-bottom:24px}
.bst-reviews__avg{margin:0;font-size:56px;font-weight:300}
.bst-reviews__summary ul{flex:1 1 auto;margin:0;padding:0;list-style:none}
.bst-reviews__summary li{display:grid;grid-template-columns:16px 1fr 40px;align-items:center;gap:12px;font-size:14px}
.bst-reviews__bar{height:6px;border-radius:3px;background:var(--bst-line)}
.bst-reviews__bar span{display:block;height:100%;border-radius:3px;background:var(--bst-primary)}
.bst-reviews .woocommerce-Reviews-title,.bst-reviews .woocommerce-noreviews{display:none}
.bst-reviews .comment-form input,.bst-reviews .comment-form textarea{border:1px solid var(--bst-line);border-radius:var(--bst-radius-md);background:var(--bst-surface);color:var(--bst-primary)}
.bst-reviews #respond .comment-form input#submit,.bst-reviews #respond .comment-form input#submit:is(:hover,:focus){padding:14px 24px;border:0;border-radius:var(--bst-radius-full);background:var(--bst-btn);color:var(--bst-text-inverse);font-weight:500;text-transform:none}
.bst-reviews .stars a{color:var(--bst-primary)}
@media (max-width:1024px){
  .bst-features__panel{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bst-story{grid-template-columns:1fr;min-height:0}
  .bst-story__card{order:-1}
  .bst-story__media img{aspect-ratio:1/1}
}
@media (max-width:767px){
  .bst-features{min-height:0;margin-top:56px;padding:220px 12px 12px}
  .bst-features h2{margin-bottom:12px;font-size:var(--bst-h3-size)}
  .bst-features__panel{display:flex;gap:20px;padding:20px;overflow-x:auto;scroll-snap-type:x mandatory}
  .bst-feature{flex:0 0 72%;scroll-snap-align:start}
  .bst-story__card{padding:28px 20px}
}
/* brand reviews */
.bst-stars{display:inline-block;width:88px;height:16px;background:linear-gradient(90deg,var(--bst-primary) calc(var(--r) / 5 * 100%),var(--bst-line) 0);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.2l2 4.3 4.7.5-3.5 3.2 1 4.6L8 11.4l-4.2 2.4 1-4.6L1.3 6l4.7-.5z'/%3E%3C/svg%3E") 0 0/17.6px 16px repeat-x;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.2l2 4.3 4.7.5-3.5 3.2 1 4.6L8 11.4l-4.2 2.4 1-4.6L1.3 6l4.7-.5z'/%3E%3C/svg%3E") 0 0/17.6px 16px repeat-x}
.bst-brand-reviews{display:flex;flex-direction:column;gap:16px;margin-bottom:40px}
.bst-brand-reviews__head{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.bst-brand-reviews__head p{margin:0;font-size:16px;font-weight:500}
.bst-brand-reviews .bst-brand-reviews__avg{font-size:48px;font-weight:300;line-height:1}
.bst-brand-reviews__head a{color:inherit;text-decoration:underline;text-underline-offset:4px}
.bst-rmedia,.bst-review__media{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}
.bst-reviews .bst-rmedia__item{position:relative;flex:0 0 auto;width:96px;height:96px;padding:0;border:0;border-radius:var(--bst-radius-md);overflow:hidden;background:var(--bst-surface-alt);cursor:zoom-in}
.bst-review__media .bst-rmedia__item{width:64px;height:64px}
.bst-rmedia__item img,.bst-rmedia__item video{width:100%;height:100%;object-fit:cover;pointer-events:none}
.bst-rmedia__item--video::after{content:'';position:absolute;inset:0;margin:auto;width:28px;height:28px;border-radius:50%;background:var(--bst-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 4.5v7l5.5-3.5z' fill='%23161211'/%3E%3C/svg%3E") center/16px no-repeat}
.bst-brand-reviews__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bst-review{display:flex;flex-direction:column;gap:8px;padding:20px;border-radius:var(--bst-radius-md);background:var(--bst-surface-alt)}
.bst-review[hidden]{display:none}
.bst-reviews .bst-review__title{margin:0;font-size:16px;font-weight:500;color:inherit}
.bst-review__body{margin:0;font-size:15px;line-height:1.5}
.bst-review__meta{margin:0;font-size:13px;color:var(--bst-text-secondary)}
.bst-reviews .bst-brand-reviews__more{align-self:center;padding:12px 24px;border:1px solid var(--bst-primary);border-radius:var(--bst-radius-full);background:none;color:var(--bst-primary);font-size:15px;font-weight:500;cursor:pointer}
.bst-rlightbox .bst-lightbox__stage :is(img,video){display:block;max-width:min(1000px,90vw);max-height:80vh;border-radius:var(--bst-radius-lg);background:#000}
@media (max-width:767px){ .bst-brand-reviews__list{grid-template-columns:1fr} }
/* reviews: WooCommerce's list is in ours (only its form stays); the photos field */
.bst-reviews #comments{display:none}
.bst-compose{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;padding:16px 16px 12px;border:1px solid var(--bst-line);border-radius:var(--bst-radius-lg);background:none} /* the review form as one box, like a chat (owner, 2026-10-19), in the page's colour (owner, 2026-11-03) */
.bst-compose:focus-within{border-color:var(--bst-primary)}
.bst-compose>*{grid-column:1/-1;margin:0}
.bst-compose>.comment-form-author{grid-column:1}
.bst-compose>.comment-form-email{grid-column:2}
.bst-reviews .bst-compose textarea{display:block;width:100%;min-height:52px;padding:0;border:0;border-radius:0;background:none;resize:none;overflow:hidden;font:inherit;font-size:16px;line-height:1.6;outline:0}
.bst-reviews .bst-compose :is(#author,#email){width:100%;padding:8px 14px;border:1px solid var(--bst-line);border-radius:var(--bst-radius-full);background:none;font-size:14px}
.bst-compose__thumbs{display:flex;gap:10px;padding-top:4px}
.bst-compose__thumbs:empty{display:none}
.bst-compose__thumb{position:relative;width:56px;height:56px;margin:0}
.bst-compose__thumb img{display:block;width:100%;height:100%;object-fit:cover;border-radius:var(--bst-radius-sm)}
.bst-compose__thumb button{position:absolute;top:-6px;right:-6px;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:var(--bst-primary);color:var(--bst-text-inverse);font-size:14px;line-height:22px;cursor:pointer}
.bst-compose__bar{display:flex;align-items:center;gap:8px;padding-top:10px;border-top:1px solid var(--bst-line)}
.bst-compose__bar .comment-form-rating,.bst-compose__bar .stars{margin:0}
.bst-compose__photo{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;height:44px;border-radius:50%;font-size:26px;color:var(--bst-primary);cursor:pointer}
.bst-compose__photo:is(:hover,:focus-within){background:var(--bst-surface-alt)}
#review_form #respond .bst-compose p{margin:0} /* WooCommerce: 10 px under every #respond paragraph */
#review_form #respond .bst-compose__bar .form-submit{margin:0 0 0 auto}
.bst-reviews #respond .bst-compose input#submit,.bst-reviews #respond .bst-compose input#submit:is(:hover,:focus){padding:10px 22px} /* hover too: the form's 14 px hover padding grew the button */
.bst-compose__hint{margin:8px 0 0;color:var(--bst-text-secondary);font-size:13px}
.bst-producer__label{margin:12px 0 4px!important;font-weight:500}
.bst-producer dl{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:0 0 8px}
.bst-producer dt{color:var(--bst-text-secondary)}.bst-producer dd{margin:0}
