/* 
Theme Name: Schuifdeur Totaal Child Theme
Theme URI: https://github.com/elementor/hello-theme/
Description: Schuifdeur Totaal Child Theme of Hello Elementor, created by ROCK Design
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

.product-tab-downloads-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.product-tab-downloads-item {
    display: flex;
}

.product-tab-downloads-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 72px;
    padding: 16px 18px;
    border: 1px solid #e6e6e6;
    color: inherit;
    text-decoration: none;
    line-height: 1.4;
    transition: border-color .2s ease, background-color .2s ease;
}

.product-tab-downloads-link:hover {
    border-color: #f4a900;
    background-color: #fafafa;
}

.product-tab-downloads-link span {
    flex: 1;
}

.product-tab-downloads-link i {
    flex: 0 0 auto;
    font-size: 18px;
}

/* Tablet */
@media (max-width: 1024px) {
    .product-tab-downloads-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobiel */
@media (max-width: 767px) {
    .product-tab-downloads-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.product-tab-maatvoering-gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.product-tab-maatvoering-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.product-tab-maatvoering-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform .25s ease;
}

.product-tab-maatvoering-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 45, 60, .58);
    color: #fff;
    opacity: 0;
    transition: opacity .2s ease;
}

.product-tab-maatvoering-overlay i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 22px;
}

.product-tab-maatvoering-link:hover,
.product-tab-maatvoering-link:focus-visible {
    border-color: #f4a900;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

.product-tab-maatvoering-link:hover .product-tab-maatvoering-overlay,
.product-tab-maatvoering-link:focus-visible .product-tab-maatvoering-overlay {
    opacity: 1;
}

.product-tab-maatvoering-link:hover .product-tab-maatvoering-image {
    transform: scale(1.04);
}

/* Tablet */
@media (max-width: 1024px) {
    .product-tab-maatvoering-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Mobiel */
@media (max-width: 767px) {
    .product-tab-maatvoering-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* Elementor-lightbox: alleen compacte pijlen, zonder knop-achtergrond */
.dialog-lightbox-widget-content .elementor-swiper-button {
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    z-index: 20;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(-50%) !important;
}

.dialog-lightbox-widget-content .elementor-swiper-button-prev {
    left: 20px !important;
    right: auto !important;
}

.dialog-lightbox-widget-content .elementor-swiper-button-next {
    right: 20px !important;
    left: auto !important;
}

.dialog-lightbox-widget-content .elementor-swiper-button i {
    font-size: 30px;
}

.dialog-lightbox-widget-content .elementor-swiper-button:hover {
    background: transparent !important;
    color: #f4a900 !important;
    transform: translateY(-50%) !important;
}

/* Laat de pijlen ook staan wanneer Elementor de overige interface verbergt */
.dialog-lightbox-widget-content
.elementor-slideshow--ui-hidden
.elementor-swiper-button {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Algemene opmaak: WooCommerce productomschrijving */
.woocommerce div.product #tab-description .product_content_wrapper {
    color: #3d3d3d;
    font-size: 16px;
    line-height: 1.65;
}

/* Alle echte koppen in de productomschrijving gelijk trekken */
.woocommerce div.product #tab-description h2,
.woocommerce div.product #tab-description h3 {
    color: #2f2f2f;
    font-size: clamp(20px, 2.4vw, 24px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.02em;
}

/* Alleen de ruimte vóór de eerste titel is anders */
.woocommerce div.product #tab-description h2 {
    margin: 0 0 20px;
}

/* Zelfde vormgeving, consistente afstand tussen secties */
.woocommerce div.product #tab-description h3 {
    margin: 36px 0 14px;
}

/* Een strong-tag binnen een kop mag de kopstijl niet overschrijven */
.woocommerce div.product #tab-description h2 strong,
.woocommerce div.product #tab-description h3 strong {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

/* Tekst en nadruk */
.woocommerce div.product #tab-description p {
    margin: 0 0 18px;
}

.woocommerce div.product #tab-description strong {
    color: #2f2f2f;
    font-weight: 700;
}

/* Subtiele, consistente sectiescheiding */
.woocommerce div.product #tab-description hr {
    height: 1px;
    margin: 32px 0;
    border: 0;
    background: #dedede;
}

/* Links */
.woocommerce div.product #tab-description a {
    color: #0b3c6f;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(11, 60, 111, .35);
    text-underline-offset: 3px;
}

.woocommerce div.product #tab-description a:hover {
    color: #f4a900;
    text-decoration-color: currentColor;
}

/* Mobiel */
@media (max-width: 767px) {
    .woocommerce div.product #tab-description .product_content_wrapper {
        font-size: 15px;
        line-height: 1.6;
    }

    .woocommerce div.product #tab-description h3 {
        margin-top: 28px;
    }

    .woocommerce div.product #tab-description hr {
        margin: 26px 0;
    }
}

/* Tab: Algemene verzendinformatie */
.woocommerce div.product #tab-verzendinformatie {
    color: #3d3d3d;
    font-size: 16px;
    line-height: 1.65;
}

.woocommerce div.product #tab-verzendinformatie p {
    margin: 0 0 20px;
}

.woocommerce div.product #tab-verzendinformatie ul {
    display: grid;
    gap: 12px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.woocommerce div.product #tab-verzendinformatie li {
    position: relative;
    padding: 16px 18px 16px 44px;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    background: #fafafa;
}

