*{
    padding: 0;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}
html{
}
html, body{
    width: 100%;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body{
    display: flex;
    flex-direction: column;
    justify-content: start;
    background-color: #000000;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;

}

header{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-shrink: 0;
    background-color: #FFF;
    font-size: clamp(18px, 4vw, 36px);
    border-bottom: thin solid rgb(0, 0 , 0, 0.01);
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}


.back-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  margin-left: 5px;
  border-radius: 6px; /* Optional: makes it clean */
  position: absolute;
  left: 5px;
  color: #2a2a2a;
}
.back-icon:hover{
    background-color: rgb(0, 0, 0, 0.2);
}
.ellipsis{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    margin-right: 10px;
    border-radius: 6px; /* Optional: makes it clean */
    position: absolute;
    right: 5px;
    color: #2a2a2a;
}
.ellipsis:hover{
    background-color: rgb(0, 0, 0, 0.2);
}
.alert_store{
    display: flex;
    width: 33.33%;
    height: 100%;
}

.hd_end{

    align-items: end;
    width: 33.33%;
    height: 100%;
}
.orders{
    font-size: 20px;
    font-weight: 500;
    padding-right: 20px;
}
.bag{
    padding-right: 20px;
}
.casava_logo_mp{
    display: flex;
    position: relative;
}
.casava_logo_mp_self{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 400px;
    height: 300px;
    background-color: transparent;
    overflow: hidden;
}
.casava_logo_mp_self img{
    width: 300px;
    height: 300px;
    bottom: 0;
    left: 50px;

}
#bag{
    position: relative;
    font-size: 25px;
}
.cart_item_count{
    position: absolute;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: rgb(189, 210, 214);
    font-size: 10px;
    top: 5%;
    right: -5px;
    text-align: center;
    line-height: 15px;

}
main{
    width: 100%;
    height: 75vh;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    overflow-y: scroll;
    overflow-x: hidden;
    border-radius: 0 0 5px 5px;
    background-color: #ffffff;
    flex-shrink: 0;
}
.details{
    display: flex;
    flex-direction: column;
    align-self: center;
    height: auto;
    width: 100%;
    margin: 0 auto;
    overflow-y: scroll;
    flex-shrink: 0;
}
.image-wrapper {
  position: relative;
  width: 100%;
}

.detail_image {
  height: auto;
  width: 100%;
  margin-top: 10px;
  display: flex;
  align-items: center;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;

}

.detail_image img {
  object-fit: cover;
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 1/1;
  scroll-snap-align: center;
  transition: transform 2s ease-in-out;
}

.image-counter {
  position: absolute;
  top: 5%;
  right: 5%;
  font-size: 11px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 6px 12px;
  border-radius: 15px;
  z-index: 2;
}

.detail_casava_name{
    display: flex;
    align-items: center;
    height: 5vh;
    margin-left: 10px;
    color: #2c3e50;
}
.detail_name{
    display: flex;
    align-items: start;
    height: auto;
    font-size: 18px;
    font-weight: 300;
    width: 95%;
    margin-left: 10px;
    flex-shrink: 0;
}
.sku{
    margin-top: 10px;
    font-size: 10px;
    color: #545454;
}
.detail_size {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 4vh;
    font-size: 15px;
    width: 95%;
    margin-left: 10px;
    font-weight: 200;
    overflow-x: hidden;
    position: relative;
    flex-shrink: 0;
}
.end-change{
    position: absolute;
    right: 0;
    height: 90%;
    width: 30%;
    display: none;
    align-items: center;
    justify-content: end;
}
.change{
    font-size: 10px;
    font-weight: 200;
}
.size{
    height: auto;
    display: flex;
    align-items: center;
    overflow-x: hidden;
    flex-wrap: wrap;
}
.size-option{
    height: 3vh;
    min-width: 4.5vh;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    font-size: 10px;
    border: thin solid #c2c2c2;
    margin-top: 0.5vh;
}
.size-option:first-child{
    border: 3px solid #bb6203b7;
}
.detail_price{
    display: flex;
    align-items: center;
    height: 5vh;
    font-size: 15px;
    font-weight: 200;
    width: 95%;
    margin-left: 10px;
    color: #3f3f3f;
    position: relative;
    flex-shrink: 0;
    }
