/*
Theme Name: MYS (Fidim)
Template: kadence
Version: 1.0.0
*/

@import url('../kadence/style.css');

@font-face {
  font-family: 'Outfit';
  src: url('/wp-content/themes/kadence-child/fonts/Outfit-Regular.woff2') format('woff2'), 
       url('/wp-content/themes/kadence-child/fonts/Outfit-Regular.woff') format('woff'); 
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Visuele viewportbreedte (excl. scrollbar) */
:root { --mys-vw: calc(100vw - (100vw - 100%)); }

/* Homepage hero */
.home-hero {
  background: #F7FBFD; /* lichtblauwgrijs zoals voorbeeld */
  padding: clamp(32px, 5vw, 64px) 24px;
}
.home-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr; /* iets meer ruimte voor tekst */
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.home-hero__title {
  font-family: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 600; /* semibold */
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.2;
  color: #0e5c69; /* tealgroen zoals huisstijl */
  margin: 0 0 16px 0;
}
.home-hero__title .accent { color: #E94E1B; }
.home-hero__text {
  font-family: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400; /* regular */
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.55;
  color: #29484b;
  margin: 0 0 22px 0;
}

/* Media: rechts, afgerond aan linkerkant, slide-in van buiten beeld */
.home-hero__media {
  position: relative;
  border-top-left-radius: 22px;
  border-bottom-left-radius: 22px;
  overflow: hidden;
  transform: translateX(60px);
  opacity: 0;
  transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .6s ease;
}
.home-hero__media.is-in { transform: translateX(0); opacity: 1; }
.home-hero__media img { display: block; width: 100%; height: auto; }

/* Clip overflow bij Kadence column-variant van de full-bleed hero */
.entry-content .kt-inside-inner-col > .home-hero.alignfull,
.entry-content .kt-row-layout-inner > .home-hero.alignfull {
  overflow-x: hidden; /* voorkom horizontale scroll */
}

/* Compactere verticale maat voor de hero */
@media (min-width: 900px) {
  .home-hero__media {
    /* beperk hoogte van de afbeelding op desktop */
    height: clamp(260px, 32vw, 620px);
  }
  .home-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* snij af naar hoogte */
    object-position: center right; /* hou focus aan de rechterzijde */
  }
}

/* Knop-stijl: hergebruik header CTA (outline oranje) */
.mys-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .1s ease;
}
.mys-btn--lg { padding: 12px 18px; font-size: 16px; }
.mys-btn--outline-orange {
  color: #E94E1B;
  border: 2px solid #E94E1B;
  background: transparent;
  box-shadow: 0 3px 0 0 rgba(233,78,27,0.15) inset;
}
.mys-btn--outline-orange:hover { background: rgba(233,78,27,0.06); }
.mys-btn:active { transform: translateY(1px); }
.mys-btn .btn-icon { transition: transform .25s ease; }
.mys-btn:hover .btn-icon { transform: translateX(2px); }

/* Vergroot alleen de homepage hero-knop: grotere font-size en padding, grotere pijlen en animatiecirkel, zonder de header-knop te veranderen */
.home-hero .mys-cta .animated-button {
  font-size: 18px; /* groter font */
  padding: 10px 22px; /* meer binnenruimte */
}
.home-hero .mys-cta .animated-button .text {
  padding-right: 28px; /* extra ruimte voor pijl rechts */
}
.home-hero .mys-cta .animated-button svg { width: 22px; }
.home-hero .mys-cta .animated-button .arr-1 { right: 12px; }
.home-hero .mys-cta .animated-button .arr-2 { left: -28%; }
.home-hero .mys-cta .animated-button .circle { width: 24px; height: 24px; }
.home-hero .mys-cta .animated-button:hover .circle { width: 260px; height: 260px; }
.home-hero .mys-cta .animated-button:hover .arr-1 { right: -28%; }
.home-hero .mys-cta .animated-button:hover .arr-2 { left: 6px; }
/* Hero CTA: tekst iets verder naar rechts bij hover (alleen homepage) */
.home-hero .mys-cta .animated-button:hover .text {
  transform: translateX(16px);
}

/* Centreer CTA onder de hero-tekst (alleen homepage hero) */
.home-hero .mys-cta {
  width: 100%;
  justify-content: center;
}

/* Fallback wanneer JS niet laadt: toon media direct */
html.no-js .home-hero__media { opacity: 1; transform: none; }

/* Kadence HTML-block wrapper: laat full-bleed hero niet begrenzen */
.entry-content .wp-block-html { margin: 0; padding: 0; overflow: visible; }
.entry-content .wp-block-html > .home-hero.alignfull {
  width: var(--mys-vw);
  max-width: none;
  margin-left: 50%;
  margin-right: 0;
  transform: translateX(-50%);
  overflow-x: hidden; /* fallback */
  overflow-x: clip;   /* modern browsers */
}
.entry-content .wp-block-html > .home-hero.alignfull .home-hero__inner {
  max-width: min(1200px, 92vw);
  margin-left: auto;
  margin-right: auto;
}

