      .main-flex-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 10px;
    margin-top: -60px;
}
.detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.70em;
    margin: 0px 0;
}
        .boat-filters {
    min-width: 250px;
    max-width: 300px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    
    font-size: 14px;
}
.error-input {
    border: 2px solid red !important;
    background-color: #ffe6e6;
}
.boat-filters h3 {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.boat-filters label {
    display: block;
    margin-top: 10px;
    margin-bottom: 4px;
    font-weight: 600;
    color: #444;
}

.boat-filters input[type="text"],
.boat-filters input[type="number"],
.boat-filters select {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.boat-filters .filter-submit  {
    margin-top: 15px;
    width: 100%;
    padding: 10px;
    background-color: #003366;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.boat-filters .filter-submit :hover {
    background-color: #0055aa;
}
      .right-flex-container {
    flex-grow: 1;
    width: 100%;
    max-width: 100%;
    padding-left: 10px;
}

.boat-listing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
}



.boat-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 427px;
    overflow: hidden;
}

.boat-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.boat-item img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Keeps the full image visible, no crop */
    max-height: 200px;   /* Prevents super tall images */
    border-radius: 6px;
    margin-bottom: 8px;
}


.boat-item h3 {
    font-size: 1em;
    margin: 8px 0;
    font-weight: bold;
    color: #333;
}

.boat-item .details {
    display: flex;
   
    font-size: 0.70em;
    margin: 2px 0;
    color: #555;
}

.boat-item .details span {
    display: inline-block;
    width: 60%;
    text-align: center;
}
.boat-details h3 {
    font-size: 0.9em;
    margin: 8px 0;
    font-weight: bold;
    color: #333;
    text-align: left;
}
.boat-details {
    display: grid;
    margin-bottom: 10px;
    gap: 0px;
}
.detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.70em;
    margin: 2px 0;
}

.detail-name {
    font-weight: bold;
    color: #555;
}

.detail-value {
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .boat-listing {
        grid-template-columns: repeat(3, 1fr); /* Three in a row for window screen */
    }
}

@media (max-width: 800px) {
    .boat-listing {
        grid-template-columns: repeat(2, 1fr); /* Two in a row for tablets */
    }
    .detail-item {
    font-size: 0.85em;
    
}
}

@media (max-width: 500px) {
    .boat-listing {
        grid-template-columns: 1fr; /* Single column for mobile */
    }
     .detail-item {
    font-size: 0.85em;
    
}
}
.boat-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 6px;
    background-color: #f0f0f0; /* fallback background */
    display: flex;
    align-items: center;
    justify-content: center;
}

