
/* =========================================================
   HOLIDAY INSPIRATION
   ========================================================= */


/* ---------------------------------------------------------
   Base
   --------------------------------------------------------- */



.holiday-inspiration,
.holiday-inspiration *,
.holiday-inspiration *::before,
.holiday-inspiration *::after {
    box-sizing: border-box;
}


.holiday-inspiration {
    position: relative;

    width: calc(100% - 40px);
    max-width: 1400px;

    margin: 0 auto 100px;
    padding: 0;
}


.holiday-inspiration-divider {
    height: 1px;

    margin: 0 0 20px;

    background: #ddd7cc;
}



/* =========================================================
   SEARCH PANEL
   ========================================================= */

.holiday-inspiration-search {
    position: relative;

    margin: 0 0 35px;
    padding: 24px 30px 28px;

    border: 1px solid #e7e2d8;
    border-radius: 10px;

    background: #f7f5ef;
}


.holiday-inspiration-search-header {
    position: relative;

    margin: 0 0 20px;
    padding: 0 0 16px;

    border-bottom: 1px solid #ddd7cc;
}


.holiday-inspiration-search-header h2 {
    margin: 0 0 6px;
    padding: 0;

    font-size: 32px;
    line-height: 1.15;
    font-weight: 500;

    color: #173b35;
}


.holiday-inspiration-search-header p {
    max-width: 800px;

    margin: 0;
    padding: 0;

    font-size: 16px;
    line-height: 1.5;

    color: #64645f;
}


.holiday-inspiration-search-content {
    position: relative;
}



/* =========================================================
   BASIC DETAILS
   ========================================================= */

/*
    ============================================================
    TOP SEARCH ROWS
    ============================================================
*/

.holiday-inspiration-basics-row,
.holiday-inspiration-budget-row {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    align-items: start;

    width: 100%;

    min-width: 0;
}


.holiday-inspiration-basics-row {
    margin-bottom: 20px;
}


.holiday-inspiration-budget-row {
    margin-bottom: 4px;
}


/*
    Fields
*/

.holiday-inspiration-field {
    min-width: 0;
}


.holiday-inspiration-field > label,
.holiday-inspiration-field-label {

    display: block;

    margin: 0 0 7px;

    font-size: 13px;

    line-height: 1.3;

    font-weight: 700;

    color: #244c37;
}


/*
    Selects
*/

.holiday-inspiration-field select {

    display: block;

    width: 100%;

    height: 44px;

    padding: 0 12px;

    border: 1px solid #d5d2ca;

    border-radius: 10px;

    background: #fff;

    color: #333;

    font: inherit;

    box-sizing: border-box;
}


/*
    Slider headings
*/

.holiday-inspiration-field-heading {

    display: flex;

    align-items: baseline;

    justify-content: space-between;

    gap: 10px;

    min-height: 20px;

    margin-bottom: 8px;
}


.holiday-inspiration-field-heading label,
.holiday-inspiration-field-heading
.holiday-inspiration-field-label {

    margin: 0;

    font-size: 13px;

    line-height: 1.3;

    font-weight: 700;

    color: #244c37;
}


.holiday-inspiration-field-heading > span {

    flex: 0 0 auto;

    font-size: 13px;

    font-weight: 700;

    color: #244c37;
}


/*
    Sliders
*/

.holiday-inspiration-slider-field
input[type="range"] {

    display: block;

    width: 100%;

    margin: 8px 0 6px;
}


.holiday-inspiration-range-labels {

    display: flex;

    justify-content: space-between;

    gap: 10px;

    font-size: 11px;

    line-height: 1.3;

    color: #77736c;
}


/*
    Budget explanatory note
*/

.holiday-inspiration-budget-note {

    margin-top: 8px;

    font-size: 11px;

    line-height: 1.4;

    color: #77736c;
}


/*
    Flights
*/

.holiday-inspiration-flights
.holiday-inspiration-checkbox {

    display: flex;

    align-items: center;

    min-height: 44px;

    margin-top: 4px;

    padding: 9px 12px;

    border: 1px solid #d5d2ca;

    border-radius: 10px;

    background: #fff;

    box-sizing: border-box;
}


.holiday-inspiration-checkbox-text {

    font-size: 13px;

    line-height: 1.35;
}



/* =========================================================
   INTERNATIONAL FLIGHTS
   ========================================================= */

.holiday-inspiration-flights {

    align-items: center;

    min-height: 48px;

    padding-bottom: 1px;
}


.holiday-inspiration-checkbox {
    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin: 0;

    cursor: pointer;
}


.holiday-inspiration-checkbox input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.holiday-inspiration-checkbox-box {
    position: relative;

    flex: 0 0 20px;

    width: 20px;
    height: 20px;

    border: 1px solid #aaa69d;
    border-radius: 4px;

    background: #ffffff;
}


.holiday-inspiration-checkbox input:checked
+ .holiday-inspiration-checkbox-box {
    border-color: #315c52;

    background: #315c52;
}


.holiday-inspiration-checkbox input:checked
+ .holiday-inspiration-checkbox-box::after {
    content: "";

    position: absolute;

    left: 6px;
    top: 2px;

    width: 5px;
    height: 10px;

    border: solid #ffffff;
    border-width: 0 2px 2px 0;

    transform: rotate(45deg);
}


.holiday-inspiration-checkbox-text {
    font-size: 14px;
    line-height: 1.3;

    color: #343a36;
}



/* =========================================================
   INSPIRATION OPTIONS
   ========================================================= */

.holiday-inspiration-appeals {
    position: relative;
}


.holiday-inspiration-section-heading {
    margin: 0 0 16px;
}


.holiday-inspiration-section-heading h3 {
    margin: 0 0 5px;
    padding: 0;

    font-size: 24px;
    line-height: 1.2;
    font-weight: 500;

    color: #173b35;
}


.holiday-inspiration-section-heading p {
    margin: 0;
    padding: 0;

    font-size: 15px;
    line-height: 1.5;

    color: #77746e;
}


.holiday-inspiration-option-group {
    margin: 0 0 18px;
}


.holiday-inspiration-option-title {
    margin: 0 0 11px;

    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;

    color: #343a36;
}



/* =========================================================
   DESTINATION MATCH
   ========================================================= */

.holiday-destination-match {
    display: flex;

    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin: -2px 0 12px;
}


.holiday-destination-match-label {
    margin-right: 3px;

    font-size: 13px;

    color: #77746e;
}


.holiday-destination-match-option {
    position: relative;

    cursor: pointer;
}


