/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

body.loaded section.customerPurchasesHeroSection{
    opacity: 1;
}
/*====================HERO SECTION====================*/
section.customerPurchasesHeroSection {
    position: relative;
    width: 100%;
    display: block;
}
section.customerPurchasesHeroSection .heroSectionMedia {
    height: 60vh;
}
section.customerPurchasesHeroSection .heroSectionMedia picture,
section.customerPurchasesHeroSection .heroSectionMedia img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.heroSectionInfo {
    position: relative;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: .4fr 9rem 1fr;
    grid-template-columns: .4fr 1fr;
    grid-gap: 9rem;
    margin-bottom: var(--spaceY);
}
.heroSectionInfo .heroCustomerPurchasesContent {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    padding-top: 10rem;
}
.heroSectionInfo .heroCustomerPurchasesContent p {
    margin-top: 0;
}

/* بلوک نمای سازها زیر متن هدر */
/*====================HERO SECTION====================*/
/*====================BRANDS STRIP (مثل صفحه اول)====================*/
section.productBrandsContainer.customerBrandsStrip {
    position: relative;
    width: 100%;
    margin-top: 4rem;
    margin-bottom: var(--spaceY);
    overflow: hidden;
}
section.productBrandsContainer.customerBrandsStrip h2 {
    text-align: center;
    margin: 0 0 .75rem;
}
.productBrandsItemsWrapper {
    position: relative;
}
.productBrandsItemsWrap {
    position: relative;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 3.625rem 1fr 3.625rem 1fr 3.625rem 1fr;
    grid-template-columns: repeat(4, 1fr);
    -webkit-column-gap: 3.625rem;
    -moz-column-gap: 3.625rem;
    column-gap: 3.625rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
.productBrandWrap {
    width: 100%;
    height: 9.25rem;
}
.productBrandWrap img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}
.productBrandsItemsWrap::before {
    content: '';
    position: absolute;
    width: 100vw;
    left: 50%;
    top: 0;
    background-color: var(--lightGray);
    height: 1px;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}
/*====================VIDEOS CONTAINER====================*/
section.customerVideosContainer {
    position: relative;
    width: 100%;
    display: block;
    padding: var(--spaceY) var(--spaceX);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.customerVideoWrap {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-bottom: var(--spaceY);
    overflow: hidden;
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}
.customerVideoInfo {
    padding: 0 0 2rem 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-transition: all cubic-bezier(0, 0.61, 0.49, 0.97) 1s;
    -o-transition: all cubic-bezier(0, 0.61, 0.49, 0.97) 1s;
    transition: all cubic-bezier(0, 0.61, 0.49, 0.97) 1s;
    -webkit-transform: translateY(50px);
    -ms-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
}
.customerVideoWrap.move .customerVideoInfo {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}
.customerVideoInfo h2 {
    width: 100%;
    margin-bottom: 1rem;
}
.customerVideoContent {
    width: 100%;
}
.customerVideoContent > *:nth-of-type(even) {
    text-align: left;
    margin-right: auto;
    margin-left: 0;
}
.customerVideoContent > * {
    width: 100%;
    text-align: justify;
}
.customerVideoEmbedWrap {
    position: relative;
    width: 100%;
    max-width: 60rem;
    margin: 0 auto;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    background-color: var(--lightGray);
    -webkit-transition: all cubic-bezier(0, 0.61, 0.49, 0.97) 1s;
    -o-transition: all cubic-bezier(0, 0.61, 0.49, 0.97) 1s;
    transition: all cubic-bezier(0, 0.61, 0.49, 0.97) 1s;
    -webkit-transform: translateY(50px);
    -ms-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
}
.customerVideoWrap.move .customerVideoEmbedWrap {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    -webkit-transition-delay: .3s;
    -o-transition-delay: .3s;
    transition-delay: .3s;
}
.customerVideoEmbedWrap > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.customerVideoEmbedWrap iframe {
    width: 100%;
    height: 100%;
    border: none;
}
/*====================VIDEOS GRID====================*/
@media only screen and (max-width: 768px){
    .heroSectionInfo {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        grid-gap: 1rem;
        margin-top: -4rem;
    }
    .heroSectionInfo .heroCustomerPurchasesContent {
        padding-top: 0;
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
    section.customerVideosContainer {
        padding: var(--spaceY) var(--spaceX);
    }
    .customerVideoInfo {
        padding: 0 0 1.5rem 0;
    }
    .customerVideoInfo h2 {
        width: 100%;
        margin: 0 0 1rem;
    }
    .customerVideoContent > * {
        width: 100%;
    }
    
    /* استایل‌های جدید برای برندها در موبایل */
    section.productBrandsContainer.customerBrandsStrip {
        margin-top: 2rem;
        margin-bottom: calc(var(--spaceY) * 0.75);
    }
    
    .productBrandsItemsWrap {
        -ms-grid-columns: 1fr 1.5rem 1fr;
        grid-template-columns: repeat(2, 1fr);
        -webkit-column-gap: 1.5rem;
        -moz-column-gap: 1.5rem;
        column-gap: 1.5rem;
        row-gap: 1.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .productBrandWrap {
        height: 7rem;
        min-height: 7rem;
    }
    
    .productBrandWrap img {
        width: 100%;
        height: 100%;
        -o-object-fit: contain;
        object-fit: contain;
        max-width: 100%;
    }
    
    section.productBrandsContainer.customerBrandsStrip h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}
@media only screen and (min-width: 1200px) and (max-width: 1400px){
    .customerPurchasesTitle {
        padding-top: 3rem;
    }
}
@media only screen and (min-width: 1401px) and (max-width: 1600px){
    .customerPurchasesTitle {
        padding-top: 3rem;
    }
}




/* هدر بخش ویدئوها */
.customerVideosHeader {
    max-width: 60rem;
    margin: 0 auto var(--spaceY);
    text-align: center;
}

.customerVideosHeader .caTitle {
    margin: 0 0 1rem;
}

.customerVideosHeader .subtitle {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--gray);
    opacity: 0.85;
}

/* شماره و عنوان هر ویدئو */
.customerVideoIndex {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 1px solid var(--lightGray);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--gray);
    opacity: 0.7;
}

.customerVideoTitle {
    margin: 0 0 1.5rem 0;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--black);
    text-align: right;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* متن توضیح و متا */
.customerVideoContent .meta {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: var(--gray);
    opacity: 0.9;
}

.customerVideoContent .description {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--gray);
    opacity: 0.9;
}

/* کارت هر ویدئو (در صورت نیاز این قسمت را با نسخه فعلی سینک کن) */
.customerVideoWrap {
    max-width: 60rem;
    margin: 0 auto var(--spaceY);
    padding: 2.5rem 2rem;
    background-color: var(--white);
    border-radius: 1.25rem;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.customerVideoWrap .customerVideoTitle {
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 0;
    order: 0;
}

.customerVideoWrap .customerVideoEmbedWrap {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
}

/* ریسپانسیو */
@media only screen and (max-width: 768px){
    .customerVideoWrap {
        padding: 1.75rem 1.5rem;
        border-radius: 1rem;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    
    .customerVideoTitle {
        font-size: 1.15rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
        padding: 0;
    }
    
    /* استایل‌های اضافی برای برندها در موبایل کوچک */
    .productBrandWrap {
        height: 6.5rem;
        min-height: 6.5rem;
    }
    
    .productBrandsItemsWrap {
        -webkit-column-gap: 1.25rem;
        -moz-column-gap: 1.25rem;
        column-gap: 1.25rem;
        row-gap: 1.25rem;
    }
}