/* =========================================================
   De Beddenconcurrent – webshop (categorie- en productpagina's)
   ========================================================= */

/* ---------- Paginatitel & kruimelpad ---------- */
.shop-page-title, .category-page-title, .page-title.shop-page-title { background: var(--bc-sand); }
.shop-page-title .page-title-inner { padding-top: 28px; padding-bottom: 8px; }
.shop-page-title h1, .category-page-title h1 {
	font-family: "Bricolage Grotesque", sans-serif;
	font-weight: 800; text-transform: none; letter-spacing: -0.03em;
	font-size: clamp(34px, 4vw, 56px);
}
.woocommerce-breadcrumb, .breadcrumbs { text-transform: none; font-size: 14px; color: var(--bc-muted); letter-spacing: 0; }
.woocommerce-breadcrumb a, .breadcrumbs a { color: var(--bc-muted); }
.term-description, .category-description { color: #3C3F48; font-size: 16px; max-width: 760px; }

/* ---------- Banner boven de producten ---------- */
.bc-shop-banner {
	display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between;
	background: #fff; border: 1px solid var(--bc-line); border-radius: var(--bc-radius);
	padding: 16px 22px; margin-bottom: 24px;
}
.bc-shop-usps { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.bc-shop-usps li { margin: 0; font-weight: 600; font-size: 14px; }
.bc-shop-usps li::before { content: "✓"; color: var(--bc-accent); font-weight: 800; margin-right: 6px; }
.bc-shop-banner .button { margin: 0; }

/* ---------- Sorteren & resultaten ---------- */
.woocommerce-ordering select, .woocommerce-result-count {
	font-size: 15px;
}
.woocommerce-ordering select {
	border-radius: 12px; border: 1px solid var(--bc-line); background-color: #fff; min-height: 44px; box-shadow: none;
}

/* ---------- Filters (zijbalk) ---------- */
.shop-sidebar .widget, #shop-sidebar .widget {
	background: #fff; border: 1px solid var(--bc-line); border-radius: var(--bc-radius);
	padding: 20px 22px; margin-bottom: 16px;
}
.shop-sidebar .widget-title, #shop-sidebar .widget-title {
	font-family: "Inter", sans-serif; font-size: 13px; font-weight: 700;
	letter-spacing: 0.08em; text-transform: uppercase; color: var(--bc-muted);
}
.shop-sidebar .is-divider, #shop-sidebar .is-divider { display: none; }
.widget_price_filter .ui-slider .ui-slider-range, .widget_price_filter .ui-slider .ui-slider-handle { background-color: var(--bc-accent); }

