/*TYPOGRAPHY*/
body {
    font-family: "Lato", sans-serif;
}

/* Apply Quicksand font-family globally */
h1, h2, h3, h4, h5, h6, p, a, span, label, button, input, textarea, ul, li, div {
    font-family: 'Quicksand', sans-serif;
}

.header--style-1,
.primary-nav,
.secondary-nav,
.mega-text,
.ah-list li a {
    font-family: "Quicksand", sans-serif;
}

footer,
.outer-footer__content,
.lower-footer__content {
    font-family: 'Quicksand', sans-serif;
}

.section__heading, .section__span, .product-short__price, .product-short__name, .product-short__category {
    font-family: "Quicksand", sans-serif;
    font-weight: bold;
}

/* Apply font to entire page or specific elements */
.slider-content, .content-span-1, .content-span-2, .content-span-3, .shop-now-link {
    font-family: "Quicksand", sans-serif;
}

.section__content, .load-more a {
    font-family: "Quicksand", sans-serif;
}

.section__heading, .section__span, .product-o__category a, .product-o__name a, .product-o__price, .product-m__review, .star_rating, .btn--e-brand {
    font-family: "Quicksand", sans-serif;
}

.section__heading, .section__span, .testimonial__block-quote p, .testimonial__author {
    font-family: "Quicksand", sans-serif;
}

/* Button specific styles */
.load-more .btn {
    font-family: "Quicksand", sans-serif;
}

/* Button font styling */
.shop-now-link {
    font-family: "Quicksand", sans-serif;
}

/* Other UI elements */
.modal-body h1, .modal-body label, .modal-body textarea, .modal-body input {
    font-family: 'Quicksand', sans-serif;
}

/* Apply Quicksand font to the product card elements */
.product-bs,
.product-bs__category,
.product-bs__name,
.product-bs__action-list li a,
.product-bs__action-wrap ul,
.product-bs h5 {
    font-family: 'Quicksand', sans-serif;
}

/* Apply Quicksand font to the upload modal elements */
.dash__box,
.dash__pad-2,
.dash__link--secondary,
.dash-edit-p label,
.dash-edit-p p,
.cancel-button button {
    font-family: 'Quicksand', sans-serif;
}

.product-o__action-wrap,
.product-o__action-list,
.product-o__action-list li a {
    font-family: 'Quicksand', sans-serif;
}

/* Apply Quicksand font-family to product action elements */
.product-o__action-wrap,
.product-o__action-list,
.product-o__category,
.product-o__name,
.pd-detail__price,
.pd-detail__discount,
.pd-detail__del,
.product-bs__price,
.product-o__discount {
    font-family: 'Quicksand', sans-serif;
}

/* Apply Quicksand font-family to titles and subtitles */
.section__heading,
.section__span,
.section__intro,
.section__text-wrap {
    font-family: 'Quicksand', sans-serif;
}

/* Apply Quicksand font-family to elements inside the product slider */
.product-bs__container,
.product-o,
.product-o--hover-on,
.product-o__wrap,
.product-o__price,
.product-o__category,
.product-o__name,
.product-m__rating {
    font-family: 'Quicksand', sans-serif;
}

/* Apply Quicksand font-family to modal content and body */
.modal.quickModal,
.modal-dialog,
.modal-content,
.modal-body,
.pd-wrap,
.pd-detail,
.pd-breadcrumb,
.pd-detail__name,
.pd-detail__label,
.pd-detail__policy-list,
.pd-detail__policy-list li,
.pd-detail__policy-list li span,
.product-m__hover,
.product-m__preview-description,
.product-m__preview-description span,
.product-m__hover span {
    font-family: 'Quicksand', sans-serif;
}

/* Apply Quicksand font-family to product brand and description */
.pd u-s-m-b-10,
.pd span,
.pd hr {
    font-family: 'Quicksand', sans-serif;
    color: inherit; /* Ensure color is inherited */
}

/* Apply Quicksand font-family to the dashboard sidebar and its elements */
.dash__box,
.dash__pad-1,
.dash__text,
.dash__f-list,
.dash__f-list a,
.dash__w-list,
.dash__w-list a,
.dash__w-wrap,
.dash__w-text,
.dash__w-name,
.dash__w-icon {
    font-family: 'Quicksand', sans-serif;
}

/* Apply Quicksand font-family to the order history and related elements */
.dash__text,
.m-order,
.m-order__select-wrapper,
.select-box,
.m-order__list,
.m-order__get,
.manage-o__header,
.manage-o__text-2,
.manage-o__text,
.manage-o__badge,
.manage-o__description,
.description__container,
.description-title,
.description__info-wrap,
.manage-o__text-1,
.manage-o__text-2,
.manage-o__text-2 u-c-secondary,
.manage-o__text-2 u-c-grey,
.pagination,
.button-area {
    font-family: 'Quicksand', sans-serif;
}

/* Apply Quicksand font-family to the password change form and related elements */
.alert,
.dash__box,
.dash__pad-2,
.dash__link,
.dash-edit-p,
.gl-inline,
.gl-label,
.password-input-wrapper,
.input-text,
.password-toggle-icon,
.error-feedback,
.invalid-feedback,
.button-area {
    font-family: 'Quicksand', sans-serif;
}

/* Ensure consistency for all text elements within the modal */
.modal-header,
.modal-footer {
    font-family: 'Quicksand', sans-serif;
}

/* Apply Quicksand font-family to the entire profile page */
.alert,
.dash__h1,
.contact-f,
input[type="file"],
input[type="submit"],
.product-bs__wrap,
.product-bs__name {
    font-family: 'Quicksand', sans-serif;
}

/* Ensure consistency for text elements in the profile section */
.col-lg-12,
.col-xl-12,
.col-lg-4,
.col-md-6,
.col-sm-6,
.filter__item {
    font-family: 'Quicksand', sans-serif;
}

