/* CSS Design System - Chic Burger (Rotisería Cloudflare) */
/* Premium Modern Champagne Gold & Velvet Rose Aesthetic */

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

:root {
    /* Color Palette derived from flyer: Cream/Gold, Rose/Pink, Velvet Maroon */
    --bg-dark-deep: #0B0304;            /* deep velvet black-maroon */
    --bg-dark-card: rgba(25, 7, 10, 0.65); /* glassmorphic dark maroon card background */
    --bg-dark-input: #170709;           /* very dark maroon input */
    
    --primary-gold: #FCD27B;            /* glowing neon gold-cream */
    --primary-gold-hover: #E3B85D;
    
    --accent-red: #E55B77;              /* glowing neon rose-pink */
    --accent-red-hover: #D2425E;
    
    --border-gold: rgba(252, 210, 123, 0.15);
    --border-glass: rgba(229, 91, 119, 0.15);
    
    --text-white: #FFF0F2;              /* soft cream-white for typography */
    --text-muted: #B38F95;              /* muted rose-gray */
    --text-dark: #0B0304;               /* deep black-maroon for dark badges */
    
    /* Neon Glow Effects */
    --neon-pink-shadow: 0 0 10px rgba(229, 91, 119, 0.65), 0 0 20px rgba(229, 91, 119, 0.3);
    --neon-gold-shadow: 0 0 10px rgba(252, 210, 123, 0.65), 0 0 20px rgba(252, 210, 123, 0.3);
    --neon-pink-text: 0 0 6px rgba(229, 91, 119, 0.8), 0 0 12px rgba(229, 91, 119, 0.4);
    --neon-gold-text: 0 0 6px rgba(252, 210, 123, 0.8), 0 0 12px rgba(252, 210, 123, 0.4);
    
    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Tokens */
    --border-radius-sm: 8px;
    --border-radius-md: 14px;
    --border-radius-lg: 20px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(229, 91, 119, 0.05);
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark-deep);
    color: var(--text-white);
    line-height: 1.5;
    background-image: 
        radial-gradient(rgba(229, 91, 119, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark-deep);
}
::-webkit-scrollbar-thumb {
    background: rgba(229, 91, 119, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
    box-shadow: var(--neon-pink-shadow);
}

/* Layout Utilities */
.hidden {
    display: none !important;
}

/* Cabecera / Banner de la marca */
.header-banner {
    background: rgba(11, 3, 4, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-frame {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Brand Title & Neon Glow Signs */
.brand-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
}

.neon-i {
    position: relative;
    display: inline-block;
}

/* Subtitle and Meta Links */
.brand-subtitle-banner {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 3px;
    margin-top: 0.2rem;
    display: block;
}

.header-meta {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.meta-badge {
    background: rgba(229, 91, 119, 0.08);
    border: 1px solid var(--border-glass);
    color: var(--text-white);
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.meta-badge.btn-goto-client {
    background: var(--primary-gold);
    color: var(--text-dark);
    border-color: var(--primary-gold);
    font-weight: 700;
}

.meta-badge.btn-goto-client:hover {
    background: var(--primary-gold-hover);
    box-shadow: var(--neon-gold-shadow);
}

/* Category Navigation Filter Bar */
#category-nav-bar {
    background: rgba(11, 3, 4, 0.5);
    border-bottom: 1px solid var(--border-glass);
    padding: 1rem 0;
}

.category-nav {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    padding: 0.2rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-btn {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(25, 7, 10, 0.6);
    color: var(--text-muted);
    border: 1px solid var(--border-glass);
    padding: 0.5rem 1.4rem;
    border-radius: 30px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.category-btn.active, .category-btn:hover {
    background: var(--accent-red);
    color: var(--text-white);
    border-color: var(--accent-red);
    box-shadow: var(--neon-pink-shadow);
    transform: translateY(-1px);
}

/* App Main Container */
.app-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

/* Catalog Promotion Ribbon section */
.promo-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.promo-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-normal);
}

.promo-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-red);
    box-shadow: var(--neon-pink-shadow);
}

.promo-ribbon {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--accent-red);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.65rem;
    padding: 0.2rem 2.5rem;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(183, 110, 121, 0.15);
    text-transform: uppercase;
}

.promo-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text-white);
}

