/* ==========================================================================
   VITRINE DE PRODUTOS - ESTILOS PÚBLICOS
   Baseado nas cores do logo: #085791 (azul), #94B32E (verde), #F2AB17 (amarelo), #FF5959 (vermelho)
   ========================================================================== */

/* ==========================================================================
   CSS Variables - Cores do Logo
   ========================================================================== */
:root {
    --brand-blue: #085791;
    --brand-green: #94B32E;
    --brand-yellow: #F2AB17;
    --brand-red: #FF5959;

    --primary-color: #085791;
    --secondary-color: #f9d494;
    --accent-color: #FF5959;
    --dark-accent-color: #00273c;

    --light-bg-color: #ededed;
    --card-bg-color: #ffffff;
    --text-color: #3D352A;
    --muted-text-color: #A49B8F;
    --border-color: #DDE2E5;

    --header-bg-color: #ffffff;

    --link-color: var(--primary-color);
    --link-hover-color: var(--accent-color);

    --price-color: var(--primary-color);
    --heading-color: var(--primary-color);
    --title-color: var(--text-color);
    --supporting-text-color: var(--muted-text-color);

    --badge-featured-bg: #fff0b8;
    --badge-featured-text: #6a5200;
    --badge-featured-border: #e5c14f;
    --badge-promo-bg: #d64545;
    --badge-promo-text: #ffffff;
    --badge-promo-border: #b63232;
    --badge-new-bg: #1f7ae0;
    --badge-new-text: #ffffff;
    --badge-new-border: #1663b5;

    --footer-bg-color: #052f4d;
    --footer-text-color: rgba(248, 245, 240, 0.8);
    --footer-heading-color: var(--light-bg-color);

    --button-text-color: #FFFFFF;

    --transition-base: all 0.3s ease;
    --box-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --box-shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --box-shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --border-radius-sm: 8px;
    --border-radius-md: 10px;
    --border-radius-lg: 12px;
}

[data-theme="dark"],
html[data-bs-theme="dark"] {
    color-scheme: dark;
    --primary-color: #6bb8ff;
    --secondary-color: #9fd66c;
    --accent-color: #ff875f;
    --dark-accent-color: #ff6a3d;

    --light-bg-color: #08111d;
    --card-bg-color: #101b2d;
    --text-color: #f3f8ff;
    --muted-text-color: #bfd0e3;
    --border-color: #26364d;

    --header-bg-color: rgba(7, 17, 29, 0.88);

    --link-color: #8bc8ff;
    --link-hover-color: #bedfff;

    --price-color: #ffd36a;
    --heading-color: var(--primary-color);
    --title-color: var(--text-color);
    --supporting-text-color: var(--muted-text-color);

    --badge-featured-bg: rgba(255, 211, 106, 0.18);
    --badge-featured-text: #ffe7a8;
    --badge-featured-border: rgba(255, 211, 106, 0.4);
    --badge-promo-bg: #ff6b6b;
    --badge-promo-text: #ffffff;
    --badge-promo-border: #ff8a8a;
    --badge-new-bg: #58afff;
    --badge-new-text: #08111d;
    --badge-new-border: rgba(88, 175, 255, 0.5);

    --footer-bg-color: #050c16;
    --footer-text-color: rgba(219, 229, 240, 0.8);
    --footer-heading-color: #f5f9ff;

    --button-text-color: #f8fbff;
    --dark-surface-base: #08111d;
    --dark-surface-soft: #0f1a2a;
    --dark-surface-elevated: #162338;
    --dark-surface-strong: #1c2d45;
    --dark-border-strong: rgba(168, 201, 235, 0.3);
    --dark-shadow-color: rgba(2, 8, 20, 0.55);
    --dark-glow-color: rgba(107, 184, 255, 0.2);
    --dark-input-bg: rgba(12, 21, 35, 0.92);
    --dark-header-line: rgba(255, 255, 255, 0.06);
    --dark-icon-color: #eaf3ff;
    --dark-icon-muted: #c8d8ea;
    --dark-menu-item-bg: rgba(13, 23, 38, 0.6);
    --dark-menu-item-hover-bg: rgba(31, 49, 74, 0.96);
    --dark-menu-item-active-bg: rgba(107, 184, 255, 0.18);
}

/* ==========================================================================
   ELEMENTOS BASE
   ========================================================================== */

/* Estilos gerais do corpo */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==========================================================================
   TELAS INSTITUCIONAIS / ESTADO VAZIO
   ========================================================================== */

.public-splash-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: 'Poppins', sans-serif;
}

.public-splash-body--home {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 100%);
}

.public-splash-body--not-found {
    background:
        radial-gradient(circle at top, rgba(242, 171, 23, 0.18), transparent 30%),
        linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 100%);
}

