/* Custom CSS for BT Fixo */

:root {
    --primary-color: #A60D1A;
    --secondary-color: #0D0D0D;
    --accent-color: #BF3F34;
    --success-color: #198754;
    --dark-color: #0D0D0D;
    --light-color: #f8f9fa;
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .contact-link i,
    .social-link {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .contact-link {
        font-weight: 600;
        text-shadow: 0 0 1px rgba(255,255,255,0.5);
    }
    
    .contact-link i {
        text-shadow: 0 0 1px var(--primary-color);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .contact-link,
    .social-link {
        transition: none;
    }
    
    .contact-link:hover,
    .social-link:hover {
        transform: none;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .contact-link span {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .contact-link i {
        font-size: 0.7rem;
    }
    
    .top-bar {
        padding: 4px 0;
    }
}

/* Zoom support */
@media screen and (min-resolution: 120dpi) {
    .contact-link span {
        font-size: clamp(0.6rem, 2.5vw, 0.9rem);
    }
    
    .contact-link i {
        font-size: clamp(0.6rem, 2.2vw, 0.85rem);
    }
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding-top: 110px; /* Espaço para o header fixo */
}

/* Site Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Top Bar */
.top-bar {
    background: var(--secondary-color);
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.contact-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-weight: 500;
    min-height: 24px;
    padding: 2px 4px;
    border-radius: 4px;
}

.contact-link:hover {
    color: var(--primary-color);
    text-decoration: none;
    transform: translateY(-1px);
}

.contact-link i {
    color: var(--primary-color);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.contact-link span {
    font-size: 0.9rem;
    line-height: 1.2;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.social-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.social-link:hover {
    color: white;
    background: var(--primary-color);
    transform: translateY(-2px);
    text-decoration: none;
}

.whatsapp-link:hover {
    background: #25d366;
}

/* Main Navigation */
.main-nav {
    background: white;
    padding: 15px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo {
    height: 45px;
    width: auto;
    margin-right: 12px;
}

.brand-name {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.navbar-brand:hover {
    transform: scale(1.02);
    text-decoration: none;
}

.navbar-toggler {
    border: none;
    padding: 8px;
    font-size: 1.25rem;
    color: var(--primary-color);
    background: transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(166, 13, 26, 0.1);
    color: var(--primary-color);
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(166, 13, 26, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse {
    flex-grow: 1;
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Garantir que o menu seja visível apenas quando necessário */
.navbar-collapse.show {
    display: flex !important;
}

.navbar-collapse.collapsing {
    display: flex !important;
}

/* Forçar exibição do menu quando necessário */
.navbar-collapse.show .navbar-nav {
    display: flex !important;
}

/* Garantir que o botão hamburger seja oculto em desktop */
.navbar-toggler {
    display: none !important; /* Oculto por padrão em desktop */
}

/* Garantir que o menu mobile fique oculto por padrão */
@media (max-width: 768px) {
    .navbar-collapse:not(.show) {
        display: none !important;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }
    
    .navbar-collapse.show {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    /* Melhorar a acessibilidade do botão hamburger */
    .navbar-toggler[aria-expanded="true"] {
        background: rgba(166, 13, 26, 0.1);
        border-color: var(--primary-color);
    }
}

/* Forçar exibição do menu em desktop */
@media (min-width: 769px) {
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        flex-grow: 1;
        align-items: center;
        justify-content: flex-end;
    }
    
    .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 5px;
    }
    
    .navbar-toggler {
        display: none !important;
    }
}

/* Mostrar apenas em mobile */
@media (max-width: 768px) {
    .navbar-toggler {
        display: block !important;
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border-radius: 0 0 12px 12px;
        padding: 16px;
        z-index: 1000;
    }
    
    .navbar-nav {
        flex-direction: column !important;
        gap: 8px;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 12px 16px !important;
        border-radius: 8px;
        text-align: center;
        font-size: 1rem;
    }
    
    .nav-actions {
        margin: 16px 0 0 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .nav-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
    padding: 10px 16px !important;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(166, 13, 26, 0.08);
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 6px;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.nav-actions {
    margin-left: 20px;
}

.nav-actions .btn {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.nav-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(166, 13, 26, 0.3);
    color: white;
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.hero-image {
    animation: float 6s ease-in-out infinite;
}

.hero-logo {
    max-width: 300px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    animation: float 6s ease-in-out infinite;
}

.about-logo {
    max-width: 250px;
    height: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.about-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-logo {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}



/* Cards */
.card {
    transition: all 0.3s ease;
    border-radius: 15px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.product-card {
    border-radius: 20px;
    overflow: hidden;
}

.product-card .card-body {
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::before {
    opacity: 1;
}

/* Feature Icons */
.feature-icon {
    transition: all 0.3s ease;
}

.card:hover .feature-icon {
    transform: scale(1.1);
}

/* Buttons */
.btn {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: none;
    box-shadow: 0 4px 15px rgba(166, 13, 26, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(166, 13, 26, 0.4);
}

.btn-outline-light {
    border-width: 2px;
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

/* Product Features */
.product-features {
    margin-top: 1rem;
}

.product-features .d-flex {
    margin-bottom: 0.5rem;
}

/* Filter Buttons */
.btn-outline-primary {
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Specifications */
.spec-item {
    padding: 2rem 1rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.spec-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Contact Items */
.contact-item {
    padding: 2rem 1rem;
    border-radius: 15px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

/* Social Links */
.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Modal */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    border-radius: 20px 20px 0 0;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    border-radius: 0 0 20px 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-item {
    animation: fadeInUp 0.6s ease forwards;
}

.product-item:nth-child(1) { animation-delay: 0.1s; }
.product-item:nth-child(2) { animation-delay: 0.2s; }
.product-item:nth-child(3) { animation-delay: 0.3s; }
.product-item:nth-child(4) { animation-delay: 0.4s; }
.product-item:nth-child(5) { animation-delay: 0.5s; }
.product-item:nth-child(6) { animation-delay: 0.6s; }

/* Responsive Design */

/* Large devices (desktops) */
@media (min-width: 1200px) {
    .top-bar {
        padding: 10px 0;
        font-size: 0.9rem;
    }
    
    .contact-info {
        gap: 25px;
    }
    
    .contact-link {
        font-size: 0.9rem;
    }
    
    .contact-link i {
        font-size: 0.85rem;
    }
    
    .contact-link span {
        font-size: 0.9rem;
        line-height: 1.3;
        font-weight: 500;
    }
    
    .social-link {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

/* Medium-large devices */
@media (max-width: 1199px) and (min-width: 993px) {
    .contact-link span {
        font-size: 0.87rem;
        line-height: 1.28;
        font-weight: 500;
    }
    
    .contact-link i {
        font-size: 0.82rem;
    }
}

/* Medium devices (tablets) */
@media (max-width: 992px) and (min-width: 769px) {
    .top-bar {
        padding: 7px 0;
        font-size: 0.82rem;
    }
    
    .contact-info {
        gap: 15px;
    }
    
    .contact-link {
        font-size: 0.8rem;
    }
    
    .contact-link i {
        font-size: 0.78rem;
    }
    
    .contact-link span {
        font-size: 0.8rem;
        line-height: 1.25;
        font-weight: 500;
    }
    
    .social-link {
        width: 26px;
        height: 26px;
        font-size: 0.85rem;
    }
}

/* Small tablets */
@media (max-width: 768px) and (min-width: 577px) {
    .contact-link span {
        font-size: 0.7rem;
        line-height: 1.18;
        font-weight: 500;
    }
    
    .contact-link i {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 130px;
    }
    
    .top-bar {
        padding: 6px 0;
        font-size: 0.8rem;
    }
    
    .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .contact-info {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 100%;
    }
    
    .contact-link {
        font-size: 0.75rem;
        padding: 3px 6px;
        border-radius: 4px;
        background: rgba(255,255,255,0.05);
        transition: all 0.3s ease;
    }
    
    .contact-link:hover {
        background: rgba(255,255,255,0.1);
        transform: translateY(-1px);
    }
    
    .contact-link i {
        font-size: 0.75rem;
    }
    
    .contact-link span {
        font-size: 0.75rem;
        line-height: 1.2;
        font-weight: 500;
    }
    
    .social-links {
        gap: 6px;
        align-self: flex-end;
    }
    
    .social-link {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
    
    .main-nav {
        padding: 12px 0;
    }
    
    .logo {
        height: 35px;
        margin-right: 8px;
    }
    
    .brand-name {
        font-size: 1.3rem;
    }
    
    /* Botão hamburger em mobile */
    .navbar-toggler {
        display: block !important;
        padding: 6px;
        font-size: 1.1rem;
        color: var(--primary-color);
        border: 1px solid rgba(166, 13, 26, 0.2);
        background: white;
    }
    
    .navbar-toggler:hover {
        background: rgba(166, 13, 26, 0.1);
        border-color: var(--primary-color);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(166, 13, 26, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    /* Menu mobile */
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        border-top: 1px solid rgba(0,0,0,0.05);
        z-index: 1001;
        display: none !important;
        max-height: 80vh;
        overflow-y: auto;
        border-radius: 0 0 12px 12px;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    }
    
    .navbar-collapse.show {
        display: block !important;
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }
    
    .navbar-collapse.collapsing {
        display: block !important;
    }
    
    /* Animação de fade-out */
    .navbar-collapse.fade-out {
        opacity: 0;
        transform: translateY(-10px);
        visibility: hidden;
    }
    

    
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin: 0;
        padding: 15px 0;
        width: 100%;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 15px 20px !important;
        border-radius: 8px;
        border: 1px solid rgba(166, 13, 26, 0.1);
        width: 100%;
        display: block;
        margin: 4px 0;
        transition: all 0.3s ease;
        text-align: center;
        font-weight: 500;
    }
    
    .nav-link:hover {
        background: rgba(166, 13, 26, 0.1);
        border-color: var(--primary-color);
        transform: translateX(5px);
    }
    
    .nav-actions {
        margin: 15px 20px 0 20px;
        width: calc(100% - 40px);
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .nav-actions .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        border-radius: 25px;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .nav-actions .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(166, 13, 26, 0.3);
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    .about-logo {
        max-width: 180px;
    }
    
    .footer-logo {
        height: 30px !important;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 150px;
    }
    
    .top-bar {
        font-size: 0.7rem;
        padding: 5px 0;
    }
    
    .top-bar-content {
        gap: 6px;
    }
    
    .contact-info {
        gap: 6px;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }
    
    .contact-link {
        font-size: 0.65rem;
        padding: 2px 4px;
        border-radius: 3px;
        background: rgba(255,255,255,0.05);
        min-width: fit-content;
    }
    
    .contact-link i {
        font-size: 0.65rem;
    }
    
    .contact-link span {
        font-size: 0.65rem;
        line-height: 1.15;
        font-weight: 500;
    }
    
    .social-links {
        gap: 4px;
        align-self: center;
        margin-top: 4px;
    }
    
    .social-link {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }
    
    .logo {
        height: 30px;
        margin-right: 6px;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    /* Botão hamburger em mobile pequeno */
    .navbar-toggler {
        padding: 5px;
        font-size: 1rem;
        border-width: 1px;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    body {
        padding-top: 140px;
    }
    
    .top-bar {
        padding: 4px 0;
        font-size: 0.65rem;
    }
    
    .top-bar-content {
        gap: 3px;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-info {
        gap: 3px;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-link {
        font-size: 0.9rem;
        padding: 2px 4px;
        border-radius: 3px;
        background: rgba(255,255,255,0.05);
        min-width: fit-content;
        text-align: center;
        justify-content: center;
    }
    
    .contact-link i {
        font-size: 0.9rem;
    }
    
    .contact-link span {
        font-size: 0.9rem;
        line-height: 1.1;
        font-weight: 500;
    }
    
    .social-links {
        gap: 3px;
        align-self: center;
        margin-top: 3px;
        justify-content: center;
    }
    
    .social-link {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
    }
    
    .main-nav {
        padding: 6px 0;
    }
    
    .logo {
        height: 28px;
        margin-right: 5px;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }
    
    /* Botão hamburger em mobile extra pequeno */
    .navbar-toggler {
        padding: 4px;
        font-size: 0.9rem;
        border-width: 1px;
    }
    
    .navbar-nav {
        padding: 8px 0;
    }
    
    .nav-link {
        padding: 10px 12px !important;
        font-size: 0.9rem;
        margin: 2px 0;
    }
    
    .nav-actions {
        margin: 8px 12px 0 12px;
        width: calc(100% - 24px);
        gap: 6px;
    }
    
    .nav-actions .btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* Loading Animation */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: white;
    text-decoration: none;
    transform: scale(1.1);
}

.whatsapp-float i {
    font-size: 28px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .whatsapp-float i {
        font-size: 22px;
    }
}

/* Product Tabs Styles */
.tabs-container {
    position: relative;
    margin-bottom: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.tabs-wrapper {
    position: relative;
    overflow: visible;
}

.tabs-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; /* Firefox */
    -ms-overflow-style: auto; /* IE and Edge */
    padding: 10px 0;
}

.tabs-scroll::-webkit-scrollbar {
    height: 6px; /* Chrome, Safari, Opera */
}

.tabs-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.tabs-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.tabs-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.product-tabs {
    display: flex;
    flex-wrap: wrap;
    border: none;
    gap: 8px;
    padding: 0;
    margin: 0;
    min-width: max-content;
    justify-content: center;
}

.product-tabs .nav-link {
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(166, 13, 26, 0.1);
    min-width: 140px;
    justify-content: center;
}

.product-tabs .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(166, 13, 26, 0.1), transparent);
    transition: left 0.5s ease;
}

.product-tabs .nav-link:hover::before {
    left: 100%;
}

.product-tabs .nav-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(166, 13, 26, 0.4);
    border-color: var(--primary-color);
}

.product-tabs .nav-link.active {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 6px 20px rgba(166, 13, 26, 0.4);
    transform: translateY(-2px);
    position: relative;
}

.product-tabs .nav-link.active,
.product-tabs .nav-link.active *,
.product-tabs .nav-link.active span,
.product-tabs .nav-link.active i,
.product-tabs .nav-link.active strong,
.product-tabs .nav-link.active em {
    color: white !important;
}

.product-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.product-tabs .nav-link.active:hover {
    background: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: white !important;
}

.product-tabs .nav-link.active:hover,
.product-tabs .nav-link.active:hover *,
.product-tabs .nav-link.active:hover span,
.product-tabs .nav-link.active:hover i,
.product-tabs .nav-link.active:hover strong,
.product-tabs .nav-link.active:hover em {
    color: white !important;
}

.product-tabs .nav-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.product-tabs .nav-link.active i {
    color: white !important;
}

.product-tabs .nav-link:hover i {
    transform: scale(1.1);
}

.product-tabs .nav-link.active:hover i {
    color: white !important;
    transform: scale(1.1);
}

/* Tab Content Styles */
.tab-content {
    position: relative;
    min-height: 500px;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-top: 20px;
}

.tab-pane {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.tab-pane.fade {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-pane.fade.show {
    opacity: 1;
    display: block;
    transform: translateY(0);
}

/* Garantir que as abas sejam sempre visíveis */
.product-tabs {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.product-tabs .nav-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    flex-shrink: 0;
}

/* Indicador de aba ativa */
.tab-indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    z-index: 10;
}

/* Responsive Tabs */
@media (max-width: 1200px) {
    .product-tabs .nav-link {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .product-tabs .nav-link i {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .product-tabs .nav-link {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .product-tabs .nav-link i {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .tabs-container {
        margin-bottom: 1.5rem;
        padding: 15px;
    }
    
    .product-tabs {
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .product-tabs .nav-link {
        padding: 12px 18px;
        font-size: 0.85rem;
        border-radius: 25px;
        gap: 6px;
        min-width: 120px;
        flex: 0 0 auto;
    }
    
    .product-tabs .nav-link i {
        font-size: 0.9rem;
    }
    
    .product-tabs .nav-link span {
        display: inline;
        font-size: 0.8rem;
    }
    
    .tab-content {
        padding: 20px;
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .tabs-container {
        padding: 10px;
    }
    
    .product-tabs {
        gap: 4px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .product-tabs .nav-link {
        padding: 10px 14px;
        font-size: 0.8rem;
        border-radius: 20px;
        min-width: 100px;
        flex: 0 0 auto;
    }
    
    .product-tabs .nav-link i {
        font-size: 0.85rem;
    }
    
    .product-tabs .nav-link span {
        font-size: 0.75rem;
    }
    
    .tab-content {
        padding: 15px;
        margin-top: 10px;
    }
}

/* Tab Navigation Arrows (for mobile) */
.tabs-nav-arrows {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.tabs-nav-arrows:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.tabs-nav-prev {
    left: 10px;
}

.tabs-nav-next {
    right: 10px;
}

@media (max-width: 768px) {
    .tabs-nav-arrows {
        display: flex;
    }
    
    .tabs-wrapper {
        padding: 0 50px;
    }
}

/* Tab Content Animation */
@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-pane.show {
    animation: tabFadeIn 0.4s ease-out;
}

/* Tab Indicator */
.tab-indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Enhanced Tab Hover Effects */
.product-tabs .nav-link {
    position: relative;
    overflow: hidden;
}

.product-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.product-tabs .nav-link:hover::after {
    width: 100%;
}

.product-tabs .nav-link.active::after {
    width: 100%;
    background: white;
}

/* Product Badge Styles */
.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(166, 13, 26, 0.3);
    z-index: 10;
}

.product-badge:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    border-radius: 20px;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Product Card Position Relative for Badge */
.product-card {
    position: relative;
}

/* Enhanced Product Card Hover Effects */
.product-card:hover .product-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(166, 13, 26, 0.4);
}

/* Responsive Badge */
@media (max-width: 768px) {
    .product-badge {
        font-size: 0.7rem;
        padding: 3px 10px;
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 576px) {
    .product-badge {
        font-size: 0.65rem;
        padding: 2px 8px;
        top: 6px;
        right: 6px;
    }
}

/* Product Image Styles */
.product-image {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: white;
    padding: 10px;
    margin: 0 auto;
    display: block;
}

.product-card:hover .product-image {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Product Image Container */
.product-card .text-center {
    position: relative;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Responsive Product Images */
@media (max-width: 1200px) {
    .product-image {
        max-width: 180px;
        max-height: 180px;
    }
    
    .product-card .text-center {
        min-height: 200px;
    }
}

@media (max-width: 992px) {
    .product-image {
        max-width: 160px;
        max-height: 160px;
    }
    
    .product-card .text-center {
        min-height: 180px;
    }
}

@media (max-width: 768px) {
    .product-image {
        max-width: 140px;
        max-height: 140px;
        padding: 8px;
    }
    
    .product-card .text-center {
        min-height: 160px;
    }
}

@media (max-width: 576px) {
    .product-image {
        max-width: 120px;
        max-height: 120px;
        padding: 6px;
    }
    
    .product-card .text-center {
        min-height: 140px;
    }
}

/* Image Loading Animation */
.product-image {
    opacity: 0;
    animation: fadeInImage 0.6s ease forwards;
}

@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image Error Fallback */
.product-image:not([src]), 
.product-image[src=""],
.product-image[src*="error"] {
    display: none;
}

.product-image:not([src]) + .product-badge,
.product-image[src=""] + .product-badge,
.product-image[src*="error"] + .product-badge {
    position: static;
    margin-top: 10px;
}

/* Enhanced Image Hover Effects */
.product-card:hover .product-image {
    filter: brightness(1.1);
    transform: scale(1.05) rotate(2deg);
}

/* Image Border on Hover */
.product-card:hover .product-image {
    border: 2px solid var(--primary-color);
    border-radius: 12px;
}

/* Product Badges Styles */
.product-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.product-badges .badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    animation: badgePulse 2s infinite;
}

.product-badges .badge:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Enhanced Product Card Animations */
.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* Product Grid Improvements */
.row.g-4 {
    margin: 0 -15px;
}

.row.g-4 > [class*="col-"] {
    padding: 0 15px;
    margin-bottom: 30px;
}

/* Loading State for Products */
.product-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.product-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loadingShimmer 1.5s infinite;
}

@keyframes loadingShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
} 

/* Abas laterais de produtos */
.sidebar-tabs {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 24px 16px;
    margin-bottom: 24px;
}
.sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-tabs-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.product-tabs-sidebar .nav-link {
    text-align: left;
    border-radius: 6px;
    color: var(--primary-color);
    background: #f8f9fa;
    margin-bottom: 4px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
}
.product-tabs-sidebar .nav-link.active,
.product-tabs-sidebar .nav-link:focus,
.product-tabs-sidebar .nav-link:hover {
    background: var(--primary-color);
    color: #fff;
}
.product-tabs-sidebar .nav-link i {
    font-size: 1.2rem;
    color: inherit;
}

@media (max-width: 991.98px) {
    .sidebar-tabs {
        padding: 16px 8px;
    }
    .product-tabs-sidebar .nav-link {
        font-size: 1rem;
        padding: 8px 12px;
    }
}
@media (max-width: 768px) {
    .sidebar-tabs {
        margin-bottom: 16px;
        border-radius: 8px;
        box-shadow: none;
        padding: 8px 4px;
    }
    .product-tabs-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
    }
    .product-tabs-sidebar .nav-link {
        flex: 1 1 48%;
        margin-bottom: 0;
        font-size: 0.95rem;
        padding: 8px 6px;
        min-width: 120px;
        justify-content: center;
        text-align: center;
    }
    .col-lg-3.col-md-4.mb-4 {
        margin-bottom: 0 !important;
    }
    .col-lg-9.col-md-8 {
        margin-top: 16px;
    }
}
@media (max-width: 576px) {
    .product-tabs-sidebar {
        flex-direction: column;
    }
    .product-tabs-sidebar .nav-link {
        min-width: unset;
        font-size: 0.92rem;
        padding: 7px 4px;
    }
} 