:root {
  --gap: 4rem;
  --size-label: 70px;
  --cart-padding: 1rem 1rem 2rem 1rem;
  --blue: #007bff;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #FA4040;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #2CAE2C;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #6c757d;
  --light-grey: #f5f5f5;
  --primary: #007bff;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --warning-2: #E9BA45;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343A40;
  --dark-blue: #2B3440;
  --main_white: #F2F8FC;
  --silver: #616A71;
}

/*Variables*/
#cart-container-middle {
  display: flex;
  flex-direction: column;
  max-height: 25rem; /* Set the maximum height for the entire container */
  overflow-y: auto; /* Add vertical scrollbar if content exceeds max-height */
}

.cart-item {
  flex: 0 0 50%; /* Adjust the width of each item as needed (50% for 2 columns) */
  max-height: 6rem; /* Set the maximum height for each item */
  overflow: hidden; /* Hide overflow content */
}

.cart-button {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: bold;
  color: var(--green);
  border: 0.2rem solid var(--green);
  border-radius: 1rem;
  background-color: transparent;
  cursor: pointer;
}
.cart-button:hover {
  transform: translateY(-0.4rem);
  opacity: 0.9; /* Slight transparency on hover */
}
.cart-button :focus {
  outline: 2px solid var(--green); /* Accessible focus indicator */
}
.cart-button > svg {
  width: 30px;
  height: 26.6666666667px; /* Maintain aspect ratio */
  fill: var(--green); /* Icon color */
}

#cart {
  width: 100%;
  position: relative;
  flex: 2;
}
#cart #cart-button-container {
  position: relative;
}

.domain-search-cart-container {
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1;
  flex-direction: row-reverse;
  justify-content: space-around;
  gap: 2rem;
  padding: 2rem 0.5rem;
  transition: background-color 0.3s ease;
}
.domain-search-cart-container.sticky-active {
  background-color: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 1rem 1rem;
}

.cart {
  flex-shrink: 0;
}

#domain-search-wrapper {
  flex-grow: 1;
}

.search-box-wrapper {
  margin: 0;
  padding: 0;
}

#domain-search-wrapper {
  flex: 7;
}

html[data-lf-wp] .home-hero-form-inner-wrapper {
  position: relative;
  display: flex; /* Use Flexbox */
  flex-wrap: wrap; /* Allow wrapping for small screens */
  align-items: center; /* Center vertically */
  justify-content: space-between; /* Space out items */
  background-color: #fff;
  border: 1px solid var(--red);
  box-shadow: 0 7px 8px 0 rgba(177, 179, 179, 0.2);
  border-radius: 1rem;
  width: 100%; /* Full width of the container */
  max-width: 1200px; /* Constrain maximum width */
  margin: 0 auto; /* Center horizontally */
  gap: 1rem; /* Add space between flex items */
}

.home-hero-form-input {
  flex: 5; /* Allow input to grow */
  min-width: 200px; /* Minimum width to prevent shrinking too much */
}

.home-hero-form-button {
  flex-shrink: 0; /* Prevent shrinking */
}

.cart {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Ensure all table cells have consistent height */
td {
  vertical-align: middle;
  min-height: 150px;
}

/* Align the content inside the wrapper */
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Button alignment */
.button {
  margin-top: 5px; /* Space between text and button */
}

.price {
  font-weight: bold;
  font-size: 1.1rem;
}

.order-column {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.2rem;
}

.content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .domain-search-cart-container {
    flex-direction: column-reverse;
  }
  #cart-button-container {
    max-width: 50%;
    margin: 0 auto;
  }
}
@media (max-width: 640px) {
  .domain-search-cart-container {
    flex-direction: column;
  }
}

/*# sourceMappingURL=cart-domain-search.css.map */
