/* =========================================================
    صفحه محصولات
   PRODUCTS PAGE
   ========================================================= */

.products-hero {
    padding: 120px 0 70px;
    background: linear-gradient(
        135deg,
        #f7f9fc 0%,
        #ffffff 100%
    );
}

.products-hero h1 {
    font-weight: 700;
    margin-bottom: 15px;
}

.products-hero p {
    color: #6c757d;
    max-width: 750px;
    margin: auto;
}


/* =========================================================
   PRODUCT FILTER
   ========================================================= */

.product-filter {
    margin-bottom: 35px;
}

.product-filter .nav-link {
    border-radius: 30px;
    margin: 4px;
    color: #555;
}

.product-filter .nav-link.active {
    color: #fff;
    background: #0d6efd;
}


/* =========================================================
   PRODUCT CARD
   ========================================================= */

.product-card {
    height: 100%;
    border: 1px solid #edf0f4;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: all .3s ease;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .04);
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .10);
}


/* =========================================================
   PRODUCT CARD IMAGE
   ========================================================= */

.product-card-image {
    position: relative;
    height: 245px;
    overflow: hidden;
    background: #f7f7f7;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}


/* =========================================================
   FEATURED BADGE
   ========================================================= */

.product-featured {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #0d6efd;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
}


/* =========================================================
   PRODUCT CARD BODY
   ========================================================= */

.product-card-body {
    padding: 25px;
}

.product-card-body h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.product-card-body h3 a {
    color: #222;
}

.product-card-body h3 a:hover {
    color: #0d6efd;
}

.product-description {
    color: #777;
    line-height: 1.9;
    min-height: 55px;
}


/* =========================================================
   PRODUCT PRICE
   ========================================================= */

.product-price {
    font-weight: 700;
    color: #0d6efd;
    font-size: 17px;
}

.product-no-price {
    color: #777;
    font-size: 14px;
}


/* =========================================================
   BLOG SECTION
   ========================================================= */

.blog-bottom {
    margin-top: 90px;
    padding: 70px 0;
    background: #f8f9fa;
}

.blog-mini-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}

.blog-mini-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-mini-card-body {
    padding: 20px;
}











/* =========================================================
   صفحه جزییات محصولات
   PRODUCT DETAIL
   Premium / Responsive / Media
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.product-detail-hero {

    padding: 120px 0 60px;

    background: #f8f9fa;

}


/* =========================================================
   MAIN MEDIA
   ========================================================= */

.product-detail-media {

    position: relative;

    background: #fff;

    border-radius: 15px;

    overflow: hidden;

    border: 1px solid #edf0f4;

}


/* Main Image */

.product-detail-media > a {

    display: block;

}


.product-detail-media > a > img {

    display: block;

    width: 100%;

    height: 520px;

    object-fit: contain;

    background: #fff;

}


/* =========================================================
   MAIN VIDEO
   ========================================================= */

.product-main-video {

    width: 100%;

    background: #000;

}


.product-main-video video {

    display: block;

    width: 100%;

    height: 520px;

    object-fit: contain;

    background: #000;

}


/* =========================================================
   MEDIA PLACEHOLDER
   ========================================================= */

.product-media-placeholder {

    min-height: 420px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 12px;

    color: #81909a;

    background: #fff;

}


.product-media-placeholder i {

    font-size: 60px;

    line-height: 1;

}


.product-media-placeholder span {

    font-size: 14px;

}


/* =========================================================
   GALLERY
   ========================================================= */

.product-gallery {

    margin-top: 20px;

}


.product-gallery-item {

    position: relative;

    display: block;

    width: 100%;

    height: 100px;

    overflow: hidden;

    border-radius: 8px;

    background: #fff;

    border: 1px solid #edf0f4;

}


.product-gallery-item img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .3s ease;

}


.product-gallery-item:hover img {

    transform: scale(1.04);

}


/* =========================================================
   VIDEO THUMBNAIL
   ========================================================= */

.product-video-thumbnail {

    width: 100%;

    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 4px;

    background: #172b3a;

    color: #fff;

}


.product-video-thumbnail i {

    font-size: 34px;

    line-height: 1;

}


