/* -------------------------------------------------------------------- */
/* Buttons                                                              */
/* -------------------------------------------------------------------- */
.bpwd-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: linear-gradient(135deg, var(--bpwd-orange), var(--bpwd-red));
	color: #fff;
	font-weight: 700;
	font-family: var(--bpwd-font-display);
	padding: 0.85rem 1.75rem;
	border-radius: 999px;
	border: none;
	box-shadow: var(--bpwd-shadow);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bpwd-cta-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(122, 55, 18, 0.22);
	color: #fff;
}

.bpwd-cta-outline {
	background: transparent;
	color: var(--bpwd-red);
	border: 2px solid var(--bpwd-red);
	box-shadow: none;
}

.bpwd-cta-outline:hover {
	background: var(--bpwd-red);
	color: #fff;
}

.bpwd-whatsapp-order {
	margin-top: 0.75rem;
	background: linear-gradient(135deg, #25d366, #128c4a);
}

/* -------------------------------------------------------------------- */
/* Hero slider                                                          */
/* -------------------------------------------------------------------- */
.bpwd-hero {
	position: relative;
	overflow: hidden;
}

.bpwd-hero-track {
	position: relative;
	min-height: 480px;
}

.bpwd-hero-slide {
	position: relative;
	min-height: 480px;
	display: flex;
	align-items: center;
}

.bpwd-hero-slide[hidden] {
	display: none;
}

.bpwd-hero-media {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--bpwd-orange), var(--bpwd-red-dark));
}

.bpwd-hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bpwd-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(58, 20, 10, 0.72) 0%, rgba(58, 20, 10, 0.45) 55%, rgba(58, 20, 10, 0.2) 100%);
}

.bpwd-hero-content {
	position: relative;
	z-index: 2;
	color: #fff;
	max-width: 640px;
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.bpwd-hero-content h1 {
	color: #fff;
}

.bpwd-hero-desc p {
	color: rgba(255, 255, 255, 0.9);
	font-size: 1.1rem;
	max-width: 50ch;
}

.bpwd-hero-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	background: rgba(255, 255, 255, 0.85);
	color: var(--bpwd-red);
	border: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 1.1rem;
}

.bpwd-hero-arrow:hover {
	background: #fff;
}

.bpwd-hero-prev {
	left: 1rem;
}

.bpwd-hero-next {
	right: 1rem;
}

.bpwd-hero-dots {
	position: absolute;
	bottom: 1.25rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 0.5rem;
}

.bpwd-hero-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	border: none;
	padding: 0;
}

.bpwd-hero-dot.is-active {
	background: #fff;
	width: 26px;
	border-radius: 6px;
}

/* -------------------------------------------------------------------- */
/* Product grid + cards                                                 */
/* -------------------------------------------------------------------- */
.bpwd-product-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.bpwd-product-grid-full {
	grid-template-columns: repeat(4, 1fr);
}

.bpwd-product-card {
	background: var(--bpwd-white);
	border-radius: var(--bpwd-radius);
	overflow: hidden;
	box-shadow: var(--bpwd-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	height: 100%;
}

.bpwd-product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(122, 55, 18, 0.2);
}

.bpwd-product-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.bpwd-product-card-media {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--bpwd-cream-alt);
}

.bpwd-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bpwd-thumb-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	background: linear-gradient(135deg, var(--bpwd-orange), var(--bpwd-red));
	color: #fff;
}

.bpwd-thumb-emoji {
	font-size: 2.5rem;
}

.bpwd-thumb-letter {
	font-family: var(--bpwd-font-display);
	font-weight: 800;
	font-size: 1.5rem;
	opacity: 0.85;
}

.bpwd-badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	background: var(--bpwd-gold);
	color: var(--bpwd-red-dark);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.3rem 0.65rem;
	border-radius: 999px;
}

.bpwd-badge-muted {
	position: static;
	display: inline-block;
	background: var(--bpwd-cream-alt);
	color: var(--bpwd-ink-soft);
}

.bpwd-product-card-body {
	padding: 1.1rem 1.25rem 1.4rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	flex: 1;
}

.bpwd-product-card-category {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--bpwd-orange-dark);
}

.bpwd-product-card-title {
	margin: 0;
	font-size: 1.05rem;
}

.bpwd-product-card-desc {
	color: var(--bpwd-ink-soft);
	font-size: 0.9rem;
	margin: 0;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bpwd-product-card-price {
	font-family: var(--bpwd-font-display);
	font-weight: 700;
	color: var(--bpwd-red);
	margin-top: 0.35rem;
}

/* -------------------------------------------------------------------- */
/* Filter tabs                                                          */
/* -------------------------------------------------------------------- */
.bpwd-filter-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	justify-content: center;
	margin-bottom: 2.5rem;
}

