.bdm-icon {
    width: 23px;
    height: 23px;
    vertical-align: middle;
    flex-shrink: 0;
    display: inline-block
}

.bdm-catalog-header-inner {
    grid-template-columns:135px 170px minmax(0, 1fr) auto !important
}

.bdm-delivery-trigger {
    display: flex;
    align-items: center;
    gap: 9px;
    text-align: left;
    background: transparent !important;
    color: #23372b !important;
    padding: 0 !important;
    line-height: 1.3
}

.bdm-delivery-trigger small {
    display: block;
    font-size: 11px;
    color: #6a746e
}

.bdm-delivery-trigger b {
    font-size: 12px
}

.bdm-header-actions {
    gap: 22px
}

.bdm-header-actions button, .bdm-header-actions .bdm-cart {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: none !important;
    color: #17281e !important;
    padding: 3px !important;
    border: 0;
    font-size: 11px;
    font-weight: 500
}

.bdm-header-actions b {
    position: absolute;
    top: -6px;
    right: -9px;
    border-radius: 50%;
    background: #c14438;
    color: #fff;
    font-size: 10px;
    min-width: 16px;
    padding: 1px 4px
}

.bdm-search-form button {
    background: transparent !important;
    color: #203c29 !important;
    padding: 10px 14px !important
}

.bdm-header-menu {
    padding: 0 !important;
    gap: 25px;
    position: relative;
    overflow: visible !important
}

.bdm-categories-nav {
    position: relative;
    flex: 0 0 270px
}

.bdm-categories-toggle {
    background: white !important;
    color: #17281e !important;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px !important;
    width: 100%;
    border: 1px solid #e3e8e3 !important;
    font-size: 14px;
    font-weight: 700
}

.bdm-categories-toggle span {
    margin-left: auto !important;
    font-size: 18px !important
}

.bdm-nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 27px;
    flex: 1
}

.bdm-nav-links a {
    font-size: 13px;
    white-space: nowrap
}

.bdm-header-menu #bdm-category-panel {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    width: 270px;
    display: flex;
    border: 1px solid #dde3dd;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 15px 35px #20382720;
    z-index: 1001
}

.bdm-category-roots {
    flex: 0 0 268px;
    max-height: min(520px, 65vh);
    overflow: auto
}

.bdm-category-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e3e8e3;
    min-height: 47px
}

.bdm-category-row > a {
    display: flex;
    align-items: center;
    gap: 13px;
    flex: 1;
    padding: 11px 15px;
    font-size: 13px;
    color: #17281e
}

.bdm-category-row button {
    background: white;
    color: #26382d;
    padding: 12px 15px;
    font-size: 21px
}

.bdm-category-row:hover {
    background: #f3f6f1
}

.bdm-category-submenus {
    display: none;
    flex: 1;
    padding: 28px;
    max-height: min(520px, 65vh);
    overflow: auto;
    border-left: 1px solid #e3e8e3
}

.bdm-header-menu #bdm-category-panel.has-submenu {
    width: 600px
}

.has-submenu .bdm-category-submenus {
    display: block
}

.bdm-category-submenus h3 {
    font-size: 20px
}

.bdm-category-submenus ul {
    list-style: none;
    margin: 15px 0 0;
    padding: 0
}

.bdm-category-submenus a {
    display: block;
    font-size: 14px;
    padding: 6px 0
}

.bdm-weekly {
    margin: 32px 0
}

.bdm-weekly header {
    margin-bottom: 14px
}

.bdm-weekly h2, .bdm-products h2, .bdm-brands h2, .bdm-reviews h2 {
    font-size: 22px;
    margin-bottom: 7px
}

.bdm-weekly header p, .bdm-products header p, .bdm-brands > p {
    font-size: 12px;
    color: #67746b
}

.bdm-brands .bdm-icon {
    width: 36px;
    height: 36px;
    padding: 6px;
    border: 1px solid #cbd6cb;
    border-radius: 50%;
    margin-right: 10px
}

.bdm-reviews {
    margin: 35px 0;
    padding: 35px;
    background: #f6f7f3;
    border: 1px solid #e3e8e3;
    border-radius: 8px
}

.bdm-reviews p {
    font-size: 14px
}

.woocommerce ul.products li.product {
    position: relative
}

.ast-on-card-button {
    display: none !important
}

.bdm-card-actions {
    position: absolute;
    right: 16px;
    top: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5
}

.bdm-card-actions button {
    background: #fffc !important;
    color: #20372a !important;
    border: 1px solid #e3e8e3;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 6px !important;
    display: grid;
    place-items: center
}

