/* ================================================================
   LifeStyleMod – Pack Detail Page (v6.2)
   ----------------------------------------------------------------
   v6.2:
   ▸ 📱 Sticky Bar موبایل (چسبیده پایین صفحه)
     — فقط روی موبایل (≤ 768px)
     — شامل: عنوان کوتاه + آمار + دکمه لایک + دکمه دانلود
     — با scroll از دکمه اصلی ظاهر می‌شه
     — Safe area برای iPhone notch
   ▸ 🎬 دکمه دانلود ویدیو پیش‌نمایش
     — زیر دکمه دانلود اصلی
     — با حجم فایل

   v6.1:
   ▸ 🎬 Video SEO Fix: <video> واقعی
   ▸ حفظ .pack-video-placeholder برای backward compat

   v6.0:
   ▸ 💬 Comment System v2.0 (کامل)

   ⚠️ بدون backdrop-filter — بدون رنگ hardcode
   ⚠️ سازگار با همه ۶ تم سایت
   ================================================================ */

/* ═══════════════════════════════════════════════════════════
   1. CONTAINER
   ═══════════════════════════════════════════════════════════ */
.pack-container {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--s-5) var(--s-4) var(--s-8);
}

/* ═══════════════════════════════════════════════════════════
   2. BREADCRUMB
   ═══════════════════════════════════════════════════════════ */
.pack-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
    margin-bottom: var(--s-4);
}

.pack-breadcrumb a {
    color: var(--c-text-muted);
    text-decoration: none;
    transition: color var(--t-fast);
}

.pack-breadcrumb a:hover {
    color: var(--c-primary-light);
}

.pack-breadcrumb span {
    color: var(--c-text-dim);
}

.pack-breadcrumb > span:not(:last-child) {
    opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════
   3. DETAIL CARD
   ═══════════════════════════════════════════════════════════ */
.pack-detail-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: var(--s-6);
}

/* ═══════════════════════════════════════════════════════════
   4. GALLERY SLIDER
   ═══════════════════════════════════════════════════════════ */
.pack-gallery-slider {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: var(--c-bg-alt);
}

.pack-gallery-slides {
    position: absolute;
    inset: 0;
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform var(--t-slow);
    will-change: transform;
}

.pack-gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: var(--c-bg-alt);
}

.pack-gallery-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ═══════════════════════════════════════════════════════════
   4.1 REAL VIDEO (v7.4 template)
   ═══════════════════════════════════════════════════════════ */
.pack-gallery-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    display: block;
    cursor: pointer;
}

.pack-gallery-video::poster {
    object-fit: cover;
}

.pack-gallery-video:fullscreen {
    object-fit: contain;
    background: #000;
    width: 100%;
    height: 100%;
}

.pack-gallery-video:-webkit-full-screen {
    object-fit: contain;
    background: #000;
    width: 100%;
    height: 100%;
}

.pack-gallery-video:focus-visible {
    outline: 2px solid var(--c-border-focus);
    outline-offset: -2px;
}

/* ═══════════════════════════════════════════════════════════
   4.2 VIDEO PLACEHOLDER (legacy — backward compat)
   ═══════════════════════════════════════════════════════════ */
.pack-video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--c-bg-alt);
    cursor: pointer;
    transition: transform var(--t-fast);
    overflow: hidden;
}

.pack-video-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

.pack-video-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    transition: background var(--t-fast);
    pointer-events: none;
    z-index: 2;
}

.pack-video-placeholder:hover::after {
    background: rgba(0, 0, 0, 0.20);
}

.pack-video-placeholder .play-icon {
    position: relative;
    z-index: 3;
    font-size: 64px;
    line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    transition: transform var(--t-base);
}

.pack-video-placeholder:hover .play-icon {
    transform: scale(1.1);
}

.pack-video-placeholder:focus-visible {
    outline: 2px solid var(--c-border-focus);
    outline-offset: -2px;
}

.pack-video-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.pack-video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ─── Slider Controls ─── */
.pack-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: var(--r-full);
    background: rgba(21, 28, 40, 0.75);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: background var(--t-fast), transform var(--t-fast);
    padding: 0;
    font-family: inherit;
}

.pack-slider-btn:hover {
    background: rgba(21, 28, 40, 0.95);
    transform: translateY(-50%) scale(1.05);
}

.pack-slider-btn.prev { right: 12px; }
.pack-slider-btn.next { left: 12px; }

.pack-slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
    padding: 6px 10px;
    background: rgba(21, 28, 40, 0.6);
    border-radius: var(--r-full);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pack-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: background var(--t-fast), transform var(--t-fast);
    padding: 0;
}

.pack-slider-dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

