/* =============================================
   PedidoZap - Main Stylesheet
   ============================================= */

:root {
    --primary: #25D366;
    --primary-dark: #128C7E;
    --primary-light: #dcfce7;
    --accent: #075E54;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --dark-3: #334155;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --surface: #f8fafc;
    --white: #ffffff;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --font: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    color: var(--text);
}

a {
    text-decoration: none;
}

/* ===== UTILITIES ===== */
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #20ba58, #0e7a6d);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
}

/* ===== NAVBAR ===== */
.navbar-landing {
    background: transparent;
    transition: all 0.4s ease;
    padding: 16px 0;
}

.navbar-landing.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    font-size: 22px;
    font-weight: 800;
}

.logo-icon {
    color: var(--primary);
    font-size: 28px;
}

.logo-zap {
    color: var(--primary);
}

/* ===== HERO ===== */
.hero-section {
    background: linear-gradient(135deg, var(--dark) 0%, #0d2137 50%, #0a3d29 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
    background: var(--primary);
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    animation: float1 8s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -150px;
    animation: float2 10s ease-in-out infinite;
}

@keyframes float1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-30px, 20px) scale(1.05);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -30px);
    }
}

.hero-text {
    padding: 120px 0 60px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-btn {
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 16px;
}

.hero-btn-secondary {
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 16px;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.stat-item span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px;
    position: relative;
}

.phone-mockup {
    width: 280px;
    background: #fff;
    border-radius: 40px;
    padding: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    border: 8px solid #1a1a2e;
    position: relative;
    z-index: 2;
}

.phone-screen {
    overflow: hidden;
    border-radius: 24px;
}

.mock-store-header {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--dark);
    color: #fff;
    padding: 12px;
}

.mock-logo {
    font-size: 28px;
}

.mock-store-name {
    font-size: 13px;
    font-weight: 700;
}

.mock-store-status {
    font-size: 11px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.dot-green {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-block;
}

.mock-products {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #f8f9fa;
}

.mock-product {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 8px;
    border-radius: 10px;
}

.mock-prod-img {
    font-size: 24px;
}

.mock-prod-info {
    flex: 1;
}

.mock-prod-name {
    font-size: 11px;
    font-weight: 600;
}

.mock-prod-price {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
}

.mock-add-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-cart-bar {
    background: var(--dark);
    color: #fff;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

.mock-cart-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 10px;
    cursor: pointer;
}

.whatsapp-bubble {
    position: absolute;
    right: -20px;
    bottom: 160px;
    background: #075E54;
    color: #fff;
    padding: 14px 18px;
    border-radius: 18px 18px 4px 18px;
    font-size: 12px;
    box-shadow: 0 10px 40px rgba(7, 94, 84, 0.5);
    z-index: 3;
    animation: bubblePop 0.5s ease 1s both;
    min-width: 170px;
}

@keyframes bubblePop {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.bubble-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary);
}

.bubble-msg {
    line-height: 1.6;
}

/* ===== STEPS ===== */
.section-steps {
    padding: 100px 0;
    background: var(--surface);
}

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--dark);
}

.step-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px 28px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.step-number {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 16px;
}

.step-icon {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== CTA ===== */
.section-cta {
    padding: 80px 0;
    background: var(--dark);
}

.cta-card {
    background: linear-gradient(135deg, #0a3d29, #0d5e40);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    border: 1px solid rgba(37, 211, 102, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-card h2 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.footer-landing {
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

/* ===== ADMIN LAYOUT ===== */
.admin-body {
    background: var(--surface);
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--dark);
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.sidebar-brand {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
}

.sidebar-nav .nav-link {
    color: rgba(255, 255, 255, 0.6);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    background: rgba(37, 211, 102, 0.15);
    color: var(--primary);
}

.sidebar-nav .nav-link i {
    font-size: 18px;
}

.sidebar-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 14px 6px;
}

.main-content {
    margin-left: 260px;
    min-height: 100vh;
}

.topbar {
    background: #fff;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.topbar-title {
    font-size: 20px;
    font-weight: 700;
}

.page-content {
    padding: 28px 24px;
}

/* Cards */
.stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.stat-card .stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.stat-card .stat-value {
    font-size: 32px;
    font-weight: 800;
}

.stat-card .stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.card-admin {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

.card-admin-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
}

/* Tables */
.table-admin {
    width: 100%;
    border-collapse: collapse;
}

.table-admin th {
    background: var(--surface);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.table-admin td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    vertical-align: middle;
}

.table-admin tr:last-child td {
    border-bottom: none;
}

.table-admin tr:hover td {
    background: var(--surface);
}

/* Badges */
.badge-status {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.badge-novo {
    background: #dbeafe;
    color: #1d4ed8;
}

.badge-em-preparo {
    background: #fef3c7;
    color: #92400e;
}

.badge-finalizado {
    background: #dcfce7;
    color: #166534;
}

.badge-cancelado {
    background: #fee2e2;
    color: #991b1b;
}

.badge-disponivel {
    background: #dcfce7;
    color: #166534;
}

.badge-indisponivel {
    background: #fee2e2;
    color: #991b1b;
}

/* Forms */
.form-control,
.form-select {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    padding: 10px 14px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.12);
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-3);
    margin-bottom: 6px;
}

.input-group-text {
    border-color: var(--border);
    background: var(--surface);
}

/* Product image preview */
.img-preview {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px dashed var(--border);
    display: none;
}

.img-preview.show {
    display: block;
}

/* ===== LOGIN ===== */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark) 0%, #0d2137 50%, #0a3d29 100%);
    display: flex;
    align-items: center;
}

.login-box {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    max-width: 480px;
    width: 100%;
}

.login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo .logo-big {
    font-size: 40px;
    font-weight: 900;
}

