/* Estilos Gerais */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Sidebar */
#sidebar-wrapper {
    min-height: 100vh;
    margin-left: -250px;
    transition: margin 0.25s ease-out;
}

#sidebar-wrapper .list-group-item {
    border: none;
    padding: 15px 20px;
}

#sidebar-wrapper .list-group-item:hover {
    background-color: #495057 !important;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

#page-content-wrapper {
    min-width: 100vw;
}

@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }
    
    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }
    
    #wrapper.toggled #sidebar-wrapper {
        margin-left: -250px;
    }
}

/* Cards de Produtos */
.product-card {
    transition: transform 0.3s;
    margin-bottom: 20px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Shopping Cards */
.shopping-card {
    transition: all 0.3s;
    cursor: pointer;
}

.shopping-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Carrinho */
.carrinho-item {
    background-color: #fff;
    transition: all 0.3s;
}

.carrinho-item:hover {
    background-color: #f8f9fa;
}

/* Cupom */
.cupom-container {
    font-family: monospace;
}

.cupom-container table {
    width: 100%;
    border-collapse: collapse;
}

.cupom-container td, .cupom-container th {
    padding: 8px;
    text-align: left;
}

.cupom-container hr {
    margin: 10px 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Responsive */
@media (max-width: 768px) {
    .product-card {
        margin-bottom: 15px;
    }
    
    .carrinho-item .row > div {
        margin-bottom: 10px;
    }
}

/* Owl Carousel Custom */
.owl-carousel .item {
    padding: 10px;
}

.owl-nav button {
    background-color: rgba(0,0,0,0.5) !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 35px;
    height: 35px;
}

.owl-nav button:hover {
    background-color: rgba(0,0,0,0.8) !important;
}

/* Botões */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.4);
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}