/* =====================================================================
   ARTBEAT JEWELS — KASSA
   Enkel in de winkelwagen, bij het afrekenen en in "Mijn account": kassa, login, registratie, retour.
   Geladen via functions.php (blok "Eigen CSS per paginatype").
   Dit bestand wordt NA abj-algemeen.css geladen.
   ===================================================================== */

.woocommerce-cart .cart-discount,
.woocommerce-cart .coupon {
  display: none !important;
}

.woocommerce-cart .actions :hover {
  background-color: #E03131 !important;
}

.woocommerce-cart .cart-collaterals .shipping-calculator-button {
  display: none !important;
}

#custom_agreement_field label,
#hartslag_agreement_field label,
.woocommerce-checkout .woocommerce-form__label-for-checkbox {
  font-family: "Lato", sans-serif !important;
  font-size: 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  #custom_agreement_field label,
  #hartslag_agreement_field label,
  .woocommerce-checkout .woocommerce-form__label-for-checkbox {
    font-size: 14px !important;
  }

}

.woocommerce-billing-fields > h3,
.woocommerce-shipping-fields > h3 {
  display: none !important;
}

.woocommerce-checkout #place_order {
  margin-top: 25px !important;
}

/* Adjust horizontal (column) and vertical (row) gap between products */
.woocommerce ul.products {
  gap: 10px !important;
}

/* Reduce or increase vertical gap between rows */
.woocommerce ul.products li.product {
  margin-bottom:0px !important; /* Change 30px to your desired gap */
}

@media screen and (max-width: 768px) {
  /* Product titles */
  body.post-type-archive-product .woocommerce-loop-product__title,
  .single-product .related.products .woocommerce-loop-product__title {
    font-size: 20px !important;
  }

}

/* Login heading */
body.woocommerce-page .woocommerce h2 {
  font-size: 30px;
  color: #1e1e1e;
  text-align: center;
}

@media (max-width: 768px) {
  body.woocommerce-page .woocommerce h2 {
    font-size: 35px;
  }

}

/* Left-align labels for inputs */
body.woocommerce-page .woocommerce label {
  text-align: left;
  color: #1e1e1e;
  font-size: 16px;
  font-weight: 400 !important;
}

/* Checkbox and "Remember me" styling */
body.woocommerce-page .woocommerce .woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  margin-top: 0px;
}

/* "Lost your password?" link */
body.woocommerce-page .woocommerce .lost_password {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  margin-top: 10px;
  text-decoration: underline;
}

/* Add spacing between checkbox and label text */
.woocommerce-form__label-for-checkbox input[type="checkbox"] {
  margin-right: 8px;
  vertical-align: middle;
}

/* Register heading */
.woocommerce .u-column2 h2 {
  font-size: 30px;
  color: #1e1e1e;
  margin-bottom: 35px;
}

@media (max-width: 768px) {
  .woocommerce .u-column2 h2 {
    font-size: 35px;
  }

}

/* Labels and inputs */
.woocommerce .u-column2 label {
  display: block;
  text-align: left;
  font-size: 18px;
  color: #1e1e1e;
  margin-bottom: 8px;
}

/* Paragraphs like "A link will be sent..." and privacy */
.woocommerce .u-column2 p {
  font-size: 16px;
  font-weight: 400;
  color: #1e1e1e;
  text-align: left;
  margin-bottom: 20px;
}

/* Left-align text inside the email input */
.woocommerce .u-column2 input[type="email"] {
  text-align: left !important;
}

@media (max-width: 768px) {
  .woocommerce .u-column2 .woocommerce-Button,
  body.woocommerce-page .woocommerce button.woocommerce-form-login__submit {
    width: 100% !important;
  }

}

.astra-shop-summary-wrap {
  margin-bottom: auto !important;
}

/*date of birth*/
#billing_dob_field input {
  width: 100% !important;
  background-color: transparent !important;
}

.woocommerce-checkout input.input-text {
  text-align: left !important;
}

/*checkout remove fields*/
.woocommerce-additional-fields,
.woocommerce-privacy-policy-text {
  display: none !important;
}

