/**
 * Public-facing CSS for the Parigirando Tour Booking plugin
 *
 * Styling for the booking modal and process
 */

:root {
    --pg-modal-vh: 100vh;
}

/* Booking Button */
.pg-booking-button {
    display: inline-block;
    background-color: #EE2939;
    color: #fff;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s;
    white-space: normal;
    max-width: 100%;
}

.pg-booking-snippet-trigger {
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    line-height: 1.1;
    font-size: 14px;
    padding: 12px 16px;
}

.pg-global-booking-buttons,
.pg-global-booking-buttons .pg-booking-collective {
    width: 100%;
}

.pg-global-booking-buttons .pg-booking-button {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .pg-global-booking-buttons .pg-booking-button,
    .pg-booking-button {
        font-size: 14px;
        padding: 9px 18px;
    }
}

.pg-booking-snippet-trigger.pg-booking-button--on-demand-global {
    font-size: 18px;
}

.pg-booking-private-link {
    font-size: 0.8em;
    text-align: center;
    margin-top: 20px;
    line-height: 25px;
    margin-bottom: 20px;
}

.single-pg_tour .pg-booking-button:not(.pg-lm-button) {
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.single-pg_tour .pg-global-booking-buttons {
    width: 100%;
}

.single-pg_tour .pg-global-booking-buttons .pg-booking-collective {
    width: 100%;
}

.pg-booking-button:hover {
    background-color: #d62b35;
}

/* Link used to trigger the private booking modal */
.pg-private-booking-link {
    cursor: pointer;
    color: #EE2939;
    text-decoration: underline;
}

@media (max-width: 1600px) and (min-width: 1024px) {
    .single-pg_tour .pg-booking-button:not(.pg-lm-button) {
        font-size: 15px;
        padding: 10px 18px;
    }
}

/* Modal */
.pg-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: var(--pg-modal-vh, 100vh);
    max-width: 100vw;
    max-height: var(--pg-modal-vh, 100vh);
    padding: 24px;
    background-color: rgba(0, 0, 0, 0.5);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    overscroll-behavior: contain;
    touch-action: pan-y pinch-zoom;
}

.pg-modal.pg-modal--allow-horizontal {
    overflow-x: auto;
}

.pg-modal.pg-modal--active {
    display: flex;
}

html.pg-modal-open,
body.pg-modal-open {
    overflow: hidden;
    height: 100vh;
    touch-action: pinch-zoom;
}

body.pg-modal-open {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
}

