@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible+Next:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    --primaryColor: rgb(10, 173, 10);
    --primaryDark: #198754;
    --hoverColor: #088a08;
    --fff: #088a08;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Atkinson Hyperlegible Next", serif;
    line-height: 1.5;
}


.bg-primary {
    background-color: var(--primaryColor) !important;
}
.bg-primary-hover:hover{
    filter: brightness(0.7);
}

.text-primary {
    color: var(--primaryColor) !important;
}

.border-primary {
    border-color: var(--primaryColor) !important;
}
.product_title:hover{
    color: var(--primaryColor);
}
.border-hover:hover{
    border: 2px solid var(--primaryColor) !important;
}
.bg-hover:hover{
    background-color: var(--primaryColor) !important;
}
.text-hover:hover{
    color: var(--primaryColor) !important;
}

.bg-primaryDark {
    background-color: var(--primaryDark);
}

.hover\\:bg-hoverColor:hover {
    background-color: var(--hoverColor);
}

.text-primaryDark {
    color: var(--primaryDark);
}

.border-primaryDark {
    border-color: var(--primaryDark);
}
.logo{
    width: 250px;
    object-fit: cover;
}


/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* Background color of the preloader */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's on top of everything */
}

#preloader img {
    width: 400px; /* Adjust the size of the GIF */
    height: 400px;
}
.loading-text {
    margin-top: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    overflow: hidden;
    border-right: 2px solid #333;
    white-space: nowrap;
    animation: typing 7s steps(20) infinite, blinkCursor 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blinkCursor {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: #333;
    }
}




.header_discount {
    background-color: #f0f3f2 !important;
}

header nav a::after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    background-color: var(--primaryColor);
    transition: 0.5s;
    margin: auto;
}

header nav a:hover::after {
    width: 100%;
}

/* hero  */
.hero {
    border-radius: 10px;
    width: 90%;
    margin: 20px auto;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.hero_slider_container {
    display: flex;
    width: 410%;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.hero_slider_content {
    position: relative;
    height: 70vh !important;
    width: 25%;
    flex-shrink: 0;
    overflow: hidden;
}

.hero_bg_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero_content_overlay {
    position: relative;
    z-index: 2;
    padding: 50px;
    padding-top: 100px !important;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items:center;
    flex-direction: column;
    justify-content: center;
}

/* Keep your existing styles for h1, p, etc. */

.hero h1 {
    font-size: 45px;
    max-width: 500px;
    line-height: 1.3;
    margin-top: 30px;
    font-weight: 600;
    margin-right: auto;
}

.hero p {
    margin-top: 15px;
    font-size: 20px;
    max-width: 500px;
    line-height: 1.3;
    margin-right: auto;
    /* color: rgb(66, 66, 66); */
}

.hero a {
    margin-top: 30px;
}
.hero .btn{
    margin-right: auto;
}
.hero_slider_indcator {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    position: absolute;
    width: 50%;
    left: 50%;
    transform: translate(-50%);
    bottom: 50px;
}

.hero_slider_indcator button {
    height: 10px;
    width: 10px;
    background-color: gray;
    border-radius: 50%;
    border: 1px solid gray;
}

.hero_slider_indcator button.active {
    background-color: lightgray;
}



/* categories  */
.circle_md {
    height: 150px;
    width: 150px;
}

.circle_md img {
    object-fit: contain !important;
    height: 75%;
    width: 75%;
}

/* cta  */
.cta {
    background-color: #001e2b;
    background-image: url('../image/pattern.svg');
}

.bg-pattern {
    background-image: url('https://www.transparenttextures.com/patterns/white-diamond.png');
    background-repeat: repeat;
    background-size: auto;
    opacity: 0.1;
    /* Subtle effect */
}


/* product view details  */
.product_view_modal {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 120px;
    background-color: rgba(59, 130, 246, 0.2);
    z-index: 99;
    height: 100vh;
    width: 100%;
    backdrop-filter: blur(10px);
}

.product_view_wrapper {
    max-height: 90vh;
    overflow-y: auto;
}

#mainImage {
    height: 470px;
}

.image-gallery img {
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.image-gallery img:hover {
    transform: scale(1.04);
}

.active_product_img {
    border: 3px solid green;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.2);
}

.details-grid {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 1.75rem 1.5rem;
}

.overflow_x_height_0::-webkit-scrollbar {
    height: 0;
}


/* discount popup  */
.discount_popup_modal {
    position: fixed;
    top: 0;
    left: 0;
    backdrop-filter: blur(10px);
    height: 100vh;
    width: 100%;
    z-index: 999;
    background-color: rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.discount_popup_modal_cover {
    max-height: 87vh !important;
    overflow-y: auto !important;
}

.discount_popup_modal img {
    height: 400px;
}

/* cart modal  */
.cart{
    z-index: 200 !important;
    position: relative;
}


/* other pages styling  */
.not_home_page .hero {
    min-height: unset;
}

/* .testimonials  */
.testimonial-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease-in-out;
}

.testimonial-card img {
    object-fit: cover;
}

/* wishlist table  */

.wishlist-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.wishlist-table th,
.wishlist-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.wishlist-table tr:last-child td {
    border-bottom: unset !important;
}

.wishlist-table th {
    background-color: #e9e9ea;
}

.product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    background-color: #ffe3e3;
    color: #dc3545;
    font-size: 0.9em;
}

