/* Frontend datepicker styles will go here */
#greno-cal-days {
  margin-top:8px;
  margin-bottom:14px;
}
#greno-cal-days div[data-day] {
  background: #fafaff;
  border-radius: 3px;
  text-align: center;
  line-height: 1.7;
  font-size: 15px;
  white-space: pre-line;
  margin-bottom: 2px;
  transition: background 0.12s;
}
#greno-cal-days div[data-day]:hover {
  background: #e9faee;
}
#greno-datepicker-modal {
  display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100vw; height: 100vh;
}
.greno-datepicker-overlay {
  background: rgba(0,0,0,0.16); position: absolute; width:100vw; height:100vh; left:0; top:0;
}
.greno-datepicker-modal-content {
  position: absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  background: #fff; border-radius: 22px; box-shadow: 0 4px 28px rgba(0,0,0,0.12);
  width: 95vw; max-width: 460px; padding: 26px 28px 28px 28px;
  box-sizing: border-box;
}
.greno-datepicker-modal-header {
  display: flex; align-items: flex-start; justify-content: space-between;
}
.greno-datepicker-calendar-title {
  font-size: 2em; font-weight: 700; text-transform: lowercase;
  line-height: 1; color: #222; letter-spacing: 0.02em;
  margin-bottom: 0.15em;
  margin-top: -2px;
}
.greno-datepicker-close {
  background: #FFF !important;
  border: 1px solid #000 !important;
  font-size: 1.5em;
  color: #000 !important; 
  cursor: pointer;
  border-radius: 100% !important;
  width: 44px; height: 44px;
  line-height: 1.05; margin-left:12px;
  display: flex; align-items:center; justify-content:center;
  transition: background .15s, color .12s;
}
.greno-datepicker-close:hover {
  background: #000 !important; color:#FFF !important;
}
.greno-datepicker-calbox-clean input[type=text] {
  display: none!important;
}
#greno-datepicker-modal,
.flatpickr-calendar.inline,
.greno-datepicker-calbox-clean .flatpickr-calendar,
.flatpickr-innerContainer,
.flatpickr-days,
.flatpickr-days .dayContainer,
.greno-datepicker-calbox-clean {
  width: 100%!important;
  min-width: 0;
  max-width: 100%;
}
.flatpickr-calendar.inline {
  box-shadow: none;
  border-radius: 13px;
  border: none;
  font-size: 1.10em;
  margin-bottom: 28px !important;
}
.flatpickr-days .dayContainer {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 0 !important;
  width: 100% !important;
}
.flatpickr-day {
  text-align: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  font-weight: 500;
  font-size: 1.07em;
}
.flatpickr-weekdays, .flatpickr-days {
  width: 100%!important;
  min-width: 0;
  max-width: 100%;
}
.greno-extra-label {
  display: block;
  width: 100%;
  text-align: center;
}
.greno-datepicker-legend-row {
  font-size: 1.13em; margin-bottom:13px; margin-top:-6px; display:flex; align-items:center; gap:12px; color:#233;
}
.greno-dot {
  display:inline-block; width: 13px; height: 13px;
  border-radius:50%; margin-right:7px; vertical-align:middle;
  border: 1.3px solid #e2e2e2;
}
.greno-datepicker-info {
  background:#fcfcfc; border:1.9px solid #e6e6e6; border-radius:17px; font-size:1.03em;
  margin:13px 0 18px 0; padding:15px 13px 13px 15px; color: #232323;
  line-height: 1.47;
}
#greno-datepicker-confirm.button, .greno-datepicker-green-btn {
  margin-top:25px;
  background: #248a43; border: 0; color: #fff; font-weight:bold;
  font-size:1.23em; border-radius: 13px; padding:18px 0; width:100%;
  transition: background 0.18s;
}
#greno-datepicker-confirm.button:active, .greno-datepicker-green-btn:active {
  background:#166c2d;
}
#greno-booking-datepicker-summary {
  width: 100%;
  max-width: 400px;
  margin-top: 24px;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  background: none;
}
#greno-booking-datepicker-summary .greno-summary-box-new2 {
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 700px) {
  #greno-booking-datepicker-summary {max-width: 99vw; margin-top:10px;}
}
.greno-datepicker-btn {
  display: inline-flex; align-items: center; gap: 12px; background: #fff !important; border: 1px solid #d4e1d7 !important;
  border-radius: 14px; padding: 22px 34px; font-size: 1.25em; cursor: pointer; box-shadow: 0 1px 5px 0 rgba(60,60,60,0.07);
  transition: border .15s, box-shadow .12s;
  font-weight: bold; color: #1a1a1a; text-align:center;
  color: #000 !important;
  margin-bottom: 20px;
}
.greno-datepicker-btn:active, .greno-datepicker-btn:hover {
  border-color: #249a42; box-shadow: 0 2px 12px 0 rgba(36,154,66,0.12);
}
.greno-datepicker-btn-icn {
  display:inline-block; vertical-align:middle; line-height:0;}
