/* premium.css - Premium Elegant Minimalist Snappy Edition */
:root {
    --minimal-dark: #111111;
    --minimal-gray: #f9f9fb;
    --minimal-border: #f0f0f4;
    --minimal-text: #2d2d2d;
    --minimal-muted: #88888f;
    --white: #ffffff;
}

/* Ultra-Clean Native Mobile Experience: Zero Desktop Scrollbars */
html, body, main, .viewport, .scroller, .horizontal-category-scroll, .category-grid-dual, .subCategoryHorizontalList, .productHorizontalList, * {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
*::-webkit-scrollbar {
    display: none !important;
    width: 0px !important;
    height: 0px !important;
    background: transparent !important;
}
*::-webkit-scrollbar-track, *::-webkit-scrollbar-thumb, *::-webkit-scrollbar-button, *::-webkit-scrollbar-corner {
    display: none !important;
    width: 0px !important;
    height: 0px !important;
    background: transparent !important;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--white);
    color: var(--minimal-text);
    margin: 0; padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Animations */
.reveal-item { opacity: 0; transform: translateY(12px); transition: 0.35s cubic-bezier(0.23, 1, 0.32, 1); }
.reveal-item.revealed { opacity: 1; transform: translateY(0); }

/* --- Navbar --- */
.navbar-minimal {
    height: 78px; background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--minimal-border);
    position: sticky; top: 0; z-index: 1000;
}
.navbar-branding {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100% - 130px);
    height: 64px;
    cursor: pointer;
    z-index: 5;
}
.nav-logo { 
    max-height: 62px; 
    max-width: 200px; 
    width: auto; 
    height: auto; 
    object-fit: contain; 
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.06));
    transform: scale(1.15);
    transition: transform 0.2s ease;
}
.nav-logo:hover {
    transform: scale(1.2);
}
.nav-action-btn { background: var(--minimal-gray); border: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--minimal-dark); transition: 0.2s; }

/* --- Category Grid (Center Fix) --- */
.category-grid-dual { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.category-dual-card { background: #fff; border-radius: 24px; border: 1px solid var(--minimal-border); overflow: hidden; cursor: pointer; display: flex; flex-direction: column; }
.category-dual-card .img-box { aspect-ratio: 1.1; overflow: hidden; }
.category-dual-card .img-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.category-dual-card .label-box { padding: 14px 10px; display: flex; align-items: center; justify-content: center; } /* Centering fixed */
/* --- Product Cards & Badges --- */
.product-card-simple {
    display: flex;
    align-items: center;
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
    gap: 14px;
    margin-bottom: 12px;
}
.product-card-simple:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
}

.product-img-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 86px;
    height: 86px;
    border-radius: 16px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
}
.product-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.35s ease;
}
.product-card-simple:hover .product-img {
    transform: scale(1.06);
}

.product-body { 
    flex: 1; 
    min-width: 0; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 2px 0;
    overflow: hidden;
}

