/* ========================================
   LUXURY PRODUCT CARDS - PROPER FLIP CARD SYSTEM
   Fixed: Wishlist back only, smaller names, mobile no-flip with icons
   ======================================== */

/* Import luxury fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap');

/* ========================================
   GLOBAL PRODUCT GRID LAYOUTS - UPDATED RESPONSIVE STRUCTURE
   ======================================== */

.luxury-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Desktop: 4 columns */
    gap: 1.5rem;
    margin: 2rem 0;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

/* Tablet 2-column layout */
@media (max-width: 1199px) and (min-width: 769px) {
    .luxury-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
}

/* Mobile 1-column layout */
@media (max-width: 768px) {
    .luxury-products-grid {
        grid-template-columns: 1fr !important; /* Single column for mobile */
        gap: 1.5rem !important;
        padding: 0 0.75rem !important;
        width: 100% !important;
        max-width: none !important; /* Remove max-width restriction */
        margin: 0 !important;
    }
    
    /* Single column for wishlist on mobile (same as main) */
    .wishlist .luxury-products-grid {
        grid-template-columns: 1fr !important;
        max-width: none !important; /* Remove max-width restriction */
        width: 100% !important;
        margin: 0 !important;
        padding: 0 0.75rem !important;
    }
}

/* ========================================
   FLIP CARD STRUCTURE (DESKTOP ONLY)
   ======================================== */

.luxury-product-card-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    perspective: 1000px;
}

.luxury-product-card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* DESKTOP ONLY: Hover flip effect - Fixed for stability */
@media (min-width: 769px) {
    .luxury-product-card-wrapper:hover .luxury-product-card {
        transform: rotateY(-180deg);
    }
    
    /* Add stabilization delay to prevent rapid flipping */
    .luxury-product-card-wrapper {
        transition: none;
    }
    
    .luxury-product-card {
        transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
}

/* MOBILE: Disable flip effect */
@media (max-width: 768px) {
    .luxury-product-card {
        transform: none !important;
        transition: none !important;
        transform-style: flat !important;
    }
    
    .luxury-product-card-wrapper:hover .luxury-product-card {
        transform: none !important;
    }
}

/* ========================================
   CARD SIDES (FRONT & BACK)
   ======================================== */

.luxury-card-front,
.luxury-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}

/* FRONT SIDE - Normal product display */
.luxury-card-front {
    transform: rotateY(0deg);
    background: white;
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
}

/* BACK SIDE - Flipped content (DESKTOP ONLY) */
.luxury-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #7C0A02 0%, #5a0701 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: white;
    text-align: center;
}

/* MOBILE: Hide back side completely */
@media (max-width: 768px) {
    .luxury-card-back {
        display: none !important;
    }
}

/* ========================================
   FRONT SIDE CONTENT
   ======================================== */

.luxury-product-image {
    position: relative;
    width: 100%;
    height: 55%; /* Reduced from 60% for smaller images in shop */
    overflow: hidden;
    background: #f8f9fa;
}

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

/* Sale Badge - Front side only */
.luxury-sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #d4af37;
    color: #000;
    padding: 6px 12px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

/* Out of Stock Badge - Front side only */
.luxury-out-of-stock-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #6b7280;
    color: #fff;
    padding: 6px 12px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.4);
}

/* WISHLIST BUTTON - DESKTOP: Hidden on front, visible on back only */
@media (min-width: 769px) {
    .luxury-card-front .luxury-wishlist-container {
        display: none !important;
    }
}

/* MOBILE: Show wishlist on front (since no back) */
@media (max-width: 768px) {
    .luxury-card-front .luxury-wishlist-container {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 20;
    }
    
    .luxury-card-front .shop-lottie-wishlist {
        width: 35px;
        height: 35px;
        background: transparent;
        border: none;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: none;
        backdrop-filter: none;
    }
}

/* Product Info - Front side */
.luxury-product-info {
    padding: 1.5rem;
    height: 45%; /* Increased from 40% to accommodate smaller image */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: white;
    position: relative;
    /* Enhanced mobile spacing */
    min-height: 120px; /* Minimum height to ensure proper text display */
}

/* Mobile specific adjustments for product info */
@media (max-width: 768px) {
    .luxury-product-info {
        height: 50% !important; /* Increased height for mobile */
        min-height: 140px !important; /* Larger minimum height for mobile */
        padding: 1rem 1.2rem 2.5rem 1.2rem !important; /* More bottom padding for action buttons */
        justify-content: flex-start !important; /* Align to top for better text positioning */
        padding-top: 1.2rem !important;
    }
}

@media (max-width: 480px) {
    .luxury-product-info {
        height: 52% !important; /* Even more height for small screens */
        min-height: 150px !important; /* Larger minimum height for small mobile */
        padding: 1rem 1rem 2.8rem 1rem !important; /* More generous padding */
    }
}

@media (max-width: 360px) {
    .luxury-product-info {
        height: 55% !important; /* Maximum height for very small screens */
        min-height: 160px !important; /* Maximum minimum height for tiny screens */
        padding: 0.8rem 0.8rem 3rem 0.8rem !important; /* Adjusted padding for tiny screens */
    }
}

