/**
 * Theme Name: smöoy-astra
 * Template:   astra
 * Version:    1.0.0
 * Author:     dev@gosgconsulting.com
 */

/* START - Grid Store */
.ex-fdgrid.ex-food-plug.style-4 .exfd-filter {
  display: none;
}

.ex-fdgrid.ex-food-plug.style-4 .parent_grid .ctgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 465px));
  gap: 2rem;
}

.ex-fdgrid.ex-food-plug.style-4 .item-grid {
  border-radius: 1rem;
  overflow: hidden;
  border-bottom-width: 0;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
}

.ex-fdgrid.ex-food-plug.style-4 .exstyle-4 .exstyle-4-image img {
  height: 350px;
}

.ex-fdgrid.style-4 .exstyle-4 figcaption {
  padding-top: 1rem;
  padding-bottom: 65px;
  border-top-width: 0;
}

.ex-fdgrid.style-4 .exstyle-4 figcaption h3 {
  margin-bottom: 0.75rem;
}

.ex-fdgrid.style-4 .exstyle-4 figcaption h5 {
  padding: 0;
  font-size: 2rem;
  color: rgb(16, 16, 16);
  background: none;
}

.ex-fdgrid.style-4 .exstyle-4 figcaption .exwf-shdes {
  font-size: 1rem;
  color: var(--ast-global-color-1);
}

.ex-fdgrid.style-4 .exstyle-4 figcaption .exstyle-4-button.exfd-choice {
  width: 50px;
  height: 50px;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--ast-global-color-0);
}

.ex-fdgrid.style-4 .exstyle-4 .exfd-icon-plus {
  width: 28px;
  height: 28px;
}

.ex-fdgrid.style-4 .exstyle-4 .exfd-icon-plus:before {
  height: 28px;
  top: 0px;
  left: 12px;
  background: var(--ast-global-color-5);
}

.ex-fdgrid.style-4 .exstyle-4 .exfd-icon-plus:after {
  width: 28px;
  top: 12px;
  left: 0px;
  background: var(--ast-global-color-5);
}

@media only screen and (max-width: 1024px) {
  .ex-fdgrid.ex-food-plug.style-4 .parent_grid .ctgrid {
    grid-template-columns: repeat(2, minmax(0, 465px));
    gap: 2rem;
  }
  .ex-fdgrid.ex-food-plug.style-4 .exstyle-4 .exstyle-4-image img {
    height: 300px;
  }
}

@media only screen and (max-width: 768px) {
  .ex-fdgrid.ex-food-plug.style-4 .parent_grid .ctgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media only screen and (max-width: 480px) {
  .ex-fdgrid.ex-food-plug.style-4 .parent_grid .ctgrid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .ex-fdgrid.ex-food-plug.style-4 .exstyle-4 .exstyle-4-image img {
    height: 280px;
  }
}
/* END - Grid Store */

section.gosg-delivery-pickup-form {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px 35px;
  background-color: #ffa7d7;
  border-radius: 10px;
  width: 100%;
}

section.gosg-delivery-pickup-form div a {
  text-decoration: none;
}
section.gosg-delivery-pickup-form div img{
	width: 25px;
	height: 25px;
	object-fit: contain;
}
section.gosg-delivery-pickup-form div img.gosg-arrow{
	width: 15px;
}

section.gosg-delivery-pickup-form div img.gosg-cart{
	height: 40px;
}
section.gosg-delivery-pickup-form div.gosg-delivery-pickup-time-selection
{
	display: none;
}

section.gosg-delivery-pickup-form div.gosg-delivery-pickup-selection,
section.gosg-delivery-pickup-form div.gosg-delivery-pickup-time-selection.enabled {
  display: flex;
  align-items: center;
  max-width: max-content;
  background-color: #ffffff;
}

section.gosg-delivery-pickup-form div.gosg-delivery-pickup-selection span,
section.gosg-delivery-pickup-form div.gosg-delivery-pickup-time-selection.enabled span {
  max-width: max-content;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  font-weight: 500;
}

section.gosg-delivery-pickup-form div.gosg-cart-checkout {
  background-color: #e6007f;
  color: #fff;
  min-width: 110px;
  max-width: max-content;
  border-radius: 50px;
}

section.gosg-delivery-pickup-form div.gosg-cart-checkout a {
  color: #fff !important;
  text-decoration: none !important;
}

section.gosg-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent black */
  visibility: hidden; /* Hide by default */
  opacity: 0;
  z-index: 999; /* Behind the popup */
  transition: opacity 300ms ease-in-out;
}

section.gosg-popup-overlay.active {
  visibility: visible;
  opacity: 1;
}

section.gosg-popup {
  position: fixed;
  top: 14%;
  left: 50%;
  width: 700px;
  height: 70vh;
  padding: 20px 40px;
  background: #ffa7d7;
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 1000;
  border-radius: 20px;
  overflow-y: auto;
  transform: translateX(-50%);
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

section.gosg-popup::-webkit-scrollbar {
    display: none;
}

section.gosg-popup.active {
  visibility: visible;
  opacity: 1;
}

section.gosg-popup div.gosg-close-popup {
  display: flex;
  justify-content: flex-end;
}

section.gosg-popup p {
  border-radius: 50%;
  cursor: pointer;
  width: max-content;
  padding: 5px 12px;
  margin: 0;
}

section.gosg-popup p:hover {
  background-color: #ffffff;
  color: #000000;
  transition: 500ms;
}

section.gosg-popup section.gosg-delivery-pickup-tab {
  display: flex;
  padding: 0px 10px;
}

section.gosg-popup section.gosg-delivery-pickup-tab h4 {
  width: 100%;
  text-align: center;
  color: #c6a8b8 !important;
  border-bottom: 3px solid #c6a8b8;
  padding-bottom: 20px;
  cursor: pointer;
}

section.gosg-popup section.gosg-delivery-pickup-tab h4.current {
  color: #000000 !important;
  border-bottom: 3px solid #e6007f;
}

section.gosg-popup section#gosg-pickup-tab-content,
section.gosg-popup section#gosg-delivery-tab-content {
  display: none;
}