.bpwd-filter-tab {
	padding: 0.55rem 1.25rem;
	border-radius: 999px;
	border: 2px solid var(--bpwd-border);
	font-weight: 600;
	font-size: 0.9rem;
}

.bpwd-filter-tab.is-active,
.bpwd-filter-tab:hover {
	background: var(--bpwd-red);
	border-color: var(--bpwd-red);
	color: #fff;
}

/* -------------------------------------------------------------------- */
/* Testimonials                                                         */
/* -------------------------------------------------------------------- */
.bpwd-testimonial-slide[hidden] {
	display: none;
}

.bpwd-testimonial-card {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
	background: var(--bpwd-white);
	border-radius: var(--bpwd-radius);
	padding: 2.5rem 2rem;
	box-shadow: var(--bpwd-shadow);
}

.bpwd-testimonial-stars {
	color: var(--bpwd-gold);
	font-size: 1.35rem;
	letter-spacing: 0.15em;
}

.bpwd-testimonial-message {
	font-size: 1.15rem;
	font-style: italic;
	color: var(--bpwd-ink);
}

.bpwd-testimonial-author {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	font-weight: 700;
	font-family: var(--bpwd-font-display);
}

.bpwd-testimonial-photo {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.bpwd-testimonial-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	margin-top: 1.5rem;
}

.bpwd-testimonial-controls .bpwd-hero-arrow {
	position: static;
	transform: none;
	background: var(--bpwd-cream-alt);
	color: var(--bpwd-red);
}

/* -------------------------------------------------------------------- */
/* Single product                                                       */
/* -------------------------------------------------------------------- */
.bpwd-product-single-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
}

.bpwd-product-gallery-main {
	border-radius: var(--bpwd-radius);
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: var(--bpwd-cream-alt);
}

.bpwd-product-gallery-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bpwd-product-gallery-thumbs {
	display: flex;
	gap: 0.6rem;
	margin-top: 0.75rem;
	flex-wrap: wrap;
}

.bpwd-gallery-thumb-btn {
	border: 2px solid transparent;
	border-radius: var(--bpwd-radius-sm);
	overflow: hidden;
	padding: 0;
	width: 68px;
	height: 68px;
	background: none;
}

.bpwd-gallery-thumb-btn img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bpwd-gallery-thumb-btn.is-active {
	border-color: var(--bpwd-orange);
}

.bpwd-product-price {
	font-family: var(--bpwd-font-display);
	font-weight: 800;
	font-size: 1.6rem;
	color: var(--bpwd-red);
}

.bpwd-product-excerpt {
	color: var(--bpwd-ink-soft);
	font-size: 1.05rem;
}

.bpwd-product-description {
	margin-top: 3rem;
	border-top: 1px solid var(--bpwd-border);
	padding-top: 2.5rem;
}

/* Share buttons */
.bpwd-share {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 1.5rem 0 0.5rem;
}

.bpwd-share-label {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--bpwd-ink-soft);
}

.bpwd-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--bpwd-cream-alt);
	color: var(--bpwd-red);
	border: none;
}

.bpwd-share-btn:hover {
	background: var(--bpwd-red);
	color: #fff;
}

.bpwd-share-copy.is-copied {
	background: #2a8;
	color: #fff;
}

