@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7f6;
}

.top-bar {
    background-color: #1e293b;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}
.top-bar a {
    color: #cbd5e1;
    transition: color 0.3s;
}
.top-bar a:hover {
    color: #fff;
}

.main-header {
    background-color: #ffffff;
    padding: 20px 0;
}
.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
}
.logo-text span {
    color: #e63946;
}
.search-box {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}
.search-box input {
    border: none;
    box-shadow: none;
    padding: 12px 15px;
}
.search-box input:focus {
    outline: none;
    box-shadow: none;
}
.search-box button {
    background-color: #e63946;
    color: white;
    border: none;
    padding: 0 25px;
    font-weight: 600;
}
.header-actions .icon-box {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
    text-decoration: none;
    font-weight: 500;
}
.header-actions .icon-box i {
    font-size: 1.5rem;
    color: #e63946;
}

.main-nav {
    background-color: #0f172a;
}
.main-nav .nav-link {
    color: #f8fafc;
    font-weight: 500;
    padding: 15px 20px !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: background 0.3s;
}
.main-nav .nav-link:hover {
    background-color: #e63946;
    color: white;
}

.custom-footer {
    background-color: #ffffff;
    padding: 60px 0 20px;
    color: #475569;
    font-size: 0.95rem;
}
.footer-title {
    color: #0f172a;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}
.footer-links a::before {
    content: "›";
    margin-right: 8px;
    font-size: 1.2rem;
    color: #e63946;
    transition: transform 0.3s;
}
.footer-links a:hover {
    color: #e63946;
    transform: translateX(5px);
}
.footer-links a:hover::before {
    transform: translateX(3px);
}
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}
.contact-list i {
    color: #e63946;
    font-size: 1.2rem;
    margin-top: 3px;
}
.footer-bottom {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.85rem;
}
.social-circles a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #475569;
    margin-right: 8px;
    transition: all 0.3s;
    text-decoration: none;
}
.social-circles a:hover {
    background-color: #e63946;
    color: white;
    transform: translateY(-3px);
}
.custom-footer {
    background-color: #ffffff;
    padding: 60px 0 20px;
    color: #475569;
    font-size: 0.95rem;
    margin-top: 80px;
    border-top: 4px solid #e2e8f0 !important;
}
.whatsapp-mobile-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    animation: shake-animation 4s cubic-bezier(.36,.07,.19,.97) both infinite;
}

.whatsapp-mobile-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 211, 102, 0.6);
    border-radius: 50%;
    z-index: -1;
    animation: pulse-bubble 2s infinite;
}

.whatsapp-mobile-btn i {
    font-size: 1.3rem;
}

@keyframes pulse-bubble {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

@keyframes shake-animation {
    0%, 80%, 100% { transform: translate3d(0, 0, 0); }
    82%, 86%, 90%, 94%, 98% { transform: translate3d(-2px, 0, 0) rotate(-5deg); }
    84%, 88%, 92%, 96% { transform: translate3d(2px, 0, 0) rotate(5deg); }
}

.mobile-top-bar {
    background-color: #32854b;
    color: #ffffff;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.mobile-header-white {
    background-color: #ffffff;
}

.mobile-search-bg {
    background-color: #f17a1a;
}

.mobile-search-bg input {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    border-radius: 4px;
    padding-right: 45px;
}

.mobile-search-bg input::placeholder {
    color: rgba(255, 255, 255, 0.9);
}

.mobile-search-bg input:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: none;
    border-color: #ffffff;
}

