:root {
    /* Paleta Clean & Modern - Orange Theme */
    --primary: #f97316;
    /* Orange 500 */
    --primary-dark: #c2410c;
    /* Orange 700 */
    --secondary: #0f172a;
    /* Slate 900 (para footer/contrastes) */
    --accent: #fb923c;
    /* Orange 400 */

    --text-main: #334155;
    /* Slate 700 */
    --text-dark: #0f172a;
    /* Slate 900 */
    --text-muted: #64748b;
    /* Slate 500 */

    --bg-body: #f8fafc;
    /* Slate 50 */
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.95);

    /* Utilitários */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-light: 1px solid #e2e8f0;
}

/*@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #64748b;
    --accent: #0f172a;
    --bg-light: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --success: #10b981;
    --danger: #ef4444;
    --border-light: 1px solid #e2e8f0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}*/

/* --- Cart Badge --- */
.btn-icon {
    position: relative;
    /* Crucial for badge positioning */
}

#cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* --- Checkout Styles --- */
#checkout-items::-webkit-scrollbar {
    width: 6px;
}

#checkout-items::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

#checkout-items::-webkit-scrollbar-track {
    background: #f1f5f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* --- Tipografia & Links --- */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-dark);
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}



/* --- Componentes --- */
.btn {
    padding: 12px 30px;
    border-radius: 8px;
    /* Mais quadrado para look clean */
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* --- Header / Nav --- */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border-bottom: var(--border-light);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    cursor: pointer;
    display: flex;
    align-items: center;
}





.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* Controles (Search + Lang + Actions) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-wrapper {
    position: relative;
}

.search-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-btn:hover {
    color: var(--primary);
}

.search-input {
    position: absolute;
    right: 120%;
    /* Move to the left of the icon */
    top: 50%;
    transform: translateY(-50%);
    /* Center vertically */
    width: 0;
    padding: 0;
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--text-dark);
    transition: var(--transition);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow-md);
}

.search-wrapper.active .search-input {
    width: 250px;
    padding: 10px;
    opacity: 1;
    visibility: visible;
}

.lang-switch {
    position: relative;
    display: flex;
    /* Garante alinhamento do wrapper */
    align-items: center;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: var(--transition);
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover {
    color: var(--primary);
}

.lang-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.lang-option:hover {
    background: #f1f5f9;
}

.lang-option img {
    width: 20px;
    border-radius: 2px;
}

/* --- Hero Banner --- */
/* --- Hero Banner (Carousel) --- */
.hero {
    position: relative;
    height: 90vh;
    /* Adjust as needed */
    width: 100%;
    overflow: hidden;
    background: #000;
    /* Fallback */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive Images */
.banner-desktop {
    display: block !important;
}

.banner-mobile {
    display: none !important;
}

@media (max-width: 768px) {
    .banner-desktop {
        display: none !important;
    }

    .banner-mobile {
        display: block !important;
    }
}

/* Dots Navigation */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.dot.active {
    background: var(--primary);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

/* --- Cartões --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Enforce 3 columns on Desktop > 1024px */
@media (min-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

.input-field {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: var(--transition);
    background: #f8fafc;
    margin-bottom: 15px;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

/* Produtos */
.product-img {
    height: 180px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 10px 0;
}

.price-tag span {
    color: var(--primary);
}

.discount-info {
    font-size: 0.85rem;
    color: #10b981;
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Planos */
.plan-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.plan-card.highlight {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 10;
}

.plan-card.highlight::before {
    content: 'POPULAR';
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.7rem;
    font-weight: 800;
}

.plan-price {
    font-size: 2.5rem;
    margin: 20px 0;
    font-weight: 800;
    color: var(--text-dark);
}

.plan-features li {
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Footer --- */
footer {
    background: var(--secondary);
    border-top: none;
    padding: 80px 0 20px;
    margin-top: 50px;
    color: #f8fafc;
}

footer h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #94a3b8;
    font-size: 0.8rem;
}

.auth-badges i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #10b981;
}

/* --- Views (Admin / Client) --- */
.app-view {
    display: none;
    padding-top: 100px;
    min-height: 100vh;
}

.app-view.active {
    display: block;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
}

.sidebar {
    background: white;
    border-radius: 15px;
    padding: 20px;
    height: fit-content;
    border: var(--border-light);
    box-shadow: var(--shadow-sm);
}

.sidebar h3 {
    color: var(--text-dark);
}

.sidebar-menu li {
    padding: 15px;
    cursor: pointer;
    border-radius: 8px;
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.sidebar-menu li:hover,
.sidebar-menu li.active {
    background: #eff6ff;
    color: var(--primary);
}

/* Tabelas e Paineis */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
}

.data-table th {
    padding: 15px;
    background: #f8fafc;
    text-align: left;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    color: var(--text-dark);
}

.data-table tr:hover td {
    background: #f8fafc;
}

/* Inputs Modernos */
input,
textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    margin-right: 15px;
}

/* Mobile */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    /* Header Mobile Layout */
    .nav-wrapper {
        justify-content: flex-start;
        /* Menu esq, Logo centro/esq, Ações dir */
    }

    .mobile-menu-btn {
        display: block;
        margin-left: 6px;
    }

    /* Logo Swapping */
    .desktop-logo {
        display: none !important;
    }

    .mobile-logo {
        display: block !important;
    }

    /* Nav Menu Mobile */
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        z-index: 999;
    }

    .main-nav.active {
        max-height: 300px;
        /* Adjust based on content */
    }

    .nav-links {
        display: flex;
        /* Override display: none from previous media query if present */
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f1f5f9;
        margin: 0;
    }

    .nav-links li a {
        display: block;
        padding: 15px;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    /* Header Actions adjustment */
    .header-actions {
        margin-left: auto;
        gap: 10px;
    }

    /* Hide text in buttons on mobile if needed to save space */
    #btn-login-trigger span {
        display: none;
    }

    #btn-login-trigger {
        padding: 8px;
        /* icon only */
    }
}

/* --- Modais --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* Fix: Prevent clicking when hidden */
    transition: var(--transition);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 99999 !important;
    pointer-events: auto;
    /* Re-enable clicks */
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
}

