/* ========================================
   SISTEMA DE CARDÁPIO PREMIUM HAMBURGUERIA
   Tema: Preto e Dourado Elegante
   ======================================== */

/* ===== VARIÁVEIS CSS ===== */
:root {
    --primary: #d4af37;
    --primary-light: #f5d76e;
    --dark-bg: #0f0f0f;
    --dark-secondary: #181818;
    --light-text: #f5f5f5;
    --text-muted: #a0a0a0;
    --border-color: #2a2a2a;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
    
    --transition: all 0.3s ease;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Poppins', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    font-size: 16px;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: -0.5px;
}

h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; line-height: 1.3; }
h3 { font-size: 1.5rem; line-height: 1.3; }
h4 { font-size: 1.25rem; line-height: 1.4; }
h5 { font-size: 1.1rem; line-height: 1.4; }
h6 { font-size: 1rem; line-height: 1.5; }

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

/* ===== CONTAINER ===== */
.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 2rem;
    }
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    font-family: inherit;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--dark-bg);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: var(--dark-secondary);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--dark-bg);
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}

.btn-danger:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.btn-block {
    display: block;
    width: 100%;
}

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

/* ===== INPUTS ===== */
input, textarea, select {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: var(--dark-secondary);
    color: var(--light-text);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    margin-bottom: 1rem;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #1f1f1f;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

input::placeholder {
    color: var(--text-muted);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== CARDS ===== */
.card {
    background-color: var(--dark-secondary);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.card-body {
    padding: 1rem 0;
}

.card-footer {
    border-top: 2px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background-color: var(--primary);
    color: var(--dark-bg);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-promotion {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.badge-status-active {
    background-color: var(--success);
    color: white;
}

.badge-status-inactive {
    background-color: var(--danger);
    color: white;
}

/* ===== NAVBAR ===== */
.navbar {
    background-color: var(--dark-secondary);
    border-bottom: 2px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.navbar-brand .store-name {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.2;
}

.navbar-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.navbar-menu a {
    color: var(--light-text);
    font-weight: 500;
    transition: var(--transition);
}

.navbar-menu a:hover {
    color: var(--primary);
}

.navbar-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cart-badge {
    position: absolute;
    background-color: var(--danger);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    top: -8px;
    right: -8px;
}

.icon-button {
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    transition: var(--transition);
}

.icon-button:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* ===== HEADER/BANNER ===== */
.hero-banner {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(24, 24, 24, 0.8) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="pattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23d4af37" opacity="0.1"/></pattern></defs><rect fill="%23181818" width="1200" height="600"/><rect fill="url(%23pattern)" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 2.5rem 1rem;
    border-bottom: 2px solid var(--primary);
    animation: fadeInDown 0.8s ease-out;
}

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

.hero-content {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}

.hero-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background-color: rgba(212, 175, 55, 0.05);
}

.hero-title {
    color: var(--primary);
    margin-bottom: 0.65rem;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-size: 1.125rem;
}

.hero-image {
    width: min(920px, calc(100vw - 2rem));
    max-width: none;
    max-height: 320px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
    border: 2px solid var(--primary);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.hero-carousel {
    position: relative;
}

.hero-slide {
    display: none;
}

.hero-slide.active {
    display: block;
}

.hero-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    background-color: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active,
.hero-dot:hover {
    background-color: var(--primary);
}

.banner-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(0, 0, 0, 0.88);
    padding: 1rem;
    align-items: center;
    justify-content: center;
}

.banner-popup.active {
    display: flex;
}

.banner-popup-content {
    position: relative;
    width: min(1100px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
}

.banner-popup-image {
    width: 100%;
    max-height: calc(100vh - 2rem);
    object-fit: contain;
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary);
    display: block;
}

.banner-popup-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--primary);
    background: var(--dark-secondary);
    color: var(--light-text);
    font-size: 1.4rem;
    cursor: pointer;
}

/* ===== SEÇÃO DE CATEGORIAS ===== */
.section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--light-text);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.category-card {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, #1f1f1f 100%);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-card.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--dark-bg);
}

.category-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.category-name {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===== GRID DE PRODUTOS ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.product-card {
    background-color: var(--dark-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    animation: fadeIn 0.5s ease-out;
}

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

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 150px;
    background-color: #1f1f1f;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
}

.product-info {
    padding: 1rem;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}

.product-description {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.price-original {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-current {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.btn-add-to-cart {
    width: 100%;
    padding: 0.6rem;
    font-size: 0.8rem;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--dark-secondary);
    border-radius: var(--radius-xl);
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid var(--primary);
    animation: slideUp 0.3s ease-out;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    background-color: var(--dark-secondary);
    z-index: 10;
}

.modal-title {
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.modal-close:hover {
    background-color: var(--border-color);
    color: var(--primary);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 2px solid var(--border-color);
    display: flex;
    gap: 1rem;
}

.modal-footer .btn {
    flex: 1;
}

/* ===== FORMULÁRIO DE PRODUTO ===== */
.product-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.form-group small {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: -0.75rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    background-color: #1f1f1f;
}

.quantity-selector button {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
    font-weight: 700;
}

.quantity-selector button:hover {
    color: var(--primary-light);
}

.quantity-input {
    flex: 1;
    text-align: center;
    background: none;
    border: none;
    color: var(--light-text);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 !important;
    padding: 0 !important;
}

.quantity-input:focus {
    outline: none;
}

.additionals-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.additional-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background-color: #1f1f1f;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.additional-item:hover {
    border-color: var(--primary);
    background-color: rgba(212, 175, 55, 0.05);
}

.additional-item input[type="checkbox"] {
    width: auto;
    margin: 0 0.75rem 0 0;
    cursor: pointer;
    accent-color: var(--primary);
}

.additional-label {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.additional-price {
    color: var(--primary);
    font-weight: 600;
}

.observations-field {
    margin-top: 1rem;
}

.observations-field textarea {
    resize: vertical;
    min-height: 80px;
    margin-bottom: 0;
}

/* ===== CARRINHO ===== */
.cart-container {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.cart-container.active {
    display: flex;
}

.cart-panel {
    width: 100%;
    max-width: 480px;
    height: 100%;
    background-color: var(--dark-secondary);
    display: flex;
    flex-direction: column;
    margin-left: auto;
    animation: slideInRight 0.3s ease-out;
    border-left: 2px solid var(--primary);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
}

.cart-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cart-item {
    background-color: #1f1f1f;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin-bottom: 1rem;
    animation: slideIn 0.3s ease-out;
}

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

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.5rem;
}

.cart-item-name {
    font-weight: 600;
    color: var(--light-text);
    flex: 1;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.25rem;
}

.cart-item-remove:hover {
    color: #c0392b;
    transform: scale(1.2);
}

.cart-item-additionals {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0.5rem 0;
    padding-left: 0.5rem;
    border-left: 2px solid var(--primary);
}

.cart-item-additionals li {
    list-style: none;
    margin: 0.25rem 0;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.cart-item-quantity button {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
}

.cart-item-quantity button:hover {
    color: var(--primary-light);
}

.cart-item-quantity input {
    width: 40px;
    text-align: center;
    padding: 0.25rem !important;
    margin: 0 !important;
}

.cart-item-price {
    text-align: right;
    font-weight: 700;
    color: var(--primary);
    margin-top: 0.5rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--light-text);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.cart-total-value {
    color: var(--primary);
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-actions .btn {
    margin: 0;
}

/* ===== STORE INFO ===== */
.store-info {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(24, 24, 24, 0.5) 100%);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1rem;
    text-align: center;
    margin: 2rem 0;
    animation: fadeInUp 0.8s ease-out;
}

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

.store-info-title {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.info-item {
    margin-bottom: 1rem;
}

.info-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.info-value {
    font-size: 1.1rem;
    color: var(--light-text);
}

.info-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--dark-secondary);
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    font-weight: 600;
}

.info-link:hover {
    background-color: var(--primary);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

/* ===== FLOATING ACTION BUTTONS ===== */
.floating-buttons {
    position: fixed;
    bottom: 2rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 900;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--dark-bg);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #20ba61 100%);
}

/* ===== SCROLL TO TOP ===== */
#scrollToTop {
    display: none;
}

#scrollToTop.show {
    display: flex;
}

/* ===== NOTIFICAÇÕES ===== */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 1rem;
    max-width: 300px;
    padding: 1rem 1.5rem;
    background-color: var(--dark-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--light-text);
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    animation: slideInLeft 0.3s ease-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

.toast.info {
    border-left: 4px solid var(--primary);
}

/* ===== TABELAS ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

th {
    background-color: var(--dark-secondary);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border: 2px solid var(--border-color);
    color: var(--primary);
}

td {
    padding: 1rem;
    border: 2px solid var(--border-color);
}

tr:hover {
    background-color: rgba(212, 175, 55, 0.05);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .navbar-content {
        align-items: flex-start;
        gap: 0.5rem;
    }

    .navbar-menu {
        display: none;
    }
    
    .navbar-brand {
        flex: 1;
        font-size: 1.2rem;
        max-width: none;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        line-height: 1.2;
        align-items: flex-start;
    }
    
    .navbar-brand img {
        height: 32px !important;
    }
    
    /* Converte grids para 1 coluna em mobile */
    div[style*="grid-template-columns"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }
    
    /* Tabelas responsivas */
    table {
        font-size: 0.85rem;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    th, td {
        padding: 0.75rem;
    }
    
    /* Modais responsivos */
    .modal-content {
        max-width: calc(100vw - 1rem);
        width: 100%;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
    
    .modal-title {
        font-size: 1.1rem;
    }
    
    .modal-close {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
    
    /* Botões responsivos */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .btn-sm {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    /* Form responsivo */
    input,
    textarea,
    select {
        font-size: 16px !important;
    }

    .floating-buttons {
        gap: 0.75rem;
        bottom: 1rem;
        right: 0.75rem;
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .hero-banner {
        padding: 3rem 2rem;
    }
    
    .cart-panel {
        max-width: 450px;
    }
}
