/* ========== inline-cleanup.css ========== */
.cursor-pointer {
    cursor: pointer;
}

.img-48-cover {
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.display-none {
    display: none;
}

.maxw-150 {
    max-width: 150px;
}

.maxw-200 {
    max-width: 200px;
}

.cart-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
}

.cart-offcanvas-qty-col {
    min-width: 2rem;
}

.cart-offcanvas-qty-col .btn {
    line-height: 1;
}

.error-trace {
    max-height: 200px;
    overflow: auto;
    font-size: 11px;
}

.payment-logo {
    height: 64px;
    width: auto;
}

.maxw-280 {
    max-width: 280px;
}

.img-120-cover {
    height: 120px;
    object-fit: cover;
}

.img-160-cover {
    height: 160px;
    object-fit: cover;
}

.z-1080 {
    z-index: 1080;
}

/* Homepagina: toast onder inlog-/registreer-offcanvas zodat inloggen op mobiel werkt */
.guest-login-toast-container {
    z-index: 1040 !important;
}
.guest-login-toast-container .toast {
    z-index: inherit;
}

/* Form inputs min 16px op mobiel (voorkomt iOS zoom bij focus) */
@media (max-width: 767.98px) {
    input.form-control,
    select.form-control,
    select.form-select,
    textarea.form-control {
        font-size: 16px !important;
    }
}

