@import url("variables.css");
@import url("base.css");
@import url("layout.css");
@import url("components.css");

/* ===========================
   HERO
=========================== */

.ksco-hero{

    margin-bottom:50px;

}

.ksco-hero-grid{

    display:flex;

    flex-direction:row-reverse;

    align-items:center;

    justify-content:space-between;

    gap:60px;

}
html[dir="ltr"] .ksco-hero-grid{

    flex-direction:row;

}

.ksco-hero-info{

    flex:1;

}

html[dir="rtl"] .ksco-hero-info{

    text-align:right;

}

html[dir="ltr"] .ksco-hero-info{

    text-align:left;

}

.ksco-hero-photo{

    width:360px;

    flex:0 0 360px;

    display:flex;

    justify-content:center;

}

.ksco-product-image{

    max-width:310px;

    width:100%;

    height:auto;

    display:block;

    border:1px solid #e8e8e8;

    border-radius:14px;

    padding:18px;

    background:#fff;

}

.ksco-title{

    margin:0 0 12px;

    font-size:30px;

    color:#173358;

    line-height:1.2;

}
html[dir="ltr"] .ksco-title{

    text-align:left;

}

.ksco-tree-header{

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;

    min-height:46px;

}
.ksco-tree-title{

    flex:1;

    display:flex;
    align-items:center;

    padding:12px 18px;

    color:#263238;

    font-size:15px;
    font-weight:600;

    text-decoration:none;

    transition:.25s;

}
.ksco-tree-toggle{

    flex:0 0 42px;

    width:42px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:0;
    background:transparent;

    cursor:pointer;

    transition:.25s;

}

.ksco-product-code{

    display:inline-flex;

    align-items:center;

    gap:10px;

    margin:18px 0 24px;

    padding:10px 18px;

    background:#F7F9FC;

    border:1px solid #E5EAF2;

    border-radius:10px;

    color:#173358;

    font-size:15px;
    
    flex-wrap:wrap;
    
justify-content:flex-start;

}
.ksco-product-code span{

    display:inline-flex;

    align-items:center;

    gap:6px;

    white-space:nowrap;

}

.ksco-product-code strong{

    font-weight:700;

}

.ksco-product-code span{

    direction:ltr;

    unicode-bidi:plaintext;

}

.ksco-description{

    margin-top:20px;

    max-width:780px;

    font-size:15px;

    line-height:2.1;

    color:#555;

}

html[dir="rtl"] .ksco-description{

    text-align:right;

}

html[dir="ltr"] .ksco-description{

    text-align:left;

}


/* ======================================================
   SPECIFICATIONS
====================================================== */

.ksco-specifications{

    margin:10px 0;

}

.ksco-spec-columns{

    display:grid;

    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:22px;

}

.ksco-spec-column{

    display:flex;

    flex-direction:column;

    gap:16px;

}

.ksco-spec-item{

    display:flex;

    align-items:center;

    border:1px solid #E5EAF2;

    border-radius:12px;

    background:#fff;

    overflow:hidden;

    transition:.25s;

}

.ksco-spec-item:hover{

    border-color:var(--ksco-primary);

    box-shadow:0 10px 24px rgba(0,0,0,.05);

}

.ksco-spec-label{

    width:38%;

    min-width:170px;

    padding:18px 20px;

    background:#F8FAFD;

    color:var(--ksco-primary);

    font-size:14px;

    font-weight:700;

}

.ksco-spec-value{

    flex:1;

    padding:18px 20px;

    font-size:15px;

    font-weight:600;

    color:#444;

    direction:ltr;

    unicode-bidi:plaintext;

    text-align:left;

}

html[dir="rtl"] .ksco-spec-label{

    border-left:1px solid #E5EAF2;

}

html[dir="ltr"] .ksco-spec-label{

    border-right:1px solid #E5EAF2;

}

/* ======================================================
   HERO BUTTONS
====================================================== */

.ksco-hero-actions{

    display:flex;

    gap:14px;

    margin-top:30px;

    flex-wrap:wrap;

}

html[dir="rtl"] .ksco-hero-actions{

    justify-content:flex-start;

}

html[dir="ltr"] .ksco-hero-actions{

    justify-content:flex-start;

}

.ksco-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    height:46px;

    padding:0 24px;

    border-radius:8px;

    font-size:15px;

    font-weight:600;

    text-decoration:none;

    transition:.25s;

}