.woocommerce div.product #tab-verzendinformatie li::before {
    position: absolute;
    top: 23px;
    left: 18px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #f4a900;
    content: "";
}

.woocommerce div.product #tab-verzendinformatie a {
    color: #0b3c6f;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(11, 60, 111, .35);
    text-underline-offset: 3px;
}

.woocommerce div.product #tab-verzendinformatie a:hover {
    color: #f4a900;
    text-decoration-color: currentColor;
}

@media (max-width: 767px) {
    .woocommerce div.product #tab-verzendinformatie {
        font-size: 15px;
        line-height: 1.6;
    }

    .woocommerce div.product #tab-verzendinformatie li {
        padding: 14px 14px 14px 38px;
    }

    .woocommerce div.product #tab-verzendinformatie li::before {
        top: 21px;
        left: 15px;
    }
}

/* Korte productomschrijving */
.single-product .elementor-widget-theme-post-excerpt .elementor-widget-container {
    color: #3d3d3d;
    font-size: 16px;
    line-height: 1.55;
}

/* Intro-/belofte-regel */
.single-product .elementor-widget-theme-post-excerpt strong {
    display: block;
    margin-bottom: 10px;
    color: #2f2f2f;
    font-weight: 700;
}

/* Pluspunten */
.single-product .elementor-widget-theme-post-excerpt ul {
    display: grid;
    gap: 7px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.single-product .elementor-widget-theme-post-excerpt li {
    position: relative;
    padding-left: 22px;
}

.single-product .elementor-widget-theme-post-excerpt li::before {
    position: absolute;
    top: .6em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

@media (max-width: 767px) {
    .single-product .elementor-widget-theme-post-excerpt .elementor-widget-container {
        font-size: 15px;
        line-height: 1.6;
    }
}

/* WooCommerce-categorie-/archiefomschrijvingen */
.elementor-widget-woocommerce-archive-description .term-description {
    color: #3d3d3d;
    font-size: 16px;
    line-height: 1.65;
}

/* Alle koppen dezelfde stijl */
.elementor-widget-woocommerce-archive-description .term-description h2,
.elementor-widget-woocommerce-archive-description .term-description h3 {
    margin: 36px 0 14px;
    color: #2f2f2f;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.elementor-widget-woocommerce-archive-description .term-description h2:first-child,
.elementor-widget-woocommerce-archive-description .term-description h3:first-child {
    margin-top: 0;
}

/* Alinea's */
.elementor-widget-woocommerce-archive-description .term-description p {
    margin: 0 0 18px;
}

/* Eventuele echte lijsten */
.elementor-widget-woocommerce-archive-description .term-description ul,
.elementor-widget-woocommerce-archive-description .term-description ol {
    margin: 0 0 22px;
    padding-left: 22px;
}

.elementor-widget-woocommerce-archive-description .term-description li {
    margin-bottom: 7px;
}

/* Links */
.elementor-widget-woocommerce-archive-description .term-description a {
    color: #0b3c6f;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(11, 60, 111, .35);
    text-underline-offset: 3px;
}

.elementor-widget-woocommerce-archive-description .term-description a:hover {
    color: #f4a900;
    text-decoration-color: currentColor;
}

/* Mobiel */
@media (max-width: 767px) {
    .elementor-widget-woocommerce-archive-description .term-description {
        font-size: 15px;
        line-height: 1.6;
    }

    .elementor-widget-woocommerce-archive-description .term-description h2,
    .elementor-widget-woocommerce-archive-description .term-description h3 {
        margin-top: 28px;
        font-size: 26px;
    }
}

  .woocommerce-checkout-review-order-table {
    table-layout: fixed;
  }

  .woocommerce-checkout-review-order-table .product-name {
    width: 70%;
  }

  .woocommerce-checkout-review-order-table .product-total {
    width: 30%;
    white-space: nowrap;
  }

  /* Detailblok mag doorlopen onder de subtotaal-kolom */
  .woocommerce-checkout-review-order-table .product-name .variation {
    width: calc(100% / 0.7);
    max-width: none;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    margin: 16px 0 8px;
    padding: 0;
    font-size: 14px;
    line-height: 1.45;
  }

  /* Elke titel en gekozen waarde op een eigen regel */
  .woocommerce-checkout-review-order-table .product-name .variation dt,
  .woocommerce-checkout-review-order-table .product-name .variation dd {
    display: block;
    width: 100%;
    margin: 0;
  }

  .woocommerce-checkout-review-order-table .product-name .variation dt {
    margin-top: 10px;
    font-weight: 700;
  }

  .woocommerce-checkout-review-order-table .product-name .variation dt:first-child {
    margin-top: 0;
  }

  .woocommerce-checkout-review-order-table .product-name .variation dd {
    margin-top: 2px;
    color: #4b5563;
  }

  /* Compactere verzendmethoden */
  .woocommerce-checkout-review-order-table #shipping_method {
    margin: 0;
  }

  .woocommerce-checkout-review-order-table #shipping_method li {
    margin: 0 0 8px;
    line-height: 1.35;
  }

  .woocommerce-checkout-review-order-table #shipping_method label {
    font-size: 14px;
    line-height: 1.35;
  }