.bdm-card-actions .bdm-icon {
    width: 18px;
    height: 18px
}

.bdm-card-actions button:hover {
    background: #eaf0e8 !important
}

.bdm-card-actions button[aria-pressed=true] {
    color: #bc3d49 !important
}

.bdm-card-actions button[aria-pressed=true] svg {
    fill: #bc3d49
}

.bdm-unrated {
    font-size: 16px;
    color: #967027;
    margin: 3px 0
}

.bdm-unrated small {
    font-size: 10px;
    color: #778078
}

.bdm-shop-layout {
    grid-template-columns:285px minmax(0, 1fr);
    gap: 28px
}

.bdm-filter-column {
    position: sticky;
    top: calc(var(--bdm-header-height, 145px) + 14px)
}

.bdm-shop-layout .bdm-shop-filters {
    top: 0;
    max-height: calc(100dvh - var(--bdm-header-height, 145px) - 30px);
    padding-right: 18px
}

.bdm-shop-filters label {
    font-size: 13px
}

.bdm-shop-filters .bdm-tree > ul > li {
    position: relative !important;
    padding-right: 25px
}

.bdm-shop-filters .bdm-tree summary {
    list-style: none;
    position: absolute;
    right: -25px;
    top: -26px;
    font-size: 19px;
    padding: 0 7px !important
}

.bdm-shop-filters .bdm-tree summary::-webkit-details-marker {
    display: none
}

.bdm-shop-filters .bdm-tree details[open] > summary span {
    display: inline-block;
    transform: rotate(45deg)
}

.bdm-dual-range {
    position: relative;
    height: 34px;
    margin-top: 16px;
    background: linear-gradient(#24362d, #24362d) center/100% 4px no-repeat
}

.bdm-dual-range input[type=range] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 34px;
    margin: 0;
    padding: 0;
    pointer-events: none;
    appearance: none;
    background: transparent !important
}

.bdm-dual-range input::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent
}

.bdm-dual-range input::-webkit-slider-thumb {
    appearance: none;
    height: 17px;
    width: 17px;
    margin-top: -6px;
    border-radius: 50%;
    background: #203c29;
    pointer-events: auto;
    cursor: grab
}

.bdm-dual-range input::-moz-range-track {
    background: transparent
}

.bdm-dual-range input::-moz-range-thumb {
    background: #203c29;
    border: 0;
    pointer-events: auto
}

.bdm-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px
}

.bdm-price-row p {
    margin: 0;
    font-size: 12px;
    white-space: nowrap
}

.bdm-price-row button {
    background: #e9ece7;
    color: #17281e;
    padding: 9px 15px
}

.bdm-modal-open {
    overflow: hidden !important
}

.bdm-dialog {
    border: 0;
    border-radius: 12px;
    padding: 0;
    width: min(680px, calc(100vw - 32px));
    max-width: none;
    max-height: 90dvh;
    overflow: auto;
    color: #1e2a23;
    box-shadow: 0 30px 90px #0004;
    margin: auto
}

.bdm-dialog::backdrop {
    background: #18231e80
}

.bdm-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 2;
    background: transparent !important;
    color: #17281e !important;
    font-size: 30px;
    padding: 3px 8px !important;
    line-height: 1.2
}

.bdm-modal-content {
    padding: 44px
}

.bdm-modal-content h2 {
    font-size: 28px;
    margin: 4px 0 16px
}

.bdm-modal-content > p {
    font-size: 14px;
    color: #737970
}

.bdm-city-search {
    width: 100%;
    margin: 14px 0 25px;
    padding: 18px !important;
    background: #f4f5f6 !important;
    border: 0 !important;
    border-radius: 6px !important
}

.bdm-location-heading {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.bdm-location-heading h3 {
    font-size: 18px;
    margin: 0
}

.bdm-location-heading button {
    background: white;
    color: #6f796f;
    border: 1px solid #dbe1d9;
    border-radius: 20px;
    padding: 7px 15px
}

.bdm-city-list {
    max-height: 360px;
    overflow: auto;
    margin-top: 14px
}

.bdm-city-list button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: #1e2a23;
    border-bottom: 1px solid #e3e8e3;
    border-radius: 0;
    padding: 19px 8px;
    text-align: left;
    font-size: 16px
}

.bdm-city-list small {
    font-size: 12px;
    white-space: nowrap;
    border: 1px solid #dfe3df;
    border-radius: 20px;
    padding: 4px 10px;
    color: #71816f
}

