/* WooCommerce pages (Twenty Twenty-Five block templates) in the BBRUT look. Tokens come from bbrut.css. */
body.bbrut-shop {
	--wp--preset--color--base: var(--background);
	--wp--preset--color--contrast: var(--foreground);
	--wp--preset--color--accent-1: var(--accent);
	--wp--preset--color--accent-2: var(--accent);
	--wp--preset--color--accent-3: var(--muted-foreground);
	--wp--preset--color--accent-4: var(--muted-foreground);
	--wp--preset--color--accent-5: var(--card);
	--wp--preset--color--accent-6: var(--border);
	--wp--preset--font-family--manrope: "Manrope", sans-serif;
	--wp--style--global--content-size: 1500px;
	--wp--style--global--wide-size: 1600px;
	background: var(--background);
	color: var(--foreground);
	font-family: "Manrope", sans-serif;
}
.bbrut-shop .wp-site-blocks { padding: 0; }
.bbrut-shop .wp-site-blocks > * { margin-block-start: 0; }
.bbrut-shop main.wp-block-group {
	max-width: 1500px; margin: 0 auto !important; padding: 56px 20px 96px !important;
}
@media (min-width: 768px) { .bbrut-shop main.wp-block-group { padding: 80px 40px 140px !important; } }
.bbrut-shop main .alignwide, .bbrut-shop main .alignfull, .bbrut-shop main .has-global-padding { max-width: none; padding-left: 0; padding-right: 0; margin-left: 0 !important; margin-right: 0 !important; }
.bbrut-shop a { color: inherit; }

/* store bar under the site header */
.bbrut-shopbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1600px; margin: 0 auto; padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.bbrut-shopbar > div { display: flex; gap: 20px; align-items: baseline; flex-wrap: wrap; }
.bbrut-shopbar > div span { color: var(--muted-foreground); font-weight: 500; }
.bbrut-shopbar__title { color: var(--accent) !important; text-decoration: none; }
.bbrut-shopbar__cart { text-decoration: none; border-bottom: 1px solid var(--foreground); padding-bottom: 2px; white-space: nowrap; }
.bbrut-shopbar__cart:hover { color: var(--accent); border-color: var(--accent); }
@media (min-width: 768px) { .bbrut-shopbar { padding: 16px 40px; } }
@media (max-width: 639px) { .bbrut-shopbar > div span { display: none; } }

/* typography */
.bbrut-shop main h1, .bbrut-shop main h2, .bbrut-shop main h3, .bbrut-shop .wp-block-post-title, .bbrut-shop .wp-block-query-title {
	font-family: "Bebas Neue", sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 0; line-height: .95; color: var(--foreground);
}
.bbrut-shop main h1, .bbrut-shop .wp-block-query-title, .bbrut-shop .wp-block-post-title.has-text-align-left:first-of-type { font-size: clamp(3rem, 8vw, 6rem); }
.bbrut-shop.single-product main h1.wp-block-post-title { font-size: clamp(2.75rem, 5vw, 4.5rem); }
.bbrut-shop main h2 { font-size: clamp(2rem, 4vw, 3rem); }
.bbrut-shop .woocommerce-breadcrumb, .bbrut-shop .wc-block-breadcrumbs { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 40px; }
.bbrut-shop .woocommerce-breadcrumb a { text-decoration: none; }
.bbrut-shop .woocommerce-breadcrumb a:hover { color: var(--accent); }
.bbrut-shop .woocommerce-result-count, .bbrut-shop .wc-block-product-results-count { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-foreground); }

/* form controls */
.bbrut-shop select, .bbrut-shop input[type=text], .bbrut-shop input[type=email], .bbrut-shop input[type=tel], .bbrut-shop input[type=number], .bbrut-shop input[type=password], .bbrut-shop textarea, .bbrut-shop .wc-block-components-text-input input, .bbrut-shop .wc-blocks-components-select__select {
	background: var(--input) !important; color: var(--foreground) !important; border: 1px solid var(--border) !important; border-radius: 0 !important; font-family: inherit;
}
.bbrut-shop .wc-block-components-text-input label, .bbrut-shop .wc-blocks-components-select__label { color: var(--muted-foreground) !important; }
.bbrut-shop select { padding: 10px 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }

/* buttons */
.bbrut-shop .wp-element-button, .bbrut-shop .wp-block-button__link, .bbrut-shop .wc-block-components-button:not(.is-link), .bbrut-shop button.single_add_to_cart_button, .bbrut-shop .button {
	background: var(--accent) !important; color: var(--accent-foreground) !important; border: 0 !important; border-radius: 0 !important;
	font-family: "Manrope", sans-serif; font-size: 12px !important; font-weight: 700 !important; letter-spacing: .16em; text-transform: uppercase;
	padding: 15px 26px !important; min-height: 0; box-shadow: none; transition: background-color .2s, color .2s; text-decoration: none;
}
.bbrut-shop .wp-element-button:hover, .bbrut-shop .wp-block-button__link:hover, .bbrut-shop .wc-block-components-button:not(.is-link):hover, .bbrut-shop button.single_add_to_cart_button:hover, .bbrut-shop .button:hover {
	background: var(--foreground) !important; color: var(--background) !important;
}
.bbrut-shop .wc-block-components-button.is-link, .bbrut-shop .added_to_cart { color: var(--accent) !important; text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .14em; }

/* product grid */
.bbrut-shop .wc-block-product-template { gap: 48px 24px !important; margin-top: 32px; }
.bbrut-shop .wc-block-product { text-align: left !important; }
.bbrut-shop .wc-block-product .wc-block-components-product-image { margin-bottom: 20px !important; overflow: hidden; background: var(--card); }
.bbrut-shop .wc-block-product .wc-block-components-product-image img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; transition: transform .7s; }
.bbrut-shop .wc-block-product:hover .wc-block-components-product-image img { transform: scale(1.04); }
.bbrut-shop .wc-block-product .wp-block-post-title { font-size: 1.9rem !important; margin: 0 0 6px !important; text-align: left !important; }
.bbrut-shop .wc-block-product .wp-block-post-title a { text-decoration: none; }
.bbrut-shop .wc-block-product .wp-block-post-title a:hover { color: var(--accent); }
.bbrut-shop .wc-block-product .wc-block-components-product-price { color: var(--muted-foreground); font-size: 14px !important; text-align: left !important; margin-bottom: 16px !important; }
.bbrut-shop .wc-block-product .wp-block-button, .bbrut-shop .wc-block-components-product-button { text-align: left !important; justify-content: flex-start !important; align-items: flex-start !important; }
.bbrut-shop .wc-block-components-product-sale-badge, .bbrut-shop .onsale { background: var(--accent); color: var(--accent-foreground); border: 0; border-radius: 0; }
.bbrut-shop .wp-block-query-pagination a, .bbrut-shop .page-numbers { color: var(--foreground); }

