﻿/*
 * =========================================================
 * Product Landing Page - /product/{slug}
 * =========================================================
 */

body.product-landing-page {
    background: #f6f7fb;
}

    body.product-landing-page .landing-desktop-view {
        display: block;
    }

    body.product-landing-page .landing-mobile-view {
        display: none;
    }

    body.product-landing-page .mobile-only {
        display: none;
    }

    body.product-landing-page .desktop-only {
        display: block;
    }

/*
 * =========================================================
 * Desktop Landing
 * =========================================================
 */

.landing-wrap {
    margin-top: 24px;
}

.landing-hero {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 24px;
}

    .landing-hero h1 {
        margin: 0 0 12px;
        font-size: 28px;
        font-weight: 800;
        line-height: 1.8;
        color: #222;
    }

    .landing-hero p {
        color: #666;
        line-height: 2.1;
        font-size: 15px;
        margin: 0;
    }

    .landing-hero img {
        display: block;
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
        border-radius: 20px;
        border: 1px solid #eee;
        background: #f8fafc;
    }

.landing-section {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 22px;
    padding: 22px;
    margin-bottom: 22px;
}

    .landing-section h2 {
        margin: 0 0 16px;
        font-size: 20px;
        font-weight: 800;
        color: #222;
    }

.landing-content {
    color: #444;
    line-height: 2.2;
    font-size: 15px;
}

    .landing-content img {
        max-width: 100%;
        height: auto;
    }

.landing-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.landing-category-card {
    display: block;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 16px;
    color: #333;
    text-decoration: none;
    transition: .2s;
}

    .landing-category-card strong {
        display: block;
        margin-bottom: 7px;
        color: #222;
    }

    .landing-category-card span {
        color: #777;
        font-size: 13px;
    }

    .landing-category-card:hover {
        background: #fff;
        box-shadow: 0 10px 24px rgba(0,0,0,.06);
        color: #111;
    }

.landing-products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 22px;
}

.landing-filter {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 18px;
}

    .landing-filter .form-group {
        margin-bottom: 16px;
    }

    .landing-filter label {
        display: block;
        font-weight: 700;
        margin-bottom: 8px;
        color: #333;
    }

    .landing-filter input, .landing-filter select {
        width: 100%;
        border: 1px solid #ddd;
        border-radius: 12px;
        padding: 10px 12px;
        background: #fff;
    }

.landing-check-list {
    max-height: 220px;
    overflow: auto;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px;
}

    .landing-check-list label {
        display: block;
        font-weight: 400;
        margin-bottom: 8px;
    }

    .landing-check-list input {
        width: auto;
        margin-left: 6px;
    }

.landing-filter-btn {
    width: 100%;
    border: 0;
    border-radius: 14px;
    background: #222;
    color: #fff;
    padding: 12px;
    cursor: pointer;
}

.landing-desktop-sort-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

    .landing-desktop-sort-bar .sort-label {
        color: #555;
        font-weight: 700;
    }

    .landing-desktop-sort-bar .sort-chip {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #e5e7eb;
        background: #fff;
        color: #555;
        border-radius: 999px;
        padding: 8px 13px;
        font-size: 13px;
        cursor: pointer;
        transition: .2s;
    }

        .landing-desktop-sort-bar .sort-chip.active, .landing-desktop-sort-bar .sort-chip:hover {
            background: #222;
            color: #fff;
            border-color: #222;
        }

.landing-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.landing-product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 14px;
    cursor: pointer;
    transition: .2s;
}

    .landing-product-card:hover {
        box-shadow: 0 10px 24px rgba(0,0,0,.07);
        transform: translateY(-2px);
    }

    .landing-product-card img {
        width: 100%;
        height: 190px;
        object-fit: cover;
        border-radius: 14px;
        margin-bottom: 12px;
    }

    .landing-product-card h3 {
        font-size: 15px;
        line-height: 1.9;
        margin: 0 0 8px;
        color: #222;
    }

    .landing-product-card .price {
        color: #111;
        font-weight: 800;
    }

/*
 * =========================================================
 * Desktop Comments
 * =========================================================
 */

.landing-comments {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 22px;
    padding: 22px;
    margin-bottom: 22px;
}

.landing-comments-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

    .landing-comments-head h2 {
        margin: 0;
        font-size: 20px;
        font-weight: 800;
    }

.landing-comment-form {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 20px;
}

.landing-comment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}

.landing-form-group {
    margin-bottom: 14px;
}

    .landing-form-group label {
        display: block;
        margin-bottom: 7px;
        font-weight: 700;
    }

    .landing-form-group input, .landing-form-group textarea {
        width: 100%;
        border: 1px solid #ddd;
        border-radius: 14px;
        padding: 11px 13px;
        background: #fff;
    }

    .landing-form-group textarea {
        min-height: 120px;
        resize: vertical;
    }

.landing-submit-btn, .landing-load-btn {
    border: 0;
    border-radius: 14px;
    background: #222;
    color: #fff;
    padding: 11px 22px;
    cursor: pointer;
}

.landing-load-btn {
    background: #fff;
    color: #222;
    border: 1px solid #ddd;
}

.landing-message {
    margin-top: 12px;
    font-size: 13px;
    line-height: 2;
}

    .landing-message.success, .blog-form-message.success {
        color: #16834a;
    }

    .landing-message.error, .blog-form-message.error {
        color: #c0392b;
    }

.landing-comment-item {
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 12px;
    background: #fff;
}

