
.steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.desbord-view {
  display: block;
}

.Mobile-view {
  display: none;
}

/* Connector line */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #e5e7eb;
  top: 15px;
  left: 50%;
  transform: translateY(-50%);
  z-index: -1;
}

/* Circle */
.circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #e5e7eb;
  border: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  position: relative;
}

/* Active state */
.step.active .circle {
  background-color: transparent; /* Transparent background */
  border-color: #B19369; /* Border color for active */
  position: relative;
}

/* Inner circle for active state */
.step.active .circle::after {
  content: '';
  width: 14px; /* Adjust size for inner circle */
  height: 14px;
  background-color: #B19369; /* Inner circle color */
  border-radius: 50%;
  position: absolute;
}

/* Completed state */
/* Completed state with check icon */
.step.completed .circle {
  background-color: #B19369;
  border-color: #B19369;
  position: relative;
}

.step.completed .circle::before {
  content: '\2713'; /* Unicode for checkmark */
  font-size: 1rem;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.step.completed::after {
  background-color: #B19369;
}
/* Text */
.step {
  font-size: 16px;
  color: #6b7280;
}
/* .navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f5f5f5;
    padding: 10px 20px;
    border-radius: 5px;
} */
.navigation-custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  float: right;
  padding: 10px 20px;
  border-radius: 5px;
}

.navigation-custom .total {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  padding: 0 10px;
  color: #333;
}

.navigation-custom .buttons-custom {
  display: flex;
  gap: 10px;
}

.navigation-custom .buttons-custom a {
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
  padding: 10px 15px;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.navigation-custom .buttons-custom a:hover {
  background-color: #ddd;
}

  
  .step-container  .item-product {
    width: 100%;
    padding: 10px;
  }
  
  .step-container  .products-entry {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    /* height: 450px; */
  position: relative;
}

.step-container  .products-entry:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.step-container  .products-thumb {
  position: relative;
  overflow: hidden;
}

.step-container  .products-thumb img {
  width: 100%;
  height: 250px;
  border-radius: 8px 8px 0 0;
  transition: transform 0.3s ease;
}

.step-container  .products-thumb:hover img {
  transform: scale(1.05);
}

.step-container  .product-button {
  padding: 10px;
  /* position: absolute;
  bottom: 0;
  right: 0;
  left: 0; */
}
/* .products-entry.content-product1.clearfix.product-wapper:hover .product-title {
  white-space: normal;
} */

.step-container  .products-content {
  margin-bottom: 10px;
}

.step-container  .product-title {
  font-size: 16px;
  margin-bottom: 5px;
}

.step-container  .product-title a {
  color: #333;
  text-decoration: none;
}

.step-container  .price {
  font-size: 14px;
  color: #666;
}

/* .step-container  .add-to-box-custom {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.step-container  .add-to-box:hover {
  background-color: #45a049;
} */

/* Responsive styles */
@media (min-width: 576px) {
  .desbord-view {
    display: none; /* Hide full titles */
}
.Mobile-view {
    display: block; /* Show step numbers */
}
  .step-container  .item-product {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 768px) {
  .step-container  .item-product {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}

@media (min-width: 992px) {
  .step-container  .item-product {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .step-container  .product-title-custom {
    font-size: 18px;
  }

  .step-container  .price {
    font-size: 16px;
  }
}

/* Ensure the parent container uses flexbox for proper alignment */
.step-container  .products-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}
.navigation .buttons button:hover {
    background-color: #B19369;
    /* font-weight: bold; */
    margin: 0;
    color: #333;

}

.navigation .buttons {
    display: flex;
    gap: 10px; /* Add spacing between buttons */
}

.navigation .buttons button {
  background-color: #000000;
  color: #fff;
  border: 1px solid #ddd;
  /* padding: 15px 15px; */
  border-radius: 10px;
  /* font-weight: bold; */
  font-size: 20px;
  width: 120px;
  cursor: pointer;
  font-family: 'Karma' !important;
  transition: background-color 0.3s ease, color 0.3s ease;
  height: 45px;
  padding-bottom: 0 !important;
  text-align: center;
  display: flex
;
  align-items: center;
  justify-content: center;
}


.navigation .total {
  font-size: 18px;
}
.navigation {
  display: flex
  ;
      align-items: center;
      float: right;
      padding: 10px 20px;
      border-radius: 5px;
      width: 100%;
      justify-content: flex-end;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 99;
      background: #B19369;
  }

.navigation .total {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  padding: 0 10px 0 10px;
  color: #333;
}

/* .navigation .buttons {
  display: flex;
  gap: 10px; 
}

.navigation .buttons button {
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
  padding: 10px 15px;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.navigation .buttons button:hover {
  background-color: #B19369; 
  color: #000000; 
  font-weight: bold;
} */

.gift-message-input {
  width: 50%;
  height: 150px;
  resize: none;
  border: 2px solid #B19369;
  border-radius: 10px;
  padding: 20px 0 0 20px;
  outline: none; /* Remove default browser outline */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.gift-message-input:focus {
  border-color: #8A6D3B; /* Darker shade for focus */
  box-shadow: 0 0 8px rgba(177, 147, 105, 0.5); /* Soft glow effect */
  background-color: #FAF5EF; /* Light background */
}

.message-box{
  width: 100%;
  height: 100%;
  margin: 0 auto;
  text-align: center;
}
.product-button .add-to-box {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    width: 100%;
    background-color: #000000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
}

.product-button .add-to-box:hover {
    background-color: #B19369;
    transform: scale(1.05);
}

.product-button .add-to-box:active {
    background-color: #B19369;
    transform: scale(0.95);


}

.quantity-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f3f4f6;
  border-radius: 9999px;
  padding: 0.25rem;
  width: fit-content;
  margin: 0 auto;
}
.fas {
  font-size: 24px;
  color: #333; /* Change color as needed */
  margin-right: 10px;
}
.quantity-selector button {
  background-color: white;
  border: none;
  color: #374151;
  font-weight: bold;
  height: 2rem;
  width: 2rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-selector button:hover {
  background-color: #e5e7eb;
}

.quantity-selector button:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.quantity-selector button:active {
  background-color: #d1d5db;
}

.quantity-selector .quantity-display {
  font-size: 1rem;
  font-weight: bold;
  color: #1f2937;
  margin: 0 0.75rem;
  min-width: 1.5rem;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .quantity-selector {
    padding: 0.125rem;
  }

  .quantity-selector button {
    height: 1.75rem;
    width: 1.75rem;
  }

  .quantity-selector .quantity-display {
    font-size: 0.875rem;
    margin: 0 0.5rem;
  }
}

/* background-color: #fff; */
.step-container  .box-selection {
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
 
}

.step-container  h2 {
    font-size: 24px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.step-container  #selected-products table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.step-container  #selected-products th, 
.step-container  #selected-products td {
    padding: 12px 16px;
    width:100px;
    text-align: left;
    border: 1px solid #ddd;
}

.step-container  #selected-products th {
    background-color: #f9f9f9;
    color: #333;
    font-weight: bold;
}

.step-container  #selected-products td img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.step-container  #selected-products td button.cancel-product {
    background-color: #ff4747;
    color: white;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
}

.step-container  #selected-products td button.cancel-product:hover {
    background-color: #e63946;
}

/* Action button style */
.step-container  .finalize-box {
    display: inline-block;
    background-color: #000000;
    color: white;
    padding: 12px 24px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 20px;
    text-align: center;
    width: 100%;
}

.step-container  .finalize-box:hover {
    background-color: #B19369;
}

/* Responsive styles */
@media (max-width: 768px) {
    .gift-message-input {
    width: 100%;
        
    }
    .step-container  .box-selection {
        padding: 15px;
        margin: 10px;
    }

    .step-container  #selected-products th, 
    .step-container  #selected-products td {
        padding: 10px;
    }

    .step-container  #selected-products td button.cancel-product {
        font-size: 12px;
    }

    .step-container  .finalize-box {
        font-size: 16px;
        padding: 10px 20px;
    }

    .step-container  #selected-products img {
        width: 40px;
        height: 40px;
    }
    .navigation {
         justify-content: space-evenly;
          bottom: 0px;   
  }
}

