/* === ANIMATED BACKGROUND === */
@keyframes gentleWaves {
    0% {
        background-position: 0% 50%;
        background-size: 200% 200%;
    }
    25% {
        background-position: 50% 30%;
        background-size: 220% 220%;
    }
    50% {
        background-position: 100% 70%;
        background-size: 200% 200%;
    }
    75% {
        background-position: 50% 80%;
        background-size: 180% 180%;
    }
    100% {
        background-position: 0% 50%;
        background-size: 200% 200%;
    }
}

@keyframes softFlow {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

@keyframes floatingParticles {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(24px, -16px) scale(1.1);  /* 30px*0.8, -20px*0.8 */
        opacity: 0.5;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
}

/* === SHOP LAYOUT === */
.shop-container {
    display: grid;
    grid-template-columns: 256px 1fr;  /* 320px * 0.8 */
    gap: 32px;  /* 40px * 0.8 */
    max-width: 1120px;  /* 1400px * 0.8 */
    margin: 0 auto;
    padding: 24px 16px;  /* 30px*0.8, 20px*0.8 */
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .shop-container {
        grid-template-columns: 1fr;
        gap: 24px;  /* 30px * 0.8 */
    }
    
    .filters-sidebar {
        display: none;
    }
    
    .filters-sidebar.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(248, 249, 250, 0.98);
        z-index: 1000;
        padding: 24px 16px;  /* 30px*0.8, 20px*0.8 */
        overflow-y: auto;
        backdrop-filter: blur(10px);
    }
}

/* === SHOP HEADER WITH BACKGROUND IMAGE === */
.shop-header {
    margin-bottom: 32px;  /* 40px * 0.8 */
    padding: 48px 32px;  /* 60px*0.8, 40px*0.8 */
    border-bottom: 2px solid rgba(from var(--accent) r g b / 0.15);
    background-image: linear-gradient(rgba(44, 62, 80, 0.8), var(--accent)), url('../img/footopiahomepage.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;  /* 20px * 0.8 */
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 32px rgba(44, 62, 80, 0.15);  /* 20px*0.8, 40px*0.8 */
}

.shop-header h1 {
    font-size: 33.6px;  /* 42px * 0.8 */
    font-weight: 900;
    margin-bottom: 6.4px;  /* 8px * 0.8 */
    color: #FFFFFF;
    letter-spacing: -0.4px;  /* -0.5px * 0.8 */
    text-shadow: 0 3.2px 9.6px rgba(44, 62, 80, 0.3);  /* 4px*0.8, 12px*0.8 */
}

.shop-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 19.2px 0;  /* 24px * 0.8 */
    font-size: 12.8px;  /* 16px * 0.8 */
    font-weight: 500;
    line-height: 1.5;
    text-shadow: 0 1.6px 6.4px rgba(44, 62, 80, 0.3);  /* 2px*0.8, 8px*0.8 */
}

/* === SALE BANNER OVERLAY === */
.sale-badge {
    display: inline-block;
    background: var(--accent);
    color: #FFFFFF;
    padding: 6.4px 16px;  /* 8px*0.8, 20px*0.8 */
    border-radius: 24px;  /* 30px * 0.8 */
    font-weight: 800;
    font-size: 11.2px;  /* 14px * 0.8 */
    letter-spacing: 1.6px;  /* 2px * 0.8 */
    text-transform: uppercase;
    margin-bottom: 12px;  /* 15px * 0.8 */
    box-shadow: 0 3.2px 12px rgba(from var(--accent) r g b / 0.3);  /* 4px*0.8, 15px*0.8 */
}

.sale-percentage {
    font-size: 48px;  /* 60px * 0.8 */
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-right: 8px;  /* 10px * 0.8 */
    text-shadow: 0 3.2px 16px rgba(44, 62, 80, 0.4);  /* 4px*0.8, 20px*0.8 */
}

.shop-header-content {
    position: relative;
    z-index: 2;
}

/* === FILTERS SIDEBAR - WITH GLASS MORPHISM === */
.filters-sidebar {
    position: sticky;
    top: 24px;  /* 30px * 0.8 */
    height: fit-content;
}

.filter-section {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 12.8px;  /* 16px * 0.8 */
    padding: 19.2px;  /* 24px * 0.8 */
    margin-bottom: 19.2px;  /* 24px * 0.8 */
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6.4px 25.6px rgba(44, 62, 80, 0.05);  /* 8px*0.8, 32px*0.8 */
    transition: all 0.3s ease;
}

.filter-section:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 9.6px 32px rgba(from var(--accent) r g b /0.1);  /* 12px*0.8, 40px*0.8 */
    border: 1px solid rgba(52, 152, 219, 0.2);
    transform: translateY(-1.6px);  /* -2px * 0.8 */
}

.filter-title {
    font-size: 13.6px;  /* 17px * 0.8 */
    font-weight: 700;
    margin-bottom: 16px;  /* 20px * 0.8 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    padding-bottom: 9.6px;  /* 12px * 0.8 */
    border-bottom: 2px solid rgba(127, 140, 141, 0.1);
}

.clear-filters {
    font-size: 10.4px;  /* 13px * 0.8 */
    color: var(--muted);
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    padding: 4.8px 9.6px;  /* 6px*0.8, 12px*0.8 */
    border-radius: 6.4px;  /* 8px * 0.8 */
    background: var(--accent);
    transition: all 0.3s ease;
}