/* Apply Quicksand font-family to modal and loader */
.loader,
.photoUploadModal {
    font-family: 'Quicksand', sans-serif;
}

/* Apply Quicksand font-family to the entire profile section */
.dash__h2,
.dash__text,
.dash__custom-link,
.btn--e-transparent-brand-b-2,
.row,
.col-lg-3,
.u-s-m-b-30,
.u-s-m-b-16 {
    font-family: 'Quicksand', sans-serif;
}

/* Ensure consistency for the profile photo and update profile sections */
.account-profile-photo,
.update-profile {
    font-family: 'Quicksand', sans-serif;
}

/* Apply Quicksand font-family to modals */
.profile-modal,
.password-change-modal {
    font-family: 'Quicksand', sans-serif;
}

/* Apply Quicksand font-family to the entire order list section */
.m-order__list,
.m-order__get,
.manage-o__header,
.manage-o__text-2,
.manage-o__text,
.manage-o__description,
.description__container,
.description-title,
.pagination,
.button-area {
    font-family: 'Quicksand', sans-serif;
}

/* Specific styling for pagination if needed */
.pagination li a,
.pagination li span {
    font-family: 'Quicksand', sans-serif;
}

/* Ensure consistent styling for the empty order message */
.emptyOrder-message {
    font-family: 'Quicksand', sans-serif;
}

/* Apply Quicksand font-family to the entire newsletter section */
.outer-footer__content,
.outer-footer__content-title,
.newsletter,
.newsletter__group,
.newsletter__text,
.input-text,
.alert {
    font-family: 'Quicksand', sans-serif;
}


/* mastar css start */
@keyframes snowfall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.snowflake {
    position: absolute;
    top: -15px; /* Adjust top position for larger snowflakes */
    width: 15px; /* Increased size */
    height: 15px; /* Increased size */
    background-color: #fff; /* Fallback color */
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    opacity: 0.8; /* Adjust opacity as needed */
    animation: snowfall 8s linear infinite; /* Adjusted base speed */
    pointer-events: none;
    transform-origin: center center;
}

.snowfall {
    position: fixed; /* Change to fixed positioning */
    top: 0;
    left: 0;
    width: 100vw; /* Use viewport width */
    height: 100vh; /* Use viewport height */
    z-index: 1000; /* Ensure it's above content but below any other UI elements */
    overflow: hidden;
    pointer-events: none;
}

.snowfall .snowflake:nth-child(1) {
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
    animation-timing-function: linear;
}

.snowfall .snowflake:nth-child(2) {
    left: 20%;
    animation-duration: 9s;
    animation-delay: 1s;
    animation-timing-function: linear;
}

.snowfall .snowflake:nth-child(3) {
    left: 30%;
    animation-duration: 10s;
    animation-delay: 2s;
    animation-timing-function: linear;
}

.snowfall .snowflake:nth-child(4) {
    left: 40%;
    animation-duration: 11s;
    animation-delay: 3s;
    animation-timing-function: linear;
}

.snowfall .snowflake:nth-child(5) {
    left: 50%;
    animation-duration: 9s;
    animation-delay: 1s;
    animation-timing-function: linear;
}

.snowfall .snowflake:nth-child(6) {
    left: 60%;
    animation-duration: 8s;
    animation-delay: 2s;
    animation-timing-function: linear;
}

.snowfall .snowflake:nth-child(7) {
    left: 70%;
    animation-duration: 12s;
    animation-delay: 3s;
    animation-timing-function: linear;
}

.snowfall .snowflake:nth-child(8) {
    left: 80%;
    animation-duration: 10s;
    animation-delay: 2s;
    animation-timing-function: linear;
}

.snowfall .snowflake:nth-child(9) {
    left: 90%;
    animation-duration: 11s;
    animation-delay: 3s;
    animation-timing-function: linear;
}

.snowfall .snowflake:nth-child(10) {
    left: 100%;
    animation-duration: 12s;
    animation-delay: 4s;
    animation-timing-function: linear;
}

/* mastar css end */

/* navbar css start */

.secondary-nav-wrapper {
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    width: 100%;
}

.secondary-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 1280px;
    margin-left: -5vw;
}

@media (max-width: 1280px) {
    .secondary-nav {
        margin-left: -1vw;
    }
}

.mobile-logo-container,
.mobile-search-container,
.cart-counter-container {
    flex-shrink: 0;
}

.secondary-nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 5px;
    margin-left: 50vw;
}


.secondary-nav-wrapper.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* border-bottom: 1px solid #ddd; */
}
.sticky-sidebar.is-sticky {
    position: fixed;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100vh;
    top: 50rem;
    /* border-bottom: 1px solid #ddd; */
}

/* navbar css end */

/* homepage css start */

.scrolling-text-section {
    padding: 5px 0; /* Optional: Padding for the section */
    overflow: hidden; /* Hide any overflow content */
    font-size: 12px;
    position: relative;
}

.scrolling-text {
    white-space: nowrap;
    display: inline-block;
    animation-name: scroll-left;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-play-state: running;
    border: none;
    width: 100%!important;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.scrolling-text p {
    display: inline-block;
    font-size: 15px;
    color: #616161;
    /*letter-spacing: 1px;*/
    font-weight: 600;
}

.scrolling-text i {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(104,161,100,0.9);
    margin-right: 3px;
}

.scrolling-text:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}



.box-info-h1 {
    background-color: #f8f8f8;
    padding: 20px 20px;
    text-align: center;
}

.contact-o {
    border-radius: 15px;
}

.elementor-section {
    background-color: #434343;
    position: relative;
}

