/* Shop Page Styles */

/* Breadcrumb Section */
.breadcrumb-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
    border-bottom: 1px solid var(--border-light);
    text-align: center;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    align-items: center;
    justify-content: center;
}

.breadcrumb a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb span {
    color: var(--text-secondary);
    font-weight: 400;
}

.breadcrumb-section h1 {
    font-size: 48px;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.breadcrumb-section p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Shop Section */
.shop-section {
    padding: 60px 0;
    background: white;
}

.shop-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Sidebar Filters */
.shop-sidebar {
    background: var(--light-bg);
    padding: 28px;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.filter-group {
    margin-bottom: 32px;
}

.filter-group h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

.filter-list {
    list-style: none;
}

.filter-list li {
    margin-bottom: 12px;
}

.filter-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: block;
    padding: 6px 0;
}

.filter-list a:hover {
    color: var(--accent-gold);
    padding-left: 8px;
}

.filter-list input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
}

/* Price Slider */
.price-filter {
    margin-top: 12px;
}

.price-slider {
    width: 100%;
    cursor: pointer;
    margin-bottom: 12px;
}

.price-display {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
}

/* Filter Button */
.filter-btn {
    width: 100%;
    padding: 12px;
    background: var(--accent-gold);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.filter-btn:hover {
    background: #066b7a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(11, 138, 155, 0.3);
}

/* Shop Main */
.shop-main {
    width: 100%;
}

/* Shop Toolbar */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
}

.sort-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.sort-box select {
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: white;
    color: var(--text-primary);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.view-options {
    display: flex;
    gap: 8px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-light);
    background: white;
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover,
.view-btn.active {
    background: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
}

/* Shop Grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* Shop Product Card */
.shop-product-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.shop-product-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
}

/* Product Image Wrapper */
.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.3s ease;
}

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

/* Product Badge */
.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-gold);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 5;
}

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

/* Product Overlay */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.shop-product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    padding: 10px 24px;
    background: var(--accent-gold);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.quick-view-btn:hover {
    background: #066b7a;
    transform: translateY(-2px);
}

.wishlist-btn {
    width: 40px;
    height: 40px;
    background: var(--accent-gold);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.wishlist-btn:hover {
    background: #066b7a;
    transform: scale(1.1);
}

/* Product Info */
.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 40px;
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.product-rating i {
    color: var(--accent-gold);
    font-size: 12px;
}

.product-rating span {
    font-size: 12px;
    color: var(--text-secondary);
    margin-left: 4px;
}

/* Product Price */
.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.original-price {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-gold);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.page-link {
    padding: 10px 14px;
    border: 1px solid var(--border-light);
    background: white;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-link:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.page-link.active {
    background: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
}

/* Responsive */
@media (max-width: 768px) {
    .shop-wrapper {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
        margin-bottom: 32px;
    }

    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .breadcrumb-section h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-image-wrapper {
        height: 180px;
    }
}