.clear-filters:hover {
    background: rgba(from var(--accent) r g b / 0.1);
    color: var(--text);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 9.6px;  /* 12px * 0.8 */
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 9.6px;  /* 12px * 0.8 */
    cursor: pointer;
    border-radius: 8px;  /* 10px * 0.8 */
    transition: all 0.3s ease;
}

.filter-option:hover {
    background: rgb(from var(--accent) r g b / 0.08);
    backdrop-filter: blur(5px);
}

.filter-option input[type="checkbox"] {
    width: 16px;  /* 20px * 0.8 */
    height: 16px;  /* 20px * 0.8 */
    accent-color: var(--accent);
    cursor: pointer;
}

.filter-option label {
    cursor: pointer;
    font-size: 11.2px;  /* 14px * 0.8 */
    color: var(--muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

.filter-option:hover label {
    color: var(--text);
}

.color-option {
    display: flex;
    align-items: center;
    gap: 9.6px;  /* 12px * 0.8 */
    cursor: pointer;
    padding: 8px 9.6px;  /* 10px*0.8, 12px*0.8 */
    border-radius: 8px;  /* 10px * 0.8 */
    transition: all 0.3s ease;
}

.color-option:hover {
    background: rgb(from var(--accent) r g b / 0.08);
}

.color-dot {
    width: 19.2px;  /* 24px * 0.8 */
    height: 19.2px;  /* 24px * 0.8 */
    border-radius: 50%;
    border: 2px solid rgba(44, 62, 80, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 1.6px 6.4px rgba(0, 0, 0, 0.05);  /* 2px*0.8, 8px*0.8 */
}

.color-dot:hover {
    transform: scale(1.1);
    box-shadow: 0 3.2px 9.6px rgba(52, 152, 219, 0.2);  /* 4px*0.8, 12px*0.8 */
}

.color-dot.isWhite {
    border: 2px solid rgba(127, 140, 141, 0.2);
    background: #F8F9FA;
}

/* Price Range */
.price-range {
    margin-top: 19.2px;  /* 24px * 0.8 */
    padding-top: 16px;  /* 20px * 0.8 */
    border-top: 1px solid rgba(44, 62, 80, 0.1);
}

.price-range-title {
    font-size: 12px;  /* 15px * 0.8 */
    font-weight: 600;
    margin-bottom: 12px;  /* 15px * 0.8 */
    color: var(--text);
}

.price-inputs {
    display: flex;
    gap: 9.6px;  /* 12px * 0.8 */
    margin-top: 9.6px;  /* 12px * 0.8 */
}

.price-input {
    flex: 1;
    padding: 9.6px 12.8px;  /* 12px*0.8, 16px*0.8 */
    border-radius: 8px;  /* 10px * 0.8 */
    border: 1px solid rgba(44, 62, 80, 0.15);
    background: rgba(248, 249, 250, 0.7);
    backdrop-filter: blur(5px);
    color: var(--text);
    font-size: 11.2px;  /* 14px * 0.8 */
    font-weight: 500;
    transition: all 0.3s ease;
}

.price-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 2.4px rgba(from var(--accent) r g b / 0.1);  /* 3px*0.8 */
}

.price-slider {
    width: 100%;
    height: 4.8px;  /* 6px * 0.8 */
    background: rgba(44, 62, 80, 0.1);
    border-radius: 2.4px;  /* 3px * 0.8 */
    margin-top: 19.2px;  /* 24px * 0.8 */
    position: relative;
}

.price-slider-fill {
    position: absolute;
    height: 100%;
    background: var(--accent);
    border-radius: 2.4px;  /* 3px * 0.8 */
}

.price-slider-handle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;  /* 20px * 0.8 */
    height: 16px;  /* 20px * 0.8 */
    background: #FFFFFF;
    border: 2px solid var(--accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1.6px 6.4px rgba(0, 0, 0, 0.1);  /* 2px*0.8, 8px*0.8 */
    transition: all 0.3s ease;
}

.price-slider-handle:hover {
    transform: translateY(-50%) scale(1.2);
    background: var(--accent);
    box-shadow: 0 3.2px 9.6px rgba(from var(--accent) r g b / 0.3);  /* 4px*0.8, 12px*0.8 */
}

.apply-price-btn {
    margin-top: 16px;  /* 20px * 0.8 */
    padding: 9.6px 19.2px;  /* 12px*0.8, 24px*0.8 */
    background: var(--text);
    color: white;
    border: none;
    border-radius: 8px;  /* 10px * 0.8 */
    font-size: 11.2px;  /* 14px * 0.8 */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.apply-price-btn:hover {
    background: var(--accent);
    transform: translateY(-1.6px);  /* -2px * 0.8 */
    box-shadow: 0 6.4px 16px rgba(52, 152, 219, 0.25);  /* 8px*0.8, 20px*0.8 */
}

/* === SHOP CONTROLS - WITH GLASS MORPHISM === */
.shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;  /* 40px * 0.8 */
    flex-wrap: wrap;
    gap: 16px;  /* 20px * 0.8 */
    padding: 16px 19.2px;  /* 20px*0.8, 24px*0.8 */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 12.8px;  /* 16px * 0.8 */
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6.4px 25.6px rgba(44, 62, 80, 0.05);  /* 8px*0.8, 32px*0.8 */
}

.results-count {
    color: var(--muted);
    font-size: 12px;  /* 15px * 0.8 */
    font-weight: 600;
}

.view-toggle {
    display: flex;
    gap: 6.4px;  /* 8px * 0.8 */
}

.view-toggle-btn {
    width: 35.2px;  /* 44px * 0.8 */
    height: 35.2px;  /* 44px * 0.8 */
    border-radius: 8px;  /* 10px * 0.8 */
    background: rgba(248, 249, 250, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(44, 62, 80, 0.15);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14.4px;  /* 18px * 0.8 */
}

.view-toggle-btn:hover {
    background: rgba(from var(--accent) r g b / 0.15);
    border-color: var(--accent);
    color: var(--text);
    transform: translateY(-1.6px);  /* -2px * 0.8 */
}

.view-toggle-btn.active {
    background: var(--text);
    color: white;
    border-color: var(--text);
    box-shadow: 0 3.2px 9.6px rgba(44, 62, 80, 0.15);  /* 4px*0.8, 12px*0.8 */
}

.sort-select {
    padding: 9.6px 12.8px;  /* 12px*0.8, 16px*0.8 */
    padding-right: 32px;  /* 40px * 0.8 */
    border-radius: 8px;  /* 10px * 0.8 */
    border: 1px solid rgba(44, 62, 80, 0.15);
    background: rgba(248, 249, 250, 0.7);
    backdrop-filter: blur(5px);
    color: var(--text);
    cursor: pointer;
    min-width: 176px;  /* 220px * 0.8 */
    font-size: 11.2px;  /* 14px * 0.8 */
    font-weight: 500;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%233498DB' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12.8px center;  /* 16px * 0.8 */
    background-size: 12.8px;  /* 16px * 0.8 */
    appearance: none;
}

.sort-select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 2.4px rgba(from var(--accent) r g b / 0.1);  /* 3px*0.8 */
}

.mobile-filters-btn {
    display: none;
    padding: 9.6px 19.2px;  /* 12px*0.8, 24px*0.8 */
    background: var(--text);
    color: white;
    border: none;
    border-radius: 8px;  /* 10px * 0.8 */
    cursor: pointer;
    font-weight: 600;
    font-size: 11.2px;  /* 14px * 0.8 */
    transition: all 0.3s ease;
    align-items: center;
    gap: 6.4px;  /* 8px * 0.8 */
    margin-bottom: 12px;  /* 15px * 0.8 */
}

.mobile-filters-btn:hover {
    background: var(--accent);
    transform: translateY(-1.6px);  /* -2px * 0.8 */
    box-shadow: 0 6.4px 16px rgba(52, 152, 219, 0.25);  /* 8px*0.8, 20px*0.8 */
}

@media (max-width: 1024px) {
    .mobile-filters-btn {
        display: flex;
    }
}

/* === PRODUCTS GRID - WITH LARGER IMAGES === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));  /* 300px * 0.8 */
    gap: 24px;  /* 30px * 0.8 */
}

.products-grid.list-view {
    grid-template-columns: 1fr;
}

.pCard.list-view {
    display: grid;
    grid-template-columns: 192px 1fr auto;  /* 240px * 0.8 */
    gap: 19.2px;  /* 24px * 0.8 */
    align-items: center;
    padding: 19.2px;  /* 24px * 0.8 */
}

.pCard.list-view .pThumb {
    height: 160px;  /* 200px * 0.8 */
    aspect-ratio: unset;
}

/* Product Card Styles - WITH LARGER IMAGES */
.pCard {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px;  /* 20px * 0.8 */
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: inherit;
}

.pCard:hover {
    transform: translateY(-6.4px);  /* -8px * 0.8 */
    border-color: rgba(from var(--accent) r g b / 0.3);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 40px rgba(from var(--accent) r g b / 0.2);  /* 25px*0.8, 50px*0.8 */
}

/* LARGER PRODUCT IMAGES */
.pThumb {
    position: relative;
    /* height: 256px;  /* 320px * 0.8 */ */
    overflow: hidden;
    background: rgba(248, 249, 250, 0.7);
}

.pThumb img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    transition: transform 0.8s ease;
}