.holiday-destination-match-option input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.holiday-destination-match-option span {
    display: block;

    padding: 6px 12px;

    border: 1px solid #cbc7be;
    border-radius: 10px;

    background: #ffffff;

    font-size: 12px;
    line-height: 18px;

    color: #555a56;
}


.holiday-destination-match-option:hover span {
    border-color: #738f87;
}


.holiday-destination-match-option input:checked + span {
    border-color: #315c52;

    background: #315c52;

    color: #ffffff;
}



/* =========================================================
   DESTINATION CARDS
   ========================================================= */

.holiday-destination-grid {
    display: grid;

    grid-template-columns:
        repeat(8, minmax(0, 1fr));

    gap: 10px;
}


.holiday-destination-wrap {
    position: relative;

    min-width: 0;
}


.holiday-destination {
    position: relative;

    display: block;

    width: 100%;
    height: 95px;

    margin: 0;
    padding: 0;

    overflow: hidden;

    border: 2px solid transparent;
    border-radius: 10px;

    background: #d5d3cd;

    font-family: inherit;
    text-align: left;

    cursor: pointer;
}


.holiday-destination-image {
    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    transition:
        transform 0.25s ease;
}


.holiday-destination::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 65%;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 0.65)
        );
}


.holiday-destination-name {
    position: absolute;

    z-index: 2;

    left: 10px;
    right: 9px;
    bottom: 10px;

    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;

    color: #ffffff;
}


.holiday-destination:hover
.holiday-destination-image {
    transform:
        scale(1.04);
}


.holiday-destination.selected {
    border-color: #315c52;
}


.holiday-destination-remove {
    display: none;

    position: absolute;

    z-index: 5;

    right: 10px;
    top: 10px;

    width: 30px;
    height: 30px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #315c52;

    font-family: inherit;
    font-size: 16px;
    line-height: 30px;
    font-weight: bold;
    text-align: center;

    color: #ffffff;

    cursor: pointer;
}


.holiday-destination.selected
+ .holiday-destination-remove {
    display: block;
}


.holiday-destination-remove:hover {
    background: #274d45;
}

.holiday-destination.disabled,
.holiday-destination-child.disabled {

    position: relative;

    opacity: 0.45;

    cursor: not-allowed;

    filter: grayscale(0.65);

    box-shadow: none;
}


/*
    Prevent normal hover effects from making a
    disabled destination look selectable.
*/

.holiday-destination.disabled:hover,
.holiday-destination-child.disabled:hover {

    transform: none;

    box-shadow: none;
}


/*
    Optional small visual marker linking the
    disabled state to the malaria-free filter.
*/

.holiday-destination-child.disabled::after {

    content: 'Malaria risk';

    margin-left: 7px;

    padding: 2px 5px;

    border-radius: 10px;

    background: #edf4ef;

    color: #244c37;

    font-size: 9px;

    line-height: 1;

    font-weight: 600;

    white-space: nowrap;
}

.holiday-malaria-filter-message {

    display: flex;

    align-items: flex-start;

    gap: 8px;

    margin: 12px 0 16px;

    padding: 9px 11px;

    border-radius: 10px;

    background: #edf4ef;

    color: #244c37;

    font-size: 12px;

    line-height: 1.4;
}


.holiday-malaria-filter-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    flex: 0 0 18px;

    width: 18px;

    height: 18px;

    border-radius: 50%;

    background: #244c37;

    color: #fff;

    font-size: 11px;

    font-weight: 700;
}

/* =========================================================
   CHILD DESTINATIONS
   ========================================================= */

.holiday-destination-children {
    margin: 12px 0 0;
    padding: 14px 16px;

    border: 1px solid #ddd8ce;
    border-radius: 9px;

    background: #ffffff;
}


.holiday-destination-children-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin: 0 0 10px;
}


.holiday-destination-children-title {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;

    color: #343a36;
}


.holiday-destination-children-help {
    font-size: 12px;

    color: #8a877f;
}


.holiday-destination-children-list {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}


.holiday-destination-child {
    display: inline-block;

    min-height: 36px;

    margin: 0;
    padding: 6px 14px;

    border: 1px solid #ccc8bf;
    border-radius: 20px;

    background: #f8f7f3;

    font-family: inherit;
    font-size: 13px;
    line-height: 20px;

    color: #454944;

    cursor: pointer;
}


.holiday-destination-child:hover {
    border-color: #738f87;

    background: #ffffff;
}


.holiday-destination-child.selected {
    border-color: #315c52;

    background: #315c52;

    color: #ffffff;
}


.holiday-destination-child.disabled {
    opacity: 0.35;

    cursor: not-allowed;
}



/* =========================================================
   HOLIDAY STYLE / EXPERIENCE CHOICES
   ========================================================= */

.holiday-choice-list {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}


.holiday-choice {
    display: inline-block;

    min-height: 40px;

    margin: 0;
    padding: 8px 17px;

    border: 1px solid #cbc7be;
    border-radius: 22px;

    background: #ffffff;

    font-family: inherit;
    font-size: 14px;
    line-height: 20px;

    color: #3f4440;

    cursor: pointer;
}


.holiday-choice:hover {
    border-color: #738f87;

    background: #f8faf9;
}


.holiday-choice.selected {
    border-color: #315c52;

    background: #315c52;

    color: #ffffff;
}


.holiday-choice.disabled {
    opacity: 0.38;

    cursor: not-allowed;
}


.holiday-option-message {
    display: none;

    margin: 10px 0 0;

    font-size: 13px;
    line-height: 1.4;

    color: #785d32;
}



/* =========================================================
   SELECTED IDEAS
   ========================================================= */

.holiday-selected-ideas {
    display: flex;

    align-items: center;

    gap: 10px;

    margin: 5px 0 18px;
    padding: 10px 13px;

    border-radius: 8px;

    background: #edf1ed;
}


.holiday-selected-ideas-title {
    flex: 0 0 auto;

    font-size: 13px;
    font-weight: 600;

    color: #40524c;
}


.holiday-selected-ideas-list {
    display: flex;

    min-width: 0;

    flex-wrap: wrap;

    gap: 6px;
}


.holiday-selected-idea {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    min-height: 27px;

    padding: 3px 7px 3px 10px;

    border-radius: 15px;

    background: #ffffff;

    font-size: 12px;

    color: #315c52;
}


.holiday-selected-idea-remove {
    margin: 0;
    padding: 0 2px;

    border: 0;

    background: transparent;

    font-size: 16px;
    line-height: 16px;

    color: #7b8984;

    cursor: pointer;
}



