/* Custom fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette: Deep Midnight Navy / Dark Slate & Gold (XOXO Tartagal) */
    --bg-dark: #0a0e17;
    --bg-surface: #0f172a;
    --bg-card: rgba(22, 30, 49, 0.85);
    --bg-card-hover: rgba(30, 41, 67, 0.95);
    --surface: #0f172a;
    --surface-2: #161f33;
    --surface-3: #1e293b;

    /* Acentos dorados elegantes (Black Gold) */
    --gold: #b8920a;
    --gold-light: #d4aa14;
    --gold-dark: #8a6e08;
    --gold-muted: rgba(184, 146, 10, 0.12);
    --gold-border: rgba(184, 146, 10, 0.35);
    --gold-gradient: linear-gradient(135deg, #d4aa14 0%, #b8920a 100%);

    --primary: var(--gold);
    --primary-hover: var(--gold-light);
    --primary-gradient: var(--gold-gradient);
    --accent: var(--gold-light);
    --accent-gradient: var(--gold-gradient);

    /* Textos nítidos sobre fondo oscuro */
    --text-main: #f8f9fa;
    --text-title: #ffffff;
    --text-muted: #94a3b8;
    --text-faint: #64748b;
    --text-inverse: #0a0e17;

    /* Bordes y Sombras de vidrio (Glassmorphism) */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.04);
    --glass-bg: rgba(10, 14, 23, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-main: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
    --shadow-gold: 0 4px 20px rgba(184, 146, 10, 0.28);

    /* Estados de pedidos */
    --status-received: #ffd166;
    --status-received-bg: rgba(255, 209, 102, 0.15);
    --status-preparing: #06d6a0;
    --status-preparing-bg: rgba(6, 214, 160, 0.15);
    --status-on-delivery: #118ab2;
    --status-on-delivery-bg: rgba(17, 138, 178, 0.15);
    --status-completed: #06d6a0;
    --status-completed-bg: rgba(6, 214, 160, 0.15);
    --status-cancelled: #ef476f;
    --status-cancelled-bg: rgba(239, 71, 111, 0.15);
    --status-paid: #06d6a0;
    --status-pending: #ffd166;
    --status-failed: #ef476f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    font-family: 'Outfit', sans-serif;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Header & Navbar */
header {
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 500;
    padding: 0.9rem 2rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
header.scrolled {
    background: rgba(10, 14, 23, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--gold-border) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6) !important;
    padding: 0.65rem 2rem !important;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text, .logo-text-white {
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.logo-badge-loc {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
    background: var(--gold-muted);
    border: 1px solid var(--gold-border);
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-btn:hover {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.03);
    border-color: var(--border-color);
}

.nav-btn-admin {
    background: var(--gold-muted);
    color: var(--gold-light) !important;
    border-color: var(--gold-border) !important;
}
.nav-btn-admin:hover {
    background: var(--gold) !important;
    color: #ffffff !important;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.03);
}

.cart-icon-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 500;
    cursor: pointer;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(184, 146, 10, 0.5);
    transition: all 0.3s ease;
}

.cart-icon-container:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(184, 146, 10, 0.6);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: white;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Banner Hero */
.hero {
    background: linear-gradient(180deg, rgba(184, 146, 10, 0.08) 0%, rgba(10, 14, 23, 0) 100%);
    padding: 6rem 2rem 5rem;
    text-align: center;
    width: 100%;
    margin: 0 auto 3rem;
    animation: fadeIn 0.8s ease-out;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 45vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(184, 146, 10, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 180, 216, 0.1) 0%, transparent 30%);
    animation: rotateSlow 25s linear infinite;
    z-index: -1;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.15;
    max-width: 900px;
}

.hero h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
}

.shop-status-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.status-open {
    background: rgba(6, 214, 160, 0.15);
    color: #06d6a0;
    border: 1px solid rgba(6, 214, 160, 0.3);
}

.status-closed {
    background: rgba(239, 71, 111, 0.15);
    color: #ef476f;
    border: 1px solid rgba(239, 71, 111, 0.3);
}

/* Main Container */
main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1;
}

/* Categories Section */
.categories-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeIn 0.9s ease-out;
}

