/*
Theme Name: BBQ Dubai Booking
Theme URI: https://bbq-dubai.com
Description: Booking theme for book.bbq-dubai.com. Minimal header (back link + centred logo), no menu or footer. Matches the design of the main BBQ Dubai website and styles WooCommerce: products, cart, checkout, account and thank-you page. Everything else redirects to the main site.
Version: 3.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: bbq-booking
*/

/* ==================================================================
   1. LETTERTYPES (zitten in het thema, geen Google Fonts nodig)
   ================================================================== */
@font-face {
	font-family: "Barlow Condensed";
	src: url("assets/fonts/BarlowCondensed-Medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Barlow Condensed";
	src: url("assets/fonts/BarlowCondensed-SemiBold.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Barlow Condensed";
	src: url("assets/fonts/BarlowCondensed-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "DM Sans";
	src: url("assets/fonts/DMSans.woff2") format("woff2");
	font-weight: 100 1000;
	font-style: normal;
	font-display: swap;
}

/* ==================================================================
   2. KLEUREN EN MATEN (overgenomen uit het ontwerp van de hoofdsite)
   ================================================================== */
:root {
	--bg: #0b0d0e;            /* pagina-achtergrond */
	--bg-deep: #080a0a;       /* header en onderbalk */
	--bg-footer: #101314;     /* footer */
	--bg-raised: #15181a;     /* donkere kaarten, meldingen */
	--line: #22262a;          /* lijnen op donker */
	--line-strong: #343535;   /* scheidingslijnen, icoonrandjes */

	--orange: #f26222;
	--orange-hover: #d9541a;
	--green: #44b83e;
	--green-hover: #3aa335;

	--heading: #f7f2e9;       /* koppen op donker */
	--text: #d3d6d6;          /* tekst op donker */
	--muted: #9da0a0;         /* secundaire tekst op donker */

	--cream: #f6f1e8;         /* lichte formulierkaarten */
	--ink: #1a1c1b;           /* tekst op crème */
	--ink-soft: #5b5f5d;
	--input-border: #d4ccc0;
	--placeholder: #9ca3af;
	--error: #d93025;

	--font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius-input: 6px;
	--radius-button: 8px;
	--radius-card: 14px;
	--wrap: 1240px;
	--header-height: 84px;
}

/* ==================================================================
   3. BASIS
   ================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }

a { color: var(--heading); text-underline-offset: 3px; }
a:hover { color: var(--orange); }

h1, h2, h3, h4, h5 {
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: 0;
	color: var(--heading);
	margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.75rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; }

:focus-visible {
	outline: 3px solid var(--orange);
	outline-offset: 2px;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 40px;
}
@media (max-width: 760px) { .wrap { padding: 0 20px; } }

.eyebrow {
	margin: 0 0 14px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--orange);
}

.visually-hidden,
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute;
	left: 12px; top: -60px;
	z-index: 200;
	padding: 10px 16px;
	background: var(--orange);
	color: #fff;
	border-radius: var(--radius-button);
	font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ==================================================================
   4. HEADER (terug-link links, logo in het midden)
   ================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--bg-deep);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.header-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	min-height: var(--header-height);
}
.back-link {
	justify-self: start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 0;
	color: #e6e8e8;
	text-decoration: none;
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
}
.back-link:hover { color: var(--orange); }
.back-link-short { display: none; }

.brand { justify-self: center; display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 42px; width: auto; }
.header-spacer { justify-self: end; }

@media (max-width: 600px) {
	.back-link-long { display: none; }
	.back-link-short { display: inline; }
	.brand-logo { height: 34px; }
}

/* ==================================================================
   5. PAGINAKOP EN INHOUD
   ================================================================== */
.site-main { min-height: 50vh; }

.page-hero { padding: 72px 0 8px; }
.page-hero .page-title { margin: 0; max-width: 16ch; }

.content { padding-top: 40px; padding-bottom: 80px; }
.content-narrow { max-width: 760px; }
.content-shop { padding-top: 40px; }
.single-product .content-shop { padding-top: 56px; }

.page-content > *:last-child { margin-bottom: 0; }
.page-content a { color: var(--orange); }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==================================================================
   6. KNOPPEN
   ================================================================== */
.button,
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce .single_add_to_cart_button,
.woocommerce #place_order,
.woocommerce .checkout-button,
.wc-block-components-button:not(.is-link) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: var(--radius-button);
	background: var(--orange);
	color: #fff;
	font-family: var(--font-body);
	font-size: .95rem;
	font-weight: 600;
	letter-spacing: .04em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	text-shadow: none;
	cursor: pointer;
	transition: background-color .15s ease;
}
.button:hover,
.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce #place_order:hover,
.woocommerce .checkout-button:hover,
.wc-block-components-button:not(.is-link):hover {
	background: var(--orange-hover);
	color: #fff;
}
.woocommerce #place_order,
.woocommerce .checkout-button,
.woocommerce div.product form.cart .single_add_to_cart_button { width: 100%; min-height: 56px; font-size: 1rem; }

.button-secondary,
.woocommerce a.button.wc-backward,
.woocommerce button[name="update_cart"] {
	background: transparent;
	color: var(--heading);
	box-shadow: inset 0 0 0 1px var(--line-strong);
}
.button-secondary:hover,
.woocommerce a.button.wc-backward:hover,
.woocommerce button[name="update_cart"]:hover {
	background: var(--bg-raised);
	color: #fff;
}

.woocommerce .button:disabled,
.woocommerce .button.disabled,
.woocommerce button.button:disabled[disabled] {
	opacity: .45;
	cursor: not-allowed;
	padding: 0 28px;
	color: inherit;
}
.woocommerce button[name="update_cart"]:disabled[disabled] { background: transparent; color: var(--muted); }

/* ==================================================================
   7. FORMULIEREN (zoals het contactformulier op de hoofdsite)
   ================================================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="date"],
input[type="time"],
input[type="search"],
input[type="url"],
select,
textarea,
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.select2-container .select2-selection--single {
	width: 100%;
	min-height: 50px;
	padding: 12px 16px;
	border: 1px solid var(--input-border);
	border-radius: var(--radius-input);
	background: #fff;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 500;
	box-shadow: none;
}
textarea { min-height: 140px; resize: vertical; }
::placeholder { color: var(--placeholder); font-weight: 600; opacity: 1; }
input:focus,
select:focus,
textarea:focus {
	border-color: var(--orange);
	outline: 3px solid rgba(242, 98, 34, .25);
	outline-offset: 0;
}

.select2-container .select2-selection--single { display: flex; align-items: center; }
.select2-container .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.4; color: var(--ink); }
.select2-container .select2-selection--single .select2-selection__arrow { height: 48px; right: 8px; }
.select2-dropdown { border-color: var(--input-border); border-radius: var(--radius-input); color: var(--ink); }
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--orange); }

label,
.woocommerce form .form-row label {
	display: block;
	margin-bottom: 8px;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .04em;
	line-height: 1.4;
	text-transform: uppercase;
}
.woocommerce form .form-row { margin: 0 0 20px; padding: 0; }
.woocommerce form .form-row .required { color: var(--orange); text-decoration: none; }
.woocommerce form .form-row .optional { text-transform: none; letter-spacing: 0; font-weight: 400; }
.woocommerce form .form-row.woocommerce-invalid .input-text,
.woocommerce form .form-row.woocommerce-invalid select { border-color: var(--error); }
.woocommerce form .form-row.woocommerce-validated .input-text { border-color: var(--input-border); }
.woocommerce form .form-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--orange); vertical-align: -3px; margin-right: 8px; }
.woocommerce form .form-row label.checkbox,
.woocommerce form .form-row label.woocommerce-form__label-for-checkbox { text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 400; }

.woocommerce .quantity .qty { width: 84px; min-height: 50px; text-align: center; }

/* ==================================================================
   8. CRÈME KAARTEN (formulieren op donkere achtergrond)
   ================================================================== */
.woocommerce div.product form.cart,
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-checkout form.checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.lost_reset_password,
.woocommerce-account .woocommerce-MyAccount-content,
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
	background: var(--cream);
	color: var(--ink);
	border: 0;
	border-radius: var(--radius-card);
	padding: 36px;
}
@media (max-width: 600px) {
	.woocommerce div.product form.cart,
	.woocommerce .cart-collaterals .cart_totals,
	.woocommerce-checkout form.checkout #customer_details,
	.woocommerce-checkout #order_review,
	.woocommerce form.login,
	.woocommerce form.register,
	.woocommerce-account .woocommerce-MyAccount-content,
	.wp-block-woocommerce-cart,
	.wp-block-woocommerce-checkout { padding: 24px 20px; }
}

/* Alles binnen een crème kaart: donkere tekst */
.woocommerce div.product form.cart :is(h2, h3, h4, label, th, td, p, span, a:not(.button)),
.woocommerce .cart_totals :is(h2, h3, label, th, td, p, span, a:not(.button)),
.woocommerce-checkout #customer_details :is(h3, label, p, span, a:not(.button)),
.woocommerce-checkout #order_review :is(h3, th, td, label, p, span, a:not(.button), li),
.woocommerce :is(form.login, form.register, form.lost_reset_password) :is(h2, label, p, span, a:not(.button)),
.woocommerce-account .woocommerce-MyAccount-content :is(h2, h3, label, p, th, td, span, a:not(.button), address),
.wp-block-woocommerce-cart :is(h2, h3, label, p, span, a:not(.wc-block-components-button), th, td),
.wp-block-woocommerce-checkout :is(h2, h3, label, p, span, a:not(.wc-block-components-button), th, td) {
	color: var(--ink);
}
.woocommerce-checkout #customer_details h3,
.woocommerce .cart_totals h2,
.woocommerce form.login h2,
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
	font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem);
	font-weight: 500;
	margin-bottom: .7em;
}
.woocommerce .cart_totals a:not(.button),
.woocommerce-checkout #order_review a:not(.button),
.woocommerce-checkout #customer_details a:not(.button) { color: var(--orange-hover); }