.greno-datepicker-btn-lbl {
  font-size: 16px;
  font-weight: 400;
  margin-left: 10px;
}
.greno-summary-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1.9px solid #1786f9;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 6px 0 rgba(24,85,171,0.05);
  padding: 13px 18px;
  font-size: 1.05em;
  gap: 15px;
  margin: 9px 0 0 0;
  min-width: 220px;
}
.greno-summary-icn {
  line-height: 0;
  margin-right: 10px;
  display: flex; align-items:center; height: 26px;
}
.greno-summary-box .greno-summary-label {
  color: #7f7f7f;
  font-weight: 600;
  font-size: 1em;
  margin-right: 3px;
  letter-spacing:0.01em;
  line-height: 1.06;
}
.greno-summary-date {
  font-size: 1.08em;
  font-weight: 500;
  color: #232323;
  margin-right: 8px;
}
.greno-summary-box span {line-height:1.12;}
.greno-summary-days {
  color: #a1a1a1;
  font-weight:600;
  font-size: 1em;
  margin-left: 12px;
  letter-spacing: 0.04em;
  min-width: 38px;
  text-align: right;
  opacity: 0.92;
}
.flatpickr-rContainer {
  width: 100%!important;
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 540px) {
  .greno-summary-box {padding: 7px 8px; font-size:0.93em; border-radius: 10px;}
  .greno-summary-icn svg {height:22px;width:22px;}
  .greno-summary-days {font-size:0.95em;margin-left:8px;}
}
.greno-qty-input {
  background: #fff;
  border: 2px solid #e5e5e5;
  border-radius: 10px;
  font-size: 2em;
  min-width: 60px;
  height: 54px;
  text-align: center;
  color: #4d4d4d;
  font-weight: 600;
  box-shadow: none;
  outline: none;
  margin-right: 8px;
}
.greno-add-btn {
  background: #008f46 !important;
  color: #fff !important;
  font-weight: 700 !important;
  border: none;
  font-size: 2.05em;
  min-height: 56px;
  box-shadow: none;
  outline: none;
  padding: 0 34px;
  margin: 0;
  letter-spacing:0.01em;
  transition: background 0.13s, color 0.11s;
  display: inline-block; vertical-align:middle;
}

.qty {
  display: none !important;
}

