/* ==========================================
   ISTORE UI/UX ENHANCEMENTS
   Modern E-commerce Design System
   ========================================== */

/* ==========================================
   1. TYPOGRAPHY IMPROVEMENTS
   ========================================== */

/* Import Google Fonts (add to header.php) */
/* <link href="https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Outfit:wght@600;700;800&display=swap" rel="stylesheet"> */

:root {
    /* Premium Font Stack */
    --font-heading: 'DM Serif Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', 'DM Sans', system-ui, sans-serif;
    --font-price: 'Outfit', 'Lexend', sans-serif;
    
    /* Enhanced Color Palette */
    --primary: #0F4C81;
    --primary-light: #1A6BB3;
    --primary-dark: #0A3A63;
    --accent: #F59E0B;
    --accent-light: #FBBF24;
    --accent-dark: #D97706;
    
    /* Softer Backgrounds */
    --bg-primary: #FAFAFA;
    --bg-secondary: #F3F4F6;
    --bg-card: #FFFFFF;
    --bg-elevated: #FFFFFF;
    
    /* Text Hierarchy */
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-muted: #9CA3AF;
    --text-light: #D1D5DB;
    
    /* Enhanced Status Colors */
    --success: #059669;
    --success-light: #D1FAE5;
    --warning: #F59E0B;
    --warning-light: #FEF3C7;
    --error: #DC2626;
    --error-light: #FEE2E2;
    --info: #3B82F6;
    --info-light: #DBEAFE;
    
    /* Premium Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(245, 158, 11, 0.25);
    --shadow-glow-blue: 0 0 20px rgba(15, 76, 129, 0.25);
    
    /* Spacing Scale */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-bounce: 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ==========================================
   2. GLOBAL ENHANCEMENTS
   ========================================== */

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Better focus states */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Selection styling */
::selection {
    background: var(--accent-light);
    color: var(--text-primary);
}

/* ==========================================
   3. PRODUCT CARDS - PREMIUM DESIGN
   ========================================== */

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: transparent;
}

.product-card .img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
}

.product-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .img-wrap img {
    transform: scale(1.08);
}

/* Product badges */
.product-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-badge.sale {
    background: linear-gradient(135deg, var(--error), #B91C1C);
    color: white;
}

.product-badge.new {
    background: linear-gradient(135deg, var(--success), #047857);
    color: white;
}

.product-badge.trending {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
}

/* Quick actions overlay */
.product-card .quick-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    opacity: 0;
    transform: translateY(100%);
    transition: all var(--transition-base);
}

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

.quick-actions .action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

/* Product info */
.product-card .card-body {
    padding: var(--space-md);
}

.product-card .card-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .card-title a {
    color: inherit;
    text-decoration: none;
}

.product-card .card-title a:hover {
    color: var(--primary);
}

/* Price styling */
.price-group {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.price-main {
    font-family: var(--font-price);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: none !important;
}

.price-original {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-discount {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--error);
    background: var(--error-light);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

/* ==========================================
   4. CATEGORY TILES - MODERN DESIGN
   ========================================== */

.category-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-xl);
    overflow: visible;
    transition: all var(--transition-base);
}

.category-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.category-tile .category-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.category-tile .category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-tile:hover .category-image {
    transform: scale(1.1);
}

.category-tile .category-name {
    position: relative;
    padding: var(--space-sm) 0;
    z-index: 2;
    text-align: center;
}

.category-tile .category-name span {
    color: var(--amazon-dark-blue);
    font-weight: 600;
    font-size: 1rem;
}

/* ==========================================
   5. BUTTONS - ENHANCED STYLING
   ========================================== */

.btn {
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    padding: 10px 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border: none;
    color: white;
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Add to Cart button */
.btn-add-cart {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    transition: all var(--transition-base);
}

.btn-add-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.35);
}

.btn-add-cart:active {
    transform: translateY(-1px);
}

/* ==========================================
   6. FORM ELEMENTS - PREMIUM FEEL
   ========================================== */

