/**
Theme Name: Hemli child
Author: Helgi Øster
Author URI: https://www.helgi.fo
Description: Eitt child tema til Helmi
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hemli-child
Template: astra
*/


.wc-bookings-availability-header .wc-bookings-availability-date {
    color: #000000;
    margin-bottom: 20px;
  }
  
  a.wc-bookings-availability-navigation-current {
    color: #000;
  }
  
  .wp-block-woocommerce-bookings-availability-calendar-block {
    border: 2px solid #347433;
    padding: 20px 20px;
    border-radius: 20px;
    background: #fff;
  }
  
  .wc-bookings-availability-calendar-day-item-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #347433;
  }
  
  .wc-bookings-availability-calendar-day-item-price {
    font-size: 1.2rem;
    font-weight: 600;
  }
  
  .wc-bookings-availability-calendar-day {
    border: solid rgba(52, 116, 51, 0.25);
    border-width: 0 1px 0 0;
  }
  
  .wc-bookings-availability-calendar .wc-bookings-availability-cal-date {
    border-color: rgba(52, 116, 51, 0.25);
  }
  
  .wc-bookings-availability-book-button {
    background: #347433;
  }
  
  body.single-product .wp-block-post-title {
    font-size: 2.5rem;
    font-weight: 600;
  }
  body.single-product .wp-block-woocommerce-product-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #347433;
    margin-top: 0.75rem;
  }
  
  body.product-type-booking .wc-block-add-to-cart-form {
    margin-top: 0rem;
  }
  body.product-type-booking .wc-bookings-booking-form {
    border: none;
    margin: 0 0 1em;
    padding: 1rem 0rem;
    max-width: 500px;
  }
  body.product-type-booking .wc-bookings-booking-form > p.form-field-wide {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  }
  body.product-type-booking .wc-bookings-booking-form > p.form-field-wide label {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 1rem 0 0;
  }
  body.product-type-booking .wc-bookings-booking-form > p.form-field-wide input {
    width: 100%;
    max-width: 60px;
    height: 34px;
    border: 1px solid;
    border-radius: 5px;
    padding: 5px 10px;
  }
  body.product-type-booking .wc-bookings-booking-form > p.form-field-wide .person-controls {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    max-width: fit-content;
  }
  body.product-type-booking .wc-bookings-booking-form > p.form-field-wide .person-controls input {
    border: none;
    border-radius: 0;
    text-align: center;
    padding: 8px 12px;
    width: 60px;
    height: 40px;
    background: #fff;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    -moz-appearance: textfield;
  }
  body.product-type-booking .wc-bookings-booking-form > p.form-field-wide .person-controls input::-webkit-outer-spin-button, body.product-type-booking .wc-bookings-booking-form > p.form-field-wide .person-controls input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  body.product-type-booking .wc-bookings-booking-form > p.form-field-wide .person-controls input:focus {
    outline: none;
    background: #f8f9fa;
  }
  body.product-type-booking .wc-bookings-booking-form > p.form-field-wide .person-controls .person-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--ast-global-color-0, #347433);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    line-height: 1;
    user-select: none;
  }
  body.product-type-booking .wc-bookings-booking-form > p.form-field-wide .person-controls .person-btn:hover {
    background: #2d5f2b;
  }
  body.product-type-booking .wc-bookings-booking-form > p.form-field-wide .person-controls .person-btn:active {
    background: #245220;
    transform: scale(0.98);
  }
  body.product-type-booking .wc-bookings-booking-form > p.form-field-wide .person-controls .person-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
  }
  body.product-type-booking .wc-bookings-booking-form > p.form-field-wide .person-controls .person-btn:disabled:hover {
    background: #ccc;
    transform: none;
  }
  body.product-type-booking .wc-bookings-booking-form > p.form-field-wide .person-controls .person-btn.person-minus {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }
  body.product-type-booking .wc-bookings-booking-form > p.form-field-wide .person-controls .person-btn.person-plus {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }
  body.product-type-booking .wc-bookings-booking-form .wc-bookings-date-picker {
    padding: 0;
    border: none;
  }
  body.product-type-booking .wc-bookings-booking-form .wc-bookings-date-picker .ui-datepicker-header {
    background: var(--ast-global-color-0) !important;
    color: #fff;
  }
  body.product-type-booking .wc-bookings-booking-form .wc-bookings-date-picker .ui-datepicker-header .ui-datepicker-prev,
  body.product-type-booking .wc-bookings-booking-form .wc-bookings-date-picker .ui-datepicker-header .ui-datepicker-next {
    color: #fff;
    background-color: transparent;
    top: 0;
  }
  body.product-type-booking .wc-bookings-booking-form .wc-bookings-date-picker .ui-datepicker-header .ui-icon.ui-icon-circle-triangle-w,
  body.product-type-booking .wc-bookings-booking-form .wc-bookings-date-picker .ui-datepicker-header .ui-icon.ui-icon-circle-triangle-e {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.75rem;
    width: 30px;
    height: 100%;
    background: none;
    margin-top: 0px;
    top: 0px;
  }
  body.product-type-booking .wc-bookings-booking-form .wc-bookings-date-picker .ui-datepicker-header .ui-icon.ui-icon-circle-triangle-w::before,
  body.product-type-booking .wc-bookings-booking-form .wc-bookings-date-picker .ui-datepicker-header .ui-icon.ui-icon-circle-triangle-e::before {
    position: absolute;
    content: "";
    top: calc(50% - 6px);
    right: 12px;
    width: 10px;
    height: 10px;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    transform: rotate(45deg);
  }
  body.product-type-booking .wc-bookings-booking-form .wc-bookings-date-picker .ui-datepicker-header .ui-icon.ui-icon-circle-triangle-w {
    transform: rotate(180deg);
  }
  body.product-type-booking .wc-bookings-booking-form .wc-bookings-date-picker p.wc-bookings-date-picker-timezone-block {
    display: none;
  }
  body.product-type-booking .wc-bookings-booking-form .wc-bookings-date-picker .ui-datepicker tr td a {
    padding: 0.5rem 0;
  }
  body.product-type-booking .wc-bookings-booking-form .wc-bookings-date-picker .ui-datepicker tr td span {
    padding: 0.5rem 0;
  }
  body.product-type-booking .wc-bookings-booking-form .wc-bookings-date-picker .ui-datepicker tr td.bookable a {
    background-color: var(--ast-global-color-0) !important;
    padding: 0.5rem 0;
  }
  body.product-type-booking .wc-bookings-booking-form .wc-bookings-date-picker .ui-datepicker tr td.bookable-range a {
    background-color: var(--wp--preset--color--yellow) !important;
    color: var(--wp--preset--color--dark-red);
  }
  body.product-type-booking button.wc-bookings-booking-form-button.single_add_to_cart_button {
    background: var(--ast-global-color-0) !important;
    font-size: 1.125rem;
    padding: 0.75rem 2rem;
    border: none;
    color: #fff;
    font-weight: 500;
  }
  body.product-type-booking .wp-block-woocommerce-accordion-item .accordion-item__heading {
    color: inherit;
    margin: 0;
    padding: 0 1rem;
    background: var(--wp--preset--color--yellow) !important;
  }
  body.product-type-booking .wp-block-woocommerce-accordion-panel {
    background: var(--color-orange-50);
  }
  body.product-type-booking .wp-block-woocommerce-accordion-panel .accordion-content__wrapper {
    padding: 1rem;
  }
  
  .wc-block-product-gallery {
    gap: 0.75rem !important;
  }
  
  .wc-block-product-gallery-large-image {
    aspect-ratio: 16/9;
  }
  .wc-block-product-gallery-large-image .wc-block-product-gallery-large-image__container {
    aspect-ratio: 16/9;
  }