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

:root {
    --bg-dark: #07081c;
    --bg-navy: #0e1035;
    --bg-card: rgba(19, 21, 58, 0.65);
    --bg-card-hover: rgba(26, 29, 78, 0.85);
    --bg-header: rgba(7, 8, 28, 0.85);
    --bg-nav: rgba(7, 8, 28, 0.9);
    --bg-img-wrapper: #0f1025;
    --gold: #f1b93b;
    --gold-hover: #dcb028;
    --gold-light: rgba(241, 185, 59, 0.12);
    --gold-glow: rgba(241, 185, 59, 0.3);
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --border-gold: rgba(241, 185, 59, 0.2);
    --border-light: rgba(255, 255, 255, 0.08);
    --success: #10b981;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body.light-theme {
    --bg-dark: #f8fafc;
    --bg-navy: #ffffff;
    --bg-card: rgba(241, 245, 249, 0.85);
    --bg-card-hover: rgba(226, 232, 240, 0.95);
    --bg-header: rgba(248, 250, 252, 0.85);
    --bg-nav: rgba(248, 250, 252, 0.9);
    --bg-img-wrapper: #e2e8f0;
    --text-white: #0f172a;
    --text-muted: #475569;
    --border-light: rgba(15, 23, 42, 0.08);
    --border-gold: rgba(241, 185, 59, 0.4);
}

body.light-theme {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(at 0% 0%, rgba(27, 25, 124, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(241, 185, 59, 0.03) 0px, transparent 50%);
}

body.light-theme .cart-item {
    background: rgba(15, 23, 42, 0.03);
}

body.light-theme .qty-btn {
    background: rgba(15, 23, 42, 0.05);
    color: var(--text-white);
}

body.light-theme .cart-icon-btn {
    background: rgba(15, 23, 42, 0.05);
    color: var(--text-white);
}

body.light-theme .theme-toggle-btn {
    background: rgba(15, 23, 42, 0.05);
    color: var(--text-white);
}

body.light-theme .category-tab {
    background: rgba(15, 23, 42, 0.03);
    color: var(--text-muted);
}
body.light-theme .category-tab:hover {
    color: var(--text-white);
    background: var(--gold-light);
}
body.light-theme .category-tab.active {
    color: var(--bg-dark);
    background: var(--gold);
}

body.light-theme .hero-badge {
    background: rgba(15, 23, 42, 0.03);
    color: var(--text-white);
}

body.light-theme .order-summary-box {
    background: var(--bg-dark);
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--bg-dark);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(at 0% 0%, rgba(27, 25, 124, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(241, 185, 59, 0.05) 0px, transparent 50%);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header styling */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-header);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.brand-name {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-white);
}

.brand-name span {
    color: var(--gold);
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-white);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}

.theme-toggle-btn:hover {
    background: var(--gold-light);
    border-color: var(--gold);
    color: var(--gold);
    transform: scale(1.05);
}

.cart-icon-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-white);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.cart-icon-btn:hover {
    background: var(--gold-light);
    border-color: var(--gold);
    color: var(--gold);
    transform: scale(1.05);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--gold);
    color: var(--bg-dark);
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px var(--gold-glow);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 5rem 1.5rem 4rem 1.5rem;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(241, 185, 59, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.hero h1 {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.hero h1 span {
    color: var(--gold);
    text-shadow: 0 0 20px rgba(241, 185, 59, 0.2);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.hero-badge i {
    color: var(--gold);
}

.instagram-badge:hover {
    background: rgba(225, 48, 108, 0.1);
    border-color: rgba(225, 48, 108, 0.3);
    color: var(--text-white) !important;
    transform: translateY(-2px);
}

/* Category Tabs */
.categories-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    overflow-x: auto;
    position: sticky;
    top: 76px;
    z-index: 10;
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

.category-tab {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 0.6rem 1.25rem;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: var(--transition);
}

.category-tab:hover {
    border-color: var(--gold);
    color: var(--text-white);
    background: var(--gold-light);
}

.category-tab.active {
    background: var(--gold);
    color: var(--bg-dark);
    border-color: var(--gold);
    box-shadow: 0 4px 15px var(--gold-glow);
}

/* Grid Layout */
.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem 1.5rem;
}

.category-section {
    margin-bottom: 3.5rem;
}

.category-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid var(--gold);
}

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

/* Product Card styling */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold);
    box-shadow: 0 10px 25px rgba(241, 185, 59, 0.05);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    background: var(--bg-img-wrapper);
    overflow: hidden;
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

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

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

.product-price {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gold);
}

.btn-add-cart {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: var(--gold);
    color: var(--bg-dark);
    border-color: var(--gold);
    transform: rotate(90deg);
}

/* Shopping Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--bg-navy);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.5);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border-left: 1px solid var(--border-light);
}

.cart-drawer.open {
    right: 0;
}

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

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

.cart-header h3 i {
    color: var(--gold);
}

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

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

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Empty cart state */
.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cart-empty i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.05);
}

/* Cart Item card */
.cart-item {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0.75rem;
    position: relative;
}

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

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-name {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 600;
}

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

