/* ============================================
   🎵 TIKTOK-STYLE UI - Toko Mas Merysa
   ============================================ */

:root {
    --bg: #000000;
    --surface: #121212;
    --white: #ffffff;
    --gray: #8e8e93;
    --red: #fe2c55;
    --cyan: #25f4ee;
    --gold: #D4AF37;
    --gold-light: #FFD700;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    height: 100%;
    width: 100%;
    background: var(--bg);
    color: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden;
    overscroll-behavior: none;
}

/* 🧭 NAVBAR - TikTok Style */
.navbar {
    position: fixed;
    top: var(--safe-top);
    left: 0;
    right: 0;
    height: 50px;
    padding: 0 16px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo img {
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.logo span {
    font-size: 17px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* 🍔 HAMBURGER MENU */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: var(--surface);
    z-index: 200;
    transition: right 0.35s var(--ease);
    overflow-y: auto;
    padding: 70px 20px 20px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}

.nav-menu.active {
    right: 0;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.nav-menu a {
    display: block;
    padding: 14px 16px;
    margin: 6px 0;
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.2s, transform 0.2s;
    font-weight: 500;
    font-size: 15px;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.nav-menu hr {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 12px 0;
}

/* 💰 FLOATING GOLD PRICE */
.gold-price-floating {
    position: fixed;
    top: calc(50px + 10px + var(--safe-top));
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(12px);
    padding: 8px 16px;
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    z-index: 99;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    white-space: nowrap;
}

/* 📱 TIKTOK FEED - Full Screen Scroll */
.tiktok-feed {
    height: 100vh;
    width: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tiktok-feed::-webkit-scrollbar {
    display: none;
}

/* 🎬 VIDEO CARD - Full Screen */
.video-card {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    position: relative;
    background: var(--bg);
    overflow: hidden;
}

.video-card video,
.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: block;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

/* 🔊 SOUND TOGGLE */
.sound-toggle {
    position: absolute;
    bottom: 95px;
    left: 14px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--white);
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.sound-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* 👤 USER INFO (Top Left) */
.user-info {
    position: absolute;
    top: 75px;
    left: 14px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 70%;
}

.user-avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    border: 1.5px solid var(--white) !important;
    object-fit: cover !important;
    cursor: pointer;
    transition: transform 0.15s;
    flex-shrink: 0;
}

.user-avatar:hover {
    transform: scale(1.05);
}

.user-details {
    flex: 1;
    min-width: 0;
}

.user-details h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.verified {
    color: var(--cyan);
    font-size: 13px;
}

.user-details p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.follow-btn {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.follow-btn:hover {
    background: #e0264a;
}

/* 📝 PRODUCT INFO (Bottom Left) */
.product-info {
    position: absolute;
    bottom: 85px;
    left: 14px;
    right: 85px;
    z-index: 3;
}

.product-info h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--white);
    line-height: 1.3;
}

.product-info .desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-info .music-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--white);
    max-width: 85%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 🎯 RIGHT COLUMN: Action Buttons + Profile */
.action-buttons {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%); /* Center vertikal sempurna */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px; /* Jarak konsisten antar item */
    z-index: 30;
}

/* 👤 Foto Profil User */
.profile-action-btn {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    flex-shrink: 0; /* Cegah mengecil */
    position: relative;
    z-index: 31; /* Pastikan di atas layer lain */
    transition: transform 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    margin: 0 !important; /* Hapus margin agar gap flex bekerja */
}

.profile-action-btn:hover {
    transform: scale(1.08);
    border-color: var(--gold-light);
}

.profile-action-btn img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    border: none !important;
    border-radius: 0 !important;
}

/* ❤️💬↗️ Tombol Like, Comment, Share */
.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 31;
}

