/**
 * Single Product Page Styles - Bare Biology
 *
 * Full product page matching barebiology.com reference design.
 * Uses Kahunam framework as base.
 */


/* ==========================================================================
   STAR RATING COMPONENT
   ========================================================================== */

.bb-stars {
	position: relative;
	display: inline-block;
	font-size: 1rem;
	line-height: 1;
	color: #ddd;
	white-space: nowrap;
}

.bb-stars__empty {
	letter-spacing: 0.1em;
}

.bb-stars__filled {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	white-space: nowrap;
	color: var(--bb-gold);
	letter-spacing: 0.1em;
}


/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */

.bb-section-heading {
	font-family: var(--k-font-heading);
	font-size: clamp(1.5rem, 3vw, 2rem);
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--bb-text-dark);
	margin: 0 0 var(--k-space-6) 0;
}

.bb-section-heading--left {
	text-align: left;
}


/* ==========================================================================
   PRODUCT HERO GRID
   ========================================================================== */

.bb-product-hero__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--k-gap-5);
}

.bb-product-hero__grid > * {
	min-width: 0;
}

@media (min-width: 768px) {
	.bb-product-hero__grid {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
}

@media (min-width: 992px) {
	.bb-product-hero__grid {
		grid-template-columns: 1fr 1fr;
		gap: var(--k-section-sm);
	}
}


/* ==========================================================================
   PRODUCT GALLERY
   ========================================================================== */

.bb-product-gallery__main {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--bb-cream);
	border-radius: var(--k-border-radius-md);
	margin-bottom: var(--k-space-3);
}

.bb-product-gallery__image {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Gallery navigation arrows */
.bb-gallery-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid var(--bb-border);
	border-radius: 50%;
	color: var(--bb-text-dark);
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.bb-gallery-arrow:hover {
	background: rgba(0, 0, 0, 0.08);
}

.bb-gallery-arrow--prev {
	left: 10px;
}

.bb-gallery-arrow--next {
	right: 10px;
}

.bb-product-gallery__thumbs {
	display: flex;
	gap: var(--k-space-2);
	overflow-x: auto;
	padding-bottom: var(--k-space-3);
	scrollbar-width: thin;
	scrollbar-color: var(--bb-border) transparent;
}

.bb-product-gallery__thumbs::-webkit-scrollbar {
	height: 4px;
}

.bb-product-gallery__thumbs::-webkit-scrollbar-track {
	background: transparent;
}

.bb-product-gallery__thumbs::-webkit-scrollbar-thumb {
	background: var(--bb-border);
	border-radius: 4px;
}

.bb-product-gallery__thumbs::-webkit-scrollbar-thumb:hover {
	background: var(--bb-text-muted);
}

.bb-product-gallery__thumb {
	flex-shrink: 0;
	width: 70px;
	height: 70px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: var(--k-border-radius);
	background: var(--bb-cream);
	cursor: pointer;
	overflow: hidden;
	transition: border-color var(--k-transition-base);
}

.bb-product-gallery__thumb:hover {
	border-color: var(--bb-border);
}

.bb-product-gallery__thumb.is-active {
	border-color: var(--bb-text-dark);
}

.bb-product-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}


/* ==========================================================================
   TRUST CARDS (2x2 grid below gallery)
   ========================================================================== */

.bb-trust-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--k-space-3);
	margin-top: var(--k-space-5);
}

@media (max-width: 479px) {
	.bb-trust-cards {
		grid-template-columns: 1fr;
	}
}

.bb-trust-card {
	border: 1px solid var(--bb-border);
	border-radius: var(--k-border-radius-md);
	padding: var(--k-space-4);
	overflow: hidden;
}

.bb-trust-card__heading {
	font-family: var(--k-font-heading);
	font-size: 0.8rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--bb-text-dark);
	margin: 0 0 var(--k-space-3) 0;
}

.bb-trust-card__text {
	font-size: 0.85rem;
	color: var(--bb-text-body);
	line-height: 1.5;
	margin: 0;
}

.bb-trust-card__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.bb-trust-card__list li {
	font-size: 0.85rem;
	color: #fff;
	line-height: 1.6;
}

.bb-trust-card__list li strong {
	font-weight: 600;
}

/* Stats card (teal background) */
.bb-trust-card--stats {
	background: var(--bb-teal);
	color: #fff;
	border-color: var(--bb-teal);
}

