﻿
    {   
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
}

body{
    background:#f5f5f5;
}

/* Main Layout */

.product-wrapper{

  width:100%;
    display:grid;
    grid-template-columns:minmax(0,58fr) minmax(0,42fr);
    gap:20px;
    align-items:start;
}

/* LEFT */

.gallery-area{

    position:sticky;
    top:20px;

    height:calc(100vh - 40px);

    display:flex;
    gap:20px;
  
}

/* Thumbnail */

.thumbs{

    width:90px;

    display:flex;
    flex-direction:column;

    gap:15px;
     position:relative;
    left:10px !important;

}

.thumbs img{

    width:80px;
    height:80px;

    object-fit:cover;

    border-radius:10px;

    cursor:pointer;

    border:2px solid #ddd;
 

}

.thumbs img.active{

    border-color:#0b75b8;

}

/* Main Image */

.main-image-box{

    flex:1;

    background:#fff;

    border-radius:15px;

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

    overflow:hidden;

}

.main-image-box img{

    width:90%;
    height:400px;
    object-fit:contain;
    display:block;
    margin:auto;

}

.nav-btn{

    position:absolute;

    width:42px;
    height:42px;

    border:none;

    border-radius:50%;

    background:#fff;

    box-shadow:0 5px 10px rgba(0,0,0,.15);

    cursor:pointer;

}

.prev{

    left:20px;

}

.next{

    right:20px;

}

/* RIGHT */

