/* ============================================
   CATEGORY PAGE - FIXED VERSION WITH HIGHER SPECIFICITY
   Kids Book Platform - Production Grade
   Use !important to override all conflicting styles
   ============================================ */

/* ============================================
   LAYOUT FIX
   ============================================ */

.catalog-layout {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    gap: 40px !important;
    align-items: start !important;
}

/* ============================================
   DESKTOP VIEW - SQUARE BOOK CARDS (FORCED)
   ============================================ */

/* Override the product grid for square design */
.product-grid,
.products-area .product-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 24px !important;
}

/* Make product cards SQUARE and compact */
.product-card,
.products-area .product-card {
    background: var(--white) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    border: 3px solid var(--secondary) !important;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    box-shadow: 0 6px 16px rgba(255, 107, 157, 0.16) !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
}

.product-card:hover,
.products-area .product-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 16px 32px rgba(255, 107, 157, 0.24) !important;
}

/* CRITICAL: SQUARE IMAGE CONTAINER - Fixed 1:1 aspect ratio */
.product-image,
.product-card .product-image,
.products-area .product-card .product-image {
    position: relative !important;
    width: 100% !important;
    padding-top: 100% !important; /* THIS IS THE KEY - 1:1 SQUARE RATIO */
    height: 0 !important; /* Force aspect ratio */
    background: linear-gradient(135deg, #FFFFFF 0%, #FFE5EF 100%) !important;
    overflow: hidden !important;
}

.product-image img,
.product-card .product-image img,
.products-area .product-card .product-image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
}

.product-card:hover .product-image img,
.products-area .product-card:hover .product-image img {
    transform: scale(1.08) !important;
}

/* Compact product info section */
.product-info,
.product-card .product-info,
.products-area .product-card .product-info {
    padding: 16px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.product-category,
.product-card .product-category,
.products-area .product-card .product-category {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 4px !important;
}

.product-name,
.product-card .product-name,
.products-area .product-card .product-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--black) !important;
    line-height: 1.3 !important;
    font-family: var(--font-display) !important;
    min-height: auto !important;
    margin-bottom: 6px !important;
    
    /* Limit to 2 lines */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.product-author,
.product-card .product-author,
.products-area .product-card .product-author {
    font-size: 13px !important;
    color: var(--gray-600) !important;
    margin-bottom: 8px !important;
    font-style: italic !important;
    
    /* Limit to 1 line */
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.product-price,
.product-card .product-price,
.products-area .product-card .product-price {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    margin-top: auto !important;
    flex-wrap: wrap !important;
}

.current-price,
.product-price .current-price {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: var(--primary) !important;
    font-family: var(--font-display) !important;
}

.original-price,
.product-price .original-price {
    font-size: 14px !important;
    color: var(--gray-400) !important;
    text-decoration: line-through !important;
}

.discount-badge,
.product-price .discount-badge {
    display: inline-block !important;
    background: linear-gradient(135deg, #90EE90 0%, #76D076 100%) !important;
    color: var(--white) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 12px !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

/* Compact action button */
.add-to-cart-btn,
.product-card .add-to-cart-btn,
.products-area .product-card .add-to-cart-btn {
    width: 100% !important;
    padding: 12px !important;
    background: var(--gradient-primary) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 16px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    font-family: var(--font-display) !important;
    margin-top: 12px !important;
}

.add-to-cart-btn:hover,
.product-card .add-to-cart-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(255, 107, 157, 0.3) !important;
}

/* Badges positioning */
.book-badge,
.product-image .book-badge {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    padding: 4px 10px !important;
    background: linear-gradient(135deg, #90EE90 0%, #76D076 100%) !important;
    border-radius: 20px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    z-index: 2 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.age-badge,
.product-image .age-badge {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    padding: 4px 10px !important;
    background: linear-gradient(135deg, #D4A5D9 0%, #C090C5 100%) !important;
    border-radius: 20px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    z-index: 2 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

/* ============================================
   FILTER SECTION - BETTER STYLING
   ============================================ */

/* Desktop sidebar filters - blend better */
.sidebar-filters {
    position: sticky !important;
    top: 100px !important;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF9F0 100%) !important;
    border-radius: 24px !important;
    padding: 24px !important;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.12) !important;
    border: 3px solid #FFE5EF !important;
}

.sidebar-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
    border-bottom: 2px solid #FFE5EF !important;
}

.sidebar-title {
    font-family: var(--font-display) !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: var(--primary) !important;
}

.reset-link {
    font-size: 13px !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    transition: color 0.3s ease !important;
}

.reset-link:hover {
    color: var(--primary-dark) !important;
}

/* Filter groups styling */
.filter-group {
    margin-bottom: 20px !important;
}

.filter-label,
.filter-group .filter-label {
    font-family: var(--font-display) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--black) !important;
    margin-bottom: 10px !important;
    display: block !important;
}

.filter-group select,
.filter-group input[type="number"] {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 2px solid #FFE5EF !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    background: var(--white) !important;
    color: var(--black) !important;
    transition: all 0.3s ease !important;
    font-family: var(--font-body) !important;
}

.filter-group select:focus,
.filter-group input[type="number"]:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1) !important;
}

