/* Core Reset & Glassmorphism Variables */
:root {
    --bg-color: #0b0c10;
    --glass-bg: rgba(18, 22, 33, 0.45);
    --glass-border: rgba(255, 255, 255, 0.08);
    --rose-gold: #e5bba2; /* Rose Gold Accent */
    --rose-gold-hover: #d2a488;
    --text-primary: #ffffff;
    --text-secondary: #c5cbd8;
    --success-color: #34c759;
    --error-color: #ff3b30;
    
    --font-primary: 'Cairo', sans-serif;
    --font-number: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-primary);
    direction: rtl;
    text-align: right;
    line-height: 1.5;
    overflow-x: hidden;
    padding-bottom: 90px;
}

/* Glassmorphism Background */
.glass-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.4);
    transform: scale(1.1);
    z-index: 1;
    pointer-events: none;
}

/* Scrollbars */
::-webkit-scrollbar {
    height: 3px;
    width: 3px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

/* Centered Container */
.app-wrapper {
    width: 100%;
    min-height: 100vh;
    padding: 20px 16px;
    position: relative;
    z-index: 2;
}

@media (min-width: 481px) {
    html {
        background-color: #030407 !important;
    }
    body {
        max-width: 480px;
        margin: 0 auto !important;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.8) !important;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        border-right: 1px solid rgba(255, 255, 255, 0.05);
        min-height: 100vh;
        position: relative;
    }
    .glass-basket-btn {
        left: 50% !important;
        transform: translateX(-50%) translateY(0) !important;
        margin-left: 180px;
    }
    .customizer-slate-overlay, .glass-drawer-overlay {
        max-width: 480px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* Glass Card Base */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Language Button */
.lang-toggle {
    position: absolute;
    top: 25px;
    left: 20px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-family: var(--font-number);
    font-weight: 600;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}
.lang-toggle:hover {
    border-color: var(--rose-gold);
    color: var(--rose-gold);
}
html[dir="ltr"] .lang-toggle {
    left: auto;
    right: 20px;
}

/* Glass Header */
.glass-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0 15px;
}
.header-logo {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid var(--rose-gold);
    padding: 2px;
    background: rgba(0,0,0,0.4);
    box-shadow: 0 0 15px rgba(229, 187, 162, 0.2);
    margin-bottom: 12px;
}
.header-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.glass-header h1 {
    font-size: 22px;
    font-weight: 800;
}
.accent-gold {
    color: var(--rose-gold);
    text-shadow: 0 0 8px rgba(229, 187, 162, 0.4);
}
.glass-header p {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 4px;
    letter-spacing: 0.5px;
}

/* Info Slate */
.info-slate {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 11px;
}
.info-row {
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.info-row i {
    color: var(--rose-gold);
}
.info-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 8px;
    color: var(--text-secondary);
}
.info-footer span i {
    color: var(--rose-gold);
}
.wifi-link {
    color: var(--rose-gold);
    cursor: pointer;
    font-weight: 700;
}

/* Glass Search Bar */
.glass-search-wrap {
    position: relative;
    margin-bottom: 16px;
}
.glass-search-wrap .search-icon {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 13px;
}
html[dir="ltr"] .glass-search-wrap .search-icon {
    right: auto;
    left: 14px;
}
#glass-search {
    width: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 10px;
    padding: 11px 38px 11px 16px;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 12.5px;
    outline: none;
    transition: all 0.3s;
}
html[dir="ltr"] #glass-search {
    padding: 11px 16px 11px 38px;
}
#glass-search:focus {
    border-color: var(--rose-gold);
    box-shadow: 0 0 10px rgba(229, 187, 162, 0.15);
}

