/**
 * Product Fields Styles
 */

/* Hide shortcode postcode form on product pages */
.single-product .shbs-postcode-wrapper {
    display: none !important;
}

/* Hide datepicker input – kept in DOM for jQuery UI */
.shbs-datepicker {
    opacity: 0;
    pointer-events: none;
    height: 0;
    padding: 0;
    margin: 0;
    border: 0;
    position: absolute;
}

.ui-datepicker-trigger {
    display: none !important;
}

/* Datepicker colour overrides */
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
    width: 45%;
    color: white;
}

.ui-datepicker .ui-datepicker-title select {
    font-size: 1em;
    margin: 0;
    border: 0;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
    border: 1px solid #8DC63F !important;
    background: #8DC63F !important;
    font-weight: normal;
    color: #ffffff;
}

/* ============================================
   POSTCODE INDICATOR BAR (full-width under nav)
   ============================================ */
.shbs-postcode-indicator {
    width: 100%;
    background: #E7F5E9;
    box-sizing: border-box;
}

.shbs-postcode-indicator-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: var(--e-container-max-width, 1200px);
    margin: 0 auto;
    padding: 10px 24px;
    color: #013426;
    font-size: 14px;
    font-weight: 500;
    box-sizing: border-box;
}

.shbs-postcode-indicator svg {
    color: #8DC63F;
    flex-shrink: 0;
}

.shbs-change-postcode-link {
    margin-left: auto;
    font-size: 14px;
    color: #013426;
    text-decoration: underline;
    font-weight: 500;
}

.shbs-change-postcode-link:hover {
    color: #8DC63F;
}

/* ============================================
   MAIN FORM CONTAINER
   ============================================ */
.shbs-custom-fields {
    background: #ffffff;
    border: 1.5px solid #dde0cc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

.shbs-field-group {
    margin-bottom: 16px;
}

.shbs-field-group:last-child {
    margin-bottom: 0;
}

.shbs-field-group.error-field {
    background: #fff5f5;
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid #d63638;
}

.shbs-field-label {
    display: block;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
    color: #1a1a1a;
}

/* ============================================
   POSTCODE INPUT (no postcode state)
   ============================================ */
.shbs-postcode-required-notice {
    margin-bottom: 0;
}

.shbs-postcode-input-wrapper {
    display: flex;
    width: 100%;
    gap: 8px;
}

.shbs-postcode-input-wrapper .shbs-postcode-input {
    flex: 1;
    padding: 11px 14px;
    border: 1.5px solid #dde0cc;
    border-radius: 8px;
    font-size: 15px;
    background: white;
    text-transform: uppercase;
    color: #1a1a1a;
}

.shbs-postcode-input-wrapper .shbs-postcode-input:focus {
    outline: none;
    border-color: #8DC63F;
}

.shbs-postcode-input-wrapper .shbs-postcode-input::placeholder {
    text-transform: none;
    color: #999;
}

.shbs-check-postcode-btn {
    padding: 11px 20px;
    background: #013426;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.shbs-check-postcode-btn:hover {
    background: #0f712c;
}

.shbs-check-postcode-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.shbs-postcode-message {
    margin-top: 8px;
    font-size: 14px;
}

.shbs-postcode-message .error {
    color: #d63638;
}

/* ============================================
   DELIVERY DATE FIELD
   ============================================ */
.shbs-date-display-wrapper {
    background: #f4f7ef;
    border: 1.5px solid #8DC63F;
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.shbs-date-display-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.shbs-selected-date {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shbs-checkmark-icon {
    color: #8DC63F;
    flex-shrink: 0;
}

.shbs-date-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.shbs-date-value {
    font-size: 17px;
    font-weight: 600;
    color: #013426;
    line-height: 1.2;
}

.shbs-date-label {
    font-size: 12px;
    color: #8DC63F;
    font-weight: 500;
    position: absolute;
    top: 12px;
    right: 80px;
}

.shbs-change-date-btn {
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: #013426;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    flex-shrink: 0;
}

.shbs-change-date-btn:hover {
    color: #8DC63F;
}

/* ============================================
   AM DELIVERY CHECKBOX
   ============================================ */
.shbs-am-delivery-checkbox-wrapper {
    padding-left: 30px; /* Align with date text */
}

.shbs-am-delivery-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.shbs-am-delivery-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
    accent-color: #10712c;
}

.shbs-am-delivery-label {
    font-size: 14px;
    color: #013426;
    font-weight: 500;
}

.shbs-am-delivery-price {
    color: #64748b;
    margin-left: 6px;
}

/* ============================================
   HIRE PERIOD PILL BUTTONS
   ============================================ */
.shbs-pill-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shbs-pill-buttons input[type="radio"] {
    display: none;
}

.shbs-pill-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 16px;
    background: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s, color 0.2s;
    flex: 1;
    text-align: center;
}

.shbs-pill-button:hover {
    background: #f4f7ef;
}

.shbs-pill-weeks {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}

.shbs-pill-cost {
    font-size: 12px;
    color: #6b6b6b;
    line-height: 1.3;
    margin-top: 2px;
}

/* Selected state - green background with white text */
.shbs-pill-buttons input[type="radio"]:checked + .shbs-pill-button {
    background: #10712c;
}

.shbs-pill-buttons input[type="radio"]:checked + .shbs-pill-button .shbs-pill-weeks {
    color: #ffffff;
}

.shbs-pill-buttons input[type="radio"]:checked + .shbs-pill-button .shbs-pill-cost {
    color: #ffffff;
    font-weight: 600;
}

/* ============================================
   TOOLTIP
   ============================================ */
.shbs-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #013426;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    cursor: help;
    flex-shrink: 0;
}