/* Age pills */
.age-pills-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.age-pill {
    display: none !important;
}

.age-pill-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 14px !important;
    background: #FFF9F0 !important;
    border: 2px solid #FFE5EF !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--gray-700) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    user-select: none !important;
}

.age-pill-label:hover {
    background: #FFE5EF !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    transform: translateY(-2px) !important;
}

.age-pill:checked + .age-pill-label {
    background: var(--gradient-primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
    box-shadow: 0 6px 16px rgba(255, 107, 157, 0.3) !important;
    transform: scale(1.05) !important;
}

/* Apply button */
.sidebar-apply-btn {
    width: 100% !important;
    padding: 14px !important;
    background: var(--gradient-primary) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 16px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    font-family: var(--font-display) !important;
    margin-top: 20px !important;
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.3) !important;
}

.sidebar-apply-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4) !important;
}

/* Hide mobile trigger on desktop */
.mobile-filter-trigger {
    display: none !important;
}

/* ============================================
   MOBILE VIEW - OPTIMIZED LAYOUT
   ============================================ */

@media (max-width: 1024px) {
    /* Hide desktop sidebar */
    .sidebar-filters {
        display: none !important;
    }
    
    /* Single column layout */
    .catalog-layout {
        grid-template-columns: 1fr !important;
    }
    
    /* Mobile filter trigger - COMPACT & ON SAME LINE */
    .mobile-filter-trigger {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        position: sticky !important;
        top: 80px !important;
        z-index: 100 !important;
        background: var(--white) !important;
        padding: 12px 0 !important;
        margin-bottom: 20px !important;
        border-bottom: 3px solid #FFE5EF !important;
    }
    
    /* Filter button - SMALL */
    .mobile-filter-btn {
        padding: 10px 16px !important;
        background: var(--gradient-primary) !important;
        color: var(--white) !important;
        border: none !important;
        border-radius: 20px !important;
        font-weight: 700 !important;
        font-size: 14px !important;
        cursor: pointer !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        transition: all 0.3s ease !important;
        font-family: var(--font-display) !important;
        white-space: nowrap !important;
        box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3) !important;
    }
    
    .mobile-filter-btn svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    .mobile-filter-btn:active {
        transform: scale(0.96) !important;
    }
    
    /* Product count on same line */
    .product-count-wrapper {
        text-align: left !important;
        margin-bottom: 0 !important;
        flex: 1 !important;
    }
    
    .product-count-text {
        font-family: var(--font-display) !important;
        font-size: 15px !important;
        color: var(--gray-700) !important;
        font-weight: 600 !important;
    }
    
    .product-count-text strong {
        color: var(--primary) !important;
        font-size: 15px !important;
    }
    
    /* 2x2 GRID - 4 books per view on mobile */
    .product-grid,
    .products-area .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        margin-top: 16px !important;
    }
    
    /* Compact square cards for mobile */
    .product-card,
    .products-area .product-card {
        border-radius: 16px !important;
        border-width: 2px !important;
    }
    
    /* CRITICAL: Keep square ratio on mobile */
    .product-image,
    .product-card .product-image,
    .products-area .product-card .product-image {
        padding-top: 100% !important; /* Keep 1:1 square ratio */
        height: 0 !important;
    }
    
    .product-info,
    .product-card .product-info {
        padding: 12px !important;
        gap: 6px !important;
    }
    
    .product-category,
    .product-card .product-category {
        font-size: 10px !important;
        margin-bottom: 2px !important;
    }
    
    .product-name,
    .product-card .product-name {
        font-size: 13px !important;
        margin-bottom: 4px !important;
        -webkit-line-clamp: 2 !important;
    }
    
    .product-author,
    .product-card .product-author {
        font-size: 11px !important;
        margin-bottom: 6px !important;
    }
    
    .current-price,
    .product-price .current-price {
        font-size: 16px !important;
    }
    
    .original-price,
    .product-price .original-price {
        font-size: 12px !important;
    }
    
    .discount-badge,
    .product-price .discount-badge {
        font-size: 9px !important;
        padding: 2px 6px !important;
    }
    
    .add-to-cart-btn,
    .product-card .add-to-cart-btn {
        padding: 10px !important;
        font-size: 12px !important;
        margin-top: 8px !important;
        border-radius: 12px !important;
    }
    
    /* Badges for mobile */
    .book-badge,
    .age-badge,
    .product-image .book-badge,
    .product-image .age-badge {
        top: 8px !important;
        padding: 3px 8px !important;
        font-size: 9px !important;
    }
    
    .book-badge,
    .product-image .book-badge {
        left: 8px !important;
    }
    
    .age-badge,
    .product-image .age-badge {
        right: 8px !important;
    }
    
    /* Filter drawer overlay */
    .filter-drawer-overlay {
        display: none;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 9998 !important;
        opacity: 0 !important;
        transition: opacity 0.3s ease !important;
    }
    
    .filter-drawer-overlay.active {
        display: block !important;
        opacity: 1 !important;
    }
    
    /* Filter drawer */
    .filter-drawer {
        display: none;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--white) !important;
        border-radius: 24px 24px 0 0 !important;
        padding: 24px !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        z-index: 9999 !important;
        transform: translateY(100%) !important;
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15) !important;
    }
    
    .filter-drawer.active {
        display: block !important;
        transform: translateY(0) !important;
    }
    
    .drawer-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-bottom: 24px !important;
        padding-bottom: 16px !important;
        border-bottom: 3px solid #FFE5EF !important;
    }
    
    .drawer-title {
        font-family: var(--font-display) !important;
        font-size: 22px !important;
        font-weight: 800 !important;
        color: var(--primary) !important;
    }
    
    .drawer-close-btn {
        width: 40px !important;
        height: 40px !important;
        background: #FFE5EF !important;
        border: none !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
    }
    
    .drawer-close-btn:hover {
        background: var(--primary) !important;
        transform: rotate(90deg) !important;
    }
    
    .drawer-close-btn svg {
        width: 18px !important;
        height: 18px !important;
        stroke: var(--primary) !important;
    }
    
    .drawer-close-btn:hover svg {
        stroke: var(--white) !important;
    }
    
    .drawer-actions {
        display: flex !important;
        gap: 12px !important;
        margin-top: 24px !important;
        padding-top: 20px !important;
        border-top: 2px solid #F5F5F0 !important;
        position: sticky !important;
        bottom: 0 !important;
        background: var(--white) !important;
    }
    
    .drawer-reset-btn,
    .drawer-apply-btn {
        flex: 1 !important;
        padding: 14px !important;
        border: none !important;
        border-radius: 16px !important;
        font-weight: 700 !important;
        font-size: 15px !important;
        cursor: pointer !important;
        font-family: var(--font-display) !important;
        transition: all 0.3s ease !important;
    }
    
    .drawer-reset-btn {
        background: var(--white) !important;
        color: var(--primary) !important;
        border: 3px solid var(--primary) !important;
    }
    
    .drawer-apply-btn {
        background: var(--gradient-primary) !important;
        color: var(--white) !important;
        box-shadow: 0 6px 20px rgba(255, 107, 157, 0.3) !important;
    }
    
    .drawer-apply-btn:active {
        transform: scale(0.96) !important;
    }
}

