/******************************
 row1
*******************************/
#product .row1 {
    background-color: var(--main-color);
    display: flex;
    justify-content: center;
}

#product .row1 .inner-container {
    width: 1300px;
    display: flex;
    padding: 30px 20px;
    gap: 20px;
}

#product .row1 .inner-container .col1 {
    flex-grow: 1;
    width: 55%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
}

#product .row1 .inner-container .col1 .row01{
    padding: 15px 20px;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.3);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#product .row1 .inner-container .col1 .row01 .breadcrumb{
    flex-grow: 1;
}
#product .row1 .inner-container .col1 .row01 a.catalog{
    color: var(--main-color);
    background-color: white;
    border-radius: 15px;
    padding: 10px;
}


#product .row1 .inner-container .col1 .breadcrumb,
#product .row1 .inner-container .col1 .breadcrumb a {
    color: white;
    transition: all 0.3s ease;
}

#product .row1 .inner-container .col1 .breadcrumb a:hover {
    transform: translateY(-10px);
}

#product .row1 .inner-container .col1 .breadcrumb span {
    font-size: 20px;
    color: white;
}

#product .row1 .inner-container .col1 .product-title {
    margin-top: 30px;
    line-height: 1.6;
    font-family: var(--font-bold);
    font-weight: 900;
    font-size: 40px;
    color: white;
}

#product .row1 .inner-container .col1 .product-id {
    font-family: var(--font-light);
    font-weight: 500;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.633);
}

#product .row1 .inner-container .col1 .short-desc {
    font-family: var(--font-medium);
    font-weight: 500;
    text-align: justify;
    word-spacing: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #ffffff;
}

#product .row1 .inner-container .col2 {
    width: 30%;
}

#product .row1 .inner-container .col2 .product-image {
    overflow: hidden;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    position: relative;
    border: solid 3px rgba(255, 255, 255, 0.388);
}

#product .row1 .inner-container .col2 .product-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}
#product .row1 .inner-container .col2 .product-image .share{
    background-color: rgba(255, 255, 255, 0.306);
    backdrop-filter: blure(15px);
    padding: 10px;
    border-radius: 15px;
    position: absolute;
    left: 15px;
    top: 15px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
#product .row1 .inner-container .col2 .product-image .share svg{
    width: 25px;
    height: 25px;
    aspect-ratio: 1;
    fill: white;
}

/******************************
 row1       RESPONSIVE
*******************************/
@media(max-width: 770px) {
    #product .row1 .inner-container {
        flex-direction: column;
        padding: 30px 10px;
    }

    #product .row1 .inner-container .col1 {
        width: 100%;
    }

    #product .row1 .inner-container .col2 {
        width: 100%;
    }
}




/******************************
 row2
*******************************/
#product .row2 {
    position: sticky;
    z-index: 10;
    top: 0;
    width: 100%;

    background-color: var(--main-color);
    display: flex;
    justify-content: center;
}

#product .row2 .product-nav {
    width: 1300px;
}

#product .row2 .product-nav ul {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 10px;
}

#product .row2 .product-nav ul li {
    padding: 15px 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

#product .row2 .product-nav ul li:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.3);
}
#product .row2 .product-nav ul li.active {
    background-color: rgba(255, 255, 255, 0.3);
}



/******************************
 row2       RESPONSIVE
*******************************/
@media(max-width: 770px) {
    #product .row2 {
        width: 100%;
        padding: 0 10px;
    }

    #product .row2 .product-nav {
        width: 100%;
        overflow-x: auto;
    }

    #product .row2 .product-nav::-webkit-scrollbar {
        display: noe;
    }

    #product .row2 .product-nav ul {
        flex-direction: row;
        justify-content: flex-start;
        gap: 20px;
    }

    #product .row2 .product-nav ul li {
        text-align: center;
        white-space: nowrap;
    }
}





/******************************
 row3       
*******************************/
#product .row3 {
    margin-top: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
}

#product .row3 .inner-container {
    width: 1300px;
}

#product .row3 .inner-container h2.title {
    font-size: 30px;
    margin-bottom: 30px;
    font-family: var(--font-bold);
    font-weight: 1000;
    color: black;
}

#product .row3 .inner-container h2.title hr {
    width: 100px;
    height: 6px;
    border-radius: 15px;
    border: none;
    background-color: var(--main-color);
    margin: 10px 0;
}

