.storegister-mini-store {
  margin: auto;
  width: calc(100% - 4rem) !important;
  max-width: calc(100% - 4rem) !important;
  margin: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-family: "Poppins-Regular", sans-serif !important;
}

.storegister-compact-view {
  max-width: 1280px !important;
  /* Set your maximum content width */
  margin-left: auto !important;
  margin-right: auto !important;
  /* Center the content */
}

.google-rating-star {
  display: inline-block;
  font-size: 24px;
}

.star {
  color: #FFD700;
}

.half-star {
  color: #f2e8b0;
}

.outlined-star {
  color: #DDD;
}

@media only screen and (max-width: 767px) {
  .storegister-mini-store {
    width: 100% !important;
  }

  .light-margin {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 0.5rem;
  }
}

/* Full-page spinner overlay */
.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(128, 128, 128, 0.5);
  /* Grey background with transparency */
  display: none;
  /* Hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 9999;
  /* Ensure it's on top of everything */
  backdrop-filter: blur(5px);
  /* Apply background blur */
}

/* Spinner animation */
/* .spinner {
  width: 50px;
  height: 50px;
  border: 6px solid #f3f3f3; 
  border-top: 6px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
} */

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

.spinner-image {
  width: 250px;
  /* Adjust the size as needed */
  height: 250px;
}

/* Keyframes for the spinner rotation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes action-btn-shrink-animation {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0.9);
  }
}

@keyframes action-btn-expand-animation {
  0% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes hide-keyframe {
  0% {
    max-height: 1000px;
    opacity: 1;
  }

  100% {
    max-height: 0;
    opacity: 0;
  }
}

@keyframes show-keyframe {
  0% {
    max-height: 0;
    opacity: 0;
  }

  100% {
    max-height: 1000px;
    opacity: 1;
  }
}

.expand-pannel {
  animation: show-keyframe 1s forwards;
  overflow: hidden;
}

.collapse-pannel {
  animation: hide-keyframe 1s forwards;
  overflow: hidden;
}

/* Blur the background content while the spinner is active */
.spinner-overlay.active+body {
  filter: blur(5px);
  /* Apply a blur effect */
}

sup {
  top: 0.2rem !important;
}

/* Container for the checkbox and label */
.custom-checkbox-container {
  display: flex;
  align-items: flex-start;
  /* Align checkbox and label text at the top */
  gap: 10px;
  /* Add space between checkbox and text */
}

/* Hide the default checkbox */
.custom-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
}

/* Custom checkbox label */
.custom-checkbox-label {
  position: relative;
  padding-left: 45px;
  /* Make space for the checkbox */
  line-height: 1.5rem;
  /* For better text readability */
  cursor: pointer;
}

/* Custom checkbox box */
.custom-checkbox-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background-color: #fff;
  border: 2px solid #666;
  border-radius: 3px;
  transition: background-color 0.3s, border-color 0.3s;
  display: inline-block;
  box-sizing: border-box;
}

/* Add a checkmark (tick) using a background image when checked */
.custom-checkbox:checked+.custom-checkbox-label::before {
  background-color: whitesmoke;
  border-color: #666;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check"><polyline points="20 6 9 17 4 12"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

/* Focus outline for accessibility */
.custom-checkbox:focus+.custom-checkbox-label::before {
  outline: 2px solid #666;
  outline-offset: 2px;
}


/* Style for the calculator modal (hidden by default) */
.calculator-modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1000;
  /* Sit on top */
  left: 0;
  width: 100%;
  /* Full width */
  max-width: 100% !important;
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.5);
  /* Black background with opacity */
  justify-content: center;
  /* align-items: center; */
  margin: 0 !important;
  top: 0;
}

/* Modal content box */
.calculator-modal-content {
  background-color: white;
  padding: 0 1rem;
  border-radius: 10px;
  width: 80%;
  /* Adjust width */
  max-width: 1000px;
  text-align: center;
  position: relative;
  /* For close button positioning */
}

/* Close button */
.calculator-close {
  color: #aaa;
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 3rem;
  cursor: pointer;
  z-index: 10000000;
}

.calculator-close:hover,
.calculator-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Modal body (Separate div for content) */
.calculator-modal-body {
  margin-top: 40px;
  /* Space for the close button */
}


/* Modal styling */
.google-map-modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Black background with opacity */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 !important;
}

.google-map-modal-content {
  background-color: #fff;
  width: 100%;
  height: 100%;
  position: relative;
}

/* Button to close the modal */

/* Close button */
.close-modal-btn {
  color: #aaa;
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 3rem;
  font-weight: bold;
}

.close-modal-btn:hover,
.close-modal-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.desktop-address-container {
  display: flex;
  visibility: visible;
}

.mobile-address-container {
  display: none;
  visibility: collapse;
}

@media only screen and (max-width: 767px) {

  .desktop-address-container {
    display: none;
    visibility: collapse;
  }
  
  .mobile-address-container {
    display: flex;
    visibility: visible;
  }

  .calculator-close {
    z-index: 1000;
  }

  .calculator-modal {
    top: 0;
  }

  /* Modal content box */
  .calculator-modal-content {
    width: 100%;
    height: 100%;
  }

}