.ksco-btn-primary{

    background:var(--ksco-primary);

    color:#fff;

}

.ksco-btn-primary:hover{

    opacity:.9;

}

.ksco-btn-secondary{

    border:1px solid var(--ksco-primary);

    color:var(--ksco-primary);

    background:#fff;

}

.ksco-btn-secondary:hover{

    background:var(--ksco-primary);

    color:#fff;

}

/* ======================================================
   MOBILE
====================================================== */

@media(max-width:991px){

    .ksco-hero-grid{

        flex-direction:column;

        gap:30px;

    }

    .ksco-hero-photo{

        width:100%;

        flex:auto;

    }

    .ksco-spec-columns{

        grid-template-columns:1fr;

    }

    .ksco-spec-item{

        flex-direction:column;

        align-items:stretch;

    }

    .ksco-spec-label{

        width:100%;

        min-width:100%;

        border:none;

        border-bottom:1px solid #E5EAF2;

    }

}

/*==================================================
LIGHTBOX
==================================================*/

.ksco-product-image-link{

    display:inline-block;

    cursor:zoom-in;

}

.ksco-product-image{

    transition:transform .25s ease;

}

.ksco-product-image:hover{

    transform:scale(1.03);

}

.ksco-lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.88);

    display:flex;

    align-items:center;

    justify-content:center;

    z-index:99999;

    cursor:zoom-out;

    animation:kscoFade .2s ease;

}

.ksco-lightbox-content{

    width:95vw;

    height:95vh;

    display:flex;

    align-items:center;

    justify-content:center;

}

.ksco-lightbox-content img{

    display:block;

    width:auto;

    height:auto;

    max-width:150vw;

    max-height:150vh;

    object-fit:contain;

    border-radius:12px;

    box-shadow:0 30px 70px rgba(0,0,0,.55);

}

@keyframes kscoFade{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}

/*==================================================
HERO META BOXES
==================================================*/

.ksco-hero-meta{

    display:flex;

    align-items:center;

    justify-content:flex-start;

    gap:32px;

    flex-wrap:wrap;

    margin:26px 0;

    padding:18px 0;

    border-top:1px solid #ECEFF3;

    border-bottom:1px solid #ECEFF3;

}

/*==================================================
HERO META
==================================================*/

.ksco-hero-meta{

    display:flex;

    align-items:center;

    flex-wrap:wrap;

    gap:18px;

    margin:22px 0 28px;

    padding:14px 0;

    border-top:1px solid #ECEFF3;

    border-bottom:1px solid #ECEFF3;

}

html[dir="rtl"] .ksco-hero-meta{

    justify-content:flex-start;

}

html[dir="ltr"] .ksco-hero-meta{

    justify-content:flex-start;

}


.ksco-meta-item{

    display:flex;

    align-items:center;

    gap:10px;

    position:relative;

}

.ksco-meta-item:not(:last-child)::after{

    content:"";

    position:absolute;

    inset-inline-end:-16px;

    top:50%;

    transform:translateY(-50%);

    width:1px;

    height:24px;

    background:#E5EAF2;

}

.ksco-meta-label{

    color:#7B8798;

    font-size:12px;

    font-weight:500;

}

.ksco-meta-value{

    color:var(--ksco-primary);

    font-size:16px;

    font-weight:700;

}

@media(max-width:767px){

    .ksco-hero-meta{

        flex-direction:column;

        align-items:flex-start;

        gap:12px;

    }

    .ksco-meta-item:not(:last-child)::after{

        display:none;

    }

}

@media(max-width:767px){

    .ksco-hero-meta{

        gap:10px;

    }

    .ksco-meta-box{

        flex:1 1 calc(50% - 10px);

        min-width:140px;

    }

}
/*======================================================
 FAQ
======================================================*/