/* ULTRA-SPECIFIC PRODUCT NAME SELECTORS */
html body .luxury-products-grid .luxury-product-card-wrapper .luxury-product-card .luxury-card-front .luxury-product-info .luxury-product-name,
html body .luxury-products-grid .luxury-product-card-wrapper .luxury-product-card .luxury-product-info .luxury-product-name,
html body .luxury-product-card .luxury-product-info .luxury-product-name,
html body .luxury-product-info .luxury-product-name,
.luxury-products-grid .luxury-product-card-wrapper .luxury-product-card .luxury-card-front .luxury-product-info .luxury-product-name,
.luxury-product-card .luxury-product-info .luxury-product-name,
.luxury-product-info .luxury-product-name,
.luxury-product-name {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.1rem !important; /* Increased from 0.9rem for better readability */
    font-weight: 600 !important;
    color: #7C0A02 !important; /* Primary red color instead of blue-gray */
    margin-bottom: 0.5rem !important;
    line-height: 1.3 !important;
    /* Text clamping for long names */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important; /* Limit to 2 lines */
    line-clamp: 2 !important; /* Standard property for compatibility */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-height: 2.6em !important; /* Fallback for non-webkit browsers */
    word-wrap: break-word !important;
    hyphens: auto !important;
}

.luxury-product-price {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem; /* Slightly reduced */
    font-weight: 700;
    color: #7C0A02;
    margin-bottom: 1.5rem !important; /* Much more space for mobile icons */
}

.luxury-product-price .original-price {
    color: #6c757d;
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.luxury-product-price .sale-price,
.luxury-product-price .current-price {
    color: #7C0A02;
    font-weight: 700;
}

/* ========================================
   MOBILE ACTION ICONS (NO FLIP) - ENHANCED FOR SINGLE COLUMN LAYOUT
   ======================================== */

@media (max-width: 768px) {
    .mobile-action-icons {
        display: flex;
        justify-content: space-between; /* Equal spacing */
        align-items: center;
        position: absolute;
        bottom: 12px; /* More space from bottom */
        left: 15px;
        right: 15px;
        width: calc(100% - 30px); /* Full width minus padding */
        padding: 0;
        margin: 0;
        gap: 12px; /* Larger gap for single column */
    }
    
    /* When add to cart is hidden (out of stock), redistribute space */
    .mobile-action-icons:not(:has(.mobile-add-to-cart)) {
        justify-content: space-around; /* Distribute remaining buttons evenly */
        gap: 20px; /* More space between the two buttons */
    }
    
    .shop-lottie-wishlist,
    .mobile-add-to-cart,
    .mobile-quick-view {
        width: 48px !important; /* Larger for single column layout */
        height: 48px !important;
        border-radius: 50%;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 1.1rem; /* Larger text */
        border: none;
        backdrop-filter: blur(10px);
        flex: 0 0 48px; /* Fixed size, no grow/shrink */
    }
    
    /* Specific sizing adjustments for individual buttons */
    .mobile-add-to-cart {
        height: 40px !important; /* Slightly smaller height but still bigger than before */
        flex: 0 0 48px; /* Keep width, adjust flex basis for height */
    }
    
    .mobile-quick-view {
        width: 40px !important; /* Slightly smaller width but still bigger than before */
        flex: 0 0 40px; /* Adjust flex basis for width */
    }
    
    .shop-lottie-wishlist {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        /* Ensure Lottie animation is centered */
        position: relative !important;
    }
    
    /* Center the Lottie animation content */
    .shop-lottie-wishlist > * {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    .mobile-add-to-cart {
        background: #7C0A02;
        color: white;
        animation: pulse-cart 2s infinite;
    }
    
    .mobile-quick-view {
        background: rgba(255, 255, 255, 0.95);
        color: #7C0A02;
        border: 1px solid rgba(212, 175, 55, 0.3);
    }
    
    .mobile-add-to-cart:hover,
    .mobile-quick-view:hover {
        transform: scale(1.08); /* Slightly more aggressive hover for larger buttons */
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    }
    
    /* Wishlist animations have NO hover effects */
    .shop-lottie-wishlist:hover {
        transform: none !important;
        box-shadow: none !important;
        background: transparent !important;
        border: none !important;
    }
    
    /* OVERRIDE: Remove circle from wishlist animations specifically */
    .shop-lottie-wishlist {
        border-radius: 0 !important;
        background: transparent !important;
        backdrop-filter: none !important;
        border: none !important;
    }
    
    @keyframes pulse-cart {
        0% { box-shadow: 0 0 0 0 rgba(124, 10, 2, 0.7); }
        70% { box-shadow: 0 0 0 10px rgba(124, 10, 2, 0); }
        100% { box-shadow: 0 0 0 0 rgba(124, 10, 2, 0); }
    }
    
    /* Better spacing on small screens */
    .mobile-action-icons {
        bottom: 8px; /* Adjusted spacing */
        left: 10px;
        right: 10px;
        width: calc(100% - 20px); /* Adjusted padding */
        gap: 8px; /* Adjusted gap */
    }
}

/* Hide mobile icons on desktop */
@media (min-width: 769px) {
    .mobile-action-icons {
        display: none !important;
    }
}

/* ========================================
   DEBUGGING & ULTRA-HIGH SPECIFICITY HOVER - REMOVED OLD STYLES
   ======================================== */

/* Removed old .luxury-save-wishlist-btn styles to prevent conflicts */

/* ========================================
   BACK SIDE CONTENT (DESKTOP ONLY)
   ======================================== */

.luxury-card-back-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

/* Back side buttons - DESKTOP ONLY */
.luxury-back-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 200px;
}

/* Save to Wishlist Button - UPDATED WITH SPARKLE ANIMATION */
.luxury-card-back .luxury-wishlist-btn,
.luxury-wishlist-btn {
    background: rgba(255, 255, 255, 0.95); /* Much more visible white background */
    color: #7C0A02; /* Red text for contrast */
    border: 2px solid #d4af37; /* Gold border to match theme */
    padding: 12px 20px;
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-height: 44px;
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Heart icon styling */
.luxury-wishlist-btn .wishlist-icon {
    transition: all 0.3s ease;
    color: #d4af37; /* Gold heart */
}

/* Button text styling */
.luxury-wishlist-btn .wishlist-btn-text {
    transition: all 0.3s ease;
    position: relative;
}

/* Hover Effect - Enhanced */
.luxury-card-back .luxury-wishlist-btn:hover,
.luxury-wishlist-btn:hover {
    background: #ffffff !important;
    border-color: #d4af37 !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4) !important;
    color: #7C0A02 !important;
}

.luxury-wishlist-btn:hover .wishlist-icon {
    color: #7C0A02;
    transform: scale(1.1);
}

/* Active/Click State */
.luxury-card-back .luxury-wishlist-btn:active,
.luxury-wishlist-btn:active {
    transform: translateY(-1px) scale(1.01) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
}

/* SAVED STATE - Text Morph Animation */
.luxury-card-back .luxury-wishlist-btn.saved,
.luxury-wishlist-btn.saved {
    background: linear-gradient(135deg, #d4af37, #f2e3c6) !important;
    border-color: #d4af37 !important;
    color: #7C0A02 !important;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5) !important;
}

.luxury-wishlist-btn.saved .wishlist-icon {
    color: #7C0A02 !important;
    transform: scale(1.2);
}

.luxury-wishlist-btn.saved .wishlist-btn-text {
    font-weight: 700;
}

/* SAVING STATE - Loading */
.luxury-card-back .luxury-wishlist-btn.saving,
.luxury-wishlist-btn.saving {
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: #d4af37 !important;
    cursor: not-allowed;
    opacity: 0.7;
}

/* ========================================
   SPARKLE BURST ANIMATION SYSTEM
   ======================================== */

/* Sparkle particles */
.luxury-wishlist-btn .sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, #d4af37, #fff);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.8);
}

/* Create multiple sparkles with different delays and positions */
.luxury-wishlist-btn.sparkle-active .sparkle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation: sparkle-burst-1 0.8s ease-out;
}

.luxury-wishlist-btn.sparkle-active .sparkle:nth-child(2) {
    top: 15%;
    right: 15%;
    animation: sparkle-burst-2 0.8s ease-out 0.1s;
}

.luxury-wishlist-btn.sparkle-active .sparkle:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation: sparkle-burst-3 0.8s ease-out 0.2s;
}