.shbs-tooltip:hover {
    background: #8DC63F;
}

.shbs-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #013426;
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: normal;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1000;
    max-width: 280px;
    width: max-content;
    text-align: left;
    line-height: 1.5;
}

.shbs-tooltip::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #013426;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1000;
}

.shbs-tooltip:hover::after,
.shbs-tooltip:hover::before {
    opacity: 1;
}

/* ============================================
   TOGGLE SWITCH (On-Road Permit)
   ============================================ */
.shbs-toggle-field {
    margin-bottom: 16px;
}

.shbs-toggle-wrapper {
    border: 1.5px solid #dde0cc;
    border-radius: 8px;
    padding: 12px 14px;
    background: #ffffff;
}

.shbs-toggle-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.shbs-toggle-label-wrapper {
    flex: 1;
}

.shbs-toggle-field .shbs-field-label {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 3px;
}

.shbs-toggle-description {
    font-size: 13px;
    color: #6b6b6b;
    margin: 0;
    line-height: 1.4;
}

/* Toggle Switch */
.shbs-toggle-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
}

.shbs-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.shbs-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.25s;
    border-radius: 26px;
}

.shbs-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.25s;
    border-radius: 50%;
}

input:checked + .shbs-toggle-slider {
    background-color: #8DC63F;
}

input:checked + .shbs-toggle-slider:before {
    transform: translateX(20px);
}

/* ============================================
   MINIMAL CHECKBOX (Waste Restrictions)
   ============================================ */
.shbs-minimal-checkbox-field {
    margin-bottom: 16px;
}

.shbs-minimal-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.shbs-minimal-checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #10712c;
}

.shbs-minimal-checkbox-text {
    font-size: 14px;
    color: #6b6b6b;
    line-height: 1.5;
}

.shbs-restrictions-link {
    color: #F78F20;
    text-decoration: underline;
    font-weight: 500;
}

.shbs-restrictions-link:hover {
    color: #cc6f00;
}

/* ============================================
   PRICE SUMMARY
   ============================================ */
.shbs-price-summary {
    background: #f4f7ef;
    border-radius: 8px;
    padding: 14px 16px;
    margin-top: 16px;
}

.shbs-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}

.shbs-price-row:last-child {
    margin-bottom: 0;
}

.shbs-price-label {
    font-size: 14px;
    color: #444;
    line-height: 1.4;
}

.shbs-price-value {
    font-size: 14px;
    color: #444;
    white-space: nowrap;
    text-align: right;
}

.shbs-price-ex {
    color: #444;
}

.shbs-price-base-row .shbs-price-label {
    font-weight: 500;
}

.shbs-price-divider {
    border-top: 1px solid #dde8cc;
    margin: 8px 0;
}

