/* CSS para Vista - se Bem - Tema Rosa Delicado */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Importar paleta de cores centralizada */
@import 'colors.css';

/* Variáveis CSS compatíveis com a paleta centralizada */
:root {
    --dourado-principal: #C9A96E;
    --dourado-medio: #B8941F;
    --dourado-escuro: #8B6914;
    --dourado-claro: #F4E4BC;
    --dourado-fundo: #FFFEF7;
    --dourado-suave: #FFF8DC;
    --marrom-elegante: #8D6E63;
    --cinza-claro: #F8F9FA;
    --cinza-medio: #6C757D;
    --branco: #FFFFFF;
    --preto: #2C2C2C;
    --gradiente-dourado: linear-gradient(135deg, var(--dourado-fundo) 0%, var(--dourado-claro) 100%);
    --sombra-delicada: 0 4px 20px rgba(201, 169, 110, 0.15);
    --sombra-hover: 0 8px 30px rgba(201, 169, 110, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden; /* Remove rolagem horizontal */
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--preto);
    background: var(--branco);
    min-height: 100vh;
    overflow-x: hidden; /* Remove rolagem horizontal */
    width: 100%;
    max-width: 100%;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Prevent horizontal overflow */
.container, .container-fluid {
    max-width: 100%;
    overflow-x: hidden;
}

.row {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Ensure all elements respect viewport width */
*, *::before, *::after {
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* Fix potential overflow issues */
.hero-section {
    width: 100%;
    overflow: hidden;
}

.navbar {
    width: 100%;
    overflow: hidden;
}

.footer {
    width: 100%;
    overflow: hidden;
}

/* Enhanced Typography System */
h1, h2, h3, h4, h5, h6, p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
    margin-bottom: 1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--marrom-elegante);
    letter-spacing: 0.5px;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1.3rem; }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1.2rem; }
h4 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 1rem; }
h5 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 0.8rem; }
h6 { font-size: clamp(1rem, 1.5vw, 1.2rem); margin-bottom: 0.6rem; }

p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--preto);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.lead {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 400;
    color: var(--dourado-escuro);
    line-height: 1.6;
}

.text-small {
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    color: var(--cinza-medio);
}

/* Fix table overflow */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Cores e elementos dourados */
.text-dourado {
    color: var(--dourado-escuro) !important;
}

.bg-dourado {
    background: linear-gradient(135deg, var(--dourado-principal) 0%, var(--dourado-medio) 100%) !important;
}

.btn-dourado {
    background: linear-gradient(135deg, var(--dourado-principal) 0%, var(--dourado-medio) 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--sombra-delicada);
    position: relative;
    overflow: hidden;
}

.btn-dourado::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-dourado:hover::before {
    left: 100%;
}

.btn-dourado:hover {
    background: linear-gradient(135deg, var(--dourado-medio) 0%, var(--dourado-escuro) 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--sombra-hover);
}

.btn-dourado:active {
    transform: translateY(-1px);
}

.btn-outline-dourado {
    border: 2px solid var(--dourado-principal);
    color: var(--dourado-escuro);
    background: transparent;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-outline-dourado::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dourado-principal) 0%, var(--dourado-medio) 100%);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-outline-dourado:hover::before {
    left: 0;
}

.btn-outline-dourado:hover {
    color: white;
    border-color: var(--dourado-medio);
    transform: translateY(-2px);
    box-shadow: var(--sombra-delicada);
}

/* Header */
.header-top {
    background: linear-gradient(135deg, var(--marrom-elegante) 0%, #6D4C41 100%);
    color: white;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 400;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-top small {
    margin-right: 20px;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--sombra-delicada);
    padding: 20px 0;
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: var(--sombra-hover);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dourado-escuro) !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    position: relative;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--dourado-principal), var(--dourado-medio));
    transition: width 0.3s ease;
}

.navbar-brand:hover::after {
    width: 100%;
}

.navbar-nav {
    align-items: center;
    gap: 5px;
}

