/* ============================================================
PRODUCT HERO
============================================================ */

.product-hero{

    position:relative;

    overflow:hidden;

    background:#081526;

    min-height:330px;

    display:flex;

    align-items:center;

}

.product-hero-bg{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

}

.product-hero-overlay{

    position:absolute;

    inset:0;

    background:

    linear-gradient(

    90deg,

    rgba(8,21,38,.95) 0%,

    rgba(8,21,38,.80) 40%,

    rgba(8,21,38,.30) 75%,

    rgba(8,21,38,.05) 100%

    );

    z-index:1;

}

.product-hero .container{

    position:relative;

    z-index:2;

}

.product-hero-content{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:60px;

}

.product-hero-left{

    max-width:700px;

}

.product-hero-left h1{

    color:#fff;

    font-family:var(--font-display);

    font-size:54px;

    margin-bottom:20px;

    line-height:1.15;

}

.breadcrumb{

    display:flex;

    flex-wrap:wrap;

    align-items:center;

    gap:10px;

    list-style:none;

    padding:0;

    margin:0;

}

.breadcrumb li{

    color:#fff;

    font-size:14px;

}

.breadcrumb a{

    color:rgba(255,255,255,.75);

    text-decoration:none;

    transition:var(--transition-fast);

}

.breadcrumb a:hover{

    color:var(--color-secondary);

}

.breadcrumb i{

    color:var(--color-secondary);

}

.product-hero-right{

    flex-shrink:0;

}

.product-hero-right img{

    width:420px;

    display:block;

    animation:heroFloat 5s ease-in-out infinite;

}

@keyframes heroFloat{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-10px);

    }

    100%{

        transform:translateY(0);

    }

}



/* ============================================================
PRODUCT DETAILS
============================================================ */

.product-details{
    padding: 4rem 0px 30px 0px;
    background: var(--color-white);
}

.product-details .container{
    max-width:1400px;
}

.product-layout{

    display:grid;

    grid-template-columns:
        1.15fr
        1.2fr
        1.45fr;

    gap:60px;

    background:var(--color-white);

    border-radius:var(--radius-xl);

    padding:50px;

    box-shadow:var(--shadow-md);

    border:1px solid #edf2f7;

}



/*==================================================
    SUPPORT SECTION
==================================================*/
.se-support {
    padding: 100px 20px;
}

.se-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}

/*==================================================
    SECTION HEADING
==================================================*/
.se-heading {
    max-width: 760px;
    margin: 0 auto 80px;
    text-align: center;
}

.se-heading span {
    display: inline-block;

    color: #ff7a00;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;

    margin-bottom: 12px;
}

.se-heading h2 {
    margin: 15px 0 18px;

    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.2;

    color: #1f2937;
}

.se-heading p {
    color: #666666;
    line-height: 1.8;
}

/*==================================================
    TIMELINE
==================================================*/
.se-timeline {
    position: relative;
}

.se-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;

    width: 3px;

    transform: translateX(-50%);

    background: linear-gradient(
        to bottom,
        #ffd7a6,
        #ff7a00,
        #ffd7a6
    );
}

/*==================================================
    TIMELINE ROW
==================================================*/
.se-row {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    align-items: center;
    gap: 40px;

    margin: 70px 0;
}

.se-row.se-right .se-content {
    text-align: right;
}

/*==================================================
    TIMELINE DOT
==================================================*/
.se-dot {
    width: 26px;
    height: 26px;

    justify-self: center;

    border: 8px solid #ffffff;
    border-radius: 50%;

    background: #ff7a00;

    box-shadow: 0 0 0 6px rgba(255, 122, 0, 0.15);

    z-index: 2;
}

/*==================================================
    IMAGE
==================================================*/
.se-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.se-media img {
    width: 220px;
    height: 220px;

    object-fit: contain;

    padding: 20px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #ffffff,
        #f2f6ff
    );

    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);

    transition: all 0.4s ease;
}

.se-media img:hover {
    transform: translateY(-10px) rotate(-3deg);
}

/*==================================================
    CONTENT
==================================================*/
.se-content h3 {
    margin-bottom: 18px;

    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;

    color: #1f2937;
}

.se-content p {
    color: #666666;
    font-size: 1.02rem;
    line-height: 1.9;
    text-align: justify;
}

/*==================================================
    RESPONSIVE
==================================================*/
@media (max-width: 900px) {

    .se-line {
        left: 35px;
        transform: none;
    }

    .se-row {
        grid-template-columns: 70px 1fr;
        gap: 25px;
        align-items: start;
    }

    .se-row,
    .se-row.se-right {
        display: grid;
    }

    .se-dot {
        grid-column: 1;
    }

    .se-media {
        grid-column: 1;
    }

    .se-media img {
        width: 110px;
        height: 110px;
    }

    .se-content {
        grid-column: 2;
        text-align: left !important;
    }
}


