:root {
    --navy: #1a1f3c;
    --navy-light: #252a4a;
    --accent: #ff4757;
    --accent-hover: #e03e4d;
    --dark: #0a0a0a;
    --gray: #6c757d;
    --light-bg: #f4f6f9;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: #2c3e50;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark);
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}
.top-bar a:hover { color: var(--accent); }

/* Navbar */
.navbar-main {
    background-color: var(--navy) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}
.nav-link-custom {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.6rem 1.2rem !important;
    margin: 0 0.2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.nav-link-custom:hover, .nav-link-custom.active {
    background-color: var(--accent);
    color: white !important;
}
.search-box { position: relative; }
.search-box input {
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding-right: 45px;
    border-radius: 8px;
}
.search-box input::placeholder { color: rgba(255,255,255,0.6); }
.search-box input:focus {
    background-color: rgba(255,255,255,0.15);
    border-color: var(--accent);
    color: white;
    box-shadow: none;
}
.search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background-color: var(--accent);
    border: none;
    color: white;
    padding: 0 1.2rem;
    border-radius: 0 8px 8px 0;
    transition: background 0.3s;
}
.search-btn:hover { background-color: var(--accent-hover); }

/* Hero */
.hero-section {
    background: linear-gradient(135deg, var(--navy) 0%, #2d3561 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,71,87,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-title {
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}
.btn-accent {
    background-color: var(--accent);
    border: none;
    color: white;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}
.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 5px 15px rgba(255,71,87,0.3);
}
.btn-outline-light-custom {
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}
.btn-outline-light-custom:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: white;
    color: white;
}

/* Features bar */
.features-bar {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 2rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}
.feature-item { display: flex; align-items: center; gap: 1rem; }
.feature-icon {
    font-size: 2rem;
    color: var(--accent);
}
.feature-text h5 {
    font-weight: 700;
    margin: 0;
    color: var(--navy);
    font-size: 1rem;
}
.feature-text p { margin: 0; font-size: 0.85rem; color: var(--gray); }

/* Section headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.section-title {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--navy);
    position: relative;
    padding-left: 1rem;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}
.btn-view-all {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.btn-view-all:hover { color: var(--accent-hover); }

/* Categories */
.category-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #eee;
    cursor: pointer;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: var(--accent);
}
.category-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--accent);
    transition: all 0.3s;
}
.category-card:hover .category-icon {
    background-color: var(--accent);
    color: white;
}

/* Product Card — Multivendedor */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.product-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
    background-color: var(--light-bg);
}
.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.product-card:hover .product-img-wrapper img { transform: scale(1.05); }

.badge-sale {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--accent);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}
.btn-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.btn-wishlist:hover {
    background-color: var(--accent);
    color: white;
}

.product-info { padding: 1.2rem; }
.product-category {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-title {
    font-weight: 600;
    font-size: 1rem;
    margin: 0.3rem 0;
    color: var(--navy);
}
.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0.5rem 0;
}
.product-price span { color: var(--gray); font-size: 0.9rem; font-weight: 500; }

/* Seller info inside card */
.seller-info {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0.8rem 0;
    padding-top: 0.8rem;
    border-top: 1px solid #f0f0f0;
}
.seller-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--light-bg);
}
.seller-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
}
.seller-meta {
    font-size: 0.75rem;
    color: var(--gray);
    margin: 0;
}
.verified-badge {
    color: var(--accent);
    font-size: 0.8rem;
}

.btn-contact {
    width: 100%;
    background-color: var(--navy);
    color: white;
    border: none;
    padding: 0.7rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.btn-contact:hover {
    background-color: var(--accent);
    color: white;
}

/* Promo banner */
.promo-banner {
    background: linear-gradient(90deg, var(--navy) 0%, var(--accent) 100%);
    border-radius: 16px;
    padding: 3rem;
    color: white;
    overflow: hidden;
}
.promo-banner::after {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

/* Footer */
.footer-main {
    background-color: var(--navy);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 2rem;
}
.footer-brand {
    font-weight: 800;
    font-size: 1.8rem;
}
.footer-title {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.7rem;
    transition: all 0.3s;
}
.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}
.footer-bottom {
    background-color: var(--dark);
    color: rgba(255,255,255,0.5);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}
.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 0.5rem;
    transition: all 0.3s;
}
.social-icon:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.rating { color: #ffc107; font-size: 0.85rem; }

.site-footer {
    background: #fff !important;
}


@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .features-bar { margin-top: -2rem; }
}