.navbar-nav .nav-link {
    color: var(--marrom-elegante) !important;
    font-weight: 500;
    margin: 0 8px;
    padding: 12px 20px !important;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dourado-claro), var(--dourado-principal));
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    left: 0;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
    transform: translateY(-2px);
}

.nav-promocao {
    background: linear-gradient(135deg, var(--dourado-principal) 0%, var(--dourado-medio) 100%);
    padding: 15px 0;
    text-align: center;
}

.nav-promocao .nav-link {
    color: white !important;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-promocao .nav-link:hover {
    color: var(--dourado-claro) !important;
}

/* Área do usuário */
.user-area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.user-area a {
    color: var(--marrom-elegante);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.user-area a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dourado-claro), var(--dourado-principal));
    transition: left 0.3s ease;
    z-index: -1;
}

.user-area a:hover::before {
    left: 0;
}

.user-area a:hover {
    color: white;
    transform: translateY(-2px);
}

/* User area mobile específico */
.navbar-collapse .user-area {
    border-top: 1px solid rgba(var(--rosa-principal-rgb), 0.1);
    padding-top: 15px;
    margin-top: 15px;
}

/* Garantir que user-area apareça no desktop */
@media (min-width: 992px) {
    .user-area.d-lg-flex {
        display: flex !important;
        align-items: center;
        gap: 15px;
    }
    
    .navbar .user-area {
        margin-left: auto;
    }
    
    /* Layout da navbar desktop */
    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .navbar .d-lg-flex.align-items-center {
        display: flex !important;
        align-items: center;
        gap: 20px;
        margin-left: auto;
    }
    
    .navbar .user-area a {
        white-space: nowrap;
    }
}

#cart-count {
    background: var(--dourado-escuro);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
}

/* Hero Section */
.hero-section {
    background: var(--gradiente-rosa);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" style="stop-color:rgba(248,187,208,0.1)"/><stop offset="100%" style="stop-color:rgba(248,187,208,0)"/></radialGradient></defs><circle cx="200" cy="200" r="150" fill="url(%23a)"/><circle cx="800" cy="800" r="200" fill="url(%23a)"/><circle cx="600" cy="300" r="100" fill="url(%23a)"/></svg>') no-repeat center;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--marrom-elegante);
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--dourado-escuro);
    margin-bottom: 30px;
    font-weight: 500;
}

/* Seções */
.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--marrom-elegante);
    font-weight: 600;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--dourado-principal), var(--dourado-medio));
    margin: 25px auto;
    border-radius: 10px;
}

/* Cards de produtos */
.product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--sombra-delicada);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
    border: 1px solid rgba(248, 187, 208, 0.2);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--sombra-hover);
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-info {
    padding: 25px 20px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(252,228,236,0.3) 100%);
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--marrom-elegante);
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dourado-escuro);
    margin-bottom: 15px;
}

.product-price .old-price {
    font-size: 1.1rem;
    color: var(--cinza-medio);
    text-decoration: line-through;
    margin-right: 10px;
    font-weight: 400;
}

/* Badge */
.badge-novidade {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--dourado-principal), var(--dourado-medio));
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--sombra-delicada);
    z-index: 2;
}

.badge-promocao {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FF6B35, #FF8A50);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--sombra-delicada);
    z-index: 2;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--marrom-elegante) 0%, #5D4037 100%);
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-section {
    margin-bottom: 40px;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--dourado-claro);
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--dourado-principal), var(--dourado-claro));
    border-radius: 1px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--dourado-claro);
    transition: width 0.3s ease;
}

.footer-link:hover::before {
    width: 100%;
}

