/*
Theme Name: Berry de Bara 4.6 – WooCommerce Design
Theme URI: https://example.com/berry-de-bara
Author: Berry de Bara Collectief
Description: Berry de Bara one-page WordPress-thema met een gebruiksvriendelijke Carbon Fields beheeromgeving.
Version: 4.6.3
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: berry-de-bara
License: GPL-2.0-or-later
*/

:root {
  --berry-red: #ef3d2f;
  --berry-red-dark: #b9231a;
  --bara-orange: #e78a00;
  --bara-gold: #ffbc2c;
  --aqua: #27afb5;
  --aqua-dark: #13777d;
  --navy: #07527b;
  --ink: #321b16;
  --cream: #fff8ef;
  --white: #ffffff;
  --green: #23824d;
  --footer-bg: #321b16;
  --radius: 26px;
  --shadow: 0 18px 45px rgba(50, 27, 22, .14);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; }
a { color: var(--aqua-dark); text-underline-offset: 3px; }
a:hover { color: var(--berry-red-dark); }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 36px), 820px); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 9999; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,248,239,.96); backdrop-filter: blur(12px); border-bottom: 3px solid rgba(39,175,181,.18); }
.header-inner {
  min-height: 86px;
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(18px, 2.5vw, 48px);
  gap: 0;
}
.site-branding { position: relative; z-index: 2; grid-column: 1; justify-self: end; min-width: 0; }
.site-branding a { display: flex; align-items: center; gap: 11px; color: var(--berry-red); text-decoration: none; white-space: nowrap; }
.brand-mark { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 3px solid var(--aqua); flex: 0 0 auto; }
.brand-title { font-size: calc(clamp(1.25rem, 2vw, 2rem) - 2px); font-weight: 900; letter-spacing: -.04em; white-space: nowrap; }
/* Desktop: branding always keeps its own space. The navigation uses only the
   remaining width, so it can scale down but can never slide behind the logo. */