.landing-comment-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: #777;
    font-size: 13px;
}

    .landing-comment-header strong {
        color: #222;
    }

.landing-admin-reply {
    margin-top: 12px;
    background: #f7f7f7;
    border-radius: 14px;
    padding: 12px;
    color: #444;
    line-height: 2;
}

/*
 * =========================================================
 * Mobile Landing
 * =========================================================
 */

@media (max-width: 991px) {

    body.product-landing-page {
        background: #f6f7fb !important;
        padding-top: 0 !important;
        padding-bottom: 86px !important;
    }

        body.product-landing-page #siteHeader {
            display: block !important;
        }

        body.product-landing-page footer, body.product-landing-page .float-contact, body.product-landing-page .dark-mode-toggle {
            display: none !important;
        }

        body.product-landing-page .landing-desktop-view {
            display: none !important;
        }

        body.product-landing-page .landing-mobile-view {
            display: block !important;
        }

        body.product-landing-page .desktop-only {
            display: none !important;
        }

        body.product-landing-page .mobile-only {
            display: block !important;
        }

        body.product-landing-page .container-custom {
            width: 100% !important;
            max-width: 100% !important;
            padding: 0 12px !important;
        }

    .landing-mobile-wrap {
        padding-top: 15px;
        padding-bottom: 94px;
    }

    .landing-mobile-hero {
        background: #fff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 22px;
        padding: 14px;
        margin-bottom: 12px;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    }

        .landing-mobile-hero img {
            display: block;
            width: 100%;
            height: auto;
            max-height: none;
            object-fit: contain;
            border-radius: 18px;
            margin-bottom: 12px;
            background: #f1f5f9;
        }

        .landing-mobile-hero h1 {
            margin: 0 0 8px;
            font-size: 19px;
            font-weight: 900;
            line-height: 1.8;
            color: #111827;
        }

        .landing-mobile-hero p {
            margin: 0;
            color: #64748b;
            font-size: 13px;
            line-height: 2;
            text-align: justify;
        }

    .landing-mobile-section {
        background: #fff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 20px;
        padding: 14px;
        margin-bottom: 12px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    }

        .landing-mobile-section h2 {
            margin: 0 0 12px;
            font-size: 16px;
            font-weight: 900;
            color: #111827;
        }

    .landing-mobile-content {
        color: #475569;
        line-height: 2.05;
        font-size: 13px;
        text-align: justify;
    }

        .landing-mobile-content img {
            max-width: 100%;
            height: auto;
            border-radius: 14px;
        }

    .landing-mobile-category-scroll {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .landing-mobile-category-card {
        min-width: 160px;
        text-decoration: none;
        color: #111827;
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        padding: 12px;
    }

        .landing-mobile-category-card strong {
            display: block;
            font-size: 13px;
            margin-bottom: 6px;
        }

        .landing-mobile-category-card span {
            font-size: 12px;
            color: #64748b;
        }

    .landing-mobile-products {
        margin-bottom: 12px;
    }

    .landing-mobile-products-sticky-scope {
        position: relative;
        width: 100%;
        overflow: visible;
    }

    .landing-mobile-top-sticky {
        position: sticky;
        top: var(--landing-home-header-height, 118px);
        z-index: 1050;
        background: rgba(246, 247, 251, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 8px 0 9px;
        margin: 0 -12px 10px;
    }

    .landing-mobile-top-sticky-inner {
        padding: 0 12px;
    }

    .landing-mobile-filter-sort-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 8px;
        align-items: center;
    }

    .landing-mobile-filter-info {
        min-width: 0;
        height: 42px;
        display: flex;
        align-items: center;
        gap: 7px;
        background: #fff;
        border: 1px solid rgba(15, 23, 42, 0.1);
        border-radius: 15px;
        padding: 0 10px;
        overflow: hidden;
    }

    .landing-mobile-filter-label {
        flex: 0 0 auto;
        font-size: 12px;
        font-weight: 900;
        color: #111827;
    }

    .landing-mobile-selected-filters {
        min-width: 0;
        display: flex;
        gap: 6px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

        .landing-mobile-selected-filters::-webkit-scrollbar {
            display: none;
        }

    .mobile-filter-empty-text {
        color: #94a3b8;
        font-size: 12px;
    }

    .mobile-filter-chip {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: #eef2ff;
        color: #224173;
        border: 1px solid rgba(34, 65, 115, 0.12);
        border-radius: 999px;
        padding: 5px 8px;
        font-size: 11px;
        font-weight: 800;
    }

    .mobile-remove-filter {
        width: 18px;
        height: 18px;
        border: 0;
        border-radius: 50%;
        background: rgba(34, 65, 115, 0.12);
        color: #224173;
        line-height: 18px;
        padding: 0;
        cursor: pointer;
    }

    .landing-mobile-sort-trigger, .landing-mobile-filter-trigger {
        height: 42px;
        border: 1px solid rgba(15, 23, 42, 0.1);
        background: #fff;
        color: #111827;
        border-radius: 15px;
        padding: 0 11px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-size: 12px;
        font-weight: 900;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
        cursor: pointer;
    }

    .landing-mobile-product-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .landing-mobile-product-card {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        background: #fff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 18px;
        padding: 10px;
        text-decoration: none;
        color: inherit;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    }

        .landing-mobile-product-card img {
            width: 96px;
            height: 96px;
            object-fit: cover;
            border-radius: 15px;
            background: #f1f5f9;
        }

        .landing-mobile-product-card h3 {
            margin: 0 0 8px;
            color: #111827;
            font-size: 13px;
            line-height: 1.8;
            font-weight: 900;
        }

        .landing-mobile-product-card .price {
            color: #224173;
            font-weight: 900;
            font-size: 13px;
        }

        .landing-mobile-product-card .category {
            color: #94a3b8;
            font-size: 11px;
            margin-top: 5px;
        }

    /* Bottom Bar */

    body.product-landing-page .mobile-bottom-bar {
        position: fixed !important;
        right: 10px !important;
        left: 10px !important;
        bottom: 10px !important;
        z-index: 1200 !important;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
        background: rgba(255,255,255,.96) !important;
        border: 1px solid rgba(15, 23, 42, .08) !important;
        border-radius: 24px !important;
        padding: 8px !important;
        box-shadow: 0 -8px 28px rgba(15, 23, 42, .12) !important;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    body.product-landing-page .mobile-bottom-item {
        border: 0;
        background: transparent;
        text-decoration: none;
        color: #64748b;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        font-size: 11px;
        font-weight: 800;
        padding: 5px 2px;
    }

    body.product-landing-page .mobile-bottom-icon, body.product-landing-page .mobile-call-icon {
        width: 34px;
        height: 34px;
        border-radius: 14px;
        background: #f1f5f9;
        color: #224173;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    body.product-landing-page .mobile-call-btn .mobile-call-icon {
        background: linear-gradient(135deg, #224173, #1b3560);
        color: #fff;
        box-shadow: 0 8px 20px rgba(34, 65, 115, 0.28);
    }

    /* Mobile Sheets */

    .landing-mobile-sheet-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, .44);
        z-index: 1090;
        opacity: 0;
        visibility: hidden;
        transition: .2s;
    }

        .landing-mobile-sheet-overlay.show {
            opacity: 1;
            visibility: visible;
        }

    .landing-mobile-sheet {
        position: fixed;
        right: 0;
        left: 0;
        bottom: 0;
        height: calc(100dvh - var(--sheet-translate-y, 40%));
        max-height: 100dvh;
        background: #fff;
        z-index: 1100;
        border-radius: 26px 26px 0 0;
        display: flex !important;
        flex-direction: column;
        transform: translateY(110%);
        transition: transform .25s ease;
        overflow: hidden;
        box-shadow: 0 -20px 44px rgba(15, 23, 42, .22);
    }

        .landing-mobile-sheet.open {
            transform: translateY(0);
        }

        .landing-mobile-sheet.full {
            height: 100dvh;
            border-radius: 0;
        }

        .landing-mobile-sheet .sheet-header {
            flex: 0 0 auto;
            padding: 12px 14px;
            border-bottom: 1px solid #eef2f7;
            display: grid;
            grid-template-columns: 36px minmax(0, 1fr) 36px;
            gap: 8px;
            align-items: center;
        }

        .landing-mobile-sheet .sheet-handle {
            grid-column: 1 / 4;
            width: 42px;
            height: 5px;
            border-radius: 999px;
            background: #cbd5e1;
            justify-self: center;
            margin-bottom: 6px;
            touch-action: none;
        }

        .landing-mobile-sheet .sheet-header h3 {
            grid-column: 2;
            margin: 0;
            text-align: center;
            font-size: 15px;
            font-weight: 900;
            color: #111827;
        }

        .landing-mobile-sheet .close-sheet-btn {
            grid-column: 3;
            grid-row: 2;
            width: 34px;
            height: 34px;
            border: 0;
            border-radius: 12px;
            background: #f1f5f9;
            color: #334155;
            font-size: 22px;
            line-height: 34px;
            cursor: pointer;
        }

        .landing-mobile-sheet .sheet-body {
            flex: 1 1 auto;
            min-height: 0;
            overflow-y: auto;
            padding: 14px;
            padding-bottom: 105px;
            -webkit-overflow-scrolling: touch;
        }

    body.landing-mobile-sheet-is-open {
        overflow: hidden !important;
    }

        body.landing-mobile-sheet-is-open .mobile-bottom-bar {
            opacity: 0;
            pointer-events: none;
        }

    .landing-sheet-filter-group {
        margin-bottom: 18px;
    }

        .landing-sheet-filter-group h4 {
            margin: 0 0 10px;
            font-size: 13px;
            font-weight: 900;
            color: #111827;
        }

        .landing-sheet-filter-group input[type="text"], .landing-sheet-filter-group input[type="number"] {
            width: 100%;
            height: 42px;
            border: 1px solid #e5e7eb;
            border-radius: 14px;
            padding: 0 12px;
            outline: none;
            background: #f8fafc;
            font-size: 13px;
        }

    .landing-mobile-brand-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

        .landing-mobile-brand-list label {
            display: flex;
            align-items: center;
            gap: 8px;
            min-height: 40px;
            padding: 9px 10px;
            border: 1px solid #eef2f7;
            border-radius: 14px;
            background: #f8fafc;
            font-size: 13px;
            color: #334155;
        }

    .landing-mobile-price-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .landing-sheet-actions {
        position: sticky;
        bottom: -14px;
        background: linear-gradient(to top, #fff 70%, rgba(255,255,255,0));
        padding-top: 20px;
        padding-bottom: 4px;
    }

    .landing-sheet-submit-btn {
        width: 100%;
        height: 46px;
        border: 0;
        border-radius: 16px;
        background: #224173;
        color: #fff;
        font-weight: 900;
        cursor: pointer;
    }

    .category-tree-list, .category-tree-children {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .category-tree-item {
        list-style: none;
    }

    .category-tree-children {
        display: none;
        padding-right: 12px;
    }

    .category-tree-item.open > .category-tree-children {
        display: block;
    }

    .category-tree-row {
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 9px 10px;
        margin-bottom: 7px;
        border: 1px solid #eef2f7;
        border-radius: 14px;
        background: #f8fafc;
        cursor: pointer;
    }

    .category-tree-item.active > .category-tree-row {
        border-color: rgba(34, 65, 115, .25);
        background: #eef2ff;
        color: #224173;
    }

    .category-tree-title {
        min-width: 0;
        font-size: 13px;
        font-weight: 800;
        color: #334155;
    }

    .category-tree-actions {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #94a3b8;
    }

    .category-direct-select {
        border: 0;
        border-radius: 999px;
        background: #224173;
        color: #fff;
        font-size: 11px;
        padding: 5px 9px;
        cursor: pointer;
    }

    .sort-options-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

        .sort-options-list li {
            min-height: 46px;
            display: flex;
            align-items: center;
            padding: 0 12px;
            border-bottom: 1px solid #eef2f7;
            font-size: 14px;
            font-weight: 800;
            color: #334155;
            cursor: pointer;
        }

            .sort-options-list li.active {
                color: #224173;
                background: #eef2ff;
                border-radius: 14px;
            }

    /* Mobile Comments */

    .product-comments-mobile {
        display: block;
        background: #fff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 20px;
        padding: 14px;
        margin-bottom: 12px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    }

    .mobile-comments-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
    }

        .mobile-comments-head h3 {
            margin: 0 0 5px;
            color: #111827;
            font-size: 16px;
            font-weight: 900;
        }

    .mobile-comments-rate-row {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #64748b;
        font-size: 12px;
    }

        .mobile-comments-rate-row strong {
            color: #224173;
            font-size: 15px;
        }

    .mobile-comments-see-all {
        border: 0;
        background: #f1f5f9;
        color: #224173;
        border-radius: 999px;
        padding: 8px 10px;
        font-size: 12px;
        font-weight: 900;
        cursor: pointer;
    }

    .mobile-comments-carousel {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 5px;
        margin-bottom: 12px;
        -webkit-overflow-scrolling: touch;
    }

        .mobile-comments-carousel::-webkit-scrollbar {
            display: none;
        }

    .mobile-comment-card {
        min-width: 230px;
        text-align: right;
        border: 1px solid #eef2f7;
        background: #f8fafc;
        border-radius: 18px;
        padding: 12px;
        color: #334155;
        display: flex;
        flex-direction: column;
        gap: 7px;
        cursor: pointer;
    }

    .mobile-comment-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #eef2ff;
        color: #224173;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-comment-card-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .mobile-comment-name {
        font-size: 13px;
        font-weight: 900;
        color: #111827;
    }

    .mobile-comment-buyer {
        background: #ecfdf5;
        color: #16834a;
        border-radius: 999px;
        padding: 3px 7px;
        font-size: 10px;
        font-weight: 900;
    }

    .mobile-comment-stars, .product-mobile-modal-stars {
        color: #f59e0b;
        letter-spacing: 1px;
        font-size: 12px;
    }

    .mobile-comment-preview {
        color: #475569;
        font-size: 12px;
        line-height: 1.9;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .mobile-comment-reply-badge {
        align-self: flex-start;
        background: #eff6ff;
        color: #224173;
        border-radius: 999px;
        padding: 5px 8px;
        font-size: 11px;
        font-weight: 900;
    }

    .mobile-comment-card-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #94a3b8;
        font-size: 11px;
    }

    .mobile-comment-more-text {
        color: #224173;
        font-weight: 900;
    }

    .mobile-no-comments {
        background: #f8fafc;
        border: 1px dashed #cbd5e1;
        border-radius: 16px;
        padding: 14px;
        color: #64748b;
        font-size: 13px;
        margin-bottom: 12px;
    }

    .mobile-comment-accordion {
        border: 1px solid #eef2f7;
        border-radius: 18px;
        overflow: hidden;
        background: #fff;
    }

    .mobile-comment-accordion-btn {
        width: 100%;
        border: 0;
        background: #fff;
        min-height: 50px;
        padding: 0 12px;
        display: grid;
        grid-template-columns: 34px minmax(0,1fr) 20px;
        gap: 8px;
        align-items: center;
        text-align: right;
        color: #111827;
        font-size: 13px;
        font-weight: 900;
        cursor: pointer;
    }

    .mobile-comment-accordion-icon {
        width: 34px;
        height: 34px;
        border-radius: 13px;
        background: #eef2ff;
        color: #224173;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-comment-accordion-chevron {
        color: #94a3b8;
        transition: .2s;
    }

    .mobile-comment-accordion.is-open .mobile-comment-accordion-chevron {
        transform: rotate(-90deg);
    }

    .mobile-comment-accordion-body {
        padding: 12px;
        border-top: 1px solid #eef2f7;
        background: #f8fafc;
    }

        .mobile-comment-accordion-body[hidden] {
            display: none !important;
        }

    .blog-form-group {
        margin-bottom: 12px;
    }

        .blog-form-group label {
            display: block;
            font-size: 12px;
            font-weight: 900;
            color: #334155;
            margin-bottom: 6px;
        }

        .blog-form-group input, .blog-form-group textarea {
            width: 100%;
            border: 1px solid #e5e7eb;
            background: #fff;
            border-radius: 14px;
            padding: 10px 12px;
            font-size: 13px;
            outline: none;
        }

    .blog-primary-btn.full {
        width: 100%;
        height: 44px;
        border: 0;
        border-radius: 15px;
        background: #224173;
        color: #fff;
        font-weight: 900;
        cursor: pointer;
    }

    .blog-form-message {
        margin-top: 10px;
        font-size: 12px;
        line-height: 2;
    }

    .product-mobile-comment-overlay {
        position: fixed;
        inset: 0;
        z-index: 1250;
        background: rgba(15, 23, 42, .48);
        opacity: 0;
        visibility: hidden;
        transition: .2s;
    }

        .product-mobile-comment-overlay.active {
            opacity: 1;
            visibility: visible;
        }

    .product-mobile-comment-modal, .product-mobile-all-comments-modal {
        position: fixed;
        right: 0;
        left: 0;
        bottom: 0;
        z-index: 1260;
        max-height: 82dvh;
        background: #fff;
        border-radius: 26px 26px 0 0;
        padding: 14px;
        transform: translateY(110%);
        transition: .25s;
        overflow-y: auto;
        box-shadow: 0 -18px 44px rgba(15, 23, 42, .22);
    }

        .product-mobile-comment-modal.active, .product-mobile-all-comments-modal.active {
            transform: translateY(0);
        }

    .product-mobile-modal-handle {
        width: 42px;
        height: 5px;
        border-radius: 999px;
        background: #cbd5e1;
        margin: 0 auto 12px;
    }

    .product-mobile-modal-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 10px;
    }

        .product-mobile-modal-head strong {
            display: block;
            color: #111827;
            font-size: 15px;
            font-weight: 900;
        }

        .product-mobile-modal-head span {
            display: block;
            color: #94a3b8;
            font-size: 11px;
            margin-top: 4px;
        }

    .product-mobile-modal-close {
        width: 34px;
        height: 34px;
        border: 0;
        border-radius: 13px;
        background: #f1f5f9;
        color: #334155;
        cursor: pointer;
    }

    .product-mobile-modal-text {
        color: #334155;
        line-height: 2;
        font-size: 13px;
        white-space: pre-line;
    }

    .product-mobile-admin-reply {
        background: #eff6ff;
        border: 1px solid #dbeafe;
        border-radius: 16px;
        padding: 12px;
        margin-top: 12px;
        color: #334155;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .product-mobile-admin-reply-head {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 6px;
    }

    .product-mobile-all-comments-list {
        display: grid;
        gap: 10px;
    }

    .product-mobile-all-comment-item {
        border: 1px solid #eef2f7;
        background: #f8fafc;
        border-radius: 16px;
        padding: 12px;
    }

    .product-mobile-all-comment-head {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 8px;
        color: #64748b;
        font-size: 12px;
    }

        .product-mobile-all-comment-head strong {
            color: #111827;
            font-size: 13px;
        }

    body.mobile-comment-modal-open {
        overflow: hidden !important;
    }
}