.category-tab {
    background: rgba(22, 30, 49, 0.7);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    backdrop-filter: blur(8px);
}
.category-tab:hover {
    color: #ffffff;
    background: rgba(30, 41, 67, 0.9);
    border-color: var(--gold-border);
}
.category-tab.active {
    background: var(--gold);
    color: #ffffff !important;
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.category-tab:hover, .category-tab.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(184, 146, 10, 0.3);
    transform: translateY(-2px);
}

/* Products Grid */
.category-section {
    margin-bottom: 4rem;
    animation: fadeIn 1s ease-out;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
    padding-left: 0.75rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0.5rem 0 2rem;
}

.products-grid::-webkit-scrollbar {
    height: 6px;
}
.products-grid::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
.products-grid::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-main);
    backdrop-filter: blur(10px);
}
.product-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    border-color: var(--gold-border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-main);
    backdrop-filter: blur(10px);
}
.product-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    border-color: var(--gold-border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.product-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: rgba(184, 146, 10, 0.3);
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

.product-image-container {
    width: 100%;
    height: 180px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 3rem;
    background: linear-gradient(135deg, #ffffff, #1f2937);
}

.product-info {
    padding: 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: transparent;
}

.product-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    flex: 1;
}

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

.product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gold-light);
}

.btn-add-cart {
    background: var(--primary-gradient);
    border: none;
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(184, 146, 10, 0.3);
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(184, 146, 10, 0.5);
}

/* Sliding Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: #0d121c;
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-sidebar.open {
    transform: translateX(0);
}

.cart-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(22, 30, 49, 0.6);
}
header.scrolled {
    background: rgba(10, 14, 23, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--gold-border) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6) !important;
    padding: 0.65rem 2rem !important;
}

.cart-title {
    font-size: 1.4rem;
    font-weight: 700;
}

.btn-close-cart {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

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

.cart-items-list {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    animation: fadeIn 0.3s ease;
}

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

.cart-item-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--primary-hover);
    font-weight: 700;
    font-size: 0.95rem;
}

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

.btn-qty {
    background: #e2e8f0;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 26px;
    height: 26px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.2s ease;
}

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

.qty-val {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.btn-remove-item {
    background: transparent;
    border: none;
    color: #ef476f;
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.btn-remove-item:hover {
    opacity: 1;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: rgba(22, 30, 49, 0.6);
}

.cart-totals {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.total-row.grand-total {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-main);
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
}

.btn-checkout {
    display: block;
    width: 100%;
    background: var(--primary-gradient);
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(184, 146, 10, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 146, 10, 0.6);
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 3rem;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 150;
    display: none;
}

.cart-overlay.open {
    display: block;
}

/* Checkout Page */
.split-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
    }
}

.checkout-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-main);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.checkout-card h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px var(--gold-muted) !important;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(184, 146, 10, 0.2);
}

textarea.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px var(--gold-muted) !important;
}

.map-container-wrapper {
    margin-top: 1.5rem;
}

.map-instructions {
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

#map {
    height: 300px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.order-summary-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}