.details-area{

     background:#fff;
    border-radius:15px;
    min-height:1000px;

    padding:20px 25px;

}
.delivery-tag{
    display:flex;
    align-items:center;
    gap:18px;
    padding:18px;
    background:linear-gradient(135deg,#e8fff2,#ffffff);
    border:1px solid #d4f5dd;
    border-radius:14px;
    margin-bottom:25px;
}

.delivery-icon{
    width:55px;
    height:55px;
    border-radius:50%;
    background:#0f9d58;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    flex-shrink:0;
}

.delivery-content span{
    display:block;
    font-size:18px;
    font-weight:700;
    color:#0f9d58;
    margin-bottom:5px;
}


/* =========================
   Responsive
========================= */

/* Tablet */
@media (max-width:992px){

    .product-wrapper{
        grid-template-columns:1fr;
        gap:20px;
        padding:15px;
    }

    .gallery-area{
        position:relative;
        top:0;
        height:auto;
    }

    .main-image-box{
        height:450px;
    }

}


/* Mobile */
@media (max-width:768px){

    .product-wrapper{
        padding:10px;
    }

    .gallery-area{
        flex-direction:column-reverse;
        gap:15px;
    }

    .thumbs{
        width:100%;
        flex-direction:row;
        overflow-x:auto;
        overflow-y:hidden;
        gap:10px;
        padding-bottom:5px;
    }

    .thumbs::-webkit-scrollbar{
        height:5px;
    }

    .thumbs img{
        width:70px;
        height:70px;
        flex-shrink:0;
    }

    .main-image-box{
        width:100%;
        height:350px;
    }

    .main-image-box img{
        width:90%;
        max-height:300px;
    }

    .nav-btn{
        width:38px;
        height:38px;
        font-size:16px;
    }

    .details-area{
        min-height:500px;
    }

}


/* Small Mobile */
@media (max-width:480px){

    .main-image-box{
        height:280px;
    }

    .thumbs img{
        width:60px;
        height:60px;
    }

    .nav-btn{
        width:35px;
        height:35px;
    }

}




   /*.toggle-btn{
    width:100%;
    padding:15px;
    border:none;
    background:#f8f8f8;
    font-size:18px;
    font-weight:600;
    text-align:left;
    cursor:pointer;
    border-radius:10px;
}*/

   .toggle-btn{
    width:100%;
    padding:16px 20px;
    border:none;
    background:#fff;
    color:#212121;
    font-size:17px;
    font-weight:600;
    text-align:left;
    cursor:pointer;
    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    box-shadow:0 1px 4px rgba(0,0,0,0.15);
    transition:all .3s ease;
    border-left:4px solid #023d2a;
}

.toggle-btn:hover{
    background:#f5f8f7;
    color:#023d2a;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
}

.toggle-btn::after{
    content:"+";
    font-size:24px;
    font-weight:400;
    color:#023d2a;
    transition:.3s;
}

.toggle-btn.active::after{
    content:"−";
}

.toggle-btn.active{
    background:#023d2a;
    color:#fff;
}

.toggle-btn.active::after{
    color:#fff;
}














.manufacturer-box{
    margin-top:10px;
    border:1px solid #eee;
    border-radius:10px;
    overflow:hidden;
}

.manufacturer-box table{
    width:100%;
    border-collapse:collapse;
}

.manufacturer-box td{
    padding:12px;
    border-bottom:1px solid #eee;
}

.manufacturer-box td:first-child{
    width:35%;
    font-weight:bold;
    background:#fafafa;
}
.description{
    margin-top:30px;
    padding:25px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    line-height:1.8;
    color:#444;
    font-size:15px;
}

.description h1,
.description h2,
.description h3,
.description h4,
.description h5,
.description h6{
    margin:20px 0 12px;
    color:#222;
    font-weight:600;
    line-height:1.4;
}

.description p{
    margin-bottom:15px;
    text-align:justify;
}

.description ul,
.description ol{
    margin:15px 0 15px 25px;
}

.description li{
    margin-bottom:8px;
}

.description strong,
.description b{
    color:#111;
}

.description img{
    max-width:100%;
    height:auto;
    border-radius:10px;
    margin:15px 0;
}

.description table{
    width:100%;
    border-collapse:collapse;
    margin:20px 0;
    overflow-x:auto;
}

.description table th,
.description table td{
    border:1px solid #e5e7eb;
    padding:12px;
    text-align:left;
}

.description table th{
    background:#f8f8f8;
    font-weight:600;
}

.description a{
    color:#0b75b8;
    text-decoration:none;
}

.description a:hover{
    text-decoration:underline;
}

.description blockquote{
    border-left:4px solid #0b75b8;
    background:#f8fbff;
    padding:15px;
    margin:20px 0;
    font-style:italic;
}

@media(max-width:768px){

    .description{
        padding:18px;
        font-size:14px;
    }

    .description table{
        display:block;
        overflow-x:auto;
        white-space:nowrap;
    }

}

    .pricea{
      display:flex;
      align-items:center;
      gap:15px;
      margin-bottom:20px;
    }

    .current-pricea{
      font-size:38px;
      font-weight:bold;
      color:#111;
    }

    .old-pricea{
      text-decoration:line-through;
      color:#888;
      font-size:22px;
    }

    .discounta{
      color:#1e8f3f;
      font-weight:bold;
      font-size:18px;
    }

     .product-title{
      font-size:30px;
      font-weight:bold;
      margin-bottom:15px;
      line-height:1.4;
    }


     
    .brand{
      color:#1e8f3f;
      font-weight:bold;
      margin-bottom:10px;
      font-size:18px;
    }







    .features{
max-width:200x;
margin:10px auto;
display:grid;
grid-template-columns:repeat(3,1fr);
gap:10px;
padding:0 1px;
}

.card{
    background:#023d2a;
    color:#fff;
    padding:30px 25px;
    border-radius:15px;
    cursor:pointer;
    transition:.35s;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
}

.card:hover{
transform:translateY(-8px);
}

.icon{
 width:70px;
    height:70px;
    border-radius:50%;
    background:#fff;
    color:#023d2a;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    margin-bottom:18px;
}

.card h3{
  font-size:22px;
    margin-bottom:10px;
    font-weight:700;
}

.card p{
    font-size:15px;
    opacity:.9;
    line-height:1.6;
}

/* Modal */

.modal{
position:fixed;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,.55);
display:flex;
align-items:center;
justify-content:center;
visibility:hidden;
opacity:0;
transition:.3s;
z-index:999;
padding:20px;
 padding-top: 200px;
 padding-bottom: 60px;
}

.modal.active{
visibility:visible;
opacity:1;
}

.popup{
width:430px;
max-width:100%;
background:#fff;
border-radius:18px;
overflow:hidden;
animation:pop .35s ease;
}

@keyframes pop{

from{
transform:scale(.8) rotateY(90deg);
opacity:0;
}

to{
transform:scale(1);
opacity:1;
}

}

.popup-top{
background:#023d2a;
color:#fff;
padding:30px;
text-align:center;
}

.popup-top i{
font-size:45px;
margin-bottom:15px;
}

.popup-body{
padding:25px;
color:#444;
line-height:1.8;
}

.popup-body ul{
padding-left:18px;
}

.close{
margin:20px;
width:calc(100% - 40px);
padding:13px;
border:none;
background:#023d2a;
color:#fff;
font-size:16px;
border-radius:10px;
cursor:pointer;
}

.close:hover{
background:#04583d;
}

