/* ── WOOCOMMERCE OVERRIDES ── */

.woocommerce-breadcrumb { display: none; }

/* ── LAYOUT ── */
.woo-wrap {
  padding: 0 24px;
  max-width: 1320px !important;
  width: 100% !important;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Single product idem */
.sp-article {
  max-width: 1320px;
}

/* Single product: geen sidebar, volle breedte */
.single-product .woo-layout {
  grid-template-columns: 1fr !important;
}
.single-product .woo-content {
  padding-left: 0 !important;
}

.woo-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  align-items: start;
  padding: 24px 0 60px;
}

/* Club-webshop: banner + woo-layout met sidebar */
.club-shop-wrap {
  padding: 0 0 60px;
}
.club-shop-wrap .woo-layout {
  padding-top: 0;
}

/* Club banner */
.club-shop-banner {
  background: var(--cb1, #164196);
  margin-bottom: 32px;
  border-radius: 10px;
  overflow: hidden;
}
.club-shop-banner-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px 36px;
}
.club-shop-banner-logo {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.club-shop-banner-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.club-shop-banner-text { flex: 1; }
.club-shop-banner-sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cb2, #fff);
  opacity: .7;
  margin: 0 0 6px;
}
.club-shop-banner-title {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 900;
  color: var(--cb2, #fff);
  margin: 0;
  line-height: 1.2;
}

/* Club grid: 4 kolommen zonder sidebar → iets meer ruimte per kaart */
.club-shop-wrap ul.products,
.club-shop-wrap ul.products.columns-4 {
  grid-template-columns: repeat(4, 1fr) !important;
}

@media (max-width: 900px) {
  .club-shop-banner-inner { flex-direction: column; text-align: center; gap: 16px; padding: 24px 20px; }
  .club-shop-wrap ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 500px) {
  .club-shop-wrap ul.products { grid-template-columns: repeat(1, 1fr) !important; }
}

/* Voorkom grid overflow */
.woo-sidebar,
.woo-content { min-width: 0; }

/* ── SIDEBAR ── */
.woo-sidebar {
  position: sticky;
  top: 80px;
  padding-right: 32px;
  border-right: 1px solid #e8e8e8;
}

.sidebar-block {
  border-bottom: 1px solid #e8e8e8;
}

/* Clublogo in sidebar */
.sidebar-club-logo {
  text-align: center;
  padding: 24px 16px 20px;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 4px;
}

.sidebar-club-logo .club-logo-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 10px;
  display: block;
}

.sidebar-club-name {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  text-align: center;
}

/* Inklapbare filter header */
.sidebar-filter-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 16px 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: left;
}

.sidebar-filter-toggle .toggle-icon {
  font-size: 20px;
  font-weight: 300;
  color: #888;
  line-height: 1;
  transition: transform .2s;
}

.sidebar-filter-toggle.open .toggle-icon {
  transform: rotate(45deg);
}

.sidebar-filter-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height .25s ease;
}

.sidebar-filter-body.open {
  max-height: 600px;
}

.sidebar-filter-body-inner {
  padding-bottom: 16px;
}

/* Categorie links (sport) */
.sidebar-cats {
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
}

.sidebar-cats li { margin: 0; }

.sidebar-cats li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 14px;
  color: #333;
  text-decoration: none;
}

.sidebar-cats li a:hover { color: var(--blue); }
.sidebar-cats li a.active { color: var(--blue); font-weight: 700; }

