/* ============================================
   RESPONSIVE CSS — kunava
   Breakpoints: 1024px (small desktop), 768px (tablet), 480px (mobile)
   ============================================ */

/* ============================================
   MOBILE BOTTOM TAB BAR
   ============================================ */
.mob-tabbar,
.mob-sheet,
.mob-sheet-backdrop,
.mob-quick,
.mob-user-popup {
    display: none;
}

@media (max-width: 768px) {
    .mob-tabbar {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 64px !important;
        background: rgba(14, 12, 10, 0.95) !important;
        backdrop-filter: blur(20px) saturate(150%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
        border-top: 1px solid rgba(245, 158, 11, 0.12) !important;
        z-index: 999999 !important;
        padding: 0 4px !important;
        padding-bottom: env(safe-area-inset-bottom, 0) !important;
        align-items: center !important;
        justify-content: space-around !important;
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4) !important;
    }

    .mob-tab {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        flex: 1;
        height: 100%;
        text-decoration: none;
        color: #78716c;
        font-size: 10px;
        font-weight: 500;
        font-family: inherit;
        transition: all 200ms ease;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        -webkit-tap-highlight-color: transparent;
        position: relative;
    }

    .mob-tab [data-lucide] {
        width: 20px;
        height: 20px;
        stroke-width: 1.8;
        transition: all 200ms ease;
    }

    .mob-tab.on {
        color: #f59e0b;
    }

    .mob-tab.on::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 24px;
        height: 2px;
        background: #f59e0b;
        border-radius: 0 0 4px 4px;
    }

    .mob-tab.on [data-lucide] {
        filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.4));
    }

    .mob-tab:active {
        transform: scale(0.92);
    }

    /* Page content padding to avoid bottom bar overlap */
    body {
        padding-bottom: 72px !important;
    }

    .foot {
        padding-bottom: 80px !important;
    }

    /* Hide old hamburger button - replaced by bottom tab bar */
    .mob-tog {
        display: none !important;
    }

    /* ── BOTTOM SHEET ── */
    .mob-sheet-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 9999998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 300ms ease, visibility 300ms ease;
    }

    .mob-sheet-backdrop.open {
        opacity: 1;
        visibility: visible;
    }

    .mob-sheet {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(22, 20, 17, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        z-index: 9999999;
        padding: 8px 16px 24px;
        transform: translateY(100%);
        transition: transform 350ms cubic-bezier(0.32, 0.72, 0, 1), visibility 0ms linear 350ms;
        box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
        border-top: 1px solid rgba(245, 158, 11, 0.15);
        max-height: 70vh;
        overflow-y: auto;
        visibility: hidden;
        pointer-events: none;
    }

    .mob-sheet.open {
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
        transition: transform 350ms cubic-bezier(0.32, 0.72, 0, 1), visibility 0ms linear 0ms;
    }

    .mob-sheet-handle {
        width: 36px;
        height: 4px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 4px;
        margin: 0 auto 8px;
    }

    .mob-sheet-item {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 12px 16px;
        border-radius: 12px;
        color: #d6d3d1;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        transition: background 200ms ease;
    }

    .mob-sheet-item:active,
    .mob-sheet-item:hover {
        background: rgba(245, 158, 11, 0.08);
    }

    .mob-sheet-item [data-lucide] {
        width: 20px;
        height: 20px;
        color: #a8a29e;
        flex-shrink: 0;
    }

    /* ── Profile Header ── */
    .mob-sheet-profile {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 8px 16px 12px;
    }

    .mob-sheet-avatar {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: linear-gradient(135deg, #f59e0b, #d97706);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: 700;
        color: #1c1917;
        flex-shrink: 0;
    }

    .mob-sheet-user {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
    }

    .mob-sheet-name {
        font-size: 14px;
        font-weight: 600;
        color: #e7e5e4;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mob-sheet-pts {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 13px;
        color: #f59e0b;
        text-decoration: none;
        font-weight: 600;
    }

    /* ── Divider ── */
    .mob-sheet-divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.06);
        margin: 6px 16px;
    }

    /* ── Badges ── */
    .mob-sheet-badge {
        margin-left: auto;
        background: #f59e0b;
        color: #1c1917;
        border-radius: 10px;
        min-width: 20px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 700;
        padding: 0 6px;
    }

    .mob-sheet-badge.red {
        background: #ef4444;
        color: #fff;
    }

    /* ── Language Switcher ── */
    .mob-sheet-lang {
        display: flex;
        gap: 8px;
        padding: 8px 16px;
    }

    .mob-sheet-lang-btn {
        flex: 1;
        text-align: center;
        padding: 10px 0;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        color: #78716c;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.06);
        transition: all 200ms ease;
    }

    .mob-sheet-lang-btn.on {
        color: #f59e0b;
        background: rgba(245, 158, 11, 0.1);
        border-color: rgba(245, 158, 11, 0.2);
    }
}

