/* ==========================================================
   Product Details Page
========================================================== */

.product-page{
    padding:0px 0 20px;
}

.product-page .product-wrapper{
    display:grid;
    grid-template-columns:560px 1fr;
    gap:50px;
    align-items:start;
    margin:40px 30px 0;
}

.product-page .product-gallery{
    position:sticky;
    top:30px;
}

.product-page .product-image-box{
    background:#fff;
    border:1px solid #ececec;
    border-radius:18px;
    min-height:483px;
    padding:5px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.product-page .product-main-image{
    max-width:100%;
    max-height:470px;
    object-fit:contain;
    display:block;
}

.product-page .product-thumbnails{
    display: flex;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.product-page .product-thumbnail{
    width:90px;
    height:90px;
    background:#fff;
    border:2px solid #ececec;
    border-radius:12px;
    padding:6px;
    object-fit:contain;
    cursor:pointer;
    transition:.25s;
}

.product-page .product-thumbnail:hover{
    border-color:#f3b11b;
}

.product-page .product-thumbnail.active{
    border-color:#12224c;
}

.product-page .product-details{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.product-page .product-name{
    margin:0;
    font-size:42px;
    font-weight:800;
    line-height:1.3;
    color:#111;
	display: inline-block;
}

.product-page .product-short-description{
    margin:0;
    color:#666;
    font-size:17px;
    line-height:2;
}

.product-page .product-price-box{
    display:flex;
    align-items:flex-end;
    gap:18px;
    padding:25px 10px;
    border-top:1px solid #eee;
    border-bottom:1px solid #eee;
    flex-wrap:wrap;
}

.product-page .product-price-current,
.product-page .product-price-old{
    display:inline-flex;
    align-items:flex-end;
    gap:8px;
}

.product-page .product-price-current .currency{
    order:1;
    font-size:22px;
    margin-bottom:6px;
}

.product-page .product-price-current{
    color:#d62828;
}

.product-page .product-price-current .amount{
    font-size:48px;
    font-weight:800;
}

.product-page .product-price-old{
    margin:0;
    color:#999;
    display:flex;
    align-items:center;
    gap:6px;
}

.product-page .product-price-old .amount{
    font-size:22px;
    text-decoration:line-through;
}

.product-page .product-price-old .currency{
    font-size:16px;
}

.product-page .product-price-old .amount{
    text-decoration:line-through;
    font-size:28px;
}




.product-page .product-cart-form {
    display: flex;
    gap: 20px;

    justify-content: center;
}

.product-page .product-quantity{
    display:flex;
    align-items:center;
    gap:12px;
}

.product-page .product-quantity input{
    width:90px;
    height:50px;
    border:1px solid #ddd;
    border-radius:10px;
    text-align:center;
    font-size:18px;
}

.product-page .product-add-cart{
    height:52px;
    padding:0 40px;
    border:0;
    border-radius:10px;
    background:#12224c;
    color:#fff;
    font-size:17px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}

.product-page .product-add-cart:hover{
    background:#f3b11b;
    color:#12224c;
}

.product-page .product-description{
    margin-top:70px;
    border:1px solid #ececec;
    border-radius:16px;
    overflow:hidden;
}

.product-page .product-description h2{
    margin:0;
    padding:18px 30px;
    background:#12224c;
    color:#fff;
    font-size:22px;
}

.product-page .product-description-content{
    padding:35px;
    line-height:2.1;
    color:#444;
}

@media (max-width:992px){

    .product-page .product-wrapper{
        grid-template-columns:1fr;
        gap:35px;
    }

    .product-page .product-gallery{
        position:static;
    }

    .product-page .product-image-box{
        min-height:360px;
    }

    .product-page .product-thumbnails{
        justify-content:center;
    }

    .product-page .product-name{
        font-size:30px;
    }

    .product-page .product-price-current .amount{
        font-size:38px;
    }

    .product-page .product-meta{
        grid-template-columns:1fr;
    }

    .product-page .product-meta-item{
        display:flex;
        justify-content:space-between;
    }

    .product-page .product-cart-form{
        flex-direction:column;
        align-items:stretch;
    }

    .product-page .product-add-cart{
        width:100%;
    }

}

/* ===== Product Details ===== */

.product-header{
    position:relative;
    background:#ffffff;
    border:1px solid #edf1f7;
    border-radius:20px;
    padding:14px 38px;
    box-shadow:0 8px 28px rgba(15,23,42,.05);
}

.product-name{
    margin:0;
    color:#081b4d;
    font-family:inherit;
    font-size:52px;
    font-weight:800;
    line-height:1.2;
    text-align:center;
}

.product-rating{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:18px;
    color:#666;
    font-size:14px;
}

.product-stars{
    color:#f7b500;
    letter-spacing:2px;
    font-size:17px;
}

.product-price-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 30px;
    background: #ffffff;
    border: 1px solid #edf1f7;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15,23,42,.05);
    margin: 10px 0;
}

.product-price-main{
    display:flex;
    align-items:center;
    gap:22px;
    flex-wrap:wrap;
}

.product-price-current,
.product-price-old{
    display:flex;
    align-items:flex-end;
    gap:6px;
}

.product-price-current .currency{
    order:0;
    color:#e3262f;
    font-size:22px;
    font-weight:700;
    margin-bottom:4px;
	 display:flex;
    flex-direction:row-reverse;
    align-items:flex-end;
}

.product-price-old .currency{
    order:1;
    color:#777;
    font-size:16px;
}

.product-price-current .amount{
    font-size:58px;
    font-weight:800;
    line-height:1;
    color:#e3262f;
}

.product-price-old .amount{
    font-size:18px;
    color:#9ca3af;
    text-decoration:line-through;
}

.product-discount{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:4px 10px;
    border-radius:6px;
    background:#ef4444;
    color:#fff;
    font-size:12px;
    font-weight:700;
}

.product-meta{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    background:#fff;
    border:1px solid #edf1f7;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(15,23,42,.05);
    margin:5px 0;
}

.product-meta-item{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    min-height:95px;
    padding:20px;
    border-left:1px solid #edf1f7;
    background:#fff;
}
.product-meta-item:last-child{
    border-left:none;
}

.product-meta-item strong{
    display:block;
    margin-bottom:12px;
    font-size:16px;
    font-weight:700;
    color:#222;
}
.product-meta-item span{

    font-weight:600;
	    font-size: 14px;
 
}

.stock-available{
    color:#28a745;
    font-weight:700;
	    font-size: 14px;
}

.stock-unavailable{
    color:#dc3545;
    font-weight:700;
}

.product-cart-row{
    display:flex;
    gap:15px;
    margin:25px 0;
}

.product-quantity{
    display:flex;
    align-items:center;
    border:1px solid #ddd;
    border-radius:10px;
    overflow:hidden;
}

.quantity-btn{
    width:46px;
    height:46px;
    border:none;
    background:#f7f7f7;
    cursor:pointer;
    font-size:20px;
}

.product-quantity input{
    width:70px;
    text-align:center;
    border:none;
    height:46px;
}

.product-add-cart{
    flex:1;
    height:46px;
    border:none;
    border-radius:10px;
    background:#0d6efd;
    color:#fff;
    font-weight:700;
    cursor:pointer;
}

.product-features{
display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-top: 5px;
}

.product-feature {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    padding: 8px;
    border: 1px solid #ececec;
    border-radius: 12px;
    line-height: 25px;
}

.product-feature i{
    color:#0d6efd;
    font-size:22px;
    margin-top:2px;
}

.product-feature strong{
    display:block;
    margin-bottom:4px;
}

.product-feature span{
    color:#777;
    font-size:14px;
}

.product-header-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-direction:row;
    width:100%;
    margin-top:14px;
}

.product-header-right{
    display:flex;
    align-items:center;
    gap:18px;
}

.product-rating{
    display:flex;
    align-items:center;
    gap:8px;
    margin:0;
}

.product-header-views{
    display:flex;
    align-items:center;
    gap:6px;
}

.product-favorite{
    width:44px;
    height:44px;
    border:none;
    border-radius:50%;
    background:#ffffff;
    color:#5f6b7a;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    flex-shrink:0;
    font-size:18px;
    box-shadow:0 8px 24px rgba(15,23,42,.10);
    transition:.25s;
}

.product-favorite:hover{
    color:#d62f45;
    transform:translateY(-2px);
}

.product-header-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:18px;
}