/* =========================================================
   SEARCH ACTION
   ========================================================= */
   
   

.holiday-inspiration-actions {

    display: flex;

    justify-content: flex-end;

    margin-top: 22px;
}


.holiday-inspiration-submit-button {
    display: inline-block;

    width: 100%;
    max-width: 360px;
    min-width: 0;

    height: 50px;

    margin: 0;
    padding: 0 28px;

    border: 0;
    border-radius: 8px;

    background: #315c52;

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;

    color: #ffffff;

    cursor: pointer;
}


.holiday-inspiration-submit-button:hover {
    background: #274d45;
}


.holiday-inspiration-submit-button:active {
    transform:
        translateY(1px);
}


.holiday-testing-visibility {
    display: flex;
    align-items: center;
    gap: 10px;

    margin: 0 10px;
    padding: 10px 12px;

    border-radius: 10px;
    border: 1px solid #315c52;
    background: #f3f1ec;
}


.holiday-testing-visibility-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 11px;
}


.holiday-testing-visibility-text strong {
    font-size: 12px;
    color: #244c37;
}


.holiday-testing-visibility-text span {
    color: #77736c;
}


.holiday-testing-switch {
    position: relative;

    display: inline-block;

    flex: 0 0 42px;

    width: 42px;
    height: 23px;

    cursor: pointer;
}


.holiday-testing-switch input {
    position: absolute;
    opacity: 0;
}


.holiday-testing-switch-track {
    position: absolute;
    inset: 0;

    border-radius: 20px;

    background: #c9c6bf;

    transition: background 0.2s ease;
}


.holiday-testing-switch-track::after {
    content: '';

    position: absolute;

    top: 3px;
    left: 3px;

    width: 17px;
    height: 17px;

    border-radius: 50%;

    background: #fff;

    transition: transform 0.2s ease;
}


.holiday-testing-switch input:checked
+ .holiday-testing-switch-track {
    background: #244c37;
}


.holiday-testing-switch input:checked
+ .holiday-testing-switch-track::after {
    transform: translateX(19px);
}


/* =========================================================
   RESULTS
   ========================================================= */
   
   .holiday-results-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    margin: 0 0 14px;
}


.holiday-results-sort {
    display: flex;
    align-items: center;

    gap: 7px;
}


.holiday-results-sort label {
    font-size: 12px;

    font-weight: 600;

    color: #77736c;
}


.holiday-results-sort select {
    height: 36px;

    padding: 0 30px 0 10px;

    border: 1px solid #d5d2ca;

    border-radius: 10px;

    background: #fff;

    color: #333;

    font-size: 12px;
}

.holiday-inspiration-results {
    position: relative;

    min-width: 0;

    margin: 0;
    padding: 0;
}


.holiday-inspiration-results-header {
    position: relative;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    min-width: 0;

    margin: 0 0 18px;
    padding: 0 5px;
}


.holiday-inspiration-results-header h2 {
    margin: 0 0 4px;
    padding: 0;

    font-size: 32px;
    line-height: 1.15;
    font-weight: 500;

    color: #173b35;
}


.holiday-inspiration-results-header p {
    margin: 0;
    padding: 0;

    font-size: 15px;
    line-height: 1.5;

    color: #77746e;
}


.holiday-inspiration-results-list {
    position: relative;

    display: flex;

    min-width: 0;

    flex-direction: column;

    gap: 18px;
}

.holiday-inspiration-loading {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 120px;

    padding: 24px;

    text-align: center;

    color: #244c37;
}


.holiday-inspiration-loading-spinner {

    display: inline-block;

    width: 22px;

    height: 22px;

    border: 3px solid rgba(36, 76, 55, 0.18);

    border-top-color: #244c37;

    border-radius: 50%;

    animation:
        holiday-inspiration-spin 0.8s linear infinite;
}


.holiday-inspiration-loading-text {

    font-size: 14px;

    font-weight: 600;
}


@keyframes holiday-inspiration-spin {

    to {
        transform:
            rotate(360deg);
    }

}



/* =========================================================
   FLEXIBILITY PROMPT
   ========================================================= */

.holiday-flexibility-prompt {
    margin: 24px 0 0;
    padding: 20px 22px;

    border: 1px solid #d8d3c8;
    border-radius: 12px;

    background: #f7f4ed;
}


.holiday-flexibility-prompt-title {
    margin-bottom: 5px;

    font-size: 17px;
    font-weight: 600;

    color: #315c52;
}


.holiday-flexibility-prompt-text {
    margin-bottom: 15px;

    font-size: 14px;
    line-height: 1.5;

    color: #5e5d58;
}


.holiday-flexibility-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}


.holiday-flexibility-button {
    min-width: 0;

    padding: 8px 14px;

    border: 1px solid #315c52;
    border-radius: 20px;

    background: #ffffff;

    font-family: inherit;
    font-size: 13px;

    color: #315c52;

    cursor: pointer;
}


.holiday-flexibility-button:hover,
.holiday-flexibility-button-primary {
    background: #315c52;

    color: #ffffff;
}



/* =========================================================
   RESULT CARD
   ========================================================= */

.holiday-result-card {
    display: grid;

    grid-template-columns:
        31%
        minmax(0, 1fr)
        235px;

    grid-template-areas:
        "image     main      side"
        "debug     debug     debug"
        "expanded  expanded  expanded"
        "enquiry   enquiry   enquiry";

    width: 100%;
    min-width: 0;
    max-width: 100%;

    overflow: hidden;

    border: 1px solid #dedad1;
    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.05);
}


.holiday-result-card > * {
    min-width: 0;
}



/* ---------------------------------------------------------
   Result image
   --------------------------------------------------------- */

.holiday-result-image {
    grid-area: image;

    position: relative;

    min-width: 0;
    min-height: 285px;

    overflow: hidden;

    background: #e3e0d8;
}


.holiday-result-image-inner {
    position: absolute;

    inset: 0;

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    transition:
        transform 0.3s ease;
}


.holiday-result-card:hover
.holiday-result-image-inner {
    transform:
        scale(1.02);
}



/* ---------------------------------------------------------
   Main result content
   --------------------------------------------------------- */

.holiday-result-main {
    grid-area: main;

    min-width: 0;

    padding: 22px 26px 24px;
}


.holiday-result-countries {
    margin: 0 0 5px;

    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;

    color: #73817c;
}


