/* existing styles (kept) */
.ai-destinations label {
    display: inline-block;
    cursor: pointer;
    text-align: center;
}
p.description {
    margin-bottom: 10px;
    font-size: 12px;
    color: #acacac;
}
form#ai-tour-form label {
    color: #000000;
}
input.regular-text {
    width: 100% !important;
}
.ai-destinations input[type="checkbox"] {
    display: none;
    margin: 0 auto 5px;
}
.ai-interests label {
    display: inline-block;
    margin-right: 15px;
}
.regular-text{
    width: auto;
}
.ai-destinations label img {
    border-radius: 8px;
    margin-bottom: 20px;
}
.personal-details {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.datarow {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}
.personal-details label {
    width: 100%;
}
.personal-details label input {
    margin-top: 10px;
}
form#ai-tour-form h2 {
    font-size: 22px;
    margin-bottom:0px !important;
    font-weight: 400;
}
.checkbox-wrap {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    align-content: center;
}
.trvelers-wrap,
.trveledate-wrap {
    display: flex;
/*     justify-content: center; */
    gap: 20px;
}
.travelwraper {
    width: 100%;
}
.trvelers-wrap label input,
.trveledate-wrap label input{
    margin-top: 10px;
    width: 100% !important;
}
.selected-destination{
    border: 2px solid #F5962B!important;
}
.ai-destinations label {
    border: 2px solid #fff;
    padding: 5px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ai-destinations {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 20px;
}
form#ai-tour-form button {
    margin-top: 30px;
}
div#ai-tour-summary {
/*     background: #f7f7f7; */
    padding: 30px;
    border-radius: 17px;
    border: 1px solid #e7e6e6;
}
input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    width: 100%;
    border: 1px solid #666;
    border-radius: 3px;
    padding: .5rem 1rem;
    transition: all .3s;
}
div#ai-tour-summary h1 {
    font-size: 30px;
}
div#ai-tour-summary h2 {
    font-size: 20px;
}
.datarow {
    padding: 30px;
    border: 1px solid #e6e6e6;
    border-radius: 20px;
}
.contact-wraper,.insurance,.intrest {
    padding: 30px;
    border: 1px solid #e6e6e6;
    margin: 30px 0;
    border-radius: 25px;
}
.ai-destinations {
    margin-bottom: 30px;
}

/* new styles for image radio buttons / budgets */
.image-radio, .interest-checkbox, .budget-radio {
    display: inline-block;
    width: 100%;
    margin: 8px;
    vertical-align: top;
    text-align: center;
    border: 1px solid #dbdbdb !important;
    border-radius: 10px;
    padding: 8px;
    cursor: pointer;
    transition: all .15s;
    background: #fff;
}
.image-radio img, .interest-checkbox img, .budget-radio img {
    max-width: 80px;
    height: 60px;
    object-fit:cover;
    border-radius:6px;
    display:block;
    margin: 0 auto 8px;
}
.image-radio input[type="radio"], .budget-radio input[type="radio"], .interest-checkbox input[type="checkbox"] {
    display: none;
}
.image-radio .img-label, .budget-radio .budget-label {
    font-size: 14px;
    color: #333;
    line-height:1.2;
}
.image-radio:hover, .budget-radio:hover, .interest-checkbox:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.image-radio input[type="radio"]:checked + img,
.image-radio input[type="radio"]:checked ~ .img-label,
.budget-radio input[type="radio"]:checked ~ .budget-label,
.interest-checkbox input[type="checkbox"]:checked + img,
.interest-checkbox input[type="checkbox"]:checked ~ .img-label {
    border-color: #F5962B;
}
.image-radio input[type="radio"]:checked, .budget-radio input[type="radio"]:checked {
    outline: 3px solid rgba(245,149,43,0.12);
}
/* my */
/* Base style for selectable boxes */
.image-radio,
.interest-checkbox,
.budget-radio {
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 10px;
    transition: 0.25s ease;
}

/* When selected - highlight whole box */
.ai-trip-types .image-radio.selected,
.ai-hotel-types .image-radio.selected,
.interest-checkbox.selected,
.budget-radio.selected {
    border-color: #F5962B !important;
    box-shadow: 0 0 0 3px rgba(245,150,43,0.25);
}

/* For selected images also add border */
/* .image-radio.selected img,
.interest-checkbox.selected img {
    border: 3px solid #F5962B;
    border-radius: 10px;
} */

/* Highlight label text */
.image-radio.selected .img-label,
.interest-checkbox.selected .img-label,
.budget-radio.selected .budget-label {
    color: #F5962B;
    font-weight: 600;
}


/* smaller variant */
.image-radio.small { width:100px; }
.image-radio.small img { height:40px; }

/* map spacing */
.ai-map { margin-top: 20px; }

.ai-trip-types,.ai-budgets,.ai-trip-types {
    display: flex;
    justify-content: space-around;
}
.ai-hotel-types,.ai-interests {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* space between items */
}
.ai-addprefs label, .ai-travelins label {
    padding-right: 20px;
}
places{
    opacity: 0;
}

/*place google cards*/
.ai-places {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    overflow-x: auto; /* optional if there are more than 5 cards */
    padding: 10px;
}
.ai-place-card {
    border: 2px solid #F5962B;
    border-radius: 8px;
    padding: 10px;
/*     max-width: 220px; */
    background: #fff;
}
.ai-place-card img {
    border-radius: 5px;
}
.ai-places .place-card .place-photo {
    width: 100%;
    height: 220px; /* adjust as you want */
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.ai-place-card.place-card h3 {
    font-size: 20px;
}
.day h3 {
    font-size: 23px !important;
}
.day {
    margin-bottom: 30px;
    border-bottom: 2px solid #f5972b54 !important;
}
.ai-place-card.place-card a{
	background-color: #ef6a30;
	font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 10px 25px;
    display: inline-block;
	color: #ffffff;
}
/* responsive */
@media(max-width:1024px){
    .ai-destinations {grid-template-columns: 1fr 1fr 1fr 1fr 1fr;}
	div#tpt-buttons { display: flex;}
}
@media(max-width:980px){
    .travelwraper { width: 100%!important; }
    .datarow { flex-direction: column!important; }
}
@media(max-width:768px){
	.ai-places {
    display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
    .ai-destinations {grid-template-columns: 1fr 1fr 1fr 1fr;}
    body.traveltour-body-front .traveltour-container { max-width: 100%!important; }
}
@media(max-width:540px){
	.ai-places {
    	display: grid;
		grid-template-columns: repeat(1, 1fr);
	}
    .ai-destinations {grid-template-columns: 1fr 1fr 1fr ;}
    .personal-details, .trvelers-wrap, .trveledate-wrap { flex-direction: column; }
	.image-radio img, .interest-checkbox img, .budget-radio img{ height: 36px;	}
}
@media(max-width:420px){
    .ai-destinations {grid-template-columns: 1fr 1fr;}
}

/* small polish */
#ai-tour-summary .tpt-confirmation { font-size: 14px; }