@import url("colors.css");

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

.ec-header-bottons .ec-header-btn .ec-header-count {
    top: -12px !important;
    left: 16px !important;
}

.header-search {
    width: 650px !important;
    position: relative;
}

.header-drop {
    /* background-color: #a2e49c !important; */
    border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
    border-right: none !important;
}

.ec-select-inner {
    height: 54px !important;
}
.ec-select-inner-cat {
    height: 40px !important;
}

.header-search .form-control {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}
.header-top {
    margin-top: 10px;
}
.sellers-dropdown {
    /* height: 32px !important; */
    width: auto !important;
    margin-right: 10px;
    background-color: var(--bg-dark);
    border-radius: 8px;
}
.sellers-dropdown select {
    color: var(--text-light) !important;
}
.sellers-dropdown option {
    color: var(--text-primary) !important;
}
.sellers-dropdown::after {
    color: var(--text-light) !important;
}

@media screen and (min-width: 480px) {
    .add-img-thumbnail {
        width: 500px;
    }
}

@media screen and (max-width: 480px) {
    .ec-sort-select2 {
        display: none;
    }

    #desktop-search {
        display: none;
    }
    .header-search .form-control {
        border-top-left-radius: 10px !important;
        border-bottom-left-radius: 10px !important;
    }

    .add-img-thumbnail {
        width: 260px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .header-search-btn {
        width: 50px !important;
    }
}
.header-search .form-control {
    min-height: 40px !important;
    height: 40px !important;
}

.header-search-btn {
    background: var(--bg-dark) !important;
    width: 100px !important;
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
}

select {
    color: var(--text-primary) !important;
    margin-left: 5px !important;
}

.ec-select-inner::after {
    color: var(--text-primary) !important;
}

/* .ec-main-menu ul li {
    margin-right: 82px !important;
} */

.main-slider-dot .swiper-pagination-bullet:hover {
    background-color: var(--text-secondary) !important;
}

.main-slider-dot .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--text-secondary);
}

.main-slider-dot .swiper-pagination-bullet {
    background-color: var(--text-secondary);
}

@media screen and (min-width: 576px) {
    .search-bar {
        width: 200px;
    }
    .margin-left {
        margin-left: 0 !important;
    }
}
@media (min-width: 992px) {
    .search-bar {
        width: 350px;
    }
    .margin-left {
        margin-left: 0.5rem !important;
    }
    .header-top {
        display: none;
    }
}
.mid-header::after {
    content: "\f107";
    position: absolute;
    font-family: "Ecicons";
    top: 0;
    right: 0;
    padding: 0 10px;
    cursor: pointer;
    pointer-events: none;
    font-size: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 34px;
    line-height: 1;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: var(--text-light) !important;
}
.mid-header {
    width: 280px !important;
}
.mid-header::before {
    content: "\f009";
    position: absolute;
    font-family: "Ecicons";
    top: 10px;
    left: 0;
    padding: 0 10px;
    cursor: pointer;
    pointer-events: none;
    font-size: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 34px;
    line-height: 1;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: var(--text-light) !important;
}
.mid-header select {
    margin-left: 30px !important;
}
.mid-bn {
    background-color: var(--bg-light) !important;
}
.related-product-sec-title {
    font-size: 24px;
    border-left: 5px solid var(--primary-color);
    padding-left: 5px;
}

.footer-email {
    background-color: var(--bg-secondary);
    border-radius: 30px !important;
}
.continue a:hover {
    color: var(--text-light) !important;
}
@media only screen and (min-width: 575px) and (max-width: 991px) {
    .mobile-logo {
        display: none !important;
    }
}

@media only screen and (max-width: 781px) {
    .tab-logo {
        display: none;
    }
    .ec-gl-btn p {
        font-size: 12px !important;
    }
    .sort-by {
        font-size: 11px;
    }
    #ec-select {
        font-size: 12px !important;
    }
    .cart-heading {
        margin-top: 10px !important;
        text-align: center;
        margin-bottom: 10px !important;
    }
    .hr {
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }
    .ec-cart-rightside {
        margin-top: 0 !important;
    }
}
.eci-facebook,
.eci-linkedin {
    color: var(--text-light);
    background-color: #0072b1;
    border: 1px solid;
}
.eci-facebook:hover,
.eci-linkedin:hover {
    transition: 0.7s;
    color: #0072b1;
    background-color: var(--bg-secondary);
    border: 1px solid;
}
.eci-twitter {
    color: blue;
    background-color: var(--bg-secondary);
    border: 1px solid;
}
.eci-twitter:hover {
    transition: 0.9s;
    color: var(--text-light);
    background-color: blue;
}
.eci-instagram {
    color: #e1306c;
    background-color: var(--bg-secondary);
    border: 1px solid;
}
.eci-instagram:hover {
    transition: 0.7s;
    color: var(--text-light);
    background-color: #e1306c;
}
.ec-footer .footer-top .ec-footer-widget .ec-footer-heading {
    color: var(--text-dark) !important;
}
.ec-footer .footer-top .ec-footer-widget .ec-footer-links .ec-footer-link a {
    color: var(--text-secondary) !important;
}
/* Modern Shops Page Design */
.modern-shops-container {
    background: var(--bg-light);
    min-height: 100vh;
    padding: 2rem 0;
}