.main-navigation { position: relative; left: auto; transform: none; grid-column: 2; justify-self: start; min-width: 0; margin-left: clamp(12px, 1.5vw, 24px); }
.main-navigation ul { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: clamp(0px, .25vw, 5px); list-style: none; padding: 0; margin: 0; white-space: nowrap; }
.main-navigation li { flex: 0 1 auto; min-width: 0; }
.main-navigation li, .main-navigation a { white-space: nowrap; }
.main-navigation a { display: block; color: var(--ink); text-decoration: none; font-weight: 800; font-size: clamp(.5rem, 1.3vw, 1.35rem); padding: clamp(4px, .55vw, 10px) clamp(2px, .55vw, 10px); border-radius: 999px; }
.main-navigation a:hover, .main-navigation .current-menu-item > a { background: var(--aqua); color: #fff; }
.menu-toggle { display: none; position: absolute; right: clamp(18px, 2.5vw, 48px); justify-self: end; border: 0; background: var(--aqua); color: #fff; border-radius: 12px; padding: 10px 14px; font-weight: 800; }

.hero { overflow: hidden; position: relative; padding: clamp(54px, 8vw, 105px) 0; background: radial-gradient(circle at 80% 42%, rgba(255,255,255,.35) 0 5%, transparent 5.3%), linear-gradient(145deg, var(--aqua), #40c8c7); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.15); }
.hero::before { width: 260px; height: 260px; left: -90px; top: -80px; }
.hero::after { width: 360px; height: 360px; right: -160px; bottom: -160px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 6vw, 85px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--bara-gold); color: var(--ink); border-radius: 999px; padding: 7px 14px; font-size: .82rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.08; margin-top: 0; letter-spacing: -.035em; }
h1 { color: #fff; font-size: clamp(3rem, 8vw, 6.8rem); margin: 18px 0 18px; text-shadow: 0 5px 0 rgba(7,82,123,.2); }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
.hero-copy { color: #073b43; font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 700px; }
.hero-art { position: relative; }
.hero-art img { display: block; width: min(100%, 530px); margin-inline: auto; border-radius: 48% 48% 42% 42%; filter: drop-shadow(0 30px 18px rgba(7,82,123,.24)); transform: rotate(1.5deg); }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.button, .wp-block-button__link, button[type=submit] { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 999px; padding: 14px 22px; background: var(--berry-red); color: #fff !important; text-decoration: none; font-weight: 900; box-shadow: 0 7px 0 var(--berry-red-dark); cursor: pointer; transition: transform .16s ease, box-shadow .16s ease; }
.button:hover, .wp-block-button__link:hover, button[type=submit]:hover { transform: translateY(2px); box-shadow: 0 5px 0 var(--berry-red-dark); }
.button.secondary { background: #fff; color: var(--ink) !important; box-shadow: 0 7px 0 rgba(7,82,123,.28); }

.section { padding: clamp(66px, 8vw, 110px) 0; }
.section-white { background: #fff; }
.section-aqua { background: #dff7f5; }
.section-orange { background: #fff0d2; }
.section-header { max-width: 760px; margin-bottom: 38px; }
.section-header p { font-size: 1.12rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { height: 100%; background: #fff; padding: clamp(24px, 4vw, 36px); border-radius: var(--radius); box-shadow: var(--shadow); border: 3px solid transparent; }
.card:nth-child(3n+1) { border-color: rgba(39,175,181,.35); }
.card:nth-child(3n+2) { border-color: rgba(239,61,47,.28); }
.card:nth-child(3n+3) { border-color: rgba(231,138,0,.35); }
.card h3 { color: var(--navy); }
.icon-bubble { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 20px; border-radius: 50%; background: var(--bara-gold); font-size: 1.65rem; }

.progress-card { background: var(--ink); color: #fff; border-radius: 34px; padding: clamp(28px, 5vw, 55px); box-shadow: var(--shadow); }
.progress-card h2 { color: #fff; }
.progress-track { height: 22px; overflow: hidden; background: rgba(255,255,255,.18); border-radius: 999px; margin: 22px 0 12px; }
.progress-bar { height: 100%; min-width: 2%; border-radius: inherit; background: linear-gradient(90deg, var(--bara-gold), var(--berry-red)); }
.progress-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-weight: 900; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.stat { background: rgba(255,255,255,.1); border-radius: 18px; padding: 18px; text-align: center; }
.stat strong { display: block; color: var(--bara-gold); font-size: clamp(1.35rem, 3vw, 2rem); }

.page-hero { padding: 70px 0 54px; background: linear-gradient(135deg, var(--aqua), #62d0ca); }
.page-hero h1 { font-size: clamp(2.7rem, 7vw, 5.2rem); margin-bottom: 8px; }
.content-wrap { padding: 64px 0 95px; }
.entry-content > * { max-width: 820px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: var(--max); }
.entry-content h2 { margin-top: 1.6em; color: var(--navy); }
.entry-content h3 { margin-top: 1.4em; color: var(--berry-red-dark); }

.newsletter-box { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; background: var(--navy); color: #fff; border-radius: 32px; padding: clamp(28px, 5vw, 50px); }
.newsletter-box h2 { color: #fff; margin-bottom: 8px; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter-form input[type=email] { min-width: min(320px, 100%); border: 3px solid transparent; border-radius: 999px; padding: 13px 18px; }
.newsletter-form input[type=email]:focus { outline: 4px solid var(--bara-gold); }

.site-footer { background: var(--footer-bg); color: #fff; padding: 52px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 34px; }
.site-footer a { color: #fff; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 7px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); font-size: .88rem; }
.footer-credit { margin-left: auto; text-align: right; white-space: nowrap; }
.footer-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-credit a:hover { text-decoration-thickness: 2px; }

.notice { border-left: 6px solid var(--bara-orange); background: #fff5df; padding: 18px 20px; border-radius: 12px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1480px) {
  .hero-grid, .grid-2, .newsletter-box, .footer-grid { grid-template-columns: 1fr; }
  .hero-copy-wrap { order: 2; }
  .hero-art { order: 1; }
  .hero-art img { max-height: 420px; object-fit: contain; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
/* Keep the full navigation on desktop, even when the browser window is narrowed.
   Only touch-first mobile devices switch to the existing hamburger menu. */
@media (max-width: 900px) and (hover: none) and (pointer: coarse) {
  .header-inner { grid-template-columns: 1fr auto; justify-content: stretch; }
  .menu-toggle { display: inline-flex; position: static; grid-column: 2; margin-left: auto; }
  .main-navigation { display: none; position: absolute; left: 18px; right: 18px; top: 76px; transform: none; background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 14px; }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { display: block; }
  .main-navigation a { font-size: 1rem; padding: 10px 11px; }
}

@media (max-width: 620px) {
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-credit { margin-left: 0; text-align: left; white-space: normal; }
  body { font-size: 17px; }
  .grid-3, .stat-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 38px; }
  .hero-actions .button, .cta-actions .button { width: 100%; }
  .brand-title { font-size: calc(1.25rem - 2px); }
}

/* One-page anchor positioning; no visual design changes. */
#top, #het-team, #draag-bij, #bestel, #nieuwsbrief, #contact { scroll-margin-top: 92px; }
.berry-scroll-target { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }

/* Team popup — uses the existing Berry card language and palette. */
body.team-modal-open { overflow: hidden; }
.team-modal[hidden] { display: none; }
.team-modal { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 24px; }
.team-modal-backdrop { position: absolute; inset: 0; background: rgba(50,27,22,.72); backdrop-filter: blur(6px); }
.team-modal-dialog { position: relative; z-index: 1; width: min(100%, 980px); max-height: calc(100vh - 48px); overflow-y: auto; background: #dff7f5; border-radius: 32px; padding: clamp(26px, 5vw, 50px); box-shadow: 0 28px 80px rgba(50,27,22,.35); outline: none; }
.team-modal-close { position: sticky; top: 0; float: right; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--berry-red); color: #fff; font-size: 2rem; font-weight: 900; line-height: 1; cursor: pointer; box-shadow: 0 5px 0 var(--berry-red-dark); }
.team-modal-header { max-width: 790px; margin-bottom: 30px; }
.team-modal-header h2 { margin: 16px 0 14px; color: var(--ink); }
.team-modal-header p { font-size: 1.08rem; }
.team-modal-list { display: grid; gap: 20px; clear: both; }
.team-modal-card { display: grid; grid-template-columns: 76px 1fr; gap: 22px; align-items: start; height: auto; }
.team-modal-card .icon-bubble { margin-bottom: 0; }
.team-modal-card h3 { margin-bottom: 10px; }
.team-modal-card p { margin: 0; }
@media (max-width: 620px) {
  .team-modal { padding: 12px; }
  .team-modal-dialog { max-height: calc(100vh - 24px); border-radius: 24px; padding: 22px; }
  .team-modal-card { grid-template-columns: 1fr; }
  .team-modal-card .icon-bubble { margin-bottom: 4px; }
}

.team-icon-image { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.berry-richtext > :first-child { margin-top: 0; }
.berry-richtext > :last-child { margin-bottom: 0; }
.berry-extra-section .berry-richtext h1 { color: #000; text-shadow: none; }

/* Berry 3.0: dynamische onderdelen en footer. */
.berry-extra-section { scroll-margin-top: 92px; }
.extra-section-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.berry-footer-dynamic { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.footer-custom-block p:last-child { margin-bottom: 0; }
.footer-socials{display:flex;flex-wrap:wrap;gap:.65rem 1rem;margin-top:.75rem}.footer-socials a{text-decoration:underline;text-underline-offset:3px}
#main{display:flex;flex-direction:column}.footer-block-image{width:64px;height:64px;object-fit:contain;border-radius:14px;margin-bottom:.65rem}


/* Accordion / uitklaplijst */
.berry-extra-intro { margin-bottom: 24px; }
.berry-accordion { display: grid; gap: 14px; margin-top: 28px; }
.berry-accordion-item { overflow: hidden; background: #fff; border: 3px solid rgba(39,175,181,.28); border-radius: 20px; box-shadow: 0 10px 30px rgba(50,27,22,.08); }
.berry-accordion-item:nth-child(3n+2) { border-color: rgba(239,61,47,.22); }
.berry-accordion-item:nth-child(3n+3) { border-color: rgba(231,138,0,.28); }
.berry-accordion-title { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; color: var(--navy); font-size: clamp(1.08rem, 2vw, 1.3rem); font-weight: 900; cursor: pointer; list-style: none; transition: background .16s ease; }
.berry-accordion-title::-webkit-details-marker { display: none; }
.berry-accordion-title:hover { background: rgba(39,175,181,.08); }
.berry-accordion-title:focus-visible { outline: 4px solid var(--bara-gold); outline-offset: -4px; }
.berry-accordion-icon { position: relative; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--bara-gold); }
.berry-accordion-icon::before, .berry-accordion-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 3px; border-radius: 99px; background: var(--ink); transform: translate(-50%,-50%); transition: transform .18s ease; }
.berry-accordion-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.berry-accordion-item[open] .berry-accordion-icon::after { transform: translate(-50%,-50%) rotate(0deg); }
.berry-accordion-item[open] .berry-accordion-title { background: rgba(39,175,181,.08); }
.berry-accordion-panel { padding: 2px 24px 24px; border-top: 1px solid rgba(7,82,123,.1); }
.berry-accordion-panel .berry-richtext { padding-top: 20px; }
@media (max-width: 620px) {
  .berry-accordion-title { padding: 17px 18px; }
  .berry-accordion-panel { padding: 2px 18px 20px; }
}

/* ================================================================
   Berry de Bara 4.6 — optionele WooCommerce vormgeving
   Deze regels hebben alleen effect wanneer WooCommerce markup aanwezig is.
   ================================================================ */
.berry-commerce-main { min-height: 60vh; background: var(--cream); }
.berry-commerce-hero { position: relative; overflow: hidden; padding: clamp(46px, 6vw, 78px) 0; background: linear-gradient(135deg, var(--aqua), #62d0ca); }
.berry-commerce-hero::after { content: ""; position: absolute; width: 290px; height: 290px; right: -90px; top: -120px; border-radius: 50%; background: rgba(255,255,255,.16); }
.berry-commerce-hero .container { position: relative; z-index: 1; }
.berry-commerce-hero h1 { margin: 15px 0 0; color: #fff; font-size: clamp(2.7rem, 7vw, 5.2rem); text-shadow: 0 5px 0 rgba(7,82,123,.18); }
.berry-commerce-hero-small { padding-block: clamp(36px, 5vw, 58px); }
.berry-commerce-content { padding: clamp(54px, 7vw, 92px) 0; }
.berry-product-content { background: #fff0d2; }
.berry-commerce-card { max-width: var(--max); margin-inline: auto; padding: clamp(24px, 4vw, 42px); background: #fff; border: 3px solid rgba(39,175,181,.24); border-radius: var(--radius); box-shadow: var(--shadow); }
.berry-commerce-card.entry-content > * { max-width: none; }
.berry-commerce-page .woocommerce { width: 100%; }

/* Algemene WooCommerce typografie en links */
.berry-commerce-page .woocommerce h1,
.berry-commerce-page .woocommerce h2,
.berry-commerce-page .woocommerce h3,
.berry-commerce-page .woocommerce h4 { color: var(--ink); text-shadow: none; }
.berry-commerce-page .woocommerce h2 { font-size: clamp(1.7rem, 3.8vw, 2.7rem); }
.berry-commerce-page .woocommerce h3 { color: var(--navy); }
.berry-commerce-page .woocommerce a { text-underline-offset: 3px; }
.berry-commerce-page .woocommerce .price,
.berry-commerce-page .wc-block-components-product-price { color: var(--berry-red-dark); font-weight: 900; }

/* Berry knoppen, inclusief klassieke WooCommerce en Woo blocks */
.berry-commerce-page .woocommerce a.button,
.berry-commerce-page .woocommerce button.button,
.berry-commerce-page .woocommerce input.button,
.berry-commerce-page .woocommerce #respond input#submit,
.berry-commerce-page .wc-block-components-button,
.berry-commerce-page .wp-element-button:not(.components-button) {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 21px;
  background: var(--berry-red);
  color: #fff !important;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--berry-red-dark);
  transition: transform .16s ease, box-shadow .16s ease;
}
.berry-commerce-page .woocommerce a.button:hover,
.berry-commerce-page .woocommerce button.button:hover,
.berry-commerce-page .woocommerce input.button:hover,
.berry-commerce-page .woocommerce #respond input#submit:hover,
.berry-commerce-page .wc-block-components-button:hover,
.berry-commerce-page .wp-element-button:not(.components-button):hover { background: var(--berry-red); color: #fff !important; transform: translateY(2px); box-shadow: 0 4px 0 var(--berry-red-dark); }
.berry-commerce-page .woocommerce a.button.alt,
.berry-commerce-page .woocommerce button.button.alt,
.berry-commerce-page .woocommerce input.button.alt { background: var(--berry-red); }
.berry-commerce-page .woocommerce button.button:disabled,
.berry-commerce-page .woocommerce button.button:disabled[disabled] { padding: 12px 21px; opacity: .55; }

/* Formulieren */
.berry-commerce-page .woocommerce input.input-text,
.berry-commerce-page .woocommerce textarea,
.berry-commerce-page .woocommerce select,
.berry-commerce-page .wc-block-components-text-input input,
.berry-commerce-page .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.berry-commerce-page .wc-block-components-form .wc-block-components-text-input input {
  min-height: 50px;
  width: 100%;
  border: 2px solid rgba(7,82,123,.18);
  border-radius: 14px;
  padding: 11px 14px;
  background: #fff;
  color: var(--ink);
}
.berry-commerce-page .woocommerce textarea { min-height: 120px; }
.berry-commerce-page .woocommerce input.input-text:focus,
.berry-commerce-page .woocommerce textarea:focus,
.berry-commerce-page .woocommerce select:focus,
.berry-commerce-page .wc-block-components-text-input input:focus { outline: 3px solid rgba(255,188,44,.68); outline-offset: 1px; border-color: var(--bara-gold); }
.berry-commerce-page .select2-container--default .select2-selection--single { min-height: 50px; border: 2px solid rgba(7,82,123,.18); border-radius: 14px; }
.berry-commerce-page .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 46px; padding-left: 14px; }
.berry-commerce-page .select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; right: 8px; }

/* Meldingen */
.berry-commerce-page .woocommerce-message,
.berry-commerce-page .woocommerce-info,
.berry-commerce-page .woocommerce-error,
.berry-commerce-page .wc-block-components-notice-banner {
  margin: 0 0 28px;
  padding: 18px 20px 18px 22px;
  border: 0;
  border-left: 6px solid var(--aqua);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(50,27,22,.08);
}
.berry-commerce-page .woocommerce-error { border-left-color: var(--berry-red); }
.berry-commerce-page .woocommerce-message { border-left-color: var(--green); }
.berry-commerce-page .woocommerce-message::before { color: var(--green); }
.berry-commerce-page .woocommerce-info::before { color: var(--aqua-dark); }

/* Shop / productoverzicht */
.berry-commerce-page .woocommerce .woocommerce-result-count { margin: 0 0 22px; font-weight: 700; }
.berry-commerce-page .woocommerce .woocommerce-ordering { margin: 0 0 26px; }
.berry-commerce-page .woocommerce .woocommerce-ordering select { min-width: 240px; }
.berry-commerce-page .woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; }
.berry-commerce-page .woocommerce ul.products::before,
.berry-commerce-page .woocommerce ul.products::after { display: none; }
.berry-commerce-page .woocommerce ul.products li.product,
.berry-commerce-page .woocommerce-page ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 22px;
  background: #fff;
  border: 3px solid rgba(39,175,181,.28);
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(50,27,22,.09);
  transition: transform .18s ease, box-shadow .18s ease;
}
.berry-commerce-page .woocommerce ul.products li.product:nth-child(3n+2) { border-color: rgba(239,61,47,.24); }
.berry-commerce-page .woocommerce ul.products li.product:nth-child(3n+3) { border-color: rgba(231,138,0,.30); }
.berry-commerce-page .woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(50,27,22,.13); }
.berry-commerce-page .woocommerce ul.products li.product a.woocommerce-LoopProduct-link { color: var(--ink); text-decoration: none; }
.berry-commerce-page .woocommerce ul.products li.product a img { margin: 0 0 18px; border-radius: 18px; aspect-ratio: 1 / 1; object-fit: cover; background: var(--cream); }
.berry-commerce-page .woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0; margin: 0 0 10px; color: var(--navy); font-size: clamp(1.18rem, 2vw, 1.5rem); }
.berry-commerce-page .woocommerce ul.products li.product .price { margin: auto 0 16px; padding-top: 4px; font-size: 1.15rem; }
.berry-commerce-page .woocommerce ul.products li.product .button { align-self: flex-start; margin-top: 0; }
.berry-commerce-page .woocommerce span.onsale { min-width: 56px; min-height: 56px; display: grid; place-items: center; padding: 6px; background: var(--bara-gold); color: var(--ink); font-weight: 900; line-height: 1.05; }

/* Productdetail */
.berry-product-content .product { padding: clamp(22px, 4vw, 42px); background: #fff; border-radius: 30px; box-shadow: var(--shadow); }
.berry-commerce-page .woocommerce div.product div.images,
.berry-commerce-page .woocommerce div.product div.summary { margin-bottom: 0; }
.berry-commerce-page .woocommerce div.product div.images img { border-radius: 22px; background: var(--cream); }
.berry-commerce-page .woocommerce div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.berry-commerce-page .woocommerce div.product .summary { padding: clamp(8px, 2vw, 22px); }
.berry-commerce-page .woocommerce div.product .product_title { margin: 0 0 14px; color: var(--ink); font-size: clamp(2.1rem, 5vw, 4.25rem); line-height: 1.02; text-shadow: none; }
.berry-commerce-page .woocommerce div.product p.price,
.berry-commerce-page .woocommerce div.product span.price { color: var(--berry-red-dark); font-size: clamp(1.35rem, 2.8vw, 1.9rem); font-weight: 900; }
.berry-commerce-page .woocommerce-product-details__short-description { margin: 22px 0; font-size: 1.06rem; }
.berry-commerce-page .woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 26px 0; }
.berry-commerce-page .woocommerce .quantity .qty { min-height: 48px; width: 76px; border: 2px solid rgba(7,82,123,.18); border-radius: 14px; padding: 8px; }
.berry-commerce-page .woocommerce div.product .product_meta { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(7,82,123,.12); font-size: .9rem; }
.berry-commerce-page .woocommerce div.product .woocommerce-tabs { margin-top: 52px; }
.berry-commerce-page .woocommerce div.product .woocommerce-tabs ul.tabs { padding-left: 0; margin-bottom: 0; }
.berry-commerce-page .woocommerce div.product .woocommerce-tabs ul.tabs::before { border-bottom-color: rgba(7,82,123,.14); }
.berry-commerce-page .woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0 7px 0 0; border: 0; border-radius: 14px 14px 0 0; background: #dff7f5; }
.berry-commerce-page .woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.berry-commerce-page .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.berry-commerce-page .woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--aqua); color: #fff; }
.berry-commerce-page .woocommerce div.product .woocommerce-tabs .panel { padding: 25px 0 0; }
.berry-commerce-page .woocommerce .related.products { clear: both; padding-top: 58px; }

/* Winkelmand en klassieke tabellen */
.berry-commerce-page .woocommerce table.shop_table { overflow: hidden; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 8px 26px rgba(50,27,22,.07); }
.berry-commerce-page .woocommerce table.shop_table th { background: #dff7f5; color: var(--navy); font-weight: 900; }
.berry-commerce-page .woocommerce table.shop_table th,
.berry-commerce-page .woocommerce table.shop_table td { padding: 15px; border-top-color: rgba(7,82,123,.10); }
.berry-commerce-page .woocommerce table.shop_table td.product-thumbnail img { width: 76px; border-radius: 12px; }
.berry-commerce-page .woocommerce .cart-collaterals .cart_totals { width: min(100%, 520px); padding: 25px; background: #fff0d2; border-radius: 22px; }
.berry-commerce-page .woocommerce .cart-collaterals .cart_totals h2 { color: var(--ink); }
.berry-commerce-page .woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 10px; }
.berry-commerce-page .woocommerce-cart table.cart td.actions .coupon .input-text { width: 190px; margin: 0; }

/* Checkout */
.berry-commerce-page .woocommerce form.checkout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
.berry-commerce-page .woocommerce form.checkout #customer_details,
.berry-commerce-page .woocommerce form.checkout #order_review_heading,
.berry-commerce-page .woocommerce form.checkout #order_review { float: none; width: auto; }
.berry-commerce-page .woocommerce form.checkout #order_review_heading,
.berry-commerce-page .woocommerce form.checkout #order_review { grid-column: 2; }
.berry-commerce-page .woocommerce form.checkout #order_review_heading { margin: 0; padding: 24px 24px 0; background: #fff0d2; border-radius: 22px 22px 0 0; }
.berry-commerce-page .woocommerce form.checkout #order_review { padding: 18px 24px 24px; background: #fff0d2; border-radius: 0 0 22px 22px; }
.berry-commerce-page .woocommerce-checkout #payment { background: #fff; border-radius: 18px; }
.berry-commerce-page .woocommerce-checkout #payment ul.payment_methods { border-bottom-color: rgba(7,82,123,.10); }
.berry-commerce-page .woocommerce-checkout #payment div.payment_box { background: #dff7f5; color: var(--ink); border-radius: 12px; }
.berry-commerce-page .woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #dff7f5; }

/* Mijn account */
.berry-commerce-page .woocommerce-account .woocommerce { display: grid; grid-template-columns: minmax(190px, .28fr) minmax(0, .72fr); gap: 30px; align-items: start; }
.berry-commerce-page .woocommerce-MyAccount-navigation { float: none; width: auto; }
.berry-commerce-page .woocommerce-MyAccount-content { float: none; width: auto; }
.berry-commerce-page .woocommerce-MyAccount-navigation ul { margin: 0; padding: 10px; list-style: none; background: #dff7f5; border-radius: 20px; }
.berry-commerce-page .woocommerce-MyAccount-navigation li a { display: block; padding: 11px 13px; border-radius: 12px; color: var(--ink); font-weight: 800; text-decoration: none; }
.berry-commerce-page .woocommerce-MyAccount-navigation li.is-active a,
.berry-commerce-page .woocommerce-MyAccount-navigation li a:hover { background: var(--aqua); color: #fff; }

/* WooCommerce Cart / Checkout Blocks */
.berry-commerce-page .wc-block-cart,
.berry-commerce-page .wc-block-checkout { max-width: none; }
.berry-commerce-page .wc-block-components-sidebar-layout { gap: clamp(24px, 4vw, 48px); }
.berry-commerce-page .wc-block-components-sidebar { padding: 20px; background: #fff0d2; border-radius: 22px; }
.berry-commerce-page .wc-block-components-main { padding-right: 0; }
.berry-commerce-page .wc-block-components-order-summary .wc-block-components-order-summary-item__image > img,
.berry-commerce-page .wc-block-cart-item__image img { border-radius: 12px; }
.berry-commerce-page .wc-block-components-totals-wrapper { border-top-color: rgba(7,82,123,.12); }
.berry-commerce-page .wc-block-components-checkout-step { margin-bottom: 24px; padding: 22px; background: #fff; border: 2px solid rgba(39,175,181,.18); border-radius: 18px; }
.berry-commerce-page .wc-block-components-checkout-step__heading { margin-top: 0; }

/* Lege winkelmand / geen producten */
.berry-commerce-page .woocommerce .cart-empty,
.berry-commerce-page .woocommerce .woocommerce-info.wc-block-components-notice-banner,
.berry-commerce-page .wc-block-cart__empty-cart__title { text-align: center; }
.berry-commerce-page .woocommerce .return-to-shop { text-align: center; margin-top: 24px; }

@media (max-width: 900px) {
  .berry-commerce-page .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .berry-commerce-page .woocommerce form.checkout { grid-template-columns: 1fr; }
  .berry-commerce-page .woocommerce form.checkout #order_review_heading,
  .berry-commerce-page .woocommerce form.checkout #order_review { grid-column: 1; }
  .berry-commerce-page .woocommerce-account .woocommerce { grid-template-columns: 1fr; }
  .berry-commerce-page .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 6px; }
}

@media (max-width: 620px) {
  .berry-commerce-content { padding-block: 38px 55px; }
  .berry-commerce-card { padding: 18px; border-radius: 20px; }
  .berry-commerce-page .woocommerce ul.products { grid-template-columns: 1fr; gap: 20px; }
  .berry-commerce-page .woocommerce ul.products li.product,
  .berry-commerce-page .woocommerce-page ul.products li.product { padding: 15px 15px 19px; }
  .berry-product-content .product { padding: 16px; border-radius: 22px; }
  .berry-commerce-page .woocommerce div.product .summary { padding: 12px 2px; }
  .berry-commerce-page .woocommerce div.product form.cart { align-items: stretch; }
  .berry-commerce-page .woocommerce div.product form.cart .single_add_to_cart_button { flex: 1; }
  .berry-commerce-page .woocommerce-cart table.cart td.actions .coupon { display: grid; grid-template-columns: 1fr; width: 100%; }
  .berry-commerce-page .woocommerce-cart table.cart td.actions .coupon .input-text { width: 100%; }
  .berry-commerce-page .woocommerce-cart table.cart td.actions .coupon .button { width: 100%; }
  .berry-commerce-page .woocommerce .cart-collaterals .cart_totals { padding: 18px; }
  .berry-commerce-page .woocommerce form.checkout #order_review_heading { padding: 18px 18px 0; }
  .berry-commerce-page .woocommerce form.checkout #order_review { padding: 14px 18px 18px; }
  .berry-commerce-page .wc-block-components-sidebar { padding: 16px; }
  .berry-commerce-page .wc-block-components-checkout-step { padding: 16px; }
}

/* ================================================================
   Berry 4.6.1 – gerichte WooCommerce / knopcorrecties
   Alleen onderstaande punten wijken af van 4.6.0.
   ================================================================ */

/* De witte secundaire hero-knop beweegt nu exact zoals de rode primaire knop,
   maar behoudt zijn eigen witte styling en blauwe onderschaduw. */
.button.secondary:hover {
  background: #fff;
  color: var(--ink) !important;
  transform: translateY(2px);
  box-shadow: 0 5px 0 rgba(7,82,123,.28);
}

/* WooCommerce toont op de winkelpagina zelf nogmaals de archieftitel.
   De titel in de turquoise Berry-commerce hero blijft gewoon zichtbaar. */
.berry-commerce-content .woocommerce-products-header__title.page-title {
  display: none !important;
}

/* WooCommerce gebruikt op sommige templates de class 'woocommerce' op de body
   in plaats van op een geneste wrapper. Daarom targeten we de knoppen direct
   binnen de Berry-commercepagina. */
.berry-commerce-page a.button,
.berry-commerce-page button.button,
.berry-commerce-page input.button,
.berry-commerce-page #respond input#submit,
.berry-commerce-page .single_add_to_cart_button,
.berry-commerce-page .add_to_cart_button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 14px 22px !important;
  background: var(--berry-red) !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  box-shadow: 0 7px 0 var(--berry-red-dark) !important;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease !important;
}

.berry-commerce-page a.button:hover,
.berry-commerce-page button.button:hover,
.berry-commerce-page input.button:hover,
.berry-commerce-page #respond input#submit:hover,
.berry-commerce-page .single_add_to_cart_button:hover,
.berry-commerce-page .add_to_cart_button:hover {
  background: var(--berry-red) !important;
  color: #fff !important;
  transform: translateY(2px);
  box-shadow: 0 5px 0 var(--berry-red-dark) !important;
}

/* Producttitel op de productdetailpagina: expliciet donker, ook wanneer de
   WooCommerce wrapper niet als genest element aanwezig is. */
.berry-commerce-page div.product .product_title,
.berry-product-content div.product .product_title,
.berry-commerce-page .product_title.entry-title {
  color: #000 !important;
  text-shadow: none !important;
}


/* Berry 4.6.2 – alleen shop-dubbeltitel en Bekijk winkelwagen */
/* Verberg uitsluitend de tweede WooCommerce archieftitel in het crème winkelgedeelte.
   De titel in .berry-commerce-hero blijft zichtbaar. */
.post-type-archive-product .berry-commerce-content h1.page-title,
.woocommerce-shop .berry-commerce-content h1.page-title,
.berry-commerce-content .woocommerce-products-header h1.page-title,
.berry-commerce-content h1.woocommerce-products-header__title {
  display: none !important;
}

/* De AJAX-link 'Bekijk winkelwagen' als witte secundaire Berry-knop (zoals Draag bij). */
.berry-commerce-page a.added_to_cart.wc-forward,
.berry-commerce-content a.added_to_cart.wc-forward {
  margin-top: 18px !important;
  min-height: 48px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 14px 22px !important;
  background: #fff !important;
  color: var(--ink) !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  box-shadow: 0 7px 0 rgba(7,82,123,.28) !important;
  transition: transform .16s ease, box-shadow .16s ease !important;
}
.berry-commerce-page a.added_to_cart.wc-forward:hover,
.berry-commerce-content a.added_to_cart.wc-forward:hover {
  background: #fff !important;
  color: var(--ink) !important;
  transform: translateY(2px);
  box-shadow: 0 5px 0 rgba(7,82,123,.28) !important;
}

/* Berry 4.6.4 – alleen uitlijning winkelwagenknop op productpagina */
.berry-product-content div.product form.cart .single_add_to_cart_button {
  margin-top: -4px !important;
}