.public-splash-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.public-splash-card--home {
    max-width: 650px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.public-splash-card--not-found {
    width: min(680px, 100%);
    padding: 40px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.public-splash-logo-wrap {
    margin-bottom: 25px;
}

.public-splash-logo {
    max-width: 250px;
    height: auto;
}

.public-splash-title {
    margin: 0 0 12px;
    color: #111827;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
}

.public-splash-text {
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.public-splash-info-box,
.public-splash-context-box {
    background: rgba(8, 87, 145, 0.08);
    color: var(--brand-blue);
    border-left: 4px solid var(--brand-blue);
}

.public-splash-info-box {
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
}

.public-splash-info-title {
    color: var(--brand-blue);
}

.public-splash-info-box code {
    color: var(--brand-blue);
    background: rgba(8, 87, 145, 0.1);
}

.public-splash-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(8, 87, 145, 0.1);
    color: var(--brand-blue);
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
}

.public-splash-description {
    margin: 0 auto 24px;
    max-width: 520px;
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.7;
}

.public-splash-context-box {
    margin: 0 auto 28px;
    max-width: 540px;
    padding: 18px 20px;
    border-radius: 16px;
    font-weight: 600;
    word-break: break-word;
}

.public-splash-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.public-splash-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.public-splash-button:hover {
    transform: translateY(-1px);
}

.public-splash-button--primary {
    background: var(--brand-blue);
    color: #fff;
    box-shadow: 0 14px 30px rgba(8, 87, 145, 0.25);
}

.public-splash-button--secondary {
    background: rgba(17, 24, 39, 0.06);
    color: #111827;
}

.public-splash-tip {
    margin-top: 24px;
    color: #6b7280;
    font-size: 0.92rem;
}

@media (max-width: 640px) {
    .public-splash-card--home,
    .public-splash-card--not-found {
        padding: 32px 22px;
    }

    .public-splash-actions {
        flex-direction: column;
    }

    .public-splash-button {
        width: 100%;
    }
}

/* Seções */
.section-padding {
    padding: 60px 0;
}

/* Textos temáticos */
.text-theme {
    color: #212529;
}

[data-theme="dark"] .text-theme {
    color: #fff;
}

/* ==========================================================================
   ANIMAÇÕES E EFEITOS
   ========================================================================== */

/* Notificações flutuantes */
.notificacao-flutuante {
    animation: slideIn 0.3s ease-out;
    opacity: 1;
    transition: opacity 0.15s linear;
}

.notificacao-flutuante.fade:not(.show) {
    opacity: 0;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Transições */
.transition-all {
    transition: var(--transition-base);
}

/* Efeito de zoom suave */
.zoom-effect {
    transition: transform 0.3s ease;
}

.zoom-effect:hover {
    transform: scale(1.03);
}

/* ==========================================================================
   COMPONENTES DE INTERFACE
   ========================================================================== */

/* Botões */
.btn {
    transition: var(--transition-base);
    font-weight: 500;
    border-radius: 50px;
    padding: 0.25rem 0.25rem;
}

/* Botão de compartilhamento */
.btn-share {
    background-color: #17a2b8;
    color: white;
    border: none;
}

.btn-share:hover {
    background-color: #138496;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-sm);
}

.btn-inicio {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--button-text-color);
}

.btn-inicio:hover {
    background-color: var(--dark-accent-color);
    border-color: var(--dark-accent-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-sm);
}

.public-secondary-cta-btn {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-color);
}

.public-secondary-cta-btn:hover,
.public-secondary-cta-btn:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.public-accent-btn {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.public-accent-btn:hover,
.public-accent-btn:focus {
    background-color: var(--dark-accent-color);
    border-color: var(--dark-accent-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-sm);
}

.public-accent-outline-btn {
    background-color: #28a745;
    border: 1px solid #28a745;
    color: #fff;
}

.public-accent-outline-btn:hover,
.public-accent-outline-btn:focus {
    background-color: #1e7e34;
    border-color: #1e7e34;
    color: #fff;
}

.public-price-text {
    color: var(--price-color);
}

.public-section-title,
.public-page-title,
.public-category-title {
    color: var(--heading-color);
}

.public-section-title__icon {
    color: var(--accent-color);
}

.public-category-icon,
.public-category-meta-icon {
    color: var(--primary-color);
}

.public-category-name,
.public-product-title {
    color: var(--title-color) !important;
}

.public-product-meta,
.public-product-meta a {
    color: var(--primary-color) !important;
}

.public-product-description {
    color: #666666 !important;
}

/* Descrição do produto com HTML (Quill) */
.public-product-description ul, 
.public-product-description ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.public-product-description li {
    margin-bottom: 0.25rem;
}
.public-product-description p {
    margin-bottom: 1rem;
}
.public-product-description p:last-child {
    margin-bottom: 0;
}

/* btn-inicio dark: ver seção DARK MODE REFINADO */

/* Estilo para dispositivos móveis */
@media (max-width: 768px) {
    .d-flex.gap-2 {
        flex-wrap: wrap;
    }
    
    .d-flex.gap-2 > * {
        flex: 1 1 100%;
        margin-bottom: 8px;
    }
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--box-shadow-sm);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top:active {
    transform: translateY(-1px);
}

/* ==========================================================================
   ELEMENTOS DE MÍDIA
   ========================================================================== */

/* Container de imagem de produto */
.produto-img-container {
    width: 100%;
    height: auto !important;
    aspect-ratio: 4 / 3;
    background-color: #f8f9fa;
    padding: 0;
    margin: 0;
    overflow: hidden;
    cursor: zoom-in;
    transition: var(--transition-base);
}

.produto-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}

/* Imagem de placeholder */
.placeholder-img {
    filter: grayscale(70%);
    opacity: 0.8;
}

/* ==========================================================================
   FORMULÁRIOS E CAMPOS DE ENTRADA
   ========================================================================== */

/* Formulário de busca */
.search-form {
    margin-bottom: 2rem;
}

.search-form .input-group {
    box-shadow: var(--box-shadow-sm);
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: var(--transition-base);
}

.search-form .input-group:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(217, 115, 94, 0.25);
}

.search-form .form-control {
    border: none;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    border-radius: 50px 0 0 50px;
    background-color: var(--card-bg-color);
}

.search-form .form-control:focus {
    box-shadow: none;
    border-color: transparent;
}

.search-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transition: all 0.3s ease;
}

.search-form .btn:hover {
    background-color: var(--dark-accent-color);
    border-color: var(--dark-accent-color);
    transform: translateY(-1px);
}

.search-form .btn-outline-secondary {
    color: var(--text-color);
    background-color: var(--card-bg-color);
    border-color: var(--border-color);
    margin-left: 0.5rem;
    border-radius: 50px;
}

