/* Adaptation layer: original BootstrapMade theme styles + shared shop behavior. */
.shop-theme {
  --primary: var(--accent-color); --text: var(--default-color); --bg: var(--background-color);
  --font: var(--default-font); --accent: var(--shop-soft, color-mix(in srgb, var(--accent-color), transparent 94%));
  --muted: color-mix(in srgb, var(--default-color), transparent 25%);
  --line: color-mix(in srgb, var(--default-color), transparent 86%); --radius: 8px;
  font-size: 16px; line-height: 1.6;
}
.shop-theme h1, .shop-theme h2, .shop-theme h3 { font-weight: 700; }
.shop-theme .container { max-width: 1320px; }
.shop-skip { position: absolute; top: -100px; z-index: 100; background: var(--surface-color); padding: 12px; }
.shop-skip:focus { top: 0; }
.shop-theme :focus-visible { outline: 3px solid var(--accent-color); outline-offset: 4px; }
.shop-utility { background: var(--shop-soft, color-mix(in srgb, var(--accent-color), transparent 95%)); font-size: 13px; }
.shop-utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.shop-utility .bi { margin-right: 6px; }
.shop-main-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; }
.shop-theme .shop-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--heading-color); font: 800 26px var(--heading-font); text-decoration: none; overflow-wrap: anywhere; }
.shop-theme .shop-brand img { max-height: 44px; width: 44px; object-fit: contain; }
.shop-actions { display: flex; align-items: center; gap: 30px; flex-shrink: 0; }
.shop-actions a { display: flex; align-items: center; position: relative; gap: 8px; color: var(--default-color); font-size: 14px; }
.shop-actions .bi { font-size: 25px; }
.shop-cart-count { font-size: 11px; background: var(--accent-color); color: var(--contrast-color); border-radius: 50%; min-width: 19px; height: 19px; display: grid; place-items: center; }
.shop-navigation { border-block: 1px solid var(--line); }
.shop-desktop-nav { display: flex; flex-wrap: wrap; gap: 32px; padding: 17px 0; }
.shop-desktop-nav a { color: var(--default-color); font-family: var(--nav-font); font-weight: 500; }
.shop-desktop-nav a:hover { color: var(--accent-color); }
.shop-mobile-nav { display: none; }
.shop-main { min-height: 45vh; }
.shop-main > :not(.block):not([hidden]) { width: min(100% - 48px, 1296px); margin: 48px auto; }
.shop-main > .block > section:not(.shop-hero):not(.shop-slider),
.shop-main > .block > .prose,
.shop-main > .block > figure,
.shop-main > .block > aside { width: min(100% - 48px, 1296px); margin: 56px auto; }
.shop-theme .shop-hero { display: block; padding-block: 72px; }
.shop-theme .shop-hero h1, .shop-theme .shop-hero-title { font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1.15; text-wrap: balance; }
.shop-theme .hero-cta a { min-height: 44px; }
.shop-theme .hero-image .main-product { max-height: 620px; object-fit: contain; }
.shop-theme .hero-image .floating-product { text-decoration: none; color: var(--default-color); }
.shop-theme .hero-image .floating-product img { object-fit: contain; }
.shop-theme .hero-image .floating-product .product-info { display: grid; }
.shop-theme .hero-image .floating-product .product-info span:first-child { font-size: 14px; }
.shop-theme .button { border-radius: 5px; padding: 12px 24px; background: var(--accent-color); color: var(--contrast-color); }
.shop-theme .button--ghost { background: transparent; color: var(--accent-color); border: 1px solid var(--accent-color); }
.shop-theme .button:disabled { opacity: .55; }
.shop-theme .shop-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 0; list-style: none; margin: 28px 0; }
.shop-product-card { min-width: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; background: var(--surface-color); }
.shop-product-image { display: block; position: relative; background: color-mix(in srgb, var(--default-color), transparent 97%); }
.shop-product-image img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .2s; }
.shop-product-image:hover img { transform: scale(1.025); }
.shop-product-info { padding: 20px; }
.shop-product-info h3 { font-size: 17px; line-height: 1.4; margin: 0 0 8px; }
.shop-product-info h3 a { color: var(--heading-color); }
.shop-product-price { font-weight: 700; color: var(--accent-color); margin-bottom: 12px; }
.shop-product-price s { font-size: 13px; color: var(--muted); font-weight: 400; }
.shop-product-link { font-size: 13px; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.shop-stock-label { position: absolute; left: 12px; top: 12px; font-size: 12px; padding: 4px 8px; background: var(--surface-color); color: var(--default-color); }
.shop-image-empty { display: grid; place-items: center; aspect-ratio: 1; padding: 20px; color: var(--muted); }
.shop-theme .product { display: grid; gap: 64px; grid-template-columns: 1fr 1fr; align-items: start; }
.shop-theme .product__image { aspect-ratio: 1; object-fit: contain; background: var(--accent); }
.shop-theme .product h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.shop-theme .product__price { color: var(--accent-color); }
.shop-theme .crumbs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.shop-theme .stack-form { max-width: none; gap: 18px; }
.shop-theme form label { gap: 8px; }
.shop-theme input:not([type=checkbox]):not([type=hidden]), .shop-theme select { min-height: 46px; border-radius: 4px; background: var(--surface-color); width: 100%; }
.shop-theme .add-to-cart input { width: 90px; }
.shop-theme .inline-form input { width: auto; max-width: 100%; }
.shop-theme .stack-form .row { margin: 0; }
.shop-theme .stack-form .row > * { padding: 0; width: auto; max-width: none; }
.shop-theme .checkout__grid { gap: 48px; margin-top: 32px; align-items: start; }
.shop-theme .checkout__grid > div { padding: 32px; background: var(--accent); border-radius: 8px; }
.shop-theme .totals { max-width: none; padding-block: 20px; border-top: 1px solid var(--line); margin-top: 24px; }
.shop-theme .cart__items li { padding: 20px; background: var(--surface-color); }
.shop-theme .cart__items li > * { min-width: 0; }
.shop-theme .status { color: var(--default-color); }
.shop-theme .status--paid { color: var(--contrast-color); }
.shop-theme .feedback--error { color: #b3261e; }
.shop-theme .content-benefits { background: var(--accent); padding: 28px; border-radius: 8px; }
.shop-theme .content-benefit .bi { color: var(--accent-color); font-size: 32px; }
.shop-theme .content-promo { background: var(--accent); border-radius: 8px; }
.shop-theme .content-category { background: var(--surface-color); }
.shop-theme .content-category img { background: var(--accent); }
.shop-footer { margin-top: 64px; padding: 56px 0; border-top: 1px solid var(--line); background: var(--shop-soft, color-mix(in srgb, var(--accent-color), transparent 97%)); }
.shop-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.shop-footer p { margin: 20px 0 0; }
.shop-footer nav, .shop-footer address { display: flex; flex-direction: column; align-items: start; gap: 12px; font-size: 14px; font-style: normal; overflow-wrap: anywhere; }
.shop-footer a { color: var(--default-color); }
@media (max-width: 991px) {
  .shop-theme .shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .shop-theme .shop-hero { padding-block: 40px; }
  .shop-theme .product { gap: 32px; }
  .shop-footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-footer-grid > div { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .shop-main-header { padding-block: 18px; gap: 16px; }
  .shop-theme .shop-brand { font-size: 21px; }
  .shop-actions { gap: 16px; }
  .shop-actions a > span { display: none; }
  .shop-actions .bi { font-size: 24px; }
  .shop-utility-inner { justify-content: center; font-size: 12px; }
  .shop-utility-inner > a, .shop-utility-inner > span:last-child { display: none; }
  .shop-desktop-nav { display: none; }
  .shop-mobile-nav { display: block; padding-block: 12px; }
  .shop-mobile-nav summary { list-style: none; cursor: pointer; min-height: 28px; }
  .shop-mobile-nav nav { display: grid; gap: 8px; padding-top: 12px; }
  .shop-mobile-nav nav a { padding: 8px 0; color: var(--default-color); }
  .shop-main > :not(.block):not([hidden]), .shop-main > .block > section:not(.shop-hero):not(.shop-slider), .shop-main > .block > .prose, .shop-main > .block > figure, .shop-main > .block > aside { width: calc(100% - 32px); margin-block: 32px; }
  .shop-theme .product, .shop-theme .checkout__grid { grid-template-columns: 1fr; }
  .shop-theme .stack-form .row { grid-template-columns: 1fr; }
  .shop-theme .shop-product-grid { gap: 12px; }
  .shop-product-info { padding: 12px; }
  .shop-product-info h3 { font-size: 15px; }
  .shop-product-link { font-size: 12px; }
  .shop-theme .checkout__grid > div { padding: 20px; }
  .shop-theme .cart__items li { grid-template-columns: 48px 1fr; gap: 12px; padding: 12px; }
  .shop-footer-grid { gap: 24px; }
  .shop-footer { padding: 32px 0; }
}
@media (prefers-reduced-motion: reduce) { .shop-theme *, .shop-theme *::before, .shop-theme *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
@media (max-width: 760px) {
  .shop-theme .hero-image .floating-product { position: static; transform: none; animation: none; width: 100%; margin-top: 12px; }
  .shop-theme .hero-image .main-product { max-height: 420px; }
}
.tpl-fashionstore .shop-product-card { border: none; border-radius: 0; }
.tpl-fashionstore .shop-product-image { border-radius: 12px; background: var(--accent); }
.tpl-fashionstore .shop-product-info { padding-inline: 4px; }
.tpl-fashionstore .shop-navigation { background: var(--accent); }
.tpl-fashionstore .shop-hero .product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tpl-fashionstore .shop-hero .product-item { display: block; color: var(--default-color); }
.tpl-fashionstore .shop-hero .product-item .product-image img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.tpl-fashionstore .shop-hero .product-item .product-info h3 { font-size: 15px; }
.tpl-fashionstore .shop-hero .product-item .product-info .price { color: var(--accent-color); font-weight: 700; }
.shop-theme .shop-hero-photo { width: 100%; max-height: 560px; object-fit: contain; }
.shop-theme .shop-slider-controls { margin: 0 auto 32px; }
@media (max-width: 760px) {
  .tpl-fashionstore .shop-hero .product-grid { gap: 12px; }
}
/* Theme-specific treatments preserve the visual structure of the supplied sources. */
.tpl-niceshop .shop-navigation, .tpl-smartstore .shop-navigation { background: var(--accent-color); }
.tpl-niceshop .shop-desktop-nav a, .tpl-smartstore .shop-desktop-nav a,
.tpl-niceshop .shop-mobile-nav summary, .tpl-smartstore .shop-mobile-nav summary,
.tpl-niceshop .shop-mobile-nav nav a, .tpl-smartstore .shop-mobile-nav nav a { color: var(--contrast-color); }
.tpl-smartstore .shop-desktop-nav { text-transform: uppercase; font-size: 14px; }
.tpl-niceshop .shop-product-card { border: none; border-radius: 16px; box-shadow: 0 6px 22px #00000008; }
.tpl-niceshop .shop-product-info { padding: 24px; }
.tpl-niceshop .shop-hero .product-card.featured { color: var(--default-color); }
.tpl-niceshop .shop-hero .product-info h3 { font-size: 20px; }
.tpl-niceshop .shop-hero .product-info h3 a { color: var(--heading-color); background: none; padding: 0; border: none; display: inline; }
.tpl-niceshop .shop-hero .product-mini { display: flex; flex-direction: column; }
.tpl-niceshop .shop-hero .product-card img { aspect-ratio: 1; object-fit: contain; }
.tpl-niceshop .shop-eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 700; }
.tpl-shopwise .shop-main-header { padding-block: 18px; }
.tpl-shopwise .shop-brand { font-size: 24px; }
.tpl-shopwise .shop-product-card { border-radius: 6px; box-shadow: 0 2px 6px #00000006; }
.tpl-shopwise .shop-product-link { border-top: 1px solid var(--line); padding-top: 12px; }
.tpl-shopwise .shop-hero .product-tile { display: block; height: 100%; color: var(--default-color); }
.tpl-shopwise .shop-hero .product-tile .tile-info h3 { font-size: 17px; }
.tpl-shopwise .shop-hero .product-tile.shop-tile-wide { display: grid; grid-template-columns: 1fr 1.4fr; align-items: center; }
.tpl-shopwise .shop-hero .product-tile .tile-image img { height: 200px; width: 100%; object-fit: contain; }
.tpl-shopwise .shop-hero .product-tile .tile-price .current { color: var(--accent-color); font-weight: 700; font-size: 20px; }
.tpl-smartstore .shop-product-card { border-radius: 12px; }
.tpl-smartstore .shop-product-info { text-align: center; }
.tpl-smartstore .shop-product-link { justify-content: center; }
.tpl-smartstore .shop-hero .showcase-card { display: block; height: 100%; color: var(--default-color); }
.tpl-smartstore .shop-hero .card-visual img { height: 230px; width: 100%; object-fit: contain; }
.tpl-smartstore .shop-hero .card-details h3 { font-size: 18px; }
.tpl-smartstore .shop-main-header { padding-block: 22px; }
.shop-header--compact .shop-utility { display: none; }
@media (max-width: 991px) {
  .tpl-niceshop .shop-hero .hero-container { grid-template-columns: 1fr; }
  .tpl-smartstore .shop-hero .showcase-card.elevated { transform: none; margin-top: 0; }
}
@media (max-width: 760px) {
  .tpl-niceshop .shop-product-info { padding: 12px; }
  .tpl-niceshop .shop-hero .hero-visuals .product-showcase { padding: 0; max-width: 100%; }
  .tpl-niceshop .shop-hero .hero-visuals .product-showcase .product-grid { position: static; display: grid; grid-template-columns: 1fr 1fr; width: 100%; transform: none; margin-top: 16px; }
  .tpl-niceshop .shop-hero .hero-visuals .product-mini { width: auto; }
  .tpl-niceshop .shop-hero .hero-visuals .product-card.featured { margin: 0; padding: 20px; }
  .tpl-shopwise .shop-hero .product-tile.shop-tile-wide { grid-template-columns: 1fr; }
}
.shop-main > section { padding-block: 0; }
.shop-main > .block > section:not(.shop-hero):not(.shop-slider):not(.content-benefits) { padding-block: 0; }
.cart__image-placeholder { width: 48px; height: 48px; background: var(--accent); border-radius: 5px; }
@media (max-width: 760px) {
  .shop-theme .cart__items li > .inline-form { grid-column: 1 / -1; flex-wrap: wrap; }
  .shop-theme .cart__items li > .inline-form input[type=number] { width: 72px; flex: 0 0 72px; }
  .shop-theme .cart__items li > .cart__price { grid-column: 1 / -1; justify-self: end; }
}
/* Gedeelde UI-bouwstenen en cookiebanner in de Pro-thema's: themakleuren en -oppervlak volgen. */
.shop-theme { --card: var(--surface-color); }
.shop-theme .ui-pagination [aria-current], .shop-theme .ui-badge--new { color: var(--contrast-color); }
.shop-theme .ui-breadcrumbs { margin-bottom: 20px; }
.shop-theme .ui-dialog-header h2 { font-family: var(--heading-font); color: var(--heading-color); }
.shop-theme #cc-main { --cc-btn-border-radius: 5px; --cc-bg: var(--surface-color); --cc-btn-primary-color: var(--contrast-color); --cc-btn-secondary-color: var(--contrast-color); --cc-btn-primary-hover-color: var(--contrast-color); --cc-btn-secondary-hover-color: var(--contrast-color); }
.shop-theme #cc-main .cm__title, .shop-theme #cc-main .pm__title { font-family: var(--heading-font); color: var(--heading-color); }
.shop-theme .ui-dialog .button { padding: 10px 20px; }
.shop-theme .ui-qty-control input[type=number] { min-height: 44px; }
.shop-theme .add-to-cart { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 16px; }
.shop-footer .consent-settings-link { color: var(--default-color); }
/* ---------- Catalogus en zoeken (Pro-thema's) ---------- */
.shop-theme .shop-search { border-radius: var(--radius); max-width: 520px; }
.shop-theme .shop-search button .bi { font-size: 18px; }
.shop-theme .catalog-filter-form legend, .shop-theme .catalog-filters summary { font-family: var(--heading-font); color: var(--heading-color); }
@media (max-width: 991px) {
  .shop-main-header { flex-wrap: wrap; }
  .shop-theme .shop-search { order: 3; flex-basis: 100%; max-width: none; }
}

/* ---------- Productkaarten in themamarkup ---------- */
.shop-theme .shop-product-grid.category-product-list { padding: 0; background: none; }
.shop-theme .shop-card-cell { min-width: 0; list-style: none; }
.shop-theme .shop-card-cell > * { height: 100%; }
.shop-theme .category-product-list img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.shop-theme .category-product-list .product-overlay a, .shop-theme .category-product-list .quick-add a { text-decoration: none; }
.shop-theme .category-product-list .product-price .original,
.shop-theme .category-product-list .original-price,
.shop-theme .category-product-list .was-price { text-decoration: line-through; color: var(--muted); font-weight: 400; margin-left: 6px; font-size: .85em; }
.shop-theme .category-product-list .tile-footer .add-cart-btn, .shop-theme .category-product-list .cart-icon-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.shop-theme .category-product-list .status-tag, .shop-theme .category-product-list .item-label, .shop-theme .category-product-list .product-badge { z-index: 2; }
.shop-theme .category-product-list .status-tag.tag-sold, .shop-theme .category-product-list .item-label.label-sold, .shop-theme .category-product-list .product-badge.sold { background: var(--surface-color); color: var(--default-color); border: 1px solid var(--line); }
.shop-theme .category-product-list .product-overlay { pointer-events: none; }
.shop-theme .category-product-list .product-overlay a { pointer-events: auto; }
@media (hover: none) { .shop-theme .category-product-list .product-overlay { opacity: 1; visibility: visible; background: none; } }

/* ---------- Productpagina in themamarkup ---------- */
.shop-theme .shop-pdp { padding: 0; }
.shop-theme .shop-pdp .row { margin-top: 0; }
.shop-theme .shop-pdp img { max-width: 100%; height: auto; }
.shop-theme .shop-pdp .thumbnail-item { padding: 0; background: none; border-width: 2px; cursor: pointer; }
.shop-theme .shop-pdp .product-thumbs-row { display: flex; gap: 10px; flex-wrap: wrap; }
.shop-theme .shop-pdp .product-thumbs-row .thumbnail-item { width: 80px; }
.shop-theme .shop-pdp .main-image-container img, .shop-theme .shop-pdp .image-zoom-container img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.shop-theme .shop-pdp button.size-option { font: inherit; background: var(--surface-color); color: var(--default-color); }
.shop-theme .shop-pdp button.size-option.active { color: var(--contrast-color); background: var(--accent-color); border-color: var(--accent-color); }
.shop-theme .shop-pdp .size-option.is-soldout, .shop-theme .shop-pdp .variant-pill.is-soldout { opacity: .6; text-decoration: line-through; }
.shop-theme .variant-pill { border-radius: var(--radius); border-color: color-mix(in srgb, var(--default-color), transparent 80%); background: var(--surface-color); color: var(--default-color); }
.shop-theme .variant-pill.active { border-color: var(--accent-color); color: var(--accent-color); }
.shop-theme .shop-pdp .quantity-selector .quantity-input { width: 64px; text-align: center; min-height: 0; }
.shop-theme .shop-pdp .price-note { margin: 8px 0 16px; }
.shop-theme .shop-pdp button:disabled { opacity: .5; cursor: not-allowed; }
.shop-theme .shop-pdp .original-price, .shop-theme .shop-pdp .regular-price, .shop-theme .shop-pdp .price-was { text-decoration: line-through; }
.shop-theme .shop-pdp-panel h2 { font-family: var(--heading-font); color: var(--heading-color); }
.shop-theme .shop-pdp .purchase-feedback .feedback { color: var(--accent-color); }
/* Rastermarges van Bootstrap (g-5 = 24px) mogen op smalle schermen niet buiten de paginamarge */
@media (max-width: 991px) { .shop-theme .shop-pdp > .row { --bs-gutter-x: 1.5rem; } }
.shop-theme .catalog-filter-form legend { font-size: 1rem; font-weight: 700; float: none; width: auto; }

/* Header-uitklappanelen (categoriemenu, mini-winkelmand) in de Pro-thema's */
.shop-theme .category-menu-panel, .shop-theme .mini-cart-panel { background: var(--surface-color); color: var(--default-color); border-radius: var(--radius); }
.shop-actions .mini-cart > summary { gap: 8px; color: var(--default-color); font-size: 14px; position: relative; }
.shop-actions .mini-cart > summary .bi { font-size: 25px; }
.shop-desktop-nav { align-items: center; }
.shop-desktop-nav .category-menu > summary { font-family: var(--nav-font); font-weight: 600; color: var(--heading-color); min-height: 0; }
.shop-desktop-nav .category-menu-panel a { font-family: var(--default-font); }
.shop-desktop-nav .category-menu-columns ul a { color: var(--muted); font-weight: 400; font-size: 15px; }
.shop-desktop-nav .category-menu-columns ul a:hover, .shop-desktop-nav .category-menu-all { color: var(--accent-color); }
.shop-theme .mini-cart-actions .button { padding: 10px 16px; }
.shop-mobile-categories { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; }
.shop-mobile-categories > div { display: grid; }
.shop-mobile-heading { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 4px 0; }
.shop-mobile-nav nav a.shop-mobile-category { font-weight: 600; }
.shop-mobile-nav nav a.shop-mobile-subcategory { padding: 6px 0 6px 16px; font-size: .95em; color: var(--muted); }
@media (max-width: 991px) {
  .shop-actions .mini-cart > summary > span { display: none; }
  .shop-actions .mini-cart > summary .bi { font-size: 24px; }
}
.tpl-niceshop .shop-mobile-nav nav a.shop-mobile-subcategory, .tpl-smartstore .shop-mobile-nav nav a.shop-mobile-subcategory,
.tpl-niceshop .shop-mobile-heading, .tpl-smartstore .shop-mobile-heading { color: var(--contrast-color); opacity: .8; }