/* Optional: prevent overflow from scaling */
.woocommerce ul.products li.product,
.woocommerce-page .related.products li.product {
  overflow: hidden;
}

@media (min-width: 1024px) {
  /*show image on hover in shop*/
  /* Desktop only styles */
  /* apply ONLY to products that are NOT in the 'charms' or 'giftcard' category */
  .woocommerce ul.products li.product:not(.product_cat-charms):not(.product_cat-giftcard)
  .spswp_variations_form {
    margin-top: 0px !important;
  }

  /* Wrapper positioning & overflow */
  .woocommerce ul.products li.product:not(.product_cat-charms):not(.product_cat-giftcard) :is(.astra-shop-thumbnail-wrap, .astra-shop-thumbnail-wrap > a) {
    position: relative;
    display: block;
  }

}

@media (min-width: 1024px) { @supports selector(a:has(> img:hover)) {
  /* Hide the base image only when the image itself is hovered */
  .woocommerce ul.products li.product:not(.product_cat-charms):not(.product_cat-giftcard)
  .astra-shop-thumbnail-wrap > a:has(> img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail:hover)
  > img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    opacity: 0 !important;
  }

  .woocommerce ul.products li.product:not(.product_cat-charms):not(.product_cat-giftcard) .astra-shop-thumbnail-wrap:hover > a > img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    opacity: 1 !important;
  }

}}

/*custom payment title*/
.custom-payment-title {
  margin-bottom: 25px !important;
  display: block;
}

.woocommerce-input-wrapper * {
  color: #1e1e1e !important;
}

/* The whole order overview block */
.woocommerce-checkout #order_review {
  background: #FFF8F8 !important;
}

/* Payment box backgrounds + text */
.payment_box.payment_method_woocommerce_payments,
.payment_box.payment_method_woocommerce_payments_bancontact,
.payment_box.payment_method_woocommerce_payments_klarna,
.payment_box.payment_method_ppcp-gateway {
  background: #fef2f2 !important;
  color: #1e1e1e !important;
}

.woocommerce-checkout,
.woocommerce-checkout * {
  font-weight: 400 !important;
}

/* Title styling to match slider */
.related.products .woocommerce-loop-product__title {
  font-family: "Lato" !important;
  font-size: 14px !important;
  color: #1e1e1e !important;
  font-weight: 400 !important;
}

@media (min-width: 1024px) {
  .woocommerce ul.products li.product:not(.product_cat-charms):not(.product_cat-giftcard) .sp-smart-swatches-container {
    margin-top: 35px;   /* push the swatches down to match */
  }

}

/* Title styling to match related/slider */
.woocommerce.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
.woocommerce.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
  font-family: "Lato" !important;
  font-size: 18px !important;
  color: #1e1e1e !important;
  font-weight: 400 !important;
}

/* Price styling to match related/slider */
.woocommerce.post-type-archive-product ul.products li.product .price,
.woocommerce.tax-product_cat ul.products li.product .price {
  font-family: "Lato" !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #1e1e1e !important;
}

/* Pin Add to Cart / Create Yours to the bottom of shop cards */
.woocommerce.post-type-archive-product ul.products li.product .add_to_cart_button,
.woocommerce.post-type-archive-product ul.products li.product .create-yours-link,
.woocommerce.post-type-archive-product ul.products li.product .button.product_type_variable.add_to_cart_button,
.woocommerce.tax-product_cat ul.products li.product .add_to_cart_button,
.woocommerce.tax-product_cat ul.products li.product .create-yours-link,
.woocommerce.tax-product_cat ul.products li.product .button.product_type_variable.add_to_cart_button {
  position: absolute !important;
  left: 25px;
  right: 25px;
  bottom: 15px;
  margin: 0 !important;
  width: auto !important;
}