#product .row3 .inner-container article {
    padding: 20px;
    background-color: var(--acent-color);
    border-radius: 15px;
}

#product .row3 .inner-container article h2 {
    font-size: 20px;
    font-family: var(--font-bold);
    font-weight: 900;
    margin: 20px 0;
}

#product .row3 .inner-container article p {
    font-weight: 500;
    font-size: 16px;
    text-align: justify;
    word-spacing: 0;
}

#product .row3 .inner-container article p:has(> img) {
    text-align: center;
}

#product .row3 .inner-container article img {
    border-radius: 15px;
    max-width: 100%;
    height: auto;
}

/******************************
 row3       RESPONSIVE
*******************************/
@media(max-width: 770px) {
    #product .row3 .inner-container {
        width: 100%;
        padding: 0 10px;
    }
}



/*******************************
 row4       
*******************************/
#product .row4 {
    margin-top: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    background-image: url('https://iliapokhtalborz.com/wp-content/uploads/2025/08/bakery-factory-2.jpg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    padding: 20px;
}

#product .row4 .inner-container {
    width: 1300px;
    display: flex;
    padding: 30px 20px;
    gap: 20px;
    backdrop-filter: brightness(0.6) blur(15px);
    border-radius: 15px;
    border: solid 1px var(--secondary-color);
}
#product .row4 .inner-container .title {
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#product .row4 .inner-container .title h2 {
    font-size: 30px;
    font-family: var(--font-bold);
    font-weight: 1000;
    color: white;
    padding: 10px 20px;
    white-space: nowrap;
    background-color: rgba(255, 255, 255, 0.212);
    backdrop-filter: blur(15px);  
    border: solid 1px rgba(255, 255, 255, 0.289);  
    border-radius: 15px;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, .35);
}
.product-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 60%;
    flex-grow: 1;
    overflow-y: scroll;
    max-height: 600px;
    scrollbar-width: none;
}
.product-gallery .product-item{
    width: calc(33.33% - 10px);
}

.product-gallery img {
    cursor: pointer;
    flex-grow: 1;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1;
    border-radius: 8px;
    transition: transform 0.3s;
}
.product-gallery img:hover {
    transform: scale(1.05);
}

/* لایت‌باکس */
.lightbox {
    display: flex; 
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.9);
    text-align: center;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.lightbox.active{
    visibility: visible;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.close:hover {
    color: #f1f1f1;
}

.lightbox-caption {
    margin-top: 10px;
    color: #ccc;
    font-size: 16px;
}


/******************************
 row4       RESPONSIVE
*******************************/
@media(max-width: 770px) {
    #product .row4 {
        padding: 10px;
    }
    #product .row4 .inner-container {
        width: 100%;
        padding: 20px 10px;
        flex-direction: column;
    }
    #product .row4 .inner-container .title {
        width: 100%;
    }
    #product .row4 .inner-container .title h2 {
        font-size: 25px;
    }
    .product-gallery {
        width: 100%;
    }
    .product-gallery .product-item{
        width: calc(50% - 10px);
    }
}




/******************************
 row5       
*******************************/
#product .row5 {
    margin-top: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
}

#product .row5 .inner-container {
    width: 1300px;
}

#product .row5 .inner-container h2.title {
    font-size: 30px;
    margin-bottom: 30px;
    font-family: var(--font-bold);
    font-weight: 1000;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center color: black;
}

#product .row5 .inner-container h2.title hr {
    width: 100px;
    height: 6px;
    border-radius: 15px;
    border: none;
    background-color: var(--main-color);
    margin: 10px 0;
}

#product .row5 .inner-container ul {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    gap: 20px;
}

#product .row5 .inner-container ul li {
    padding: 20px;
    width: 25%;
    flex-grow: 1;
    background-color: var(--main-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
}

#product .row5 .inner-container ul li:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
}

#product .row5 .inner-container ul li span {
    color: white;
}

#product .row5 .inner-container ul li span svg {
    width: 50px;
    height: 50px;
    fill: white;
}

#product .row5 .inner-container ul li span.feature-title {
    font-size: 20px;
    font-family: var(--font-bold);
    font-weight: 900;
}

#product .row5 .inner-container ul li span.feature-value {
    font-size: 16px;
    font-weight: 500;
}

/******************************
 row5       RESPONSIVE
*******************************/
@media(max-width: 770px) {
    #product .row5 .inner-container {
        width: 100%;
        padding: 0 10px;
    }

    #product .row5 .inner-container ul li {
        width: 45%;
    }
}