.holiday-result-title {
    margin: 0 0 21px;
    padding: 0;

    font-size: 22px;
    line-height: 1.3;
    font-weight: 500;

    overflow-wrap: anywhere;

    color: #173b35;
}


.holiday-result-section-title {
    margin: 0 0 9px;

    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;

    color: #77746e;
}



/* ---------------------------------------------------------
   Result properties
   --------------------------------------------------------- */

.holiday-result-properties {
    margin: 0 0 18px;
}


.holiday-result-property {
    display: grid;

    grid-template-columns:
        200px
        minmax(0, 1fr);

    gap: 14px;

    min-width: 0;

    padding: 8px 0;

    border-bottom: 1px solid #eeeae3;
}


.holiday-result-property:first-child {
    padding-top: 0;
}


.holiday-result-property:last-child {
    border-bottom: 0;
}


.holiday-result-property-location {
    min-width: 0;

    padding-top: 1px;

    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;

    overflow-wrap: anywhere;

    color: #59635f;
}


.holiday-result-property-name {
    min-width: 0;

    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;

    overflow-wrap: anywhere;

    color: #303a36;
}


.holiday-result-property-meta {
    margin-top: 2px;

    font-size: 12px;
    line-height: 1.4;

    color: #8a877f;
}



/* ---------------------------------------------------------
   Result highlights
   --------------------------------------------------------- */

.holiday-result-highlights {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin: 17px 0 0;
}


.holiday-result-highlight {
    display: inline-block;

    max-width: 100%;

    padding: 4px 9px;

    border-radius: 14px;

    background: #edf1ed;

    font-size: 12px;
    line-height: 18px;

    overflow-wrap: anywhere;

    color: #315c52;
}



/* ---------------------------------------------------------
   Price / actions
   --------------------------------------------------------- */

.holiday-result-side {
    grid-area: side;

    display: flex;

    min-width: 0;

    flex-direction: column;

    padding: 25px 22px;

    border-left: 1px solid #e5e1d9;

    background: #faf9f6;
}


.holiday-result-price-label {
    margin: 0 0 6px;

    font-size: 12px;
    line-height: 1.3;

    color: #77746e;
}


.holiday-result-price {
    margin: 0 0 7px;

    font-size: 21px;
    line-height: 1.25;
    font-weight: 600;

    overflow-wrap: anywhere;

    color: #173b35;
}


.holiday-result-price-dash {
    display: inline-block;

    padding: 0 3px;
}


.holiday-result-price-note {
    margin: 0 0 22px;

    font-size: 12px;
    line-height: 1.4;

    color: #7c7972;
}


.holiday-result-actions {
    display: flex;

    width: 100%;

    flex-direction: column;

    gap: 9px;

    margin-top: auto;
}


.holiday-result-explore,
.holiday-result-start {
    display: block;

    width: 100%;
    min-width: 0;
    min-height: 42px;

    margin: 0;
    padding: 9px 15px;

    border-radius: 7px;

    font-family: inherit;
    line-height: 1.3;
    font-weight: 600;

    cursor: pointer;
}


.holiday-result-explore {
    border: 1px solid #315c52;

    background: #315c52;

    font-size: 14px;

    color: #ffffff;
}


.holiday-result-explore:hover {
    background: #274d45;
}


.holiday-result-start {
    border: 1px solid #315c52;

    background: #ffffff;

    font-size: 13px;

    color: #315c52;
}


.holiday-result-start:hover {
    background: #edf3f0;
}



/* =========================================================
   EXPANDED ITINERARY
   ========================================================= */

.holiday-result-expanded {
    grid-area: expanded;

    width: 100%;
    min-width: 0;
    max-width: 100%;

    border-top: 1px solid #ddd8ce;

    background: #ffffff;
}



/* ---------------------------------------------------------
   Loading / errors
   --------------------------------------------------------- */

.holiday-expanded-loading,
.holiday-expanded-error {
    padding: 38px 34px;

    text-align: center;
}


.holiday-expanded-loading-title {
    margin-bottom: 5px;

    font-size: 18px;
    font-weight: 600;

    color: #173b35;
}


.holiday-expanded-loading-text {
    font-size: 13px;

    color: #81817c;
}


.holiday-expanded-error {
    font-size: 14px;

    color: #765b50;
}



/* ---------------------------------------------------------
   Intro + map
   --------------------------------------------------------- */

.holiday-expanded-overview {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, 420px);

    gap: 32px;
    align-items: start;

    min-width: 0;

    padding: 30px 34px 28px;
}


.holiday-expanded-intro {
    min-width: 0;
    max-width: 760px;

    padding: 0;
}


.holiday-expanded-eyebrow {
    margin-bottom: 6px;

    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: #7d918a;
}


.holiday-expanded-title {
    margin: 0 0 6px;

    font-size: 27px;
    line-height: 1.25;
    font-weight: 500;

    overflow-wrap: anywhere;

    color: #173b35;
}


.holiday-expanded-commercial-summary {

    display: flex;

    flex-wrap: wrap;

    align-items: flex-start;

    justify-content: space-between;

    gap: 12px 18px;

    margin: 0 0 16px;
}


/*
    Guide price now behaves like a subtitle,
    rather than a badge.
*/

.holiday-expanded-guide-price {
	
	  font-size: 21px;

    display: flex;

    flex-wrap: wrap;

    align-items: baseline;

    gap: 4px 6px;

    min-width: 0;

    padding: 0;

    background: none;

    border-radius: 0;

    color: #244c37;
}


.holiday-expanded-guide-price-label {


    line-height: 1.3;

    font-weight: 600;

    color: #77736c;
}


.holiday-expanded-guide-price-value {


    line-height: 1.3;

    font-weight: 700;

    color: #244c37;
}


/*
    Put the pricing assumption onto
    its own line as a footnote.
*/

.holiday-expanded-guide-price-note {

    flex-basis: 100%;

    margin-top: 1px;

    font-size: 12px;

    line-height: 1.35;

    font-weight: 400;

    color: #77736c;
}


/*
    Flights remain a proper status badge.
*/

.holiday-expanded-flight-status {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    flex: 0 0 auto;

    margin: 0;

    padding: 7px 10px;

    border-radius: 10px;

    font-size: 12px;

    line-height: 1.3;

    font-weight: 600;
}


.holiday-expanded-flight-status-included {

    background: #edf4ef;

    color: #244c37;
}


.holiday-expanded-flight-status-not-included {

    background: #f3f1ec;

    color: #6f6b64;
}


.holiday-expanded-flight-status-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    flex: 0 0 16px;

    width: 16px;

    height: 16px;
}