/* Hide Add to Cart and Create Yours buttons on shop, category, and related tiles */
.woocommerce.post-type-archive-product ul.products li.product .add_to_cart_button,
.woocommerce.post-type-archive-product ul.products li.product .create-yours-link,
.woocommerce.post-type-archive-product ul.products li.product .button.product_type_variable,
.woocommerce.tax-product_cat ul.products li.product .add_to_cart_button,
.woocommerce.tax-product_cat ul.products li.product .create-yours-link,
.woocommerce.tax-product_cat ul.products li.product .button.product_type_variable,
.related.products li.product .add_to_cart_button,
.related.products li.product .create-yours-link,
.related.products li.product .button.product_type_variable {
  display: none !important;
}

/* Remove the reserved button space now that buttons are hidden */
.woocommerce.post-type-archive-product ul.products li.product,
.woocommerce.tax-product_cat ul.products li.product,
.related.products li.product {
  padding-bottom: 0px !important;   /* was 80px on related; adjust to taste */
}

/* Product grid: full width on its own line below */
.ast-woocommerce-container ul.products {
  order: 3;
  flex: 1 1 100%;
  width: 100%;
}

@media (min-width: 1024px) {
  .woocommerce ul.products li.product:not(.product_cat-charms):not(.product_cat-giftcard) .astra-shop-thumbnail-wrap,
  .woocommerce ul.products li.product:not(.product_cat-charms):not(.product_cat-giftcard) .astra-shop-thumbnail-wrap > a {
    margin: 0 !important;
    padding: 0 !important;
  }

  .woocommerce ul.products li.product:not(.product_cat-charms):not(.product_cat-giftcard) .astra-shop-summary-wrap,
  .woocommerce ul.products li.product:not(.product_cat-charms):not(.product_cat-giftcard) .spswp_variations_form,
  .woocommerce ul.products li.product:not(.product_cat-charms):not(.product_cat-giftcard) .sp-smart-swatches-container,
  .woocommerce ul.products li.product:not(.product_cat-charms):not(.product_cat-giftcard) .ast-woo-shop-product-description {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .woocommerce ul.products li.product:not(.product_cat-charms):not(.product_cat-giftcard) {
    padding-bottom: 0 !important;
  }

}

body.woocommerce-checkout #mega-menu-wrap-primary,
body.woocommerce-checkout .ast-header-account-wrap,
body.woocommerce-checkout .ast-search-menu-icon {
  display: none !important;
}

.checkout-gift-upsell {
  width: 100%;
  margin-top: 24px;
}

.checkout-gift-upsell__title {
  margin-bottom: 16px;
}

.checkout-gift-upsell__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkout-gift-upsell__item img {
  width: 100%;
  max-width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
  margin: 0 auto 12px;
  display: block;
}

.mysite-return-form__notice {
  margin-top: 12px;
  font-size: 13px;
  color: #747474;
}

.mysite-return-overlay,
.mysite-return-modal {
  display: none;
}

.mysite-return-overlay.is-open,
.mysite-return-modal.is-open {
  display: block;
}

.mysite-return-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
}

.mysite-return-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.mysite-return-item input:disabled + * ,
.mysite-return-item input:disabled {
  opacity: 0.5;
}

.mysite-return-item__note {
  font-size: 13px;
  color: #E03131;
}

.mysite-return-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.mysite-return-form h2 {
  margin-bottom: 16px;
}

.mysite-return-form p {
  margin-bottom: 32px; color: #555;
}

.mysite-return-form__field {
  text-align: left; margin-bottom: 20px;
}

.mysite-return-form__field label {
  display: block; margin-bottom: 6px; font-weight: 600;
}

#mysite-return-submit:disabled {
  opacity: 0.6; cursor: not-allowed;
}

#mysite-return-message {
  margin-top: 16px; font-size: 14px;
}

/* Achtergrondkleur van de producttegels */
.woocommerce ul.products li.product {
  background-color: #FFF8F8 !important;
}

/* Afgeronde hoeken op de productfoto */
.woocommerce ul.products li.product img {
  border-radius: 5px !important;
}

table.shop_table.woocommerce-checkout-review-order-table td.product-name {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
}

table.shop_table.woocommerce-checkout-review-order-table td.product-name {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  align-content: center !important;
}