.product-video-thumbnail span {

    font-size: 12px;

    opacity: .9;

}


/* =========================================================
   PLAY BADGE
   ========================================================= */

.product-gallery-play {

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(13, 110, 253, .9);

    color: #fff;

    pointer-events: none;

    box-shadow: 0 5px 18px rgba(0, 0, 0, .2);

}


.product-gallery-play i {

    font-size: 22px;

    margin-left: 2px;

}


/* =========================================================
   PRODUCT CONTENT
   ========================================================= */

.product-detail-content h1 {

    font-size: 38px;

    font-weight: 700;

    line-height: 1.5;

    margin-top: 10px;

    margin-bottom: 20px;

}


.product-category-link {

    text-decoration: none;

    font-weight: 600;

}


.product-category-link:hover {

    text-decoration: underline;

}


.product-short-description {

    color: #666;

    font-size: 17px;

    line-height: 2;

}


/* =========================================================
   PRICE
   ========================================================= */

.product-price-box {

    margin: 30px 0;

    padding: 20px 25px;

    border-radius: 12px;

    background: #f8f9fa;

}


.product-price-value {

    font-size: 28px;

    font-weight: 700;

    color: #0d6efd;

}


.product-contact-price {

    color: #666;

    font-size: 16px;

    line-height: 1.8;

}


.product-contact-price i {

    margin-left: 6px;

}


/* =========================================================
   META
   ========================================================= */

.product-meta {

    margin-top: 25px;

}


.product-meta span {

    display: inline-block;

    margin-left: 20px;

    margin-bottom: 10px;

    color: #666;

}


.product-meta strong {

    color: #172b3a;

}


/* =========================================================
   SECTIONS
   ========================================================= */

.product-section {

    padding: 70px 0;

}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.product-description {

    line-height: 2.2;

    color: #555;

    font-size: 16px;

}


.product-description p {

    margin-bottom: 1rem;

}


.product-description img {

    max-width: 100%;

    height: auto;

}


/* =========================================================
   FEATURES
   ========================================================= */

