/*
Theme Name: Connects24
Description: A child theme for Divi
Author: Precision Marketing Group
Template: Divi
Version: 3.2.34
License: MIT
Text Domain: connects24
*/
@tailwind base;
@tailwind components;
@tailwind utilities;

/* custom Fonts */

@font-face {
  font-family: 'Chevin';
  font-weight: 300;
  font-style: normal;
  src: url('./src/fonts/Chevin\ Light.otf') format('opentype');
}

@font-face {
  font-family: 'Chevin';
  font-weight: 500;
  font-style: normal;
  src: url('./src/fonts/Chevin\ Medium.otf') format('opentype');
}

@font-face {
  font-family: 'Chevin';
  font-weight: 700;
  font-style: normal;
  src: url('./src/fonts/Chevin\ Bold.ttf') format('truetype');
}
/* CUSTOM LOADER START */

.loader {
  width: 50px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: steelblue;
  --_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
  mask: var(--_m);
  -webkit-mask-composite: source-out;
  mask-composite: subtract;
  animation: l3 1s infinite linear;
  position: fixed;
  top: 50vh;
  right: 50vw;
  z-index: 9999;
}

@keyframes l3 {
  to {
    transform: rotate(1turn);
  }
}
/* CUSTOM LOADER END */

/* 12/05/2025 chrome update makes the images grow indefinitely */
@media (min-width: 1024px) {
  .swiper {
    max-width: 716px !important;
  }
}

/*woocommerce*/
.swiper-wrapper {
  height: auto !important;
}
.container {
  max-width: 1460px !important;
}

/* remove the view cart when a user clicks add to basket buttons */
a.added_to_cart.wc-forward {
  display: none;
}

/* archive-product */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border: 1px solid #ccc;
  padding: 1rem 2rem !important;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-around;
}

.page-title {
  display: none !important;
}
.woocommerce .woocommerce-ordering select.orderby {
  padding: 8px 12px;
  border: 1px solid #ddd;
  color: #000;
  background-color: #fff;
  border-radius: 4px;
}

.woocommerce .woocommerce-ordering select.orderby:hover {
  background-color: #f0f0f0;
}
.woocommerce ul.products li.product a img {
  height: 255px;
  object-fit: contain;
}

/* related.php */
.swiper-wrapper {
  height: auto !important;
}
.product {
  background: white;
  /* padding: 20px !important; */
}

.related-products-container {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  max-width: 1460px !important;
}

.related-products-container .products {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-products-container .products li {
  flex: 0 0 auto;
  width: 200px;
  /* Adjust product card width */
  margin-right: 10px;
  /* Adjust spacing between products */
  scroll-snap-align: center;
}

/* Scroll Arrows */
.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  /* Adjust arrow width */
  height: 40px;
  /* Adjust arrow height */
  background-color: rgba(255, 255, 255, 0.8);
  /* Arrow background */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 2;
}

.scroll-arrow.left {
  left: 10px;
  /* Adjust left arrow position */
}

.scroll-arrow.right {
  right: 10px;
  /* Adjust right arrow position */
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  padding: 2rem;
}
.admin-section {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-family: Arial, sans-serif;
  font-size: 12px; /* Smaller text */
  line-height: 1.5;
  color: #333333;
  letter-spacing: 0.2px;
  box-sizing: border-box;
  border: 0;
  margin: 0 auto; /* Center the admin section horizontally */
  max-width: 1200px; /* Adjust the max-width as needed */
  padding: 15px 0;
  background-color: #f5f5f5;
}

.custom-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: left; /* Center items horizontally */
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-family: Arial, sans-serif;
  font-size: 12px; /* Smaller text */
  line-height: 1.5;
  color: #333333;
  letter-spacing: 0.2px;
  box-sizing: border-box;
  border: 0;
  margin: 0;
  padding: 0;
}

.col-md-4.column {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-family: Arial, sans-serif;
  font-size: 12px; /* Smaller text */
  line-height: 1.5;
  color: #333333;
  letter-spacing: 0.2px;
  box-sizing: border-box;
  border: 0;
  margin: 0;
  padding: 10px; /* Adjusted padding for smaller boxes */
  flex: 0 0 calc(33.333% - 20px); /* Adjusted width with gap */
  max-width: calc(33.333% - 20px); /* Adjusted max-width with gap */
  box-sizing: border-box;
}

.columnContent {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-family: Arial, sans-serif;
  font-size: 12px; /* Smaller text */
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: black;
  box-sizing: border-box;
  border-radius: 3px;
  background-clip: padding-box;
  border: 1px solid #ededed;
  background-color: #fff; /* Background color remains white */
  overflow: hidden;
  position: relative;
  padding: 10px; /* Adjusted padding for smaller boxes */
  margin-bottom: 10px; /* Bottom margin for spacing */
}
.admin-header {
  background-color: #ffffff;
  color: black;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: left;
  padding-left: 320px;
}

.dgwt-wcas-search-wrapp {
  min-width: 150px;
}

.wc-block-components-product-details {
  display: none;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

input[type='number'] {
  appearance: none;
  -moz-appearance: textfield;
}