.order-summary-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.summary-items {
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.summary-item-name {
    color: var(--text-muted);
}

.error-message {
    background: rgba(239, 71, 111, 0.15);
    border: 1px solid rgba(239, 71, 111, 0.3);
    color: #ef476f;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* Order Success & Detail Tracking Page */
.status-tracker {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: relative;
    margin: 3rem 0;
    gap: 0.5rem;
}

@media (max-width: 600px) {
    .status-tracker {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.status-step {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.status-bubble {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-muted);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.status-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.status-step.active .status-bubble {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 15px rgba(184, 146, 10, 0.5);
    transform: scale(1.1);
}

.status-step.active .status-label {
    color: var(--text-main);
    font-weight: 700;
}

.status-step.completed .status-bubble {
    background: #06d6a0;
    border-color: #06d6a0;
    color: white;
}

.status-step.completed .status-label {
    color: #06d6a0;
}

/* Status Badges */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 30px;
}

.badge-received { background: rgba(255, 209, 102, 0.15); color: var(--status-received); border: 1px solid var(--status-received); }
.badge-preparing { background: rgba(6, 214, 160, 0.15); color: var(--status-preparing); border: 1px solid var(--status-preparing); }
.badge-delivery { background: rgba(17, 138, 178, 0.15); color: var(--status-on-delivery); border: 1px solid var(--status-on-delivery); }
.badge-completed { background: rgba(0, 180, 216, 0.15); color: var(--status-completed); border: 1px solid var(--status-completed); }
.badge-cancelled { background: rgba(239, 71, 111, 0.15); color: var(--status-cancelled); border: 1px solid var(--status-cancelled); }

.badge-paid { background: rgba(6, 214, 160, 0.15); color: var(--status-paid); border: 1px solid var(--status-paid); }
.badge-pending { background: rgba(255, 209, 102, 0.15); color: var(--status-pending); border: 1px solid var(--status-pending); }
.badge-failed { background: rgba(239, 71, 111, 0.15); color: var(--status-failed); border: 1px solid var(--status-failed); }
.badge-cash { background: rgba(6, 214, 160, 0.15); color: var(--status-paid); border: 1px solid var(--status-paid); }
.badge-waiting_payment { background: rgba(255, 209, 102, 0.15); color: var(--status-pending); border: 1px solid var(--status-pending); }

.order-detail-header {
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 500;
    padding: 0.9rem 2rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
header.scrolled {
    background: rgba(10, 14, 23, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--gold-border) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6) !important;
    padding: 0.65rem 2rem !important;
}

.whatsapp-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #25d366;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.map-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.5rem;
    margin-top: 2rem;
}

/* Admin Dashboard CSS */
.admin-container {
    max-width: 1400px;
    margin: 0 auto;
}

.admin-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group select, .filter-group input {
    background: #0f172a;
    color: white;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.btn-search {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.btn-search:hover {
    opacity: 0.9;
}

.btn-reset {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.btn-reset:hover {
    background: rgba(255,255,255,0.1);
}

.admin-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    height: calc(100vh - 250px);
}

@media (max-width: 1100px) {
    .admin-layout {
        grid-template-columns: 1fr;
        height: auto;
    }
}

.detail-container {
    overflow-y: auto;
}

.orders-list-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    height: calc(100vh - 250px);
    overflow-y: auto;
    padding: 1rem;
    box-shadow: var(--shadow-main);
}

.order-item-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.order-item-card:hover, .order-item-card.selected {
    border-color: var(--primary);
    background: rgba(184, 146, 10, 0.05);
}

.order-item-header {
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 500;
    padding: 0.9rem 2rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
header.scrolled {
    background: rgba(10, 14, 23, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--gold-border) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6) !important;
    padding: 0.65rem 2rem !important;
}

.order-item-number {
    font-weight: 700;
    color: var(--text-main);
}

.order-item-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.order-item-body {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-view-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--shadow-main);
    display: none; /* Controlled by JS clicks */
}

.detail-view-panel.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.detail-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 1.5rem 0 0.8rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.4rem;
    color: var(--accent);
}

.detail-row-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.detail-meta-item {
    font-size: 0.95rem;
}

.detail-meta-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.admin-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-action-maps {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
}

.btn-gmaps { background: #4285F4; }
.btn-waze { background: #33CCFF; }

.status-update-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.03);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* Login Page styles */
.login-wrapper {
    max-width: 400px;
    margin: 6rem auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: var(--shadow-main);
    animation: fadeIn 0.5s ease-out;
}

.login-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-login {
    display: block;
    width: 100%;
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(184, 146, 10, 0.3);
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 146, 10, 0.5);
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.login-footer a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.login-footer a:hover {
    color: var(--primary);
}

/* Footer Section */
footer {
    margin-top: auto;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: rgba(10, 14, 23, 0.9);
}

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

/* Aderezos Selector */
.aderezos-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.5rem 0;
    padding: 0.4rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.aderezo-label {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.aderezo-label:hover {
    background: rgba(184, 146, 10, 0.1);
    color: var(--text-main);
}

.aderezo-cb {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: var(--primary);
}

.cart-item-aderezos {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0.15rem 0;
}

/* Ready badge */
.badge-ready { background: rgba(6, 214, 160, 0.15); color: #06d6a0; border: 1px solid #06d6a0; }
.badge-on_delivery { background: rgba(17, 138, 178, 0.15); color: #118ab2; border: 1px solid #118ab2; }

/* Receipt / Order Detail Styles */
.receipt-card {
    max-width: 720px;
    margin: 2rem auto;
    animation: fadeIn 0.6s ease-out;
}

.receipt-header {
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 500;
    padding: 0.9rem 2rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
header.scrolled {
    background: rgba(10, 14, 23, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--gold-border) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6) !important;
    padding: 0.65rem 2rem !important;
}

.receipt-header h2 {
    font-size: 2rem;
    font-weight: 800;
}

.receipt-code {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.receipt-code strong {
    color: var(--primary-hover);
    font-size: 1.2rem;
}

.receipt-paid-banner {
    background: rgba(6, 214, 160, 0.08);
    border: 1px solid rgba(6, 214, 160, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #06d6a0;
    margin-bottom: 2rem;
}

.receipt-paid-banner i {
    margin-right: 0.5rem;
}

.receipt-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 600px) {
    .receipt-body {
        grid-template-columns: 1fr;
    }
}

.receipt-section h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.4rem;
    color: var(--accent);
}

.receipt-info {
    line-height: 1.8;
}

.receipt-info p span {
    color: var(--text-muted);
}

.receipt-total {
    font-size: 1.2rem;
    border-top: 1px dashed var(--border-color);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

.receipt-total strong {
    color: var(--primary-hover);
}

.receipt-items {
    margin-bottom: 2rem;
}

.receipt-items h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.4rem;
    color: var(--accent);
}

.receipt-items-list {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.receipt-item:last-child {
    border-bottom: none;
}

.receipt-item small {
    color: var(--text-muted);
}

.receipt-item span:last-child {
    font-weight: 600;
}

.receipt-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-print {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(184, 146, 10, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-print:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 146, 10, 0.5);
}

.btn-back-menu {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    color: white;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-back-menu:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Payment Pending */
.payment-pending {
    background: rgba(255, 209, 102, 0.08);
    border: 1px solid rgba(255, 209, 102, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.payment-amount {
    margin-bottom: 0.75rem;
}

.payment-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.payment-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-hover);
}

.payment-pending h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffd166;
}

.payment-pending > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.btn-pay {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 0.8rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(184, 146, 10, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 146, 10, 0.6);
}

.verify-payment {
    margin-top: 1rem;
}

.btn-verify {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    color: white;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-verify:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Print styles */
@media print {
    header, footer, .cart-icon-container, .cart-sidebar, .cart-overlay,
    .btn-checkout, .btn-reset, .whatsapp-link-btn, .btn-action-maps,
    [onclick="window.print()"], .nav-links { display: none !important; }
    body { background: white !important; color: black !important; }
    .checkout-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-main);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}
    .status-bubble { background: #eee !important; border-color: #ccc !important; color: #333 !important; }
    .status-step.active .status-bubble { background: #b8920a !important; border-color: #b8920a !important; color: white !important; }
    .status-step.completed .status-bubble { background: #27ae60 !important; border-color: #27ae60 !important; color: white !important; }
    .badge { border: 1px solid #ccc !important; }
}

/* ═══════════════════════════════════════════
   DAY PILL — schedule chips in catalog hero
════════════════════════════════════════════ */
.day-pill {
    display: inline-block;
    background: rgba(184, 146, 10, 0.12);
    color: var(--primary);
    border: 1px solid rgba(184, 146, 10, 0.25);
    border-radius: 20px;
    padding: 0.1rem 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* ═══════════════════════════════════════════
   CART BUBBLE — always visible, never hidden
════════════════════════════════════════════ */
.cart-icon-container {
    position: fixed !important;
    bottom: 1.75rem !important;
    right: 1.75rem !important;
    z-index: 900 !important;
    width: 62px !important;
    height: 62px !important;
    border-radius: 50% !important;
    background: var(--primary-gradient) !important;
    border: none !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 6px 25px rgba(184, 146, 10, 0.55), 0 2px 8px rgba(0,0,0,0.3) !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cart-icon-container:hover {
    transform: scale(1.12) !important;
    box-shadow: 0 8px 30px rgba(184, 146, 10, 0.75), 0 2px 12px rgba(0,0,0,0.4) !important;
}

@keyframes cartBounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.18); }
    70% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.cart-icon-container.bounce {
    animation: cartBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════════════════
   PRODUCTS GRID — horizontal scroll carousel
════════════════════════════════════════════ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0.5rem 0 2rem;
}

.products-grid::-webkit-scrollbar {
    height: 5px;
}
.products-grid::-webkit-scrollbar-track {
    background: transparent;
}
.products-grid::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-main);
    backdrop-filter: blur(10px);
}
.product-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    border-color: var(--gold-border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

/* ═══════════════════════════════════════════
   MOBILE RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 768px) {
    main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1;
}

    .hero {
        padding: 2.5rem 1rem 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-main);
    backdrop-filter: blur(10px);
}
.product-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    border-color: var(--gold-border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

    .product-image-container {
        height: 150px;
    }

    .category-title {
        font-size: 1.4rem;
    }

    .cart-icon-container {
        bottom: 1.25rem !important;
        right: 1.25rem !important;
        width: 58px !important;
        height: 58px !important;
    }

    .split-layout {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .order-summary-card {
        position: static;
        /* Show cart summary as horizontal scroll on mobile */
    }

    .summary-items {
        display: flex;
        overflow-x: auto;
        gap: 0.75rem;
        flex-direction: row;
        padding-bottom: 0.5rem;
        max-height: none;
        scroll-snap-type: x mandatory;
    }

    .summary-item {
        scroll-snap-align: start;
        flex-shrink: 0;
        background: rgba(255,255,255,0.03);
        border: 1px solid var(--border-color);
        border-radius: 10px;
        padding: 0.6rem 0.85rem;
        flex-direction: column;
        gap: 0.2rem;
        min-width: 140px;
        font-size: 0.85rem;
    }

    .admin-layout {
        grid-template-columns: 1fr !important;
    }

    .orders-list-panel {
        max-height: 40vh;
    }

    .status-tracker {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.25rem;
    }

    .status-bubble {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .status-label {
        font-size: 0.68rem;
    }

    /* Nav on mobile */
    .nav-links {
        gap: 0.75rem;
    }

    .nav-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-main);
    backdrop-filter: blur(10px);
}
.product-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    border-color: var(--gold-border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

    .categories-nav {
        gap: 0.5rem;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        scrollbar-width: none;
    }

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

    .category-tab {
    background: rgba(22, 30, 49, 0.7);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    backdrop-filter: blur(8px);
}
.category-tab:hover {
    color: #ffffff;
    background: rgba(30, 41, 67, 0.9);
    border-color: var(--gold-border);
}
.category-tab.active {
    background: var(--gold);
    color: #ffffff !important;
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}
}

/* ═══════════════════════════════════════════
   PC DESKTOP RESPONSIVE GRID
════════════════════════════════════════════ */
@media (min-width: 1024px) {
    .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0.5rem 0 2rem;
}

    .product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-main);
    backdrop-filter: blur(10px);
}
.product-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    border-color: var(--gold-border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}
}

/* ═══════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
════════════════════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 6.5rem; /* Above the cart bubble */
    right: 1.75rem; /* Same side as cart bubble for better UX */
    z-index: 900;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6), 0 2px 12px rgba(0,0,0,0.4);
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: white;
    color: #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent white;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 5.5rem;
        right: 1.25rem;
        width: 58px;
        height: 58px;
        font-size: 2rem;
    }
}




/* ==========================================================================
   PORTADA FULLSCREEN & SECCIÓN QUIÉNES SOMOS (TARTAGAL)
   ========================================================================== */

.hero-fullscreen {
    min-height: 100vh;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 1.5rem 4rem;
    position: relative;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.88) 100%),
                url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?w=1920&auto=format&fit=crop&q=80') center/cover no-repeat;
    border-bottom: 1px solid #e2e8f0;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .hero-fullscreen {
        min-height: 85vh;
        padding: 4rem 1.25rem 3rem;
    }
}

