/* BD Markt visual design layer -- brand colors, top bar, footer, and polish
   for the default Astra + WooCommerce classic-loop markup. Loaded on the
   front end only (see bdmarkt-customizations.php). */

:root {
    --bdmarkt-green: #1C5E39;
    --bdmarkt-green-dark: #164A2D;
    --bdmarkt-gold: #F2A900;
    --bdmarkt-cream: #FDF7E8;
}

/* --------------------------------------------------------------- Promo bar */
.bdmarkt-promobar {
    background: var(--bdmarkt-gold);
    color: var(--bdmarkt-green-dark);
}
.bdmarkt-promobar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 9px 20px;
    position: relative;
    text-align: center;
    min-height: 20px;
}
.bdmarkt-promobar-track {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 640px;
    min-height: 20px;
}
.bdmarkt-promobar-slide {
    position: absolute;
    left: 0;
    right: 0;
    font-size: 13.5px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}
.bdmarkt-promobar-slide.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}
.bdmarkt-promobar-slide code {
    background: rgba(28, 94, 57, 0.12);
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 700;
}
.bdmarkt-promobar-dots {
    display: flex;
    gap: 6px;
    flex: 0 0 auto;
}
.bdmarkt-promobar-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(28, 94, 57, 0.25);
    transition: background 0.3s ease;
}
.bdmarkt-promobar-dot.is-active { background: var(--bdmarkt-green-dark); }
.bdmarkt-promobar-close {
    background: none;
    border: 0;
    font-size: 20px;
    line-height: 1;
    color: var(--bdmarkt-green-dark);
    cursor: pointer;
    padding: 0 4px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.bdmarkt-promobar-close:hover { opacity: 0.7; }
@media (max-width: 600px) {
    .bdmarkt-promobar-close { position: static; transform: none; }
    .bdmarkt-promobar-inner { flex-direction: column; gap: 4px; }
}

/* ---------------------------------------------------------------- Top bar */
.bdmarkt-topbar {
    background: var(--bdmarkt-green-dark);
    color: #fff;
    font-size: 13px;
    line-height: 1.6;
}
.bdmarkt-topbar .ast-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 20px;
    padding: 7px 20px;
}
.bdmarkt-topbar a { color: #fff; text-decoration: none; }
.bdmarkt-topbar a:hover { color: var(--bdmarkt-gold); }
.bdmarkt-topbar-left, .bdmarkt-topbar-right {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}
.bdmarkt-topbar-item { white-space: nowrap; }
@media (max-width: 544px) {
    .bdmarkt-topbar .ast-container { justify-content: center; text-align: center; }
}

/* -------------------------------------------------- Category & product grid */
/* Product titles wrap to 1-3 lines depending on length, which used to leave
   price/button sitting at a different height on every card. Astra's actual
   card markup (verified against the live HTML, not guessed) is:
     li.product
       > div.astra-shop-thumbnail-wrap   (image + on-image quick-add icon)
       > div.astra-shop-summary-wrap     (category label, title, price, the
                                           real "Add to cart"/"Select options"
                                           button)
   The li is already a CSS grid item (Astra stretches it to the row's tallest
   sibling by default) -- the fix is to make .astra-shop-summary-wrap grow to
   fill that stretched height and push its own button to the bottom with
   margin-top:auto, so every button in a row lands on the same line
   regardless of how many lines the title above it wrapped to. */
.woocommerce ul.products li.product,
.woocommerce ul.products li.product-category {
    background: #fff;
    border-radius: 12px;
    padding: 14px 14px 18px;
    box-shadow: 0 2px 10px rgba(28, 94, 57, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    display: flex !important;
    flex-direction: column;
    text-align: center;
}
.woocommerce ul.products li.product:hover,
.woocommerce ul.products li.product-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(28, 94, 57, 0.16);
}
.woocommerce ul.products li.product img,
.woocommerce ul.products li.product-category img {
    border-radius: 8px;
}
.woocommerce ul.products li.product .astra-shop-summary-wrap {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    text-align: center;
}
.woocommerce ul.products li.product .ast-loop-product__link {
    display: block;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
    font-weight: 700;
    color: var(--bdmarkt-green-dark);
}
.woocommerce ul.products li.product .price {
    color: var(--bdmarkt-gold);
    font-weight: 700;
    margin-bottom: 12px;
}
.woocommerce ul.products li.product .button,
.woocommerce a.button, .woocommerce button.button {
    border-radius: 6px;
    transition: opacity 0.15s ease;
}
.woocommerce ul.products li.product .button {
    /* !important: Astra's own woocommerce-grid.min.css loads AFTER this
       stylesheet and sets a fixed `margin-top: .5em` on this exact same
       selector (equal specificity, later source wins ties) -- that's what
       was silently cancelling the push-to-bottom margin below on every
       previous attempt. Confirmed by reading Astra's actual shipped CSS,
       not guessed. */
    margin-top: auto !important;
    width: 100%;
    text-align: center;
}
.woocommerce ul.products li.product .button:hover {
    opacity: 0.88;
}
.woocommerce ul.products li.product-category .woocommerce-loop-category__title mark.count {
    background: none;
    color: var(--bdmarkt-green);
    font-weight: 400;
}

/* --------------------------------------------------------- Deals slideshow */
.bdmarkt-deals-slider {
    position: relative;
    max-width: 1100px;
    margin: 20px auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(28, 94, 57, 0.16);
}
.bdmarkt-deals-track {
    position: relative;
    height: 340px;
}
.bdmarkt-deals-slide {
    position: absolute;
    inset: 0;
    display: block;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}
.bdmarkt-deals-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.bdmarkt-deals-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(22, 74, 45, 0.88) 0%, rgba(22, 74, 45, 0.55) 42%, rgba(22, 74, 45, 0.05) 75%);
}
.bdmarkt-deals-content {
    position: absolute;
    left: 6%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #fff;
    max-width: 70%;
}
.bdmarkt-deals-headline {
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
    color: var(--bdmarkt-gold);
    text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.bdmarkt-deals-subtext {
    font-size: 22px;
    font-weight: 700;
    margin-top: 6px;
}
.bdmarkt-deals-code {
    margin-top: 10px;
    display: inline-block;
    width: fit-content;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 5px 12px;
    border-radius: 20px;
}
.bdmarkt-deals-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.bdmarkt-deals-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transition: background 0.3s ease, transform 0.3s ease;
}
.bdmarkt-deals-dot.is-active {
    background: var(--bdmarkt-gold);
    transform: scale(1.2);
}
@media (max-width: 768px) {
    .bdmarkt-deals-track { height: 280px; }
    .bdmarkt-deals-headline { font-size: 38px; }
    .bdmarkt-deals-subtext { font-size: 17px; }
    .bdmarkt-deals-content { max-width: 85%; }
}
@media (max-width: 480px) {
    .bdmarkt-deals-track { height: 240px; }
    .bdmarkt-deals-headline { font-size: 30px; }
    .bdmarkt-deals-subtext { font-size: 14px; }
    .bdmarkt-deals-content { left: 5%; max-width: 90%; }
}

