/* ========== Product Details Page Style Start ========== */
.product-page{
            padding:30px 0 60px;
}
.product-hero{
    background:#fff;
    border-radius:18px;
    box-shadow:0 12px 30px rgba(15,23,42,.08);
    padding:28px 32px 32px;
}
.top-link-year .icon{
    color:#fff;
}
.product-title{
    font-size:1.6rem;
    font-weight:600;
    margin-bottom:10px;
}
.pill-meta{
    display:inline-flex;
    align-items:center;
    background:#eef1f6;
    border-radius:999px;
    padding:4px 12px;
    font-size:.8rem;
    margin-right:6px;
    margin-bottom:6px;
}
.pill-meta strong{margin-right:4px;}
.pill-meta .text-success{font-weight:600;}

.product-main-image-wrap{
    border-radius:12px;
    overflow:hidden;
    background:#f9fafb;
    cursor:pointer;
}
.product-main-image{
    width:100%;
    display:block;
}
.thumb-list{
    margin-top:14px;
    display:flex;
    gap:6px;
}
.thumb-item{
    flex:0 0 64px;
    height:64px;
    border-radius:6px;
    overflow:hidden;
    border:1px solid #e5e7eb;
    cursor:pointer;
    background:#fff;
}
.thumb-item img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.thumb-item.active{
    border-color:#2563eb;
}

.key-features-title{
    font-weight:600;
    margin-top:10px;
    margin-bottom:4px;
}
.key-features-list{
    padding-left:0;
    list-style:none;
    font-size:.95rem;
}
.key-features-list li+li{margin-top:2px;}

.view-more-link{
    display:inline-block;
    margin-top:4px;
    font-size:.92rem;
    color:#e11d48;
    text-decoration:underline;
    text-underline-offset:3px;
    cursor:pointer;
}

.warning-pill{
    margin-top:14px;
    display:inline-flex;
    align-items:center;
    padding:8px 14px;
    border-radius:6px;
    background:#fef2f2;
    color:#b91c1c;
    font-size:.85rem;
}
.warning-pill i{
    margin-right:6px;
}

.payment-heading{
    margin-top:20px;
    margin-bottom:8px;
    font-weight:600;
}
.payment-card{
    border:1px solid #e5e7eb;
    border-radius:8px;
    padding:14px 16px;
    cursor:pointer;
    display:flex;
    align-items:flex-start;
    gap:10px;
    background:#fff;
    transition:border-color .15s, box-shadow .15s;
    height:100%;
}
.payment-card.active{
    border-color:#2563eb;
    box-shadow:0 0 0 1px #2563eb;
}
.payment-price{
    font-weight:700;
    font-size:1.1rem;
}
.payment-old{
    text-decoration:line-through;
    color:#9ca3af;
    font-size:.9rem;
    margin-left:4px;
}
.payment-subtitle{
    font-size:.82rem;
    color:#6b7280;
}

.qty-wrap{
    display:inline-flex;
    border:1px solid #e5e7eb;
    border-radius:6px;
    overflow:hidden;
}
.qty-btn{
    border:0;
    background:#f9fafb;
    width:34px;
    height:38px;
}
.qty-input{
    width:46px;
    border:0;
    text-align:center;
    font-size:.95rem;
}

/* shared slide‑down hover button (outline style) */
.btn-slide-outline{
    position:relative;
    overflow:hidden;
    border-radius:4px;
    font-weight:500;
    padding:7px 18px;
    border:1px solid #303fdb;
    color:#303fdb;
    background:#ffffff;
    z-index:0;
}
.btn-slide-outline::before{
    content:"";
    position:absolute;
    inset:0;
    background:#303fdb;
    transform:translateY(-100%);
    transition:transform .22s ease-out;
    z-index:-1;
}
.btn-slide-outline:hover{
    color:#ffffff;
}
.btn-slide-outline:hover::before{
    transform:translateY(0);
}