.luxury-wishlist-btn.sparkle-active .sparkle:nth-child(4) {
    bottom: 15%;
    right: 10%;
    animation: sparkle-burst-4 0.8s ease-out 0.15s;
}

.luxury-wishlist-btn.sparkle-active .sparkle:nth-child(5) {
    top: 50%;
    left: 5%;
    animation: sparkle-burst-5 0.8s ease-out 0.25s;
}

.luxury-wishlist-btn.sparkle-active .sparkle:nth-child(6) {
    top: 50%;
    right: 5%;
    animation: sparkle-burst-6 0.8s ease-out 0.3s;
}

/* Individual sparkle animations with different trajectories */
@keyframes sparkle-burst-1 {
    0% { opacity: 1; transform: scale(0) translate(0, 0); }
    50% { opacity: 1; transform: scale(1.2) translate(-20px, -15px); }
    100% { opacity: 0; transform: scale(0.3) translate(-40px, -30px); }
}

@keyframes sparkle-burst-2 {
    0% { opacity: 1; transform: scale(0) translate(0, 0); }
    50% { opacity: 1; transform: scale(1.5) translate(25px, -20px); }
    100% { opacity: 0; transform: scale(0.3) translate(50px, -40px); }
}

@keyframes sparkle-burst-3 {
    0% { opacity: 1; transform: scale(0) translate(0, 0); }
    50% { opacity: 1; transform: scale(1.1) translate(-15px, 25px); }
    100% { opacity: 0; transform: scale(0.3) translate(-30px, 50px); }
}

@keyframes sparkle-burst-4 {
    0% { opacity: 1; transform: scale(0) translate(0, 0); }
    50% { opacity: 1; transform: scale(1.3) translate(20px, 20px); }
    100% { opacity: 0; transform: scale(0.3) translate(40px, 40px); }
}

