/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme voor Astra
Author: Scorpius
Template: astra
Version: 1.0.0.58
Text Domain: astra-child
*/
#masthead {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
}
body.admin-bar #masthead {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar #masthead {
        top: 46px;
    }
}
.site-below-footer-wrap[data-section="section-below-footer-builder"] {
    height: 0;
    min-height: auto;
    padding: 0;
    background: #fff;
    border: 0;
}
.site-below-footer-wrap .ast-builder-grid-row-container-inner {
    background: #fff;
}
.ast-separate-container #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container.ast-right-sidebar #primary {
	margin-top:0;
}
.main-header-menu .menu-item {
    margin-right: 5px;
}
.main-header-menu .sub-menu .menu-link {
	padding: .4em 1em;
	font-size: 15px;
}
.main-header-bar.ast-header-breadcrumb {
	display: none;
}
#ast-hf-menu-1 > .menu-item > .menu-link:hover, #ast-hf-menu-1 > .menu-item.current-menu-item > .menu-link {
    background: #edf5e9;
    color: #315e2b;
    border-radius: 8px;
}
ol {
	margin-left:0!important;
}

.wp-block-button.button-arrow .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.wp-block-button.button-arrow .wp-block-button__link::after {
    content: "➝";
    color: #fff;
    font-size: 1.2em;
    line-height: 1;
    position: relative;
}

.ast-container, .ast-container-fluid {
    padding-left:10px;
    padding-right: 10px;
}
.ast-separate-container #primary {
    padding: 0;
}
.ast-woocommerce-container {
    margin-top: 50px;
}
.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single, .ast-separate-container .ast-author-box, .ast-separate-container .ast-404-layout-1, .ast-separate-container .no-results {
    padding-left: 0!important;
    padding-right: 0!important;
}
ul.wc-block-product-template {
    margin: 0;
}
@media (min-width: 922px) {
    .woocommerce #content .ast-woocommerce-container div.product div.images, .woocommerce .ast-woocommerce-container div.product div.images, .woocommerce-page #content .ast-woocommerce-container div.product div.images, .woocommerce-page .ast-woocommerce-container div.product div.images {
        width: 30%;
    }
    .woocommerce #content .ast-woocommerce-container div.product div.summary, .woocommerce .ast-woocommerce-container div.product div.summary, .woocommerce-page #content .ast-woocommerce-container div.product div.summary, .woocommerce-page .ast-woocommerce-container div.product div.summary {
        width: 66%;
    }
}
.woocommerce-js div.product .product_title {
     font-size: 28px;
    font-weight: 600;
}
.woocommerce-js div.product p.price, .woocommerce-js div.product span.price {
    font-size: 20px;
    margin-bottom: 20px;
}
.woocommerce-js div.product div.images img {
    max-width: 300px;
}
.woocommerce-js div.product div.summary .single-product-category {
    font-size: 15px;
}
.product_meta {
    display: none;
}
.footer-widget-area[data-section="sidebar-widgets-footer-widget-2"].footer-widget-area-inner {
    text-align: right;
}
button, button:focus, button:active {
    outline: none!important;
    border: none!important;
}
.ast-desktop:not(:has(.ast-header-sticked)) .ast-primary-header-bar .main-header-menu > .menu-item {
    line-height: 40px;
}
.ast-header-break-point .ast-nav-menu .sub-menu {
    line-height: 1.4;
}
.sub-menu .menu-item {
    margin-bottom: 15px;
}
.sub-menu li a {
    font-size: 18px!important;
}
@media (max-width: 544px) {
    body:not(.home) h1 {
        font-size: 24px!important;
    }
    .ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle {
        top: 7px;
    }

    .footer-widget-area[data-section="sidebar-widgets-footer-widget-2"].footer-widget-area-inner {
        margin-top: 20px;
        text-align: center!important;
    }
    .footer-widget-area[data-section="sidebar-widgets-footer-widget-2"].footer-widget-area-inner p.has-text-align-right {
        text-align: center!important;
    }
}
@media (max-width: 1190px) {
    .ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle {
        top: 7px;
    }
}
@media (min-width: 545px) and (max-width: 1190px) {
    .footer-widget-area[data-section="sidebar-widgets-footer-widget-1"].footer-widget-area-inner {
        text-align: left!important;
    }
        .footer-widget-area[data-section="sidebar-widgets-footer-widget-2"].footer-widget-area-inner {
                text-align: right!important;
    }
}

/* Astra submenu */
@media (min-width: 922px) {

    /* Dropdown container */
    .main-header-menu .sub-menu {
        min-width: 310px;
        padding: 10px;
        background: #fff;
        border: 0px solid #D5EAD8;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        box-shadow: none;
    }

    /* Verwijder standaard Astra borders */
    .main-header-menu .sub-menu,
    .main-header-menu .sub-menu .menu-item {
        border-top: none;
        border-bottom: none;
    }

    /* Menu links */
    .main-header-menu .sub-menu .menu-link {
        display: block;
        padding: 11px 14px;
        border-radius: 6px;
        color: #41683a;
        font-size: 16px;
        line-height: 1.4;
        transition: background-color 0.2s ease,
                    color 0.2s ease;
    }

    /* Hover en toetsenbordfocus */
    .main-header-menu .sub-menu .menu-link:hover,
    .main-header-menu .sub-menu .menu-link:focus-visible {
        background: #edf5e9;
        color: #315e2b;
    }

    /* Actief menu-item */
    .main-header-menu .sub-menu
    .current-menu-item > .menu-link {
        color: #315e2b;
        font-weight: 600;
    }

}