.boat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* makes image cover the box while cropping if needed */
    border-radius: 6px;
}



        .pagination {
            text-align: center;
            margin: 20px 0;
            width: 100%;
        }

        .pagination-link, .current-page {
            display: inline-block;
            padding: 8px 12px;
            margin: 0 3px;
            background-color: #007bff;
            color: #fff;
            border-radius: 4px;
            text-decoration: none;
        }

        .pagination-link:hover, .current-page {
            background-color: #0056b3;
        }

        @media (max-width: 1024px) {
            .main-flex-container {
                flex-direction: column;
                align-items: center;
            }

            .right-flex-container {
                max-width: 100%;
            }

            .boat-listing {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }
        }

        @media (max-width: 600px) {
            .boat-filters {
                max-width: 100%;
                margin-bottom: 20px;
            }

            .right-flex-container {
                max-width: 100%;
            }

            .boat-listing {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .boat-item {
                width: 100%;
                height: auto;
            }

            .boat-item img {
                height: 180px;
            }
        }
        
        /* png images*/
        
.boat-type-form {
  display: flex;
  gap: 10px;           /* a bit more breathing space */
  align-items: center;
  flex-wrap: wrap;
}

.boat-type-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.boat-type-option {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 45%;
  max-width: 48%;
  padding: 6px 10px;
  border: 2px solid #ccc;
  border-radius: 6px;
  background-color: #f1f1f1;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  height: 50px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}


.sail-content {
  justify-content: center;
  align-items: center;
  margin-top: 5px;
}

.boat-type-option.selected {
  background-color: #79a3df;
  border-color: #003366;
  color: white;
}

.boat-type-option:hover {
  background-color: #e0e0e0;
}

.boat-type-option input[type="checkbox"] {
  display: none;
}

.boat-type-content {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal; /* Allow wrapping */
  flex-direction: row;
}

.boat-type-content span {
  font-size: 12px;
  text-align: center; /* Change from left to center */
  display: inline-block;
  max-width: 70px;
  word-break: break-word;
  line-height: 1.1;
  margin-top: -1.5px;
}



.boat-icon {
  width: 24px;
  height: 24px;
}

.boat-type-option.selected {
  background-color: #79a3df;
  color: white;
}

.boat-type-option input[type="checkbox"] {
  display: none;
}

/* Optional: Make it responsive */
@media (max-width: 600px) {
  .boat-type-option {
    width: 100%;
  }
}



        
  .active-filters {
    margin: 10px 0;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 3px;
}

.active-filters h3 {
    margin: 0 0 5px;
    font-size: 0.9em;
    font-weight: bold;
}

.filter-tag {
    position: relative;
    display: inline-block;
    background-color: #003366;
    color: #fff;
    padding: 5px 8px;
    margin: 5px;
    border-radius: 3px;
    font-size: 0.8em;
    line-height: 1.2;
}

.filter-text {
    display: inline-block;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.remove-filter {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #fff;
    color: #FF0000 !important;
    font-size: 1em;
    font-weight: bold;
    border-radius: 50%;
    padding: 1px 5px;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    cursor: pointer;
}

.remove-filter:hover {
    background-color: #ffe6e6;
    color: #FF0000;
}

.boat-filters .reset-filters-wrapper .reset-filters-btn {
    background-color: #e74c3c;
    color: white;
    padding: 4px 10px;
    font-size: 0.75em;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    width: auto;
}

.reset-filters-btn:hover {
    background-color: #c0392b;
}

.filter-range {
    display: flex;
    flex-direction: column;
}

.range-pair {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.range-pair label {
  font-weight: bold;
  margin-bottom: 5px;
}

.range-inputs {
  display: flex;
  align-items: center;
  gap: 5px;
}

.range-inputs input {
  width: 100px;
}
.boat-filters div {
    margin-bottom: 0px;
}
.single-boat-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Main Slider Container */
.boat-slider {
    margin: 20px 0;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Main Image Area */
.slider-main {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    height: 100%;
    width : 100%;
    background-color: #fff; /* Main image background */
    border-radius: 8px;
}

.slider-main img {
       width: 100%;
    height: 500px;
    object-fit: contain !important;
    border-radius: 6px;
    margin-left: auto;
    margin-right: auto;
}


.slider-nav .slick-track {
    display: flex !important;
    gap: 12px !important; /* adjust the spacing here */
    align-items: flex-start;
}

.slider-nav .slick-slide {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important; /* important: prevents oversized thumbnails */
}

.slider-nav .thumbnail-image {
    width: 150px; /* or 100% if you want flexible */
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 2px solid transparent;
    transition: transform 0.2s ease, border 0.2s ease;
    cursor: pointer;
}


.slider-nav .thumbnail-image:hover {
    transform: scale(1.05);
    border-color: #0073aa;
}

/* Responsive: hide nav slider on small screens */
@media (max-width: 768px) {
    .slider-nav {
        display: none !important;
    }
    
    .slider-main {
        height: auto;
    }
     .slider-main img {
        max-height: 300px; 
    }
}


.slick-prev, .slick-next {
    z-index: 2;
    background-color: rgb(12 12 12 / 83%);
    border: none;
    border-radius: 50px;
    width: 48px;
    height: 48px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s ease;
    margin-right: 27px;
    margin-left: 27px;
}

.slick-prev:hover,
.slick-next:hover {
    background-color: black; /* Solid black background on hover */
}

.slick-prev:before,
.slick-next:before {
    color: #fff; /* Icon stays white */
    font-size: 20px;
}


.details-box,
.feature-section,
.others-box,
.accommodation-box,
.dimensions-box,
.tanks-box,
.weight-row,
 {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* 3D effect */
    margin-top: 30px;
}

/* Remove left borders */
.feature-section,
.others-box,
.accommodation-box,
.dimensions-box,
.tanks-box,
.weight-row,
 {
    border-left: none;
}


.engine-section {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-top: 30px;
    font-family: sans-serif;
}

.engine-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    color: #222;
}

.engine-container {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 6px;
    background-color: #fafafa;
}

.engine-container:first-child {
    margin-top: 10px;
}

.engine-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #333;
}

.engine-item:last-child {
    border-bottom: none;
}

.engine-item strong {
    color: #000;
}

/* Title style */
.details-box h3,
.feature-label,
.others-label,
.accommodation-label,
.dimensions-label,
.tanks-label,
.weight-label,
.engine-title {
    margin: 0 0 15px;
    font-size: 1.3rem;
    font-weight: bold;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
    color: #333;
}

/* Grid layout */
.feature-grid,
.others-row,
.accommodation-row,
.dimensions-row,
.tanks-row,
.weight-row,
.engine-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns default */
    gap: 15px;
}

/* Item styles */
.feature-item,
.others-item,
.accommodation-item,
.dimensions-item,
.tanks-item,
.weight-item,
.engine-item {
    background-color: #f9f9f9;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .feature-grid,
    .others-row,
    .accommodation-row,
    .dimensions-row,
    .tanks-row,
    .weight-row,
    .engine-container {
        grid-template-columns: repeat(2, 1fr); /* tablets */
    }
}

@media (max-width: 480px) {
    .feature-grid,
    .others-row,
    .accommodation-row,
    .dimensions-row,
    .tanks-row,
    .weight-row,
    .engine-container {
        grid-template-columns: 1fr; /* phones */
    }
}

details.responsive-section summary {
    position: relative;
    cursor: pointer;
    padding-left: 24px; /* slight bump for spacing */
    list-style: none;
    display: flex;
    align-items: center;
    font-size: 1.1rem; /* matches your existing labels */
    line-height: 1.4;
}

details.responsive-section summary::before {
    content: "+";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%); /* vertically center */
    font-weight: bold;
    font-size: 18px;
    line-height: 1;
    margin-top: -5px;
}

details.responsive-section[open] summary::before {
    content: "\2212"; /* minus sign */
}
.details-container_contact {
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  max-width: 900px;
  margin: auto;
  font-family:  sans-serif;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px 24px;
  margin-bottom: 20px;
}

.details-item {
  display: flex;
  flex-direction: column;
}

.details-label {
  font-weight: bold;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 2px;
}

.details-value {
  font-size: 1rem;
  color: #222;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #007BFF;
  color: white;
  padding: 10px 14px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}

.contact-link:hover {
  background-color: #0056b3;
}

.contact-link svg {
  width: 18px;
  height: 18px;
  fill: white;
}
.detail-partition {
  border: none;
  border-top: 2px solid #fff;
  margin: 30px 0;
  width: 100%;
}
.contact-name {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-top: 10px;
    margin-bottom: 8px;
}


