/* tourSelector.css – FINAL + ALL FIXES – November 2025 */

@import url('https://fonts.googleapis.com/css2?family=Averia+Serif+Libre:wght@400;700&display=swap');

/* ───── Global fonts ───── */
.trip-selector__label,
.trip-summary__title {
    font-family: 'Averia Serif Libre', serif !important;
    font-size: 16px !important;
    font-weight: 700;
    color: #446344;
    margin-bottom: 1em;
    display: block;
}

.experience-checkbox__text,
.experience-checkbox__helper,
.trip-summary__content {
    font-family: Verdana, Geneva, sans-serif !important;
    font-size: 16px;
    line-height: 1.5;
    color: #446344;
}

/* ───── Containers ───── */
.trip-selector,
.experience-checkbox,
.trip-summary {
    margin: 0px !important;
    padding: 1em !important;
    background: #FFFFFF;
    border: 1px solid #446344;
    border-radius: 10px;
}

/* ───── Row with dropdown + quantity – perfect alignment & equal height ───── */
.trip-selector__row {
    display: flex;
    align-items: stretch;
    gap: 2em;
    margin-bottom: 1.5em;
}
@media (max-width: 768px) {
    .trip-selector__row {
        flex-direction: column;
        gap: 1em;
    }
    .trip-selector__quantity,
    .trip-select,
    .experience-checkbox {
        max-width: 100%;
    }
}

/* ───── Lodging dropdown – full width, exact same height, NO green border/outline ───── */
.trip-select,
.trip-select:hover,
.trip-select:focus,
.trip-select:active {
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    max-width: none !important;
    padding: 0 1em !important;
    font-size: 16px !important;
    color: #446344 !important;
    background: white !important;
    border: none !important;
    border-radius: 8px !important;
    appearance: none;
    outline: none !important;                     /* kill browser default */
    
    /* PERMANENT dark-green outline – exactly same as the number input */
    outline: 1px solid #446344 !important;
    outline-offset: -4px !important;              /* sits perfectly inside the wrapper */
    
    /* Custom dark-green dropdown arrow – always visible */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23446344' d='M1.5 0L6 4.5 10.5 0 12 1.5 6 8 0 1.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1em center;
}

/* Optional: make it slightly thicker on hover/focus for better feedback */
.trip-select:hover,
.trip-select:focus {
    outline: 1px solid #446344 !important;
    outline-offset: -5px !important;
}

/* Keep the green rounded border on the container (not the select itself) */
.trip-selector__row > div:first-child {
    border: 2px solid #446344 !important;
    border-radius: 10px !important;
    padding: 6px;
    background: white;
}

/* ───── Quantity selector – same height as dropdown ───── */
.trip-selector__quantity {
    height: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1em;
    max-width: none !important;
}

/* Plus & Minus buttons – correct dark green → orange-yellow hover */
.trip-btn,
.trip-btn:hover,
.trip-btn:focus {
    width: 44px;
    height: 44px;
    background: white !important;
    color: #446344 !important;
    border: 1px solid #446344 !important;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.25s ease;
}
.trip-btn:hover {
    background: #FFCC33 !important;
    color: #446344 !important;
    border-color: #FFCC33 !important;
}

/* Number input */
.trip-input {
    width: 90px;
    height: 44px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid #446344;
    border-radius: 8px;
}

/* ───── Experience checkboxes ───── */
.experience-checkbox {
    max-width: 80%;
    margin: 1em auto;
    transition: background 0.3s;
}
.experience-checkbox:hover { background: #edf4ed; }

.experience-checkbox__label { display: flex; align-items: flex-start; cursor: pointer; }
.experience-checkbox__input { position: absolute; opacity: 0; }

.experience-checkbox__box {
    width: 26px;
    height: 26px;
    border: 2px solid #446344;
    border-radius: 6px;
    background: white;
    margin-right: 1em;
    flex-shrink: 0;
    margin-top: 1em;
    position: relative;
}
.experience-checkbox__input:checked + .experience-checkbox__box {
    background: #446344;
}
.experience-checkbox__input:checked + .experience-checkbox__box::after {
    content: "✓";
    position: absolute;
    top: -5px;
    left: 2px;
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.experience-checkbox__helper {
    margin: 1em 0 0;
    font-size: 14px;
    color: #666;
    font-style: italic;
    text-align: center;
}

/* ───── Summary box ───── */
.trip-summary {
    background: #FFFFFF;
    border: 2px solid #446344;
    color: #446344;
}
.trip-summary__title { color: #446344 !important; }
.trip-summary__content strong { color: #446344; }

.trip-summary__btn {
    margin-top: 1em;
    background: #A3C586;
    color: #446344;
    padding: 1em 1em;
    border: 2px solid #446344;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    font-family: Verdana, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}
.trip-summary__btn:hover {
    background: #FFCC33;
    border-color: #FFCC33;
    color: #446344;
}

/* ───── CENTER ALL CONTAINERS EXACTLY LIKE THE LODGING SELECTOR ───── */
.trip-selector,
.trip-selector__row,
.experience-checkbox,
.trip-summary {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 900px;           /* adjust this number to your preferred max width */
    width: 100%;
}

/* ───── FIX 1: Make the Summary box full-width inside its centered container ───── */
.trip-summary {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;   /* makes padding count inside width */
}

.summary_content{
    color:#446344;
}
/* ───── FIX 2: Kill the red/pink button – force your exact colours ───── */
.trip-summary__btn,
.trip-summary__btn:hover,
.trip-summary__btn:focus,
.trip-summary__btn:active {
    background: #A3C586 !important;      /* your light green */
    color: #446344 !important;           /* dark green text */
    border: 2px solid #446344 !important;
}

.trip-summary__btn:hover {
    background: #FFCC33 !important;      /* orange-yellow on hover */
    border-color: #FFCC33 !important;
}

/* Mobile – keep full width but still centered */
@media (max-width: 768px) {
    .trip-selector,
    .trip-selector__row,
    .experience-checkbox,
    .trip-summary {
        max-width: 100%;
        padding-left: 1em;
        padding-right: 1em;
    }
}

/* Optional: tighter centering on very large screens */
@media (min-width: 1200px) {
    .trip-selector,
    .trip-selector__row,
    .experience-checkbox,
    .trip-summary {
        max-width: 850px;       /* slightly narrower on big screens – looks premium */
    }
}