.pack-gallery-counter {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(21, 28, 40, 0.8);
    color: #ffffff;
    font-size: var(--fs-xs);
    padding: 4px 12px;
    border-radius: var(--r-full);
    font-variant-numeric: tabular-nums;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ─── Fallback media ─── */
.pack-media-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: var(--c-bg-alt);
    overflow: hidden;
}

.pack-media-container img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pack-no-media {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--c-text-dim);
}

/* ═══════════════════════════════════════════════════════════
   5. PACK BODY
   ═══════════════════════════════════════════════════════════ */
.pack-body {
    padding: var(--s-6);
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
}

.pack-code-text {
    display: inline-block;
    align-self: flex-start;
    font-size: var(--fs-xs);
    color: var(--c-primary-light);
    background: var(--c-surface-2);
    padding: 4px 12px;
    border-radius: var(--r-full);
    border: 1px solid var(--c-border);
    font-weight: var(--fw-semi);
    letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════════════════════
   6. SECTION HEADING
   ═══════════════════════════════════════════════════════════ */
.pack-section-heading {
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: var(--c-text);
    margin: var(--s-5) 0 var(--s-3);
    padding-bottom: var(--s-2);
    border-bottom: 1px solid var(--c-border-soft);
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: var(--s-2);
}

/* ═══════════════════════════════════════════════════════════
   7. FIX TITLE + DESC — بدون محدودیت خط
   ═══════════════════════════════════════════════════════════ */
.pack-detail-card .pack-body .pack-title,
.pack-detail-card .pack-body .pack-desc {
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    box-orient: initial !important;
    overflow: visible !important;
    max-height: none !important;
    text-overflow: clip !important;
    word-wrap: break-word;
    word-break: break-word;
}

.pack-detail-card .pack-body .pack-title {
    font-size: clamp(22px, 4vw, 32px);
    font-weight: var(--fw-black);
    color: var(--c-text);
    line-height: 1.3;
    letter-spacing: var(--ls-tight);
    margin: 0;
}

.pack-detail-card .pack-body .pack-desc {
    color: var(--c-text-soft);
    font-size: var(--fs-base);
    line-height: 1.9;
    padding: var(--s-4) 0;
    border-top: 1px solid var(--c-border-soft);
    margin: 0;
}

.pack-category-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 5px 14px;
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    border-radius: var(--r-full);
    font-size: var(--fs-xs);
    color: var(--c-text-soft);
    font-weight: var(--fw-semi);
}

.pack-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-4);
    padding: var(--s-3) 0;
    border-top: 1px solid var(--c-border-soft);
    border-bottom: 1px solid var(--c-border-soft);
}

.pack-info-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
}

.pack-info-item .num {
    color: var(--c-text);
    font-weight: var(--fw-semi);
    font-variant-numeric: tabular-nums;
}

/* ─── Creator Info ─── */
.pack-creator-info {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-3);
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
}

.pack-creator-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--r-full);
    background: var(--c-surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--c-border);
    font-size: 24px;
    flex-shrink: 0;
}

.pack-creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pack-creator-name {
    font-weight: var(--fw-semi);
    color: var(--c-text);
    font-size: var(--fs-base);
    margin-bottom: 4px;
}

.pack-creator-name a {
    color: var(--c-text);
    text-decoration: none;
    transition: color var(--t-fast);
}

.pack-creator-name a:hover {
    color: var(--c-primary-light);
}

.pack-creator-role-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: var(--r-full);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semi);
    border: 1px solid transparent;
    white-space: nowrap;
}

.pack-badge-owner   { background: rgba(149, 188, 215, 0.15); color: var(--c-role-owner); border-color: rgba(149, 188, 215, 0.30); }
.pack-badge-admin   { background: var(--c-info-bg);          color: var(--c-role-admin); border-color: var(--c-info-border); }
.pack-badge-creator { background: var(--c-success-bg);       color: var(--c-role-creator); border-color: var(--c-success-border); }
.pack-badge-user    { background: var(--c-surface-2);        color: var(--c-role-user);   border-color: var(--c-border); }

/* ─── Action Buttons ─── */
.pack-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
}

.pack-rate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 16px;
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    color: var(--c-text-soft);
    font-size: var(--fs-sm);
    font-family: inherit;
    font-weight: var(--fw-semi);
    cursor: pointer;
    text-decoration: none;
    transition: background var(--t-fast), color var(--t-fast),
                border-color var(--t-fast), transform var(--t-fast);
    white-space: nowrap;
}

.pack-rate-btn:hover {
    background: var(--c-surface-3);
    border-color: var(--c-border-hover);
    color: var(--c-text);
    transform: translate3d(0, -1px, 0);
}

.pack-rate-btn.like:hover {
    color: var(--c-success);
    border-color: var(--c-success-border);
    background: var(--c-success-bg);
}

