deck new css responsive full * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #1b254b 0%, #2c3e50 50%, #1b254b 100%);
    color: #ffffff;
    font-family: "Inter", sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    text-align: center;
    width: 95%;
    max-width: 900px;
    position: relative;
    padding: 20px;
}

.carousel-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 600px;
}

.boat-details h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #64ffda 0%, #18dcff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.boat-details span {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    display: block;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.boat-details p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #64ffda;
    font-weight: 600;
    margin-bottom: 2rem;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    height: clamp(300px, 50vh, 500px);
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: clamp(1.5rem, 3vw, 2rem);
    padding: clamp(8px, 2vw, 15px);
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: clamp(40px, 8vw, 60px);
    height: clamp(40px, 8vw, 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: clamp(10px, 3vw, 20px);
}

.next {
    right: clamp(10px, 3vw, 20px);
}

.start-button {
    background: linear-gradient(135deg, #64ffda 0%, #18dcff 50%, #00a8ff 100%);
    color: #0a192f;
    border: none;
    padding: clamp(12px, 3vw, 16px) clamp(30px, 6vw, 60px);
    cursor: pointer;
    border-radius: 12px;
    font-weight: 700;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.3);
}

.start-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(100, 255, 218, 0.4);
}

.thumbnail-bar {
    display: flex;
    justify-content: center;
    gap: clamp(8px, 2vw, 15px);
    flex-wrap: wrap;
    margin-top: 20px;
}

.thumbnail {
    cursor: pointer;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: #64ffda;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.5);
}

.thumbnail img {
    width: clamp(80px, 15vw, 120px);
    height: clamp(50px, 10vw, 75px);
    object-fit: cover;
    border-radius: 6px;
}

.thumbnail p {
    margin: 8px 0 0;
    font-size: clamp(0.8rem, 2vw, 1rem);
    font-weight: 600;
    color: #64ffda;
}

.new-ui {
    display: none;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #0a192f, #183152);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    overflow: hidden;
}

.new-ui.active {
    display: flex;
    flex-direction: column;
}

.new-ui-header {
    text-align: center;
    padding: 15px 20px;
    flex-shrink: 0;
    z-index: 1;
}

.new-ui-header h1 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #64ffda 0%, #18dcff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.new-ui-header span {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    color: #e2e8f0;
    display: block;
    margin-bottom: 5px;
}

.new-ui-header p {
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
    color: #64ffda;
    font-weight: 600;
}

.new-ui-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: auto;
    /* Changed to auto to properly fill remaining space */
    width: 100vw;
    top: -163px;
    /* Added new property */
}

.new-ui-image {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Changed to 100vh */
    max-width: 100%;
    border-radius: 15px;
    overflow: hidden;
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); */
}

.new-ui-panel::-webkit-scrollbar {
    width: 10px;
}

.new-ui-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.new-ui-panel::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #64ffda, #21c9b8);
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.6);
}

.new-ui-panel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #21c9b8, #64ffda);
}

.new-ui-panel {
    scrollbar-width: thin;
    scrollbar-color: #64ffda rgba(255, 255, 255, 0.05);
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure the entire image is visible */
    display: block;
}

.light-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    display: none;
}

.light-layer.active {
    display: block;
}

.image-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.image-wrapper {
    position: relative;
}

.boat-image {
    width: clamp(80px, 15vw, 120px);
    height: auto;
    border: 2px solid #3498db;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.boat-image:hover {
    transform: scale(1.05);
}