.search-form .btn-outline-secondary:hover {
    background-color: var(--card-bg-color);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Estilo para mensagem de resultados da busca */
.resultado-busca-titulo {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.resultado-busca-titulo .termo-busca {
    color: var(--accent-color);
    font-weight: 700;
}

/* ========== Header ========== */
header {
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    margin: 0;
    padding: 2px 0;
}

header .logo-link {
    display: block;
    transition: transform 0.3s ease;
}

header .logo-link:hover {
    transform: scale(1.05);
}

header .social-icon {
    transition: all 0.3s ease;
    transform-origin: center;
}

header .social-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.navbar-brand {
    font-weight: 700;
    color: var(--link-color);
    padding: 0;
    margin: 0;
    line-height: 1;
}

.nav-link {
    color: var(--muted-text-color);
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.nav-link:hover {
    color: var(--link-hover-color);
}

/* ========== Tema Escuro (consolidado na seção DARK MODE REFINADO abaixo) ========== */

/* Estilos para tema claro */
.social-icon {
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.theme-toggle-btn {
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Ajustes de cards e textos no tema escuro: ver seção DARK MODE REFINADO */

/* ==========================================================================
   COMPONENTES DE CARDS
   ========================================================================== */

/* Cards base */
.produto-card, 
.produto-card-lista {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
}

.produto-card:hover, 
.produto-card-lista:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

/* Estilos específicos para cards em formato lista */
.produto-card-lista {
    border-radius: 10px;
    margin-bottom: 0px;
}

.produto-img-lista-container {
    height: auto !important;
    aspect-ratio: 4 / 3;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
    overflow: hidden;
}

.produto-img-lista {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.produto-card-lista:hover .produto-img-lista {
    transform: scale(1.05);
}

.produto-descricao-lista {
    font-size: 0.9rem;
    line-height: 1.4;
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.produto-preco-lista {
    color: var(--price-color);
    font-size: 1.1rem;
}

.produto-destaque-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--badge-featured-bg);
    color: var(--badge-featured-text);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid var(--badge-featured-border);
}

.public-product-badge {
    font-weight: 700;
    border: 1px solid transparent;
}

.public-product-badge--featured {
    background-color: #ffc900;
    color: #000000;
    border-color: #ffc900;
}

.public-product-badge--promo {
    background-color: var(--badge-promo-bg);
    color: var(--badge-promo-text);
    border-color: var(--badge-promo-border);
}

.public-product-badge--new {
    background-color: var(--badge-new-bg);
    color: var(--badge-new-text);
    border-color: var(--badge-new-border);
}

.produto-body {
    padding: 15px;
}

.produto-titulo {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.produto-descricao {
    color: var(--muted-text-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.produto-preco {
    font-weight: bold;
    color: var(--price-color);
    font-size: 1.2rem;
    display: block;
    margin-top: auto;
}

/* ========== Categorias e Filtros ========== */
.filtro-categoria {
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.filtro-categoria.active {
    background-color: var(--primary-color);
    color: var(--button-text-color);
    border-color: var(--primary-color);
}

.filtros-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

/* Estilos para itens de produto durante a filtragem */
.produto-item {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out, height 0.4s ease-in-out, margin 0.4s ease-in-out, padding 0.4s ease-in-out;
}

.produto-item.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    height: 0 !important;
    overflow: hidden !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: none !important;
}

/* ========== Categorias ========== */
.categoria-titulo {
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
    margin: 30px 0 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.categoria-descricao {
    color: #666;
    margin-bottom: 25px;
}

/* ========== Destaques ========== */
.destaque-section {
    background-color: var(--light-bg-color);
    padding: 30px 0;
    margin-bottom: 30px;
    border-radius: 10px;
}

.destaque-titulo {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 700;
}

.destaque-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.destaque-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.destaque-card .produto-img-container {
    transition: transform 0.5s ease;
    overflow: hidden;
}

.destaque-card:hover .produto-img-container img {
    transform: scale(1.1);
}

.destaque-card .produto-img-container img {
    transition: transform 0.5s ease;
}

/* ========== Footer ========== */
footer {
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color);
    padding: 40px 0 20px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
}

footer h5 {
    color: var(--footer-heading-color);
    font-weight: 600;
    margin-bottom: 20px;
}

footer p, footer a {
    color: var(--footer-text-color);
}

footer a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Efeito de zoom nos cards de categoria */
.categoria-card-link {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.categoria-card-link--active {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px var(--secondary-color);
}

.categoria-card-link:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 14px 28px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.1) !important;
    text-decoration: none;
    border-color: var(--secondary-color);
    z-index: 2;
}

.icon-container {
    transition: transform 0.3s ease;
    display: inline-block;
}

.zoom-hover:hover .icon-container {
    transform: scale(1.2);
}

.categoria-nome {
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.zoom-hover:hover .categoria-nome {
    color: var(--accent-color) !important;
    transform: scale(1.05);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

/* ========== Responsividade ========== */
@media (max-width: 992px) {
    .section-padding {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .produto-card {
        margin-bottom: 1rem;
    }
    
    .produto-img-container {
        height: 200px;
    }
    
    .categoria-card {
        margin-bottom: 1rem;
    }
    
    .categoria-icon {
        font-size: 2rem;
    }
    
    .categoria-nome {
        font-size: 0.9rem;
    }
    
    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

   
    .categoria-icon {
        font-size: 1.8rem;
    }
    
    .categoria-nome {
        font-size: 0.8rem;
    }



/* ========== Lista de Produtos ========== */
.produto-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.produto-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.produto-card .produto-img-container {
    transition: transform 0.5s ease;
    overflow: hidden;
}

.produto-card:hover .produto-img-container img {
    transform: scale(1.1);
}

.produto-card .produto-img-container img {
    transition: transform 0.5s ease;
}

/* ========== Modal de Imagem ========== */
#imagemModal .modal-content {
    background-color: var(--card-bg-color);
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

#imagemModal .modal-header {
    position: absolute;
    right: 0;
    z-index: 1;
    background: transparent;
}

#imagemModal .btn-close {
    background-color: rgba(211, 204, 204, 0.8);
    border-radius: 50%;
    padding: 0.5rem;
    margin: 0.5rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

#imagemModal .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

#imagemModal .modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--card-bg-color);
}

#imagemAmpliada {
    max-height: 90vh;
    object-fit: contain;
}

[data-theme="dark"] #imagemModal .btn-close {
    border: solid 1px #8f8f8f;
    filter: invert(1);
}

/* Botão Ver Detalhes no Modal de Imagem */
#imagemModal .ver-detalhes-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    white-space: nowrap;
    min-width: fit-content;
}

#imagemModal .ver-detalhes-btn:hover {
    background-color: #218838;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
    color: white;
    text-decoration: none;
}

/* Meus Pedidos Styles */
.pedido-card {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--card-bg-color);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pedido-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}

.pedido-id-badge {
    font-weight: 700;
    border-radius: 999px;
    background: var(--accent-color);
    color: #fff;
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
}

.pedido-meta {
    font-size: 0.85rem;
    color: var(--muted-text-color);
}

.pedido-total {
    font-weight: 700;
    font-size: 1rem;
}

.pedido-itens-lista {
    margin: 0;
    padding-left: 1rem;
    font-size: 0.85rem;
}

.pedido-itens-lista li {
    margin-bottom: 0.2rem;
}

/* Ver Detalhes Button Hover Effect */
.btn[href*="detalhes_produto.php"] {
    background-color: var(--accent-color) !important;
    color: white !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.btn[href*="detalhes_produto.php"]:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* ==========================================================================
   COMPONENTES DE AUTENTICAÇÃO V2
   ========================================================================== */

.v2-auth-container {
    max-width: 480px;
    margin: 0 auto;
}

.v2-auth-card {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    overflow: hidden;
}

.v2-auth-header {
    padding: 36px 36px 24px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.08) 0%, rgba(15, 118, 110, 0.02) 100%);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.v2-auth-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.3);
}

.v2-auth-body {
    padding: 32px;
}

.v2-auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    background: #f8f9fa;
    border-radius: 14px;
    padding: 6px;
}

.v2-auth-tabs .nav-link {
    flex: 1;
    border-radius: 10px;
    padding: 14px 20px;
    font-weight: 600;
    text-align: center;
    color: var(--muted-text-color);
    background: transparent;
    border: none;
    transition: all 0.2s ease;
}

.v2-auth-tabs .nav-link.active {
    background: #fff;
    color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.v2-auth-input {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.v2-auth-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.v2-auth-btn {
    border-radius: 12px;
    padding: 16px 24px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.v2-auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.25);
}

.v2-auth-link {
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
}

.v2-auth-link:hover {
    color: #0d6d67;
}

.v2-auth-logged {
    text-align: center;
    padding: 48px 32px;
}

.v2-auth-logged-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color) 0%, #0d6d67 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
}

.v2-auth-logged-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

/* ==========================================================================
   COMPONENTES DE CHECKOUT V2
   ========================================================================== */

.v2-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.v2-checkout-chat {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
}