@media (max-width: 480px) {
     .gift-message-input {
    width: 100%;
        
    }
    .step-container  .box-selection {
        padding: 10px;
    }

    .step-container  #selected-products th, 
    .step-container  #selected-products td {
        padding: 8px;
    }

    .step-container  .finalize-box {
        font-size: 14px;
        padding: 8px 16px;
    }

    .step-container  #selected-products img {
        width: 35px;
        height: 35px;
    }

    .step-container  #selected-products td button.cancel-product {
        font-size: 10px;
        padding: 4px 8px;
    }
}


.error {
  color: #ff0000; /* Red text for error messages */
  background-color: #ffe5e5; /* Light red background */
  border: 1px solid #ff0000; /* Red border */
  padding: 10px;
  margin: 10px 0;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
}
@media (max-width: 768px) {
    #selected-products table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    #selected-products tbody,
    #selected-products thead,
    #selected-products tr,
    #selected-products td,
    #selected-products th {
        display: block;
    }

    #selected-products thead {
        display: none; /* Hide table header */
    }

    #selected-products tr {
        border-bottom: 2px solid #ddd;
        margin-bottom: 10px;
        display: flex;
        flex-wrap: wrap;
        padding: 10px;
    }

    #selected-products td {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: none;
        padding: 5px 10px;
    }

    #selected-products td:first-child {
        justify-content: center;
    }

    #selected-products td img {
        max-width: 50px;
        height: auto;
    }

    .quantity-selector {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .cancel-product {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 5px 0;
    }
}
@media (max-width: 640px) {
  
    #selected-products table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    #selected-products tbody,
    #selected-products thead,
    #selected-products tr,
    #selected-products td,
    #selected-products th {
        display: block;
    }

    #selected-products thead {
        display: none; /* Hide table header */
    }

    #selected-products tr {
        border-bottom: 2px solid #ddd;
        margin-bottom: 10px;
        display: flex;
        flex-wrap: wrap;
        padding: 10px;
    }

    #selected-products td {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: none;
        padding: 5px 10px;
    }

    #selected-products td:first-child {
        justify-content: center;
    }

    #selected-products td img {
        max-width: 50px;
        height: auto;
    }

    .quantity-selector {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .cancel-product {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 5px 0;
    }

}