/* 1. Thumbnail altijd de volledige breedte van zijn kolom, ongeacht de
      eigen verhouding van de productfoto (gecrops i.p.v. uitgerekt) */
.woocommerce-checkout-review-order-table td.product-name table[role="presentation"] td:first-child {
  width: var(--abj-cart-thumb-width) !important;
}

.woocommerce-checkout-review-order-table td.product-name table[role="presentation"] img {
  width: var(--abj-cart-thumb-width) !important;
  height: var(--abj-cart-thumb-width) !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 5px;
}

/* 2. Kleinere afstand tussen thumbnail+titel en de opties eronder */
.woocommerce-checkout-review-order-table td.product-name > table[role="presentation"] {
  display: table !important;
  clear: both !important;
  margin-bottom: 0px !important;
}

/* 3. Extra meta-data (Voeg charms toe, Extra opmerkingen, ...):
      eigen volledige regel ONDER de titel, met dezelfde breedte en
      linker-uitlijning als de titel-tekst (dus niet onder de thumbnail) */
table.shop_table.woocommerce-checkout-review-order-table td.product-name dl.variation,
table.shop_table.woocommerce-checkout-review-order-table td.product-name .wc-item-meta {
  flex: 0 0 calc(100% - var(--abj-cart-thumb-width) - var(--abj-cart-thumb-gap)) !important;
  width: calc(100% - var(--abj-cart-thumb-width) - var(--abj-cart-thumb-gap)) !important;
  margin: 4px 0 0 calc(var(--abj-cart-thumb-width) + var(--abj-cart-thumb-gap)) !important;
  display: block !important;
}

table.shop_table.woocommerce-checkout-review-order-table td.product-name dl.variation {
  display: block !important;
  width: calc(100% - var(--abj-cart-thumb-width) - var(--abj-cart-thumb-gap)) !important;
  margin: 2px 0 0 calc(var(--abj-cart-thumb-width) + var(--abj-cart-thumb-gap)) !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
  overflow: hidden !important; /* bevat de gefloate dt/dd-paren hieronder */
}

/* Label + waarde op dezelfde regel */
table.shop_table.woocommerce-checkout-review-order-table td.product-name dl.variation dt,
table.shop_table.woocommerce-checkout-review-order-table td.product-name dl.variation dd {
  display: inline-block !important;
  float: left !important;
  width: auto !important;
  margin: 0 4px 4px 0 !important;
  padding: 0 !important;
}

/* Alleen het label start een nieuwe regel — de waarde blijft eraan vastplakken */
table.shop_table.woocommerce-checkout-review-order-table td.product-name dl.variation dt {
  clear: left !important;
}

/* Voor het geval de waarde in een <p> zit (bv. bij sommige varianten) */
table.shop_table.woocommerce-checkout-review-order-table td.product-name dl.variation dd p {
  display: inline !important;
  margin: 0 !important;
}

td.product-name {
  width: 110%;
}

table.shop_table.woocommerce-checkout-review-order-table td.product-name {
  font-size: 0 !important;
  line-height: 0 !important;
}

table.shop_table.woocommerce-checkout-review-order-table td.product-name > table[role="presentation"],
table.shop_table.woocommerce-checkout-review-order-table td.product-name dl.variation {
  font-size: 16px !important;   /* match your site's normal size here */
  line-height: normal !important;
}

table.shop_table.woocommerce-checkout-review-order-table td.product-name dl.variation {
  margin-bottom: 12px !important;
}

table.shop_table.woocommerce-checkout-review-order-table td.product-name dl.variation dd.variation-Jouwgeuploadehartslag {
  display: block !important;
  float: none !important;
  clear: left !important;
  width: 100% !important;
  margin: 4px 0 0 0 !important;
}

table.shop_table.woocommerce-checkout-review-order-table td.product-name dl.variation dd.variation-Jouwgeuploadehartslag img {
  display: inline-block !important;
  margin-top: 8px !important;
}

.checkout-gift-upsell__item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  text-align: center;
}

