@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}

body {
    line-height: 1.5;
}

.card-wrapper {
    max-width: 1100px;
    background: white;
    margin-bottom: 20px;
    margin: 10px !important;
    padding: 10px !important;
    border-radius: 8px;
    gap: 20px;

}

img {
    width: 100%;
    display: block;
}

.img-display {
    overflow: hidden;
}

.img-showcase {
    display: flex;
    width: 100%;
    transition: all 0.5s ease;
}

.img-showcase img {
    min-width: 100%;
}

.img-select {
    display: flex;
}

.img-item {
    margin: 0.3rem;
    width: 100px;
    height: 100px;
}

.img-item a {
    width: 100px;
    height: 100px;
}

.img-item a img {
    margin: 0.3rem;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.img-item:nth-child(1),
.img-item:nth-child(2),
.img-item:nth-child(3) {
    margin-right: 0;
}

.img-item:hover {
    opacity: 0.8;
}

.product-content {
    padding: 2rem 1rem;
}

.product-title {
    font-size: 2.2rem;
    text-transform: capitalize;
    font-weight: 700;
    position: relative;
    margin: 1rem 0;
}

.product-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 80px;
}

.product-link {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 0.5rem;
    background: #256eff;
    color: #fff;
    padding: 0 0.3rem;
    transition: all 0.5s ease;
}

.product-link:hover {
    opacity: 0.9;
}

.product-rating {
    color: #ffc107;
}

.product-rating span {
    font-weight: 600;
    color: #252525;
}

.product-price {
    margin: 1rem 0;
    font-size: 1rem;
    font-weight: 700;
}

.product-price span {
    font-weight: 400;
}

.last-price span {
    color: #f64749;
    text-decoration: line-through;
    font-size: 22px;
}

.new-price span {
    color: #ffc107;
    font-weight: bold;
    font-size: 30px;
}

.product-detail h2 {
    text-transform: capitalize;
    /* color: #12263a; */
    padding-bottom: 0.6rem;
}

.product-detail p {
    font-size: 0.9rem;
    padding: 0.3rem;
    opacity: 0.8;
}

.product-detail ul {
    margin: 1rem 0;
    font-size: 0.9rem;
}

.product-detail ul li {
    list-style: none;
    margin: 0.4rem 0;
    display: flex;
    flex-direction: row;
    gap: 4px;

}

.product-detail ul li ion-icon {
    color: #ffc107;
    font-size: 18px;
    display: flex;
    margin-right: 2px;
}

.product-detail ul li span {
    font-weight: 400;
}

.purchase-info {
    margin: 1rem 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
}

.product-qty {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
.product-qty span {
    margin: 0.4rem 0;
    display: flex;
    flex-direction: row;
    gap: 4px;
    font-size: 14px;
  }

.product-action {
    display: flex;
    flex-direction: row;
    gap: 0px ;
}

.purchase-info input,
.purchase-info .btn {
    border: 1.5px solid #ddd;
    border-radius: 6px;
    text-align: center;
    padding: 10px;
    outline: 0;
    margin-right: 0.2rem;
    margin-bottom: 1rem;
}

.purchase-info input {
    padding: 14px;
    width: 60px;
}

.purchase-info .btn {
    cursor: pointer;
    color: #fff;
    display: flex;
    flex-direction: row;
    gap: 4px;
    font-size: 16px;
    font-weight: 600;

}

.purchase-info .btn ion-icon {
    font-size: 20px;
    display: flex;
}

.purchase-info .btn.wishList ion-icon {
    font-size: 26px;
}

.purchase-info .btn.addToCard {
    background: #ffc107;
}

.purchase-info .btn.wishList {
    background: #ffb2b2;
    color: rgb(168, 22, 22);
}

.purchase-info .btn.wishList.active {
    color: #ffb2b2;
    background: rgb(168, 22, 22);
}

.purchase-info .btn:hover {
    opacity: 0.9;
}

@media screen and (min-width: 992px) {
    .card {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1.5rem;
        padding: 20px;
    }

    .card-wrapper {
        /* height: 100vh; */
        display: flex;
        justify-content: center;
        flex-direction: column;
        /* align-items: center; */
        margin: 20px;
        padding: 20px;

    }

    .product-imgs {
        display: flex;
        flex-direction: column;
        /* justify-content: center; */
    }




    .product-content {
        padding-top: 0;
    }
}

@media screen and (max-width: 500px) {
  .card-wrapper {
    max-width: 100% !important;
  }
}



iframe {
    width: 100%;
    height: 400px;
}

.product-bottom-detail {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
}

ul.tabs {
    display: flex;
    list-style-type: none;
}

ul.tabs li {
    cursor: pointer;
    padding: 10px 36px;
    background-color: white;
    color: #878787;
}

ul.tabs li.active {
    background-color: #ffc107;
    color: #fff;
}

.tab_content {
    padding: 20px
}

.tab_content.hidden {
    display: none;
}

.tab_drawer_heading {
    display: none;
}

@media screen and (max-width: 767px) {
    ul.tabs {
        display: none;
    }

    .tab_drawer_heading {
        background-color: #fff;
        color: #878787;
        display: block;
        user-select: none;
        padding: 20px;
    }

    .d_active {
        background-color: #ffc107;
        color: #fff;
    }
}

.review-items {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}



.review-cart-content.review-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 1);
    padding: 20px;
    max-width: 320px;
}