/* single product */
.bbrut-shop.single-product .wp-block-columns { gap: 48px; }
@media (min-width: 900px) { .bbrut-shop.single-product .wp-block-columns { gap: 80px; } }
.bbrut-shop .woocommerce-product-gallery__image img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.bbrut-shop.single-product .wp-block-columns .wp-block-woocommerce-product-price, .bbrut-shop.single-product .wp-block-columns .wp-block-woocommerce-product-price .wc-block-components-product-price { font-family: "Bebas Neue", sans-serif; font-size: 2.6rem !important; color: var(--accent); margin: 18px 0 !important; }
.bbrut-shop.single-product .wp-block-post-excerpt { font-size: 1.15rem; line-height: 1.7; color: var(--foreground); max-width: 34rem; }
.bbrut-shop form.cart { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin: 32px 0 !important; }
.bbrut-shop .quantity .qty { width: 72px; height: 100%; min-height: 48px; text-align: center; }
.bbrut-shop .wp-block-woocommerce-product-meta { border-top: 1px solid var(--border); padding-top: 20px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-foreground); }
.bbrut-shop .wp-block-woocommerce-product-meta a { text-decoration: none; color: var(--foreground); }
.bbrut-shop .woocommerce-tabs { margin-top: 64px; border-top: 1px solid var(--border); }
.bbrut-shop .woocommerce-tabs ul.tabs, .bbrut-shop .wc-tabs { border: 0 !important; padding: 0 !important; margin: 0 0 24px !important; }
.bbrut-shop .woocommerce-tabs ul.tabs::before, .bbrut-shop .woocommerce-tabs ul.tabs li::before, .bbrut-shop .woocommerce-tabs ul.tabs li::after { display: none !important; }
.bbrut-shop .woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; border-top: 2px solid transparent !important; border-radius: 0 !important; margin: 0 24px 0 0 !important; padding: 0 !important; }
.bbrut-shop .woocommerce-tabs ul.tabs li.active { border-top-color: var(--accent) !important; }
.bbrut-shop .woocommerce-tabs ul.tabs li a { color: var(--foreground) !important; padding: 16px 0 !important; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.bbrut-shop .woocommerce-Tabs-panel { color: var(--muted-foreground); line-height: 1.75; max-width: 46rem; }
.bbrut-shop .woocommerce-Tabs-panel h2 { display: none; }
.bbrut-shop.single-product .wp-block-woocommerce-product-collection { margin-top: 96px; border-top: 1px solid var(--border); padding-top: 48px; }

/* cart and checkout blocks */
.bbrut-shop .wc-block-cart, .bbrut-shop .wc-block-checkout { color: var(--foreground); }
.bbrut-shop .wc-block-cart-items, .bbrut-shop .wc-block-cart-items th, .bbrut-shop .wc-block-cart-items td, .bbrut-shop .wc-block-components-totals-wrapper, .bbrut-shop .wc-block-components-sidebar-layout .wc-block-components-main, .bbrut-shop .wc-block-components-order-summary, .bbrut-shop .wc-block-checkout__actions, .bbrut-shop .wc-block-components-checkout-step { border-color: var(--border) !important; }
.bbrut-shop .wc-block-cart-items__header, .bbrut-shop .wc-block-components-title, .bbrut-shop .wc-block-cart__totals-title { font-size: 11px !important; font-weight: 700 !important; letter-spacing: .16em; text-transform: uppercase !important; color: var(--muted-foreground) !important; font-family: "Manrope", sans-serif !important; }
.bbrut-shop .wc-block-components-checkout-step__title { font-family: "Bebas Neue", sans-serif !important; font-size: 2rem !important; text-transform: uppercase; color: var(--foreground) !important; letter-spacing: 0 !important; }
.bbrut-shop .wc-block-components-product-name { font-family: "Bebas Neue", sans-serif; font-size: 1.6rem; text-decoration: none; color: var(--foreground) !important; }
.bbrut-shop .wc-block-components-totals-footer-item .wc-block-components-totals-item__value, .bbrut-shop .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-family: "Bebas Neue", sans-serif; font-size: 1.8rem; font-weight: 400; }
.bbrut-shop .wc-block-components-quantity-selector { border-radius: 0 !important; border-color: var(--border) !important; }
.bbrut-shop .wc-block-components-quantity-selector::after { border: 0 !important; }
.bbrut-shop .wc-block-components-quantity-selector input, .bbrut-shop .wc-block-components-quantity-selector button { color: var(--foreground) !important; background: transparent !important; border: 0 !important; }
.bbrut-shop .wc-block-components-radio-control__option, .bbrut-shop .wc-block-components-radio-control-accordion-option { border-color: var(--border) !important; border-radius: 0 !important; box-shadow: none !important; }
.bbrut-shop .wc-block-components-radio-control__input, .bbrut-shop .wc-block-components-checkbox__input { background: var(--input) !important; border-color: var(--muted-foreground) !important; }
.bbrut-shop .wc-block-components-radio-control__input:checked::before { background: var(--accent) !important; }
.bbrut-shop .wc-block-components-panel__button, .bbrut-shop .wc-block-components-totals-coupon-link { color: var(--foreground) !important; }
.bbrut-shop .wc-block-components-notice-banner { background: var(--card) !important; color: var(--foreground) !important; border: 1px solid var(--border) !important; border-left: 3px solid var(--accent) !important; border-radius: 0 !important; }
.bbrut-shop .wc-block-components-notice-banner > svg { fill: var(--accent) !important; background: transparent !important; }
.bbrut-shop .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title { font-family: "Bebas Neue", sans-serif; font-size: 1.6rem; }
.bbrut-shop .wc-block-grid__product-link { display: block; width: 100%; }
.bbrut-shop .wc-block-grid__product-image { display: block; width: 100%; overflow: hidden; background: var(--card); }
.bbrut-shop .wc-block-grid__product-image img { display: block; width: 100% !important; max-width: none; height: auto !important; aspect-ratio: 4 / 5; object-fit: cover; }
.bbrut-shop .wp-block-separator { border-color: var(--border); opacity: 1; }
.bbrut-shop .wc-block-checkout__terms, .bbrut-shop .wc-block-components-address-card { border-color: var(--border) !important; }