.pg-modal-content {
    position: relative;
    background-color: #fff;
    margin: 0 auto;
    padding: 0;
    width: min(720px, calc(100vw - 48px));
    max-width: 720px;
    max-height: min(90vh, calc(100vh - 48px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: modalFadeIn 0.3s ease-out;
    box-sizing: border-box;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.pg-booking-snippet-content {
    padding: 32px;
    width: 70vw;
    height: 70vh;
    max-width: 70vw;
    max-height: 70vh;
}

.pg-booking-snippet-body {
    overflow: auto;
    max-height: calc(90vh - 64px);
}

.pg-snippet-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #f0f2ff;
    color: #263a75;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pg-snippet-modal-close:hover,
.pg-snippet-modal-close:focus {
    background: #e2e7ff;
}

@media (max-width: 768px) {
    .pg-modal {
        padding: 0;
        justify-content: flex-start;
        align-items: stretch;
        min-height: var(--pg-modal-vh, 100vh);
    }

    .pg-modal-content {
        width: 100vw;
        max-width: 100vw;
        height: var(--pg-modal-vh, 100vh);
        max-height: var(--pg-modal-vh, 100vh);
        min-height: var(--pg-modal-vh, 100vh);
        border-radius: 0;
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pg-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #333;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
}

.pg-modal-close:hover,
.pg-modal-close:focus {
    color: #000;
    text-decoration: none;
}

/* Styled close button used in modal header */
.pg-modal-content > button.pg-close-modal {
    overflow: hidden;
    background: transparent;
    text-indent: -999px;
    background-image: url("data:image/svg+xml,%0A%3Csvg width='30' height='31' viewBox='0 0 30 31' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_8400_862)'%3E%3Cpath d='M19.8175 11.3468L15.885 15.2793L19.8175 19.2118C20.0613 19.4555 20.0613 19.8518 19.8175 20.0955C19.695 20.218 19.535 20.278 19.375 20.278C19.215 20.278 19.055 20.2168 18.9325 20.0955L15 16.163L11.0675 20.0955C10.945 20.218 10.785 20.278 10.625 20.278C10.465 20.278 10.305 20.2168 10.1825 20.0955C9.93875 19.8518 9.93875 19.4555 10.1825 19.2118L14.115 15.2793L10.1825 11.3468C9.93875 11.103 9.93875 10.7068 10.1825 10.463C10.4262 10.2193 10.8225 10.2193 11.0662 10.463L14.9987 14.3955L18.9313 10.463C19.175 10.2193 19.5713 10.2193 19.815 10.463C20.0588 10.7068 20.0588 11.103 19.815 11.3468H19.8175ZM30 15.2793C30 23.5505 23.2712 30.2793 15 30.2793C6.72875 30.2793 0 23.5505 0 15.2793C0 7.00805 6.72875 0.279297 15 0.279297C23.2712 0.279297 30 7.00805 30 15.2793ZM28.75 15.2793C28.75 7.69805 22.5812 1.5293 15 1.5293C7.41875 1.5293 1.25 7.69805 1.25 15.2793C1.25 22.8605 7.41875 29.0293 15 29.0293C22.5812 29.0293 28.75 22.8605 28.75 15.2793Z' fill='%235683CD'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_8400_862'%3E%3Crect width='30' height='30' fill='white' transform='translate(0 0.279297)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    padding: 0;
    width: 30px;
    height: 30px;
    border: 0;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

/* Booking Steps */
.pg-booking-steps {
    position: relative;
    background-color: #ffffff;
    padding: 24px 20px;
    border-bottom: 1px solid #e0e6ed;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.pg-steps-container {
    display: flex;
    justify-content: space-between;
    max-width: 320px;
    margin: 0 auto;
    position: relative;
}

.pg-steps-container::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 20px;
    right: 20px;
    height: 1px;
    background-color: #e0e6ed;
    z-index: 1;
}

.pg-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    color: #8c98a9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pg-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #e0e6ed;
    margin-bottom: 6px;
    font-weight: 600;
    box-shadow: none;
    transition: all 0.2s ease;
    font-size: 12px!important;
}

.pg-step.active .pg-step-number {
    background-color: #4a90e2;
    border-color: #4a90e2;
    color: #fff;
    box-shadow: none;
}

.pg-step.completed .pg-step-number {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
    box-shadow: none;
}

.pg-step-label {
    display: none;
}

.pg-step.active .pg-step-label,
.pg-step.completed .pg-step-label {
    color: #2c3e50;
    font-weight: 600;
}

/* Booking Form */
.pg-booking-form {
    flex: 1 1 auto;
    min-height: 0;
    padding: 24px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.pg-modal.pg-modal--allow-horizontal .pg-booking-form {
    overflow-x: auto;
}

.pg-booking-step {
    padding: 10px 0;
}

.pg-step-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 600;
}

.pg-step-selected-datetime {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #263A75;
    font-weight: 500;
    margin: 0 auto 20px;
    display: flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    background: #EEF2FF;
    border: 1px solid #D9E2FF;
    border-radius: 999px;
}

.pg-step-selected-datetime__icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(38, 58, 117, 0.15);
}

.pg-step-selected-datetime__text {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.pg-step-selected-datetime .pg-selected-time-value {
    margin-left: 2px;
}


.pg-form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #4a5568;
}

.pg-form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.pg-form-input:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

#pg-first-name,
#pg-last-name,
.pg-part-name,
.pg-part-surname {
    text-transform: capitalize;
}

.pg-form-hint {
    display: block;
    font-size: 12px;
    color: #8c98a9;
    margin-top: 4px;
}

/* Form Grid */
.pg-form-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.pg-form-col {
    padding: 0 10px;
    margin-bottom: 16px;
}

.pg-form-col-6 {
    width: 50%;
}

.pg-form-col-12 {
    width: 100%;
}

@media (max-width: 576px) {
    .pg-form-col-6 {
        width: 100%;
    }
}

/* Participant Counters */
.pg-participant-section {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.pg-participant-title {
    font-weight: 600;
    margin-bottom: 16px;
    color: #2c3e50;
}

.pg-participant-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e6ed;
}

.pg-participant-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.pg-participant-label {
    flex: 1;
}

.pg-participant-price {
    color: #4a5568;
    font-weight: 500;
    margin-right: 16px;
}

.pg-counter {
    display: flex;
    align-items: center;
}

.pg-counter-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 18px;
    cursor: pointer;
    color: #4a5568;
    font-weight: bold;
    box-shadow: none;
}

.pg-counter-button:hover {
    background-color: #e9ecef;
}

.pg-counter-value {
    width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

.pg-participant-total {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0e6ed;
    font-weight: 600;
    color: #2c3e50;
}

/* Calendar */
.pg-calendar-container {
    background-color: #fff;
    border-radius: 0;
    border: 1px solid #e0e6ed;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pg-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #fff;
    border-bottom: 1px solid #e0e6ed;
}

.pg-calendar-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #2c3e50;
    text-align: center;
}

.pg-calendar-nav {
    background: #f0f0f0;
    border: none;
    color: #4a90e2;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.pg-calendar-nav:hover {
    background-color: #e0e6ed;
}

.pg-calendar {
    width: 100%;
    border-collapse: collapse;
}

.pg-calendar th {
    padding: 12px;
    text-align: center;
    font-weight: 500;
    color: #4a5568;
    border-bottom: 1px solid #e0e6ed;
    font-size: 14px;
}

.pg-calendar td {
    padding: 0;
    text-align: center;
    height: 45px;
    position: relative;
    width: 14.28%;
    border: 1px solid #f5f7fa;
}

.pg-calendar-day {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-weight: 400;
    font-size: 15px;
    border-radius: 50%;
    margin: auto;
    box-shadow: none;
}

.pg-calendar-day:not(.pg-disabled) {
    background-color: #1a365d;
    color: #fff;
}

.pg-calendar-day:hover:not(.pg-disabled) {
    background-color: #1a365d;
}

.pg-calendar-day.pg-selected {
    background-color: #EE2939;
    color: #fff;
}

.pg-calendar-day.pg-disabled {
    background-color: transparent;
    color: #ced4da;
    cursor: default;
}

.pg-calendar-day.pg-disabled:hover {
    background-color: transparent;
}

.pg-time-selector {
    padding: 20px;
    border-top: 1px solid #e0e6ed;
    background-color: #f9f9f9;
}

.pg-time-selector h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    color: #2c3e50;
    font-weight: 500;
}

.pg-time-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.pg-time-option {
    display: inline-block;
    padding: 8px 20px;
    background-color: #c7dcfc;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
    color: #1a365d;
}

.pg-time-option:hover {
    background-color: #8ab5ec;
    color: #fff;
}

.pg-time-option.pg-selected {
    background-color: #4a90e2;
    color: #fff;
}

.pg-time-option.pg-last-minute-time {
    background-color: #EE2939;
    border: 1px solid #EE2939;
}

.pg-time-option.pg-last-minute-time.pg-selected {
    background-color: #4a90e2;
    color: #fff;
}

/* Wrapper for each time option */
.pg-time-option-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Small note under last minute times */
.pg-last-minute-note {
    font-size: 8px;
    margin-top: 1px;
    color: #4a5568;
}

/* Icon for last minute times */
.pg-time-option.pg-last-minute-time {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.pg-time-option.pg-last-minute-time::before {
    content: none;
    display: none;
}

.pg-time-option.pg-last-minute-time.pg-confirmed::before {
    content: '\2713';
    position: absolute;
    top: -8px;
    right: -6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #28a745;
    color: #fff;
    font-size: 10px;
}

/* Extra Services */
.pg-extra-section {
    margin-bottom: 24px;
    margin-top:20px;
}

.pg-extra-title {
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.pg-extra-description {
    margin-bottom: 16px;
    color: #4a5568;
    font-size: 14px;
}

.pg-extra-item {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.pg-extra-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.pg-extra-name {
    font-weight: 600;
    color: #2c3e50;
}

.pg-extra-price {
    font-weight: 600;
    color: #4a5568;
}

.pg-extra-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.pg-extras-total {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    padding: 16px;
    background-color: #f5f7fa;
    border-radius: 8px;
    font-weight: 600;
    color: #2c3e50;
}

/* Order Summary */
.pg-summary-section {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.pg-summary-header {
    margin-bottom: 16px;
}

.pg-summary-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 4px;
}

.pg-summary-subtitle {
    font-size: 14px;
    color: #8c98a9;
    margin: 0;
}

.pg-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e6ed;
}

.pg-summary-row:last-child {
    border-bottom: none;
}

.pg-summary-label {
    flex: 1;
    color: #4a5568;
}

.pg-summary-value {
    font-weight: 500;
    color: #2c3e50;
}

.pg-summary-section-title {
    font-weight: 600;
    color: #2c3e50;
    margin: 16px 0 8px;
}

.pg-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 0;
    margin-top: 16px;
    border-top: 2px solid #e0e6ed;
    font-weight: 700;
    font-size: 18px;
    color: #2c3e50;
}

/* Payment Section */
.pg-payment-method {
    margin-bottom: 24px;
}

.pg-payment-method-title {
    font-weight: 600;
    margin-bottom: 16px;
    color: #2c3e50;
}

.pg-payment-option {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.pg-payment-option input[type="radio"] {
    margin-right: 8px;
}

.pg-payment-logo {
    display: inline-block;
    margin-left: 8px;
    height: 24px;
}

.pg-credit-card-fields {
    margin-top: 20px;
    width: 100%;
}

.pg-card-element {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px;
    background-color: #fff;
}

.pg-card-errors {
    color: #EE2939;
    font-size: 14px;
    margin-top: 8px;
}

.pg-terms {
    margin: 24px 0;
}

.pg-terms-checkbox {
    margin-right: 8px;
}

.pg-terms-link {
    color: #4a90e2;
    text-decoration: underline;
}

/* Confirmation Step */
.pg-confirmation {
    text-align: center;
    padding: 20px;
}

.pg-confirmation-icon {
    font-size: 72px;
    color: #68bb6c;
    margin-bottom: 24px;
}

.pg-confirmation-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 16px;
}

.pg-confirmation-message {
    color: #4a5568;
    margin-bottom: 24px;
}

.pg-confirmation-contact {
    margin-top: 24px;
    font-size: 14px;
    color: #8c98a9;
}

.pg-confirmation-contact a {
    color: #4a90e2;
    text-decoration: underline;
}

/* Modal Footer */
.pg-booking-footer {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px;
    background-color: #f5f7fa;
    border-top: 0;
    flex-shrink: 0;
    margin-top: auto;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

.pg-button {
    padding: 12px 25px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.2s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: none;
    text-transform: none;
    letter-spacing: 0.5px;
}

.pg-button-primary {
    background-color: #EE2939;
    color: #fff;
}

.pg-button-primary:hover {
    background-color: #d62b35;
}

.pg-button-secondary {
    background-color: #f8f9fa;
    color: #4a5568;
    border: 1px solid #ddd;
}

.pg-button-secondary:hover {
    background-color: #e0e6ed;
}

.pg-button:disabled {
    background-color: #ced4da;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Error Message */
.pg-booking-message {
    margin: 0 24px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    flex-shrink: 0;
}

.pg-error-message {
    background-color: #fdedee;
    color: #EE2939;
    border-left: 4px solid #EE2939;
}

/* Helper Classes */
.pg-loading {
    text-align: center;
    padding: 20px;
    color: #8c98a9;
}

.pg-error {
    color: #EE2939;
    padding: 12px;
    text-align: center;
}

/* Highlight invalid form fields */
.pg-field-error {
    outline: 2px solid #EE2939 !important;
}

.pg-no-times {
    color: #8c98a9;
    padding: 12px;
    text-align: center;
}

/* Last Minute Tours */
.pg-last-minute-tours {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 32px 0;
}

.pg-last-minute-card {
    display: flex;
    width: 100%;
    min-height: 157px;
    background: #FFFFFF;
    border: 1px solid #BFC5CE;
    border-radius: 10px;
}

.pg-lm-card__datetime {
    width: 250px;
    background: #5683CD;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px;
    gap: 10px;
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    border-radius: 10px 0 0 10px;
}

.pg-lm-card__date,
.pg-lm-card__time {
    font-weight: 600;
    font-size: 26px;
    line-height: 140%;
    margin: 0;
}

.pg-lm-card__body {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 40px;
    gap: 32px;
}

.pg-lm-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
}

.pg-lm-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 32px !important;
    font-weight: 600;
    line-height: 140%;
    color: #263A75;
    margin: 0;
}

.pg-lm-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.pg-lm-meta__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 22px;
    color: #63687A;
}

.pg-lm-meta__icon {
    padding-top: 7px;
}

.pg-lm-meta__icon svg {
    width: 24px;
    height: 24px;
}

.pg-lm-status {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 180px;
}

.pg-lm-status-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #63687A;
}