/* Inklapbare categorieboom — zelfde stijl als de overige filterblokken (Maat/Merk/Prijs) */
.sidebar-cats .cat-item { margin: 0; }
.cat-line { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.cat-line > a { flex: 1 1 auto; padding: 8px 0; }

/* Hoofdcategorie: bold, met plus rechts */
.cat-top > .cat-line > a { font-weight: 700; color: #1a1a1a; }
.cat-toggle {
  flex: 0 0 auto; width: 28px; height: 28px; padding: 0;
  border: 0; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.cat-toggle .toggle-icon {
  font-size: 20px; font-weight: 300; color: #888; line-height: 1;
  transition: transform .2s;
}
.cat-item.open > .cat-line .cat-toggle .toggle-icon { transform: rotate(45deg); }

.cat-item > .cat-children { display: none; }
.cat-item.open > .cat-children { display: block; }
.cat-children .sidebar-cats { margin-left: 10px; }
.cat-children .sidebar-cats li a { padding: 6px 0; font-weight: 400; }

/* Checkbox filterlijst */
.filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 240px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}

.filter-list li {
  margin: 0;
}

.filter-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  user-select: none;
}

.filter-list label:hover { color: var(--blue); }

.filter-list input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid #bbb;
  border-radius: 3px;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: border-color .15s, background .15s;
}

.filter-list input[type="checkbox"]:checked {
  background: var(--blue);
  border-color: var(--blue);
}

.filter-list input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 0px;
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  top: 3px;
}

.filter-list .filter-count {
  margin-left: auto;
  font-size: 12px;
  color: #aaa;
}

/* Toepassen knop */
.filter-apply-bar {
  padding: 20px 0 8px;
}

.filter-apply-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: background .15s;
}

.filter-apply-btn:hover { background: #0f2f73; }

/* Actieve filters wissen */
.filter-reset {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 12px;
  color: #888;
  text-decoration: underline;
  cursor: pointer;
}

/* Prijs slider */
.sidebar-price .price_slider_wrapper { padding: 4px 0 8px; }
.sidebar-price .price_slider { margin: 14px 0 18px; }
.sidebar-price .ui-slider-horizontal { height: 3px; background: #e0e0e0; border: none; border-radius: 4px; }
.sidebar-price .ui-slider-range { background: var(--blue); }
.sidebar-price .ui-slider-handle {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue); border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.25); top: -8px; cursor: pointer; outline: none;
}
.sidebar-price .price_slider_amount { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 4px; }
.sidebar-price .price_slider_amount .button {
  padding: 8px 16px !important;
  font-size: 13px !important;
  background: var(--blue) !important;
  color: #fff !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  border: none !important;
  cursor: pointer !important;
  font-family: inherit !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}
.sidebar-price .price_label { font-size: 13px; color: #555; }

/* ── SHOP TOOLBAR ── */
.woo-content { padding-left: 32px; }

.woo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e8e8;
}

.woo-result-count {
  font-size: 14px;
  color: #666;
}

/* Actieve filterchips */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 12px;
  background: #f0f3f8;
  border: 1px solid #d0d8e8;
  border-radius: 20px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
}