/* Glass Tabs Scroller */
.glass-tabs-container {
    overflow: hidden;
    margin-bottom: 18px;
}
.glass-tabs-scroller {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.glass-tabs-scroller::-webkit-scrollbar {
    display: none;
}
.glass-tab {
    white-space: nowrap;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    color: var(--text-secondary);
    padding: 7px 16px;
    border-radius: 20px;
    font-family: var(--font-primary);
    font-size: 11.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}
.glass-tab.active {
    background: rgba(229, 187, 162, 0.15);
    border-color: var(--rose-gold);
    color: var(--rose-gold);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(229, 187, 162, 0.1);
}

/* Grid Layout Catalog */
.catalog-area {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.glass-product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 14px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    
    /* Frosted Fade & Focus Zoom Transition */
    opacity: 0;
    transform: scale(0.95);
    filter: blur(8px);
    animation: glassCardFocus 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
.glass-product-card:nth-child(1) { animation-delay: 30ms; }
.glass-product-card:nth-child(2) { animation-delay: 60ms; }
.glass-product-card:nth-child(3) { animation-delay: 90ms; }
.glass-product-card:nth-child(4) { animation-delay: 120ms; }
.glass-product-card:nth-child(5) { animation-delay: 150ms; }
.glass-product-card:nth-child(6) { animation-delay: 180ms; }
.glass-product-card:nth-child(7) { animation-delay: 210ms; }
.glass-product-card:nth-child(8) { animation-delay: 240ms; }

@keyframes glassCardFocus {
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}
.glass-product-card:hover {
    border-color: var(--rose-gold);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 14px 36px rgba(229, 187, 162, 0.28), 0 0 18px rgba(229, 187, 162, 0.1);
}
.glass-product-card:hover::after {
    animation-duration: 1.5s;
}
.card-img-wrap {
    width: 100%;
    aspect-ratio: 1.25;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.badge-tag {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(229, 187, 162, 0.8);
    color: #000;
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}
html[dir="ltr"] .badge-tag {
    right: auto;
    left: 6px;
}
.card-info {
    margin-top: 8px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-title {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-price {
    font-family: var(--font-number);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--rose-gold);
    margin-top: 3px;
}

.search-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    grid-column: 1 / span 2;
}

/* Visual Customization Station Slate (Slides Up) */
.customizer-slate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.customizer-slate-overlay.active {
    opacity: 1;
    display: flex;
}
.slate-panel {
    background: rgba(16, 20, 31, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    padding: 16px 16px 12px;
    width: 100%;
    display: flex;
    flex-direction: column;
    max-height: 72vh;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
}
.customizer-slate-overlay.active .slate-panel {
    transform: translateY(0);
}

.slate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    margin-bottom: 16px;
    flex-shrink: 0;
}
.slate-header h3 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--rose-gold);
}
.close-slate-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
}

.slate-body {
    display: flex;
    gap: 16px;
    overflow-y: auto;
    margin-bottom: 16px;
    flex-shrink: 1;
    min-height: 0;
}

/* Visual Cup simulation */
.visual-cup-container {
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cup-bracket {
    width: 50px;
    height: 76px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top: none;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
}
.cup-handle {
    position: absolute;
    top: 20px;
    right: -12px;
    width: 12px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-left: none;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
html[dir="ltr"] .cup-handle {
    right: auto;
    left: -12px;
    border-left: 2px solid rgba(255, 255, 255, 0.4);
    border-right: none;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

/* Liquid Levels */
.liquid-base {
    width: 100%;
    height: 30%;
    background-color: #5c3a21; /* Espresso/Coffee base default */
    transition: height 0.4s ease, background-color 0.4s ease;
}
.liquid-milk {
    width: 100%;
    height: 0%;
    background-color: rgba(255, 255, 255, 0.85); /* milk color */
    transition: height 0.4s ease;
}
.liquid-flavor {
    width: 100%;
    height: 0%;
    background-color: #d4af37; /* gold flavor */
    transition: height 0.4s ease, background-color 0.4s ease;
}

.visual-cup-label {
    font-size: 9px;
    color: var(--text-secondary);
    margin-top: 8px;
    text-align: center;
}

/* Ingredients options panel */
.ingredients-console {
    flex-grow: 1;
}
.slate-desc {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 12px;
}
.ingredient-group {
    margin-bottom: 12px;
}
.group-label {
    display: block;
    font-size: 10px;
    color: var(--rose-gold);
    margin-bottom: 6px;
    font-weight: 700;
}
.ingredient-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ingredient-pill {
    position: relative;
    cursor: pointer;
}
.ingredient-pill input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.ingredient-pill-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 500;
    transition: all 0.2s;
}
.ingredient-pill input:checked + .ingredient-pill-label {
    background: rgba(229, 187, 162, 0.12);
    border-color: var(--rose-gold);
    color: var(--rose-gold);
    font-weight: 600;
}

.slate-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
    flex-shrink: 0;
}
.slate-price-box {
    display: flex;
    flex-direction: column;
}
.slate-price-box span:first-child {
    font-size: 8.5px;
    color: var(--text-secondary);
}
.slate-price-box .slate-price {
    font-family: var(--font-number);
    font-size: 14.5px;
    font-weight: 700;
    color: #fff;
}
.slate-add-btn {
    background: var(--rose-gold);
    border: none;
    color: #000;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 11px;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(229, 187, 162, 0.2);
    transition: background-color 0.2s;
}
.slate-add-btn:hover {
    background: var(--rose-gold-hover);
}

/* Floating Basket */
.glass-basket-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 52px;
    height: 52px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    z-index: 99;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s;
}
.glass-basket-btn.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}
.glass-basket-btn i {
    font-size: 18px;
    color: var(--rose-gold);
}
.basket-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--rose-gold);
    color: #000;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9.5px;
    font-family: var(--font-number);
    font-weight: 700;
}