/* ==================================================================
   9. MELDINGEN
   ================================================================== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notices-wrapper > ul,
.wc-block-components-notice-banner {
	list-style: none;
	margin: 0 0 28px;
	padding: 18px 22px;
	border: 0;
	border-left: 4px solid var(--orange);
	border-radius: var(--radius-input);
	background: var(--bg-raised);
	color: var(--heading);
}
.woocommerce-message { border-left-color: var(--green); }
.woocommerce-error { border-left-color: var(--error); }
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { display: none; }
.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button) { color: var(--orange); }
.woocommerce-message .button,
.woocommerce-info .button { float: right; min-height: 40px; padding: 0 18px; font-size: .8rem; margin-left: 16px; }
.woocommerce-error li { margin: 0; }

/* ==================================================================
   10. PAKKETTEN (productoverzicht)
   ================================================================== */
.woocommerce .woocommerce-result-count { color: var(--muted); }
.woocommerce .woocommerce-ordering select { width: auto; min-height: 44px; }

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 28px;
	margin: 0 0 40px;
	padding: 0;
	clear: both;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	display: flex;
	flex-direction: column;
	padding: 0 0 24px;
	background: var(--bg-raised);
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	overflow: hidden;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { text-decoration: none; }
.woocommerce ul.products li.product a img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	margin: 0 0 20px;
	border-radius: 0;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--heading);
	padding: 0 24px;
	margin: 0 0 6px;
}
.woocommerce ul.products li.product .price {
	display: block;
	padding: 0 24px;
	margin: 0 0 20px;
	color: var(--heading);
	font-size: 1.1rem;
	font-weight: 700;
}
.woocommerce ul.products li.product .price del { color: var(--muted); font-weight: 400; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button { margin: auto 24px 0; }
.woocommerce span.onsale {
	top: 14px; left: 14px; right: auto;
	min-height: 0; min-width: 0;
	margin: 0;
	padding: 6px 12px;
	border-radius: 6px;
	background: var(--orange);
	color: #fff;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.2;
	text-transform: uppercase;
}

.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0 4px; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	min-width: 44px; padding: 12px;
	border-radius: var(--radius-input);
	background: var(--bg-raised);
	color: var(--heading);
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--orange); color: #fff; }