.action-btn {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
}

.remove-btn {
    color: #dc3545;
    background: none;
    border: none;
    cursor: pointer;
}

.checkbox-column {
    width: 40px;
}



/* dashboard  */
.right_sidebar{
    padding-bottom: 90px !important;
}
@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.dashboard-card {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px -2px rgba(16, 185, 129, 0.15);
}

.active-menu {
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid #10b981;
}


/* order table  */
.order_table tr:last-child{
    border: none !important;
}

.width_100px{
    width: 100px;
}
.height_50px{
    height: 50px;
}

/* checkout  */
.payment_method_col.active {
    border-color: var(--primaryColor) !important; /* Blue border */
    background-color: #e7f0ff !important; /* Light blue background */
}




/* Add these CSS styles */
.brand_row {
    overflow-x: hidden !important;
    scroll-behavior: smooth;
}

.brand_row .brand_col {
    flex-shrink: 0;
    /* Default for mobile (2 columns) */
    flex-basis: calc(50% - 0.5rem);
    width: calc(50% - 0.5rem);
}
   /* Hide default Swiper arrow styling */
    .swiper-button-next:after,
    .swiper-button-prev:after {
        display: none;
    }




 /* google map code  */
 .skiptranslate iframe {
    display: none !important;
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
    /* Hide the Google Translate bar if you don't want it */
}

.goog-te-tooltip {
    display: none !important;
    /* Disable the tooltip when hovering over text */
}

#goog-gt-tt,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.skiptranslate span {
    display: none !important;
}
.goog-te-gadget{
    display: flex !important;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px
}
body {
    top: 0 !important
}

#google_translate_element select {
    display: block;
    background-color: var(--primaryColor);
    color: white;
    height: 40px;
    width: 150px;
    padding: 10px;
    border-radius: 5px

}

/* cookie  */
@keyframes fadeSlideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes fadeSlideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(20px);
        opacity: 0;
    }
}
.animate-fade-slide-up {
    animation: fadeSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-fade-slide-down {
    animation: fadeSlideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brandsSwiper .swiper-slide {
    width: auto !important;
    height: auto;
    /* Adjust slide width based on your needs */
    max-width: 200px;
}

/* Optional: Add padding around the slider */
.brandsSwiper {
    padding: 10px 0;
}

::selection{
    background-color: var(--primaryColor);
    color: #fff;
}