/* ============================================
   EXTRA SMALL MOBILE (< 400px)
   ============================================ */

@media (max-width: 400px) {
    .product-grid,
    .products-area .product-grid {
        gap: 10px !important;
    }
    
    .product-info,
    .product-card .product-info {
        padding: 10px !important;
    }
    
    .product-name,
    .product-card .product-name {
        font-size: 12px !important;
    }
    
    .current-price,
    .product-price .current-price {
        font-size: 15px !important;
    }
    
    .add-to-cart-btn,
    .product-card .add-to-cart-btn {
        font-size: 11px !important;
        padding: 8px !important;
    }
}

/* ============================================
   TABLET VIEW (768px - 1024px)
   ============================================ */

@media (min-width: 768px) and (max-width: 1024px) {
    .product-grid,
    .products-area .product-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
    }
    
    .mobile-filter-trigger {
        padding: 14px 0 !important;
    }
    
    .mobile-filter-btn {
        padding: 12px 20px !important;
        font-size: 15px !important;
    }
    
    .product-count-text {
        font-size: 16px !important;
    }
}

/* ============================================
   LARGE DESKTOP (> 1200px)
   ============================================ */

@media (min-width: 1200px) {
    .product-grid,
    .products-area .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
        gap: 28px !important;
    }
    
    .catalog-layout {
        grid-template-columns: 300px 1fr !important;
    }
}
/* ============================================
   FINAL FIXES - Add to category_fixes.css
   Pagination + Hide Mobile Drawer on Desktop
   ============================================ */