.elementor-heading-title {
    text-align: center;
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

.elementor-text-editor p {
    text-align: center;
    color: #555;
    font-size: 16px;
}

.mini-box-info-h1 {
    margin-top: 20px;
}

.centered-row {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.centered-icon-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 300px;
    flex: 1 1 45%;
    box-sizing: border-box;
    padding: 20px;
    margin: 0 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 1px 15px 0 rgba(236, 236, 236, 0.08);
}

.icon-box-h1 {
    display: flex;
    align-items: center;
}

.icon-box-left, .icon-box-right {
    text-align: left;
}

.elementor-icon {
    font-size: 45px;
    color: var(--primary-color);
}


.icon-box-h1:hover {
    background-color: #e9e9e9;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Styling for the icon box wrapper to use flex layout */
.elementor-icon-box-wrapper {
    display: flex;
    align-items: center;
    /* padding: 20px; */
    /* border: 1px solid #ddd;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 10px;
    max-width: 400px;
    box-sizing: border-box;
    border-radius: 10px; */
}


/* Ensuring the icon appears on the left */
.elementor-icon-box-icon {
    flex-shrink: 0;
    margin-right: 15px;
    font-size: 24px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

/* Styling for the text content */
.elementor-icon-box-content {
    text-align: left;
}

.elementor-icon-box-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.elementor-icon-box-description {
    color: #777;
    font-size: 14px;
    margin: 0;
}

/* Centering the icon boxes within the container */
.elementor-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 2px 0;
}

/* homepage slider product card start */
.product-bs__container {
    margin: 3px;
    background-color: #fff;
    box-shadow: 5px 5px 15px rgba(209, 255, 204, 0.2);
    border-radius:8px;
    height: 365px !important;
    width: 205px;
    border: 1px solid #ececec;
    transition: .5s;
}

.product-container-extra-width{
    width: 215px;
}


.product-container-extra-width:hover{
    width: 215px!important;
    scale: 1.05;
    transition: .5s;
}

.product_auto_width{
    width: auto!important;
}

.product-bs__container:hover {
    /*background-color: #f8f8f8;*/
    box-shadow: 1px 1px 5px 8px rgb(239, 239, 239);
    transition: .5s;
    width: 205px;
    /*scale: 1.03;*/
}

@media (min-width: 768px) {
    .product-bs__container {
        height: 366px !important;
    }
    .product-container-extra-width {
        height: 385px !important;
    }
}

@media (max-width: 820px) {

    .product-bs__container {
        width: 160px!important;
        height: 100%!important;
        /*width: 96% !important;*/
        max-width: 220px!important; /* Adjust this value as needed */
        margin: 0 auto;
    }
}

@media (min-width: 800px) and (max-width: 1200px) {
    .product-bs__container {
        width: 260px!important;
        height: 100%!important;
        /*width: 96% !important;*/
        max-width: 220px!important; /* Adjust this value as needed */
        margin: 0 auto;
    }
}

.product-o__action-list {
    font-size: 10px;
}

.product-o__name > a:hover {
    color: rgba(31, 120, 65, 255);
    transition: .2s;
    text-decoration: none!important;
}

.product-short {
    /* background-color: #fbfbfb; */
    background-color: #fff;
    border: 1px solid #ececec;
    border-radius: 15px;
    transition: -webkit-transform 0.7s ease-in-out;
    transition: transform 0.7s ease-in-out;
    transition: transform 0.7s ease-in-out, -webkit-transform 0.7s ease-in-out;
}

.product-short:hover {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
}

.product-short__name {
    display: block;
}

.product-short__name > a {
    display: -webkit-box; /* Required for webkit browsers */
    -webkit-box-orient: vertical; /* Set the box orientation to vertical */
    -webkit-line-clamp: 2; /* Limit the text to 2 lines */
    overflow: hidden;
    text-overflow: ellipsis; /* Add the ellipsis */
    border: none;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    padding: 5px 0;
}

.product-o__name > a {
    display: -webkit-box; /* Required for webkit browsers */
    -webkit-box-orient: vertical; /* Set the box orientation to vertical */
    -webkit-line-clamp: 2; /* Limit the text to 2 lines */
    text-overflow: ellipsis; /* Add the ellipsis */
    border: none;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-color);
    /*padding: 5px 0;*/
    height: 52px;
    overflow-y: auto;
    scrollbar-width: none;
}

.product-short__name > a:hover {
    transition: .2s;
}

.article__name > a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    border: none;
    font-weight: 500;
    font-size: 15px;
    color: #565656!important;
    padding: 5px 0;
    max-height: 60px;
    text-transform: capitalize;
    letter-spacing: .5px;
}

.article__name > a:hover {
    transition: .2s;
    text-decoration: underline;
}

.star_rating {
    font-size: 9px !important;
    margin-left: -3px!important;
}

.star_rating:before {
    font-size: 120%;
}

/* homepage slider product card end */
.product-l__name > a {
    font-size: 13px;
    font-weight: 700;
}

.product-short__container {
    padding: 18px 15px;
}

.product-short__info {
    margin-top: 5px;
}

/* homepage css end */

@media (min-width: 1300px) {
    .container {
        max-width: 1250px !important;
    }
}

.tool-style__form-wrap select {
    border-radius: 8px;
    /*border: 1px solid #ccc;*/
    padding: 10px 20px;
    box-shadow: 1px 2px 5px rgba(85, 195, 126, 0.7);
    background-color: var(--primary-color);
    color: #f1f1f1;
    letter-spacing: 1px;
}

.product-o__discount {
    font-size: 12px;
}

