/* YOYAZAKI RISAIKURUSHOPU - CSS ULTRA MODERNO */

/* === PALETA HARMONIOSA MODERNA === */
:root {
    /* Cores principais - harmonia azul e cinza */
    --primary-color: #f59e0b;        /* Orange 500 - laranja da marca */
    --secondary-color: #6366f1;      /* Indigo 500 - complementar */
    --accent-color: #06b6d4;         /* Cyan 500 - destaque */
    --success-color: #10b981;        /* Emerald 500 */
    --warning-color: #f59e0b;        /* Amber 500 */
    --danger-color: #ef4444;         /* Red 500 */
    
    /* Backgrounds claros com toque de cor */
    --bg-primary: #ffffff;           /* Branco puro */
    --bg-secondary: #f8fafc;         /* Slate 50 - levemente azulado */
    --bg-card: #ffffff;              /* Branco puro */
    --bg-light: #fefefe;             /* Off-white */
    --bg-hover: #f1f5f9;             /* Slate 100 - hover suave */
    
    /* Textos balanceados */
    --text-primary: #1e293b;         /* Slate 800 - mais escuro */
    --text-secondary: #64748b;       /* Slate 500 */
    --text-light: #94a3b8;           /* Slate 400 */
    --text-lighter: #cbd5e1;         /* Slate 300 */
    --text-white: #ffffff;
    
    /* Bordas e sombras com toque azul */
    --border-color: #e2e8f0;         /* Slate 200 */
    --border-light: #f1f5f9;         /* Slate 100 */
    --shadow-sm: 0 1px 2px 0 rgb(245 158 11 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(245 158 11 / 0.08), 0 2px 4px -2px rgb(245 158 11 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(245 158 11 / 0.1), 0 4px 6px -4px rgb(245 158 11 / 0.08);
    --shadow-xl: 0 20px 25px -5px rgb(245 158 11 / 0.12), 0 8px 10px -6px rgb(245 158 11 / 0.1);
    
    /* Gradientes harmoniosos */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-light: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    
    /* Outros */
    --border-radius: 10px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* === RESET E BASE === */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* === HEADER MODERNO === */
.header-main {
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* === LOGO STYLES === */
.logo {
    max-height: 50px;
    max-width: 200px;
    height: auto;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.8;
}

.logo-text {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.025em;
}

.logo-subtitle {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 400;
    margin-top: -0.25rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.navbar-nav {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav .nav-item {
    margin: 0;
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-nav .nav-link:hover {
    background: var(--bg-hover);
    color: var(--text-primary) !important;
}

.navbar-toggler {
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.5rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23374151' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* === BARRA DE PESQUISA NO HEADER === */
.search-form-header {
    max-width: 300px;
}

.search-form-header .input-group {
    width: 100%;
}

.search-form-header .form-control {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
}

.search-form-header .form-control:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.1);
    border-color: var(--primary-color);
}

.search-form-header .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

/* === BOTÕES MODERNOS === */
.btn {
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    border: none;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--text-white);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-light {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* Botões especiais do Hero */
.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border: none;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-line {
    background: linear-gradient(135deg, #00c300 0%, #00b300 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 195, 0, 0.3);
}

.btn-line:hover {
    background: linear-gradient(135deg, #00b300 0%, #009900 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 195, 0, 0.4);
}

.btn-ver {
    background: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    box-shadow: var(--shadow-sm);
}

.btn-ver:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* === HERO SECTION ELEGANTE === */
.hero-section {
    background: var(--gradient-light);
    color: var(--text-primary);
    padding: 5rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === SEÇÕES === */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
}

.text-muted {
    color: var(--text-light) !important;
    font-size: 0.95rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.produtos-recentes {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.categorias-section,
.sobre-section {
    padding: 4rem 0;
}

/* === GRIDS RESPONSIVOS === */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Grid específico para 4 colunas na página inicial */
.produtos-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Grid específico para 3 colunas nas páginas produtos e categorias */
.produtos-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

/* === CARDS DE PRODUTO === */
.produto-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid var(--border-light);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.produto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.01) 0%, rgba(99, 102, 241, 0.01) 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.produto-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.1);
}

.produto-card:hover::before {
    opacity: 1;
}

.produto-imagem {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.produto-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.produto-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-promocao {
    background: var(--danger-color);
    color: var(--text-white);
}

.badge-condicao.novo {
    background: var(--success-color);
    color: var(--text-white);
}

.badge-condicao.usado {
    background: var(--warning-color);
    color: var(--text-white);
}

.badge-condicao.seminovo {
    background: var(--accent-color);
    color: var(--text-white);
}

.produto-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.produto-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.produto-descricao {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.produto-preco {
    margin-bottom: 1rem;
}

.preco-atual {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.preco-original {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
    display: block;
    margin-bottom: 0.25rem;
}

.produto-acoes {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: auto;
}

.contact-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-whatsapp-small {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    border: none;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp-small:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-line-small {
    background: linear-gradient(135deg, #00c300 0%, #00b300 100%);
    color: white;
    padding: 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    border: none;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-line-small:hover {
    background: linear-gradient(135deg, #00b300 0%, #009900 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 195, 0, 0.3);
}

/* === CARDS DE CATEGORIA === */
.categoria-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.categoria-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-light);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 1;
}

.categoria-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.15);
}

.categoria-card:hover::before {
    opacity: 1;
}

.categoria-card:hover .categoria-icon {
    color: var(--primary-color);
    transform: scale(1.1);
}

.categoria-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.categoria-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.categoria-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

/* === SEÇÃO SOBRE === */
.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.sobre-texto h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.sobre-texto p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.contato-info {
    margin-top: 2rem;
}

.contato-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.contato-item i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    width: 20px;
}

.sobre-imagem img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* === FOOTER HARMONIZADO === */
.footer-main {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #e2e8f0;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    position: relative;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

.footer-main h5,
.footer-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-main h6,
.footer-subtitle {
    color: #f1f5f9;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-description {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.footer-contact-info {
    margin-top: 0.5rem;
}

.footer-contact-info .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0;
    line-height: 1.3;
}

.footer-contact-info .contact-item i {
    width: 20px;
    margin-right: 0.75rem;
    font-size: 1rem;
    margin-top: 0;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact-info .contact-item span {
    color: #cbd5e1;
    font-size: 0.9rem;
    flex: 1;
    line-height: 1.3;
}

.footer-main p,
.footer-main li {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-main a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-main a:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

.footer-links {
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
    padding-left: 0;
}

.footer-links a {
    padding: 0.25rem 0;
    border-radius: 4px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 0.5rem;
}

.contact-info {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
}

.contact-item i {
    width: 20px;
    margin-right: 0.75rem;
    color: var(--accent-color);
    font-size: 1rem;
}

.contact-item span {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.contact-buttons-footer .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
}

.footer-divider {
    border-color: #475569;
    margin: 2rem 0 1.5rem;
    opacity: 0.6;
}

.footer-bottom {
    padding-top: 1rem;
    border-top: 1px solid #475569;
    margin-top: 1rem;
}

.copyright-text {
    color: #94a3b8;
    font-size: 0.85rem;
}

.admin-link {
    color: #64748b !important;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
}

.admin-link:hover {
    color: var(--accent-color) !important;
    background: rgba(255, 255, 255, 0.1);
    transform: none;
}

.dev-link {
    color: var(--accent-color) !important;
    font-weight: 500;
}

.dev-link:hover {
    color: #ffffff !important;
    transform: none;
}

/* Links legais */
.links-legais {
    margin: 1rem 0;
    padding: 1rem 0;
}

.links-legais a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.links-legais a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
    transform: none;
}

.links-legais .separator {
    color: #64748b;
    margin: 0 0.75rem;
    font-weight: bold;
}

/* === BOTÃO VOLTAR AO TOPO === */
.btn-voltar-topo {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.btn-voltar-topo.show {
    opacity: 1;
    visibility: visible;
}

.btn-voltar-topo:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* === RESPONSIVIDADE === */
/* === RESPONSIVIDADE TABLET === */
@media (max-width: 1024px) {
    .produtos-grid-4 {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .produtos-grid-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .produtos-grid,
    .produtos-grid-3,
    .produtos-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .categorias-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .navbar-brand .logo-text {
        font-size: 1.5rem;
    }
    
    .logo {
        max-height: 40px;
        max-width: 150px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .produto-acoes {
        flex-direction: column;
    }
    
    .btn-whatsapp-small {
        min-width: auto;
    }
    
    /* === HEADER MOBILE MELHORADO === */
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-brand {
        flex: 1;
    }

    .navbar-toggler {
        padding: 0.375rem 0.5rem;
        margin-left: 0.5rem;
        border: 1px solid var(--border-color);
    }

    /* Menu colapsado mobile */
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-light);
    }

    .navbar-nav {
        flex-direction: column;
        gap: 0.25rem;
        margin-bottom: 1rem;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0 !important;
        border-radius: 0;
        border-bottom: 1px solid var(--border-light);
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    /* Barra de pesquisa mobile */
    .search-form-header {
        max-width: 100%;
        margin: 1rem 0 !important;
        order: 1;
        width: 100%;
    }

    .search-form-header .form-control {
        font-size: 16px; /* Evita zoom no iOS */
        padding: 0.75rem;
    }

    /* Seletor de idiomas mobile */
    .language-selector {
        margin: 1rem 0 0 0;
        order: 2;
        align-self: flex-start;
    }

    .language-button {
        padding: 0.5rem 0.75rem;
        min-width: 45px;
    }

    .language-menu {
        min-width: 120px;
        left: 0;
        right: auto;
    }

    /* Dropdown mobile */
    .dropdown-menu {
        border: none;
        box-shadow: none;
        background: var(--bg-hover);
        margin-top: 0.5rem;
        padding: 0.5rem 0;
        position: static !important;
        transform: none !important;
        width: 100%;
    }

    .dropdown-item {
        padding: 0.75rem 0;
        color: var(--text-secondary);
        border-bottom: 1px solid var(--border-light);
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .contact-buttons {
        margin-top: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .promocoes-section,
    .produtos-recentes,
    .categorias-section,
    .sobre-section {
        padding: 3rem 0;
    }
    
    .produto-info {
        padding: 1rem;
    }
    
    .categoria-card {
        padding: 1rem 0.75rem;
    }
    
    .categoria-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .btn-voltar-topo {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
    
    .search-form .input-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-form .form-control,
    .search-form .btn {
        border-radius: var(--border-radius);
    }
    
    /* Footer responsivo */
    .footer-main {
        padding: 2rem 0 1rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-subtitle {
        font-size: 0.95rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer-contact-info .contact-item {
        margin-bottom: 0.6rem;
    }
    
    .footer-contact-info .contact-item span {
        font-size: 0.85rem;
    }
}

/* === BOTÃO GRANDE COM EFEITO === */
.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.btn-lg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-lg:hover::before {
    left: 100%;
}

/* === PÁGINAS DE PRODUTOS === */
.breadcrumb-section {
    background: var(--bg-secondary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb {
    margin: 0;
    background: none;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--text-light);
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-light);
}

/* Filtros */
.filtros-section {
    padding: 2rem 0;
}

.filtros-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

.filtros-titulo {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filtro-grupo {
    margin-bottom: 1.5rem;
}

.filtro-grupo:last-child {
    margin-bottom: 0;
}

.filtro-acoes {
    margin-top: 2rem;
}

/* Resultados */
.resultados-header {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.resultados-titulo {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.resultados-info {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

.ordenacao {
    text-align: right;
}

.ordenacao .form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Grid de produtos - 4 colunas para relacionados */
.produtos-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Nenhum produto */
.nenhum-produto {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

/* === PÁGINA INDIVIDUAL DO PRODUTO === */
.produto-detalhes-section {
    padding: 2rem 0;
}

.produto-galeria {
    position: sticky;
    top: 2rem;
}

.imagem-principal {
    position: relative;
    margin-bottom: 1rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--bg-secondary);
}

.imagem-principal img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    display: block;
    background: #f8f9fa;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.imagem-principal:hover img {
    transform: scale(1.1);
}

.produto-badges-detalhes {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.miniaturas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.miniatura {
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.miniatura:hover,
.miniatura.active {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.miniatura img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    display: block;
    background: #f8f9fa;
}

/* Informações do produto */
.produto-info-detalhes {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.produto-titulo {
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.produto-categoria {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.produto-categoria a {
    color: var(--primary-color);
    text-decoration: none;
}

.produto-categoria a:hover {
    text-decoration: underline;
}

/* Preços detalhados */
.produto-preco-detalhes {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gradient-light);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.preco-promocao {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.preco-original-detalhes {
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.preco-atual-detalhes {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.desconto-percentual {
    background: var(--danger-color);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Especificações */
.produto-specs {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: var(--text-primary);
}

.spec-value {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Descrição */
.produto-descricao-detalhes {
    margin-bottom: 2rem;
}

.produto-descricao-detalhes h3 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.produto-descricao-detalhes p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Ações do produto */
.produto-acoes-detalhes {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-line {
    background: linear-gradient(135deg, #00c300, #00b300);
    color: var(--text-white);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-line:hover {
    background: linear-gradient(135deg, #00b300, #00a300);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 195, 0, 0.3);
}

/* Compartilhar */
.produto-compartilhar h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.compartilhar-botoes {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-compartilhar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-white);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-compartilhar:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-compartilhar.facebook {
    background: #1877f2;
}

.btn-compartilhar.twitter {
    background: #1da1f2;
}

.btn-compartilhar.whatsapp {
    background: #25d366;
}

.btn-compartilhar.link {
    background: var(--text-secondary);
}

/* Produtos relacionados */
.produtos-relacionados-section {
    padding: 3rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

/* === LIGHTBOX === */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.lightbox-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { 
        opacity: 0;
        transform: scale(0.8);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsividade do lightbox */
@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-counter {
        bottom: 10px;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* === RESPONSIVIDADE PRODUTOS === */
@media (max-width: 1024px) {
    .produtos-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ordenacao {
        text-align: left;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .produtos-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .filtros-section {
        padding: 1rem 0;
    }
    
    .produto-detalhes-section {
        padding: 1rem 0;
    }
    
    .produto-galeria {
        position: static;
        margin-bottom: 2rem;
    }
    
    .produto-titulo {
        font-size: 1.5rem;
    }
    
    .preco-atual-detalhes {
        font-size: 2rem;
    }
    
    .produto-acoes-detalhes {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
        justify-content: center;
    }
    
    .miniaturas {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .preco-promocao {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ===== PÁGINA DE CATEGORIA ===== */
.categoria-header-section {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.categoria-header {
    text-align: center;
}

.categoria-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.categoria-icon-large {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    backdrop-filter: blur(10px);
}

.categoria-texto h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.categoria-texto p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.categoria-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.categoria-produtos-section {
    padding: 2rem 0;
}

.outras-categorias {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.outras-categorias h6 {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.categorias-lista {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.categoria-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: #6b7280;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.categoria-link:hover {
    background: #f3f4f6;
    color: var(--primary-color);
    text-decoration: none;
    transform: translateX(5px);
}

.categoria-link i {
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .categoria-header-section {
        padding: 2rem 0;
    }
    
    .categoria-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .categoria-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .categoria-texto h1 {
        font-size: 2rem;
    }
    
    .stat-item {
        font-size: 0.9rem;
    }
}