.qty-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-white);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--gold-light);
    border-color: var(--gold);
    color: var(--gold);
}

.qty-val {
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 15px;
    text-align: center;
}

.btn-remove-item {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.95rem;
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    transition: var(--transition);
}

.btn-remove-item:hover {
    transform: scale(1.15);
}

/* Cart Footer styling */
.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
    background: rgba(7, 8, 28, 0.5);
}

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

.summary-row.total {
    border-top: 1px dashed var(--border-light);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-white);
}

.summary-row.total span:last-child {
    color: var(--gold);
}

.shipping-select-wrapper {
    margin-bottom: 1rem;
}

.shipping-select-wrapper label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    display: block;
}

.shipping-select {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--border-light);
    color: var(--text-white);
    padding: 0.6rem;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    font-size: 0.88rem;
}

.shipping-select:focus {
    border-color: var(--gold);
}

.btn-checkout {
    width: 100%;
    background: var(--gold);
    color: var(--bg-dark);
    border: none;
    padding: 0.9rem;
    border-radius: 12px;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(241, 185, 59, 0.25);
}

.btn-checkout:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 185, 59, 0.4);
}

/* Backdrop */
.cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 190;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.cart-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Checkout */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 300;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    overflow-y: auto;
    padding: 2rem 1rem;
}

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

.modal-content {
    background: var(--bg-navy);
    border: 1px solid var(--border-gold);
    border-radius: 24px;
    width: 100%;
    max-width: 520px;
    padding: 2.5rem;
    position: relative;
    margin: auto;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

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

.close-modal-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal-btn:hover {
    color: var(--text-white);
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-family: var(--font-title);
    font-size: 1.6rem;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.modal-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-white);
}

.form-input {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--border-light);
    color: var(--text-white);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 8px rgba(241, 185, 59, 0.1);
}

