.cursor-pointer {
    cursor: pointer !important;
}

.div-productname {
    line-height: 1.2em !important;
    min-height: 3rem !important;
}

.div-shortdesc {
    font-size: small;
    min-height: 4rem !important;
    line-height: 1.2em !important;
}

.ProductContainer {
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 250px;
    width: 250px;
    justify-self: center;
}

.ProductPhotosContainer {
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 300px;
    width: 100%;
    justify-self: center;
    border: 1px solid #e3e3e3;
}

.ProductThumbnailContainer {
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 120px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    padding: 5px;
}

.PartnerContainer {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 200px;
    width: 200px;
    justify-self: center;
}

.bg-white-box {
    background: #F8F9FA !important;
    border: 1px solid #e3e3e3;
    box-shadow: 0 0 12px 0 rgba(32, 46, 60, .06);
}

.pad-50 {
    padding: 50px !important;
}

.pad-30 {
    padding: 30px !important;
}

.pad-0 {
    padding: 0 !important;
}

.btn-enquire-now {
    display: -webkit-inline-box;
    display: inline-flex;
    width: auto;
    height: 50px;
    margin-bottom: 0;
    padding: 0 2em;
    border: 1px solid var(--color-primary);
    background-color: var(--color-primary);
    -webkit-box-align: center;
    align-items: center;
    color: #fff;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-radius: 50em;
}

.contact-form {
    margin-bottom: 0em !important;
}

.btn-popup-close {
    background: transparent !important;
    border: none !important;
}

/*-------------------------------------------------------------------------------------------------------*/
.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-primary {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}

.alert-secondary {
    color: #383d41;
    background-color: #e2e3e5;
    border-color: #d6d8db;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.desktop-view {
    display: flex !important;
}

.mobile-view {
    display: none !important;
}

.desktop-drop-view {
    display: flex !important;
}

.mobile-drop-view {
    display: none !important;
}

.bg-grey {
    background-color: grey !important;
}

.bg-white {
    background-color: #FFF !important;
}

.main-nav > li > a {
    color: #424242 !important;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

    .banner-overlay + .container {
        position: relative;
        z-index: 2;
    }

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    margin: 0;
    font-size: 3.5rem;
    font-weight: bold;
}

.banner-text-active {
    opacity: 1;
    visibility: visible;
}

.banner-text-hidden {
    opacity: 0;
    visibility: hidden;
}

.banner-button {
    position: relative;
    margin-top: 20px;
}

.banner-btn-active {
    opacity: 1;
    visibility: visible;
    display: inline-flex;
}

.banner-btn-hidden {
    opacity: 0;
    visibility: hidden;
    display: none;
}

.ld-fancy-heading {
    position: relative;
    min-height: 150px;
}

select {
    appearance: auto !important;
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
}


/*-------------------------------------------------------------------------------------------------------*/
@media (min-width: 1200px) {
    .lity-container {
        width: 900px;
    }
}

@media (min-width: 992px) {
    .lity-container {
        width: 800px;
    }
}

@media (min-width: 768px) {
    .lity-container {
        width: 750px;
    }
}

@media only screen and (min-width : 320px) and (max-width : 480px) {

    ul.nav-item-children li .menu-item-has-children #li-subcategory {
        text-align: left;
    }

    [data-mobile-nav-align=center] ul.nav.main-nav > li > a {
        -webkit-box-pack: start !important;
        justify-content: left !important;
    }

    .desktop-view {
        display: none !important;
    }

    .mobile-view {
        display: block !important;
    }

    .desktop-drop-view {
        display: none !important;
    }

    .mobile-drop-view {
        display: flex !important;
    }

    .lity-container {
        width: 500px;
    }

    .bg-white-box {
        background-color: #FFF !important;
        border: 1px solid #e3e3e3;
        box-shadow: 0 0 12px 0 rgba(32, 46, 60, .06);
        min-height: auto;
    }

    .ProductThumbnailContainer {
        background-position: top center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 80px;
        width: 80px;
        border: 1px solid #e3e3e3;
        border-radius: 10px;
        padding: 5px;
    }

    .ProductPhotosContainer {
        background-position: top center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 300px;
    }
}



.lity-container {
    max-height: 90vh;
    border-radius: 4px;
}

/*-------------------------------------------------------------------------------------------------------*/

.filter-list li, .filter-list li {
    padding: 0.5rem 1rem;
    color: #16171e !important;
    background: #9ba1af !important;
    background-size: 99.99%;
}

    .filter-list li.active, .filter-list li.active {
        padding: 0.5rem 1rem;
        color: #FFF !important;
        background: linear-gradient(to right, var(--color-gradient-stop) 0%, var(--color-gradient-start) 100%) !important;
        background-size: 99.99%;
    }

        .filter-list li.active, .filter-list li.active:hover {
            padding: 0.5rem 1rem;
            color: #FFF !important;
            background: linear-gradient(to right, var(--color-gradient-stop) 0%, var(--color-gradient-start) 100%) !important;
            background-size: 99.99%;
        }

.slideshow {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh; /* Safe viewport height on mobile */
    height: 100dvh; /* Dynamic viewport height where supported */
    overflow: hidden;
}

/* Slide */
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.15);
    transition: opacity 1s ease, transform 2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(3%, 5vw, 6%);
}

    /* Active slide */
    .slide.active {
        opacity: 1;
        transform: scale(1);
        z-index: 2;
    }

/* Overlay */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3;
}

/* Content */
.slider-content {
    position: relative;
    z-index: 4;
    max-width: clamp(320px, 50vw, 520px);
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.4s;
    text-align: center;
}

/* Animate content when slide is active */
.slide.active .slider-content {
    opacity: 1;
    transform: translateY(0);
}

.slider-content h1 {
    font-size: clamp(1.75rem, 6vw, 3.25rem);
    margin-bottom: 15px;
    color: #fff;
}

.slider-content p {
    font-size: clamp(1rem, 3.2vw, 1.25rem);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* CTA Button */
.cta-btn {
    display: inline-block;
    padding: clamp(10px, 2.8vw, 14px) clamp(18px, 5.5vw, 30px);
    background: #ffffff;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: clamp(0.95rem, 3vw, 1rem);
}

    .cta-btn:hover {
        background: #000;
        color: #fff;
    }

/* Small-screen tweaks */
@media (max-width: 768px) {
    .slide {
        align-items: center;
        justify-content: center;
        padding: 0 clamp(3%, 5vw, 6%);
    }

    .slider-content {
        max-width: 92%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .slider-content h1 {
        line-height: 1.15;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .slide {
        transition: opacity 0.01s linear, transform 0.01s linear;
    }

    .slider-content {
        transition: none;
    }
}