.bb-trust-card--stats .bb-trust-card__heading {
	color: #fff;
}

/* Customers card */
.bb-trust-card--customers .bb-trust-card__rating {
	margin-top: var(--k-space-2);
}

.bb-trust-card--customers .bb-trust-card__count {
	display: block;
	font-size: 0.75rem;
	color: var(--bb-text-muted);
	margin-top: 0.25rem;
}

/* Tested card */
.bb-trust-card--tested {
	background: var(--bb-cream);
	border-color: var(--bb-cream);
}

/* Power card */
.bb-trust-card--power {
	background: var(--bb-cream);
	border-color: var(--bb-cream);
	display: flex;
	align-items: flex-end;
	min-height: 160px;
}


/* ==========================================================================
   PRODUCT INFO (right column)
   ========================================================================== */

.bb-product-info {
	position: relative;
}

@media (min-width: 768px) {
	.bb-product-info {
		position: sticky;
		top: var(--k-space-5);
	}
}

/* Category */
.bb-product-info__category {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bb-text-body);
	text-decoration: none;
	margin-bottom: 0.5rem;
}

.bb-product-info__category:hover {
	color: var(--bb-teal);
}

.bb-product-info__category::before {
	content: "\2022";
	margin-right: 0.5rem;
	color: var(--bb-teal);
}

/* Rating */
.bb-product-info__rating {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.bb-product-info__rating-count {
	font-size: 0.85rem;
	color: var(--bb-text-body);
	text-decoration: none;
}

.bb-product-info__rating-count:hover {
	color: var(--bb-teal);
}

/* Title */
.bb-product-info__title {
	font-family: var(--k-font-body);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-style: italic;
	font-weight: 400;
	line-height: 1.2;
	color: var(--bb-text-body);
	margin: 0 0 1rem 0;
}

/* Short description */
.bb-product-info__short-desc {
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--bb-text-body);
	margin-bottom: 1.5rem;
}

.bb-product-info__short-desc p:last-child {
	margin-bottom: 0;
}


/* ==========================================================================
   ADD TO CART FORM
   ========================================================================== */

.bb-product-info__cart {
	margin-top: 1rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--bb-border);
	margin-bottom: 1.5rem;
}

/* Price */
.bb-product-info__cart .price {
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--bb-text-dark);
	margin-bottom: 1rem;
}

.bb-product-info__cart .price del {
	color: var(--bb-text-body);
	font-size: 0.9em;
	font-weight: 400;
}

.bb-product-info__cart .price ins {
	text-decoration: none;
	color: var(--bb-orange);
}

/* Variations table — label stacked above field */
.bb-product-info__cart .variations {
	border: none;
	border-collapse: collapse;
	margin-bottom: 0;
	width: 100%;
}

.bb-product-info__cart .variations tr {
	display: flex;
	flex-direction: column;
	margin-bottom: 0.75rem;
}

.bb-product-info__cart .variations td,
.bb-product-info__cart .variations th {
	border: none;
	display: block;
	padding: 0;
	text-align: left;
}

.bb-product-info__cart .variations th {
	margin-bottom: 0.4rem;
}

.bb-product-info__cart .variations th label {
	color: var(--bb-text-dark);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.bb-product-info__cart .variations td select {
	width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--bb-border);
	border-radius: var(--k-border-radius);
	font-size: 0.95rem;
	font-family: var(--k-font-body);
	background-color: #fff;
	color: var(--bb-text-dark);
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	cursor: pointer;
}

/* Cart row (qty + button) */
.bb-product-info__cart .cart,
.bb-product-info__cart form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: stretch;
}

/* WooCommerce variation form overrides */
.bb-product-info__cart .variations_form .single_variation_wrap {
	width: 100%;
}

.bb-product-info__cart .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: stretch;
	width: 100%;
}

/* Quantity +/- selector */
.bb-product-info__cart .quantity {
	align-items: center;
	border: 1px solid var(--bb-border);
	border-radius: 6px;
	display: inline-flex;
	overflow: hidden;
}

.bb-product-info__cart .quantity .bb-qty-btn {
	align-items: center;
	background: none;
	border: none;
	color: var(--bb-text-dark);
	cursor: pointer;
	display: flex;
	font-size: 1.1rem;
	height: 48px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	transition: background-color 0.15s ease, color 0.15s ease;
	user-select: none;
	width: 40px;
}