.footer-link:hover {
    color: var(--dourado-claro);
    padding-left: 10px;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    color: #ccc;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--dourado-principal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--dourado-escuro);
    transform: translateY(-3px);
    color: white;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 25px;
    background-color: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.newsletter-btn {
    background-color: var(--dourado-principal);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background-color: var(--dourado-escuro);
}

/* Responsivo Mobile First */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        padding: 0 15px;
    }
    
    .header-top {
        padding: 8px 0;
        font-size: 12px;
    }
    
    .header-top .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .navbar {
        padding: 15px 0;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .navbar-nav {
        margin-top: 15px;
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        margin: 0;
        padding: 12px 20px !important;
        text-align: center;
        width: 100%;
    }
    
    .user-area {
        justify-content: center;
        margin-top: 15px;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .user-area a {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .product-card {
        margin-bottom: 25px;
    }
    
    .product-image {
        height: 250px;
    }
    
    .product-info {
        padding: 20px 15px;
    }
    
    .btn-dourado, .btn-outline-dourado {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .search-form {
        max-width: 100%;
        margin: 15px 0;
    }
    
    .footer {
        padding: 40px 0 20px;
        margin-top: 50px;
    }
    
    .footer-section {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-input {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .social-icons {
        justify-content: center;
        gap: 12px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .navbar-brand {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .product-image {
        height: 280px;
    }
    
    .navbar-nav {
        margin-top: 15px;
    }
    
    .user-area {
        justify-content: center;
        margin-top: 15px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar-nav {
        margin-top: 10px;
    }
    
    .user-area {
        margin-top: 10px;
        justify-content: center;
    }
    
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .product-image {
        height: 300px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-nav {
        margin-top: 0;
    }
    
    .user-area {
        margin-top: 0;
    }
    
    .hero-section {
        padding: 100px 0 70px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .section {
        padding: 80px 0;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 40px 0 30px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .navbar {
        padding: 10px 0;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .product-image {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Hover effects only for devices that support hover */
@media (hover: hover) {
    .product-card:hover {
        transform: translateY(-8px) scale(1.02);
    }
    
    .btn-dourado:hover {
        transform: translateY(-3px);
    }
    
    .navbar-nav .nav-link:hover {
        transform: translateY(-2px);
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .product-card:hover {
        transform: none;
    }
    
    .btn-dourado:hover {
        transform: none;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Search */
.search-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--dourado-claro);
    border-radius: 25px 0 0 25px;
    border-right: none;
    outline: none;
}

.search-btn {
    background-color: var(--dourado-principal);
    border: 2px solid var(--dourado-principal);
    color: white;
    padding: 10px 20px;
    border-radius: 0 25px 25px 0;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: var(--dourado-escuro);
    border-color: var(--dourado-escuro);
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Loading */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   CARROSSEL DE BANNERS - MOBILE OPTIMIZED
======================================== */

.banner-carousel {
    position: relative;
    margin-top: 0;
    width: 100%;
    overflow: hidden;
}

.banner-carousel .carousel-item {
    position: relative;
    width: 100%;
}

.banner-carousel .carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
    display: block;
}

.banner-carousel .carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    width: auto;
    max-width: 400px;
    z-index: 10;
}

.banner-carousel .carousel-caption h5 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-carousel .carousel-caption p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.banner-carousel .carousel-indicators {
    bottom: 15px;
    z-index: 15;
}

.banner-carousel .carousel-indicators button {
    background-color: var(--dourado-principal);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    border: 2px solid white;
}

.banner-carousel .carousel-indicators button.active {
    background-color: var(--dourado-escuro);
    transform: scale(1.2);
}

.banner-carousel .carousel-control-prev,
.banner-carousel .carousel-control-next {
    width: 5%;
    color: var(--dourado-escuro);
    z-index: 15;
}

.banner-carousel .carousel-control-prev-icon,
.banner-carousel .carousel-control-next-icon {
    background-color: rgba(201, 169, 110, 0.8);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    backdrop-filter: blur(5px);
}

.banner-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.banner-carousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--dourado-principal);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* Responsividade Mobile - TABLET */
@media (max-width: 992px) {
    .banner-carousel .carousel-item img {
        height: 400px;
        object-position: center top;
    }
    
    .banner-carousel .carousel-control-prev-icon,
    .banner-carousel .carousel-control-next-icon {
        width: 45px;
        height: 45px;
    }
}

/* Responsividade Mobile - TABLET PEQUENO */
@media (max-width: 768px) {
    .banner-carousel .carousel-item img {
        height: 350px;
        object-position: center center;
    }
    
    .banner-carousel .carousel-caption {
        padding: 15px;
        bottom: 20px;
        left: 15px;
        right: 15px;
        max-width: none;
        transform: none;
    }
    
    .banner-carousel .carousel-caption h5 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .banner-carousel .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .banner-carousel .carousel-control-prev-icon,
    .banner-carousel .carousel-control-next-icon {
        width: 40px;
        height: 40px;
    }
}

/* Responsividade Mobile - SMARTPHONE */
@media (max-width: 576px) {
    .banner-carousel .carousel-item img {
        height: 280px;
        object-position: center center;
        object-fit: cover;
    }
    
    .banner-carousel .carousel-caption {
        padding: 12px 15px;
        bottom: 15px;
        left: 10px;
        right: 10px;
        border-radius: 10px;
    }
    
    .banner-carousel .carousel-caption h5 {
        font-size: 1.1rem;
        margin-bottom: 6px;
        line-height: 1.3;
    }
    
    .banner-carousel .carousel-caption p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .banner-carousel .carousel-control-prev-icon,
    .banner-carousel .carousel-control-next-icon {
        width: 35px;
        height: 35px;
    }
    
    .banner-carousel .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
}

/* Navbar com logo */
.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Pause carrossel no hover */
.banner-carousel.paused .carousel-item {
    animation-play-state: paused !important;
}

/* Elementos com destaque dourado */
.destaque-dourado {
    background: linear-gradient(135deg, var(--dourado-claro) 0%, var(--branco) 100%);
    border: 1px solid var(--dourado-principal);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}

.texto-dourado {
    color: var(--dourado-escuro);
    font-weight: 600;
}

.borda-dourada {
    border: 2px solid var(--dourado-principal) !important;
}

/* Navbar com fundo dourado sutil */
.navbar {
    background: linear-gradient(135deg, var(--branco) 0%, var(--dourado-fundo) 100%) !important;
    border-bottom: 1px solid var(--dourado-claro);
}

/* Bolinhas de categorias (estilo Instagram) - Carrossel horizontal */
.category-highlights {
    padding: 30px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid var(--dourado-claro);
    position: relative;
}

.category-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 50px; /* Espaço para as setas */
}

.category-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.category-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.category-highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    flex-shrink: 0;
    min-width: 100px;
}

.category-highlight-item:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: var(--dourado-principal);
}

.category-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dourado-principal) 0%, var(--dourado-escuro) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.3);
    border: 3px solid #ffffff;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.category-circle.has-image {
    background-blend-mode: normal;
}

.category-circle.has-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.1) 0%, rgba(139, 105, 20, 0.2) 100%);
    border-radius: 50%;
    z-index: 1;
}

.category-circle:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--dourado-principal), var(--dourado-claro), var(--dourado-escuro));
    border-radius: 50%;
    z-index: -1;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.category-highlight-item:hover .category-circle {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(201, 169, 110, 0.5);
}

.category-circle i {
    font-size: 28px;
    color: #ffffff;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    position: relative;
}

.category-circle.has-image i {
    display: none;
}

.category-name {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: var(--dourado-escuro);
    max-width: 90px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-highlight-item:hover .category-name {
    color: var(--dourado-principal);
}

/* Controles de navegação do carrossel */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dourado-principal);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(201, 169, 110, 0.3);
}

.carousel-nav-btn:hover {
    background: var(--dourado-escuro);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev {
    left: 10px;
}

.carousel-nav-btn.next {
    right: 10px;
}

.carousel-nav-btn i {
    font-size: 16px;
}

/* Responsividade das bolinhas */
@media (max-width: 768px) {
    .category-carousel-container {
        padding: 0 40px;
    }
    
    .category-circle {
        width: 65px;
        height: 65px;
    }
    
    .category-circle i {
        font-size: 24px;
    }
    
    .category-circle.has-image i {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .category-name {
        font-size: 11px;
        max-width: 75px;
    }
    
    .carousel-nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .carousel-nav-btn i {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .category-highlights {
        padding: 20px 0;
    }
    
    .category-carousel-container {
        padding: 0 35px;
    }
    
    .category-circle {
        width: 55px;
        height: 55px;
    }
    
    .category-circle i {
        font-size: 20px;
    }
    
    .category-circle.has-image i {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .category-name {
        font-size: 10px;
        max-width: 65px;
    }
    
    .carousel-nav-btn {
        width: 30px;
        height: 30px;
    }
    
    .carousel-nav-btn i {
        font-size: 12px;
    }
}

/* Estilos para página de categoria real */
.product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-image-container:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.3);
}

.product-image-container .product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-image-container:hover .product-image {
    transform: scale(1.1);
}

.badge-novidade {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--dourado-principal);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.2);
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dourado-escuro);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-actions {
    margin-top: 15px;
}

.breadcrumb-item a {
    color: var(--dourado-principal);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--dourado-escuro);
}