.pCard:hover .pThumb img {
    transform: scale(1.08);
}

/* Subtle overlay for better contrast */

.pCard:hover .pThumb::after {
    opacity: 1;
}

.pBody {
    padding: 16px;  /* 20px * 0.8 */
    background: rgba(255, 255, 255, 0.9);
}

.pName {
    font-weight: 700;
    margin-bottom: 9.6px;  /* 12px * 0.8 */
    font-size: 14.4px;  /* 18px * 0.8 */
    color: var(--text);
    line-height: 1.4;
}

/* Product Actions - Wishlist and Add to Cart beside price */
.product-actions {
    display: flex;
    align-items: center;
    gap: 6.4px;  /* 8px * 0.8 */
}

.action-btn {
    width: 32px;  /* 40px * 0.8 */
    height: 32px;  /* 40px * 0.8 */
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(44, 62, 80, 0.1);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14.4px;  /* 18px * 0.8 */
    box-shadow: 0 3.2px 9.6px rgba(0, 0, 0, 0.05);  /* 4px*0.8, 12px*0.8 */
}

.action-btn:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
    border-color: var(--accent);
}

.action-btn.wishlist-active {
    background: var(--accent);
    color: white;
}

.add-to-cart-btn {
    padding: 0 12.8px;  /* 16px * 0.8 */
    height: 32px;  /* 40px * 0.8 */
    border-radius: 24px;  /* 30px * 0.8 */
    background: var(--text);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4.8px;  /* 6px * 0.8 */
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 11.2px;  /* 14px * 0.8 */
    font-weight: 600;
    white-space: nowrap;
}

.add-to-cart-btn:hover {
    background: var(--accent);
    transform: translateY(-1.6px);  /* -2px * 0.8 */
    box-shadow: 0 6.4px 16px rgba(from var(--accent) r g b / 0.3);  /* 8px*0.8, 20px*0.8 */
}