.review-cart-content .review-stars {
    display: flex;
    grid-gap: 0.125rem;
    gap: 0.125rem;
    color: rgb(238, 203, 8);
}

.review-cart-content .review-star ion-icon {
    height: 1.25rem;
    width: 1.25rem;
}

.review-cart-content .infos {
    margin-top: 1rem;
}

.review-cart-content .date-time {
    color: rgba(7, 63, 216, 1);
    font-size: 12px;
    font-weight: 600;
}

.review-cart-content .description {
    margin-top: 0.4rem;
    line-height: 1.625;
    color: rgba(107, 114, 128, 1);
}

.review-cart-content .author {
    margin-top: 1.3rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgba(107, 114, 128, 1);
}



:root {
    --yellow: #FFBD13;
    --blue: #ff9900;
    --blue-d-1: #ff9900;
    --light: #F5F5F5;
    --grey: #AAA;
    --white: #FFF;
    --shadow: 8px 8px 30px rgba(0, 0, 0, .05);
}


.review-form .wrapper-form {
    background: var(--white);
    padding: 2rem;
    width: 100%;
    border-radius: .75rem;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .product-title {
        font-size: 1.8rem;
        margin: 0;
    }
}

@media screen and (max-width: 500px) {
    .review-form .wrapper-form {
        padding: 0rem;
    }

    .product-title {
        font-size: 1.2rem;
        margin: 0;
    }

    .product-content {
        padding: 0px;
    }

    .tab_content {
        padding: 4px;
    }
}

.review-form .wrapper-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.review-form .rating {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-gap: .5rem;
    font-size: 2rem;
    color: var(--yellow);
    margin-bottom: 2rem;
}

.review-form .rating .review-star {
    cursor: pointer;
}

.review-form .rating .review-star.active {
    opacity: 0;
    animation: animate .5s calc(var(--i) * .1s) ease-in-out forwards;
}

@keyframes animate {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}


.review-form .rating .review-star:hover {
    transform: scale(1.1);
}

.review-form textarea {
    width: 100%;
    background: var(--light);
    padding: 1rem;
    border-radius: .5rem;
    border: none;
    outline: none;
    resize: none;
    margin-bottom: .5rem;
}

.review-form .btn-group {
    display: flex;
    grid-gap: .5rem;
    align-items: center;
}

.review-form .btn-group .btn {
    padding: .75rem 1rem;
    border-radius: .5rem;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: .875rem;
    font-weight: 500;
}

.review-form .btn-group .btn.submit {
    background: var(--blue);
    color: var(--white);
}

.review-form .btn-group .btn.submit:hover {
    background: var(--blue-d-1);
}

.review-form .btn-group .btn.cancel {
    background: var(--white);
    color: var(--blue);
}

.review-form .btn-group .btn.cancel:hover {
    background: var(--light);
}



/*start styles*/
.accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.accordion__item {
    border: 1px solid #e5f3fa;
    border-radius: 10px;
    overflow: hidden;
}