/* ============================================
   FIX 1: HIDE MOBILE DRAWER ON DESKTOP
   ============================================ */

/* Force hide drawer elements on desktop */
.filter-drawer-overlay,
.filter-drawer {
    display: none !important;
}

/* Only show when active on mobile */
@media (max-width: 1024px) {
    .filter-drawer-overlay.active,
    .filter-drawer.active {
        display: block !important;
    }
}

/* ============================================
   FIX 2: PAGINATION STYLING
   ============================================ */

/* Pagination container */
.pagination-container,
.pagination-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 48px !important;
    padding: 24px 0 !important;
}

/* Pagination */
.pagination {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Page links */
.pagination .page-link,
.pagination a,
.pagination span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 12px !important;
    background: var(--white) !important;
    border: 2px solid #FFE5EF !important;
    border-radius: 12px !important;
    color: var(--gray-700) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    font-family: var(--font-display) !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    cursor: pointer !important;
}

/* Hover state */
.pagination .page-link:hover,
.pagination a:hover {
    background: #FFE5EF !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    transform: translateY(-2px) !important;
}

/* Active/Current page */
.pagination .active .page-link,
.pagination .current,
.pagination .page-link.active,
.pagination a.active {
    background: var(--gradient-primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
    box-shadow: 0 6px 16px rgba(255, 107, 157, 0.3) !important;
    transform: scale(1.05) !important;
}

/* Disabled state */
.pagination .disabled .page-link,
.pagination .disabled,
.pagination .page-link.disabled {
    background: var(--gray-100) !important;
    border-color: var(--gray-200) !important;
    color: var(--gray-400) !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
}

.pagination .disabled .page-link:hover,
.pagination .page-link.disabled:hover {
    transform: none !important;
}

/* Previous/Next buttons */
.pagination .previous .page-link,
.pagination .next .page-link,
.pagination .prev,
.pagination .next {
    font-weight: 700 !important;
    padding: 0 16px !important;
}

/* Ellipsis */
.pagination .ellipsis,
.pagination .dots {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    height: 44px !important;
    color: var(--gray-500) !important;
    font-weight: 600 !important;
    cursor: default !important;
}

/* ============================================
   MOBILE PAGINATION
   ============================================ */

@media (max-width: 768px) {
    .pagination-container,
    .pagination-wrapper {
        margin-top: 32px !important;
        padding: 16px 0 !important;
    }
    
    .pagination {
        gap: 6px !important;
        flex-wrap: wrap !important;
    }
    
    .pagination .page-link,
    .pagination a,
    .pagination span {
        min-width: 40px !important;
        height: 40px !important;
        font-size: 14px !important;
        padding: 0 10px !important;
    }
    
    /* Hide some page numbers on mobile, show only nearby pages */
    .pagination .page-item:not(.previous):not(.next):not(.active) {
        display: none !important;
    }
    
    /* Show first, last, and 2 pages around current */
    .pagination .page-item:first-child,
    .pagination .page-item:last-child,
    .pagination .page-item.active,
    .pagination .page-item.active + .page-item,
    .pagination .active + li,
    .pagination .page-item:has(+ .active),
    .pagination li:has(+ .active) {
        display: flex !important;
    }
}

/* ============================================
   NO PRODUCTS / EMPTY STATE
   ============================================ */

.no-products {
    text-align: center !important;
    padding: 64px 32px !important;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFE5EF 100%) !important;
    border-radius: 24px !important;
    border: 3px dashed #FFE5EF !important;
    margin-top: 32px !important;
}