.product-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    margin: 0;
}
.product-title { 
    margin: 0; 
    font-size: 1.02rem; 
    font-weight: 700; 
    color: #0f172a; 
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1;
}
.product-price-min { 
    font-size: 1.05rem; 
    font-weight: 800; 
    color: #0f172a; 
    white-space: nowrap; 
    flex-shrink: 0;
    margin-left: auto;
    letter-spacing: -0.02em;
    background: #f8fafc;
    padding: 3px 8px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.card-meta-row {
    display: none !important;
}

.card-badges-row {
    display: none !important;
}

/* Micro Badges (Cards) */
.card-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    line-height: 1.2;
    white-space: nowrap;
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
}
.chip-spicy { background: #fff1f2; color: #e11d48; border: 1px solid #ffe4e6; }
.chip-veg { background: #f0fdf4; color: #16a34a; border: 1px solid #dcfce7; }
.chip-vegan { background: #ecfdf5; color: #059669; border: 1px solid #d1fae5; }
.chip-gluten { background: #fffbeb; color: #d97706; border: 1px solid #fef3c7; }
.chip-chef { background: #fefce8; color: #ca8a04; border: 1px solid #fef08a; }
.chip-portion { background: #eef2ff; color: #4f46e5; border: 1px solid #e0e7ff; font-weight: 800; }
.chip-custom { background: #f8fafc; color: #475569; border: 1px solid #e2e8f0; }
.chip-allergen { background: #fff7ed; color: #c2410c; border: 1px solid #ffedd5; }

/* Allergen & Diet Compact Icon Pills */
.card-allergen-icons, .card-diet-icons {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    vertical-align: middle;
    flex-shrink: 0;
}
.allergen-icon-pill, .diet-icon-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    font-size: 0.65rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.allergen-icon-pill:hover, .diet-icon-pill:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: scale(1.12);
}
.card-meta-calories {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    padding: 2px 6px;
    border-radius: 6px;
    flex-shrink: 0;
}

.product-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 8px;
    margin-top: 0;
    min-width: 0;
}
.product-meta-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    overflow: hidden;
    min-width: 0;
}
.product-actions-right {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
}
.product-action-btn {
    font-size: 0.76rem;
    font-weight: 700;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: 0.2s;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    min-height: 24px;
}
.product-action-comment {
    min-width: 28px;
    padding: 3px 6px;
}
.product-action-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* --- Alerjen Filtresi UI Stilleri --- */
.allergen-active-dot {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 9px;
    height: 9px;
    background: #f59e0b;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
    animation: allergenPulse 2s infinite;
}
@keyframes allergenPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.allergen-banner {
    background: #fffbeb;
    border: 1.5px solid #fef3c7;
    border-radius: 16px;
    padding: 10px 14px;
    margin: 12px 14px 4px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.08);
}
.allergen-banner-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}
.allergen-banner-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f59e0b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.allergen-banner-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #92400e;
    line-height: 1.3;
    min-width: 0;
}
.allergen-banner-btn {
    background: #ffffff;
    border: 1.5px solid #fde68a;
    color: #92400e;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.allergen-banner-btn:hover {
    background: #92400e;
    color: #ffffff;
    border-color: #92400e;
}

.allergen-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
@media (max-width: 480px) {
    .allergen-grid {
        grid-template-columns: 1fr;
    }
}
.allergen-item-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #f8fafc;
    border: 2px solid #eef2f6;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.allergen-item-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}
.allergen-item-card.selected {
    background: #fffbeb;
    border-color: #f59e0b;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15);
}
.allergen-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}
.allergen-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.allergen-item-card.selected .allergen-item-icon {
    background: #f59e0b;
    color: #ffffff;
}
.allergen-item-name {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    white-space: normal;
}
.allergen-item-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: transparent;
    flex-shrink: 0;
    transition: all 0.2s ease;
    margin-left: 8px;
}
.allergen-item-card.selected .allergen-item-check {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #ffffff;
}

/* --- Out of Stock --- */
.product-card-simple.out-of-stock {
    filter: grayscale(100%);
    opacity: 0.6;
}

.out-of-stock-stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background-color: rgba(220, 53, 69, 0.9);
    color: white;
    font-weight: 900;
    padding: 2px 8px;
    border: 2px solid white;
    border-radius: 6px;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    letter-spacing: 1px;
    pointer-events: none;
}

/* --- Product Detail Modal (High-End UX) --- */
.centered-modal { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 5000; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 16px; 
}
.modal-blur-bg { 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    background: rgba(15, 23, 42, 0.45); 
    backdrop-filter: blur(16px); 
    -webkit-backdrop-filter: blur(16px); 
    opacity: 0; 
    transition: opacity 0.3s ease;
}
.centered-modal:not(.d-none) .modal-blur-bg { 
    opacity: 1; 
}

.modal-wrapper { 
    position: relative; 
    width: 100%; 
    max-width: 480px; 
    pointer-events: none; 
    transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1), opacity 0.25s; 
    transform: scale(0.9) translateY(20px); 
    opacity: 0; 
    z-index: 10;
}
.modal-wrapper.active,
.centered-modal:not(.d-none) .modal-wrapper { 
    transform: scale(1) translateY(0); 
    opacity: 1; 
    pointer-events: auto; 
}

.modal-main-card { 
    background: #ffffff; 
    border-radius: 28px; 
    overflow: hidden; 
    box-shadow: 0 30px 80px -15px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.8); 
    border: 1px solid #edf0f5; 
    display: flex; 
    flex-direction: column; 
    max-height: 88vh; 
    width: 100%;
}