.add-to-cart-btn i {
    font-size: 12.8px;  /* 16px * 0.8 */
}

.pMeta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;  /* 20px * 0.8 */
    padding-top: 16px;  /* 20px * 0.8 */
    border-top: 1px solid rgba(44, 62, 80, 0.1);
}

.price {
    font-weight: 800;
    font-size: 19.2px;  /* 24px * 0.8 */
    color: var(--text);
    letter-spacing: -0.4px;  /* -0.5px * 0.8 */
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badges {
    display: flex;
    gap: 4.8px;  /* 6px * 0.8 */
}

.badge {
    font-size: 8.8px;  /* 11px * 0.8 */
    padding: 4.8px 8px;  /* 6px*0.8, 10px*0.8 */
    border-radius: 4.8px;  /* 6px * 0.8 */
    background: rgb(from var(--accent) r g b / 0.08);
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.4px;  /* 0.5px * 0.8 */
    border: 1px solid rgba(from var(--accent) r g b / 0.15);
}

/* Colors mini */
.pColorsMini {
    display: flex;
    gap: 4.8px;  /* 6px * 0.8 */
    margin: 9.6px 0;  /* 12px * 0.8 */
}

.cMini {
    width: 14.4px;  /* 18px * 0.8 */
    height: 14.4px;  /* 18px * 0.8 */
    border-radius: 50%;
    border: 2px solid rgba(44, 62, 80, 0.1);
    transition: all 0.3s ease;
}

.cMini:hover {
    transform: scale(1.2);
    border-color: var(--accent);
}

.cMini.isWhite {
    border: 2px solid rgba(127, 140, 141, 0.2);
    background: #F8F9FA;
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 4.8px;  /* 6px * 0.8 */
    margin: 9.6px 0;  /* 12px * 0.8 */
}

.stars {
    color: var(--accent);
    font-size: 11.2px;  /* 14px * 0.8 */
}

.rating-count {
    font-size: 10.4px;  /* 13px * 0.8 */
    color: var(--muted);
    font-weight: 500;
}

.product-badge {
    position: absolute;
    top: 12.8px;  /* 16px * 0.8 */
    left: 12.8px;  /* 16px * 0.8 */
    background: var(--text);
    color: white;
    font-size: 8.8px;  /* 11px * 0.8 */
    font-weight: 800;
    padding: 4.8px 9.6px;  /* 6px*0.8, 12px*0.8 */
    border-radius: 4.8px;  /* 6px * 0.8 */
    z-index: 2;
    letter-spacing: 0.4px;  /* 0.5px * 0.8 */
    text-transform: uppercase;
}

.product-badge.new-badge {
    background: var(--accent);
}

.product-badge.sale-badge {
    background: #e74c3c;
}

/* Quick actions (top right) - keeping for additional actions */
.quick-actions {
    position: absolute;
    top: 12.8px;  /* 16px * 0.8 */
    right: 12.8px;  /* 16px * 0.8 */
    display: flex;
    flex-direction: column;
    gap: 8px;  /* 10px * 0.8 */
    transition: all 0.4s ease;
    transform: translateY(-8px);  /* -10px * 0.8 */
    z-index: 5;
}

.pCard:hover .quick-actions {
    opacity: 1;
    transform: translateY(0);
}

.quick-action-btn {
    width: 32px;  /* 40px * 0.8 */
    height: 32px;  /* 40px * 0.8 */
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(44, 62, 80, 0.1);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12.8px;  /* 16px * 0.8 */
    box-shadow: 0 3.2px 9.6px rgba(0, 0, 0, 0.05);  /* 4px*0.8, 12px*0.8 */
    position: relative;
}

.quick-action-btn:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent);
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6.4px;  /* 8px * 0.8 */
    margin-top: 48px;  /* 60px * 0.8 */
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 9.6px 14.4px;  /* 12px*0.8, 18px*0.8 */
    border-radius: 8px;  /* 10px * 0.8 */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--muted);
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 35.2px;  /* 44px * 0.8 */
    text-align: center;
    font-weight: 600;
    font-size: 11.2px;  /* 14px * 0.8 */
}

.pagination a:hover {
    background: rgba(from var(--accent) r g b / 0.1);
    border-color: var(--accent);
    color: var(--text);
    transform: translateY(-1.6px);  /* -2px * 0.8 */
}

.pagination .active {
    background: var(--text);
    border-color: var(--text);
    color: white;
    box-shadow: 0 3.2px 9.6px rgba(44, 62, 80, 0.15);  /* 4px*0.8, 12px*0.8 */
}

.pagination .disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* === ACTIVE FILTERS === */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;  /* 10px * 0.8 */
    margin-bottom: 24px;  /* 30px * 0.8 */
    padding: 16px;  /* 20px * 0.8 */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 12.8px;  /* 16px * 0.8 */
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.active-filter {
    background: rgb(from var(--accent) r g b / 0.08);
    border: 1px solid rgba(from var(--accent) r g b / 0.15);
    color: var(--text);
    padding: 6.4px 12.8px;  /* 8px*0.8, 16px*0.8 */
    border-radius: 16px;  /* 20px * 0.8 */
    font-size: 11.2px;  /* 14px * 0.8 */
    display: flex;
    align-items: center;
    gap: 8px;  /* 10px * 0.8 */
    font-weight: 600;
}