.pg-lm-status-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-block;
}

.pg-lm-tooltip {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #7DA0D9;
    position: relative;
    cursor: pointer;
}

.pg-lm-tooltip__icon svg {
    width: 20px;
    height: 20px;
}

.pg-lm-tooltip__content {
    position: absolute;
    top: 130%;
    left: 0;
    min-width: 220px;
    max-width: 280px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #E4E8F1;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(14, 30, 84, 0.12);
    color: #4a5568;
    font-size: 13px;
    line-height: 1.4;
    display: none;
    z-index: 15;
}

.pg-lm-tooltip:hover .pg-lm-tooltip__content {
    display: block;
}

.pg-lm-spots {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
}

.pg-lm-spots-count {
    font-size: 22px;
    font-weight: 700;
    color: #263A75;
}

.pg-lm-spots-label {
    font-size: 18px;
    font-weight: 500;
    color: #63687A;
}

.pg-lm-cta {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 177px;
}

.pg-last-minute-join-note {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: none;
    color: #63687A;
    margin: 0;
    text-align: center;
}

.pg-lm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 177px;
    height: 53px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 12px 26px !important;
    background-color: #EE2939;
    color: #fff;
    border: none;
    cursor: pointer;
}

.pg-lm-nav-button {
    padding: 8px 20px 8px 20px !important;
    font-size: 18px !important;
}

.pg-lm-button:hover {
    background-color: #d41c2e;
    color: #fff;
}

@media (max-width: 1200px) {
    .pg-last-minute-card {
        flex-direction: column;
    }

    .pg-lm-card__datetime {
        width: 100%;
        border-radius: 10px 10px 0 0;
    }

    .pg-lm-card__body {
        flex-direction: column;
        align-items: flex-start;
    }

    .pg-lm-status,
    .pg-lm-spots,
    .pg-lm-cta {
        width: 100%;
    }

    .pg-lm-cta {
        align-items: center;
    }

    .pg-lm-button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .pg-lm-button {
        font-size: 16px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        display: block;
    }

    .pg-last-minute-card,
    .pg-last-minute-card .pg-lm-card__body,
    .pg-last-minute-card .pg-lm-content,
    .pg-last-minute-card .pg-lm-meta,
    .pg-last-minute-card .pg-lm-meta__item,
    .pg-last-minute-card .pg-lm-status,
    .pg-last-minute-card .pg-lm-status-chip,
    .pg-last-minute-card .pg-lm-spots,
    .pg-last-minute-card .pg-lm-cta,
    .pg-last-minute-card .pg-lm-title,
    .pg-last-minute-card .pg-lm-meta__text,
    .pg-last-minute-card .pg-lm-tooltip,
    .pg-last-minute-card .pg-lm-tooltip__content {
        text-align: center;
    }

    .pg-last-minute-card .pg-lm-card__body,
    .pg-last-minute-card .pg-lm-content,
    .pg-last-minute-card .pg-lm-meta,
    .pg-last-minute-card .pg-lm-meta__item,
    .pg-last-minute-card .pg-lm-status,
    .pg-last-minute-card .pg-lm-spots,
    .pg-last-minute-card .pg-lm-cta {
        align-items: center;
        justify-content: center;
    }

    .pg-last-minute-card .pg-lm-meta {
        justify-content: center;
    }
}
.pg-no-last-minute {
    background-color: #f5f7fa;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    color: #8c98a9;
}

/* Availability Calendar */
.pg-availability-calendar {
    margin: 24px 0;
}

.pg-month-container {
    margin-bottom: 32px;
}

.pg-month-name {
    margin: 0 0 16px;
    font-size: 20px;
    color: #2c3e50;
    text-align: center;
}