.mobile-search-btn {
    color: #ffffff;
    background: transparent;
    border: none;
    padding: 0 15px;
}
.hero-carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 30px;
}
.hero-img {
    height: 450px;
    object-fit: cover;
    width: 100%;
}
.feature-box {
    text-align: center;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s;
    height: 100%;
    border: 1px solid #f1f5f9;
}
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.feature-icon {
    font-size: 2.8rem;
    color: #e63946;
    margin-bottom: 20px;
}
.feature-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.feature-desc {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}
.section-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 15px;
}
.section-title {
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -17px;
    width: 80px;
    height: 4px;
    background: #e63946;
    border-radius: 2px;
}
.view-all-link {
    color: #e63946;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}
.view-all-link:hover {
    color: #b91c28;
}
.cat-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    background: #fff;
}
.cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.cat-img-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
}
.cat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cat-card:hover .cat-img-wrap img {
    transform: scale(1.15);
}
.cat-title {
    padding: 18px;
    text-align: center;
    color: #0f172a;
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0;
    border-top: 3px solid #e63946;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-card {
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    transition: all 0.3s;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
    transform: translateY(-5px);
}
.product-img-wrap {
    position: relative;
    overflow: hidden;
}
.product-img {
    height: 240px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s;
}
.product-card:hover .product-img {
    transform: scale(1.05);
}
.new-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e63946;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
}
.product-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-title {
    font-size: 1.05rem;
    color: #334155;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 12px;
    display: block;
    line-height: 1.4;
}
.product-title:hover {
    color: #e63946;
}
.product-price-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
}
.btn-whatsapp-order {
    background: #25d366;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    margin-top: 15px;
}
.btn-whatsapp-order:hover {
    background: #1da851;
    color: #fff;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}
@media (max-width: 768px) {
    .hero-img { height: 250px; }
    .hero-carousel { margin-top: 15px; border-radius: 8px; }
    .section-title { font-size: 1.3rem; }
    .cat-img-wrap { height: 150px; }
    .product-img { height: 180px; }
}
    .product-card {
        background: #ffffff;
        border-radius: 16px;
        border: 1px solid #eef2f6;
        box-shadow: 0 4px 10px rgba(0,0,0,0.03);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow: hidden;
    }
    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(230, 57, 70, 0.15);
        border-color: rgba(230, 57, 70, 0.3);
    }
    .product-img-wrap {
        position: relative;
        height: 220px;
        overflow: hidden;
        background: #f8fafc;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px;
    }
    .product-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.6s ease;
    }
    .product-card:hover .product-img {
        transform: scale(1.12);
    }
    .product-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: rgba(255, 255, 255, 0.95);
        color: #10b981;
        padding: 6px 12px;
        border-radius: 8px;
        font-size: 0.75rem;
        font-weight: 700;
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        backdrop-filter: blur(4px);
        z-index: 2;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    .product-body {
        padding: 22px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }
    .shipping-badges {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 12px;
    }
    .badge-fast {
        background: #f97316;
        color: #fff;
        text-align: center;
        padding: 6px 10px;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        border-radius: 6px;
    }
    .badge-free {
        background: #0ea5e9;
        color: #fff;
        text-align: center;
        padding: 6px 10px;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        border-radius: 6px;
    }
    .product-rating {
        color: #fbbf24;
        font-size: 0.85rem;
        margin-bottom: 8px;
        display: flex;
        gap: 2px;
    }
    .product-title {
        font-size: 1.1rem;
        color: #1e293b;
        font-weight: 700;
        text-decoration: none;
        line-height: 1.4;
        margin-bottom: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: color 0.3s;
    }
    .product-title:hover {
        color: #e63946;
    }
    .product-price-box {
        margin-top: auto;
        margin-bottom: 18px;
        background: #f8fafc;
        padding: 12px 15px;
        border-radius: 12px;
        border: 1px dashed #cbd5e1;
        text-align: center;
        transition: all 0.3s;
    }
    .product-card:hover .product-price-box {
        background: #fff1f2;
        border-color: #fda4af;
    }
    .product-price {
        font-size: 1.6rem;
        font-weight: 800;
        color: #e63946;
        margin: 0;
    }
    .product-price small {
        font-size: 1rem;
        color: #64748b;
        font-weight: 600;
    }
    
    .action-buttons {
        display: flex;
        width: 100%;
        gap: 10px;
        align-items: center;
    }
    .btn-detail {
        flex: 1;
        background: #ffffff;
        color: #475569;
        border: 1.5px solid #cbd5e1;
        font-weight: 600;
        border-radius: 10px;
        height: 42px;
        transition: all 0.3s;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-size: 0.95rem;
        white-space: nowrap;
        box-sizing: border-box;
    }
    .btn-detail:hover {
        background: #f1f5f9;
        color: #0f172a;
        border-color: #94a3b8;
    }
    .btn-whatsapp-order {
        flex: 1;
        background: linear-gradient(135deg, #25D366, #128C7E);
        color: #fff;
        border: 1.5px solid transparent;
        font-weight: 600;
        border-radius: 10px;
        height: 42px;
        transition: all 0.3s;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
        font-size: 0.95rem;
        white-space: nowrap;
        box-sizing: border-box;
    }
    .btn-whatsapp-order:hover {
        background: linear-gradient(135deg, #128C7E, #075E54);
        color: #fff;
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
        transform: translateY(-2px);
    }
    
    @media (max-width: 768px) {
        .product-card { border-radius: 12px; }
        .product-img-wrap { height: 140px; padding: 10px; }
        .product-badge { font-size: 0.65rem; padding: 4px 8px; top: 10px; right: 10px; }
        .product-body { padding: 12px; }
        .shipping-badges { gap: 4px; margin-bottom: 8px; }
        .badge-fast, .badge-free { font-size: 0.55rem; padding: 4px; border-radius: 4px; }
        .product-rating { font-size: 0.75rem; margin-bottom: 6px; }
        .product-title { font-size: 0.95rem; margin-bottom: 10px; line-height: 1.3; }
        .product-price-box { padding: 8px 10px; margin-bottom: 12px; border-radius: 8px; }
        .product-price { font-size: 1.3rem; }
        .product-price small { font-size: 0.85rem; }
        
        .action-buttons { gap: 6px; }
        .btn-detail, .btn-whatsapp-order { 
            height: 36px; 
            font-size: 0.75rem; 
            border-radius: 8px;
            gap: 4px;
        }
    }