/* ==================================
Gallery
================================== */

.product-gallery{

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.gallery-main{

    width:100%;

    background:#fff;

    border-radius:var(--radius-lg);

    overflow:hidden;

    border:1px solid #edf2f7;

    transition:var(--transition-base);

}

.gallery-main img{

    width:100%;
    height: 100vh;
    object-fit: contain;

    display:block;

    transition:var(--transition-base);

}

.gallery-main:hover img{

    transform:scale(1.05);

}

.gallery-thumbnails{

    display:flex;

    justify-content:center;

    gap:16px;

    margin-top:30px;

}

.thumb{

    width:75px;

    height:75px;

    border:none;

    background:#fff;

    border-radius:var(--radius-md);

    cursor:pointer;

    overflow:hidden;

    transition:var(--transition-fast);

    border:2px solid transparent;

    box-shadow:var(--shadow-sm);

}

.thumb img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.thumb.active{

    border-color:var(--color-primary);

}

.thumb:hover{

    transform:translateY(-6px);

    box-shadow:var(--shadow-md);

}









/* ==================================
Center
================================== */

.product-info{

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.product-family{

    color:var(--color-primary);

    font-size:15px;

    font-weight:600;

    margin-bottom:15px;

}

.product-info h1{

    font-family:var(--font-display);

    font-size:52px;

    line-height:1.15;

    color:var(--color-dark);

    margin-bottom:30px;

}

.title-line{

    width:70px;

    height:6px;

    border-radius:50px;

    background:var(--color-primary);

    margin-bottom:35px;

}










/* ==================================
Small Specs
================================== */

.spec-list{

    display:flex;

    flex-direction:column;

}

.spec-item{

    display:grid;

    grid-template-columns:
        52px
        170px
        1fr;

    align-items:center;

    padding:18px 0;

    border-bottom:1px solid #edf2f7;

}

.spec-item:last-child{

    border-bottom:none;

}

.spec-icon{

    width:42px;

    height:42px;

    border-radius:12px;

    background:#f8fbff;

    color:var(--color-primary);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:20px;

    border:1px solid rgba(29,78,137,.08);

}

.spec-title{

    font-weight:600;

    color:var(--color-dark);

}

.spec-value{

    color:var(--color-dark-3);

}










/* ==================================
Right Specification
================================== */

.product-specifications{

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.spec-item-full{

    display:grid;

    grid-template-columns:220px 1fr;

    gap:30px;

    padding:24px 0;

    border-bottom:1px solid #edf2f7;

}

.spec-item-full:last-child{

    border-bottom:none;

}

.spec-item-full .left{

    display:flex;

    align-items:flex-start;

    gap:16px;

    color:var(--color-primary);

    font-weight:600;

}

.spec-item-full .left i{

    width:38px;

    height:38px;

    background:#f8fbff;

    border-radius:12px;

    display:flex;

    align-items:center;

    justify-content:center;

    border:1px solid rgba(29,78,137,.08);

}

.spec-item-full .right{

    color:var(--color-dark-3);

    line-height:1.7;

}










/* ==================================
Hover
================================== */

.spec-item{

    transition:var(--transition-fast);

}

/* .spec-item:hover{

    padding-left:12px;

} */

.spec-item:hover .spec-icon{

    background:var(--color-primary);

    color:#fff;

}

.spec-item-full{

    transition:var(--transition-fast);

}

/* .spec-item-full:hover{

    padding-left:10px;

} */

.spec-item-full:hover .left i{

    background:var(--color-primary);

    color:#fff;

}










/* ==================================
View All Button
================================== */

.mobile-view-all{

    display:none;

}

.mobile-view-all button{

    width:100%;

    height:62px;

    border:none;

    background:var(--color-primary);

    color:#fff;

    border-radius:var(--radius-lg);

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    font-weight:600;

    transition:var(--transition-base);

}

.mobile-view-all button:hover{

    transform:translateY(-4px);

    box-shadow:var(--shadow-glow-blue);

}


/* ============================================================
   MOBILE SPECIFICATION PAGE
============================================================ */

.mobile-spec-page{
    position: fixed;
    inset: 0;
    background: var(--color-white);
    z-index: var(--z-modal);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: var(--transition-base);
}

.mobile-spec-page.active{
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ============================================================
   MOBILE HEADER
============================================================ */

.mobile-spec-header{
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    height: 72px;
    padding: 0 24px;
    background: var(--color-white);
    border-bottom: 1px solid #edf2f7;
    z-index: 5;
}

.mobile-spec-header h3{
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-dark);
    margin: 0;
}

#backButton{
    width: 46px;
    height: 46px;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    background: var(--color-surface);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

#backButton:hover{
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateX(-3px);
}

/* ============================================================
   SPEC BODY
============================================================ */

.mobile-spec-body{
    padding: 30px 24px 40px;
}

.mobile-spec-body .spec-item-full{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 0;
    border-bottom: 1px solid #edf2f7;
}

.mobile-spec-body .left{
    font-weight: 700;
    color: var(--color-dark);
}

.mobile-spec-body .right{
    color: var(--color-mid);
    line-height: 1.8;
}

/* ============================================================
   VARIATION SECTION
============================================================ */

.product-variation{
    padding: var(--space-5xl) 0;
    background: var(--color-off-white);
}

.section-heading{
    text-align: center;
    margin-bottom: 60px;
}

.section-heading span{
    display: inline-block;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-heading h2{
    font-family: var(--font-display);
    font-size: clamp(2rem,4vw,3rem);
    color: var(--color-dark);
    margin: 0;
}

/* ============================================================
   VARIATION GRID
============================================================ */

.variation-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.variation-card{
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
    border: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
}

.variation-card:hover{
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.variation-image{
    background: #fff;
    padding: 40px;
    overflow: hidden;
}

.variation-image img{
    width: 100%;
    display: block;
    transition: var(--transition-base);
}

.variation-card:hover .variation-image img{
    transform: scale(1.08);
}

.variation-content{
    padding: 28px;
}

.variation-content small{
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.variation-content h3{
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--color-dark);
    line-height: 1.4;
    margin-bottom: 22px;
}

.variation-content button{
    width: 100%;
    height: 52px;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: var(--color-white);
    font-weight: 600;
    transition: var(--transition-fast);
}

.variation-content button:hover{
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-blue);
}

/* ============================================================
   FADE ANIMATION
============================================================ */

.fade-up{
    opacity: 0;
    transform: translateY(30px);
    transition: .8s ease;
}

.fade-up.show{
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   IMAGE LOADING
============================================================ */

.gallery-main{
    position: relative;
}

.gallery-main.loading::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #f5f5f5 25%,
        #ffffff 50%,
        #f5f5f5 75%
    );
    background-size: 400% 100%;
    animation: shimmer 1.2s linear infinite;
}

@keyframes shimmer{

    0%{
        background-position:100% 0;
    }

    100%{
        background-position:-100% 0;
    }

}

/* ============================================================
   CARD HOVER DETAILS
============================================================ */

.variation-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        180deg,
        transparent,
        rgba(29,78,137,.03)
    );
    opacity:0;
    transition:var(--transition-base);
    pointer-events:none;
}