.share{
    position: absolute;
    right: 0;
    font-size: 15px;
    font-weight: 100;
}
.detail_desc{
    display: flex;
    align-items: center;
    height: auto;
    font-size: 10px;
    width: 95%;
    margin-left: 10px;
    word-wrap: break-word;
    margin-right: 10px;
    letter-spacing: 2px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 300;
}
.close_details{
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 25px;
    font-weight: 100;


}

.detail_contact{
    display: flex;
    justify-content: center;
    height: 10%;
    width: 100%;
    align-items: center;
    font-size: 15px;
    flex-shrink: 0;
}
.other-colors{
    display: flex;
    align-items: center;
    flex-direction: row;
    width: 100%;
    height: 10vh;
    color: #bb6203b7;
    font-size: 15px;
    overflow-x: scroll;
    margin-bottom: 1vh;
    flex-shrink: 0;
}

.color-circle{
    height: 80%;
    aspect-ratio: 1/1;
    margin-left: 3%;
}
.color-circle:last-child{
    margin-right: 3%;
}
.color-circle:first-child{
    margin-left: 2%;
}
.color-circle img{
    height: 100%;
    width: 100%;
    border-radius: 10px;
}
.chosen-color img{
    border: 3px solid rgba(23, 23, 229, 0.64);
    height: 100%;
    width: 100%;

}
.datc{
    height: 60%;
    width: 80%;
    border: none;
    border-radius: 10px;
    background-color: #fff;
    font-size: 16px;
    color: #000000;

}
.bookmark_btn{
    height: 60%;
    aspect-ratio: 1/1;
    border-radius: 5px;
    margin-left: 2%;
    font-size: 20px;
    border: thin solid #ffffff;
    color: #ffffff;
    background-color: #000;
}


.contentDiv {
    border-radius: 15px 15px 0 0;
    position: fixed;
    bottom: -300px; /* Hidden below the screen */
    left: 0;
    width: 100%;
    height: 300px;
    z-index: 11000;
    flex: 1;
    background: #fff;
    transition: bottom 0.3s ease; /* Smooth transition for slide effect */
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 12px;
    color: #444444;

  }
.overlay{
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    display: none;
}
.up_navs{
    align-items: center;
    flex-direction: column;
    background-color: #FFFFFF;
    border-radius: 5px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 9999;
    padding: 10px;
    width: 0;
    height: 0;
    transition: width 0.8s ease, height 0.8s ease;
    display: none;

}
.convert_size{
    text-decoration: underline;
    color: #7e0caf;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: end;
    height: 1vh;
    margin-bottom: 0.5vh;
    width: 50%;
    position: absolute;
    right: 10%;
}
.up_navigation{
    font-size: 10px !important;
    justify-content: start !important;
    display: flex;
    align-items: center;
    height: 25%;
    width: 100%;
    transition: background-color 0.3s ease;
    border-bottom: thin solid rgb(0,0,0,0.2);
}
.up_navigation:hover{
    background: rgb(0,0,0,0.2);

}

.up_navs.expand {
display: flex;
width: 40%;
height: 25vh;
}

