:root {
    /* Product Image Proportions */
    --product-img-aspect-ratio: 3 / 4;
    --product-img-object-fit: cover;

    /* Brand Colors */
    --color-primary: #000000;
    --color-primary-hover: #222222;
    
    /* Backgrounds */
    --color-bg-base: #ffffff;
    --color-bg-surface: #ffffff;
    --color-bg-surface-alt: #fafafa;
    --color-bg-navbar: #ffffff;
    
    /* UI Typography */
    --color-text-heading: #000000;
    --color-text-body: #444444;
    --color-text-link: #000000;
    --color-text-inverse: #ffffff;
    
    /* Semantics */
    --color-success: #10B981;
    --color-danger:  #EF4444;
    --color-warning: #F59E0B;

    /* Legacy Variables (Compatibility) */
    --primary:   var(--color-primary);
    --secondary: var(--color-primary-hover);
    --light:     var(--color-bg-surface-alt);
    --dark:      #ffffff;
    --cor1:      var(--color-text-inverse);
    --cor2:      #0a0a0a;
    --bgcor:     var(--color-bg-base);
    --navbarcor: var(--color-bg-navbar);
    --font-primary: var(--color-text-body);
    --font-secondary: var(--color-text-heading);
    --font-highlight: var(--color-text-link);
    --bs-primary:   var(--color-primary);
    --bs-secondary: var(--color-primary-hover);
    --bs-light:     var(--color-bg-surface-alt);
    --bs-dark:      var(--dark);

    --theme-panel-bg:     rgba(255, 255, 255, 0.95);
    --theme-panel-border: rgba(9, 30, 62, 0.12);

    /* Fashion Integration Variables */
    --fashion-black: #000000;
    --fashion-dark: #222222;
    --fashion-light-bg: #fafafa;
    --fashion-white: #ffffff;
    --fashion-muted: #444444;
    --product-grid-cols: 4;
}

body {
    background-color: var(--bgcor) !important;
}

/* Navbar (cabeçalho) — NÃO afeta o topbar .bg-light */
nav.navbar {
    background-color: var(--navbarcor) !important;
}

body a,
a {
    color: var(--primary);
}

