/* assets/css/common.css */
:root {
    --primary-color: #FF0000;
    --primary-dark: #cc0000;
    --secondary-color: #333333;
    --secondary-light: #666666;
}

/* Redesigned Search Bar (Button Inside) */
.search-form {
    flex: 1;
    max-width: 480px;
    margin: 0 15px;
    display: flex;
    align-items: center;
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 34px;
    overflow: hidden;
}

.search-box:focus-within {
    border-color: var(--primary-color);
}

.search-input {
    flex: 1;
    border: none !important;
    padding: 0 10px !important;
    height: 100% !important;
    outline: none !important;
    font-size: 13px !important;
    min-width: 80px !important;
    background: transparent !important;
    color: #333 !important;
}

.search-divider {
    width: 1px;
    height: 20px;
    background: #eee;
    flex-shrink: 0;
}

.search-select {
    flex: 0 0 auto;
    border: none;
    height: 100%;
    padding: 0 5px;
    outline: none;
    background: transparent;
    cursor: pointer;
    color: #555;
    font-size: 12px;
    text-align: center;
    min-width: 50px;
}

.search-btn {
    position: static !important;
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    height: 100% !important;
    min-width: 40px !important;
    padding: 0 12px !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    margin: 0 !important;
    transform: none !important;
    box-shadow: none !important;
}

.search-btn:hover {
    background-color: #cc0000 !important;
}

/* Category Navigation (Primary fix for broken menu) */
.category-nav {
    background: linear-gradient(135deg, #333 0%, #1a1a1a 100%) !important;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 999;
}

.category-nav .container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative;
}

.category-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    gap: 0 !important;
}

.category-menu>li {
    position: relative;
    display: block !important;
}

.category-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 14px 18px !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent !important;
    position: relative;
}

.category-item i:first-child {
    font-size: 15px !important;
    color: var(--primary-color) !important;
    transition: transform 0.3s ease;
}

.submenu-arrow {
    font-size: 10px !important;
    color: #888 !important;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.category-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-bottom-color: var(--primary-color) !important;
}

.has-submenu:hover .submenu-arrow {
    transform: rotate(180deg);
}

.category-item.active {
    background: rgba(255, 0, 0, 0.15) !important;
    border-bottom-color: var(--primary-color) !important;
}

/* Submenus */
.submenu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 180px !important;
    background: #fff !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: block !important;
}

.has-submenu:hover .submenu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.submenu-header {
    padding: 12px 15px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #888 !important;
    text-transform: uppercase !important;
    border-bottom: 1px solid #eee !important;
    background: #f9f9f9 !important;
}

.submenu li a {
    display: block !important;
    padding: 12px 15px !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    transition: all 0.2s ease;
    border-left: 3px solid transparent !important;
}

.submenu li a:hover {
    background: #f5f5f5 !important;
    border-left-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    padding-left: 20px !important;
}

.category-toggle {
    display: none !important;
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    border-radius: 4px !important;
}

/* Shopping Cart Sidebar (Primary fix for broken cart) */
.cart-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 1000000 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
}

.cart-sidebar {
    position: fixed !important;
    top: 0 !important;
    right: -420px !important;
    width: 400px !important;
    max-width: 100% !important;
    height: 100% !important;
    background: white !important;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2) !important;
    z-index: 1000001 !important;
    display: flex !important;
    flex-direction: column !important;
    transition: right 0.3s ease;
}

.cart-sidebar.open {
    right: 0 !important;
}

.cart-header {
    padding: 20px !important;
    background: #1a1a1a !important;
    color: white !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.cart-header h3 {
    margin: 0 !important;
    font-size: 18px !important;
    color: white !important;
}

.cart-close {
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 20px !important;
    cursor: pointer !important;
}

.cart-items {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 15px !important;
    list-style: none !important;
}

.cart-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 15px !important;
    border-bottom: 1px solid #eee !important;
    position: relative !important;
    background: white !important;
}

.cart-item img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
    background: #f5f5f5 !important;
    border-radius: 6px !important;
}

.cart-item-info {
    flex: 1 !important;
    text-align: left !important;
}

.cart-item-name {
    font-weight: 600 !important;
    font-size: 13px !important;
    margin-bottom: 3px !important;
    color: #333 !important;
    display: block !important;
}

.cart-item-size {
    font-size: 11px !important;
    color: #888 !important;
    display: block !important;
}

.cart-item-price {
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    margin-top: 5px !important;
    display: block !important;
}

