/* ========== GOOGLE FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8f9fa;
}

/* ========== TOP BAR ========== */
.top-bar {
    background: #2c3e50;
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
}

.top-bar a:hover {
    color: #f39c12;
}

/* ========== MARQUEE BAR ========== */
.marquee-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ========== NAVBAR ========== */
.navbar {
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.navbar-brand h3 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    font-weight: 500;
    color: #333;
    margin: 0 10px;
    transition: 0.3s;
}

.nav-link:hover {
    color: #764ba2;
}

.navbar-icons a {
    color: #333;
    font-size: 20px;
    margin-left: 20px;
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -10px;
    right: -12px;
    background: #ff4757;
    color: white;
    font-size: 11px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== STICKY SOCIAL BUTTONS ========== */
.sticky-social {
    position: fixed;
    left: 20px;
    bottom: 50%;
    transform: translateY(50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-btn:hover {
    transform: scale(1.1);
    color: white;
}

.social-btn .tooltip {
    position: absolute;
    left: 60px;
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.social-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.whatsapp { background: #25D366; }
.messenger { background: #0084ff; }
.call { background: #ff4757; animation: pulse 2s infinite; }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ========== PRODUCT CARDS ========== */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card .card-body {
    padding: 20px;
}

.product-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-card .price {
    font-size: 22px;
    font-weight: 700;
    color: #ff4757;
}

.product-card .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-left: 10px;
}

.btn-add-to-cart {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 10px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    width: 100%;
    transition: 0.3s;
}

.btn-add-to-cart:hover {
    transform: scale(1.02);
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-whatsapp {
    flex: 1;
    background: #25D366;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: white;
}

.btn-cart {
    flex: 1;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 25px;
    font-weight: 600;
    border: none;
    transition: 0.3s;
}

/* ========== BUTTONS ========== */
.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.4);
}

/* ========== FOOTER ========== */
.footer {
    background: #1a1a2e;
    color: #eee;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer h4 {
    margin-bottom: 25px;
    font-size: 18px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

.footer ul li a:hover {
    color: #764ba2;
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin-right: 10px;
    transition: 0.3s;
}

.social-links a:hover {
    background: #764ba2;
    transform: translateY(-3px);
}

.contact-info li {
    margin-bottom: 12px;
}

.contact-info li i {
    width: 30px;
    color: #764ba2;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .sticky-social {
        left: 10px;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .product-card img {
        height: 200px;
    }
}

/* ========== CART ICON ANIMATION ========== */
.cart-icon {
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.cart-icon i {
    transition: all 0.3s ease;
    font-size: 22px;
}

/* Cart Added Animation */
.cart-icon.cart-added {
    animation: cartShake 0.5s ease;
}

.cart-icon.cart-added i {
    color: #28a745 !important;
    transform: scale(1.1);
}

/* Tick Mark on Cart Icon */
.cart-icon.cart-added::after {
    content: '✓';
    position: absolute;
    top: -12px;
    right: -12px;
    background: #28a745;
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    animation: tickFade 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Cart Badge Count */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #ff4757;
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Animations */
@keyframes cartShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

@keyframes tickFade {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}


/* ========== CART ICON ANIMATION ========== */
.cart-icon {
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.cart-icon i {
    transition: all 0.3s ease;
    font-size: 22px;
}

/* Cart Added Animation */
.cart-icon.cart-added {
    animation: cartShake 0.5s ease;
}

.cart-icon.cart-added i {
    color: #28a745 !important;
    transform: scale(1.1);
}

/* Tick Mark on Cart Icon */
.cart-icon.cart-added::after {
    content: '✓';
    position: absolute;
    top: -12px;
    right: -12px;
    background: #28a745;
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    animation: tickFade 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Animations */
@keyframes cartShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

@keyframes tickFade {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Remove button style */
.remove-item {
    background: #ff4757;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.remove-item:hover {
    background: #e03e4e;
    transform: scale(1.05);
}