.promo-desc {
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

.promo-price {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-red);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-price span {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: var(--text-muted);
    margin-right: 0.5rem;
}

/* Products Catalog Grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

/* Styled Product Card (Frosted Glassmorphism Layout) */
.product-card {
    background: var(--bg-dark-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 400px;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-red);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(229, 91, 119, 0.35);
}

/* Floating Clean Promo Badge */
.product-promo-badge-cloud {
    background-color: var(--accent-red);
    border: none;
    border-radius: 4px;
    padding: 0.35rem 0.7rem;
    position: absolute;
    top: 12px;
    right: 12px;
    box-shadow: var(--neon-pink-shadow);
    z-index: 5;
}

.product-promo-badge-cloud span.promo-label {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    color: var(--text-dark);
    font-weight: 700;
    display: block;
    text-align: center;
    letter-spacing: 0.5px;
}

.product-promo-badge-cloud span.promo-price-val {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--text-dark);
    font-weight: 800;
    display: block;
    text-align: center;
}

.product-image-container {
    width: 100%;
    height: 200px;
    position: relative;
    background-color: rgba(25, 7, 10, 0.2);
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.product-content {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex-grow: 1;
}

.product-sticker-title {
    margin-bottom: 0.4rem;
    width: 100%;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
}

.product-description {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.45;
    flex-grow: 1;
}

.product-price-ribbon {
    background: transparent;
    color: var(--accent-red);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    padding: 0;
    border: none;
    box-shadow: none;
    margin-bottom: 1rem;
    display: inline-block;
}

.product-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.btn-add {
    background-color: var(--primary-gold);
    color: var(--text-dark);
    border: none;
    padding: 0.55rem 1.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-add:hover {
    background-color: var(--primary-gold-hover);
    box-shadow: var(--neon-gold-shadow);
}

/* shopping cart bottom badge count float */
.btn-cart-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--accent-red);
    color: var(--text-white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--neon-pink-shadow);
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.btn-cart-float:hover {
    transform: scale(1.08) translateY(-2px);
    background-color: var(--accent-red-hover);
    box-shadow: 0 0 20px rgba(229, 91, 119, 0.7);
}

.cart-badge-count {
    position: absolute;
    top: -3px;
    right: -3px;
    background-color: var(--primary-gold);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-dark-deep);
}

/* Modern Sliding Customizer Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 3, 4, 0.65);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-dark-deep);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 520px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-premium);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(197, 159, 109, 0.1);
    border: none;
    color: var(--text-white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(197, 159, 109, 0.2);
}

.cust-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-glass);
}

.cust-body {
    padding: 1.5rem;
}

.cust-title-row {
    margin-bottom: 1rem;
}

.cust-title-row h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.cust-title-row p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.cust-option-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cust-options-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.option-card {
    background: rgba(25, 7, 10, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.option-card:hover {
    background: rgba(25, 7, 10, 0.7);
}

.option-card.selected {
    background: rgba(229, 91, 119, 0.08);
    border-color: var(--accent-red);
}

.option-card input {
    margin-right: 0.6rem;
    accent-color: var(--accent-red);
}

.option-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-white);
    flex-grow: 1;
}

.option-price {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-red);
}

/* Quantity selector */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(25, 7, 10, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    padding: 0.4rem 0.8rem;
    width: fit-content;
}

.btn-qty {
    background: transparent;
    border: none;
    color: var(--text-white);
    width: 28px;
    height: 28px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.btn-qty:hover {
    background: rgba(197, 159, 109, 0.15);
}

.qty-val {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    min-width: 20px;
    text-align: center;
}

.cust-footer-row {
    border-top: 1px solid var(--border-glass);
    padding-top: 1.2rem;
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cust-total-block {
    display: flex;
    flex-direction: column;
}

.cust-total-block span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cust-total-block h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-red);
}

/* Sliding Cart Drawer */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 36, 33, 0.4);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.drawer-container {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--bg-dark-deep);
    border-left: 1px solid var(--border-gold);
    box-shadow: var(--shadow-premium);
    z-index: 1010;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-overlay.open .drawer-container {
    right: 0;
}

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

.drawer-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 0.8rem;
    background: rgba(25, 7, 10, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    position: relative;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-white);
}

.cart-item-details {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.4rem;
}

.cart-item-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-red);
}

.btn-remove-item {
    background: transparent;
    border: none;
    color: var(--accent-red);
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-glass);
    background: rgba(25, 7, 10, 0.6);
}