.v2-chat-header {
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.v2-chat-messages {
    padding: 20px;
    height: 420px;
    overflow-y: auto;
    background: #f1f5f9;
}

.v2-msg {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    animation: v2FadeIn 0.3s ease;
}

@keyframes v2FadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.v2-msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0d9488;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.v2-msg-content {
    flex: 1;
}

.v2-msg-bubble {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px 16px 16px 4px;
    padding: 12px 16px;
}

.v2-msg-user {
    background: #e2e8f0;
    border-radius: 16px 16px 4px 16px;
}

.v2-input-group {
    margin-top: 12px;
}

.v2-input-group label {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 6px;
    display: block;
}

.v2-choice-grid {
    display: grid;
    gap: 8px;
}

.v2-choice-btn {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.v2-choice-btn:hover {
    border-color: #0d9488;
    background: #f0fdfa;
}

.v2-choice-btn.selected {
    border-color: #0d9488;
    background: #f0fdfa;
}

.v2-choice-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0d9488;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v2-summary-sidebar {
    position: sticky;
    top: 20px;
}

.v2-summary-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
}

.v2-summary-header {
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.v2-summary-body {
    padding: 16px;
}

.v2-cart-item {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.v2-cart-item:last-child {
    border-bottom: none;
    padding: 10px;
}

.v2-qty-btns {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.v2-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.v2-total {
    padding: 16px;
    background: #f0fdfa;
    border-top: 2px dashed #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v2-history-box {
    margin-bottom: 12px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 10px;
}

.v2-history-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.v2-history-label {
    color: #64748b;
}

.v2-history-value {
    font-weight: 600;
}

.v2-confirm-box {
    background: #fff;
    border: 2px solid #0d9488;
    border-radius: 12px;
    padding: 16px;
}

.v2-confirm-title {
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.v2-confirm-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95rem;
}

.v2-confirm-row:not(:last-child) {
    border-bottom: 1px solid #f1f5f9;
}

.v2-conf-items-list {
    margin-top: 8px;
    padding: 8px;
    background: var(--light-bg-color);
    border-radius: 8px;
}

.v2-conf-item-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

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

.v2-conf-item-price {
    margin-left: 12px;
    flex-shrink: 0;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-conf-items-list {
    background: var(--dark-surface-soft) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-conf-item-row {
    border-bottom-color: var(--dark-border-strong) !important;
}

.v2-btn-continue {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
}

@media (max-width: 900px) {
    .v2-checkout-layout {
        grid-template-columns: 1fr;
    }
}

/* Tema escuro para componentes V2: ver seção DARK MODE REFINADO */

/* ==========================================================================
   PÁGINA DE SUCESSO DE PEDIDO
   ========================================================================== */

.v2-success-card {
    max-width: 500px;
    margin: 30px auto;
    padding: 40px 30px;
    background: var(--card-bg-color);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: v2SuccessSlide 0.6s ease-out;
}

@keyframes v2SuccessSlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.v2-success-icon-wrapper {
    margin-bottom: 16px;
}

.v2-success-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: white;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
    animation: v2SuccessPulse 2s ease-in-out infinite;
}

@keyframes v2SuccessPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 20px 50px rgba(16, 185, 129, 0.5);
    }
}

.v2-success-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 6px;
}

.v2-success-subtitle {
    font-size: 1rem;
    color: var(--muted-text-color);
    margin-bottom: 24px;
}

.v2-success-code {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 2px solid #10b981;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 24px;
}

.v2-code-label {
    display: block;
    font-size: 0.85rem;
    color: var(--muted-text-color);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.v2-code-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
    letter-spacing: 2px;
}

.v2-success-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.v2-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    background: var(--light-bg-color);
    border-radius: 14px;
    transition: var(--transition-base);
}

.v2-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-md);
}

.v2-stat-icon {
    width: 42px;
    height: 42px;
    background: #10b981;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.v2-stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 3px;
}

.v2-stat-label {
    font-size: 0.85rem;
    color: var(--muted-text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.v2-success-info {
    margin-bottom: 24px;
}

.v2-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    margin-bottom: 6px;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 10px;
}

.v2-info-icon {
    color: #10b981;
    font-size: 1rem;
}

.v2-info-text {
    color: var(--text-color);
    font-size: 0.95rem;
}

.v2-success-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.v2-btn-primary,
.v2-btn-secondary {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.v2-btn-primary {
    background: #10b981;
    color: white;
    border: none;
}

.v2-btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-md);
}

.v2-btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.v2-btn-secondary:hover {
    border-color: #10b981;
    color: #10b981;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .v2-success-card {
        padding: 30px 20px;
        margin: 20px auto;
    }
    
    .v2-success-stats {
        grid-template-columns: 1fr;
    }
    
    .v2-success-actions {
        flex-direction: column;
    }
    
    .v2-btn-primary,
    .v2-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* v2-success dark: ver seção DARK MODE REFINADO */

#imagemModal .ver-detalhes-btn:active {
    transform: translateX(-50%) translateY(0);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

#imagemModal .ver-detalhes-btn i {
    font-size: 14px;
}

/* Animação de entrada do botão */
#imagemModal .ver-detalhes-btn {
    animation: slideUpBtn 0.4s ease-out;
}

@keyframes slideUpBtn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.pagination .page-link {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background-color: transparent;
    transition: var(--transition-base);
    margin: 0 2px;
    border-radius: var(--border-radius-sm);
}

.pagination .page-item.active .page-link {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.pagination .page-link:hover {
    background-color: var(--accent-color);
    color: white;
    opacity: 0.9;
}

/* Paginação no tema escuro: ver seção DARK MODE REFINADO */

/* ==========================================================================
   CARRINHO FLUTUANTE
   ========================================================================== */

.carrinho-toggle {
    position: fixed;
    right: 16px;
    top: 75px;
    z-index: 1050;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    background-color: var(--accent-color);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    transition: var(--transition-base);
}

.carrinho-toggle:hover {
    background-color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.carrinho-toggle:hover,
.carrinho-toggle:hover i,
.carrinho-toggle:hover span {
    color: #fff !important;
}

.carrinho-toggle .badge {
    background: #fff;
    color: var(--accent-color);
    font-weight: 700;
}

.carrinho-toggle:hover .badge {
    background: #2c3e50;
    color: #fff;
}

.carrinho-painel {
    position: fixed;
    right: 16px;
    top:135px;
    width: 400px;
    max-height: 70vh;
    background-color: var(--light-bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 1049;
    display: none;
}

.carrinho-painel-header {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
}

.carrinho-painel-body {
    padding: 10px 12px;
    overflow-y: auto;
    max-height: 40vh;
    color: var(--text-color);
}

.carrinho-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: .95rem;
    color: var(--text-color);
}

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

.carrinho-item-acao {
    display: flex;
    align-items: center;
    gap: 6px;
}

.carrinho-painel-footer {
    padding: 10px 12px;
    border-top: 1px solid var(--border-color);
    color: var(--text-color);
}


/* Estilos para o carrinho mobile */
.mobile-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--card-bg-color);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
    padding: 14px 12px;
    z-index: 1040;
    display: none;
    color: var(--text-color);
}

/* ==========================================================================
   Hero Section Styles
   ========================================================================== */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-text-outline {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), -1px -1px 2px rgba(0, 0, 0, 0.5), 1px -1px 2px rgba(0, 0, 0, 0.5), -1px 1px 2px rgba(0, 0, 0, 0.5), 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-center-vignette {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.1) 65%, transparent 85%);
    pointer-events: none;
    z-index: 0;
}

.catalog-hero-content {
    position: relative;
    z-index: 1;
}

.mobile-cart-bar-inner {
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-cart-left-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-cart-icon-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    border-color: var(--accent-color);
    background-color: transparent;
}

.mobile-cart-icon-btn:hover,
.mobile-cart-icon-btn:focus {
    color: #fff;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.mobile-cart-center {
    position: static;
    transform: none;
    flex: 0 1 auto;
    min-width: auto;
}

.mobile-cart-center-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    text-align: center;
    width: auto;
    min-width: auto;
}

.mobile-cart-right-total {
    margin-left: auto;
    z-index: 2;
    font-size: 0.9rem;
}

