#rental_widget .rental-grid {
  display: none;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
  scroll-margin-bottom: 20vh;
}
#rental_widget .rental-card {
  flex: 1 1 calc(50% - 1rem);
  border: 1px solid #ddd;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
}

#rental_widget .rental-card.card-selected {
  border: 2px solid #000000;
  background-color: #f0f0f0;
}

#rental_widget .rental-card h3 {
  margin: 0 0 .5rem;
}
#rental_widget .rental-card p {
  margin: 0 0 .25rem;
  font-weight: bold;
}
#rental_widget .rental-card small {
  colour: #666;
}
#rental_widget .save {
  color: #000000;
}

#rental_widget .same-day-box {
display: none;
border:1px solid #bbb;
padding:24px;
max-width:420px;
margin:24px auto;
font-family:inherit;
text-align: center;
}

#rental_widget .same-day-checkbox-container {
display: flex;
align-items: center;
}

#rental_widget .same-day-checkbox .field__input {
margin-bottom:18px;
text-align:center;
}

#rental_widget .same-day-checkbox .field__input .same-day-box-text {
margin-bottom:12px;
}

#rental_widget .calendar-wrapper {
margin-top: 1rem;
/* flatpickr will inject its calendar here */
}

#rental_widget .calendar-wrapper *,
#rental_widget .same-day-box * {
font-family: var(--font-family-saans), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important
}

/* hide the flatpickr-generated input if it ever appears */
#rental_widget .calendar-wrapper > input { 
  display: none !important; 
}

#rental_widget .flatpickr-calendar {
  margin: 0 auto;
}

/* Greyed-out + crossed-off disabled dates */
#rental_widget .flatpickr-day.weekend-disabled,
#rental_widget .flatpickr-day.weekend-disabled:hover,
#rental_widget .flatpickr-day.initial-disabled,
#rental_widget .flatpickr-day.unavailable-disabled,
#rental_widget .flatpickr-day.today,
#rental_widget .flatpickr-day[aria-disabled="true"] {
  color: rgba(57, 57, 57, 0.3) !important;
  pointer-events: none;
}

#rental_widget .flatpickr-day.initial-disabled,
#rental_widget .flatpickr-day.unavailable-disabled,
#rental_widget .flatpickr-day.today,
#rental_widget .flatpickr-day[aria-disabled="true"] {
  text-decoration: line-through;
}

#rental_widget .rental-summary p {
  margin: 1em 0!important;
  text-align: center!important;
}

#rental_widget button.re__btn {
scroll-margin-bottom: 20vh;
}

#rental_widget button.re__btn[disabled] {
background-color: #ddd;
color: #666;
cursor: not-allowed;
border: none;
}

#rental_widget .rental-size-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#rental_widget .rental-size-wrapper select {
  width: 100%;
  padding: 1em;
  border: 1px solid #ddd;
  background: white;
  font-size: calc(var(--font-heading-scale) * 1.7rem);
}

#rental_widget .rental-size-wrapper select option {
  padding: 0.5rem;
  border: 1px solid #ddd;
}

#rental_widget .rental-size-select {
  text-align:center;
  appearance: none;
}

#rental_widget .rental-size-select option[disabled] {
  color: #000;
}

#rental_widget .flatpickr-rContainer {
  margin: 0 auto!important;
}

#rental_widget .restock-rocket-button-container-float-right{
  display: none!important;
}

#rental_widget .same-day-box input[type="checkbox"] {
  margin-right: 12px!important;
}

#rental_widget .same-day-box input[type="text"] {
  text-align: center!important;
}

#rental_widget #same_day_success {
  display:none;
  color:green;
  font-size:0.8em;
  text-align:center;
  margin:1em 0;
}

#rental_widget #same_day_error {
  display:none;
  color:red;
  font-size:0.8em;
  text-align:center;
  margin:1em 0;
}

#rental_widget #postcode_input {
  display:block;
  width:100%;
  text-align:center;
  margin:0 auto 12px auto;
}

#rental_widget .flatpickr-month * {
font-size: 14px!important;
}

#rental_widget .numInput.cur-year {
text-align: right!important;
}

#rental_widget .flatpickr-day.selected {
  background-color: #000000!important;
  border-color: #000000!important;
}

#rental_widget span.flatpickr-day.selected,
#rental_widget span.flatpickr-day.inRange {
  text-decoration: none!important;
  color: #ffffff!important;  
}

#rental_widget span.flatpickr-day.inRange {
  color: #000000!important;
}

/* Hide the rental pricing table in the product description */
.restock-rocket-button-container-float-right {
  display: none;
}

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