
/** **/

input.accordion {
    display: none;
}
label.accordion {
    display: flex;
    padding: 8px 22px;
    margin: 0 0 1px 0;
    cursor: pointer;
    background: #6AAB95;
    border-radius: 3px;
    color: #FFF;
    transition: ease .5s;
    position: relative;
    /* background: linear-gradient(45deg, #622aa9, #0185ff00);  */
     background: #ff0000;

}

label.accordion:hover {
    background: #ff0000;
}

.content.accordion {
    background: #E2E5F6;
    padding: 10px 25px;
    border: 1px solid #A7A7A7;
    border-radius: 3px;
    margin-bottom: 20px;
    background: none;
    border: none;

}

input.accordion + label.accordion + .content.accordion {
    display: none;
}

input.accordion:checked + label.accordion + .content.accordion {
    display: block;
}

label.accordion::after {
    content: '+';
    font-size: 22px;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 2px;
}

input.accordion + label.accordion {
    margin-bottom: 50px;
}

input.accordion:checked + label.accordion {
    margin-bottom: 0px;
}

input.accordion:checked + label.accordion::after {
    content: '-';
    right: 14px;
    top: 3px;
}

/* #main{
    margin-top: 30px;
} */

label.accordion .product_group{
    width: 100%;
    text-align: center;
}

.accordion_grp:first-child{
    margin-top: 30px;
}

body .container{
    width: 100%;
}


/* General styles */
.quantity .plus {
    background-color: green;
}

.quantity .minus {
    background-color: red;
}

.quantity {
    display: flex;
    border: 2px solid #ffffff;
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: fit-content;
    /* position: absolute; */
    /* bottom: -16px; */
    margin: auto;
}

.quantity button {
    background-color: #3498db;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 20px;
    width: 30px;
    height: auto;
    text-align: center;
    transition: background-color 0.2s;
}

.quantity button:hover {
    background-color: #2980b9;
}

.input-box {
    width: 40px;
    text-align: center;
    border: none;
    font-size: 16px;
    outline: none;
}

/* Hide number input spin buttons */
.input-box::-webkit-inner-spin-button,
.input-box::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Flex container for image and quantity */
.img_quantity {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Product info styling */
.table-image tbody td div.mt-cs {
    font-size: 15px;
    font-weight: bold;
    color: red;
}

.table-image tbody tr td {
    padding-bottom: 25px !important;
    vertical-align: middle !important;
    border-bottom: 2px dashed #ddd;
    border-top: 0px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Reduce button and font size for smaller screens */
    .quantity button {
        font-size: 16px;
        width: 25px;
    }

    .input-box {
        width: 35px;
        font-size: 14px;
    }

    .quantity {
        bottom: -12px;
    }

    /* Adjust image size for smaller screens */
    .img_quantity img {
        max-width: 120px;
        max-height: 60px;
    }

    /* Adjust text size for smaller screens */
    .table-image tbody td div.mt-cs {
        font-size: 13px;
    }

    /* Make sure the table adjusts properly */
    .table-image {
        width: 100%;
    }

    /* Adjust the space around table rows for better spacing */
    .table-image tbody tr {
        display: block;
        margin-bottom: 20px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    /* Further reduce button and input size for extra small screens */
    .quantity button {
        font-size: 14px;
        width: 20px;
    }

    .input-box {
        width: 30px;
        font-size: 12px;
    }

    .quantity {
        bottom: -10px;
    }

    /* Further reduce image size */
    .img_quantity img {
        max-width: 100px;
        max-height: 50px;
    }

    /* Further reduce text size */
    .table-image tbody td div.mt-cs {
        font-size: 12px;
    }

    /* Ensure rows stack properly on very small screens */
    .table-image tbody tr {
        display: block;
        margin-bottom: 15px;
    }
}


.table {
    display: table;
    text-align: center;
    width: 60%;
    margin: 10% auto 0;
    border-collapse: separate;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
  }

  .table_row {
    display: table-row;
  }

  .theader {
    display: table-row;
  }

  .table_header {
    display: table-cell;
    border-bottom: #ccc 1px solid;
    border-top: #ccc 1px solid;
    background: #3b0483;
    color: #e5e5e5;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 700;
  }

  .table_header:first-child {
    border-left: #ccc 1px solid;
    border-top-left-radius: 5px;
  }

  .table_header:last-child {
    border-right: #ccc 1px solid;
    border-top-right-radius: 5px;
  }

  .table_small {
    display: table-cell;
  }

  .table_row > .table_small > .table_cell:nth-child(odd) {
    display: none;
    background: #3b0483;
    color: #e5e5e5;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .table_row > .table_small > .table_cell {
    padding-top: 3px;
    padding-bottom: 3px;
    color: #5b5b5b;
    border-bottom: #ccc 1px solid;
  }

  .table_row > .table_small:first-child > .table_cell {
    border-left: #ccc 1px solid;
  }

  .table_row > .table_small:last-child > .table_cell {
    border-right: #ccc 1px solid;
  }

  .table_row:last-child > .table_small:last-child > .table_cell:last-child {
    border-bottom-right-radius: 5px;
  }

  .table_row:last-child > .table_small:first-child > .table_cell:last-child {
    border-bottom-left-radius: 5px;
  }

  .table_row:nth-child(2n+3) {
    background: #e9e9e9;
  }

  @media screen and (max-width: 900px) {
    .table {
      width: 90%
    }
  }

  @media screen and (max-width: 650px) {
    .table {
      display: block;
    }
    .table_row:nth-child(2n+3) {
      background: none;
    }
    .theader {
      display: none;
    }
    .table_row > .table_small > .table_cell:nth-child(odd) {
      display: table-cell;
      width: 50%;
    }
    .table_cell {
      display: table-cell;
      width: 50%;
    }
    .table_row {
      display: table;
      width: 100%;
      border-collapse: separate;
      padding-bottom: 20px;
      margin: 5% auto 0;
      text-align: center;
    }
    .table_small {
      display: table-row;
    }
    .table_row > .table_small:first-child > .table_cell:last-child {
      border-left: none;
    }
    .table_row > .table_small > .table_cell:first-child {
      border-left: #ccc 1px solid;
    }
    .table_row > .table_small:first-child > .table_cell:first-child {
      border-top-left-radius: 5px;
      border-top: #ccc 1px solid;
    }
    .table_row > .table_small:first-child > .table_cell:last-child {
      border-top-right-radius: 5px;
      border-top: #ccc 1px solid;
    }
    .table_row > .table_small:last-child > .table_cell:first-child {
      border-right: none;
    }
    .table_row > .table_small > .table_cell:last-child {
      border-right: #ccc 1px solid;
    }
    .table_row > .table_small:last-child > .table_cell:first-child {
      border-bottom-left-radius: 5px;
    }
    .table_row > .table_small:last-child > .table_cell:last-child {
      border-bottom-right-radius: 5px;
    }
  }

  .table_cell{
    min-height: 60px !important;
    border: none !important;
    /* border-bottom: 1px solid gray !important; */
  }

  .table{
    margin: 0 !important;
  }