.feature-card {

    height: 100%;

    padding: 25px;

    border: 1px solid #edf0f4;

    border-radius: 12px;

    background: #fff;

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.feature-card:hover {

    transform: translateY(-4px);

    box-shadow: 0 12px 30px rgba(23, 43, 58, .08);

}


.feature-card i {

    font-size: 32px;

    color: #0d6efd;

    margin-bottom: 15px;

    display: block;

}


/* =========================================================
   SPECIFICATIONS
   ========================================================= */

.specification-table {

    border-radius: 12px;

    overflow: hidden;

}


.specification-table th {

    width: 35%;

    background: #f8f9fa;

}


/* =========================================================
   RELATED PRODUCTS
   ========================================================= */

.related-products {

    background: #f8f9fa;

}


.related-card {

    background: #fff;

    border-radius: 12px;

    overflow: hidden;

    height: 100%;

    border: 1px solid #edf0f4;

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.related-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 12px 30px rgba(23, 43, 58, .08);

}


.related-card > img,
.related-card-media {

    width: 100%;

    height: 190px;

    object-fit: cover;

}


.related-card > img {

    display: block;

}


.related-card-media {

    position: relative;

    overflow: hidden;

    background: #172b3a;

}


.related-card-media img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.related-video-placeholder {

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #fff;

}


.related-video-placeholder i {

    font-size: 50px;

}


.related-video-badge {

    position: absolute;

    right: 12px;

    bottom: 12px;

    width: 36px;

    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(13, 110, 253, .95);

    color: #fff;

}


.related-card-body {

    padding: 20px;

}


.related-card-body h3 {

    line-height: 1.6;

}


.related-card-body h3 a {

    text-decoration: none;

}


.related-card-body h3 a:hover {

    text-decoration: underline;

}


/* =========================================================
   BLOG
   ========================================================= */

.blog-bottom {

    padding: 70px 0;

}


.blog-mini-card {

    background: #fff;

    border-radius: 12px;

    overflow: hidden;

    height: 100%;

    border: 1px solid #edf0f4;

}


.blog-mini-card img {

    width: 100%;

    height: 180px;

    object-fit: cover;

    display: block;

}


.blog-mini-card-body {

    padding: 20px;

}


.blog-mini-card-body h3 {

    line-height: 1.6;

}


.blog-mini-card-body h3 a {

    text-decoration: none;

}


.blog-mini-card-body h3 a:hover {

    text-decoration: underline;

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {

    .product-detail-hero {

        padding: 100px 0 50px;

    }


    .product-detail-content h1 {

        font-size: 32px;

    }


    .product-detail-media > a > img,
    .product-main-video video {

        height: 460px;

    }

}


@media (max-width: 767.98px) {

    .product-detail-hero {

        padding: 90px 0 40px;

    }


    .product-detail-content h1 {

        font-size: 28px;

    }


    .product-short-description {

        font-size: 16px;

    }


    .product-detail-media > a > img,
    .product-main-video video {

        height: 360px;

    }


    .product-gallery-item {

        height: 85px;

    }


    .product-gallery-play {

        width: 32px;

        height: 32px;

    }


    .product-gallery-play i {

        font-size: 18px;

    }


    .product-section {

        padding: 50px 0;

    }

}


@media (max-width: 575.98px) {

    .product-detail-media > a > img,
    .product-main-video video {

        height: 300px;

    }


    .product-gallery-item {

        height: 75px;

    }


    .product-video-thumbnail i {

        font-size: 27px;

    }


    .product-video-thumbnail span {

        font-size: 10px;

    }


    .product-meta span {

        display: block;

        margin-left: 0;

    }


    .product-price-value {

        font-size: 24px;

    }

}














/* ======================================================

    کاتالوگ


    

   CATALOG PAGE
====================================================== */

.catalog-page {
    background: #f8fafc;
}


/* ======================================================
   HERO
====================================================== */

.catalog-hero {
    position: relative;
    padding: 150px 0 90px;
    background:
        linear-gradient(
            135deg,
            #0d1b2a 0%,
            #13293d 55%,
            #183b56 100%
        );
    color: #fff;
    overflow: hidden;
}

.catalog-hero::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    top: -220px;
    right: -100px;
}

.catalog-hero::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 50%;
    bottom: -180px;
    left: -100px;
}

.catalog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.catalog-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: #4f879f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
}

.catalog-hero .catalog-eyebrow {
    color: #9fc7d8;
}

.catalog-eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: currentColor;
}

.catalog-hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.02em;
}

.catalog-hero-subtitle {
    max-width: 700px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.9;
}

.catalog-hero-intro {
    max-width: 760px;
    margin-top: 18px;
    color: rgba(255,255,255,.66);
    line-height: 2;
}


/* ======================================================
   SECTION
====================================================== */

.catalog-section {
    padding: 75px 0 100px;
}


/* ======================================================
   TOOLBAR
====================================================== */

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 45px;
}

.catalog-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.catalog-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    background: #fff;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all .25s ease;
}

.catalog-filter:hover,
.catalog-filter.active {
    background: #13293d;
    border-color: #13293d;
    color: #fff;
}


.catalog-search {
    position: relative;
    width: 290px;
    flex: 0 0 290px;
}

.catalog-search input {
    width: 100%;
    height: 46px;
    padding: 0 48px 0 18px;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    background: #fff;
    color: #1e293b;
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.catalog-search input:focus {
    border-color: #4f879f;
    box-shadow: 0 0 0 4px rgba(79,135,159,.10);
}

.catalog-search button {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #13293d;
    color: #fff;
    cursor: pointer;
}


/* ======================================================
   RESULT INFO
====================================================== */

.catalog-result-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: #64748b;
    font-size: 14px;
}


/* ======================================================
   GRID
====================================================== */

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}


/* ======================================================
   CARD
====================================================== */

.catalog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e8edf2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(15,23,42,.045);
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.catalog-card:hover {
    transform: translateY(-7px);
    border-color: rgba(79,135,159,.25);
    box-shadow: 0 22px 50px rgba(15,23,42,.11);
}

.catalog-card-featured {
    border-color: rgba(79,135,159,.35);
}


/* ======================================================
   COVER
====================================================== */