/*
 * =========================================================
 * Mobile Final Fixes
 * Header spacing, sheets and comment modal
 * =========================================================
 */
@media (max-width: 991px) {
    body.product-landing-page {
        --landing-home-header-height: 118px;
        --landing-sheet-overlay-z: 29000;
        --landing-sheet-z: 29010;
    }

        body.product-landing-page .landing-mobile-wrap {
            width: 100%;
            max-width: 100%;
            padding: 15px 12px 94px 12px !important;
            margin: 0 !important;
        }

        body.product-landing-page .landing-mobile-hero {
            margin-top: 0 !important;
        }

        body.product-landing-page .landing-mobile-top-sticky {
            top: var(--landing-home-header-height) !important;
        }

        body.product-landing-page .landing-mobile-sheet-overlay {
            z-index: var(--landing-sheet-overlay-z) !important;
        }

        body.product-landing-page .landing-mobile-sheet {
            z-index: var(--landing-sheet-z) !important;
        }

            body.product-landing-page .landing-mobile-sheet.full {
                height: 100dvh !important;
                max-height: 100dvh !important;
                border-radius: 0 !important;
            }

            body.product-landing-page .landing-mobile-sheet.dragging {
                transition: none !important;
            }

            body.product-landing-page .landing-mobile-sheet .sheet-header {
                padding-top: calc(12px + env(safe-area-inset-top, 0px)) !important;
                background: #fff;
            }

    .landing-comment-sheet {
        height: calc(100dvh - var(--sheet-translate-y, 40%));
        max-height: 100dvh;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }

        .landing-comment-sheet.full {
            height: 100dvh !important;
            max-height: 100dvh !important;
            border-radius: 0 !important;
        }

        .landing-comment-sheet .sheet-header {
            flex: 0 0 auto !important;
        }

        .landing-comment-sheet .sheet-body {
            flex: 1 1 auto !important;
            min-height: 0 !important;
            overflow-y: auto !important;
            overflow-x: hidden !important;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior-y: contain;
            touch-action: pan-y !important;
            padding-bottom: max( 40px, env(safe-area-inset-bottom, 0px) ) !important;
            overflow-wrap: anywhere;
            word-break: break-word;
        }

    .landing-comment-sheet-title-sub {
        display: block;
        color: #94a3b8;
        font-size: 11px;
        font-weight: 600;
        margin-top: 3px;
        text-align: center;
    }

    .landing-single-comment-user-row {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 10px;
        padding-bottom: 0 !important;
        border-bottom: none !important;
    }

        .landing-single-comment-user-row strong {
            color: #111827;
            font-size: 14px;
            font-weight: 900;
            line-height: 1.7;
        }

        .landing-single-comment-user-row span {
            color: #94a3b8;
            font-size: 11px;
            font-weight: 700;
            white-space: nowrap;
            line-height: 1.7;
        }

    .landing-comment-sheet .sheet-header {
        grid-template-columns: 36px minmax(0, 1fr) 36px !important;
        grid-template-rows: 5px 36px !important;
        align-items: center !important;
    }

    .landing-comment-sheet .sheet-handle {
        grid-column: 1 / 4 !important;
        grid-row: 1 !important;
        margin-bottom: 0 !important;
    }

    .landing-comment-sheet .sheet-header h3 {
        grid-column: 2 !important;
        grid-row: 2 !important;
        margin: 0 !important;
        align-self: center !important;
        justify-self: center !important;
        line-height: 36px !important;
        height: 36px !important;
        font-size: 15px !important;
        font-weight: 900 !important;
        text-align: center !important;
    }

    .landing-comment-sheet .close-sheet-btn {
        grid-column: 3 !important;
        grid-row: 2 !important;
        align-self: center !important;
        justify-self: end !important;
        margin: 0 !important;
    }
}