/* -------------------------------------------------------------------- */
/* Forms                                                                */
/* -------------------------------------------------------------------- */
.bpwd-form-row {
	margin-bottom: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.bpwd-form-row-group {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.bpwd-form label {
	font-weight: 600;
	font-size: 0.9rem;
}

.bpwd-form input[type='text'],
.bpwd-form input[type='email'],
.bpwd-form input[type='tel'],
.bpwd-form input[type='url'],
.bpwd-form input[type='file'],
.bpwd-form textarea {
	padding: 0.75rem 1rem;
	border: 1px solid var(--bpwd-border);
	border-radius: var(--bpwd-radius-sm);
	background: var(--bpwd-white);
	width: 100%;
}

.bpwd-form textarea {
	resize: vertical;
}

.bpwd-field-hint {
	font-size: 0.8rem;
	color: var(--bpwd-ink-soft);
	font-weight: 400;
}

.bpwd-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bpwd-form-message {
	padding: 0.85rem 1.1rem;
	border-radius: var(--bpwd-radius-sm);
	font-weight: 600;
	margin-bottom: 1.25rem;
}

.bpwd-form-success {
	background: #e2f6ea;
	color: #1c6b3f;
}

.bpwd-form-error {
	background: #fbe3e3;
	color: #a6242e;
}

/* Star rating input on the review form */
.bpwd-star-input {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 0.25rem;
}

.bpwd-star-input input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.bpwd-star-input label {
	color: var(--bpwd-border);
	cursor: pointer;
}

.bpwd-star-input input:checked ~ label,
.bpwd-star-input label:hover,
.bpwd-star-input label:hover ~ label {
	color: var(--bpwd-gold);
}

/* -------------------------------------------------------------------- */
/* Newsletter (footer)                                                  */
/* -------------------------------------------------------------------- */
.bpwd-newsletter-row {
	display: flex;
	gap: 0.5rem;
}

.bpwd-newsletter-row input {
	flex: 1;
	padding: 0.7rem 1rem;
	border-radius: var(--bpwd-radius-sm);
	border: none;
}

.bpwd-newsletter-row button {
	background: var(--bpwd-orange);
	color: #fff;
	border: none;
	padding: 0.7rem 1.1rem;
	border-radius: var(--bpwd-radius-sm);
	font-weight: 700;
}

.bpwd-footer .bpwd-form-message {
	margin-top: 0.75rem;
	margin-bottom: 0;
}

/* -------------------------------------------------------------------- */
/* Contact page                                                         */
/* -------------------------------------------------------------------- */
.bpwd-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 3rem;
}

.bpwd-contact-details li {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--bpwd-border);
}

.bpwd-contact-details strong {
	font-family: var(--bpwd-font-display);
	color: var(--bpwd-red);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.bpwd-map {
	margin-top: 1.5rem;
	border-radius: var(--bpwd-radius);
	overflow: hidden;
	box-shadow: var(--bpwd-shadow);
}

.bpwd-map iframe {
	width: 100%;
	height: 280px;
	border: 0;
}

.bpwd-contact-form-wrap {
	background: var(--bpwd-white);
	border-radius: var(--bpwd-radius);
	padding: 2rem;
	box-shadow: var(--bpwd-shadow);
}

/* -------------------------------------------------------------------- */
/* Search results                                                       */
/* -------------------------------------------------------------------- */
.bpwd-search-results {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.bpwd-search-result {
	display: flex;
	gap: 1.25rem;
	background: var(--bpwd-white);
	border-radius: var(--bpwd-radius);
	padding: 1rem;
	box-shadow: var(--bpwd-shadow);
	align-items: center;
}

.bpwd-search-result-media {
	width: 90px;
	height: 90px;
	border-radius: var(--bpwd-radius-sm);
	overflow: hidden;
	flex-shrink: 0;
}

.bpwd-search-result-body h2 {
	margin: 0.25rem 0;
	font-size: 1.1rem;
}

.bpwd-search-result-body p {
	margin: 0;
	color: var(--bpwd-ink-soft);
	font-size: 0.9rem;
}

/* -------------------------------------------------------------------- */
/* Pagination                                                           */
/* -------------------------------------------------------------------- */
.bpwd-pagination {
	margin-top: 2.5rem;
}

.bpwd-pagination ul {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.bpwd-pagination a,
.bpwd-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.75rem;
	border-radius: var(--bpwd-radius-sm);
	background: var(--bpwd-white);
	font-weight: 600;
}

.bpwd-pagination .current {
	background: var(--bpwd-red);
	color: #fff;
}

/* -------------------------------------------------------------------- */
/* Responsive                                                            */
/* -------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.bpwd-product-grid,
	.bpwd-product-grid-full {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 860px) {
	.bpwd-product-single-grid,
	.bpwd-contact-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

@media (max-width: 700px) {
	.bpwd-product-grid,
	.bpwd-product-grid-full {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}

	.bpwd-hero-track,
	.bpwd-hero-slide {
		min-height: 400px;
	}

	.bpwd-form-row-group {
		grid-template-columns: 1fr;
	}

	.bpwd-search-result {
		flex-direction: column;
		align-items: flex-start;
	}

	.bpwd-search-result-media {
		width: 100%;
		height: 160px;
	}
}

@media (max-width: 480px) {
	.bpwd-product-grid,
	.bpwd-product-grid-full {
		grid-template-columns: 1fr 1fr;
		gap: 0.75rem;
	}

	.bpwd-hero-track,
	.bpwd-hero-slide {
		min-height: 460px;
	}

	.bpwd-testimonial-card {
		padding: 2rem 1.25rem;
	}
}
