@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #0D0D0D;
    --bg-card: #151515;
    --bg-card-hover: #1f1f1f;
    --bg-input: #202020;
    --color-primary: #F21616;
    --color-accent: #D90D1E;
    --color-light: #D9D9D9;
    --color-white: #FFFFFF;
    --color-muted: #8c8c8c;
    --border-color: rgba(217, 217, 217, 0.15);
    --border-active: rgba(242, 22, 22, 0.4);
    --font-primary: 'Outfit', 'Inter', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.7);
    --shadow-primary: 0 4px 14px rgba(242, 22, 22, 0.25);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
}

body {
    background-color: var(--bg-dark);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.flex { display: flex; }
.grid { display: grid; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.flex-column { flex-direction: column; }
.wrap { flex-wrap: wrap; }

.section-padding {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Custom Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 22, 22, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-light);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-white);
    background-color: rgba(242, 22, 22, 0.05);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* Header & Navigation */
.televendas-strip {
    background-color: #000;
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-light);
}

.televendas-strip .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.televendas-strip a {
    color: var(--color-white);
    font-weight: 700;
    margin-left: 5px;
}

.televendas-strip a:hover {
    color: var(--color-primary);
}

.main-header {
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo img {
    height: 48px;
    display: block;
}

.search-bar-container {
    flex-grow: 1;
    max-width: 500px;
    position: relative;
}

.search-bar-container form {
    display: flex;
    width: 100%;
}

.search-bar-container input {
    width: 100%;
    padding: 12px 50px 12px 16px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--color-white);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}

.search-bar-container input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 8px rgba(242, 22, 22, 0.2);
}

.search-bar-container button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--color-primary);
    border: none;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.search-bar-container button:hover {
    background-color: var(--color-accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-action-btn {
    position: relative;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.header-action-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-primary);
}

.header-action-btn .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Category menu bar */
.nav-bar {
    background-color: #050505;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.nav-bar ul {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.nav-bar a {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-light);
    padding: 5px 0;
    position: relative;
}

.nav-bar a:hover, .nav-bar li.active a {
    color: var(--color-primary);
}

.nav-bar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

.nav-bar a:hover::after {
    width: 100%;
}

/* Slideshow Banner Section */
.hero-slider {
    position: relative;
    height: 480px;
    background-color: #000;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    max-width: 600px;
    background: rgba(13, 13, 13, 0.85);
    padding: 35px;
    border-radius: 10px;
    border-left: 5px solid var(--color-primary);
    backdrop-filter: blur(8px);
    margin-left: 8%;
    transform: translateY(20px);
    transition: transform 0.6s ease;
}

.slide.active .slide-content {
    transform: translateY(0);
}

.slide-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.1rem;
    color: var(--color-light);
    margin-bottom: 25px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition-smooth);
}

.slider-arrow:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    background-color: var(--color-primary);
    transform: scale(1.2);
}

/* Tire & Vehicle Search Engine */
.search-widget-section {
    margin-top: -50px;
    position: relative;
    z-index: 5;
    padding-bottom: 40px;
}

.search-widget-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.search-tabs {
    display: flex;
    background-color: #070707;
    border-bottom: 1px solid var(--border-color);
}

.search-tab {
    flex: 1;
    padding: 16px 20px;
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    cursor: pointer;
    color: var(--color-muted);
    transition: var(--transition-smooth);
    border-bottom: 3px solid transparent;
}

.search-tab:hover {
    color: var(--color-white);
}

.search-tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
    background-color: var(--bg-card);
}

.search-tab-content {
    padding: 30px;
    display: none;
}

.search-tab-content.active {
    display: block;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) 200px;
    gap: 20px;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-select-wrapper img {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 20px;
    pointer-events: none;
    opacity: 0.7;
}

.filter-select-wrapper select {
    width: 100%;
    padding: 12px 12px 12px 42px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--color-white);
    font-size: 0.95rem;
    cursor: pointer;
    outline: none;
    appearance: none;
    transition: var(--transition-smooth);
}

/* For vehicle selector where we don't have icons */
.filter-select-wrapper.no-icon select {
    padding-left: 14px;
}

.filter-select-wrapper select:focus {
    border-color: var(--color-primary);
}

.filter-select-wrapper::after {
    content: '▼';
    font-size: 0.6rem;
    color: var(--color-muted);
    position: absolute;
    right: 15px;
    pointer-events: none;
}

