/* =========================
   JILESEN ECWID CLEAN CSS
========================= */
html#ecwid_html body#ecwid_body,
html#ecwid_html body#ecwid_body .ec-size,
html#ecwid_html body#ecwid_body .ec-store,
html#ecwid_html body#ecwid_body .ec-store__content-wrapper,
html#ecwid_html body#ecwid_body .ec-store__content {
  background: #ffffff !important;
  font-family: "Segoe UI", Inter, Arial, sans-serif !important;
  color: #1f2933 !important;
  box-sizing: border-box !important;
}

.ec-store *,
.ec-store *::before,
.ec-store *::after {
  box-sizing: border-box !important;
}

/* Store breedte */
html#ecwid_html body#ecwid_body .ec-size .ec-store,
html#ecwid_html body#ecwid_body .ec-size .ec-store__content-wrapper,
html#ecwid_html body#ecwid_body .ec-size .ec-store__content {
  max-width: 1680px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

/* Productpagina layout */
html#ecwid_html body#ecwid_body .ec-size .product-details,
html#ecwid_html body#ecwid_body .ec-size .ec-store .product-details {
  max-width: 1580px !important;
  width: 100% !important;
  margin: 0 auto 25px auto !important;
  padding: 18px 10px 20px 10px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  gap: 55px !important;
}

/* Producttitel */
.ec-store .product-details__product-title,
.ec-store h1 {
  font-family: "Poppins","Segoe UI",Arial,sans-serif !important;
  font-size: 38px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  letter-spacing: -0.8px !important;
  color: #1f2933 !important;
  margin-bottom: 14px !important;
}

/* Prijs */
.ec-store .grid-product__price,
.ec-store .product-details__product-price {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #1f4f82 !important;
}

/* =========================
   PRODUCT AFBEELDINGEN COMPACT
========================= */
.ec-size .ec-store .product-details__gallery,
.ec-size .ec-store .details-gallery {
  max-width: 680px !important;
  width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
  overflow: visible !important;
}

.ec-size .ec-store .ec-gallery__image,
.ec-size .ec-store .details-gallery__image {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

.ec-size .ec-store .ec-gallery__image img,
.ec-size .ec-store .details-gallery img,
.ec-size .ec-store .product-details__gallery img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 620px !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 auto !important;
  transform: none !important;
}

/* Thumbnails compact */
.ec-size .ec-store .ec-gallery__thumbs {
  margin-top: 16px !important;
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  overflow: visible !important;
  transform: none !important;
}

.ec-size .ec-store .ec-gallery__thumbs img {
  width: 78px !important;
  height: 78px !important;
  max-width: 78px !important;
  max-height: 78px !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  background: #fff !important;
}

/* Rechter product info */
.ec-store .product-details__sidebar,
.ec-store .product-details__info {
  max-width: 520px !important;
}

/* Buttons */
.ec-store .ecwid-btn,
.ec-store button {
  background: #1f4f82 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 14px 18px !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  box-shadow: none !important;
  transition: all 0.2s ease-in-out !important;
}

.ec-store .ecwid-btn:hover,
.ec-store button:hover {
  background: #173b61 !important;
  transform: translateY(-1px);
}

