/* AEM Labs - Seller Shop CSS */
/* ========================== */


/* --- Seller Hero + Category Selection Start --- */
.seller-hero-container {
    padding: 0;
    width: 100%;
    background-color: #f8f8f8;
}

.seller-hero-section {
    max-width: min(85%, var(--section-max-width));
    width: 100%;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
    margin-bottom: 30px;
}

.seller-hero-banner {
    position: relative;
    height: 15vh;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.seller-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.seller-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.seller-profile-section {
    position: relative;
    padding: 0 40px 25px 40px;
    margin-top: -60px;
    z-index: 2;
}

.seller-profile-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    min-height: 140px;
}

.seller-profile-left {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex: 1;
    min-width: 0;
}

.seller-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background: white;
}

.seller-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    overflow: hidden;
}

.verified-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.verified-badge i {
    color: rgb(39, 174, 96);
    box-shadow: 0 0 12px rgba(0, 184, 148, 0.5);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 600;
}

.seller-info {
    margin-top: 5.5%;
    flex: 1;
    min-width: 0;
    padding-right: 20px;
}

.seller-profile-section .seller-name {
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.seller-info h1 {
    color: black;
    font-size: 24px;
    font-weight: 700;
}

.seller-id-badge {
    font-size: 11px;
    font-weight: 500;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.seller-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.seller-rating {
    display: flex;
    align-items: center;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #ffa500;
    font-size: 13px;
}

.rating-text {
    color: #666;
    font-size: 11px;
    font-weight: 500;
}

.seller-details {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 11px;
    font-weight: 500;
}

.seller-details span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.seller-details i {
    font-size: 11px;
    color: #999;
}

.seller-profile-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
    margin-top: 2.8%;
    min-width: 320px;
}

.seller-actions {
    display: flex;
    gap: 16px;
    width: 100%;
    justify-content: flex-end;
}

.btn {
    padding: 8px 10px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    min-width: 120px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #d64545);
    color: white;
    box-shadow: 0 4px 12px rgba(167, 28, 28, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(167, 28, 28, 0.4);
}

.btn-outline {
    background: white;
    color: #666;
    border: 2px solid #e0e0e0;
}

.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.seller-stats {
    display: flex;
    gap: 40px;
    text-align: center;
    width: 100%;
    justify-content: flex-end;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.stat-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-selection {
    padding: 0;
}

.category-selection-container {
    max-width: min(80%, var(--section-max-width));
    margin: 0 auto;
}

.tabs-nav {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid #e9ecef;
    padding: 0;
    border-radius: 12px;
    overflow-x: auto;
    display: flex;
    gap: 0;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid transparent;
    text-decoration: none !important;
    flex: 1;
    justify-content: center;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(167, 28, 28, 0.1), transparent);
    transition: left 0.5s ease;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn:hover {
    color: var(--accent-color);
    background-color: rgba(167, 28, 28, 0.05);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent-color), #d64545);
    color: white;
    box-shadow: 0 4px 12px rgba(167, 28, 28, 0.8);
    border-bottom-color: var(--accent-color);
}

.tab-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(167, 28, 28, 0.4);
}

.tab-btn i {
    font-size: 13px;
    color: inherit;
}

.tabs-nav::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
    z-index: 1;
    display: none;
}

@media (max-width: 1400px) {
    .seller-hero-banner {
        height: 13vh;
    }

    .seller-profile-section {
        padding: 0 30px 15px 30px;
    }

    .seller-avatar {
        width: 80px;
        height: 80px;
        margin-top: 3%;
    }

    .verified-badge {
        width: 20px;
        height: 20px;
        right: -4px;
    }

    .verified-badge i {
        font-size: 18px;
    }

    .seller-info {
        margin-top: 9.5%;
    }

    .seller-profile-section .seller-name {
        margin: 0 0 6px 0;
    }

    .seller-id-badge {
        font-size: 10px;
        padding: 2px 8px;
    }

    .stars,
    .rating-text {
        font-size: 12px;
    }

    .seller-profile-right {
        margin-top: 4%;
        gap: 12px;
    }

    .btn {
        padding: 6px 16px;
        font-size: 12px;
        min-width: fit-content;
        border-radius: 12px;
    }

    .seller-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 15px;
    }

    .stat-label {
        font-size: 10px;
    }

    .tab-btn {
        padding: 10px 12px;
        font-size: 12px;
    }
}