.variation-card{
    position:relative;
}

.variation-card:hover::before{
    opacity:1;
}







/* ============================================================
   LARGE DESKTOP (1400px)
============================================================ */

@media (max-width:1400px){

    .product-layout{
        gap:40px;
        padding:40px;
    }

    .product-info h1{
        font-size:28px;
        line-height: 1.5;
    }

    .spec-item-full{
        grid-template-columns:180px 1fr;
    }

}

/* ============================================================
   DESKTOP (1200px)
============================================================ */

@media (max-width:1200px){

    .product-layout{

        grid-template-columns:
            1fr
            1fr;

    }

    .product-specifications{

        grid-column:1/-1;

        margin-top:20px;

    }

    .variation-grid{

        grid-template-columns:
            repeat(2,1fr);

    }

}

/* ============================================================
   TABLET (992px)
============================================================ */

@media (max-width:992px){


    .product-hero{

    min-height:280px;

    }

    .product-hero-content{

    flex-direction:column;

    text-align:center;

    padding:40px 0;

    }

    .product-hero-right img{

    width:320px;

    margin-top:20px;

    }

    .product-hero-left h1{

    font-size:40px;

    }



    .product-details{

        padding:var(--space-3xl) 0;

    }

    .product-layout{

        grid-template-columns:1fr;

        gap:35px;

        padding:30px;

    }

    .product-gallery{

        max-width:650px;

        margin:auto;

    }

    .product-info h1{

        font-size:38px;

    }

    .spec-item{

        grid-template-columns:
            48px
            150px
            1fr;

    }

    .spec-item-full{

        grid-template-columns:
            170px
            1fr;

    }

}

/* ============================================================
   MOBILE (768px)
============================================================ */

