/* *--------------  Global -------------- */

:root {
  --primary-color: #fe712a;
  --secondary-color: #2d6810;
  --accent-color: #adadad;
  --hover-color-main: rgba(255, 255, 255, 0.2);

  --text-primary: ##7c7c7c;
  --text-secondary: ##000000;
  --text-selected: ##f5ba01;

  /**  Bottons */
  --btn-color-submit: #3cc2db;
  --btn-padding: 8px 16px;

  /**  Borders */
  --box-border-radius: 6px;

  /**  Input */

  --input-border: 1px solid #ccc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html,
body {
  height: 100%;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.content {
  flex: 1;
}

.kt_b2b_footer {
  background-color: #ccc;
  padding: 15px;
  text-align: center;
}

.main-container {
  display: flex;
  min-height: 100vh;
}

/* --------------------------------------------
     Global end
  -------------------------------------------- */

/* //* Admin Page  */
/* //* Admin Page  */

/* //* tab navigation  */

.tab-container {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
}

.tab {
  padding: 10px;
  display: flex;
  align-items: center;
  height: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #000;
  background-color: var(--accent-color);
  border-radius: var(--box-border-radius);
  transition: all 0.3s ease;
}

.tab:hover {
  background-color: #e7e5e5;
  color: #353535;
}
.tab.active {
  background-color: var(--primary-color);
  color: #fff;
}

/* //* Admin Page  */
.pulsating-border {
  border: 0px solid yellow;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 0, 0.7); /* No glow */
  }
  50% {
    box-shadow: 0 0 10px 10px rgba(255, 255, 0, 0.4); /* Maximum glow */
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 0, 0); /* Return to no glow */
  }
}

/* General Styling for Product Table */

/* product table  */

/** from P&B  */
/*! product info section */

.product_info_section {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  margin-top: 20px;
  padding: 0 20px;
}
.kt_b2b_product_category_container {
  text-decoration: none;
  padding-right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: start;
  border-bottom: 1px solid #ccc;
}
.kt_b2b_product_category_container:not(:first-of-type) {
  padding-left: 0;
}

.kt_b2b_product_page_categeories {
  width: 80%;
  margin: 40px 0;
  margin-bottom: 80px;
}
.kt_b2b_product_info_section {
  position: relative;
  margin-top: 10vh;
}

.kt_b2b_product_details_flex {
  position: relative;
  margin: 0 auto;
  width: 50%;

  /** max-width temp until proper responsive design   */
  max-width: 600px;
  min-width: 260px;
}

.kt_b2b_product_category {
  color: var(--secondary-color);
  font-size: 14px;
  font-weight: bold;
  padding: 0 5px;
  text-decoration: none;
}
.kt_b2b_product_info_container {
  padding-top: 20px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-options-form {
  width: 100%;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin: auto;
  border-radius: 5px;
}
.kt_b2b_product_header_container_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.kt_b2b_product_brand {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 300;
  text-align: start;
}
.kt_b2b_product_brand_a {
  text-decoration: none;
  display: block;
  width: fit-content;
}
.kt_b2b_product_name {
  color: rgb(27, 27, 27);
  font-size: 20px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
}
.kt_b2b_product_pack {
  color: var(--secondary-color);
  font-size: 13px;
  font-weight: 300;
  text-align: start;
}
.kt_b2b_product_number {
  color: rgb(183, 183, 183);
  font-size: 11px;
  position: absolute;
  top: -20px;
  left: 0;
}

.kt_b2b_product_ean {
  color: rgb(183, 183, 183);
  font-size: 11px;
  position: absolute;
  top: -32px;
  right: 0;
}

.kt_b2b_product_desc_container {
  position: relative;
  margin: 50px auto;
  width: 50vw;
  max-width: 600px;
}

.kt_b2b_product_supplement_label_btn {
  padding: var(--btn-padding);
  border: none;
  margin-bottom: 20px;
  cursor: pointer;
  background-color: #f3f3f3;
}
.kt_b2b_product_supplement_label_btn:hover {
  background-color: #dbdada;
}

.kt_b2b_product_supplement_label {
  display: none;
  cursor: pointer;
  position: fixed;
  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  z-index: 9999;
}
.kt_b2b_product_supplement_label img {
  display: block;
  margin: 18vh auto 0 auto;
  width: 50%;
  height: 50%;
  object-fit: contain;
}

.kt_b2b_product_desc_title {
  margin-bottom: 20px;
}

.kt_b2b_product_desc {
  padding-bottom: 20px;
}

.kt_b2b_product_buy_options {
  display: flex;
  flex-direction: row;
}

/*! package options and qty  */

.product-options {
  flex-direction: column;

  width: 100%;

  gap: 20px;
}

.option {
  position: relative;
  flex-direction: column;
}
#kt_b2b_option_select_input {
  width: 100%;
}

.option label {
  font-weight: bold;
  margin-bottom: 5px;
  text-align: left;
}

.option select,
.option p {
  padding: 10px;
  border: 1px solid #3a3a3a;

  border-radius: 5px;
  width: 100%;

  font-size: 14px;
}
.option select {
  width: 100%;
}

.kt_b2b_product_price {
  color: #3a3a3a;
  margin: 10px 0;

  display: flex;
  flex-direction: row;
}
.kt_b2b_product_price p {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 0 10px;

  text-decoration: none;
}

#kt_b2b_product_buy_button {
  font-weight: bold;
  font-size: 20px;

  margin-top: 20px;
  margin-bottom: 20px;

  color: #fff;
  padding: 10px;
  width: 100%;
  background-color: var(--secondary-color);
  border-radius: 5px;
  border: none;
  transition: background-color 0.3s ease;
  cursor: pointer;
}
#kt_b2b_product_buy_button:hover {
  opacity: 0.8;
}