.input-text--style-1 {
    color: #333;
    transition: all 0.6s linear;
    border: 1px solid #ddd;
    background-color: #f5f5f5;
    padding: 0.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.promotion-o .aspect {
    border-radius: 5px;
    overflow: hidden; /* Ensures the image doesn't spill out of the container */
}

.promotion-o .aspect__img {
    border-radius: 5px;
}

.promotion-o .aspect__img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.aspect__img {
    object-fit: contain;
}

/* For large devices (>= 1200px) - 5 items per row (20% width) */
@media (min-width: 1200px) {
    .col-lg-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* For medium devices (>= 768px and < 1200px) - 5 items per row (20% width) */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .col-md-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* For large devices (>= 1200px) - 5 items per row (20% width) */
@media (min-width: 1200px) {
    .col-lg-2-3 {
        flex: 0 0 16.66%;
        max-width: 16.66%;
    }
}

/* For medium devices (>= 768px and < 1200px) - 6 items per row (16.66% width) */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .col-md-2-3 {
        flex: 0 0 16.66%;
        max-width: 16.66%;
    }
}

/* For small devices (>= 576px and < 768px) - 3 items per row (33.33% width) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .col-sm-4 {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
}

.load-more > button {
    background-color: #fff;
}

.aspect--square {
    background-color: transparent;
}

/*.newsletter-footer {*/
/*    background: -webkit-linear-gradient(top, rgba(244,156,69,1), #434343);*/
/*    background: -moz-linear-gradient(top, rgba(244,156,69,1), #434343);*/
/*    background: -o-linear-gradient(top, rgba(244,156,69,1), #434343);*/
/*    background: linear-gradient(to bottom, rgba(244,156,69,1), #434343);*/
/*    padding: 10px 0;*/
/*}*/

.newsletter-footer {
    background: linear-gradient(to top, var(--primary-color), #f8f8f8);
    /*background-color: rgba(244,156,69,1);*/
    padding: 0 0 20px 0;
    border-bottom: 1px solid rgb(146, 184, 123);
    border-radius: 5px!important;
}


@media (max-width: 820px) {
    .newsletter-footer  {
        text-align: center!important;
    }
}



.newsletter_title{
    font-size: 20px;
    color: #6a6a6a;
    font-weight: 700;
    letter-spacing: 1px;
}

.newsletter_subtitle{
    font-size: 12px;
    color: #6a6a6a;
    font-weight: 500;
    margin-top: -3px;

}

.newsletter-footer__content{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}


@media (max-width: 820px) {
    .newsletter-footer__content  {
        text-align: center!important;
    }
}

@media (max-width: 820px) {
    .outer-footer__content  {
        text-align: center!important;
    }
}

@media (max-width: 820px) {
    .outer-footer__social  {
        text-align: center!important;
        margin-left: 35%;
    }
}

.footer_about{
    margin: 10px 0;
    color: #F3F3F3;
}

/* footer start */
.outer-footer {
    /*background-color: #434343 !important;*/
    background: linear-gradient(to bottom, var(--primary-color),rgba(67,67,67,1));
    padding-bottom: 10px;
}

.outer-footer__text-wrap > i {
    color: #e4e4e4 !important;
}

.outer-footer__text-wrap span {
    color: #e4e4e4 !important;
}

.outer-footer__list-wrap ul > li > a {
    color: #e4e4e4 !important;
}

.newsletter__text {
    color: #e4e4e4 !important;
}

.outer-footer__social ul > li > a {
    color: #e4e4e4 !important;
    font-size: 22px!important;
}

.mega-text {
    padding: 0px 12px !important;
    font-size: 14px !important;
    border-radius: 0.35rem !important;
    font-weight: 500 !important;
}

.lower-footer {
    background-color: #434343 !important;
    /*border-top: 1px solid #5a5a5a;*/
    box-shadow: 3px 5px 12px #5a5a5a;
}

.lower-footer__copyright span {
    color: #d5d5d5 !important;
}

.newsletter__btn {
    border-radius: 1rem;
    padding: 12px;
}

.input-text--only-white {
    border-radius: 1rem;
}


/* shop page start */
.is-grid-active .product-m__name > a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    border: none;
    font-weight: 600;
    font-size: 14px;
    color: #434343;
    padding: 5px 0;
    height: 50px;
}

@media (max-width: 1024px) {
    .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
    .col-auto, .col-lg, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7,
    .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-auto, .col-md, .col-md-1,
    .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9,
    .col-md-10, .col-md-11, .col-md-12, .col-md-auto, .col-sm, .col-sm-1, .col-sm-2, .col-sm-3,
    .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11,
    .col-sm-12, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5,
    .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-auto {
        padding-right: 5px;
        padding-left: 5px;
    }
}

@media (max-width: 1024px) {
    .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
    .col-auto, .col-lg, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7,
    .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-auto, .col-md, .col-md-1,
    .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9,
    .col-md-10, .col-md-11, .col-md-12, .col-md-auto, .col-sm, .col-sm-1, .col-sm-2, .col-sm-3,
    .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11,
    .col-sm-12, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5,
    .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-auto {
        padding-right: 5px;
        padding-left: 5px;
    }
}

@media (max-width: 1024px) {
    w-r__link {
        text-align: start;
    }
}

/* shop page start */

/* footer end */

.shop-w-master__heading {
    /*box-shadow: 1px 2px 5px rgba(85, 195, 126, 0.7);*/
    background-color: var(--primary-color);
    letter-spacing: 1px;
    color: #f1f1f1;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
    border-radius: 8px;
}

.is-grid-active .product-m {
    position: relative;
    margin-bottom: 30px;
    /* transition: 0.3s; */
    background-color: #ffffff;
    border: 1px solid #ececec;
    box-shadow: 5px 5px 15px rgba(209, 255, 204, 0.2);
    border-radius:8px;
    overflow: hidden;
    transition: .2s;
    -moz-transition: .2s;
    -webkit-transition: .2s;
    -o-transition: .2s;
    height: 395px !important;
    width: 225px!important;

    &:hover {
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
        /* border: 1px solid #BCE3C9; */
        transition: .2s;
    }
}

/* Media query for large devices */
@media (min-width: 1920px) {
    .is-grid-active .product-m {
        height: 25rem !important;
        width: 225px!important;
    }
}

/* Media query for large devices */
@media (min-width: 1200px) and (max-width: 1400px) {
    .is-grid-active .product-m {
        width: 205px!important;
        height: 24rem !important;
    }
}

/* Media query for large devices */
@media (min-width: 800px) and (max-width: 1200px) {
    .is-grid-active .product-m {
        width: 245px!important;
        padding: 0 20px;
    }
}

.containerCustom{
    margin-top: 80px;
}

.paddingX{
    padding: 0 50px;
}

.mobile-menu-container{
    display: none;
}
.mobile-account-menu{
    display: none;
}
.mobile-account-toggle{
    display: none;
}

/* Media query for large devices */
@media (min-width: 800px) and (max-width: 1100px) {
    /*.is-grid-active .product-m {*/
    /*    width: 177px!important;*/
    /*    height: 395px!important;*/
    /*    margin: 3px 0!important;*/
    /*    !*padding: 0 10px!important;*!*/
    /*}*/

    .mobile-menu-container{
        display: block;
    }

    .mobile-account-menu{
        display: block;
    }

    .mobile-account-toggle{
        display: block;
        margin-right: 40px;
    }

    .containerCustom{
        margin-top: 0;
    }

    .paddingX{
        padding: 0;
    }

    .is-grid-active {
        padding: 0 0!important;
        margin: 0!important;
    }

    .is-grid-active .product-m__name > a {
        margin-left: -10px;
    }

    .is-grid-active .product-m__category {
        margin-left: -10px;
    }
}

/* Media query for large devices */
@media (max-width: 800px) {
    .is-grid-active .product-m {
        /*width: 180px!important;*/
        height: 330px!important;
        margin: 3px 0!important;
        width: 100%!important;
        max-width: 285px!important;
        /*padding: 20px;*/
        padding: 0 5px!important;
    }

    .mobile-menu-container{
        display: block;
    }

    .mobile-account-menu{
        display: block;
    }

    .mobile-account-toggle{
        display: block;
    }

    .containerCustom{
        margin-top: 0;
    }

    .paddingX{
        padding: 0;
    }

    .is-grid-active {
        padding: 0 0!important;
        margin: 0!important;
    }

    .is-grid-active .product-m__name > a {
        margin-left: -10px;
    }

    .is-grid-active .product-m__category {
        margin-left: -10px;
    }
}

.w-r__link {
    border-radius: 5px;
    font-weight: 600;
    font-size: 12px;
    color: var(--primary-color);
    background-color:transparent;
    display: inline-block;
    padding: 7px 5px;
    border: 1px solid rgb(250, 250, 250);
    /*border: none;*/
    /*min-width: 60px;*/
    width: fit-content;

    &:hover {
        background-color: var(--primary-color);
        color: #fff;
        transition: .2s;
    }
}

.add-to-cart-link {
    border-radius: 5px;
    font-weight: 600;
    font-size: 12px;
    color: var(--primary-color);
    background-color:transparent;
    display: inline-block;
    padding: 5px 3px;
    border: 1px solid rgb(250, 250, 250);
    /*border: none;*/
    /*min-width: 60px;*/
    width: fit-content;
    margin-right: 4px!important;

    &:hover {
        background-color: var(--primary-color);
        color: #fff;
        transition: .2s;
    }
}

.request-stock-link {
    border-radius: 5px;
    font-weight: 600;
    font-size: 11px;
    color: rgba(240,126,19,255);
    background-color:transparent;
    display: inline-block;
    padding: 5px 5px;
    border: 1px solid rgb(250, 250, 250)!important;
    /*border: none;*/
    /*min-width: 60px;*/
    width: fit-content;
    margin-right: 1px!important;

    &:hover {
        background-color: rgba(240,126,19,255);
        border: 1px solid rgb(250, 250, 250)!important;
        color: #fff;
        transition: .2s;
    }
}

.w-r__link_padded {
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-color);
    background-color:transparent;
    display: inline-block;
    border: 1px solid rgb(250, 250, 250);
    /*border: none;*/
    min-width: 60px;
    width: fit-content;
    padding: 16px;

    &:hover {
        background-color: var(--primary-color);
        color: #fff;
        transition: .2s;
    }
}