@media(max-width:900px){

.features{
grid-template-columns:1fr;
}

.card{
padding:20px;
}

.weight {
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        color: #666;
    }
    50% {
        transform: scale(1.1);
        color: #023d2a;
    }
    100% {
        transform: scale(1);
        color: #666;
    }
}



.buy-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    max-width: 320px;
    padding: 14px 24px;

    background: #023d2a;
    color: #FFD700; /* Golden Text */
    border: 2px solid #FFD700;
    border-radius: 50px;

    font-size: 16px;
    font-weight: 700;
    cursor: pointer;

    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(2, 61, 42, 0.25);
}

.buy-now:hover {
    background: #04563b; /* Hover background একই */
    color: #FFD700;
    border-color: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(2, 61, 42, 0.35);
}

.buy-now:active {
    transform: scale(0.97);
}

.buy-now:focus {
    outline: none;
}

   /* REVIEW SECTION */

.review-section {
    margin-top: 40px;
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid #eee;
}

.review-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

/* REVIEW FORM */

.review-form {
    margin-bottom: 25px;
}

.review-form .review-textbox {
    width: 100%;
    min-height: 120px;
    resize: vertical;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 15px;
    font-size: 15px;
    outline: none;
    transition: .3s;
    box-sizing: border-box;
}

.review-form .review-textbox:focus {
    border-color: #28a745;
}

.review-form select {
    width: 100%;
    height: 50px;
    margin-top: 12px;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 0 12px;
    font-size: 15px;
    outline: none;
}

.review-btn {
    margin-top: 15px;
    background: #28a745;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.review-btn:hover {
    background: #218838;
}

/* REVIEW CARD */

.review-card {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 15px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-name {
    font-size: 6px;
    font-weight: 200;
    color: #222;
}

.review-rating {
    color: #ff9800;
    font-size: 8px;
}

.review-date {
    color: #888;
    font-size: 13px;
    margin-bottom: 10px;
}

.review-text {
    color: #555;
    line-height: 1.7;
    font-size: 6px;
}

/* VIEW MORE BUTTON */

.view-more-btn {
    width: 100%;
    height: 50px;
    border: 1px solid #28a745;
    background: #fff;
    color: #28a745;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: .3s;
}

.view-more-btn:hover {
    background: #28a745;
    color: #fff;
}

/* MOBILE */

@media(max-width:768px){

    .review-section{
        padding:15px;
    }

    .review-section h2{
        font-size:20px;
    }

    .review-card{
        padding:8px;
    }

    .review-header{
        flex-direction:column;
        align-items:flex-start;
        gap:5px;
    }

    .review-btn{
        width:100%;
    }
}

      .media-img{
    width:80px;
    height:80px;
    object-fit:cover;
    border-radius:8px;
    cursor:pointer;
    margin:4px;
    transition:.3s;
}

.media-img:hover{
    transform:scale(1.05);
}

.img-modal{
    display:none;
    position:fixed;
    inset:0;
    z-index:999999;
    background:rgba(0,0,0,.92);

    justify-content:center;
    align-items:center;

    padding:15px;
    box-sizing:border-box;
}

.img-modal img,
.img-modal video{
    display:block;

    max-width:95vw;
    max-height:95vh;

    width:auto;
    height:auto;

    object-fit:contain;

    border-radius:8px;
}

.close_r{
    position:absolute;
    top:15px;
    right:20px;
    color:#fff;
    font-size:42px;
    font-weight:bold;
    cursor:pointer;
    z-index:1000000;
}

@media (max-width:768px){

    .media-img{
        width:70px;
        height:70px;
    }

    .close_r{
        font-size:34px;
        top:10px;
        right:15px;
    }

    .img-modal img,
    .img-modal video{
        max-width:98vw;
        max-height:88vh;
    }
}

   #previewContainer{
        display:flex;
        flex-wrap:wrap;
        gap:10px;
    }

  .fileCard {
    position: relative;
    display: inline-block;
    width: 140px;
    margin: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 5px;
    vertical-align: top;
    background: #fff;
    box-sizing: border-box;
}

.fileCard img,
.fileCard video {
    width: 128px;
    height: 128px;
    object-fit: contain;
    border-radius: 5px;
    background: #f5f5f5;
}

.fileName {
    width: 128px;
    font-size: 12px;
    text-align: center;
    margin-top: 5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 16px;
}

.removeBtn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: red;
    color: #fff;
    text-align: center;
    line-height: 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 0 4px rgba(0,0,0,.3);
}
    




}


  