/* Mobiel: inlog- en registreer-offcanvas volle breedte voor betere bruikbaarheid */
@media (max-width: 575px) {
    #loginOffcanvas.offcanvas-end,
    #registerOffcanvas.offcanvas-end {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Touch-target voor knoppen in offcanvas (o.a. Inloggen) – minimaal 44px */
.min-h-touch {
    min-height: 44px;
}

.top-2-5rem {
    top: 2.5rem;
}

.mt-2-5rem-important {
    margin-top: 2.5rem !important;
}

.offcanvas-auto-height {
    height: auto;
}

.hero-carousel-image {
    width: 100%;
    max-height: 360px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.product-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.cart-offcanvas-item .cart-offcanvas-delete {
    transition: opacity .15s ease-in-out;
}

/* Alleen op desktop: prullenbak verbergen tot hover */
@media (min-width: 992px) {
    .cart-offcanvas-item .cart-offcanvas-delete {
        opacity: 0;
        pointer-events: none;
    }
    .cart-offcanvas-item:hover .cart-offcanvas-delete,
    .cart-offcanvas-item:focus-within .cart-offcanvas-delete {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Mobiel: winkelwagen offcanvas volle breedte, prullenbak altijd zichtbaar */
@media (max-width: 991px) {
    #cartOffcanvas,
    .offcanvas-cart.offcanvas-end {
        width: 100% !important;
        max-width: 100% !important;
    }
    #cartOffcanvas .cart-offcanvas-delete,
    #cartOffcanvas .js-cart-remove,
    .offcanvas-cart .cart-offcanvas-delete {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

/* Touch: prullenbak altijd zichtbaar (geen hover) */
@media (hover: none) {
    #cartOffcanvas .cart-offcanvas-delete,
    #cartOffcanvas .js-cart-remove,
    .offcanvas-cart .cart-offcanvas-delete {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

.min-width-0 {
    min-width: 0;
}

.cart-offcanvas-item {
    transition: opacity .22s ease, transform .22s ease, max-height .22s ease, margin .22s ease, padding .22s ease;
}

.cart-offcanvas-item.is-removing {
    opacity: 0;
    transform: translateX(12px);
    max-height: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden;
}

.cart-offcanvas-items {
    min-height: 0;
}

/* Productbeschrijving in productcards: altijd bodygrootte (1rem), zelfde als "Levertijd · Veilig betalen · Klantenservice" */
.card.product-wap .card-body .card-text.product-desc-home,
.card.product-wap .card-body .card-text.product-desc-shop,
.card.product-wap .card-body .card-text.product-desc-sales {
    font-size: 1rem !important;
    line-height: 1.5 !important;
}

/* Productkaarten overal hetzelfde (zoals sales): grootte en letterdikte */
.card.product-wap .card-body a.tm-title-underline {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}
.card.product-wap .card-body .card-text.product-desc-home,
.card.product-wap .card-body .card-text.product-desc-shop,
.card.product-wap .card-body .card-text.product-desc-sales {
    color: #212529 !important;
}
.card.product-wap .card-body .text-muted.small,
.card.product-wap .card-body p.text-muted {
    font-size: 0.875rem !important;
}

/* ========== widgets.css ========== */
.support-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: none;
    max-width: 100%;
    border-radius: 8px;
    flex-direction: column;
}

.ticket-panel {
    width: 400px;
    height: 480px;
}

.chat-panel {
    width: 360px;
    height: 420px;
}

.support-panel-header {
    border-radius: 8px 8px 0 0;
}

.ticket-conversation {
    display: none;
    height: 260px;
    font-size: 14px;
}

.chat-messages {
    height: 260px;
    font-size: 14px;
}

.chat-login {
    display: none;
}

#site-notice-popup {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 10020;
    max-width: 380px;
    width: calc(100% - 40px);
    background: #fff;
    border: 1px solid #d9e7ef;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

#site-notice-popup-header {
    background: #0d6efd;
    color: #fff;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#site-notice-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

#site-notice-body {
    padding: 12px 14px;
    font-size: 14px;
    color: #1f2d3d;
}

/* ========== Hoofdmenu actief: alleen groen (geen bak) — laatste stylesheet, wint van oudere cache ========== */
#templatemo_main_nav_wrapper.site-header-double .site-header-bar-dark .site-header-icon-nav .nav-link.site-header-icon-link.active,
#templatemo_main_nav_wrapper.site-header-double .site-header-bar-dark .site-header-icon-nav .nav-link.site-header-icon-link[aria-current="page"] {
    color: #69bb7e !important;
    font-weight: 600 !important;
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
#templatemo_main_nav_wrapper.site-header-double .site-header-bar-dark .site-header-icon-nav .nav-link.site-header-icon-link.active .fa,
#templatemo_main_nav_wrapper.site-header-double .site-header-bar-dark .site-header-icon-nav .nav-link.site-header-icon-link.active i,
#templatemo_main_nav_wrapper.site-header-double .site-header-bar-dark .site-header-icon-nav .nav-link.site-header-icon-link[aria-current="page"] .fa,
#templatemo_main_nav_wrapper.site-header-double .site-header-bar-dark .site-header-icon-nav .nav-link.site-header-icon-link[aria-current="page"] i {
    color: #69bb7e !important;
}
#templatemo_main_nav_wrapper.site-header-double .site-header-bar-dark .site-header-icon-nav .nav-link.site-header-icon-link.active:hover,
#templatemo_main_nav_wrapper.site-header-double .site-header-bar-dark .site-header-icon-nav .nav-link.site-header-icon-link.active:focus,
#templatemo_main_nav_wrapper.site-header-double .site-header-bar-dark .site-header-icon-nav .nav-link.site-header-icon-link[aria-current="page"]:hover,
#templatemo_main_nav_wrapper.site-header-double .site-header-bar-dark .site-header-icon-nav .nav-link.site-header-icon-link[aria-current="page"]:focus {
    background-color: transparent !important;
    background: transparent !important;
    color: #69bb7e !important;
    border: none !important;
    box-shadow: none !important;
}
html[data-bs-theme=dark] #templatemo_main_nav_wrapper.site-header-double .site-header-bar-dark .site-header-icon-nav .nav-link.site-header-icon-link.active,
html[data-bs-theme=dark] #templatemo_main_nav_wrapper.site-header-double .site-header-bar-dark .site-header-icon-nav .nav-link.site-header-icon-link[aria-current="page"] {
    color: #69bb7e !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
html[data-bs-theme=dark] #templatemo_main_nav_wrapper.site-header-double .site-header-bar-dark .site-header-icon-nav .nav-link.site-header-icon-link.active .fa,
html[data-bs-theme=dark] #templatemo_main_nav_wrapper.site-header-double .site-header-bar-dark .site-header-icon-nav .nav-link.site-header-icon-link.active i,
html[data-bs-theme=dark] #templatemo_main_nav_wrapper.site-header-double .site-header-bar-dark .site-header-icon-nav .nav-link.site-header-icon-link[aria-current="page"] .fa,
html[data-bs-theme=dark] #templatemo_main_nav_wrapper.site-header-double .site-header-bar-dark .site-header-icon-nav .nav-link.site-header-icon-link[aria-current="page"] i {
    color: #69bb7e !important;
}
