* {
    box-sizing: border-box;
}

.variant-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.variant-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    z-index: 1001;
    max-width: 400px;
    width: 90%;
}

.variant-modal-content {
    text-align: center;
}

.option {
    margin: 15px 0;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.variant-button {
    padding: 8px 16px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.variant-button.selected {
    background: #000;
    color: #fff;
}

.available-dates-list {
    margin-top: 10px;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
}

.date-option {
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
    margin: 2px 0;
}

.date-option:hover {
    background: #f0f0f0;
}

.date-option.selected {
    background: #000;
    color: #fff;
}


.notice {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
    font-size: var(--wp--preset--font-size--large);
}
.minimal-product-form {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.minimal-product-form .product-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}
/* 
.minimal-product-form select,
.minimal-product-form input[type="number"],
.minimal-product-form input[type="date"] {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
} */

.minimal-product-form select,
.minimal-product-form input,
.minimal-product-form button {
    background-color: var(--wp--preset--color--base);
    color: var(--wp--preset--color--contrast);
    font-family: var(--wp--preset--font-family--body);
    font-size: var(--wp--preset--font-size--medium);
    font-style: normal;
    font-weight: 400;
    line-height: 1.55;

    padding-top: var(--wp--preset--spacing--10);
    padding-right: var(--wp--preset--spacing--10);
    padding-bottom: var(--wp--preset--spacing--10);
    padding-left: var(--wp--preset--spacing--10);

    max-width: var(--wp--style--global--content-size);

    /* Safari-specific and general vendor prefixes */
    -webkit-appearance: none; /* removes default styles in Safari */
    -moz-appearance: none;
    appearance: none;



    -webkit-box-shadow: var(--wp--preset--shadow--deep);
    box-shadow: var(--wp--preset--shadow--deep);

    width: 100%;

    border: 1px solid #ddd;
    -webkit-border-radius: 4px;
    border-radius: 4px;

    /* Smoothing text rendering in Safari */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Optional: Prevent text selection (if applicable to your design) */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    
}

#loadingDiv {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.064);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-items: center;
    align-items: center;
}

.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    animation: rotate 1s linear infinite;
    margin: auto;
  }
  .loader::before , .loader::after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0px;
    border-radius: 50%;
    border: 5px solid #FFF;
    animation: prixClipFix 2s linear infinite ;
  }
  .loader::after{
    inset: 8px;
    transform: rotate3d(90, 90, 0, 180deg );
    border-color: #FF3D00;
  }

  @keyframes rotate {
    0%   {transform: rotate(0deg)}
    100%   {transform: rotate(360deg)}
  }

  @keyframes prixClipFix {
      0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
      50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
      75%, 100%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
  }

/* Container with relative position to hold the pseudo-element */
.minimal-product-form .select {
    position: relative;
}


/* Chevron as ::after */
.minimal-product-form .select::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    pointer-events: none;
    width: 0.5em;
    height: 0.5em;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-50%) rotate(-45deg);
    -webkit-transform: translateY(-50%) rotate(-45deg);
}

.available-dates-list {
    box-shadow: var(--wp--preset--shadow--deep);
}

.minimal-product-form button,
.minimal-product-form .variant-select-button {
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.minimal-product-form .variations {
    margin-bottom: 15px;
}

/* Hide WooCommerce extras */
.minimal-product-form .woocommerce-variation,
.minimal-product-form .woocommerce-variation-price,
.minimal-product-form .woocommerce-variation-availability,
.minimal-product-form .woocommerce-variation-description,
.minimal-product-form .product_meta,
.minimal-product-form .price {
    display: none !important;
}

.city-settings {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.weekdays {
    margin-top: 10px;
}

.weekday {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px 5px 0;
    border-radius: 3px;
}

.weekday.active {
    background: #2271b1;
    color: white;
}

.weekday.inactive {
    background: #f0f0f0;
    color: #666;
}

.required-hidden-field {
    opacity: 0;
  width: 0;
  float: left;
  pointer-events: none;
}

.minimal-product-form {
    padding-bottom: 3rem;
}

@media print {

    #adminmenumain,
    #wpadminbar,
    .no-print,
    #wpfooter {
        display: none !important;
    }

    #wpcontent {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    table {
        border-collapse: collapse;
        width: 100%;
    }

    th,
    td {
        border: 1px solid #000;
        padding: 8px;
    }
}