@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");
@import "../../assets/fonts/stylesheet.css";

:root {
    --primary: #274c5b;
    --hover-primary: #87c340;
    --soft-primary: rgba(15, 34, 139, 0.15);
    --secondary: #ad8017;
    --white: #ffffff;
    --offwhite: #ddd;
}

@font-face {
    font-family: "SolaimanLipi";
    src: url("../../assets/fonts/SolaimanLipiNormal.eot");
    src: url("../../assets/fonts/SolaimanLipiNormal.eot?#iefix")
            format("embedded-opentype"),
        url("../../assets/fonts/SolaimanLipiNormal.woff2") format("woff2"),
        url("../../assets/fonts/SolaimanLipiNormal.woff") format("woff"),
        url("../../assets/fonts/SolaimanLipiNormal.ttf") format("truetype");
}

body {
    font-family: "SolaimanLipi", "Open Sans", sans-serif;
    font-weight: 400;
    font-kerning: normal;
}

p {
    margin: 0;
    padding: 0;
}

hr {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

form {
    margin-block-end: 0;
}

/* Start: bootstrap-custom override */
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.disabled,
.btn-primary:disabled,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show > .btn-outline-primary.dropdown-toggle {
    background-color: var(--hover-primary);
    border-color: var(--hover-primary);
    color: var(--white);
}

.btn-primary,
.btn-soft-primary:hover,
.btn-outline-primary:hover {
    background-color: var(--primary);
    color: #fff;
}

a:hover {
    color: var(--hover-primary);
}

.offer__modal .modal-content {
    position: relative;
    background-color: transparent;
    border: 0;
}

.offer__modal .modal-body {
    position: relative;
    padding: 0;
}

.offer__modal .modal-content img {
    border: 2px solid var(--offwhite);
    padding: 5px;
}

.offer__modal .modal-body button {
    position: absolute;
    right: 0px;
    font-size: 20px;
    top: 0;
    opacity: 1;
    padding: 5px 10px;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    background: #ffffffa3;
}

.offer__modal .modal-header {
    border: 0;
}

.offer__modal img {
    width: 100%;
    height: auto;
}

/* End: bootstrap-custom override */
/* Start: common styles */
.w__25 {
    width: 25%;
}

/* End: Common Style */

/* Scroll to top*/

#scrollToTop {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 9999;
    font-size: 2em;
    opacity: 0.7;
    transition: all 0.4s ease-in-out;
    background-color: var(--primary);
    border: 1px solid var(--primary);
    color: var(--offwhite);
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}

#scrollToTop:hover {
    transform: scale(1.05);
    opacity: 1;
}

.custom-top-color {
    background-color: #f2f3f8;
}

.custom-top-color-2 {
    /* background-color: #ffae00; */
    background: linear-gradient(
        90deg,
        rgba(0, 139, 6, 1) 0%,
        rgba(56, 166, 8, 1) 51%,
        rgba(3, 163, 67, 1) 100%
    );
}

.dropdown {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease-in-out;
}

/* .dropdown:hover,
.dropdown:focus-within {
background-color: #fdae1ccc;
} */
.dropdown:hover a i {
    opacity: 1 !important;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: block;
}

/* Additional styling for your dropdown menu items */
.dropdown-menu a {
    display: block;
    padding: 10px;
    text-decoration: none;
}

/* Optional: Add a smooth transition effect */
.dropdown-menu {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
}

/* .hero__banner {
max-height: 300px;
}
.hero__banner img {
height: 100%;
object-fit: cover;
} */

.dropdown-menu-left {
    left: auto !important;
    right: 0;
}

.dropdown-menu-xs li {
    border-bottom: 1px solid #ddd;
}

.dropdown-menu-xs li:last-child {
    border-bottom: 1px solid transparent;
}

.dropdown-menu-xs li a {
    transition: 0.3s ease-in-out;
}

.dropdown-menu-xs li a:hover {
    opacity: 1 !important;
}