.top_notch{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    width: 100%;
    border-radius: 15px 15px 0 0;
}
.mid_notch{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10px;
    width: 100%;
    margin-bottom: 5px;
}
.rod{
    display: flex;
    width: 10%;
    height: 20%;
    border-radius: 15px;
    background-color: #595959;
}
.mid_rod{
    display: flex;
    width: 95%;
    height: 10%;
    border-radius: 15px;
    background-color: #d9d9d9;

}
.added_to_cart{
    width: 95%;
    padding-left: 10px;
    height: 30px;
    display: flex;
    align-items: center;
    font-size: 15px;
}
.image_sku{
    display: flex;
    align-items: center;
    height: 110px;
    width: 95%;
    margin-bottom: 10px;
}
.image_sku img{
    border-radius: 10px;
}
.sku_name{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 110px;
    width: 50%;
    padding-left: 20px;
    font-size: 13px;
    font-weight: 300;
}
.smoke_upsku{
    font-size: 13px;
}
.smoke_upname{

    font-size: 13px;
    font-weight: 300;
}
.smoke_up_details_two{
    height: 33px;
    width: 95%;
    display: flex;
    flex-direction: column;
    margin-bottom: 2px;
    font-weight: 300;
}
.material{
    height: 33.33%;
    width: 100%;
    display: flex;
    align-items: center;

}
.material_two{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}
.sud{
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
}
.sud_two{
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    font-size: 13px;
}
.view_button{
    width: 95%;
    height: 55px;
    margin-top: 3px;

}
.view_button button{
    width: 100%;
    height: 95%;
    background-color: #000000;
    color: #FFFFFF;
    font-size: 14px;
    border-radius: 5px;
    border: none;
    font-weight: 300;

}
.notification_sud{
    position: absolute;
    display: none;
    top: -75%;
    left: 2.5%;
    width: 95%;
    height: 50px;
    justify-content: center;
    margin: 2px auto;
    align-items: center;
    box-shadow: 1px 1px 3px #969696;
    background-color: #FFFFFF;
    border-radius: 5px;

}
.note-status{
    position: absolute;
    left: 0;
    height: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}
.note-text{
    font-size: 13px;
    color: #000;
}
.end_smoke{
    display: flex;
    align-items: center;
    height: 10vh;
    width: 95%;
    flex-shrink: 0;

}
.secured-payment{
    margin-top: 3vh;
    border-top: thin solid #b0b0b0;
    border-bottom: thin solid #b0b0b0;

}
.the_end_icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25%;
    height: 100%;
    font-size: 30px;
}
.decls{
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 75%;
    height: 100%;
    font-size: 13px;

}
.decl_value{
    font-size: 9px;
    font-weight: 300;
}
table {
      width: 90%;
      border-collapse: collapse; /* No spacing between rows */
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif ;
      font-size: 10.5px;
      margin-top: 4vh;
      font-weight: 300;
      margin-bottom: 2vh;
    }

    th, td {
      padding: 10px 8px; /* Increased inner spacing */
      text-align: left;
      vertical-align: top;
      font-size: 10.5px;
    }

    td:first-child {
      background-color: #FFFFFF; /* Light grey */
      font-weight: 600;
      width: 180px;
      font-size: 10.5px;
    }

    tr {
      border-bottom: none; /* Optional: soft border between rows */
    }
.related-products-scroll {
    display: flex;
    align-items: center;
    overflow-x: scroll;
    scroll-behavior: smooth;
    width: 97.5%;
    margin-bottom: 2.5vh;

}