.cart-item-qty {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #f5f5f5 !important;
    border-radius: 20px !important;
    padding: 5px !important;
}

.cart-item-qty button {
    width: 24px !important;
    height: 24px !important;
    border: none !important;
    background: white !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    font-weight: bold !important;
}

.cart-item-qty span {
    font-weight: 600 !important;
    min-width: 20px !important;
    text-align: center !important;
}

.cart-item-remove {
    background: none !important;
    border: none !important;
    color: #ddd !important;
    cursor: pointer !important;
    font-size: 14px !important;
}

.cart-item-remove:hover {
    color: #dc3545 !important;
}

.cart-footer {
    padding: 20px !important;
    border-top: 2px solid #eee !important;
    background: #fafafa !important;
}

.cart-total {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 18px !important;
    margin-bottom: 15px !important;
    align-items: center !important;
}

.cart-total strong {
    color: var(--primary-color) !important;
    font-size: 22px !important;
}

.btn-checkout {
    display: block !important;
    background: var(--primary-color) !important;
    color: white !important;
    text-align: center !important;
    padding: 15px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    transition: 0.3s;
}

/* Mobile Support */
@media (max-width: 900px) {
    .category-toggle {
        display: flex !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .category-menu {
        display: none !important;
        flex-direction: column !important;
        width: 100% !important;
        background: #222 !important;
        border-radius: 8px !important;
        margin-top: 10px !important;
    }

    .category-menu.open {
        display: flex !important;
    }

    .category-item {
        width: 100% !important;
        border-bottom: 1px solid #333 !important;
    }
}

/* ============================================================
   BANNER & INFO TOOLBAR STYLES (Restored)
   ============================================================ */
.hero-tag {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    border: 2px solid var(--primary-color);
    display: inline-block;
}

.btn-primary:hover {
    background: #cc0000;
    border-color: #cc0000;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    border: 2px solid white;
    display: inline-block;
}

.btn-outline:hover {
    background: white;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Info Toolbar (Positioned between Menu and Banner) */
.info-toolbar {
    background: white;
    padding: 15px 0;
    margin-top: 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    color: #333;
}

.info-toolbar .container {
    display: flex !important;
    justify-content: space-between !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}

.info-item {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    flex: 1 !important;
    min-width: 200px !important;
}

.info-item i {
    font-size: 28px !important;
    color: var(--primary-color) !important;
}

.info-text {
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
}

.info-text strong {
    font-size: 15px !important;
    color: #333 !important;
}

.info-text span {
    font-size: 13px !important;
    color: #888 !important;
}

@media (max-width: 768px) {
    .info-toolbar .container {
        flex-direction: column !important;
        gap: 25px !important;
    }

    .hero-btns {
        flex-direction: column !important;
        width: 100% !important;
    }

    .hero-btns a {
        text-align: center !important;
    }
}

/* Hero Carousel (New System) */
.hero-carousel {
    position: relative;
    overflow: hidden;
    height: 300px;
    background: #333;
}

.carousel-container {
    height: 100%;
    position: relative;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    text-align: left !important;
}

.hero-title {
    font-size: 38px !important;
    font-weight: 900 !important;
    color: white !important;
    line-height: 1.1 !important;
    margin-bottom: 12px !important;
    text-transform: uppercase !important;
}

.hero-title span {
    color: var(--primary-color) !important;
}

.hero-subtitle {
    font-size: 16px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 20px !important;
    max-width: 550px !important;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary-color);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 10px;
}

/* Fast Search Widget (Modern & Responsive) */
.tire-search-widget {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: white !important;
    padding: 20px 25px !important;
    border-radius: 12px !important;
    width: 340px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4) !important;
    z-index: 100;
    color: #333 !important;
}

.widget-title {
    font-size: 19px !important;
    font-weight: 900 !important;
    color: #1a1a1a !important;
    margin-bottom: 18px !important;
    border-left: 5px solid var(--primary-color) !important;
    padding-left: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.form-group label {
    font-size: 11px !important;
    color: #999 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin-bottom: 8px !important;
    letter-spacing: 1px !important;
}

.form-control {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid #eee !important;
    border-radius: 6px !important;
    background: #f8f9fa !important;
    font-size: 13px !important;
    color: #333 !important;
    transition: 0.3s !important;
    outline: none !important;
}

.form-control:focus {
    border-color: var(--primary-color) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.05) !important;
}

.btn-search {
    width: 100% !important;
    padding: 12px !important;
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 900 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    transition: 0.3s !important;
    margin-top: 5px !important;
    letter-spacing: 1px !important;
}