/* ─── TABLET (≤ 1024px) ──────────────────────── */
@media (max-width: 1024px) {
    .ctn {
        padding: 0 30px !important;
    }

    .foot .ctn {
        padding: 0 30px !important;
    }

    .fgrid {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }
}

/* ─── APP-LIKE MOBILE (≤ 768px) ──────────────── */
@media (max-width: 768px) {

    /* ── HIDE UTILITY BAR (apps don't have this) ── */
    .ubar {
        display: none !important;
    }

    /* ── SIMPLIFIED TOP NAVBAR ── */
    .nav {
        top: 0 !important;
        z-index: 99999 !important;
        overflow: visible !important;
        height: 52px !important;
    }

    .nav .ctn {
        padding: 0 12px !important;
        overflow: visible !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .nav-links {
        display: none !important;
    }

    .nav-sub-info {
        display: none !important;
    }

    /* Hide old hamburger button — replaced by bottom tab bar */
    .mob-tog {
        display: none !important;
    }

    /* ── MOBILE QUICK ACTIONS (in top navbar) ── */
    .mob-quick {
        display: flex !important;
        align-items: center;
        gap: 6px;
    }

    .mob-quick-login {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 7px 16px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(245, 158, 11, 0.3);
        color: #f59e0b;
        font-size: 11px;
        font-weight: 700;
        font-family: inherit;
        text-decoration: none;
        white-space: nowrap;
        transition: all 200ms;
    }

    .mob-quick-login:active {
        transform: scale(0.95);
        box-shadow: 0 1px 4px rgba(245, 158, 11, 0.2);
    }

    .mob-quick-btn {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.06);
        color: #a8a29e;
        text-decoration: none;
        transition: all 200ms;
        -webkit-tap-highlight-color: transparent;
    }

    .mob-quick-btn:active {
        transform: scale(0.92);
        background: rgba(245, 158, 11, 0.1);
    }

    .mob-quick-btn [data-lucide] {
        width: 18px;
        height: 18px;
    }

    .mob-quick-dot {
        position: absolute;
        top: 2px;
        right: 2px;
        min-width: 16px;
        height: 16px;
        border-radius: 8px;
        background: #f59e0b;
        color: #1c1917;
        font-size: 9px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
        line-height: 1;
    }

    .mob-quick-dot.red {
        background: #ef4444;
        color: #fff;
    }

    .mob-quick-pts {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 4px 10px;
        border-radius: 10px;
        background: rgba(245, 158, 11, 0.08);
        border: 1px solid rgba(245, 158, 11, 0.15);
        text-decoration: none;
        transition: all 200ms;
        -webkit-tap-highlight-color: transparent;
    }

    .mob-quick-pts:active {
        transform: scale(0.95);
    }

    .mob-quick-pts-val {
        font-size: 12px;
        font-weight: 700;
        color: #f59e0b;
        font-family: system-ui, -apple-system, sans-serif;
    }

    .mob-quick-pts [data-lucide] {
        width: 14px;
        height: 14px;
        color: #f59e0b;
    }

    .mob-quick-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: linear-gradient(135deg, #f59e0b, #d97706);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 700;
        color: #1c1917;
        text-decoration: none;
        flex-shrink: 0;
        transition: transform 200ms;
    }

    .mob-quick-avatar:active {
        transform: scale(0.9);
    }

    /* ── USER PROFILE POPUP ── */
    .mob-user-popup {
        display: none;
        position: absolute;
        top: 54px;
        left: 12px;
        right: auto;
        width: 280px;
        max-height: calc(100vh - 130px);
        overflow-y: auto;
        background: rgba(22, 20, 17, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-radius: 16px;
        border: 1px solid rgba(245, 158, 11, 0.12);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
        padding: 16px;
        z-index: 9999999;
        animation: popupSlide 250ms cubic-bezier(0.32, 0.72, 0, 1);
    }

    .mob-user-popup.open {
        display: block;
    }

    @keyframes popupSlide {
        from {
            opacity: 0;
            transform: translateY(-8px) scale(0.96);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    /* Popup Header */
    .mob-user-popup-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 4px;
    }

    .mob-user-popup-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, #f59e0b, #d97706);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: 700;
        color: #1c1917;
        flex-shrink: 0;
    }

    .mob-user-popup-info {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .mob-user-popup-name {
        font-size: 14px;
        font-weight: 600;
        color: #e7e5e4;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mob-user-popup-email {
        font-size: 11px;
        color: #78716c;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Popup Divider */
    .mob-user-popup-divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.06);
        margin: 10px 0;
    }

    /* Plan Info */
    .mob-user-popup-plan {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mob-user-popup-plan-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mob-user-popup-plan-label {
        font-size: 12px;
        color: #78716c;
    }

    .mob-user-popup-plan-name {
        font-size: 13px;
        font-weight: 700;
        color: #f59e0b;
    }

    .mob-user-popup-plan-date {
        font-size: 12px;
        color: #a8a29e;
        direction: ltr;
        font-family: system-ui, -apple-system, sans-serif;
    }

    .mob-user-popup-plan-pts {
        font-size: 13px;
        font-weight: 700;
        color: #f59e0b;
        text-decoration: none;
        font-family: system-ui, -apple-system, sans-serif;
    }

    /* Popup Items */
    .mob-user-popup-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 8px;
        border-radius: 10px;
        color: #d6d3d1;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: background 200ms;
    }

    .mob-user-popup-item:active,
    .mob-user-popup-item:hover {
        background: rgba(245, 158, 11, 0.08);
    }

    .mob-user-popup-item [data-lucide] {
        width: 18px;
        height: 18px;
        color: #a8a29e;
        flex-shrink: 0;
    }

    .mob-user-popup-item.logout {
        color: #f43f5e;
    }

    .mob-user-popup-item.logout [data-lucide] {
        color: #f43f5e;
    }

    /* ── CONTENT AREA ADJUSTMENT ── */
    body {
        padding-top: 56px !important;
        padding-bottom: 72px !important;
    }

    .foot {
        padding-bottom: 80px !important;
    }

    /* Fix content that uses fixed top margin for ubar+nav */
    .main-content,
    main,
    .page-content,
    .ed-page {
        margin-top: 0 !important;
    }

    /* Sections full-width on mobile */
    .ctn {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* ── PER-PAGE TOP SPACING FIXES ── */

    /* Events – reduce hero gap */
    .events-page {
        padding-top: 8px !important;
    }

    .ev-hero {
        padding: 24px 16px 20px !important;
    }

    /* Account – reduce top whitespace */
    .acc-wrap {
        padding-top: 16px !important;
    }

    /* Workspace editor – ensure content isn't hidden */
    body.workspace-body {
        padding-top: 56px !important;
    }

    /* Support hero – tighten gap */
    .support-hero {
        padding-top: 20px !important;
        padding-bottom: 16px !important;
    }

    /* Topup hero – tighten gap */
    .topup-hero,
    .topup-header {
        padding-top: 20px !important;
    }

    /* ── GLOBAL TEXT SCALING FOR MOBILE ── */
    h1 {
        font-size: clamp(1.2rem, 5vw, 1.8rem) !important;
    }

    h2 {
        font-size: clamp(1rem, 4vw, 1.4rem) !important;
    }

    h3 {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem) !important;
    }

    /* Events hero title */
    .ev-hero h1 {
        font-size: clamp(1.3rem, 6vw, 1.8rem) !important;
    }

    .ev-hero p {
        font-size: 13px !important;
    }

    /* Support hero */
    .support-hero h1 {
        font-size: clamp(1.3rem, 6vw, 1.8rem) !important;
    }

    /* Topup title */
    .topup-hero h1,
    .topup-header h1 {
        font-size: clamp(1.3rem, 6vw, 1.8rem) !important;
    }

    /* ── HIDE FLOATING TOOLS BAR ── */
    .ftbar {
        display: none !important;
    }

    /* ── PRODUCT MODAL — MOBILE ── */
    .mo {
        align-items: center !important;
        padding: 16px !important;
    }

    .mc {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 16px !important;
        max-height: 88vh !important;
        overflow-y: auto !important;
    }

    .mc-prod {
        max-width: 100% !important;
    }

    /* Close button */
    .mc-prod .mx {
        top: 8px !important;
        left: 8px !important;
        width: 28px !important;
        height: 28px !important;
        z-index: 10 !important;
    }

    .mc-prod .mx [data-lucide] {
        width: 14px !important;
        height: 14px !important;
    }

    /* Body layout — preview LEFT as vertical rectangle, details RIGHT, related FULL WIDTH below */
    .mp-body {
        flex-direction: row-reverse !important;
        flex-wrap: wrap !important;
        gap: 0 !important;
        padding: 0 !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        max-height: 88vh !important;
    }

    /* Preview area — vertical rectangle on left side */
    .mp-right {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        min-width: 0 !important;
        align-self: flex-start !important;
    }

    .mp-prev {
        width: 100% !important;
        aspect-ratio: 3/6.7 !important;
        max-height: 60vh !important;
        border-radius: 0 16px 0 0 !important;
        min-height: 0 !important;
        height: auto !important;
    }

    .mp-prev svg {
        width: 50% !important;
        height: 50% !important;
    }

    .mp-prev-content {
        width: 100% !important;
        height: 100% !important;
    }

    /* Details section — right side, no scroll (parent scrolls) */
    .mp-det {
        flex: 1 1 50% !important;
        min-width: 0 !important;
        width: auto !important;
        padding: 14px 14px 14px 12px !important;
        overflow-y: visible !important;
        max-height: none !important;
    }

    /* Product title */
    .mp-det-head {
        margin-bottom: 8px !important;
        gap: 6px !important;
    }

    .mp-det-head h2 {
        font-size: 15px !important;
        line-height: 1.4 !important;
    }

    .mp-cat-badge {
        font-size: 10px !important;
        padding: 2px 8px !important;
    }

    /* Tags row */
    .mp-tags-row {
        gap: 4px !important;
        margin-bottom: 8px !important;
    }

    .mp-tag-pill {
        font-size: 9px !important;
        padding: 2px 6px !important;
    }

    .ptag {
        font-size: 10px !important;
        padding: 3px 8px !important;
    }

    /* Info grid (attributes table) */
    .mp-info-grid {
        font-size: 11px !important;
        margin-bottom: 8px !important;
    }

    .mdr {
        padding: 5px 0 !important;
        font-size: 11px !important;
    }

    /* Price — MUCH smaller on mobile */
    .mp-pr {
        font-size: 16px !important;
        padding: 6px 0 !important;
        font-weight: 800 !important;
    }

    /* Source note */
    .mp-note-source {
        font-size: 10px !important;
        margin-bottom: 8px !important;
    }

    /* Action buttons — compact */
    .mp-acts {
        flex-direction: column !important;
        gap: 6px !important;
        padding: 6px 0 !important;
    }

    .mp-acts .ma {
        width: 100% !important;
        padding: 10px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
    }

    .mp-acts .ma [data-lucide] {
        width: 14px !important;
        height: 14px !important;
    }

    /* Secondary actions (favorites) — compact */
    .mp-secondary-acts {
        flex-direction: column !important;
        gap: 4px !important;
        margin-bottom: 8px !important;
    }

    .ma-sm {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }

    /* Formats info bar */
    .mp-formats-bar {
        padding: 8px 10px !important;
        font-size: 10px !important;
        margin-bottom: 6px !important;
        border-radius: 8px !important;
    }

    .mp-rights-bar {
        padding: 8px 10px !important;
        font-size: 10px !important;
    }

    /* Related recommendations — FULL WIDTH below both columns */
    .mrel,
    .mp-mrel {
        padding: 12px 16px 20px !important;
        margin-top: 0 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .mrel h3 {
        font-size: 13px !important;
        margin-bottom: 8px !important;
    }

    .mp-mrel .mrel-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 6px !important;
    }

    .mrel-item {
        border-radius: 8px !important;
    }
    /* Show only 1 row (4 items) */
    .mp-mrel .mrel-grid .mrel-item:nth-child(n+5) {
        display: none !important;
    }

    /* Download modal — compact */
    .mc-dl-body {
        padding: 16px !important;
    }

    .mc-dl-body h2 {
        font-size: 15px !important;
    }


    /* ── FOOTER ── */
    .fgrid {
        grid-template-columns: 1fr 1fr !important;
        gap: 24px !important;
    }

    .fbot {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .fbot-links {
        justify-content: center;
    }

    .foot .ctn {
        padding: 0 20px !important;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* ── HERO BANNER — prevent overlap with navbar ── */
    .hero {
        margin-top: 0 !important;
        position: relative !important;
        z-index: 0 !important;
    }

    /* ── SECTION HEADERS — scale down ── */
    .sh h2 {
        font-size: 14px !important;
    }
    .sh h2 [data-lucide] {
        width: 16px !important;
        height: 16px !important;
    }

    /* ── EVENT CARDS — compact for mobile ── */
    .ecard {
        width: 120px !important;
        min-width: 120px !important;
        padding: 10px 12px !important;
        border-radius: 10px !important;
        gap: 2px !important;
    }
    .ecard .en {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }
    .ecard .ed {
        font-size: 9px !important;
    }
    .ecard .er {
        font-size: 8px !important;
        padding: 3px 7px !important;
        gap: 3px !important;
    }
    .ecard .er .er-num {
        font-size: 10px !important;
    }
    .ecard .er [data-lucide] {
        width: 9px !important;
        height: 9px !important;
    }

    /* ── FOOTER — scale headings and brand ── */
    .foot h3 {
        font-size: 14px !important;
    }
    .foot a, .foot li {
        font-size: 12px !important;
    }
    .fbrand img,
    .fbrand .logo-text {
        max-width: 120px !important;
        height: auto !important;
    }
    .fbrand {
        font-size: 13px !important;
    }
    .fbrand p {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }
    .fbot {
        font-size: 11px !important;
    }
    .fbot a {
        font-size: 11px !important;
    }
}

/* ─── SMALL MOBILE (≤ 480px) ───────────────────── */
@media (max-width: 480px) {

    /* -- Footer single column -- */
    .fgrid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .fbrand p {
        max-width: 100%;
    }

    .foot .ctn {
        padding: 0 16px !important;
    }
}

/* ============================================
   GIFTS STORE (index.php) — Responsive
   ============================================ */
@media (max-width: 768px) {

    /* -- Hero Banner / Slider -- */
    .hero {
        max-height: 220px !important;
        overflow: hidden;
    }

    .hero-wrap {
        max-height: 220px !important;
    }

    .h-slide img,
    .h-slide video {
        object-fit: cover !important;
        width: 100% !important;
        height: 220px !important;
    }

    /* -- Hero Nav Dots & Arrows -- */
    .h-dots {
        bottom: 12px !important;
        gap: 4px !important;
    }
    .h-dots span {
        width: 6px !important;
        height: 6px !important;
    }
    .h-dots span.on {
        width: 16px !important;
    }
    .h-nav {
        width: 24px !important;
        height: 24px !important;
        font-size: 12px !important;
    }

    /* -- Category Bar -- */
    .cat-bar {
        margin-top: 0 !important;
        padding: 10px 0 8px !important;
    }

    .cat-bar-inner {
        padding: 0 12px !important;
        gap: 6px !important;
    }

    .cat-tab {
        font-size: 11px !important;
        padding: 6px 12px !important;
        white-space: nowrap;
    }

    /* -- Events Strip (Living Occasions) -- */
    .estrip .ctn {
        margin: 0 12px !important;
        padding: 4px 0 !important;
    }

    .ecard {
        width: 140px !important;
        min-width: 140px !important;
        padding: 10px 12px !important;
        border-radius: 10px !important;
        gap: 3px !important;
    }

    .ecard .en {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    .ecard .ed {
        font-size: 10px !important;
    }

    .ecard .er {
        font-size: 9px !important;
        padding: 3px 8px !important;
    }
    .ecard .er .er-num {
        font-size: 11px !important;
    }

    /* -- Filter Bar -- */
    .fbar {
        margin: 0 !important;
        border-radius: 12px !important;
    }

    .fbar-header {
        flex-wrap: wrap !important;
        padding: 10px 12px !important;
        gap: 8px !important;
    }

    .fbar-title {
        font-size: 11px !important;
        gap: 5px !important;
    }
    .fbar-title [data-lucide] {
        width: 14px !important;
        height: 14px !important;
    }

    .fbar-count {
        font-size: 9px !important;
        padding: 2px 8px !important;
    }

    .fbar-quick {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap !important;
        gap: 4px !important;
        flex: 0 0 100% !important;
        order: 3 !important;
    }

    .fbar-quick::-webkit-scrollbar {
        display: none;
    }

    .fchip {
        white-space: nowrap;
        font-size: 10px !important;
        padding: 4px 10px !important;
    }

    .fbar-btn {
        font-size: 10px !important;
        padding: 5px 10px !important;
        gap: 4px !important;
        margin-right: auto !important;
    }
    .fbar-btn [data-lucide] {
        width: 12px !important;
        height: 12px !important;
    }

    .fbar-body .frow {
        flex-wrap: wrap;
    }

    /* -- Products Grid (7-col → 3-col) -- */
    .pgrid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
        padding: 0 8px !important;
    }

    .pcard {
        font-size: 11px;
    }

    .pcard .pname {
        font-size: 10px !important;
    }

    /* -- Section Headers -- */
    .section-header,
    .shd {
        padding: 0 12px !important;
        flex-wrap: wrap;
        gap: 8px;
    }

    /* -- Preview row grid (6-col → 3-col) -- */
    .prow {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    /* -- Related items grid (4-col → 2-col) -- */
    .mrel-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    /* -- Announcement features (3-col → 1-col) -- */
    .ann-feats {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .hero {
        max-height: 180px !important;
    }

    .hero-wrap {
        max-height: 180px !important;
    }

    .h-slide img,
    .h-slide video {
        object-fit: cover !important;
        width: 100% !important;
        height: 180px !important;
    }

    .cat-bar {
        margin-top: 0 !important;
    }

    .estrip .ctn {
        margin: 0 8px !important;
    }

    .ecard {
        width: 140px !important;
        padding: 10px 12px !important;
    }

    .pgrid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .prow {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .mrel-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ============================================
   EVENTS PAGE — Responsive
   ============================================ */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .event-card {
        max-width: 100% !important;
    }

    .countdown-row {
        gap: 8px;
    }

    .countdown-box {
        min-width: 60px;
        padding: 10px 8px;
    }

    .countdown-box .num {
        font-size: 20px;
    }
}

/* ============================================
   EVENT DESIGNS — Responsive
   ============================================ */
@media (max-width: 768px) {
    .designs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .designs-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   TOPUP — Responsive
   ============================================ */
@media (max-width: 768px) {
    .topup-section {
        padding: 20px 16px;
    }

    .topup-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .topup-card {
        padding: 20px 16px;
    }
}

@media (max-width: 480px) {
    .topup-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   SUPPORT — Responsive
   ============================================ */
@media (max-width: 768px) {
    .support-section {
        padding: 20px 16px;
    }

    .ticket-form {
        padding: 20px;
    }

    .tickets-list .ticket-item {
        padding: 14px;
    }
}

/* ============================================
   PREVIEW — Responsive
   ============================================ */
@media (max-width: 768px) {
    .pv-main {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .pv-left,
    .pv-right {
        width: 100% !important;
        max-width: 100% !important;
    }

    .preview-main {
        flex-direction: column !important;
    }

    .preview-sidebar {
        width: 100% !important;
        max-width: 100% !important;
    }

    .preview-content {
        width: 100% !important;
    }

    .device-selector {
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* ============================================
   ABOUT — Responsive
   ============================================ */
@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .about-stat {
        min-width: 120px;
        text-align: center;
    }

    .about-section {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   TERMS / PRIVACY / REFUND — Responsive
   ============================================ */
@media (max-width: 768px) {
    .legal-tabs {
        flex-wrap: wrap;
        gap: 6px;
    }

    .legal-tabs a {
        font-size: 12px;
        padding: 8px 14px;
    }

    .legal-content {
        padding: 20px 16px;
    }
}

/* ============================================
   SHOWCASE (showcase.html) — Responsive
   ============================================ */
@media (max-width: 768px) {
    .showcase-hero h1 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }

    .showcase-hero p {
        font-size: 14px !important;
    }

    .showcase-tags {
        gap: 8px;
    }

    .showcase-tag {
        font-size: 12px;
        padding: 8px 14px;
    }

    .showcase-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .showcase-section-title {
        font-size: 22px !important;
    }
}

/* ============================================
   FAVORITES — Responsive
   ============================================ */
@media (max-width: 768px) {
    .favorites-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .favorites-grid {
        grid-template-columns: 1fr !important;
    }
}