/* ================================================================
   Les Hollés – Shop CSS (WooCommerce overrides)
   ================================================================ */

:root {
    --shop-bg:           white;
    --shop-text:         #1a1a18;
    --shop-muted:        #7a7a72;
    --shop-border:       #e4e2dc;
    --shop-pill-bg:      #eceae4;
    --shop-pill-hover:   #e0ddd5;
    --shop-white:        #ffffff;
    --shop-drawer-w:     320px;
    --shop-font:         'Garamond', 'EB Garamond', Georgia, serif;
    --shop-font-ui:      'Helvetica Neue', Helvetica, Arial, sans-serif;
    --shop-transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================================
   GLOBALE WC RESETS (verwijder goud/paars/blauw defaults)
================================================================ */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button {
    background-color: var(--shop-text) !important;
    color:            var(--shop-white) !important;
    border-radius:    0 !important;
    font-family:      var(--shop-font-ui) !important;
    font-size:        0.78rem !important;
    letter-spacing:   0.06em !important;
    text-transform:   uppercase !important;
}


/* Verwijder WC rode doorgestreepte prijs kleur */
.woocommerce ul.products li.product .price del,
.woocommerce ul.products li.product .price del .amount {
    color:   var(--shop-muted) !important;
    opacity: 0.5 !important;
}

/* ================================================================
   SHOP WRAPPER
================================================================ */
.woocommerce,
.woocommerce-page {
    background: var(--shop-bg);
}

.lh-shop {
    background: var(--shop-bg);
    min-height: 60vh;
    padding:    0 0 80px;
}

.lh-shop__wrapper {
    max-width: 1600px;
    margin:    0 auto;
}

/* ================================================================
   FILTERBAR
================================================================ */
.lh-filterbar {
    top:           0;
	padding-bottom: 35px;
    margin-bottom: 0;
	margin-top: 130px;
}

.lh-filterbar__inner {
    max-width:   1600px;
    margin:      0 auto;
    padding:     0 30px;
    height:      68px;
    display:     flex;
    align-items: center;
	justify-content: space-between;
    gap:         20px;
	border-top: 1px solid black;
    border-bottom: 1px solid black;
}

.lh-filterbar__left {
    display:    flex;
    align-items: center;
    gap:        12px;
    overflow:   hidden;
	width: 33%;
}

.lh-filterbar__toggle {
    display:        flex;
    align-items:    flex-start;
    gap:            8px;
    background:     transparent;
    border:         1px solid var(--shop-border);
    padding: 6px 18px 8px 18px;
    font-family: Molengo;
    font-size:      18px;
    letter-spacing: 0.04em;
    color:          var(--shop-text);
    cursor:         pointer;
    white-space:    nowrap;
    transition:     border-color 0.2s, background 0.2s;
    flex-shrink:    0;
    border-radius:  5px;
}

.lh-filterbar__toggle:hover {
    border-color: var(--shop-text);
}

.lh-filterbar__toggle svg {
	position: relative; 
	top: 3px;
}

.lh-filterbar__pills {
    display:    flex;
    align-items: center;
    gap:         8px;
    overflow-x:  auto;
    scrollbar-width: none;
}
.lh-filterbar__pills::-webkit-scrollbar { display: none; }

.lh-filterbar__pill {
    display:         inline-flex;
    align-items:     center;
    gap:             6px;
    padding:         5px 12px;
    color:           var(--shop-text);
	font-family: Microsoft Himalaya;
	font-weight: 400;
	font-style: Regular;
	font-size: 26px;
	leading-trim: NONE;
	position: relative;
	top: 4px;
	line-height: 100%;
	letter-spacing: 0%;
	text-align: center;

}

.lh-filterbar__pill svg { 
	opacity: 0.55; 
	flex-shrink: 0; 
	    position: relative;
    bottom: 3px;
}

.lh-filterbar__count {
	font-family: Molengo;
	font-weight: 400;
	font-style: Regular;
	font-size: 18px;
	leading-trim: NONE;
	line-height: 100%;
	letter-spacing: 0%;
	width: 33%;
	text-align: center;
}

h2.woocommerce-loop-product__title {
	text-align: center;
}

.lh-filterbar__right { 
	flex-shrink: 0; 
	width: 33%;
	display: flex;
    justify-content: flex-end;
}

.lh-sort-form {
    display:     flex;
    align-items: center;
    gap:         10px;
}

.lh-sort-form__label {
    font-family: Molengo;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
}

.lh-sort-form__select-wrap {
    position:    relative;
    display:     flex;
    align-items: center;
}

.lh-sort-form__select {
    appearance:      none;
    -webkit-appearance: none;
    background:      transparent;
    border:          none;
    border-bottom:   1px solid var(--shop-border);
    padding:         4px 22px 4px 0;
    font-family:     var(--shop-font-ui);
    font-size:       18px;
    color:           var(--shop-text);
    cursor:          pointer;
    outline:         none;
    transition:      border-color 0.2s;
    min-width:       150px;
	    font-family: Molengo;
}
.lh-sort-form__select:focus { border-bottom-color: var(--shop-text); }

.lh-sort-form__arrow {
    position:       absolute;
    right:          0;
    pointer-events: none;
    color:          var(--shop-muted);
}

/* ================================================================
   PRODUCTGRID – volledige WC override
================================================================ */

/* Reset de WC ul.products */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display:               grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap:                   0 !important;
    margin:                0 !important;
    padding:               0 !important;
    list-style:            none !important;
    clear:                 both !important;
    float:                 none !important;
}