@keyframes sparkle-burst-5 {
    0% { opacity: 1; transform: scale(0) translate(0, 0); }
    50% { opacity: 1; transform: scale(1.4) translate(-30px, 0); }
    100% { opacity: 0; transform: scale(0.3) translate(-60px, 0); }
}

@keyframes sparkle-burst-6 {
    0% { opacity: 1; transform: scale(0) translate(0, 0); }
    50% { opacity: 1; transform: scale(1.2) translate(35px, 0); }
    100% { opacity: 0; transform: scale(0.3) translate(70px, 0); }
}

/* ========================================
   GLOW PULSE ANIMATION
   ======================================== */

.luxury-wishlist-btn.glow-pulse {
    animation: wishlist-glow-pulse 1.2s ease-out;
}

@keyframes wishlist-glow-pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(212, 175, 55, 0.6);
    }
    50% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 12px rgba(212, 175, 55, 0.2);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* ========================================
   TEXT MORPH ANIMATION
   ======================================== */

.luxury-wishlist-btn .wishlist-btn-text.morphing {
    animation: text-morph 0.6s ease-in-out;
}

@keyframes text-morph {
    0% { transform: scale(1) rotateX(0deg); opacity: 1; }
    50% { transform: scale(0.8) rotateX(90deg); opacity: 0; }
    100% { transform: scale(1) rotateX(0deg); opacity: 1; }
}

/* ========================================
   MOBILE OVERRIDE - Hide on mobile as before
   ======================================== */

@media (max-width: 768px) {
    .luxury-wishlist-btn {
        display: none !important;
    }
}

.luxury-add-to-cart-btn {
    background: white;
    color: #7C0A02;
    border: none;
    padding: 14px 20px;
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.luxury-add-to-cart-btn:hover {
    background: #d4af37;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.luxury-quick-view-btn {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 12px 20px;
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.luxury-quick-view-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-2px);
}

/* ========================================
   QUICK VIEW MODAL - REMOVED CONFLICTING STYLES
   ======================================== */

/* Quick view modal styles are now handled in the shop template to avoid conflicts */

/* ========================================
   FEATURED & RELATED PRODUCTS SLIDERS
   ======================================== */

.featured-products-slider,
.related-products-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #7C0A02 #f1f1f1;
}

.featured-products-slider::-webkit-scrollbar,
.related-products-slider::-webkit-scrollbar {
    height: 8px;
}

.featured-products-slider::-webkit-scrollbar-track,
.related-products-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.featured-products-slider::-webkit-scrollbar-thumb,
.related-products-slider::-webkit-scrollbar-thumb {
    background: #7C0A02;
    border-radius: 4px;
}

.featured-products .luxury-product-card-wrapper,
.featured-products-slider .luxury-product-card-wrapper,
.related-products .luxury-product-card-wrapper,
.related-products-slider .luxury-product-card-wrapper {
    flex: 0 0 auto;
    width: 300px;
    margin: 0;
}

/* ========================================
   MOBILE RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 768px) {
    .luxury-product-card-wrapper {
        height: 280px; /* Increased from 260px for better content spacing */
    }
    
    .luxury-product-image {
        height: 50%; /* Reduced to give more space to product info */
    }
    
    .luxury-product-info {
        height: 50%; /* Matched with the mobile-specific rule above */
        padding: 1rem; /* Simplified padding */
    }
    
    /* ULTRA-SPECIFIC MOBILE PRODUCT NAME SELECTORS - ENHANCED FOR READABILITY */
    html body .luxury-products-grid .luxury-product-card-wrapper .luxury-product-card .luxury-card-front .luxury-product-info .luxury-product-name,
    html body .luxury-products-grid .luxury-product-card-wrapper .luxury-product-card .luxury-product-info .luxury-product-name,
    html body .luxury-product-card .luxury-product-info .luxury-product-name,
    html body .luxury-product-info .luxury-product-name,
    .luxury-products-grid .luxury-product-card-wrapper .luxury-product-card .luxury-card-front .luxury-product-info .luxury-product-name,
    .luxury-product-card .luxury-product-info .luxury-product-name,
    .luxury-product-info .luxury-product-name,
    .luxury-product-name {
        font-size: 1.1rem !important; /* Consistent readable size */
        line-height: 1.4 !important; /* Better line spacing */
        margin-bottom: 0.8rem !important; /* More space below name */
        /* Enhanced text clamping */
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-height: 3.2em !important; /* Increased to accommodate line-height */
        word-wrap: break-word !important;
        hyphens: auto !important;
        /* Ensure proper text alignment */
        text-align: center !important;
        width: 100% !important;
        /* Prevent squishing */
        flex-shrink: 0 !important;
    }
    
    .luxury-product-price {
        font-size: 1.05rem !important; /* Slightly smaller than name for hierarchy */
        margin-bottom: 2rem !important; /* Much more space for mobile icons */
    }
}