/* if Buy Now button o same effect chai */
.btn-buy-slide{
    position:relative;
    overflow:hidden;
    border-radius:6px;
    font-weight:600;
    padding:9px 24px;
    background:#303fdb;
    border:1px solid #303fdb;
    color:#ffffff;
    z-index:0;
}
.btn-buy-slide::before{
    content:"";
    position:absolute;
    inset:0;
    background:#1f2ad1;
    transform:translateY(-100%);
    transition:transform .22s ease-out;
    z-index:-1;
}
.btn-buy-slide:hover::before{
    transform:translateY(0);
}

/* Tabs */
.info-tabs{
    margin-top:26px;
    margin-bottom:18px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}
.info-tab{
    border-radius:6px;
    border:1px solid #e5e7eb;
    background:#fff;
    padding:8px 18px;
    font-size:.9rem;
    font-weight:500;
    cursor:pointer;
}
.info-tab.active{
    background:#dc2626;
    color:#fff;
    border-color:#dc2626;
}

.info-section{
    background:#fff;
    border-radius:12px;
    padding:20px 22px;
    margin-bottom:18px;
}
.info-section h3{
    font-size:1.1rem;
    margin-bottom:14px;
}
.spec-row{
    display:flex;
    padding:8px 0;
    border-top:1px solid #e5e7eb;
    font-size:.92rem;
}
.spec-row:first-of-type{
    border-top:0;
}
.spec-label{
    flex:0 0 35%;
    font-weight:500;
}
.spec-value{
    flex:1;
}
.info-empty{
    text-align:center;
    padding:26px 0 18px;
    color:#6b7280;
    font-size:.9rem;
}

/* Right column cards */
.side-card{
    background:#fff;
    border-radius:12px;
    padding:16px 18px;
    box-shadow:0 10px 26px rgba(15,23,42,.06);
    margin-bottom:18px;
}
.side-heading{
    font-size:1rem;
    font-weight:600;
    margin-bottom:10px;
}
.side-item{
    display:flex;
    gap:10px;
    padding:10px 0;
    border-top:1px solid #e5e7eb;
    align-items:flex-start;
}
.side-item:first-of-type{
    border-top:0;
}
.side-thumb{
    flex:0 0 56px;
    height:56px;
    border-radius:6px;
    overflow:hidden;
    background:#f9fafb;
}
.side-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.side-body{
    flex:1;
}
.side-title{
    font-size:.86rem;
    font-weight:500;
    margin-bottom:4px;
}
.side-price{
    font-size:.9rem;
    font-weight:600;
    color:#dc2626;
}
.side-old{
    font-size:.78rem;
    text-decoration:line-through;
    color:#9ca3af;
    margin-left:4px;
}
.side-compare{
    font-size:.8rem;
    color:#4b5563;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    margin-top:2px;
}
.side-compare i{
    margin-right:4px;
    font-size:.9rem;
}

/* Year‑end sale badge */
.year-end-link{
    position:fixed;
    right:24px;
    top:50%;
    transform:translateY(-50%);
    z-index:1050;
    text-decoration:none;
}
.year-end-badge{
    width:84px;
    height:84px;
    border-radius:50%;
    background:#f97316;
    color:#fff;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    font-size:.72rem;
    font-weight:600;
    text-align:center;
    box-shadow:0 10px 24px rgba(249,115,22,.45);
}
.year-end-badge i{
    font-size:1.2rem;
    margin-bottom:2px;
}

/* Modal */
.image-modal .modal-content{
    border-radius:0;
    border:0;
    background:transparent;
}
.image-modal-body{
     background:#000;
    border-radius:8px;
    max-width:760px;               /* black frame choto */
    margin:0 auto;
    overflow:hidden;
}
.image-modal .modal-dialog{
     max-width:900px;  
}
.image-modal .carousel-item img{
    width:100%;
    height:auto;
    max-height:70vh;               /* screen er 70% er beshi na */
    object-fit:contain;
}
.image-modal-close{
    position:absolute;
    right:16px;
    top:12px;
    z-index:20;
    color:#fff;
    background:rgba(0,0,0,.6);
    border-radius:999px;
    width:32px;
    height:32px;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}
