/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
/* dm-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/dm-sans-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/dm-sans-v17-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/dm-sans-v17-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/dm-sans-v17-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/dm-sans-v17-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/dm-sans-v17-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/dm-sans-v17-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/dm-sans-v17-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/dm-sans-v17-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 800;
  src: url('../fonts/dm-sans-v17-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/dm-sans-v17-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-900italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 900;
  src: url('../fonts/dm-sans-v17-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
.cfvsw-swatches-option .cfvsw-swatch-inner {
	text-align: center;
}
.cfvsw-swatches-container {
gap: 8px;
}
a.button.button-primary.wt_pklist_invoice_download, a.button.button-primary.wt_pklist_invoice_print {
    display: none;
}
.cfvsw-swatches-option.cfvsw-label-option {
  display: flex;
  flex-direction: column;
}
.cfvsw-swatches-container .cfvsw-product-container {
  display: flex;
}
.cfvsw-swatches-container {
  width: 100% !important;
}
table.variations.cfvsw-variation-disable-logic td {
    padding: 0 !important;
    border: none !important;
}
table.variations.cfvsw-variation-disable-logic th.label {
    padding: 0 !important;
}

.cfvsw-swatches-option .cfvsw-swatch-inner {
  color: black !important;
}
.cfvsw-swatches-option {
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    font-weight: 500;
    font-family: "Ubuntu", Sans-serif;
    font-size: 17px;
    padding-left: 32px;
    padding-right: 32px;
}
.cfvsw-swatches-container {
  background-color: #f9f9f9 !important;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}
.cfvsw-selected-swatch {
  padding: 20px 32px;
  border: 2px solid var( --e-global-color-5666918 ) !important;
}
.cfvsw-swatches-option.cfvsw-label-option {
    padding: 20px 32px;
    flex: 1;
    border: 2px solid #DFDFDF;
    border-radius: 8px !important;
}
.cfvsw-swatches-option:not( .cfvsw-swatches-disabled, .cfvsw-swatches-out-of-stock ):hover {
  background-color: #429F5426;
  border: 2px solid #429F54 !important;
}
.cfvsw-swatches-option:not {
border: 2px solid #DFDFDF !important;
}
@media only screen and (max-width: 768px) {
.cfvsw-swatches-container {
  flex-wrap: wrap;
}
.cfvsw-swatches-option.cfvsw-label-option {
  width: 100%;
  flex:none;
}
}
/* ============================================================
   WooCommerce — Order Received (Thank You) Page
   Gebaseerd op echte HTML-structuur (incl. Mollie + Downloads)
   Stijl: Modern & Minimalistisch
   Responsive: Mobile / Tablet / Desktop
   Voeg dit toe aan je child theme style.css
   ============================================================ */

/* ── Fonts ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  --ot-bg:           #F7F6F3;
  --ot-white:        #FFFFFF;
  --ot-ink:          #1A1A1A;
  --ot-muted:        #6B6B6B;
  --ot-border:       #E4E2DC;
  --ot-green:        #3A7A5C;
  --ot-green-light:  #EBF4EF;
  --ot-radius:       12px;
  --ot-shadow:       0 2px 20px rgba(0,0,0,0.06);
  --ot-font-display: 'DM Sans', system-ui, sans-serif;
  --ot-font-body:    'DM Sans', system-ui, sans-serif;
}

.woocommerce-order-received .title_afrekenen {
  display: none;
}
ul.woocommerce-order-overview.order_details::before,
ul.woocommerce-order-overview.order_details::after {
  display: none !important;
  content: none !important;
}
.woocommerce a.button.alt {
  background-color: var( --e-global-color-primary ) !important;
}
.elementor-widget-woocommerce-checkout-page a {
  color: var( --e-global-color-primary ) !important;
}
/* ── Pagina wrapper ─────────────────────────────────────────── */
.woocommerce-order-received .woocommerce,
.woocommerce-order-received .woocommerce-order {
  font-family: var(--ot-font-body);
  color: var(--ot-ink);
  max-width: 100%;
  margin: 0 auto;
}

/* ── Verberg Mollie hidden inputs in tabel ──────────────────── */
.woocommerce-order-received input[type="hidden"] {
  display: none !important;
}

/* ── "Bedankt" bevestigingsregel ────────────────────────────── */
.woocommerce-order-received p.woocommerce-notice--success,
.woocommerce-order-received p.woocommerce-thankyou-order-received {
  font-family: var(--ot-font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ot-ink);
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 32px;
}

/* ── Order overzicht (bestelnr, datum, email, totaal, methode) ── */
ul.woocommerce-order-overview.order_details {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 600px) {
  ul.woocommerce-order-overview.order_details {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  ul.woocommerce-order-overview.order_details {
    grid-template-columns: repeat(5, 1fr);
  }
}

ul.woocommerce-order-overview.order_details li {
  background: var(--ot-white);
  border: 1px solid var(--ot-border);
  border-radius: var(--ot-radius);
  padding: 16px 14px;
  box-shadow: var(--ot-shadow);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ot-muted);
  margin: 0;
}

ul.woocommerce-order-overview.order_details li::before,
ul.woocommerce-order-overview.order_details li::after {
  display: none;
}

ul.woocommerce-order-overview.order_details li strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ot-ink);
  letter-spacing: 0;
  text-transform: none;
  margin-top: 3px;
}

/* ── Mollie betaalbevestiging sectie ────────────────────────── */
section.woocommerce-order-details.woocommerce-info.mollie-instructions {
  background: var(--ot-green-light);
  border-left: 3px solid var(--ot-green);
  border-radius: 0 var(--ot-radius) var(--ot-radius) 0;
  padding: 14px 20px;
  margin-bottom: 24px;
  color: var(--ot-green);
  font-size: 0.88rem;
  line-height: 1.6;
}