.form-control,
.form-select {
    border-radius: var(--radius-md);
    border: 2px solid var(--bg-secondary);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

/* ==========================================
   7. SECTION HEADERS
   ========================================== */

.section-header {
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: var(--radius-full);
}

.section-header .view-all-btn {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.section-header .view-all-btn:hover {
    color: var(--primary-light);
}

.section-header .view-all-btn::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.section-header .view-all-btn:hover::after {
    transform: translateX(4px);
}

/* ==========================================
   8. TRUST INDICATORS BAR
   ========================================== */

.trust-bar {
    background: linear-gradient(135deg, #0F4C81 0%, #1A6BB3 100%);
    padding: 20px 0;
    margin-top: -20px;
    position: relative;
    z-index: 10;
}

.trust-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    position: relative;
    z-index: 1;
}

.trust-item i {
    font-size: 2rem;
    color: #FBBF24;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.trust-item-text {
    text-align: center;
}

.trust-item-text h6 {
    margin: 0 0 2px 0;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.trust-item-text p {
    margin: 0;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
}

/* Responsive trust bar */
@media (max-width: 768px) {
    .trust-bar {
        padding: 16px 0;
    }
    
    .trust-item {
        padding: 8px 4px;
    }
    
    .trust-item i {
        font-size: 1.5rem;
    }
    
    .trust-item-text h6 {
        font-size: 0.75rem;
    }
    
    .trust-item-text p {
        font-size: 0.65rem;
    }
}

/* ==========================================
   9. PRODUCT PAGE ENHANCEMENTS
   ========================================== */

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

.product-main-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-secondary);
    aspect-ratio: 1;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

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

.product-thumbnails {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    overflow-x: auto;
    padding-bottom: var(--space-sm);
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 3px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--primary);
    transform: scale(1.05);
}

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

/* Product info section */
.product-info h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.product-price-display {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.product-price-display .current-price {
    font-family: var(--font-price);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.product-price-display .original-price {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-price-display .discount-percentage {
    background: linear-gradient(135deg, var(--error), #B91C1C);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
}

/* Variant selectors */
.variant-selector {
    margin-bottom: var(--space-lg);
}

.variant-selector label {
    font-weight: 600;
    margin-bottom: var(--space-sm);
    display: block;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.variant-option {
    padding: 10px 20px;
    border: 2px solid var(--bg-secondary);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: 500;
}

.variant-option:hover {
    border-color: var(--primary-light);
}

.variant-option.selected {
    border-color: var(--primary);
    background: rgba(15, 76, 129, 0.08);
}

/* Color swatches */
.color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid var(--bg-card);
    box-shadow: 0 0 0 2px var(--bg-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.color-swatch:hover,
.color-swatch.selected {
    box-shadow: 0 0 0 3px var(--primary);
    transform: scale(1.1);
}

/* Stock indicator */
.stock-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--success-light);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.stock-indicator.low-stock {
    background: var(--warning-light);
}

.stock-indicator.out-of-stock {
    background: var(--error-light);
}

.stock-indicator i {
    font-size: 1.25rem;
}

.stock-indicator.in-stock i { color: var(--success); }
.stock-indicator.low-stock i { color: var(--warning); }
.stock-indicator.out-of-stock i { color: var(--error); }

/* ==========================================
   10. REVIEW SECTION
   ========================================== */

.review-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    border: 1px solid var(--bg-secondary);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.review-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.review-rating {
    color: var(--accent);
    font-size: 1rem;
}

/* ==========================================
   11. ANIMATIONS
   ========================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

.animate-fade-in {
    animation: fadeIn var(--transition-base) ease-out;
}

.animate-slide-up {
    animation: slideUp var(--transition-slow) ease-out;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-card) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

/* ==========================================
   12. RESPONSIVE ENHANCEMENTS
   ========================================== */

@media (max-width: 768px) {
    :root {
        --space-lg: 20px;
        --space-xl: 28px;
    }
    
    .product-card:hover {
        transform: none;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .product-info h1 {
        font-size: 1.5rem;
    }
    
    .product-price-display .current-price {
        font-size: 2rem;
    }
    
    .btn-add-cart {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 0;
        z-index: 100;
        padding: 16px;
    }
}

/* ==========================================
   13. DARK MODE SUPPORT (Optional)
   ========================================== */

@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #0F172A;
        --bg-secondary: #1E293B;
        --bg-card: #1E293B;
        --text-primary: #F8FAFC;
        --text-secondary: #CBD5E1;
        --text-muted: #64748B;
    }
}

/* ==========================================
   14. SCROLL TO TOP BUTTON
   ========================================== */

.scroll-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary, #0F4C81) 0%, #1A6BB3 100%);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(15, 76, 129, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 30px rgba(15, 76, 129, 0.5);
}

.scroll-to-top i {
    font-size: 1.2rem;
}

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

/* ==========================================
   15. MOBILE BOTTOM NAVIGATION ENHANCEMENTS
   ========================================== */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 1px solid #E5E7EB;
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #6B7280;
    font-size: 0.7rem;
    padding: 4px 12px;
    position: relative;
    transition: all 0.2s ease;
}

.bottom-nav a i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.bottom-nav a.active,
.bottom-nav a:hover {
    color: var(--primary, #0F4C81);
}

.bottom-nav a.active i {
    transform: scale(1.1);
}

.mobile-badge {
    position: absolute;
    top: -2px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    background: #DC2626;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ==========================================
   16. HEADER WISHLIST ICON
   ========================================== */

.wishlist-nav-btn {
    position: relative;
    padding: 8px 12px !important;
}

.wishlist-nav-btn i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.wishlist-nav-btn:hover i {
    color: #DC2626 !important;
    transform: scale(1.15);
}

.wishlist-counter {
    font-size: 0.7rem !important;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================
   17. ENHANCED PRODUCT CARD WISHLIST BUTTON
   ========================================== */

.product-card .wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

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

.product-card .wishlist-btn i {
    font-size: 1rem;
    color: #9CA3AF;
    transition: all 0.3s ease;
}

.product-card .wishlist-btn:hover {
    background: white;
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.product-card .wishlist-btn:hover i {
    color: #DC2626;
}

.product-card .wishlist-btn.active {
    background: #DC2626;
}

.product-card .wishlist-btn.active i {
    color: white;
}

.product-card .wishlist-btn.active:hover {
    background: #B91C1C;
}

/* Mobile: always show wishlist button */
@media (max-width: 768px) {
    .product-card .wishlist-btn {
        opacity: 1;
        transform: scale(1);
        width: 32px;
        height: 32px;
    }
    
    .product-card .wishlist-btn i {
        font-size: 0.9rem;
    }
}

/* ==========================================
   18. TOAST NOTIFICATIONS ENHANCEMENT
   ========================================== */

.toast-container {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 9999;
}

.custom-toast {
    background: white;
    border-radius: 12px;
    padding: 14px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    animation: toastSlideIn 0.3s ease;
    max-width: 320px;
}

.custom-toast.success {
    border-left: 4px solid #059669;
}

.custom-toast.error {
    border-left: 4px solid #DC2626;
}

.custom-toast.warning {
    border-left: 4px solid #F59E0B;
}

.custom-toast i {
    font-size: 1.2rem;
}

.custom-toast.success i { color: #059669; }
.custom-toast.error i { color: #DC2626; }
.custom-toast.warning i { color: #F59E0B; }

.custom-toast-message {
    flex: 1;
    font-size: 0.9rem;
    color: #374151;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ==========================================
   19. QUICK VIEW BUTTON ENHANCEMENT
   ========================================== */

.product-card .quick-view {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    z-index: 4;
}

.product-card:hover .quick-view {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.product-card .quick-view:hover {
    background: var(--primary, #0F4C81);
}

/* ==========================================
   20. GOOGLE LOGIN BUTTON
   ========================================== */

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #444;
    border: 1px solid #ddd;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #ccc;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-google svg {
    flex-shrink: 0;
}

/* Divider with text */
.divider-with-text {
    display: flex;
    align-items: center;
    text-align: center;
    color: #999;
    font-size: 13px;
}

.divider-with-text::before,
.divider-with-text::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.divider-with-text span {
    padding: 0 15px;
}