.accordion__header {
    padding: 20px 25px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.accordion__header::after {
    content: '';
    background: url(https://www.svgrepo.com/show/357035/angle-down.svg) no-repeat center;
    width: 20px;
    height: 20px;
    transition: .4s;
    display: inline-block;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1;
}

.accordion__header.active {
    background: #e5f3fa;
}

.accordion__header.active::after {
    transform: rotateX(180deg);
}

.accordion__item .accordion__content {
    padding: 0 25px;
    max-height: 0;
    transition: .5s;
    overflow: hidden;
}

.cyber-checkbox {
    --checkbox-size: 24px;
    --checkbox-color: #5c67ff;
    --checkbox-check-color: #ffffff;
    --checkbox-hover-color: #4c57ef;
    --checkbox-spark-offset: -20px;
  
    position: relative;
    display: inline-block;
    cursor: pointer;
    user-select: none;
    margin: 10px 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
  }
  
  .cyber-checkbox input {
    display: none;
  }
  
  .cyber-checkbox__mark {
    position: relative;
    display: inline-block;
    width: var(--checkbox-size);
    height: var(--checkbox-size);
  }
  
  .cyber-checkbox__box {
    position: absolute;
    inset: 0;
    border: 2px solid var(--checkbox-color);
    border-radius: 4px;
    background: transparent;
    transition: all 0.2s ease;
  }
  
  .cyber-checkbox__check {
    position: absolute;
    inset: 0;
    padding: 2px;
    stroke: var(--checkbox-check-color);
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transform: scale(0);
    transition: transform 0.2s ease;
  }
  
  .cyber-checkbox__effects {
    position: absolute;
    inset: var(--checkbox-spark-offset);
    pointer-events: none;
  }
  
  .cyber-checkbox__spark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 2px;
    background: var(--checkbox-color);
    border-radius: 50%;
    opacity: 0;
    transform-origin: center center;
  }
  
  /* Hover */
  .cyber-checkbox:hover .cyber-checkbox__box {
    border-color: var(--checkbox-hover-color);
    box-shadow: 0 0 0 2px rgba(92, 103, 255, 0.1);
  }
  
  /* Checked */
  .cyber-checkbox input:checked + .cyber-checkbox__mark .cyber-checkbox__box {
    background: var(--checkbox-color);
    border-color: var(--checkbox-color);
  }
  
  .cyber-checkbox input:checked + .cyber-checkbox__mark .cyber-checkbox__check {
    transform: scale(1);
  }
  
  /* Spark Animation */
  .cyber-checkbox input:checked + .cyber-checkbox__mark .cyber-checkbox__spark {
    animation: spark 0.4s ease-out;
  }
  
  .cyber-checkbox__spark:nth-child(1) {
    transform: rotate(0deg) translateX(var(--checkbox-spark-offset));
  }
  .cyber-checkbox__spark:nth-child(2) {
    transform: rotate(90deg) translateX(var(--checkbox-spark-offset));
  }
  .cyber-checkbox__spark:nth-child(3) {
    transform: rotate(180deg) translateX(var(--checkbox-spark-offset));
  }
  .cyber-checkbox__spark:nth-child(4) {
    transform: rotate(270deg) translateX(var(--checkbox-spark-offset));
  }
  
  @keyframes spark {
    0% {
      opacity: 0;
      transform: scale(0) rotate(0deg) translateX(var(--checkbox-spark-offset));
    }
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      transform: scale(1) rotate(0deg)
        translateX(calc(var(--checkbox-spark-offset) * 1.5));
    }
  }
  
  /* Active */
  .cyber-checkbox:active .cyber-checkbox__box {
    transform: scale(0.9);
  }
  
  /* Focus */
  .cyber-checkbox input:focus + .cyber-checkbox__mark .cyber-checkbox__box {
    box-shadow: 0 0 0 4px rgba(92, 103, 255, 0.2);
  }
  
  .cyber-checkbox__particles {
    position: absolute;
    inset: -50%;
    pointer-events: none;
  }
  
  .cyber-checkbox__particles div {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--checkbox-color);
    opacity: 0;
  }
  
  /* Particle animations for check */
  .cyber-checkbox input:checked + .cyber-checkbox__mark .particle-1 {
    animation: particle-1 0.4s ease-out forwards;
  }
  .cyber-checkbox input:checked + .cyber-checkbox__mark .particle-2 {
    animation: particle-2 0.4s ease-out forwards 0.1s;
  }
  .cyber-checkbox input:checked + .cyber-checkbox__mark .particle-3 {
    animation: particle-3 0.4s ease-out forwards 0.15s;
  }
  .cyber-checkbox input:checked + .cyber-checkbox__mark .particle-4 {
    animation: particle-4 0.4s ease-out forwards 0.05s;
  }
  .cyber-checkbox input:checked + .cyber-checkbox__mark .particle-5 {
    animation: particle-5 0.4s ease-out forwards 0.12s;
  }
  .cyber-checkbox input:checked + .cyber-checkbox__mark .particle-6 {
    animation: particle-6 0.4s ease-out forwards 0.08s;
  }
  .cyber-checkbox input:checked + .cyber-checkbox__mark .particle-7 {
    animation: particle-7 0.4s ease-out forwards 0.18s;
  }
  .cyber-checkbox input:checked + .cyber-checkbox__mark .particle-8 {
    animation: particle-8 0.4s ease-out forwards 0.15s;
  }
  
  /* Particle animations for uncheck */
  .cyber-checkbox input:not(:checked) + .cyber-checkbox__mark .particle-1 {
    animation: particle-out-1 0.4s ease-out forwards;
  }
  .cyber-checkbox input:not(:checked) + .cyber-checkbox__mark .particle-2 {
    animation: particle-out-2 0.4s ease-out forwards 0.1s;
  }
  .cyber-checkbox input:not(:checked) + .cyber-checkbox__mark .particle-3 {
    animation: particle-out-3 0.4s ease-out forwards 0.15s;
  }
  .cyber-checkbox input:not(:checked) + .cyber-checkbox__mark .particle-4 {
    animation: particle-out-4 0.4s ease-out forwards 0.05s;
  }
  .cyber-checkbox input:not(:checked) + .cyber-checkbox__mark .particle-5 {
    animation: particle-out-5 0.4s ease-out forwards 0.12s;
  }
  .cyber-checkbox input:not(:checked) + .cyber-checkbox__mark .particle-6 {
    animation: particle-out-6 0.4s ease-out forwards 0.08s;
  }
  .cyber-checkbox input:not(:checked) + .cyber-checkbox__mark .particle-7 {
    animation: particle-out-7 0.4s ease-out forwards 0.18s;
  }
  .cyber-checkbox input:not(:checked) + .cyber-checkbox__mark .particle-8 {
    animation: particle-out-8 0.4s ease-out forwards 0.15s;
  }
  
  /* Particle keyframes for check */
  @keyframes particle-1 {
    0% {
      transform: translate(0, 0) scale(0);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: translate(-20px, -20px) scale(1);
      opacity: 0;
    }
  }
  
  @keyframes particle-2 {
    0% {
      transform: translate(0, 0) scale(0);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: translate(20px, -20px) scale(1);
      opacity: 0;
    }
  }
  
  @keyframes particle-3 {
    0% {
      transform: translate(0, 0) scale(0);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: translate(20px, 20px) scale(1);
      opacity: 0;
    }
  }
  
  @keyframes particle-4 {
    0% {
      transform: translate(0, 0) scale(0);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: translate(-20px, 20px) scale(1);
      opacity: 0;
    }
  }
  
  @keyframes particle-5 {
    0% {
      transform: translate(0, 0) scale(0);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: translate(-30px, 0px) scale(1);
      opacity: 0;
    }
  }
  
  @keyframes particle-6 {
    0% {
      transform: translate(0, 0) scale(0);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: translate(30px, 0px) scale(1);
      opacity: 0;
    }
  }
  
  @keyframes particle-7 {
    0% {
      transform: translate(0, 0) scale(0);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: translate(0px, -30px) scale(1);
      opacity: 0;
    }
  }
  
  @keyframes particle-8 {
    0% {
      transform: translate(0, 0) scale(0);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: translate(0px, 30px) scale(1);
      opacity: 0;
    }
  }
  
  /* Particle keyframes for uncheck */
  @keyframes particle-out-1 {
    0% {
      transform: translate(-20px, -20px) scale(1);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: translate(0, 0) scale(0);
      opacity: 0;
    }
  }
  
  @keyframes particle-out-2 {
    0% {
      transform: translate(20px, -20px) scale(1);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: translate(0, 0) scale(0);
      opacity: 0;
    }
  }
  
  @keyframes particle-out-3 {
    0% {
      transform: translate(20px, 20px) scale(1);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: translate(0, 0) scale(0);
      opacity: 0;
    }
  }
  
  @keyframes particle-out-4 {
    0% {
      transform: translate(-20px, 20px) scale(1);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: translate(0, 0) scale(0);
      opacity: 0;
    }
  }
  
  @keyframes particle-out-5 {
    0% {
      transform: translate(-30px, 0px) scale(1);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: translate(0, 0) scale(0);
      opacity: 0;
    }
  }
  
  @keyframes particle-out-6 {
    0% {
      transform: translate(30px, 0px) scale(1);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: translate(0, 0) scale(0);
      opacity: 0;
    }
  }
  
  @keyframes particle-out-7 {
    0% {
      transform: translate(0px, -30px) scale(1);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: translate(0, 0) scale(0);
      opacity: 0;
    }
  }
  
  @keyframes particle-out-8 {
    0% {
      transform: translate(0px, 30px) scale(1);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: translate(0, 0) scale(0);
      opacity: 0;
    }
  }
  