.greno-add-btn:disabled {
  opacity: 0.6;
  background: #008f46 !important;
  color: #fff !important;
}
@media (max-width: 600px) {
  .greno-add-btn {font-size:1.17em;min-height:40px; border-radius: 10px;}
  .greno-qty-input {height:38px;min-width:34px; font-size:1.1em; border-radius: 7px;}
}
.greno-summary-box-new {
  display: flex;
  align-items: center;
  border-radius: 18px;
  border: 2.5px solid #1786f9;
  background: #fff;
  font-size: 1.09em;
  min-height: 74px;
  padding: 15px 19px 12px 18px;
  margin: 17px 0 0 0;
  gap: 18px;
  box-shadow: none;
}
.greno-summary-icn-col {
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}
.greno-summary-main {
  flex: 0 0 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-right: 9px;
  min-width:86px;
}
.greno-summary-label {
  color: #888;
  font-weight: 700;
  font-size: 1.11em;
  margin-bottom: -2px;
  letter-spacing:0.01em;
}
.greno-summary-dt-big {
  font-size: 1.23em;
  font-weight: 700;
  color: #232323;
}
.greno-summary-dash{
  font-size:1.53em; color:#bbb; margin:0 5px 0 5px; opacity:0.7;
  font-weight:400;
}
.greno-summary-days-col {
  flex: 1 1 2%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
}
.greno-summary-days-label {
  font-size: 1.35em;
  font-weight: 800;
  color: #969696;
  margin-bottom: -2px;
  letter-spacing:0.04em;
}
.greno-summary-days-col .greno-summary-label {
  font-size: 1.03em;
  color: #b4b4b4;
  font-weight: 700;
}
@media (max-width: 600px) {
  .greno-summary-box-new {font-size:.99em;min-height:52px;padding:7px 2vw;border-radius:10px;gap:6px;}
  .greno-summary-main{margin-right:3px;min-width:60px;}
  .greno-summary-icn-col svg {height:22px;width:22px;}
}
.greno-summary-box-new2 {
  display: flex;
  align-items: center;
  border-radius: 12px;
  border: 1px solid #CCC;
  background: #fff;
  min-height: 54px;
  padding: 10px 18px;
  gap: 18px;
  box-shadow: none;
  margin: 14px 0 0 0;
  font-family: inherit;
}
.greno-summary-icn-col2 {
  margin-right: 4px;
  line-height: 0; display: flex; align-items: center;
}
.greno-summary-icn-col2 svg {height:22px;width:22px;}
.greno-summary-center {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex: 1 1 auto;
}
.greno-lbl-grp {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
  min-width: 80px;
}
.greno-summary-label2 {
  color: #131313;
  font-weight: 700; font-size: .95em;
  margin-bottom: 2px;
  letter-spacing: 0.01em;
  line-height: 1.05;
}
.greno-summary-date2 {
  font-size: 14px;
  font-weight: 800;
  margin-top: 1px;
  color: #131313;
  letter-spacing: 0.01em;
  font-family: inherit;
}
.greno-dash2 {
  font-size: 1.3em; color: #bcbcbc;
  margin: 0 6px; opacity: 0.62; font-weight: 400; align-self: flex-end;
}
.greno-summary-days-col2 {
  display: flex; flex-direction: column; align-items: center; min-width: 60px;}
.greno-summary-days-label2 {
  font-size: 1.15em;
  font-weight: 900;
  color: #151515;
  margin-bottom: -4px;
  margin-right:4px;
  letter-spacing: 0.02em;
}
.greno-summary-days-col2 .greno-summary-label2 {
  font-size: .95em;
  color: #131313;
  font-weight: 700;
  margin-bottom: 0;
  margin-right: 4px;
}
@media (max-width: 600px) {
  .greno-summary-box-new2 { font-size: .92em; min-height: 46px; padding: 8px 10px; gap: 8px; }
  .greno-summary-icn-col2 svg {height: 18px; width: 18px;}
  .greno-summary-date2 { font-size: 1em; }
  .greno-summary-days-label2 { font-size: 1.02em; }
  .greno-add-btn {font-size:.98em; min-height:38px;}
  .greno-qty-input {height:36px; min-width:36px; font-size:.98em;}
}
/* Price under datepicker styling */
#greno-booking-datepicker + .price,
#greno-booking-datepicker + .price .woocommerce-Price-amount,
#greno-booking-datepicker + .price .woocommerce-Price-amount bdi,
#greno-booking-datepicker + .price .woocommerce-Price-currencySymbol {
  color: #000 !important;
  font-size: 1.25rem !important;
}

/* Hide add-to-cart button for booking products in shop/archive/related */
.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce-page ul.products li.product .button.add_to_cart_button {
  /* Will be hidden via PHP filter, but CSS backup */
}
.greno-summary-box-new2 { cursor: pointer; }