.plus-button {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: clamp(20px, 4vw, 25px);
    height: clamp(20px, 4vw, 25px);
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.plus-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.your-selection {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    color: #ecf0f1;
    padding: 15px;
    border-radius: 12px;
    text-align: left;
    width: clamp(200px, 25vw, 280px);
    max-height: 60vh;
    overflow-y: auto;
    border: 1px solid rgb(100 196 255 / 30%);
    z-index: 1000;
}

.your-selection h4 {
    margin: 0 0 10px;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    font-weight: 700;
    text-transform: uppercase;
    color: #64ffda;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(135deg, #64ffda, #00a8ff);
    background-clip: text;
    text-align: center;
}

.your-selection p {
    margin: 6px 0;
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
    font-weight: 500;
}

.your-selection p.deck-selection {
    background: rgba(52, 73, 94, 0.5);
    padding: 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 4px 0;
}

.reset-selection-btn {
    background: #e74c3c;
    border: none;
    color: white;
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.reset-selection-btn:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.your-selection p.total-lights {
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    color: #64ffda;
    text-align: center;
    border: 1px solid rgb(100 196 255 / 30%);
    -webkit-text-fill-color: transparent;
    background: linear-gradient(135deg, #64ffda, #00a8ff);
    background-clip: text;
}

.change-boat-button {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: linear-gradient(to right, #374151, #1f2937);
    color: white;
    border: none;
    padding: clamp(8px, 2vw, 12px) clamp(15px, 3vw, 20px);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
    transition: all 0.3s ease;
}

.change-boat-button:hover {
    background: linear-gradient(to right, #4b5563, #374151);
    transform: translateY(-2px);
}

.new-ui-panel {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: rgb(0 0 0 / 0%);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 20px;
    color: #ecf0f1;
    width: clamp(250px, 30vw, 350px);
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgb(100 196 255 / 30%);
    z-index: 50;
}

.new-ui-panel h2 {
    margin: 0 0 20px;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #64ffda;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, #64ffda, #00a8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lighting-zone {
    margin-bottom: 15px;
}

.lighting-zone-header {
    background: linear-gradient(to right, #1e90ff, #4169e1);
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

.lighting-zone-header:hover {
    background: linear-gradient(to right, #00a8ff, #1e90ff);
    transform: translateY(-2px);
}

.chevron {
    transition: transform 0.3s ease;
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
}

.lighting-zone-header.expanded .chevron {
    transform: rotate(90deg);
}

.lighting-zone-content {
    display: none;
    padding: 15px 10px;
    background: rgba(31, 41, 55, 0.6);
    border-radius: 8px;
    margin-top: 8px;
    border: 1px solid rgba(75, 85, 99, 0.3);
}

.lighting-zone-content.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-section {
    margin-bottom: 15px;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ecf0f1;
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
}

.lighting-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 8px 0;
    justify-content: flex-start;
    align-items: center;
}

.light-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    min-width: 60px;
}

.light-btn {
    width: clamp(40px, 8vw, 55px);
    height: clamp(40px, 8vw, 55px);
    border-radius: 50%;
    border: 2px solid #3d5166;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
    background-color: transparent;
}

.light-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.7);
}

.light-btn.active {
    border: 2px solid #3498db;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.9);
}

.light-label {
    text-align: center;
    font-size: clamp(0.6rem, 1.5vw, 0.7rem);
    color: #bdc3c7;
    font-weight: 500;
}

.on-piling-light-card,
.piling-top-light-card,
.underwater-light-card,
.dock-light-card {
    width: clamp(160px, 22vw, 275px);
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    position: relative;
    justify-content: space-between;
    padding: 0 5px;
    margin-bottom: 10px;
}

.on-piling-light-card:hover,
.piling-top-light-card:hover,
.underwater-light-card:hover,
.dock-light-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.on-piling-light-card.selected,
.piling-top-light-card.selected,
.underwater-light-card.selected,
.dock-light-card.selected {
    background-color: rgba(52, 152, 219, 0.2);
    border: 2px solid #3498db;
}

.on-piling-light-card.selected .light-select-btn,
.piling-top-light-card.selected .light-select-btn,
.underwater-light-card.selected .light-select-btn,
.dock-light-card.selected .light-select-btn {
    background-color: #007aff;
    color: white;
    border-color: #007aff;
}

.on-piling-light-card.selected .light-card-title,
.on-piling-light-card.selected .light-card-subtitle,
.on-piling-light-card.selected .light-card-specs,
.piling-top-light-card.selected .light-card-title,
.piling-top-light-card.selected .light-card-subtitle,
.piling-top-light-card.selected .light-card-specs,
.underwater-light-card.selected .light-card-title,
.underwater-light-card.selected .light-card-subtitle,
.underwater-light-card.selected .light-card-specs,
.dock-light-card.selected .light-card-title,
.dock-light-card.selected .light-card-subtitle,
.dock-light-card.selected .light-card-specs {
    color: white;
}

.dock-light-card {
    justify-content: flex-start;
    gap: 12px;
    padding: 0px 5px;
}

.light-card-image img {
    width: 60px;
    height: auto;
    margin-bottom: 10px;
}

.light-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 5px 0;
    color: #333;
}

.light-card-subtitle {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 5px;
}

.light-card-specs {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 8px;
}

.light-card-colors {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
}

.color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid #ccc;
}

.light-select-btn {
    background-color: white;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.light-select-btn:hover {
    background-color: #007aff;
    color: white;
    border-color: #007aff;
}

.on-piling-lights-grid,
.piling-top-lights-grid,
.underwater-lights-grid {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex-direction: column;
}

.underwater-option {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px;
    background: rgba(55, 65, 81, 0.3);
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.underwater-option:hover {
    background: rgba(55, 65, 81, 0.5);
}

.light-info {
    flex: 1;
}

.short-name {
    font-weight: 600;
    color: #64ffda;
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
}

.full-name {
    color: #bdc3c7;
    font-size: clamp(0.6rem, 1.5vw, 0.7rem);
    margin-top: 3px;
}

.rgb-sub-options {
    display: none;
    margin-top: 12px;
    padding: 12px;
    background: rgba(45, 55, 72, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.rgb-sub-options.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.subtype-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.subtype-btn {
    width: clamp(35px, 7vw, 45px);
    height: clamp(35px, 7vw, 45px);
    border-radius: 8px;
}

.cabin-beds-options {
    padding: 12px;
    background: rgba(45, 55, 72, 0.3);
    border-radius: 8px;
}

.option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.option-label {
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
    color: #bdc3c7;
    font-weight: 500;
}

.option-value-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.value-btn {
    background: #374151;
    color: white;
    border: none;
    width: clamp(30px, 6vw, 40px);
    height: clamp(30px, 6vw, 40px);
    border-radius: 6px;
    cursor: pointer;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-btn:hover {
    background: #4b5563;
    transform: scale(1.05);
}

.value-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.option-value {
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 700;
    color: #64ffda;
    min-width: clamp(25px, 5vw, 35px);
    text-align: center;
}

.color-options {
    margin-bottom: 12px;
}

.color-options .lighting-options {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    padding: 12px 0;
}

.color-btn {
    border-radius: 50%;
    border: 2px solid #4b5563;
}

.color-btn:hover {
    border-color: #9ca3af;
}

.color-btn.active {
    border-color: white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.combined-blue-white.active[data-current-color="blue"] {
    border-left: 2px solid white;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    border-right: 2px solid transparent;
}

.combined-blue-white.active[data-current-color="white"] {
    border-right: 2px solid white;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    border-left: 2px solid transparent;
}

.custom-color-section {
    margin-top: 12px;
    padding: 12px;
    background: rgba(45, 55, 72, 0.3);
    border-radius: 8px;
    border-top: 1px solid rgba(100, 255, 218, 0.2);
}

/* Layout like screenshot: RGB bar + hex in a row; below Warm/Cool row */
.custom-color-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.white-choice-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    width: 100%;
}

.white-choice-row .light-option {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
}

/* Make the white preset look like a horizontal slider bar */
.white-preset-btn {
    flex: 1;
    height: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35), 0 0 12px rgba(255, 255, 255, 0.15);
    background-size: 100% 100% !important;
}

.white-preset-btn:hover {
    transform: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.45), 0 0 16px rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.45);
}

.white-choice-row .light-label {
    min-width: 90px;
    text-align: left;
    color: #e5e7eb;
    font-weight: 600;
}

.custom-color-label {
    display: block;
    margin-bottom: 8px;
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
    color: #ecf0f1;
    font-weight: 600;
}

.custom-color-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-color-picker {
    position: relative;
    width: 100%;
    max-width: 200px;
    height: 11px;
    border-radius: 12px;
    background: linear-gradient(to right, #ff0000 0%, #ffff00 16.66%, #00ff00 33.33%, #00ffff 50%, #0000ff 66.66%, #ff00ff 83.33%, #ff0000 100%);
    cursor: pointer;
    border: 2px solid #00ffff99;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    user-select: none;
}

.color-picker-handle {
    position: absolute;
    top: 50%;
    width: 0px;
    height: 25px;
    background: #ffffff;
    border: 3px solid #04040429;
    transform: translate(-50%, -50%);
    cursor: grab;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    z-index: 10;
    border-radius: 4px;
}

.color-picker-handle:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}

.color-picker-handle:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(0.95);
}

.color-value {
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.7);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #555;
    min-width: 70px;
    text-align: center;
    letter-spacing: 0.5px;
}

.filter-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

.clear-btn {
    background: transparent;
    border: 1px solid #3d5166;
    border-radius: 6px;
    padding: 0 0;
    cursor: pointer;
    color: #bdc3c7;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
}

.clear-btn:hover {
    color: #ecf0f1;
    border-color: #54d6fd;
    background: rgba(100, 255, 218, 0.1);
}

.apply-btn {
    background: linear-gradient(135deg,
            rgba(52, 152, 219, 0.8) 0%,
            rgba(41, 128, 185, 0.85) 50%,
            rgba(26, 82, 118, 0.9) 100%);
    border: none;
    border-radius: 6px;
    padding: clamp(8px, 2vw, 12px) clamp(12px, 2.5vw, 16px);
    cursor: pointer;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
}

.apply-btn:hover {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    transform: translateY(-2px);
}

.share-container {
    position: relative;
}

.share-dropdown {
    display: none;
    position: absolute;
    bottom: 98%;
    right: 0;
    margin-bottom: 10px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 300;
    padding: 8px;
    min-width: 120px;
}

.share-dropdown.active {
    display: flex;
    flex-direction: row;
}

.share-option {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: clamp(35px, 7vw, 40px);
    background: transparent;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    color: #333;
    padding: 0 12px;
    text-align: left;
}

.share-option:hover {
    background: #f0f0f0;
}

.share-option.facebook {
    color: #1877f2;
}

.share-option.twitter {
    color: #1da1f2;
}

.share-option.download {
    color: #28a745;
}

.share-option.link {
    color: #6c757d;
}

/* Customizer Overlay */
.customiser-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 150;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.customiser-overlay.active {
    display: flex;
}

.customiser-header {
    text-align: center;
    margin-bottom: 30px;
    max-width: 90%;
}

.customiser-header h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin: 0 0 15px;
    color: #64ffda;
    font-weight: 700;
}

.customiser-header p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: #bdc3c7;
    margin: 8px 0;
}