.holiday-expanded-flight-status-icon svg {

    display: block;

    width: 15px;

    height: 15px;

    fill: currentColor;
}


.holiday-expanded-copy {
    min-width: 0;

    margin: 0;

    font-size: 15px;
    line-height: 1.65;

    color: #66645f;
}


.holiday-expanded-copy p {
    margin: 0 0 10px;
}


.holiday-expanded-copy p:last-child {
    margin-bottom: 0;
}

.holiday-expanded-map-panel {
    width: 100%;
    min-width: 0;
    max-width: 420px;
}


.holiday-expanded-map-title {
    margin: 0 0 8px;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;

    color: #73817c;
}


.holiday-expanded-map {
    width: 100%;
    min-width: 0;

    overflow: hidden;

    border: 1px solid #dedad1;
    border-radius: 8px;

    background: #f3f1eb;
}


.holiday-expanded-map img {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    border: 0;
}


/*
    Temporary compatibility if the map is still
    being rendered as its own section.
*/

.holiday-expanded-map-section
.holiday-expanded-map {
    max-width: 640px;
}



/* ---------------------------------------------------------
   Generic expanded section
   --------------------------------------------------------- */

.holiday-expanded-section {
    min-width: 0;

    padding: 30px 34px;

    border-top: 1px solid #ebe7df;
}


.holiday-expanded-section-heading {
    margin: 0 0 22px;

    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;

    color: #173b35;
}



/* ---------------------------------------------------------
   Day blocks
   --------------------------------------------------------- */

.holiday-expanded-day-block {
    min-width: 0;

    margin-top: 28px;
    padding-top: 24px;

    border-top: 1px solid #e3dfd7;
}


/*
    The section heading is the first child, so :first-child
    does not work for the first itinerary day.
*/

.holiday-expanded-section-heading
+ .holiday-expanded-day-block {
    margin-top: 0;
    padding-top: 0;

    border-top: 0;
}


.holiday-expanded-day-heading {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 58px;

    height: 52px;

    margin: 0 0 14px;

    padding-top: 8px;

    border: 2px solid #244c37;

    border-radius: 10px;

    background: #fff;

    color: #244c37;

    font-size: 11px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: 0.06em;

    text-transform: uppercase;

    box-sizing: border-box;
}


/*
    Calendar header bar
*/

.holiday-expanded-day-heading::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 12px;

    border-radius: 7px 7px 0 0;

    background: #244c37;
}


/*
    Calendar binding rings
*/

.holiday-expanded-day-heading::after {

    content: '';

    position: absolute;

    top: -5px;

    left: 13px;

    width: 5px;

    height: 10px;

    border-radius: 3px;

    background: #244c37;

    box-shadow:
        25px 0 0 #244c37;
}

.holiday-expanded-day-heading {

    flex-direction: column;

    gap: 1px;
}


.holiday-expanded-day-label {

    font-size: 9px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.holiday-expanded-day-number {

    font-size: 18px;

    line-height: 1;

    font-weight: 700;
}


.holiday-expanded-day-services {
    display: flex;

    min-width: 0;

    flex-direction: column;

    gap: 12px;
}



/* ---------------------------------------------------------
   Individual services
   --------------------------------------------------------- */

.holiday-expanded-service {
    display: grid;

    grid-template-columns:
        18px
        minmax(0, 1fr);

    gap: 10px;
    align-items: start;

    min-width: 0;
}

.holiday-expanded-service-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    margin-top: 1px;

    color: #244c37;
}


.holiday-expanded-service-icon svg {
    display: block;

    width: 16px;
    height: 16px;

    fill: currentColor;
}


.holiday-expanded-service-dot {
    display: block;

    width: 8px;
    height: 8px;

    margin-top: 3px;

    border-radius: 50%;

    background: #244c37;
}


.holiday-expanded-service-content {
    min-width: 0;
}


.holiday-expanded-service-type {
    margin: 0;

    font-size: 11px;
    line-height: 18px;

    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;

    color: #77736c;
}


.holiday-expanded-service-text {
    min-width: 0;

    font-size: 14px;
    line-height: 1.5;

    overflow-wrap: anywhere;

    color: #333333;
}


.holiday-expanded-service-meta {
    min-width: 0;

    margin-top: 2px;

    font-size: 13px;
    line-height: 1.4;

    overflow-wrap: anywhere;

    color: #77736c;
}



/* ---------------------------------------------------------
   Compact / transit accommodation
   --------------------------------------------------------- */

.holiday-expanded-stay-compact {
    display: block;

    padding: 14px 16px;
}


.holiday-expanded-stay-compact
.holiday-expanded-location {
    margin-bottom: 4px;

    font-size: 16px;
}


.holiday-expanded-stay-compact
.holiday-expanded-property {
    font-size: 15px;
}


.holiday-expanded-stay-compact
.holiday-expanded-property-type {
    margin-bottom: 0;
}



/* ---------------------------------------------------------
   Standard accommodation
   --------------------------------------------------------- */

.holiday-expanded-stay {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(200px, 240px);

    gap: 26px;
    align-items: start;

    min-width: 0;

    margin: 0;
    padding: 16px;

    border-radius: 6px;
    background: #f6f4ef;
}
}


.holiday-expanded-stay-content {
    min-width: 0;
}


.holiday-expanded-location {
    margin-bottom: 7px;

    font-size: 19px;
    line-height: 1.25;
    font-weight: 600;

    overflow-wrap: anywhere;

    color: #173b35;
}


.holiday-expanded-property {
    margin-bottom: 2px;

    font-size: 16px;
    line-height: 1.35;
    font-weight: 600;

    overflow-wrap: anywhere;

    color: #383d39;
}


.holiday-expanded-property-type {
    margin-bottom: 10px;

    font-size: 13px;
    line-height: 1.4;

    color: #88857e;
}


.holiday-expanded-property-summary {
    min-width: 0;

    margin-top: 10px;

    font-size: 14px;
    line-height: 1.6;

    overflow-wrap: anywhere;

    color: #696762;
}


.holiday-expanded-property-summary p {
    margin: 0 0 10px;
}


.holiday-expanded-property-summary p:last-child {
    margin-bottom: 0;
}


.holiday-expanded-property-summary ul,
.holiday-expanded-property-summary ol {
    margin: 8px 0 10px 20px;
    padding: 0;
}


.holiday-expanded-gallery {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 7px;

    min-width: 0;
}