.pg-calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.pg-calendar-table th {
    padding: 8px;
    text-align: center;
    font-weight: 600;
    color: #4a5568;
    border-bottom: 1px solid #e0e6ed;
}

.pg-calendar-table td {
    padding: 8px;
    text-align: center;
    height: 48px;
    border: 1px solid #e0e6ed;
}

.pg-available-day {
    background-color: #e9f2ff;
    cursor: pointer;
    font-weight: 500;
}

.pg-available-day:hover {
    background-color: #d6e6ff;
}

.pg-unavailable-day {
    color: #ced4da;
}

.pg-empty-day {
    background-color: #f8f9fa;
}

.pg-available-times {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}

.pg-time {
    display: inline-block;
    padding: 2px 4px;
    background-color: #4a90e2;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
}

.pg-no-availability {
    background-color: #f5f7fa;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    color: #8c98a9;
}

/* Tour Price Shortcode */
.pg-price-label {
    color: #4a5568;
    margin-right: 4px;
}

.pg-adult-price, .pg-child-price {
    font-weight: 600;
    color: #2c3e50;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .pg-step-label {
        display: none;
    }
    
    .pg-steps-container {
        display: flex;
        justify-content: space-between;
        max-width: 258px;
        margin: 3px 10px 0 20px;
        position: relative;
    }

    .pg-steps-container::before {
        left: 20px;
        right: 20px;
    }

    .pg-booking-form {
        padding: 20px;
    }
    
    .pg-booking-form  table.pg-calendar {
        overflow: auto;
    }
    
    .pg-booking-form  div#pg-calendar-container {
        overflow: auto;
    }
    
    .pg-booking-form  .pg-calendar th {
        padding: 10px 4px;
    }

    .pg-booking-private-link {
    font-size: 1em;
    text-align: center;
    margin-top: 15px;
    line-height: 20px;
    margin-bottom: 10px;
    }

    #pg-ticket-yes {
        font-size:0.9em;
    }

    #pg-ticket-no {
        font-size:0.9em;
    }

    #pg-private-ticket-yes {
        font-size:0.9em;
    }

    #pg-private-ticket-no {
        font-size:0.9em;
    }
}

@media (max-width: 576px) {
    .pg-booking-steps {
        padding: 16px 10px;
    }
    
    .pg-booking-form {
        padding: 16px;
    }
    
    .pg-booking-footer {
        padding: 12px 16px;
    }
    
    .pg-button {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .pg-step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}


.pg-calendar-header {
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    position: relative;
    padding-right: 100px;
}

.pg-calendar-header button.pg-calendar-nav {
    background: transparent;
    border: 0;
    padding: 0;
    color: #000;
    position: absolute;
    right: 0;
}

.pg-calendar-header h3.pg-calendar-title {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
}

.pg-calendar-header button.pg-calendar-nav[data-direction="prev"] {
    right: 32px;
}
.pg-calendar-header button.pg-calendar-nav:hover {
    background: transparent;
}

.pg-calendar-header {
    padding-bottom: 20px;
    padding-top: 20px;
    border-bottom: 0;
}

.pg-calendar th {
    border: 0 !important;
    /* font-family: DM Sans; */
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
}

.pg-calendar td {border: 0;background: transparent !important;font-weight: 400;font-size: 16px;line-height: 150%;text-align: center;}

.pg-calendar-day:not(.pg-disabled) {
    background: #A4BDE5 !important;
}

.pg-calendar-day.pg-selected {
    background: #3768B9 !important;
}

.pg-calendar-day:after {
    display: none !important;
}

.pg-calendar-day:not(.pg-disabled)::after {
    opacity: 0;
}

.pg-calendar-day.pg-today {
    background: transparent !important;
    border: 2px solid #A4BDE5;
    color: #374151!important;

}

.pg-calendar-day.pg-today.pg-selected {
    background: #3768B9 !important;
    color: #fff!important;
}

body .pg-calendar-section.pg-show-time .pg-time-selector {
    padding: 15px 0 0px 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-top: 1px solid #BFC5CE !important;
    border-radius: 0 !important;
    border-bottom: 0 !important;
}

.pg-time-selector h4 {
    font-family: "Jost", sans-serif !important;
    /* font-family: DM Sans; */
    font-weight: 600 !important;
    font-size: 20px !important;
    line-height: 160%;
	color:#374151 !important;
}

.pg-time-options {
    justify-content: flex-start;
}


.pg-time-option.pg-last-minute-time.pg-selected {
    background: #3768B9;
    border: 1px solid #3768B9;
}

.pg-time-selector .pg-time-option {
    border-radius: 10px !important;
    padding: 10px;
    font-size: 16px;
    line-height: 120%;
    background: #A4BDE5;
    border: 1px solid #A4BDE5;
}
button#pg-complete-booking,
button#pg-private-complete-booking,
#pg-prev-step,
#pg-private-next-step,
#pg-private-prev-step,
button#pg-next-step {
    padding: 10px 50px;
    /* font-family: DM Sans; */
    font-weight: 600;
    font-size: 18px;
    line-height: 160%;
    letter-spacing: 0%;
    text-align: center;
	max-height: 52px;
    border:0 !important;
}
.pg-button:disabled {
    border: unset;
}


.pg-booking-footer {
    background: transparent !important;
}

.pg-booking-form {
    padding-top: 0;
}