.pack-rate-btn.dislike:hover {
    color: var(--c-danger);
    border-color: var(--c-danger-border);
    background: var(--c-danger-bg);
}

.pack-rate-btn.edit {
    color: var(--c-warning);
    border-color: var(--c-warning-border);
    background: var(--c-warning-bg);
}

.pack-rate-btn.edit:hover {
    background: rgba(217, 168, 84, 0.20);
    border-color: var(--c-warning);
    color: var(--c-warning);
}

.pack-rate-btn.bookmarked {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: var(--c-text-on-primary);
}

.pack-rate-btn.bookmarked:hover {
    background: var(--c-primary-hover);
    border-color: var(--c-primary-hover);
    color: var(--c-text-on-primary);
}

/* ─── Tags ─── */
.pack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pack-tag {
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    border-radius: var(--r-full);
    padding: 4px 12px;
    font-size: var(--fs-xs);
    color: var(--c-text-muted);
    font-weight: var(--fw-medium);
    text-decoration: none;
    transition: background var(--t-fast), color var(--t-fast),
                border-color var(--t-fast), transform var(--t-fast);
}

.pack-tag:hover {
    background: var(--c-primary);
    color: var(--c-text-on-primary);
    border-color: var(--c-primary);
    transform: translate3d(0, -1px, 0);
}

/* ═══════════════════════════════════════════════════════════
   8. LIKE GATE
   ═══════════════════════════════════════════════════════════ */
.pack-like-gate {
    background: var(--c-warning-bg);
    border: 1px solid var(--c-warning-border);
    border-radius: var(--r-md);
    padding: var(--s-4);
    text-align: center;
}

.pack-like-gate p {
    color: var(--c-warning);
    font-size: var(--fs-sm);
    margin: 0 0 var(--s-3);
    line-height: 1.6;
}

.pack-like-gate strong {
    color: var(--c-warning);
    font-weight: var(--fw-bold);
}

.pack-like-gate-hint {
    margin-top: var(--s-4) !important;
    font-size: var(--fs-sm) !important;
    color: var(--c-text-muted) !important;
    line-height: 1.6;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--c-bg-alt);
    border-radius: var(--r-full);
    overflow: hidden;
    margin-bottom: var(--s-2);
}

.progress-fill {
    height: 100%;
    width: 0;
    background: var(--g-primary);
    border-radius: var(--r-full);
    transition: width var(--t-slow);
}

.progress-text {
    font-size: var(--fs-xs);
    color: var(--c-text-muted);
    font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════════════════════════
   9. DOWNLOAD BUTTON
   ═══════════════════════════════════════════════════════════ */
.pack-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: var(--c-primary);
    color: var(--c-text-on-primary);
    border: none;
    border-radius: var(--r-md);
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    font-family: inherit;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
    margin-top: var(--s-2);
}

.pack-download-btn:hover:not(.locked) {
    background: var(--c-primary-hover);
    transform: translate3d(0, -2px, 0);
    box-shadow: var(--shadow-md);
    color: var(--c-text-on-primary);
}

.pack-download-btn.locked {
    background: var(--c-surface-2);
    color: var(--c-text-muted);
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════
   🆕 9.1 VIDEO DOWNLOAD BUTTON
   ═══════════════════════════════════════════════════════════
   ▸ دکمه ثانویه برای دانلود ویدیو پیش‌نمایش
   ▸ طراحی outlined (کم‌وزن‌تر از دکمه اصلی)
   ═══════════════════════════════════════════════════════════ */
.pack-video-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 20px;
    background: transparent;
    color: var(--c-text-soft);
    border: 1px dashed var(--c-border-hover);
    border-radius: var(--r-md);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semi);
    font-family: inherit;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast),
                border-color var(--t-fast), transform var(--t-fast);
    margin-top: var(--s-1);
}

.pack-video-download-btn:hover {
    background: var(--c-surface-hover);
    color: var(--c-primary-light);
    border-color: var(--c-primary);
    border-style: solid;
    transform: translate3d(0, -1px, 0);
}

.pack-video-download-btn:active {
    transform: translate3d(0, 0, 0);
}

.pack-video-download-btn:focus-visible {
    outline: 2px solid var(--c-border-focus);
    outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════
   10. COMMENTS SYSTEM v2.0
   ═══════════════════════════════════════════════════════════ */

/* ─── Container ─── */
.pack-comments-section {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--s-5);
    margin-bottom: var(--s-5);
    margin-top: var(--s-6);
    scroll-margin-top: calc(var(--nav-h) + 24px);
}

/* ─── Header + Sort ─── */
.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--s-4);
    flex-wrap: wrap;
    margin-bottom: var(--s-5);
    padding-bottom: var(--s-4);
    border-bottom: 1px solid var(--c-border-soft);
}