/* Zorg dat de media tot de rechter viewportrand loopt met visuele viewportbreedte */
@media (min-width: 1100px) {
  .entry-content .wp-block-html > .home-hero.alignfull .home-hero__media {
    justify-self: end;
    margin-right: calc(50% - (var(--mys-vw) / 2));
    width: calc(100% + ((var(--mys-vw) / 2) - 50%));
  }
  .entry-content .wp-block-html > .home-hero.alignfull {
    padding-right: 0; /* laat de media echt tot aan de viewportrand komen */
    border-right: 0;
    border: 0;
  }
}

/* Zorg dat de media altijd tot de rechter viewportrand loopt (fallback als wrapper-selector niet matcht) */
@media (min-width: 1100px) {
  .home-hero__media {
    justify-self: end;
    margin-right: calc(50% - (var(--mys-vw) / 2));
    width: calc(100% + ((var(--mys-vw) / 2) - 50%));
  }
}

/* Homepage: laat content-wrappers niet knippen zodat alignfull hero kan doorlopen */
@media (min-width: 1100px) {
  body.home .entry-content,
  body.home .entry-content-wrap,
  body.home .content-area,
  body.home .site-main,
  body.home .content-wrap {
    overflow: visible !important;
  }
}

/* Full-bleed fix wanneer HTML-blok in Kadence Column zit (geen .wp-block-html wrapper) */
.entry-content .kt-inside-inner-col > .home-hero.alignfull,
.entry-content .kt-row-layout-inner > .home-hero.alignfull {
  width: var(--mys-vw);
  max-width: var(--mys-vw);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  transform: none; /* niet centreren met transform; gebruik negatieve marges */
}

/* Override eerder transform-centreren voor het geval die nog actief is */
.entry-content .wp-block-html > .home-hero.alignfull {
  width: var(--mys-vw);
  max-width: var(--mys-vw);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  transform: none;
}

/* Zorg dat Kadence wrappers niet afknippen op de homepage */
body.home .kb-row-layout-wrap,
body.home .wp-block-kadence-rowlayout,
body.home .kt-row-column-wrap,
body.home .kt-inside-inner-col {
  overflow: visible !important;
}

/* Laat de media in de hero weer precies tot de rechter viewportrand doorlopen */
@media (min-width: 1100px) {
  .entry-content .kt-inside-inner-col > .home-hero.alignfull .home-hero__media,
  .entry-content .wp-block-html > .home-hero.alignfull .home-hero__media {
    justify-self: end;
    margin-right: calc(50% - 50vw);
    width: calc(100% + (50vw - 50%));
  }
}

/* Full-bleed hero when used directly in templates (not inside Gutenberg wrappers) */
@media (min-width: 1100px) {
  body.home .home-hero.alignfull {
    width: var(--mys-vw);
    max-width: var(--mys-vw);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-right: 0; /* let media reach viewport edge */
    border-right: 0;
  }
  body.home .home-hero.alignfull .home-hero__inner {
    max-width: min(1200px, 92vw);
    margin-left: auto;
    margin-right: auto;
  }
  body.home .home-hero.alignfull .home-hero__media {
    justify-self: end;
    margin-right: calc(50% - 50vw);
    width: calc(100% + (50vw - 50%));
  }
}

/* Homepage dashboard cards (scoped to .home-dash to avoid conflicts) */
.home-dash { padding: clamp(28px, 5vw, 60px) 20px; }
.home-dash__inner { max-width: 1200px; margin: 0 auto; }

.home-dash .card-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  font-family: 'Outfit', system-ui, sans-serif;
}
@media (max-width: 1100px) { .home-dash .card-container { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .home-dash .card-container { grid-template-columns: 1fr; } }

.home-dash .card {
  position: relative; display: block; aspect-ratio: 500 / 354; border-radius: 30px; overflow: hidden; background: #eee; text-decoration: none; color: inherit; box-shadow: 3px 3px 8px #dcdcdc, -3px -3px 8px #ffffff; transition: transform .4s ease, box-shadow .4s ease;
}
.home-dash .card:hover { transform: translateY(-5px); box-shadow: 0px 0px 12px rgba(0,0,0,.10); }

.home-dash .card-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform .6s ease; z-index: 0; }
.home-dash .card:hover .card-bg { transform: scale(1.1); }

/* Subtle white image overlay that fades away on hover */
.home-dash .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.18); /* light white veil over images */
  opacity: 1;
  transition: opacity .3s ease;
  pointer-events: none; /* don't block clicks */
  z-index: 1;
}
.home-dash .card:hover::before { opacity: 0; }
/* Exclusions: cards without background images shouldn't get the veil */
.home-dash .card--links::before,
.home-dash .card--small::before,
.home-dash .card--orders::before { display: none; }