.active-filter-remove {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 14.4px;  /* 18px * 0.8 */
    padding: 0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.active-filter-remove:hover {
    color: var(--accent);
    transform: scale(1.2);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 64px 16px;  /* 80px*0.8, 20px*0.8 */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 16px;  /* 20px * 0.8 */
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 32px 0;  /* 40px * 0.8 */
}

.empty-state h3 {
    font-size: 22.4px;  /* 28px * 0.8 */
    margin-bottom: 12.8px;  /* 16px * 0.8 */
    color: var(--text);
}

.empty-state p {
    color: var(--muted);
    margin-bottom: 24px;  /* 30px * 0.8 */
    font-size: 12.8px;  /* 16px * 0.8 */
    line-height: 1.6;
    max-width: 400px;  /* 500px * 0.8 */
    margin-left: auto;
    margin-right: auto;
}

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;  /* 10px * 0.8 */
    padding: 11.2px 22.4px;  /* 14px*0.8, 28px*0.8 */
    background: var(--text);
    color: white;
    border: none;
    border-radius: 9.6px;  /* 12px * 0.8 */
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;  /* 15px * 0.8 */
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--accent);
    transform: translateY(-2.4px);  /* -3px * 0.8 */
    box-shadow: 0 9.6px 24px rgba(52, 152, 219, 0.2);  /* 12px*0.8, 30px*0.8 */
}

.btn-primary {
    background: var(--text);
}

.btn-primary:hover {
    background: var(--accent);
}

/* === ENHANCED MOBILE RESPONSIVENESS - 2 COLUMNS WITH LARGER IMAGES === */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;  /* 15px * 0.8 */
    }
    
    .shop-container {
        padding: 12px 9.6px;  /* 15px*0.8, 12px*0.8 */
    }
    
    .shop-header {
        padding: 24px 16px;  /* 30px*0.8, 20px*0.8 */
        margin-bottom: 14.4px;  /* 18px * 0.8 */
        border-radius: 12.8px;  /* 16px * 0.8 */
    }
    
    .shop-header h1 {
        font-size: 22.4px;  /* 28px * 0.8 */
        margin-bottom: 4px;  /* 5px * 0.8 */
    }
    
    .sale-percentage {
        font-size: 32px;  /* 40px * 0.8 */
    }
    
    .shop-subtitle {
        font-size: 11.2px;  /* 14px * 0.8 */
        margin-bottom: 12px;  /* 15px * 0.8 */
    }
    
    .sale-badge {
        padding: 4px 12px;  /* 5px*0.8, 15px*0.8 */
        font-size: 9.6px;  /* 12px * 0.8 */
        margin-bottom: 8px;  /* 10px * 0.8 */
    }
    
    .shop-controls {
        padding: 12px;  /* 15px * 0.8 */
        margin-bottom: 20px;  /* 25px * 0.8 */
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;  /* 15px * 0.8 */
    }
    
    .results-count {
        font-size: 11.2px;  /* 14px * 0.8 */
        width: 100%;
        text-align: center;
    }
    
    .view-toggle {
        flex: 1;
        justify-content: center;
    }
    
    .sort-select {
        width: 100%;
        min-width: unset;
    }
    
    /* Product card mobile optimizations with larger images */
    .pThumb {
        /* height: 176px;  /* 220px * 0.8 */ */
    }
    
    .pBody {
        padding: 9.6px 8px;  /* 12px*0.8, 10px*0.8 */
    }
    
    .pName {
        font-size: 12px;  /* 15px * 0.8 */
        margin-bottom: 6.4px;  /* 8px * 0.8 */
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 31.2px;  /* 39px * 0.8 */
    }
    
    .price {
        font-size: 14.4px;  /* 18px * 0.8 */
    }
    
    .product-actions {
        gap: 4px;  /* 5px * 0.8 */
    }
    
    .action-btn {
        width: 25.6px;  /* 32px * 0.8 */
        height: 25.6px;  /* 32px * 0.8 */
        font-size: 11.2px;  /* 14px * 0.8 */
    }
    
    .add-to-cart-btn {
        height: 25.6px;  /* 32px * 0.8 */
        padding: 0 8px;  /* 10px * 0.8 */
        font-size: 9.6px;  /* 12px * 0.8 */
    }
    
    .add-to-cart-btn i {
        font-size: 10.4px;  /* 13px * 0.8 */
    }
    
    .product-rating {
        margin: 6.4px 0;  /* 8px * 0.8 */
    }
    
    .stars {
        font-size: 9.6px;  /* 12px * 0.8 */
    }
    
    .rating-count {
        font-size: 8.8px;  /* 11px * 0.8 */
    }
    
    .pColorsMini {
        margin: 6.4px 0;  /* 8px * 0.8 */
        gap: 3.2px;  /* 4px * 0.8 */
    }
    
    .cMini {
        width: 12.8px;  /* 16px * 0.8 */
        height: 12.8px;  /* 16px * 0.8 */
        border-width: 1px;  /* unchanged, but scale? 1px * 0.8 = 0.8px? Keep 1px */
    }
    
    .badges {
        gap: 3.2px;  /* 4px * 0.8 */
    }
    
    .badge {
        font-size: 7.2px;  /* 9px * 0.8 */
        padding: 2.4px 4.8px;  /* 3px*0.8, 6px*0.8 */
        border-radius: 3.2px;  /* 4px * 0.8 */
    }
    
    .pMeta {
        margin-top: 9.6px;  /* 12px * 0.8 */
        padding-top: 9.6px;  /* 12px * 0.8 */
    }
    
    .product-badge {
        top: 6.4px;  /* 8px * 0.8 */
        left: 6.4px;  /* 8px * 0.8 */
        font-size: 7.2px;  /* 9px * 0.8 */
        padding: 3.2px 6.4px;  /* 4px*0.8, 8px*0.8 */
    }
    
    .quick-actions {
        top: 16px;  /* 20px * 0.8? Actually 20px was in original, but we scaled to 16px, so it's 16px */
        right: 6.4px;  /* 8px * 0.8 */
        gap: 4.8px;  /* 6px * 0.8 */
    }
    
    .quick-action-btn {
        width: 22.4px;  /* 28px * 0.8 */
        height: 22.4px;  /* 28px * 0.8 */
        font-size: 9.6px;  /* 12px * 0.8 */
    }
    
    .pCard {
        border-radius: 9.6px;  /* 12px * 0.8 */
    }
    
    .pCard:hover {
        transform: translateY(-3.2px);  /* -4px * 0.8 */
    }
    
    .active-filters {
        padding: 12px;  /* 15px * 0.8 */
        margin-bottom: 16px;  /* 20px * 0.8 */
    }
    
    .active-filter {
        padding: 4px 9.6px;  /* 5px*0.8, 12px*0.8 */
        font-size: 9.6px;  /* 12px * 0.8 */
    }
    
    .pagination {
        margin-top: 32px;  /* 40px * 0.8 */
        gap: 4.8px;  /* 6px * 0.8 */
    }
    
    .pagination a,
    .pagination span {
        padding: 6.4px 9.6px;  /* 8px*0.8, 12px*0.8 */
        min-width: 28.8px;  /* 36px * 0.8 */
        font-size: 10.4px;  /* 13px * 0.8 */
    }
}