/* Start: Logo Styles */
.nav-logo a {
    height: 70px;
    margin: 15px 0;
    padding: 10px 0;
}

.nav-logo a img {
    height: 100%;
    object-fit: contain;
    object-position: left;
}

/* End: Logo Styles */

/* homepage category box */
.kkml-cat {
    border: 2px solid #07a052;
    overflow: hidden;
    border-radius: 5px;
    text-align: center;
}

.kkml-cat a {
    display: flex;
    flex-direction: column;
}

.kkml-cat__img {
    height: 130px;
    overflow: hidden;
}

.kkml-cat__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.kkml-cat p {
    margin-bottom: 0;
    padding: 10px 0;
    color: #333;
}

.kkml-cat a {
    display: block;
}

.kkml-cat a:hover .kkml-cat__img img {
    transform: scale(1.05);
}

.kkml-cat:hover {
    background-color: #07a052;
    color: white;
}

.kkml-cat p:hover {
    color: white;
}

/* End homepage category box */

/* Start: Todays Deal */

.kkml-hot-deal-bg {
    background-image: url(../img/background_img_hot_deal.jpg);
    background-size: cover;
}

.kkml-deal {
    min-height: 3vh;
}

.kkml-deal .slick-slide {
    margin: 0 10px;
}

.kkml-deal .slick-list {
    margin: 0 -10px;
}

.kkml-deal__img {
    /* height: fit-content; */
    width: 100%;
    padding: 0 15px;
    overflow: hidden;
}

/* .kkml-deal__img img {
    mix-blend-mode: multiply;
} */
.kkml-deal__price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kkml-deal__price p {
    margin-bottom: 0;
    padding: 5px 0;
}

.kkml-deal__inner a {
    background-color: #fff;
    display: block;
    transition: all 0.3s ease-in-out;
}

.kkml-deal__inner a:hover {
    background-color: #dff0fc;
    /* transform: scale(1.05); */
}

/* End: Todays Deal */

/* Start: Authos */
.kkml-authors a {
    display: block;
    text-align: center;
}

.kkml-authors p {
    margin-top: 10px;
}

.kkml-authors__img {
    overflow: hidden;
    border-radius: 50%;
    margin: 0 auto;
    transition: 0.3s ease-in-out;
    filter: drop-shadow(2px 3px 10px rgb(181, 217, 243, 0.2));
    width: 150px;
    height: 150px;
}

.kkml-authors__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 6px solid #b5d9f3;
    padding: 5px;
    border-radius: 50%;
}

.kkml-authors a:hover .kkml-authors__img {
    filter: drop-shadow(7px 10px 10px rgb(181, 217, 243, 1));
}

/* End: Authos */

/* Start: Home banner 1 */
.kkml-banner {
    width: 100%;
}

.kkml-banner-top img {
    width: 100%;
}

.kkml-banner img {
    width: 100%;
}

/* End: Home banner 1 */

/* Start: Promo Banner */
.promo_banner {
    display: block;
}

.promo_banner img {
    display: block;
    width: 100%;
}

/* End: Promo Banner */

.carousel-box-text {
    position: absolute;
    top: 35%;
}

.hero-text {
    padding-left: 20px;
    color: #ddd;
}

.hero-text h1 {
    font-weight: 800;
}

.hero-text button {
    background-color: #ffae00;
    border-radius: 5px;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px 22px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.hero-text button:hover {
    background-color: #ff7733;
    opacity: 1;
    transform: translateY(0);
    transition-duration: 0.35s;
    box-shadow: rgba(39, 174, 96, 0.2) 0 6px 12px;
}

/* Start: table styles override */
.table .btn {
    white-space: nowrap;
}

.table td img {
    min-width: 200px;
    width: 100%;
}

/* End: table styles override */
.product_details--promo img {
    width: 100%;
}

/* ------------------------------------ */
.offer-badge {
    background-color: #e40707;
    padding: 5px;
    border-radius: 5px;
    color: #fefefe;
    position: absolute;
    top: 12px;
    left: 14px;
    font-weight: 700;
}

.kkml-card-hov-icon {
    right: -4px;
}

/* Best Selling */
.best-selling-image {
    max-height: 250px;
}

.best-selling-image img {
    object-fit: contain;
    height: 100%;
}

/* Start: Product Details content */
.product-details-content {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}

#spec-table td {
    font-size: 1.04rem;
}

