.footer-social-icons {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.footer-social-icons a {
    font-size: 22px;
    color: #fff; /* change if needed */
    transition: 0.3s ease;
}

.footer-social-icons a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}


/* Mobile Navigation Drawer Styles */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: -300px; /* Hidden by default */
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.active {
    left: 0;
}

.mobile-nav-drawer-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.mobile-nav-drawer-header img {
    height: 35px;
    width: auto;
}

.mobile-nav-drawer-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--light-gray);
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s ease;
}

.mobile-nav-drawer-close:hover {
    background: var(--primary);
    color: white;
}

.mobile-nav-drawer-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 25px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.mobile-nav-link i {
    width: 20px;
    font-size: 18px;
    color: var(--gray);
}

.mobile-nav-link:hover {
    background: var(--light-gray);
}

.mobile-nav-link.active {
    background: var(--primary);
    color: white;
}

.mobile-nav-link.active i {
    color: white;
}

.mobile-cart-count {
    position: absolute;
    right: 15px;
    background: var(--primary);
    color: white;
    font-size: 12px;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.mobile-nav-link.active .mobile-cart-count {
    background: white;
    color: var(--primary);
}

.mobile-nav-categories {
    border-top: 1px solid var(--light-gray);
    padding-top: 20px;
}

.mobile-nav-categories h4 {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 15px;
    padding-left: 15px;
}

.mobile-category-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-radius: 8px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 2px;
    font-size: 14px;
}

.mobile-category-link i {
    width: 20px;
    font-size: 14px;
    color: var(--gray);
}

.mobile-category-link:hover {
    background: var(--light-gray);
}

.mobile-category-link.active {
    background: var(--primary);
    color: white;
}

.mobile-category-link.active i {
    color: white;
}

.mobile-nav-drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--light-gray);
    background: #f8f9fa;
}

.mobile-nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    background: white;
    color: var(--dark);
    font-size: 14px;
}

.mobile-nav-user i {
    color: var(--primary);
    font-size: 18px;
}

/* Drawer overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Remove old mobile nav overlay styles if they exist */
.mobile-nav-overlay {
    display: none;
}

/* Animation for menu items */
.mobile-nav-link, .mobile-category-link {
    transform: translateX(-20px);
    opacity: 0;
    animation: slideInRight 0.3s ease forwards;
}

.mobile-nav-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-link:nth-child(2) { animation-delay: 0.15s; }
.mobile-category-link:nth-child(1) { animation-delay: 0.2s; }
.mobile-category-link:nth-child(2) { animation-delay: 0.25s; }
.mobile-category-link:nth-child(3) { animation-delay: 0.3s; }
/* Add more delay classes as needed */

@keyframes slideInRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .desktop-nav {
        display: none;
    }
    
    /* Prevent body scroll when drawer is open */
    body.drawer-open {
        overflow: hidden;
    }
}

/* Search Bar Styles */
.search-container {
    margin: 20px 0 30px;
    width: 100%;
}

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 16px;
}

.search-input {
    width: 100%;
    padding: 15px 45px 15px 45px;
    font-size: 16px;
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 94, 215, 0.1);
}

.search-clear {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    display: none;
    font-size: 16px;
    padding: 5px;
}

.search-clear:hover {
    color: var(--danger);
}

.search-input:not(:placeholder-shown) + .search-clear {
    display: block;
}

.search-stats {
    text-align: center;
    margin-top: 10px;
    color: var(--gray);
    font-size: 14px;
}

#results-count {
    font-weight: 600;
    color: var(--primary);
}