/* Productomschrijving breed */
.ec-store .product-details__product-description,
.ec-store .product-details__description,
.ec-store .ecwid-productBrowser-details-description,
.ec-store .ecwid-productBrowser-details-descr {
  max-width: 1500px !important;
  width: 100% !important;
  margin: 10px auto 0 auto !important;
  padding: 0 8px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.ec-store .product-details__product-description > div,
.ec-store .product-details__description > div,
.ec-store .ecwid-productBrowser-details-description > div,
.ec-store .ecwid-productBrowser-details-descr > div {
  max-width: 1500px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Tekst */
.ec-store .product-details__product-description h2 {
  font-size: 44px !important;
  line-height: 1.15 !important;
  font-weight: 750 !important;
  letter-spacing: -1px !important;
  color: #1f2933 !important;
  margin-bottom: 18px !important;
}

.ec-store .product-details__product-description h3 {
  font-size: 25px !important;
  line-height: 1.25 !important;
  font-weight: 750 !important;
  color: #0f2f55 !important;
  margin-bottom: 14px !important;
}

.ec-store .product-details__product-description p,
.ec-store .product-details__product-description li {
  font-size: 18px !important;
  line-height: 1.72 !important;
  color: #374151 !important;
}

.ec-store .product-details__product-description ul {
  padding-left: 24px !important;
}

/* Kolommen producttekst */
.ec-store .product-details__product-description div[style*="display:flex"],
.ec-store .product-details__product-description div[style*="display: flex"] {
  gap: 48px !important;
}

.ec-store .product-details__product-description div[style*="flex:1"],
.ec-store .product-details__product-description div[style*="flex: 1"] {
  flex: 1 1 430px !important;
}

/* FAQ */
.ec-store details {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #e5e7eb !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 16px 0 !important;
}

.ec-store summary {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  color: #111827 !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

.ec-store summary:hover {
  color: #1f4f82 !important;
}

/* Productcards categoriepagina */
.ec-store .grid-product {
  background: #ffffff !important;
  border: 1px solid #e6ebf2 !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045) !important;
  padding: 14px !important;
  transition: all 0.2s ease-in-out !important;
}

.ec-store .grid-product:hover {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09) !important;
  transform: translateY(-2px);
}

.ec-store .grid-product__title {
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 650 !important;
  color: #1f2933 !important;
}

/* Categorie intro */
.ec-store .category-description,
.ec-store .ec-category-description {
  max-width: 1500px !important;
  margin: 0 auto 35px auto !important;
  padding: 24px 28px !important;
  background: #f8fafc !important;
  border: 1px solid #e5eaf0 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

/* Formulieren */
.ec-store input,
.ec-store select,
.ec-store textarea {
  border: 1px solid #d7e3f3 !important;
  border-radius: 8px !important;
  color: #1f2933 !important;
}

.ec-store input:focus,
.ec-store select:focus,
.ec-store textarea:focus {
  border-color: #1f4f82 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(31, 79, 130, 0.12) !important;
}

/* Header fixes */
.is-sticky .dmHeaderContainer {
  display: none !important;
}

.topbar img,
.topbar .klarna,
.topbar [src*="klarna"] {
  display: none !important;
}

/* Mobiel */
@media (max-width: 768px) {
  html,
body {
    overflow-x: hidden !important;
  }
  html#ecwid_html body#ecwid_body .ec-size .ec-store,
html#ecwid_html body#ecwid_body .ec-store__content-wrapper,
html#ecwid_html body#ecwid_body .ec-store__content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: #ffffff !important;
  }
  html#ecwid_html body#ecwid_body .ec-size .product-details,
html#ecwid_html body#ecwid_body .ec-size .ec-store .product-details {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px 12px 24px 12px !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    gap: 20px !important;
  }
  .ec-store .product-details__product-title,
.ec-store h1 {
    font-size: 30px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.5px !important;
  }
  .ec-size .ec-store .product-details__gallery,
.ec-size .ec-store .details-gallery {
    max-width: 100% !important;
  }
  .ec-size .ec-store .ec-gallery__image img,
.ec-size .ec-store .details-gallery img,
.ec-size .ec-store .product-details__gallery img {
    max-height: 380px !important;
  }
  .ec-size .ec-store .ec-gallery__thumbs img {
    width: 62px !important;
    height: 62px !important;
    max-width: 62px !important;
    max-height: 62px !important;
  }
  .ec-store .product-details__product-description,
.ec-store .product-details__description,
.ec-store .ecwid-productBrowser-details-description,
.ec-store .ecwid-productBrowser-details-descr {
    max-width: 100% !important;
    width: 100% !important;
    margin: 18px 0 0 0 !important;
    padding: 0 12px !important;
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
  }
  .ec-store .product-details__product-description > div {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }
  .ec-store .product-details__product-description div[style*="display:flex"],
.ec-store .product-details__product-description div[style*="display: flex"],
.ec-store .product-details__product-description div[style*="display:grid"],
.ec-store .product-details__product-description div[style*="display: grid"] {
    display: block !important;
  }
  .ec-store .product-details__product-description h2 {
    font-size: 28px !important;
    line-height: 1.18 !important;
  }
  .ec-store .product-details__product-description h3 {
    font-size: 21px !important;
    line-height: 1.25 !important;
  }
  .ec-store .product-details__product-description p,
.ec-store .product-details__product-description li {
    font-size: 15.5px !important;
    line-height: 1.65 !important;
  }
  .ec-store .product-details__sidebar:after {
    background: #f8fafc !important;
    border: 1px solid #e5eaf0 !important;
    box-shadow: none !important;
    border-radius: 12px !important;
    padding: 14px !important;
    margin-top: 20px !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
  }
  .ec-store .grid-product {
    padding: 10px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
  }
  .ec-store .grid-product__title {
    font-size: 13px !important;
  }
  .ec-store .grid-product__price {
    font-size: 15px !important;
  }
  .ec-store .ecwid-btn {
    font-size: 13px !important;
    padding: 11px !important;
  }
}

.product-details__product-price-taxes,
.details-product-price-taxes,
.ec-product-details-price-taxes {
  display: none !important;
}

@media (max-width: 768px) {
  .jilesen-google-review {
    font-size: 13px !important;
    gap: 5px !important;
    white-space: nowrap !important;
  }
  .jilesen-google-review span:first-child {
    font-size: 15px !important;
  }
}

.jilesen-product-info {
  background: #f3f4f6;
  padding: 25px;
  border-radius: 14px;
  margin-top: 25px;
}

.jilesen-usp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.usp-item {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.usp-item h4 {
  margin: 0 0 6px;
  color: #1e3a8a;
}

.jilesen-kleuren-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.jilesen-kleuren-grid div {
  text-align: center;
}

.jilesen-kleuren-grid img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.jilesen-kleuren-grid span {
  display: block;
  font-size: 12px;
  margin-top: 5px;
}

/* ==========================================
   JILESEN ZIT-STA CATEGORIE FINETUNE
   ========================================== */
/* Productkaarten */
body.jilesen-zitsta-page
.ec-store .grid-product {
  border-radius: 15px !important;
  border: 1px solid #e3eaf2 !important;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.045) !important;
  transition: box-shadow .2s ease, transform .2s ease !important;
}

/* Subtiel hover-effect */
@media (hover: hover) {
  body.jilesen-zitsta-page
.ec-store .grid-product:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09) !important;
  }
}

/* Productnamen beter uitlijnen */
body.jilesen-zitsta-page
.ec-store .grid-product__title {
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1.45 !important;
  font-weight: 650 !important;
}

/* Prijs voldoende ruimte geven */
body.jilesen-zitsta-page
.ec-store .grid-product__price {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
  text-align: center !important;
}

/* Koopknoppen */
body.jilesen-zitsta-page
.ec-store .grid-product .ecwid-btn {
  border-radius: 9px !important;
  font-weight: 700 !important;
  transition: background .2s ease !important;
}

/* Mobiel */
@media (max-width: 768px) {
  body.jilesen-zitsta-page
.ec-store .grid-product__title {
    min-height: 52px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
  body.jilesen-zitsta-page
.ec-store .grid-product {
    border-radius: 12px !important;
  }
}