@media(max-width: 460px) {
    #product .row5 .inner-container ul li {
        width: 100%;
    }
}



/*******************************
 row6       
*******************************/
#product .row6 {
    margin-top: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: black;
}

#product .row6 .inner-container {
    width: 1300px;
    display: flex;
    padding: 30px 20px;
    gap: 30px;
    align-items: stretch;
}

#product .row6 .inner-container .title {
    background-position: center;
    background-attachment: scroll;
    width: 30%;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

#product .row6 .inner-container .title h2 {
    font-size: 30px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.50);
    font-family: var(--font-bold);
    font-weight: 1000;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

#product .row6 .inner-container ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-grow: 1;
    width: 65%;
    gap: 10px;
    padding-left: 20px;
    max-height: 500px;
    overflow-y: auto;
}

#product .row6 .inner-container ul::-webkit-scrollbar {
    width: 5px !important;
}

#product .row6 .inner-container ul::-webkit-scrollbar-track {
    background-color: transparent;
}

#product .row6 .inner-container ul::-webkit-scrollbar-thumb {
    background-color: var(--secondary-color);
    border-radius: 15px;
    height: 50px !important;
}

#product .row6 .inner-container ul li {
    padding: 20px;
    width: 100%;
    border: solid 3px var(--secondary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    text-align: center;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
}

#product .row6 .inner-container ul li::before {
    content: "";
    display: block;
    width: 10px;
    height: 80%;
    background-color: var(--secondary-color);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

#product .row6 .inner-container ul li span.benefit-title {
    color: white;
    font-size: 20px;
    white-space: nowrap;
    font-family: var(--font-bold);
    font-weight: 900;
}

#product .row6 .inner-container ul li span.benefit-value {
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 500;
    text-align: justify;
    word-spacing: 0;
}

/******************************
 row6       RESPONSIVE
*******************************/
@media(max-width: 770px) {
    #product .row6 .inner-container {
        width: 100%;
        padding: 30 10px;
        flex-direction: column;
    }

    #product .row6 .inner-container .title {
        width: 100%;
        min-height: 500px;
    }

    #product .row6 .inner-container ul {
        width: 100%;
    }
}

@media(max-width: 460px) {
    #product .row6 .inner-container ul li span.benefit-title {
        font-size: 16px;
    }

    #product .row6 .inner-container ul li span.benefit-value {
        font-size: 14px;
    }
}


/*******************************
 row7       
*******************************/
#product .row7 {
    margin-top: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: var(--acent-color);
}

#product .row7 .inner-container {
    width: 1300px;
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    gap: 30px;
    align-items: center;
}
#product .row7 .inner-container .title {
    font-size: 30px;
    font-family: var(--font-bold);
    font-weight: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#product .row7 .inner-container .title hr{
    width: 100px;
    height: 6px;
    border-radius: 15px;
    border: none;
    background-color: var(--main-color);
    margin: 10px 0;
}

.player {
    width: min(100%, 1100px);
    aspect-ratio: 16/9;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow)
}

.video-layer {
    position: absolute;
    inset: 0
}

video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000
}

/* gradients */
.g-top,
.g-bottom {
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 5
}

.g-top {
    top: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .55), transparent)
}

.g-bottom {
    bottom: 0;
    height: 140px;
    background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent)
}

/* big play */
.big-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 6
}

.big-play button {
    backdrop-filter: blur(6px);
    background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .08));
    border: 1px solid rgba(255, 255, 255, .18);
    width: 82px;
    height: 82px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .15s ease;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .35)
}

.big-play button:hover {
    transform: scale(1.04)
}

.big-play svg {
    width: 32px;
    height: 32px;
    fill: #fff;
    margin-right: 4px
}

.big-play.hidden {
    display: none
}

/* controls */
.controls {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.controls.hidden{
    visibility: hidden;
}

.bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(8px);
    background: linear-gradient(180deg, rgba(12, 16, 24, .72), rgba(12, 16, 24, .56));
    border: 1px solid rgba(255, 255, 255, .12)
}

/* timeline */
.timeline {
    display: flex;
    align-items: center;
    gap: 10px
}

.time {
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    min-width: 88px;
    text-align: center;
    color: var(--acent-color);
}

.time span{
    color: var(--accent-color);
}