.action-icon {
    width: 46px;
    height: 46px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.action-btn:hover .action-icon {
    background: rgba(255,255,255,0.25);
    transform: scale(1.05);
}

.action-count {
    font-size: 11px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    margin-top: 2px;
}

/* ❤️ Like Active State */
.like-btn.liked .action-icon {
    background: var(--red) !important;
    animation: likePop 0.25s ease;
}

@keyframes likePop {
    0% { transform: scale(1); }
    40% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

/* 💬 COMMENTS DRAWER */
.comments-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    height: 65vh;
    background: var(--surface);
    border-radius: 18px 18px 0 0;
    z-index: 300;
    transition: bottom 0.35s var(--ease);
    display: flex;
    flex-direction: column;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.comments-sheet.active {
    bottom: 0;
}

.drawer-handle {
    width: 36px;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    margin: 10px auto 0;
}

.comments-header {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.comments-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
}

.drawer-close {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 22px;
    cursor: pointer;
    padding: 4px 6px;
    transition: color 0.2s;
}

.drawer-close:hover {
    color: var(--white);
}

.comments-list {
    flex: 1;
    overflow-y: auto;
    padding: 14px 16px;
}

.comments-list::-webkit-scrollbar {
    width: 4px;
}

.comments-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.comment-item {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    animation: fadeIn 0.2s ease-out;
}

.comment-avatar {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.comment-content {
    flex: 1;
    min-width: 0;
}

.comment-author {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 3px;
}

.comment-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    margin-bottom: 4px;
    word-wrap: break-word;
}

.comment-time {
    font-size: 11px;
    color: var(--gray);
    opacity: 0.7;
}

.comment-input-box {
    padding: 12px 16px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 10px;
    align-items: center;
    background: var(--surface);
    flex-shrink: 0;
}

.comment-input-box input {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 20px;
    padding: 10px 14px;
    color: var(--white);
    font-size: 14px;
    outline: none;
    transition: background 0.2s;
}

.comment-input-box input:focus {
    background: rgba(255, 255, 255, 0.15);
}

.comment-input-box button {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s;
}

.comment-input-box button:hover {
    transform: scale(1.03);
}

/* ↗️ SHARE DRAWER */
.share-modal {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    height: 65vh;
    background: var(--surface);
    border-radius: 18px 18px 0 0;
    z-index: 300;
    transition: bottom 0.35s var(--ease);
    display: flex;
    flex-direction: column;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.share-modal.active {
    bottom: 0;
}

.share-header {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.share-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 20px 16px;
    flex: 1;
    overflow-y: auto;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px;
    border-radius: 12px;
    transition: background 0.2s;
}

.share-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.share-option-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: rgba(255, 255, 255, 0.1);
}

.share-option span {
    font-size: 12px;
    color: var(--gray);
}

.share-close-btn {
    margin: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 12px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}

.share-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* 📍 INFO DRAWER (Lokasi & Sosmed) */
.info-drawer {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    max-height: 80vh;
    background: var(--surface);
    border-radius: 18px 18px 0 0;
    z-index: 300;
    transition: bottom 0.35s var(--ease);
    display: flex;
    flex-direction: column;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.info-drawer.active {
    bottom: 0;
}

.info-drawer h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
}

.info-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-link:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
    border-color: var(--gold);
}

.info-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.info-link small {
    display: block;
    color: var(--gray);
    font-size: 12px;
    margin-top: 2px;
}

/* 🎵 MUSIC PLAYER (Floating) */
.music-player {
    position: fixed;
    bottom: calc(30px + var(--safe-bottom));
    right: 30px;
    background: linear-gradient(135deg, var(--surface), var(--bg));
    border: 2px solid var(--gold);
    border-radius: 50px;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.3);
    z-index: 1001;
    backdrop-filter: blur(10px);
    transition: var(--trans);
}

.music-player:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.4);
}

.music-player button {
    background: linear-gradient(135deg, var(--gold), var(--red));
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--trans);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.music-player button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.music-player span {
    color: var(--gold-light);
    font-weight: 600;
    font-size: 0.9rem;
}