.active-filter-chip:hover { background: #e0e5f0; }

.active-filter-chip .chip-remove {
  font-size: 16px;
  color: #999;
  line-height: 1;
}

.woocommerce-ordering select {
  border: 1.5px solid #ddd;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 13px;
  font-family: inherit;
  color: #333;
  cursor: pointer;
}

.woocommerce-result-count { display: none; }
.woocommerce-ordering { display: none; }

/* ── PRODUCT GRID: 4 kolommen ── */
.woo-content ul.products,
.woo-content ul.products.columns-1,
.woo-content ul.products.columns-2,
.woo-content ul.products.columns-3,
.woo-content ul.products.columns-4,
.woo-content ul.products.columns-5 {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  float: none !important;
}

/* WooCommerce clearfix pseudo-elementen tellen mee als grid-cel — verwijderen */
.woo-content ul.products::before,
.woo-content ul.products::after,
.club-shop-wrap ul.products::before,
.club-shop-wrap ul.products::after {
  display: none !important;
  content: none !important;
}

/* ── PRODUCT CARD ── */
.woo-content ul.products li.product,
.club-shop-wrap ul.products li.product {
  background: #fff;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box;
  clear: none !important;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.woo-content ul.products li.product a {
  text-decoration: none;
}

/* Afbeelding wrapper */
.woo-content ul.products li.product .woocommerce-LoopProduct-link,
.woo-content ul.products li.product > a:first-child {
  display: block;
}

.woo-content ul.products li.product a img {
  width: 80% !important;
  height: 260px !important;
  object-fit: contain !important;
  background: #f5f5f5 !important;
  display: block !important;
  margin: 0 auto !important;
  padding: 12px !important;
  border-radius: 4px !important;
  transition: opacity .2s !important;
}

.woo-content ul.products li.product:hover a img {
  opacity: .85;
}

/* Sale badge */
.woo-content ul.products li.product .onsale {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  background: var(--red) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 7px !important;
  border-radius: 2px !important;
  z-index: 1;
}

/* Card body — links uitlijnen met de foto (ook 10% marge) */
.woo-content ul.products li.product .if-card-body {
  padding: 10px 10% 12px;
}

/* Merknaam */
.woo-content ul.products li.product .if-brand {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #999;
  margin-bottom: 3px;
}

/* Productnaam */
.woo-content ul.products li.product .woocommerce-loop-product__title {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #1a1a1a !important;
  padding: 0 !important;
  margin: 0 0 6px !important;
  line-height: 1.3 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Prijs */
.woo-content ul.products li.product .price {
  display: block !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  padding: 0 !important;
  margin: 0 0 8px !important;
}

.woo-content ul.products li.product .price del {
  color: #aaa !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  margin-right: 4px !important;
}

.woo-content ul.products li.product .price ins {
  text-decoration: none !important;
  color: var(--red) !important;
}

/* Kleurnaam op kaart */
.woo-content ul.products li.product .if-card-color {
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
  text-transform: capitalize;
}

/* Verberg standaard WC knop op cards */
.woo-content ul.products li.product .button {
  display: none !important;
}

/* ── SINGLE PRODUCT ── */
.woocommerce div.product .product_title {
  font-size: clamp(20px, 2.5vw, 30px) !important;
  font-weight: 900 !important;
  color: #1a1a1a !important;
  line-height: 1.15 !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #1a1a1a !important;
  font-size: 22px !important;
  font-weight: 700 !important;
}

.woocommerce div.product .button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button {
  background: var(--blue) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 14px 28px !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  border: none !important;
  cursor: pointer !important;
  transition: background .15s !important;
  font-family: inherit !important;
}

.woocommerce div.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover { background: #0f2f73 !important; }

/* Afrekenknop "Plaats bestelling" — rood met wit (block-checkout + klassieke checkout) */
.woocommerce #place_order,
.woocommerce-checkout #place_order,
.wc-block-components-checkout-place-order-button,
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background: #c0392b !important;
  color: #fff !important;
  border-color: #c0392b !important;
}
.woocommerce #place_order:hover,
.wc-block-components-checkout-place-order-button:hover {
  background: #a93226 !important;
  border-color: #a93226 !important;
}

.woocommerce div.product .variations select {
  border: 1.5px solid #ddd;
  border-radius: 4px;
  padding: 9px 12px;
  font-size: 14px;
  font-family: inherit;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  border-bottom: 3px solid var(--blue) !important;
  color: #1a1a1a !important;
}

/* ── CART / CHECKOUT ── */
.woocommerce table.shop_table { border-radius: 4px; overflow: hidden; border: 1px solid #eee !important; }
.woocommerce table.shop_table th { background: #f7f8fa; font-weight: 700; color: #333; font-size: 13px; }

.woocommerce form .form-row label { font-weight: 600; font-size: 13px; color: #333; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select {
  border: 1.5px solid #ddd;
  border-radius: 4px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color .15s;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus { border-color: var(--blue); outline: none; }

/* ── NOTICES ── */
.woocommerce-message { border-left-color: var(--blue) !important; border-radius: 4px !important; }
.woocommerce-error  { border-left-color: var(--red) !important; border-radius: 4px !important; }
.woocommerce-info   { border-left-color: var(--blue) !important; border-radius: 4px !important; }

/* ── PAGINERING ── */
.woocommerce-pagination { text-align: center; margin-top: 40px; }
.woocommerce-pagination ul { display: inline-flex; gap: 4px; list-style: none; padding: 0; margin: 0; }
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 1.5px solid #ddd; border-radius: 4px;
  font-size: 14px; color: #333; text-decoration: none; transition: all .15s;
}
.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul li a:hover {
  background: var(--blue); border-color: var(--blue); color: #fff;
}

/* ── RESPONSIVE ── */
@media (max-width: 1280px) {
  .woo-layout { grid-template-columns: 200px 1fr; }
  .woo-content ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 900px) {
  .woo-layout { grid-template-columns: 1fr; }
  .woo-sidebar { position: static; border-right: none; border-bottom: 1px solid #e8e8e8; padding: 0 0 20px; margin-bottom: 24px; }
  .woo-content { padding-left: 0; }
  .woo-content ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 480px) {
  .woo-content ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .woo-content ul.products li.product a img { height: 180px !important; }
}

/* ══════════════════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE
   ══════════════════════════════════════════════════════════════════ */

.sp-article { max-width: 1200px; margin: 0 auto; padding: 24px 0 60px; }

/* ── Twee-kolom hoofdlayout ── */
.sp-main-wrap {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

/* ── Gallery ── */
.sp-gallery {
  display: grid;
  grid-template-columns: 72px 1fr;
}

.sp-gallery--single {
  grid-template-columns: 1fr;
  gap: 12px;
  position: sticky;
  top: 80px;
}

.sp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 560px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}

.sp-thumb {
  width: 72px;
  height: 72px;
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 2px;
  cursor: pointer;
  background: #f5f5f5;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color .15s;
}

.sp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sp-thumb.active,
.sp-thumb:hover { border-color: var(--blue); }

.sp-img-main {
  background: #f5f5f5;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: zoom-in;
}

#sp-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  display: block;
  transition: transform .08s linear;
  transform-origin: center center;
  will-change: transform;
  pointer-events: none;
}

.sp-img-main.sp-zoomed #sp-main-img {
  transition: none;
}

/* Lightbox */
.sp-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,.85);
  align-items: center;
  justify-content: center;
}
.sp-lightbox.open {
  display: flex;
}
.sp-lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-lightbox-inner img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}
.sp-lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  opacity: .8;
}
.sp-lightbox-close:hover { opacity: 1; }
.sp-lightbox-prev,
.sp-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 4px;
  transition: background .15s;
}
.sp-lightbox-prev { left: -60px; }
.sp-lightbox-next { right: -60px; }
.sp-lightbox-prev:hover,
.sp-lightbox-next:hover { background: rgba(255,255,255,.3); }