@media (max-width: 480px) {
    .luxury-product-card-wrapper {
        height: 320px;
    }
    
    /* ULTRA-SPECIFIC SMALL MOBILE PRODUCT NAME SELECTORS - PROPORTIONALLY LARGER */
    html body .luxury-products-grid .luxury-product-card-wrapper .luxury-product-card .luxury-card-front .luxury-product-info .luxury-product-name,
    html body .luxury-products-grid .luxury-product-card-wrapper .luxury-product-card .luxury-product-info .luxury-product-name,
    html body .luxury-product-card .luxury-product-info .luxury-product-name,
    html body .luxury-product-info .luxury-product-name,
    .luxury-products-grid .luxury-product-card-wrapper .luxury-product-card .luxury-card-front .luxury-product-info .luxury-product-name,
    .luxury-product-card .luxury-product-info .luxury-product-name,
    .luxury-product-info .luxury-product-name,
    .luxury-product-name {
        font-size: 1.1rem !important; /* Proportionally larger (was 0.85rem) */
        line-height: 1.2 !important;
        -webkit-line-clamp: 2 !important; /* Keep 2-line limit */
        line-clamp: 2 !important; /* Standard property for compatibility */
        max-height: 2.8em !important; /* Adjusted for larger font */
        color: #7C0A02 !important; /* Primary red color */
    }
    
    .luxury-product-price {
        font-size: 1.1rem !important; /* Proportionally larger (was 0.85rem) */
        font-weight: 700 !important;
    }
    
    .shop-lottie-wishlist,
    .mobile-add-to-cart,
    .mobile-quick-view {
        width: 48px !important; /* Larger for single column layout */
        height: 48px !important;
        border-radius: 50%;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 1.1rem; /* Larger text */
        border: none;
        backdrop-filter: blur(10px);
        flex: 0 0 48px; /* Fixed size, no grow/shrink */
    }
    
    /* Specific sizing adjustments for individual buttons */
    .mobile-add-to-cart {
        height: 40px !important; /* Slightly smaller height but still bigger than before */
        flex: 0 0 48px; /* Keep width, adjust flex basis for height */
    }
    
    .mobile-quick-view {
        width: 40px !important; /* Slightly smaller width but still bigger than before */
        flex: 0 0 40px; /* Adjust flex basis for width */
    }
    
    /* Better spacing on small screens */
    .mobile-action-icons {
        bottom: 8px; /* Adjusted spacing */
        left: 10px;
        right: 10px;
        width: calc(100% - 20px); /* Adjusted padding */
        gap: 8px; /* Adjusted gap */
    }
    
    .featured-products .luxury-product-card-wrapper,
    .featured-products-slider .luxury-product-card-wrapper {
        width: 250px;
    }
    
    .quick-view-modal {
        padding: 1rem;
    }
    
    .quick-view-details {
        padding: 1rem;
    }
}

/* Specific mobile sizing for very small screens */
@media (max-width: 360px) {
    /* ULTRA-SPECIFIC TINY MOBILE PRODUCT NAME SELECTORS - BALANCED SIZE */
    html body .luxury-products-grid .luxury-product-card-wrapper .luxury-product-card .luxury-card-front .luxury-product-info .luxury-product-name,
    html body .luxury-products-grid .luxury-product-card-wrapper .luxury-product-card .luxury-product-info .luxury-product-name,
    html body .luxury-product-card .luxury-product-info .luxury-product-name,
    html body .luxury-product-info .luxury-product-name,
    .luxury-products-grid .luxury-product-card-wrapper .luxury-product-card .luxury-card-front .luxury-product-info .luxury-product-name,
    .luxury-product-card .luxury-product-info .luxury-product-name,
    .luxury-product-info .luxury-product-name,
    .luxury-product-name {
        font-size: 1.0rem !important; /* Balanced size for tiny screens (was 0.8rem) */
        line-height: 1.1 !important;
        -webkit-line-clamp: 2 !important; /* Keep 2 lines for better readability */
        line-clamp: 2 !important; /* Standard property for compatibility */
        max-height: 2.4em !important; /* Adjusted for balanced font size */
        color: #7C0A02 !important; /* Primary red color */
    }
    
    .luxury-product-price {
        font-size: 1.0rem !important; /* Balanced size for tiny screens (was 0.8rem) */
        font-weight: 700 !important;
    }
    
    .shop-lottie-wishlist,
    .mobile-add-to-cart,
    .mobile-quick-view {
        width: 28px !important; /* Base size for wishlist on very small screens */
        height: 28px !important; /* Base size for wishlist on very small screens */
        font-size: 0.65rem;
        flex: 0 0 28px; /* Update flex basis */
    }
    
    /* Specific sizing adjustments for individual buttons on very small screens */
    .mobile-add-to-cart {
        height: 24px !important; /* Proportionally smaller height */
        flex: 0 0 28px; /* Keep width, adjust for height difference */
    }
    
    .mobile-quick-view {
        width: 24px !important; /* Proportionally smaller width */
        flex: 0 0 24px; /* Adjust flex basis for width */
    }
    
    /* Ultra-tight spacing for very small screens */
    .mobile-action-icons {
        bottom: 4px; /* Minimal space from bottom */
        left: 5px;
        right: 5px;
        width: calc(100% - 10px); /* Minimal padding */
        gap: 4px; /* Minimal gap */
    }
}

/* ========================================
   PRODUCT TAGS AS BADGES - ENHANCED PREMIUM STYLING
   ======================================== */