.modern-filter-sidebar {
    background: var(--bg-light);
    /* border-radius: 20px; */
    box-shadow: 0 10px 40px var(--shadow-light);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.filter-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.clear-filters-btn {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.7rem;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 1;
    visibility: visible;
}

.clear-filters-btn.hidden {
    opacity: 0;
    visibility: hidden;
}

.clear-filters-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-primary);
    color: var(--text-light) !important;
}

.filter-section {
    margin-bottom: 2rem;
}

.filter-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-section-title i {
    color: var(--primary-color);
}

/* Price Range Styling */
.price-range-container {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.price-range-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.price-slider {
    margin: 1rem 0;
}

.price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    font-weight: 600;
    color: var(--primary-color);
}

/* Category Filter Styling */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 0.5rem;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-light);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-link:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.category-link.active {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-badge {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Rating Filter Styling */
.rating-container {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 1.5rem;
}

/* Improved custom checkbox for rating filter */
.rating-option {
    position: relative;
    cursor: pointer;
    user-select: none;
    transition: box-shadow 0.2s, background 0.2s;
    box-shadow: 0 1px 4px var(--shadow-primary);
}

.rating-option input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    z-index: 2;
}

.rating-checkmark {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    background: var(--bg-secondary);
    margin-right: 1rem;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
    vertical-align: middle;
}

.rating-option input[type="checkbox"]:checked ~ .rating-checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.rating-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.rating-option input[type="checkbox"]:checked ~ .rating-checkmark:after {
    display: block;
}

.rating-option .rating-checkmark:after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    border-radius: 1px;
    transform: rotate(45deg);
    content: "";
}

.rating-option:hover,
.rating-option input[type="checkbox"]:focus ~ .rating-checkmark {
    background: var(--bg-light);
    box-shadow: 0 2px 8px var(--shadow-primary);
}

.rating-option input[type="checkbox"] {
    margin-right: 1rem;
    transform: scale(1.2);
}

.rating-stars {
    color: var(--rating-color);
    margin-right: 1rem;
}

.rating-text {
    font-weight: 600;
    color: var(--text-dark);
}

/* Main Content Area */
.modern-content-area {
    background: var(--bg-light);
    /* border-radius: 20px; */
    box-shadow: 0 10px 40px var(--shadow-light);
    padding: 2rem;
    border: 1px solid var(--border-light);
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.search-results {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.search-term {
    color: var(--primary-color);
    font-weight: 800;
}

.sort-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort-label {
    font-weight: 600;
    color: var(--text-dark);
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--shadow-primary);
}

/* Shop Cards Section */
.shop-section {
    margin-bottom: 3rem;
}

.shop-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.shop-card-container {
    background: var(--bg-secondary);
    border-radius: 20px;
    box-shadow: 0 8px 30px var(--shadow-light);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.shop-card-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px var(--shadow-medium);
}

/* View More Button */
.view-more-container {
    text-align: center;
    margin: 3rem 0;
}

.view-more-btn {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px var(--shadow-primary);
}

.view-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow-primary);
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-shops-container {
        padding: 1rem 0;
    }

    .modern-filter-sidebar {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .modern-content-area {
        padding: 1.5rem;
    }

    .content-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .sort-container {
        width: 100%;
        justify-content: space-between;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.modern-filter-sidebar,
.modern-content-area {
    animation: fadeInUp 0.6s ease-out;
}

.checkout-hero {
    background: var(--accent-color);
    color: var(--text-light);
    /* border-radius: var(--border-radius); */
    box-shadow: var(--shadow);
    padding: 2rem 2.5rem 1.5rem 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.checkout-hero::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -40px;
    width: 180px;
    height: 180px;
    background: var(--accent);
    opacity: 0.12;
    border-radius: 50%;
    z-index: 0;
}

.checkout-hero h2,
.checkout-hero p,
.checkout-hero-steps {
    position: relative;
    z-index: 1;
}
.btn-burgundy {
    background-color: var(--burgundy) !important;
    color: var(--text-light) !important;
    border-color: var(--burgundy) !important;
}
.btn-burgundy:hover {
    background-color: var(--burgundy-hover) !important;
    border-color: var(--burgundy-hover) !important;
    color: var(--text-light) !important;
}