.pack-comments-title {
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: var(--c-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--s-2);
}

.pack-comments-title span {
    color: var(--c-primary-light);
    font-variant-numeric: tabular-nums;
}

.comments-sort {
    display: inline-flex;
    gap: 4px;
    padding: 3px;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
}

.comments-sort-btn {
    padding: 6px 12px;
    background: transparent;
    border: none;
    border-radius: var(--r-sm);
    color: var(--c-text-muted);
    font-family: inherit;
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--t-fast), color var(--t-fast);
}

.comments-sort-btn:hover {
    color: var(--c-text);
    background: var(--c-surface-hover);
}

.comments-sort-btn.active {
    color: var(--c-text-on-primary);
    background: var(--c-primary);
    font-weight: var(--fw-semi);
}

.comments-sort-btn:focus-visible {
    outline: 2px solid var(--c-border-focus);
    outline-offset: 2px;
}

/* ─── Comment Form ─── */
.comment-form {
    margin-bottom: var(--s-6);
    padding: var(--s-5);
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-lg);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

.comment-form textarea {
    width: 100%;
    min-height: 100px;
    max-height: 320px;
    padding: 12px 16px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    color: var(--c-text);
    font-family: inherit;
    font-size: var(--fs-sm);
    line-height: 1.8;
    resize: vertical;
    outline: none;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.comment-form textarea:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(74, 159, 212, 0.15);
}

.comment-form textarea::placeholder {
    color: var(--c-text-dim);
}

.comment-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--s-3);
    flex-wrap: wrap;
}

.comment-char-count {
    font-size: var(--fs-xs);
    color: var(--c-text-muted);
    font-variant-numeric: tabular-nums;
    font-family: var(--font-mono);
    transition: color var(--t-fast);
}

.comment-char-count.near-limit {
    color: var(--c-warning);
}

.comment-char-count.over-limit {
    color: var(--c-danger);
    font-weight: var(--fw-bold);
}

.comment-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: var(--c-primary);
    color: var(--c-text-on-primary);
    border: 1px solid transparent;
    border-radius: var(--r-md);
    font-family: inherit;
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--t-fast), transform var(--t-fast);
}

.comment-submit-btn:hover:not(:disabled) {
    background: var(--c-primary-hover);
    transform: translate3d(0, -1px, 0);
}

.comment-submit-btn:disabled,
.comment-submit-btn.loading {
    opacity: 0.65;
    cursor: not-allowed;
}

.comment-form-error {
    margin-top: 0;
    padding: 10px 14px;
    border-radius: var(--r-md);
    font-size: var(--fs-sm);
    line-height: 1.6;
    border: 1px solid transparent;
}

.comment-form-error.is-error {
    color: var(--c-danger);
    background: var(--c-danger-bg);
    border-color: var(--c-danger-border);
}

.comment-form-error.is-success {
    color: var(--c-success);
    background: var(--c-success-bg);
    border-color: var(--c-success-border);
}

/* ─── Reply Indicator ─── */
.comment-reply-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--s-3);
    margin-bottom: 0;
    padding: 8px 12px;
    background: var(--c-surface-2);
    border: 1px dashed var(--c-border-hover);
    border-radius: var(--r-md);
    font-size: var(--fs-sm);
    color: var(--c-text-soft);
}

.comment-reply-indicator strong {
    color: var(--c-primary-light);
    font-weight: var(--fw-semi);
}

.comment-reply-indicator button {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: var(--r-sm);
    background: transparent;
    border: 1px solid var(--c-border);
    color: var(--c-text-muted);
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.comment-reply-indicator button:hover {
    background: var(--c-danger-bg);
    color: var(--c-danger);
    border-color: var(--c-danger-border);
}

/* ─── Required Login Message ─── */
.required-login-message {
    text-align: center;
    padding: var(--s-5);
    background: var(--c-warning-bg);
    border: 1px solid var(--c-warning-border);
    border-radius: var(--r-md);
    color: var(--c-warning);
    font-size: var(--fs-sm);
    margin-bottom: var(--s-5);
}

.required-login-message a {
    color: var(--c-primary-light);
    font-weight: var(--fw-bold);
    text-decoration: none;
}

.required-login-message a:hover {
    text-decoration: underline;
}

/* ─── Comment List ─── */
.pack-comment-list {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.comments-loading {
    padding: var(--s-6);
    text-align: center;
    color: var(--c-text-muted);
    font-size: var(--fs-sm);
}

/* ─── Comment Item ─── */
.comment-item {
    position: relative;
    padding: var(--s-4);
    background: var(--c-surface-2);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    transition: border-color var(--t-fast), background var(--t-fast);
}

.comment-item:hover {
    border-color: var(--c-border);
}

.comment-item.just-posted {
    animation: commentJustPosted 1.2s ease;
}

@keyframes commentJustPosted {
    0% {
        background: var(--c-primary-light);
        transform: scale(1.01);
    }
    100% {
        background: var(--c-surface-2);
        transform: scale(1);
    }
}

/* ─── Header ─── */
.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--s-3);
    margin-bottom: var(--s-2);
    flex-wrap: wrap;
}