.shbs-price-addon-row {
    font-size: 14px;
}

.shbs-price-addon-row .shbs-price-label {
    color: #666;
}

.shbs-price-addon-row .shbs-price-value {
    color: #666;
}

.shbs-price-vat-row .shbs-price-value {
    color: #8DC63F;
}

.shbs-price-vat-row .shbs-price-label {
    color: #8DC63F;
}

.shbs-price-total-row {
    border-top: 1px solid #dde8cc;
    padding-top: 8px;
    margin-top: 4px;
}

.shbs-price-total-label {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.shbs-price-total {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

/* ============================================
   ADD TO CART BUTTON (inside .shbs-custom-fields)
   ============================================ */
.shbs-add-to-cart-wrapper {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #dde0cc;
}

.shbs-add-to-cart-wrapper .single_add_to_cart_button {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
}

/* ============================================
   STICKY "READY TO BOOK?" BAR
   ============================================ */
.shbs-sticky-cta {
    position: relative;
    background: #013426;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.20);
    display: none;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    margin-bottom: 0;
}

.shbs-sticky-cta.is-visible {
    display: block;
}

.shbs-sticky-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--e-container-max-width, 1200px);
    margin: 0 auto;
    padding: 14px 24px;
    gap: 16px;
}

.shbs-sticky-cta-label {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.shbs-sticky-cta-btn {
    background: #F78F20;
    color: #ffffff;
    border: none;
    border-radius: 100px;
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    line-height: 1;
}

.shbs-sticky-cta-btn:hover {
    background: #d9790d;
}

@media (max-width: 480px) {
    .shbs-sticky-cta-inner { padding: 12px 16px; }
    .shbs-sticky-cta-label { font-size: 17px; }
    .shbs-sticky-cta-btn { padding: 12px 20px; font-size: 15px; }
}

/* ============================================
   TRUST TEXT (below add to cart button)
   ============================================ */
.shbs-cart-trust-text {
    font-size: 13px;
    color: #888;
    text-align: center;
    margin: 10px 0 0 0;
    line-height: 1.5;
}

/* ============================================
   VALIDATION MODAL
   ============================================ */
.shbs-validation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.shbs-validation-modal.active {
    opacity: 1;
    visibility: visible;
}

.shbs-validation-modal .shbs-error-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.shbs-validation-modal .shbs-error-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 16px;
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: shbsModalSlideIn 0.3s ease;
}

@keyframes shbsModalSlideIn {
    from { transform: translate(-50%, -60%); opacity: 0; }
    to   { transform: translate(-50%, -50%); opacity: 1; }
}

.shbs-validation-modal .shbs-error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: #fff3cd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #856404;
    font-weight: 600;
}

.shbs-validation-modal .shbs-error-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.shbs-validation-modal .shbs-error-message {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.shbs-error-list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
    text-align: left;
}

.shbs-error-list li {
    padding: 12px 20px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-left: 3px solid #F78F20;
    border-radius: 4px;
    font-size: 15px;
    color: #495057;
}

.shbs-error-list li:last-child { margin-bottom: 0; }

.shbs-validation-modal .shbs-error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.shbs-validation-modal .shbs-error-retry {
    background: #0F712C;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.shbs-validation-modal .shbs-error-retry:hover {
    background: #F78F20;
}

.shbs-validation-modal .shbs-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 5px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.shbs-validation-modal .shbs-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.shbs-validation-modal .shbs-error-content { position: relative; }