/* Mobile: Tags as badges in top right */
@media (max-width: 768px) {
    .luxury-product-tags {
        position: absolute;
        top: 12px;
        right: 12px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        z-index: 15;
        max-width: 60%;
    }
    
    .luxury-product-tag {
        background: linear-gradient(135deg, #7C0A02, #5a0701);
        color: white;
        padding: 3px 8px;
        font-family: 'Lato', sans-serif;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .luxury-product-tag i {
        margin-right: 3px;
        font-size: 0.65rem;
    }
    
    /* Type-based colors for mobile badges */
    .luxury-product-tag.dietary {
        background: linear-gradient(135deg, #28a745, #20c997) !important;
    }
    
    .luxury-product-tag.nutritional {
        background: linear-gradient(135deg, #007bff, #6610f2) !important;
    }
    
    .luxury-product-tag.lifestyle {
        background: linear-gradient(135deg, #6f42c1, #e83e8c) !important;
    }
    
    .luxury-product-tag.ingredient {
        background: linear-gradient(135deg, #fd7e14, #ffc107) !important;
    }
    
    .luxury-product-tag.other {
        background: linear-gradient(135deg, #6c757d, #495057) !important;
    }
}

/* Desktop: Premium tags on back side */
@media (min-width: 769px) {
    .luxury-product-tags {
        display: none; /* Hide mobile tags on desktop */
    }
    
    .luxury-back-tags-section {
        margin-bottom: 1rem; /* Reduced from 2rem */
        padding: 1rem; /* Reduced from 1.5rem */
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px; /* Smaller radius */
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
    }
    
    .luxury-back-tags-title {
        color: white;
        font-family: 'Playfair Display', serif;
        font-size: 1rem; /* Reduced from 1.2rem */
        font-weight: 600;
        margin-bottom: 0.75rem; /* Reduced from 1rem */
        text-align: center;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        letter-spacing: 0.5px;
    }
    
    .luxury-back-tags-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Changed from 3 to 2 columns per row */
        gap: 0.5rem; /* Reduced gap */
        max-height: 120px; /* Reduced from 200px */
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    }
    
    .luxury-back-tags-grid::-webkit-scrollbar {
        width: 3px; /* Thinner scrollbar */
    }
    
    .luxury-back-tags-grid::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .luxury-back-tags-grid::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
    }
    
    .luxury-back-tag {
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid #d4af37; /* Thinner border */
        border-radius: 6px; /* Smaller radius */
        padding: 0.4rem 0.5rem; /* Much smaller padding */
        display: flex;
        flex-direction: row; /* Changed to row for side-by-side layout */
        align-items: center;
        text-align: left; /* Changed from center */
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Reduced shadow */
        min-height: 32px; /* Much smaller height */
        justify-content: flex-start; /* Align to start */
        gap: 0.4rem; /* Gap between icon and text */
    }
    
    .luxury-back-tag:hover {
        transform: translateY(-1px); /* Reduced movement */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Reduced shadow */
        background: white;
    }
    
    .luxury-back-tag-icon {
        color: #7C0A02;
        font-size: 0.9rem; /* Smaller icon */
        margin-bottom: 0; /* Remove bottom margin */
        transition: all 0.3s ease;
        flex-shrink: 0; /* Prevent icon from shrinking */
    }
    
    .luxury-back-tag:hover .luxury-back-tag-icon {
        transform: scale(1.05); /* Reduced scale */
    }
    
    .luxury-back-tag-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Align to start */
        flex: 1; /* Take remaining space */
    }
    
    .luxury-back-tag-name {
        font-family: 'Lato', sans-serif;
        font-size: 0.65rem; /* Much smaller text */
        font-weight: 600; /* Reduced weight */
        color: #333;
        text-transform: uppercase;
        letter-spacing: 0.3px; /* Reduced spacing */
        line-height: 1.1;
        margin-bottom: 0; /* No margin since no description */
    }
    
    .luxury-back-tag-desc {
        display: none; /* Hide descriptions completely */
    }
    
    /* Type-based styling for desktop tags */
    .luxury-back-tag.dietary {
        border-color: #28a745 !important;
    }
    
    .luxury-back-tag.dietary .luxury-back-tag-icon {
        color: #28a745 !important;
    }
    
    .luxury-back-tag.nutritional {
        border-color: #007bff !important;
    }
    
    .luxury-back-tag.nutritional .luxury-back-tag-icon {
        color: #007bff !important;
    }
    
    .luxury-back-tag.lifestyle {
        border-color: #6f42c1 !important;
    }
    
    .luxury-back-tag.lifestyle .luxury-back-tag-icon {
        color: #6f42c1 !important;
    }
    
    .luxury-back-tag.ingredient {
        border-color: #fd7e14 !important;
    }
    
    .luxury-back-tag.ingredient .luxury-back-tag-icon {
        color: #fd7e14 !important;
    }
    
    .luxury-back-tag.other {
        border-color: #6c757d !important;
    }
    
    .luxury-back-tag.other .luxury-back-tag-icon {
        color: #6c757d !important;
    }
}

/* ========================================
   PREMIUM SORT DROPDOWN - ENHANCED Z-INDEX
   ======================================== */

.luxury-sort-dropdown {
    position: relative;
    z-index: 999; /* Ensure it's above other elements */
}

.sort-dropdown-btn {
    background: white;
    border: 2px solid #e5e7eb;
    color: #333;
    padding: 0.75rem 1.25rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 200px;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 999;
}

.sort-dropdown-btn:hover {
    border-color: #7C0A02;
    box-shadow: 0 4px 12px rgba(124, 10, 2, 0.15);
}

.sort-dropdown-btn.active {
    border-color: #7C0A02;
    box-shadow: 0 4px 12px rgba(124, 10, 2, 0.2);
}

.sort-arrow {
    transition: transform 0.3s ease;
    color: #7C0A02;
}

.sort-dropdown-btn.active .sort-arrow {
    transform: rotate(180deg);
}

.sort-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #7C0A02;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(124, 10, 2, 0.15);
    z-index: 9999; /* Very high to ensure it appears above everything */
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.sort-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-option {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1rem 1.25rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.sort-option:last-child {
    border-bottom: none;
}

.sort-option:hover {
    background: rgba(124, 10, 2, 0.05);
}

.sort-option.active {
    background: rgba(124, 10, 2, 0.1);
    color: #7C0A02;
    font-weight: 700;
}

.sort-option i {
    color: #7C0A02;
    width: 16px;
    text-align: center;
}

.sort-option span {
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
}

.sort-option small {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
    margin-left: auto;
}

/* ========================================
   PER PAGE SELECTOR - UPDATED STYLING
   ======================================== */

.per-page-selector {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.selector-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.per-page-options {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.per-page-option {
    background: transparent !important;
    border: none !important;
    color: #666 !important;
    padding: 0.5rem 0.75rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    min-width: 40px;
    text-align: center;
}

.per-page-option:hover {
    color: #7C0A02 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.per-page-option.active {
    color: #7C0A02 !important;
    background: transparent !important;
    border: none !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.separator {
    color: #ccc;
    font-weight: 300;
    margin: 0 0.25rem;
}

/* ========================================
   FEATURED & RELATED PRODUCTS UNIFIED - EXACTLY THE SAME
   ======================================== */

/* Featured products use larger sizing */
.featured-products .luxury-product-card-wrapper,
.featured-products-slider .luxury-product-card-wrapper,
#featured-products .luxury-product-card-wrapper {
    flex: 0 0 auto;
    width: 300px; /* Fixed width for slider consistency */
    margin: 0;
    perspective: 1000px; /* Enable 3D transforms for flip animation */
}

/* Related products use same width but shorter height than featured products */
#related-products .luxury-product-card-wrapper {
    flex: 0 0 auto;
    width: 300px !important; /* Same width as featured products */
    margin: 0;
    perspective: 1000px; /* Enable 3D transforms for flip animation */
}

/* ENSURE RELATED PRODUCTS HAVE SAME FLIP ANIMATION AS FEATURED PRODUCTS BUT SMALLER SIZE */
.featured-products .luxury-product-card,
.featured-products-slider .luxury-product-card,
#featured-products .luxury-product-card {
    transition: transform 0.6s;
    transform-style: preserve-3d;
    position: relative;
    width: 100%;
    height: 400px;
}

#related-products .luxury-product-card {
    transition: transform 0.6s;
    transform-style: preserve-3d;
    position: relative;
    width: 100%;
    height: 320px !important; /* Much shorter than featured products (400px) */
}

#related-products .luxury-card-front,
#related-products .luxury-card-back,
.featured-products .luxury-card-front,
.featured-products .luxury-card-back,
.featured-products-slider .luxury-card-front,
.featured-products-slider .luxury-card-back,
#featured-products .luxury-card-front,
#featured-products .luxury-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}

#related-products .luxury-card-back,
.featured-products .luxury-card-back,
.featured-products-slider .luxury-card-back,
#featured-products .luxury-card-back {
    transform: rotateY(180deg);
}

/* Desktop: Enable hover flip animation for all product sections - Fixed for stability */
@media (min-width: 769px) {
    #related-products .luxury-product-card-wrapper:hover .luxury-product-card,
    .featured-products .luxury-product-card-wrapper:hover .luxury-product-card,
    .featured-products-slider .luxury-product-card-wrapper:hover .luxury-product-card,
    #featured-products .luxury-product-card-wrapper:hover .luxury-product-card {
        transform: rotateY(180deg);
    }
    
    /* Ensure smoother, slower transitions */
    #related-products .luxury-product-card,
    .featured-products .luxury-product-card,
    .featured-products-slider .luxury-product-card,
    #featured-products .luxury-product-card {
        transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
}

/* Mobile: No flip animation, hide back side - Fixed selectors */
@media (max-width: 768px) {
    #related-products .luxury-product-card-wrapper:hover .luxury-product-card,
    .featured-products .luxury-product-card-wrapper:hover .luxury-product-card,
    .featured-products-slider .luxury-product-card-wrapper:hover .luxury-product-card,
    #featured-products .luxury-product-card-wrapper:hover .luxury-product-card {
        transform: none;
    }
    
    #related-products .luxury-card-back,
    .featured-products .luxury-card-back,
    .featured-products-slider .luxury-card-back,
    #featured-products .luxury-card-back {
        display: none;
    }
}