.holiday-expanded-gallery-image {
    width: 100%;

    overflow: hidden;

    border-radius: 6px;

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


.holiday-expanded-gallery-image-main {
    grid-column:
        1 / -1;

    height: 150px;
}


.holiday-expanded-gallery-image-secondary {
	  height:82px;
    cursor: pointer;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


@media (hover: hover) and (pointer: fine) {

    .holiday-expanded-gallery-image-secondary:hover {
        opacity: 0.88;

        transform:
            scale(1.02);
    }

}


.holiday-expanded-photo-alt {
    position: absolute;

    width: 1px;
    height: 1px;

    margin: -1px;
    padding: 0;

    overflow: hidden;

    clip: rect(0 0 0 0);

    border: 0;
}



/* ---------------------------------------------------------
   Reasons
   --------------------------------------------------------- */

.holiday-expanded-simple {
    padding-top: 25px;
    padding-bottom: 25px;
}


.holiday-expanded-simple p {
    max-width: 720px;

    margin: 0 0 10px;

    font-size: 14px;
    line-height: 1.6;

    color: #696762;
}


.holiday-expanded-reasons {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}


.holiday-expanded-reason {
    max-width: 100%;

    padding: 8px 13px;

    border-radius: 10px;

    background: #edf3f0;

    font-size: 13px;
    line-height: 1.3;

    overflow-wrap: anywhere;

    color: #315c52;
}



/* ---------------------------------------------------------
   Expanded footer
   --------------------------------------------------------- */

.holiday-expanded-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 35px;

    min-width: 0;

    padding: 28px 34px;

    border-top: 1px solid #d7ddd9;

    background: #f4f7f5;
}


.holiday-expanded-footer-copy {
    min-width: 0;
    max-width: 650px;

    font-size: 14px;
    line-height: 1.5;

    color: #60645f;
}


.holiday-expanded-footer-title {
    margin-bottom: 4px;

    font-size: 19px;
    line-height: 1.25;
    font-weight: 600;

    color: #173b35;
}


.holiday-expanded-footer-actions {
    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 0;
}


.holiday-expanded-footer-actions
.holiday-result-start {
    width: auto;

    padding-left: 20px;
    padding-right: 20px;

    background: #315c52;

    color: #ffffff;

    white-space: nowrap;
}


.holiday-expanded-footer-actions
.holiday-result-start:hover {
    background: #274d45;
}


.holiday-result-close-details {
    min-width: 0;
    min-height: 42px;

    padding: 9px 15px;

    border: 0;

    background: transparent;

    font-family: inherit;
    font-size: 13px;

    color: #676d69;

    cursor: pointer;
}


.holiday-result-close-details:hover {
    text-decoration: underline;
}



/* =========================================================
   ENQUIRY PANEL
   ========================================================= */

.holiday-result-enquiry {
    grid-area: enquiry;

    width: 100%;
    min-width: 0;
    max-width: 100%;

    border-top: 1px solid #d6ddd9;

    background: #f6f8f6;
}


.holiday-enquiry-intro {
    max-width: 900px;

    padding: 32px 34px 27px;
}


.holiday-enquiry-eyebrow {
    margin: 0 0 6px;

    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: #7d918a;
}


.holiday-enquiry-title {
    margin: 0 0 9px;
    padding: 0;

    font-size: 28px;
    line-height: 1.2;
    font-weight: 500;

    overflow-wrap: anywhere;

    color: #173b35;
}


.holiday-enquiry-intro p {
    max-width: 780px;

    margin: 0;

    font-size: 15px;
    line-height: 1.6;

    color: #60645f;
}



/* ---------------------------------------------------------
   What we already know
   --------------------------------------------------------- */

.holiday-enquiry-known {
    padding: 23px 34px 25px;

    border-top: 1px solid #dde2df;

    background: #ffffff;
}


.holiday-enquiry-section-heading {
    margin: 0 0 12px;

    font-size: 18px;
    line-height: 1.25;
    font-weight: 600;

    color: #173b35;
}


.holiday-enquiry-known-items {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}


.holiday-enquiry-known-item {
    max-width: 100%;

    padding: 7px 12px;

    border-radius: 10px;

    background: #eaf1ed;

    font-size: 13px;
    line-height: 1.3;

    overflow-wrap: anywhere;

    color: #315c52;
}


.holiday-enquiry-known-note {
    margin: 11px 0 0;

    font-size: 12px;
    line-height: 1.4;

    color: #8a8983;
}



/* ---------------------------------------------------------
   Enquiry form sections
   --------------------------------------------------------- */

.holiday-enquiry-form {
    margin: 0;
    padding: 0;
}


.holiday-enquiry-section {
    min-width: 0;

    padding: 27px 34px;

    border-top: 1px solid #dde2df;
}


.holiday-enquiry-section-help {
    margin: -5px 0 15px;

    font-size: 13px;
    line-height: 1.4;

    color: #85827c;
}



/* ---------------------------------------------------------
   Tailoring choices
   --------------------------------------------------------- */

.holiday-enquiry-tailoring {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}


.holiday-enquiry-choice {
    display: inline-block;

    max-width: 100%;
    min-height: 40px;

    margin: 0;
    padding: 8px 15px;

    border: 1px solid #c8cec9;
    border-radius: 22px;

    background: #ffffff;

    font-family: inherit;
    font-size: 13px;
    line-height: 20px;

    color: #4c544f;

    cursor: pointer;
}


.holiday-enquiry-choice:hover {
    border-color: #738f87;

    background: #ffffff;
}


.holiday-enquiry-choice.selected {
    border-color: #315c52;

    background: #315c52;

    color: #ffffff;
}


.holiday-enquiry-choice-happy {
    border-color: #91a79f;
}



/* ---------------------------------------------------------
   Enquiry comments
   --------------------------------------------------------- */

.holiday-enquiry-label {
    display: block;

    margin: 0 0 9px;

    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;

    color: #343a36;
}


.holiday-enquiry-comments {
    display: block;

    width: 100%;
    min-width: 0;
    min-height: 105px;

    margin: 0;
    padding: 13px 15px;

    border: 1px solid #d1d4d0;
    border-radius: 8px;

    background: #ffffff;

    resize: vertical;

    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;

    color: #343a36;
}


.holiday-enquiry-comments:focus {
    outline: none;

    border-color: #315c52;
}



/* ---------------------------------------------------------
   Contact details
   --------------------------------------------------------- */

.holiday-enquiry-contact-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 16px 18px;

    max-width: 900px;
}


.holiday-enquiry-field {
    min-width: 0;
}


