/* Frontend CSS - Design Profissional e Moderno */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cor-primaria: #00a85a;
    --cor-secundaria: #b4e4f9;
    --cor-texto: #1a1a1a;
    --cor-texto-claro: #666;
    --cor-bg: #ffffff;
    --cor-bg-claro: #f8f9fa;
    --cor-borda: #e5e5e5;
    --cor-sombra: rgba(0,0,0,0.08);
    --cor-sombra-hover: rgba(0,0,0,0.15);
    --transicao: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--cor-bg);
    color: var(--cor-texto);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header - Profissional e Fixo */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--cor-sombra);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transicao);
    border-bottom: 1px solid var(--cor-borda);
    width: 100%;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    gap: 24px;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.site-logo {
    max-height: 70px;
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: var(--transicao);
}

.site-logo:hover {
    transform: scale(1.05);
}

.logo {
    color: var(--cor-primaria);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: flex-end;
}

/* Barra de Pesquisa */
.search-container {
    position: relative;
    flex: 1;
    max-width: 500px;
}

#search-input {
    width: 100%;
    padding: 12px 20px 12px 48px;
    border: 2px solid var(--cor-borda);
    border-radius: 50px;
    font-size: 15px;
    transition: var(--transicao);
    background: var(--cor-bg-claro);
    outline: none;
}

#search-input:focus {
    border-color: var(--cor-primaria);
    background: var(--cor-bg);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

#search-input::placeholder {
    color: var(--cor-texto-claro);
}

.search-container::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    opacity: 0.6;
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 100;
    border: 1px solid var(--cor-borda);
}

.search-results.show {
    display: block;
}

.search-result-item {
    padding: 16px 20px;
    border-bottom: 1px solid var(--cor-borda);
    cursor: pointer;
    transition: var(--transicao);
    display: flex;
    gap: 16px;
    align-items: center;
}

.search-result-item:hover {
    background: var(--cor-bg-claro);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--cor-bg-claro);
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-weight: 600;
    color: var(--cor-texto);
    margin-bottom: 4px;
    font-size: 15px;
}

.search-result-price {
    color: var(--cor-primaria);
    font-weight: 600;
    font-size: 16px;
}

/* Carrinho Icon */
.cart-icon {
    cursor: pointer;
    position: relative;
    padding: 10px 16px;
    background: var(--cor-secundaria);
    border-radius: 50px;
    transition: var(--transicao);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--cor-primaria);
    font-weight: 600;
    border: 2px solid transparent;
}

.cart-icon:hover {
    background: var(--cor-primaria);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cart-icon svg {
    width: 22px;
    height: 22px;
}

.cart-icon #cart-count {
    background: var(--cor-primaria);
    color: white;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    min-width: 22px;
    text-align: center;
    line-height: 18px;
}

.cart-icon:hover #cart-count {
    background: white;
    color: var(--cor-primaria);
}

/* Main Content */
.main-content {
    padding: 180px 0 60px;
    min-height: calc(100vh - 200px);
    margin-top: 0;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 60px;
    padding: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Hero Banners */
.hero-banners {
    margin-bottom: 60px;
    position: relative;
}

@media (max-width: 768px) {
    .hero-banners {
        margin-top: 104px;
    }
}

.banners-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.banner-slide {
    display: none;
    width: 100%;
}

.banner-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.banner-link {
    display: block;
    width: 100%;
    cursor: pointer;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

.banner-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.banner-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transicao);
}

.banner-dot.active {
    background: var(--cor-primaria);
    width: 32px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .hero-banners {
        margin-top: 104px;
    }
    
    .banner-image {
        max-height: 300px;
    }
}

.hero-section h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--cor-texto);
    margin-bottom: 12px;
    letter-spacing: -1px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
    display: block;
    visibility: visible;
}

.hero-section p {
    font-size: 18px;
    color: var(--cor-texto-claro);
    font-weight: 400;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: block;
    visibility: visible;
}

/* Categories Filter - Scroll Horizontal */
.categories-filter {
    margin-bottom: 40px;
    padding: 0 0 20px;
}

.categories-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--cor-primaria) transparent;
}