@media (max-width: 991px) {
    .hero-fullscreen {
    min-height: 100vh;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 1.5rem 4rem;
    position: relative;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.88) 100%),
                url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?w=1920&auto=format&fit=crop&q=80') center/cover no-repeat;
    border-bottom: 1px solid #e2e8f0;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .hero-fullscreen {
        min-height: 85vh;
        padding: 4rem 1.25rem 3rem;
    }
}
}

.hero-brand-title {
    font-size: clamp(3.8rem, 9vw, 6.5rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 3px;
    margin-bottom: 0.4rem;
    text-shadow: 0 4px 30px rgba(0,0,0,0.8);
}

.hero-location-sub {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    background: rgba(184, 146, 10, 0.12);
    border: 1px solid var(--gold-border);
    padding: 0.35rem 1.2rem;
    border-radius: 4px;
}

.hero-tagline {
    color: #cbd5e1;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    max-width: 680px;
    line-height: 1.6;
    margin: 0 auto 2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-hero-primary {
    background: var(--gold);
    color: #ffffff;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid var(--gold-light);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 20px rgba(184, 146, 10, 0.35);
}
.btn-hero-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(184, 146, 10, 0.5);
    color: #ffffff;
}

.btn-hero-secondary {
    background: rgba(0, 0, 0, 0.03);
    color: #f1f5f9;
    padding: 0.85rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    backdrop-filter: blur(8px);
}
.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold-border);
    color: var(--gold-light);
}

