* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #fefbff;
    color: #1f1b2e;
    font-weight: 500;
    overflow-x: hidden;
}

:root {
    --primary: #b18eff;
    --primary-dark: #9a79e6;
}

/* Top bar */
.top-bar {
    background: #e9defa;
    color: #4a3b6e;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 10px 16px;
}

    .top-bar a {
        color: #6b4fc6;
        text-decoration: underline;
        margin-left: 8px;
    }

/* Navbar */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    padding: 12px 0;
    border-bottom: 1px solid #f0ebff;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .navbar-brand img {
        max-height: 65px;
        width: auto;
    }

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: #3a2e54;
}

.brand-tagline {
    font-size: 0.65rem;
    color: #8a7aa8;
    font-weight: 500;
}

.nav-link {
    font-weight: 600;
    color: #3a2e54;
    font-size: 14px;
    margin: 0 4px;
    transition: 0.2s;
}

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary);
    }

.dropdown-menu {
    border-radius: 20px;
    border: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    padding: 12px 0;
    margin-top: 10px;
    min-width: 220px;
}

.dropdown-item {
    font-weight: 500;
    font-size: 14px;
    padding: 8px 24px;
}

    .dropdown-item:hover {
        background-color: #f9f4ff;
        color: var(--primary);
    }

.search-bar {
    background: #f5f0fe;
    border-radius: 40px;
    border: 1px solid #e5dbff;
    padding: 8px 18px;
    width: 240px;
    font-size: 13px;
}

    .search-bar:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 2px rgba(177, 142, 255, 0.2);
    }

/* Mobile responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 20px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .search-desktop {
        display: none !important;
    }

    .brand-name {
        font-size: 0.9rem;
    }

    .navbar-brand img {
        max-height: 40px;
    }

    .mobile-search-input {
        display: block !important;
        margin-bottom: 15px;
    }
}

.mobile-search-input {
    display: none;
}

    .mobile-search-input input {
        width: 100%;
        background: #f5f0fe;
        border-radius: 40px;
        border: 1px solid #e5dbff;
        padding: 8px 18px;
        font-size: 13px;
    }

/* Hero carousel */
.hero-carousel .carousel-item img {
    height: 420px;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 768px) {
    .hero-carousel .carousel-item img {
        height: 220px;
    }
}

.section-title {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 32px;
    text-align: center;
    color: #322a4a;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }
}

/* Category cards */
.category-card {
    background: white;
    border-radius: 24px;
    transition: all 0.25s ease;
    text-decoration: none;
    display: block;
    border: 1px solid #f1ebff;
    padding: 18px 12px;
    text-align: center;
}

    .category-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 25px -12px rgba(148, 110, 222, 0.15);
        border-color: #ddd0ff;
    }

.category-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 14px;
}

.category-name {
    font-weight: 800;
    font-size: 1rem;
    color: #342a52;
}

.category-count {
    font-size: 0.7rem;
    color: #8a7aa8;
}

/* Product card */
.product-card {
    background: #ffffff;
    border-radius: 24px;
    transition: 0.2s;
    border: 1px solid #f0eaff;
    overflow: hidden;
    height: 100%;
    position: relative;
}

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 25px -12px rgba(116, 80, 191, 0.12);
    }

.product-img {
    width: 100%;
    aspect-ratio: 1/1.2;
    object-fit: cover;
}

.badge-sale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 30px;
    z-index: 2;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 12px 0 6px;
    color: #2a233f;
}

    .product-title a {
        color: #2a233f;
        text-decoration: none;
    }

        .product-title a:hover {
            color: var(--primary);
        }

.product-price {
    font-weight: 800;
    color: var(--primary);
    font-size: 1rem;
}

    .product-price del {
        color: #b3a5cf;
        font-size: 0.75rem;
        margin-right: 6px;
    }

.rating i {
    font-size: 0.7rem;
    color: #f5b342;
}

.btn-outline-custom {
    border: 1.5px solid #c5b0ff;
    background: white;
    color: #7e62dd;
    border-radius: 40px;
    padding: 7px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    transition: 0.2s;
    width: 100%;
    margin-top: 10px;
}

    .btn-outline-custom:hover {
        background: var(--primary);
        border-color: var(--primary);
        color: white;
    }

.btn-whatsapp-sm {
    background-color: #ed3193;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 6px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    width: 100%;
    transition: 0.2s;
    text-decoration: none;
}

    .btn-whatsapp-sm:hover {
        background-color: #128C7E;
        color: white;
    }

/* Testimonials */
.testimonial-card {
    background: #ffffffea;
    border-radius: 28px;
    padding: 28px 24px;
    text-align: center;
    margin: 12px;
    border: 1px solid #ede3ff;
}

.testimonial-text {
    font-style: italic;
    color: #2e2746;
}

/* Footer */
.footer {
    background-color: #faf7ff;
    border-top: 1px solid #e9e2fc;
    padding-top: 50px;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #3a2a5c;
}

.footer-link {
    color: #5e4d81;
    text-decoration: none;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 8px;
}

    .footer-link:hover {
        color: var(--primary);
    }

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-brand-name {
    font-weight: 800;
    font-size: 1rem;
    color: #3a2e54;
}

.footer-brand-tagline {
    font-size: 0.6rem;
    color: #8a7aa8;
}

.copyright {
    background: #ffffff;
    border-top: 1px solid #ede7fc;
    font-size: 0.75rem;
    padding: 18px 0;
    color: #5b4a78;
    text-align: center;
}

/* WhatsApp float */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    background-color: #25d366;
    border-radius: 50px;
    padding: 10px 18px;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-size: 13px;
}

    .whatsapp-float:hover {
        background-color: #128C7E;
        color: white;
    }

.blink-text {
    animation: softPulse 1.5s infinite;
}

@keyframes softPulse {
    0%, 100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 5px #cbb9ff;
    }
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 15px 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: #8a7aa8;
    text-decoration: none;
}

    .breadcrumb-item a:hover {
        color: var(--primary);
    }

.breadcrumb-item.active {
    color: var(--primary);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card, .category-card {
    animation: fadeIn 0.5s ease-out;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse 2s infinite;
}
