.wc-step-extra-option-group {
    display: flex;
    gap: 16px;
    margin: 12px 0 4px;
}

.wc-step-extra-option-group-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.wc-step-extra-option-choice {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    cursor: pointer;
}

.variation-step[data-attribute-type="extra-options"] .wc-step-content {
    display: block !important;
}

.wc-step-extra-option-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wc-step-extra-option-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid #d1d1cb;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.wc-step-extra-option-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 18px 20px;
}

.wc-step-extra-option-label {
    font-family: "Archivo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #252524;
    text-align: center;
}

.wc-step-extra-option-price {
    font-family: "Archivo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #252524;
}

.wc-step-extra-option-choice:hover .wc-step-extra-option-card {
    border-color: #a3a398;
}

.wc-step-extra-option-radio:checked + .wc-step-extra-option-card {
    border-color: #252524;
    box-shadow: 0 0 0 1px #252524;
}

.wc-step-extra-option-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid #d1d1cb;
    border-radius: 50%;
    color: #a3a398;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: help;
    user-select: none;
}
/* ==========================================================================
   WC Step Variations - WooCommerce variatie-stappen
   ========================================================================== */

   /* :root {


      --color-black: #252524;
  --color-white: rgb(255 255 255);
  --color-gray: rgb(163 163 152);
  --color-gray-light: rgb(209 209 203);
  --color-ultra-light-gray: rgba(242, 242, 239);
  --color-primary: #E1251B;
  --color-secondary: #00B87A;
  --color-tertiary: #F0F0ED;
  --color-quaternary: #265B95;
  --color-text: #76766F;
  
  } */
  @theme {
    --color-black: rgb(51 51 48);
    --color-gray: rgb(118 118 111);
    --color-red: rgb(225 37 27);
    --color-green: rgb(0 184 122);
  }

/* --------------------------------------------------------------------------
   Base Step
   -------------------------------------------------------------------------- */
.variation-step {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0;
}

.variation-step:last-child {
    border-bottom: none;
}

.variation-step.wc-step-auto-skipped {
    display: none;
}

/* Cursor volgt klikgedrag:
   - dicht & ontgrendeld: hele step klikbaar
   - open: alleen header klikbaar
*/
.variation-step:not(.wc-step-active):not(.wc-step-locked) {
    cursor: pointer;
}

.variation-step.wc-step-active {
    cursor: default;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.wc-step-header {
    padding: 15px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #2d3748;
}

.wc-step-header .wc-step-name-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wc-step-header .wc-step-name {
    font-size: 19px;
    line-height: 120%;
    font-weight: 600;
}

.wc-step-help-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    margin: 0;
    border: none;
    background: transparent;
    color: var(--color-gray);
    cursor: pointer;
    border-radius: 50%;
    transition: color 0.2s;
}

.wc-step-help-trigger:hover {
    color: var(--color-black);
}

.wc-step-help-icon {
    display: block;
}

.wc-step-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wc-step-header .wc-step-selected-value {
    font-size: 15px;
    font-weight: 400;
    color: #A3A398;
}