/* Category Promos Grid */
.promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.promo-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.promo-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.promo-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.promo-card:hover .promo-card-bg {
    transform: scale(1.08);
}

.promo-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(13, 13, 13, 0.9) 0%, rgba(13, 13, 13, 0.4) 100%);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.promo-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.promo-card p {
    font-size: 0.85rem;
    color: var(--color-light);
    margin-bottom: 12px;
}

.promo-card .link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.promo-card:hover .link {
    color: var(--color-white);
}

/* Product Shelf Section */
.product-shelf {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.product-badge-discount {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 30px;
    z-index: 2;
}

.product-card-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.product-card-image img {
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-brand {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 5px;
}

.product-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 15px;
    color: var(--color-white);
}

.product-card-price-container {
    margin-top: auto;
    margin-bottom: 20px;
}

.price-de {
    font-size: 0.8rem;
    color: var(--color-muted);
    text-decoration: line-through;
    margin-bottom: 2px;
}

.price-por {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.price-split {
    font-size: 0.8rem;
    color: var(--color-light);
}

.price-split strong {
    color: var(--color-white);
}

.inmetro-strip {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
}

.inmetro-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 4px;
}

.inmetro-badge span {
    color: var(--color-primary);
}

/* Service center section */
.services-section {
    background-color: #060606;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    display: flex;
    gap: 20px;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 2.2rem;
    color: var(--color-primary);
    display: flex;
    align-items: flex-start;
}

.service-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-info p {
    font-size: 0.88rem;
    color: var(--color-muted);
    margin-bottom: 15px;
}

.service-info .link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Trust / Reviews area */
.reviews-section {
    background-color: var(--bg-dark);
}

.reviews-container {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.reclame-aqui-badge {
    background-color: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    max-width: 320px;
    text-align: center;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reclame-aqui-badge img {
    height: 40px;
    margin-bottom: 15px;
}

.reclame-aqui-badge h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 5px;
}

.reclame-aqui-badge .score {
    font-size: 2.5rem;
    font-weight: 800;
    color: #12803D; /* Green rating */
    margin: 10px 0;
}

.reclame-aqui-badge .status-text {
    background-color: rgba(18, 128, 61, 0.1);
    color: #22C55E;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.reviews-carousel {
    flex-grow: 1;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    height: 220px;
}

.review-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.review-slide.active {
    opacity: 1;
    z-index: 1;
}

.review-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-stars {
    color: #FBBF24; /* Gold star */
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.review-text {
    font-style: italic;
    font-size: 1rem;
    color: var(--color-light);
    margin-bottom: 15px;
}

.review-author {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-white);
}

.review-author span {
    font-weight: 400;
    color: var(--color-muted);
    font-size: 0.8rem;
    margin-left: 10px;
}

/* Brands carousel slider */
.brands-section {
    background-color: #040404;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.brands-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.brand-logo-img {
    height: 40px;
    filter: grayscale(1) brightness(0.85);
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.brand-logo-img:hover {
    filter: grayscale(0) brightness(1);
    opacity: 1;
}

/* Footer Section */
.main-footer {
    background-color: #050505;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    font-size: 0.88rem;
    color: var(--color-light);
}

.footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a:hover {
    color: var(--color-primary);
    padding-left: 2px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--color-white);
    transition: var(--transition-smooth);
}

.footer-social-btn:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.footer-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.footer-payments img {
    height: 24px;
    border-radius: 3px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-muted);
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Product Catalog Page (produtos.php) */
.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    padding: 40px 0;
}

.catalog-sidebar {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    height: fit-content;
}

.sidebar-widget {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 25px;
}

.sidebar-widget:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.sidebar-widget h3 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--color-white);
}

.sidebar-widget ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-light);
    cursor: pointer;
}