.comment-name {
    font-weight: var(--fw-semi);
    font-size: var(--fs-sm);
    color: var(--c-text);
}

.comment-name.owner-color   { color: var(--c-role-owner); }
.comment-name.admin-color   { color: var(--c-role-admin); }
.comment-name.creator-color { color: var(--c-role-creator); }
.comment-name.user-color    { color: var(--c-primary-light); }

.comment-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-xs);
    color: var(--c-text-dim);
    font-variant-numeric: tabular-nums;
}

.comment-edited {
    font-size: 10px;
    opacity: 0.7;
    cursor: help;
}

/* ─── Text ─── */
.comment-text {
    color: var(--c-text-soft);
    font-size: var(--fs-sm);
    line-height: 1.85;
    margin-bottom: var(--s-3);
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ─── Actions ─── */
.comment-actions {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    flex-wrap: wrap;
}

.comment-action-btn,
.comment-action-static {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: transparent;
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-full);
    color: var(--c-text-muted);
    font-family: inherit;
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--t-fast), color var(--t-fast),
                border-color var(--t-fast), transform var(--t-fast);
}

.comment-action-btn:hover:not(:disabled) {
    background: var(--c-surface-hover);
    color: var(--c-text);
    border-color: var(--c-border-hover);
}

.comment-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.comment-action-static {
    cursor: default;
    background: var(--c-surface);
}

/* ─── Like ─── */
.comment-action-btn.like-btn {
    padding-inline: 8px 10px;
}

.comment-action-btn.like-btn .like-icon {
    font-size: 13px;
    line-height: 1;
    transition: transform var(--t-fast);
}

.comment-action-btn.like-btn:hover:not(:disabled) .like-icon {
    transform: scale(1.15);
}

.comment-action-btn.like-btn.liked {
    background: var(--c-danger-bg);
    border-color: var(--c-danger-border);
    color: var(--c-danger);
}

.comment-action-btn.like-btn.liked .like-count {
    color: var(--c-danger);
    font-weight: var(--fw-bold);
}

/* ─── Reply ─── */
.comment-action-btn.reply-btn:hover:not(:disabled) {
    color: var(--c-primary-light);
    border-color: var(--c-primary);
}

/* ─── Edit ─── */
.comment-action-btn.edit-btn:hover:not(:disabled) {
    color: var(--c-info);
    border-color: var(--c-info);
}

/* ─── Delete ─── */
.comment-action-btn.delete-btn:hover:not(:disabled) {
    color: var(--c-danger);
    background: var(--c-danger-bg);
    border-color: var(--c-danger-border);
}

/* ─── Replies ─── */
.comment-replies-wrap {
    margin-top: var(--s-3);
    padding-inline-start: var(--s-5);
    border-inline-start: 2px solid var(--c-border-soft);
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.comment-reply {
    background: var(--c-surface);
    border-color: var(--c-border-soft);
    padding: var(--s-3) var(--s-4);
}

.comment-reply .comment-text {
    font-size: var(--fs-xs);
}

/* ─── Inline Edit Form ─── */
.comment-edit-form {
    margin: var(--s-2) 0;
}

.comment-edit-textarea {
    width: 100%;
    min-height: 70px;
    max-height: 200px;
    padding: 10px 14px;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-primary);
    border-radius: var(--r-md);
    color: var(--c-text);
    font-family: inherit;
    font-size: var(--fs-sm);
    line-height: 1.8;
    resize: vertical;
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 159, 212, 0.15);
}

.comment-edit-actions {
    display: flex;
    gap: var(--s-2);
    margin-top: var(--s-2);
    justify-content: flex-end;
}

.comment-edit-save,
.comment-edit-cancel {
    padding: 6px 14px;
    border-radius: var(--r-md);
    font-family: inherit;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semi);
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.comment-edit-save {
    background: var(--c-primary);
    color: var(--c-text-on-primary);
    border: 1px solid transparent;
}

.comment-edit-save:hover:not(:disabled) {
    background: var(--c-primary-hover);
}

.comment-edit-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.comment-edit-cancel {
    background: transparent;
    color: var(--c-text-muted);
    border: 1px solid var(--c-border);
}

.comment-edit-cancel:hover {
    background: var(--c-surface-hover);
    color: var(--c-text);
    border-color: var(--c-border-hover);
}