.btn-search:hover {
    background: #cc0000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2) !important;
}

/* Horizontal Search Bar (Below Banner) */
.horizontal-search-bar {
    background: #fff;
    padding: 25px 0;
    border-bottom: 2px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.horizontal-search-bar .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    flex-wrap: nowrap !important;
}

.search-title {
    font-size: 13px;
    line-height: 1.2;
    color: #666;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-title strong {
    display: block;
    color: #333;
    font-size: 18px;
    font-weight: 900;
}

.search-flex {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    flex: 1 !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
}

.search-group {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0;
}

.search-group label {
    font-size: 11px !important;
    font-weight: 900 !important;
    color: #555 !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

.search-input-wrapper {
    display: flex !important;
    align-items: center !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 30px !important;
    padding: 2px 15px !important;
    height: 45px !important;
    transition: 0.3s !important;
    min-width: 120px !important;
}

.search-input-wrapper:focus-within {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.05) !important;
}

.search-input-wrapper i {
    color: var(--primary-color) !important;
    font-size: 14px !important;
    margin-right: 8px !important;
    flex-shrink: 0;
}

.search-input-wrapper select {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-size: 13px !important;
    color: #333 !important;
    cursor: pointer !important;
    min-width: 80px !important;
    padding-right: 10px !important;
}

.btn-find {
    background: var(--primary-color) !important;
    color: #fff !important;
    border: none !important;
    padding: 0 30px !important;
    height: 45px !important;
    border-radius: 30px !important;
    font-weight: 900 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    transition: 0.3s !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    letter-spacing: 0.5px !important;
    flex-shrink: 0;
}

.btn-find:hover {
    background: #cc0000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2) !important;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .search-title {
        font-size: 12px;
    }

    .search-title strong {
        font-size: 16px;
    }

    .search-flex {
        gap: 12px !important;
    }

    .search-group {
        gap: 6px !important;
    }

    .search-input-wrapper {
        min-width: 100px !important;
        padding: 2px 12px !important;
    }

    .btn-find {
        padding: 0 25px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 1000px) {
    .horizontal-search-bar .container {
        flex-wrap: wrap !important;
    }

    .search-title {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .search-flex {
        width: 100% !important;
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .horizontal-search-bar .container {
        flex-direction: column !important;
        align-items: center !important;
    }

    .search-flex {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
    }
}

@media (max-width: 600px) {
    .search-group {
        width: 100% !important;
        justify-content: space-between !important;
    }

    .search-input-wrapper {
        flex: 1 !important;
        max-width: 200px !important;
    }

    .btn-find {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Category Separators (Styled Title with Line and Icon) */
.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    margin-top: 20px;
}

.category-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: #333;
    margin: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.category-header .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--primary-color) 0%, #eee 100%);
    position: relative;
}

.category-header i {
    color: var(--primary-color);
    font-size: 18px;
    transition: 0.3s;
}

.category-header:hover i {
    transform: translateX(10px);
}

@media (max-width: 480px) {
    .category-header h3 {
        font-size: 16px;
    }
}

/* ============================================================
   BRAND LOGO GRID
   ============================================================ */
.brand-logo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 960px;
    margin: 0 auto;
}

.brand-logo-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 12px;
    width: 110px;
    min-height: 72px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    position: relative;
    overflow: hidden;
}
.brand-logo-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(200,0,0,0.12);
    transform: translateY(-3px);
}
.brand-logo-active {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 2px rgba(200,0,0,0.18) !important;
}
.brand-logo-premium {
    border-color: #e0c040;
}
.brand-logo-premium::before {
    content: '★';
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 10px;
    color: #d4a000;
    line-height: 1;
}

.brand-logo-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 8px 8px;
    height: 100%;
    min-height: 72px;
}

.brand-logo-label {
    font-size: 10px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.2;
    max-width: 90px;
}
.brand-logo-active .brand-logo-label {
    color: var(--primary-color);
}

.brand-premium-dot {
    display: none; /* estrela já no ::before */
}

@media (max-width: 600px) {
    .brand-logo-grid { gap: 8px; }
    .brand-logo-card { width: 88px; min-height: 64px; }
    .brand-logo-inner { min-height: 64px; padding: 8px 6px 6px; }
    .brand-logo-label { font-size: 9px; }
}

/* ============================================================
   SOCIAL PROOF — Stats Bar + Testimonials
   ============================================================ */