.payment-tabs {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.payment-tab {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.payment-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.payment-tab.active {
    background: var(--gold-light);
    border-color: var(--gold);
    color: var(--gold);
}

.payment-tab i {
    font-size: 1.25rem;
}

.payment-tab span {
    font-size: 0.78rem;
    font-weight: 600;
}

/* Installment Widget in modal */
.modal-installments {
    background: var(--bg-dark);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.installments-selector {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.inst-option-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    color: var(--text-white);
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition);
}

.inst-option-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.inst-option-btn.active {
    background: var(--gold);
    color: var(--bg-dark);
    border-color: var(--gold);
}

.order-summary-box {
    background: var(--bg-dark);
    border-radius: 10px;
    padding: 1.25rem;
    border: 1px solid var(--border-light);
    font-size: 0.88rem;
}

.order-summary-box h5 {
    font-family: var(--font-title);
    font-size: 0.95rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-item-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    color: var(--text-muted);
}

.summary-item-line.total-line {
    border-top: 1px dashed var(--border-light);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    font-weight: 700;
    color: var(--text-white);
    font-size: 1.05rem;
}

.summary-item-line.total-line span:last-child {
    color: var(--gold);
}

.submit-btn-whatsapp {
    background: #25d366;
    color: white;
    border: none;
    padding: 0.9rem;
    border-radius: 12px;
    width: 100%;
    cursor: pointer;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}

.submit-btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Back Link Proposal */
.proposal-backlink {
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.proposal-backlink a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.proposal-backlink a:hover {
    text-decoration: underline;
}

/* Responsiveness overrides */
@media (max-width: 600px) {
    header {
        padding: 0.8rem 1rem;
    }
    .brand-logo {
        height: 46px;
    }
    .brand-name {
        font-size: 1.2rem;
    }
    .theme-toggle-btn {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    .cart-icon-btn {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    .hero {
        padding: 3rem 1rem 2rem 1rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 0.95rem;
    }
    .category-section {
        margin-bottom: 2.5rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .product-card {
        flex-direction: row;
        height: 150px;
    }
    .product-img-wrapper {
        width: 130px;
        height: 150px;
        padding-top: 0;
        flex-shrink: 0;
    }
    .product-info {
        padding: 0.88rem;
        justify-content: space-between;
    }
    .product-name {
        font-size: 1.05rem;
        margin-bottom: 0.25rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 180px;
    }
    .product-desc {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .product-price {
        font-size: 1.15rem;
    }
    .btn-add-cart {
        width: 32px;
        height: 32px;
    }
    .categories-nav {
        top: 65px;
        padding: 1rem 0.5rem;
    }
    .category-tab {
        padding: 0.5rem 1rem;
        font-size: 0.88rem;
    }
    .modal-content {
        padding: 1.5rem;
    }
}

/* Out of stock and administrative styling */
.product-card.out-of-stock {
    opacity: 0.7;
    filter: grayscale(40%);
}
.product-card.out-of-stock:hover {
    transform: none;
    border-color: var(--border-light);
    box-shadow: none;
}
.product-card.out-of-stock .product-img {
    transform: none !important;
}
.badge-out-of-stock {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #ef4444;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer MMCortex signature styling */
.signature {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
}
.signature-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}
.signature-link:hover {
    color: var(--gold-hover);
    text-shadow: 0 0 8px var(--gold-glow);
}

/* GPS Button Styling */
.btn-gps {
    background: rgba(229, 192, 123, 0.08) !important;
    border: 1.5px solid var(--gold) !important;
    color: var(--gold) !important;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}

.btn-gps:hover {
    background: var(--gold) !important;
    color: #10111a !important;
    box-shadow: 0 0 12px var(--gold-glow);
    transform: scale(1.03);
}

/* ===== INGREDIENT TAGS ===== */
.ingredient-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin: 0.5rem 0;
}

.ingredient-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    background: rgba(241, 185, 59, 0.1);
    color: var(--gold);
    border: 1px solid rgba(241, 185, 59, 0.2);
    font-family: var(--font-body);
    letter-spacing: 0.02em;
}

.ingredient-tag.wrapper-tag {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.25);
}

body.light-theme .ingredient-tag {
    background: rgba(241, 185, 59, 0.15);
    color: #92620a;
    border-color: rgba(241, 185, 59, 0.35);
}

body.light-theme .ingredient-tag.wrapper-tag {
    background: rgba(16, 185, 129, 0.12);
    color: #065f46;
    border-color: rgba(16, 185, 129, 0.35);
}

/* ===== CUSTOMIZE BUTTON ===== */
.btn-customize {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--border-gold);
    background: var(--gold-light);
    color: var(--gold);
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-customize:hover {
    background: var(--gold);
    color: var(--bg-dark);
    transform: scale(1.1);
    box-shadow: 0 0 12px var(--gold-glow);
}


/* ===== CART CUSTOMIZATION STYLES ===== */
.cart-item-actions {
    position: absolute;
    top: 0.6rem;
    right: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
}

.cart-item-actions .btn-remove-item {
    position: static; /* Override previous absolute position */
}

.btn-track-order:hover {
    background: var(--gold) !important;
    color: var(--bg-dark) !important;
}

/* ===== LEGAL MODAL STYLES ===== */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 8, 28, 0.85); /* Tema oscuro Tamona */
    backdrop-filter: blur(4px);
}

.modal-content-legal {
    background-color: var(--bg-navy);
    border: 1px solid var(--border-light);
    margin: 10vh auto;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
}

.legal-text-scroll {
    max-height: 55vh;
    overflow-y: auto;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 15px;
    padding-right: 10px;
}

.legal-text-scroll p {
    margin-bottom: 1rem;
}

.legal-text-scroll strong {
    color: var(--gold);
}

/* Custom scrollbar for legal text */
.legal-text-scroll::-webkit-scrollbar {
    width: 6px;
}
.legal-text-scroll::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
}
.legal-text-scroll::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

.close-btn-legal {
    color: var(--text-muted);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-btn-legal:hover {
    color: var(--text-white);
    transform: scale(1.1);
}

body.light-theme .modal-overlay {
    background-color: rgba(0, 0, 0, 0.6);
}

body.light-theme .modal-content-legal {
    background-color: #fff;
    border-color: #e2e8f0;
}

.btn-cart-customize {
    background: transparent;
    border: none;
    color: var(--gold);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.3rem;
    transition: var(--transition);
    border-radius: 4px;
}

.btn-cart-customize:hover {
    color: #fff;
    background: rgba(241, 185, 59, 0.2);
    transform: scale(1.1);
}

.cart-item-custom-detail {
    font-size: 0.65rem;
    color: var(--gold);
    margin: 0.1rem 0 0.3rem 0;
    font-weight: 500;
    background: rgba(241, 185, 59, 0.08);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    border-left: 2px solid var(--gold);
    line-height: 1.2;
}

body.light-theme .cart-item-custom-detail {
    color: #92620a;
    background: rgba(241, 185, 59, 0.15);
    border-left-color: #92620a;
}


/* ===== RESPONSIVE DESIGN (Option B / Ingeniero) ===== */
.caja-del-producto {
    width: 95%;
    max-width: 400px;
    margin: 0 auto;
}

/* Por defecto (Para Celulares): Apilamos todo hacia abajo */
.contenedor-principal { 
    display: flex; 
    flex-direction: column; 
    width: 100%;
}

/* Solo para Pantallas Grandes (Tablets y PC): Lo ponemos lado a lado */
@media (min-width: 1024px) {
    .contenedor-principal { 
        flex-direction: row; /* Lado a lado */
        gap: 2rem;
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 1rem;
        align-items: flex-start;
    }
    
    .menu-container {
        flex: 1;
        max-width: none;
    }
}


/* --- MODO VACACIONES --- */
.vacation-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.85); z-index: 9999; display: none; justify-content: center; align-items: center; backdrop-filter: blur(5px); }
.vacation-message { background: #1a1a1a; padding: 30px; border-radius: 12px; text-align: center; max-width: 90%; width: 400px; box-shadow: 0 10px 25px rgba(0,0,0,0.5); border-top: 5px solid #e74c3c; }
.vacation-message h2 { margin-top: 0; color: #fff; font-family: var(--font-title); font-weight: 800; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.vacation-message p { color: #ccc; font-size: 1rem; line-height: 1.5; margin-bottom: 0; }
.locked-by-vacation { display: none !important; pointer-events: none !important; }
