/* ========================================
   ShopEasy - Walmart Style Design
   Blue: #0071DC | Yellow: #FFC220
   ======================================== */

/* Walmart Brand Colors */
:root {
    --walmart-blue: #0071DC;
    --walmart-yellow: #FFC220;
    --walmart-dark-blue: #0056a3;
    --walmart-light-gray: #f5f5f5;
    --walmart-border: #dcdcdc;
    --walmart-text-dark: #212121;
    --walmart-text-gray: #757575;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'BlinkMacSystemFont', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
    color: var(--walmart-text-dark);
    background-color: white;
}

/* ========================================
   Utility Bar
   ======================================== */

.utility-bar {
    background-color: var(--walmart-light-gray);
    border-bottom: 1px solid var(--walmart-border);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.utility-links {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.utility-links a {
    color: var(--walmart-text-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.utility-links a:hover {
    color: var(--walmart-blue);
}

.utility-links i {
    margin-right: 0.25rem;
}

/* ========================================
   Main Header
   ======================================== */

.main-header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
    border-bottom: 3px solid var(--walmart-blue);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand-logo {
    text-decoration: none;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--walmart-blue);
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 600px;
}

.search-container {
    display: flex;
    border: 2px solid var(--walmart-blue);
    border-radius: 4px;
    overflow: hidden;
}

.search-input {
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    outline: none;
}

.search-input::placeholder {
    color: var(--walmart-text-gray);
}

.search-input:focus {
    box-shadow: none;
}

.search-btn {
    background-color: var(--walmart-yellow);
    border: none;
    padding: 0 1.5rem;
    color: var(--walmart-text-dark);
    font-size: 1.125rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-btn:hover {
    background-color: #e5ae1d;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.account-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--walmart-text-dark);
    transition: color 0.2s ease;
}

.account-link:hover {
    color: var(--walmart-blue);
}

.account-link i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.account-link span {
    font-size: 0.875rem;
}

.cart-wrapper {
    position: relative;
}

.cart-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--walmart-text-dark);
    cursor: pointer;
    transition: color 0.2s ease;
}

.cart-link:hover {
    color: var(--walmart-blue);
}

.cart-link i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: 5px;
    background-color: var(--walmart-yellow);
    color: var(--walmart-text-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50%;
}

/* ========================================
   Cart Dropdown
   ======================================== */

.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 380px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    display: none;
    animation: fadeIn 0.2s ease-in-out;
    border: 1px solid var(--walmart-border);
}

.cart-wrapper:hover .cart-dropdown {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--walmart-border);
    background-color: var(--walmart-light-gray);
}

.cart-header h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.cart-items {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--walmart-border);
}

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

.cart-item-info h6 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--walmart-text-dark);
}

.cart-item-info p {
    font-size: 0.9rem;
    color: var(--walmart-text-dark);
    font-weight: 600;
    margin: 0;
}

.cart-item-quantity {
    width: 70px;
}

.cart-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--walmart-border);
    background-color: var(--walmart-light-gray);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.cart-total .total-price {
    color: var(--walmart-text-dark);
    font-size: 1.25rem;
}

.btn-cart-checkout {
    background-color: var(--walmart-yellow);
    color: var(--walmart-text-dark);
    font-weight: 700;
    border: none;
    padding: 0.75rem;
    border-radius: 4px;
}

.btn-cart-checkout:hover {
    background-color: #e5ae1d;
    color: var(--walmart-text-dark);
}

/* ========================================
   Department Navigation
   ======================================== */

.department-nav {
    background-color: white;
    border-bottom: 1px solid var(--walmart-border);
}

.nav-container {
    position: relative;
}

.dept-toggle {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background-color: var(--walmart-light-gray);
    color: var(--walmart-text-dark);
    border: 1px solid var(--walmart-border);
    padding: 0.45rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dept-toggle:hover {
    background-color: #e8e8e8;
    border-color: #c0c0c0;
}

.dept-toggle .fas {
    font-size: 0.8rem;
}

.dept-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    background-color: #fafafa;
    border: 1px solid var(--walmart-border);
    border-top: none;
    padding: 0.6rem;
    border-radius: 0 0 4px 4px;
    margin-top: 2px;
}

.dept-menu li a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    color: var(--walmart-text-dark);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 400;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.dept-menu li a:hover {
    background-color: var(--walmart-blue);
    color: white;
}

.dept-menu i {
    color: var(--walmart-blue);
    font-size: 0.8rem;
}

.dept-menu li a:hover i {
    color: white;
}

/* ========================================
   Hero Banner
   ======================================== */

.hero-section {
    margin-bottom: 3rem;
}