/* Small phones (320px - 480px) */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;  /* 10px * 0.8 */
    }
    
    .shop-container {
        padding: 9.6px 8px;  /* 12px*0.8, 10px*0.8 */
    }
    
    .shop-header {
        padding: 16px 12px;  /* 20px*0.8, 15px*0.8 */
    }
    
    .shop-header h1 {
        font-size: 19.2px;  /* 24px * 0.8 */
    }
    
    .sale-percentage {
        font-size: 25.6px;  /* 32px * 0.8 */
    }
    
    .shop-subtitle {
        font-size: 10.4px;  /* 13px * 0.8 */
    }
    
    .shop-controls {
        padding: 9.6px;  /* 12px * 0.8 */
        gap: 9.6px;  /* 12px * 0.8 */
    }
    
    .view-toggle-btn {
        width: 32px;  /* 40px * 0.8 */
        height: 32px;  /* 40px * 0.8 */
        font-size: 12.8px;  /* 16px * 0.8 */
    }
    
    .pThumb {
        /* height: 144px;  /* 180px * 0.8 */ */
    }
    
    .pBody {
        padding: 8px 6.4px;  /* 10px*0.8, 8px*0.8 */
    }
    
    .pName {
        font-size: 11.2px;  /* 14px * 0.8 */
        min-height: 28.8px;  /* 36px * 0.8 */
        -webkit-line-clamp: 2;
    }
    
    .price {
        font-size: 12.8px;  /* 16px * 0.8 */
    }
    
    .product-actions {
        gap: 2.4px;  /* 3px * 0.8 */
    }
    
    .action-btn {
        width: 22.4px;  /* 28px * 0.8 */
        height: 22.4px;  /* 28px * 0.8 */
        font-size: 9.6px;  /* 12px * 0.8 */
    }
    
    .add-to-cart-btn {
        height: 22.4px;  /* 28px * 0.8 */
        padding: 0 6.4px;  /* 8px * 0.8 */
        font-size: 8.8px;  /* 11px * 0.8 */
    }
    
    .add-to-cart-btn i {
        font-size: 9.6px;  /* 12px * 0.8 */
    }
    
    .product-rating {
        margin: 4.8px 0;  /* 6px * 0.8 */
    }
    
    .stars {
        font-size: 8.8px;  /* 11px * 0.8 */
    }
    
    .rating-count {
        font-size: 8px;  /* 10px * 0.8 */
    }
    
    .pColorsMini {
        margin: 4.8px 0;  /* 6px * 0.8 */
    }
    
    .cMini {
        width: 11.2px;  /* 14px * 0.8 */
        height: 11.2px;  /* 14px * 0.8 */
    }
    
    .badge {
        font-size: 6.4px;  /* 8px * 0.8 */
        padding: 1.6px 3.2px;  /* 2px*0.8, 4px*0.8 */
    }
    
    .pMeta {
        margin-top: 6.4px;  /* 8px * 0.8 */
        padding-top: 6.4px;  /* 8px * 0.8 */
    }
    
    .product-badge {
        font-size: 6.4px;  /* 8px * 0.8 */
        padding: 2.4px 4.8px;  /* 3px*0.8, 6px*0.8 */
    }
    
    .quick-action-btn {
        width: 19.2px;  /* 24px * 0.8 */
        height: 19.2px;  /* 24px * 0.8 */
        font-size: 8.8px;  /* 11px * 0.8 */
    }
    
    .pagination {
        margin-top: 24px;  /* 30px * 0.8 */
    }
    
    .pagination a,
    .pagination span {
        padding: 4.8px 8px;  /* 6px*0.8, 10px*0.8 */
        min-width: 25.6px;  /* 32px * 0.8 */
        font-size: 9.6px;  /* 12px * 0.8 */
    }
    
    .empty-state {
        padding: 32px 12px;  /* 40px*0.8, 15px*0.8 */
    }
    
    .empty-state h3 {
        font-size: 17.6px;  /* 22px * 0.8 */
    }
    
    .empty-state p {
        font-size: 11.2px;  /* 14px * 0.8 */
    }
    
    .btn {
        padding: 9.6px 16px;  /* 12px*0.8, 20px*0.8 */
        font-size: 11.2px;  /* 14px * 0.8 */
    }
}