/* Modal Hero Header */
.modal-hero-header {
    position: relative;
    width: 100%;
    height: 250px;
    min-height: 180px;
    background: #f8fafc;
    flex-shrink: 0;
    overflow: hidden;
}
.modal-img-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}
.modal-img-container img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.modal-close-icon-btn { 
    position: absolute; 
    top: 16px; 
    right: 16px; 
    z-index: 20; 
    width: 38px; 
    height: 38px; 
    border-radius: 50%; 
    background: rgba(255, 255, 255, 0.92); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.06); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.12); 
    color: #0f172a;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.modal-close-icon-btn:hover {
    background: #ffffff;
    transform: scale(1.08);
    color: #000;
}

/* Modal Body Content */
.modal-body-content { 
    flex-grow: 1; 
    overflow-y: auto; 
    scrollbar-width: none; 
    padding: 20px 22px;
    -webkit-overflow-scrolling: touch;
}
.modal-body-content::-webkit-scrollbar { display: none; }

.modal-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.modal-product-heading {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.25;
}
.modal-price-pill {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    background: #f1f5f9;
    padding: 6px 14px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: -0.02em;
}

/* Modal Stats & Tags */
.modal-meta-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 16px;
    width: 100%;
}
.modal-meta-strip:has(.d-none) {
    grid-template-columns: repeat(3, 1fr);
}
.modal-meta-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #334155;
    background: #f8fafc;
    padding: 7px 4px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    white-space: nowrap;
    box-sizing: border-box;
    min-height: 36px;
    text-align: center;
    width: 100%;
}
.modal-meta-tag.clickable {
    cursor: pointer;
}
.modal-meta-tag.clickable:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.modal-meta-tag.clickable:active {
    transform: translateY(0);
}

@media (max-width: 360px) {
    .modal-meta-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .modal-meta-strip:has(.d-none) {
        grid-template-columns: repeat(2, 1fr);
    }
}

.modal-section-block {
    margin-bottom: 16px;
}
.modal-section-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 8px;
    display: block;
}
.modal-badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}
.modal-badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 10px;
    line-height: 1;
    height: 32px;
    box-sizing: border-box;
    transition: transform 0.15s;
}

/* Modal Description (Immediately under product title) */
.modal-description-box {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 14px;
}
.modal-desc-text {
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

/* ==========================================================================
   Nutrition Facts Card (Besin Değerleri Kartı - Referans Tasarım)
   ========================================================================== */
.nutrition-facts-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 14px;
    transition: all 0.2s ease;
}
.nutrition-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.nutrition-header .nutrition-dot {
    color: #64748b;
    font-weight: 900;
}
.nutrition-header .nutrition-portion {
    color: #0f172a;
    font-weight: 800;
}
.nutrition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}
.nutrition-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.nutrition-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.86rem;
    line-height: 1.35;
}
.nutrition-item-label {
    color: #64748b;
    font-weight: 500;
}
.nutrition-item-value {
    color: #0f172a;
    font-weight: 800;
    white-space: nowrap;
    margin-left: 8px;
}

/* Portions Grid */
.modal-portions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
.portion-radio-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}
.portion-radio-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}
.portion-radio-card.active {
    border-color: #0f172a;
    background: #f8fafc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.portion-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #0f172a;
}
.portion-price {
    font-weight: 800;
    font-size: 0.92rem;
    color: #0f172a;
}

/* Extras Grid */
.modal-extras-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.modal-extra-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}
.modal-extra-item:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}
.modal-extra-item.active {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}
.modal-extra-item.active .modal-extra-name {
    color: #ffffff;
}
.modal-extra-item.active .modal-extra-kcal {
    color: rgba(255, 255, 255, 0.7) !important;
}
.modal-extra-item.active .modal-extra-price {
    color: #38bdf8;
}
.modal-extra-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #0f172a;
}
.modal-extra-price {
    font-weight: 800;
    font-size: 0.88rem;
    color: #0f172a;
}
.extra-check-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: transparent;
    transition: all 0.2s;
    flex-shrink: 0;
}
.modal-extra-item.active .extra-check-circle {
    background: #ffffff;
    color: #0f172a;
    border-color: #ffffff;
}

.modal-calorie-live {
    font-size: 0.72rem;
    font-weight: 800;
    color: #0f172a;
}

