/* 
Yellow : #F8BE19
Blue : #0050FF
third : #ffe395
*/
:root {
    --main-color: #f8be19;
    --second-color: #0050ff;
    --third-color: #ffe395;
    --grey: #ecedf3;
    --black: #080808;
    --black-blue: #1f2029;
}
.primary-color {
    color: var(--main-color) !important;
}
a {
    text-decoration: none;
}
button,
.btn {
    outline: none;
}

.no_anchor_style {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease-in-out;
}
.no_anchor_style:hover {
    color: var(--main-color);
}
.category-item {
    list-style: none;
}

.category-toggle {
    cursor: pointer;
    margin-right: 5px;
}

.category-toggle i {
    transition: transform 0.3s ease;
}

.category-sublist {
    display: none;
    margin-left: 20px;
}

.category-link {
    text-decoration: none;
    color: #333;
    padding: 3px;
    display: block;
}

.category-toggle.active + .category-link + .category-sublist {
    display: block;
}

.category-toggle.active i {
    transform: rotate(90deg);
}

.shop-product .product-about .details .description-content p {
    margin-bottom: 0;
}
.product-info-tabs .tabs-content .tabs-content__item table {
    width: 100% !important;
}
.product-info-tabs .tabs-content .tabs-content__item h1,
.product-info-tabs .tabs-content .tabs-content__item h2,
.product-info-tabs .tabs-content .tabs-content__item h3,
.product-info-tabs .tabs-content .tabs-content__item h4,
.product-info-tabs .tabs-content .tabs-content__item h5,
.product-info-tabs .tabs-content .tabs-content__item h6 {
    margin: 20px 0;
}
.modal-image {
    width: 500px;
}
.product-zoom-icon {
    font-size: 20px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}
.product-zoom-icon:hover {
    color: var(--main-color);
    transform: scale(1.1);
}
.details .downloads-block {
    margin-top: 20px !important;
}
.popup-product-slider .slick-track {
    min-width: 100% !important;
}
.categories-list li {
    padding-left: 0;
}
.categories-list li::before {
    content: none;
}
.categories-list .category-link {
    display: inline-block;
}

.gallery_container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 1em;
    height: 500px;
    transition: all 400ms;
}

.gallery_container:hover .box {
    filter: grayscale(100%) opacity(24%);
}

.gallery_container .box {
    position: relative;
    background: var(--img) center center;
    background-size: cover;
    transition: all 400ms;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: grayscale(100%) opacity(24%);
}

.gallery_container .box:hover {
    filter: grayscale(0%) opacity(100%);
}

.gallery_container:has(.box-1:hover) {
    grid-template-columns: 3fr 1fr 1fr 1fr 1fr;
}

.gallery_container:has(.box-2:hover) {
    grid-template-columns: 1fr 3fr 1fr 1fr 1fr;
}

.gallery_container:has(.box-3:hover) {
    grid-template-columns: 1fr 1fr 3fr 1fr 1fr;
}

.gallery_container:has(.box-4:hover) {
    grid-template-columns: 1fr 1fr 1fr 3fr 1fr;
}

.gallery_container:has(.box-5:hover) {
    grid-template-columns: 1fr 1fr 1fr 1fr 3fr;
}

.gallery_container .box:nth-child(odd) {
    transform: translateY(-16px);
}

.gallery_container .box:nth-child(even) {
    transform: translateY(16px);
}

.gallery_container .box::after {
    content: attr(data-text);
    position: absolute;
    bottom: 20px;
    background: #000;
    color: #fff;
    padding: 10px 10px 10px 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    transform: translateY(60px);
    opacity: 0;
    transition: all 400ms;
}