.w-r__link_padded-secondary {
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    color: var(--secondary-color);
    background-color: rgba(241, 241, 241, 0.8);
    display: inline-block;
    /*border: 1px solid rgb(250, 250, 250);*/
    border: none;
    min-width: 60px;
    width: fit-content;
    padding: 16px;

    &:hover {
        background-color: var(--secondary-color);
        color: #fff;
        transition: .2s;
    }
}


.w-r__link_orange {
    border-radius: 7px;
    font-weight: 600;
    font-size: 11px;
    color: var(--secondary-color);
    background-color:transparent;
    display: inline-block;
    padding: 7px 5px;
    min-width: 80px;
    width: fit-content;
    border: 1px solid rgb(250, 250, 250);

    &:hover {
        background-color: var(--secondary-color);
        border: 1px solid rgb(250, 250, 250);
        color: #fff;
        transition: .2s;
    }
}


.w-r__link_dark {
    border-radius: 7px;
    font-weight: 600;
    font-size: 12px;
    color: var(--buying-option-color);
    background-color:transparent;
    display: inline-block;
    padding: 7px 5px;
    min-width: 80px;
    width: fit-content;
    border: 1px solid var(--border-light);

    &:hover {
        background-color: var(--primary-color);
        border: 1px solid var(--primary-transparent);
        color: var(--light-color);
        transition: .2s;
    }
}


.shop-w--style {
    border-radius: 8px;
}