input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
}
input[type=range]::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    cursor: pointer;
}

input[type=range]::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2))
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-top: -6px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35)
}

input[type=range]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35)
}

/* buttons */
.btn {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: var(--panel);
    cursor: pointer
}

.btn:hover {
    background: var(--panel-2)
}

.btn svg {
    width: 18px;
    height: 18px;
    fill: #fff
}

.btn[aria-pressed=true] {
    outline: 2px solid var(--accent)
}

.grow {
    flex: 1
}

.vol {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px
}

.vol input {
    max-width: 110px
}

.speed {
    min-width: 80px
}

.select {
    position: relative
}

.select select {
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, .12);
    color: var(--text);
    padding: 8px 10px;
    border-radius: 10px
}

/* theater mode */
.theater {
    width: min(100%, 1300px);
    aspect-ratio: auto;
    height: 75vh
}

/* drop zone */
.drop {
    position: absolute;
    inset: 0;
    border: 2px dashed rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    display: none;
    place-items: center;
    z-index: 20;
    background: rgba(12, 16, 24, .55)
}

.drop.active {
    display: grid
}

.drop p {
    margin: 0;
    font-weight: 600
}

/* caption toggle hint */
.badge {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .5);
    border: 1px solid rgba(255, 255, 255, .15);
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 12;
    font-size: 12px;
    color: #dce6ff
}

/* mobile tweaks */
@media (max-width:720px) {
    .big-play svg {
        width: 25px;
        height: 25px
    }
    .vol {
        min-width: 0
    }

    .vol input {
        display: none
    }


    .btn {
        width: 34px;
        height: 34px;
        border-radius: 9px
    }
    #play{
        display: none;
    }

    .controls {
        left: 8px;
        right: 8px
    }
}



/*************************
 row8
*******************************/
#product .row8{
    width: 100%;
    margin-top: 60px;
    display: flex;
    justify-content: center;
}
#product .row8 .inner-container {
    width: 1300px;
    padding: 30px 20px;
    display: flex;
    gap: 20px;
}

#product .row8 .inner-container .title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
}
#product .row8 .inner-container .title h2{
    font-size: 30px;
    font-family: var(--font-bold);
    font-weight: 1000;
    display: flex;
    width: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: var(--main-color);
    padding: 10px 20px;
    border-radius: 15px;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, .35);
}
#product .row8 .inner-container .title p{
    font-size: 20px;
    font-weight: 500;
    color: black;
    margin-top: 30px;
    width: 50%;
}
  #product .row8 .inner-container .warranty{
    text-align: center;
  }


/**************************
 row8       RESPONSIVE
*******************************/
@media(max-width: 770px) {
    #product .row8 .inner-container {
        width: 100%;
        padding: 20 10px;
    }
    #product .row8 .inner-container .title p{
        width: 100%;
    }
}
@media(max-width: 460px) {
    #product .row8 .inner-container{
        flex-direction: column;
    }
    #product .row8 .inner-container .title h2{
        width: 100%;
    }
}



/*************************
 row9
*******************************/
#product .row9{
    width: 100%;
    margin-top: 60px;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}
#product .row9 .inner-container {
    width: 1300px;
    padding: 30px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
#product .row9 .inner-container .icon-box{
    width: 20%;
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}
#product .row9 .inner-container .icon-box:hover{
    box-shadow: 2px 12px 25px rgba(0, 0, 0, .35);
    transform: translateY(-15px);
}
#product .row9 .inner-container .icon-box .icon svg{
    width: 80px;
    height: 80px;
}
#product .row9 .inner-container .icon-box .title{
    font-size: 25px;
    font-family: var(--font-bold);
    font-weight: 1000;
    color: black !important;
}
#product .row9 .inner-container .icon-box .text1{
    font-size: 18px;
    color: var(--main-color);
    font-weight: 900;
}
#product .row9 .inner-container .icon-box a.contact-link{
    padding: 15px 20px;
    background-color: var(--acent-color);
    border-radius: 15px;
    color: var(--text-color);
}


/**************************
 row9       RESPONSIVE
*******************************/
@media(max-width: 770px) {
    #product .row9 .inner-container {
        width: 100%;
        padding: 20 10px;
    }
    #product .row9 .inner-container .icon-box{
        width: 45%;
    }
}

@media(max-width: 460px) {
    #product .row9 .inner-container .icon-box{
        width: 100%;
    }
}