/* Product li */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    padding:        0 !important;
    margin:         0 !important;
    width:          auto !important;
    float:          none !important;
    clear:          none !important;
    background:     var(--shop-bg) !important;
    position:       relative !important;
    display:        flex !important;
    flex-direction: column !important;
}

/* ── Afbeelding: volledige kaart, 3:4 ratio ── */
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .woocommerce-loop-product__link img,
.woocommerce ul.products li.product img {
    width:        100% !important;
    height:       auto !important;
    aspect-ratio: 3 / 4 !important;
    object-fit:   cover !important;
    display:      block !important;
    margin:       0 !important;
    padding:      0 !important;
    transition:   transform 0.5s cubic-bezier(0.4,0,0.2,1) !important;
    border:       none !important;
    border-radius: 0 !important;
    box-shadow:   none !important;
}

/* Hover zoom */

/* Overflow hidden op de link zodat zoom werkt */
.woocommerce ul.products li.product .woocommerce-loop-product__link {
    display:   block !important;
    overflow:  hidden !important;
}

/* ── Producttitel ── */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
	font-family: Molengo;
	font-weight: 400;
	font-style: Regular;
	font-size: 22px;
	leading-trim: NONE;
	line-height: 120%;
	letter-spacing: 0%;
	text-align: center;
    text-align:   center !important;
}

/* ── Prijs ── */
.woocommerce ul.products li.product .price {
	font-family: Molengo;
	font-weight: 400;
	font-style: Regular;
	font-size: 20px;
	leading-trim: NONE;
	line-height: 140%;
	letter-spacing: 0%;
	text-align: center;
	color: black;
}

/* ── Add to cart: VERBERGEN op overzichtspagina ── */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce ul.products li.product form.cart {
    display: none !important;
}

/* ── "New In" badge / sale flash ── */
.woocommerce ul.products li.product .onsale {
    position:       absolute !important;
    top:            10px !important;
    left:           10px !important;
    right:          auto !important;
    color:          white;
    font-family:    'Molengo', sans-serif;
    font-size:      14px; !important;
    text-transform: uppercase !important;
    padding:        5px 12px;
    border-radius:  5px !important;
    margin:         0 !important;
    min-width:      auto !important;
    min-height:     auto !important;
    line-height:    1 !important;
    z-index:        2 !important;
	background-color: #F90101;
}

/* ── Star ratings verbergen ── */
.woocommerce ul.products li.product .star-rating {
    display: none !important;
}

/* ── "Coming soon" placeholder ── */
.woocommerce ul.products li.product.product-coming-soon .woocommerce-loop-product__link::after {
    content:         'Coming Soon';
    position:        absolute;
    inset:           0;
    display:         flex;
    align-items:     center;
    justify-content: center;
    background:      rgba(245, 243, 239, 0.75);
    font-family:     var(--shop-font-ui);
    font-size:       0.72rem;
    color:           var(--shop-muted);
    letter-spacing:  0.08em;
    text-transform:  uppercase;
}

/* ── Geen producten gevonden ── */
.woocommerce .woocommerce-info {
    font-family:  var(--shop-font-ui);
    font-size:    0.85rem;
    color:        var(--shop-muted);
    border-color: var(--shop-border);
    background:   transparent;
}

/* ================================================================
   SHOP BANNER (tussenposter na 4 producten)
================================================================ */
.lh-shop__banner {
    position: relative;
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    grid-column: 1 / -1;
    margin: 0 auto;
    padding: 50px 30px;
}