/* ── Sección Quiénes Somos ──────────────────────────────────── */
.about-section {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 3.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    position: relative;
}

header {
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 500;
    padding: 0.9rem 2rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
header.scrolled {
    background: rgba(10, 14, 23, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--gold-border) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6) !important;
    padding: 0.65rem 2rem !important;
}

.about-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.about-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-light);
    background: var(--gold-muted);
    border: 1px solid var(--gold-border);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.about-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.about-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.75rem 1.5rem;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.about-card:hover {
    border-color: var(--gold-border);
    transform: translateY(-3px);
    background: rgba(184, 146, 10, 0.03);
}

.about-icon {
    font-size: 1.75rem;
    color: var(--gold-light);
    margin-bottom: 0.25rem;
}

.about-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.about-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.about-more-drawer {
    display: none;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    animation: fadeIn 0.4s ease;
}
.about-more-drawer.is-open {
    display: block;
}

/* ==========================================================================
   ORACLE APEX DESIGN SYSTEM PARA ADMINISTRACIÓN Y MODALES CRUD
   ========================================================================== */

.apex-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 32px;
    padding: 0 14px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}
.apex-btn-primary {
    background: var(--gold);
    color: #ffffff !important;
    border-color: var(--gold);
}
.apex-btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: #ffffff !important;
}
.apex-btn-secondary {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-main) !important;
    border-color: var(--border-color);
}
.apex-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold-border);
    color: var(--gold-light) !important;
}
.apex-btn-danger {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171 !important;
    border-color: rgba(239, 68, 68, 0.3);
}
.apex-btn-danger:hover {
    background: #ef4444;
    color: #ffffff !important;
}
.apex-btn-sm {
    height: 26px;
    padding: 0 10px;
    font-size: 0.75rem;
}