/* Mobile Responsive for Modal */
@media (max-width: 600px) {
    .shbs-validation-modal .shbs-error-content { padding: 40px 25px; width: 95%; }
    .shbs-validation-modal .shbs-error-icon { width: 70px; height: 70px; font-size: 35px; }
    .shbs-validation-modal .shbs-error-title { font-size: 24px; }
    .shbs-validation-modal .shbs-error-message { font-size: 15px; }
    .shbs-error-list li { padding: 10px 15px; font-size: 14px; }
    .shbs-validation-modal .shbs-error-retry { padding: 12px 32px; font-size: 15px; width: 100%; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .shbs-custom-fields { padding: 16px; }
    .shbs-date-value { font-size: 16px; }
    .shbs-pill-button { padding: 8px 6px; }
    .shbs-pill-weeks { font-size: 12px; }
    .shbs-pill-cost { font-size: 11px; }
}

@media (max-width: 480px) {
    .shbs-custom-fields { padding: 14px; }
    .shbs-pill-buttons { gap: 6px; }
    .shbs-postcode-input-wrapper { flex-direction: column; }
    .shbs-postcode-input-wrapper .shbs-postcode-input { width: 100%; }
    .shbs-price-total { font-size: 20px; }
}

/* ============================================
   NO POSTCODE VIEW (MARKETING LAYOUT)
   ============================================ */
.shbs-no-postcode-view {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
    max-width: 600px;
}

.shbs-no-postcode-heading {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.shbs-no-postcode-subheading {
    font-size: 16px;
    color: #64748b;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.shbs-no-postcode-view .shbs-postcode-input-wrapper {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.shbs-no-postcode-view .shbs-postcode-input {
    flex: 1;
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s;
}

.shbs-no-postcode-view .shbs-postcode-input:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.shbs-no-postcode-view .shbs-check-postcode-btn {
    padding: 14px 28px;
    background: #f97316;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.shbs-no-postcode-view .shbs-check-postcode-btn:hover {
    background: #ea580c;
    transform: translateY(-1px);
}

.shbs-quick-benefits {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e5e7eb;
}

.shbs-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
}

.shbs-benefit svg {
    flex-shrink: 0;
    color: #10b981;
}

.shbs-whats-included {
    margin-bottom: 32px;
}

.shbs-whats-included h3 {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 16px 0;
}

.shbs-included-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shbs-included-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

.shbs-included-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.shbs-review-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
}

.shbs-review-stars {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.shbs-star {
    color: #fbbf24;
    font-size: 20px;
}

.shbs-review-source {
    color: #64748b;
    font-size: 13px;
    margin-left: 4px;
}

.shbs-review-text {
    font-size: 15px;
    color: #1e293b;
    line-height: 1.6;
    margin: 0 0 8px 0;
    font-style: italic;
}

.shbs-review-author {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* Mobile adjustments for no-postcode view */
@media (max-width: 768px) {
    .shbs-no-postcode-view {
        padding: 24px;
    }
    
    .shbs-no-postcode-heading {
        font-size: 24px;
    }
    
    .shbs-quick-benefits {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .shbs-no-postcode-view {
        padding: 20px;
    }
    
    .shbs-no-postcode-view .shbs-postcode-input-wrapper {
        flex-direction: column;
    }
    
    .shbs-no-postcode-view .shbs-check-postcode-btn {
        width: 100%;
    }
}

/* ============================================
   AM/PM SELECTOR IN DATEPICKER
   ============================================ */
.shbs-ampm-selector {
    border-top: 1px solid #e5e7eb;
    padding: 16px;
    background: #f9fafb;
}

.shbs-ampm-title {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shbs-ampm-buttons {
    display: flex;
    gap: 8px;
}

.shbs-ampm-btn {
    flex: 1;
    padding: 12px 16px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    font-family: inherit;
}

.shbs-ampm-btn:hover {
    border-color: #10712c;
    background: #f0fdf4;
}

.shbs-ampm-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 2px;
}

.shbs-ampm-sub {
    display: block;
    font-size: 12px;
    color: #64748b;
    line-height: 1.3;
}

.shbs-ampm-included {
    color: #8fc63f;
    font-weight: 500;
}

/* Datepicker adjustments to accommodate AM/PM selector */
#ui-datepicker-div {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

#ui-datepicker-div.ui-datepicker {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

/* ============================================
   TIME SELECTION MODAL (appears after date selection)
   ============================================ */
.shbs-time-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shbs-time-modal-visible {
    opacity: 1;
}

.shbs-time-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.shbs-time-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-width: 320px;
    max-width: 400px;
}

.shbs-time-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 16px;
    text-align: center;
}

.shbs-time-modal-buttons {
    display: flex;
    gap: 12px;
}

.shbs-time-modal-btn {
    flex: 1;
    padding: 16px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    font-family: inherit;
}

.shbs-time-modal-btn:hover {
    border-color: #10712c;
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 113, 44, 0.1);
}