.hero-banner {
    height: 350px;
    background: linear-gradient(135deg, var(--walmart-blue) 0%, var(--walmart-dark-blue) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 194, 32, 0.2) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.btn-hero {
    background-color: var(--walmart-yellow);
    color: var(--walmart-text-dark);
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.btn-hero:hover {
    background-color: #e5ae1d;
    color: var(--walmart-text-dark);
}

/* ========================================
   Section Header
   ======================================== */

.section-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--walmart-border);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.section-title i {
    font-size: 1.5rem;
    color: var(--walmart-blue);
}

.section-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--walmart-text-dark);
}

.section-title a {
    color: var(--walmart-blue);
    text-decoration: none;
    font-size: 1rem;
}

.section-title span {
    color: var(--walmart-text-gray);
    font-size: 1rem;
}

/* ========================================
   Product Grid - Flexbox Layout
   ======================================== */

.category-section {
    margin-bottom: 3rem;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.product-card {
    flex: 0 0 calc(25% - 1.125rem);
    max-width: calc(25% - 1.125rem);
    background: white;
    border: 1px solid var(--walmart-border);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.product-image-link {
    display: block;
    text-decoration: none;
}

.product-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: #fafafa;
    overflow: hidden;
}

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

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

.product-info {
    padding: 1rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.product-rating i {
    color: var(--walmart-yellow);
}

.product-rating span {
    color: var(--walmart-text-gray);
    margin-left: 0.25rem;
}

.product-name {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--walmart-text-dark);
    text-decoration: none;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-name:hover {
    color: var(--walmart-blue);
    text-decoration: underline;
}

.product-desc {
    font-size: 0.875rem;
    color: var(--walmart-text-gray);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--walmart-text-dark);
}

.original-price {
    font-size: 1rem;
    color: var(--walmart-text-gray);
    text-decoration: line-through;
}

.rollback-badge {
    background-color: var(--walmart-yellow);
    color: var(--walmart-text-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.125rem 0.5rem;
    border-radius: 2px;
}

.btn-add-cart {
    width: 100%;
    background-color: var(--walmart-blue);
    color: white;
    border: none;
    padding: 0.625rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.btn-add-cart:hover {
    background-color: var(--walmart-dark-blue);
    color: white;
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
    background-color: var(--walmart-light-gray);
    border-top: 4px solid var(--walmart-blue);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-top {
    margin-bottom: 2rem;
}

.footer-top h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--walmart-text-dark);
}

.footer-top ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-top li {
    margin-bottom: 0.5rem;
}

.footer-top a {
    color: var(--walmart-text-gray);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-top a:hover {
    color: var(--walmart-blue);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--walmart-blue);
    color: white;
    border-radius: 4px;
    font-size: 1.25rem;
    transition: background-color 0.2s ease;
}

.social-links a:hover {
    background-color: var(--walmart-dark-blue);
}

.newsletter-text {
    color: var(--walmart-text-gray);
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--walmart-border);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--walmart-text-gray);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--walmart-blue);
}

.copyright {
    color: var(--walmart-text-gray);
    font-size: 0.875rem;
    margin: 0;
}

/* ========================================
   Breadcrumb
   ======================================== */

.breadcrumb {
    background: transparent;
    padding: 0.75rem 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: var(--walmart-blue);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--walmart-text-gray);
}

.breadcrumb-item.active {
    color: var(--walmart-text-gray);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1200px) {
    .product-card {
        flex: 0 0 calc(33.333% - 1rem);
        max-width: calc(33.333% - 1rem);
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-wrap: wrap;
    }

    .search-bar {
        order: 3;
        max-width: 100%;
        width: 100%;
    }

    .product-card {
        flex: 0 0 calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .cart-dropdown {
        width: 350px;
    }

    .dept-menu {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .utility-bar {
        display: none;
    }

    .header-actions {
        gap: 1rem;
    }

    .product-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .product-grid {
        gap: 1rem;
    }

    .hero-banner {
        height: 280px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    /* Mobile: Cart dropdown changes to click/toggle behavior */
    .cart-dropdown {
        display: none;
        position: fixed;
        top: auto;
        bottom: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 8px 8px 0 0;
        animation: slideUp 0.2s ease-in-out;
    }

    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }

    .cart-dropdown.active {
        display: block;
    }

    .cart-wrapper {
        position: static;
    }

    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .btn-hero {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* ========================================
   Product Detail Page Styles
   ======================================== */

.product-detail-container {
    padding: 2rem 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.main-product-image {
    background: #fafafa;
    border: 1px solid var(--walmart-border);
    border-radius: 4px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.main-product-image img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnail-list {
    display: flex;
    gap: 0.5rem;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border: 2px solid var(--walmart-border);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.thumbnail-item.active {
    border-color: var(--walmart-blue);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-panel {
    padding: 1rem;
}

.product-detail-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--walmart-text-dark);
    line-height: 1.3;
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-detail-rating i {
    color: var(--walmart-yellow);
    font-size: 1.25rem;
}

.product-detail-rating .rating-count {
    color: var(--walmart-blue);
    text-decoration: none;
}

.product-detail-rating .rating-count:hover {
    text-decoration: underline;
}

.product-detail-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: var(--walmart-light-gray);
    border-radius: 4px;
}

.product-detail-price .current {
    font-size: 2rem;
    font-weight: 700;
    color: var(--walmart-text-dark);
}

.product-detail-price .original {
    font-size: 1.25rem;
    color: var(--walmart-text-gray);
    text-decoration: line-through;
}

.product-detail-price .badge {
    background: var(--walmart-yellow);
    color: var(--walmart-text-dark);
    padding: 0.25rem 0.75rem;
    font-weight: 700;
    border-radius: 2px;
}

.product-features-list {
    margin-bottom: 2rem;
}

.product-features-list h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--walmart-text-dark);
}

.product-features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--walmart-text-dark);
}

.product-features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--walmart-blue);
    font-weight: 700;
}

