/* ASOS WooCommerce Shop Styles */

/* Shop Page Layout */
.asos-shop-page {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.asos-shop-header {
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.asos-shop-title {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #2d2d2d;
    margin: 0;
}

.asos-shop-results {
    color: #666;
    font-size: 14px;
    margin-top: 8px;
}

/* Shop Controls */
.asos-shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 10px;
}

.asos-shop-left {
    font-size: 14px;
    color: #666;
}

.asos-shop-right {
    display: flex;
    gap: 15px;
}

.asos-shop-filter {
    display: flex;
    gap: 15px;
    align-items: center;
}

.asos-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid #2d2d2d;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.asos-filter-btn:hover {
    background: #2d2d2d;
    color: #fff;
}

.asos-shop-sort select {
    padding: 10px 16px;
    border: 1px solid #2d2d2d;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    background: #fff;
    cursor: pointer;
}

/* Shop Layout */
.asos-shop-layout {
    display: flex;
    gap: 30px;
}

.asos-shop-sidebar {
    width: 250px;
    flex-shrink: 0;
    display: none;
}

.asos-shop-sidebar.active {
    display: block;
}

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

.asos-sidebar-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.asos-close-sidebar {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.asos-shop-main {
    flex: 1;
}

/* Products Grid - ASOS Style */
.asos-products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.asos-product-card {
    position: relative;
    background: #fff;
}

/* Product Image */
.asos-product-image {
    position: relative;
    background: #f5f5f5;
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 12px;
}

.asos-product-image a {
    display: block;
    width: 100%;
    height: 100%;
}

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

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

/* Sale Badge */
.asos-sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #d01345;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    text-transform: uppercase;
}

/* Wishlist Button */
.asos-wishlist-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.asos-product-card:hover .asos-wishlist-btn {
    opacity: 1;
    transform: translateY(0);
}

.asos-wishlist-btn:hover {
    background: #d01345;
    color: #fff;
}

.asos-wishlist-btn:hover svg {
    stroke: #fff;
}

.asos-wishlist-btn.active {
    background: #d01345;
}

.asos-wishlist-btn.active svg {
    fill: #fff;
    stroke: #fff;
}

/* Product Info */
.asos-product-info {
    padding: 0 5px;
}

.asos-product-brand {
    display: block;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.asos-product-name {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0 0 8px;
    color: #2d2d2d;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.asos-product-name a {
    color: inherit;
    text-decoration: none;
}

.asos-product-name a:hover {
    text-decoration: underline;
}

/* Price */
.asos-product-price {
    display: flex;
    gap: 8px;
    align-items: center;
}

.asos-price-current,
.asos-price-sale {
    font-size: 14px;
    font-weight: 700;
    color: #2d2d2d;
}

.asos-price-regular {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.asos-price-sale {
    color: #d01345;
}

/* Pagination */
.asos-pagination {
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
}

.asos-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.asos-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    color: #2d2d2d;
    text-decoration: none;
    transition: all 0.2s;
}

.asos-pagination .page-numbers:hover {
    border-color: #2d2d2d;
}

.asos-pagination .page-numbers.current {
    background: #2d2d2d;
    border-color: #2d2d2d;
    color: #fff;
}

.asos-pagination .prev,
.asos-pagination .next {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* No Results */
.asos-no-results {
    text-align: center;
    padding: 80px 20px;
}

.asos-no-results p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.asos-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #2d2d2d;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.asos-btn:hover {
    background: #1a1a1a;
}

/* Responsive */
@media (max-width: 1400px) {
    .asos-products-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1200px) {
    .asos-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .asos-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .asos-shop-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100vh;
        background: #fff;
        z-index: 1000;
        padding: 20px;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
}

@media (max-width: 768px) {
    .asos-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .asos-shop-controls {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .asos-wishlist-btn {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .asos-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .asos-product-name {
        font-size: 12px;
    }
    
    .asos-price-current,
    .asos-price-sale {
        font-size: 13px;
    }
}
