/* Match Woo's native loop selector so Shop cards use the shared button. */
.bp-button, .bp-icon-button, .woocommerce ul.products li.product .bp-product-card__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-block-size: var(--bp-control-height);
  border: 1px solid transparent;
  text-decoration: none;
  font-size: var(--bp-type-label);
  font-weight: 600;
  line-height: 1.35;
  transition: background-color var(--bp-duration-base), color var(--bp-duration-base), border-color var(--bp-duration-base), box-shadow var(--bp-duration-base), transform var(--bp-duration-base) var(--bp-ease);
}
.bp-button { max-inline-size: 100%; padding: var(--bp-control-padding) var(--bp-space-6); border-radius: var(--bp-radius-pill); white-space: normal; overflow-wrap: anywhere; }
.bp-button--primary, .woocommerce ul.products li.product .bp-product-card__cart.bp-button--primary { color: var(--bp-cream); border-color: var(--bp-champagne); background: linear-gradient(135deg, var(--bp-purple-deep), var(--bp-aubergine)); box-shadow: var(--bp-primary-inset), var(--bp-shadow-sm); }
.bp-button--secondary { color: var(--bp-aubergine); background: transparent; border-color: var(--bp-champagne); }
.bp-button--gold { color: var(--bp-aubergine); border-color: var(--bp-champagne); background: linear-gradient(110deg, var(--bp-gold-light), var(--bp-gold-end)); }
.bp-button--text { padding-inline: 0; border-radius: 0; min-block-size: 2.75rem; background: transparent; color: var(--bp-aubergine); }
.bp-button--wide { inline-size: 100%; }
.bp-button .bp-icon { transition: transform var(--bp-duration-base) var(--bp-ease); }
.bp-button:active:not(:disabled) { transform: translateY(1px); }
.bp-button:disabled, .bp-button[aria-disabled="true"],
.woocommerce ul.products li.product .bp-product-card__cart:is(:disabled, .disabled, [aria-disabled="true"]) { color: var(--bp-disabled-text); background: var(--bp-disabled-bg); border-color: var(--bp-disabled-border); box-shadow: none; }
.bp-button[aria-busy="true"] { cursor: progress; }
.bp-icon-button { inline-size: 3rem; padding: .75rem; flex: 0 0 auto; border-color: var(--bp-border); border-radius: 50%; background: var(--bp-white); color: var(--bp-aubergine); }
.bp-icon-button:disabled { opacity: .38; }
.bp-button:focus-visible, .bp-icon-button:focus-visible { outline: none; box-shadow: var(--bp-focus); }
@media (hover: hover) {
  .bp-button--primary:hover:not(:disabled, .disabled, [aria-disabled="true"]),
  .woocommerce ul.products li.product .bp-product-card__cart.bp-button--primary:hover:not(:disabled, .disabled, [aria-disabled="true"]) { background: linear-gradient(135deg, var(--bp-primary-hover-start), var(--bp-primary-hover-end)); box-shadow: var(--bp-primary-inset-hover), var(--bp-shadow-action); transform: translateY(-2px); }
  .bp-button--secondary:hover { background: var(--bp-accent-tint); }
  .bp-button--gold:hover { box-shadow: var(--bp-shadow-gold); transform: translateY(-2px); }
  .bp-button:hover:not(:disabled) .bp-icon--arrow { transform: translateX(3px); }
  .bp-icon-button:hover:not(:disabled) { background: var(--bp-lavender); border-color: var(--bp-purple); }
}
.bp-field { display: grid; gap: .5rem; inline-size: 100%; }
.bp-field__label { font-size: var(--bp-type-label); font-weight: 600; }
.bp-input-wrap { position: relative; }
.bp-input-wrap > .bp-icon { position: absolute; inset-inline-start: 1rem; inset-block-start: 50%; transform: translateY(-50%); color: var(--bp-text-muted); pointer-events: none; }
.bp-input, .bp-select, .bp-textarea, .woocommerce :is(.input-text, select), .search-field {
  inline-size: 100%; min-block-size: var(--bp-control-height); padding: .8rem 1rem; border: 1px solid var(--bp-border); border-radius: var(--bp-radius-sm); background: var(--bp-input-bg); color: var(--bp-aubergine); font-size: var(--bp-type-input); line-height: 1.4;
  transition: border-color var(--bp-duration-fast), box-shadow var(--bp-duration-fast), background-color var(--bp-duration-fast);
}
.bp-input-wrap .bp-input { padding-inline-start: 3rem; }
.bp-input::placeholder { color: var(--bp-placeholder); opacity: 1; }
.bp-input:focus, .bp-select:focus, .bp-textarea:focus { border-color: var(--bp-purple); outline: none; box-shadow: 0 0 0 3px var(--bp-focus-tint); background: var(--bp-white); }
.bp-input[aria-invalid="true"] { border-color: var(--bp-error); }
.bp-field__help { min-block-size: 1.25rem; font-size: var(--bp-type-caption); color: var(--bp-text-muted); }
.bp-field__error { color: var(--bp-error); }
.bp-size-selector { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; border: 0; }
.bp-size-selector legend { margin-block-end: .75rem; font-size: var(--bp-type-label); font-weight: 600; }
.bp-choice { display: inline-flex; position: relative; cursor: pointer; }
.bp-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; inline-size: 100%; block-size: 100%; }
.bp-choice span { display: inline-flex; justify-content: center; align-items: center; min-inline-size: 5rem; min-block-size: 2.75rem; padding: .6rem 1.1rem; border: 1px solid var(--bp-border); border-radius: var(--bp-radius-pill); color: var(--bp-text-muted); background: var(--bp-white); font-size: var(--bp-type-label); transition: background-color var(--bp-duration-base), color var(--bp-duration-base), border-color var(--bp-duration-base); }
.bp-choice input:checked + span { color: var(--bp-cream); background: var(--bp-aubergine); border-color: var(--bp-champagne); }
.bp-choice input:focus-visible + span { box-shadow: var(--bp-focus); }
.bp-choice input:disabled + span { opacity: .4; cursor: not-allowed; }
.bp-badge { display: inline-flex; align-items: center; gap: .375rem; padding: .35rem .8rem; border: 1px solid var(--bp-gold-border); border-radius: var(--bp-radius-pill); color: var(--bp-aubergine); background: var(--bp-gold-soft); font-size: var(--bp-type-caption); font-weight: 600; line-height: 1.4; }
.bp-badge--quiet { border-color: var(--bp-border); background: var(--bp-white); color: var(--bp-text-muted); }
/* Compact offer cards shared by the homepage and single-product entry points. */
.bp-box-offer { position: relative; display: flex; align-items: center; justify-content: center; gap: var(--bp-space-2); min-inline-size: 0; max-inline-size: 100%; padding: var(--bp-space-2); margin: 0; background: var(--bp-white); color: var(--bp-aubergine); border: 1px solid var(--bp-border); border-radius: var(--bp-radius-md); line-height: var(--bp-control-leading); text-align: start; text-decoration: none; }
.bp-box-offer[aria-pressed="true"] { border-color: var(--bp-champagne); background: linear-gradient(135deg,var(--bp-purple-deep),var(--bp-aubergine)); color: var(--bp-cream); box-shadow: var(--bp-primary-inset); }
.bp-box-offer > .bp-icon { inline-size: var(--bp-space-5); block-size: var(--bp-space-5); flex: 0 0 auto; }
.bp-box-offer__copy { display: flex; flex-direction: column; min-inline-size: 0; overflow-wrap: anywhere; }
.bp-box-offer__copy > strong { font-size: var(--bp-type-label); }
.bp-box-offer__amounts { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--bp-space-1); }
.bp-box-offer__amounts b { font-size: var(--bp-type-price); }
.bp-box-offer__amounts del, .bp-box-offer__amounts small { font-size: var(--bp-type-caption); }
.bp-box-offer__amounts del { opacity: .75; }
.bp-box-offer__best { position: absolute; inset-block-start: 0; inset-inline-start: 50%; transform: translate(-50%,-50%); white-space: nowrap; padding: 0 var(--bp-space-2); font-size: var(--bp-why-featured-size); }
.bp-box-offer__saving { align-self: flex-start; padding: 0 var(--bp-space-2); font-size: var(--bp-type-caption); }
.bp-card { border: 1px solid var(--bp-border); border-radius: var(--bp-radius-md); background: var(--bp-white); box-shadow: var(--bp-shadow-sm); }
.bp-card__body { padding: clamp(1.25rem, 3vw, 2rem); }
.bp-product-card {
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-radius-sm);
  background: var(--bp-cream);
  box-shadow: var(--bp-shadow-sm);
}
.bp-product-card__visual {
  position: relative;
  aspect-ratio: var(--bp-product-card-ratio, 1);
  max-block-size: var(--bp-product-card-image-max);
  overflow: clip;
  border-start-start-radius: inherit;
  border-start-end-radius: inherit;
  background: var(--bp-product-photo-backdrop);
}
.bp-product-card__image { position: absolute; inset: var(--bp-product-card-padding, var(--bp-space-2)); }
.bp-product-card__image img,
.woocommerce ul.products li.product a.bp-product-card__image img { display: block; inline-size: 100%; block-size: 100%; margin: 0; object-fit: contain; }
.bp-review-star,
.star-rating,
.woocommerce p.stars a::before,
.wc-block-grid__product-rating__stars,
.wc-block-product-review-rating__stars,
.wc-block-components-product-rating__stars,
.wc-block-components-product-rating-stars__stars,
body .wc-block-components-review-list-item__rating > .wc-block-components-review-list-item__rating__stars span::before {
  color: var(--bp-gold-end);
}
.bp-review-star { fill: currentColor; }
.bp-product-card__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bp-space-1);
  font: 400 var(--bp-type-caption)/var(--bp-leading-card) var(--bp-font-body);
}
.bp-product-card__score, .bp-product-card__review-count { display: inline-flex; align-items: center; gap: var(--bp-space-1); }
.bp-product-card__score { font-weight: 600; }
.bp-product-card__score .bp-icon { inline-size: 1em; block-size: 1em; flex: none; }
.bp-product-card__review-count { padding-inline-start: var(--bp-space-1); border-inline-start: 1px solid var(--bp-mauve); color: var(--bp-text-muted); }
.bp-review-badge { inline-size: 1em; block-size: 1em; flex: none; }
.bp-product-card__body { display: flex; flex: 1; flex-direction: column; min-inline-size: 0; gap: var(--bp-space-1); padding: var(--bp-product-card-padding, var(--bp-space-2)); }
.bp-product-card__name { margin: 0; font: var(--bp-weight-card) var(--bp-type-card)/var(--bp-leading-card) var(--bp-font-body); overflow-wrap: anywhere; }
.bp-product-card__name a { text-decoration: none; }
.bp-product-card__description, .bp-product-card__size-label { color: var(--bp-text-muted); font-size: var(--bp-type-caption); }
.bp-product-card__description { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-product-card__description,
.bp-showcase__description,
.bp-pdp__inspiration,
.woocommerce-product-details__short-description,
.wc-block-components-product-summary { font-style: italic; }
.bp-product-card__sizes { display: flex; flex-wrap: wrap; gap: var(--bp-space-1); }
.bp-product-card__size {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: var(--bp-product-card-size-height);
  min-inline-size: var(--bp-product-card-control-height);
  padding: 0 var(--bp-space-2);
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-radius-sm);
  font-size: var(--bp-type-caption);
  line-height: var(--bp-leading-card);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.bp-product-card__size:is([aria-current], [aria-pressed="true"]) { border-color: var(--bp-aubergine); background: var(--bp-lavender); font-weight: 600; }
.bp-product-card__size[aria-disabled] { color: var(--bp-disabled-text); background: var(--bp-disabled-bg); text-decoration: line-through; }
.bp-product-card__purchase { display: grid; gap: var(--bp-space-1); margin-block-start: auto; }
.bp-product-card__price { font-size: var(--bp-type-price); font-weight: 700; overflow-wrap: anywhere; }
.bp-product-card__price del { color: var(--bp-text-muted); font-weight: 400; }
.bp-product-card__price ins { text-decoration: none; }
.bp-product-card__action { display: grid; gap: var(--bp-space-1); }
.bp-product-card__action form { margin: 0; }
.bp-product-card .bp-product-card__cart,
.woocommerce ul.products li.product .bp-product-card__cart { inline-size: 100%; min-block-size: var(--bp-product-card-control-height); margin: 0; padding: var(--bp-space-1) var(--bp-space-2); border-radius: var(--bp-radius-sm); gap: var(--bp-space-1); text-align: center; }
.bp-product-card__cart .bp-icon { inline-size: var(--bp-space-4); block-size: var(--bp-space-4); flex: none; }
.bp-product-card .bp-product-card__action .added_to_cart { justify-content: center; margin-inline-start: 0; }
@media (hover: hover) {
  .bp-product-card__size:not([aria-disabled]):hover { border-color: var(--bp-champagne); background: var(--bp-lavender); }
  .bp-product-card__name a:hover { text-decoration: underline; text-underline-offset: var(--bp-nav-underline-offset); }
}
.bp-divider { inline-size: 3rem; block-size: 1px; border: 0; background: var(--bp-champagne); margin: 0; }
.bp-motif { display: block; inline-size: 9rem; aspect-ratio: var(--bp-motif-ratio, 1); color: var(--bp-motif-color); background-color: currentColor; opacity: var(--bp-motif-opacity); -webkit-mask-image: var(--bp-motif-image); mask-image: var(--bp-motif-image); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; pointer-events: none; flex: 0 0 auto; }
.bp-motif--corner { position: absolute; z-index: 0; inline-size: clamp(8rem, 17vw, 16rem); }
.bp-motif--top-left { inset-block-start: 1.5rem; inset-inline-start: -3rem; transform: rotate(24deg); }
.bp-motif--top-right { inset-block-start: 1rem; inset-inline-end: -2rem; transform: rotate(-24deg); }
.bp-motif--bottom-left { inset-block-end: 1rem; inset-inline-start: -2.5rem; transform: rotate(22deg); }
.bp-motif--bottom-right { inset-block-end: 1rem; inset-inline-end: -2.5rem; transform: rotate(-22deg); }
.bp-motif--small { inline-size: clamp(5rem, 9vw, 9rem); }
.bp-accordion { border-block-end: 1px solid var(--bp-border); }
.bp-accordion summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-block-size: 4rem; padding-block: 1rem; cursor: pointer; font-size: var(--bp-type-label); font-weight: 600; }
.bp-accordion summary::-webkit-details-marker { display: none; }
.bp-accordion summary .bp-icon { transition: transform var(--bp-duration-base) var(--bp-ease); }
.bp-accordion[open] summary .bp-icon { transform: rotate(180deg); }
.bp-accordion__body { padding-block-end: 1.5rem; color: var(--bp-text-muted); font-size: var(--bp-type-ui); }
.bp-dialog { inline-size: min(34rem, calc(100% - 2rem)); max-block-size: calc(100dvh - 3rem); padding: clamp(1.5rem, 5vw, 3rem); margin: auto; border: 1px solid var(--bp-champagne); border-radius: var(--bp-radius-lg); background: var(--bp-cream); color: var(--bp-aubergine); box-shadow: var(--bp-shadow-float); overscroll-behavior: contain; }
.bp-dialog::backdrop { background: rgb(30 14 40 / .48); backdrop-filter: blur(5px); }
.bp-dialog__close { position: absolute; inset-block-start: 1rem; inset-inline-end: 1rem; }
.bp-dialog .bp-heading { padding-inline-end: 1rem; }
.bp-toast { position: fixed; inset-inline: 1rem; inset-block-end: max(1.5rem, env(safe-area-inset-bottom)); z-index: var(--bp-z-toast); display: flex; align-items: center; gap: .75rem; inline-size: fit-content; max-inline-size: calc(100% - 2rem); margin-inline: auto; padding: 1rem 1.25rem; border: 1px solid var(--bp-champagne); border-radius: var(--bp-radius-md); background: var(--bp-aubergine); color: var(--bp-cream); box-shadow: var(--bp-shadow-md); font-size: var(--bp-type-ui); overflow-wrap: anywhere; }
.bp-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .25rem; padding: .5rem; border: 1px solid var(--bp-border); border-radius: var(--bp-radius-md); background: var(--bp-white); }
.bp-tabs__tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .375rem; min-inline-size: 0; min-block-size: 4rem; padding: .5rem .25rem; border: 0; border-radius: var(--bp-radius-sm); color: var(--bp-text-muted); background: transparent; font-size: var(--bp-type-caption); line-height: 1.4; transition: background-color var(--bp-duration-base), color var(--bp-duration-base); }
.bp-tabs__tab[aria-selected="true"] { color: var(--bp-aubergine); background: var(--bp-lavender); }
.bp-tabs__tab .bp-icon { inline-size: 1.4rem; block-size: 1.4rem; }
@media (max-width: 35rem) { .bp-motif--corner { inline-size: 7rem; --bp-motif-opacity: .46; } .bp-motif--small { inline-size: 4.75rem; } .bp-surface-lavender .bp-motif--corner { --bp-motif-opacity: .98; } }