a:hover {
    color: var(--secondary);
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.border-secondary {
    border-color: var(--secondary) !important;
}

.btn-primary {
    color: var(--cor1) !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-check:focus + .btn-primary,
.btn-check:checked + .btn-primary {
    color: var(--cor1) !important;
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    box-shadow: 0 0 0 .25rem rgba(34, 34, 34, 0.35) !important;
}

.btn-secondary {
    color: var(--cor2) !important;
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-check:focus + .btn-secondary,
.btn-check:checked + .btn-secondary {
    color: var(--cor1) !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 .25rem rgba(0, 0, 0, 0.35) !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    background-color: transparent !important;
    border-color: var(--primary) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: var(--cor1) !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-light {
    color: var(--dark) !important;
    background-color: var(--light) !important;
    border-color: var(--light) !important;
}

.btn-dark {
    color: #ffffff !important;
    background-color: var(--dark) !important;
    border-color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.section-title h5,
.team-item .team-text p,
.service-item a.btn,
.spinner-grow.text-primary,
.spinner-grow.text-secondary {
    color: var(--primary) !important;
}

.top-shape::before {
    background: var(--primary) !important;
}

.section-title h5::before {
    background: var(--primary) !important;
}

.section-title h5::after {
    background: var(--secondary) !important;
}

.carousel-caption,
.hero-header,
.bg-appointment,
.bg-testimonial {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

.hero-header {
    background-image: linear-gradient(rgba(18, 18, 18, 0.78), rgba(18, 18, 18, 0.78)), url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?q=80&w=2070&auto=format&fit=crop') !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    min-height: 140px;
    max-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-appointment {
    background-image: linear-gradient(rgba(18, 18, 18, 0.78), rgba(18, 18, 18, 0.78)), url('https://images.unsplash.com/photo-1445205170230-053b83016050?q=80&w=2071&auto=format&fit=crop') !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.appointment-form,
.offer-text,
.testimonial-carousel {
    background: rgba(0, 0, 0, 0.85) !important;
}

.service-item:hover .bg-light h5,
.service-item:hover .bg-light p {
    color: var(--cor1) !important;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, 0.7) !important;
}

body > .container-fluid.text-light.py-4 {
    background: var(--dark) !important;
}

.theme-switcher-nav {
    color: var(--dark);
    white-space: nowrap;
}

.theme-switcher-color {
    width: 42px;
    height: 42px;
    padding: 4px;
    border: 1px solid rgba(9, 30, 62, 0.18);
    border-radius: 10px;
    background: var(--light);
    cursor: pointer;
}

.theme-switcher-color::-webkit-color-swatch-wrapper {
    padding: 0;
}

.theme-switcher-color::-webkit-color-swatch {
    border: 0;
    border-radius: 8px;
}

.theme-switcher-color-sm {
    width: 22px;
    height: 22px;
    padding: 1px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
}

.theme-switcher-color-sm::-webkit-color-swatch-wrapper {
    padding: 0;
}

.theme-switcher-color-sm::-webkit-color-swatch {
    border: 0;
    border-radius: 3px;
}

.site-logo-box {
    display: inline-block;
    vertical-align: middle;
}

.site-logo-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

@media (max-width: 991.98px) {
    .theme-switcher-nav {
        width: 100%;
        margin: 12px 0;
        justify-content: center;
    }
}

/* Utilities semânticos adicionais */
.text-heading {
    color: var(--color-text-heading) !important;
}

.text-body {
    color: var(--color-text-body) !important;
}

.bg-surface {
    background-color: var(--color-bg-surface) !important;
}

.text-inverse {
    color: var(--color-text-inverse) !important;
}

/* Proteção e Estilização Global de Fontes */
body, p, span:not(.navbar-toggler-icon):not(.carousel-control-prev-icon):not(.carousel-control-next-icon):not(.badge):not(.fashion-topbar *):not(.btn *):not(.fashion-footer *), li, td {
    color: var(--color-text-body);
}

h1, h2, h3, h4, h5, h6, .section-title h5, .font-weight-bold, .font-weight-semi-bold {
    color: var(--color-text-heading);
}

a:not(.btn):not(.nav-link):not(.navbar-brand):not(.fashion-topbar *):not(.fashion-footer *):not(.fashion-header *), .text-primary {
    color: var(--color-text-link);
}

/* Centralização perfeita de ícones em botões */
.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    line-height: 1 !important;
}

.btn-square i,
.btn-sm-square i,
.btn-lg-square i {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Layout Responsivo das Colunas de Produtos (Definido no Painel) */
@media (min-width: 992px) {
    .product-card-wrapper.col-lg-3,
    .product-card-wrapper.col-lg-4,
    .row > .product-card-wrapper:not(.owl-item *):not(.price-carousel *) {
        flex: 0 0 25% !important;
        max-width: 25% !important;
        width: 25% !important;
    }
}

/* Botões dos cards de produtos - Garantir texto sempre em 1 linha */
.product-card-wrapper .btn {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.8125rem !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    letter-spacing: -0.2px;
}

.product-card-wrapper .btn i {
    font-size: 0.9em !important;
    margin-right: 4px !important;
    flex-shrink: 0 !important;
}

.product-card-wrapper .btn.product-card-btn-wa,
.product-card-wrapper .btn-success {
    font-size: 0.775rem !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
}

/* ══════════════════════════════════════════════════════════════
   INTEGRAÇÃO DINÂMICA DE CORES, BORDAS E FOTOS — TEMA FASHION
   ══════════════════════════════════════════════════════════════ */
.fashion-card {
    background-color: transparent !important;
    border-radius: var(--theme-card-radius, 0px) !important;
    overflow: hidden;
}

.fashion-card-thumb {
    aspect-ratio: var(--product-img-aspect-ratio, 3/4) !important;
    border-top-left-radius: var(--theme-card-radius, 0px) !important;
    border-top-right-radius: var(--theme-card-radius, 0px) !important;
    overflow: hidden;
    background-color: transparent !important;
}

.fashion-card-img,
.fashion-card-img-hover {
    aspect-ratio: var(--product-img-aspect-ratio, 3/4) !important;
    object-fit: var(--product-img-object-fit, cover) !important;
    border-top-left-radius: var(--theme-card-radius, 0px) !important;
    border-top-right-radius: var(--theme-card-radius, 0px) !important;
    background-color: transparent !important;
}

.product-card-wrapper .team-item,
.product-card-wrapper .team-item .team-text,
.product-card-wrapper .team-item img.product-card-img {
    background-color: transparent !important;
}

.btn-quick-view {
    border-radius: var(--theme-btn-radius, 0px) !important;
}

.fashion-badge {
    border-radius: var(--theme-badge-radius, 0px) !important;
}

.fashion-topbar {
    background-color: #ffffff !important;
    color: #111111 !important;
    border-bottom: 1px solid #eaeaea !important;
}
.fashion-topbar span, .fashion-topbar strong, .fashion-topbar a, .fashion-topbar i {
    color: #111111 !important;
}
.fashion-topbar .divider {
    border-left: 1px solid #eaeaea !important;
}

.nav-cat-link:hover,
.nav-cat-link.active,
.nav-cat-item:hover > .nav-cat-link {
    color: var(--secondary, #0a0a0a) !important;
    border-bottom-color: var(--primary, #0a0a0a) !important;
}

.btn-dark,
.btn-primary {
    background-color: var(--primary, #0a0a0a) !important;
    border-color: var(--primary, #0a0a0a) !important;
    color: var(--cor1, #ffffff) !important;
    border-radius: var(--theme-btn-radius, 0px) !important;
}

.btn-dark:hover,
.btn-primary:hover {
    background-color: var(--secondary, #1f1f1f) !important;
    border-color: var(--secondary, #1f1f1f) !important;
}

.text-gold {
    color: var(--font-highlight, #d4af37) !important;
}

@media (min-width: 992px) {
    .fashion-products-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

.fashion-search-wrapper,
.fashion-search-input {
    border-radius: var(--theme-btn-radius, 30px) !important;
}

.benefit-card-luxury,
.fashion-dropdown-menu,
.category-megamenu {
    border-radius: var(--theme-box-radius, 0px) !important;
}

.filter-pill-btn,
.btn-load-more,
.policy-card,
.payment-badge,
.shipping-pill {
    border-radius: var(--theme-btn-radius, 0px) !important;
}


/* ─── CONTROLE DINÂMICO DE RODAPÉ E BENEFÍCIOS (MODO CLARO / PRETO E BRANCO) ─── */
/* ── FAIXA DE BENEFÍCIOS BRANCA ── */
.luxury-benefits-bar {
    background-color: #ffffff !important;
    border-top: 1px solid #eaeaea !important;
    border-bottom: 1px solid #eaeaea !important;
}
.luxury-benefit-icon {
    background-color: #f7f7f7 !important;
    border: 1px solid #eaeaea !important;
    color: #111111 !important;
}
.luxury-benefit-title,
.luxury-benefit-text h6 {
    color: #111111 !important;
}
.luxury-benefit-desc,
.luxury-benefit-text p {
    color: #666666 !important;
}

/* ── RODAPÉ BRANCO MINIMALISTA ── */
.fashion-footer {
    background-color: #ffffff !important;
    border-top: 1px solid #eaeaea !important;
    color: #555555 !important;
}
.fashion-footer .footer-col-title { color: #111111 !important; }
.fashion-footer .footer-col-title::after { background: #111111 !important; }
.fashion-footer .footer-desc { color: #666666 !important; }
.fashion-footer .footer-social-label { color: #666666 !important; }
.fashion-footer .footer-social-btn { background-color: #ffffff !important; border: 1px solid #eaeaea !important; color: #111111 !important; }
.fashion-footer .footer-social-btn:hover { background-color: #000000 !important; border-color: #000000 !important; color: #ffffff !important; }
.fashion-footer .footer-links a { color: #555555 !important; }
.fashion-footer .footer-links a:hover { color: #000000 !important; }
.fashion-footer .footer-links a i { color: #888888 !important; }
.fashion-footer .footer-links a:hover i { color: #000000 !important; }
.fashion-footer .footer-contact-info .contact-item { color: #555555 !important; }
.fashion-footer .footer-contact-info .contact-item a { color: #444444 !important; }
.fashion-footer .footer-contact-info .contact-item a:hover { color: #000000 !important; }
.fashion-footer .footer-contact-info .contact-item i { color: #111111 !important; }
.fashion-footer .footer-hours-box { background-color: #fafafa !important; border: 1px solid #eaeaea !important; }
.fashion-footer .hours-title { color: #111111 !important; }
.fashion-footer .hours-row { border-bottom: 1px dashed #eaeaea !important; }
.fashion-footer .hours-row .day-name { color: #777777 !important; }
.fashion-footer .hours-row .day-time { color: #111111 !important; }
.fashion-payments-shipping-bar { background-color: #fbfbfb !important; border-top: 1px solid #eaeaea !important; border-bottom: 1px solid #eaeaea !important; }
.fashion-payments-shipping-bar .bar-sub-title { color: #555555 !important; }
.fashion-payments-shipping-bar .shipping-pill,
.fashion-payments-shipping-bar .security-pill { background-color: #ffffff !important; border: 1px solid #eaeaea !important; color: #333333 !important; }
.fashion-footer-bottom { background-color: #ffffff !important; border-top: 1px solid #eaeaea !important; color: #777777 !important; }
.fashion-footer-bottom strong { color: #111111 !important; }