.apex-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}
.apex-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}
.apex-label.required::after {
    content: " *";
    color: #ef4444;
}
.apex-control {
    height: 32px;
    padding: 0 10px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: #ffffff;
    font-size: 0.85rem;
    width: 100%;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.apex-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px var(--gold-muted);
}
.apex-textarea {
    height: auto;
    min-height: 80px;
    padding: 8px 10px;
    resize: vertical;
}

.apex-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.apex-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.apex-modal {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 100%;
    max-width: 580px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 0 1px var(--border-color);
    transform: scale(0.96) translateY(-10px);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.apex-modal-overlay.is-open .apex-modal {
    transform: scale(1) translateY(0);
}
.apex-modal-header {
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 500;
    padding: 0.9rem 2rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
header.scrolled {
    background: rgba(10, 14, 23, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--gold-border) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6) !important;
    padding: 0.65rem 2rem !important;
}
.apex-modal-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}
.apex-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.15s;
}
.apex-modal-close:hover {
    color: #ffffff;
}
.apex-modal-body {
    padding: 18px;
}
.apex-modal-footer {
    padding: 12px 18px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    background: #f8fafc;
    border-radius: 0 0 8px 8px;
}


.content-container, .menu-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

/* ── Efectos de Scroll y Animaciones ── */
.reveal-item {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-item.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for product cards */
.products-grid .product-card:nth-child(1) { transition-delay: 0.04s; }
.products-grid .product-card:nth-child(2) { transition-delay: 0.08s; }
.products-grid .product-card:nth-child(3) { transition-delay: 0.12s; }
.products-grid .product-card:nth-child(4) { transition-delay: 0.16s; }

/* Scroll down hint button */
.scroll-down-hint {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0.85;
    animation: bounceSlow 2.5s infinite;
    cursor: pointer;
}
.scroll-down-hint:hover {
    opacity: 1;
    color: #ffffff;
}

@keyframes bounceSlow {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -8px); }
    60% { transform: translate(-50%, -4px); }
}

/* ── Badges de Promociones & Combos ── */
.badge-promo {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #d4aa14 0%, #b8920a 100%);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.promo-highlight-card {
    border: 1px solid var(--gold-border) !important;
    background: linear-gradient(180deg, rgba(184, 146, 10, 0.08) 0%, rgba(22, 30, 49, 0.85) 40%) !important;
}