/* Mobile responsive sizing for featured products */
@media (max-width: 768px) {
    .featured-products .luxury-product-card-wrapper,
    .featured-products-slider .luxury-product-card-wrapper,
    #featured-products .luxury-product-card-wrapper {
        width: 280px !important; /* Smaller on mobile for better fit */
        height: 380px !important; /* Increased height for better mobile experience */
    }
    
    .featured-products .luxury-product-card,
    .featured-products-slider .luxury-product-card,
    #featured-products .luxury-product-card {
        height: 380px !important; /* Match wrapper height */
    }
    
    /* Same width but shorter height for related products on mobile */
    #related-products .luxury-product-card-wrapper {
        width: 280px !important; /* Same width as featured products */
        height: 320px !important; /* Shorter than featured products (380px) */
    }
    
    #related-products .luxury-product-card {
        height: 320px !important; /* Match wrapper height */
    }
}

/* On very small screens make cards even smaller */
@media (max-width: 480px) {
    .featured-products .luxury-product-card-wrapper,
    .featured-products-slider .luxury-product-card-wrapper,
    #featured-products .luxury-product-card-wrapper {
        width: 260px !important;
        height: 360px !important; /* Increased height for better mobile experience */
    }
    
    .featured-products .luxury-product-card,
    .featured-products-slider .luxury-product-card,
    #featured-products .luxury-product-card {
        height: 360px !important; /* Match wrapper height */
    }
    
    /* Same width but shorter height for related products on small mobile */
    #related-products .luxury-product-card-wrapper {
        width: 260px !important; /* Same width as featured products */
        height: 300px !important; /* Shorter than featured products (360px) */
    }
    
    #related-products .luxury-product-card {
        height: 300px !important; /* Match wrapper height */
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .featured-products .luxury-product-card-wrapper,
    .featured-products-slider .luxury-product-card-wrapper,
    #featured-products .luxury-product-card-wrapper {
        width: 240px !important;
        height: 340px !important; /* Increased height for better mobile experience */
    }
    
    .featured-products .luxury-product-card,
    .featured-products-slider .luxury-product-card,
    #featured-products .luxury-product-card {
        height: 340px !important; /* Match wrapper height */
    }
    
    /* Same width but shorter height for related products on tiny screens */
    #related-products .luxury-product-card-wrapper {
        width: 240px !important; /* Same width as featured products */
        height: 280px !important; /* Shorter than featured products (340px) */
    }
    
    #related-products .luxury-product-card {
        height: 280px !important; /* Match wrapper height */
    }
}