.social-proof-section { background: #f7f7f7; }

/* Stats Bar */
.stats-bar {
    background: #111;
    padding: 28px 0;
}
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 36px;
    border-right: 1px solid rgba(255,255,255,0.1);
    min-width: 140px;
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
}
.stat-plus {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    vertical-align: super;
}
.stat-google .stat-number { color: #fff; }
.stat-label {
    font-size: 11px;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 5px;
    text-align: center;
}

/* Testimonials */
.testimonials-wrap { padding: 50px 0 55px; }
.testimonials-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}
.testimonials-header h2 {
    font-size: 22px;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0;
}
.btn-google-reviews {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1.5px solid #e0e0e0;
    color: #333;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.btn-google-reviews:hover {
    border-color: #4285F4;
    box-shadow: 0 2px 10px rgba(66,133,244,0.15);
}
.btn-google-reviews .fab { color: #4285F4; font-size: 15px; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.testimonial-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tc-stars {
    color: #f5a623;
    font-size: 16px;
    letter-spacing: 2px;
}
.tc-text {
    font-size: 14px;
    color: #444;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}
.tc-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}
.tc-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 900;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tc-author strong { display: block; font-size: 13px; color: #222; line-height: 1.3; }
.tc-author span   { font-size: 11px; color: #999; }

@media (max-width: 768px) {
    .stats-grid { gap: 0; }
    .stat-item  { padding: 14px 20px; min-width: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
    .stat-item:last-child { border-bottom: none; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-header { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   PAYMENT STRIP
   ============================================================ */
.payment-strip {
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 18px 0;
}
.payment-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}
.payment-strip-lock {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2d9e5f;
}
.payment-strip-lock .fas { font-size: 22px; }
.payment-strip-lock span { font-size: 12px; line-height: 1.35; color: #444; }
.payment-strip-lock strong { color: #2d9e5f; font-size: 13px; }

.payment-strip-divider {
    width: 1px;
    height: 40px;
    background: #e0e0e0;
    flex-shrink: 0;
}

.payment-strip-methods {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.pm-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: default;
}
.pm-badge .fas,
.pm-badge .fab {
    font-size: 38px;
    line-height: 1;
}
.pm-badge span {
    font-size: 9px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.payment-strip-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    color: #555;
    text-align: center;
}
.payment-strip-info strong { font-size: 13px; }

@media (max-width: 600px) {
    .payment-strip-divider { display: none; }
    .payment-strip-inner   { gap: 16px; }
    .payment-strip-methods { gap: 12px; }
    .pm-badge .fas,
    .pm-badge .fab { font-size: 30px; }
    .payment-strip-lock, .payment-strip-info { width: 100%; justify-content: center; }
}

/* Brand Cloud Base Styles */
.brand-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 auto 40px;
    justify-content: center;
    max-width: 900px;
    width: 100%;
}

.brand-tag {
    padding: 8px 18px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    font-size: 14px;

    /* Ensure no wrapping within tag */
    white-space: nowrap;
    display: inline-block;
}

.brand-tag:hover,
.brand-tag.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 0, 0, 0.2);
}

/* ============================================================
   MOBILE OPTIMIZATIONS
   ============================================================ */

/* Base Visibility Classes */
.desktop-banner {
    display: block;
}

.mobile-banner {
    display: none;
}

@media (max-width: 1000px) {

    /* Fix Body Padding since Header is Relative on Mobile */
    body {
        padding-top: 0 !important;
    }
}

@media (max-width: 1024px) {

    /* Hide Desktop Banner on Mobile/Tablets */
    .desktop-banner {
        display: none !important;
    }

    /* Info Toolbar - Hide on mobile if it can't fit effectively in one line */
    .info-toolbar {
        display: none !important;
    }

    .info-item i {
        font-size: 20px !important;
    }

    .info-text strong {
        font-size: 13px !important;
        line-height: 1.2 !important;
        white-space: nowrap;
    }

    .info-text span {
        font-size: 11px !important;
    }

    /* Fix horizontal scroll on mobile */
    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative;
    }

    .mobile-banner {
        display: block !important;
        margin-top: 5px !important;
        /* Aumentado para 5px conforme solicitado */
        border-bottom: none !important;
        height: 42vw !important;
        /* Altura responsiva baseada na largura (proporção ~2.4:1) */
        max-height: 200px;
        min-height: 140px;
        overflow: hidden;
    }

    .mobile-banner .hero-carousel,
    .mobile-banner .carousel-container,
    .mobile-banner .carousel-track {
        height: 100% !important;
        min-height: auto !important;
        background: transparent !important;
    }

    .mobile-banner .carousel-slide {
        height: 100% !important;
        background-position: center center !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-color: transparent !important;
        display: flex !important;
        align-items: center !important;
    }

    /* Garantir que o conteúdo apareça se existir */
    .mobile-banner .hero-content {
        padding: 15px !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
        width: 100% !important;
        max-width: 100% !important;
        z-index: 10;
        position: relative;
    }

    .mobile-banner .hero-title {
        font-size: 22px !important;
        margin-bottom: 5px !important;
    }

    .mobile-banner .hero-subtitle {
        font-size: 13px !important;
        margin-bottom: 10px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .mobile-banner .hero-btns {
        margin-top: 10px !important;
    }

    .mobile-banner .btn-primary,
    .mobile-banner .btn-outline {
        padding: 8px 18px !important;
        font-size: 13px !important;
        display: inline-block !important;
        margin-top: 5px;
    }

    /* Posicionar indicadores SOBRE o banner no mobile */
    .mobile-banner .carousel-dots {
        position: absolute !important;
        bottom: 10px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        z-index: 15 !important;
        display: flex !important;
        gap: 6px !important;
    }

    .mobile-banner .carousel-dot {
        width: 8px !important;
        height: 8px !important;
        background: rgba(255, 255, 255, 0.4) !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }

    .mobile-banner .carousel-dot.active {
        background: var(--primary-color) !important;
        width: 20px !important;
        border-radius: 4px !important;
    }

    .mobile-banner .carousel-slide-link {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        text-decoration: none !important;
    }



    /* Header Logo - Center on mobile */
    .logo {
        justify-content: center !important;
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    .nav-actions {
        justify-content: center !important;
        width: 100% !important;
    }

    /* Horizontal Search Bar (Body) - Better adaptation for mobile */
    .horizontal-search-bar {
        padding: 20px 0 !important;
        height: auto !important;
    }

    .horizontal-search-bar .container {
        padding: 0 15px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .search-title {
        font-size: 14px !important;
        margin-bottom: 15px !important;
        text-align: center !important;
        width: 100% !important;
    }

    .search-title strong {
        font-size: 18px !important;
        display: block;
        margin-top: 5px;
    }

    .search-flex {
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
        align-items: stretch !important;
    }

    .search-group {
        width: 100% !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 5px !important;
    }

    .search-group label {
        font-size: 12px !important;
        font-weight: bold !important;
        color: #555 !important;
    }

    .search-input-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 55px !important;
        /* Increased height for better touch target */
        box-sizing: border-box !important;
    }

    .search-input-wrapper select {
        width: 100% !important;
        font-size: 16px !important;
        /* Larger font for easier reading */
        height: 100% !important;
    }

    .search-input-wrapper i {
        font-size: 18px !important;
        margin-left: 10px !important;
    }

    .btn-find {
        width: 100% !important;
        height: 55px !important;
        /* Match input height */
        font-size: 18px !important;
        justify-content: center !important;
        margin-top: 15px !important;
        font-weight: 800 !important;
    }

    /* Search Form (Header) - Remove on mobile as requested */
    .search-form {
        display: none !important;
    }

    /* Brand Cloud - Wrap items instead of scrolling line */
    /* Brand Cloud - Fix for Mobile Alignment */
    /* Brand Cloud - CORREÇÃO DE ALINHAMENTO E CENTRALIZAÇÃO */
    .products-section .container {
        padding: 0 15px !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .section-header {
        width: 100% !important;
        margin: 0 0 25px 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .brand-cloud-wrapper {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 auto 40px auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .brand-cloud {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        gap: 8px !important;
        box-sizing: border-box !important;
    }

    .brand-cloud a {
        text-decoration: none !important;
        display: inline-block !important;
        margin: 0 !important;
    }

    .brand-tag {
        display: inline-flex !important;
        align-items: center !important;
        /* Centraliza verticalmente */
        justify-content: center !important;
        /* Centraliza horizontalmente */
        padding: 0 15px !important;
        /* Padding lateral */
        font-size: 13px !important;
        width: auto !important;
        margin: 4px !important;
        min-height: 38px !important;
        /* Altura fixa mínima ajuda na percepção de centro */
        border-radius: 20px !important;
        white-space: nowrap !important;
        line-height: 1 !important;
        /* Remove folgas de linha que tiram o centro */
        text-align: center !important;
        background: #fff;
        border: 1px solid #eee;
        color: #555;
        box-sizing: border-box !important;
    }

    .brand-tag.active {
        background: var(--primary-color) !important;
        color: #fff !important;
        border-color: var(--primary-color) !important;
    }



    /* Product Cards */
    .product-slider-item {
        min-width: 260px !important;
    }

    /* Footer */
    .footer-row {
        gap: 40px !important;
    }

    .payment-flags {
        justify-content: center !important;
        gap: 15px !important;
    }
}

/* ============================================================
   MODERN HERO SECTION
   ============================================================ */
.hero-modern {
    background: #111;
    position: relative;
    overflow: hidden;
}

.hero-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 30% 50%, rgba(255,0,0,0.07) 0%, transparent 60%);
    pointer-events: none;
}

.hero-modern-container {
    display: flex !important;
    align-items: center;
    min-height: 260px;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-modern-body {
    flex: 1;
    min-width: 0;
}

.hero-modern-badge {
    display: inline-block;
    background: rgba(255,0,0,0.12);
    color: #ff6666;
    border: 1px solid rgba(255,68,68,0.25);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-modern-title {
    font-size: 46px;
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: -1.5px;
}

.hero-modern-title span {
    color: #FF0000;
}

.hero-modern-sub {
    font-size: 15px;
    color: rgba(255,255,255,0.55);
    margin: 0 0 28px;
    line-height: 1.5;
}

.hero-search-form {
    width: 100%;
}

.hero-search-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.hero-search-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.hero-search-group label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-search-group select {
    height: 50px;
    background: rgba(255,255,255,0.07);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    padding: 0 36px 0 14px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.3)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: border-color 0.2s, background 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.hero-search-group select:focus {
    outline: none;
    border-color: #FF0000;
    background-color: rgba(255,255,255,0.1);
}

.hero-search-group select option {
    background: #1a1a1a;
    color: #fff;
}

.hero-search-btn {
    height: 50px;
    background: #FF0000;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0 24px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: background 0.2s, transform 0.15s;
}

.hero-search-btn:hover {
    background: #cc0000;
    transform: translateY(-1px);
}

.hero-modern-visual {
    flex: 0 0 280px;
    opacity: 0.18;
    pointer-events: none;
    user-select: none;
}

.tire-svg {
    width: 100%;
    height: auto;
    display: block;
    animation: tire-roll 12s linear infinite;
    transform-origin: center center;
}

@keyframes tire-roll {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================================
   CATEGORY STRIP
   ============================================================ */
.category-strip {
    background: #f7f7f7;
    border-bottom: 2px solid #e8e8e8;
}

.category-strip > .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
}

.category-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: var(--container-width, 1280px);
    margin: 0 auto;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 14px;
    text-decoration: none;
    color: #333;
    border-right: 1px solid #e0e0e0;
    transition: background 0.2s, box-shadow 0.2s;
    gap: 6px;
}

.category-card:last-child {
    border-right: none;
}

.category-card:hover {
    background: #fff;
    box-shadow: inset 0 -3px 0 #FF0000;
}

.category-card:hover .category-card-cta {
    color: #FF0000;
}

.category-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #FF0000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 2px;
}

.category-card:hover .category-card-icon {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255,0,0,0.18);
}

.category-card-info strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
}

.category-card-info span {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.category-card-info span b {
    color: #444;
    font-weight: 700;
}

.category-card-cta {
    font-size: 11px;
    font-weight: 700;
    color: #bbb;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s;
    margin-top: 2px;
}

/* Responsive overrides for new hero + category strip */
@media (max-width: 1024px) {
    .hero-modern {
        overflow: hidden;
    }

    .hero-modern-container {
        min-height: auto;
        padding-top: 32px !important;
        padding-bottom: 36px !important;
        flex-direction: column !important;
        gap: 22px;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hero-modern-body {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }

    .hero-modern-title {
        font-size: 30px;
        letter-spacing: -0.5px;
    }

    .hero-modern-sub {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .hero-modern-visual {
        display: none;
    }

    .hero-search-form {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hero-search-row {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hero-search-group {
        width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }

    .hero-search-group select {
        height: 52px !important;
        font-size: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    .hero-search-btn {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        height: 54px !important;
        font-size: 15px !important;
    }

    .category-strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-card {
        border-right: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
        padding: 18px 10px;
    }

    .category-card:nth-child(2n) {
        border-right: none;
    }

    .category-card:nth-last-child(-n+2) {
        border-bottom: none;
    }
}