/* Add to Cart Button Styles */
/* Latest Products Section Styles */
.latest-products .single-product-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%; /* Make all cards same height */
    display: flex;
    flex-direction: column;
}

.latest-products .single-product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.latest-products .single-product-item figure {
    margin: 0;
    padding: 0;
    height: 250px; /* Fixed height for images */
    overflow: hidden;
}

.latest-products .single-product-item figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.latest-products .single-product-item:hover figure img {
    transform: scale(1.05);
}

.latest-products .product-text {
    padding: 15px;
    text-align: center;
    flex-grow: 1; /* Allows text to take remaining space */
    display: flex;
    flex-direction: column;
}

.latest-products .product-text h6 {
    margin-bottom: 8px;
    font-size: 16px;
    min-height: 40px; /* Fixed height for product name */
    display: flex;
    align-items: center;
    justify-content: center;
}

.latest-products .product-text p {
    font-weight: 700;
    color: #ca1515;
    margin-bottom: 15px;
    font-size: 18px;
}

/* Add to Cart Button */
.add-to-cart-btn {
    background: #ca1515;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto; /* Pushes button to bottom */
    width: 100%;
    text-align: center;
}

.add-to-cart-btn:hover {
    background: #a01111;
    transform: translateY(-2px);
}

/* Status badges */
.p-status {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ca1515;
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.p-status.sale {
    background: #ffd700;
    color: #333;
}

.p-status.popular {
    background: #25D366;
}

/* Active category style */
.product-controls li.active a {
    color: #ca1515;
    font-weight: 600;
}

.product-controls li a {
    color: #111;
    text-decoration: none;
    transition: all 0.3s;
}

.product-controls li a:hover {
    color: #ca1515;
}
/* Gallery Styles */
.gallery-section {
    padding: 50px 0;
    background: #f9f9f9;
}

.swiper-container {
    width: 100%;
    padding: 30px 0;
}

.swiper-wrapper {
    display: flex;
    transition-timing-function: linear !important;
}

.swiper-slide {
    width: 300px !important; /* Fixed slide width */
    margin-right: 20px !important;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.swiper-slide:hover {
    transform: translateY(-5px);
}

.swiper-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.swiper-pagination {
    position: relative !important;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: #ddd !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: #ca1515 !important;
}
/* Ticker Container */
.ticker-container {
 background: #ca1515;
    color: white;
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: ticker-scroll 40s linear infinite;
    padding-right: 100%; /* Add spacing between duplicates */
}
.ticker-item {
    display: inline-block;
    margin-right: 50px;
    font-size: 15px;
    font-weight: 500;
}

.ticker-badge {
    background: #ffd700;
    color: #333;
    padding: 4px 10px;
    border-radius: 4px;
    margin-right: 15px;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
}

@keyframes ticker-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@media (max-width: 768px) {
    .ticker-item {
        font-size: 13px;
        margin-right: 30px;
    }
    .ticker-badge {
        font-size: 11px;
        padding: 3px 8px;
    }
}

/* Product Ticker Specific */
.product-ticker {
    margin-top: 10px;
    padding: 8px;
    background: #fff3f3;
    border-radius: 4px;
    border: 1px solid #ffdfdf;
    font-size: 14px;
    color: #333;
    display: block !important; /* Force display */
}
.product-ticker .ticker-badge {
    background: #ca1515;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 10px;
    font-weight: 600;
    display: inline-block;
}

/* Header ticker specific style */
[data-ticker-id="header-ticker"] {
    background: #2b2b2b;
    border-bottom: 2px solid #ca1515;
}

/* WhatsApp Floating Button Styles */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    transition: all 0.3s ease;
}

.whatsapp-link {
    background: #25D366;
    color: #fff !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-link i {
    font-size: 32px;
}

.whatsapp-link:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

/* Pulse Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Scroll Animation */
.scrolling .whatsapp-link {
    transform: translateY(-100vh);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-link {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-link i {
        font-size: 28px;
    }
}