/* ------------------------------------------------------ Home page sections */
.bdmarkt-usp-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 20px;
}
.bdmarkt-usp-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.bdmarkt-usp-icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bdmarkt-cream);
    color: var(--bdmarkt-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.bdmarkt-usp-title {
    font-weight: 700;
    color: var(--bdmarkt-green-dark);
    margin: 0 0 2px;
}
.bdmarkt-usp-text {
    margin: 0;
    font-size: 14px;
    color: #555;
}

/* --------------------------------------------------------- Shop sidebar */
#astra-woo-shop-sidebar .widget,
.astra-woo-shop-sidebar .widget {
    background: #fff;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(28, 94, 57, 0.06);
}
#astra-woo-shop-sidebar .widget-title,
.astra-woo-shop-sidebar .widget-title {
    color: var(--bdmarkt-green-dark);
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--bdmarkt-cream);
}
#astra-woo-shop-sidebar .price_slider_amount .button,
.astra-woo-shop-sidebar .price_slider_amount .button {
    background: var(--bdmarkt-green);
    border-radius: 6px;
}
#astra-woo-shop-sidebar .ui-slider .ui-slider-range,
.astra-woo-shop-sidebar .ui-slider .ui-slider-range {
    background: var(--bdmarkt-green);
}
#astra-woo-shop-sidebar .product-categories a,
.astra-woo-shop-sidebar .product-categories a {
    color: #444;
}
#astra-woo-shop-sidebar .product-categories a:hover,
.astra-woo-shop-sidebar .product-categories a:hover {
    color: var(--bdmarkt-green);
}