/* ─── Load More / Empty ─── */
.comments-load-more-wrap {
    margin-top: var(--s-5);
    display: flex;
    justify-content: center;
}

.comments-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: transparent;
    border: 1px dashed var(--c-border-hover);
    border-radius: var(--r-full);
    color: var(--c-text-soft);
    font-family: inherit;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semi);
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.comments-load-more:hover:not(:disabled) {
    background: var(--c-surface-hover);
    color: var(--c-text);
    border-style: solid;
    border-color: var(--c-primary);
}

.comments-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.pack-comments-empty {
    padding: var(--s-6) var(--s-4);
    text-align: center;
    color: var(--c-text-muted);
    font-size: var(--fs-sm);
    background: var(--c-bg-alt);
    border: 1px dashed var(--c-border-soft);
    border-radius: var(--r-md);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   11. RELATED PACKS
   ═══════════════════════════════════════════════════════════ */
.pack-related-section {
    margin-top: var(--s-6);
    padding: var(--s-5);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
}

.pack-related-section .pack-section-heading {
    margin-top: 0;
}

.pack-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--s-4);
}

.pack-related-card {
    display: flex;
    flex-direction: column;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform var(--t-base),
                border-color var(--t-base),
                box-shadow var(--t-base);
}

.pack-related-card:hover {
    transform: translate3d(0, -3px, 0);
    border-color: var(--c-border-hover);
    box-shadow: var(--shadow-md);
}

.pack-related-img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--c-bg);
}

.pack-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--t-slow);
}

.pack-related-card:hover .pack-related-img img {
    transform: scale(1.05);
}

.pack-related-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: var(--c-text-dim);
}

.pack-related-body {
    padding: var(--s-3);
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.pack-related-code {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--c-primary-light);
    background: rgba(109, 159, 201, 0.10);
    padding: 2px 8px;
    border-radius: var(--r-xs);
    border: 1px solid var(--c-border);
    font-weight: var(--fw-semi);
    letter-spacing: 0.02em;
}

.pack-related-title {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semi);
    color: var(--c-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pack-related-meta {
    display: flex;
    gap: var(--s-3);
    font-size: var(--fs-xs);
    color: var(--c-text-muted);
    padding-top: 8px;
    margin-top: auto;
    border-top: 1px solid var(--c-border-soft);
    font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════════════════════════
   12. CHANNEL CARD
   ═══════════════════════════════════════════════════════════ */
.pack-channel-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--s-6);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: var(--s-5);
}

.pack-channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--g-rainbow-line);
    opacity: 0.5;
    pointer-events: none;
}

.pack-channel-title {
    font-size: var(--fs-lg);
    font-weight: var(--fw-black);
    color: var(--c-primary-light);
    margin-bottom: var(--s-3);
}

.pack-channel-text {
    color: var(--c-text-muted);
    font-size: var(--fs-sm);
    margin-bottom: var(--s-5);
    line-height: 1.8;
}

.pack-channel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 28px;
    background: var(--c-primary);
    color: var(--c-text-on-primary);
    border: none;
    border-radius: var(--r-md);
    font-size: var(--fs-base);
    font-weight: var(--fw-bold);
    text-decoration: none;
    transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.pack-channel-btn:hover {
    background: var(--c-primary-hover);
    color: var(--c-text-on-primary);
    transform: translate3d(0, -2px, 0);
    box-shadow: var(--shadow-md);
}

/* ═══════════════════════════════════════════════════════════
   13. SHARE TOAST
   ═══════════════════════════════════════════════════════════ */
.pack-share-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 20px);
    padding: 12px 24px;
    background: var(--c-surface);
    border: 1px solid var(--c-success-border);
    border-radius: var(--r-full);
    color: var(--c-success);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semi);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-base), visibility var(--t-base), transform var(--t-base);
    z-index: var(--z-toast);
    pointer-events: none;
    will-change: transform, opacity;
}

.pack-share-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* ═══════════════════════════════════════════════════════════
   🆕 13.5 STICKY BAR (Mobile)
   ═══════════════════════════════════════════════════════════
   ▸ فقط روی موبایل (≤ 768px)
   ▸ مخفی به‌صورت پیش‌فرض (hidden attribute)
   ▸ با scroll از دکمه اصلی → ظاهر می‌شه
   ▸ Safe area برای iPhone notch
   ═══════════════════════════════════════════════════════════ */
.pack-sticky-bar {
    display: none; /* پیش‌فرض: مخفی — فقط در media query موبایل فعال می‌شه */
}