section.woocommerce-order-details.woocommerce-info.mollie-instructions p {
  margin: 0;
}

/* ── Gedeelde card-stijl voor alle secties ──────────────────── */
.woocommerce-order-received section.woocommerce-order-downloads,
.woocommerce-order-received section.woocommerce-order-details:not(.mollie-instructions),
.woocommerce-order-received section.woocommerce-customer-details {
  background: var(--ot-white);
  border: 1px solid var(--ot-border);
  border-radius: var(--ot-radius);
  padding: 28px 24px;
  box-shadow: var(--ot-shadow);
  margin-bottom: 24px;
}

/* ── Section titels (h2) ────────────────────────────────────── */
.woocommerce-order-received section h2 {
  font-family: var(--ot-font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ot-ink);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ot-border);
}

/* ── Gedeelde tabelstijl ────────────────────────────────────── */
.woocommerce-order-received table.woocommerce-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.woocommerce-order-received table.woocommerce-table thead th {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ot-muted);
  padding: 0 0 14px;
  border-bottom: 1px solid var(--ot-border);
  text-align: left;
}

.woocommerce-order-received table.woocommerce-table thead th:last-child {
  text-align: right;
}

.woocommerce-order-received table.woocommerce-table tbody tr {
  border-bottom: 1px solid var(--ot-border);
}

.woocommerce-order-received table.woocommerce-table tbody tr:last-child {
  border-bottom: none;
}

.woocommerce-order-received table.woocommerce-table tbody td {
  padding: 14px 0;
  vertical-align: middle;
  color: var(--ot-ink);
  line-height: 1.5;
}

/* ── Bestelgegevens tabel ───────────────────────────────────── */
.woocommerce-table--order-details td.product-name {
  font-weight: 500;
}

.woocommerce-table--order-details td.product-name a {
  color: var(--ot-ink);
  text-decoration: none;
}

.woocommerce-table--order-details td.product-name a:hover {
  text-decoration: underline;
}

.woocommerce-table--order-details td.product-name strong.product-quantity {
  color: var(--ot-muted);
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: 4px;
}

.woocommerce-table--order-details td.product-total {
  text-align: right;
  font-weight: 500;
}

/* ── Tabel footer (subtotaal / totaal / betaalmethode) ──────── */
.woocommerce-table--order-details tfoot tr th,
.woocommerce-table--order-details tfoot tr td {
  padding: 12px 0;
  border-top: 1px solid var(--ot-border);
  font-size: 0.88rem;
}

.woocommerce-table--order-details tfoot tr th {
  font-weight: 500;
  color: var(--ot-muted);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
}

.woocommerce-table--order-details tfoot tr td {
  text-align: right;
  font-weight: 500;
  color: var(--ot-ink);
}

/* Totaal-rij vetgedrukt met dubbele border */
.woocommerce-table--order-details tfoot tr:nth-child(2) th,
.woocommerce-table--order-details tfoot tr:nth-child(2) td {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ot-ink);
  padding-top: 18px;
  border-top: 2px solid var(--ot-ink);
}

/* ── Downloads tabel ────────────────────────────────────────── */
.woocommerce-table--order-downloads td {
  font-size: 0.88rem;
  vertical-align: middle;
}

.woocommerce-table--order-downloads td.download-file {
  text-align: right;
}

/* Download knop */
.woocommerce-table--order-downloads a.button {
  display: inline-block;
  background: var(--ot-ink);
  color: #fff !important;
  font-family: var(--ot-font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.15s;
  white-space: normal;
  word-break: break-word;
  max-width: 200px;
  text-align: center;
}

.woocommerce-table--order-downloads a.button:hover {
  background: #3A3A3A;
  transform: translateY(-1px);
}

/* Op mobile: downloads tabel scrollbaar */
@media (max-width: 600px) {
  .woocommerce-order-received section.woocommerce-order-downloads {
    overflow-x: auto;
  }
  .woocommerce-table--order-downloads {
    min-width: 480px;
  }
}

/* ── Factuuradres ───────────────────────────────────────────── */
.woocommerce-order-received section.woocommerce-customer-details address {
  height: auto !important; /* Override WooCommerce inline height */
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ot-ink);
  background: var(--ot-bg);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 0;
}

.woocommerce-order-received section.woocommerce-customer-details address p {
  margin: 0;
  line-height: 1.8;
}

.woocommerce-customer-details--phone::before {
  content: "📞 \00a0";
}

.woocommerce-customer-details--email::before {
  content: "✉ \00a0";
}

/* ── "Opnieuw bestellen" knop ───────────────────────────────── */
.woocommerce-order-received p.order-again {
  margin-top: 20px;
}

.woocommerce-order-received p.order-again a.button {
  display: inline-block;
  background: var(--ot-ink);
  color: #fff !important;
  font-family: var(--ot-font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.woocommerce-order-received p.order-again a.button:hover {
  background: #3A3A3A;
  transform: translateY(-1px);
}

/* ── Mobile (<480px) ────────────────────────────────────────── */
@media (max-width: 480px) {
  .woocommerce-order-received section.woocommerce-order-downloads,
  .woocommerce-order-received section.woocommerce-order-details:not(.mollie-instructions),
  .woocommerce-order-received section.woocommerce-customer-details {
    padding: 20px 16px;
  }

  ul.woocommerce-order-overview.order_details {
    grid-template-columns: 1fr 1fr;
  }

  .woocommerce-table--order-details {
    font-size: 0.85rem;
  }
}