/* ============================================================ */
/* File: client/css/products.css - Professional Shop Styles     */
/* ============================================================ */

/* ----- SHOP HERO BANNER ----- */
.shop-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 24px 24px 32px 32px;
    padding: 3rem 4rem;
    margin: 1.2rem 2rem 2.5rem;
    gap: 2rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.shop-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.shop-hero-content {
    flex: 1;
    z-index: 1;
}

.shop-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.shop-hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 450px;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

.shop-hero-stats {
    display: flex;
    gap: 1.8rem;
    flex-wrap: wrap;
}

.shop-hero-stats span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shop-hero-stats span i {
    color: #f4a261;
    font-size: 1rem;
}

.shop-hero-image {
    flex: 0 0 200px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.shop-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.dark-mode .shop-hero {
    background: linear-gradient(135deg, #0a0a1a 0%, #141e2b 50%, #1a2634 100%);
}

/* ----- SHOP LAYOUT ----- */
.shop-layout {
    display: flex;
    gap: 2.5rem;
    padding: 0 2rem 3rem;
    max-width: 1440px;
    margin: 0 auto;
}

/* ----- FILTER SIDEBAR ----- */
.filter-sidebar {
    flex: 0 0 260px;
    background: var(--card-bg);
    padding: 1.8rem 1.5rem 2rem;
    border-radius: 20px 20px 28px 28px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    height: fit-content;
    position: sticky;
    top: 120px;
    transition: background 0.3s, border-color 0.3s, transform 0.3s ease;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--border-color);
}

.filter-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-header h4 i {
    color: var(--accent);
}

.btn-clear {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 500;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    transition: 0.2s;
}

.btn-clear:hover {
    background: rgba(244, 162, 97, 0.15);
    color: var(--accent-dark);
}

.filter-group {
    margin-bottom: 1.6rem;
}

.filter-group h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.filter-group h4 i {
    color: var(--accent);
    font-size: 0.8rem;
    width: 18px;
}

/* Custom Checkboxes */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: color 0.2s;
    position: relative;
    padding-left: 28px;
}

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

.checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.filter-checkbox:hover .checkmark {
    border-color: var(--accent);
}

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

.filter-checkbox input:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox:hover {
    color: var(--primary);
}

/* Sort Select */
.sort-select {
    width: 100%;
    padding: 0.5rem 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-light);
    color: var(--text-color);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.sort-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.15);
}

body.dark-mode .sort-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Active Filters */
.filter-active {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tag {
    background: var(--accent);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.filter-tag .remove-filter {
    cursor: pointer;
    font-size: 0.7rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.filter-tag .remove-filter:hover {
    opacity: 1;
}

/* ----- PRODUCT TOOLBAR ----- */
.product-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color);
}

.product-count {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
    font-family: 'Inter', sans-serif;
}

.product-toolbar-right {
    display: flex;
    gap: 0.3rem;
}

.view-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    color: var(--text-color);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.view-toggle:hover {
    opacity: 0.8;
    border-color: var(--accent);
}

.view-toggle.active {
    opacity: 1;
    border-color: var(--accent);
    background: var(--accent);
    color: white;
}

/* ----- PRODUCT GRID ----- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.8rem;
    transition: all 0.3s ease;
}

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

.product-grid.list-view .product-card {
    flex-direction: row;
    align-items: center;
    padding: 1.2rem;
    gap: 1.5rem;
}

.product-grid.list-view .product-card .product-image-wrapper {
    padding-top: 0;
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.product-grid.list-view .product-card .product-image-wrapper img {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-grid.list-view .product-card .product-info {
    flex: 1;
}

.product-grid.list-view .product-card .card-actions {
    flex-direction: row;
    justify-content: flex-start;
}

/* ----- PRODUCT CARD (Professional) ----- */
.product-card {
    background: var(--card-bg);
    border-radius: 16px 16px 24px 24px;
    padding: 0;
    box-shadow: var(--card-shadow);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--accent);
}

.product-card .product-image-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    background: var(--bg-light);
}

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

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

.product-card .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* ============================================================ */
/* IMAGE COUNT BADGE ON PRODUCT CARDS                          */
/* ============================================================ */
.image-count-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
    z-index: 2;
    font-family: 'Inter', sans-serif;
}

.product-card .product-actions-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions-overlay {
    opacity: 1;
    transform: translateX(0);
}

.product-card .product-actions-overlay button {
    background: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: var(--primary);
    font-size: 0.9rem;
}

.product-card .product-actions-overlay button:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
}

.product-card .product-actions-overlay .wishlist-btn.active {
    color: #e74c3c;
}

.product-card .product-info {
    padding: 1rem 1.2rem 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.2rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .product-category {
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.product-card .product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
}

.product-card .product-rating {
    color: #f4b942;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin: 0.2rem 0;
}

.product-card .product-rating span {
    color: var(--text-color);
    opacity: 0.5;
    font-size: 0.7rem;
    margin-left: 0.3rem;
}

.product-card .stock-badge {
    font-size: 0.65rem;
    padding: 0.1rem 0.6rem;
    border-radius: 20px;
    display: inline-block;
    margin-top: 0.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.product-card .card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-color);
}

.product-card .card-actions .btn {
    flex: 1;
    text-align: center;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.product-card .card-actions .btn-accent {
    background: var(--accent);
    color: white;
}

.product-card .card-actions .btn-accent:hover {
    background: var(--accent-dark);
}

/* ----- LOAD MORE ----- */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.load-more-btn {
    padding: 0.7rem 2.5rem;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-color);
    border-radius: 40px;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.load-more-btn i {
    margin-right: 0.5rem;
}

/* ============================================================ */
/* PRODUCT DETAIL CAROUSEL                                      */
/* ============================================================ */
.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 1rem 0;
}

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