.subcategory-list li,
.shop-w__list-2 li,
.shop-w__list li {
    border: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 10px;
    margin-bottom: 5px;
    list-style: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for list items */
.subcategory-list li:hover,
.shop-w__list-2 li:hover,
.shop-w__list li:hover {
    border-color: #d4f4d4; /* Even lighter green on hover */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Thinner gray shadow on hover */
}

input[type="button"]:hover {
    background-color: var(--secondary-color); /* Darker green on hover */
}

.check-box__label {
    font-size: 15px;
    font-weight: 500;
}

.shop-w__category-list,
.shop-w__list-2,
.shop-w__list {
    padding-left: 0; /* Remove default padding for all lists */
}

.subcategory-list {
    padding-left: 15px; /* Add indentation to the subcategory list if desired */
}

.shop-p__collection {
    margin-top: 34px;
}

.ah-list--design2 > li > a {
    font-size: 14px;
}

/* contact page start */
.contact-f {
    margin: 0 auto;
    width: 100%;
    padding: 2rem 5rem;
    background-color: #fefefe;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.contact-f .input-text, .contact-f .text-area {
    border-radius: 6px;
    width: 100%;
    height: 3.5rem;
    border: 1px solid #f0f0f0;
    background-color: #f9f9f9;
}

.contact-f .text-area {
    height: 185px;
}

.input-text {
    font-size: 16px;
    background-clip: padding-box;
    padding: 0 18px;
    height: 40px;
}

.text-area {
    font-size: 16px;
}

.contact-area__heading h2 {
    background-color: #F2F2F2;
}

/* contact page end */

/* breadcrumb start*/
.breadcrumb-wrap {
    /*background-color: rgba(48,171,95,.03);*/
    background-color: transparent;
    /*padding: 15px 0;*/
    /*border-top: 1px solid #e6e6e6;*/
    /*border-bottom: 1px solid #e6e6e6;*/
}

.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666666;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.breadcrumb a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.breadcrumb i {
    margin-right: 5px;
}

.breadcrumb span {
    margin: 0 10px;
    color: #999999;
}

.breadcrumb-wrap .container {
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb-wrap {
    margin-bottom: 20px;
}

.breadcrumb span i, .breadcrumb span {
    margin: 0px 5px;
    color: #999999;
    font-size: 6px;
    padding-top: 1px;
}

/* breadcrumb end*/


/* General pagination-custom Styling */
.pagination-custom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Pagination links */
.pagination-custom li a,
.pagination-custom li span {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 38px;
    text-align: center;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ccc;
    color: #333!important;
    background-color: #e0e0e0!important;
    transition: all 0.3s ease;
}

/* Hover effect */
.pagination-custom li a:hover {
    background-color: #cfcfcf!important;
    color: #000;
}

/* Active page styling */
.pagination-custom .active span {
    background-color: var(--primary-color)!important; /* Green */
    color: white!important;
    border-color: var(--primary-color)!important;
}

/* Disable prev/next */
.pagination-custom .disabled span,
.pagination-custom .disabled a {
    background-color: #f2f2f2!important;
    color: #aaa!important;
    pointer-events: none!important;
}



.checkout-address-section {
    padding: 2rem 0;
    /*background: #f9f9f9;*/
    border-radius: 8px;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.address-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.address-card {
    /*background-color: #ffffff;*/
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.minimizedAddressCard{
    padding: 0 5px;
    margin: 0 20px;
    border-radius: 0;
    box-shadow: none;
}

.address-card:hover {
    border-color: #ffffff;
    transform: translateY(-4px);
}

.address-card.default {
    /*background-color: #f5fff7;*/
    border: 1px solid #edfff4;
}

.default-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

.address-info p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
    color: #333;
}

.address-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.btn-custom {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-edit {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-edit:hover {
    background-color: #f6fffc;
}

.btn-delete {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-delete:hover {
    background-color: #fff1f1;
}

.add-address {
    margin-top:20px;
    text-align: center;
}

.btn-add {
    background-color: #f0f0f0;
    color: #555;
    border: 1px dashed #bbb;
    font-weight: bold;
}

.btn-add:hover {
    background-color: #eaeaea;
}



/*Search result div*/
#searchModal {
    max-height:70vh;
    overflow-y: auto;
    scrollbar-width:thin;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999999;
    width: 400px;
    background: linear-gradient(0deg, var(--primary-color), #f8f8f8, #f8f8f8);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 20px 10px;
    transition: all 0.3s ease;
}


@media (max-width: 556px) {
    #searchModal {
        margin-left: 10px!important;
    }
}

#searchModal a.hoverBg {
    text-decoration: none;
    transition: background-color 0.2s ease;
    border-radius: 10px;
    display: block;
    padding: 0 10px;
    /*margin-bottom: 15px;*/
}

#searchModal a.hoverBg:hover {
    /*background-color: #f9f9f9;*/
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.search-result-card {
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 10px;
    padding: 10px;
    border-bottom: 1px solid #efefef;
}

.search-result-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 5px;
    background: transparent;
}

.search-result-content {
    flex: 1;
}

.search-result-content p {
    margin: 0;
    line-height: 1.4;
}

.search-result-content .product-name {
    font-size: 16px;
    font-weight: 600;
    color: #393939;
}

.search-result-content .product-price {
    font-size: 14px;
    color: #666;
}



/* Main Container */
.product-specifications-container {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
}

/* Specification Group */
.specification-group {
    margin-bottom: 30px;
    background: #fbfbfb;
    border-radius: 8px;
    /*box-shadow: 0 2px 10px rgba(0,0,0,0.05);*/
    overflow: hidden;
    transition: all 0.3s ease;
}

/*.specification-group:hover {*/
/*    box-shadow: 0 5px 15px rgba(0,0,0,0.1);*/
/*}*/

/* Group Header */
.group-header {
    background: linear-gradient(-135deg, #fafafa 0%, rgba(255, 255, 255, 1) 100%);
    padding: 12px 20px;
    border-bottom: 1px solid #efefef;
}

.group-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
}

.group-title i{
  margin-right: 5px;
}

/* Specification Table */
.specification-table-container {
    padding: 0;
}

.specification-table {
    width: 100%;
    border-collapse: collapse;
}

.specification-row {
    border-bottom: 1px solid #fcfcfc;
    transition: background-color 0.2s ease;
}

.specification-row:last-child {
    border-bottom: none;
}

.specification-row:hover {
    background-color: #f2fff9;
}

.spec-title {
    width: 30%;
    padding: 12px 20px;
    font-weight: 600;
    color: #444;
    border-right: 1px solid #eaeaea;
    vertical-align: top;
}

.grey-bg{
    background-color: #f6f6f6;
}

.title-text {
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.title-text:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.spec-value {
    width: 70%;
    padding: 12px 20px;
    color: #666;
    font-weight: 600;
    font-size: 14px;
}

/* No Specifications */
.no-specifications {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.no-specifications i {
    color: #dee2e6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .spec-title {
        width: 35%;
        padding: 10px 15px;
    }

    .spec-value {
        width: 65%;
        padding: 10px 15px;
    }

    .group-title {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .spec-title, .spec-value {
        display: block;
        width: 100%;
        border-right: none;
    }

    .spec-title {
        padding-bottom: 5px;
        border-bottom: 1px dashed #eee;
    }

    .spec-value {
        padding-top: 5px;
    }

    .specification-row {
        padding: 10px 0;
    }
}

.signInButton{
    background-color: var(--secondary-color)
}

.signInButton:hover{
    background-color: #494949
}

.signUpButton{
    background-color: var(--primary-color)
}

.signUpButton:hover{
    background-color: #292929
}



/* Modern Dashboard Styles */
.dashboard-orders {
    background: #fefefe;
    border-radius: 8px;
    /*box-shadow: 0 2px 16px rgba(0,0,0,0.08);*/
    padding: 2rem;
}

.order-card {
    /*border: 1px solid #eee;*/
    border-radius: 10px;
    margin-bottom: 1.5rem;
    transition: transform 0.2s ease;
}

.order-card:hover {
    transform: translateY(-2px);
    /*box-shadow: 0 4px 12px rgba(0,0,0,0.1);*/
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eaeaea;
    background: #fafafa;
    border-radius: 10px 10px 0 0;
}

.order-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-number {
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-date {
    color: #687171;
    font-size: 0.9rem;
}

.order-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.manage-btn {
    background: rgb(75, 156, 132, .1);
    color: var(--primary-color) !important;
    padding: 4px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s ease;
}

.manage-btn:hover {
    background: var(--primary-hover);
    text-decoration: none;
    color: #eeeeee !important;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status--delivered { background: #e8f6ef; color: #27ae60; }
.status--packed { background: #fef5e7; color: #f39c12; }
.status--shipped { background: #e8f4fc; color: #2980b9; }
.status--canceled { background: #fdedec; color: #c0392b; }
.status--pending { background: #eee8bd; color: #2c2707; }
.status--ordered { background: #eee8bd; color: #2c2707; }

.order-items {
    padding: 5px 20px;
}

.order-item {
    display: flex;
    gap: 1.5rem;
    padding: 5px 0;
    border-bottom: 1px solid #f5f5f5;
}

.order-item:last-child {
    border-bottom: none;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #eee;
}

.product-info {
    flex: 1;
}

.product-name {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #34495e;
}

.product-meta {
    display: flex;
    gap: 1.5rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.modern-select {
    padding: 0.6rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    width: 200px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1em;
}

.order-pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

/* Empty State */
.empty-order {
    text-align: center;
    padding: 4rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 0.8rem;
    padding: 0 20px;
    font-weight: 500;
    color: #2c3e50;

}

.summary-line{
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #f0f0f0;
    padding: 15px 20px 0 20px;
    font-weight: 500;
    color: #2c3e50;
}

.order-card{
    border: 1px solid #eee;
    padding: 20px 0;
    background: #f9f9f9;
}

@media (max-width: 768px) {
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 5px;
        padding: 20px;
        text-align: center;
        background: whitesmoke;
        border-bottom: 1px solid #eaeaea;
        /*border-top: 1px solid #eaeaea;*/
        /*border-right: 1px solid #eaeaea;*/
    }

    .summary-total {
        display: flex;
        justify-content: space-between;
        margin-top: 0.8rem;
        padding: 0 20px;
        font-weight: 500;
        color: #2c3e50;
    }

    .summary-line{
        display: flex;
        justify-content: space-between;
        border-top: 1px solid #f0f0f0;
        padding: 15px 20px 0 20px;
        font-weight: 500;
        color: #2c3e50;
    }

    .order-card{
        border: 1px solid #eee;
        padding: 20px 0;
        background: #f9f9f9;
    }

    .order-actions {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }
}

.btn-print, .btn-manage {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #efefef; color: #525252;
}

.btn-print:hover {
    background-color: #94816d !important;
    color: white!important;
    transform: translateY(-1px);
}

.btn-manage {
    background-color: #f0f0ff; color: #525252;
}

.btn-manage:hover {
    background-color: #7a9990 !important;
    color: white!important;
    transform: translateY(-1px);
}


/*product compare*/


.compare-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    font-family: 'Segoe UI', sans-serif;
}

.category-select,
.search-section {
    margin-bottom: 24px;
}

.select-input,
.search-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: 0.3s border-color;
}

.select-input:focus,
.search-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.search-results {
    position: absolute;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-top: 4px;
    z-index: 10;
}

.search-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-item:hover {
    background: #f6f6f6;
}

.compare-slots {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.compare-slot {
    flex: 1;
    min-height: 180px;
    background: #f8f8f8;
    border: 1px solid #f8f8f8;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.04);*/
    transition: 0.3s all ease;
}

.compare-slot:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.compare-slot.empty {
    border: 2px solid #ccc;
    color: #bbb;
}

.empty-text {
    font-size: 16px;
    color: #999;
}

.compare-table-wrapper {
    width: 100%;
    padding-bottom: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    touch-action: pan-x;
}

.compare-table-wrapper::after {
    content: "← scroll →";
    position: absolute;
    right: 16px;
    bottom: 0;
    font-size: 12px;
    color: #888;
}

/* Ensure each product column is at least 160px */
.compare-table th.product-header {
    min-width: 160px;
    width: 160px;
}

.compare-table {
    min-width: calc(160px * 5); /* adjust based on max expected products */
    border-collapse: collapse;
    table-layout: auto; /* auto layout for dynamic sizing */
}

.compare-scroll-buttons {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
    gap: 8px;
}

.compare-scroll-overlay {
    position: relative;
}

.compare-table-container {
    position: relative;
    width: 100%;
}

.compare-table-wrapper {
    overflow-x: auto;
    width: 100%;
}

.compare-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ccc;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #444;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: background-color 0.2s;
}

.compare-scroll-left {
    left: -20px; /* adjust based on padding/margin */
}

.compare-scroll-right {
    right: -20px; /* adjust as needed */
}

.compare-scroll-btn:hover {
    background-color: #f1f1f1;
}



.compare-table th,
.compare-table td {
    width: 200px; /* adjust as needed */
    padding: 16px;
    border: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
    word-wrap: break-word;
}

.compare-table th.spec-header,
.compare-table td.spec-title {
    position: sticky;
    left: 0;
    background: #f9fafb;
    z-index: 1;
    min-width: 200px;
    width: 200px;
}

.compare-table-wrapper.dragging {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}
.compare-table-wrapper {
    cursor: grab;
    cursor: -webkit-grab;
}

.compare-table thead {
    background-color: #f9fafb;
}

.compare-table thead tr {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #f9fafb;
}

.product-header-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 160px;
}

.compare-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 8px;
    background: transparent;
}

.compare-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}

.remove-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #964e4e;
    color: white;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.remove-btn:hover {
    background: #c0392b;
}

.product-name {
    text-align: left;
    font-weight: 600;
    color: #4a4a4a;
    font-size: 15px;
}

.product-name-center {
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 15px;
}

.compare-warning span{
    margin: 20px 0;
    color: #858585;
}

@media (max-width: 768px) {
    .compare-container {
        padding: 0 10px;
    }

    .compare-slots {
        flex-direction: column;
        gap: 12px;
    }

    .compare-slot {
        min-height: auto;
    }

    .compare-scroll-btn {
        display: none;
    }

    .compare-scroll-buttons {
        display: none;
    }

    .compare-table {
        min-width: unset;
        width: 100%;
    }

    .compare-table th.product-header,
    .compare-table td.spec-value {
        min-width: 100%;
        width: 100%;
        display: block;
    }

    .compare-table th.spec-header,
    .compare-table td.spec-title {
        position: static;
        width: 100%;
        display: block;
        background: #f1f1f1;
    }

    .compare-table-wrapper::after {
        display: none;
    }

    .compare-table th,
    .compare-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .product-header-box {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        align-items: center;
    }

    .compare-image-wrapper {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }

    .compare-image-wrapper img {
        object-fit: contain;
        width: 100%;
        height: 100%;
        position: static;
    }

    .product-name-center {
        text-align: left;
    }
}

.trending-image{
    width:400px;
    margin-left: -60px;
    height: 600px;
}

@media (max-width: 767px) {
    .trending-image {
        margin-left: 0;
        width: 90vw;
    }
}

.productDetailImage{
    object-fit: fill;
}


.productDetailImageList{
    object-fit:cover;
    height: 110px!important;
}

@media (max-width: 767px) {

    .productDetailImage{
        object-fit: contain;
    }

    .productDetailImageList {
        object-fit: contain;
        height: 80px!important;
    }
}


.product-action-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
}

.add-to-cart-shop{
    position: relative;
    top: -3px;
    left: -5px;
    text-align: left;
    bottom: 0;
}

.add-to-cart-shop .buyNow{
    margin-right: -15px!important;
}

.addToCartCard{
    display: flex;
    justify-content: space-between;
    width: 185px;
}

.add-to-cart-btn{
    position: relative;
    top: -3px;
    left: -5px;
    text-align: left;
    bottom: 0;
}

.ratings-shop{
    text-align: left;
    padding-right: 0;
}

.addToCart{
    /*box-shadow: 1px 2px 3px 1px #eeffee;*/
    /*background-color: rgba(219, 219, 219, 0.2);*/
    opacity: .9;
}

@media (max-width: 800px) {
    .product-action-wrapper {
        flex-direction: column;
    }

    .add-to-cart-btn{
        top: 0;
        text-align: left;
        right: 0;
    }

    .addToCartCard{
        display: flex;
        justify-content: space-between;
        width: 140px;
    }

    .w-r__link_dark{
        font-size: 11px;
        display: inline-block;
        min-width: 50px;
        margin-right: 8px;
        width: fit-content;
    }

    .w-r__link_orange {
        font-size: 11px;
        margin-top: -4px;
        margin-left: 5px!important;
        width: fit-content;
    }

    .addToCart{
        width: fit-content !important;
        background-color: rgba(193, 193, 193, 0.2);
        margin-left: -3px;
    }

    .add-to-cart-shop{
        text-align: left;
    }

}

@media (max-width: 1300px) {
    .buyNow{
        margin-right: 15px!important;
    }

}


@media (min-width: 1920px) {
    .buyNow{
        margin-right: -8px!important;
    }

}

