/* Fix horizontal scroll on browse/category pages caused by row gx-10 negative margins */
.shop-category-area {
    overflow-x: hidden;
}

.nav-category .nav-item .nav-link.active {
    color: #ff7004;
}
.offcanvas-body:not(.scrollable)  {
    overflow-y: hidden;
}
#offcanvasCategory .form-check-label a {
    color: var(--fc-offcanvas-color);
    font-size: normal;
}
.card-product a.image {
    min-height: 250px;
    padding-bottom: 20px;
    display: flex;
    overflow: hidden;
}
.card-product a.image img {
    height: 100%;
    width: auto !important;
    max-width: none !important;
    position: absolute;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%,-50%) scale(1.1);
}
.card-product .image-wrapper {
    overflow: hidden;
    margin-bottom: 15px;
}
.card-product .product-title {
    min-height: 50px;
}
.results_dd {
    position: absolute;
    z-index: 11;
}
.results_dd {
    display: none; 
    overflow-y: auto; 
    overflow-x: hidden; 
    max-height: 400px; 
    background: #FFF; 
    border: 1px solid #ced4da; 
    left: 0px; 
    right: 0px;
    margin-top: 3px;
    border-radius: 8px;
    padding-top: 10px;
}
.results_dd li {
    list-style: none;
}
.collections-block {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 110px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom; 
}

.collections-block img {
    height: 100%;
}

.collections-block-link {
    background-color: rgba(0, 0, 0, 0.5);
    color: #FFF;
    padding: 8px 10px 7px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    position: absolute;
    margin: 0 auto;
    top: 30%;
    color: #fff!important;
}
.collections-block-link a{
    color: #fff;
}
div.input-spinner input.form-input {
    width: 4rem !important;
}
#delivery_types label.inc_vat, #delivery_types label.ex_vat {
    padding: 15px 10px;
}
.del_srv_checks.btn-success {
    background-color: #ff7004;
}
.addresses_uncheck.bg-success .card-body:hover {
    color: #fff;
}
.parsley-errors-list li {
    padding-top: 10px;
    color: crimson;
}

#navbar-default.mobile {
    max-width: 100vw;
}

.open-toggle, .open-toggle2 {
  display: none;
}

.image-wrapper .image.portret img{
	width: 100%!important;
    height: auto!important;
}

.sale-badge-listing {
    position: absolute;
    z-index: 3;
}

@media only screen and (max-width: 575px) {
    .card-product a.image img {
        width: 100% !important;
        height: auto !important;
    }
}

/* Mobile fixes for shop header and filters */
@media only screen and (max-width: 767px) {
    /* Fix logo overlapping icons - reduce logo size on mobile */
    .navbar-brand img {
        max-width: 165px;
        height: auto;
    }

    /* Smaller breadcrumb font and reduced spacing on mobile */
    .breadcrumb {
        font-size: 0.8rem;
        margin-bottom: 0;
    }
    .breadcrumb-item + .breadcrumb-item::before {
        font-size: 0.8rem;
    }
    main > div.mt-4:first-child {
        margin-top: 0.5rem !important;
    }

    /* Reduce top padding on shop category area */
    .shop-category-area.pt-50px {
        padding-top: 15px !important;
    }

    /* Fix truncated dropdowns - show full text */
    .shop-top-bar .shop-select {
        min-width: auto;
    }
    .shop-top-bar .shop-select .form-select {
        width: auto;
        min-width: 100px;
        padding-right: 2rem;
    }

    /* Hide full results text on mobile, show short version */
    .shop-top-bar .results-full {
        display: none;
    }
    .shop-top-bar .results-short {
        display: inline;
    }
}

@media only screen and (min-width: 768px) {
    /* Show full results text on desktop, hide short version */
    .shop-top-bar .results-full {
        display: inline;
    }
    .shop-top-bar .results-short {
        display: none;
    }
}


/* --- fshowroom: sticky Filter/Sort toolbar on mobile listings --- */
@media (max-width: 991.98px) {
    .listing-toolbar {
        position: sticky;
        top: 0;
        z-index: 1020;
        background: #fff;
        padding: 0.5rem 0.25rem;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    }
}