.bdm-city-list button[aria-pressed=true] {
    background: #eef4e9;
    color: #205934
}

.bdm-dialog.bdm-account-dialog {
    width: min(950px, calc(100vw - 32px))
}

.bdm-account-dialog[open] {
    display: grid;
    grid-template-columns:44% 56%
}

.bdm-account-dialog .bdm-modal-content {
    grid-column: 2;
    grid-row: 1;
    padding: 55px 45px
}

.bdm-account-dialog h2 {
    text-align: center;
    margin-bottom: 35px
}

.bdm-account-photo {
    grid-column: 1;
    grid-row: 1;
    background-size: cover;
    background-position: center;
    min-height: 550px
}

.bdm-account-dialog label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px
}

.bdm-account-dialog input[type=text], .bdm-account-dialog input[type=password] {
    width: 100%;
    height: 46px;
    border-radius: 7px
}

.bdm-account-dialog .login-remember label {
    display: flex;
    align-items: center;
    gap: 8px
}

.bdm-account-dialog input[type=submit] {
    width: 100%;
    margin: 12px 0
}

.bdm-account-dialog .bdm-account-note {
    margin-top: 28px;
    border-top: 1px solid #e2e8de;
    padding-top: 20px;
    font-size: 12px
}

.bdm-wish-row {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #e3e8e3;
    padding: 18px 0;
    font-size: 13px
}

.bdm-wish-row a {
    flex: 1
}

.bdm-wish-row button {
    padding: 8px;
    font-size: 12px
}

.bdm-quick-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 25px
}

.bdm-quick-grid img {
    max-height: 280px;
    object-fit: contain;
    width: 100%
}

.bdm-quick-grid h3 {
    font-size: 23px
}

.bdm-quick-grid p, .bdm-quick-grid a {
    font-size: 13px
}

.bdm-quick-price {
    font-size: 23px;
    font-weight: 700;
    color: #205934;
    margin: 15px 0
}

.bdm-quick-purchase {
    margin: 20px 0
}

.bdm-quick-purchase label {
    display: block;
    font-size: 13px
}

.bdm-quick-purchase input {
    display: block;
    width: 85px;
    margin: 8px 0 14px
}

.bdm-contact-columns {
    grid-template-columns:1.2fr 1fr;
    gap: 45px;
    align-items: start
}

.bdm-reach-card {
    background: #fcf7e8;
    border-radius: 20px;
    padding: 32px
}

.bdm-reach-card h2 {
    font-size: 31px;
    color: #174f38;
    font-weight: 800
}

.bdm-reach-card p {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin: 24px 0;
    font-size: 16px;
    color: #263b2d
}

.bdm-reach-card p a {
    color: inherit;
    overflow-wrap: anywhere
}

.bdm-facebook-button {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    background: #1877f2;
    color: #fff !important;
    padding: 15px 19px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px
}

.bdm-reach-card .bdm-whatsapp {
    display: block;
    margin: 18px 0;
    font-size: 14px
}

.bdm-reach-card iframe {
    border: 1px solid #e5dec9;
    border-radius: 14px;
    width: 100%;
    height: 310px;
    margin-top: 10px
}

.bdm-directions {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px
}

.bdmarkt-footer-brand .bdm-whatsapp {
    display: block;
    margin-top: 15px
}

.bdmarkt-footer-brand a .bdm-icon {
    width: 20px;
    height: 20px;
    margin-right: 6px
}

@media (max-width: 1100px) {
    .bdm-catalog-header-inner {
        grid-template-columns:110px 140px minmax(0, 1fr) auto !important;
        gap: 12px
    }

    .bdm-header-actions {
        gap: 12px
    }

    .bdm-nav-links {
        gap: 18px
    }

    .bdm-categories-nav {
        flex-basis: 240px
    }

    .bdm-shop-layout {
        grid-template-columns:260px minmax(0, 1fr)
    }

    .bdm-contact-columns {
        gap: 25px
    }

    .bdm-reach-card {
        padding: 24px
    }
}

@media (max-width: 921px) {
    .bdm-shop-layout {
        grid-template-columns:1fr
    }

    .bdm-filter-column {
        position: static
    }

    .bdm-shop-layout .bdm-shop-filters.is-open {
        max-height: 100dvh
    }

    .bdm-header-menu {
        gap: 12px
    }

    .bdm-categories-nav {
        flex-basis: 210px
    }

    .bdm-nav-links {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 8px 0
    }

    .bdm-nav-links a {
        font-size: 12px
    }

    .bdm-contact-columns {
        grid-template-columns:1fr 1fr
    }

    .bdm-reach-card h2 {
        font-size: 26px
    }

    .bdm-reach-card p {
        font-size: 14px
    }
}