.gallery_container .box:hover::after {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 400ms;
}
.product-item .title a {
    max-width: 24ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.header--style-3 .top {
    position: relative;
}
.header--style-3 .top ul li {
    position: unset;
}
.mega-menu {
    width: 100%;
    height: 80vh;
    overflow: auto;
    /* height: 300px; */
    /* height: fit-content; */
    position: absolute;
    background: #fff;
    border-top: 2px solid var(--main-color);
    top: 115px;
    left: 0;
    padding: 50px 0;
    display: none;
}
.mega-menu:hover {
    display: block;
}
.mega-menu .box-img {
    margin: 10px;
    transition: all 0.3s ease-in-out;
}
.mega-menu .category-item .box-title {
    position: absolute;
    bottom: -10%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}
.mega-menu .category-item .box-title .category-title {
    color: #333;
}
.mega-menu .category-item:hover .category-title {
    color: var(--main-color);
}
.search-item:hover {
    color: var(--main-color);
    cursor: pointer;
}
.search-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffffed;
    z-index: 9999;
    display: none;
}
.search-modal .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}
.search-modal .form-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-modal .form-box form {
    width: 80%;
}
.search-modal .form-box form input {
    -webkit-box-flex: 1;
    flex: 1 1 auto;
    width: 1%;
    border: none;
    transition: all 0.3s ease-in-out;
    border-bottom: 2px solid #afafaf;
    background: none;
}
.search-modal .form-box form input:focus {
    outline: none;
    border-bottom: 2px solid var(--main-color);
}
.submit-search-btn,
.submit-search-btn:focus {
    border: none;
    background: none;
    outline: none;
    font-size: 30px;
}
.submit-search-btn:hover,
.search-modal .close-btn:hover {
    color: var(--main-color);
}

.cases-item .overlay {
    background-color: unset !important;
}

/* Define custom scrollbar colors */
::-webkit-scrollbar {
    width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #fff;
}

/* Handle */
::-webkit-scrollbar-thumb {
    /* background: var(--main-color); */
    background: linear-gradient(
        to bottom,
        var(--main-color),
        var(--second-color)
    );
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    /* background: #555; */
    background: linear-gradient(
        to bottom,
        var(--second-color),
        var(--main-color)
    );
}

/* ****************************** */
/* #Progress
================================================== */

.progress-wrap {
    position: fixed;
    right: 50px;
    bottom: 50px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.progress-wrap::after {
    position: absolute;
    font-family: "unicons";
    content: "\2191";
    text-align: center;
    line-height: 46px;
    font-size: 24px;
    color: var(--grey);
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 1;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.progress-wrap:hover::after {
    opacity: 0;
}
.progress-wrap::before {
    position: absolute;
    font-family: "unicons";
    content: "\2191";
    text-align: center;
    line-height: 46px;
    font-size: 24px;
    opacity: 0;
    background-image: linear-gradient(298deg, var(--red), var(--yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 2;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.progress-wrap:hover::before {
    opacity: 1;
}
.progress-wrap svg path {
    fill: none;
}
.progress-wrap svg.progress-circle path {
    stroke: var(--grey);
    stroke-width: 4;
    box-sizing: border-box;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.progress-wrap {
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.2);
}
.progress-wrap::after {
    color: #a8a4a4;
}
.progress-wrap svg.progress-circle path {
    stroke: var(--main-color);
}

/* .popup-product-slider img {
    display: block;
    width: 600px;
    position: relative;
    left: 20%;
} */
.popup-product-box {
    position: relative;
    overflow: hidden;
    text-align: center;
}
/* .zoom-circle {
    position: absolute;
    border: 2px solid #ccc;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
    display: block;
} */

.popup-product-box img {
    /* width: 100%; */
    max-width: 400px;
}

/* ************* */
.terms-section {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    color: var(--main-color);
}

.terms-content {
    margin-top: 30px;
}

.terms-list {
    list-style: none;
    padding-left: 20px;
}

.terms-list li {
    margin-bottom: 15px;
}

.terms-list li strong {
    color: var(--second-color);
}
.privacy-section {
    padding: 50px 0;
}

.privacy-content {
    margin-top: 30px;
}

.privacy-content p {
    margin-bottom: 20px;
    color: #000000;
}

.privacy-content p:first-child {
    margin-top: 0;
}

.privacy-content p:last-child {
    margin-bottom: 0;
}

.privacy-content strong {
    color: var(--second-color);
}

.lang-block li::before {
    content: none;
}
.statistics-item .counter::before {
    content: "+";
}
.services-inner .box-svg {
    position: absolute;
    bottom: -3%;
}
.box-map-frame {
    position: absolute;
    left: 0;
    width: 100%;
    top: 10%;
}
.box-map-frame iframe {
    width: 100%;
}
@media (max-width: 768px) {
    .modal-image {
        width: 100%;
    }
    .popup-product-slider img {
        width: 400px;
    }
    .popup-product-box img {
        max-width: 100%;
    }
    .pagination {
        flex-wrap: wrap;
        row-gap: 8px;
    }
    .more-information-details img {
        width: 100%;
    }
    .text-section .subtitle {
        font-size: 20px;
    }
    .section-title {
        font-size: large;
    }
}