.filter-checkbox-label input {
    width: 16px;
    height: 16px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.catalog-sorting {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-sorting label {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.catalog-sorting select {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 4px;
    outline: none;
    font-size: 0.85rem;
}

.no-results {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 50px;
    text-align: center;
}

/* Product Detail Page (produto.php) */
.product-details-container {
    padding: 40px 0;
}

.product-details-grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-gallery-main {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.product-gallery-main img {
    max-height: 100%;
    object-fit: contain;
}

.product-gallery-thumbs {
    display: flex;
    gap: 15px;
}

.product-gallery-thumb {
    width: 80px;
    height: 80px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.product-gallery-thumb:hover, .product-gallery-thumb.active {
    border-color: var(--color-primary);
}

.product-info-brand {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-info-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
}

.product-info-pricing {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.product-info-pricing .price-de {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.product-info-pricing .price-por {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.price-pix {
    color: #22C55E;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-info-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.shipping-calc-card {
    background-color: #121212;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 20px;
}

.shipping-calc-card h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shipping-input-group {
    display: flex;
    gap: 10px;
}

.shipping-input-group input {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--color-white);
    padding: 10px 14px;
    border-radius: 4px;
    outline: none;
    font-size: 0.9rem;
    flex-grow: 1;
}

.shipping-results {
    margin-top: 15px;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
}

.shipping-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.shipping-line:last-child {
    margin-bottom: 0;
}

.shipping-price {
    font-weight: 700;
    color: #22C55E;
}

/* Specs Tab / INMETRO Label */
.product-specs-section {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.specs-table th, .specs-table td {
    padding: 12px 15px;
    text-align: left;
}

.specs-table th {
    font-weight: 700;
    color: var(--color-light);
    width: 250px;
}

.specs-table td {
    color: var(--color-white);
}

/* INMETRO Official Style Card */
.inmetro-official-label {
    background-color: #FFF;
    color: #000;
    border-radius: 6px;
    padding: 20px;
    border: 3px solid #000;
    max-width: 260px;
    margin: 0 auto;
    font-family: 'Inter', Arial, sans-serif;
}

.inmetro-header {
    text-align: center;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.inmetro-header h3 {
    font-size: 0.95rem;
    font-weight: 900;
}

.inmetro-header p {
    font-size: 0.6rem;
    text-transform: uppercase;
}

.inmetro-metrics {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inmetro-metric-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.inmetro-metric-label {
    display: flex;
    flex-direction: column;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.inmetro-metric-label img {
    height: 25px;
    width: 25px;
    object-fit: contain;
    margin-bottom: 2px;
}

.inmetro-grade-display {
    display: flex;
    font-weight: 900;
    font-size: 1rem;
    background-color: #000;
    color: #FFF;
    border-radius: 4px;
    padding: 4px 10px;
}

.inmetro-noise {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 2px solid #000;
    padding-top: 10px;
    margin-top: 10px;
    font-size: 0.75rem;
    font-weight: 800;
}

.inmetro-noise-waves {
    display: flex;
    gap: 3px;
    margin-top: 3px;
}

.inmetro-wave {
    width: 6px;
    height: 12px;
    background-color: #DDD;
    border-radius: 2px;
}

.inmetro-wave.active {
    background-color: #000;
}

/* Shopping Cart Page (carrinho.php) */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    padding: 40px 0;
}

.cart-items-panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
}

.cart-item-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-row:first-child {
    padding-top: 0;
}

.cart-item-row:last-child {
    border-bottom: none;
}

.cart-item-thumb {
    width: 80px;
    height: 80px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-thumb img {
    max-height: 100%;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-meta {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.cart-item-qty button {
    background-color: var(--bg-input);
    border: none;
    color: var(--color-white);
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-weight: 700;
}

.cart-item-qty button:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.cart-item-qty input {
    width: 40px;
    height: 30px;
    border: none;
    background: none;
    color: var(--color-white);
    text-align: center;
    font-size: 0.9rem;
    outline: none;
}

.cart-item-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
    text-align: right;
    min-width: 100px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--color-muted);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.cart-item-remove:hover {
    color: var(--color-primary);
}

.cart-summary-panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    height: fit-content;
}

.cart-summary-panel h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.cart-summary-line.total {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--color-primary);
}

/* Checkout Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.checkout-modal {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    width: 100%;
    max-width: 480px;
    padding: 35px;
    position: relative;
    box-shadow: var(--shadow-md);
}

.checkout-modal h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.checkout-modal p {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 25px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--color-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-close:hover {
    color: var(--color-white);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--color-light);
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--color-white);
    outline: none;
    font-size: 0.95rem;
}

.form-group input:focus {
    border-color: var(--color-primary);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .catalog-layout, .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .product-details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .slide-content {
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .televendas-strip {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .logo {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .logo img {
        margin: 0 auto;
    }
    
    .nav-bar ul {
        gap: 15px;
    }
    
    .hero-slider {
        height: 320px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .search-widget-section {
        margin-top: -30px;
    }
}