/* Geen scheidingslijn onder Subtotaal en Verzending in het checkout-overzicht */
.woocommerce-checkout-review-order-table tfoot .cart-subtotal th,
.woocommerce-checkout-review-order-table tfoot .cart-subtotal td,
.woocommerce-checkout-review-order-table tfoot .woocommerce-shipping-totals th,
.woocommerce-checkout-review-order-table tfoot .woocommerce-shipping-totals td {
  border-bottom: none !important;
  border-top: none !important;
}

/* ---- Retourplatform: items als tegels in één rij, met slider ---- */
.mysite-return-modal {
  box-sizing: border-box;
}

.mysite-return-slider {
  position: relative;
  margin-bottom: 20px;
}

.mysite-return-modal .mysite-return-modal__body {
  display: flex;
  gap: 12px;                    /* = TILE_GAP in de JS */
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;        /* scrollbalk verbergen (Firefox) */
}

.mysite-return-modal .mysite-return-modal__body::-webkit-scrollbar {
  display: none;
}

/* Minder producten dan de breedte? Dan netjes in het midden */
.mysite-return-modal .mysite-return-modal__body > :first-child {
  margin-left: auto;
}

.mysite-return-modal .mysite-return-modal__body > :last-child {
  margin-right: auto;
}

.mysite-return-modal .mysite-return-item {
  position: relative;
  flex: 0 0 250px;              /* = TILE_W in de JS */
  box-sizing: border-box;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 10px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #1e1e1e;
  transition: border-color .15s ease, background-color .15s ease;
}

.mysite-return-modal .mysite-return-item:hover {
  border-color: #E03131;
}

.mysite-return-modal .mysite-return-item.is-selected {
  border-color: #E03131;
  background: #fef2f2;
}

/* Selectievakje onzichtbaar, maar bruikbaar met het toetsenbord */
.mysite-return-modal .mysite-return-item__check {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Focusrand enkel bij toetsenbordnavigatie, niet na een muisklik */
.mysite-return-modal .mysite-return-item:has(.mysite-return-item__check:focus-visible) {
  outline: 2px solid #E03131;
  outline-offset: 2px;
}

.mysite-return-modal .mysite-return-item__image {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  background: #f5f5f5;
}

.mysite-return-modal .mysite-return-item__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mysite-return-modal .mysite-return-item__note {
  font-size: 12px;
  color: #E03131;
}

.mysite-return-modal .mysite-return-item.is-disabled {
  cursor: not-allowed;
  opacity: .5;
}

.mysite-return-modal .mysite-return-item.is-disabled:hover {
  border-color: #e5e5e5;
}

/* Pijltjes — enkel zichtbaar als er meer producten zijn dan er passen */
.mysite-return-slider__arrow,
.mysite-return-slider__arrow:hover,
.mysite-return-slider__arrow:focus {
  position: absolute;
  top: 125px;                    /* midden van de productfoto */
  transform: translateY(-50%);
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0 !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #1e1e1e !important;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.12) !important;
  cursor: pointer;
}

.mysite-return-slider__arrow.is-visible {
  display: flex;
}

.mysite-return-slider__arrow.is-prev {
  left: -18px;
}

.mysite-return-slider__arrow.is-next {
  right: -18px;
}

/* Retourformulier: e-mailveld links uitlijnen zoals het bestelnummer
   (overschrijft de gecentreerde MailPoet-regel bovenaan) */
.mysite-return-form__field input {
  text-align: left !important;
}

/* Beleidstekst onder de retourknop in de pop-up */
.mysite-return-modal__notice {
  text-align: center;
  margin: 12px 0 0;
}

/* Sluitknop retour-pop-up: gewoon een 1e1e1e kruisje, geen hover-effect */
.mysite-return-modal__close,
.mysite-return-modal__close:hover,
.mysite-return-modal__close:focus,
.mysite-return-modal__close:active {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #1e1e1e !important;
  outline: none !important;
}

/* ===== Swatches rechts naast de titel in de producttegels ===== */
/* 1. De link rond de afbeelding wordt het referentiepunt */
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap,
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap > a.woocommerce-LoopProduct-link {
  position: relative !important;
  display: block;
}

/* 2. Swatch-formulier uit de flow halen: ter hoogte van de titel, rechts uitgelijnd */
.woocommerce ul.products li.product .spswp_variations_form {
  position: absolute !important;
  top: calc(100% + 14px) !important;   /* ← dit getal aanpassen om te verlagen/verhogen */
  right: 2px;
  left: auto;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 3;
}

/* 3. Tabel en container niet laten uitrekken over de hele breedte */
.woocommerce ul.products li.product .spswp_variations_form table.spswp-shop-variations,
.woocommerce ul.products li.product .spswp_variations_form td.value {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.woocommerce ul.products li.product .spswp_variations_form .sp-smart-swatches-container {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 6px;
  margin: 0 !important;
  padding: 0 !important;
}

/* 4. Ruimte rechts van de titel, zodat lange titels niet onder de swatches lopen */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding-right: 75px !important;
}

/* Grotere afstand tussen de kolommen in de productgrid */
.woocommerce ul.products {
  column-gap: 20px !important;   /* ← horizontale afstand tussen de tegels */
  row-gap: 20px !important;      /* verticaal, tussen de rijen */
}

/* Raster: vaste kolommen met een kleine tussenruimte */
.single-product .related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  column-gap: var(--abj-related-gap) !important;
  row-gap: 40px !important;
  margin: 0 !important;
}