@media (max-width: 700px) {

    .bdm-header-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(340px, 88vw);
        height: 100dvh;
        background: white;
        z-index: 2000;
        overflow-y: auto;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .3s ease, visibility .3s;
    }

    .bdm-header-menu.is-open {
        transform: translateX(0);
        visibility: visible;
    }

    .bdm-catalog-header-inner {
        grid-template-columns:85px minmax(0, 1fr) auto !important;
        gap: 9px
    }

    .bdm-catalog-logo img {
        max-width: 85px
    }

    .bdm-delivery-trigger .bdm-icon {
        display: none
    }

    .bdm-delivery-trigger b {
        font-size: 10px
    }

    .bdm-header-actions {
        gap: 12px
    }

    .bdm-header-actions span {
        display: none
    }

    .bdm-header-actions .bdm-icon {
        width: 21px;
        height: 21px
    }

    .bdm-header-menu {
        flex-wrap: wrap;
        gap: 0
    }

    .bdm-categories-nav {
        flex-basis: 100%;
        position: static
    }

    .bdm-categories-toggle {
        padding: 10px 0 !important;
        border: 0 !important
    }

    .bdm-nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        padding: 8px 0 12px
    }

    .bdm-header-menu #bdm-category-panel, .bdm-header-menu #bdm-category-panel.has-submenu {
        width: 100%;
        max-height: 65dvh;
        flex-direction: column
    }

    .bdm-category-roots {
        flex-basis: auto;
        max-height: 30vh
    }

    .bdm-category-submenus {
        max-height: 30vh;
        flex: auto;
        padding: 15px;
        border-top: 1px solid #e3e8e3
    }

    .bdm-category-submenus h3 {
        font-size: 17px
    }

    .bdm-weekly:nth-of-type(3) .bdm-promos {
        grid-template-columns:1fr
    }

    .bdm-modal-content {
        padding: 40px 22px 25px
    }

    .bdm-modal-content h2 {
        font-size: 23px
    }

    .bdm-dialog.bdm-account-dialog[open] {
        display: block
    }

    .bdm-account-photo {
        display: none
    }

    .bdm-account-dialog .bdm-modal-content {
        padding: 42px 25px
    }

    .bdm-city-list {
        max-height: 40vh
    }

    .bdm-city-list button {
        font-size: 14px
    }

    .bdm-city-list small {
        font-size: 10px;
        padding: 4px 7px
    }

    .bdm-quick-grid {
        grid-template-columns:1fr
    }

    .bdm-quick-grid img {
        max-height: 170px
    }

    .bdm-wish-row {
        flex-wrap: wrap
    }

    .bdm-wish-row a {
        flex-basis: 100%
    }

    .bdm-contact-columns {
        grid-template-columns:1fr
    }

    .bdm-reach-card {
        padding: 24px
    }

    .bdm-reach-card p {
        font-size: 15px
    }

    .bdm-reach-card iframe {
        height: 260px
    }

    .bdm-products header p {
        max-width: 230px
    }

    .bdm-reviews {
        padding: 25px
    }

    .bdm-home-main .bdm-hero-slider {
        min-height: 350px
    }

    .bdm-brands a {
        font-size: 13px
    }

    .bdm-brands .bdm-icon {
        display: block;
        margin: 0 0 10px
    }
}

.bdm-promos.bdm-promos-4 {
    grid-template-columns:repeat(4, minmax(0, 1fr))
}

.bdm-promos-4 > a {
    min-height: 260px;
    background-position: center;
    padding: 20px
}

.bdm-promos-4 h3 {
    font-size: 21px;
    max-width: 95%
}

.bdm-weekly .bdm-promos.bdm-promos-2 {
    grid-template-columns:repeat(2, minmax(0, 1fr))
}

.bdm-promos-2 > a {
    min-height: 210px
}

.bdm-home {
    max-width: 1400px !important;
    width: 100%
}

@media (max-width: 921px) {
    .bdm-promos.bdm-promos-4 {
        grid-template-columns:repeat(2, minmax(0, 1fr))
    }
}

@media (max-width: 700px) {
    .bdm-promos.bdm-promos-4, .bdm-weekly .bdm-promos.bdm-promos-2 {
        grid-template-columns:1fr
    }

    .bdm-promos-4 > a {
        min-height: 170px
    }
}