/*
 * =========================================================
 * Match Landing Product Card Font Sizes with Product Index
 * =========================================================
 */

@media (min-width: 992px) {

    .landing-product-card h3 {
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.4;
        margin: 0 0 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 44px;
    }

    .landing-product-card .price {
        font-size: 1.2rem;
        font-weight: 800;
    }

    .landing-product-card .text-muted {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 991px) {

    .landing-mobile-product-card h3 {
        font-size: 0.9rem;
        line-height: 1.5;
        margin: 0 0 6px;
        min-height: auto;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .landing-mobile-product-card .price {
        font-size: 0.95rem;
        font-weight: 900;
    }

    .landing-mobile-product-card .category {
        font-size: 0.75rem;
    }
}

/*
 * =========================================
 * Landing Dynamic Breadcrumb
 * =========================================
 */

.landing-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    color: #888;
    font-size: 13px;
    margin-bottom: 10px;
}

    .landing-breadcrumb a {
        color: #666;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .landing-breadcrumb a:hover {
            color: #224173;
        }

.landing-breadcrumb-separator {
    color: #a0a8b3;
    font-size: 11px;
}

.landing-breadcrumb-current {
    color: #224173;
    font-weight: 800;
}

/*
 * =========================================================
 * Equal Landing Typography Size
 * Match h1, h2, h3, price and submit button
 * with LandingFullNameDesktop input
 * =========================================================
 */

body.product-landing-page {
    --landing-equal-font-size: 1rem;
    /* برابر با 16px */
}

    /* فیلد مرجع */

    body.product-landing-page #LandingFullNameDesktop {
        font-size: var(--landing-equal-font-size) !important;
    }

    /* تمام عنوان‌های صفحه لندینگ */

    body.product-landing-page h1, body.product-landing-page h2, body.product-landing-page h3 {
        font-size: var(--landing-equal-font-size) !important;
    }

    /* قیمت محصولات */

    body.product-landing-page .price {
        font-size: var(--landing-equal-font-size) !important;
    }

    /* دکمه ارسال نظر */

    body.product-landing-page .landing-submit-btn {
        font-size: var(--landing-equal-font-size) !important;
    }

    /*
 * این دو قانون برای غلبه بر استایل‌های اختصاصی موبایل هستند
 * که در بخش‌های قبلی فایل با !important تعریف شده‌اند.
 */

    body.product-landing-page .landing-mobile-sheet .sheet-header h3, body.product-landing-page .landing-comment-sheet .sheet-header h3 {
        font-size: var(--landing-equal-font-size) !important;
    }

    /*
 * =========================================================
 * Related Categories - Corrected Square Cards
 * =========================================================
 */

    body.product-landing-page .landing-related-categories {
        display: flex !important;
        align-items: flex-start !important;
        flex-wrap: nowrap !important;
        gap: 14px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 4px 2px 12px !important;
        scroll-behavior: smooth;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

        body.product-landing-page .landing-related-categories::-webkit-scrollbar {
            height: 6px;
        }

        body.product-landing-page .landing-related-categories::-webkit-scrollbar-thumb {
            border-radius: 999px;
            background-color: #94a3b8;
        }

        body.product-landing-page .landing-related-categories::-webkit-scrollbar-track {
            background-color: transparent;
        }

    body.product-landing-page .landing-related-category {
        display: flex !important;
        align-items: center !important;
        flex: 0 0 150px !important;
        flex-direction: column !important;
        width: 150px !important;
        min-width: 150px !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
        color: #334155 !important;
        background: transparent !important;
        box-shadow: none !important;
        text-align: center !important;
        text-decoration: none !important;
        transition: transform 0.2s ease;
    }

        body.product-landing-page .landing-related-category:hover, body.product-landing-page .landing-related-category:focus {
            color: #224173 !important;
            background: transparent !important;
            box-shadow: none !important;
            outline: none !important;
            text-decoration: none !important;
            transform: translateY(-3px);
        }

    body.product-landing-page .landing-related-category__square {
        position: relative;
        display: block;
        width: 150px;
        height: 150px;
        overflow: hidden;
        border: 1px solid #dbe3ec;
        border-radius: 16px;
        background-color: #f1f5f9;
        box-shadow: 0 5px 15px rgba(15, 23, 42, 0.07);
        isolation: isolate;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    body.product-landing-page .landing-related-category:hover .landing-related-category__square, body.product-landing-page .landing-related-category:focus .landing-related-category__square {
        border-color: #94a3b8;
        box-shadow: 0 11px 24px rgba(15, 23, 42, 0.14);
    }

    body.product-landing-page .landing-related-category__image {
        position: absolute;
        inset: 0;
        z-index: 0;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        margin: 0 !important;
        object-fit: cover !important;
        object-position: center center;
        transition: transform 0.35s ease;
    }

    body.product-landing-page .landing-related-category:hover .landing-related-category__image {
        transform: scale(1.06);
    }

    body.product-landing-page .landing-related-category__square.has-image::after {
        position: absolute;
        inset: 0;
        z-index: 1;
        content: "";
        pointer-events: none;
        background: linear-gradient( to top, rgba(15, 23, 42, 0.42) 0%, rgba(15, 23, 42, 0.06) 58%, transparent 100% );
    }

    body.product-landing-page .landing-related-category__square.without-image, body.product-landing-page .landing-related-category__square.image-load-failed {
        background: linear-gradient( 145deg, #ffffff 0%, #edf2f7 100% );
    }

    body.product-landing-page .landing-related-category__title {
        position: absolute !important;
        right: 8px !important;
        bottom: 8px !important;
        left: 8px !important;
        z-index: 2 !important;
        display: -webkit-box !important;
        width: auto !important;
        min-height: 38px;
        margin: 0 !important;
        padding: 7px 9px !important;
        overflow: hidden !important;
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 10px;
        color: #ffffff !important;
        background-color: rgba(55, 65, 81, 0.62);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        font-size: 13px !important;
        font-weight: 800 !important;
        line-height: 1.7 !important;
        text-align: center !important;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    body.product-landing-page .landing-related-category__square.without-image .landing-related-category__title, body.product-landing-page .landing-related-category__square.image-load-failed .landing-related-category__title {
        color: #1f2937 !important;
        border-color: rgba(148, 163, 184, 0.3);
        background-color: rgba(203, 213, 225, 0.7);
    }

    body.product-landing-page .landing-related-category__action {
        position: static !important;
        display: block !important;
        width: 100% !important;
        margin: 8px 0 0 !important;
        padding: 0 !important;
        color: #64748b !important;
        background: transparent !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 1.8 !important;
        text-align: center !important;
    }

    body.product-landing-page .landing-related-category:hover .landing-related-category__action, body.product-landing-page .landing-related-category:focus .landing-related-category__action {
        color: #224173 !important;
    }

    body.product-landing-page .landing-related-category.active .landing-related-category__square {
        border-color: #224173;
        box-shadow: 0 0 0 2px rgba(34, 65, 115, 0.16), 0 10px 24px rgba(34, 65, 115, 0.18);
    }

    body.product-landing-page .landing-related-category.active .landing-related-category__title {
        color: #ffffff !important;
        background-color: rgba(34, 65, 115, 0.78);
    }

    body.product-landing-page .landing-related-category.active .landing-related-category__action {
        color: #224173 !important;
    }

@media (max-width: 991px) {

    body.product-landing-page .landing-related-category {
        flex-basis: 124px !important;
        width: 124px !important;
        min-width: 124px !important;
    }

    body.product-landing-page .landing-related-category__square {
        width: 124px;
        height: 124px;
        border-radius: 14px;
    }

    body.product-landing-page .landing-related-category__title {
        right: 6px !important;
        bottom: 6px !important;
        left: 6px !important;
        min-height: 34px;
        padding: 6px !important;
        border-radius: 8px;
        font-size: 11px !important;
    }

    body.product-landing-page .landing-related-category__action {
        margin-top: 6px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 380px) {

    body.product-landing-page .landing-related-category {
        flex-basis: 112px !important;
        width: 112px !important;
        min-width: 112px !important;
    }

    body.product-landing-page .landing-related-category__square {
        width: 112px;
        height: 112px;
    }
}

/*
 * =========================================================
 * Landing - Expandable Top / Bottom Content
 * =========================================================
 */

body.product-landing-page .landing-expandable-content {
    width: 100%;
}

/* Preview + Full */

body.product-landing-page .landing-expandable-preview, body.product-landing-page .landing-expandable-full {
    color: inherit;
    font: inherit;
    line-height: inherit;
}

/* More / Close */

body.product-landing-page .landing-content-toggle {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin-top: 8px;
    color: #224173;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .2s ease;
}

    body.product-landing-page .landing-content-toggle:hover {
        color: #162f57;
    }

    /* Arrow */

    body.product-landing-page .landing-content-toggle i {
        font-size: 10px;
        transition: transform .2s ease;
    }

    /* Expanded */

    body.product-landing-page .landing-content-toggle.is-expanded i {
        transform: rotate(180deg);
    }

/* Important for hidden content */

body.product-landing-page .landing-expandable-content [hidden] {
    display: none !important;
}

/*
 * =========================================================
 * Mobile
 * =========================================================
 */

@media (max-width: 991px) {

    body.product-landing-page .landing-content-toggle {
        margin-top: 6px;
        font-size: 12px;
        font-weight: 700;
    }
}

/*
 * =========================================================
 * Landing Mobile Header / Search / Sticky Layering
 * =========================================================
 */
@media (max-width: 991.98px) {
    body.product-landing-page {
        --landing-home-header-height: 118px;
    }

        body.product-landing-page #siteHeader.dangaah-header {
            display: block !important;
            position: sticky !important;
            top: 0 !important;
            z-index: 25000 !important;
            width: 100% !important;
            background: #fff !important;
            isolation: isolate;
        }

        body.product-landing-page #siteHeader .dangaah-header-main,
        body.product-landing-page #siteHeader .dangaah-header-container {
            position: relative !important;
            z-index: 2 !important;
            background: #fff !important;
        }

        body.product-landing-page #siteHeader .site-search-shell:not(.is-open) {
            position: relative !important;
            z-index: 3 !important;
        }

        body.product-landing-page .landing-mobile-products-sticky-scope {
            position: relative !important;
            width: 100% !important;
            z-index: 1 !important;
            isolation: isolate;
            overflow: visible !important;
        }

        body.product-landing-page .landing-mobile-top-sticky {
            position: sticky !important;
            top: var(--landing-home-header-height) !important;
            z-index: 20 !important;
            background: #f6f7fb !important;
            -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
            padding: 8px 0 9px !important;
            margin: 0 -12px 10px !important;
        }

        body.product-landing-page .landing-mobile-top-sticky-inner {
            position: relative;
            z-index: 1;
            padding-right: 12px;
            padding-left: 12px;
        }

        body.product-landing-page.site-search-open #siteHeader.dangaah-header {
            z-index: 40000 !important;
        }

        body.product-landing-page.site-search-open #siteHeader .site-search-shell.is-open {
            z-index: 40010 !important;
        }

        body.product-landing-page.site-search-open .landing-mobile-top-sticky,
        body.product-landing-page.site-search-open .mobile-bottom-bar {
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
        }

        body.product-landing-page.site-search-open .landing-mobile-sheet-overlay,
        body.product-landing-page.site-search-open .landing-mobile-sheet {
            z-index: 20000 !important;
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
        }
}