.mobile-cart-drawer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--card-bg-color);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -6px 24px rgba(0,0,0,0.2);
    z-index: 1055;
    transform: translateY(100%);
    transition: transform 0.25s ease;
    display: none;
}

.mobile-cart-drawer.open {
    transform: translateY(0);
}

.mobile-cart-drawer-header {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
}

.mobile-cart-drawer-body {
    padding: 10px 12px;
    overflow-y: auto;
    max-height: 45vh;
    color: var(--text-color);
}

.mobile-cart-drawer-footer {
    padding: 10px 12px;
    border-top: 1px solid var(--border-color);
    color: var(--text-color);
}

/* Garantir que os itens do carrinho mobile funcionem */
.mobile-cart-drawer .carrinho-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.mobile-cart-drawer .carrinho-item:last-child {
    border-bottom: none;
}

.mobile-cart-drawer .carrinho-item-acao {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-cart-drawer .carrinho-item-acao button {
    padding: 4px 8px;
    font-size: 12px;
}

.mobile-cart-only {
    display: none;
}
    /* Estilos personalizados para o menu lateral */
    #menuPrincipal .list-group-item {
        color: var(--text-color);
        transition: background-color 0.2s ease;
    }
    #menuPrincipal .list-group-item:hover, 
    #menuPrincipal .list-group-item:focus {
        background-color: var(--border-color);
        color: var(--text-color);
    }
    /* Logo no modo dark */
    [data-theme="dark"] .offcanvas-title img {
        filter: brightness(0) invert(1);
    }
@media (max-width: 991.98px) {
    .mobile-cart-only {
        display: block !important;
    }
    .desktop-cart-only {
        display: none !important;
    }
}

/* ==========================================================================
   QUEM SOMOS
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), #3c6795);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.catalog-hero-section {
    isolation: isolate;
}

.catalog-hero-section--with-image {
    background-color: var(--primary-color);
}

.catalog-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.catalog-hero-overlay--wash {
    mix-blend-mode: multiply;
}

.catalog-hero-overlay--glow {
    opacity: 0.96;
}

.catalog-hero-section--with-image .container {
    z-index: 2;
}

.catalog-hero-content {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: 12px 18px;
}

.catalog-hero-content::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(88vw, 720px);
    height: min(70vw, 320px);
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.11) 34%, rgba(255, 255, 255, 0.03) 58%, transparent 74%);
    filter: blur(10px);
    z-index: -1;
}

.catalog-hero-content::after {
    content: '';
    position: absolute;
    left: 50%;
    top: calc(50% + 8px);
    width: min(72vw, 560px);
    height: min(42vw, 180px);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.16) 0%, rgba(15, 23, 42, 0.06) 42%, transparent 76%);
    filter: blur(14px);
    z-index: -2;
    pointer-events: none;
}

.catalog-hero-section--with-image h1,
.catalog-hero-section--with-image .lead,
.catalog-hero-section--with-image .btn,
.catalog-hero-section--with-image .badge {
    text-shadow: 0 8px 24px rgba(15, 23, 42, 0.24);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: quemSomosFloat 6s ease-in-out infinite;
}

@keyframes quemSomosFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-section h1,
.hero-section .tagline {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-section .tagline {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .catalog-hero-content {
        padding: 8px 10px;
    }
}

.about-section,
.contact-section {
    background: var(--light-bg-color);
}

.map-section,
.social-section,
.quem-somos-info-cards-section {
    background: var(--card-bg-color);
}

.about-content,
.info-card,
.map-info {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-color);
}

.about-content {
    padding: 40px;
    box-shadow: var(--box-shadow-md);
    line-height: 1.8;
}

.about-content h2,
.map-title,
.contact-section h2,
.social-section h2,
.map-info h3 {
    color: var(--primary-color);
    font-weight: 700;
}

.about-content h2,
.map-title,
.contact-section h2,
.social-section h2 {
    margin-bottom: 40px;
    text-align: center;
}

.about-content p,
.map-info p,
.info-card p {
    color: var(--muted-text-color);
}

.about-content strong,
.info-card i,
.info-card a,
.map-link-primary {
    color: var(--primary-color);
}

.about-content em,
.map-link-email {
    color: var(--accent-color);
}

.map-link-whatsapp,
.icon-whatsapp {
    color: #25D366;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.info-card {
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-base);
    border-top: 4px solid var(--secondary-color);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.info-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.info-card h4 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.info-card p {
    margin: 0;
    font-size: 0.95rem;
}

.info-card a,
.map-link-primary,
.map-link-whatsapp,
.map-link-email {
    text-decoration: none;
    font-weight: 600;
}

.map-title {
    margin-bottom: 40px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
    min-height: 450px;
    width: 100%;
    height: 450px;
    border: 1px solid var(--border-color);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-info {
    padding: 30px;
    margin-top: 25px;
}

.map-info h3 {
    margin-bottom: 15px;
}

.map-info p {
    margin-bottom: 10px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.contact-btn {
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition-base);
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    white-space: nowrap;
    color: #fff;
}

.contact-btn:hover {
    transform: translateY(-2px);
}

.contact-btn i {
    font-size: 1.3rem;
}

.btn-whatsapp { background: #25D366; }
.btn-whatsapp:hover { background: #1eaa57; box-shadow: 0 5px 20px rgba(37, 211, 102, 0.35); }

.btn-phone { background: var(--primary-color); }
.btn-phone:hover { background: #0a2745; box-shadow: 0 5px 20px rgba(1, 59, 80, 0.35); }

.btn-email { background: #EA4335; }
.btn-email:hover { background: #d33426; box-shadow: 0 5px 20px rgba(234, 67, 53, 0.35); }

.btn-site { background: var(--accent-color); }
.btn-site:hover { background: var(--dark-accent-color); box-shadow: 0 5px 20px rgba(217, 115, 94, 0.35); }

.social-section {
    text-align: center;
}

.social-icons-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 2rem;
    text-decoration: none;
    transition: var(--transition-base);
    box-shadow: var(--box-shadow-sm);
    color: #fff;
}

.social-link:hover {
    transform: scale(1.12);
    box-shadow: var(--box-shadow-lg);
}

.social-link.instagram { background: linear-gradient(135deg, #667eea, #764ba2); }
.social-link.facebook { background: #1877F2; }
.social-link.whatsapp { background: #25D366; }

.quem-somos-cta-section,
.quem-somos-footer {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
}

.quem-somos-footer {
    padding: 40px 0;
}

.quem-somos-footer p {
    margin: 5px 0;
    opacity: 0.95;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .about-content h2,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .map-title,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .contact-section h2,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .social-section h2,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .map-info h3 {
    color: var(--link-color);
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .tagline {
        font-size: 1.1rem;
    }

    .about-content {
        padding: 25px;
    }

    .about-content h2 {
        font-size: 1.5rem;
    }

    .map-container {
        min-height: 300px;
        height: 300px;
    }

    .contact-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .social-link {
        width: 70px;
        height: 70px;
    }
}

/* ==========================================================================
   DARK MODE — VERSÃO CONSOLIDADA E REFINADA
   Todas as regras de tema escuro estão aqui. Não duplicar em outras seções.
   ========================================================================== */