.price-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    color: var(--text-muted);
}

.price-summary-row.total-row {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-white);
    margin-top: 0.4rem;
    margin-bottom: 1.2rem;
}

/* Inputs and Forms */
.form-group {
    margin-bottom: 1.2rem;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    background-color: var(--bg-dark-input);
    border: 1px solid var(--border-gold);
    border-radius: var(--border-radius-sm);
    padding: 0.6rem 0.8rem;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 8px rgba(252, 210, 123, 0.3);
}

/* Button variants */
.btn-process {
    background-color: var(--primary-gold);
    color: var(--text-dark);
    border: none;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-process:hover {
    background-color: var(--primary-gold-hover);
    box-shadow: var(--neon-gold-shadow);
}

.btn-action {
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid var(--border-glass);
    padding: 0.55rem 1.2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 100px;
}

.btn-action:hover {
    background-color: rgba(252, 210, 123, 0.08);
    border-color: var(--primary-gold);
}

.btn-action.delete {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.btn-action.delete:hover {
    background-color: rgba(229, 91, 119, 0.08);
}

.btn-checkout {
    background-color: #25D366; /* whatsapp green */
    color: #FFF;
    border: none;
    width: 100%;
    padding: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-checkout:hover {
    background-color: #20BA5A;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* ================= ADMIN PAGE STYLING ================= */

.admin-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: rgba(25, 7, 10, 0.6);
    border: 1px solid var(--border-gold);
    padding: 1.2rem 1.5rem;
    border-radius: var(--border-radius-md);
}

.admin-top-bar h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.admin-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 1.8rem;
}

.admin-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-premium);
}

.admin-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inventory-search-box {
    margin-bottom: 1.2rem;
}

.inventory-list {
    max-height: 60vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.inventory-item-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(25, 7, 10, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    padding: 0.6rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.inventory-item-row:hover {
    background: rgba(25, 7, 10, 0.7);
    border-color: var(--accent-red);
}

.inventory-item-row.selected-item {
    background: rgba(229, 91, 119, 0.08);
    border-color: var(--accent-red);
}

.inventory-item-thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 4px;
}

.inventory-item-info {
    flex-grow: 1;
}

.inventory-item-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
}

.inventory-item-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.badge-status {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-status.active {
    background: rgba(46, 213, 115, 0.12);
    color: #20bf6b;
}

.badge-status.inactive {
    background: rgba(255, 71, 87, 0.12);
    color: #eb3b5a;
}

/* Admin editor forms */
.editing-indicator {
    background: var(--primary-gold);
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.form-section-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-left: 2px solid var(--primary-gold);
    padding-left: 0.5rem;
}

.form-feature-box {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    padding: 0.8rem;
    margin-bottom: 0.8rem;
}

.feature-toggle-row {
    display: flex;
    align-items: center;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
}

.checkbox-item input {
    accent-color: var(--primary-gold);
}

.feature-inputs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.8rem;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-glass);
}

/* Image Dropzone in Editor */
.dropzone {
    border: 2px dashed var(--border-gold);
    border-radius: var(--border-radius-sm);
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    background: rgba(25, 7, 10, 0.4);
}

.dropzone:hover, .dropzone.dragover {
    border-color: var(--accent-red);
    background: rgba(25, 7, 10, 0.7);
    box-shadow: var(--neon-pink-shadow);
}

.dropzone-icon {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.dropzone-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-white);
}

.dropzone-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.processor-controls {
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    padding: 1.2rem;
    margin-top: 1rem;
}

.slider-group {
    margin-bottom: 1rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.slider-input {
    width: 100%;
    accent-color: var(--primary-gold);
    background: rgba(197, 159, 109, 0.2);
    height: 4px;
    border-radius: 2px;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    gap: 1.5rem;
}

.process-log {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    padding: 0.6rem;
    font-family: monospace;
    font-size: 0.7rem;
    max-height: 80px;
    overflow-y: auto;
    color: var(--text-white);
}

.log-entry {
    margin-bottom: 0.2rem;
}

.editor-actions {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 0.8rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 1.5rem;
}

/* Session Login Box */
.login-box {
    max-width: 400px;
    margin: 6rem auto;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-premium);
}

.login-header {
    text-align: center;
    margin-bottom: 1.8rem;
}