.kt_b2b_product_image {
  display: block;
  margin: 0 auto;

  object-fit: contain;
  flex: 1;
  max-height: 250px;
}
/* //!  */
.kt_b2b_category_section_grid_popular_product {
  grid-template-rows: auto;
}

#kt_b2b_category_section_grid_popular_modal {
  overflow-x: scroll;
  overflow-y: hidden;
  -ms-overflow-style: none;

  grid-template-rows: auto;
}
#kt_b2b_category_section_grid_popular_modal::-webkit-scrollbar {
  display: none;
}

.kt_b2b_category_section_title_h2_modal {
  margin-top: 15px;
  margin-bottom: 15px;
  border: none;
}

/* //! Modal Styles */
/* //! should check styles again */

#kt_b2b_category_section_add_to_cart_modal {
  padding: 0;
}

#continueShopping {
  background-color: var(--secondary-color);
}
#goToCart {
  background-color: var(--accent-color);
}

.modal-button:hover {
  opacity: 0.8;
}
.kt_b2b_quan_pack {
  display: flex;
  gap: 20px;

  flex-direction: row;
}
#kt_b2b_option_pack {
  align-self: flex-start;
  width: 100%;
}
/*! product banner footer  */
.carousel_footer {
  margin-top: 80px;
}

/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */

/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*! past orders  */

/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/* * cart step 3 temporary styles */

/* --------------------------------------------
   Step 3 Page Styling
-------------------------------------------- */

/* Responsive Adjustments */
@media (max-width: 768px) {
  /* .kt_b2b_cart_screen_step_3 {
    padding: 15px;
  }

  .kt_b2b_final_table th,
  .kt_b2b_final_table td {
    font-size: 14px;
    padding: 10px;
  }

  .kt_b2b_final_table_product img {
    width: 40px;
  }

  .kt_b2b_final_table_total,
  .kt_b2b_final_table_delivery {
    font-size: 16px;
  }

  .kt_b2b_step {
    width: 40px;
    height: 40px;
    font-size: 18px;
  } */
}

/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */

/* ! extra styles for admin orders  */

table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
}

th,
td {
  padding: 15px;
  border: 1px solid #ddd;
  text-align: left;
}

.order-id-cell {
  position: relative;
  font-size: 12px;
  text-align: left;
  min-width: 100px;
  max-width: 150px;
}

.order-id {
  display: block;
  font-weight: bold;
  text-align: right;
  color: #555;
}

.contact-details {
  margin-top: 5px;
}

.contact-details span {
  display: block;
  font-size: 14px;
  color: #333;
}

.truncate {
  display: block;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.products-cell {
  width: 40%;
  min-width: 640px;
}

.product-item {
  margin-bottom: 5px;
  font-size: 14px;
  cursor: pointer;
}

.status-cell {
  text-align: center;
  font-weight: bold;
}

.status-label {
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  color: #fff;
}

.status-new {
  background-color: #ff8f8f;
}
.status-pending {
  background-color: orange;
}

.status-shipped {
  background-color: blue;
}

.status-completed {
  background-color: green;
}

.status-unknown {
  background-color: gray;
}

.btn-process {
  padding: 8px 12px;
  background-color: #28a745;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.btn-process:hover {
  background-color: #218838;
}

.price-cell {
  text-align: left;
  width: 14%;
  min-width: 130px;
}
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/* *TOASTER */

#kt-toast-container {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 9999;
}

.toast-message {
  white-space: pre-line;

  background: #333;
  color: #fff;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 4px;
  font-size: 15px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);

  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast-message.show {
  opacity: 1;
  transform: translateY(0);
}

/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/* * RESPONSIVE  */

@media (min-width: 650px) {
  .kt_b2b_product_details_flex {
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
  }
  .kt_b2b_product_buy_options {
    /* align-self: flex-start; */
    /* align-self: stretch; */
  }
  .kt_b2b_product_image {
    /* max-height: 250px; */
    /* max-height: 300px; */
  }
  .product-options-form {
    /* align-items: stretch; */
  }
  .kt_b2b_product_desc_title {
    /* padding-top: 30px; */
  }
  .kt_b2b_product_name {
    /* text-align: start; */
  }

  .kt_b2b_product_number {
    /* top: 0; */
  }
  .kt_b2b_product_ean {
    /* top: 12px; */
  }

  /* .kt_b2b_quan_pack {
    width: 100%;
  } */

  .kt_b2b_product_info_container {
    /* padding-top: 0; */
    /* width: 50%; */
  }
  .kt_b2b_product_header_container_inner {
    align-items: flex-start;
    /* align-self: flex-end; */
    /* align-self: flex-start; */
  }

  .kt_b2b_product_price {
    /* justify-content: flex-start; */
  }

  .kt_b2b_product_desc {
    /* padding-bottom: 50px; */
  }
  /* .modal-buttons {
    flex-direction: row;
  } */
  /* .option select,
  .option p {
    font-size: 16px;
  } */
}

@media (min-width: 800px) {
  /* .kt_b2b_product_name {
    font-size: 25px;
  }
  .kt_b2b_product_brand {
    font-size: 16px;
  }
  .kt_b2b_product_pack {
    font-size: 15px;
  } */
}
@media (min-width: 1000px) {
  /* .kt_b2b_category_section_grid_popular_bought {
    grid-template-columns: repeat(6, 1fr);
  } */
}

@media (min-width: 1200px) {
  /* .product_info_section {
    padding: 0;
  } */
}