/* Very small phones (320px and below) */
@media (max-width: 360px) {
    .products-grid {
        gap: 6.4px;  /* 8px * 0.8 */
    }
    
    .pThumb {
    }
    
    .pName {
        font-size: 10.4px;  /* 13px * 0.8 */
        min-height: 27.2px;  /* 34px * 0.8 */
    }
    
    .price {
        font-size: 11.2px;  /* 14px * 0.8 */
    }
    
    .action-btn {
        width: 19.2px;  /* 24px * 0.8 */
        height: 19.2px;  /* 24px * 0.8 */
        font-size: 8.8px;  /* 11px * 0.8 */
    }
    
    .add-to-cart-btn {
        height: 19.2px;  /* 24px * 0.8 */
        padding: 0 4.8px;  /* 6px * 0.8 */
        font-size: 8px;  /* 10px * 0.8 */
    }
    
    .add-to-cart-btn i {
        font-size: 8px;  /* 10px * 0.8 */
    }
    
    .product-rating {
        margin: 3.2px 0;  /* 4px * 0.8 */
    }
    
    .stars {
        font-size: 8px;  /* 10px * 0.8 */
    }
    
    .pColorsMini {
        margin: 3.2px 0;  /* 4px * 0.8 */
    }
    
    .cMini {
        width: 9.6px;  /* 12px * 0.8 */
        height: 9.6px;  /* 12px * 0.8 */
    }
    
    .badge {
        font-size: 5.6px;  /* 7px * 0.8 */
        padding: 1.6px 2.4px;  /* 2px*0.8, 3px*0.8 */
    }
}

/* Ensure proper spacing on tablets */
@media (min-width: 481px) and (max-width: 768px) {
    .products-grid {
        gap: 16px;  /* 20px * 0.8 */
    }
    
    .pThumb {
        height: 200px;  /* 250px * 0.8 */
    }
    
    .pName {
        font-size: 12.8px;  /* 16px * 0.8 */
    }
    
    .price {
        font-size: 16px;  /* 20px * 0.8 */
    }
}

/* Landscape orientation for phones */
@media (max-width: 900px) and (orientation: landscape) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px;  /* 15px * 0.8 */
    }
    
    .pThumb {
        height: 160px;  /* 200px * 0.8 */
    }
}

/* High-resolution screens */
@media (min-width: 1400px) {
    .shop-container {
        padding: 32px 24px;  /* 40px*0.8, 30px*0.8 */
    }
    
    .products-grid {
        gap: 28px;  /* 35px * 0.8 */
    }
    
    .pThumb {
        height: 304px;  /* 380px * 0.8 */
    }
    
    .pName {
        font-size: 16px;  /* 20px * 0.8 */
    }
    
    .price {
        font-size: 20.8px;  /* 26px * 0.8 */
    }
}