.bb-product-info__cart .quantity .bb-qty-btn:hover {
	background-color: var(--bb-cream, #f5f0eb);
}

.bb-product-info__cart .quantity .bb-qty-btn:active {
	background-color: #e8e2db;
}

.bb-product-info__cart .quantity .qty {
	background-color: #faf8f5;
	border: none;
	border-left: 1px solid var(--bb-border, #e0e0e0);
	border-right: 1px solid var(--bb-border, #e0e0e0);
	color: var(--bb-text-dark);
	font-family: var(--k-font-body);
	font-size: 1rem;
	font-weight: 500;
	height: 48px;
	-moz-appearance: textfield;
	text-align: center;
	width: 48px;
}

.bb-product-info__cart .quantity .qty::-webkit-outer-spin-button,
.bb-product-info__cart .quantity .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Add to cart button — high specificity to override GP + WooCommerce defaults */
.bb-single-product .bb-product-info__cart .single_add_to_cart_button,
.bb-single-product .bb-product-info__cart button.single_add_to_cart_button,
.woocommerce .bb-single-product button.button.alt,
.woocommerce .bb-single-product .bb-product-info__cart button.button {
	flex: 1;
	min-width: 200px;
	padding: 0.75rem 1.5rem;
	background: var(--bb-teal) !important;
	color: #fff !important;
	border: none;
	border-radius: var(--k-border-radius);
	font-size: 1rem;
	font-weight: 500;
	font-family: var(--k-font-heading);
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background-color var(--k-transition-base);
}

.bb-single-product .bb-product-info__cart .single_add_to_cart_button:hover,
.bb-single-product .bb-product-info__cart button.single_add_to_cart_button:hover,
.woocommerce .bb-single-product button.button.alt:hover,
.woocommerce .bb-single-product .bb-product-info__cart button.button:hover {
	background: var(--bb-teal-dark) !important;
	color: #fff !important;
}

/* Variations table full width */
.bb-product-info__cart .variations_form {
	width: 100%;
}

/* Variable product reset */
.bb-product-info__cart .reset_variations {
	font-size: 0.8rem;
	color: var(--bb-text-body);
	text-decoration: underline;
}

.bb-product-info__cart .woocommerce-variation-price .price {
	font-size: 1.25rem;
	margin-bottom: 1rem;
}


/* ==========================================================================
   PRODUCT INFO ACCORDIONS
   ========================================================================== */

.bb-accordions {
	margin-top: 0;
}

.bb-accordion {
	border-bottom: 1px solid var(--bb-border);
}

.bb-accordion__heading {
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	margin: 0;
	padding: 0;
}

.bb-accordion__trigger,
.bb-accordion__trigger:hover,
.bb-accordion__trigger:focus,
.bb-accordion__trigger:active {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 1rem 0;
	background: none;
	border: none;
	box-shadow: none;
	cursor: pointer;
	text-align: left;
	font-family: var(--k-font-heading);
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--bb-text-dark);
}

.bb-accordion__trigger:hover {
	background: none;
	color: var(--bb-text-dark);
}

.bb-accordion__chevron {
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.bb-accordion__trigger[aria-expanded="true"] .bb-accordion__chevron {
	transform: rotate(90deg);
}

.bb-accordion__content {
	display: none;
	padding: 0 0 1.25rem 0;
	font-size: 0.9rem;
	line-height: 1.7;
	color: var(--bb-text-body);
}

.bb-accordion__content.is-open {
	display: block;
}

.bb-accordion__content p:last-child {
	margin-bottom: 0;
}

.bb-accordion__content ul {
	padding-left: 1.25rem;
	margin: 0;
}

.bb-accordion__content li {
	margin-bottom: 0.5rem;
}

.bb-accordion__attributes {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.5rem 1rem;
	margin: 0;
}

.bb-accordion__attributes dt {
	font-weight: 500;
	color: var(--bb-text-dark);
}

.bb-accordion__attributes dd {
	margin: 0;
	color: var(--bb-text-body);
}


/* ==========================================================================
   CROSS-SELLS
   ========================================================================== */

.bb-cross-sells {
	border-top: 1px solid var(--bb-border);
}

.bb-cross-sells__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
	gap: var(--k-gap-4);
	max-width: 900px;
	margin: 0 auto;
}

.bb-cross-sell-card {
	text-align: center;
}

.bb-cross-sell-card__link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.bb-cross-sell-card__image {
	aspect-ratio: 1 / 1;
	background: var(--bb-cream);
	border-radius: var(--k-border-radius-md);
	overflow: hidden;
	margin-bottom: var(--k-space-3);
}

.bb-cross-sell-card__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.bb-cross-sell-card__title {
	font-family: var(--k-font-body);
	font-size: 0.95rem;
	font-weight: 400;
	color: var(--bb-text-dark);
	margin: 0 0 0.5rem 0;
}

.bb-cross-sell-card__price {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--bb-text-body);
}


/* ==========================================================================
   PRODUCT FEATURES ("Why X is Different")
   ========================================================================== */

.bb-features__grid {
	display: grid;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.bb-features__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.bb-features__content {
	padding: clamp(2rem, 5vw, 3.5rem);
}

.bb-features__heading {
	font-family: var(--k-font-heading);
	font-size: clamp(1.3rem, 2.5vw, 1.75rem);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 var(--k-space-6) 0;
}

/* Numbered list */
.bb-features__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.bb-features__list--numbered {
	counter-reset: features;
}

.bb-features__list--numbered .bb-features__item {
	counter-increment: features;
}

.bb-features__list--numbered .bb-features__item-heading::before {
	content: counter(features) ".";
	margin-right: 0.5em;
	font-weight: 600;
}

/* Bullet list */
.bb-features__list--bullet .bb-features__item-heading::before {
	content: "\2022";
	margin-right: 0.5em;
}

/* Feature items */
.bb-features__item {
	margin-bottom: var(--k-space-5);
}

.bb-features__item:last-child {
	margin-bottom: 0;
}

.bb-features__item-heading {
	font-family: var(--k-font-heading);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 0.75rem 0;
}

.bb-features__item-body {
	font-size: 0.9rem;
	line-height: 1.7;
	opacity: 0.9;
}

.bb-features__item-body p {
	margin: 0 0 0.75rem 0;
}

.bb-features__item-body p:last-child {
	margin-bottom: 0;
}

.bb-features__item-body a {
	color: inherit;
	text-decoration: underline;
}

.bb-features__item-body ul,
.bb-features__item-body ol {
	margin: 0.5em 0;
	padding-left: 1.5em;
}

.bb-features__item-body li {
	margin-bottom: 0.25em;
}

/* Image column */
.bb-features__image {
	overflow: hidden;
	height: 100%;
	min-height: 400px;
}

.bb-features__image .bb-features__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}


/* ==========================================================================
   REVIEWS
   ========================================================================== */

.bb-reviews {
	border-top: 1px solid var(--bb-border);
}

/* Controls — breakdown + sort side by side */
.bb-reviews__controls {
	display: flex;
	align-items: flex-start;
	gap: var(--k-space-5);
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: var(--k-space-6);
}

/* Rating Breakdown */
.bb-reviews__breakdown {
	display: flex;
	gap: var(--k-space-5);
	align-items: flex-start;
	flex-wrap: wrap;
}

.bb-reviews__average {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

.bb-reviews__average .bb-stars {
	font-size: 1.2rem;
}

.bb-reviews__average-num {
	color: var(--bb-text-dark);
	font-size: 1.5rem;
	font-weight: 500;
}

.bb-reviews__bars {
	flex: 1;
	max-width: 360px;
	min-width: 200px;
}

.bb-reviews__bar-row {
	align-items: center;
	border-radius: 4px;
	cursor: pointer;
	display: flex;
	gap: 0.5rem;
	margin-bottom: 0.35rem;
	padding: 0.15rem 0.25rem;
	transition: background-color 0.15s ease;
}

.bb-reviews__bar-row:hover {
	background-color: var(--bb-cream);
}

.bb-reviews__bar-row.is-active {
	background-color: var(--bb-cream);
	outline: 1px solid var(--bb-border);
}

.bb-reviews__bar-label {
	color: var(--bb-text-body);
	font-size: 0.8rem;
	min-width: 2.5rem;
	text-align: right;
}

.bb-reviews__bar-track {
	background: var(--bb-cream);
	border-radius: 4px;
	flex: 1;
	height: 8px;
	overflow: hidden;
}

.bb-reviews__bar-row.is-active .bb-reviews__bar-track {
	background: #e8e3de;
}

.bb-reviews__bar-fill {
	background: var(--bb-gold);
	border-radius: 4px;
	height: 100%;
	transition: width 0.3s ease;
}

.bb-reviews__bar-count {
	color: var(--bb-text-muted);
	font-size: 0.8rem;
	min-width: 2rem;
}

/* Sort */
.bb-reviews__sort-wrap {
	flex-shrink: 0;
}

.bb-reviews__sort {
	appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23595955'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
	border: 1px solid var(--bb-border);
	border-radius: var(--k-border-radius-md, 6px);
	color: var(--bb-text-body);
	cursor: pointer;
	font-family: var(--k-font-body);
	font-size: 0.85rem;
	padding: 0.5rem 2rem 0.5rem 0.75rem;
}

.bb-reviews__sort:focus-visible {
	border-color: var(--bb-teal);
	outline: 2px solid rgba(91, 154, 150, 0.3);
	outline-offset: 1px;
}

/* Review Cards */
.bb-reviews__cards {
	display: grid;
	gap: var(--k-gap-4);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.bb-review-card {
	border: 1px solid var(--bb-border);
	border-radius: var(--k-border-radius-md);
	padding: var(--k-space-4);
}

.bb-review-card__header {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.bb-review-card__author {
	color: var(--bb-text-dark);
	font-family: var(--k-font-heading);
	font-size: 0.85rem;
	font-weight: 500;
}

.bb-review-card__verified {
	background: rgba(91, 154, 150, 0.1);
	border-radius: 3px;
	color: var(--bb-teal);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	padding: 0.15rem 0.5rem;
	text-transform: uppercase;
}

.bb-review-card__date {
	color: var(--bb-text-muted);
	font-size: 0.75rem;
	margin-left: auto;
}

.bb-review-card .bb-stars {
	display: block;
	font-size: 0.85rem;
	margin-bottom: 0.5rem;
	width: max-content;
}

.bb-review-card__title {
	color: var(--bb-text-dark);
	font-size: 0.9rem;
	line-height: 1.4;
	margin: 0 0 0.35rem 0;
}

.bb-review-card__text {
	color: var(--bb-text-body);
	font-size: 0.85rem;
	line-height: 1.6;
	margin: 0;
}

.bb-review-card__read-more {
	background: none;
	border: none;
	color: var(--bb-teal);
	cursor: pointer;
	font-size: 0.8rem;
	margin-top: 0.35rem;
	padding: 0;
}

.bb-review-card__read-more:hover {
	color: var(--bb-teal-dark);
}

/* Footer — counter + load more */
.bb-reviews__footer {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: var(--k-space-3);
	margin-top: var(--k-space-6);
}

.bb-reviews__counter {
	color: var(--bb-text-muted);
	font-size: 0.8rem;
}

.bb-reviews__load-more {
	min-width: 200px;
}

.bb-reviews__load-more.is-loading .bb-reviews__load-more-text::after {
	animation: bb-dots 1.2s steps(4, end) infinite;
	content: '';
	display: inline-block;
	width: 1.25em;
}

@keyframes bb-dots {
	0%  { content: ''; }
	25% { content: '.'; }
	50% { content: '..'; }
	75% { content: '...'; }
}

/* ── Mobile ── */
@media (max-width: 600px) {
	.bb-reviews__controls {
		flex-direction: column;
	}

	.bb-reviews__bars {
		max-width: 100%;
	}

	.bb-reviews__sort-wrap {
		width: 100%;
	}

	.bb-reviews__sort {
		width: 100%;
	}

	.bb-review-card__date {
		margin-left: 0;
		width: 100%;
	}
}


/* ==========================================================================
   FAQS
   ========================================================================== */

.bb-faqs {
	border-top: 1px solid var(--bb-border);
}

.bb-faq-list {
	margin: 0;
}

.bb-faq {
	border-bottom: 1px solid var(--bb-border);
}

.bb-faq__heading {
	margin: 0;
}

.bb-faq__trigger,
.bb-faq__trigger:hover,
.bb-faq__trigger:focus,
.bb-faq__trigger:active {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 1.25rem 0;
	background: none;
	border: none;
	box-shadow: none;
	cursor: pointer;
	text-align: left;
	font-family: var(--k-font-heading);
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--bb-text-dark);
	gap: 1rem;
}

.bb-faq__trigger:hover {
	background: none;
	color: var(--bb-text-dark);
}

.bb-faq__icon {
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.bb-faq__trigger[aria-expanded="true"] .bb-faq__icon {
	transform: rotate(45deg);
}

.bb-faq__content {
	display: none;
	padding: 0 0 1.25rem 0;
	font-size: 0.9rem;
	line-height: 1.7;
	color: var(--bb-text-body);
}

.bb-faq__content.is-open {
	display: block;
}

.bb-faq__content p {
	margin: 0;
}

.bb-faq__content p + p {
	margin-top: 0.75em;
}

.bb-faq__content ul,
.bb-faq__content ol {
	margin: 0.5em 0;
	padding-left: 1.5em;
}

.bb-faq__content li {
	margin-bottom: 0.25em;
}

.bb-faq__content a {
	color: var(--bb-teal);
	text-decoration: underline;
}

.bb-faq__content a:hover {
	color: var(--bb-teal-dark);
}


/* ==========================================================================
   BLOG CTA
   ========================================================================== */

.bb-blog-cta {
	position: relative;
	background-size: cover;
	background-position: center;
	background-color: var(--bb-text-dark);
	min-height: 400px;
	display: flex;
	align-items: center;
}

.bb-blog-cta__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	display: flex;
	align-items: center;
	width: 100%;
}

.bb-blog-cta__content {
	max-width: 540px;
	padding: var(--k-space-6) 0;
}

.bb-blog-cta__title {
	font-family: var(--k-font-heading);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	color: #fff;
	line-height: 1.2;
	margin: 0 0 var(--k-space-3) 0;
}

.bb-blog-cta__excerpt {
	font-size: 0.9rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.8);
	margin: 0 0 var(--k-space-4) 0;
}

.bb-blog-cta__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--k-font-heading);
	font-size: 0.85rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	padding-bottom: 0.15rem;
	transition: border-color var(--k-transition-base);
}