.catalog-card-cover {
    position: relative;
    height: 265px;
    overflow: hidden;
    background: #eef3f6;
}

.catalog-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.catalog-card:hover .catalog-card-cover img {
    transform: scale(1.035);
}

.catalog-default-cover {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background:
        linear-gradient(
            145deg,
            #e8eef2,
            #f8fafc
        );
    color: #4f879f;
}

.catalog-default-cover i {
    font-size: 68px;
}

.catalog-default-cover span {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
}


.catalog-file-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 32px;
    padding: 0 10px;
    border-radius: 7px;
    background: rgba(13,27,42,.90);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    backdrop-filter: blur(5px);
}

.catalog-featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 7px 12px;
    border-radius: 50px;
    background: #4f879f;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}


/* ======================================================
   CARD BODY
====================================================== */

.catalog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 25px;
}

.catalog-card-category {
    display: inline-block;
    margin-bottom: 10px;
    color: #4f879f;
    font-size: 12px;
    font-weight: 700;
}

.catalog-card h2 {
    margin: 0;
    color: #13293d;
    font-size: 20px;
    line-height: 1.55;
    font-weight: 700;
}

.catalog-card p {
    margin: 12px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.9;
}

.catalog-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: auto;
    padding-top: 22px;
    color: #94a3b8;
    font-size: 12px;
}

.catalog-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.catalog-card-meta i {
    color: #4f879f;
}


/* ======================================================
   ACTIONS
====================================================== */

.catalog-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.catalog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
    padding: 0 17px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all .25s ease;
}

.catalog-card-actions .catalog-btn {
    flex: 1;
}

.catalog-btn-primary {
    background: #13293d;
    color: #fff;
}

.catalog-btn-primary:hover {
    background: #4f879f;
    color: #fff;
}

.catalog-btn-outline {
    border: 1px solid #dbe3e9;
    background: #fff;
    color: #334155;
}

.catalog-btn-outline:hover {
    border-color: #4f879f;
    color: #4f879f;
    background: #f8fbfc;
}


/* ======================================================
   EMPTY
====================================================== */

.catalog-empty {
    padding: 80px 20px;
    text-align: center;
    border: 1px dashed #dbe3e9;
    border-radius: 18px;
    background: #fff;
}

.catalog-empty-icon {
    margin-bottom: 20px;
    color: #94a3b8;
    font-size: 55px;
}

.catalog-empty h2 {
    margin: 0;
    color: #13293d;
    font-size: 24px;
}

.catalog-empty p {
    margin: 12px 0 25px;
    color: #64748b;
}


/* ======================================================
   PAGINATION
====================================================== */

.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 55px;
}

.catalog-pagination a,
.catalog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.catalog-pagination a {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
}

.catalog-pagination a:hover,
.catalog-pagination span.active {
    border-color: #13293d;
    background: #13293d;
    color: #fff;
}


/* ======================================================
   DETAIL PAGE
====================================================== */

.catalog-detail-page {
    background: #f8fafc;
}

.catalog-detail {
    padding: 145px 0 100px;
}

.catalog-detail-grid {
    display: grid;
    grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr);
    gap: 75px;
    align-items: center;
}


/* ======================================================
   DETAIL COVER
====================================================== */

.catalog-detail-cover {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 25px;
    border-radius: 20px;
    background: #eef3f6;
    box-shadow: 0 25px 60px rgba(15,23,42,.10);
}

.catalog-detail-cover img {
    width: 100%;
    height: 100%;
    max-height: 650px;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}

.catalog-detail-file-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    color: #4f879f;
}

.catalog-detail-file-icon i {
    font-size: 110px;
}

.catalog-detail-file-icon strong {
    font-size: 15px;
    letter-spacing: .1em;
}


/* ======================================================
   DETAIL CONTENT
====================================================== */

.catalog-detail-content h1 {
    margin: 5px 0 22px;
    color: #13293d;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.25;
}

.catalog-detail-lead {
    margin: 0;
    color: #475569;
    font-size: 18px;
    line-height: 2;
}

.catalog-detail-description {
    margin-top: 25px;
    color: #64748b;
    line-height: 2;
}