.categories-scroll::-webkit-scrollbar {
    height: 6px;
}

.categories-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.categories-scroll::-webkit-scrollbar-thumb {
    background: var(--cor-primaria);
    border-radius: 3px;
}

.category-btn {
    padding: 12px 24px;
    border: 2px solid var(--cor-borda);
    border-radius: 50px;
    background: white;
    color: var(--cor-texto);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transicao);
    white-space: nowrap;
    flex-shrink: 0;
    outline: none;
}

.category-btn:hover {
    border-color: var(--cor-primaria);
    color: var(--cor-primaria);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--cor-secundaria);
    border-color: var(--cor-secundaria);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

/* Produto Esgotado */
.product-out-of-stock {
    position: relative;
}

.out-of-stock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
    animation: pulse 2s infinite;
}

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--cor-secundaria) 0%, var(--cor-primaria) 100%);
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.product-out-of-stock-alert {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.discount-badge-large {
    display: inline-block;
    background: linear-gradient(135deg, var(--cor-secundaria) 0%, var(--cor-primaria) 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.out-of-stock-badge-large {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
    animation: pulse 2s infinite;
}

.out-of-stock-message {
    color: #856404;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.product-add-to-cart.disabled {
    pointer-events: none;
    opacity: 0.6;
}

.out-of-stock-warning {
    background: #f8d7da;
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.out-of-stock-warning p {
    color: #721c24;
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid #e8e8e8;
    position: relative;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: var(--cor-primaria);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.product-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    transition: var(--transicao);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-texto-claro);
    font-size: 14px;
    background: var(--cor-bg-claro);
}

.product-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--cor-texto);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-category {
    display: inline-block;
    background: var(--cor-primaria);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: none;
    transition: var(--transicao);
}

.product-category:hover {
    background: var(--cor-secundaria);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.product-description {
    color: var(--cor-texto-claro);
    font-size: 14px;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.product-prices {
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--cor-borda);
}

.price-original {
    display: block;
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
    margin-bottom: 4px;
}

.price-current {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--cor-primaria);
    line-height: 1.2;
    margin-bottom: 6px;
    letter-spacing: -1px;
}

.price-retail {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--cor-primaria);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.price-wholesale {
    display: block;
    font-size: 14px;
    color: var(--cor-texto-claro);
    font-weight: 500;
    margin-top: 6px;
}

.price-wholesale-label {
    color: var(--cor-texto-claro);
}

.price-wholesale-original {
    text-decoration: line-through;
    color: #999;
    margin: 0 5px;
}

.price-wholesale-discount {
    color: var(--cor-primaria);
    font-weight: 600;
}

.price-installment {
    display: block;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin-top: 4px;
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transicao);
    font-family: inherit;
    outline: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--cor-primaria);
    color: white;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: var(--cor-secundaria);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-product {
    background: linear-gradient(135deg, var(--cor-secundaria) 0%, var(--cor-primaria) 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: block;
}

.btn-product:hover {
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: var(--cor-secundaria);
    color: var(--cor-primaria);
    border: 2px solid var(--cor-secundaria);
    font-weight: 600;
    transition: var(--transicao);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: var(--cor-primaria);
    color: white;
    border-color: var(--cor-primaria);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-block {
    width: 100%;
    margin-top: 15px;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -450px;
    top: 0;
    width: 450px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--cor-borda);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    color: white;
}

.cart-header h2 {
    font-size: 22px;
    font-weight: 700;
}

.close-cart {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transicao);
}

.close-cart:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

#cart-items {
    flex: 1;
    padding: 24px;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--cor-borda);
}

.cart-item-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--cor-bg-claro);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--cor-texto);
}

.cart-item-price {
    color: var(--cor-primaria);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 12px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-btn {
    background: var(--cor-bg-claro);
    border: 2px solid var(--cor-borda);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transicao);
    font-weight: 600;
}

.quantity-btn:hover {
    background: var(--cor-primaria);
    color: white;
    border-color: var(--cor-primaria);
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: 2px solid var(--cor-borda);
    border-radius: 8px;
    padding: 8px;
    font-weight: 600;
}

.remove-item {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    margin-top: 8px;
    font-weight: 600;
    transition: var(--transicao);
}