.bb-blog-cta__link:hover {
	border-color: #fff;
	color: rgba(255, 255, 255, 0.9);
}


/* ==========================================================================
   BRAND TAGLINE
   ========================================================================== */

.bb-tagline {
	background: var(--bb-teal);
	padding: var(--k-space-6) 0;
}

.bb-tagline__text {
	font-family: var(--k-font-heading);
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-align: center;
	color: #fff;
	margin: 0;
}


/* ==========================================================================
   STICKY ADD-TO-CART BAR
   ========================================================================== */

.bb-sticky-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: #fff;
	border-top: 1px solid var(--bb-border);
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.bb-sticky-bar.is-visible {
	transform: translateY(0);
}

.bb-sticky-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 0;
}

.bb-sticky-bar__info {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	overflow: hidden;
	min-width: 0;
	font-size: 0.85rem;
}

.bb-sticky-bar__name {
	font-family: var(--k-font-heading);
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--bb-text-dark);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bb-sticky-bar__sep {
	color: var(--bb-text-muted);
	flex-shrink: 0;
}

.bb-sticky-bar__price {
	font-weight: 500;
	color: var(--bb-text-dark);
	white-space: nowrap;
	flex-shrink: 0;
}

.bb-sticky-bar__btn {
	flex-shrink: 0;
	padding: 0.6rem 1.5rem;
	background: transparent;
	color: var(--bb-gold, #d4a853);
	border: 2px solid var(--bb-gold, #d4a853);
	border-radius: 300px;
	font-family: var(--k-font-body);
	font-size: 0.95rem;
	font-style: italic;
	font-weight: 500;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background-color var(--k-transition-base);
	white-space: nowrap;
}

.bb-sticky-bar__btn:hover {
	background: rgba(212, 168, 83, 0.08);
	border-color: var(--bb-gold, #d4a853);
	color: var(--bb-gold, #d4a853);
}

.bb-sticky-bar__btn.is-adding {
	opacity: 0.7;
	pointer-events: none;
}

.bb-sticky-bar__btn.is-added {
	background: var(--bb-teal, #5b9a96);
	border-color: var(--bb-teal, #5b9a96);
	color: #fff;
}

/* On small screens, hide the product name to save space */
@media (max-width: 550px) {
	.bb-sticky-bar__name {
		display: none;
	}

	.bb-sticky-bar__sep {
		display: none;
	}
}