.customiser-image {
    width: 90%;
    max-width: 600px;
    height: 58vh;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 15px;
    margin-bottom: 30px;
    /* border: 2px solid rgba(100, 255, 218, 0.3); */
}

.customiser-close-btn {
    background: linear-gradient(135deg, #64ffda 0%, #18dcff 100%);
    color: #0a192f;
    border: none;
    padding: clamp(12px, 3vw, 16px) clamp(30px, 6vw, 40px);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: all 0.3s ease;
}

.customiser-close-btn:hover {
    transform: scale(1.05);
}

.customiser-back-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: clamp(40px, 8vw, 50px);
    height: clamp(40px, 8vw, 50px);
    cursor: pointer;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.customiser-back-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Quote Modal */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 200;
    justify-content: center;
    align-items: center;
    /* padding: 20px; */
}

.popup.active {
    display: flex;
}

.popup-content {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8), rgba(60, 60, 60, 0.6));
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    width: 100%;
    max-width: 630px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    color: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    cursor: pointer;
    color: #ccc;
    width: clamp(30px, 6vw, 40px);
    height: clamp(30px, 6vw, 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.popup-content h2 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin: 0 0 15px;
    text-align: center;
    font-weight: 700;
    color: #e2e8f0;
}

.popup-content p {
    font-size: clamp(0.85rem, 2.2vw, 0.95rem);
    margin: 10px 0;
    text-align: center;
    color: #ddd;
}

