/**
 * BM API Public Styles - Yacht Archive
 */

/* Prevent horizontal overflow globally */
body.post-type-archive-yacht,
body.single-yacht {
    max-width: 100%;
    overflow-x: hidden;
}

.yacht-archive-page,
.yacht-archive-main {
    max-width: 100%;
    overflow: visible;
    height: auto;
    min-height: 0;
}

html {
    overflow-x: hidden;
    max-width: 100%;
    height: auto;
}

/* Loading Modal Styles */
.yacht-loading-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.yacht-loading-modal.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.yacht-loading-content {
    background: white;
    padding: 50px 60px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 350px;
    margin: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.yacht-loading-modal.active .yacht-loading-content {
    transform: scale(1);
}

.yacht-loading-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    display: block;
    animation: yacht-float 2s ease-in-out infinite;
}

@keyframes yacht-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.yacht-loading-text {
    margin: 0;
    font-size: 17px;
    color: #333;
    font-weight: 500;
    line-height: 1.6;
}

.yacht-results-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 18px;
}

/* Yacht Search Bar */
.yacht-search-bar {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 30px 0;
    margin-bottom: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.yacht-search-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
}

.yacht-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 20px;
    align-items: end;
    width: 100%;
}

.search-field-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.search-field-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.search-field-group select,
.search-field-group input {
    /* width: 100% !important; */
    max-width: 100% !important;
    padding: 9px 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 15px;
    background: #fff;
    box-sizing: border-box !important;
}

.search-field-group input:focus,
.search-field-group select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.search-submit-btn {
    padding: 12px 40px;
    background: #00216c !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    height: 42.5px;
}

.search-submit-btn:hover {
    background: #005a87;
}

/* Select2 Customization */
.select2-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.select2-container--open .select2-dropdown--below{
    margin-top: 32px;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 42px;
    padding: 4px;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #0073aa;
    border-color: #0073aa;
    color: #fff;
    padding: 0px 2px 2px 5px;
    margin: 4px;
    line-height: 1.2;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff;
    margin-right: 5px;
    position: relative;
    float: right;
    border: 0;
    margin: 0;
    line-height: 1.2;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover, 
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus{
    background: none !important;
    color: #00216c !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display{
    font-size: 0.8rem;
    padding: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #fff;
}

.select2-container--default .select2-search--inline .select2-search__field{
    height: 27px;
}

/* Daterangepicker Customization */
.daterangepicker {
    font-family: inherit;
    max-width: calc(100vw - 40px) !important;
    box-sizing: border-box !important;
}

.daterangepicker .calendar-table th{
    border: 0 !important;
}

.daterangepicker table td, .daterangepicker table th {
    padding: 0px;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
    background-color: #0073aa;
}

.daterangepicker .ranges li.active {
    background-color: #0073aa;
}

/* Archive Main Section */
.yachts-archive-main {
    background-image: url(https://nextsailing.bg/wp-content/uploads/2025/06/plavane_qhta_gurcia.webp);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    padding: 80px 0px 60px 0px;
    z-index: 1;
}

.yachts-archive-main > .elementor-background-overlay {
    inset: 0;
    position: absolute;
    background-color: var(--e-global-color-primary);
    opacity: 0.56;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

.yacht-archive-heading-title {
    font-family: "Nunito Sans", Sans-serif;
    font-size: 44px;
    font-weight: 600;
    line-height: 1.1em;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
    z-index: 2;
    position: relative;
    text-align: center;
    padding: 80px 0 30px;
}

.yacht-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    overflow: visible;
    height: auto;
}

/* Filters Sidebar */
.yacht-filters {
    background: #f8f9fa;
    padding: 30px 20px;
    border-radius: 8px;
    /* position: sticky; */
    top: 20px;
    overflow: visible;
    height: auto;
}

.yacht-filters h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.filter-group {
    margin-bottom: 10px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700 !important;
    color: #555;
    font-size: 14px;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
}

.filter-group input[type="range"] {
    padding: 0;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #ddd;
    outline: none;
}

.filter-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0073aa;
    cursor: pointer;
}

.filter-group input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0073aa;
    cursor: pointer;
    border: none;
}

.filter-group input[type="number"] {
    width: calc(50% - 5px);
    display: inline-block;
}

.filter-range-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-range-separator {
    color: #666;
}