.remove-item:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.cart-summary {
    padding: 24px;
    border-top: 2px solid var(--cor-borda);
    background: var(--cor-bg-claro);
}

.coupon-section {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.coupon-section input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--cor-borda);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: var(--transicao);
}

.coupon-section input:focus {
    border-color: var(--cor-primaria);
}

.coupon-info {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
}

.cart-total {
    font-size: 24px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--cor-borda);
    font-weight: 700;
}

.cart-total span {
    color: var(--cor-primaria);
}

.cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1999;
    transition: var(--transicao);
}

.cart-overlay.show {
    display: block;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--cor-texto-claro);
}

.empty-state p {
    font-size: 18px;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #e0e0e0;
    padding: 80px 0 0;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    padding-bottom: 50px;
}

.footer-section {
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--cor-primaria) 0%, transparent 100%);
    border-radius: 2px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding-left: 20px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: var(--cor-primaria);
    border-radius: 2px;
}

.footer-section p {
    line-height: 1.9;
    color: #d0d0d0;
    font-size: 15px;
    padding-left: 20px;
    margin: 0;
    transition: color 0.3s ease;
}

.footer-section p:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--cor-primaria);
}

.footer-bottom p {
    color: #b0b0b0;
    font-size: 14px;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.footer-bottom p strong {
    color: var(--cor-primaria);
    font-weight: 600;
}

/* Product Detail Page */
.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--cor-texto-claro);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--cor-primaria);
    text-decoration: none;
    transition: var(--transicao);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--cor-texto-claro);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.product-detail-images {
    position: sticky;
    top: 100px;
    align-self: start;
}

.main-image {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--cor-bg-claro);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img,
.main-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image .no-image {
    color: var(--cor-texto-claro);
    font-size: 16px;
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
}

.thumbnail {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transicao);
    position: relative;
    background: var(--cor-bg-claro);
}

.thumbnail:hover {
    border-color: var(--cor-primaria);
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--cor-primaria);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.thumbnail img,
.thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail .video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--cor-texto);
    line-height: 1.2;
    margin: 0;
}

.product-short-description {
    font-size: 18px;
    color: var(--cor-texto-claro);
    line-height: 1.6;
    margin: 0;
}

.product-prices-detail {
    padding: 24px 0;
    border-top: 2px solid var(--cor-borda);
    border-bottom: 2px solid var(--cor-borda);
}

.price-retail-large {
    font-size: 42px;
    font-weight: 700;
    color: var(--cor-primaria);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.price-wholesale-detail {
    font-size: 18px;
    color: var(--cor-texto-claro);
    font-weight: 500;
    margin-top: 8px;
}

.price-original-detail {
    font-size: 24px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
    margin-bottom: 8px;
}

.price-wholesale-label-detail {
    color: var(--cor-texto-claro);
}

.price-wholesale-original-detail {
    text-decoration: line-through;
    color: #999;
    margin: 0 5px;
}

.price-wholesale-discount-detail {
    color: var(--cor-primaria);
    font-weight: 600;
}

.product-full-description {
    margin-top: 20px;
}

.product-full-description h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--cor-texto);
    margin-bottom: 16px;
}

.description-content {
    font-size: 16px;
    color: var(--cor-texto);
    line-height: 1.8;
    white-space: pre-wrap;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.description-content.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.8em * 3);
}

.btn-show-more {
    margin-top: 12px;
    background: none;
    border: none;
    color: var(--cor-primaria);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    text-align: left;
    transition: color 0.2s ease;
}

.btn-show-more:hover {
    color: var(--cor-primaria);
    text-decoration: underline;
}

.btn-show-more.hidden {
    display: none;
}

.product-add-to-cart {
    margin-top: 40px;
    padding: 30px;
    background: var(--cor-bg-claro);
    border-radius: 16px;
    border: 2px solid var(--cor-borda);
}

.quantity-selector {
    margin-bottom: 24px;
}

.quantity-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--cor-texto);
    font-size: 16px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-btn {
    width: 48px;
    height: 48px;
    border: 2px solid var(--cor-borda);
    background: white;
    border-radius: 8px;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transicao);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-texto);
}