/* 📱 RESPONSIVE */
@media (min-width: 768px) {
    .tiktok-feed {
        max-width: 420px;
        margin: 0 auto;
        border-left: 1px solid #222;
        border-right: 1px solid #222;
    }

    .navbar,
    .gold-price-floating,
    .nav-menu,
    .menu-overlay {
        left: 50%;
        transform: translateX(-50%);
        max-width: 420px;
        width: 100%;
    }

    .navbar {
        border-radius: 0;
    }

    .gold-price-floating {
        top: calc(50px + 10px + var(--safe-top));
    }

    .nav-menu {
        right: -100%;
        transform: translateX(0);
    }

    .nav-menu.active {
        right: 0;
    }

    .comments-sheet,
    .share-modal,
    .info-drawer {
        max-width: 420px;
        left: 50%;
        transform: translateX(-50%) translateY(100%);
    }

    .comments-sheet.active,
    .share-modal.active,
    .info-drawer.active {
        transform: translateX(-50%) translateY(0);
    }
}

/* ⚡ UTILITIES & ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes doubleTap {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    30% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.9;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

::selection {
    background: var(--gold);
    color: #000;
}

.flash-msg {
    position: fixed;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    z-index: 9999;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s var(--ease) forwards;
    pointer-events: none;
}

.double-tap-heart {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 90px;
    color: var(--red);
    opacity: 0;
    pointer-events: none;
    z-index: 20;
    animation: doubleTap 0.6s var(--ease) forwards;
}

/* 🔧 BUTTON FIX - HIGH PRIORITY */
.admin-panel button,
.profile-section button,
.auth-form button,
.admin-card button,
.profile-section .btn-save,
.admin-card .btn-primary,
.comment-input-box button,
.share-close-btn,
.action-btn {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10 !important;
    cursor: pointer !important;
}

/* Input fields fix */
.admin-panel input[type="text"],
.admin-panel input[type="number"],
.admin-panel input[type="email"],
.admin-panel input[type="password"],
.admin-panel input[type="file"],
.admin-panel textarea,
.profile-section input[type="text"],
.profile-section input[type="email"],
.profile-section input[type="password"],
.profile-section input[type="file"],
.profile-section textarea,
.auth-form input,
.comment-input-box input {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    outline: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 8px 0 !important;
}

.admin-panel input:focus,
.admin-panel textarea:focus,
.profile-section input:focus,
.profile-section textarea:focus,
.auth-form input:focus,
.comment-input-box input:focus {
    border-color: var(--gold) !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

/* Modal & overlay fix */
#editProductModal,
#editCommentModal {
    pointer-events: none !important;
}

#editProductModal > div,
#editCommentModal > div {
    pointer-events: auto !important;
}

/* Profile pic fix */
.profile-pic {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid var(--gold) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin: 0 auto 20px !important;
    display: block !important;
}

/* Flash message fix */
.admin-panel .flash-msg,
.profile-section .flash-msg,
.auth-form .flash-msg {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    transform: none !important;
    margin-bottom: 20px !important;
    max-width: 100% !important;
}
/* ============================================
   📱 MOBILE SCROLL - Profile & Admin Only
   ============================================ */

/* Hanya aktif di halaman profile & admin */
.profile-section, .admin-panel, .auth-form {
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
    padding-bottom: 30px !important;
}

/* Di mobile, aktifkan scroll */
@media (max-width: 768px) {
    /* Container profile/admin bisa scroll */
    .profile-section, .admin-panel {
        margin-bottom: 30px !important;
        padding-bottom: 40px !important;
    }
    
    /* Modal bisa di-scroll */
    #editProductModal, #editCommentModal {
        overflow-y: auto !important;
    }
    
    #editProductModal > div, 
    #editCommentModal > div {
        max-height: 80vh !important;
        overflow-y: auto !important;
    }
}