.single-product .related.products ul.products::before,
.single-product .related.products ul.products::after {
  display: none !important;
}

/* Tegels: geen eigen breedte, marge of binnenruimte */
.single-product .related.products ul.products li.product,
.single-product .related.products ul.products li.product.ast-article-single {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

/* Productfoto's staand: 2 breed, 3 hoog (swatches blijven ongemoeid) */
.single-product .related.products ul.products li.product .astra-shop-thumbnail-wrap > a > img,
.single-product .related.products ul.products li.product .sp-smart-swatches-original-thumbnail img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5 !important;
  object-fit: cover !important;
  object-position: center !important;
}

@media (max-width: 921px) {
  /* Tablet: 3 kolommen, mobiel: 2 */
  .single-product .related.products ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

}

@media (max-width: 544px) {
  .single-product .related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

}

/* Productfoto's in alle productgrids (shop, categorieën, gerelateerd): 4/5 */
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap > a > img,
.woocommerce ul.products li.product .sp-smart-swatches-original-thumbnail img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5 !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Checkout-overzicht: rijen MET extra info (gekozen tekst, kettingdraad, ...)
   Titel bovenaan naast de foto, extra info direct eronder.
   Breedtes blijven zoals ze waren; rijen zonder extra info veranderen niet. */
table.shop_table.woocommerce-checkout-review-order-table td.product-name:has(dl.variation) {
  --abj-meta-afstand: 10px;   /* ruimte tussen titel en tekst eronder: hier aanpassen */
  align-items: flex-start !important;
  align-content: flex-start !important;
  min-height: var(--abj-cart-thumb-width) !important;   /* rij nooit lager dan de foto */
}

table.shop_table.woocommerce-checkout-review-order-table td.product-name:has(dl.variation) > table[role="presentation"] td {
  vertical-align: top !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* De foto blijft op zijn plaats, maar bepaalt niet meer de hoogte van de titelregel */
table.shop_table.woocommerce-checkout-review-order-table td.product-name:has(dl.variation) > table[role="presentation"] td:first-child {
  position: relative !important;
}

table.shop_table.woocommerce-checkout-review-order-table td.product-name:has(dl.variation) > table[role="presentation"] td:first-child img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
}

table.shop_table.woocommerce-checkout-review-order-table td.product-name:has(dl.variation) dl.variation {
  margin-top: var(--abj-meta-afstand) !important;
}

/* Mijn account: titel verbergen */
body.woocommerce-account .entry-header{
  display: none !important;
}

/* Gsm: titels "Login" en "Inschrijven" op de accountpagina */
@media (max-width: 767px){
  body.woocommerce-account #customer_login h2{
    font-size: 25px !important;
    line-height: 1.2 !important;
  }
}