section.gosg-popup section#gosg-delivery-tab-content.current,
section.gosg-popup section#gosg-pickup-tab-content.current {
  display: block;
}

section.gosg-popup section.gosg-delivery-selection form.gosg-delivery-form,
section.gosg-popup section.gosg-pickup-selection form.gosg-pickup-form {
  min-height: 200px;
  max-height: 400px; /* Limit the height to make it scrollable */
  overflow-y: auto; /* Enable vertical scrolling */
}
section.gosg-popup h3.gosg-popup-title {
  text-transform: uppercase;
  color: #000000 !important;
  text-align: center;
  font-size: 1.75rem;
}
section.gosg-popup
  section.gosg-delivery-selection
  form.gosg-delivery-form
  label {
  margin-bottom: 10px;
}

section.gosg-popup
  section.gosg-delivery-selection
  form.gosg-delivery-form
  div.input-group {
  display: flex;
  gap: 5px;
}
section.gosg-popup
  section.gosg-delivery-selection
  form.gosg-delivery-form
  div.input-group
  input {
  width: 50%;
}
section.gosg-popup form.gosg-pickup-form{
	margin-bottom: 20px; 
}
section.gosg-popup section.gosg-delivery-selection input,
section.gosg-popup form.gosg-delivery-date-time-form input,
section.gosg-popup form.gosg-delivery-date-time-form select{
  width: 100%;
  border-radius: 10px !important;
  margin-bottom: 20px;
  font-family: "Raleway";
}

section.gosg-popup form.gosg-delivery-date-time-form input[type='date']{
	padding: 12px;
	height: 50px;
}

section.gosg-popup section.gosg-delivery-selection input.error {
  border: 2px solid red;
}

/* General styling for all pickup locations */
section.gosg-popup section.gosg-pickup-selection div.gosg-pickup-location {
  display: flex;
  align-items: center;
  border: 2px solid #e6007f;
  border-bottom-width: 0px;
  padding: 15px 20px;
}

section.gosg-popup section.gosg-pickup-selection div.gosg-pickup-location:last-child {
  border-bottom-width: 2px;
}

section.gosg-popup
  section.gosg-pickup-selection
  div.gosg-pickup-location
  input[type="radio"] {
  appearance: none; /* Removes default radio button styles */
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 20px; /* Set the size of the radio button */
  height: 20px;
  margin: 0; /* Remove extra spacing around the radio button */

  border: 2px solid #e6007f; /* Border color */
  border-radius: 50%; /* Makes the radio button circular */

  outline: none; /* Removes the outline */
  cursor: pointer; /* Changes cursor to pointer when hovering */
  transition: all 0.3s ease; /* Smooth transition for hover effect */
}

section.gosg-popup
  section.gosg-pickup-selection
  div.gosg-pickup-location
  input[type="radio"]:checked {
  background-color: #e6007f; /* Fill color when checked */
  border-color: #e6007f; /* Border color changes when checked */
}

section.gosg-popup
  section.gosg-pickup-selection
  div.gosg-pickup-location
  input[type="radio"]:hover {
  box-shadow: 0 0 5px rgba(230, 0, 127, 0.5); /* Adds glow effect on hover */
}

section.gosg-popup
  section.gosg-pickup-selection
  div.gosg-pickup-location
  label {
  margin-left: 20px;
}

section.gosg-popup section.gosg-error {
  display: none;
}

section.gosg-popup section.gosg-error.enabled {
  display: flex;
  justify-content: center;
  margin: 20px 0px;
}

section.gosg-popup span.error {
  color: red;
  font-weight: 700;
}
section.gosg-popup section.gosg-popup-footer {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 40px;
  margin-bottom: 20px;
}

section.gosg-popup section.gosg-popup-footer button[type="reset"] {
  background-color: #fff !important;
  color: #e6007f !important;
}

section.gosg-popup section.gosg-popup-footer button[type="button"] {
  color: #ffffff !important;
}

section.gosg-popup section.gosg-popup-footer button[type="reset"]:hover {
  background-color: #e6007f !important;
  color: #ffffff !important;
  transition: 300ms ease-in-out;
}

section.gosg-popup section.gosg-popup-footer button[type="button"]:hover {
  background-color: #fff !important;
  color: #e6007f !important;
  transition: 300ms ease-in-out;
}

section.gosg-delivery-date-time h3 {
  color: #000000 !important;
  font-weight: 600 !important;
}

section.gosg-delivery-date-time form.gosg-delivery-date-time-form {
  display: flex;
  flex-direction: column;
}

section.gosg-delivery-date-time form.gosg-delivery-date-time-form input,
section.gosg-delivery-date-time form.gosg-delivery-date-time-form select {
  width: 100%;
}

section.gosg-delivery-date-time
  form.gosg-delivery-date-time-form
  input[type="date"] {
  height: 50px !important;
  border-radius: 10px !important;
  margin-bottom: 20px;
  padding: 0px 10px;
}

@media only screen and (max-width: 768px) {
  section.gosg-delivery-pickup-form {
    flex-direction: column;
    gap: 20px;
  }
  section.gosg-popup {
    max-width: 90dvw;
  }
}