.ksco-faq{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.ksco-faq-item{
    border:1px solid #E5E7EB;
    border-radius:18px;
    background:#fff;
    overflow:hidden;
    transition:.30s ease;
}

.ksco-faq-item{
    border:1px solid #E5E7EB;
    border-radius:18px;
    background:#fff;
    overflow:hidden;
    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}

.ksco-faq-item:hover{
    border-color:var(--ksco-primary);
    box-shadow:0 12px 30px rgba(18,42,87,.08);
    transform:translateY(-2px);
}

.ksco-faq-item.active{
    border-color:var(--ksco-primary);
    box-shadow:0 14px 34px rgba(18,42,87,.10);
}

.ksco-faq-question{
    width:100%;
    border:0;
    background:transparent;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:24px 28px;
    cursor:pointer;
    text-align:inherit;
    color:var(--ksco-primary);
font-size:18px;
font-weight:600;
    transition:background .25s ease,color .25s ease;
user-select:none;
}

html[dir="rtl"] .ksco-faq-question{
    flex-direction:row-reverse;
    text-align:right;
}

html[dir="ltr"] .ksco-faq-question{
    flex-direction:row;
    text-align:left;
}

.ksco-faq-title{
    flex:1;
    line-height:1.8;
}

.ksco-faq-icon{
    flex:0 0 44px;
    width:44px;
    height:44px;
    border-radius:50%;
    background:#F5F7FA;
    color:var(--ksco-primary);
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.30s ease;
}

.ksco-faq-icon svg{
    width:18px;
    height:18px;
    transition:.30s ease;
}

.ksco-faq-item.active .ksco-faq-icon{
    background:var(--ksco-primary);
    color:#fff;
}

.ksco-faq-item.active .ksco-faq-icon svg{
    transform:rotate(45deg);
}

html[dir="rtl"] .ksco-faq-title{
    text-align:right;
}

html[dir="ltr"] .ksco-faq-title{
    text-align:left;
}

html[dir="rtl"] .ksco-faq-answer-inner{
    direction:rtl;
    text-align:right;
}

html[dir="ltr"] .ksco-faq-answer-inner{
    direction:ltr;
    text-align:left;
}

.ksco-faq-answer-inner{
    color:#4B5563;
    font-size:16px;
    line-height:2;
    padding-bottom:24px;
}

.ksco-faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease;
    padding:0 28px;
}

.ksco-faq-answer-inner{
    opacity:0;
    transform:translateY(-8px);
    transition:opacity .25s ease,transform .25s ease;
}

.ksco-faq-item.active .ksco-faq-answer-inner{
    opacity:1;
    transform:translateY(0);
}
.ksco-faq-item.active .ksco-faq-icon{
    transform:rotate(45deg);
    background:var(--ksco-primary);
    color:#fff;
}

html[dir="rtl"] .ksco-faq-answer{
    text-align:right;
}

html[dir="ltr"] .ksco-faq-answer{
    text-align:left;
}

@media (max-width:768px){

    .ksco-faq-question{
        padding:18px;
        font-size:16px;
    }

    .ksco-faq-answer{
        padding:0 18px;
    }

    .ksco-faq-item.active .ksco-faq-answer{
        padding:0 18px;
    }

}
.ksco-faq-question:focus-visible{
    outline:none;
    background:#F8FAFC;
}

.ksco-faq-question:hover .ksco-faq-title{
    color:var(--ksco-primary);
}

.ksco-faq-item.active .ksco-faq-title{
    color:var(--ksco-primary);
    font-weight:700;
}
.ksco-faq-title{
    flex:1;
    line-height:1.6;
}

/*======================================================
 Product Tree
======================================================*/

.ksco-product-tree{

    max-width:280px;

}

.ksco-tree{
    margin:0;
    padding:0;
    list-style:none;
}

.ksco-tree-item{
    border-bottom:1px solid #ECEFF3;
}

.ksco-tree-item:last-child{
    border-bottom:0;
}

.ksco-tree-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:50px;
}

html[dir="rtl"] .ksco-tree-header{
    flex-direction:row-reverse;
}

html[dir="ltr"] .ksco-tree-header{
    flex-direction:row;
}

.ksco-tree-title{
    flex:1;
    padding:14px 18px;
font-size:14px;
font-weight:500;
    color:#263238;
    transition:.25s;
    cursor:pointer;
    user-select:none;
}

.ksco-tree-title:hover{
    color:var(--ksco-primary);
}

.ksco-tree-toggle{
    width:46px;
    height:46px;
    border:0;
    background:none;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:.25s;
}

.ksco-tree-toggle:hover{
    background:#F6F8FA;
}

.ksco-tree-icon{
    transition:transform .30s ease;
}

.ksco-tree-item.open>.ksco-tree-header .ksco-tree-icon{
    transform:rotate(90deg);
}

.ksco-tree-children{

    margin:0;
    padding:0;

    list-style:none;

    display:none;

}
.ksco-tree-item.open > .ksco-tree-children{

    display:block;

}

