:root {
    /* Mapeamento Cruzado:
       O site espera --primary-color (Rosa), então apontamos para a Cor Secundária do Admin.
       O site espera --secondary-color (Preto), então apontamos para a Cor Primária do Admin.
    */
    --primary-color: var(--cor-secundaria, #D59A93);
    --secondary-color: var(--cor-primaria, #000000);
    --light-color: var(--cor-terciaria, #FFFFFF);
    --gray-color: var(--cor-quaternaria, #969696);
    --primary-color-fraco: var(--cor-secundaria-fraca, #FFF1EF);

    /* Cor de texto inteligente (preto ou branco) para botões */
    --texto-botao: var(--texto-sobre-secundaria, #ffffff);
}

body {
    font-family: 'Inter', sans-serif !important;
    color: var(--secondary-color);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

h1,
h2,
.navbar-brand,
/* Nome da loja no menu */
.section-title,
/* Títulos das seções */
.carousel-caption h5 {
    /* Título do Slide */
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    min-height: 80vh;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

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

.cart-count,
.floating-cart-count {
    background: var(--primary-color);
    color: var(--texto-botao);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--texto-botao);
}

.fixed-bottom .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--texto-botao);
}

.top-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.top-header a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .search-box {
        margin: 15px 0;
    }

    .top-header .col-md-4 {
        margin-bottom: 5px;
    }
}


.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.floating-cart-btn {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(213, 154, 147, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.floating-cart-btn:hover {
    background: #c88b83;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(213, 154, 147, 0.6);
    color: white;
}

.floating-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}