.tab-auth {
    border-bottom: 2px solid var(--border);
    margin-bottom: 28px;
}

.tab-auth .nav-link {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 15px;
    border: none;
    padding: 10px 20px;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tab-auth .nav-link.active {
    color: var(--primary-dark);
    border-bottom-color: var(--primary);
}

/* ===== STORE (LOJA PÚBLICA) ===== */
.store-body {
    background: #f0f2f5;
}

.store-header {
    background: linear-gradient(135deg, var(--dark) 0%, #0d2137 100%);
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.store-main-container {
    padding-bottom: 160px;
    /* Increased space for floating cart footer */
}

.container-custom {
    max-width: 800px;
    margin: 0 auto;
}

.store-header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 800px) {

    .container-custom,
    .store-header-inner {
        padding: 0 16px;
    }
}

.store-logo-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.store-logo-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.store-name {
    font-size: 20px;
    font-weight: 800;
}

.store-status-badge {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 100px;
}

.store-open {
    background: rgba(37, 211, 102, 0.2);
    color: var(--primary);
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.store-closed {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.search-bar-wrap {
    padding: 16px;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.search-bar {
    border-radius: 100px;
    border: 2px solid var(--border);
    padding: 10px 20px;
    font-size: 14px;
}

.search-bar:focus {
    border-color: var(--primary);
    box-shadow: none;
}

.category-tabs {
    padding: 12px 16px;
    background: #fff;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    width: 100%;
    border-bottom: 1px solid var(--border);
    -webkit-overflow-scrolling: touch;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    white-space: nowrap;
    padding: 8px 18px;
    border-radius: 100px;
    border: 2px solid var(--border);
    background: var(--surface);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.cat-pill:hover,
.cat-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.products-grid {
    padding: 16px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 768px) {
    .category-tabs {
        flex-wrap: wrap;
        overflow-x: visible;
        padding: 16px;
    }
}

@media (min-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-card.unavailable {
    opacity: 0.6;
}

.product-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.product-img-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f0fdf4, var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.product-info {
    padding: 12px;
}

.product-name {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.product-desc {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-dark);
}

.product-add-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: absolute;
    bottom: 12px;
    right: 12px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.product-add-btn:hover {
    transform: scale(1.1);
}

.product-add-btn:disabled {
    background: var(--text-muted);
    box-shadow: none;
    cursor: not-allowed;
}

/* Cart Footer */
/* Cart Footer - Improved for large screens */
.cart-footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: calc(100% - 32px);
    max-width: 500px;
    background: var(--dark);
    padding: 12px 20px;
    z-index: 200;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-footer.visible {
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 600px) {
    .cart-footer {
        bottom: 0;
        width: 100%;
        max-width: none;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        left: 0;
    }

    .cart-footer.visible {
        transform: translateY(0);
    }
}

.cart-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cart-info {
    color: #fff;
}

.cart-count {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.cart-total {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

.btn-view-cart {
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 15px;
}

/* Cart Offcanvas */
.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item-img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
}

.cart-item-price {
    font-size: 13px;
    color: var(--primary-dark);
    font-weight: 700;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qty-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.qty-value {
    font-weight: 700;
    font-size: 15px;
    min-width: 20px;
    text-align: center;
}

/* Checkout */
.checkout-section {
    padding: 20px 0;
    border-top: 1px solid var(--border);
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.payment-option input {
    display: none;
}

.payment-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
}

.payment-label i {
    font-size: 20px;
}

.payment-option input:checked+.payment-label {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* WhatsApp FAB */
.whatsapp-fab {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 52px;
    height: 52px;
    background: var(--primary);
    color: #fff;
    font-size: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 150;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    color: #fff;
}

.whatsapp-fab.cart-shown {
    bottom: 110px;
}

/* Closed overlay */
.store-closed-banner {
    background: linear-gradient(135deg, #7f1d1d, #991b1b);
    color: #fff;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
}

/* ===== PRODUCT MODAL ===== */
.product-modal-img {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: var(--radius);
}

.product-modal-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .sidebar-overlay {
        display: block !important;
    }
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 56px;
    opacity: 0.3;
    margin-bottom: 16px;
}

.empty-state h5 {
    font-weight: 700;
    margin-bottom: 8px;
}

/* Product section title */
.section-title-store {
    font-size: 16px;
    font-weight: 700;
    padding: 12px 16px 4px;
    color: var(--dark);
}

/* Alert toast */
.toast-container-custom {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

.toast-custom {
    background: var(--dark);
    color: #fff;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.3s ease;
    white-space: nowrap;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Upload area */
.upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-area:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.upload-area i {
    font-size: 36px;
    color: var(--text-muted);
}

/* Mobile toggle */
.btn-sidebar-toggle {
    display: none;
}

@media (max-width: 991px) {
    .btn-sidebar-toggle {
        display: inline-flex;
    }
}

/* Config link box */
.store-link-box {
    background: var(--primary-light);
    border: 1.5px solid rgba(37, 211, 102, 0.3);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.store-link-url {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
    word-break: break-all;
}

/* Steps wizard */
.wizard-steps {
    display: flex;
    gap: 0;
    margin-bottom: 28px;
}

.wizard-step {
    flex: 1;
    text-align: center;
    padding: 12px;
    position: relative;
}

.wizard-step::after {
    content: '';
    position: absolute;
    top: 22px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.wizard-step:last-child::after {
    display: none;
}

.wizard-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-muted);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    font-size: 14px;
}

.wizard-step.active .wizard-step-num,
.wizard-step.done .wizard-step-num {
    background: var(--primary);
    color: #fff;
}

.wizard-step-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 4px;
}

.wizard-step.active .wizard-step-label {
    color: var(--primary-dark);
}