.modal-header h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.modal-body p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-main);
}

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

/* --- Login Specifics --- */
.login-box {
    background: white;
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.login-input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: var(--text-dark);
    outline: none;
    font-size: 1rem;
}

.login-input:focus {
    border-color: var(--primary);
    background: white;
}

/* --- Tooltip Customizado --- */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 115%;
    right: 0;
    transform: none;
    background: var(--text-dark);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 2000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    animation: fadeInTooltip 0.2s ease forwards;
    pointer-events: none;
}

@keyframes fadeInTooltip {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Premium Footer --- */
.main-footer {
    background-color: var(--secondary);
    color: #f8fafc;
    padding: 80px 0 30px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
}

.footer-logo span {
    color: var(--primary);
}

.footer-desc {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form input {
    background: none;
    border: none;
    color: #fff;
    padding: 10px 15px;
    width: 100%;
    outline: none;
}

.btn-news {
    background: var(--primary);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-news:hover {
    background: var(--primary-dark);
}

.trust-badges {
    color: #64748b;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
    color: #94a3b8;
}

/* --- SPA Navigation Views --- */
.app-view {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.app-view.active {
    display: block;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Grid Refactoring --- */
.about-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Admin Grids */
.admin-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.admin-address-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 15px;
}

.admin-address-grid-3 {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.admin-city-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 15px;
}

.admin-product-header-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

.admin-grid-2col-nested {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hero {
        background-image: url('../imagens/banner-mobile.png');
    }

    .section-title {
        font-size: 2rem;
    }

    /* Stack Grids */
    .about-grid,
    .contact-grid,
    .checkout-grid,
    .admin-grid-2col,
    .admin-product-header-grid,
    .admin-grid-2col-nested {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    /* Specific adjustments for complex forms to avoid strict 1fr stacking if small items fit */
    .admin-address-grid {
        grid-template-columns: 1fr 2fr;
        /* Keep ratio if possible or Stack */
    }

    /* Force stack on very small screens for addresses */
    @media (max-width: 500px) {

        .admin-address-grid,
        .admin-address-grid-3,
        .admin-city-grid {
            grid-template-columns: 1fr !important;
        }
    }

    /* Horizontal scroll for Data Tables in admin cards */
    .glass-card {
        padding: 20px;
        overflow-x: auto;
    }

    .glass-card table {
        min-width: 600px;
        /* Force scroll */
    }

    /* Padding adjustments */
    .section {
        padding: 50px 0;
    }

    /* Checkout specific */
    #checkout-view .container {
        padding-bottom: 50px;
    }

    .checkout-grid {
        display: flex;
        flex-direction: column-reverse;
        /* Address on bottom, Summary on top (or vice versa depending on pref, usually Summary last on mobile? flex-direction: column puts 1st el on top. Checkout: 1. Address, 2. Summary. We probably want Summary visible? Or Address first? Default is Address first. Let's stick to column.) */
        display: grid;
    }
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 2000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    color: white;
}

.whatsapp-float {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- Badges --- */
.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

.badge-warning {
    background: #fffbeb;
    color: #f59e0b;
    border: 1px solid #fcd34d;
}

.badge-success {
    background: #ecfdf5;
    color: #10b981;
    border: 1px solid #6ee7b7;
}

.badge-danger {
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fca5a5;
}