.ksco-tree-product a{
    display:block;
    padding:9px 20px;
    color:#5B6472;
    text-decoration:none;
    transition:.25s;
    font-size:13px;
}

html[dir="rtl"] .ksco-tree-product a{
    padding-right:36px;
}

html[dir="ltr"] .ksco-tree-product a{
    padding-left:36px;
}

.ksco-tree-product a:hover{
    color:var(--ksco-primary);
    background:#F8FAFC;
}

.ksco-tree-icon{

    transition:.25s;

}

.ksco-tree-item.open>.ksco-tree-header .ksco-tree-icon{

    transform:rotate(90deg);

}

/*==============================
Tree Levels
==============================*/

html[dir="rtl"] .ksco-tree-children > .ksco-tree-item > .ksco-tree-header{
    padding-right:20px;
}

html[dir="rtl"] .ksco-tree-children .ksco-tree-children > .ksco-tree-item > .ksco-tree-header{
    padding-right:40px;
}

html[dir="rtl"] .ksco-tree-children .ksco-tree-children .ksco-tree-children > .ksco-tree-item > .ksco-tree-header{
    padding-right:60px;
}

html[dir="rtl"] .ksco-tree-product a{
    padding-right:80px;
}


/*======================================================
 PRODUCT OVERVIEW
======================================================*/

.ksco-overview{
    display:flex;
    flex-direction:column;
    gap:0;
}

.ksco-overview-section{
    padding:0;
    border:0;
}

.ksco-overview-section + .ksco-overview-section{
    margin-top:40px;
    padding-top:40px;
    border-top:1px solid #ECEFF3;
}

.ksco-overview-title{
    margin:0 0 20px;
    color:var(--ksco-primary);
    font-size:22px;
    font-weight:700;
    line-height:1.4;
}

.ksco-overview-content{
    color:#4B5563;
    font-size:16px;
    line-height:2.1;
}

.ksco-overview-content h2{
    margin:0 0 18px;
    color:#173358;
    font-size:20px;
    font-weight:700;
}

.ksco-overview-content h3{
    margin:28px 0 14px;
    color:#173358;
    font-size:17px;
    font-weight:600;
}

.ksco-overview-content p{
    margin:0 0 18px;
}

.ksco-overview-content ul{
    margin:18px 0;
    padding-right:22px;
}

.ksco-overview-content li{
    margin-bottom:10px;
}

.ksco-overview-content strong{
    color:#173358;
    font-weight:700;
}

.ksco-overview-content > *:last-child{
    margin-bottom:0;
}

@media (max-width:768px){

    .ksco-overview-section + .ksco-overview-section{
        margin-top:32px;
        padding-top:32px;
    }

    .ksco-overview-title{
        font-size:20px;
        margin-bottom:16px;
    }

    .ksco-overview-content{
        font-size:15px;
        line-height:2;
    }

    .ksco-overview-content h2{
        font-size:18px;
    }

    .ksco-overview-content h3{
        font-size:16px;
    }

}
/* ستون فریم */
.ksco-model-frame{

    white-space: normal;
    line-height: 1.7;
    min-width:220px;
    overflow-wrap:anywhere;

}

.ksco-models-table td:nth-child(5),
.ksco-models-table th:nth-child(5){

    white-space: normal;
    line-height: 1.7;
    min-width: 220px;

}

.ksco-models-table td:nth-child(5){

    word-break: keep-all;
    overflow-wrap: anywhere;

}


/* ==========================================================
   Models Note
========================================================== */

.ksco-models-note{

    margin-top:30px;

    padding:22px 28px;

    background:#f8fafc;

    border:1px solid #e5e7eb;

    border-right:4px solid #123B73;

    border-radius:12px;

    color:#555;

    font-size:15px;

    line-height:2;

}

.ksco-models-note p{

    margin:0 0 12px;

}

.ksco-models-note p:last-child{

    margin-bottom:0;

}

.ksco-models-note ul{

    margin:10px 0;

    padding-inline-start:22px;

}

.ksco-models-note strong{

    color:#123B73;

    font-weight:700;

}


/* ======================================================
   English Typography
====================================================== */

html[lang^="en"] .ksco-product-page,
html[lang^="en"] .ksco-product-page *{

    font-family: Arial, Helvetica, sans-serif;

}