.home-dash .overlay { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.65); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom-left-radius: 30px; border-bottom-right-radius: 30px; transition: background .3s ease; padding: 16px 20px; display: flex; flex-direction: column; z-index: 2; }
.home-dash .overlay-top { flex: 0 0 auto; }
.home-dash .overlay-extra { flex: 0 0 auto; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .4s ease, opacity .4s ease; }
.home-dash .card:hover .overlay { background: rgba(255,255,255,.9); }
.home-dash .card:hover .overlay-extra { max-height: 110px; opacity: 1; }

.home-dash .card-title { margin: 0; font-size: 20px; font-weight: 600; color: #006278; }
.home-dash .card-text { margin: 4px 0 0 0; font-size: 14px; color: #333; }
.home-dash .card-more { display: block; width: 100%; margin-top: 2px; font-size: 12px; color: rgba(51,51,51,0.7); font-weight: 400; text-align: center; }
.home-dash .card:hover .card-more { color: rgba(51,51,51,0.9); }

/* Mijn account dashboard: 'alles zien' als gewone tekstlink in merk-kleur */
.woocommerce-account-dashboard .mys-link-more {
  display: inline; /* geen knopblok */
  padding: 0;
  border: 0;
  background: transparent;
  color: #006278;
  text-decoration: none;
  font-weight: 400; /* minder dik */
}
.woocommerce-account-dashboard .mys-link-more:hover,
.woocommerce-account-dashboard .mys-link-more:focus {
  text-decoration: underline;
  color: #004e60;
}

/* Mijn account dashboard: duidelijke scheiding tussen de 3 lijsten */
.woocommerce-account-dashboard .mys-dashboard-section + .mys-dashboard-section {
  border-top: 1px solid rgba(0,0,0,.08);
  margin-top: 16px;
  padding-top: 16px;
}
.woocommerce-account-dashboard .mys-dashboard-section h3 {
  margin: 0 0 10px;
  color: #333; /* donkergrijs i.p.v. blauw */
  font-weight: 600;
}

/* Home dash: kleine knoppen onder de linker card en brede orders-card rechts */
.home-dash .card--small {
  aspect-ratio: auto;
  min-height: 60px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f5f5f5;
  grid-column: 1;
  box-shadow: 3px 3px 8px #dcdcdc, -3px -3px 8px #ffffff; /* consistent met kleinere schaduw */
}
.home-dash .card--small .card-title {
  margin: 0;
  font-size: 20px; /* zelfde als .card-title */
  font-weight: 600;
  color: #006278;
}
.home-dash .card--small:hover .card-title { color: #004e60; }

/* Home dash: witte linkencard links en brede orderscard rechts, zonder hover-effect */
.home-dash .card--links,
.home-dash .card--orders {
  background: #fff;
}
/* Verwijder hover-elevatie op deze twee kaarten */
.home-dash .card--links:hover,
.home-dash .card--orders:hover {
  transform: none;
  box-shadow: 3px 3px 8px #dcdcdc, -3px -3px 8px #ffffff; /* behoud subtiele schaduw */
}

/* Plaatsing en layout */
.home-dash .card--links { grid-column: 1; display: flex; }
.home-dash .card--links .links-card { display:flex; flex-direction:column; width:100%; }
.home-dash .links-list { display:flex; flex-direction:column; gap: 10px; padding: 16px 20px; }
.home-dash .links-item { 
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 14px; border-radius: 14px; text-decoration:none; color:#006278; background:#f9fbfc; border:1px solid rgba(0,0,0,.06);
}
.home-dash .links-item:hover { background:#f2f7f9; /* wel lichte bg-change, maar geen card-lift */ }

.home-dash .card--orders { grid-column: 2 / span 2; padding: 18px 22px; }
.home-dash .orders-card { display:flex; flex-direction:column; height:100%; }
.home-dash .orders-card__header { font-family:'Outfit', system-ui, sans-serif; font-weight:600; font-size:20px; color:#006278; }
.home-dash .orders-card__divider { border:none; height:1px; background: rgba(0,0,0,.08); margin:10px 0 12px; }
.home-dash .orders-card__body { font-family:'Outfit', system-ui, sans-serif; font-size:14px; color:#333; scrollbar-gutter: stable; /* reserveer ruimte voor scrollbar */ padding-right: 10px; /* extra ruimte rechts van prijs/regels */ }

/* Orders list styling (re-use) */
.home-dash .orders-list { list-style:none; margin:0; padding:0; }
.home-dash .orders-list li { display:grid; grid-template-columns:1fr auto auto; gap:10px; padding:10px 0; border-bottom:1px solid rgba(0,0,0,.06); align-items:center; }
.home-dash .orders-list li:last-child { border-bottom:0; }
.home-dash .order-number a { color:#006278; text-decoration:none; }
.home-dash .order-number a:hover { text-decoration:underline; }
.home-dash .order-date { color:#666; font-size:12px; margin-left:6px; }
.home-dash .order-status { color:#555; font-size:12px; background: rgba(0,0,0,.05); padding:2px 8px; border-radius:999px; }
.home-dash .order-total { font-weight:600; }

/* Responsiveness */
@media (max-width: 900px) {
  .home-hero__inner { grid-template-columns: 1fr; }
  .home-hero__media { order: 2; transform: translateX(0); opacity: 1; }
}
@media (max-width: 1100px) {
  .home-dash .card--orders { grid-column: 1 / -1; }
  .home-dash .orders-list li { grid-template-columns: 1fr auto; }
  .home-dash .order-total { justify-self: end; }
}
@media (max-width: 680px) {
  .home-dash .card-container { grid-template-columns: 1fr; }
  .home-dash .orders-list li { grid-template-columns: 1fr; row-gap: 4px; }
  .home-dash .order-status, .home-dash .order-total { justify-self: start; }
}

/* Laatste redmiddel: geen horizontale scroll op de homepage */
body.home { overflow-x: hidden; }
/* Fix: Orders/link cards geen vaste aspect ratio en voldoende padding */
.home-dash .card--orders,
.home-dash .card--links {
  aspect-ratio: auto;
  overflow: visible;
}
.home-dash .card--orders { padding: 18px 22px; }

/* Betere uitlijning binnen orders-lijst */
.home-dash .order-main { display:flex; align-items:center; gap:8px; min-width:0; }
.home-dash .order-number { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.home-dash .order-date { white-space:nowrap; }
.home-dash .orders-list li { gap: 14px; }

/* Links in linker dashcard als eenvoudige tekstlinks (geen vakken) */
.home-dash .links-item {
  background: transparent;
  border: 0;
  padding: 8px 0;
  border-radius: 0;
  justify-content: flex-start;
  gap: 6px;
}
.home-dash .links-item:hover {
  background: transparent;
  color: #004e60;
  text-decoration: underline;
}

/* Links card (rechts onder): bold tekst en scheidingslijnen tussen links */
.home-dash .links-list { gap: 0; }
.home-dash .links-item {
  font-weight: 600;           /* dikker gedrukt */
  padding: 12px 0;            /* ruimte rond de tekst */
}
.home-dash .links-item + .links-item {
  border-top: 1px solid rgba(0,0,0,.12); /* lijn tussen items */
}

/* Home-dash aangepaste layout met grid-areas */
.home-dash .card-container {
  grid-template-areas:
    "config orders orders"
    "offerte aanlever links";
}
.home-dash .card--configurator { grid-area: config; }
.home-dash .card--orders { grid-area: orders; }
.home-dash .card--offerte { grid-area: offerte; }
.home-dash .card--aanlever { grid-area: aanlever; }
.home-dash .card--links { grid-area: links; }

/* Responsiveness: val terug op standaard 2 en 1 kolom op small */
@media (max-width: 1100px) {
  .home-dash .card-container { grid-template-areas: none; }
}

/* Desktop: maak Recente orders even hoog als de Configurator kaart */
@media (min-width: 1100px) {
  .home-dash .card--orders {
    /* Spant 2 kolommen; verhoog de aspect-ratio iets om de grid-gap te compenseren */
    aspect-ratio: 2.9;
  }
  .home-dash .orders-card { height: 100%; }
  .home-dash .orders-card__body {
    min-height: 0; /* nodig voor correcte flex overflow */
    overflow-y: auto;
  }
}

/* WooCommerce Mijn account: twee witte cards (links inhoud, rechts menu) */
body.woocommerce-account .mys-account {
  display: grid;
  grid-template-columns: 1fr 15rem; /* content | menu */
  grid-template-areas: 'content menu';
  gap: 10px; /* kleiner tussenruimte */
  align-items: stretch; /* laat beide cards even hoog worden als de hoogste */
  margin: 20px 0;
}
body.woocommerce-account .mys-account__content-card { grid-area: content; }
body.woocommerce-account .mys-account__menu-card { grid-area: menu; }

/* Card styling, uniek gescoped zodat het niet botst met homepage/configurator cards */
body.woocommerce-account .mys-account__content-card,
body.woocommerce-account .mys-account__menu-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
body.woocommerce-account .mys-account__content-card { padding: 20px; overflow: visible; }
body.woocommerce-account .mys-account__menu-card { padding: 20px; }

/* Menu-ontwerp (gebaseerd op aangeleverde design), toegepast op Woo nav markup */
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation ul {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li { width: 100%; white-space: nowrap; }
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li a {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
  font-weight: 600;
  border-radius: 12px;
  background: transparent;
  color: #374151;
  text-decoration: none;
  transition: all 0.3s linear;
  outline: none;
}
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li a:hover,
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li a:focus,
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li.is-active a {
  background: #006278;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
  color: #fff;
}
/* Optioneel: iconen in links wit maken bij hover/focus */
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li a svg {
  width: 1.5rem; height: 1.5rem; flex-shrink: 0; transition: fill 0.3s linear, stroke 0.3s linear;
}
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li a:hover svg,
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li a:focus svg,
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li.is-active a svg {
  fill: #fff; stroke: #fff;
}

/* Override: hover gray for items, red for logout; keep active state teal */
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li a:hover,
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li a:focus {
  background: #e5e7eb; /* darker gray for clearer hover */
  color: #111827; /* near-black text */
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
}
/* Logout special hover (red) */
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover,
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:focus {
  background: #dc2626; /* red */
  color: #fff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
}
/* Icon colors on hover */
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li a:hover svg,
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li a:focus svg {
  fill: currentColor; stroke: currentColor; /* match text color on gray hover */
}
/* Logout icon stays white on red */
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover svg,
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:focus svg {
  fill: #fff; stroke: #fff;
}

/* Active (selected) menu item: brand teal instead of dark gray */
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li.is-active a:hover,
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li.is-active a:focus {
  background: #4e8c96; /* brand teal */
  color: #fff;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}
/* Keep icons white on active */
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li.is-active a svg,
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li.is-active a:hover svg,
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li.is-active a:focus svg {
  fill: #fff; stroke: #fff;
}

/* Responsief: stapel onder elkaar; eerst inhoud, dan menu */
@media (max-width: 900px) {
  body.woocommerce-account .mys-account {
    grid-template-columns: 1fr;
    grid-template-areas: 'content' 'menu';
  }
}

/* WooCommerce Mijn account: reset mogelijke thema wrapper-card en padding op deze pagina */
body.woocommerce-account .entry-content-wrap,
body.woocommerce-account .content-wrap,
body.woocommerce-account .site-main,
body.woocommerce-account .content-area {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
/* Kadence kan extra binnenmarges geven; maak compacter specifiek op deze pagina */
body.woocommerce-account .entry-content { padding: 0 !important; }

/* Login/Register page styling (cards), applied when logged-out on My Account */
body.woocommerce-account.mys-login .entry-content-wrap,
body.woocommerce-account.mys-login .content-wrap,
body.woocommerce-account.mys-login .site-main,
body.woocommerce-account.mys-login .content-area {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
body.woocommerce-account.mys-login .entry-content { padding: 0 20px !important; }
body.woocommerce-account.mys-login .mys-login-grid {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 900px) {
  body.woocommerce-account.mys-login .mys-login-grid { grid-template-columns: 1fr; }
}
/* Wrap default Woo forms in cards */
body.woocommerce-account.mys-login .woocommerce > form,
body.woocommerce-account.mys-login .woocommerce .u-columns .u-column1,
body.woocommerce-account.mys-login .woocommerce .u-columns .u-column2 {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border: 0 !important;            /* verwijder eventuele rand */
  outline: none !important;         /* verwijder outline */
  padding: 20px;
}
/* Ook bij focus of focus-within geen blauwe rand om de card */
body.woocommerce-account.mys-login .woocommerce > form:where(:focus, :focus-within),
body.woocommerce-account.mys-login .woocommerce .u-columns .u-column1:where(:focus, :focus-within),
body.woocommerce-account.mys-login .woocommerce .u-columns .u-column2:where(:focus, :focus-within) {
  outline: none !important;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
  border: 0 !important;
}
/* Brede neutralisatie op container-niveau (geen blauwe ring rond content) */
body.woocommerce-account.mys-login .woocommerce:where(:focus, :focus-within, :focus-visible),
body.woocommerce-account.mys-login .woocommerce .u-columns:where(:focus, :focus-within, :focus-visible),
body.woocommerce-account.mys-login .woocommerce .col2-set:where(:focus, :focus-within, :focus-visible),
body.woocommerce-account.mys-login .woocommerce .u-column1:where(:focus, :focus-within, :focus-visible),
body.woocommerce-account.mys-login .woocommerce .u-column2:where(:focus, :focus-within, :focus-visible) {
  outline: none !important;
  box-shadow: none !important;
  border: 0 !important;
}
/* Fieldset randen uitschakelen (Woo gebruikt soms fieldsets) */
body.woocommerce-account.mys-login .woocommerce fieldset {
  border: 0 !important;
}
/* Login/Register: verwijder form-level focus ring en separators binnen kolommen */
body.woocommerce-account.mys-login #customer_login form,
body.woocommerce-account.mys-login .woocommerce form.woocommerce-form {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important; /* voorkom dunne blauwe rand bij focus-within */
  outline: none !important;
  padding: 0 !important; /* padding zit op de card (kolom) */
}
body.woocommerce-account.mys-login #customer_login form:where(:focus, :focus-within, :focus-visible),
body.woocommerce-account.mys-login .woocommerce form.woocommerce-form:where(:focus, :focus-within, :focus-visible) {
  outline: none !important;
  box-shadow: none !important;
  border: 0 !important;
}
/* Ook fieldsets geen focus/outline/box-shadow geven */
body.woocommerce-account.mys-login .woocommerce fieldset:where(:focus, :focus-within, :focus-visible) {
  outline: none !important;
  box-shadow: none !important;
  border: 0 !important;
}
/* Verwijder eventuele scheidingslijnen/pseudo-elementen tussen de 2 kolommen */
body.woocommerce-account.mys-login .woocommerce .u-columns::before,
body.woocommerce-account.mys-login .woocommerce .u-columns::after,
body.woocommerce-account.mys-login .woocommerce .col2-set::before,
body.woocommerce-account.mys-login .woocommerce .col2-set::after,
body.woocommerce-account.mys-login #customer_login::before,
body.woocommerce-account.mys-login #customer_login::after {
  content: none !important;
  display: none !important;
}
/* Als er toch een border-left op de tweede kolom staat, haal weg */
body.woocommerce-account.mys-login .woocommerce .u-column2,
body.woocommerce-account.mys-login .woocommerce .col-2 {
  border-left: 0 !important;
}
/* Verwijder eventuele focus/outline op buitenste wrappers (Kadence) rond de cards */
body.woocommerce-account.mys-login :is(.entry-content-wrap, .content-wrap, .site-main, .content-area):where(:focus, :focus-visible, :focus-within) {
  outline: none !important;
  outline-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
/* Kadence kan een .has-focus class toevoegen */
body.woocommerce-account.mys-login .has-focus {
  outline: none !important;
  outline-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
/* Align columns to our grid */
body.woocommerce-account.mys-login .woocommerce .u-columns { display: contents; }
body.woocommerce-account.mys-login .woocommerce .u-column1 { grid-column: 1; }
body.woocommerce-account.mys-login .woocommerce .u-column2 { grid-column: 2; }
@media (max-width: 900px) {
  body.woocommerce-account.mys-login .woocommerce .u-column1,
  body.woocommerce-account.mys-login .woocommerce .u-column2 { grid-column: 1; }
}
/* Inputs/buttons visual cleanup to match theme */
body.woocommerce-account.mys-login .woocommerce form .form-row input.input-text,
body.woocommerce-account.mys-login .woocommerce form .input-text {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e1e1e1;
  padding: 10px 12px;
  font-family: 'Outfit', system-ui, sans-serif;
}
body.woocommerce-account.mys-login .woocommerce form .button {
  background: #006278;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
}
body.woocommerce-account.mys-login .woocommerce form .button:hover { background: #004e60; }
/* Headers and help text */
body.woocommerce-account.mys-login .woocommerce h2 { margin-top: 0; color: #006278; font-weight: 600; }
body.woocommerce-account.mys-login .woocommerce p { color: #333; }

/* Password eye toggle (custom SVG) */
body.woocommerce-account.mys-login .mys-eye-wrap { position: relative; }
body.woocommerce-account.mys-login .mys-eye-container {
  --color: #a5a5b0;
  --size: 22px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: var(--size);
  user-select: none;
  fill: var(--color);
  width: 32px; height: 32px;
}
body.woocommerce-account.mys-login .mys-eye-container input { position: absolute; opacity: 0; width: 0; height: 0; }
body.woocommerce-account.mys-login .mys-eye-container .mys-eye,
body.woocommerce-account.mys-login .mys-eye-container .mys-eye-slash { position: absolute; width: 1em; height: 1em; }
body.woocommerce-account.mys-login .mys-eye-container input:checked ~ .mys-eye { display: none; }
body.woocommerce-account.mys-login .mys-eye-container input:not(:checked) ~ .mys-eye-slash { display: none; }
/* Hide Woo default eye */
body.woocommerce-account.mys-login .show-password-input, 
body.woocommerce-account.mys-login .show-password-input:where(:focus,:focus-visible) { display: none !important; box-shadow: none !important; }

/* Layout tuning: menu breder en cards niet geplet */
body.woocommerce-account .mys-account {
  grid-template-columns: 1fr 15rem; /* nog smaller menu */
  margin: 0; /* laat buitenmarges door paginawrapper bepalen */
}
body.woocommerce-account .mys-account__menu-card,
body.woocommerce-account .mys-account__content-card {
  min-width: 0; /* voorkom overflow en grid-krimpissues */
  align-self: stretch; /* volg grid row-hoogte */
}

/* Reset vreemde verticale/gedraaide stijl die sommige thema's op account nav zetten */
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation {
  writing-mode: horizontal-tb !important;
  transform: none !important;
  rotate: 0deg !important;
  border: 0 !important;
}
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation * { writing-mode: horizontal-tb !important; }

/* Maak zeker dat links de volle breedte pakken en niet klem komen te staan */
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li { width: 100%; white-space: normal; }
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li a { width: 100%; }

/* Optioneel een subtiele scheiding binnen de content-card voor secties */
body.woocommerce-account .mys-account__content-card .woocommerce h2,
body.woocommerce-account .mys-account__content-card h2 { margin-top: 0.6rem; }

/* Content-tabellen netjes laten afbreken en geen horizontale scrollbar */
body.woocommerce-account .mys-account__content-card .shop_table,
body.woocommerce-account .mys-account__content-card table.shop_table_responsive {
  width: 100% !important;
  table-layout: auto;
}
body.woocommerce-account .mys-account__content-card .shop_table th,
body.woocommerce-account .mys-account__content-card .shop_table td,
body.woocommerce-account .mys-account__content-card table.shop_table_responsive th,
body.woocommerce-account .mys-account__content-card table.shop_table_responsive td {
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Mijn account > Orders: maak actieknoppen eenvoudige tekstlinks in merk-kleur */
body.woocommerce-account .mys-account__content-card .woocommerce-orders-table__cell-order-actions .button,
body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 12px 0 0 !important; /* ruimte tussen links */
  border-radius: 0 !important;
  color: #006278 !important;
  text-decoration: none !important;
  display: inline !important;
  line-height: 1.4;
}
body.woocommerce-account .mys-account__content-card .woocommerce-orders-table__cell-order-actions .button:hover,
body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button:hover,
body.woocommerce-account .mys-account__content-card .woocommerce-orders-table__cell-order-actions .button:focus,
body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button:focus {
  color: #004e60 !important;
  text-decoration: underline !important;
  outline: none;
}
/* Verwijder eventueel opgelegde min-breedtes of inline-block weergaven */
body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button { min-width: 0 !important; }

/* My Account: order/quote/config number links in brand color (not affecting menu or buttons) */
body.woocommerce-account .mys-account__content-card .woocommerce-orders-table__cell-order-number a {
  color: #006278;
  text-decoration: none;
}
body.woocommerce-account .mys-account__content-card .woocommerce-orders-table__cell-order-number a:hover,
body.woocommerce-account .mys-account__content-card .woocommerce-orders-table__cell-order-number a:focus {
  color: #004e60;
  text-decoration: underline;
}
/* Generic tables inside content card (covers Offertes/Configuraties custom lists) */
body.woocommerce-account .mys-account__content-card .shop_table a:not(.button),
body.woocommerce-account .mys-account__content-card table.shop_table_responsive a:not(.button) {
  color: #006278;
  text-decoration: none;
}
body.woocommerce-account .mys-account__content-card .shop_table a:not(.button):hover,
body.woocommerce-account .mys-account__content-card table.shop_table_responsive a:not(.button):hover,
body.woocommerce-account .mys-account__content-card .shop_table a:not(.button):focus,
body.woocommerce-account .mys-account__content-card table.shop_table_responsive a:not(.button):focus {
  color: #004e60;
  text-decoration: underline;
}
/* Dashboard lists: make number links brand color as well */
.woocommerce-account-dashboard table a:not(.button),
.woocommerce-account-dashboard .mys-dashboard-section a:not(.button) {
  color: #006278;
  text-decoration: none;
}
.woocommerce-account-dashboard table a:not(.button):hover,
.woocommerce-account-dashboard .mys-dashboard-section a:not(.button):hover,
.woocommerce-account-dashboard table a:not(.button):focus,
.woocommerce-account-dashboard .mys-dashboard-section a:not(.button):focus {
  color: #004e60;
  text-decoration: underline;
}

/* Mijn account: verwijder eventuele buitenste witte 'boxed' wrapper en afronding op deze pagina */
body.woocommerce-account .content-bg,
body.woocommerce-account .content-style-boxed .content-wrap,
body.woocommerce-account .content-style-boxed .site-main,
body.woocommerce-account .content-style-boxed .entry-content-wrap {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}

/* Actions trigger button (Offertes/Configuraties) based on provided scroll-up */
.woocommerce-account .mys-account .mys-account-dropdown .mys-account-link.scroll-up {
  width: 88px; /* iets minder breed */
  height: 26px; /* iets minder hoog */
  border-radius: 6px;
  background-color: rgba(29, 29, 31, 0.7);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform .2s ease;
  padding: 0;
}
.woocommerce-account .mys-account .mys-account-dropdown .mys-account-link.scroll-up svg {
  transform: rotate(180deg); /* pijl naar beneden */
  width: 20px;
  height: 20px;
}
.woocommerce-account .mys-account .mys-account-dropdown .mys-account-link.scroll-up:hover,
.woocommerce-account .mys-account .mys-account-dropdown .mys-account-link.scroll-up:focus-visible {
  transform: translateY(-.15rem); /* iets minder beweging */
}

/* Centreer de twee-cards layout binnen een max-width container */
body.woocommerce-account .mys-account {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  grid-template-columns: minmax(0,1fr) 15rem; /* content | menu, menu nog smaller */
  gap: 10px; /* kleine ruimte tussen cards */
}

/* Menu nav: forceer horizontale layout, geen borders/verticale lijn en volle breedte */
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation {
  width: 100%;
  background: transparent !important;
  border: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  writing-mode: horizontal-tb !important;
  transform: none !important;
  float: none !important;        /* reset Woo default float */
  margin: 0 !important;          /* reset default margins */
  box-sizing: border-box;
}
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation * { writing-mode: horizontal-tb !important; }

/* Mijn account: verwijder eventuele verticale scheidslijn/pseudo-elementen in het menu */
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation,
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation ul {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  position: relative;
}
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation::before,
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation::after,
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation ul::before,
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation ul::after {
  content: none !important;
  display: none !important;
}
/* Forceer horizontale tekst en normale afbreking voor alle children van het menu */
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation,
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation * {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  transform: none !important;
  rotate: 0deg !important;
  white-space: normal !important;
  word-break: normal !important;
}
/* Verwijder mogelijke border-left die als lijn zichtbaar blijft */
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation,
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation * {
  border-left: 0 !important;
}
/* Zorg dat knoppen de volle breedte hebben en niet botsen tegen een interne gutter */
body.woocommerce-account .mys-account__menu-card { overflow: visible; }
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li a {
  width: 100%;
  max-width: 100%;
}

/* Mijn account menu: verwijder Kadence zijkolom/profiel en alle scheidslijnen */
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation {
  display: block !important;          /* geen grid/2-koloms nav */
  border: 0 !important;
  box-shadow: none !important;
}
/* Verberg alle directe children behalve het UL (zoals avatar/profielkolom die de verticale lijn veroorzaakt) */
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation > :not(ul) {
  display: none !important;
}
/* UL moet de volle breedte nemen en geen pseudo-separators tekenen */
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation ul {
  width: 100% !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  position: static !important;
}
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation ul::before,
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation ul::after {
  content: none !important;
  display: none !important;
}
/* Knoppen netjes binnen de card, volle breedte */
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation li a {
  box-sizing: border-box;
}

/* Als een border-right/left toch overblijft, neutraliseer op alle diepte-niveaus binnen nav */
body.woocommerce-account .mys-account__menu-card .woocommerce-MyAccount-navigation * {
  border-left: 0 !important;
  border-right: 0 !important;
}

/* Fix: grote ruimte tussen de twee cards door Woo standaard floats/breedtes
   De default WooCSS zet .woocommerce-MyAccount-content op float+percentage breedte.
   Binnen onze grid-layout moet de content-card de volledige kolombreedte pakken. */
body.woocommerce-account .mys-account__content-card.woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  justify-self: stretch !important;
  box-sizing: border-box;
}

/* WooCommerce Cart: give current white wrapper/card rounded corners without changing layout */
/* Round Kadence boxed/content wrappers on cart */
body.woocommerce-cart :is(.content-bg, .entry-content-wrap, .content-area, .site-main) {
  border-radius: 16px !important;
  overflow: hidden; /* clip inner content to rounded corners */
}
/* If site uses content-style-boxed, round the inner content box */
body.woocommerce-cart.content-style-boxed .content-wrap,
body.woocommerce-cart .content-style-boxed .content-wrap {
  border-radius: 16px !important;
  overflow: hidden;
}
/* Also round the visible cart blocks themselves (when they render as the white card) */
body.woocommerce-cart :is(.wp-block-woocommerce-cart-items-block,
                          .wp-block-woocommerce-cart-totals-block,
                          .wc-block-cart-items,
                          .wc-block-cart-totals,
                          .wc-block-components-card,
                          .wc-block-components-panel) {
  border-radius: 16px !important;
}

/* Comfortable side padding inside the cart content (Blocks and Classic) */
body.woocommerce-cart :is(
  .entry-content,
  .wp-block-woocommerce-cart,
  .wc-block-cart,
  .woocommerce
) {
  padding-left: clamp(14px, 3.2vw, 28px);
  padding-right: clamp(14px, 3.2vw, 28px);
  box-sizing: border-box;
}

/* WooCommerce Checkout: add side padding and rounded corners (no layout changes) */
/* Round Kadence boxed/content wrappers on checkout */
body.woocommerce-checkout :is(.content-bg, .entry-content-wrap, .content-area, .site-main) {
  border-radius: 16px !important;
  overflow: hidden; /* clip inner content to rounded corners */
}
/* If site uses content-style-boxed, round the inner content box */
body.woocommerce-checkout.content-style-boxed .content-wrap,
body.woocommerce-checkout .content-style-boxed .content-wrap {
  border-radius: 16px !important;
  overflow: hidden;
}
/* Also round the visible checkout blocks themselves (when they render as the white card) */
body.woocommerce-checkout :is(
  .wp-block-woocommerce-checkout,
  .wc-block-checkout,
  .wc-block-components-card,
  .wc-block-components-panel
) {
  border-radius: 16px !important;
}
/* Comfortable side padding inside the checkout content (Blocks and Classic) */
body.woocommerce-checkout :is(.entry-content, .wp-block-woocommerce-checkout, .wc-block-checkout, .woocommerce) {
  padding-left: clamp(14px, 3.2vw, 28px);
  padding-right: clamp(14px, 3.2vw, 28px);
  box-sizing: border-box;
}

