.category_title {
  background: #f5f7f9;
  text-align: center;
  padding: 10px 0;
  font-size: 20px;
}
.category-section img {
  max-height: 500px;
}
.category-section .outter_image {
  height: 300px;
  overflow: hidden;
}
.category_title .row {
  margin-bottom: 35px;
}
.first_col_six {
  margin-bottom: 35px;
}
.sec_col_six {
  border: none;
}
.category-section .card-body {
  padding: 0 !important;
}
.category-section .card-text {
  margin-bottom: 5px !important;
  font-weight: bold;
}
.category-section .card-text a {
  color: #000;
}
.but_one_class {
  color: #000;
  width: 49%;
  background: #fff;
  border: 1px solid;
  border-radius: 5px;
  padding: 0;
}
.but_two_class {
  color: #fff;
  width: 49%;
  background: #000;
  border: 1px solid;
  border-radius: 5px;
  padding: 0;
  margin-left: 2%;
}
.sid-product-categories {
  list-style: none;
  margin: 0;
  padding-left: 15px;
  color: #000;
}
.sid-product-categories a {
  color: #000;
}
.category-section .card-body {
  padding: 0 10px;
}

.single-product-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.product-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.product-header .back-link {
  font-size: 20px;
  text-decoration: none;
  margin-right: 10px;
}

.product-title {
  font-size: 24px;
}

.product-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-image img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.product-details {
  width: 100%;
  text-align: center;
}

.product-name {
  font-size: 20px;
  margin-bottom: 10px;
}

.product-price {
  font-size: 18px;
  margin-bottom: 20px;
}

.product-form {
  width: 100%;
  text-align: center;
}

.product-form label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.product-form input[type="text"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.quantity-minus,
.quantity-plus {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  padding: 5px 10px;
  cursor: pointer;
}

.quantity-minus:hover,
.quantity-plus:hover {
  background-color: #e0e0e0;
}

.quantity-selector input[type="number"] {
  width: 50px;
  text-align: center;
  border: 1px solid #ccc;
  margin: 0 10px;
}

.add-to-order-button {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: #000;
  color: #fff;
  text-align: center;
  border: none;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

.add-to-order-button:hover {
  background-color: #333;
}

.card-title {
  color: rgb(90 90 90);
}

a.btn.btn-primary.but_one_class:hover {
  background: transparent;
  color: #000;
  border: 1px solid #000;
}

a.btn.btn-primary.but_two_class:hover {
  background: #000;
  color: #fff;
  border: 1px solid #fff;
}
.category_title.collapse_title::after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url(../img/arrow_up.svg);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-left: 0px;
  margin-top: -5px;
}
.category_title::after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url(../img/arrow_down.svg);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-left: 0px;
  margin-top: -5px;
}
.category-section .category_title {
  cursor: pointer;
}
.sid-product-categories .cat-item img {
  display: none;
}
.sid-product-categories .cat-item li {
  font-size: 18px;
  line-height: 2.4rem;
}

.sid-product-categories .cat-item img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  border: 1px solid;
}
.e-con-inner {
  padding: 0 !important;
}

/* Home Product card */
.col-md-6.col-sm-6.first_col_six {
  padding: 0 10px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: fit-content !important;
}

.header_logo_class {
  margin-top: -245px !important;
}
@media (max-width: 768px) {
  .header_logo_class {
    margin: -200px auto 0 auto !important;
    max-width: 150px !important;
  }
}
@media (max-width: 768px) {
  .cat_all_item {
    display: none;
  }
  .sid-product-categories {
    text-align: center;
  }
  .sid-product-categories .cat-item img {
    display: block;
  }
  .sid-product-categories {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
  }

  .sid-product-categories .cat-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    margin: 10px;
  }
  .ekit-template-content-markup.ekit-template-content-header {
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .home_left_menu_shortcode {
    position: sticky !important;
    top: 49px !important;
    z-index: 100 !important;
    margin: 0 !important;
    width: 100% !important;
    height: fit-content !important;
  }
  div[data-element_type="container"] {
    padding: 0 !important;
  }
  .footer_div {
    display: none !important;
  }
}

/*Cart Page*/

.sid_cart_page .btn-link {
  color: #000;
  text-decoration: none;
}

.sid_cart_page h1,
.sid_cart_page h4 {
  color: #333;
}