.image-modal-caption{
    background:#111827;
    color:#f9fafb;
    padding:6px 14px;
    font-size:.85rem;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
/* CUSTOM SLIDER NAV BUTTON */
.carousel-nav-btn{
    width:48px;
    height:48px;
    border-radius:50%;
    background:rgba(15,23,42,.9);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:1.4rem;
    box-shadow:0 8px 18px rgba(0,0,0,.45);
}

.image-modal .carousel-control-prev,
.image-modal .carousel-control-next{
    width:80px;        /* button ke side e rakhar jonno */
    opacity:1;
    z-index:15;        /* always visible */
}

.image-modal .carousel-control-prev:hover .carousel-nav-btn,
.image-modal .carousel-control-next:hover .carousel-nav-btn{
    background:rgba(37,99,235,.95);
}
/* Q/A & Review card */
.qa-card{
    background:#ffffff;
    border-radius:8px;
    padding:18px 22px 20px;
    box-shadow:0 10px 26px rgba(15,23,42,.06);
    margin-bottom:18px;
}
.qa-title{
    font-size:1rem;
    font-weight:600;
    margin-bottom:2px;
}
.qa-subtitle{
    font-size:.9rem;
    color:#4b5563;
    margin-bottom:8px;
}
.qa-empty{
    text-align:center;
    padding:26px 0 8px;
    font-size:.88rem;
    color:#6b7280;
}
.qa-icon{
    width:64px;
    height:64px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:18px auto 10px;
    background:#eef2ff;
    color:#303fdb;
    font-size:1.6rem;
}
.share-strip {
    background: #ffffff;
    border-radius: 999px;
    padding: 0.5rem 1.2rem;
    box-shadow: 0 6px 25px rgba(15, 23, 42, 0.06);
    font-size: 0.9rem;
}
/* ===== Reviews section (non‑empty state) ===== */

.qa-review-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.qa-stars,
.qa-stars-lg {
    color: #f97316;
}
.qa-stars{
    font-size: 12px;
}
.qa-stars-lg {
    font-size: 1.2rem;
}

.qa-review-score {
    font-weight: 600;
}

/* individual reviews */
.qa-review-list {
    margin-top: 0.25rem;
}

.qa-review-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.qa-review-item:last-child {
    border-bottom: none;
}

.qa-review-text {
    font-size: 0.95rem;
}

.qa-review-meta {
    font-size: 13px;
    color: #6b7280;
}

.qa-review-meta a {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.qa-review-meta a:hover {
    text-decoration: underline;
}
/* "Share:" label */
.share-strip-label {
    font-weight: 600;
    color: #111827;
}
.share-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background-color: #020617;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
}

.share-icon-circle + .share-icon-circle {
    margin-left: 0.25rem;
}
.share-action {
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #020617;
    padding: 0;
}
.share-icon-circle:hover,
.share-action:hover {
    opacity: 0.85;
}
@media (max-width: 575.98px) {
    .share-strip {
        border-radius: 24px;
        justify-content: center;
        padding: 5px 10px !important;
    }
}
@media (max-width: 400px) {
    .share-icon-circle{
        font-size: 12px;
        width: 20px;
        height: 20px;
        margin-left: 0 !important;
    }
    .share-action,
    .share-strip-label{
        font-size: 12px;
    }
}
@media (max-width:991.98px){
    .product-hero{
        padding:22px 18px 26px;
    }
}
@media (max-width:767.98px){
    .year-end-link{
        right:12px;
    }
    .qa-card div{
        display: block !important;
    }
    .qa-empty .qa-icon{
        display: flex !important;
    }
    .qa-card h3,
    .qa-card p,
    .qa-card button{
        margin: 7px 0 !important;
    }
}
/* ========== Product Details Page Style End ========== */