.pg-step-title {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.pg-step-title .pg-step-number {
    margin: 0;
    background: #3768B9;
    color: #fff;
    width: 35px;
    height: 35px;
    border: 0;
}
.pg-step-title {
    color: #263A75 !important;
}

p.pg-step-description {
    /* font-family: DM Sans; */
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    letter-spacing: 0%;
    color: #63687A;
}

.pg-participant-label {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    letter-spacing: 0%;
    vertical-align: middle;
    display: flex;
    flex-wrap: wrap;
    color: #63687A;
    gap: 8px;
}

.pg-participant-section {
    padding: 20px;
    margin-top: 10px;
}

.pg-participant-price {
    font-weight: 400;
    color: #63687A;
    margin: 0;
}

.pg-participant-row {
    border: 0;
    padding-bottom: 0;
}

.pg-counter-button {
    width: 24px !important;
    height: 24px;
    padding: 0 !important;
    background: transparent !important;
	
    border: 0 !important;
    line-height: 24px !important;
    color: #3768B9 !important;
    font-size: 18px !important;
	    background-repeat: no-repeat !important;
    background-size: contain !important;
    padding: 0 !important;
    width: 24px;
    height: 24px;
    text-indent: -99px;
    overflow: hidden;
}
.pg-counter-button[data-action="decrease"]{
	background-image: url("data:image/svg+xml,%0A%3Csvg width='24' height='25' viewBox='0 0 24 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 0.0698242C5.383 0.0698242 0 5.45282 0 12.0698C0 18.6868 5.383 24.0698 12 24.0698C18.617 24.0698 24 18.6868 24 12.0698C24 5.45282 18.617 0.0698242 12 0.0698242ZM12 22.0698C6.486 22.0698 2 17.5838 2 12.0698C2 6.55582 6.486 2.06982 12 2.06982C17.514 2.06982 22 6.55582 22 12.0698C22 17.5838 17.514 22.0698 12 22.0698ZM17 12.0698C17 12.6218 16.552 13.0698 16 13.0698H8C7.448 13.0698 7 12.6218 7 12.0698C7 11.5178 7.448 11.0698 8 11.0698H16C16.552 11.0698 17 11.5178 17 12.0698Z' fill='%233768B9'/%3E%3C/svg%3E%0A") !important;
}

.pg-counter-button[data-action="increase"]{
	background-image: url("data:image/svg+xml,%0A%3Csvg width='24' height='25' viewBox='0 0 24 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 0.0698242C9.62663 0.0698242 7.30655 0.773612 5.33316 2.09219C3.35977 3.41077 1.8217 5.28491 0.913451 7.47762C0.00519943 9.67034 -0.232441 12.0831 0.230582 14.4109C0.693605 16.7387 1.83649 18.8769 3.51472 20.5551C5.19295 22.2333 7.33115 23.3762 9.65892 23.8392C11.9867 24.3023 14.3995 24.0646 16.5922 23.1564C18.7849 22.2481 20.6591 20.7101 21.9776 18.7367C23.2962 16.7633 24 14.4432 24 12.0698C23.9966 8.88828 22.7312 5.83804 20.4815 3.58834C18.2318 1.33865 15.1815 0.0732653 12 0.0698242ZM12 22.0698C10.0222 22.0698 8.08879 21.4833 6.4443 20.3845C4.79981 19.2857 3.51809 17.7239 2.76121 15.8967C2.00433 14.0694 1.8063 12.0587 2.19215 10.1189C2.578 8.17911 3.53041 6.39728 4.92894 4.99876C6.32746 3.60023 8.10929 2.64782 10.0491 2.26197C11.9889 1.87612 13.9996 2.07415 15.8268 2.83103C17.6541 3.58791 19.2159 4.86963 20.3147 6.51412C21.4135 8.15861 22 10.092 22 12.0698C21.9971 14.7211 20.9426 17.2629 19.0679 19.1377C17.1931 21.0124 14.6513 22.0669 12 22.0698ZM17 12.0698C17 12.335 16.8946 12.5894 16.7071 12.7769C16.5196 12.9645 16.2652 13.0698 16 13.0698H13V16.0698C13 16.335 12.8946 16.5894 12.7071 16.7769C12.5196 16.9645 12.2652 17.0698 12 17.0698C11.7348 17.0698 11.4804 16.9645 11.2929 16.7769C11.1054 16.5894 11 16.335 11 16.0698V13.0698H8.00001C7.73479 13.0698 7.48043 12.9645 7.2929 12.7769C7.10536 12.5894 7.00001 12.335 7.00001 12.0698C7.00001 11.8046 7.10536 11.5503 7.2929 11.3627C7.48043 11.1752 7.73479 11.0698 8.00001 11.0698H11V8.06983C11 7.80461 11.1054 7.55025 11.2929 7.36272C11.4804 7.17518 11.7348 7.06983 12 7.06983C12.2652 7.06983 12.5196 7.17518 12.7071 7.36272C12.8946 7.55025 13 7.80461 13 8.06983V11.0698H16C16.2652 11.0698 16.5196 11.1752 16.7071 11.3627C16.8946 11.5503 17 11.8046 17 12.0698Z' fill='%233768B9'/%3E%3C/svg%3E%0A") !important;
}

span.pg-counter-value {
    width: 30px;
    color: #3768B9;
    font-weight: 700;
    font-size: 17px;
    line-height: 24px;
    /* height: 30px; */
}

.pg-counter {
    align-items: center;
}
div#pg-participant-total {
    font-weight: 700;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #3768B9;
}

.pg-participant-total {
    /* font-family: DM Sans; */
    font-weight: 600;
    font-size: 18px;
    line-height: 160%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #263A75;
    align-items: center;
    font-family: "DM Sans", sans-serif;
}

.pg-step-title {
        font-family: "DM Sans", sans-serif;
}

p.pg-step-description {
    font-family: "DM Sans", sans-serif;
}

.pg-form-grid {
    margin-top: 32px;
    padding-bottom:15px;
}

.pg-form-label {
       font-family: "DM Sans", sans-serif;
       font-weight: 400;
       font-size: 16px;
       line-height: 150%;
       letter-spacing: 0%;
       color: #63687A;
}

.pg-form-input {
    border-radius: 5px !important;
    border: 1px solid #BFC5CE !important;
}
.pg-form-grid {
    border-bottom: 1px solid #BFC5CE;
    margin-bottom: 20px;
}

.pg-participant-section {
    margin-bottom: 0;
}