/* ==================================================================
   11. LOSSE PAKKETPAGINA
   ================================================================== */
.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}
.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}
.woocommerce div.product div.images img { border-radius: var(--radius-card); }
.woocommerce div.product div.images .flex-control-thumbs { margin-top: 12px; display: flex; gap: 10px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 80px; }
.woocommerce div.product div.images .flex-control-thumbs img { border-radius: var(--radius-input); }
.woocommerce div.product .product_title {
	font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem);
	font-weight: 700;
	margin-bottom: .25em;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--orange);
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 600;
}
.woocommerce div.product p.price del { color: var(--muted); font-size: .7em; }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--text); font-size: 1.05rem; }
.woocommerce div.product form.cart { margin: 28px 0; }
.woocommerce div.product form.cart table.variations { margin-bottom: 12px; }
.woocommerce div.product form.cart table.variations th,
.woocommerce div.product form.cart table.variations td { display: block; padding: 0 0 8px; text-align: left; }
.woocommerce div.product form.cart .reset_variations { font-size: .85rem; }
.woocommerce div.product form.cart div.quantity { margin: 0 12px 12px 0; }
.woocommerce .product_meta {
	font-size: .9rem;
	color: var(--muted);
	padding-top: 16px;
	border-top: 1px solid var(--line);
}
.woocommerce .product_meta a { color: var(--text); }

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 8px;
	padding: 0;
	margin: 0 0 24px;
	border-bottom: 1px solid var(--line);
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 12px 4px;
	margin-right: 20px;
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--muted);
	border-bottom: 3px solid transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--heading); border-bottom-color: var(--orange); }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs .panel { color: var(--text); }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 2rem; }