.wc-step-selected-img {
    display: block;
    max-width: 48px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.wc-step-selected-img.wc-step-variation-img {
    max-width: 56px;
    max-height: 56px;
}

/* --------------------------------------------------------------------------
   Checkmark & Chevron
   -------------------------------------------------------------------------- */
.wc-step-check {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.variation-step.wc-step-completed .wc-step-check {
    display: inline-flex;
}

.wc-step-check svg {
    display: block;
}

.wc-step-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    flex-shrink: 0;
}

.wc-step-chevron .wc-step-chevron-icon {
    transition: transform 0.25s ease;
    transform: rotate(180deg);
}

.variation-step.wc-step-active .wc-step-chevron .wc-step-chevron-icon {
    transform: rotate(0deg);
}

/* --------------------------------------------------------------------------
   Content & States
   -------------------------------------------------------------------------- */
.wc-step-content {
    display: none;
    padding-right: 10px;
    padding-bottom: 20px;
    overflow: visible;
    box-sizing: border-box;
}

/* Compenseert padding-top op .wc-step-tiles-wrapper: visueel dezelfde positie */
.variation-step .wc-step-content > .value:has(.wc-step-tiles-wrapper) {
    margin-top: min(0px, -5px);
}

.variation-step.wc-step-active .wc-step-content {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.variation-step.wc-step-locked .wc-step-header {
    color: #a0aec0;
    cursor: not-allowed;
}

.variation-step.wc-step-completed:not(.wc-step-active) .wc-step-header {
    cursor: pointer;
}

.variation-step .label {
    margin-bottom: 8px;
    font-size: 16px;
}

/* --------------------------------------------------------------------------
   Tiles Wrapper & Overflow
   -------------------------------------------------------------------------- */
.wc-step-tiles-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
    padding-top: 5px;
    box-sizing: border-box;
    overflow: visible;
}

/* Eén rij met CSS Grid: kolommen vullen de breedte (1fr), min. 100px; --wc-step-cols komt uit JS (+N-logica). */
.wc-step-tiles-wrapper.wc-step-needs-row-layout:not(.wc-step-expanded) {
    display: grid;
    grid-template-columns: repeat(var(--wc-step-cols, 1), minmax(100px, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: visible;
    align-items: start;
    justify-items: stretch;
}

/* Uitgeklapt: zelfde kolombreedtes als eerste rij (--wc-step-cols uit ingeklapte layout); extra tegels wrappen naar volgende rijen. */
.wc-step-tiles-wrapper.wc-step-needs-row-layout.wc-step-expanded {
    display: grid;
    grid-template-columns: repeat(var(--wc-step-cols, 1), minmax(100px, 1fr));
    grid-auto-flow: row;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: visible;
    align-items: start;
    justify-items: stretch;
}

@media (prefers-reduced-motion: no-preference) {
    .wc-step-tiles-wrapper.wc-step-needs-row-layout:not(.wc-step-expanded),
    .wc-step-tiles-wrapper.wc-step-needs-row-layout.wc-step-expanded {
        transition: grid-template-columns 0.32s ease, gap 0.32s ease;
    }

    .wc-step-tiles-wrapper.wc-step-needs-row-layout > .wc-step-tile {
        transition: opacity 0.22s ease;
    }

    .wc-step-tiles-wrapper.wc-step-needs-row-layout .wc-step-image-wrap {
        transition: width 0.28s ease, max-width 0.28s ease;
    }

    .wc-step-overflow-tile .wc-step-overflow-count {
        transition: opacity 0.2s ease, transform 0.22s ease;
    }
}

.wc-step-tiles-wrapper.wc-step-needs-row-layout > .wc-step-tile {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.wc-step-tiles-wrapper.wc-step-needs-row-layout .wc-step-tile > .wc-step-tile-label {
    max-width: 100%;
    padding-left: 2px;
    padding-right: 2px;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.wc-step-tiles-wrapper.wc-step-needs-row-layout .wc-step-tile-option.is-variation-image .wc-step-image-wrap,
.wc-step-tiles-wrapper.wc-step-needs-row-layout .wc-step-tile-option.is-placeholder-icon .wc-step-image-wrap,
.wc-step-tiles-wrapper.wc-step-needs-row-layout .wc-step-tile-option.is-image .wc-step-image-wrap {
    width: 100%;
    height: 100px;
    max-width: none;
    align-self: center;
    box-sizing: border-box;
    flex-shrink: 0;
}

.wc-step-tiles-wrapper.wc-step-needs-row-layout .wc-step-tile-option.is-variation-image .wc-step-image-wrap img,
.wc-step-tiles-wrapper.wc-step-needs-row-layout .wc-step-tile-option.is-placeholder-icon .wc-step-image-wrap img,
.wc-step-tiles-wrapper.wc-step-needs-row-layout .wc-step-tile-option.is-image .wc-step-image-wrap img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    box-sizing: border-box;
    padding: 5px;
}

.wc-step-tiles-wrapper.wc-step-needs-row-layout .wc-step-tile-option.is-placeholder-icon .wc-step-image-wrap .wc-step-default-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
}

.wc-step-tiles-wrapper.wc-step-needs-row-layout .wc-step-tile-option.is-placeholder-icon .wc-step-image-wrap .wc-step-default-icon svg {
    width: 40%;
    max-width: 44px;
    height: auto;
}

.wc-step-tiles-wrapper.wc-step-needs-row-layout .wc-step-overflow-tile .wc-step-image-wrap {
    width: 100%;
    height: 100px;
    max-width: none;
    align-self: center;
    box-sizing: border-box;
    flex-shrink: 0;
}

.wc-step-tiles-wrapper.wc-step-needs-row-layout .wc-step-overflow-tile .wc-step-image-wrap img.wc-step-overflow-preview {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    box-sizing: border-box;
    padding: 5px;
}

.wc-step-tiles-wrapper.wc-step-needs-row-layout .wc-step-overflow-tile .wc-step-image-wrap .wc-step-default-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    opacity: 0.2;
}

.wc-step-tile-more {
    display: none !important;
}

.wc-step-tiles-wrapper.wc-step-expanded .wc-step-tile-more {
    display: inline-flex !important;
}

.wc-step-tiles-wrapper.wc-step-expanded .wc-step-overflow-tile {
    display: none !important;
}

.wc-step-overflow-tile.wc-step-overflow-hidden {
    display: none !important;
}

.wc-step-overflow-tile {
    cursor: pointer;
}

.wc-step-overflow-tile .wc-step-image-wrap {
    position: relative;
    background: var(--color-white, #fff);
}

.wc-step-overflow-tile .wc-step-overflow-count {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    text-shadow: 0 0 4px var(--color-white, #fff), 0 0 8px var(--color-white, #fff);
    z-index: 2;
}

.wc-step-overflow-tile .wc-step-image-wrap img.wc-step-overflow-preview,
.wc-step-overflow-tile .wc-step-image-wrap .wc-step-default-icon {
    opacity: 0.2;
}

.wc-step-overflow-tile:hover {
    opacity: 1;
}

.wc-step-overflow-tile .wc-step-tile-label .wc-step-chevron-down {
    display: inline-block;
    vertical-align: middle;
    margin-left: 2px;
}

/* --------------------------------------------------------------------------
   Base Tile
   -------------------------------------------------------------------------- */
.wc-step-tile {
    position: relative;
    background: var(--color-white, #fff);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    outline: none;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wc-step-tile:focus {
    outline: none;
    box-shadow: none;
}

.wc-step-tile:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

.wc-step-tile:focus-visible {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

.wc-step-tile.wc-step-tile-deselecting,
.wc-step-tile.wc-step-tile-deselecting .wc-step-image-wrap {
    pointer-events: none;
}

.wc-step-tile.wc-step-tile-deselecting .wc-step-image-wrap {
    border: 1px solid var(--color-gray-light, #D1D1CB) !important;
    transition: none !important;
}

/* --------------------------------------------------------------------------
   Tile Types
   -------------------------------------------------------------------------- */
.wc-step-tile .wc-step-image-wrap {
    position: relative;
    z-index: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white, #fff);
    border-radius: 12px;
    border: 1px solid var(--color-gray-light, #D1D1CB);
}

.wc-step-tile .wc-step-image-wrap .wc-step-default-icon,
.wc-step-tile .wc-step-image-wrap img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    padding: 5px;
}

/* Color swatches */
.wc-step-tile.is-color {
    padding: 6px;
    border-radius: 12px;
    width: 48px;
    height: 48px;
    background: var(--color-white, #fff);
    border: 1px solid var(--color-gray-light, #D1D1CB);
}

.wc-step-tile.is-color span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Variation image tiles */
.wc-step-tile.is-variation-image {
    flex-direction: column;
    width: auto;
    min-width: 100px;
    align-items: center;
    text-align: center;
}

.wc-step-tile.is-variation-image > .wc-step-tile-label {
    position: relative;
    z-index: 0;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.2;
    display: block;
    transition: color 0.25s ease;
}

.wc-step-tile.is-variation-image.has-color-swatch {
    position: relative;
}

.wc-step-tile.is-variation-image .wc-step-swatch-overlay {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--color-white, #fff);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

/* Placeholder icon tiles */
.wc-step-tile.is-placeholder-icon {
    flex-direction: column;
    width: auto;
    min-width: 100px;
    align-items: center;
    text-align: center;
}

.wc-step-tile.is-placeholder-icon .wc-step-image-wrap {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
}

.wc-step-tile.is-placeholder-icon .wc-step-default-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.wc-step-tile.is-placeholder-icon .wc-step-default-icon svg {
    width: 24px;
    height: 24px;
}

.wc-step-tile.is-placeholder-icon > .wc-step-tile-label {
    position: relative;
    z-index: 0;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-black, #333330);
    line-height: 1.2;
    display: block;
}

/* Image swatches */
.wc-step-tile.is-image {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.wc-step-tile.is-image > .wc-step-tile-label {
    position: relative;
    z-index: 0;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.2;
    display: block;
}

/* Card swatches */
.wc-step-tile.is-card {
    padding: 10px;
    flex-direction: column;
    width: 120px;
    text-align: center;
    justify-content: flex-start;
}

.wc-step-tile.is-card .wc-step-image-wrap img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
}

.wc-step-tile.is-card > .wc-step-tile-label {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #2d3748;
    line-height: 1.2;
}

/* Radio list swatches */
.wc-step-tiles-wrapper.type-radio {
    flex-direction: column;
    gap: 8px;
}

.wc-step-tile.is-radio {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 15px;
    text-align: left;
    display: flex;
    align-items: center;
    background: var(--color-white, #fff);
    border-radius: 12px;
    border: 1px solid var(--color-gray-light, #D1D1CB);
}

.wc-step-radio-ui {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e0;
    margin-right: 12px;
    position: relative;
    flex-shrink: 0;
}

.wc-step-tile.is-radio.selected .wc-step-radio-ui {
    border-color: #3182ce;
}

.wc-step-tile.is-radio.selected .wc-step-radio-ui::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #3182ce;
    border-radius: 50%;
}

.wc-step-radio-content {
    display: flex;
    flex-direction: column;
}

.wc-step-radio-label {
    font-weight: 600;
    color: #2d3748;
}

.wc-step-radio-desc {
    font-size: 12px;
    color: #718096;
    margin-top: 2px;
}

/* Label swatches */
.wc-step-tile.is-label {
    min-width: 80px;
    padding: 10px 16px;
    background: var(--color-white, #fff);
    border-radius: 12px;
    border: 1px solid var(--color-gray-light, #D1D1CB);
    text-align: center;
    font-weight: 500;
}

/* Zorg dat niet-image varianten ook een consistente tegelhoogte hebben */
.wc-step-tile.is-card,
.wc-step-tile.is-label,
.wc-step-tile.is-radio,
.wc-step-tile.is-color {
    min-height: 100px;
}

.wc-step-tile.is-label:hover {
    background: #edf2f7;
}

.wc-step-tile.is-label.selected {
    background: #3182ce;
    color: var(--color-white, #fff);
    border-color: #3182ce;
}

/* Tile states */
.wc-step-tile:hover:not(.selected) {
    border-color: #cbd5e0;
    background: var(--color-white, #fff);
}

.wc-step-tile.selected {
    background: var(--color-white, #fff);
    color: #2d3748;
    box-shadow: none;
}

/* --------------------------------------------------------------------------
   Product meta-balk: Beschrijving + Productnummer
   -------------------------------------------------------------------------- */
.wc-step-product-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 6px 0 12px;
    font-size: 0.85em;
    flex-wrap: wrap;
}

.wc-step-meta-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Rating inline in de balk */
.wc-step-meta-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wc-step-meta-rating .woocommerce-product-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    float: none;
}

.wc-step-meta-rating .star-rating {
    float: none;
    margin: 0;
}

/* Zelfde ster-styling als in product-usp-cta */
.woocommerce .star-rating::before {
    content: 'SSSSS' !important;
    color: rgba(255, 170, 0, 0.5) !important;
    opacity: 0.3 !important;
}

.woocommerce .star-rating span::before {
    color: #ffaa00;
}

.wc-step-review-count {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.wc-step-description-toggle {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.wc-step-description-toggle:hover, .wc-step-review-count:hover {
    color: var(--color-primary);
}

.wc-step-meta-bar-right {
    margin-left: auto;
}

.wc-step-sku-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--color-text);
}

.wc-step-sku-label {
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Deselecteer-knop rechtsboven in tile */
.wc-step-tile-deselect {
    display: none;
    position: absolute;
    top: -7px;
    right: -7px;
    width: 18px;
    height: 18px;
    padding: 0;
    background: #1a202c;
    border: 2px solid var(--color-white, #fff);
    border-radius: 50%;
    color: var(--color-white, #fff);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 30;
    transition: background 0.15s ease, transform 0.1s ease;
}

.wc-step-tile.is-color > .wc-step-tile-deselect,
.wc-step-tile.is-radio > .wc-step-tile-deselect {
    top: -4px;
    right: -4px;
}

.wc-step-tile-deselect:hover {
    background: #4a5568;
    transform: scale(1.15);
}

.wc-step-tile.selected .wc-step-tile-deselect {
    display: flex;
}

/* Geselecteerde rand/box-shadow blijft onder de deselect-knop (z-index) */
.wc-step-tile.selected .wc-step-image-wrap {
    z-index: 0;
}

.wc-step-tile.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f7fafc;
    color: #a0aec0;
    pointer-events: none;
    position: relative;
}

.wc-step-tile.disabled::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
}

.summary > .price {
    display: none !important;
}

/* --------------------------------------------------------------------------
   Price Summary
   -------------------------------------------------------------------------- */
.wc-step-price-card {
    background: var(--color-white, #fff);
    border-radius: 12px;
    margin-bottom: 25px;
    overflow: hidden;
    display: none;
}

.wc-step-price-card.visible {
    display: block;
}

.wc-step-price-summary {
    background: #fdfdfd;
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.woocommerce div.product form.cart .wc-step-price-card div.quantity, .woocommerce div.product form.cart .button {
    float: none !important;
}

.wc-step-price-summary[style*="display: none"] {
    display: none !important;
}

.wc-step-price-left {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 120px;
}

.wc-step-price-left .label {
    font-size: 19px;
    font-weight: 600;
    color: #252524;
    line-height: 120%;
    margin-bottom: 12px;
}

.wc-step-price-summary .wc-step-big-price {
    font-size: 23px !important;
    font-weight: 600;
    color: #76766f;
    line-height: 120%;
}

.wc-step-price-summary .wc-step-big-price .price-decimals,
.wc-step-price-summary .wc-step-big-price .price-sep {
    font-size: inherit;
    font-weight: inherit;
    vertical-align: baseline;
    margin-left: 0;
}

.wc-step-price-card > .wc-step-price-summary .wc-step-price-right {
    flex: 0 0 var(--wc-step-summary-right-width, 50%);
    max-width: var(--wc-step-summary-right-width, 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    border-left: 0;
    padding-left: 0;
    margin-left: auto;
}

.wc-step-price-card > .wc-step-price-summary .wc-step-summary-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 16px;
    font-size: 15px;
    line-height: 1.3;
    color: #333330;
}

.wc-step-summary-row .label {
    color: #333330;
    font-weight: 500;
}

.wc-step-price-card > .wc-step-price-summary .wc-step-summary-row .value {
    font-weight: 400;
    color: var(--color-text);
    text-align: right;
    justify-self: end;
}

/* Verzending loader */
.val-shipping.val-shipping-loading,
.mini-val-shipping.val-shipping-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.val-shipping-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-top-color: #6b7280;
    border-radius: 50%;
    animation: wc-step-spin 0.7s linear infinite;
}

.wc-step-price-card > .wc-step-price-summary .wc-step-summary-row .value.val-shipping-free,
.product-mini-summary .mini-breakdown-inner.wc-step-price-summary .wc-step-summary-row .value.val-shipping-free,
.wc-step-summary-row .value.val-shipping-free,
.wc-step-summary-row .value.mini-val-shipping.val-shipping-free {
    color: var(--color-green, var(--color-green-600, #00b87a));
}

.wc-step-summary-row.total {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
    font-weight: 600;
    font-size: 16px;
    color: #252524;
}

.wc-step-summary-row.total .value {
    font-weight: 500;
}

/* Add to cart inside price card */
.wc-step-price-card-actions {
    padding: 0 24px 24px;
}

.wc-step-price-card-actions .woocommerce-variation-add-to-cart {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wc-step-price-card-actions .single_add_to_cart_button {
    width: 100%;
    background: var(--color-primary, #E1251B) !important;
    color: var(--color-white, #fff) !important;
    border: none !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 100px !important;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
}

.wc-step-price-card-actions .single_add_to_cart_button:hover {
    background: var(--color-primary-dark, #c41e15) !important;
    opacity: 0.95;
}

.wc-step-price-card-actions .single_add_to_cart_button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Variabel product zonder staffelprijzen:
   toon quantity naast CTA zoals in design. */
.wc-step-price-card-actions.wc-step-price-card-actions--show-quantity .woocommerce-variation-add-to-cart {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.wc-step-price-card-actions.wc-step-price-card-actions--show-quantity .quantity {
    display: flex !important;
    float: none !important;
    margin: 0 !important;
    width: 114px;
    min-width: 114px;
    height: 47px;
    border: 1px solid #d1d1cb;
    border-radius: 8px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.wc-step-price-card-actions.wc-step-price-card-actions--show-quantity .quantity .qty {
    width: 42px;
    min-width: 42px;
    height: 100%;
    appearance: textfield;
    -moz-appearance: textfield;
    border: 0 !important;
    padding: 0 !important;
    text-align: center;
    font-size: 15px;
    line-height: 1.8;
    color: #252524;
    background: transparent;
}

.wc-step-price-card-actions.wc-step-price-card-actions--show-quantity .quantity .minus,
.wc-step-price-card-actions.wc-step-price-card-actions--show-quantity .quantity .plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 100%;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #a3a398 !important;
    font-size: 22px;
    line-height: 1;
}

.wc-step-price-card-actions.wc-step-price-card-actions--show-quantity .quantity .qty::-webkit-outer-spin-button,
.wc-step-price-card-actions.wc-step-price-card-actions--show-quantity .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wc-step-price-card-actions.wc-step-price-card-actions--show-quantity .single_add_to_cart_button {
    flex: 1 1 auto;
    width: auto;
    margin: 0 !important;
    min-height: 47px;
    border-radius: 999px !important;
    padding: 10px 16px !important;
    font-size: 15px !important;
}

/* Toelichting onder bestelknop (ACF options) – buiten de prijscard */
.wc-step-toelichting-onder-bestelknop {
    margin-top: 20px;
    font-size: 0.9em;
    line-height: 1.5;
    color: var(--color-text);
}

.wc-step-toelichting-onder-bestelknop p:last-child {
    margin-bottom: 0;
}

/* Verberg dubbele prijs en quantity in price card - prijs staat al links, quantity in tiered step of default */
.wc-step-price-card-actions .single_variation,
.wc-step-price-card-actions .woocommerce-variation-price,
.wc-step-price-card-actions .quantity {
    display: none !important;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.single_variation_wrap {
    margin-top: 20px;
}

.wc-step-hidden-select {
    opacity: 0 !important;
    position: absolute !important;
    z-index: -1 !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    display: inline-block !important;
}

.variations label {
    font-weight: 600;
    color: #2d3748;
}

/* --------------------------------------------------------------------------
   Product Summary (single product page)
   -------------------------------------------------------------------------- */
@media (width >= 1024px) {
    .summary .variations_form {
        margin-top: 40px;
    }
}
.summary .variations_form .variation-step {
    background-color: var(--color-white, #fff);
    padding: 24px 24px 20px 24px;
    border-radius: var(--radius-lg, 16px);
    margin-bottom: 20px;
    border: unset;
}

.summary .variations_form .variation-step .wc-step-header {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-black, #333330);
    padding: 0;
}

.summary .variations_form .variation-step .wc-step-content {
    padding-bottom: 0;
    padding-top: 0;
    padding-right: 0;
}

.summary .variations_form .variation-step .wc-step-content > .value:has(.wc-step-tiles-wrapper) {
    margin-top: 0;
}

.summary .variations_form .variation-step .wc-step-tiles-wrapper {
    padding-top: 5px;
}

.summary .wc-step-tiles-wrapper.wc-step-needs-row-layout:not(.wc-step-expanded),
.summary .wc-step-tiles-wrapper.wc-step-needs-row-layout.wc-step-expanded {
    margin-top: 0;
    padding-left: 1px;
}

.summary .variations_form .variation-step.wc-step-completed .wc-step-header,
.summary .variations_form .variation-step.wc-step-locked .wc-step-header {
    padding-bottom: 0;
}

.summary .variations_form .variation-step.wc-step-active .wc-step-header {
    padding: 0 0 12px 0;
}

.summary .wc-step-selected-value {
    color: var(--color-gray, #a3a398);
}

.summary .wc-step-tile.is-variation-image .wc-step-image-wrap,
.summary .wc-step-tile.is-image .wc-step-image-wrap,
.summary .wc-step-tile.is-placeholder-icon .wc-step-image-wrap {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white, #fff);
    border-radius: 12px;
    border: 1px solid var(--color-gray-light, #D1D1CB);
    transition: border 0.2s ease;
}

.summary .wc-step-tile.is-placeholder-icon .wc-step-image-wrap {
    background: #e2e8f0;
}

.summary .wc-step-tile.is-variation-image .wc-step-tile-label,
.summary .wc-step-tile.is-placeholder-icon .wc-step-tile-label {
    transition: color 0.25s ease;
    font-weight: 500;
}

.summary .wc-step-tile:hover .wc-step-image-wrap {
    border: 1px solid var(--color-black, #333330);
}

.summary .wc-step-tile:hover .wc-step-tile-label {
    color: #1a1a1a !important;
    font-weight: 600 !important;
}

.summary .wc-step-tile.is-variation-image > .wc-step-tile-label,
.summary .wc-step-tile.is-placeholder-icon > .wc-step-tile-label,
.summary .wc-step-tile.is-image > .wc-step-tile-label,
.summary .wc-step-tile.is-card > .wc-step-tile-label {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-black, #333330);
    line-height: 1.2;
    display: block;
}

.summary .wc-step-tile.selected {
    border: unset;
}

.summary .wc-step-tile.selected .wc-step-image-wrap,
.summary .wc-step-tile.selected:hover .wc-step-image-wrap {
    border: 1px solid var(--color-black, #333330);
    box-shadow: 0 0 0 1px var(--color-black, #333330);
}

.summary .wc-step-tile.selected .wc-step-tile-label {
    color: var(--color-black, #333330) !important;
    /* font-weight gelijk houden - voorkomt layout shift bij wisselen */
}

.summary .wc-step-tile:hover:not(.selected) {
    border-color: #cbd5e0;
    background: var(--color-white, #fff);
}

/* --------------------------------------------------------------------------
   Upload sectie (binnen variation-step)
   -------------------------------------------------------------------------- */
.wc-step-upload-section {
    margin-top: 40px;
    max-height: 600px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.25s ease, margin-top 0.3s ease;
}

.wc-step-upload-section.wc-step-upload-hidden {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    pointer-events: none;
}

.wc-step-upload-title-row,
.wc-step-cart-upload-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
}

.wc-step-upload-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-black);
    margin: 0;
    flex-shrink: 0;
}

.wc-step-upload-notice {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #76766F;
    flex-shrink: 1;
}

.wc-step-upload-notice-icon {
    flex-shrink: 0;
    opacity: 0.7;
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .wc-step-upload-title-row .wc-step-upload-notice,
    .wc-step-cart-upload-title-row .wc-step-upload-notice {
        max-width: 360px;
        justify-content: flex-end;
        text-align: right;
        padding-left: 50px;
        gap: 3px;
    }

    .wc-step-upload-title-row .wc-step-upload-notice-text,
    .wc-step-cart-upload-title-row .wc-step-upload-notice-text {
        white-space: normal;
        line-height: 1.25;
    }
}

.wc-step-upload-title-text {
    position: relative;
    display: inline;
}

.wc-step-upload-required-badge {
    position: absolute;
    left: 100%;
    margin-left: 10px;
    top: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #d63638;
    white-space: nowrap;
}

.wc-step-upload-zone {
    border: 1px dashed var(--color-gray, #a3a398);
    border-radius: 8px;
    padding: 28px 30px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    min-height: 96px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.wc-step-upload-zone .wc-step-upload-inner {
    width: 100%;
}

/* Skeleton loading: gelijk aan wc-smart-filters product cards */
/* +2px hoogte t.o.v. standaard (1px border) zodat hoogte gelijk blijft */
.wc-step-upload-zone.wc-step-upload-loading {
    position: relative;
    min-height: 98px;
    border-style: solid;
    border-color: var(--wcsf-border, #e5e7eb);
    background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
    background-size: 600px 100%;
    animation: wcsf-shimmer 1.4s ease-in-out infinite;
}

.wc-step-upload-zone.wc-step-upload-loading .wc-step-upload-inner {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: -9999px;
}

.wc-step-upload-zone .wc-step-upload-indicator {
    width: 100%;
    max-width: 100%;
}

@keyframes wcsf-shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position: 600px 0; }
}

.wc-step-upload-zone:hover {
    border-color: var(--color-gray, #a3a398);
    background: #f5f5f5;
}

.wc-step-upload-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Icoon verbergen wanneer bestand geüpload is */
.wc-step-upload-zone.wc-step-upload-has-file .wc-step-upload-icon {
    display: none;
}

.wc-step-upload-instruction,
.wc-step-upload-filename-wrap {
    flex: 1;
    min-width: 180px;
    font-size: 14px;
    color: var(--color-black, #333330);
}

.wc-step-upload-filename-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.wc-step-upload-file-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.wc-step-upload-file-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-black, #333330);
}

.wc-step-upload-filename {
    font-size: 14px;
    color: #6b7280;
}

.wc-step-upload-remove {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: none;
    background: none;
    color: var(--color-gray, #a3a398);
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.wc-step-upload-remove-icon {
    flex-shrink: 0;
}

.wc-step-upload-remove:hover {
    color: var(--color-red);
}

.wc-step-upload-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--color-primary, #E1251B);
    color: var(--color-white, #fff) !important;
    font-weight: 600;
    font-size: 14px;
    border-radius: 100px;
    cursor: pointer;
    overflow: hidden;
    transition: background-color 0.2s ease;
}

.wc-step-upload-button::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--color-secondary, #00B87A);
    transition: width 5s ease-out;
    z-index: 0;
}

.wc-step-upload-button .wc-step-upload-button-text {
    position: relative;
    z-index: 1;
}

.wc-step-upload-button.is-filling::before {
    width: 100%;
}

.wc-step-upload-button:hover:not(.is-filling) {
    background: var(--color-primary-dark, #c41e15);
}

.wc-step-upload-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}


.wc-step-upload-footer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 12px 0 0;
}

.wc-step-upload-requirements {
    margin: 0;
    font-size: 13px;
    color: #76766F;
    margin-top: 10px;
}

.wc-step-upload-skip {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #252524;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1.4;
}

.wc-step-upload-skip:hover {
    color: var(--color-primary);
}

.wc-step-upload-error {
    margin: 12px 0 0;
    font-size: 14px;
    color: var(--color-red);
}

.wc-step-upload-has-error .wc-step-upload-zone {
    border-color: var(--color-red);
    background-color: #fcf0f0;
}

/* Upload indicator: gelijk aan wc-smart-filters loading bar */
.wc-step-upload-indicator {
    position: relative;
}

.wc-step-upload-indicator .wcsf-loading-bar {
    position: relative;
    width: 100%;
    height: 3px;
    background: var(--wcsf-border, var(--color-border, #e5e7eb));
    border-radius: 2px;
    overflow: hidden;
}

.wc-step-upload-indicator .wcsf-loading-bar-inner {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--wcsf-primary, var(--color-primary, #E1251B));
    border-radius: 2px;
    animation: wcsf-progress 1.6s ease-in-out infinite;
}

.wc-step-upload-success {
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-secondary, #00B87A);
}

@keyframes wcsf-progress {
    0%   { left: -35%; width: 35%; }
    60%  { left: 100%; width: 100%; }
    100% { left: 100%; width: 35%; }
}

.wc-step-upload-progress {
    margin-top: 12px;
}

.wc-step-upload-progress-bar {
    height: 6px;
    background: #e5e5e5;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.wc-step-upload-progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--color-green);
    border-radius: 3px;
    transition: width 0.2s ease;
}

.wc-step-upload-progress-text {
    font-size: 12px;
    color: var(--color-gray, #a3a398);
}

.wc-step-upload-progress-error .wc-step-upload-progress-fill {
    background: var(--color-red);
}

/* Cart: upload full-width onder item – gebruikt zelfde .wc-step-upload-* classes als productpagina */
.wc-step-cart-upload-full-width {
    width: 100%;
}

.wc-step-cart-upload-full-width .wc-step-upload-section {
    margin-top: 0;
    max-height: none;
}

/* Solid border wanneer er al een bestand is geüpload (geen titel/notice) */
.wc-step-cart-upload-full-width:not(.wc-step-cart-upload-empty) .wc-step-upload-zone {
    border-style: solid;
}

.wc-step-cart-upload-full-width .wc-step-upload-zone.wc-step-upload-loading {
    position: relative;
    border-style: solid;
    border-color: var(--wcsf-border, #e5e7eb);
    background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
    background-size: 600px 100%;
    animation: wcsf-shimmer 1.4s ease-in-out infinite;
}

.wc-step-price-card-actions--show-quantity {
    display: flex;
    gap: 12px;
}

.wc-step-cart-upload-full-width .wc-step-upload-zone.wc-step-upload-loading .wc-step-upload-inner {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: -9999px;
}

.wc-step-cart-upload-full-width .wc-step-upload-zone.wc-step-upload-loading .wc-step-upload-indicator {
    display: block !important;
}

.wc-step-cart-upload-full-width .wc-step-upload-zone .wc-step-upload-file-info {
    flex: 1;
    min-width: 0;
}

.wc-step-cart-upload-full-width .wc-step-upload-zone a.wc-step-upload-filename {
    color: var(--color-gray);
    text-decoration: none;
    font-weight: normal;
}

.wc-step-cart-upload-full-width .wc-step-upload-zone a.wc-step-upload-filename:hover {
    color: var(--color-black, #333330);
}

.wc-step-cart-upload-remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-gray, #a3a398);
    font-size: 14px;
    text-decoration: none !important;
    font-weight: normal !important;
    flex-shrink: 0;
}

.wc-step-cart-upload-remove:hover {
    color: var(--color-red);
}

/* Add-to-cart melding bij de button (niet bij upload) */
.wc-step-add-to-cart-notice {
    margin-top: 16px;
}

/* Verberg "Bekijk winkelwagen" in de price card / add-to-cart-notice */
.wc-step-price-card .wc-forward,
.wc-step-add-to-cart-notice .wc-forward {
    display: none !important;
}

/* Add-to-cart loading indicator */
.single_add_to_cart_button.wc-step-add-to-cart-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.85;
}

.wc-step-add-to-cart-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: var(--color-white, #fff);
    border-radius: 50%;
    animation: wc-step-spin 0.7s linear infinite;
}

@keyframes wc-step-spin {
    to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   Help modal (vraagteken uitleg)
   -------------------------------------------------------------------------- */
.wc-step-help-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    padding: 20px;
}

.wc-step-help-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.wc-step-help-modal-content {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: 100%;
    background: var(--color-white, #fff);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.wc-step-help-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 33px;
    height: 33px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, transform 0.2s;
}

.wc-step-help-modal-close:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

.wc-step-help-modal-close svg {
    display: block;
}

.wc-step-help-modal-title {
    margin: 0;
    padding: 24px 52px 16px 24px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-black);
}

.wc-step-help-modal-body {
    padding: 40px 60px 0px 40px;
    overflow-y: auto;
    h3 {
        color: var(--color-black);
        margin-bottom: 12px;
        margin-top: 40px;
        &:first-child {
            margin-top: 0;
        }
    }
    img {
        padding: 40px 0;
    }
}

.wc-step-help-modal-body p:first-child {
    margin-top: 0;
}

.wc-step-help-modal-body p:last-child {
    margin-bottom: 0;
}

.val-toeslagen-calc small,
.mini-val-toeslagen-calc small {
    font-size: 0.8em;
    opacity: 0.6;
    font-weight: 400;
    display: block;
    margin-top: 1px;
}

/* Variatie samenvatting in de price card */
.wc-step-variation-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.02);
}

.wc-step-variation-image-wrap {
    flex: 0 0 56px;
}

.wc-step-variation-image {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.wc-step-selected-attrs {
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wc-step-selected-attrs li {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 0.82em;
    line-height: 1.4;
}

.wc-step-attr-label {
    font-weight: 600;
    opacity: 0.7;
    white-space: nowrap;
    flex-shrink: 0;
}

.wc-step-attr-label::after {
    content: ':';
}

.wc-step-attr-value {
    color: inherit;
}

/* Sidebar mini-summary: geselecteerde attributen */
.product-mini-summary__selected-attrs {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-mini-summary__selected-attrs li {
    font-size: 0.8em;
    color: inherit;
    opacity: 0.75;
    line-height: 1.4;
}

.product-mini-summary__selected-attrs .mini-attr-label {
    font-weight: 600;
}

/* Aantal-regel in mini-summary */
.product-mini-summary__qty-wrap {
    font-size: 0.82em;
    opacity: 0.75;
    white-space: nowrap;
}

.product-mini-summary__qty-label {
    font-weight: 600;
}

.product-mini-summary__price {
    flex-direction: column;
    gap: 4px;
}

/* Toggle verborgen zolang er nog niets geselecteerd is */
.product-mini-summary:not(.has-price) .product-mini-summary__price-toggle {
    pointer-events: none;
}

.product-mini-summary:not(.has-price) .mini-summary-chevron {
    display: none;
}

/* Toggle-knop totaalprijs */
.product-mini-summary__price-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: left;
}

.product-mini-summary__price-label {
    font-size: 0.82em;
    font-weight: 400;
    opacity: 0.65;
    white-space: nowrap;
}

.product-mini-summary__price-toggle .product-mini-summary__price-html {
    font-weight: 700;
}

.mini-summary-chevron {
    flex-shrink: 0;
    transition: transform 0.22s ease;
    opacity: 0.55;
}

.product-mini-summary__price-toggle[aria-expanded="true"] .mini-summary-chevron {
    transform: rotate(180deg);
}

/* Breakdown panel — volledige breedte onder de afbeelding+tekst rij */
.product-mini-summary__breakdown {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.22s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.product-mini-summary__breakdown.is-open {
    max-height: 500px;
    opacity: 1;
    margin-top: 12px;
}

/* Hergebruik .wc-step-price-summary maar zonder achtergrond/padding */
.mini-breakdown-inner.wc-step-price-summary {
    background: transparent;
    padding: 0;
}

.product-mini-summary .mini-breakdown-inner.wc-step-price-summary .wc-step-price-right {
    flex: 0 0 var(--wc-step-summary-right-width, 50%);
    max-width: var(--wc-step-summary-right-width, 50%);
}

.product-mini-summary .mini-breakdown-inner.wc-step-price-summary .wc-step-summary-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 16px;
}

.product-mini-summary .mini-breakdown-inner.wc-step-price-summary .wc-step-summary-row .value {
    text-align: right;
    justify-self: end;
}

/* Groot getal in mini-summary iets kleiner dan in de card */
.mini-big-price.wc-step-big-price {
    font-size: 1.8em;
}

/* --------------------------------------------------------------------------
   Mini-summary: vaste onderbalk mobiel (<1024px), collapse naar boven
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
    .single-product [id^='product-'].product {
        padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
    }

    /* Mobiel standaard in-flow; fixed wordt pas geactiveerd via .is-mobile-stuck. */
    .product-mini-summary--mobile-bottom {
        position: static !important;
        margin: 0;
        /* Blur background effect */
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        /* Gradient van wit (boven) naar 0.5 opacity (onder) voor zachte overgang */
        background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.4) 100%);
    }

    .product-mini-summary--mobile-bottom.is-mobile-stuck { 
        position: fixed !important;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
    }

    .product-mini-summary--mobile-bottom:not(.is-mobile-sheet-open) .product-mini-summary__sheet-body {
        max-height: 0;
        margin: 0;
        padding-top: 0;
        padding-bottom: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.38s ease, opacity 0.28s ease, margin 0.28s ease;
    }

    .product-mini-summary--mobile-bottom.is-mobile-sheet-open .product-mini-summary__sheet-body {
        max-height: min(72vh, 520px);
        margin-bottom: 0;
        padding-top: 0.75rem;
        overflow-x: hidden;
        overflow-y: auto;
        opacity: 1;
        pointer-events: auto;
        -webkit-overflow-scrolling: touch;
        transition: max-height 0.38s ease, opacity 0.28s ease, margin 0.28s ease;
    }

    /* Alleen knop: toggle-rij volledig verborgen tot het paneel open is */
    .product-mini-summary--mobile-bottom:not(.is-mobile-sheet-open) .product-mini-summary__sheet-toggle {
        display: none !important;
    }

    .product-mini-summary__sheet-pill {
        display: block;
        width: 36px;
        height: 4px;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.12);
    }

    .product-mini-summary__sheet-chevron {
        flex-shrink: 0;
        color: rgba(0, 0, 0, 0.45);
        transition: transform 0.28s ease;
    }

    .product-mini-summary--mobile-bottom.is-mobile-sheet-open .product-mini-summary__sheet-chevron {
        transform: rotate(180deg);
    }

    .product-mini-summary__actions {
        margin-top: 0;
    }
}

@media (min-width: 1024px) {
    .product-mini-summary__sheet-body {
        max-height: none !important;
        opacity: 1 !important;
        overflow: visible !important;
    }

    .product-mini-summary__sheet-toggle {
        display: none !important;
    }

    /* Ruimte boven CTA: theme-Tailwind scant plugin-PHP soms niet → lg:mt-5 ontbreekt dan in build */
    .product-mini-summary__actions {
        margin-top: 1.25rem;
    }
}

@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
    .product-mini-summary--mobile-bottom:not(.is-mobile-sheet-open) .product-mini-summary__sheet-body,
    .product-mini-summary--mobile-bottom.is-mobile-sheet-open .product-mini-summary__sheet-body {
        transition: none;
    }

    .product-mini-summary__sheet-chevron {
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   Add-to-cart succesmelding (screenshot-stijl)
   -------------------------------------------------------------------------- */
.woocommerce-notices-wrapper.wc-step-notices-top {
    position: relative;
    top: 0;
    margin-top: 0;
    margin-bottom: 1rem;
}

.wc-step-add-to-cart-notice-banner.woocommerce-message::before {
    display: none !important;
}

.woocommerce-message, .woocommerce-message:before, .woocommerce-message:after {
    all: unset !important;
}

.wc-step-add-to-cart-notice-banner.woocommerce-message {
    background: var(--color-white, #fff) !important;
    border: 1px solid var(--color-gray-light, #d1d1cb);
    

    box-shadow: none;
}

.wc-step-atonb-inner {
    background: var(--color-white, #fff) !important;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 20px;
    border-radius: 20px;
    margin-bottom: 60px !important;
}

.wc-step-atonb-image {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-white, #ffffff);
    border: 1px solid var(--color-gray-light, #d1d1cb);
}

.wc-step-atonb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wc-step-atonb-text {
    flex: 1;
    font-size: 15px;
    color: var(--color-black, #252524);
    line-height: 1.8;
}

.wc-step-atonb-text strong {
    font-weight: 600;
}

.wc-step-atonb-text-muted {
    color: var(--color-gray, #76766f);
}

.wc-step-atonb-button {
    flex-shrink: 0;
    background: var(--color-red, #E1251B) !important;
    color: var(--color-white, #fff) !important;
    border: none !important;
    border-radius: 9999px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.wc-step-atonb-button:hover {
    background: var(--color-primary-dark, #c41e16) !important;
    color: var(--color-white, #fff) !important;
}

/* Extra kosten uitsplitsing in winkelmand / checkout */
.wc-step-extra-costs-line {
    display: block;
    opacity: 0.85;
    color: var(--color-gray);
}
.wc-step-extra-costs-detail {
    padding-left: 0;
    color: var(--color-gray);
}