.filter-range-values {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.filter-checkbox-item input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.filter-checkbox-item label {
    margin: 0 !important;
    font-weight: normal;
    cursor: pointer;
}

/* Service Type Radio Buttons in Sidebar */
.filter-group .service-type-radios {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group .service-type-radios .radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group .service-type-radios .radio-item input[type="radio"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.filter-group .service-type-radios .radio-item label {
    margin: 0 !important;
    font-weight: normal;
    cursor: pointer;
}

.filter-submit,
.filter-reset {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    text-align: center;
    display: block;
    text-decoration: none;
}

.filter-submit {
    background: #0073aa;
    color: #fff;
}

.filter-submit:hover {
    background: #005a87;
}

.filter-reset {
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
}

.filter-reset:hover {
    background: #f0f0f0;
}

/* Results Section */
.yacht-results {
    max-width: 100%;
    min-height: 400px;
    overflow: visible;
    height: auto;
}

.yacht-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.yacht-results-count {
    font-size: 18px;
    color: #666;
}

.yacht-sort-by {
    display: flex;
    align-items: center;
    gap: 10px;
}

.yacht-sort-by label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.yacht-sort-by select {
    padding: 8px 32px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.yacht-sort-by select:focus {
    outline: none;
    border-color: #0066cc;
}


/* Yacht Row */
.yacht-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.yacht-row:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.yacht-row-image {
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 6px;
    background: #f0f0f0;
}

.yacht-row-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yacht-row-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.yacht-row-main {
    flex: 1;
}

.yacht-row-footer {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-top: 15px;
    padding-top: 7px;
    border-top: 1px solid #eee;
    gap: 20px;
}

.yacht-footer-left {
    display: flex;
    align-items: center;
}

.yacht-footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
}

.yacht-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: wrap;
}

.yacht-price .price-amount {
    font-size: 24px;
    font-weight: 700;
    color: #16ad16;
}

.yacht-price .price-currency {
    font-size: 24px;
    font-weight: 700;
    color: #16ad16;
}

.yacht-status-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    white-space: nowrap;
}

.yacht-status-pending {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
}

.yacht-price-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.yacht-price-button:hover {
    background: #005a87;
    color: #fff;
}

.yacht-row-title {
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.yacht-row-title a {
    color: #333;
    text-decoration: none;
}

.yacht-row-title a:hover {
    color: #0073aa;
}

.yacht-row-details {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.yacht-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.yacht-detail-item strong {
    color: #333;
    font-weight: 600;
}

.yacht-detail-icon {
    font-size: 16px;
    color: #0073aa;
}

.yacht-row-equipment {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.yacht-row-equipment h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.yacht-equipment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.equipment-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: #e8f4f8;
    color: #0073aa;
    border-radius: 4px;
    font-size: 13px;
}

.equipment-tag-icon {
    font-size: 12px;
}

/* No Results */
.no-yachts {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.no-yachts p {
    font-size: 18px;
    color: #666;
}

/* Range Slider Styles - noUiSlider */
.range-slider-container {
    /* margin-bottom: 10px; */
    width: 100%;
}

.range-slider-wrapper {
    position: relative;
    height: 6px;
    width: 100%;
    margin: 12px 0;
}

/* noUiSlider base styling */
.range-slider-wrapper .noUi-target {
    background: #ddd;
    border-radius: 3px;
    border: none;
    box-shadow: none;
}

.range-slider-wrapper .noUi-connect {
    background: #0073aa;
}

.range-slider-wrapper .noUi-horizontal {
    height: 6px;
}

.range-slider-wrapper .noUi-handle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0073aa;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    cursor: grab;
    top: 50%;
    transform: translate(-50%, -50%);
}

.range-slider-wrapper .noUi-handle:before,
.range-slider-wrapper .noUi-handle:after {
    display: none;
}

.range-slider-wrapper .noUi-handle:hover {
    transform: translate(-50%, -50%) scale(1.15);
}

.range-slider-wrapper .noUi-handle:active {
    cursor: grabbing;
}

.range-slider-wrapper .noUi-horizontal .noUi-handle {
    right: -9px;
}

.range-slider-line {
    display: none;
}

.range-slider-track {
    display: none;
}

.range-slider-handle {
    display: none;
}

.range-slider-input {
    display: none;
}

.range-values-display {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #333;
    font-weight: 600;
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    html,
    body {
        height: auto !important;
        min-height: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        position: relative !important;
    }
    
    body.post-type-archive-yacht,
    body.single-yacht {
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }
    
    .yacht-archive-page,
    .yacht-archive-main {
        overflow: visible !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        position: relative !important;
    }
    
    .yacht-search-form {
        grid-template-columns: 1fr;
    }
    
    .search-submit-btn {
        width: 100%;
    }
    
    .yacht-archive-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow: visible !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }
    
    .yacht-filters {
        position: static;
        margin: 0 20px;
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
    }
    
    .yacht-results {
        margin: 0 4%;
        overflow: visible !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }
    
    .filter-group {
        flex: 0 0 100% !important;
        min-width: 100% !important;
    }
    
    .yacht-row {
        grid-template-columns: 1fr;
    }
    
    .yacht-row-image {
        width: 100%;
        height: 200px;
    }
    
    .yacht-row-details {
        display: grid;
        grid-template-columns: 1fr;
    }

    .yacht-price .price-amount,
    .yacht-price .price-currency {
        font-size: 21px;
    }

    .yacht-status-badge{
        font-size: 10px;
        margin-left: 0;
        padding: 4px 5px;
    }

    .yacht-price-button {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Yacht Archive */
.yacht-archive {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 30px;
}

.page-title {
    font-size: 32px;
    margin: 0 0 10px 0;
}

/* Filters */
.yacht-filters {
    max-width: 100%;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.yacht-filters form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: end;
}

.filter-group {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
}

.filter-group label {
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
}

.filter-group select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.filter-submit,
.filter-reset {
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    width: 100% !important;
}

.filter-submit {
    background: #0073aa;
    color: white;
    border: none;
}

.filter-submit:hover {
    background: #005a87;
}

.filter-reset {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.filter-reset:hover {
    background: #e0e0e0;
}

/* Yacht Grid */
.yacht-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.yacht-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.yacht-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.yacht-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.yacht-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.yacht-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yacht-card-content {
    padding: 20px;
}

.yacht-card-title {
    font-size: 20px;
    margin: 0 0 10px 0;
    color: #333;
}

.yacht-model {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.yacht-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.yacht-meta span {
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 13px;
    color: #555;
}

.yacht-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.no-yachts {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #666;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center !important;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 7px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.pagination a:hover {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.pagination .current {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

/* Single Yacht */
.single-yacht {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.yacht-header {
    margin-bottom: 30px;
}

.yacht-title {
    font-size: 36px;
    margin: 0 0 10px 0;
}

.yacht-gallery-slider {
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.yacht-gallery-item img,
.yacht-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.yacht-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.yacht-main-content h2 {
    font-size: 24px;
    margin: 30px 0 15px 0;
}

.yacht-excerpt,
.yacht-description {
    line-height: 1.8;
    color: #444;
}

.yacht-specifications {
    margin-top: 40px;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.spec-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
}

.spec-label {
    font-weight: 600;
    color: #555;
}

.spec-value {
    color: #333;
}

/* Yacht Sidebar */
.yacht-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.yacht-pricing,
.yacht-booking,
.yacht-location {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.yacht-pricing h3,
.yacht-booking h3,
.yacht-location h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

.price-note {
    color: #666;
    font-size: 14px;
}

.btn-booking {
    display: block;
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}

.btn-booking:hover {
    background: #005a87;
}

/* Yacht Search Form Shortcode Styles */
/* Wrapper for shortcode (DIV, not FORM) */
.yacht-search-form:not(form) {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 30px;
    border-radius: 8px;
}

.yacht-search-form-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 20px;
    align-items: end;
}

.yacht-search-field {
    display: flex;
    flex-direction: column;
}

.yacht-search-field label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.yacht-search-field select,
.yacht-search-field input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    background: #fff;
}

.yacht-search-field input:focus,
.yacht-search-field select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.yacht-search-submit button {
    padding: 12px 40px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    height: 48px;
    white-space: nowrap;
}

.yacht-search-submit button:hover {
    background: #005a87;
}

/* Responsive */
@media (max-width: 768px) {
    .yacht-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .yacht-sidebar {
        position: static;
    }
    
    .yacht-search-form-inner {
        grid-template-columns: 1fr;
    }
    
    .yacht-search-submit button {
        width: 100%;
    }
    
    .yacht-grid {
        grid-template-columns: 1fr;
    }
}