.woocommerce div.product .related > h2,
.woocommerce div.product .upsells > h2 { margin-top: 40px; }

@media (max-width: 900px) {
	.woocommerce div.product { grid-template-columns: 1fr; gap: 28px; }
}

/* ==================================================================
   12. TABELLEN, WINKELWAGEN EN AFREKENEN
   ================================================================== */
.woocommerce table.shop_table {
	margin: 0 0 32px;
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	color: var(--text);
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 16px 18px;
	border-top: 1px solid var(--line);
	vertical-align: middle;
}
.woocommerce table.shop_table th { text-align: left; }
.woocommerce table.shop_table :is(.product-total, .product-subtotal, .product-price),
.woocommerce table.shop_table tfoot td,
.woocommerce .cart_totals table.shop_table td { text-align: right; }
.woocommerce table.shop_table dl.variation {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2px 8px;
	margin: 8px 0 0;
	font-size: .88rem;
}
.woocommerce table.shop_table dl.variation dt { font-weight: 600; margin: 0; }
.woocommerce table.shop_table dl.variation dd { margin: 0; }
.woocommerce table.shop_table dl.variation dd p { margin: 0; }
.woocommerce table.shop_table thead th {
	border-top: 0;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--muted);
}
.woocommerce table.shop_table td.product-name a { color: var(--heading); font-weight: 600; text-decoration: none; }
.woocommerce table.shop_table img { width: 80px; border-radius: var(--radius-input); }
.woocommerce table.shop_table td.actions { background: transparent; }
.woocommerce table.shop_table td.actions .coupon { display: flex; gap: 10px; align-items: center; }
.woocommerce table.shop_table td.actions .coupon .input-text { width: 220px; min-height: 52px; }
.woocommerce a.remove {
	width: 28px; height: 28px;
	line-height: 26px;
	border: 1px solid var(--line-strong);
	color: var(--muted) !important;
	font-weight: 400;
}
.woocommerce a.remove:hover { background: var(--orange); border-color: var(--orange); color: #fff !important; }

/* Tabellen binnen crème kaarten */
.woocommerce .cart_totals table.shop_table,
.woocommerce-checkout #order_review table.shop_table,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
	border-color: var(--input-border);
	background: transparent;
	color: var(--ink);
}
.woocommerce .cart_totals table.shop_table :is(th, td),
.woocommerce-checkout #order_review table.shop_table :is(th, td),
.woocommerce-account .woocommerce-MyAccount-content table.shop_table :is(th, td) { border-top-color: var(--input-border); }
.woocommerce .cart_totals table.shop_table thead th,
.woocommerce-checkout #order_review table.shop_table thead th { color: var(--ink-soft); }
.woocommerce .cart_totals .order-total :is(th, td),
.woocommerce-checkout #order_review .order-total :is(th, td) { font-size: 1.15rem; font-weight: 700; }

.woocommerce .cart-collaterals { margin-top: 8px; }
.woocommerce .cart-collaterals .cart_totals { float: none; width: 100%; max-width: 520px; margin-left: auto; }
.woocommerce .cart-collaterals .cart_totals table { margin-bottom: 20px; }
.woocommerce .cart-collaterals::after { content: ""; display: table; clear: both; }