.popup-content p strong {
    display: block;
    margin-top: 20px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: #e2e8f0;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    width: 100%;
}

.popup-content label {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    font-weight: 600;
    color: #ddd;
    margin-bottom: 5px;
}

.popup-content input,
.popup-content textarea {
    width: 100%;
    padding: clamp(8px, 2vw, 12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.popup-content input:focus,
.popup-content textarea:focus {
    outline: none;
    border-color: #64ffda;
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.1);
}

.popup-content textarea {
    resize: vertical;
    min-height: 80px;
}

.request-quote-btn {
    background: linear-gradient(135deg,
            rgba(52, 152, 219, 0.8) 0%,
            rgba(41, 128, 185, 0.85) 50%,
            rgba(26, 82, 118, 0.9) 100%);
    color: white;
    border: none;
    padding: clamp(12px, 3vw, 16px);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    margin-top: 20px;
    width: 100%;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: all 0.3s ease;
}

.request-quote-btn:hover {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    transform: translateY(-2px);
}

/* /////////////////////////////////////// */


.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: transparent;
    display: none;
    align-items: center;
    justify-content: center;
}

.loading-overlay.visible {
    display: flex;
}

.loading-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background: transparent;
}

.loading-content p {
    display: none;
}


.loading-spinner-large {
    width: 80px;
    height: 80px;
    border: 6px solid rgba(204, 204, 204, 0.2);
    border-top: 6px solid #00ffdd;
    border-radius: 50%;
    background: transparent;
    animation: spin 0.9s cubic-bezier(.6, .2, .4, 1) infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* //////////////////////////////////// */

/* Enhanced Responsive Design */
/* Very Small Screens (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .carousel-item {
        height: clamp(150px, 30vh, 250px);
    }

    .carousel-overlay {
        width: 95%;
        padding: 58px;
        top: 40%;

    }

    .boat-details h1 {
        font-size: clamp(1.5rem, 3vw, 2rem);
    }

    .boat-details span {
        font-size: clamp(0.9rem, 2vw, 1rem);
    }

    .boat-details p {
        font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    }

    .start-button {
        padding: clamp(10px, 2.5vw, 14px) clamp(25px, 5vw, 50px);
        font-size: clamp(0.8rem, 2vw, 1rem);
    }

    .thumbnail img {
        width: clamp(60px, 12vw, 100px);
        height: clamp(40px, 8vw, 60px);
    }

    .thumbnail p {
        font-size: clamp(0.7rem, 1.8vw, 0.9rem);
    }

    .new-ui-header {
        padding: 10px;
    }

    .new-ui-header h1 {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
    }

    .new-ui-header span {
        font-size: clamp(0.7rem, 1.8vw, 0.8rem);
    }

    .new-ui-header p {
        font-size: clamp(0.6rem, 1.5vw, 0.7rem);
    }

    .new-ui-content {
        bottom: 0;
        padding: 5px;
        height: auto;
        top: -80px;
        /* Adjusted top for small screens */
    }

    .new-ui-image {
        width: 100%;
        height: 80vh;
        /* Adjusted height for small screens */


    }

    .image-container {
        position: static;
        margin: 10px auto;
    }

    .boat-image {
        width: clamp(60px, 12vw, 100px);
    }

    .plus-button {
        width: clamp(18px, 3.5vw, 22px);
        height: clamp(18px, 3.5vw, 22px);
        font-size: clamp(0.7rem, 1.8vw, 0.9rem);
    }

    .your-selection {
        position: static;
        width: 100%;
        max-width: none;
        margin: 10px 0;
        padding: 12px;
        max-height: 40vh;
    }

    .change-boat-button {
        position: static;
        margin: 10px auto;
        display: block;
    }

    .new-ui-panel {
        position: static;
        width: 100%;
        max-width: none;
        transform: none;
        margin: 10px 0;
        padding: 12px;
        max-height: 50vh;
    }

    .lighting-zone-header {
        font-size: clamp(0.7rem, 1.8vw, 0.8rem);
    }

    .filter-section label {
        font-size: clamp(0.6rem, 1.5vw, 0.7rem);
    }

    .light-btn {
        width: clamp(35px, 7vw, 50px);
        height: clamp(35px, 7vw, 50px);
    }

    .light-label {
        font-size: clamp(0.5rem, 1.2vw, 0.6rem);
    }

    .on-piling-light-card,
    .piling-top-light-card,
    .underwater-light-card,
    .dock-light-card {
        width: 100%;
    }

    .light-card-title {
        font-size: 0.9rem;
    }

    .light-card-subtitle {
        font-size: 0.75rem;
    }

    .light-card-specs {
        font-size: 0.7rem;
    }

    .customiser-header h1 {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
    }

    .customiser-header p {
        font-size: clamp(0.8rem, 2vw, 0.9rem);
    }

    .customiser-image {
        height: 40vh;
    }

    .customiser-close-btn {
        padding: clamp(10px, 2.5vw, 14px) clamp(25px, 5vw, 50px);
        font-size: clamp(0.8rem, 2vw, 1rem);
    }

    .customiser-back-btn {
        top: 10px;
        right: 10px;
        width: clamp(35px, 7vw, 45px);
        height: clamp(35px, 7vw, 45px);
        font-size: clamp(1rem, 2.5vw, 1.2rem);
    }

    .popup-content {
        padding: 20px;
        margin: 10px;
        max-width: 95%;
    }

    .popup-content h2 {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
    }

    .popup-content p {
        font-size: clamp(0.75rem, 2vw, 0.85rem);
    }

    .popup-content label {
        font-size: clamp(0.7rem, 1.8vw, 0.8rem);
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .request-quote-btn {
        font-size: clamp(0.8rem, 2vw, 0.9rem);
    }
}