.related-product-item {
    display: flex;
    align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.related-product-card {
    height: 150px;
    width: auto;
  transition: box-shadow 0.3s ease;
  margin-left: 10px;
    display: flex;
    flex-direction: column;
}

.related-product-card img {
  height: 70%;
  aspect-ratio: 1/1;
    border-radius: 5px;
}

.relate-name{
    font-size: 10px;
    font-weight: 300;
    display: flex;
    align-items: center;
    width: 100%;
    height: 30%;

}
.op{
    font-size: 13px;
    font-weight: 300;
    width: 95%;
    height: 2.5vh;
    display: flex;
    align-items: center;
    border-bottom: thin solid rgba(0,0,0,0.1);
    margin: 1vh auto;
}

@media (max-width: 768px) {
    header{
        height: 6.5%;
    }
    main{
        align-items: center;
        justify-content: start;
        height: 83.5%;
        width: 100%;
        overflow-y: scroll;
        overflow-x: hidden;
    }
    .cart{
        display: none;
    }
    .desktop{
        display: none;
    }
    .item{
        gap: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 30vh;
        width: 44%;
        border-radius: 10px;
        border: solid thin #bb62038a;
        margin-top: 5px;
    }
    .item:hover{
        box-shadow: none;
        width: 44%;
        transition: 0.25s;

    }
    .other-colors{
    display: flex;
    align-items: center;
    flex-direction: row;
    width: 100%;
    height: 10vh;
    color: #bb6203b7;
    font-size: 15px;
    overflow-x: scroll;
    margin-bottom: 1vh;
    flex-shrink: 0;
}

    .item_image{
        width: 95%;
        height: 50%;
        margin-bottom: 10px;
    }
    .item_details{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 40%;
        width: 100%;
    }
    .detail_span{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: start;
        height: 33.3%;
        width: 97.5%;
    }
    .navigation{
        position: fixed;
        bottom: 0;
    }

    .ps_span{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: start;
        height: 100%;
        width: 50%;
    }
    .stars{
        justify-content: end;
        padding-right: 5px;
    }
    .add_to_cart_btn{
        width: 70%;
        height: 70%;
        margin: 10px auto;
        background-color:#bb6203c1;
        border-radius: 10px;
        border: none;
        color: white;
    }
    .the_item_image{
        border-radius: 5px;
    }
    .casava_logo_mp_self {
        width: 100px;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .casava_logo_mp_self img{
        width: 95%;
        height: auto;


    }
    .desktop{
        display: none;
    }
    .phone{
        display: flex;
    }
    .alert_store{
        align-items: end;
        justify-content: center;
    }
    .alert_store_span{
        height: 50%;
        width: 50%;
        align-items: center;
        font-size: 15px;
    }
    .header_span{
        display: flex;
        flex-direction: column;
        align-items: end;
        justify-content: center;
        height: 50%;
        width: 100%;
        padding-right: 15px;
    }

    .bag{
        justify-content: end;
        padding-bottom: 10px;
    }
    .orders{
        font-size: 17px;
    }


}
@media only screen and (min-width: 1024px) and (max-width: 1440px) {

    header{
        display: none;
    }
    main{
        width: 100%;
        flex-direction: column;
        flex-wrap: wrap;
        height: auto;

    }
    .details{
        display: flex;
        align-self: center;
        flex-direction: row;
        flex-wrap: wrap;
        height: auto;
        width: 100%;
        margin: 0 auto;
        overflow-y: scroll;
        flex-shrink: 0;
    }
    .image-wrapper {
      position: relative;
      width: 50%;
      border-radius: 15px;

    }
    .image-wrapper::-webkit-scrollbar {
      display: none;
    }
    .desktop-detail-container{
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 40%;
        aspect-ratio: 1/1;
        margin-top: 1.5vh;
        position: relative;
    }
    .desktop-other-colors{
        height: 20%;
        overflow-x: hidden;
        align-items: center;

    }
    .desktop-other-colors::-webkit-scrollbar {
      display: none;
    }
    .desktop-color-circle{
        margin-top: 10px;
        width: 20%;
    }
    .detail_contact{
        position: sticky;
        bottom: 0;
        background-color: black;
    }

    .image-selector{
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 10%;
        height: 100vh;
        margin-top: 1.5vh;
        overflow-y: scroll;

    }
    .image-selector::-webkit-scrollbar {
      display: none;
    }
    .selection-image{
        width: 70%;
        aspect-ratio: 1/1;
        margin-top: 2vh;
        border-radius: 15px;
    }
    .selection-image:hover{
        border: thin solid #dedede;
    }
    .desktop-product-name{
        font-size: 19px;
        font-weight: 500;
        display: flex;
        align-items: center;
        color: black;
    }
    .desktop-product-sku{
        font-size: 16px;
        font-weight: 400;
        color: #9a9a9a;
    }
    .detail_image {
      border-radius: 15px;

    }
    .image-wrapper::-webkit-scrollbar {
      display: none;
    }
    .detail_span::-webkit-scrollbar {
      display: none;
    }
    .detail_desc{
        width:98%;
        font-size: 17px;
        font-weight: 400;
    }
    .other-colors{
        align-items: start;
    }
    .color-circle{
        width: 20%;
        aspect-ratio: 1/1;
        height: auto;

    }
    .op{
        font-size: 17px;
        font-weight: 400;
    }
    .relate-name{
        font-size: 17px;
        font-weight: 400;
    }
    .related-product-card{
        height: 300px;
    }

}