@media (max-width: 768px) {
    .pack-sticky-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 90;

        padding: 10px 14px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));

        background: var(--c-surface);
        border-top: 1px solid var(--c-border);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);

        align-items: center;
        justify-content: space-between;
        gap: 10px;

        animation: stickySlideUp 0.3s ease;
        will-change: transform;
    }

    .pack-sticky-bar[hidden] {
        display: none !important;
    }

    /* ─── Info Section ─── */
    .pack-sticky-info {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .pack-sticky-title {
        font-size: var(--fs-sm);
        font-weight: var(--fw-semi);
        color: var(--c-text);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.3;
    }

    .pack-sticky-meta {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 11px;
        color: var(--c-text-muted);
        font-variant-numeric: tabular-nums;
        line-height: 1.2;
    }

    .pack-sticky-meta span {
        color: var(--c-text-muted);
    }

    /* ─── Actions Section ─── */
    .pack-sticky-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    /* ─── Like Button ─── */
    .pack-sticky-like {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: var(--r-md);
        background: var(--c-surface-2);
        border: 1px solid var(--c-border);
        color: var(--c-text-soft);
        font-size: 18px;
        cursor: pointer;
        font-family: inherit;
        transition: background var(--t-fast), color var(--t-fast),
                    border-color var(--t-fast), transform var(--t-fast);
        padding: 0;
    }

    .pack-sticky-like:hover,
    .pack-sticky-like:active {
        background: var(--c-success-bg);
        border-color: var(--c-success-border);
        color: var(--c-success);
        transform: scale(1.05);
    }

    .pack-sticky-like:focus-visible {
        outline: 2px solid var(--c-border-focus);
        outline-offset: 2px;
    }

    /* ─── Download Button ─── */
    .pack-sticky-download {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        height: 42px;
        padding: 0 20px;
        background: var(--c-primary);
        color: var(--c-text-on-primary);
        border: none;
        border-radius: var(--r-md);
        font-family: inherit;
        font-size: var(--fs-sm);
        font-weight: var(--fw-bold);
        text-decoration: none;
        white-space: nowrap;
        cursor: pointer;
        transition: background var(--t-fast), transform var(--t-fast);
    }

    .pack-sticky-download:hover:not(.locked) {
        background: var(--c-primary-hover);
        transform: translate3d(0, -1px, 0);
    }

    .pack-sticky-download:active:not(.locked) {
        transform: translate3d(0, 0, 0);
    }

    .pack-sticky-download.locked {
        background: var(--c-surface-2);
        color: var(--c-text-muted);
        pointer-events: none;
        opacity: 0.75;
    }

    /* ─── Page bottom padding (جلوگیری از پنهان شدن محتوا زیر sticky bar) ─── */
    .pack-container {
        padding-bottom: calc(var(--s-8) + 70px);
    }

    /* ─── Toast بالاتر (بالای sticky bar) ─── */
    .pack-share-toast {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }

    /* ─── ScrollTop بالاتر ─── */
    #scrollTop {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }
}