/* Active filters indicator */
.active-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.filter-tag {
    background: var(--light-gray);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-tag i {
    cursor: pointer;
    color: var(--gray);
}

.filter-tag i:hover {
    color: var(--danger);
}

/* Responsive */
@media (max-width: 768px) {
    .search-wrapper {
        max-width: 100%;
    }
    
    .search-input {
        padding: 12px 40px 12px 40px;
        font-size: 14px;
    }
}

/* ===== SHOP LAYOUT ===== */
/* Existing shop-header styles */
.shop-header {
    position: relative;
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 40px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    overflow: hidden;
}

/* Header with background image */
.shop-header .header-background {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
    margin: -60px 0; /* Compensate for header padding */
}

/* Dark overlay for better text readability on images */
.shop-header .header-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.shop-header .header-background .container {
    position: relative;
    z-index: 2;
}

.shop-header h1 {
    color: white;
    -webkit-text-fill-color: white;
    margin-bottom: 20px;
}

.shop-header p {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Default header (no sliders) */
.shop-header .default-header {
    position: relative;
    z-index: 1;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    border-color: white;
    transform: scale(1.2);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.shop-header .empty-slider {
    min-height: 100px;
}

/* Hide title/paragraph when they don't exist */
.shop-header h1[style*="display: none"],
.shop-header p[style*="display: none"] {
    display: none !important;
}

/* Slider Navigation */
.slider-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.slider-prev,
.slider-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: scale(1.1);
}

/* Hide navigation on mobile */
@media (max-width: 768px) {
    .slider-navigation {
        display: none;
    }
    
    .slider-indicators {
        bottom: 20px;
    }
}

/* Animation for slide transitions */
.shop-header h1,
.shop-header p {
    animation: fadeIn 0.5s ease;
}

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

/* ===== CATEGORIES ===== */
.categories-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    padding: 8px 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ===== PRODUCT GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 5%;
	margin-top: 7%
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: visible; /* Changed from hidden to visible */
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    
    display: flex;
    flex-direction: column;
    margin-top: 40px; /* Add space for the overflowing image */
}

.product-card.featured {
    border: 2px solid var(--warning);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ===== PRODUCT IMAGE CONTAINER ===== */
.product-image-container {
    height: 200px;
/*    position: relative;*/
    overflow: visible; /* Changed from hidden */
    margin-top: -22%; /* Pull the container up to overlap the card */
/*    z-index: 2;*/
    padding: 0 20px; /* Add padding to prevent image touching edges */
}

/* Main product image - now larger and overflowing */
.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from cover to contain to show full product */
    transition: transform 0.5s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    position: relative;
    z-index: 1;
}

/* Optional: Add a subtle reflection effect */
.product-image::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10%;
    width: 80%;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);
    border-radius: 50%;
    transform: perspective(100px) rotateX(60deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image::after {
    opacity: 0.7;
}

.product-card:hover .product-image {
    transform: scale(1.1) translateY(-10px);
}

/* ===== IMAGE OVERFLOW EFFECT (Secondary image) ===== */
.product-card .product-image-overflow {
    position: absolute;
    top: -30px;
    right: -15px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: var(--box-shadow);
    z-index: 3;
    transition: var(--transition);
    background: white; /* White background for circular container */
}

.product-card:hover .product-image-overflow {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-image-overflow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px; /* Small padding inside the circle */
}

/* ===== BADGE POSITIONING ===== */
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 4;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-badge.featured {
    background: var(--warning);
}

/* ===== PRODUCT INFO SECTION ===== */
.product-info {
    padding: 20px 20px 20px 20px; /* Increased top padding to accommodate image */
    background: white;
    border-radius: var(--border-radius);
    position: relative;
    z-index: 1;
    margin-top: -20px; /* Pull up to overlap with image */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Add subtle border at the top of info section */
.product-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 3px;
}

/* ===== DEFAULT IMAGE STYLING ===== */
.product-image-container .product-image[style*="background"] {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

/* Default image icon styling */
.product-image-container .fa-tint,
.product-image-container .fa-glass-whiskey {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .product-card {
        margin-top: 30px;
    }
    
    .product-image-container {
        height: 180px;
        margin-top: -19%;
    }
    
    .product-info {
        padding-top: 50px;
    }
    
    .product-card .product-image-overflow {
        width: 70px;
        height: 70px;
        top: -25px;
        right: -10px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
		margin-top: 22%;
        gap: 20px;
    }
    
    .product-card {
        margin-top: 20px;
    }
}

/* ===== QUANTITY CONTROLS ===== */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: var(--transition);
}

.quantity-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.quantity-input {
    width: 60px;
    text-align: center;
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
}

/* ===== ADD TO CART BUTTON ===== */
.add-to-cart-btn {
    width: 100%;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn .cart-icon {
    margin-right: 8px;
}

.add-to-cart-btn.added {
    background: var(--secondary);
}

.add-to-cart-btn.loading {
    opacity: 0.7;
    cursor: wait;
}

/* ===== PRODUCT DETAILS MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.product-modal {
    background: white;
    border-radius: var(--border-radius);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .product-modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--danger);
}

/* ===== CART PREVIEW ===== */
.cart-preview {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 350px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.cart-preview.active {
    transform: translateX(0);
}

.cart-preview-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-items {
    max-height: 400px;
    overflow-y: auto;
}

.cart-item {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 1.2rem;
}

.cart-total {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.2rem;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--gray);
    margin-bottom: 20px;
}

/* ===== LOADING SKELETON ===== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

.skeleton-image {
    height: 200px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.skeleton-text {
    height: 20px;
    margin: 10px 20px;
    border-radius: 4px;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-button {
    height: 45px;
    margin: 20px;
    border-radius: var(--border-radius);
}