.lh-shop__banner-link {
    display: block;
    width:   100%;
    height:  100%;
}

.lh-shop__banner-img {
    width:       100%;
    height:      100%;
    object-fit:  cover;
    display:     block;
    transition:  transform 0.6s cubic-bezier(0.4,0,0.2,1);
	margin-bottom: 10px;
}


.lh-shop__banner-label {
	font-family: Microsoft Himalaya;
	font-weight: 400;
	font-style: Regular;
	font-size: 32px;
	leading-trim: NONE;
	line-height: 120%;
	letter-spacing: 0%;
	text-decoration: underline;
	text-decoration-style: solid;
    text-decoration-thickness: 1.2px;
    text-underline-offset: 7px;

}

.lh-shop__banner-label:hover { 
	text-decoration: unset; 
}

/* ================================================================
   FILTER DRAWER OVERLAY
================================================================ */
.lh-filter-overlay {
    position:   fixed;
    inset:      0;
    background: rgba(0,0,0,0.3);
    z-index:    200;
    opacity:    0;
    visibility: hidden;
    transition: opacity var(--shop-transition), visibility var(--shop-transition);
}
.lh-filter-overlay.is-open {
    opacity:    1;
    visibility: visible;
}

/* ================================================================
   FILTER DRAWER
================================================================ */
.lh-filter-drawer {
    position:       fixed;
    top:            0;
    left:           0;
    width:          var(--shop-drawer-w);
    height:         100dvh;
    background:     var(--shop-white);
    z-index:        201;
    display:        flex;
    flex-direction: column;
    transform:      translateX(calc(-1 * var(--shop-drawer-w)));
    transition:     transform var(--shop-transition);
    overflow:       hidden;
}
.lh-filter-drawer.is-open {
    transform:  translateX(0);
    box-shadow: 4px 0 32px rgba(0,0,0,0.07);
}

.lh-filter-drawer__header {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    padding:         20px 24px;
    border-bottom:   1px solid var(--shop-border);
    flex-shrink:     0;
}

.lh-filter-drawer__title {
    font-family:    'Molengo', sans-serif;
    font-size:      24px;
    font-weight:    500;
    color:          var(--shop-text);
}

.lh-filter-drawer__close {
    background:  transparent;
    border:      none;
    padding:     6px;
    cursor:      pointer;
    color:       var(--shop-text);
    line-height: 1;
    transition:  opacity 0.2s;
}
.lh-filter-drawer__close:hover { opacity: 0.45; }

.lh-filter-drawer__body {
    flex:       1 1 auto;
    overflow-y: auto;
    padding:    0 0 40px;
}