/* mobile and checkout refinements */
.bbrut-shop .bb-float { display: none; }
@media (max-width: 767px) {
	body.bbrut-shop { padding-bottom: 0; }
	.bbrut-shop .wc-block-product .wp-block-button__link, .bbrut-shop .wc-block-product .wp-element-button { font-size: 10px !important; letter-spacing: .08em; padding: 12px 12px !important; }
	.bbrut-shop .wc-block-product .wp-block-post-title { font-size: 1.5rem !important; }
}
.bbrut-shop .wc-block-cart .wc-block-components-product-name, .bbrut-shop .wc-block-checkout .wc-block-components-product-name { font-size: 1.6rem !important; font-weight: 400 !important; }
.bbrut-shop .wc-block-checkout h2, .bbrut-shop .wc-block-components-checkout-step__title, .bbrut-shop .wc-block-components-checkout-order-summary__title-text { font-weight: 400 !important; }

/* variable products (colour and size) */
.bbrut-shop form.variations_form { display: block; }
.bbrut-shop table.variations { border: 0; margin-bottom: 16px; }
.bbrut-shop table.variations th, .bbrut-shop table.variations td { display: block; border: 0; padding: 0; background: none; text-align: left; }
.bbrut-shop table.variations th label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-foreground); }
.bbrut-shop table.variations td { margin: 8px 0 16px; }
.bbrut-shop table.variations select { width: 100%; max-width: 320px; height: 48px; padding: 0 14px; line-height: normal; font-size: 13px; letter-spacing: .04em; text-transform: none; appearance: auto; }
.bbrut-shop .reset_variations { font-size: 11px; color: var(--muted-foreground); margin-left: 12px; }
.bbrut-shop .woocommerce-variation-add-to-cart { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.bbrut-shop .woocommerce-variation-price .price { font-family: "Bebas Neue", sans-serif; font-size: 2rem; color: var(--accent); }

/* booking buttons keep their dark text on shop pages */
.bbrut-shop a.bb-cta { color: var(--accent-foreground); }
.bbrut-shop a.bb-cta:hover { color: var(--background); }

/* gift voucher: personal text */
.bbrut-shop form.cart .bbrut-note { flex: 0 0 100%; display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.bbrut-shop .bbrut-note label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.bbrut-shop .bbrut-note label span { color: var(--muted-foreground); font-weight: 400; letter-spacing: 0; text-transform: none; }
.bbrut-shop .bbrut-note textarea { width: 100%; max-width: 560px; padding: 14px 16px; font-size: 16px; line-height: 1.5; resize: vertical; }
.bbrut-shop .bbrut-note textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bbrut-shop .bbrut-note small { font-size: 13px; color: var(--muted-foreground); }

/* checkout: Verzenden / Afhalen toggle, the chosen option in the accent colour */
.bbrut-shop .wc-block-checkout__shipping-method-option--selected, .bbrut-shop .wc-block-checkout__shipping-method-option[aria-checked="true"] { background: var(--accent) !important; border-radius: 0; }
.bbrut-shop .wc-block-checkout__shipping-method-option[aria-checked="true"] * { color: var(--accent-foreground) !important; }
.bbrut-shop .wc-block-checkout__shipping-method-option[aria-checked="true"] svg { fill: var(--accent-foreground) !important; }

/* variation buttons (sand outline, gold when chosen) */
.bbrut-shop.single-product .wp-block-columns .bbrut-from { font-size: .62em; }
.bbrut-shop .bbrut-swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.bbrut-shop .bbrut-swatches[hidden] { display: none; }
.bbrut-shop .bbrut-swatch { min-width: 88px; min-height: 52px; padding: 0 22px; border: 1px solid color-mix(in oklab, var(--paper) 55%, transparent); border-radius: 12px; background: transparent; color: var(--paper); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.bbrut-shop .bbrut-swatch:hover { border-color: var(--accent); color: var(--accent); }
.bbrut-shop .bbrut-swatch[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-foreground); }
.bbrut-shop .bbrut-swatch:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.bbrut-shop form.bbrut-has-swatches table.variations select, .bbrut-shop form.bbrut-has-swatches .reset_variations { display: none !important; }
.bbrut-shop form.bbrut-has-swatches table.variations, .bbrut-shop form.bbrut-has-swatches table.variations tbody, .bbrut-shop form.bbrut-has-swatches table.variations tr { display: block; width: 100%; }
.bbrut-shop form.bbrut-has-swatches table.variations th { line-height: 1.4; }
.bbrut-shop form.bbrut-has-swatches table.variations td { margin: 10px 0 0; line-height: 1.2; }
.bbrut-shop form.bbrut-has-swatches .woocommerce-variation-price { margin-bottom: 20px; }
@media (max-width: 480px) { .bbrut-shop .bbrut-swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .bbrut-shop .bbrut-swatch { min-width: 0; padding: 0 8px; } }
.bbrut-shop .bbrut-swatch:disabled { opacity: .35; cursor: not-allowed; }
.bbrut-shop form.bbrut-has-swatches table.variations tr + tr { margin-top: 24px; }
.bbrut-shop .bbrut-swatch { line-height: 1.2; }
@media (max-width: 480px) { .bbrut-shop .bbrut-swatches { gap: 8px; } .bbrut-shop .bbrut-swatch { font-size: 15px; } }

/* voucher photo (nearly square): full photo on the product page, jars kept in the 4:5 tiles */
.bbrut-shop.postid-193 .woocommerce-product-gallery__image img { aspect-ratio: 1170 / 1143; }
.bbrut-shop .post-193 img { object-position: 45% 50%; }

/* gift voucher: free amount */
.bbrut-shop form.cart .bbrut-amount[hidden] { display: none; }
.bbrut-shop .bbrut-amount__field { display: flex; align-items: center; width: 100%; max-width: 220px; background: var(--input); border: 1px solid var(--border); }
.bbrut-shop .bbrut-amount__field > span { padding-left: 16px; font-size: 20px; font-weight: 700; color: var(--accent); }
.bbrut-shop .bbrut-amount__field input[type=number] { flex: 1; min-width: 0; height: 54px; padding: 0 16px 0 10px; border: 0 !important; background: transparent !important; font-size: 20px; font-weight: 700; appearance: textfield; -moz-appearance: textfield; }
.bbrut-shop .bbrut-amount__field input::-webkit-outer-spin-button, .bbrut-shop .bbrut-amount__field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bbrut-shop .bbrut-amount__field:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.bbrut-shop .bbrut-amount__field input:focus { outline: none; }