#spec-table td:first-child {
    background-color: #f1f2f4;
    width: 25%;
    font-weight: 700;
}

/* End: Product Details content */
/* navbar  */

.devider {
    width: 1px;
    height: 70%;
    background: rgba(173, 173, 173, 0.5);
}

.cat-image {
    width: 18px;
    height: 18px;
}

.cat-name {
    font-size: 16px;
}

/* Start: Mobile View Header */
#mobile-menu {
    background-color: inherit;
    border: 0;
    outline: none;
}

.mobile__logo {
    height: 66px;
    width: 400px;
}

.mobile__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left;
}

.mob_search {
    position: fixed;
    top: 63px;
    left: -100vw;
    z-index: 1020;
    max-width: 570px;
    /* width: 100%; */
    max-height: calc(100vh - 129px);
    height: 100%;
    overflow-y: auto;
    transition: 0.3s all ease-in-out;
}

.mob_search.open {
    left: 0;
    width: 100%;
}

.mob_search .category-nav-element:not(:last-child) {
    border-bottom: 1px solid var(--offwhite);
}

.mob_search .typed-search-box {
    top: 45px;
    left: 0;
    z-index: 1020;
}

.mob_search .mob_search-menuList li {
    border-bottom: 1px solid #eee;
}

.mob_search .mob_search-menuList li a {
    transition: 0.3s ease-in;
    display: block;
}

.mob_search .mob_search-menuList li a:hover {
    color: var(--hover-primary);
}

.mob_menu-item {
    position: relative;
    flex-direction: column;
}

.mob_menu-badge {
    position: absolute;
    top: -5px;
    right: -5px;
}

.badge {
    line-height: 1;
    vertical-align: middle;
}

.mobile-compare-box {
    box-shadow: 0px -6px 10px 0px rgba(0, 0, 0, 0.4);
    padding: 20px 0;
    margin: 0 -15px;
}

/* Start: Mobile sidebar */
/* End:  Mobile View Header */

/* Start: Search modal */
#searchModal .modal-body input:focus {
    outline: none;
}

#searchModal .modal-body .input-group {
    overflow: hidden;
    border: 1px solid var(--primary);
    border-radius: 50px;
}

#searchModal .modal-body .input-group button {
    border: 0;
    height: 100%;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

#searchModal .modal-body .typed-search-box {
    filter: drop-shadow(4px 5px 4px rgba(0, 0, 0, 0.1));
    overflow: hidden;
    border-radius: 5px !important;
}

#searchModal .modal-body .typed-search-box li {
    background-color: var(--offwhite);
    margin-bottom: 1px;
    display: block;
}

#searchModal .modal-body .typed-search-box li:last-child {
    margin-bottom: 0;
}

#searchModal .modal-body .typed-search-box li a {
    display: block;
}

/* End: Search modal */

.categories .category__title p {
    font-weight: 700;
    font-size: 16px;
}

.category__list {
    max-height: calc(100vh - 361px);
    overflow-y: auto;
}

.category__list .category-nav-element a img {
    width: 20px;
    height: 20px;
}

.category__list .category-nav-element a span {
    font-size: 16px;
}

/* End: Mobile sidebar */

/* Footer */
.footer-logo {
    height: 85px;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left;
}

.footer-top-icon h4 {
    margin: 0 !important;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 80%;
    max-width: 700px;
    background-color: #fefefe;
}

.modal-close {
    color: #000;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

.image-slider img {
    width: 100%;
    height: auto;
}

/* Styles for the image slider */
.slider-container {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    width: 100%;
    flex: 0 0 auto;
}

.slide img {
    width: 100%;
    height: auto;
}

/* Navigation buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    z-index: 1;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}