/* Afrekenen: gegevens links, overzicht rechts */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info { margin-bottom: 20px; }
.woocommerce-checkout form.checkout_coupon {
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	padding: 24px;
	margin: 0 0 28px;
}
@media (min-width: 1000px) {
	.woocommerce-checkout form.checkout {
		display: grid;
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
		column-gap: 40px;
		align-items: start;
	}
	.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
	.woocommerce-checkout form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; }
	.woocommerce-checkout form.checkout #order_review_heading { grid-column: 2; grid-row: 1; }
	.woocommerce-checkout form.checkout #order_review { grid-column: 2; grid-row: 2; }
}
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 { width: 100%; float: none; }
.woocommerce-checkout #customer_details .col-2:not(:empty) { margin-top: 12px; }
/* Kop "Your order" en het overzicht vormen samen één crème kaart */
.woocommerce-checkout form.checkout #customer_details { margin-bottom: 28px; }
.woocommerce-checkout #order_review_heading {
	margin: 0;
	padding: 36px 36px 8px;
	background: var(--cream);
	color: var(--ink);
	border-radius: var(--radius-card) var(--radius-card) 0 0;
	font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem);
}
.woocommerce-checkout #order_review {
	border-radius: 0 0 var(--radius-card) var(--radius-card);
	padding-top: 16px;
}
@media (max-width: 600px) {
	.woocommerce-checkout #order_review_heading { padding: 24px 20px 4px; }
}
@media (min-width: 1000px) {
	.woocommerce-checkout form.checkout #customer_details { margin-bottom: 0; }
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 16px;
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row { width: auto; float: none; grid-column: 1 / -1; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-first,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-first { grid-column: 1; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-last,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-last { grid-column: 2; }
@media (max-width: 560px) {
	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
	.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-last,
	.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-last { grid-column: 1; }
}

/* Betaalmethodes */
.woocommerce-checkout #payment { background: transparent; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods {
	padding: 8px 0 16px;
	border-bottom: 1px solid var(--input-border);
}
.woocommerce-checkout #payment ul.payment_methods li {
	padding: 14px 0;
	border-bottom: 1px solid var(--input-border);
	list-style: none;
	font-weight: 600;
}
.woocommerce-checkout #payment ul.payment_methods li:last-child { border-bottom: 0; }
.woocommerce-checkout #payment ul.payment_methods li input { accent-color: var(--orange); margin-right: 8px; }
.woocommerce-checkout #payment ul.payment_methods li label { display: inline; text-transform: none; letter-spacing: 0; font-size: 1rem; }
.woocommerce-checkout #payment div.payment_box {
	margin: 12px 0 0;
	padding: 16px;
	border-radius: var(--radius-input);
	background: #fff;
	color: var(--ink);
	font-weight: 400;
	font-size: .95rem;
}
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
.woocommerce-checkout #payment div.form-row { padding: 20px 0 0; margin: 0; }
.woocommerce-terms-and-conditions-wrapper { font-size: .9rem; margin-bottom: 16px; }

/* Bedankpagina */
.woocommerce-order .woocommerce-thankyou-order-received {
	margin: 0 0 28px;
	padding: 22px 26px;
	border-left: 4px solid var(--green);
	border-radius: var(--radius-input);
	background: var(--bg-raised);
	color: var(--heading);
	font-size: 1.15rem;
	font-weight: 600;
}
.woocommerce ul.order_details {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	padding: 0;
	margin: 0 0 32px;
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	overflow: hidden;
}
.woocommerce ul.order_details::before,
.woocommerce ul.order_details::after { display: none; }
.woocommerce ul.order_details li {
	flex: 1 1 180px;
	margin: 0;
	padding: 18px 20px;
	border-right: 1px solid var(--line) !important;
	font-size: .75rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--muted);
}
.woocommerce ul.order_details li:last-child { border-right: 0 !important; }
.woocommerce ul.order_details li strong {
	display: block;
	margin-top: 6px;
	font-size: 1rem;
	letter-spacing: 0;
	text-transform: none;
	color: var(--heading);
}
.woocommerce-order-details h2,
.woocommerce-customer-details h2 { font-size: 2rem; }
.woocommerce-customer-details address {
	padding: 20px;
	border: 1px solid var(--line) !important;
	border-radius: var(--radius-card);
	color: var(--text);
	font-style: normal;
}

/* Account */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content { width: auto; float: none; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	color: var(--text);
	font-size: .85rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: var(--orange); }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; max-width: 560px; }
@media (max-width: 800px) {
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 24px; }
}
