        /* Reset e variáveis */
        :root {
            --primary: #007bff;
            --secondary: #6c757d;
            --success: #28a745;
            --danger: #dc3545;
            --warning: #ffc107;
            --info: #17a2b8;
            --light: #f8f9fa;
            --dark: #343a40;
            --white: #ffffff;
            --gray-100: #f8f9fa;
            --gray-200: #e9ecef;
            --gray-300: #dee2e6;
            --gray-400: #ced4da;
            --gray-500: #adb5bd;
            --gray-600: #6c757d;
            --gray-700: #495057;
            --gray-800: #343a40;
            --gray-900: #212529;
            --font-family-sans-serif: "Roboto", sans-serif;
            --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            --border-radius: 0.375rem;
            --border-radius-lg: 0.5rem;
            --border-radius-sm: 0.25rem;
            --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
            --box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
            --transition: all 0.15s ease-in-out;
        }
        
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        body {
            font-family: var(--font-family-sans-serif);
            font-size: 1rem;
            font-weight: 400;
            line-height: 1.5;
            color: var(--gray-900);
            background-color: var(--white);
        }
        
        /* Utilitários */
        .container {
            width: 100%;
            padding-right: 15px;
            padding-left: 15px;
            margin-right: auto;
            margin-left: auto;
        }
        
        @media (min-width: 576px) {
            .container {
                max-width: 540px;
            }
        }
        
        @media (min-width: 768px) {
            .container {
                max-width: 720px;
            }
        }
        
        @media (min-width: 992px) {
            .container {
                max-width: 960px;
            }
        }
        
        @media (min-width: 1200px) {
            .container {
                max-width: 1140px;
            }
        }
        
        .mt-3 { margin-top: 1rem; }
        .mt-4 { margin-top: 1.5rem; }
        .mt-5 { margin-top: 3rem; }
        .mb-3 { margin-bottom: 1rem; }
        .mb-4 { margin-bottom: 1.5rem; }
        .me-1 { margin-right: 0.25rem; }
        .me-2 { margin-right: 0.5rem; }
        .ms-1 { margin-left: 0.25rem; }
        
        .text-center { text-align: center; }
        .fw-bold { font-weight: 700; }
        .fst-italic { font-style: italic; }
        .lead {
            font-size: 1.25rem;
            font-weight: 300;
        }
        
        .small {
            font-size: 0.875rem;
        }
        
        .d-flex {
            display: flex;
        }
        
        .d-block {
            display: block;
        }
        
        .align-items-center {
            align-items: center;
        }
        
        .justify-content-between {
            justify-content: space-between;
        }
        
        .justify-content-center {
            justify-content: center;
        }
        
        .row {
            display: flex;
            flex-wrap: wrap;
            margin-right: -15px;
            margin-left: -15px;
        }
        
        .col-lg-3, .col-lg-6, .col-md-6 {
            position: relative;
            width: 100%;
            padding-right: 15px;
            padding-left: 15px;
        }
        
        @media (min-width: 768px) {
            .col-md-6 {
                flex: 0 0 50%;
                max-width: 50%;
            }
        }
        
        @media (min-width: 992px) {
            .col-lg-3 {
                flex: 0 0 25%;
                max-width: 25%;
            }
            
            .col-lg-6 {
                flex: 0 0 50%;
                max-width: 50%;
            }
        }
        
        /* Botões */
        .btn {
            display: inline-block;
            font-weight: 400;
            text-align: center;
            vertical-align: middle;
            user-select: none;
            border: 1px solid transparent;
            padding: 0.375rem 0.75rem;
            font-size: 1rem;
            line-height: 1.5;
            border-radius: var(--border-radius);
            transition: var(--transition);
            text-decoration: none;
            cursor: pointer;
        }
        
        .btn:disabled {
            opacity: 0.65;
            pointer-events: none;
        }
        
        .btn-primary {
            color: var(--white);
            background-color: var(--primary);
            border-color: var(--primary);
        }
        
        .btn-primary:hover {
            background-color: #0069d9;
            border-color: #0062cc;
        }
        
        .btn-warning {
            color: var(--gray-900);
            background-color: var(--warning);
            border-color: var(--warning);
        }
        
        .btn-warning:hover {
            background-color: #e0a800;
            border-color: #d39e00;
        }
        
        .btn-outline-secondary {
            color: var(--gray-600);
            background-color: transparent;
            border-color: var(--gray-600);
        }
        
        .btn-outline-secondary:hover {
            color: var(--white);
            background-color: var(--gray-600);
            border-color: var(--gray-600);
        }
        
        .btn-outline-primary {
            color: var(--primary);
            background-color: transparent;
            border-color: var(--primary);
        }
        
        .btn-outline-primary:hover {
            color: var(--white);
            background-color: var(--primary);
            border-color: var(--primary);
        }
        
        .btn-outline-danger {
            color: var(--danger);
            background-color: transparent;
            border-color: var(--danger);
        }
        
        .btn-outline-danger:hover {
            color: var(--white);
            background-color: var(--danger);
            border-color: var(--danger);
        }
        
        .btn-sm {
            padding: 0.25rem 0.5rem;
            font-size: 0.875rem;
            border-radius: var(--border-radius-sm);
        }
        
        /* Formulários */
        .form-label {
            display: inline-block;
            margin-bottom: 0.5rem;
        }
        
        .form-control {
            display: block;
            width: 100%;
            padding: 0.375rem 0.75rem;
            font-size: 1rem;
            line-height: 1.5;
            color: var(--gray-700);
            background-color: var(--white);
            background-clip: padding-box;
            border: 1px solid var(--gray-400);
            border-radius: var(--border-radius);
            transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        }
        
        .form-control:focus {
            color: var(--gray-700);
            background-color: var(--white);
            border-color: #80bdff;
            outline: 0;
            box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
        }
        
      
        
        /* Badges */
        .badge {
            display: inline-block;
            padding: 0.25em 0.4em;
            font-size: 0.75rem;
            font-weight: 700;
            line-height: 1;
            text-align: center;
            white-space: nowrap;
            vertical-align: baseline;
            border-radius: var(--border-radius);
        }
        
        .badge-new {
            color: var(--white);
            background-color: var(--success);
        }
        
        .badge-featured {
            color: var(--white);
            background-color: var(--warning);
        }
        
        .badge-out-of-stock {
            color: var(--white);
            background-color: var(--danger);
        }
        
        .badge-promo {
            color: var(--white);
            background-color: var(--info);
        }
        
        .discount-badge {
            background-color: var(--danger);
            color: var(--white);
            padding: 0.25rem 0.5rem;
            border-radius: var(--border-radius);
            font-weight: 700;
            font-size: 0.875rem;
        }
        
        /* Cards */
        .card {
            position: relative;
            display: flex;
            flex-direction: column;
            min-width: 0;
            word-wrap: break-word;
            background-color: var(--white);
            background-clip: border-box;
            border: 1px solid rgba(0, 0, 0, 0.125);
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow-sm);
            transition: var(--transition);
        }
        
        .card:hover {
            box-shadow: var(--box-shadow);
        }
        
        .card-body {
            flex: 1 1 auto;
            padding: 1.25rem;
        }
        
        .card-title {
            margin-bottom: 0.75rem;
            font-size: 1rem;
            font-weight: 700;
        }
        
        /* Estilos específicos para a página de detalhes */
        .product-container {
            background-color: var(--white);
            border-radius: var(--border-radius-lg);
            box-shadow: var(--box-shadow-sm);
            margin-bottom: 1.5rem;
            overflow: hidden;
        }
        
        .error-container {
            padding: 3rem 1rem;
            text-align: center;
        }
        
        .error-icon {
            font-size: 4rem;
            color: var(--warning);
            margin-bottom: 1rem;
        }
        
        .product-header {
            background-color: var(--gray-100);
            padding: 2rem 0;
            margin-bottom: 2rem;
        }
        
        .product-gallery {
            position: relative;
            padding: 1rem;
        }
        
        .product-badges {
            position: absolute;
            top: 1rem;
            left: 1rem;
            z-index: 10;
        }
        
        .main-image {
            width: 100%;
            height: auto;
            border-radius: var(--border-radius);
            margin-bottom: 1rem;
        }
        
        .thumbnail-container {
            display: flex;
            gap: 0.5rem;
            overflow-x: auto;
            padding-bottom: 0.5rem;
        }
        
        .thumbnail {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border-radius: var(--border-radius-sm);
            cursor: pointer;
            opacity: 0.7;
            transition: var(--transition);
            border: 2px solid transparent;
        }
        
        .thumbnail:hover, .thumbnail.active {
            opacity: 1;
            border-color: var(--primary);
        }
        
        .product-info {
            padding: 1rem;
        }
        
        .product-title {
            font-size: 1.75rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        
        .product-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 1rem;
            color: var(--gray-600);
            font-size: 0.875rem;
        }
        
        .rating {
            color: var(--warning);
        }
        
        .price-section {
            margin-bottom: 1.5rem;
            padding: 1rem;
            background-color: var(--gray-100);
            border-radius: var(--border-radius);
        }
        
        .current-price {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--primary);
            margin-right: 0.5rem;
        }
        
        .original-price {
            font-size: 1.25rem;
            text-decoration: line-through;
            color: var(--gray-600);
        }
        
        .stock-info {
            display: flex;
            align-items: center;
            margin-top: 0.5rem;
            font-size: 0.875rem;
        }
        
        .stock-good {
            color: var(--success);
        }
        
        .stock-low {
            color: #bd081c;
        }
        
        .quantity-selector {
            margin-bottom: 1.5rem;
        }
        
        .quantity-input {
            width: 70px;
            text-align: center;
            margin: 0 0.5rem;
        }
        
        .quantity-btn {
            width: 38px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
        }
        
        .action-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }
        
        .btn-cart, .btn-quote {
            flex: 1;
            min-width: 200px;
            padding: 0.75rem 1rem;
            font-size: 1rem;
        }
        
        .social-share {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
            padding: 1rem;
            background-color: var(--gray-100);
            border-radius: var(--border-radius);
        }
        
        .share-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            margin-right: 0.5rem;
            color: var(--white);
            text-decoration: none;
            transition: var(--transition);
        }
        
        .share-btn.facebook { background-color: #3b5998; }
        .share-btn.twitter { background-color: #1da1f2; }
        .share-btn.whatsapp { background-color: #25d366; }
        .share-btn.pinterest { background-color: #bd081c; }
        
        .share-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--box-shadow-sm);
        }
        
        .shipping-info {
            margin-bottom: 1rem;
        }
        
        .info-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 1rem;
        }
        
        .info-icon {
            font-size: 1.25rem;
            margin-right: 0.75rem;
            color: var(--primary);
            min-width: 24px;
        }
        
        .product-specs {
            margin-top: 1rem;
        }
        
        .spec-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
        }
        
        .spec-item {
            display: flex;
            justify-content: space-between;
            padding: 0.5rem 0;
            border-bottom: 1px solid var(--gray-200);
        }
        
        .spec-label {
            font-weight: 600;
            color: var(--gray-700);
        }
        
        .spec-value {
            color: var(--gray-600);
        }
        
        .description-content {
            line-height: 1.7;
        }
        
        .description-content p {
            margin-bottom: 1rem;
        }
        
        .related-products {
            margin-top: 3rem;
        }
        
        .related-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            text-align: center;
        }
        
        .related-card {
            height: 100%;
            transition: var(--transition);
        }
        
        .related-card:hover {
            transform: translateY(-5px);
        }
        
        .related-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-top-left-radius: var(--border-radius);
            border-top-right-radius: var(--border-radius);
        }
        
        /* Responsividade */
        @media (max-width: 768px) {
            .row {
                flex-direction: column;
            }
            
            .col-lg-6, .col-md-6, .col-lg-3 {
                max-width: 100%;
                flex: 0 0 100%;
            }
            
            .action-buttons {
                flex-direction: column;
            }
            
            .btn-cart, .btn-quote {
                min-width: 100%;
            }
            
            .spec-grid {
                grid-template-columns: 1fr;
            }
        }
/* Botão de favorito */
.btn-favorite {
    background-color: transparent;
    border: 2px solid #ff3e5800;
    color: #ff313c;
    border-radius: 8px;
    padding: 0.5rem 0.6rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Hover */
.btn-favorite:hover {
    background-color: #ffffff;
    color: #c40000;
    transform: translateY(-2px);
    /* box-shadow: 0 4px 8px rgba(0,0,0,0.15); */
}

/* Efeito clique (pressionado) */
.btn-favorite:active {
    transform: scale(0.95);
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.2); */
}

/* Ícone do coração */
.btn-favorite i {
    transition: color 0.2s ease-in-out;
}

/* Exemplo de favorito ativo (cor preenchida) */
.btn-favorite.active {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}
.product-title-link, .card-title {
    display: block !important;
    color: #000 !important;
    height: auto !important;
    overflow: visible !important;
}