.breadcrumb-item.active {
    color: var(--dourado-escuro);
}

/* Paginação personalizada */
.pagination .page-link {
    color: var(--dourado-principal);
    border-color: var(--dourado-claro);
}

.pagination .page-link:hover {
    color: var(--dourado-escuro);
    background-color: var(--dourado-fundo);
    border-color: var(--dourado-principal);
}

.pagination .page-item.active .page-link {
    background-color: var(--dourado-principal);
    border-color: var(--dourado-principal);
    color: white;
}

/* Modal de galeria */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-header {
    background: linear-gradient(135deg, var(--dourado-principal), var(--dourado-escuro));
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-header .btn-close {
    filter: invert(1);
}

.carousel-item img {
    border-radius: 8px;
}

.carousel-caption .badge {
    font-size: 12px;
    padding: 8px 12px;
}

/* Galeria de Categorias */
.category-grid-card {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.category-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(201, 169, 110, 0.3);
}

.category-grid-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.category-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(201, 169, 110, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.category-grid-card:hover .category-grid-overlay {
    opacity: 1;
}

.category-grid-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.category-grid-card:hover .category-grid-content {
    transform: translateY(0);
}

.category-grid-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.category-grid-desc {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.category-grid-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dourado-fundo) 0%, #ffffff 100%);
    text-align: center;
    padding: 30px;
}

.category-grid-placeholder .category-grid-title {
    color: var(--dourado-escuro);
    font-size: 24px;
    margin-bottom: 10px;
}

.category-grid-placeholder .category-grid-desc {
    color: #666;
    margin-bottom: 20px;
}

/* Categorias Mini */
.category-mini-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.category-mini-card:hover {
    transform: translateY(-3px);
    text-decoration: none;
    color: var(--dourado-principal);
}

.category-mini-image,
.category-mini-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.category-mini-image {
    background-size: cover;
    background-position: center;
    border: 2px solid var(--dourado-claro);
}

.category-mini-placeholder {
    background: linear-gradient(135deg, var(--dourado-principal), var(--dourado-escuro));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.category-mini-card:hover .category-mini-image,
.category-mini-card:hover .category-mini-placeholder {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.4);
}

.category-mini-name {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: var(--dourado-escuro);
    line-height: 1.2;
}

.category-mini-card:hover .category-mini-name {
    color: var(--dourado-principal);
}

/* Responsividade da galeria */
@media (max-width: 768px) {
    .category-grid-card {
        height: 250px;
    }
    
    .category-grid-title {
        font-size: 24px;
    }
    
    .category-grid-desc {
        font-size: 14px;
    }
    
    .category-mini-image,
    .category-mini-placeholder {
        width: 50px;
        height: 50px;
    }
    
    .category-mini-placeholder {
        font-size: 16px;
    }
    
    .category-mini-name {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .category-grid-card {
        height: 200px;
    }
    
    .category-grid-title {
        font-size: 20px;
    }
    
    .category-grid-desc {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .category-mini-image,
    .category-mini-placeholder {
        width: 45px;
        height: 45px;
    }
    
    .category-mini-placeholder {
        font-size: 14px;
    }
    
    .category-mini-name {
        font-size: 10px;
    }
}

/* Enhanced Utility Classes */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.fw-light { font-weight: 300 !important; }
.fw-normal { font-weight: 400 !important; }
.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }

.opacity-75 { opacity: 0.75 !important; }
.opacity-50 { opacity: 0.5 !important; }
.opacity-25 { opacity: 0.25 !important; }

/* Enhanced Spacing Utilities */
.py-xl { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.px-xl { padding-left: 5rem !important; padding-right: 5rem !important; }
.my-xl { margin-top: 5rem !important; margin-bottom: 5rem !important; }
.mx-xl { margin-left: 5rem !important; margin-right: 5rem !important; }

/* Enhanced Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra-hover);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 25px rgba(201, 169, 110, 0.4);
}

/* Enhanced Link Styles */
a {
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: none;
}

.link-dourado {
    color: var(--dourado-escuro);
    text-decoration: none;
    position: relative;
}

.link-dourado::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dourado-principal);
    transition: width 0.3s ease;
}

.link-dourado:hover::after {
    width: 100%;
}

.link-dourado:hover {
    color: var(--dourado-principal);
}

/* Enhanced Form Controls */
.form-control:focus {
    border-color: var(--dourado-principal);
    box-shadow: 0 0 0 0.2rem rgba(201, 169, 110, 0.25);
}

.form-select:focus {
    border-color: var(--dourado-principal);
    box-shadow: 0 0 0 0.2rem rgba(201, 169, 110, 0.25);
}

/* Product Cards Styles */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--sombra-delicada);
    transition: all 0.3s ease;
    border: none;
}