/* Cart Drawer */
.glass-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.glass-drawer-overlay.active {
    opacity: 1;
    display: flex;
}
.glass-drawer-content {
    background: rgba(16, 20, 31, 0.95);
    border-top: 1.5px solid var(--rose-gold);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    width: 100%;
    max-height: 85vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-drawer-overlay.active .glass-drawer-content {
    transform: translateY(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    margin-bottom: 14px;
}
.drawer-header h2 {
    font-size: 15px;
    font-weight: 700;
    color: var(--rose-gold);
}
.close-drawer-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
}

.drawer-body {
    flex-grow: 1;
    overflow-y: auto;
}

/* Empty Cart Inside Drawer */
.cart-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}
.cart-empty-state i {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

/* Item row inside Drawer */
.cart-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 8px;
}
.cart-item-image {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
}
.cart-item-info {
    flex-grow: 1;
}
.cart-item-name {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}
.cart-item-options-desc {
    font-size: 9.5px;
    color: var(--rose-gold);
}
.cart-item-price-desc {
    font-family: var(--font-number);
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}
.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}
.qty-control {
    display: flex;
    align-items: center;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
}
.qty-btn {
    background: none;
    border: none;
    color: var(--rose-gold);
    width: 22px;
    height: 22px;
    cursor: pointer;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-val {
    font-family: var(--font-number);
    font-size: 11px;
    padding: 0 4px;
    min-width: 14px;
    text-align: center;
}
.remove-btn {
    background: none;
    border: none;
    color: var(--error-color);
    cursor: pointer;
    font-size: 11px;
}

/* Order Form */
.order-form {
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
}
.order-form h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--rose-gold);
    margin-bottom: 12px;
}
.form-group {
    margin-bottom: 10px;
}
.form-group label {
    display: block;
    font-size: 11px;
    margin-bottom: 4px;
    color: var(--text-secondary);
}
.form-group label .required {
    color: var(--error-color);
}
.input-wrap input,
.input-wrap select,
.input-wrap textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 9px 12px;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 11.5px;
    outline: none;
    transition: border-color 0.2s;
}
.input-wrap select option {
    background: #10141f;
    color: #fff;
}
.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
    border-color: var(--rose-gold);
}

.drawer-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
    margin-top: 14px;
    background: rgba(16, 20, 31, 0.95);
}
.drawer-total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.drawer-total-box span:first-child {
    font-size: 12.5px;
    color: var(--text-secondary);
}
.drawer-total-val {
    font-family: var(--font-number);
    font-size: 16px;
    font-weight: 800;
    color: var(--rose-gold);
}
.whatsapp-btn {
    width: 100%;
    background: var(--rose-gold);
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 12.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(229, 187, 162, 0.2);
    transition: all 0.2s;
}
.whatsapp-btn:disabled {
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.2) !important;
    cursor: not-allowed;
    box-shadow: none !important;
    border: 1px solid var(--glass-border);
}