.lh-filter-drawer__clear {
    display:         block;
    margin:          20px 24px 0;
    font-family:     var(--shop-font-ui);
    font-size:       0.75rem;
    letter-spacing:  0.06em;
    text-transform:  uppercase;
    color:           var(--shop-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition:      color 0.2s;
}
.lh-filter-drawer__clear:hover { color: var(--shop-text); }

/* Filter groep */
.lh-filter-group {
    border-bottom: 1px solid var(--shop-border);
}

.lh-filter-group__toggle {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    width:           100%;
    background:      transparent;
    border:          none;
    padding:         15px 24px;
    font-family:     'Molengo', sans-serif;
    font-size:       16px;
    font-weight:     bold;
    color:           var(--shop-text);
    cursor:          pointer;
    text-align:      left;
}

.lh-filter-group__arrow {
    flex-shrink: 0;
    transition:  transform 0.25s ease;
}
.lh-filter-group__toggle[aria-expanded="false"] .lh-filter-group__arrow {
    transform: rotate(-90deg);
}

.lh-filter-group__list {
    list-style:  none;
    margin:      0;
    padding:     0 24px 14px;
    display:     flex;
    flex-direction: column;
    gap:         2px;
    overflow:    hidden;
    transition:  max-height 0.3s ease;
}

.lh-filter-group__item {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    padding:         7px 0;
    font-family:     var(--shop-font-ui);
    font-size:       16px;
    color:           var(--shop-text);
    text-decoration: none;
    transition:      color 0.2s;
	font-family: 'Molengo', sans-serif;
}
.lh-filter-group__item:hover       { color: var(--shop-muted); }
.lh-filter-group__item.is-active   { font-weight: 500; }
.lh-filter-group__item.is-active::after {
    content:     '✓';
    font-size:   0.7rem;
    margin-left: 8px;
    color:       var(--shop-text);
}

.lh-filter-group__count {
    font-size:   0.75rem;
    color:       var(--shop-muted);
    margin-left: 4px;
}

/* Maatswatches */
.lh-filter-group__list--sizes {
    flex-direction: row;
    flex-wrap:      wrap;
    gap:            8px;
}

.lh-filter-group__swatch {
    display:         inline-flex;
    align-items:     center;
    justify-content: center;
    min-width:       38px;
    padding:         5px 10px;
    border:          1px solid var(--shop-border);
    font-family:     var(--shop-font-ui);
    font-size:       0.78rem;
    color:           var(--shop-text);
    text-decoration: none;
    transition:      border-color 0.2s, background 0.2s, color 0.2s;
}
.lh-filter-group__swatch:hover,
.lh-filter-group__swatch.is-active {
    border-color: var(--shop-text);
    background:   var(--shop-text);
    color:        var(--shop-white);
}

/* Prijs filter */
.lh-filter-group__price { padding: 0 24px 20px; }

.lh-price-form__row {
    display:       grid;
    grid-template-columns: 1fr 1fr;
    gap:           12px;
    margin-bottom: 14px;
}

.lh-price-form__row label {
    display:        flex;
    flex-direction: column;
    gap:            4px;
    font-family:    var(--shop-font-ui);
    font-size:      0.72rem;
    color:          var(--shop-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lh-price-form__row input {
    width:         100%;
    background:    transparent;
    border:        none;
    border-bottom: 1px solid var(--shop-border);
    padding:       6px 0;
    font-family:   var(--shop-font-ui);
    font-size:     0.88rem;
    color:         var(--shop-text);
    outline:       none;
    transition:    border-color 0.2s;
}
.lh-price-form__row input:focus { border-bottom-color: var(--shop-text); }

.lh-price-form__submit {
    width:          100%;
    background:     var(--shop-text);
    color:          var(--shop-white);
    border:         none;
    padding:        10px;
    font-family:    var(--shop-font-ui);
    font-size:      0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor:         pointer;
    transition:     background 0.2s;
}
.lh-price-form__submit:hover { background: #333; }

/* ================================================================
   PAGINERING
================================================================ */
.woocommerce-pagination,
.woocommerce nav.woocommerce-pagination {
    margin-top:  48px;
    display:     flex !important;
    justify-content: center !important;
}

.woocommerce-pagination ul.page-numbers {
    display:     flex !important;
    align-items: center !important;
    gap:         4px !important;
    list-style:  none !important;
    margin:      0 !important;
    padding:     0 !important;
    border:      none !important;
	justify-content: center;
}

.woocommerce-pagination ul.page-numbers li {
    display: flex !important;
    border:  none !important;
	max-width: 40px;
	width: 100%;
    font-size: 20px;
	font-family: Molengo;
}

.woocommerce-pagination .page-numbers {
	width: 100%;
	font-size: 22px !important; 
	line-height: 20px !important; 
}

.woocommerce-pagination .page-numbers:hover {
    border-color: var(--shop-border) !important;
}

.woocommerce-pagination .page-numbers.current {
    border-color: var(--shop-text) !important;
    background:   var(--shop-text) !important;
    color:        var(--shop-white) !important;
}

.woocommerce-pagination .page-numbers.next,
.woocommerce-pagination .page-numbers.prev {
    width:        auto !important;
    padding:      0 12px !important;
    border-color: var(--shop-border) !important;
}

.woocommerce ul.products li.product .price ins {
	font-weight: 500; 
	text-decoration: unset;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1100px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    :root { --shop-drawer-w: 100vw; }

    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .lh-filterbar__count { display: none; }
    .lh-sort-form__label { display: none; }
    .lh-filterbar__inner { padding: 0 30px; }
    .lh-filterbar__pills { display: none; }
	
	.lh-filterbar {
		margin-bottom: 40px !important;
	}
}

@media (max-width: 500px) {
	.lh-filterbar__inner {
		display: flex; 
		flex-direction: column;
		height: unset !important;
		padding: 10px 0;
	}
	
	.lh-filterbar__right, .lh-filterbar__left {
		width: unset;
	}
	
	.woocommerce ul.products, .woocommerce-page ul.products {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

.woocommerce ul.products::after, .woocommerce ul.products::before, .woocommerce-page ul.products::after, .woocommerce-page ul.products::before {
    display: none !important;
}

.woocommerce ul.products, .woocommerce-page ul.products {
	gap: 50px !important;
	padding: 0 30px !important;
}