.product-card:hover {
    box-shadow: var(--sombra-hover);
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--marrom-elegante);
    margin-bottom: 8px;
    line-height: 1.3;
    min-height: 2.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-category {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dourado-escuro);
    margin-bottom: 15px;
}

.old-price {
    text-decoration: line-through;
    color: var(--cinza-medio);
    font-size: 0.9rem;
    margin-right: 8px;
}

/* Product Badges */
.badge-novidade,
.badge-promocao {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--dourado-principal);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.badge-promocao {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

/* Responsive Product Cards */
@media (max-width: 768px) {
    .product-image {
        height: 220px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-name {
        font-size: 1rem;
        min-height: 2.4rem;
    }
    
    .product-price {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .product-image {
        height: 200px;
    }
    
    .product-name {
        font-size: 0.95rem;
        min-height: 2.2rem;
    }
    
    .badge-novidade,
    .badge-promocao {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--dourado-claro);
    border-radius: 50%;
    border-top-color: var(--dourado-principal);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Enhanced Focus States */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--dourado-principal);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .carousel-indicators,
    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    .section {
        padding: 20pt 0;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Enhanced Payment Methods Styles */
.payment-methods-image {
    margin-top: 15px;
}

.payment-banner {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.payment-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Security Badge */
.security-info {
    margin-top: 15px;
    padding: 10px;
    background: rgba(201, 169, 110, 0.1);
    border-radius: 6px;
    border-left: 3px solid var(--dourado-principal);
}

.security-info small {
    color: var(--marrom-elegante);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Responsive Payment Image */
@media (max-width: 768px) {
    .payment-banner {
        border-radius: 6px;
    }
    
    .security-info {
        padding: 8px;
        margin-top: 12px;
    }
    
    .security-info small {
        font-size: 0.85rem;
        gap: 4px;
    }
}

@media (max-width: 576px) {
    .payment-methods-image {
        margin-top: 12px;
    }
    
    .payment-banner {
        border-radius: 4px;
    }
    
    .security-info {
        padding: 6px 8px;
        margin-top: 10px;
    }
    
    .security-info small {
        font-size: 0.8rem;
    }
}