/* Small Screens (max-width: 768px) */
@media (max-width: 768px) {
    .carousel-item {
        height: clamp(200px, 41vh, 380px);
    }

    .thumbnail-bar {
        flex-direction: row;
        align-items: center;

    }

    .thumbnail {
        width: 35%;
        max-width: 100px;
    }

    .new-ui-content {
        flex-direction: column;
        padding: 10px;
        align-items: center;
        bottom: 0;
        height: auto;
        top: -120px;
        right: 10px;
    }

    .new-ui-image {
        width: 100%;
        height: 60vh;
        /* height: 90vh; */
    }

    .image-container {
        position: static;
        margin: 10px auto;
    }

    /* .your-selection {
        position: absolute;
        width: 25%;
        left: 63%;
        padding: 6px;
        top: 70%;
    } */

    .your-selection {
        position: absolute;
        width: 30%;
        left: 63%;
        padding: 6px;
        top: 55%;
    }

    /* .change-boat-button {
        position: absolute;
        margin: 10px auto;
        display: block;
        bottom: 22%;
        left: 101px;
        padding: clamp(8px, 2vw, 10px) clamp(15px, 3vw, 12px);
    } */

    .change-boat-button {
        position: absolute;
        margin: 10px auto;
        display: block;
        bottom: 39%;
        left: 50px;
        padding: clamp(8px, 2vw, 10px) clamp(15px, 3vw, 12px);
    }


    /* .new-ui-panel {
        position: static;
        width: 90%;
        max-width: none;
        transform: none;
        margin-top: 10px;
        max-height: 60vh;
        margin-left: 10px;
        margin-right: 10px;
    } */

    .new-ui-panel {
        position: static;
        width: 90%;
        max-width: none;
        transform: none;
        /* margin-top: 10px; */
        margin-top: -100px;
        max-height: 60vh;
        margin-left: 5px;
    }

    .on-piling-light-card,
    .piling-top-light-card,
    .underwater-light-card,
    .dock-light-card {
        width: 100%;
    }

    .customiser-image {
        height: 36vh;
        width: 46%;
    }

    .popup-content {
        padding: 20px;
        max-width: 90%;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .filter-actions {
        flex-direction: column;
        gap: 8px;
    }

    .carousel-overlay {
        position: absolute;
        top: 43%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        z-index: 10;
        width: 66%;
        max-width: 600px;
    }

    .image-wrapper {
        position: absolute;
        top: 14%;
        left: 5%;
    }

    .boat-image {
        width: clamp(80px, 12vw, 120px);
        height: auto;
        border: 2px solid #3498db;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .image-wrapper {
        position: absolute;
        top: 16%;
        left: 14%;
    }


}

@media (max-width: 425px) {
    .thumbnail {
        width: 35%;
        max-width: 65px;
    }

    .image-wrapper {
        position: absolute;
        top: 14%;
        left: 5%;
    }

    .image-wrapper {
        position: absolute;
        top: 14%;
        left: 5%;
    }

    .your-selection h4 {
        font-weight: 400;
        text-transform: uppercase;
        color: #64ffda;
        font-size: 8px;
    }

    .your-selection p {
        margin: 6px 0;
        font-weight: 500;
        font-size: 8px;
    }

    /* .your-selection p.total-lights {
        background: rgba(100, 255, 218, 0.2);
        padding: 4px;
        font-weight: 700;
        color: #64ffda;
        text-align: center;
        border: 1px solid rgba(100, 255, 218, 0.3);
    } */

    .your-selection p.total-lights {
        padding: 4px;
        font-weight: 700;
        color: #64ffda;
        text-align: center;
        border: 1px solid rgba(100, 255, 218, 0.3);
    }

    .new-ui-image {
        width: 100%;
        height: 100vh;
    }

    .change-boat-button {
        position: absolute;
        margin: 10px auto;
        display: block;
        bottom: 46%;
        left: 20px;
    }

    /* .your-selection {
        position: absolute;
        width: 32%;
        left: 59%;
        padding: 8px;
        top: 49%;
    } */

    .your-selection {
        position: absolute;
        width: 37%;
        left: 55%;
        padding: 8px;
        top: 50%;
    }

    .new-ui-panel {
        position: static;
        width: 90%;
        max-width: none;
        transform: none;
        /* margin-top: 10px; */
        margin-top: -30px;
        max-height: 60vh;
        margin-left: 5px;
    }

    .new-ui-image {
        width: 100%;
        height: 45vh;
    }

    .new-ui-content {
        flex-direction: column;
        padding: 10px;
        align-items: center;
        bottom: 0;
        height: auto;
        top: -53px;
        right: 10px;
    }




}

/* @media (max-width: 430px) {
    .new-ui-image {
        width: 100%;
        height: 44vh;
        top: 93px;
    }
} */




@media (max-width: 375px) {
    .new-ui-image {
        width: 95%;
        /* height: 38vh; */
    }

    .boat-image {
        width: clamp(70px, 12vw, 120px);
    }

    .image-wrapper {
        position: absolute;
        top: 17%;
        left: 5%;
    }

    .your-selection {

        top: 48%;
    }

}

@media (max-width: 320px) {
    .new-ui-image {
        width: 95%;
        /* height: 32vh; */
    }

    .boat-image {
        width: clamp(60px, 12vw, 120px);
    }

    .image-wrapper {
        position: absolute;
        top: 19%;
        left: 5%;
    }

    .change-boat-button {
        position: absolute;
        margin: 10px auto;
        display: block;
        /* top: 49%; */
        /* right: 5%; */
        bottom: 49%;
        left: 16px;
        font-size: 8px;
    }

    .your-selection {
        top: 46%;
        padding: 6px;
    }
}

/* Medium Screens (min-width: 769px) and (max-width: 1200px) */
@media (min-width: 769px) and (max-width: 1200px) {
    .new-ui-panel {
        width: clamp(250px, 27vw, 350px);
        padding: 15px;
    }

    .your-selection {
        width: clamp(200px, 20vw, 280px);
        /* left: 112px;
        top: 81%; */
    }

    .new-ui-image {
        width: 100vw;
        height: 100vh;
        object-fit: contain;
    }


    .image-wrapper {
        position: relative;
        left: 90%;
    }

    .boat-image {
        width: clamp(80px, 15vw, 100px);

    }
}

/* Large Screens (min-width: 1201px) */
@media (min-width: 1201px) {
    .new-ui-panel {
        max-width: 307px;
    }

    .your-selection {
        max-width: 200px;
    }

    /* .new-ui-image {
                width: 70vw;
                height: 108vh;
            } */
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {

    .light-btn,
    .color-btn,
    .value-btn {
        border-width: 3px;
    }

    .light-btn.active,
    .color-btn.active {
        border-width: 4px;
    }
}

@media print {

    .arrow,
    .filter-actions,
    .share-dropdown,
    .customiser-overlay,
    .popup {
        display: none !important;
    }

    .new-ui {
        position: static;
        background: white;
        color: black;
    }
}

.share-option {
    background-color: #007aff;
    border: none;
    padding: 10px;
    margin: 5px;
    border-radius: 8px;
    cursor: pointer;
}

.share-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.share-option:hover {
    background-color: #005fcc;
}

/* ALL TABLETS – Portrait + Landscape (Universal 600px–1200px) */
@media (min-width: 600px) and (max-width: 1200px) {
    .new-ui-image {
        width: 100vw;
        /* height: 100vh; */
        object-fit: cover;
    }
}

/* ////////////////////////////////////////////////////////// */

/* Piling Cap Size Selection */
.size-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.size-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 4px;
    color: #bdc3c7;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.size-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.size-btn.active {
    background: rgba(100, 255, 218, 0.2);
    border-color: #64ffda;
    color: #64ffda;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.2);
}

#capture{
    padding: 2px;
    font-size: x-small;
}