.pg-summary-section.new .inners {
    background: transparent;
    border: 1px solid #BFC5CE;
    margin-top: 30px;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.pg-summary-title {
    font-weight: 600 !important;
    font-size: 26px !important;
    line-height: 140% !important;
    letter-spacing: 0%;
    color: var(--Color-Brand-blu, #263A75) !important;
}

.pg-summary-section.new * {
 font-family: "DM Sans", sans-serif;
}

.pg-summary-section.new {
    background: transparent;
    border: 0;
    padding: 0;
}

.new .pg-summary-header {
    margin: 0;
}
p.pg-summary-subtitle {
    font-size: 18px;
    line-height: 160%;
    color: #63687A;
    margin-top: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

p.pg-summary-subtitle svg {
    vertical-align: middle;
}
.pg-summary-label {
    font-size: 18px;
    line-height: 160%;
    color: #63687A;
}

.pg-summary-value {
    font-size: 18px;
    line-height: 160%;
    color: #63687A;
}

.pg-summary-row {
    border-bottom: 0;
}

pg-summary-total .pg-summary-total-price {
    font-weight: 700;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #3768B9;
}

.pg-summary-total {
    color: #263A75;
    align-items: center;
    /* font-family: DM Sans; */
    font-weight: 600;
    font-size: 18px;
    line-height: 160%;
    letter-spacing: 0%;
    vertical-align: middle;
}
.pg-payment-method {
    padding: 24px;
    border: 1px solid #BFC5CE;
    border-radius: 10px;
    margin-top: 32px;
}

.pg-payment-method-title {
    display: none;
}


.pg-payment-option .opts {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.pg-payment-option .opts ing {
    margin: 0;
    padding: 0;
}

.pg-payment-option .opts img {
    margin: 0;
    border: 1px solid #BFC5CE;
    padding: 3px 6px;
    height: 31px;
    border-radius: 5px;
}

.pg-payment-option .opts inout {
    width: 18px;
    height: 18px;
}

.pg-payment-option .opts inout {
    margin: 0;
}

.pg-payment-option input[type="radio"] {
    margin: 0;
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.pg-payment-option .opts label {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 160%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #263A75;
    padding-left: 10px;
}
label.pg-terms-label {
    /* font-family: DM Sans; */
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;
    font-family: "DM Sans", sans-serif;
    display: flex;
    align-items: center;
    color: #63687A;
}

label.pg-terms-label input {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

label.pg-terms-label a {
    color: #63687A;
}

.pg-booking-form {
    padding-bottom: 0;
}

.pg-confirmation h2.pg-confirmation-title {
    font-family: "Jost", sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 125%;
    letter-spacing: 0%;
    text-align: center;
    color: #263A75;
    /* font-family: "DM Sans", sans-serif; */
    margin: 0;
    margin-bottom: 24px;
}

.pg-confirmation p {
    /* font-family: DM Sans; */
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    letter-spacing: 0%;
    text-align: center;
    font-family: "DM Sans", sans-serif;
}

.pg-confirmation {
    padding: 20px 0;
    position: relative;
    padding-top: 30px;
}

.pg-confirmation-contact {
    color: #F1808C;
    font-family: "DM Sans", sans-serif;
    margin-top: 32px;
}

.pg-confirmation button.pg-button.pg-button-primary.pg-close-modal {
    overflow: hidden;
    background: transparent;
    text-indent: -999px;
    background-image: url("data:image/svg+xml,%0A%3Csvg width='30' height='31' viewBox='0 0 30 31' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_8400_862)'%3E%3Cpath d='M19.8175 11.3468L15.885 15.2793L19.8175 19.2118C20.0613 19.4555 20.0613 19.8518 19.8175 20.0955C19.695 20.218 19.535 20.278 19.375 20.278C19.215 20.278 19.055 20.2168 18.9325 20.0955L15 16.163L11.0675 20.0955C10.945 20.218 10.785 20.278 10.625 20.278C10.465 20.278 10.305 20.2168 10.1825 20.0955C9.93875 19.8518 9.93875 19.4555 10.1825 19.2118L14.115 15.2793L10.1825 11.3468C9.93875 11.103 9.93875 10.7068 10.1825 10.463C10.4262 10.2193 10.8225 10.2193 11.0662 10.463L14.9987 14.3955L18.9313 10.463C19.175 10.2193 19.5713 10.2193 19.815 10.463C20.0588 10.7068 20.0588 11.103 19.815 11.3468H19.8175ZM30 15.2793C30 23.5505 23.2712 30.2793 15 30.2793C6.72875 30.2793 0 23.5505 0 15.2793C0 7.00805 6.72875 0.279297 15 0.279297C23.2712 0.279297 30 7.00805 30 15.2793ZM28.75 15.2793C28.75 7.69805 22.5812 1.5293 15 1.5293C7.41875 1.5293 1.25 7.69805 1.25 15.2793C1.25 22.8605 7.41875 29.0293 15 29.0293C22.5812 29.0293 28.75 22.8605 28.75 15.2793Z' fill='%235683CD'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_8400_862'%3E%3Crect width='30' height='30' fill='white' transform='translate(0 0.279297)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    padding: 0;
    width: 30px;
    height: 30px;
    border: 0;
    position: absolute;
    right: 0;
    top: 0;
}

/* Participant details step */
.pg-participants-group {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 0px;
    margin: 16px 0;
}

.pg-participants-group-title {
    font-weight: 600;
    margin-bottom: 12px;
    color: #2c3e50;
    font-size:0.9em;
}

.pg-ticket-question {
    text-align: center;
    margin: 15px 0;
}

#pg-ticket-yes {
    font-size:0.6em;
}

#pg-ticket-no {
    font-size:0.6em;
}

#pg-private-ticket-yes {
    font-size:0.6em;
}

#pg-private-ticket-no {
    font-size:0.6em;
}

#pg-ticket-reminder,
#pg-private-ticket-reminder {
    color: red;
    font-size: 18px;
    text-align: center;
    margin-bottom: 10px;
}


.pg-participant-detail {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.pg-participant-detail input {
    flex: 1;
}

label.pg-also-participant-label {
    display: flex;
    align-items: center;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    color: #63687A;
}

label.pg-also-participant-label input {
    width: 18px;
    height: 18px;
    margin-right: 6px;
}

/* Prenotabile Buttons Layout */
.pg-prenotabile-buttons{
    display:flex;
    flex-direction:row;
    gap:10px 12px;
    align-items:center;
    flex-wrap:nowrap;
}
.pg-prenotabile-buttons .elementor-element,
.pg-prenotabile-buttons .elementor-widget-container,
.pg-prenotabile-buttons .elementor-button-wrapper{
    width:auto;
    display:inline-flex;
}
.pg-prenotabile-badges{
    display:flex;
    flex-wrap:wrap;
    gap:8px 12px;
    align-items:center;
}
.pg-prenotabile-badges .pg-tour-card__formula-badge{
    position:relative;
    left:auto;
    bottom:auto;
    transform:none;
    min-width:0;
}
.pg-prenotabile-badges .pg-tour-card__participants-badge{
    margin-bottom:0;
}

.pg-prenotabile-price {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-family: 'DM Sans', sans-serif;
    text-align: center;
}

.pg-prenotabile-amount {
    font-size: 1em;
    font-weight: 700;
    color: #263A75;
}

.pg-price-prefix {
    display: block;
    font-size: 0.35em !important;
    color: #6b7280;
    letter-spacing: 0.05em;
    line-height: 1.0em;
}

.pg-price-note {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.1em;
}

@media (max-width: 768px) {
    .pg-prenotabile-price .pg-price-prefix {
        font-size: 0.42em !important;
    }

    .pg-prenotabile-price .pg-prenotabile-amount {
        font-size: 1.2em !important;
    }
}

/* Tour Directory */
.pg-tour-directory {
    margin: 48px 0;
    padding: 32px;
    background: #fff8f2;
    border-radius: 32px;
    border: 1px solid #f3e2d6;
    position: relative;
    box-shadow: 0 18px 40px rgba(53, 35, 15, 0.05);
    --pg-tour-card-media-height: 210px;
}

.pg-tour-directory__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.pg-tour-directory__filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    align-items: end;
}

.pg-tour-filter {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pg-tour-filter__label {
    font-size: 12px;
    font-weight: 700;
    color: #8b6f54;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pg-tour-filter select,
.pg-tour-filter input[type="date"],
.pg-tour-filter input[type="number"] {
    width: 100%;
    border-radius: 999px;
    border: 1px solid #d6cbbf;
    padding: 11px 38px 11px 18px;
    background: #fff;
    font-size: 15px;
    font-family: inherit;
    color: #24345b;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%238A6C54' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-position: right 16px center;
    background-repeat: no-repeat;
}

.pg-tour-filter input[type="number"]::-webkit-outer-spin-button,
.pg-tour-filter input[type="number"]::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.pg-tour-filter__date-range {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex-wrap: wrap;
}

.pg-date-pill {
    border-radius: 999px;
    border: 1px solid #d6cbbf;
    background: #fff;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    flex: 1 1 210px;
    min-height: 54px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.pg-date-pill:hover,
.pg-date-pill:focus-within {
    border-color: #f05a84;
    box-shadow: 0 4px 12px rgba(240, 90, 132, 0.2);
}

.pg-date-pill__label {
    font-size: 12px;
    font-weight: 700;
    color: #8b6f54;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    pointer-events: none;
}

.pg-date-pill__value {
    font-size: 15px;
    color: #24345b;
    font-weight: 600;
    flex: 1;
    pointer-events: none;
}

.pg-date-pill__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f7464e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(247, 70, 78, 0.35);
    min-width: 32px;
    pointer-events: none;
}

.pg-date-pill__icon::before {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='3.5' y='4.5' width='17' height='16' rx='2'/%3E%3Cpath d='M7 2.5v4M17 2.5v4M3.5 9.5h17'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.pg-date-pill__input {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.pg-tour-directory__more-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    align-items: end;
    padding-top: 8px;
}

.pg-tour-directory__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-end;
    margin-left: 8px;
}

.pg-tour-directory__reset,
.pg-tour-directory__load-more {
    border-radius: 999px;
    border: 0;
    padding: 10px 22px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 14px;
}

.pg-tour-directory__reset {
    width: 48px;
    height: 48px;
    padding: 0;
    background: linear-gradient(120deg, #f7464e, #f05a84);
    color: #fff;
    border: 0;
    box-shadow: 0 12px 24px rgba(237, 60, 69, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pg-tour-filter--price {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.pg-price-range {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.pg-price-range__track {
    position: relative;
    height: 24px;
    margin-top: 2px;
    flex: 1;
}

.pg-price-range__track::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    border-radius: 999px;
    background: #efe3d8;
}

.pg-price-range__fill {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(120deg, #f7464e, #f05a84);
}

.pg-price-range__track input[type="range"] {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 32px;
    margin: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.pg-price-range__track input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ed3c45;
    box-shadow: 0 6px 12px rgba(237, 60, 69, 0.35);
    pointer-events: auto;
    cursor: pointer;
}

.pg-price-range__track input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ed3c45;
    box-shadow: 0 6px 12px rgba(237, 60, 69, 0.35);
    pointer-events: auto;
    cursor: pointer;
}

.pg-price-range__track input[type="range"]::-webkit-slider-runnable-track,
.pg-price-range__track input[type="range"]::-moz-range-track {
    height: 4px;
    border-radius: 999px;
    background: transparent;
}

.pg-price-range__values {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    color: #263a75;
    font-size: 14px;
    margin-top: auto;
    padding-bottom: 8px;
}

.pg-date-input {
    position: relative;
    flex: 1;
}

.pg-date-input input[type="date"] {
    width: 100%;
    border-radius: 999px;
    border: 1px solid #d6cbbf;
    padding: 11px 52px 11px 18px;
    background: #fff;
    font-size: 15px;
    color: #24345b;
}

.pg-date-input input[type="date"]::-webkit-calendar-picker-indicator,
.pg-date-input input[type="date"]::-webkit-inner-spin-button,
.pg-date-input input[type="date"]::-webkit-clear-button {
    display: none;
    opacity: 0;
}

.pg-date-input__trigger {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 48px;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background-color: transparent !important;
    box-shadow: none;
}

.pg-date-input__trigger:hover {
    background: rgba(255, 236, 224, 0.7) !important;
}

.pg-date-input__icon {
    width: 16px;
    height: 16px;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
}

.pg-date-input__icon--calendar {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%238B6F54' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='3.5' y='4.5' width='17' height='16' rx='2'/%3E%3Cpath d='M7 2.5v4M17 2.5v4M3.5 9.5h17'/%3E%3C/g%3E%3C/svg%3E");
}

.pg-date-input__icon--arrow {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5l5 4 5-4' stroke='%238B6F54' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

.pg-tour-directory__results {
    position: relative;
    margin-top: 8px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pg-tour-directory__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
    gap: 28px;
    justify-content: flex-start;
}

.pg-tour-directory__empty {
    text-align: center;
    padding: 18px;
    border-radius: 16px;
    background: #fff4f4;
    color: #b35656;
    font-weight: 600;
    margin-top: 12px;
}

.pg-tour-directory__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.pg-tour-directory__count {
    font-weight: 600;
    font-size: 14px;
    color: #586087;
}

.pg-tour-directory__load-more {
    background: #fff;
    color: #24345b;
    border: 1px solid #d0d7ec;
    box-shadow: inset 0 0 0 1px rgba(208, 215, 236, 0.4);
}

.pg-tour-directory__load-more:hover {
    background: #24345b;
    color: #fff;
}

.pg-tour-directory.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    z-index: 2;
}

.pg-tour-card {
    background: #fff;
    border-radius: 28px;
    border: 1px solid #e9e2d7;
    box-shadow: 0 18px 40px rgba(36, 52, 91, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    min-height: 100%;
}

.pg-tour-card__badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: linear-gradient(120deg, #f7464e, #f05a84);
    color: #fff;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
    box-shadow: 0 12px 24px rgba(239, 89, 126, 0.3);
}

.pg-tour-card__media a {
    display: block;
}

.pg-tour-directory .pg-tour-card__media {
    height: var(--pg-tour-card-media-height);
    overflow: hidden;
    position: relative;
}

.pg-tour-directory .pg-tour-card__media a {
    height: 100%;
}

.pg-tour-directory .pg-tour-card__image,
.pg-tour-directory .pg-tour-card__placeholder {
    height: 100%;
}

.pg-tour-card__image,
.pg-tour-card__placeholder {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.pg-tour-card__placeholder {
    background: linear-gradient(135deg, #f7dede, #dfe9ff);
}

.pg-tour-card__formula-badge {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    background: #f39a1f;
    color: #fff;
    padding: 0 32px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    box-shadow: none;
    pointer-events: auto;
    justify-content: center;
    min-width: 160px;
    white-space: nowrap;
}

.pg-tour-card__formula-info {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    position: relative;
    cursor: help;
    background: rgba(255, 255, 255, 0.15);
}

.pg-tour-card__formula-badge[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #1f2435 transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.pg-tour-card__formula-badge[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #1f2435;
    color: #fff;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.4;
    min-width: 180px;
    max-width: 240px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    opacity: 0;
    box-shadow: 0 12px 24px rgba(31, 36, 53, 0.35);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: normal;
    z-index: 3;
}

.pg-tour-card__formula-badge[data-tooltip]:hover::after,
.pg-tour-card__formula-badge[data-tooltip]:focus-within::after,
.pg-tour-card__formula-badge[data-tooltip]:hover::before,
.pg-tour-card__formula-badge[data-tooltip]:focus-within::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

.pg-tour-card__mode-ribbon {
    position: absolute;
    top: 56px;
    right: -46px;
    padding: 6px 54px;
    transform: rotate(35deg);
    transform-origin: top right;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    z-index: 2;
    box-shadow: 0 10px 22px rgba(28, 34, 54, 0.25);
    pointer-events: none;
}

.pg-tour-card__mode-ribbon--private {
    background: linear-gradient(135deg, #ff4b5a, #ff7a8a);
}

.pg-tour-card__mode-ribbon--collective {
    background: linear-gradient(135deg, #2f6bff, #46b2ff);
}

.pg-tour-card__mode-ribbon.pg-tour-card__mode-ribbon--private {
    top: 56px;
    right: -43px;
}

.pg-tour-card__mode-ribbon.pg-tour-card__mode-ribbon--collective {
    top: 64px;
    right: -49px;
}

.pg-tour-card__body {
    padding: 22px 26px 0 26px;
    flex: 1;
}

.pg-tour-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.pg-tour-card__chip {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    border-radius: 999px;
    background: #eef1ff;
    color: #4052b6;
    font-weight: 700;
}

.pg-tour-card__chip--mode {
    background: #ffeef0;
    color: #c13b47;
}

.pg-tour-card__title {
    font-size: 30px;
    margin: 0 0 10px;
    color: #24345b;
    font-weight: 700;
    line-height: 1.3;
}

.pg-tour-card__title a {
    text-decoration: none;
    color: #24345b !important;
}

.pg-tour-card__excerpt {
    color: #4f5672;
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-bottom: 60px;
}

.pg-tour-card__participants-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c9d1ea;
    color: #4f5672;
    border-radius: 999px;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 24px;
    white-space: nowrap;
    margin-bottom: 14px;
}

.pg-tour-card__meta {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    color: #5a6079;
    font-weight: 600;
    font-size: 15px;
}

.pg-tour-card__meta-attraction .pg-tour-card__meta-text {
    font-weight: 600;
    color: #24345b;
}

.pg-tour-card__meta-icon {
    margin-right: 6px;
}

.pg-tour-card__footer {
    padding: 16px 26px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.pg-tour-card__price-prefix {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7a81a0;
}

.pg-tour-card__price-value {
    font-size: 42px;
    font-weight: 700;
    color: #f7464e;
}

.pg-tour-card__cta {
    border-radius: 999px;
    padding: 10px 24px;
    background: #ee2939;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: background 0.2s ease;
    box-shadow: 0 12px 28px rgba(238, 41, 57, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pg-tour-card__cta:link,
.pg-tour-card__cta:visited,
.pg-tour-card__cta:focus,
.pg-tour-card__cta:active {
    color: #fff !important;
}

.pg-tour-card__cta:hover {
    background: #d81a2a;
}

@media (max-width: 768px) {
    .pg-tour-directory {
        padding: 20px;
        border-radius: 20px;
    }

    .pg-tour-directory__results {
        max-width: none;
    }

    .pg-tour-directory__grid {
        grid-template-columns: 1fr;
    }

    .pg-tour-directory__more-filters {
        grid-template-columns: 1fr;
    }
}

.pg-tour-directory__reset-icon {
    width: 20px;
    height: 20px;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M4 7h16m-11 3v8m6-8v8M9 7V4.5a1.5 1.5 0 0 1 1.5-1.5h3A1.5 1.5 0 0 1 15 4.5V7'/%3E%3Cpath d='M6 7v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7'/%3E%3C/g%3E%3C/svg%3E");
}

/* Recommended tours */
.pg-recommended {
    margin-top: 40px;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pg-recommended__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.pg-recommended__title {
    font-size: 28px;
    font-weight: 700;
    color: #24345b;
    margin: 0;
}

.pg-recommended-grid {
    display: grid;
    gap: 24px;
}

.pg-recommended--cols-1 .pg-recommended-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.pg-recommended--cols-2 .pg-recommended-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pg-recommended--cols-3 .pg-recommended-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pg-recommended--cols-4 .pg-recommended-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
    .pg-recommended-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .pg-recommended-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.pg-recommended-slider-wrapper {
    position: relative;
    padding: 0 32px;
}

.pg-recommended-slider__track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    -webkit-overflow-scrolling: touch;
}

.pg-recommended-slider__track::-webkit-scrollbar {
    display: none;
}

.pg-recommended-slider__track .pg-recommended-card {
    flex: 0 0 calc(33.333% - 16px);
    scroll-snap-align: start;
}

@media (max-width: 768px) {
    .pg-recommended-slider__track .pg-recommended-card {
        flex-basis: calc(80% - 16px);
    }
}

.pg-recommended--cols-1 .pg-recommended-slider__track .pg-recommended-card {
    flex-basis: calc(100% - 16px);
}

.pg-recommended--cols-2 .pg-recommended-slider__track .pg-recommended-card {
    flex-basis: calc(50% - 16px);
}

.pg-recommended--cols-4 .pg-recommended-slider__track .pg-recommended-card {
    flex-basis: calc(25% - 16px);
}

.pg-recommended-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    box-shadow: 0 18px 30px rgba(24, 36, 72, 0.2);
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.pg-recommended-slider__nav--prev {
    left: 0;
}

.pg-recommended-slider__nav--next {
    right: 0;
}

.pg-recommended-slider__nav::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-top: 2px solid #24345b;
    border-right: 2px solid #24345b;
    margin: 0 auto;
    transform: rotate(45deg);
}

.pg-recommended-slider__nav--prev::before {
    transform: rotate(-135deg);
}

.pg-recommended-slider__nav.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.pg-recommended-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #e6ebf5;
    box-shadow: 0 18px 40px rgba(36, 52, 91, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 100%;
}

.pg-recommended-card--hidden {
    display: none;
}

.pg-recommended-card__media {
    display: block;
    overflow: hidden;
}

.pg-recommended-card__image,
.pg-recommended-card__placeholder {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.pg-recommended-card__placeholder {
    background: linear-gradient(135deg, #e9f0ff, #fef6f6);
}

.pg-recommended-card__body {
    padding: 20px 24px 0 24px;
    flex: 1 1 auto;
}

.pg-recommended-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.pg-recommended-badge {
    background: #eef2ff;
    color: #4152a1;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
}

.pg-recommended-card__title {
    font-size: 20px;
    margin: 0 0 8px;
    color: #24345b;
}

.pg-recommended-card__title a {
    color: inherit;
    text-decoration: none;
}

.pg-recommended-card__title a:hover {
    text-decoration: underline;
}

.pg-recommended-card__excerpt {
    color: #4a4f63;
    line-height: 1.5;
    margin: 0 0 16px;
}

.pg-recommended-card__meta {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    color: #44506b;
    font-weight: 500;
}

.pg-recommended-card__meta-icon {
    margin-right: 6px;
}

.pg-recommended-icon {
    display: inline-block;
}

.pg-recommended-card__footer {
    padding: 0 24px 24px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.pg-recommended-card__price {
    color: #24345b;
}

.pg-recommended-card__price-prefix {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7182a7;
    margin-bottom: 4px;
}

.pg-recommended-card__price-value {
    font-size: 22px;
    font-weight: 700;
    color: #f7464e;
}

.pg-recommended-card__cta {
    background: #ee2939;
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    padding: 12px 26px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.pg-recommended-card__cta:hover {
    background: #d81a2a;
}

.pg-recommended-load-more {
    margin: 24px auto 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 999px;
    border: 1px solid #d0d7ec;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    color: #24345b;
}

.pg-recommended-load-more--done {
    cursor: default;
    opacity: 0.65;
}
.pg-modal input,
.pg-modal select,
.pg-modal textarea,
.pg-modal .StripeElement {
    font-size: 16px;
}