.catalog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.catalog-detail-meta > div {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    background: #fff;
    color: #64748b;
    font-size: 13px;
}

.catalog-detail-meta i {
    color: #4f879f;
}

.catalog-detail-meta strong {
    color: #13293d;
}

.catalog-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}


/* ======================================================
   PDF VIEWER
====================================================== */

.catalog-viewer {
    margin-top: 80px;
    padding-top: 65px;
    border-top: 1px solid #e2e8f0;
}

.catalog-viewer-header h2 {
    margin: 0;
    color: #13293d;
    font-size: 30px;
}

.catalog-pdf-wrapper {
    margin-top: 30px;
    overflow: hidden;
    border: 1px solid #dbe3e9;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 15px 45px rgba(15,23,42,.07);
}

.catalog-pdf-wrapper iframe {
    display: block;
    width: 100%;
    height: 850px;
    border: 0;
}


/* ======================================================
   RTL
====================================================== */

html[dir="rtl"] .catalog-search input {
    padding-right: 18px;
    padding-left: 48px;
}

html[dir="rtl"] .catalog-search button {
    right: auto;
    left: 4px;
}

html[dir="rtl"] .catalog-file-badge {
    left: auto;
    right: 16px;
}

html[dir="rtl"] .catalog-featured-badge {
    right: auto;
    left: 16px;
}


/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 1100px) {

    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-detail-grid {
        gap: 45px;
    }

}


@media (max-width: 991px) {

    .catalog-hero {
        padding: 130px 0 75px;
    }

    .catalog-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .catalog-search {
        width: 100%;
        flex-basis: auto;
    }

    .catalog-detail-grid {
        grid-template-columns: 1fr;
    }

    .catalog-detail-cover {
        max-width: 650px;
        width: 100%;
        margin: 0 auto;
    }

}


@media (max-width: 767px) {

    .catalog-section {
        padding: 55px 0 75px;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .catalog-card-cover {
        height: 290px;
    }

    .catalog-detail {
        padding: 120px 0 70px;
    }

    .catalog-detail-cover {
        min-height: 400px;
    }

    .catalog-detail-actions {
        flex-direction: column;
    }

    .catalog-detail-actions .catalog-btn {
        width: 100%;
    }

    .catalog-pdf-wrapper iframe {
        height: 650px;
    }

}


@media (max-width: 480px) {

    .catalog-hero h1 {
        font-size: 32px;
    }

    .catalog-card-body {
        padding: 20px;
    }

    .catalog-card-actions {
        flex-direction: column;
    }

    .catalog-card-actions .catalog-btn {
        width: 100%;
    }

    .catalog-detail-cover {
        min-height: 330px;
    }

    .catalog-pdf-wrapper iframe {
        height: 520px;
    }

}




/* ======================================================
    بخش نمایش کاتالوهای تصادفی در کاتالوگ دیتیل
   RELATED / RECOMMENDED CATALOGS
====================================================== */

.catalog-related {
    position: relative;
    padding: 90px 0 110px;
    margin-top: 80px;
    background: var(--section-bg, #f8f9fb);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}


/* ------------------------------------------------------
   Header
------------------------------------------------------ */

.catalog-related-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}

.catalog-related-header h2 {
    margin: 8px 0 0;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.35;
}

.catalog-related-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-weight: 600;
    text-decoration: none;
}

.catalog-related-all i {
    transition: transform 0.25s ease;
}

.catalog-related-all:hover i {
    transform: translateX(-4px);
}


/* ------------------------------------------------------
   Grid
------------------------------------------------------ */

.catalog-related-grid {
    margin-top: 0;
}


/* ------------------------------------------------------
   Related Cards
------------------------------------------------------ */

.catalog-related-card {
    height: 100%;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.catalog-related-card:hover {
    transform: translateY(-6px);
}


/* ------------------------------------------------------
   Responsive
------------------------------------------------------ */

@media (max-width: 768px) {

    .catalog-related {
        padding: 65px 0 80px;
        margin-top: 60px;
    }

    .catalog-related-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 30px;
    }

    .catalog-related-all {
        font-size: 0.9rem;
    }

}