/* ── Info paneel ── */
.sp-info { display: flex; flex-direction: column; gap: 0; }

.sp-brand {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #999;
  margin-bottom: 6px;
}

.sp-title {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.2;
  margin: 0 0 6px;
}

.sp-sku {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 16px;
}

.sp-price {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.sp-price del { font-size: 16px; color: #aaa; font-weight: 400; margin-right: 6px; }
.sp-price ins { text-decoration: none; color: var(--red); }

/* ── Attribuut blokken ── */
.sp-attr-block {
  border-top: 1px solid #e8e8e8;
  padding: 16px 0;
}

.sp-attr-label {
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
}

.sp-attr-label strong { color: #1a1a1a; }

/* Kleur buttons */
.sp-color-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-color-btn {
  width: 52px;
  height: 52px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  padding: 2px;
  cursor: pointer;
  background: #f5f5f5;
  overflow: hidden;
  transition: border-color .15s;
}

.sp-color-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sp-color-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 11px;
  font-weight: 700;
  color: #555;
}

.sp-color-btn.active,
.sp-color-btn:hover { border-color: var(--blue); }

/* Verplicht clublogo: badge "altijd" + vaste (niet-klikbare) optie */
.sp-print-vast-badge {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #164196;
  background: #eef2fb;
  border-radius: 3px;
  padding: 1px 6px;
  margin-left: 6px;
}
.sp-print-vast .sp-print-opt { cursor: default; }
.sp-print-vast .sp-print-opt input[disabled] { cursor: default; }

/* Uitverkocht (geen winkelvoorraad): maat/kleur doorgestreept + niet klikbaar */
.sp-size-pill.sp-unavailable {
  opacity: .5;
  text-decoration: line-through;
  cursor: not-allowed;
  pointer-events: none;
}
.sp-color-btn.sp-unavailable {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
  position: relative;
}
.sp-color-btn.sp-unavailable::after {
  content: "";
  position: absolute;
  left: 50%; top: -4px; bottom: -4px;
  width: 2px;
  background: #c0392b;
  transform: translateX(-50%) rotate(45deg);
}

/* Maat pills */
.sp-size-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sp-size-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 36px;
  padding: 0 10px;
  border: 1.5px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  color: #333;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s, background .15s, color .15s;
}
.sp-size-pill:hover { border-color: var(--blue); color: var(--blue); }
.sp-size-pill.active { border-color: var(--blue); background: var(--blue); color: #fff; }

/* ── Native WooCommerce add-to-cart form ─────────────────────────── */

/* Verberg de variations tabel (selects blijven in DOM voor onze JS) */
.sp-info table.variations.sp-variations-hidden { display: none !important; }

/* WC verbergt single_variation_wrap standaard via JS — wij tonen het altijd */
.sp-info .single_variation_wrap { display: block !important; }

/* Verberg de reset link, stock-tekst en lege price placeholder */
.sp-info .reset_variations { display: none !important; }
.sp-info .woocommerce-variation.single_variation { display: none; }

/* Native quantity verborgen (wij gebruiken sp-qty-wrap) */
.sp-info .woocommerce-variation-add-to-cart .quantity { display: none !important; }

/* Hoeveelheid (onze eigen UI boven de native form) */
.sp-qty-wrap { margin-top: 20px; }
.sp-qty-wrap .sp-attr-label { margin-bottom: 8px; }
.sp-qty-controls {
  display: flex;
  align-items: center;
  width: fit-content;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}
.sp-qty-btn {
  width: 42px;
  height: 42px;
  background: #f5f5f5;
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: #333;
  font-family: inherit;
  transition: background .15s;
}
.sp-qty-btn:hover { background: #e8e8e8; }
.sp-qty-input {
  width: 54px;
  height: 42px;
  border: none;
  border-left: 1.5px solid #ddd;
  border-right: 1.5px solid #ddd;
  text-align: center;
  font-size: 15px;
  font-family: inherit;
  color: #333;
  -moz-appearance: textfield;
}
.sp-qty-input::-webkit-outer-spin-button,
.sp-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Native add-to-cart knop (single_add_to_cart_button) */
.sp-info .single_add_to_cart_button {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--blue);
  color: #fff !important;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
  margin-top: 16px;
  margin-bottom: 16px;
  text-align: center;
  text-decoration: none;
}
.sp-info .single_add_to_cart_button:not(.disabled):not(:disabled) { pointer-events: auto !important; }
.sp-info .single_add_to_cart_button:hover:not(:disabled):not(.disabled) { background: #0f2f73; }
.sp-info .single_add_to_cart_button.disabled,
.sp-info .single_add_to_cart_button:disabled { background: #b0b8c9; cursor: not-allowed; opacity: 1; pointer-events: none; }

/* USPs */
.sp-usps {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-usps li {
  font-size: 13px;
  color: #555;
  padding-left: 16px;
  position: relative;
}

.sp-usps li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* ── Beschrijving ── */
.sp-desc-wrap {
  border-top: 1px solid #e8e8e8;
  padding: 32px 0;
  max-width: 760px;
}

.sp-desc-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px;
}

.sp-desc-body {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

.sp-desc-body p { margin-bottom: 12px; }

/* ── Gerelateerde producten ── */
.sp-related-wrap {
  border-top: 1px solid #e8e8e8;
  padding: 32px 0 0;
}

.sp-related-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 20px;
}

.sp-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sp-rel-card {
  text-decoration: none;
  display: block;
  background: #fff;
}

.sp-rel-card:hover .sp-rel-img { opacity: .85; }

.sp-rel-img {
  width: 100% !important;
  height: 200px !important;
  object-fit: contain !important;
  background: #f5f5f5 !important;
  border-radius: 4px !important;
  display: block !important;
  padding: 12px !important;
  transition: opacity .2s;
}

.sp-rel-info { padding: 8px 0; }

.sp-rel-brand {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #999;
  margin-bottom: 3px;
}

.sp-rel-name {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-rel-price { font-size: 14px; font-weight: 700; color: #1a1a1a; }

/* ── Responsive single product ── */
@media (max-width: 900px) {
  .sp-main-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sp-gallery {
    position: static;
    grid-template-columns: 60px 1fr;
  }
  .sp-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .sp-gallery {
    grid-template-columns: 1fr;
  }
  .sp-thumbs {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: visible;
  }
  .sp-thumb { width: 60px; height: 60px; }
  .sp-related-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ── BEDRUKKING ── */
.sp-print-block {
  margin: 20px 0 0;
  padding: 20px;
  background: #f7f8fa;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
}
.sp-print-block .sp-attr-label {
  margin-bottom: 12px;
}
.sp-print-hint-inline {
  font-size: 12px;
  font-weight: 400;
  color: #999;
}
.sp-print-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 4px;
}
.sp-print-opt-wrap {
  border: 1.5px solid #e0e0e0;
  border-radius: 7px;
  background: #fff;
  transition: border-color .15s;
  overflow: hidden;
}
.sp-print-opt-wrap:has(input:checked) {
  border-color: var(--blue);
  background: #f0f4ff;
}
.sp-print-opt {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  cursor: pointer;
  gap: 0;
}
.sp-print-opt input[type="checkbox"] {
  margin: 0 10px 0 0;
  accent-color: var(--blue);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  cursor: pointer;
}
.sp-print-opt-inner {
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.sp-print-price {
  font-style: normal;
  font-size: 13px;
  color: #164196;
  font-weight: 700;
}
.sp-print-text-wrap {
  padding: 0 14px 14px;
  border-top: 1px solid #e8e8e8;
  margin-top: 0;
  padding-top: 12px;
}
.sp-print-text-input {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 14px;
  font-family: inherit;
  color: #1a1a1a;
  background: #fff;
  transition: border-color .15s;
}
.sp-print-text-input:focus {
  outline: none;
  border-color: var(--blue);
}
.sp-print-hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: #999;
}

/* ══════════════════════════════════════════════════════════════════
   MOBIEL — shop, product, filters op smalle schermen (360px richtpunt)
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 560px) {
  .woo-wrap { padding-left: 12px; padding-right: 12px; }
  .woo-content { padding-left: 0; }
  .woocommerce-loop-product__title { font-size: 13px; line-height: 1.3; }
  .woo-content .price, .club-shop-wrap .price { font-size: 14px; }
  .if-brand { font-size: 11px; }
  /* Filter-sidebar compacter en volledige breedte */
  .woo-sidebar { font-size: 14px; }
  .filter-list label { font-size: 13px; padding: 6px 0; }
  /* Prijs-/toepassen-balk plakt onderaan zodat filteren makkelijk blijft */
  .filter-apply-bar { flex-wrap: wrap; gap: 8px; }
}

@media (max-width: 360px) {
  .woo-content ul.products,
  .woo-content ul.products.columns-3,
  .woo-content ul.products.columns-4,
  .woo-content ul.products.columns-5,
  .club-shop-wrap ul.products,
  .club-shop-wrap ul.products.columns-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .woo-content ul.products li.product a img,
  .club-shop-wrap ul.products li.product a img { height: 140px !important; }
  .woocommerce-loop-product__title { font-size: 12px; }
  /* Product-pagina: maat-/kleurknoppen en galerij passend */
  .sp-size-pill { min-width: 40px; padding: 8px 6px; font-size: 13px; }
  .sp-color-btn { width: 40px; height: 40px; }
  .sp-related-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }
}