/* ========================================
   WISHLIST LOTTIE ANIMATION - REMOVE ALL CIRCLES/OUTLINES
   ======================================== */

/* NUCLEAR REMOVAL: All visual effects from wishlist animations */
.shop-lottie-wishlist {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    /* Keep the animation visible */
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

/* Allow the animation content to be visible */
.shop-lottie-wishlist svg,
.shop-lottie-wishlist canvas {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Remove all interaction states */
.shop-lottie-wishlist:hover,
.shop-lottie-wishlist:focus,
.shop-lottie-wishlist:active,
.shop-lottie-wishlist:focus-visible,
.shop-lottie-wishlist:focus-within {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transform: none !important;
}

/* Remove browser default focus outlines */
.shop-lottie-wishlist {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-focus-ring-color: transparent !important;
    outline: none !important;
    outline-offset: 0 !important;
    outline-color: transparent !important;
    outline-width: 0 !important;
    outline-style: none !important;
}

/* Remove any pseudo-elements that might create circles */
.shop-lottie-wishlist::before,
.shop-lottie-wishlist::after {
    display: none !important;
    content: none !important;
}

/* MOBILE: Override previous styles that added circles */
@media (max-width: 768px) {
    .shop-lottie-wishlist {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        outline: none !important;
        /* Ensure mobile animations are visible and clickable */
        width: 48px !important;
        height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
    }
    
    .mobile-action-icons .shop-lottie-wishlist {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        backdrop-filter: none !important;
        /* Featured products specific sizing */
        flex: 0 0 48px !important;
    }
    
    /* Featured products specifically - ensure they're visible */
    .featured-products .mobile-action-icons .shop-lottie-wishlist,
    #featured-products .mobile-action-icons .shop-lottie-wishlist {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        width: 48px !important;
        height: 48px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* ========================================
   ADDITIONAL GRID FIXES FOR LAYOUT ISSUES
   ======================================== */

/* Ensure proper grid item sizing and prevent gaps */
.luxury-product-card-wrapper {
    width: 100%;
    min-height: 400px;
    margin-bottom: 0; /* Remove any margin that could cause gaps */
}

/* Desktop grid fixes */
@media (min-width: 1200px) {
    .luxury-products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        align-items: start; /* Align items to start to prevent gaps */
    }
}

/* Tablet grid fixes */
@media (max-width: 1199px) and (min-width: 769px) {
    .luxury-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
        align-items: start !important;
    }
}

/* Mobile grid fixes */
@media (max-width: 768px) {
    .luxury-products-grid {
        align-items: stretch !important; /* Ensure consistent height */
        justify-items: center !important; /* Center items horizontally */
    }
    
    .luxury-product-card-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Fix for potential last item gaps */
    .luxury-product-card-wrapper:last-child {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}