/* ─── Animation ─── */
@keyframes stickySlideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════════
   14. RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .pack-container {
        padding: var(--s-3) var(--s-3) var(--s-6);
    }

    .pack-body {
        padding: var(--s-4);
        gap: var(--s-3);
    }

    .pack-detail-card .pack-body .pack-title {
        font-size: var(--fs-xl);
    }

    .pack-info-row {
        gap: var(--s-3);
    }

    .pack-info-item {
        font-size: var(--fs-xs);
    }

    .pack-creator-info {
        padding: var(--s-2);
    }

    .pack-creator-avatar {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    .pack-rate-btn {
        flex: 1 1 calc(50% - var(--s-2));
        min-width: 0;
        justify-content: center;
        font-size: var(--fs-xs);
        padding: 8px 12px;
    }

    .pack-download-btn {
        font-size: var(--fs-base);
        padding: 12px 20px;
    }

    .pack-video-download-btn {
        font-size: var(--fs-xs);
        padding: 10px 16px;
    }

    .pack-slider-btn {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    /* ─── Comments Mobile ─── */
    .pack-comments-section {
        padding: var(--s-4);
        margin-top: var(--s-5);
    }

    .comments-header {
        flex-direction: column;
        align-items: stretch;
        gap: var(--s-3);
    }

    .pack-comments-title {
        font-size: var(--fs-base);
    }

    .comments-sort {
        justify-content: center;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .comments-sort::-webkit-scrollbar {
        display: none;
    }

    .comment-form {
        padding: var(--s-4);
    }

    .comment-form textarea {
        min-height: 90px;
        font-size: 14px;
    }

    .comment-form-footer {
        gap: var(--s-2);
    }

    .comment-submit-btn {
        padding: 9px 16px;
        font-size: var(--fs-xs);
        flex: 1;
        justify-content: center;
    }

    .comment-item {
        padding: var(--s-3);
    }

    .comment-replies-wrap {
        padding-inline-start: var(--s-3);
    }

    .comment-reply {
        padding: var(--s-3);
    }

    .comment-action-btn {
        padding: 4px 9px;
        font-size: 11px;
    }

    .comment-edit-actions {
        flex-direction: row-reverse;
    }

    .comment-edit-save,
    .comment-edit-cancel {
        flex: 1;
        text-align: center;
    }

    .pack-channel-card {
        padding: var(--s-5);
    }

    .pack-related-section {
        padding: var(--s-4);
    }

    .pack-related-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: var(--s-3);
    }

    .pack-section-heading {
        font-size: var(--fs-base);
    }
}

@media (max-width: 480px) {
    .pack-rate-btn {
        flex: 1 1 100%;
    }

    .pack-info-item {
        font-size: 11px;
    }

    .pack-code-text {
        font-size: 11px;
    }

    .pack-like-gate {
        padding: var(--s-3);
    }

    .pack-share-toast {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px));
        font-size: var(--fs-xs);
    }

    .pack-gallery-counter {
        font-size: 10px;
        padding: 3px 8px;
    }

    .pack-related-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--s-2);
    }

    .pack-related-body {
        padding: var(--s-2);
    }

    .pack-related-title {
        font-size: var(--fs-xs);
    }

    .pack-related-meta {
        gap: var(--s-2);
        font-size: 10px;
    }

    /* ─── Comments Small Mobile ─── */
    .pack-comments-section {
        padding: var(--s-3);
        border-radius: var(--r-md);
    }

    .comments-sort {
        gap: 2px;
        padding: 2px;
    }

    .comments-sort-btn {
        padding: 5px 9px;
        font-size: 10px;
    }

    .comment-form textarea {
        padding: 10px 12px;
    }

    .comment-item {
        padding: var(--s-3) var(--s-2);
    }

    .comment-text {
        font-size: 13px;
    }

    .comment-actions {
        gap: 6px;
    }

    .comment-action-btn {
        padding: 3px 8px;
        font-size: 10px;
        gap: 3px;
    }

    .comment-replies-wrap {
        padding-inline-start: var(--s-2);
        border-inline-start-width: 1px;
    }

    /* ─── Sticky Bar کوچک ─── */
    .pack-sticky-bar {
        padding: 8px 10px;
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
        gap: 8px;
    }

    .pack-sticky-title {
        font-size: var(--fs-xs);
    }

    .pack-sticky-meta {
        font-size: 10px;
    }

    .pack-sticky-like,
    .pack-sticky-download {
        height: 38px;
    }

    .pack-sticky-like {
        width: 38px;
        font-size: 16px;
    }

    .pack-sticky-download {
        padding: 0 14px;
        font-size: var(--fs-xs);
    }

    .pack-container {
        padding-bottom: calc(var(--s-6) + 65px);
    }
}

/* ═══════════════════════════════════════════════════════════
   15. REDUCED MOTION
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .pack-gallery-slides,
    .pack-related-card,
    .pack-related-img img,
    .pack-tag,
    .pack-rate-btn,
    .pack-slider-btn,
    .pack-channel-btn,
    .pack-download-btn,
    .pack-video-download-btn,
    .progress-fill {
        transition: none;
    }

    .pack-related-card:hover,
    .pack-related-card:hover .pack-related-img img,
    .pack-tag:hover,
    .pack-rate-btn:hover,
    .pack-channel-btn:hover,
    .pack-download-btn:hover:not(.locked),
    .pack-video-download-btn:hover,
    .pack-video-placeholder:hover .play-icon,
    .pack-slider-btn:hover {
        transform: none;
    }

    /* Comments */
    .comment-item.just-posted {
        animation: none;
    }

    .comment-submit-btn:hover:not(:disabled),
    .comment-action-btn:hover:not(:disabled),
    .comment-action-btn.like-btn:hover:not(:disabled) .like-icon {
        transform: none;
    }

    /* Sticky Bar */
    .pack-sticky-bar {
        animation: none;
    }

    .pack-sticky-download:hover:not(.locked),
    .pack-sticky-like:hover {
        transform: none;
    }
}

/* ═══════════════════════════════════════════════════════════
   16. PRINT
   ═══════════════════════════════════════════════════════════ */
@media print {
    .pack-slider-btn,
    .pack-slider-dots,
    .pack-gallery-counter,
    .pack-action-buttons,
    .pack-download-btn,
    .pack-video-download-btn,
    .pack-sticky-bar,
    .comment-form,
    .comment-actions,
    .comments-sort,
    .comments-load-more-wrap,
    .pack-channel-card,
    .pack-related-section,
    .pack-share-toast,
    #scrollTop {
        display: none !important;
    }

    .pack-detail-card {
        box-shadow: none;
        border-color: #000;
    }
}