.qty-btn:hover {
    background: var(--cor-primaria);
    border-color: var(--cor-primaria);
    color: white;
}

#product-quantity {
    width: 100px;
    height: 48px;
    text-align: center;
    border: 2px solid var(--cor-borda);
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: var(--transicao);
}

#product-quantity:focus {
    border-color: var(--cor-primaria);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
    width: 100%;
}

.product-actions {
    display: flex;
    gap: 12px;
}

.product-actions .btn {
    flex: 1;
}

/* Responsive - 100% Mobile First */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .logo-link {
        order: 1;
        width: 100%;
        justify-content: center;
        margin-bottom: 8px;
    }
    
    .logo {
        font-size: 28px;
    }
    
    .site-logo {
        max-height: 80px;
        height: 80px;
    }
    
    .logo {
        font-size: 32px;
    }
    
    .header-right {
        width: 100%;
        order: 2;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .search-container {
        flex: 1;
        max-width: 100%;
    }
    
    .cart-icon {
        padding: 8px 14px;
        font-size: 14px;
        flex-shrink: 0;
    }
    
    .main-content {
        padding: 120px 0 40px;
    }
    
    .hero-section {
        padding: 0 10px;
        display: block;
        visibility: visible;
    }
    
    .hero-section h2 {
        font-size: 28px;
        line-height: 1.3;
        word-break: break-word;
        display: block;
        visibility: visible;
    }
    
    .hero-section p {
        font-size: 15px;
        line-height: 1.5;
        display: block;
        visibility: visible;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-card {
        border-radius: 12px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 16px;
    }
    
    .product-name {
        font-size: 14px;
        line-height: 1.3;
        margin-bottom: 6px;
    }
    
    .product-description {
        font-size: 12px;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .product-prices {
        margin-bottom: 10px;
    }
    
    .price-retail,
    .price-current {
        font-size: 18px;
    }
    
    .price-original {
        font-size: 12px;
    }
    
    .price-wholesale {
        font-size: 11px;
    }
    
    .btn-product {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .product-category {
        font-size: 10px;
        padding: 4px 8px;
        margin-bottom: 6px;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-detail-images {
        position: static;
    }
    
    .product-title {
        font-size: 32px;
    }
    
    .price-retail-large {
        font-size: 36px;
    }
    
    /* Footer Mobile */
    .site-footer {
        padding: 60px 0 0;
        margin-top: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
        padding-bottom: 40px;
    }
    
    .footer-section {
        padding: 0 20px;
    }
    
    .footer-section::before {
        display: none;
    }
    
    .footer-section h3 {
        font-size: 18px;
        padding-left: 0;
        margin-bottom: 15px;
    }
    
    .footer-section h3::after {
        left: 0;
        width: 35px;
    }
    
    .footer-section p {
        padding-left: 0;
        font-size: 14px;
        line-height: 1.8;
    }
    
    .footer-bottom {
        padding: 25px 20px;
    }
    
    .footer-bottom p {
        font-size: 13px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .header-content {
        padding: 12px 0;
    }
    
    .logo-link {
        margin-bottom: 12px;
    }
    
    .site-logo {
        max-height: 90px;
        height: 90px;
    }
    
    .logo {
        font-size: 36px;
    }
    
    .header-right {
        flex-direction: row;
        gap: 10px;
    }
    
    .search-container {
        flex: 1;
    }
    
    .main-content {
        padding: 100px 0 30px;
    }
    
    .hero-section {
        padding: 0 8px;
        margin-top: 132px;
        display: block;
        visibility: visible;
    }
    
    .hero-section h2 {
        font-size: 24px;
        line-height: 1.3;
        word-break: break-word;
        padding: 0 5px;
        display: block;
        visibility: visible;
    }
    
    .hero-section p {
        font-size: 14px;
        line-height: 1.5;
        padding: 0 5px;
        display: block;
        visibility: visible;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .price-retail {
        font-size: 24px;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-detail-images {
        position: static;
    }
    
    .product-title {
        font-size: 28px;
    }
    
    .price-retail-large {
        font-size: 32px;
    }
    
    .thumbnail-images {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
}