/* ---------- Productkaarten ---------- */
.products .product-small.col > .col-inner {
	background: #fff; border: 1px solid var(--bc-line); border-radius: var(--bc-radius);
	overflow: hidden; height: 100%; transition: box-shadow .2s ease, transform .2s ease;
}
.products .product-small.col > .col-inner:hover {
	box-shadow: 0 14px 32px rgba(27, 31, 42, 0.10); transform: translateY(-2px);
}
.products .product-small .box-image { background: var(--bc-stone); }
.products .product-small .box-text { padding: 16px 18px 20px; text-align: left; }
.products .product-small .name, .products .product-small .product-title, .products .product-small .woocommerce-loop-product__title {
	font-family: "Inter", sans-serif; font-weight: 700; font-size: 17px; color: var(--bc-ink); margin-bottom: 4px;
}
.products .product-small .name a { color: var(--bc-ink); }
.products .product-small .price, .bc-products .price {
	font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 22px; color: var(--bc-ink);
}
.products .product-small .price del, .products .product-small .price del .amount {
	color: var(--bc-muted); font-family: "Inter", sans-serif; font-weight: 400; font-size: 15px; opacity: 1;
}
.products .product-small .price ins { text-decoration: none; }
.bc-from { font-family: "Inter", sans-serif; font-weight: 500; font-size: 14px; color: var(--bc-muted); }
.bc-brand {
	font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--bc-muted); margin: 0 0 2px;
}
.bc-brand a { color: var(--bc-muted); }
.bc-stock { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 600; color: #2F7A4A; }
.bc-stock::before { content: "●"; margin-right: 6px; font-size: 10px; vertical-align: 2px; }
.bc-stock--demo { color: var(--bc-accent); }

/* Sale-badge rechtsboven als pil */
.badge-container .badge { height: auto; width: auto; }
.badge-container .badge-inner, .badge-inner.on-sale {
	background-color: var(--bc-accent) !important; color: #fff; border-radius: 999px !important;
	padding: 6px 12px; font-weight: 700; font-size: 13px; line-height: 1.2; height: auto; min-width: 0;
}
.badge-container { margin: 14px 0 0 14px; }

/* Paginering */
.woocommerce-pagination .page-numbers li > .current, .page-numbers .current {
	background: var(--bc-ink) !important; border-color: var(--bc-ink) !important; color: #fff !important;
}
.page-numbers a, .page-numbers span { border-radius: 999px !important; }

/* ---------- Garantieblok onder de producten ---------- */
.bc-guarantee {
	display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between;
	background: var(--bc-ink); color: #C9CBD2; border-radius: var(--bc-radius);
	padding: 26px 30px; margin: 28px 0 10px;
}
.bc-guarantee p { margin: 0; }
.bc-guarantee-title { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 24px; color: #fff; }
.bc-guarantee .button { margin: 0; }

/* =========================================================
   Productpagina
   ========================================================= */
.single-product .product-main { padding-top: 24px; }
.product-gallery .woocommerce-product-gallery__image img, .product-gallery-slider img, .product-thumbnails img {
	border-radius: 18px;
}
.product-thumbnails .col a { border-radius: 12px; overflow: hidden; }
.product-info .product-title, .single-product .product_title {
	font-family: "Bricolage Grotesque", sans-serif; font-weight: 800;
	font-size: clamp(30px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.02em; text-transform: none;
}
.product-info .is-divider { display: none; }
.product-info .price, .single-product .summary .price {
	font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 34px; color: var(--bc-ink);
}
.product-info .price del, .product-info .price del .amount {
	font-family: "Inter", sans-serif; font-weight: 400; font-size: 18px; color: var(--bc-muted); opacity: 1;
}
.product-info .price ins { text-decoration: none; }
.product-short-description, .woocommerce-product-details__short-description { color: #3C3F48; font-size: 16px; }

/* Varianten (maat, comfort) */
.variations td, .variations th { padding-bottom: 10px; }
.variations label { font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 15px; }
.variations select {
	border-radius: 12px; border: 1px solid #CFC7BA; min-height: 48px; background-color: #fff; box-shadow: none; max-width: 100%;
}
.reset_variations { font-size: 13px; }

/* Aantal + winkelwagenknop */
.single-product .quantity input.qty, .single-product .quantity .button { min-height: 52px; }
.single-product .quantity { border-radius: 999px; overflow: hidden; }
.single_add_to_cart_button.button {
	min-height: 52px; padding: 0 32px; font-size: 16px; background-color: var(--bc-accent) !important;
}

/* USP's onder de knop */
.bc-product-usps {
	background: #fff; border: 1px solid var(--bc-line); border-radius: var(--bc-radius);
	padding: 20px 22px; margin: 18px 0;
}
.bc-product-usps ul { list-style: none; margin: 0 0 14px; padding: 0; }
.bc-product-usps li { margin: 0 0 8px; padding-left: 26px; position: relative; font-size: 15px; }
.bc-product-usps li::before { content: "✓"; position: absolute; left: 0; color: var(--bc-accent); font-weight: 800; }
.bc-product-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bc-product-actions .button { margin: 0; flex: 1 1 180px; }
.bc-payments { margin: 12px 0 0; font-size: 13px; color: var(--bc-muted); }
.product_meta { font-size: 13px; color: var(--bc-muted); }

/* Tabbladen (beschrijving, specificaties, reviews) */
.woocommerce-tabs .nav > li > a, .product-tabs li a {
	font-family: "Inter", sans-serif; text-transform: none; letter-spacing: 0; font-weight: 700; font-size: 16px;
}
.woocommerce-tabs .nav-line > li.active > a::before, .product-tabs .nav-line > li.active > a::before { background-color: var(--bc-accent); }
.woocommerce-tabs .tab-panels, .woocommerce-Tabs-panel {
	background: #fff; border: 1px solid var(--bc-line); border-radius: var(--bc-radius); padding: 28px 30px;
}
.woocommerce-product-attributes th { font-weight: 600; text-transform: none; letter-spacing: 0; width: 34%; }
.woocommerce-product-attributes td, .woocommerce-product-attributes th { border-color: var(--bc-line); padding: 10px 8px; }

/* Proefliggen-blok onder het product */
.bc-product-cta {
	display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between;
	background: var(--bc-ink); color: #C9CBD2; border-radius: 28px; padding: 40px 44px; margin: 40px 0;
}
.bc-product-cta-text { flex: 1 1 420px; max-width: 640px; }
.bc-product-cta-text p { margin: 0 0 8px; }
.bc-product-cta-title { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: clamp(28px, 3vw, 40px); color: #fff; line-height: 1.05; }
.bc-product-cta-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.bc-product-cta-buttons .button { margin: 0; }
.bc-product-cta .button.white.is-outline { color: #fff !important; border-color: #fff; background: transparent; }
.bc-product-cta .button.white.is-outline:hover { background: #fff; color: var(--bc-ink) !important; }

/* Gerelateerde producten */
.related-products-wrapper .product-section-title, .related .product-section-title, .upsells .product-section-title {
	font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; text-transform: none; letter-spacing: -0.02em; font-size: 30px;
}

/* ---------- Winkelwagen & afrekenen ---------- */
.woocommerce-cart .cart_totals, .woocommerce-checkout .shop_table, .woocommerce-checkout-review-order {
	background: #fff; border-radius: var(--bc-radius);
}
.checkout-button.button, #place_order { background-color: var(--bc-accent) !important; min-height: 52px; font-size: 16px; }
.woocommerce-checkout input.input-text, .woocommerce-checkout select, .woocommerce-cart input.input-text {
	border-radius: 12px; min-height: 46px; box-shadow: none;
}

/* ---------- Mobiel ---------- */
@media (max-width: 849px) {
	.bc-shop-banner { padding: 14px 16px; }
	.bc-product-cta { padding: 28px 22px; }
	.products .product-small .box-text { padding: 12px 12px 16px; }
	.products .product-small .price { font-size: 19px; }
	.woocommerce-tabs .tab-panels { padding: 20px 18px; }
}