.holiday-enquiry-field-phone {
    grid-column:
        1 / 2;
}


.holiday-enquiry-field label {
    display: block;

    margin: 0 0 6px;

    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;

    color: #4b514d;
}


.holiday-enquiry-field label span {
    font-weight: 400;

    color: #92908a;
}


.holiday-enquiry-field input {
    display: block;

    width: 100%;
    min-width: 0;
    height: 44px;

    margin: 0;
    padding: 0 12px;

    border: 1px solid #d1d4d0;
    border-radius: 7px;

    background: #ffffff;

    font-family: inherit;
    font-size: 14px;

    color: #343a36;
}


.holiday-enquiry-field input:focus {
    outline: none;

    border-color: #315c52;
}



/* ---------------------------------------------------------
   Enquiry footer
   --------------------------------------------------------- */

.holiday-enquiry-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    min-width: 0;

    padding: 25px 34px;

    border-top: 1px solid #d5ddd8;

    background: #edf3f0;
}


.holiday-enquiry-footer-text {
    min-width: 0;
    max-width: 590px;

    font-size: 13px;
    line-height: 1.5;

    color: #606762;
}


.holiday-enquiry-footer-actions {
    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 0;
}


.holiday-enquiry-send {
    min-width: 0;
    min-height: 44px;

    padding: 9px 22px;

    border: 1px solid #315c52;
    border-radius: 7px;

    background: #315c52;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    color: #ffffff;

    cursor: pointer;
}


.holiday-enquiry-send:hover {
    background: #274d45;
}


.holiday-enquiry-cancel {
    min-width: 0;
    min-height: 44px;

    padding: 9px 14px;

    border: 0;

    background: transparent;

    font-family: inherit;
    font-size: 13px;

    color: #696e6a;

    cursor: pointer;
}


.holiday-enquiry-cancel:hover {
    text-decoration: underline;
}



/* =========================================================
   TEMPORARY DEBUG
   ========================================================= */

.holiday-result-debug {
    grid-area: debug;

    display: flex;

    min-width: 0;

    flex-wrap: wrap;

    gap: 20px;

    padding: 7px 14px;

    border-top: 1px solid #ddd9d0;

    background: #f0eee8;

    font-family:
        Consolas,
        Monaco,
        monospace;

    font-size: 11px;
    line-height: 1.4;

    color: #6d6962;
}

.debugspan{
	padding:5px 0;
	}


.holiday-result-debug > * {
    min-width: 0;

    overflow-wrap: anywhere;
}

.holiday-result-debug-visibility {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}


.holiday-result-visibility-status {
    padding: 4px 7px;

    border-radius: 10px;

    font-size: 10px;
    font-weight: 700;
}


.holiday-result-visibility-status.is-visible {
    background: #edf4ef;
    color: #244c37;
}


.holiday-result-visibility-status.is-hidden {
    background: #eee9e4;
    color: #7a5549;
}


.holiday-result-visibility-toggle {
    padding: 5px 9px;

    border: 1px solid #c9c6bf;
    border-radius: 10px;

    background: #fff;

    color: #244c37;

    font-size: 11px;
    font-weight: 600;

    cursor: pointer;
}


.holiday-result-visibility-toggle:hover {
    background: #f6f4ef;
}


/* =========================================================
   EMPTY RESULTS
   ========================================================= */

.holiday-results-empty {
    padding: 25px;

    border: 1px solid #dedad1;
    border-radius: 12px;

    background: #ffffff;

    font-size: 15px;
    line-height: 1.5;

    color: #64645f;
}



/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 1000px) {
	

    .holiday-inspiration-budget-row {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .holiday-inspiration-flights {

        grid-column:
            1 / -1;

    }



    .holiday-inspiration {
        width: calc(100% - 30px);
    }


    .holiday-inspiration-search {
        padding: 22px;
    }


    .holiday-inspiration-basics {
        grid-template-columns:
            1.5fr
            1.5fr
            0.7fr
            0.7fr;

        gap: 12px;
    }


    .holiday-destination-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 10px;
    }


    .holiday-destination {
        height: 110px;
    }


    /*
        Result card:
        image on the left, content and price on the right.
    */

    .holiday-result-card {
        grid-template-columns:
            34%
            minmax(0, 1fr);

        grid-template-areas:
            "image     main"
            "image     side"
            "debug     debug"
            "expanded  expanded"
            "enquiry   enquiry";
    }


    .holiday-result-side {
        border-left: 0;
        border-top: 1px solid #e5e1d9;
    }


    /*
        Slightly smaller overview map on tablet.
    */

    .holiday-expanded-overview {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(260px, 340px);

        gap: 25px;
    }


    .holiday-expanded-footer {
        gap: 22px;
    }

}