/* --------------------------------------------------------------- Contact page */
.bdmarkt-contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}
@media (max-width: 768px) {
    .bdmarkt-contact-grid { grid-template-columns: 1fr; }
}
.bdmarkt-contact-info-card {
    background: var(--bdmarkt-cream);
    border-radius: 12px;
    padding: 28px;
}
.bdmarkt-contact-info-card h3 {
    color: var(--bdmarkt-green-dark);
    margin-top: 0;
}
.bdmarkt-contact-info-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
}
.bdmarkt-contact-map {
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
    border: 1px solid #e6e0cf;
}
.bdmarkt-contact-map iframe { display: block; width: 100%; height: 260px; border: 0; }
.bdmarkt-contact-social-row { margin: 16px 0 4px; }
.bdmarkt-contact-social-btn {
    display: inline-block;
    background: #1877F2;
    color: #fff;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s ease;
}
.bdmarkt-contact-social-btn:hover { opacity: 0.88; color: #fff; }

.bdmarkt-whatsapp-cta {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 4px 18px rgba(28, 94, 57, 0.1);
}
.bdmarkt-whatsapp-cta img {
    width: 140px;
    height: 140px;
    border-radius: 10px;
    flex: 0 0 auto;
    border: 1px solid #eee;
}
.bdmarkt-whatsapp-cta h3 { color: var(--bdmarkt-green-dark); margin: 0 0 6px; }
.bdmarkt-whatsapp-cta p { margin: 0 0 14px; color: #555; font-size: 14.5px; }
.bdmarkt-whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.15s ease;
}
.bdmarkt-whatsapp-btn:hover { opacity: 0.88; color: #fff; }
@media (max-width: 560px) {
    .bdmarkt-whatsapp-cta { flex-direction: column; text-align: center; }
}
.bdmarkt-contact-form-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 14px rgba(28, 94, 57, 0.08);
}
.bdmarkt-contact-form-card .wpforms-container { margin: 0; }
.bdmarkt-contact-form-card .wpforms-submit {
    background: var(--bdmarkt-green) !important;
    border-radius: 6px !important;
}
.bdmarkt-contact-form-card .wpforms-submit:hover { background: var(--bdmarkt-green-dark) !important; }

/* ------------------------------------------------------------- About page */
.bdmarkt-about-row {
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
}
.bdmarkt-about-row.is-reverse { flex-direction: row-reverse; }
.bdmarkt-about-row.is-text-only { display: block; }
.bdmarkt-about-row-image { flex: 1 1 45%; }
.bdmarkt-about-row-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(28, 94, 57, 0.14);
}
.bdmarkt-about-row-content { flex: 1 1 55%; }
.bdmarkt-about-row-content h2 {
    color: var(--bdmarkt-green-dark);
    font-size: 24px;
    margin: 0 0 12px;
}
.bdmarkt-about-row-content p { font-size: 15.5px; line-height: 1.7; color: #444; }
.bdmarkt-about-link { font-weight: 700; color: var(--bdmarkt-green); text-decoration: none; }
.bdmarkt-about-link:hover { color: var(--bdmarkt-green-dark); }
.bdmarkt-about-highlight {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.bdmarkt-about-highlight h2 { color: var(--bdmarkt-green-dark); font-size: 22px; margin: 0 0 10px; }
.bdmarkt-about-highlight p { font-size: 15.5px; line-height: 1.7; color: #444; }
@media (max-width: 768px) {
    .bdmarkt-about-row, .bdmarkt-about-row.is-reverse { flex-direction: column; gap: 20px; }
    .bdmarkt-about-row-image img { height: 220px; }
}

/* ----------------------------------------------------------------- Footer */
.ast-small-footer { display: none !important; }

.bdmarkt-footer {
    background: var(--bdmarkt-green-dark);
    color: #d9e6dd;
    margin-top: 0;
}
.bdmarkt-footer a { color: #d9e6dd; text-decoration: none; }
.bdmarkt-footer a:hover { color: var(--bdmarkt-gold); }
.bdmarkt-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 32px;
    padding: 50px 20px 30px;
}
@media (max-width: 768px) {
    .bdmarkt-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .bdmarkt-footer-grid { grid-template-columns: 1fr; }
}
.bdmarkt-footer-heading {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.bdmarkt-footer-brand img { max-width: 150px; height: auto; margin-bottom: 12px; }
.bdmarkt-footer-brand p { font-size: 14px; line-height: 1.6; margin: 0 0 14px; }
.bdmarkt-footer-social { display: flex; gap: 12px; }
.bdmarkt-footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}
.bdmarkt-footer-social a:hover {
    background: var(--bdmarkt-gold);
    color: var(--bdmarkt-green-dark);
}
.bdmarkt-footer ul { list-style: none; margin: 0; padding: 0; }
.bdmarkt-footer ul li { margin-bottom: 9px; font-size: 14px; }
.bdmarkt-footer-contact-row {
    display: flex;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.5;
}
.bdmarkt-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 16px 20px;
    text-align: center;
    font-size: 13px;
    color: #b7c9bd;
}

/* 2026-09-24 Grogin/Bacola-inspired layout */
.site-header{position:sticky;top:0;z-index:999;background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.08)}
.bdm-searchbar{background:#fff;border-top:1px solid #eee;border-bottom:1px solid #e8e8e8}.bdm-searchbar-inner{padding-top:10px!important;padding-bottom:10px!important}.bdm-search-form{width:100%;display:grid;grid-template-columns:minmax(260px,2fr) 1fr 1fr 1fr auto;background:#f3f4f6;border-radius:10px;overflow:hidden}.bdm-search-form input,.bdm-search-form select{height:48px;border:0!important;border-right:1px solid #ddd!important;background:transparent;padding:0 14px;min-width:0}.bdm-search-form button,.bdm-shop-filters button{border:0;background:var(--bdmarkt-green);color:#fff;font-weight:700;padding:0 22px}.bdm-home{max-width:1240px;margin:0 auto;padding:24px 20px 60px}.bdm-home-top{display:grid;grid-template-columns:260px 1fr;gap:22px}.bdm-home-cats{border:1px solid #e5e7eb;border-radius:10px;background:#fff;overflow:hidden}.bdm-home-cats h3{margin:0;padding:16px 18px;background:var(--bdmarkt-green);color:#fff;font-size:16px}.bdm-home-cats ul{list-style:none;margin:0;padding:7px 0}.bdm-home-cats li{position:relative;margin:0}.bdm-home-cats>ul>li>a{display:block;padding:9px 18px;color:#222;font-weight:600;border-bottom:1px solid #f0f0f0}.bdm-home-cats li ul{display:none;position:absolute;left:100%;top:0;width:230px;background:#fff;z-index:15;box-shadow:0 8px 25px rgba(0,0,0,.12);border-radius:8px}.bdm-home-cats li:hover>ul{display:block}.bdm-home-cats li ul a{display:block;padding:8px 14px}.bdm-hero-slider{height:430px;position:relative;border-radius:14px;overflow:hidden;background:#eee}.bdm-hero-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity .5s;pointer-events:none}.bdm-hero-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.55) 48%,transparent 72%)}.bdm-hero-slide.is-active{opacity:1;pointer-events:auto}.bdm-hero-slide span{position:absolute;z-index:2;left:7%;top:50%;transform:translateY(-50%);max-width:470px;display:grid;gap:12px}.bdm-hero-slide small{color:#ea580c;font-weight:800;text-transform:uppercase}.bdm-hero-slide strong{font-size:42px;line-height:1.08;color:#111827}.bdm-hero-slide em{font-style:normal;color:#4b5563}.bdm-hero-slide b{width:max-content;background:var(--bdmarkt-green);color:#fff;padding:11px 18px;border-radius:8px}.bdm-hero-slider button{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:50%;background:#fff;box-shadow:0 2px 12px #999;font-size:25px}.bdm-hero-slider .prev{left:14px}.bdm-hero-slider .next{right:14px}.bdm-benefits{margin:22px 0 38px;display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #e5e7eb;border-radius:10px}.bdm-benefits>div{padding:18px;display:grid;grid-template-columns:auto 1fr;column-gap:10px;border-right:1px solid #e5e7eb;font-size:22px}.bdm-benefits>div:last-child{border:0}.bdm-benefits b{font-size:14px;color:#111}.bdm-benefits span{grid-column:2;font-size:12px;color:#6b7280}.bdm-products{margin:46px 0}.bdm-products header{margin-bottom:18px}.bdm-products header h2{margin:2px 0;font-size:24px}.bdm-products header small{color:#ea580c;font-weight:800;text-transform:uppercase}.bdm-products header p{margin:0;color:#6b7280;font-size:13px}.bdm-shop-highlight{width:100%;display:flex;gap:24px;align-items:center;background:#fef3c7;border-radius:9px;padding:13px 16px;margin-bottom:14px;color:#5b4210}.bdm-shop-highlight b{color:#111827}.bdm-shop-filters{width:100%;display:grid;grid-template-columns:1.4fr .7fr .7fr 1fr 1fr auto;gap:10px;background:#f7f7f7;border:1px solid #e5e7eb;padding:14px;border-radius:10px;margin-bottom:18px}.bdm-shop-filters label{font-size:11px;font-weight:700;color:#4b5563;text-transform:uppercase}.bdm-shop-filters select,.bdm-shop-filters input{display:block;width:100%;height:38px;margin-top:5px;border:1px solid #ddd;border-radius:6px;background:#fff;padding:0 8px}.woocommerce div.product .woocommerce-tabs{margin-top:45px;border-top:1px solid #e5e7eb}.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;gap:25px;justify-content:center}.bdm-extra-thumbs{display:flex;gap:10px;margin-top:12px}.bdm-extra-thumbs img{width:72px!important;height:72px!important;object-fit:cover;border:1px solid #ddd;border-radius:7px;padding:4px;background:#fff}.woocommerce div.product div.images .flex-control-thumbs{display:flex;gap:10px}.bdmarkt-about-row{border-radius:12px;overflow:hidden;background:#fff}.bdmarkt-contact-grid{gap:35px!important}
@media(max-width:900px){.bdm-search-form{grid-template-columns:1fr 1fr}.bdm-search-q{grid-column:1/-1}.bdm-home-top{grid-template-columns:1fr}.bdm-home-cats{display:none}.bdm-benefits{grid-template-columns:1fr 1fr}.bdm-shop-filters{grid-template-columns:1fr 1fr}.bdm-hero-slider{height:360px}.bdm-hero-slide strong{font-size:32px}}@media(max-width:560px){.bdm-search-form{display:flex;flex-wrap:wrap}.bdm-search-form>*{flex:1 1 45%}.bdm-search-q{flex-basis:100%}.bdm-benefits{grid-template-columns:1fr}.bdm-benefits>div{border-right:0;border-bottom:1px solid #eee}.bdm-shop-filters{grid-template-columns:1fr}.bdm-hero-slider{height:330px}.bdm-hero-slide strong{font-size:27px}}

/* 2026-09-24 v2: catalogue/header/shop corrections */
.bdm-catalog-header{background:#fff;border-bottom:1px solid #e5e7eb;position:relative;z-index:50}.bdm-catalog-header-inner{display:grid!important;grid-template-columns:145px 135px minmax(420px,1fr) auto;gap:16px;align-items:center;padding-top:12px!important;padding-bottom:12px!important}.bdm-catalog-logo img{max-height:54px;width:auto}.bdm-header-location{display:grid;grid-template-columns:24px 1fr;line-height:1.05;border-right:1px solid #e5e7eb;padding-right:12px}.bdm-header-location span{grid-row:1/3;font-size:22px;color:var(--bdmarkt-green)}.bdm-header-location small{font-size:10px;color:#777}.bdm-header-location b{font-size:12px;color:#222}.bdm-catalog-header .bdm-search-form{display:grid;grid-template-columns:minmax(190px,1.8fr) 1fr 1fr auto;width:100%;background:#f3f4f6;border-radius:9px;overflow:hidden}.bdm-header-menu{display:flex;gap:17px;white-space:nowrap}.bdm-header-menu a{font-weight:700;color:#222;font-size:14px}.bdm-header-menu a:hover{color:var(--bdmarkt-green)}
/* Hide Astra's duplicate logo/menu row; custom sticky catalog header contains both. */
.site-header .ast-primary-header-bar{display:none!important}.site-header{position:sticky!important;top:0!important;z-index:999!important}
.bdm-home-cats{overflow:visible!important}.bdm-home-cats .bdm-cat-level{list-style:none;margin:0;padding:7px 0}.bdm-home-cats .bdm-cat-level li{position:relative}.bdm-home-cats .bdm-cat-level a{display:flex;justify-content:space-between;gap:8px;padding:9px 16px;color:#222;border-bottom:1px solid #f1f1f1;font-size:13px}.bdm-home-cats>.bdm-cat-level>li>a{font-weight:700}.bdm-home-cats .bdm-cat-level .bdm-cat-level{display:none;position:absolute;left:100%;top:-7px;width:245px;background:#fff;border:1px solid #e5e7eb;border-radius:9px;box-shadow:0 12px 30px rgba(0,0,0,.13);z-index:40}.bdm-home-cats .bdm-cat-level li:hover>.bdm-cat-level{display:block}.bdm-home-cats .bdm-cat-level .bdm-cat-level .bdm-cat-level{left:100%;top:-7px}
.bdm-hero-slider>button{display:flex!important;align-items:center;justify-content:center;visibility:visible!important;opacity:1!important;color:#111!important;cursor:pointer!important;line-height:1!important}.bdm-hero-slider>button:hover{background:var(--bdmarkt-green)!important;color:#fff!important}.bdm-slider-dots{position:absolute;z-index:5;left:50%;bottom:18px;transform:translateX(-50%);display:flex;gap:7px}.bdm-slider-dots i{width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.2)}.bdm-slider-dots i.is-active{width:22px;border-radius:8px;background:var(--bdmarkt-green)}
.bdm-shop-poster{min-height:220px;width:100%;background-size:cover;background-position:center;border-radius:14px;margin:0 0 22px;position:relative;overflow:hidden;display:flex;align-items:center;padding:32px}.bdm-shop-poster:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.72) 48%,rgba(255,255,255,.1))}.bdm-shop-poster>div{position:relative;max-width:520px}.bdm-shop-poster small{color:#ea580c;font-weight:800;text-transform:uppercase}.bdm-shop-poster h2{font-size:30px;margin:5px 0;color:#111}.bdm-shop-poster p{margin:0;color:#4b5563}
@media(min-width:922px){body.woocommerce-shop .bdm-shop-filters,body.tax-product_cat .bdm-shop-filters{float:left;width:245px;display:flex!important;flex-direction:column;gap:14px;margin:0 25px 30px 0;min-height:430px}body.woocommerce-shop .woocommerce-result-count,body.woocommerce-shop .woocommerce-ordering,body.tax-product_cat .woocommerce-result-count,body.tax-product_cat .woocommerce-ordering{margin-top:5px}body.woocommerce-shop ul.products,body.tax-product_cat ul.products{width:calc(100% - 270px);float:right}.bdm-shop-filters button{min-height:42px;border-radius:7px}}
@media(max-width:1100px){.bdm-catalog-header-inner{grid-template-columns:120px 120px 1fr}.bdm-header-menu{grid-column:1/-1;justify-content:center}.bdm-catalog-header .bdm-search-form{grid-template-columns:1fr 1fr 1fr auto}}
@media(max-width:760px){.bdm-catalog-header-inner{grid-template-columns:100px 1fr}.bdm-header-location{border:0}.bdm-catalog-header .bdm-search-form{grid-column:1/-1;grid-template-columns:1fr 1fr}.bdm-search-q{grid-column:1/-1}.bdm-header-menu{overflow:auto;justify-content:flex-start}.bdm-home-cats{display:block!important}.bdm-home-cats .bdm-cat-level .bdm-cat-level{position:static;width:auto;box-shadow:none;border:0;margin-left:12px}.bdm-shop-poster{min-height:180px;padding:22px}.bdm-shop-poster h2{font-size:24px}}

/* Final prompt corrections */
.bdm-location-picker{position:relative}.bdm-location-toggle{width:100%;display:grid;grid-template-columns:22px 1fr;text-align:left;border:0;background:transparent;padding:6px 8px;cursor:pointer}.bdm-location-toggle>span{grid-row:1/3;font-size:21px;color:var(--bdmarkt-green)}.bdm-location-toggle small{font-size:10px;color:#777}.bdm-location-toggle b{font-size:12px;color:#222;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bdm-location-menu{position:absolute;top:100%;left:0;width:280px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 14px 35px rgba(0,0,0,.16);padding:10px;z-index:100}.bdm-location-menu input{width:100%;height:40px;border:1px solid #d1d5db;border-radius:7px;padding:0 10px;margin-bottom:7px}.bdm-location-menu button{width:100%;border:0;background:#fff;text-align:left;padding:9px;border-radius:6px;cursor:pointer;font-weight:700}.bdm-location-menu button:hover{background:#f3f4f6}.bdm-location-menu button small{display:block;font-weight:400;color:#6b7280;margin-top:2px}
.bdm-home-top{align-items:stretch}.bdm-home-main{display:flex;min-width:0}.bdm-home-main .bdm-hero-slider{height:auto;min-height:430px;flex:1}.bdm-hero-slider>button{background:transparent!important;box-shadow:none!important;border-radius:0!important;width:32px!important;height:52px!important;color:#111!important;text-shadow:0 1px 2px rgba(255,255,255,.9)}.bdm-hero-slider>button:hover{background:transparent!important;color:var(--bdmarkt-green)!important}.bdm-slider-dots i{background:rgba(17,24,39,.35);box-shadow:none}.bdm-slider-dots i.is-active{background:var(--bdmarkt-green)}
.bdm-shop-filters h3{margin:0 0 3px;font-size:18px;text-transform:none;color:#111}.bdm-filter-reset{text-align:center;font-size:13px;font-weight:700;color:var(--bdmarkt-green)}
@media(max-width:760px){.bdm-location-menu{left:auto;right:0;max-width:calc(100vw - 30px)}.bdm-home-main .bdm-hero-slider{min-height:360px}}

/* 2026-09-24 final catalogue UX pass */
.bdm-home{max-width:1240px;margin:0 auto;padding:24px 20px 50px}.bdm-home-top{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px}.bdm-home-cats{border:1px solid #e5e7eb;border-radius:10px;background:#fff;overflow:visible}.bdm-home-cats>ul>li>a{font-size:13px;padding:8px 16px}.bdm-home-cats li>a{display:flex;align-items:center;justify-content:space-between}.bdm-section-link{text-align:right;margin-top:10px}.bdm-section-link a{font-weight:700;color:var(--bdmarkt-green)}
.bdm-promo-card{display:flex;min-height:190px;margin:28px 0 44px;border-radius:14px;background:linear-gradient(110deg,var(--bdmarkt-green-dark),var(--bdmarkt-green));color:#fff;align-items:center;padding:34px 42px;text-decoration:none}.bdm-promo-card span{display:grid;gap:7px}.bdm-promo-card small{color:#f8d56b;font-weight:800;text-transform:uppercase}.bdm-promo-card strong{font-size:30px;line-height:1.15;color:#fff}.bdm-promo-card em{font-style:normal;font-weight:700;color:#fff}
.bdm-mobile-filter-toggle{display:none}.bdm-shop-filters .bdm-filter-section{border-top:1px solid #e5e7eb;padding-top:14px}.bdm-shop-filters h4{margin:0 0 10px;font-size:12px;text-transform:uppercase;letter-spacing:.03em}.bdm-price-inputs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.bdm-price-inputs label{font-size:10px}.bdm-shop-filters input[type=range]{width:100%;height:18px;margin:3px 0;padding:0}.bdm-shop-filters .bdm-filter-section p{font-size:12px;margin:4px 0 0}.bdm-cat-filter ul{list-style:none;margin:0;padding:0}.bdm-cat-filter ul ul{padding-left:15px}.bdm-cat-filter li{margin:5px 0}.bdm-cat-filter label,.bdm-brand-filter label,.bdm-shop-filters .bdm-filter-section>label{display:flex;align-items:center;gap:6px;text-transform:none;font-size:12px;font-weight:500}.bdm-cat-filter label small,.bdm-brand-filter label small{margin-left:auto;color:#9ca3af}.bdm-brand-scroll{max-height:240px;overflow:auto;padding-right:5px;display:grid;gap:5px}.bdm-shop-filters input[type=radio]{width:auto;height:auto;margin:0}.bdm-toolbar-extra{float:right;display:flex;align-items:center;gap:10px;margin:0 0 18px 14px}.bdm-toolbar-extra label{display:flex;align-items:center;gap:6px;font-size:12px}.bdm-toolbar-extra select{height:36px;border:1px solid #ddd;border-radius:6px}.bdm-view-switch{display:flex}.bdm-view-switch a{width:36px;height:36px;display:grid;place-items:center;border:1px solid #ddd;color:#6b7280;text-decoration:none}.bdm-view-switch a.is-active{background:var(--bdmarkt-green);color:#fff}.bdm-recent{clear:both;padding-top:40px}.bdm-recent h2{font-size:20px;margin-bottom:15px}
@media(min-width:922px){body.woocommerce-shop .site-main,body.tax-product_cat .site-main{overflow:visible}body.woocommerce-shop .bdm-shop-filters,body.tax-product_cat .bdm-shop-filters{float:left;width:250px;margin:0 24px 30px 0;min-height:0;max-height:calc(100vh - 120px);overflow:auto;position:sticky;top:105px;z-index:3;background:#fff}body.woocommerce-shop .woocommerce-result-count,body.woocommerce-shop .woocommerce-ordering,body.woocommerce-shop .bdm-toolbar-extra,body.tax-product_cat .woocommerce-result-count,body.tax-product_cat .woocommerce-ordering,body.tax-product_cat .bdm-toolbar-extra{position:relative}body.woocommerce-shop ul.products,body.tax-product_cat ul.products{width:calc(100% - 274px);float:right;clear:right;margin-top:0!important}body.bdm-list-view.woocommerce-shop ul.products,body.bdm-list-view.tax-product_cat ul.products{grid-template-columns:1fr!important}body.bdm-list-view ul.products li.product{display:grid!important;grid-template-columns:180px 1fr;column-gap:24px;text-align:left}body.bdm-list-view ul.products li.product .astra-shop-summary-wrap{text-align:left}}
@media(max-width:921px){.bdm-mobile-filter-toggle{display:inline-flex;margin:0 0 12px;align-items:center;gap:7px}.bdm-shop-filters{display:none!important}.bdm-shop-filters.is-open{display:flex!important;position:fixed;inset:0 10% 0 0;z-index:99999;overflow:auto;border-radius:0;box-shadow:10px 0 35px rgba(0,0,0,.2);padding:24px}.bdm-toolbar-extra{float:none;justify-content:flex-end}.bdm-home-top{grid-template-columns:1fr}.bdm-home-cats{max-height:360px;overflow:auto}.bdm-home-cats li ul{display:block!important;position:static!important;width:auto!important;box-shadow:none!important;margin-left:14px}.bdm-promo-card strong{font-size:24px}}
@media(max-width:560px){.bdm-home{padding-left:12px;padding-right:12px}.bdm-promo-card{padding:24px;min-height:160px}.bdm-promo-card strong{font-size:21px}.bdm-toolbar-extra{justify-content:space-between;width:100%;margin:0 0 14px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.woocommerce ul.products li.product{padding:10px!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important}}