/*
 * =========================================================
 * Small Mobile Header
 * =========================================================
 */
@media (max-width: 420px) {
    body.product-landing-page {
        --landing-home-header-height: 113px;
    }
}
/* =========================================================
   FIX - Mobile single comment long admin reply scroll
   ========================================================= */
@media (max-width: 991px) {

    /* بک‌گراند صفحه قفل باشد ولی اسکرول داخل مودال آزاد بماند */
    body.product-landing-page.landing-mobile-sheet-is-open {
        overflow: hidden !important;
        touch-action: auto !important;
    }

    /* مودال جزئیات یک نظر */
    body.product-landing-page #landingSingleCommentModal {
        height: 100dvh !important;
        max-height: 100dvh !important;
        min-height: 100dvh !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        border-radius: 0 !important;
        touch-action: pan-y !important;
    }

        /* هدر ثابت بماند */
        body.product-landing-page #landingSingleCommentModal > .sheet-header {
            flex: 0 0 auto !important;
        }

        /* فقط این قسمت اسکرول بخورد */
        body.product-landing-page #landingSingleCommentModal > .sheet-body {
            position: relative !important;
            flex: 1 1 0 !important;
            min-height: 0 !important;
            height: 0 !important;
            overflow-y: scroll !important;
            overflow-x: hidden !important;
            -webkit-overflow-scrolling: touch !important;
            overscroll-behavior-y: contain !important;
            touch-action: pan-y !important;
            padding: 14px !important;
            padding-bottom: calc( 50px + env(safe-area-inset-bottom, 0px) ) !important;
        }

    /* متن نظر */
    body.product-landing-page #landingSingleCommentText {
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
        white-space: pre-wrap !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    /* باکس پاسخ مدیر */
    body.product-landing-page #landingSingleCommentAdminReplyBox {
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
        flex-shrink: 0 !important;
        margin-bottom: 30px !important;
    }

    /* خود متن پاسخ مدیر */
    body.product-landing-page #landingSingleCommentAdminReplyText {
        display: block !important;
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
        white-space: pre-wrap !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        margin-bottom: 0 !important;
    }
}