/* Modal Footer Bar */
.modal-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.02);
    flex-shrink: 0;
}
.modal-footer-info {
    display: flex;
    flex-direction: column;
}
.modal-footer-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}
.modal-footer-total {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.btn-modal-done {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    transition: all 0.2s;
    cursor: pointer;
}
.btn-modal-done:hover {
    background: #1e293b;
    transform: scale(1.02);
}

/* --- Search View --- */
.search-field-minimal { background: var(--minimal-gray); border-radius: 14px; display: flex; align-items: center; padding: 2px 12px; }
.search-field-minimal input { flex: 1; border: none !important; background: transparent; padding: 10px; outline: none !important; font-weight: 600; font-size: 1.05rem; }
.btn-close-search-minimal { border: none; background: transparent; font-weight: 800; font-size: 0.8rem; color: #444; letter-spacing: 0.5px; }

/* --- Components --- */
.lang-list-v-stack, .extras-v-stack { display: flex; flex-direction: column; gap: 12px; }
.lang-option, .extra-item { display: flex; align-items: center; gap: 15px; padding: 16px 20px; border-radius: 20px; background: var(--minimal-gray); cursor: pointer; transition: 0.2s; border: 1.5px solid var(--minimal-border); }
.lang-option.active, .extra-item.active { background: #111; color: #fff; border-color: #111; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.back-pill { position: fixed; bottom: 35px; left: 50%; transform: translateX(-50%); background: #111; color: #fff; border: none; padding: 14px 28px; border-radius: 50px; font-weight: 800; font-size: 1rem; box-shadow: 0 15px 35px rgba(0,0,0,0.25); z-index: 1000; }
.price-bubble-solid { font-weight: 800; background: #fdfdfd; border: 1px solid var(--minimal-border); padding: 5px 12px; border-radius: 12px; font-size: 1rem; }
.tag-chip { padding: 4px 10px; border-radius: 20px; background: var(--minimal-gray); font-size: 0.75rem; font-weight: 700; color: #555; }
.indicator-bar { width: 5px; height: 20px; background: #111; border-radius: 10px; }

/* Splash Tweaks */
.splash-pill { padding: 8px 16px; border-radius: 50px; border: 1.5px solid #eee; color: #444; font-size: 0.8rem; font-weight: 800; background: #fff; transition: 0.3s; }
.splash-pill.active { background: #111; color: #fff; border-color: #111; }
.btn-start-premium { width: 110px; height: 110px; border-radius: 50%; background: #111; color: #fff; border: none; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 30px auto; font-weight: 800; text-transform: uppercase; font-size: 0.75rem; box-shadow: 0 20px 40px rgba(0,0,0,0.15); transition: 0.2s; }
.branded-logo-frame { width: 130px; height: 130px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.05); overflow: hidden; padding: 15px; }
.splash-social-link { font-weight: 700; color: #111 !important; text-decoration: none !important; font-size: 0.85rem; }
/* --- Language Picker (Premium Modal) --- */
.picker-blur-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 6000;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    will-change: opacity, visibility;
    transform: translateZ(0);
}
.picker-blur-overlay.active {
    opacity: 1;
    visibility: visible;
}

.picker-container {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.18);
    border: 1px solid rgba(0,0,0,0.06);
    transform: translateY(-40px) scale(0.96);
    opacity: 0;
    transition: 0.35s cubic-bezier(0.34, 1.3, 0.64, 1);
    direction: ltr !important;
}
.picker-blur-overlay.active .picker-container {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.btn-picker-close-minimal {
    width: 36px;
    height: 36px;
    border: none;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #495057;
    transition: 0.2s;
    cursor: pointer;
}
.btn-picker-close-minimal:hover {
    background: #e9ecef;
    color: #111;
    transform: rotate(90deg);
}

.lang-list-v-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    background: #f8f9fa;
    border-radius: 22px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    direction: ltr !important;
    user-select: none;
}

.lang-option:hover {
    background: #ebeef2;
}

.lang-option img, .lang-option .lang-flag {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
    margin: 0 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.lang-option span, .lang-option .lang-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1d20;
    letter-spacing: -0.2px;
}

.lang-option.active {
    background: #111827;
    color: #fff;
    border-color: #111827;
    transform: scale(1.01);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.lang-option.active span, .lang-option.active .lang-name {
    color: #fff;
}

.lang-option:active {
    transform: scale(0.98);
}

/* --- Premium Promo Slider --- */
#promoSliderSection {
    margin-bottom: 10px;
}

#promoCarousel {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    background: #fff;
}

.promo-slide-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.promo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    -webkit-user-drag: none;
}

.carousel-item.active .promo-img {
    transform: scale(1.05);
}

.promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #fff;
}

.promo-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 4px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
    transform: translateY(10px);
    opacity: 0;
    transition: 0.5s 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-item.active .promo-title {
    transform: translateY(0);
    opacity: 1;
}

.promo-desc {
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
    transition: 0.5s 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-item.active .promo-desc {
    transform: translateY(0);
    opacity: 0.9;
}

/* --- Horizontal Category Scroll (Direct Full Bleed Edge-to-Edge) --- */
.horizontal-category-scroll {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 14px;
    padding-top: 4px;
    padding-left: 16px;
    padding-right: 16px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}
.horizontal-category-scroll.active-drag {
    cursor: grabbing;
}
.horizontal-category-scroll::-webkit-scrollbar { display: none; }

.horizontal-category-scroll .category-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 105px;
    max-width: 125px;
    opacity: 0.55;
    transition: opacity 0.25s ease, transform 0.25s ease;
    cursor: pointer;
    user-select: none;
}
.horizontal-category-scroll .category-pill:active { 
    transform: scale(0.95); 
}

.horizontal-category-scroll .category-pill .pill-img-wrapper {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    padding: 3px;
    background: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 8px;
    transition: all 0.25s ease;
}

/* Elegant & Minimalist Active State */
.horizontal-category-scroll .category-pill.active {
    opacity: 1;
    transform: scale(1.03);
}
.horizontal-category-scroll .category-pill.active .pill-img-wrapper {
    border-color: #111111;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.horizontal-category-scroll .category-pill img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    pointer-events: none;
}

.horizontal-category-scroll .category-pill span {
    font-size: 0.88rem;
    font-weight: 600;
    color: #333333;
    text-align: center;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s, font-weight 0.2s;
    padding: 0 4px;
}

.horizontal-category-scroll .category-pill.active span {
    color: #111111;
    font-weight: 800;
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.5); }
  100% { transform: scale(1); }
}
.heart-animate {
  animation: heartPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.carousel-indicators {
    bottom: 5px;
    margin-bottom: 0;
}
.carousel-indicators button {
    width: 25px !important;
    height: 4px !important;
    border-radius: 4px !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
    border: none !important;
    transition: 0.3s;
}
.carousel-indicators button.active {
    background-color: #fff !important;
    width: 35px !important;
}

.carousel-indicators {
    bottom: -40px;
}

.carousel-indicators [data-bs-target] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.4;
    border: none;
    margin: 0 4px;
    transition: 0.3s;
}

.carousel-indicators .active {
    width: 20px;
    border-radius: 10px;
    opacity: 1;
}

/* --- Responsive Mobile Viewport Frame for PC / Desktop Screens --- */
@media (min-width: 576px) {
    html {
        background-color: #0b0f19 !important;
        background-image: radial-gradient(circle at 50% 0%, #1e293b 0%, #0b0f19 85%) !important;
        background-attachment: fixed !important;
        min-height: 100vh !important;
    }
    body {
        background: #ffffff !important;
        background-color: #ffffff !important;
        background-image: none !important;
        margin: 0 auto !important;
        max-width: 480px !important;
        min-height: 100vh !important;
        position: relative !important;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
    }
    .navbar-minimal {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        transform: none !important;
    }
    .mobile-drawer, 
    #searchOverlay {
        max-width: 480px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
    }
    #introSplash {
        max-width: 480px !important;
        width: 100% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
    }
    #introSplash.hidden {
        transform: translate(-50%, -100%) !important;
    }
    .intro-ui-overlay {
        max-width: 480px !important;
        margin: 0 auto !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    #topTickerBar,
    .bottom-nav-bar,
    #cartBar,
    .quick-checkout-bar {
        max-width: 480px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
    }
    .category-grid-dual {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
    .vertical-scroll-list {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* --- HIDE ALL BROWSER / NATIVE VIDEO CONTROLS & SKIP/PIP BUTTONS --- */
video::-webkit-media-controls,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-overlay-play-button,
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display,
video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-toggle-closed-captions-button,
video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-fullscreen-button,
video::-webkit-media-controls-picture-in-picture-button,
video::-webkit-media-controls-seek-back-button,
video::-webkit-media-controls-seek-forward-button,
video::-internal-media-controls-overlay-cast-button,
video::-internal-media-controls-download-button {
    display: none !important;
    -webkit-appearance: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
}

video {
    pointer-events: none !important;
}

.promo-img.video-slide,
.video-background {
    pointer-events: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}

