/* ================================================================
   OH!SOME STORE SHELL — HEADER, NAV, FOOTER, MODALS
   100% Matching Reference Video from ohsome.co.id
   Breakpoints: ≥1024 Desktop | 768-1023 Tablet | <768 Mobile
   ================================================================ */

/* ------ 0. KEYFRAMES & UTILITIES ------ */
@keyframes dropIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

/* ------ 1. OH!SOME MAIN HEADER ------ */
.ohsome-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: #FFFFFF;
    border-bottom: 1px solid #F0F0F0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.ohsome-header-top {
    border-bottom: 1px solid #F7F7F7;
}

.ohsome-header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Brand Logo (Exact OH!SOME Style) */
.ohsome-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}
.ohsome-logo-text {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #111315;
    line-height: 1;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.ohsome-logo-exclamation {
    color: #FFC700;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(255, 199, 0, 0.4));
}
.ohsome-brand-sub {
    font-size: 0.68rem;
    font-weight: 700;
    color: #9CA3AF;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Center Search Bar Container */
.ohsome-search-container {
    flex: 1;
    max-width: 480px;
    position: relative;
}
.ohsome-search-form {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1.5px solid #E5E7EB;
    border-radius: 999px;
    padding: 2px 3px 2px 16px;
    transition: all 0.2s ease;
}
.ohsome-search-form:focus-within {
    border-color: #FFC700;
    box-shadow: 0 0 0 3px rgba(255, 199, 0, 0.2);
}
.ohsome-search-form .search-icon {
    color: #9CA3AF;
    font-size: 0.9rem;
    margin-right: 6px;
    flex-shrink: 0;
}
.ohsome-search-form input {
    flex: 1;
    height: 38px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.88rem;
    color: #111315;
    font-family: inherit;
}
.ohsome-search-form input::placeholder {
    color: #9CA3AF;
}
.ohsome-search-clear-btn {
    background: none;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    padding: 0 6px;
    display: flex;
    align-items: center;
}
.ohsome-search-clear-btn:hover { color: #4B5563; }

.ohsome-search-btn {
    height: 36px;
    padding: 0 22px;
    border-radius: 999px;
    background: #FFD12F;
    color: #111315;
    font-size: 0.84rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, transform 0.15s;
    flex-shrink: 0;
}
.ohsome-search-btn:hover {
    background: #FCC800;
    transform: scale(1.02);
}

/* 2-Column Search Recommendations Popup */
.search-recommendations-popup {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #F0F0F0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    z-index: 600;
    max-height: 460px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s ease;
    transform: translateY(-6px);
}
.search-recommendations-popup.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.search-rec-quick-action {
    padding: 10px 12px 6px;
    border-bottom: 1px solid #F9FAFB;
}
.quick-search-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.82rem;
    color: #111315;
    font-family: inherit;
}
.quick-search-query { color: #B45309; font-weight: 700; }
.quick-search-sub { font-size: 0.74rem; color: #6B7280; margin-left: auto; font-weight: 600; }

.search-rec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px;
}
.search-rec-col { display: flex; flex-direction: column; min-width: 0; }
.search-rec-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 8px;
    margin-bottom: 6px;
}
.search-rec-col-header.terlaris-header {
    background: #FFF7ED;
    border: 1px solid #FED7AA;
}
.search-rec-col-header.rekomendasi-header {
    background: #FEF2F2;
    border: 1px solid #FECACA;
}
.rec-title {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    font-weight: 800;
}
.terlaris-header .rec-title { color: #EA580C; }
.rekomendasi-header .rec-title { color: #DC2626; }
.rec-badge { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.04em; color: #9CA3AF; }

.search-rec-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.search-rec-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 8px;
    border-radius: 7px;
    cursor: pointer;
    transition: background 0.15s;
}
.search-rec-item:hover { background: #F9FAFB; }
.rec-item-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}
.search-rank-medal, .search-rank-number {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.medal-svg { width: 20px; height: 20px; }
.search-rank-number { font-size: 0.8rem; font-weight: 700; color: #9CA3AF; }
.rec-keyword {
    font-size: 0.8rem;
    font-weight: 600;
    color: #111315;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rec-count { font-size: 0.72rem; font-weight: 600; color: #9CA3AF; margin-left: 4px; flex-shrink: 0; }
.search-rec-item.is-matching { background: #FFFBEB; }
.search-rec-item.is-matching .rec-keyword { color: #B45309; font-weight: 700; }

/* Right Actions */
.ohsome-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.ohsome-action-item {
    background: transparent;
    border: none;
    color: #111315;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s;
    font-family: inherit;
    white-space: nowrap;
}
.ohsome-action-item:hover {
    color: #D97706;
}
.ohsome-action-item .arrow-icon {
    font-size: 0.65rem;
    color: #9CA3AF;
    transition: transform 0.2s;
}
.ohsome-action-item.bell-btn {
    font-size: 1.25rem;
    padding: 6px;
    color: #111315;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ohsome-action-item.bell-btn:hover {
    color: #FFC700;
}
.bell-badge-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #EF4444;
    border: 1.5px solid #FFFFFF;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
    animation: bellDotPulse 2s infinite ease-in-out;
}
@keyframes bellDotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.85; }
}

/* Cart Icon & Badge */
.cart-icon-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 1.28rem;
    color: #111315;
}
.cart-badge-pill {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #EF4444;
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid #FFFFFF;
}

/* Mini Cart Dropdown */
.header-cart-wrapper { position: relative; }
.header-mini-cart-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #F0F0F0;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    z-index: 600;
    overflow: hidden;
    animation: dropIn 0.2s ease-out;
}
.mini-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #F3F4F6;
    background: #FAFAFA;
}
.mini-cart-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: #111315;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.mini-cart-count-text {
    font-size: 0.72rem;
    font-weight: 700;
    color: #6B7280;
    background: #F3F4F6;
    padding: 2px 8px;
    border-radius: 999px;
}
.mini-cart-body {
    max-height: 200px;
    overflow-y: auto;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mini-cart-item-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    background: #F9FAFB;
}
.mini-cart-item-thumb {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #E5E7EB;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mini-cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-cart-item-info { flex: 1; min-width: 0; }
.mini-cart-item-name {
    font-size: 0.76rem;
    font-weight: 700;
    color: #111315;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mini-cart-item-meta { font-size: 0.7rem; color: #6B7280; margin-top: 1px; }
.mini-cart-item-price { font-size: 0.74rem; font-weight: 800; color: #D97706; }
.mini-cart-empty { text-align: center; padding: 24px 0; color: #9CA3AF; }
.mini-cart-empty i { font-size: 2rem; display: block; margin-bottom: 6px; color: #D1D5DB; }
.mini-cart-empty p { font-size: 0.76rem; margin: 0; }
.mini-cart-footer {
    padding: 10px 16px 12px;
    border-top: 1px solid #F3F4F6;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mini-cart-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #374151;
}
.mini-cart-total-val { font-weight: 900; color: #111315; font-size: 0.88rem; }
.mini-cart-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px;
    border-radius: 8px;
    background: #FFD12F;
    color: #111315;
    font-weight: 800;
    font-size: 0.8rem;
    text-decoration: none;
    transition: background 0.15s;
}
.mini-cart-checkout-btn:hover { background: #FCC800; }

/* Language & User Dropdowns */
.ohsome-lang-wrapper, .ohsome-user-wrapper { position: relative; }
.ohsome-lang-dropdown, .header-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 180px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #F0F0F0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 600;
    padding: 6px;
    animation: dropIn 0.2s ease-out;
}
.lang-option {
    display: block;
    width: 100%;
    padding: 8px 12px;
    text-align: left;
    border: none;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}
.lang-option:hover, .lang-option.active { background: #FFFBEB; color: #D97706; font-weight: 700; }

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    width: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    box-sizing: border-box;
    transition: background 0.15s;
}
.user-menu-item:hover { background: #F9FAFB; color: #111315; }
.user-menu-item.logout-btn { color: #EF4444; }
.user-menu-item.logout-btn:hover { background: #FEF2F2; color: #DC2626; }
.user-menu-divider { height: 1px; background: #F3F4F6; margin: 4px 0; }

/* Sub-Header Horizontal Category Strip (Directly Below Main Header) */
.ohsome-nav-strip {
    background: #FFFFFF;
    border-bottom: 2px solid #FFD12F;
    position: relative;
}
.ohsome-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 42px;
    display: flex;
    align-items: center;
}
.ohsome-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    width: 100%;
}
.ohsome-nav-links::-webkit-scrollbar { display: none; }
.ohsome-nav-cat-item { flex-shrink: 0; }
.ohsome-nav-cat-link {
    font-size: 0.84rem;
    font-weight: 700;
    color: #111315;
    text-decoration: none;
    padding: 10px 0;
    display: inline-block;
    transition: color 0.15s;
    white-space: nowrap;
}
.ohsome-nav-cat-link:hover { color: #D97706; }

/* Mega Dropdown Panel on Hover */
.ohsome-mega-hover-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 2px solid #FFD12F;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    z-index: 550;
    padding: 24px 0;
    animation: dropIn 0.2s ease-out;
}
.ohsome-mega-hover-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.ohsome-mega-subcats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.mega-subcat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #111315;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.15s;
}
.mega-subcat-card:hover { background: #FFFBEB; }
.mega-subcat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #F9FAFB;
    border: 1px solid #F0F0F0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.mega-subcat-icon img { width: 100%; height: 100%; object-fit: cover; }
.mega-subcat-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
}

/* ------ 2. MODAL DIALOGS (Masuk & Region) ------ */
.ohsome-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: modalFadeIn 0.2s ease-out;
}
.ohsome-modal-backdrop[hidden] { display: none !important; }

.ohsome-modal-card {
    background: #FFFFFF;
    border-radius: 20px;
    width: 440px;
    max-width: 100%;
    padding: 32px 28px;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}
.ohsome-modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #F3F4F6;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #6B7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background 0.15s, color 0.15s;
}
.ohsome-modal-close-btn:hover { background: #E5E7EB; color: #111315; }

.ohsome-modal-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #111315;
    margin: 0 0 14px;
    text-align: center;
}

/* Modal Trust Row */
.ohsome-modal-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.modal-trust-pill {
    font-size: 0.72rem;
    font-weight: 700;
    color: #374151;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.text-green { color: #10B981 !important; }

/* Phone Form */
.ohsome-phone-form { display: flex; flex-direction: column; gap: 10px; }
.ohsome-phone-input-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid #D1D5DB;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.15s;
}
.ohsome-phone-input-wrap:focus-within {
    border-color: #FFC700;
    box-shadow: 0 0 0 3px rgba(255, 199, 0, 0.2);
}
.phone-prefix-select {
    background: #F9FAFB;
    border-right: 1.5px solid #E5E7EB;
    padding: 0 12px;
    height: 46px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 800;
    font-size: 0.88rem;
    color: #111315;
}
.phone-prefix-select .flag { font-size: 1.1rem; }
.phone-prefix-select .arrow-sm { font-size: 0.65rem; color: #9CA3AF; }

.ohsome-phone-input-wrap input {
    flex: 1;
    height: 46px;
    border: none;
    outline: none;
    padding: 0 14px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #111315;
}
.phone-hint-text {
    font-size: 0.72rem;
    color: #9CA3AF;
    margin: 2px 0 6px;
    line-height: 1.35;
}

.ohsome-terms-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.72rem;
    color: #6B7280;
    line-height: 1.4;
    cursor: pointer;
}
.ohsome-terms-label input { margin-top: 3px; accent-color: #FFD12F; }
.ohsome-terms-label a { color: #111315; text-decoration: underline; }

.btn-whatsapp-otp {
    width: 100%;
    height: 48px;
    border-radius: 10px;
    background: #25D366;
    color: #FFFFFF;
    border: none;
    font-size: 0.92rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: background 0.15s, transform 0.15s;
    font-family: inherit;
}
.btn-whatsapp-otp:hover {
    background: #20BD5A;
    transform: translateY(-1px);
}
.btn-whatsapp-otp i { font-size: 1.25rem; }

/* Cara Lain */
.ohsome-other-ways {
    margin-top: 24px;
    border-top: 1px solid #F3F4F6;
    padding-top: 18px;
    text-align: center;
}
.other-ways-label {
    font-size: 0.76rem;
    font-weight: 700;
    color: #9CA3AF;
}
.other-ways-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: 14px;
}
.other-way-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #4B5563;
    font-size: 0.74rem;
    font-weight: 700;
    transition: transform 0.15s;
}
.other-way-btn:hover { transform: translateY(-2px); color: #111315; }
.icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #FFFFFF;
}
.icon-circle.green { background: #10B981; }
.icon-circle.blue  { background: #3B82F6; }
.icon-circle.red   { background: #EA4335; }

/* Region Modal (Exact OH!SOME Style) */
.region-card { width: 380px; }
.region-radio-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0 20px;
    max-height: 280px;
    overflow-y: auto;
}
.region-radio-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1.5px solid #F3F4F6;
    background: #FAFAFA;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 700;
    color: #111315;
    transition: all 0.15s;
}
.region-radio-item:hover, .region-radio-item.active {
    border-color: #FFC700;
    background: #FFFBEB;
}
.region-radio-item input { accent-color: #FFC700; }
.region-radio-item .flag { font-size: 1.3rem; }
.region-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.btn-region-cancel {
    height: 42px;
    border-radius: 8px;
    background: #F3F4F6;
    color: #4B5563;
    border: none;
    font-weight: 800;
    cursor: pointer;
}
.btn-region-submit {
    height: 42px;
    border-radius: 8px;
    background: #FFD12F;
    color: #111315;
    border: none;
    font-weight: 800;
    cursor: pointer;
}

/* ========================================================
   OFF-CANVAS MOBILE NAVIGATION DRAWER
   ======================================================== */
.ohsome-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    animation: fadeIn 0.2s ease-out;
}
.ohsome-drawer-backdrop[hidden] {
    display: none !important;
}

.ohsome-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 86vw);
    height: 100%;
    background: #FFFFFF;
    z-index: 10001;
    box-shadow: -6px 0 32px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}
.ohsome-mobile-drawer.is-open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #F0F2F5;
}
.drawer-brand {
    text-decoration: none;
}
.drawer-logo-text {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #111315;
}
.drawer-logo-text .exclamation {
    color: #FFD12F;
    display: inline-block;
}
.drawer-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #F3F4F6;
    border: none;
    color: #4B5563;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.15s;
}
.drawer-close-btn:hover {
    background: #E5E7EB;
    color: #111315;
}

/* User Card in Drawer */
.drawer-user-card {
    background: #FAFAFB;
    border-bottom: 1px solid #F0F2F5;
    padding: 14px 20px;
}
.drawer-guest-info, .drawer-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.drawer-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFD12F;
    color: #111315;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.drawer-guest-info strong, .drawer-user-info strong {
    display: block;
    font-size: 0.86rem;
    color: #111315;
    font-weight: 800;
}
.drawer-guest-info span, .drawer-user-info span {
    display: block;
    font-size: 0.74rem;
    color: #6B7280;
}
.drawer-login-btn {
    width: 100%;
    height: 38px;
    border-radius: 10px;
    background: #111315;
    color: #FFFFFF;
    font-size: 0.84rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s;
}
.drawer-login-btn:hover {
    background: #000;
}
.drawer-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #111315;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
}

/* Drawer Body */
.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.drawer-section-title {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    padding-left: 6px;
}
.drawer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.drawer-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #374151;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.15s;
}
.drawer-nav-link i {
    font-size: 1.05rem;
    color: #6B7280;
    transition: color 0.15s;
}
.drawer-nav-link:hover, .drawer-nav-link.active {
    background: #FEF9C3;
    color: #854D0E;
}
.drawer-nav-link:hover i, .drawer-nav-link.active i {
    color: #CA8A04;
}
.drawer-nav-link.text-fire {
    color: #E11D48;
}
.drawer-nav-link.text-fire i {
    color: #E11D48;
}
.drawer-badge-fire {
    margin-left: auto;
    background: #E11D48;
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 6px;
}
.drawer-nav-link.text-wa {
    color: #16A34A;
}
.drawer-nav-link.text-wa i {
    color: #16A34A;
}
.drawer-nav-link.text-muted {
    color: #6B7280;
    font-size: 0.82rem;
}