.shbs-time-modal-label {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.shbs-time-modal-sub {
    display: block;
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .shbs-time-modal-content {
        min-width: 280px;
        padding: 20px;
    }
    
    .shbs-time-modal-buttons {
        flex-direction: column;
    }
}

/* ============================================
   TOOLTIP WITH IMAGE (Cold Water Toilet)
   ============================================ */
.shbs-tooltip-with-image::after {
    display: none !important; /* suppress CSS-only tooltip; JS handles this one */
}
.shbs-tooltip-with-image::before {
    display: none !important;
}

.shbs-tooltip-popup {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #013426;
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.5;
    z-index: 1001;
    width: 220px;
    text-align: left;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    pointer-events: none;
}

.shbs-tooltip-popup img {
    display: block;
    width: 100%;
    border-radius: 4px;
    margin-bottom: 8px;
    object-fit: cover;
    max-height: 140px;
}

.shbs-tooltip-popup::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #013426;
}

/* ============================================
   COLD WATER TOILET TOGGLE — no box variant
   ============================================ */
.shbs-toilet-toggle {
    margin-bottom: 12px;
}

/* Remove wrapper box — sits flush like plain text */
.shbs-toilet-toggle .shbs-toggle-content {
    padding: 0;
    border: none;
    background: transparent;
}

/* Label row: name + inline price + tooltip all on one line */
.shbs-toilet-toggle .shbs-field-label {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0;
}

/* Inline price chip */
.shbs-toilet-price {
    font-size: 13px;
    font-weight: 500;
    color: #6b6b6b;
    white-space: nowrap;
}

/* ============================================
   TOOLTIP WITH IMAGE — side-by-side layout
   ============================================ */
.shbs-tooltip-popup {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    width: 300px;
    padding: 10px 12px;
}

.shbs-tooltip-popup img {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 0;
}

.shbs-tooltip-popup span {
    font-size: 12px;
    line-height: 1.5;
    color: white;
    flex: 1;
    align-self: center;
}

/* Position popup relative to the ? button — anchor to right edge so it doesn't clip left */
.shbs-tooltip-with-image {
    position: relative;
}

.shbs-tooltip-with-image .shbs-tooltip-popup {
    left: auto;
    right: 0;
    transform: none;
}

.shbs-tooltip-with-image .shbs-tooltip-popup::before {
    left: auto;
    right: 12px;
    transform: none;
}

/* ============================================
   COLD WATER TOILET — image strip (v2.18)
   ============================================ */

/* Reset earlier toilet-toggle overrides */
.shbs-toilet-toggle .shbs-toggle-content {
    padding: 0;
    border: none;
    background: transparent;
    display: block; /* allow strip to sit below */
}

/* The toggle row sits inside the wrapper as normal */
.shbs-toilet-toggle .shbs-toggle-content > .shbs-toggle-content-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

/* Image strip — tinted banner below the toggle row */
.shbs-toilet-image-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(141, 198, 63, 0.12); /* light green tint matching brand */
    border-top: 1px solid #dde0cc;
    border-radius: 0 0 6px 6px;
    padding: 8px 12px;
    margin: 10px -14px -12px -14px; /* bleed to wrapper edges */
}

.shbs-toilet-strip-img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    flex-shrink: 0;
    background: white;
    border-radius: 6px;
    padding: 3px;
}

.shbs-toilet-strip-text {
    font-size: 13px;
    font-weight: 600;
    color: #2d5a1b;
}

/* When toggled ON — strip goes dark green like the reference */
.shbs-toilet-toggle.shbs-toggle-active .shbs-toilet-image-strip {
    background: #2d5a1b;
    border-top-color: #2d5a1b;
}

.shbs-toilet-toggle.shbs-toggle-active .shbs-toilet-strip-text {
    color: white;
}

/* Restore flex for the top row inside toilet toggle */
.shbs-toilet-toggle > .shbs-toggle-wrapper > .shbs-toggle-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding-bottom: 0;
}

/* Ex VAT subtotal row */
.shbs-price-exvat-row {
    border-top: 1px solid #e5e5e5;
    padding-top: 6px;
    margin-top: 4px;
}

.shbs-price-exvat-row .shbs-price-label,
.shbs-price-exvat-row .shbs-price-value {
    font-size: 13px;
    color: #666;
}
