:root {
    --hope-primary: #3a57e8;
    --hope-primary-dark: #2a44c0;
    --hope-secondary: #1e2a3a;
    --hope-bg: #f4f7fc;
    --hope-accent: #4bc5b8;
    --hope-text: #1e2a3a;
    --hope-text-muted: #6c757d;
    --hope-border: #e2e7f1;
    --whatsapp: #25D366;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--font-family);
    background: #fff;
    color: var(--hope-text);
}

.topbar {
    background: var(--hope-secondary);
    padding: 6px 0;
    font-size: 0.8rem;
}

.topbar a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.topbar a:hover {
    color: #fff;
}

.navbar-catalogo {
    background: #fff;
    border-bottom: 1px solid var(--hope-border);
    padding: 0.8rem 0;
}

.navbar-catalogo .navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--hope-primary);
    letter-spacing: -0.5px;
}

.navbar-catalogo .navbar-brand span {
    color: var(--hope-secondary);
}

.navbar-catalogo .nav-link {
    color: var(--hope-text);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.2s;
}

.navbar-catalogo .nav-link:hover {
    background: var(--hope-bg);
    color: var(--hope-primary);
}

.hero-section {
    background: linear-gradient(135deg, rgba(42, 58, 90, 0.8) 0%, rgba(20, 30, 48, 0.8) 100%), 
                url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-section p {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
    max-width: 500px;
}

.hero-section .btn-primary {
    background: var(--hope-accent);
    border: none;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s;
}

.hero-section .btn-primary:hover {
    background: #3ab0a3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(75,197,184,0.3);
}

.section-title {
    font-weight: 700;
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
    color: var(--hope-secondary);
}

.section-subtitle {
    color: var(--hope-text-muted);
    margin-bottom: 2rem;
}

.category-card {
    display: block;
    background: var(--hope-bg);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--hope-text);
    transition: all 0.3s;
    border: 1px solid transparent;
}

.category-card:hover {
    background: #fff;
    border-color: var(--hope-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(58,87,232,0.1);
    color: var(--hope-primary);
}

.category-card .icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.category-card h5 {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.category-card small {
    color: var(--hope-text-muted);
}

.product-card {
    background: #fff;
    border: 1px solid var(--hope-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card .card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.product-card .card-body .btn-outline-dark {
    position: relative;
    z-index: 3;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}

.product-card .img-wrap {
    height: 240px;
    overflow: hidden;
    position: relative;
    background: var(--hope-bg);
}

.product-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .img-wrap img {
    transform: scale(1.08);
}

.product-card .img-wrap .no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--hope-text-muted);
}

.product-card .card-body {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .card-body .category-badge {
    font-size: 0.75rem;
    color: var(--hope-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.product-card .card-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--hope-secondary);
}

.product-card .card-text {
    color: var(--hope-text-muted);
    font-size: 0.85rem;
    flex: 1;
}

.product-card .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--hope-primary);
    margin: 0.5rem 0;
}

.product-card .btn-outline-dark {
    border-radius: 10px;
    font-weight: 600;
    padding: 8px;
    border-color: var(--hope-border);
    color: var(--hope-text);
    transition: all 0.2s;
}

.product-card .btn-outline-dark:hover {
    background: var(--hope-primary);
    border-color: var(--hope-primary);
    color: #fff;
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--whatsapp);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    transition: all 0.3s;
    z-index: 999;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.5);
    color: #fff;
}

.site-footer {
    background: var(--hope-secondary);
    color: rgba(255,255,255,0.8);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.site-footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.site-footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--hope-accent);
}

.site-footer .social-links a {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.4rem;
}

.site-footer .newsletter-form .form-control {
    border-radius: 10px 0 0 10px;
    border: none;
    padding: 10px 16px;
}

.site-footer .newsletter-form .btn {
    border-radius: 0 10px 10px 0;
    background: var(--hope-accent);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 10px 20px;
}

.site-footer .newsletter-form .btn:hover {
    background: #3ab0a3;
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    font-size: 0.85rem;
    text-align: center;
}

.product-detail-img {
    border-radius: 16px;
    overflow: hidden;
    background: var(--hope-bg);
}

.product-detail-img img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.product-detail-info h1 {
    font-weight: 700;
    font-size: 2rem;
    color: var(--hope-secondary);
}

.product-detail-info .price-display {
    font-size: 2rem;
    font-weight: 800;
    color: var(--hope-primary);
}

.product-detail-info .form-select-lg {
    border-radius: 10px;
    border: 1px solid var(--hope-border);
    padding: 12px 16px;
    font-size: 1rem;
}

.product-detail-info .form-select-lg:focus {
    border-color: var(--hope-primary);
    box-shadow: 0 0 0 3px rgba(58,87,232,0.1);
}

.product-detail-info .btn-whatsapp {
    background: var(--whatsapp);
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    width: 100%;
}

.product-detail-info .btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,211,102,0.3);
    color: #fff;
}

.breadcrumb-custom {
    background: transparent;
    padding: 0.8rem 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-custom .breadcrumb-item a {
    color: var(--hope-primary);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-custom .breadcrumb-item.active {
    color: var(--hope-text-muted);
}

.pagination .page-link {
    border: 1px solid var(--hope-border);
    color: var(--hope-text);
    padding: 8px 16px;
    border-radius: 8px;
    margin: 0 3px;
    transition: all 0.2s;
}

.pagination .page-link:hover {
    background: var(--hope-primary);
    color: #fff;
    border-color: var(--hope-primary);
}

.pagination .page-item.active .page-link {
    background: var(--hope-primary);
    border-color: var(--hope-primary);
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section {
        padding: 2.5rem 0;
    }

    .product-card .img-wrap {
        height: 200px;
    }
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -2px;
    background: var(--hope-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.order-code {
    display: inline-block;
    background: var(--hope-bg);
    border: 2px dashed var(--hope-primary);
    color: var(--hope-primary);
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: 2px;
    padding: 0.75rem 2rem;
    border-radius: 12px;
}

.step-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    background: var(--hope-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.cart-card .table td {
    vertical-align: middle;
}