@media (max-width: 992px) {
    .seller-profile-section {
        padding: 0 20px 15px 20px;
    }

    .seller-hero-banner {
        height: 7vh;
    }

    .seller-avatar {
        width: 70px;
        height: 70px;
        margin-top: 6%;
    }

    .verified-badge {
        width: 18px;
        height: 18px;
        bottom: -3px;
        right: -3px;
    }

    .seller-info {
        margin-top: 15%;
    }

    .seller-info h1 {
        font-size: 20px;
    }

    .seller-profile-section .seller-name {
        margin: 0 0 4px 0;
    }

    .seller-id-badge {
        font-size: 10px;
        padding: 2px 8px;
    }

    .stars,
    .rating-text {
        font-size: 11px;
    }

    .seller-details {
        font-size: 11px;
        gap: 10px;
    }

    .seller-profile-right {
        min-width: fit-content;
        margin-top: 6.5%;
        gap: 16px;
    }

    .tab-btn {
        padding: 8px 10px;
        font-size: 12px;
        gap: 10px;
    }

    .tab-btn i {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .seller-hero-section {
        margin: 10px auto 20px;
        max-width: min(90%, var(--section-max-width))
    }

    .seller-avatar {
        width: 64px;
        height: 64px;
        margin-top: 8%;
    }

    .verified-badge {
        width: 16px;
        height: 16px;
        bottom: -2px;
        right: -2px;
    }

    .seller-info {
        margin-top: 15%;
    }

    .btn {
        padding: 6px 14px;
        font-size: 11px;
        border-radius: 10px;
    }

    .seller-profile-right {
        margin-top: 7%;
    }

    .stat-number {
        font-size: 14px;
    }

    .stat-label {
        font-size: 9px;
    }

    .category-selection-container {
        max-width: min(90%, var(--section-max-width));
    }

    .tabs-nav {
        border-radius: 12px;
    }

    .tab-btn {
        padding: 8px 10px;
        font-size: 11px;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .seller-hero-section,
    .category-selection-container {
        max-width: min(95%, var(--section-max-width));
    }

    .seller-profile-section {
        padding: 0 20px 20px 20px;
    }

    .seller-profile-container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .seller-hero-banner {
        height: 12vh;
    }

    .seller-profile-left {
        gap: 12px;
        flex-direction: column;
        align-items: center;
        display: flex;
        width: 100%;
    }

    .seller-info {
        margin-top: -3%;
        padding: 0;
        width: 100%;
    }

    .seller-avatar {
        width: 64px;
        height: 64px;
        border: 2px solid #fff;
        margin-top: 5%;
    }

    .verified-badge {
        width: 10px;
        height: 10px;
        bottom: 2px;
        right: 2px;
    }

    .verified-badge i {
        font-size: 16px;
    }

    .seller-info h1 {
        font-size: 20px;
    }

    .seller-id-badge {
        font-size: 8px;
        padding: 2px 8px;
    }

    .seller-meta {
        gap: 10px;
        flex-direction: row;
        justify-content: space-between;
    }

    .stars,
    .rating-text,
    .member-since,
    .location {
        font-size: 9px;
    }

    .seller-details i {
        font-size: 10px;
    }

    .seller-details {
        font-size: 10px;
        gap: 10px;
    }

    .seller-details span {
        gap: 4px;
    }

    .seller-profile-right {
        margin-top: 0;
        flex-direction: row;
        align-items: center;
    }

    .seller-stats {
        order: -1;
    }

    .btn {
        padding: 2px 10px;
        font-size: 9px;
        border-radius: 8px;
    }

    .btn i {
        font-size: 9px;
    }

    .stat-number {
        font-size: 10px;
    }

    .stat-label {
        font-size: 7px;
    }

    .seller-stats {
        gap: 10px;
    }

    .seller-actions {
        gap: 8px;
    }

    .tabs-nav {
        border-radius: 10px;
    }

    .tab-btn {
        padding: 8px;
        font-size: 10px;
        gap: 6px;
    }

    .tab-btn i {
        font-size: 9px;
    }
}

/* --- Seller Hero + Category Selection End --- */


/* --- Seller Shop Listings Section Start --- */
.product-listing-section {
    background-color: #f8f9fa;
    padding: 30px 0;
}

.listing-container {
    max-width: min(90%, var(--section-max-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Sidebar Filters */
.filters-sidebar {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 15px 20px;
    border-bottom: 1px solid #e9ecef;
}

.filters-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

.clear-all-filters {
    background: none;
    border: none;
    color: var(--accent-color, #6907c5);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.filter-group {
    border-bottom: 1px solid #f0f0f0;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.filter-header:hover {
    background-color: #f8f9fa;
}

.filter-header h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.toggle-icon {
    font-size: 12px;
    color: #666;
    transition: transform 0.3s ease;
}

.filter-header.active .toggle-icon {
    transform: rotate(180deg);
}

.filter-content {
    padding: 0 20px 20px 20px;
    display: none;
}

.filter-content.active {
    display: block;
}

.filter-checkbox {
    display: block;
    position: relative;
    padding: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: color 0.2s ease;
    line-height: 18px;
}

.filter-checkbox:hover {
    color: #333;
}

.filter-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 8px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.filter-checkbox {
    padding-left: 34px;
}

.filter-checkbox:hover .checkmark {
    border-color: #bbb;
}

.filter-checkbox input:checked~.checkmark {
    background-color: var(--accent-color, #6907c5);
    border-color: var(--accent-color, #6907c5);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 4px;
    top: 0;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox input:checked~.checkmark:after {
    display: block;
}

.range-slider {
    padding: 10px 0;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    transition: background 0.2s ease;
}

.slider:hover {
    background: #ccc;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-color, #6907c5);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-color, #6907c5);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: #666;
}

/* Product Grid*/
.products-main {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #e9ecef;
}

.results-count {
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-controls label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

#sort-select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: white;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

#sort-select:focus {
    outline: none;
    border-color: var(--accent-color, #6907c5);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 25px 30px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #e0e0e0;
}

.product-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-condition-badge {
    position: absolute;
    top: 10px;
    left: 10px;
}

.condition-tag {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-details {
    padding: 16px;
    position: relative;
}

.product-title-link {
    text-decoration: none;
    color: inherit;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin: 0 0 10px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-color, #6907c5);
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}

.seller-name {
    color: #666;
    font-weight: 500;
}

.seller-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ff9500;
}

.seller-rating span {
    color: #666;
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
}

.wishlist-btn.active i {
    color: var(--accent-color);
}

.wishlist-btn:hover {
    transform: scale(1.1);
    background-color: white;
}

.wishlist-btn i {
    color: #666;
    font-size: 14px;
}

.wishlist-btn:hover i {
    color: var(--accent-color, #6907c5);
}

.card-dropdown {
    position: absolute;
    top: 45px;
    right: 50px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 140px;
    z-index: 5;
    display: none;
}

.dropdown-option {
    display: block;
    padding: 8px 16px;
    color: #333;
    font-size: 13px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.dropdown-option:hover {
    background-color: #f8f9fa;
}

.add-to-cart-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: linear-gradient(270deg, #a71c1c, #6907c5, #a71c1c, #6907c5);
    background-size: 300% 100%;
    background-position: 0% 0%;
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    width: 34px;
    height: 34px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease, background-position 0.6s ease;
}

.add-to-cart-btn:hover {
    background-position: 100% 0%;
    transform: scale(1.1);
}

.load-more-section {
    text-align: center;
    padding: 30px;
    border-top: 1px solid #e9ecef;
}

.load-more-btn {
    background: var(--accent-color, #6907c5);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.load-more-btn:hover {
    background: #5506a1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(105, 7, 197, 0.3);
}

.listing-counter {
    font-size: 14px;
    color: #666;
}

.listing-counter strong {
    color: #333;
}

/* No Products Message */
.no-products-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    grid-column: 1 / -1;
    /* Span full width of grid */
    background: rgba(var(--accent-color-rgb), 0.1);
    border-radius: 20px;
    border: 2px dashed var(--accent-color);
}

.no-products-message i {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.no-products-message h3 {
    color: black;
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 600;
}

.no-products-message p {
    color: black;
    font-size: 14px;
    max-width: 400px;
}

@media (max-width: 1400px) {
    .listing-container {
        max-width: min(95%, var(--section-max-width));
        grid-template-columns: 250px 1fr;
        gap: 25px;
    }

    .filters-header {
        padding: 16px 18px;
    }

    .filters-header h3 {
        font-size: 16px;
    }

    .filter-header {
        padding: 14px 18px;
    }

    .filter-header h4 {
        font-size: 13px;
    }

    .filter-content {
        padding: 0 18px 6px 18px;
    }

    .filter-checkbox {
        font-size: 12px;
        padding-left: 22px;
    }

    .checkmark {
        width: 16px;
        height: 16px;
    }

    .checkmark:after {
        width: 2px;
        height: 6px;
        top: 1px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
        padding: 20px 25px;
    }

    #sort-select option {
        font-size: 10px;
    }

    .product-image {
        height: 150px;
    }

    .product-title {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .current-price {
        font-size: 16px;
    }

    .original-price {
        font-size: 12px;
    }

    .seller-name {
        font-size: 12px;
    }

    .no-products-message i {
        font-size: 40px;
    }

    .no-products-message h3 {
        font-size: 20px;
    }

    .no-products-message p {
        font-size: 13px;
    }
}

@media (max-width: 992px) {
    .listing-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .filters-sidebar {
        position: static;
        order: 2;
    }

    .products-main {
        order: 1;
    }
}

@media (max-width: 768px) {
    .product-listing-section {
        padding: 20px 0 40px;
    }
    
    .product-image {
        height: 125px;
    }

    .add-to-cart-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .product-listing-section {
        padding: 20px 0;
    }

    .results-count {
        font-size: 10px;
    }

    .sort-controls label {
        font-size: 10px;
    }

    #sort-select {
        font-size: 10px;
        border-radius: 10px;
        padding: 4px 6px;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 10px 15px;
    }

    .product-image {
        height: 110px;
    }

    .product-details {
        padding: 10px;
    }

    .product-title {
        font-size: 11px;
    }

    .current-price {
        font-size: 13px;
    }

    .original-price {
        font-size: 10px;
    }

    .add-to-cart-btn,
    .wishlist-btn {
        width: 26px;
        height: 26px;
        font-size: 10px;
        bottom: 8px;
        right: 8px;
    }

    .wishlist-btn i {
        font-size: 12px;
    }

    .load-more-section {
        padding: 16px;
    }

    .listing-counter {
        font-size: 12px;
    }

    .load-more-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .no-products-message {
        padding: 20px;
        margin: 12px auto;
    }

    .no-products-message i {
        font-size: 32px;
    }

    .no-products-message h3 {
        font-size: 16px;
    }

    .no-products-message p {
        font-size: 11px;
    }
}

/* --- Seller Shop Listings Section End --- */


/* --- Seller Shop Reviews Section Start --- */
.reviews-section {
    background-color: #f8f9fa;
    padding: 30px 0;
}

.reviews-container {
    max-width: min(90%, var(--section-max-width));
    margin: 0 auto;
}

@keyframes fillBar {
    from {
        width: 0%;
    }

    to {
        width: var(--target-width);
    }
}

/* Reviews Overview */
.reviews-overview {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.reviews-summary {
    display: flex;
    gap: 35px;
    align-items: flex-start;
}

.overall-rating {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    width: 100%;
}

.rating-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 120px;
}

.rating-number {
    font-size: 34px;
    font-weight: 800;
    color: #222;
    line-height: 1;
}

.rating-stars-large {
    display: flex;
    gap: 4px;
}

.rating-stars-large i {
    color: #ffa500;
    font-size: 16px;
}

.rating-breakdown {
    flex: 1;
}

.total-reviews {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    font-weight: 500;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.star-label {
    font-weight: 600;
    color: #333;
    min-width: 12px;
}

.star-icon {
    color: #ffa500;
    font-size: 12px;
}

.bar-container {
    flex: 1;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    border-radius: 3px;
    transition: width 1s ease-out;
    width: 0%;
}

.percentage {
    color: #666;
    font-weight: 500;
    min-width: 35px;
    text-align: right;
}

/* Review Filters */
.reviews-filters {
    display: flex;
    gap: 25px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.filter-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-section label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.review-select {
    padding: 6px 10px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
}

.review-select:focus {
    outline: none;
    border-color: var(--accent-color, #6907c5);
    box-shadow: 0 0 0 3px rgba(105, 7, 197, 0.1);
}

.review-select:hover {
    border-color: #ccc;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #e0e0e0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.reviewer-info {
    display: flex;
    gap: 16px;
    align-items: center;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #f0f0f0;
    flex-shrink: 0;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.reviewer-name {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin: 0;
    line-height: 1.3;
    text-transform: capitalize;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-rating {
    display: flex;
    gap: 2px;
}

.review-rating i {
    color: #ffa500;
    font-size: 12px;
}

.review-rating .far {
    color: #ddd;
}

.review-date {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.verified-purchase {
    font-size: 11px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verified-purchase i {
    color: #008000;
    box-shadow: 0 0 4px #008000;
    border-radius: 50%;
    font-size: 12px;
}

.review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    font-weight: 400;
}

.review-images {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.review-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-image:hover {
    transform: scale(1.05);
    border-color: var(--accent-color, #6907c5);
}

.review-helpful {
    display: flex;
    gap: 20px;
}

.helpful-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.helpful-btn:hover {
    background: #f8f9fa;
    color: var(--accent-color, #6907c5);
}

.helpful-btn.active {
    background: rgba(105, 7, 197, 0.1);
    color: var(--accent-color, #6907c5);
}

.helpful-btn.active i {
    color: var(--accent-color, #6907c5);
}

.seller-response {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    position: relative;
}

.response-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.response-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color, #6907c5) 0%, #8b5cf6 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.response-text {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    font-weight: 500;
}

/* No Reviews Message */
.no-reviews-message {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    color: black;
}

.no-reviews-message i {
    color: #ffa500;
}

.no-reviews-message h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 10px 0 10px;
}

.no-reviews-message p {
    font-size: 14px;
    margin: 0;
    color: #666;
}

/* Load More Reviews */
.load-more-reviews {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    background: white;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.load-more-btn:hover {
    border-color: var(--accent-color, #6907c5);
    color: var(--accent-color, #6907c5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(105, 7, 197, 0.15);
}

@media (max-width: 1400px) {
    .reviews-overview {
        padding: 30px;
    }

    .overall-rating {
        gap: 30px;
    }

    .filter-section label,
    .review-select,
    .review-select option {
        font-size: 13px;
    }
}

@media (max-width: 992px) {
    .reviews-overview {
        padding: 24px 20px;
    }

    .overall-rating {
        gap: 20px;
    }

    .rating-number {
        font-size: 28px;
    }

    .rating-stars-large i {
        font-size: 14px;
    }

    .total-reviews {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .rating-bar {
        font-size: 12px;
    }

    .filter-section label,
    .review-select {
        font-size: 12px;
        min-width: fit-content;
    }
}

@media (max-width: 480px) {
    .reviews-overview {
        padding: 18px;
    }

    .overall-rating {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .rating-number {
        font-size: 20px;
    }

    .rating-stars-large i {
        font-size: 12px;
    }

    .total-reviews {
        font-size: 11px;
    }

    .rating-breakdown,
    .rating-display {
        width: 100%;
    }

    .rating-display {
        flex-direction: column;
    }

    .rating-bar {
        font-size: 10px;
    }

    .reviews-filters {
        gap: 12px;
    }

    .filter-section label,
    .review-select {
        font-size: 10px;
    }

    .filter-section {
        gap: 4px;
    }

    .review-card {
        padding: 12px;
    }

    .reviewer-info {
        width: 100%;
    }

    .reviewer-avatar {
        width: 32px;
        height: 32px;
    }

    .review-header {
        flex-direction: column;
        gap: 12px;
    }

    .reviewer-name {
        font-size: 12px;
    }

    .review-date,
    .review-rating i,
    .verified-purchase,
    .verified-purchase i {
        font-size: 10px;
    }

    .helpful-btn {
        font-size: 10px;
        padding: 4px 10px;
        gap: 4px;
        background: #f8f9fa;
        border: 1px solid #e9ecef;
    }

    .review-image {
        width: 60px;
        height: 60px;
    }

    .seller-response {
        padding: 12px;
    }

    .response-badge {
        font-size: 8px;
        padding: 2px 6px;
    }

    .review-text,
    .response-text {
        font-size: 11px;
        font-weight: 500;
    }

    .review-images {
        gap: 8px;
    }

    .review-helpful {
        justify-content: flex-start;
        width: 100%;
    }
}

/* --- Seller Shop Reviews Section End --- */