/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 700px) {

    .holiday-inspiration {
        width: calc(100% - 20px);

        margin-bottom: 50px;
    }


    .holiday-inspiration-search {
        margin-bottom: 25px;
        padding: 18px 15px 20px;

        border-radius: 12px;
    }


    /*
        Headings
    */

    .holiday-inspiration-search-header h2,
    .holiday-inspiration-results-header h2 {
        font-size: 25px;
    }


    .holiday-inspiration-section-heading h3 {
        font-size: 20px;
    }


    /*
        Basic details
    */
    

    .holiday-inspiration-basics-row {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;

    }


    .holiday-inspiration-basics-row
    .holiday-inspiration-field:nth-child(3) {

        grid-column:
            1 / -1;

    }


    .holiday-inspiration-budget-row {

        grid-template-columns:
            minmax(0, 1fr);

        gap: 18px;

    }


    .holiday-inspiration-flights {

        grid-column:
            auto;

    }



    .holiday-inspiration-basics {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap: 14px 12px;
    }


    .holiday-travel-date-field {
        grid-column:
            1 / -1;
    }


    .holiday-inspiration-budget-row {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 15px;
    }


    .holiday-inspiration-field input[type="date"],
    .holiday-inspiration-field select {
        height: 46px;
    }


    .holiday-travel-date-selects {
        grid-template-columns:
            minmax(0, 1.35fr)
            minmax(0, 0.85fr);

        gap: 8px;
    }


    /*
        Child ages
    */

    .holiday-child-age-field {
        width: calc(50% - 6px);
    }


    /*
        Holiday choices
    */

    .holiday-choice-list {
        gap: 7px;
    }


    .holiday-choice {
        min-height: 42px;

        padding: 8px 14px;

        font-size: 13px;
    }


    /*
        Destinations
    */
    
    .holiday-destination-match {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 7px;

    align-items: stretch;
}


.holiday-destination-match-label {
    grid-column:
        1 / -1;

    margin: 0 0 2px;
}


.holiday-destination-match-option {
    min-width: 0;
}


.holiday-destination-match-option span {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    min-height: 42px;

    padding: 6px 8px;

    text-align: center;

    white-space: normal;
}

    .holiday-destination-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }


    .holiday-destination {
        height: 120px;
    }


    .holiday-destination-name {
        left: 11px;
        bottom: 11px;

        font-size: 14px;
    }


    .holiday-destination-remove {
        right: 8px;
        top: 8px;

        width: 34px;
        height: 34px;

        line-height: 34px;
    }


    /*
        Child destinations
    */

    .holiday-destination-children {
        padding: 13px;
    }


    .holiday-destination-children-heading {
        display: block;
    }


    .holiday-destination-children-help {
        margin-top: 4px;
    }


    .holiday-destination-child {
        min-height: 40px;

        padding: 8px 13px;
    }


    /*
        Selected ideas
    */

    .holiday-selected-ideas {
        align-items: flex-start;

        flex-direction: column;

        gap: 7px;
    }


    /*
        Search button
    */

    .holiday-inspiration-actions {
        display: block;

        margin-top: 18px;
    }


    .holiday-inspiration-submit-button {
        width: 100%;
        max-width: none;

        height: 50px;
    }


    /*
        Results heading
    */

    .holiday-inspiration-results-header {
        display: block;

        padding: 0 2px;
    }


    /*
        Result card
    */

    .holiday-result-card {
        grid-template-columns:
            minmax(0, 1fr);

        grid-template-areas:
            "image"
            "main"
            "side"
            "debug"
            "expanded"
            "enquiry";
    }


    .holiday-result-image {
        min-height: 220px;
    }


    .holiday-result-main {
        padding: 20px 18px;
    }


    .holiday-result-title {
        margin-bottom: 18px;

        font-size: 20px;
    }


    .holiday-result-property {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 2px;

        padding: 9px 0;
    }


    .holiday-result-side {
        padding: 18px;

        border-left: 0;
        border-top: 1px solid #e5e1d9;
    }


    .holiday-result-price {
        font-size: 20px;
    }


    /*
        Flexibility buttons
    */

    .holiday-flexibility-actions {
        display: grid;

        grid-template-columns:
            minmax(0, 1fr);
    }


    .holiday-flexibility-button {
        width: 100%;
    }


    /*
        Expanded itinerary overview
    */

    .holiday-expanded-overview {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 22px;

        padding: 24px 20px;
    }

    .holiday-expanded-commercial-summary {

        display: block;

        margin-bottom: 14px;

    }


    .holiday-expanded-flight-status {

        margin-top: 10px;

    }



    .holiday-expanded-intro {
        max-width: none;
    }


    .holiday-expanded-map-panel {
        width: 100%;
        max-width: 460px;
    }


    .holiday-expanded-map {
        width: 100%;
    }


    /*
        Expanded sections
    */

    .holiday-expanded-section,
    .holiday-expanded-footer {
        padding-left: 20px;
        padding-right: 20px;
    }


    .holiday-expanded-section {
        padding-top: 24px;
        padding-bottom: 24px;
    }


    .holiday-expanded-day-block {
        margin-top: 22px;
        padding-top: 20px;
    }


    .holiday-expanded-section-heading
    + .holiday-expanded-day-block {
        margin-top: 0;
        padding-top: 0;
    }


    .holiday-expanded-day-heading {

        margin-bottom: 14px;
    }


    .holiday-expanded-day-title {
        margin-top: 4px;

        font-size: 17px;
    }


    /*
        Accommodation
    */

    .holiday-expanded-stay {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 14px;

        padding: 14px;
    }


    .holiday-expanded-gallery {
        width: 100%;
    }


    .holiday-expanded-gallery-image-main {
        height: 190px;
    }


    .holiday-expanded-gallery-image-secondary {
        height: 105px;
    }




    /*
        Expanded footer
    */

    .holiday-expanded-footer {
        display: block;
    }


    .holiday-expanded-footer-actions {
        display: grid;

        grid-template-columns:
            minmax(0, 1fr);

        width: 100%;

        margin-top: 18px;
    }


    .holiday-expanded-footer-actions
    .holiday-result-start,
    .holiday-result-close-details {
        width: 100%;

        white-space: normal;
    }


    /*
        Enquiry
    */

    .holiday-enquiry-intro,
    .holiday-enquiry-known,
    .holiday-enquiry-section,
    .holiday-enquiry-footer {
        padding-left: 20px;
        padding-right: 20px;
    }


    .holiday-enquiry-title {
        font-size: 24px;
    }


    .holiday-enquiry-tailoring {
        display: grid;

        grid-template-columns:
            minmax(0, 1fr);
    }


    .holiday-enquiry-choice {
        width: 100%;

        text-align: left;
    }


    .holiday-enquiry-contact-grid {
        grid-template-columns:
            minmax(0, 1fr);
    }


    .holiday-enquiry-field-phone {
        grid-column: auto;
    }


    .holiday-enquiry-footer {
        display: block;
    }


    .holiday-enquiry-footer-actions {
        display: grid;

        grid-template-columns:
            minmax(0, 1fr);

        width: 100%;

        margin-top: 18px;
    }


    .holiday-enquiry-send,
    .holiday-enquiry-cancel {
        width: 100%;

        white-space: normal;
    }


    /*
        Debug
    */

    .holiday-result-debug {
        flex-direction: column;

        gap: 3px;
    }

}



/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media screen and (max-width: 440px) {

    .holiday-inspiration-basics {
        grid-template-columns:
            minmax(0, 1fr);
    }


    .holiday-travel-date-field {
        grid-column: auto;
    }


    .holiday-destination {
        height: 105px;
    }


    .holiday-inspiration-search {
        padding-left: 12px;
        padding-right: 12px;
    }


    .holiday-expanded-overview,
    .holiday-expanded-section,
    .holiday-expanded-footer,
    .holiday-enquiry-intro,
    .holiday-enquiry-known,
    .holiday-enquiry-section,
    .holiday-enquiry-footer {
        padding-left: 16px;
        padding-right: 16px;
    }


    .holiday-expanded-stay {
        padding-left: 18px;
    }


    .holiday-expanded-title {
        font-size: 23px;
    }


    .holiday-expanded-map-panel {
        max-width: none;
    }

}