/* =========================================================
   FIX - All Comments Mobile Scroll
   ========================================================= */
@media (max-width: 991px) {

    body.product-landing-page #landingAllCommentsModal {
        height: 100dvh !important;
        max-height: 100dvh !important;
        min-height: 100dvh !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        border-radius: 0 !important;
        touch-action: pan-y !important;
    }

        body.product-landing-page #landingAllCommentsModal > .sheet-header {
            flex: 0 0 auto !important;
        }

        body.product-landing-page #landingAllCommentsModal > .sheet-body {
            flex: 1 1 0 !important;
            height: 0 !important;
            min-height: 0 !important;
            overflow-y: auto !important;
            overflow-x: hidden !important;
            -webkit-overflow-scrolling: touch !important;
            overscroll-behavior-y: contain !important;
            touch-action: pan-y !important;
            padding: 14px !important;
            /* مهم: آخرین نظر هم کاملاً قابل مشاهده باشد */
            padding-bottom: calc( 70px + env(safe-area-inset-bottom, 0px) ) !important;
        }

    body.product-landing-page #landingAllCommentsList {
        display: grid !important;
        gap: 10px !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        padding-bottom: 30px !important;
    }

        body.product-landing-page #landingAllCommentsList
        .product-mobile-all-comment-item:last-child {
            margin-bottom: 30px !important;
        }
}