/* Notification styles */
.notification {
    position: fixed;
    top: 24px;  /* 30px * 0.8 */
    right: 24px;  /* 30px * 0.8 */
    padding: 14.4px 22.4px;  /* 18px*0.8, 28px*0.8 */
    border-radius: 11.2px;  /* 14px * 0.8 */
    z-index: 9999;
    animation: slideIn 0.4s ease, slideOut 0.4s ease 2.7s forwards;
    box-shadow: 0 12px 32px rgba(44, 62, 80, 0.1);  /* 15px*0.8, 40px*0.8 */
    display: flex;
    align-items: center;
    gap: 11.2px;  /* 14px * 0.8 */
    max-width: 320px;  /* 400px * 0.8 */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification.success {
    background: rgba(44, 62, 80, 0.95);
    color: white;
    border-left: 4px solid var(--accent);
}

.notification.error {
    background: rgba(127, 140, 141, 0.95);
    color: white;
    border-left: 4px solid var(--text);
}

.notification.info {
    background: rgba(52, 152, 219, 0.95);
    color: white;
    border-left: 4px solid var(--text);
}

@keyframes slideIn {
    from {
        transform: translateX(100%) translateY(-16px);  /* -20px * 0.8 */
        opacity: 0;
    }
    to {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    to {
        transform: translateX(100%) translateY(-16px);  /* -20px * 0.8 */
        opacity: 0;
    }
}

/* Filter sidebar close button */
.filter-close {
    display: none;
    position: fixed;
    top: 20px;  /* 25px * 0.8 */
    right: 20px;  /* 25px * 0.8 */
    width: 38.4px;  /* 48px * 0.8 */
    height: 38.4px;  /* 48px * 0.8 */
    background: var(--text);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 16px;  /* 20px * 0.8 */
    cursor: pointer;
    z-index: 1001;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6.4px 20px rgba(44, 62, 80, 0.2);  /* 8px*0.8, 25px*0.8 */
    transition: all 0.3s ease;
}

.filter-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: var(--accent);
}

@media (max-width: 1024px) {
    .filter-close {
        display: flex;
    }
}

/* Value Props Section in Filters */
.value-props {
    margin-top: 24px;  /* 30px * 0.8 */
    padding: 19.2px;  /* 24px * 0.8 */
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12.8px;  /* 16px * 0.8 */
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.value-prop {
    display: flex;
    align-items: flex-start;
    gap: 12px;  /* 15px * 0.8 */
    padding: 12px 0;  /* 15px * 0.8 */
}

.value-prop:not(:last-child) {
    border-bottom: 1px solid rgba(44, 62, 80, 0.05);
}

.value-prop-icon {
    width: 32px;  /* 40px * 0.8 */
    height: 32px;  /* 40px * 0.8 */
    background: rgba(from var(--accent) r g b / 0.1);
    border-radius: 8px;  /* 10px * 0.8 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 14.4px;  /* 18px * 0.8 */
    flex-shrink: 0;
}

.value-prop-content h4 {
    margin: 0 0 4px 0;  /* 5px * 0.8 */
    font-size: 12px;  /* 15px * 0.8 */
    font-weight: 700;
    color: var(--text);
}

.value-prop-content p {
    margin: 0;
    font-size: 10.4px;  /* 13px * 0.8 */
    color: var(--muted);
    line-height: 1.5;
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, rgba(248, 249, 250, 0.5) 25%, rgba(233, 236, 239, 0.7) 50%, rgba(248, 249, 250, 0.5) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;  /* 10px * 0.8 */
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* === FIXED: Added blue accent for focus states === */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* === FIXED: Added subtle hover effect for interactive elements === */
.filter-option input[type="checkbox"]:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

/* Related Products Title */
.related-products-title {
    font-size: 19.2px;  /* 24px * 0.8 */
    font-weight: 800;
    margin: 32px 0 16px;  /* 40px*0.8, 20px*0.8 */
    color: var(--text);
    text-align: center;
    position: relative;
}

.related-products-title::before,
.related-products-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 48px;  /* 60px * 0.8 */
    height: 2px;
    background: rgba(from var(--accent) r g b / 0.2);
}

.related-products-title::before {
    left: 16px;  /* 20px * 0.8 */
}

.related-products-title::after {
    right: 16px;  /* 20px * 0.8 */
}

/* Sale badge on card */
.sale-badge-card {
    position: absolute;
    top: 12px;  /* 15px * 0.8 */
    left: 12px;  /* 15px * 0.8 */
    background: var(--accent);
    color: white;
    font-weight: 800;
    font-size: 9.6px;  /* 12px * 0.8 */
    padding: 4px 9.6px;  /* 5px*0.8, 12px*0.8 */
    border-radius: 16px;  /* 20px * 0.8 */
    z-index: 10;
    box-shadow: 0 3.2px 8px rgba(0,0,0,0.1);  /* 4px*0.8, 10px*0.8 */
    text-transform: uppercase;
    letter-spacing: 0.4px;  /* 0.5px * 0.8 */
}


/* ===== PROFESSIONAL PRICE STYLES ===== */
.pMeta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6.4px;  /* 8px * 0.8 */
    margin-top: 6.4px;  /* 8px * 0.8 */
}

.price-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6.4px;  /* 8px * 0.8 */
}

.price-current {
    font-size: 1.12rem;  /* 1.4rem * 0.8 */
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

.price-current .currency {
    font-size: 0.64rem;  /* 0.8rem * 0.8 */
    font-weight: 400;
    color: #7f8c8d;
    margin-left: 1.6px;  /* 2px * 0.8 */
}

.price-original {
    font-size: 0.72rem;  /* 0.9rem * 0.8 */
    color: #95a5a6;
    text-decoration: line-through;
}

.price-original .currency {
    font-size: 0.56rem;  /* 0.7rem * 0.8 */
}

.discount-badge {
    background: #e74c3c;
    color: white;
    font-size: 0.56rem;  /* 0.7rem * 0.8 */
    font-weight: 600;
    padding: 1.6px 6.4px;  /* 2px*0.8, 8px*0.8 */
    border-radius: 16px;  /* 20px * 0.8 */
    letter-spacing: 0.24px;  /* 0.3px * 0.8 */
    display: inline-block;
    margin-left: 3.2px;  /* 4px * 0.8 */
}

.badges {
    display: flex;
    gap: 4.8px;  /* 6px * 0.8 */
}

.badge {
    background: #ecf0f1;
    color: #7f8c8d;
    font-size: 0.52rem;  /* 0.65rem * 0.8 */
    font-weight: 500;
    padding: 1.6px 8px;  /* 2px*0.8, 10px*0.8 */
    border-radius: 24px;  /* 30px * 0.8 */
    text-transform: uppercase;
    letter-spacing: 0.24px;  /* 0.3px * 0.8 */
    border: 1px solid #d0d9e2;
}


@media (max-width: 768px) {
    /* Override the desktop list view layout for mobile */
    .products-grid.list-view {
        grid-template-columns: 1fr !important;
    }
    .pCard.list-view a {
          max-width: 100%;

    }
    
    .pCard.list-view {
        display: flex;
        flex-direction: row;
        gap: 19.2px;  /* 24px * 0.8 */
        padding: 12px;  /* 15px * 0.8 */
    }
    
    .pCard.list-view .pThumb {
        height: 176px;  /* 220px * 0.8 */
        max-width: 150px;
        border-radius: 14px;
    }
    
    .pCard.list-view .pBody {
        width: 130px;
        padding: 0 19.2px 0 0;  /* 0 24px*0.8 0 0 */
    }
    
    /* Ensure text elements are readable */
    .pCard.list-view .pName {
        font-size: 12.8px;  /* 16px * 0.8 */
    }
    
    .pCard.list-view .price-current {
        font-size: 0.96rem;  /* 1.2rem * 0.8 */
    }
    
    .pCard.list-view .product-actions {
        justify-content: flex-start;
    }
}