.login-icon {
    font-size: 2.2rem;
    color: var(--primary-gold);
    margin-bottom: 0.6rem;
}

.login-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.login-header p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    line-height: 1.4;
}

/* TOAST NOTIFICATIONS */
.toast-container {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    pointer-events: none;
}

.toast {
    background-color: var(--bg-dark-deep);
    border: 1px solid var(--border-gold);
    color: var(--text-white);
    padding: 0.8rem 1.4rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-premium);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transform: translateX(120%);
    animation: slideIn 0.3s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}

@keyframes slideIn {
    to { transform: translateX(0); }
}

/* Footer styling */
.footer {
    background: rgba(250, 245, 236, 0.95);
    border-top: 1px solid var(--border-glass);
    padding: 3rem 0;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-white);
}

.footer-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 420px;
    text-align: right;
}

/* Live preview adjustments */
.live-flyer-preview-container {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.preview-card-frame {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    width: 320px;
    padding: 1rem;
    position: relative;
    box-shadow: var(--shadow-premium);
}

.live-flyer-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-red);
    color: var(--text-dark);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    z-index: 5;
}

.live-flyer-image-box {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: var(--border-radius-sm);
    margin-bottom: 0.6rem;
    background: rgba(197, 159, 109, 0.05);
}

.live-flyer-image-box canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.live-flyer-info {
    width: 100%;
}

.live-flyer-header h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
}

.live-flyer-description {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
    margin-bottom: 0.6rem;
}

.live-flyer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-flyer-price-label {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-red);
}

/* Responsive grid view splits */
@media (max-width: 868px) {
    .admin-split-grid {
        grid-template-columns: 1fr;
    }
    
    .editor-actions {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-text {
        text-align: center;
    }
}

@media (max-width: 600px) {
    /* 2 Columns grid for products on Mobile */
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .product-card {
        min-height: auto;
        border-radius: var(--border-radius-sm);
    }
    
    .product-image-container {
        height: 120px;
    }
    
    .product-sticker-title {
        padding: 0.8rem;
    }
    
    .product-name {
        font-size: 0.95rem;
    }
    
    .product-description {
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .product-price-ribbon {
        font-size: 1.05rem;
        margin-bottom: 0.6rem;
    }
    
    .product-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .btn-add {
        width: 100%;
        justify-content: center;
        padding: 0.45rem 0.6rem;
        font-size: 0.75rem;
    }

    .product-promo-badge-cloud {
        padding: 0.25rem 0.45rem;
        top: 8px;
        right: 8px;
    }
    .product-promo-badge-cloud span.promo-label {
        font-size: 0.5rem;
    }
    .product-promo-badge-cloud span.promo-price-val {
        font-size: 0.65rem;
    }

    /* Responsive Header */
    .header-frame {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
        padding: 0.5rem 1rem;
    }
    
    .header-meta {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .brand-title {
        font-size: 1.8rem;
    }
    
    /* Horizontal scrolling for Promos Carousel on Mobile */
    .promo-carousel {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 0.5rem 0.2rem 1.2rem 0.2rem;
        margin-bottom: 2rem;
        scrollbar-width: none; /* Hide scrollbar for Firefox */
    }
    
    .promo-carousel::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Chrome/Safari */
    }
    
    .promo-card {
        flex: 0 0 85%; /* Shows 85% of card so user sees next card is available */
        scroll-snap-align: start;
        min-width: 280px;
    }
    
    /* Premium Sliding Bottom Sheet Modal for Mobile */
    .modal-overlay {
        align-items: flex-end; /* Align modal to bottom */
    }
    
    .modal-content {
        width: 100%;
        max-width: 100%;
        border-radius: 24px 24px 0 0; /* top rounded corners only */
        max-height: 90vh; /* slightly taller on mobile */
        margin: 0;
        transform: translateY(100%); /* slide up animation */
        border-left: none;
        border-right: none;
        border-bottom: none;
    }
    
    .modal-overlay.open .modal-content {
        transform: translateY(0);
    }
    
    .cust-image {
        height: 180px; /* shorter image header on mobile */
    }
    
    .cust-body {
        padding: 1.2rem;
    }
    
    .cust-footer-row {
        flex-direction: column;
        gap: 1.2rem;
        align-items: stretch;
    }
    
    .cust-total-block {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Floating action button tweaks on mobile */
    .btn-cart-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
        font-size: 1.3rem;
    }
}