.no-products-icon {
    font-size: 80px !important;
    margin-bottom: 24px !important;
    animation: bookFloat 3s ease-in-out infinite !important;
}

@keyframes bookFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.no-products h2 {
    font-family: var(--font-display) !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: var(--primary) !important;
    margin-bottom: 12px !important;
}

.no-products p {
    font-size: 16px !important;
    color: var(--gray-600) !important;
    margin-bottom: 32px !important;
    line-height: 1.6 !important;
}

.no-products .btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 14px 28px !important;
    background: var(--gradient-primary) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    font-family: var(--font-display) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.3) !important;
}

.no-products .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4) !important;
}

/* ============================================
   PAGE HEADER IMPROVEMENTS
   ============================================ */

.page-header {
    background: var(--gradient-rainbow) !important;
    padding: 48px 0 !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 40px !important;
}

.page-title {
    font-family: var(--font-display) !important;
    font-size: clamp(32px, 5vw, 48px) !important;
    font-weight: 800 !important;
    color: var(--white) !important;
    margin-bottom: 12px !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.page-description {
    font-size: 18px !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500 !important;
}

@media (max-width: 768px) {
    .page-header {
        padding: 32px 0 !important;
        margin-bottom: 24px !important;
    }
    
    .page-title {
        font-size: 28px !important;
        margin-bottom: 8px !important;
    }
    
    .page-description {
        font-size: 15px !important;
    }
}

/* ============================================
   LOADING STATE (BONUS)
   ============================================ */

.loading-skeleton .product-card {
    animation: pulse 1.5s ease-in-out infinite !important;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================
   SMOOTH SCROLL BEHAVIOR
   ============================================ */

html {
    scroll-behavior: smooth !important;
}

/* Scroll to top button (if you add one) */
.scroll-to-top {
    position: fixed !important;
    bottom: 100px !important;
    right: 24px !important;
    width: 50px !important;
    height: 50px !important;
    background: var(--gradient-primary) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--white) !important;
    cursor: pointer !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    z-index: 999 !important;
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.3) !important;
}

.scroll-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
}

.scroll-to-top:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4) !important;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 80px !important;
        right: 16px !important;
        width: 44px !important;
        height: 44px !important;
    }
}