/* Glass Toast */
.glass-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 50px);
    background: rgba(16, 20, 31, 0.95);
    border: 1px solid var(--rose-gold);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}
.glass-toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
}

/* Mobile height and layout customizer optimization */
@media (max-width: 480px) {
    .slate-panel {
        padding: 12px 12px 8px;
        max-height: 74vh;
    }
    .slate-header {
        padding-bottom: 6px;
        margin-bottom: 8px;
    }
    .slate-header h3 {
        font-size: 13px;
    }
    .slate-body {
        gap: 8px;
        margin-bottom: 8px;
    }
    .visual-cup-container {
        width: 80px;
    }
    .cup-bracket {
        width: 46px;
        height: 72px;
        border-width: 2px;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }
    .cup-handle {
        top: 20px;
        right: -10px;
        width: 10px;
        height: 28px;
        border-width: 2px;
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
    }
    html[dir="ltr"] .cup-handle {
        right: auto;
        left: -10px;
        border-left: 2px solid rgba(255, 255, 255, 0.4);
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
    }
    .visual-cup-label {
        font-size: 8px;
        margin-top: 6px;
    }
    .slate-desc {
        font-size: 10px;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    .ingredient-group {
        margin-bottom: 8px;
    }
    .group-label {
        font-size: 9px;
        margin-bottom: 4px;
    }
    .ingredient-pill-label {
        padding: 4px 8px;
        font-size: 9px;
        border-radius: 6px;
    }
    .slate-footer {
        padding-top: 8px;
    }
    .slate-price-box .slate-price {
        font-size: 13px;
    }
    .slate-add-btn {
        padding: 7px 12px;
        font-size: 10px;
        border-radius: 6px;
    }
}

/* Entry Splash Screen - Glass Theme */
.app-splash-screen {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #0f1422;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.app-splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.05);
}
.splash-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.splash-logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid var(--rose-gold);
    box-shadow: 0 0 20px rgba(229, 187, 162, 0.3);
    object-fit: cover;
    animation: splashPulse 2s infinite ease-in-out;
    margin-bottom: 16px;
}
.splash-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    font-family: 'Cairo', sans-serif;
}
.splash-subtitle {
    font-size: 11px;
    color: var(--rose-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 24px;
}
.splash-loader {
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.splash-loader::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 50%;
    background: var(--rose-gold);
    animation: loaderMove 1.5s infinite ease-in-out;
}

@keyframes splashPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(229, 187, 162, 0.2)); }
    50% { transform: scale(1.06); filter: drop-shadow(0 0 20px rgba(229, 187, 162, 0.4)); }
}
@keyframes loaderMove {
    0% { left: -50%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* ── Glass Glare Sweep ── */
.glass-product-card::after {
    content: '';
    position: absolute;
    top: -5%; left: -80%;
    width: 45%; height: 110%;
    background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.07) 50%, transparent 75%);
    transform: skewX(-10deg);
    animation: glassGlare 5.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 4;
}
.glass-product-card:nth-child(1)::after { animation-delay:    0s }
.glass-product-card:nth-child(2)::after { animation-delay: -1.4s }
.glass-product-card:nth-child(3)::after { animation-delay: -2.7s }
.glass-product-card:nth-child(4)::after { animation-delay: -4.1s }
.glass-product-card:nth-child(5)::after { animation-delay:  -.7s }
.glass-product-card:nth-child(6)::after { animation-delay: -2.1s }
.glass-product-card:nth-child(7)::after { animation-delay: -3.5s }
.glass-product-card:nth-child(8)::after { animation-delay: -4.9s }
@keyframes glassGlare {
    0%,60%,100% { left: -80%; opacity: 0 }
    8%  { left: -80%; opacity: 1 }
    40% { left: 130%; opacity: 1 }
    50% { left: 130%; opacity: 0 }
}

/* ── Scroll Reveal – set by JS IntersectionObserver ── */
.glass-product-card.hidden-card {
    opacity: 0;
    transform: translateY(20px) scale(.97);
    transition: opacity .45s ease, transform .45s ease;
}
.glass-product-card.reveal-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}