.product-specs-table {
    margin-bottom: 2rem;
}

.product-specs-table h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--walmart-text-dark);
}

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

.specs-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--walmart-border);
    font-size: 0.95rem;
}

.specs-table .spec-label {
    color: var(--walmart-text-gray);
    width: 120px;
    font-weight: 500;
}

.specs-table .spec-value {
    color: var(--walmart-text-dark);
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quantity-input {
    width: 100px;
    padding: 0.75rem;
    border: 2px solid var(--walmart-border);
    border-radius: 4px;
    font-size: 1rem;
    text-align: center;
}

.quantity-input:focus {
    outline: none;
    border-color: var(--walmart-blue);
}

.btn-add-cart-lg {
    flex: 1;
    background-color: var(--walmart-yellow);
    color: var(--walmart-text-dark);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 4px;
}

.btn-add-cart-lg:hover {
    background-color: #e5ae1d;
    color: var(--walmart-text-dark);
}

.btn-buy-now {
    flex: 1;
    background-color: var(--walmart-blue);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 4px;
}

.btn-buy-now:hover {
    background-color: var(--walmart-dark-blue);
    color: white;
}

.delivery-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--walmart-light-gray);
    border-radius: 4px;
}

.delivery-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--walmart-text-dark);
    font-size: 0.95rem;
}

.delivery-item i {
    color: var(--walmart-blue);
    width: 24px;
    text-align: center;
}

.product-description-section {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border: 1px solid var(--walmart-border);
    border-radius: 4px;
}

.product-description-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--walmart-text-dark);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--walmart-border);
}

.description-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--walmart-text-dark);
}

.description-content p {
    color: var(--walmart-text-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.description-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.description-images img {
    width: 100%;
    border-radius: 4px;
}

@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        position: static;
    }

    .description-images {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-detail-title {
        font-size: 1.5rem;
    }

    .product-detail-price .current {
        font-size: 1.5rem;
    }

    .product-detail-price .original {
        font-size: 1.125rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .thumbnail-list {
        justify-content: center;
    }
}

/* ========================================
   Product Reviews Styles
   ======================================== */

.reviews-summary {
    display: flex;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--walmart-border);
    margin-bottom: 2rem;
}

.reviews-rating-score {
    text-align: center;
}

.reviews-score-large {
    font-size: 3rem;
    font-weight: 700;
    color: var(--walmart-text-dark);
}

.reviews-stars-large {
    color: var(--walmart-yellow);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.reviews-total-count {
    color: var(--walmart-text-gray);
    margin: 0.5rem 0 0 0;
}

.reviews-breakdown {
    flex: 1;
}

.review-bar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.review-bar-label {
    width: 40px;
    font-size: 0.875rem;
    color: var(--walmart-text-gray);
}

.review-bar-container {
    flex: 1;
    height: 8px;
    background: var(--walmart-border);
    border-radius: 4px;
    overflow: hidden;
}

.review-bar-fill {
    height: 100%;
    background: var(--walmart-yellow);
}

.review-bar-fill[data-width="70"] {
    width: 70%;
}

.review-bar-fill[data-width="20"] {
    width: 20%;
}

.review-bar-fill[data-width="6"] {
    width: 6%;
}

.review-bar-fill[data-width="3"] {
    width: 3%;
}

.review-bar-fill[data-width="1"] {
    width: 1%;
}

.review-bar-count {
    width: 40px;
    text-align: right;
    font-size: 0.875rem;
    color: var(--walmart-text-gray);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    padding: 1.25rem;
    background: var(--walmart-light-gray);
    border-radius: 4px;
}

.review-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.review-author {
    font-weight: 600;
}

.review-date {
    color: var(--walmart-text-gray);
    font-size: 0.875rem;
}

.review-stars {
    color: var(--walmart-yellow);
    font-size: 0.875rem;
}

.review-text {
    color: var(--walmart-text-dark);
    line-height: 1.6;
    margin: 0;
}