.product-main-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-light);
    aspect-ratio: 1/1;
}

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

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.carousel-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev-btn {
    left: 12px;
}

.carousel-btn.next-btn {
    right: 12px;
}

.image-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
    font-family: 'Inter', sans-serif;
    z-index: 5;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding: 4px 0;
}

.product-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.product-thumbnails::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail:hover {
    border-color: var(--accent);
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.3);
}

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

/* ----- PRODUCT INFO DETAIL ----- */
.product-info-detail {
    padding-top: 0.5rem;
}

.product-info-detail .product-category {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.product-info-detail h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.product-rating-large {
    color: #f4b942;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-rating-large span {
    color: var(--text-color);
    opacity: 0.6;
    font-size: 0.9rem;
    margin-left: 0.3rem;
}

.product-price-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.5rem 0;
}

.product-description {
    margin: 1rem 0;
    color: var(--text-color);
    opacity: 0.7;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
}

.product-actions-detail {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.product-actions-detail .btn {
    padding: 0.7rem 1.8rem;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.product-reviews {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.product-reviews h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-family: 'Inter', sans-serif;
}

/* ============================================================ */
/* QUICK VIEW MODAL                                             */
/* ============================================================ */
.quick-view-box {
    max-width: 800px;
    padding: 2rem;
    position: relative;
}

.quick-view-box .close-modal-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
    opacity: 0.5;
    transition: opacity 0.2s;
}

.quick-view-box .close-modal-btn:hover {
    opacity: 1;
}

.quick-view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.quick-view-image {
    position: relative;
}

.quick-view-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

/* Quick View Thumbnails */
.quick-view-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.qv-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.qv-thumb:hover {
    border-color: var(--accent);
}

.qv-thumb.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(244, 162, 97, 0.3);
}

.qv-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-view-details h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.quick-view-category {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.quick-view-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.5rem 0;
}

.quick-view-rating {
    color: #f4b942;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.quick-view-description {
    color: var(--text-color);
    opacity: 0.7;
    line-height: 1.6;
    margin: 1rem 0;
    font-family: 'Inter', sans-serif;
}

.quick-view-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.quick-view-actions .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

/* ----- NO PRODUCTS ----- */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.no-products h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.no-products p {
    color: var(--text-color);
    opacity: 0.6;
    margin-bottom: 1.2rem;
}

/* ============================================================ */
/* PAGE CONTAINER FOR PRODUCT DETAIL                            */
/* ============================================================ */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem 3rem;
}

/* ============================================================ */
/* TOAST NOTIFICATION (global)                                 */
/* ============================================================ */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 12px 24px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    max-width: 400px;
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 2rem 1.5rem;
    margin-top: 2rem;
    border-radius: 32px 32px 0 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.footer-brand p {
    color: var(--text-color);
    opacity: 0.6;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.footer-copy {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.5;
    font-family: 'Inter', sans-serif;
}

/* ============================================================ */
/* RESPONSIVE                                                   */
/* ============================================================ */
@media (max-width: 1024px) {
    .shop-hero {
        margin: 1.2rem 1rem 2rem;
        padding: 2.5rem 2rem;
    }
    .shop-hero-content h1 {
        font-size: 2.6rem;
    }
}

@media (max-width: 820px) {
    .shop-layout {
        flex-direction: column;
        padding: 0 1rem 2rem;
    }
    .filter-sidebar {
        position: relative;
        top: 0;
        flex: 1 1 auto;
        width: 100%;
    }
    .shop-hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        margin: 1rem 1rem 1.5rem;
    }
    .shop-hero-content p {
        max-width: 100%;
    }
    .shop-hero-stats {
        justify-content: center;
    }
    .shop-hero-image {
        flex: 0 0 120px;
        height: 120px;
        width: 120px;
    }

    /* Product Detail */
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .product-gallery {
        position: relative;
        top: 0;
    }
    .product-info-detail h1 {
        font-size: 1.8rem;
    }
    .product-price-large {
        font-size: 1.5rem;
    }
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    .product-actions-detail {
        flex-direction: column;
    }
    .product-actions-detail .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Quick View */
    .quick-view-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .quick-view-actions {
        flex-direction: column;
    }
    .quick-view-actions .btn {
        width: 100%;
        text-align: center;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.2rem;
    }
    .product-grid.list-view .product-card {
        flex-direction: column;
        align-items: stretch;
    }
    .product-grid.list-view .product-card .product-image-wrapper {
        width: 100%;
        height: auto;
        padding-top: 100%;
    }
    .product-grid.list-view .product-card .product-image-wrapper img {
        position: absolute;
    }
    .product-toolbar {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .product-card .product-actions-overlay {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 480px) {
    .shop-hero-content h1 {
        font-size: 2rem;
    }
    .shop-hero {
        padding: 1.5rem;
    }
    .shop-hero-stats {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .shop-hero-stats span {
        font-size: 0.75rem;
    }

    /* Product Detail */
    .product-main-image {
        aspect-ratio: 1/1;
    }
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    .thumbnail {
        width: 50px;
        height: 50px;
    }
    .image-counter {
        font-size: 0.7rem;
        padding: 2px 10px;
    }

    /* Quick View */
    .quick-view-box {
        padding: 1rem;
    }
    .qv-thumb {
        width: 50px;
        height: 50px;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
    .product-card .product-info {
        padding: 0.8rem;
    }
    .product-card .product-name {
        font-size: 0.85rem;
    }
    .product-card .product-price {
        font-size: 1rem;
    }
    .filter-sidebar {
        padding: 1.2rem;
    }
}