/* Sidebar navigatie */
.haarproblemen-nav {
    background: #e2efe1;
    border-radius: 12px;
    padding: 28px 24px;
}

/* Titel */
.haarproblemen-nav h2,
.haarproblemen-nav h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 20px;
    color: #203a25;
}

/* Lijst */
.haarproblemen-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.haarproblemen-nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Links */
.haarproblemen-nav li a {
    display: block;
    padding: 10px 14px;
    color: #41683a;
    text-decoration: none;
    border-radius: 7px;
    font-size: 16px;
    line-height: 1.4;
    transition: background-color .2s ease,
                color .2s ease;
}

/* Hover */
.haarproblemen-nav li a:hover,
.haarproblemen-nav li a:focus-visible {
    background: rgba(255, 255, 255, .65);
    color: #315e2b;
}

/* Actieve pagina */
.haarproblemen-nav li.current_page_item > a,
.haarproblemen-nav li.current-menu-item > a {
    background: #fff;
    color: #315e2b;
    font-weight: 600;
}


.ast-plain-container.ast-no-sidebar #primary {
	margin-top: 0!important;
	margin-bottom: 0!important;
}

#ast-hf-mobile-menu {
    margin-top: 60px;
}
#ast-hf-mobile-menu li a {
    font-size: 20px;
}

.gfield_required {
    display: none;
}
.gfield_label {
    font-size: 16px!important;
    font-weight: 600!important;
}
.gform_button {
    padding: 14px 24px!important;
    background: #d8673d!important;
    color: #fff!important;
    border-radius: 50px!important;
    font-size: 16px!important;
    font-weight: 600!important;
    text-decoration: none!important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2)!important;
    transition: all 0.2s ease!important;
}
.gform_button:hover {
    background: #183a5c!important;
    transform: translateY(-3px)!important;
}
/* Gravity Forms sterrenrating */
.gform_wrapper .gf-star-rating .gfield_radio {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

/* Radio buttons visueel verbergen */
.gform_wrapper .gf-star-rating .gchoice {
    position: relative;
}

.gform_wrapper .gf-star-rating input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

/* Sterren */
.gform_wrapper .gf-star-rating .gchoice label {
    display: block;
    font-size: 0;
    cursor: pointer;
    max-width: none;
}

.gform_wrapper .gf-star-rating .gchoice label::before {
    content: "★";
    font-size: 36px;
    line-height: 1;
    color: #ccc;
    transition: color 0.2s;
}

/* Hover */
.gform_wrapper .gf-star-rating .gchoice:hover label::before,
.gform_wrapper .gf-star-rating .gchoice:hover ~ .gchoice label::before {
    color: #f5b301;
}

/* Geselecteerde sterren */
.gform_wrapper .gf-star-rating .gchoice:has(input:checked) label::before,
.gform_wrapper .gf-star-rating .gchoice:has(input:checked) ~ .gchoice label::before {
    color: #f5b301;
}

/* Focus voor toetsenbordgebruik */
.gform_wrapper .gf-star-rating input:focus-visible + label::before {
    outline: 2px solid currentColor;
    outline-offset: 3px;
    border-radius: 3px;
}

.whatsapp-button {
    position: fixed;
    right: 25px;
    bottom: 27px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #25D366;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,.15);
    transition: transform .2s ease;
}

.whatsapp-button:hover {
    transform: translateY(-3px);
    color: #fff;
}

.floating-appointment {
    position: fixed;
    bottom: 25px;
    right: 100px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: #d8673d;
    color: #fff;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}
.floating-appointment .icon {
    display: block;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background-color: #fff;
    mask: url("calendar-days.svg") center / contain no-repeat;
}
.floating-appointment:hover {
    background: #183a5c;
    color: #fff;
    transform: translateY(-3px);
}
.page-id-1650 .whatsapp-button, .page-id-1650 .floating-appointment {
    display: none;
}

@media (max-width: 768px) {
    .whatsapp-button {
        right: 15px;
        bottom: 15px;
    }
    .floating-appointment {
        bottom: 15px;
        left: 15px;
        right: auto;
        /*transform: translateX(-50%);*/
        white-space: nowrap;
    }

    .floating-appointment:hover {
        transform: translateX(-50%) translateY(-3px);
    }
}

@media (max-width: 1190px) {
    .xoo-wsc-basket {
        top: 5px;
        right: 70px;
        width: 55px;
        height: 55px;
    }
}

@media (min-width: 1191px) {
    .ast-grid-right-section {
        justify-content: flex-start!important;
    }
}


.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.review-card {
    display: flex;
    flex-direction: column;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    height: 100%;
}
.home .review-card {
    background: #f7f8f6;
}

.review-stars {
    display: flex;
    gap: 3px;
    font-size: 24px;
    line-height: 1;
    margin-bottom: 20px;
}

.review-stars .filled {
    color: #e5ad42;
}

.review-stars .empty {
    color: #d9d9d9;
}

.review-title {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 15px;
}


.review-content {
    overflow: hidden;
    transition: height 350ms ease-in-out;
}

.review-content.is-collapsed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}

.review-read-more {
    display: inline-block;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: none;
    color: #427c62;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.review-read-more[hidden] {
    display: none;
}
.review-read-more:hover, .review-read-more:focus{
    background: transparent;
    color: #427c62;
}
@media (prefers-reduced-motion: reduce) {
    .review-content {
        transition: none;
    }
}

.review-author {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
    font-size: 15px;
    font-weight: 600;
}

/* Tablet */
@media (max-width: 991px) {
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobiel */
@media (max-width: 600px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .review-card {
        padding: 24px;
    }
}