/* Category Chips in Drawer */
.drawer-cats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 6px;
}
.drawer-cat-chip {
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #374151;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s;
}
.drawer-cat-chip:hover {
    background: #FFD12F;
    border-color: #FFD12F;
    color: #111315;
}

/* Drawer Footer */
.drawer-footer {
    padding: 14px 20px;
    border-top: 1px solid #F0F2F5;
    background: #FAFAFB;
}
.drawer-operating-hours {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #4B5563;
    margin-bottom: 4px;
}
.drawer-operating-hours i {
    color: #CA8A04;
}
.drawer-copyright {
    margin: 0;
    font-size: 0.7rem;
    color: #9CA3AF;
}

/* ========================================================
   NOTIFICATION & PROMO MODAL (Bell Click)
   ======================================================== */
.notification-card {
    width: 520px;
    max-width: 95vw;
    padding: 24px;
    border-radius: 20px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}
.notif-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F0F2F5;
}
.notif-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.notif-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #FEF9C3;
    color: #CA8A04;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.notif-modal-header .ohsome-modal-title {
    margin: 0;
    text-align: left;
    font-size: 1.15rem;
}
.notif-subtitle {
    font-size: 0.76rem;
    color: #6B7280;
    display: block;
}

.notif-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding-right: 4px;
    flex: 1;
}
.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #F9FAFB;
    border: 1px solid #F0F2F5;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s;
}
.notif-item.unread {
    background: #FEFCE8;
    border-color: #FEF08A;
}
.notif-link-item:hover {
    background: #FFFBEB;
    border-color: #FDE047;
    transform: translateY(-1px);
}
.notif-item-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.notif-item-icon.fire { background: #FFE4E6; color: #E11D48; }
.notif-item-icon.truck { background: #ECFDF5; color: #059669; }
.notif-item-icon.star { background: #FEF3C7; color: #D97706; }
.notif-item-icon.clock { background: #EFF6FF; color: #2563EB; }

.notif-item-content {
    flex: 1;
}
.notif-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3px;
    gap: 8px;
}
.notif-item-title {
    font-size: 0.84rem;
    font-weight: 800;
    color: #111315;
}
.notif-item-time {
    font-size: 0.68rem;
    color: #9CA3AF;
    white-space: nowrap;
}
.notif-item-desc {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #4B5563;
}

.notif-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #F0F2F5;
    gap: 10px;
}
.btn-mark-all-read {
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    color: #374151;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 7px 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
}
.btn-mark-all-read:hover {
    background: #E5E7EB;
    color: #111315;
}
.btn-close-notif {
    background: #FFD12F;
    border: none;
    border-radius: 8px;
    color: #111315;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 7px 16px;
    cursor: pointer;
    transition: all 0.15s;
}
.btn-close-notif:hover {
    background: #FFC700;
}

/* Mobile Hamburger Toggle */
.store-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1.5px solid #E5E7EB;
    border-radius: 10px;
    background: #fff;
    color: #374151;
    cursor: pointer;
    flex-shrink: 0;
}
.toggle-icon-bars {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 16px;
    height: 12px;
}
.toggle-icon-bars span {
    display: block;
    width: 100%;
    height: 2px;
    background: #374151;
    border-radius: 2px;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .desktop-only { display: none !important; }
    .store-menu-toggle { display: flex; }

    .ohsome-header-container {
        padding: 0 14px;
        height: auto;
        flex-wrap: wrap;
        gap: 8px;
        padding-top: 10px;
        padding-bottom: 8px;
    }
    .ohsome-brand { flex: 1; }
    .ohsome-logo-text { font-size: 1.45rem; }

    .ohsome-search-container {
        order: 10;
        width: 100%;
        max-width: 100%;
        margin-top: 4px;
    }
    .ohsome-nav-container { padding: 0 14px; }
    .ohsome-nav-links { gap: 16px; }
    .ohsome-nav-cat-link { font-size: 0.8rem; }
}

/* ================================================================
   3. OH!SOME FOOTER — Complete Style System
   Clean white + yellow top accent. Matches reference design.
   ================================================================ */

/* ---- Top Running Ticker Announcement Bar (Animated & Desktop-Optimized) ---- */
.ohsome-announce-bar {
    background: #0E1012;
    background: linear-gradient(90deg, #0B0D0F 0%, #15181C 50%, #0B0D0F 100%);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0;
    position: relative;
    z-index: 501;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(255, 209, 47, 0.16);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    height: 38px;
    display: flex;
    align-items: center;
    overflow: hidden;
    user-select: none;
    animation: entranceSlideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ohsome-ticker-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;
    /* Soft edge fade using CSS masking */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 36px, black calc(100% - 36px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 36px, black calc(100% - 36px), transparent 100%);
}

.ohsome-ticker-track {
    display: inline-flex;
    align-items: center;
    width: max-content;
    animation: tickerContinuous 28s linear infinite;
    will-change: transform;
}

.ohsome-announce-bar:hover .ohsome-ticker-track,
.ohsome-announce-bar:focus-within .ohsome-ticker-track {
    animation-play-state: paused;
}

@keyframes tickerContinuous {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.ohsome-ticker-content {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding-right: 28px;
    flex-shrink: 0;
}

.announce-time {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 209, 47, 0.12);
    border: 1px solid rgba(255, 209, 47, 0.32);
    padding: 3px 10px;
    border-radius: 999px;
    color: #FFD12F;
    font-weight: 750;
    font-size: 0.74rem;
}

.announce-time i {
    font-size: 0.8rem;
    color: #FFD12F;
}

.pulse-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: livePulse 2s infinite ease-out;
}

@keyframes livePulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.announce-trust-item,
.announce-sync-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #F3F4F6;
    font-size: 0.76rem;
}
.announce-trust-item i { color: #34D399; font-size: 0.82rem; }
.announce-sync-item i { color: #60A5FA; font-size: 0.82rem; }

.announce-sep {
    color: #FFD12F;
    opacity: 0.6;
    font-size: 0.7rem;
}

.announce-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFD12F;
    color: #111315 !important;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(255, 209, 47, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.announce-cta-btn:hover {
    background: #FFDE59;
    transform: scale(1.06);
    box-shadow: 0 4px 14px rgba(255, 209, 47, 0.55);
    text-decoration: none !important;
}

.announce-cta-btn i {
    font-size: 0.78rem;
    transition: transform 0.2s ease;
}
.announce-cta-btn:hover i {
    transform: translateX(3px);
}

/* Page Entrance Keyframe Animations */
@keyframes entranceSlideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes entranceFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes entranceZoomFade {
    from {
        opacity: 0;
        transform: scale(0.97) translateY(14px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Desktop layout enhancement */
@media (min-width: 1024px) {
    .ohsome-announce-bar {
        height: 40px;
        font-size: 0.8rem;
    }
    .ohsome-ticker-content {
        gap: 36px;
        padding-right: 36px;
    }
    .announce-time {
        font-size: 0.76rem;
        padding: 4px 12px;
    }
    .announce-cta-btn {
        padding: 4px 14px;
        font-size: 0.76rem;
    }
}

/* ---- Main Footer ---- */
/* ================================================================
   OH!SOME MODERN E-COMMERCE FOOTER (Desktop & Mobile Optimized)
   ================================================================ */
.ohsome-footer {
    background: #FFFFFF;
    border-top: 3px solid #FFD12F;
    margin-top: 44px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
    box-sizing: border-box;
}

/* ---- Top Footer Highlights Strip ---- */
.footer-features-strip {
    background: #FAFAFB;
    border-bottom: 1px solid #F0F2F5;
}
.footer-features-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.footer-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-feature-item i {
    font-size: 1.5rem;
    color: #FFB800;
    flex-shrink: 0;
}
.footer-feature-item div {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.footer-feature-item strong {
    font-size: 0.84rem;
    font-weight: 700;
    color: #111315;
}
.footer-feature-item span {
    font-size: 0.74rem;
    color: #6B7280;
}

/* ---- Main Footer Container ---- */
.ohsome-footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 44px 24px 36px;
    display: grid;
    grid-template-columns: 1.6fr 1.1fr 1.1fr 1.4fr;
    gap: 40px;
    align-items: start;
    box-sizing: border-box;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* ---- Col 1: Brand & CS ---- */
.footer-brand {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
    margin-bottom: 12px;
}
.footer-logo-text {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #111315;
    line-height: 1;
}
.footer-logo-text .exclamation {
    color: #FFD12F;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(255, 199, 0, 0.5));
}
.footer-brand-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: #4B5563;
    margin: 0 0 14px;
    max-width: 320px;
}
.footer-hours-badge {
    background: #FEF9C3;
    border: 1px solid #FDE047;
    color: #854D0E;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 16px;
    width: fit-content;
}
.footer-hours-badge i { font-size: 0.88rem; color: #CA8A04; }
.footer-cs-btn {
    background: #25D366;
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 10px 18px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.28);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    width: fit-content;
}
.footer-cs-btn:hover {
    background: #1EBE5D;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.38);
}
.footer-cs-btn i { font-size: 1.05rem; }

/* ---- Col 2 & 3: Links ---- */
.footer-col-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: #111315;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 16px;
    padding-bottom: 8px;
    position: relative;
}
.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 26px;
    height: 2.5px;
    background: #FFD12F;
    border-radius: 2px;
}
.footer-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.footer-links-list li a {
    font-size: 0.86rem;
    font-weight: 500;
    color: #4B5563;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.15s, transform 0.15s;
}
.footer-links-list li a i {
    font-size: 0.82rem;
    color: #9CA3AF;
    transition: color 0.15s;
}
.footer-links-list li a:hover {
    color: #D97706;
    transform: translateX(3px);
}
.footer-links-list li a:hover i {
    color: #D97706;
}
.footer-staff-text-link {
    color: #6B7280 !important;
    font-size: 0.82rem !important;
    border-top: 1px dashed #E5E7EB;
    padding-top: 10px;
    margin-top: 4px;
}
.footer-staff-text-link:hover { color: #111315 !important; }

/* ---- Col 4: Scan App & Payment Badges ---- */
.footer-app-subtitle {
    font-size: 0.8rem;
    color: #6B7280;
    margin: -6px 0 14px;
    line-height: 1.45;
}
.footer-qr-container {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.qr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 10px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 96px;
    box-sizing: border-box;
}
.qr-card:hover {
    border-color: #FFD12F;
    box-shadow: 0 4px 16px rgba(255, 199, 0, 0.2);
    transform: translateY(-2px);
}
.qr-code-box {
    width: 82px;
    height: 82px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 4px;
    box-sizing: border-box;
    overflow: hidden;
}
.qr-svg {
    width: 100%;
    height: 100%;
    display: block;
}
.qr-platform-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 800;
    color: #111315;
}
.qr-platform-label i { font-size: 0.95rem; }

/* Payment Badges Wrap */
.footer-payment-strip {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #F0F2F5;
}
.payment-title {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.payment-badges-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.pay-chip {
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 0.68rem;
    font-weight: 800;
    color: #374151;
    letter-spacing: 0.02em;
    transition: background 0.15s, border-color 0.15s;
}
.pay-chip:hover {
    background: #FFFFFF;
    border-color: #D1D5DB;
    color: #111315;
}

/* ---- Bottom Copyright & Security Line ---- */
.ohsome-footer-bottom {
    background: #F9FAFB;
    border-top: 1px solid #E5E7EB;
}
.ohsome-bottom-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.copyright-text {
    font-size: 0.8rem;
    color: #6B7280;
    margin: 0;
    font-weight: 500;
}
.copyright-text strong {
    color: #111315;
}
.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.footer-legal-links a {
    font-size: 0.78rem;
    font-weight: 600;
    color: #6B7280;
    text-decoration: none;
    transition: color 0.15s;
}
.footer-legal-links a:hover { color: #111315; }
.footer-legal-links .sep {
    color: #D1D5DB;
    font-size: 0.75rem;
}

/* ================================================================
   FOOTER RESPONSIVE (Tablet & Mobile)
   ================================================================ */
@media (max-width: 1024px) {
    .ohsome-footer-container {
        grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
        gap: 28px;
        padding: 36px 20px 28px;
    }
    .footer-features-container {
        padding: 14px 20px;
        gap: 14px;
    }
}

@media (max-width: 767px) {
    .ohsome-footer {
        margin-top: 32px;
    }
    
    /* Features Strip on Mobile: 2x2 Clean Grid */
    .footer-features-container {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 14px 16px;
    }
    .footer-feature-item {
        gap: 9px;
    }
    .footer-feature-item i {
        font-size: 1.25rem;
    }
    .footer-feature-item strong {
        font-size: 0.76rem;
    }
    .footer-feature-item span {
        display: none; /* Keep mobile view compact */
    }

    /* Main Container: Brand full-width, Links 2-columns, App full-width */
    .ohsome-footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
        padding: 24px 16px 20px;
    }
    .footer-brand-col {
        grid-column: 1 / -1;
    }
    .footer-logo-text { font-size: 1.7rem; }
    .footer-brand-desc {
        max-width: 100%;
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    .footer-hours-badge {
        font-size: 0.74rem;
        padding: 5px 10px;
        margin-bottom: 14px;
    }
    .footer-cs-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 14px;
        font-size: 0.82rem;
    }

    /* Links columns side-by-side on mobile */
    .footer-links-col {
        grid-column: span 1;
    }
    .footer-col-title {
        font-size: 0.76rem;
        margin-bottom: 12px;
    }
    .footer-links-list {
        gap: 9px;
    }
    .footer-links-list li a {
        font-size: 0.78rem;
        gap: 6px;
    }

    /* App Col full-width */
    .footer-app-col {
        grid-column: 1 / -1;
        padding-top: 8px;
        border-top: 1px dashed #E5E7EB;
    }
    .footer-qr-container {
        gap: 10px;
    }
    .qr-card {
        min-width: 86px;
        padding: 8px;
        flex: 1;
    }
    .qr-code-box {
        width: 68px;
        height: 68px;
        margin: 0 auto;
    }
    .qr-platform-label {
        font-size: 0.74rem;
    }

    /* Bottom copyright bar: respect mobile bottom nav safe area */
    .ohsome-footer-bottom {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    }
    .ohsome-bottom-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 14px 16px;
        gap: 10px;
    }
    .copyright-text {
        font-size: 0.74rem;
    }
    .footer-legal-links {
        justify-content: center;
        gap: 6px;
        font-size: 0.72rem;
    }

    .ohsome-announce-bar {
        height: 36px;
    }
    .ohsome-ticker-track {
        animation-duration: 22s;
    }
    .ohsome-ticker-content {
        gap: 18px;
        padding-right: 18px;
    }
    .announce-trust-item, .announce-sync-item {
        font-size: 0.72rem;
    }
}