@media (max-width:768px){


    .se-card,
    .se-reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .se-reverse .se-icon,
    .se-reverse .se-content {
        order: initial;
        text-align: center;
    }

    .se-icon {
        margin: 0 auto;
    }


    .product-hero{

    min-height:auto;

    }

    .product-hero-content{

    padding:50px 0;

    }

    .product-hero-left h1{

    font-size:32px;

    }

    .product-hero-right img{

    width:240px;

    }

    .breadcrumb{

    justify-content:center;

    font-size:13px;

    }


    .product-layout{

        padding:20px;

        border:none;

        box-shadow:none;

        gap:25px;

    }

    .gallery-thumbnails{

        gap:12px;

        margin-top:20px;

    }

    .thumb{

        width:62px;

        height:62px;

    }

    .product-family{

        font-size:14px;

    }



    .product-info h1{

        font-size:30px;

        margin-bottom:20px;

    }

    .title-line{

        margin-bottom:25px;

    }

    .spec-list{

        gap:0;

    }

    .spec-item{

        grid-template-columns:
            42px
            110px
            1fr;

        padding:16px 0;

    }

    .spec-title{

        font-size:14px;

    }

    .spec-value{

        font-size:14px;

    }

    /* Hide Desktop Specification */

    .product-specifications{

        display:none;

    }

    /* Show Mobile Button */

    .mobile-view-all{

        display:block;

        margin-top:25px;

    }

    .variation-grid{

        grid-template-columns:1fr;

        gap:22px;

    }

    .variation-image{

        padding:28px;

    }

    .variation-content{

        padding:22px;

    }

    .section-heading{

        margin-bottom:35px;

    }

}

/* ============================================================
   SMALL MOBILE (576px)
============================================================ */

@media (max-width:576px){

    .product-hero-left h1{

    font-size:28px;

    }

    .product-hero-right img{

    width:200px;

    }

    .product-details{

        padding:50px 0;

    }

    .product-layout{

        padding:15px;

        border-radius:0;

    }

    .gallery-main{

        border-radius:18px;

    }

    .gallery-main img{

        max-height:300px;

        object-fit:contain;

    }

    .gallery-thumbnails{

        justify-content:flex-start;

        overflow-x:auto;

        padding-bottom:6px;

        scrollbar-width:none;

    }

    .gallery-thumbnails::-webkit-scrollbar{

        display:none;

    }

    .thumb{

        flex:0 0 60px;

    }

    .product-info h1{

        font-size:26px;

        line-height:1.25;

    }

    .spec-item{

        grid-template-columns:
            38px
            100px
            1fr;

        gap:10px;

    }

    .spec-icon{

        width:38px;

        height:38px;

        font-size:17px;

    }

    .mobile-spec-header{

        height:64px;

        padding:0 18px;

    }

    .mobile-spec-header h3{

        font-size:1.15rem;

    }

    .mobile-spec-body{

        padding:22px 18px 35px;

    }

    .variation-card{

        border-radius:18px;

    }

    .variation-content h3{

        font-size:22px;

    }

}

/* ============================================================
   EXTRA SMALL DEVICES (480px)
============================================================ */

@media (max-width:480px){

    .product-info h1{

        font-size:24px;

    }

    .product-family{

        font-size:13px;

    }

    .spec-item{

        grid-template-columns:
            34px
            85px
            1fr;

    }

    .spec-title{

        font-size:13px;

    }

    .spec-value{

        font-size:13px;

    }

    .mobile-view-all button{

        height:56px;

        font-size:15px;

    }

    .variation-image{

        padding:22px;

    }

    .variation-content{

        padding:18px;

    }

    .variation-content h3{

        font-size:20px;

    }

    .variation-content button{

        height:48px;

        font-size:14px;

    }

}

/* ============================================================
   PREMIUM SCROLLBAR
============================================================ */

.gallery-thumbnails::-webkit-scrollbar{

    height:6px;

}

.gallery-thumbnails::-webkit-scrollbar-thumb{

    background:var(--color-primary);

    border-radius:50px;

}

.mobile-spec-page::-webkit-scrollbar{

    width:8px;

}

.mobile-spec-page::-webkit-scrollbar-thumb{

    background:var(--color-primary);

    border-radius:20px;

}

/* ============================================================
   IMAGE ANIMATION
============================================================ */

.main-product-image{

    animation:productFade .45s ease;

}

@keyframes productFade{

    from{

        opacity:0;

        transform:scale(.96);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}

/* ============================================================
   BUTTON ACTIVE
============================================================ */

.mobile-view-all button:active,
.variation-content button:active,
#backButton:active{

    transform:scale(.97);

}