/* ---------- 1. HTML / BODY — fundo e texto base ---------- */
:is(html[data-theme='dark'], html[data-bs-theme='dark']) {
    color-scheme: dark;
    --bs-body-color: var(--text-color);
    --bs-body-color-rgb: 243, 248, 255;
    --bs-secondary-color: var(--muted-text-color);
    --bs-secondary-color-rgb: 191, 208, 227;
    --bs-tertiary-color: var(--muted-text-color);
    --bs-tertiary-color-rgb: 191, 208, 227;
    --bs-emphasis-color: var(--text-color);
    --bs-emphasis-color-rgb: 243, 248, 255;
    --bs-heading-color: var(--text-color);
    background:
        radial-gradient(circle at top left, rgba(107, 184, 255, 0.12), transparent 30%),
        radial-gradient(circle at bottom right, rgba(159, 214, 108, 0.06), transparent 25%),
        linear-gradient(180deg, #08111d 0%, #091321 50%, #050c16 100%);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) body {
    background: transparent;
    color: var(--text-color);
}

/* ---------- 2. Tipografia e links ---------- */
:is(html[data-theme='dark'], html[data-bs-theme='dark']) h1,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) h2,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) h3,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) h4,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) h5,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) h6,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .text-theme,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .display-6,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .text-dark:not(.badge):not(.btn),
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .text-body:not(.badge):not(.btn),
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .text-body-emphasis:not(.badge):not(.btn),
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .text-black:not(.badge):not(.btn),
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .text-reset:not(.badge):not(.btn),
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .navbar-brand,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .categoria-nome,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .produto-titulo,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .produto-card .card-title,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .destaque-card .card-title,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-info-text,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-stat-value,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .pedido-total,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) #menuPrincipal .offcanvas-body,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) #menuPrincipal .offcanvas-title {
    color: var(--text-color) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .text-muted,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .text-secondary,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .text-body-secondary,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .text-body-tertiary,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .lead,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .produto-card .card-text,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .destaque-card .card-text,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .produto-descricao,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .produto-meta,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .pedido-meta,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .categoria-descricao,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-history-label,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-code-label,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-stat-label,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .public-splash-text,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .public-splash-description,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .public-splash-tip {
    color: var(--muted-text-color) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) a:not(.btn):not(.social-icon):not(.page-link):not(.list-group-item) {
    color: var(--link-color);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) a:not(.btn):not(.social-icon):not(.page-link):not(.list-group-item):hover {
    color: var(--link-hover-color);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .text-primary {
    color: var(--link-color) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .text-danger,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .categoria-titulo,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .destaque-section h4 {
    color: var(--primary-color) !important;
}

/* ---------- 3. Header ---------- */
:is(html[data-theme='dark'], html[data-bs-theme='dark']) header {
    background: linear-gradient(180deg, rgba(10, 19, 33, 0.97) 0%, rgba(7, 17, 29, 0.92) 100%) !important;
    border-bottom: 1px solid var(--dark-header-line);
    box-shadow: 0 8px 32px var(--dark-shadow-color);
    backdrop-filter: blur(18px);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) header .logo-link .logo-img,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .offcanvas-title img {
    filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) header [aria-controls='menuPrincipal'],
:is(html[data-theme='dark'], html[data-bs-theme='dark']) header [data-bs-target='#menuPrincipal'] {
    color: var(--dark-icon-color) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) header [aria-controls='menuPrincipal'] i,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) header [data-bs-target='#menuPrincipal'] i {
    color: currentColor !important;
}

/* ---------- 4. Nav links ---------- */
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .nav-link {
    color: var(--muted-text-color) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .nav-link:hover,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .nav-link:focus-visible {
    color: var(--text-color) !important;
}

/* ---------- 5. Cards e superfícies ---------- */
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .card,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .produto-card,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .produto-card-lista,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .pedido-card,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .categoria-card-link,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .destaque-section,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .about-content,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .info-card,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .map-info,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-auth-card,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-checkout-chat,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-summary-card,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-msg-bubble,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-choice-btn,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-history-box,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-confirm-box,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-success-card,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-empty-state,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .carrinho-painel,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .mobile-cart-drawer,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .offcanvas,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .modal-content {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%),
                var(--dark-surface-soft) !important;
    border-color: var(--dark-border-strong) !important;
    box-shadow: 0 8px 32px var(--dark-shadow-color);
    color: var(--text-color);
}

/* Superfícies secundárias (um tom acima) */
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-chat-messages,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-summary-header,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-total,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-stat-item,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-info-item,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-history-box,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-cart-head,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-cart-foot,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-cart-item,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .carrinho-painel-header,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .carrinho-painel-footer,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .modal-header,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .modal-footer,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .produto-img-container,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .produto-img-lista-container,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .alert-info,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .table th,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .table td {
    background: var(--dark-surface-elevated) !important;
    border-color: var(--dark-border-strong) !important;
    color: var(--text-color);
}

/* ---------- 6. Formulários e inputs ---------- */
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .form-control,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .form-select,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .search-form .form-control,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-auth-input,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .btn-outline-secondary {
    background: var(--dark-input-bg) !important;
    border-color: var(--dark-border-strong) !important;
    color: var(--text-color) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .form-control::placeholder,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .form-select::placeholder,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .search-form .form-control::placeholder {
    color: rgba(159, 177, 199, 0.6) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .form-control:focus,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .form-select:focus,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .search-form .form-control:focus,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-auth-input:focus {
    background: var(--dark-input-bg) !important;
    border-color: rgba(107, 184, 255, 0.7) !important;
    color: var(--text-color) !important;
    box-shadow: 0 0 0 0.22rem rgba(107, 184, 255, 0.16) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .btn-outline-secondary:hover {
    background: var(--dark-surface-elevated) !important;
    border-color: rgba(107, 184, 255, 0.4) !important;
    color: var(--text-color) !important;
}

/* Tabelas */
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .table {
    color: var(--text-color);
}

/* ---------- 7. Botões primários e de ação ---------- */
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .btn-inicio,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .carrinho-toggle,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-cart-toggle,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #58afff 0%, #2f93f2 100%) !important;
    border-color: transparent !important;
    color: #f0f8ff !important;
    box-shadow: 0 8px 24px rgba(47, 147, 242, 0.32);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .btn-inicio:hover,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .carrinho-toggle:hover,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-cart-toggle:hover {
    background: linear-gradient(135deg, #7ec5ff 0%, #47a5ff 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(47, 147, 242, 0.42) !important;
}

/* Botões secundários / ícone */
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .btn-share,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .theme-toggle-btn,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .social-icon,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .pagination .page-link,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-btn-secondary {
    background: rgba(14, 26, 44, 0.9) !important;
    border-color: var(--dark-border-strong) !important;
    color: var(--text-color) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .theme-toggle-btn:hover,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .social-icon:hover,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-btn-secondary:hover {
    background: rgba(24, 42, 66, 0.98) !important;
    border-color: rgba(107, 184, 255, 0.45) !important;
    color: var(--link-hover-color) !important;
    box-shadow: 0 6px 18px rgba(5, 13, 24, 0.4);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .theme-toggle-btn i,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .social-icon i {
    color: currentColor !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .btn-share:hover {
    background: rgba(24, 42, 66, 0.98) !important;
    border-color: rgba(107, 184, 255, 0.45) !important;
    color: var(--link-hover-color) !important;
}

/* Botão ícone do carrinho mobile */
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .mobile-cart-icon-btn {
    color: var(--dark-icon-color);
    border-color: rgba(107, 184, 255, 0.3);
    background-color: rgba(10, 19, 33, 0.88);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .mobile-cart-icon-btn:hover,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .mobile-cart-icon-btn:focus {
    color: #ffffff;
    background: linear-gradient(135deg, #58afff 0%, #2f93f2 100%);
    border-color: transparent;
}

/* ---------- 8. Paginação ---------- */
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .pagination .page-link {
    color: var(--link-color);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .pagination .page-link:hover {
    background: var(--dark-menu-item-hover-bg) !important;
    color: var(--text-color) !important;
    border-color: rgba(107, 184, 255, 0.35) !important;
}

/* ---------- 9. Menu lateral (offcanvas) ---------- */
:is(html[data-theme='dark'], html[data-bs-theme='dark']) #menuPrincipal .offcanvas-header,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) #menuPrincipal .offcanvas-body {
    color: var(--text-color) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) #menuPrincipal .offcanvas-header [data-bs-dismiss='offcanvas'] {
    color: var(--dark-icon-color) !important;
    opacity: 1;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) #menuPrincipal .offcanvas-header [data-bs-dismiss='offcanvas']:hover,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) #menuPrincipal .offcanvas-header [data-bs-dismiss='offcanvas']:focus-visible {
    color: #ffffff !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) #menuPrincipal h6,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) #menuPrincipal .small,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) #menuPrincipal .text-muted {
    color: var(--muted-text-color) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) #menuPrincipal .list-group-item {
    background: var(--dark-menu-item-bg) !important;
    color: var(--text-color) !important;
    border: 1px solid transparent !important;
    border-radius: 14px;
    margin: 0 12px 8px;
    font-weight: 500;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) #menuPrincipal .list-group-item i {
    color: var(--dark-icon-muted) !important;
    transition: color 0.2s ease;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) #menuPrincipal .list-group-item:hover,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) #menuPrincipal .list-group-item:focus,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) #menuPrincipal .list-group-item:focus-visible {
    background: var(--dark-menu-item-hover-bg) !important;
    color: #ffffff !important;
    border-color: rgba(107, 184, 255, 0.22) !important;
    box-shadow: 0 6px 18px rgba(4, 12, 22, 0.3);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) #menuPrincipal .list-group-item:hover i,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) #menuPrincipal .list-group-item:focus i {
    color: #ffffff !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) #menuPrincipal .list-group-item.active,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) #menuPrincipal .list-group-item[aria-current='page'] {
    background: linear-gradient(135deg, rgba(88, 175, 255, 0.2), rgba(47, 147, 242, 0.12)) !important;
    border-color: rgba(107, 184, 255, 0.22) !important;
    color: var(--text-color) !important;
}

/* ---------- 10. Seções e layout ---------- */
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .hero-section {
    background:
        radial-gradient(circle at top right, rgba(255, 135, 95, 0.15), transparent 28%),
        linear-gradient(135deg, #0e2238 0%, #0d3050 55%, #0c4050 100%);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .about-section,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .contact-section {
    background: transparent;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .map-section,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .social-section,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .quem-somos-info-cards-section {
    background: rgba(8, 17, 29, 0.4);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .about-content h2,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .map-title,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .contact-section h2,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .social-section h2,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .map-info h3 {
    color: var(--link-color);
}

/* ---------- 11. Footer ---------- */
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-public-footer,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .quem-somos-footer,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) footer {
    background: linear-gradient(180deg, #060d19 0%, #030810 100%);
    border-top: 1px solid var(--dark-header-line);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) footer h5,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) footer p,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) footer a {
    color: var(--footer-text-color);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) footer h5 {
    color: var(--footer-heading-color);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) footer a:hover {
    color: var(--link-hover-color);
}

/* ---------- 12. Componentes de checkout V2 ---------- */
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-chat-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
                rgba(11, 20, 34, 0.96) !important;
    border-bottom-color: var(--dark-border-strong) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-chat-header .h6,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-chat-header p,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-chat-header .small {
    color: var(--text-color) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-chat-header .text-muted {
    color: var(--muted-text-color) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-choice-btn:hover {
    background: var(--dark-menu-item-hover-bg) !important;
    border-color: rgba(107, 184, 255, 0.4) !important;
    color: var(--text-color) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-msg-user {
    background: var(--dark-surface-strong) !important;
    border-color: var(--dark-border-strong) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-qty-btn {
    background: var(--dark-surface-elevated) !important;
    border-color: var(--dark-border-strong) !important;
    color: var(--text-color) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-confirm-box {
    border-color: rgba(107, 184, 255, 0.35) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-confirm-title {
    border-bottom-color: var(--dark-border-strong) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-confirm-row:not(:last-child) {
    border-bottom-color: var(--dark-border-strong) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-history-label {
    color: var(--muted-text-color) !important;
}

/* ---------- 13. Auth V2 ---------- */
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-auth-tabs {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
                rgba(8, 17, 29, 0.88) !important;
    border: 1px solid var(--dark-border-strong);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-auth-tabs .nav-link {
    color: var(--muted-text-color) !important;
    background: transparent !important;
    border: 1px solid transparent;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-auth-tabs .nav-link:hover,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-auth-tabs .nav-link:focus-visible {
    color: var(--text-color) !important;
    border-color: rgba(107, 184, 255, 0.22);
    background: var(--dark-menu-item-hover-bg) !important;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-auth-tabs .nav-link.active,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-auth-tabs .show > .nav-link {
    background: linear-gradient(135deg, #58afff 0%, #2f93f2 100%) !important;
    color: #f0f8ff !important;
    border-color: transparent !important;
    box-shadow: 0 6px 18px rgba(47, 147, 242, 0.3);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .v2-auth-header {
    background: linear-gradient(135deg, rgba(107, 184, 255, 0.1) 0%, rgba(107, 184, 255, 0.02) 100%);
    border-bottom-color: var(--dark-border-strong) !important;
}

/* ---------- 14. Splash / 404 ---------- */
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .public-splash-card {
    background: rgba(10, 19, 33, 0.92);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .public-splash-title {
    color: var(--text-color);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .public-splash-info-box,
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .public-splash-context-box {
    background: rgba(107, 184, 255, 0.1);
    border-left-color: var(--primary-color);
    color: #d0e8ff;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .public-splash-button--secondary {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-color);
    border: 1px solid var(--dark-border-strong);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .public-splash-button--secondary:hover {
    background: rgba(107, 184, 255, 0.12);
    border-color: rgba(107, 184, 255, 0.4);
}

/* ---------- 15. Imagem modal ---------- */
:is(html[data-theme='dark'], html[data-bs-theme='dark']) #imagemModal .btn-close {
    border: 1px solid rgba(255, 255, 255, 0.25);
    filter: invert(1);
}

/* ---------- 16. Pedidos ---------- */
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .pedido-id-badge {
    background: var(--accent-color);
    color: #fff;
}

/* ---------- 17. Breadcrumb / Nav Modern ---------- */
.nav-modern-wrapper {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.nav-modern-link {
    color: #8e8e93;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 4px 8px;
    border-radius: 8px;
}

.nav-modern-link:hover {
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.05);
}

.nav-modern-current {
    color: #1d1d1f;
    font-size: 0.85rem;
    font-weight: 700;
    padding-left: 4px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #c7c7cc;
    font-size: 0.75rem;
    padding: 0 10px;
}

.btn-nav-action {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #1d1d1f;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-nav-action:hover {
    background: #1d1d1f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
    .nav-modern-wrapper {
        padding: 10px 15px;
        border-radius: 15px;
    }
    .nav-modern-link {
        font-size: 0.75rem;
        padding: 4px 5px;
    }
    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 5px;
    }
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .nav-modern-wrapper {
    background: rgba(16, 27, 45, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .nav-modern-link {
    color: #a8c5e8;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .nav-modern-link:hover {
    color: #6bb8ff;
    background: rgba(107, 184, 255, 0.12);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .nav-modern-current {
    color: #f5f9ff;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .btn-nav-action {
    background: rgba(255, 255, 255, 0.08);
    color: #f0f4f8;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .btn-nav-action:hover {
    background: rgba(107, 184, 255, 0.2);
    color: #fff;
    border-color: rgba(107, 184, 255, 0.4);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .breadcrumb-item + .breadcrumb-item::before {
    color: #6b8ab0;
}

/* ---------- 18. Search Premium ---------- */
.search-premium-box {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 8px 10px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    gap: 10px;
    transition: all 0.3s ease;
}

.search-premium-box:focus-within {
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.12);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    flex-grow: 1;
    padding-left: 15px;
}

.search-icon-main {
    color: #adb5bd;
    font-size: 1.1rem;
}

.form-control-premium {
    border: none;
    padding: 10px 15px;
    width: 100%;
    font-size: 1rem;
    outline: none;
    background: transparent;
    color: #1d1d1f;
}

.search-actions-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.form-select-premium {
    border: 1px solid #f1f1f1;
    background: #f8f9fa;
    padding: 8px 35px 8px 15px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    appearance: none;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}

.form-select-premium:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.order-icon {
    position: absolute;
    right: 12px;
    font-size: 0.75rem;
    color: #adb5bd;
    pointer-events: none;
}

.btn-search-premium {
    background: #1d1d1f;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-search-premium:hover {
    background: var(--primary-color);
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

@media (max-width: 768px) {
    .search-premium-box {
        flex-direction: column;
        padding: 15px;
        border-radius: 25px;
    }
    .search-input-wrapper {
        width: 100%;
        padding-left: 5px;
        border-bottom: 1px solid #f8f9fa;
        margin-bottom: 10px;
    }
    .search-actions-wrapper {
        width: 100%;
        justify-content: space-between;
    }
    .order-select-wrapper {
        flex-grow: 1;
    }
    .form-select-premium {
        width: 100%;
    }
}

/* Dark mode para Search Premium */
:is(html[data-theme='dark'], html[data-bs-theme='dark']) .search-premium-box {
    background: rgba(16, 27, 45, 0.85);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .search-premium-box:focus-within {
    box-shadow: 0 10px 30px rgba(107, 184, 255, 0.15);
    border-color: rgba(107, 184, 255, 0.3);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .search-icon-main {
    color: #6b8ab0;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .form-control-premium {
    color: #f5f9ff;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .form-control-premium::placeholder {
    color: #8a9bb0;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .form-select-premium {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: #a8c5e8;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .form-select-premium:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(107, 184, 255, 0.25);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .order-icon {
    color: #6b8ab0;
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .btn-search-premium {
    background: rgba(107, 184, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(107, 184, 255, 0.4);
}

:is(html[data-theme='dark'], html[data-bs-theme='dark']) .btn-search-premium:hover {
    background: rgba(107, 184, 255, 0.35);
    box-shadow: 0 5px 15px rgba(107, 184, 255, 0.25);
}

@media (max-width: 768px) {
    :is(html[data-theme='dark'], html[data-bs-theme='dark']) .search-input-wrapper {
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }
}

/* ==========================================================================
   Carousel - Destaques do Dia
   ========================================================================== */
.destaques-carousel-wrapper {
    position: relative;
    padding: 0 40px;
}

.destaques-carousel {
    overflow: hidden;
    width: 100%;
}

.destaques-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 16px;
}

.destaques-carousel-slide {
    flex: 0 0 calc(25% - 12px);
    min-width: 0;
}

@media (max-width: 991px) {
    .destaques-carousel-slide {
        flex: 0 0 calc(50% - 8px);
    }
}

@media (max-width: 575px) {
    .destaques-carousel-wrapper {
        padding: 0 44px;
    }
    .destaques-carousel {
        width: 100%;
    }
    .destaques-carousel-track {
        gap: 0;
    }
    .destaques-carousel-slide {
        flex: 0 0 100%;
        width: 100%;
        padding: 0;
        display: flex;
        justify-content: center;
    }
    .destaques-carousel-slide .produto-item {
        width: 100%;
        max-width: none;
        flex: none;
        padding: 0 4px;
    }
    .destaques-carousel-slide .produto-card {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .destaques-carousel-slide .produto-card .produto-img-container {
        height: 320px;
    }
    .destaques-carousel-slide .produto-card .card-title {
        font-size: 0.95rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .destaques-carousel-slide .produto-card .produto-descricao {
        display: none;
    }
}

.destaques-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.destaques-carousel-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.destaques-carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.destaques-carousel-prev {
    left: 0;
}

.destaques-carousel-next {
    right: 0;
}

.destaques-carousel-slide .produto-item {
    width: 100%;
    padding: 0;
}

/* ==========================================================================
   DETALHES DO PRODUTO - STEP E BOTÕES
   ========================================================================== */

/* Forçar botões na mesma linha no mobile */
.btn-mobile-row {
    flex-wrap: nowrap !important;
}

@media (max-width: 576px) {
    .btn-mobile-row .botao-contato {
        font-size: 0.85rem;
        padding: 0.375rem 0.5rem;
    }
    .btn-mobile-row .form-select {
        min-width: 60px;
    }
}

/* Stepper de quantidade - igual ao carrinho */
.qty-stepper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px;
}

.qty-stepper-btn {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s ease;
}

.qty-stepper-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.qty-stepper-value {
    min-width: 32px;
    text-align: center;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

/* Ajuste tamanho botão comprar no desktop */
.btn-comprar-produto {
    padding: 0.5rem 1.5rem;
    font-size: 0.95rem;
}

[data-theme="dark"] .qty-stepper,
html[data-bs-theme="dark"] .qty-stepper {
    background: rgba(16, 27, 45, 0.85);
    border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .qty-stepper-btn,
html[data-bs-theme="dark"] .qty-stepper-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: #a8c5e8;
}

[data-theme="dark"] .qty-stepper-btn:hover,
html[data-bs-theme="dark"] .qty-stepper-btn:hover {
    background: rgba(107, 184, 255, 0.15);
    color: #fff;
}

[data-theme="dark"] .qty-stepper-value,
html[data-bs-theme="dark"] .qty-stepper-value {
    color: #f5f9ff;
}