.sid_cart_page .img-thumbnail {
  border-radius: 0.25rem;
}

.sid_cart_page .btn-danger {
  background-color: #dc3545;
}

.sid_cart_page .btn-outline-secondary {
  color: #6c757d;
  border-color: #6c757d;
}

.sid_cart_page .form-control {
  color: #495057;
  background-color: #fff;
  border-color: #ced4da;
}
.bg_heading {
  background: #f5f7f9;
}

.sid_cart_page .bg_heading .col-12 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sid_cart_page .bg_heading h5 {
  flex-grow: 1;
  text-align: center;
  margin: 0;
}

.sid_cart_page .btn-link {
  flex-shrink: 0;
}

a.custom_minus_icon,
.custom_plus_quantity_minus {
  border: 1px solid #000;
  padding: 0 5px;
  border-radius: 20px;
  font-size: 40px;
  line-height: 15px;
  margin: 0 !important;
  height: 30px;
  color: #000;
  cursor: pointer;
}
a.custom_plus_icon,
.custom_plus_quantity_plus {
  border: 1px solid #000;
  padding: 0 5px;
  border-radius: 20px;
  font-size: 30px;
  line-height: 20px;
  margin: 0 !important;
  height: 30px;
  color: #000;
  cursor: pointer;
}
.custom_input_qty {
  border: 0 !important;
  font-weight: bold !important;
}

.custom_cart_image {
  width: 100px;
  height: 100px !important;
  margin-right: 10px;
}

div#loader {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.73);
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.sid-product-categories::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge, and Firefox */
.sid-product-categories {
  -ms-overflow-style: none;
  scrollbar-width: none;
  overflow-y: scroll;
}

div#header_cart_id a:before {
  content: attr(data-quantity);
  font-size: 12px;
  background: gray;
  padding: 3px 5px;
  border-radius: 15px;
  color: #fff;
  font-weight: bold;
  position: absolute;
  z-index: 100;
  left: 0;
  margin-left: 15px;
}
.cart_icon_item a.custom_cart_num:before {
  content: attr(data-quantity);
  font-size: 8px;
  background: gray;
  padding: 3px 5px;
  border-radius: 10px;
  color: #fff;
  font-weight: bold;
  position: absolute;
  z-index: 100;
  margin-left: 10px;
}

@media (max-width: 768px) {
  div#header_cart_id a:before {
    margin-left: 0 !important;
  }
}
.sid_cart_page .woocommerce-message {
  display: none !important;
}

.sid_cart_page .cart_totals h2,
.sid_cart_page tr.woocommerce-shipping-totals.shipping {
  display: none !important;
}
.wc-proceed-to-checkout a {
  padding: 4px !important;
}
.sid_cart_page .cart_totals table,
.sid_cart_page .cart_totals tr,
.sid_cart_page .cart_totals td,
.sid_cart_page .cart_totals th {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.sid_cart_page .cart_totals td {
  text-align: right;
}
.wc-proceed-to-checkout a:hover {
  color: #fff !important;
  background-color: #222222 !important;
  border-color: #1d2124 !important;
}

/* Add these styles to your existing CSS file */

.modern-product-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.category-section {
  margin-bottom: 40px;
}

.category_title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  padding: 10px 0;
  border-bottom: 2px solid #f0f0f0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.product-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  max-width: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-image {
  position: relative;
  overflow: hidden;
  padding-top: 100%;
}

.product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 10px;
}

.product-title {
  font-size: 14px;
}

.product-price {
  font-size: 16px;
  margin-bottom: 10px;
}

.product-actions {
  flex-direction: column;
  gap: 10px;
}

.btn {
  width: 100%;
  padding: 8px 10px;
  font-size: 12px;
}

.btn.btn-outline.add-to-cart {
  background-color: #222222 !important;
  color: #fff !important;
}
.btn.btn-outline.add-to-cart:hover {
  background-color: #fff !important;
  color: #222222 !important;
  border: 1px solid #222222 !important;
}

.btn.btn-solid.buy-now {
  margin-top: 5px !important;
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sid-product-categories a.active {
  font-weight: bold;
  text-decoration: underline;
}

.btn.btn-outline.view-options {
  background-color: #222222 !important;
  color: #fff !important;
}
.btn.btn-outline.view-options:hover {
  background-color: #fff !important;
  color: #222222 !important;
  border: 1px solid #222222 !important;
}