.product-quantity-label{
    font-size:16px;
    font-weight:700;
    color:#222;
    margin-left:10px;
}
/*==============================
    Product Tabs
==============================*/

.product-tabs{

    margin:30px 35px  0px 35px;

    background:#fff;

    border:1px solid #ececec;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

}

.product-tabs-header{

    display:flex;

    border-bottom:1px solid #ececec;

    background:#fafafa;

}

.product-tab{

    flex:1;

    border:0;

    background:transparent;

    padding:22px 18px;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    font-size:16px;

    font-weight:700;

    color:#666;

    transition:.25s;

    position:relative;

}

.product-tab i{

    font-size:18px;

}

.product-tab:hover{

    color:var(--primary-color);

}

.product-tab.active{

    background:#061b49;

    color:#fff;

}

.product-tab.active::after{

    content:"";

    position:absolute;

    right:0;

    left:0;

    bottom:0;

    height:4px;

    background:#f5b400;

}

.product-tabs-content{

    padding:40px;

}

.product-tab-panel{

    display:none;

    line-height:2;

    color:#555;

    font-size:16px;

}

.product-tab-panel.active{

    display:block;

}
.product-tab.active i{

    color:#fff;

}.product-options-selectors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.product-options-selectors label,.product-review-form label{display:flex;flex-direction:column;gap:7px;font-weight:700}.product-options-selectors select,.product-review-form select{border:1px solid #dce3ee;border-radius:10px;padding:12px;background:#fff}.product-review{padding:16px 0;border-bottom:1px solid #edf0f5}.product-review>span{color:#eab308;margin-inline-start:10px}.product-review p{color:#59677e}.product-review-form{margin-top:25px;padding:20px;border:1px solid #e3e8f0;border-radius:14px;display:flex;flex-direction:column;gap:12px}.product-review-form textarea{border:1px solid #dce3ee;border-radius:10px;padding:12px}.product-review-form button{border:0;border-radius:10px;padding:12px;background:#122247;color:#fff}@media(max-width:600px){.product-options-selectors{grid-template-columns:1fr}}

.product-favorite.is-saved{background:#0b1f4b;color:#f5b400;box-shadow:0 8px 24px rgba(11,31,75,.18)}.product-favorite.is-loading{opacity:.65;pointer-events:none}
