/**
 * Leigh-Smith Yachts — Single Listing Styles (Step 1: Hero Section)
 * ─────────────────────────────────────────────────────────────────
 * Matches the React design:
 * - Fullscreen photography slider
 * - Vignette & gradient overlays
 * - Breadcrumb navigation
 * - Centered status, vessel title & builder
 * - Description & Specifications tabs
 * - Live slide counter
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --lsy-navy:            #131f39;
    --lsy-navy-overlay:    rgba(19, 31, 57, 0.85);
    --lsy-gold:            #c5a880;
    --lsy-gold-light:      #dfc8a8;
    --lsy-white:           #ffffff;
    --font-display:        'Cormorant Garamond', Georgia, serif;
    --font-body:           'Inter', system-ui, -apple-system, sans-serif;
    --ease-luxury:         cubic-bezier(0.2, 0, 0, 1);
}

/* ─── Base Wrapper ─── */
.lsy-single-yacht {
    font-family: var(--font-body);
    background: var(--lsy-navy);
    color: var(--lsy-white);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.lsy-single-yacht *,
.lsy-single-yacht *::before,
.lsy-single-yacht *::after {
    box-sizing: border-box;
}

/* ─── Hero Container ─── */
.lsy-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 680px;
    max-height: 1080px;
    overflow: hidden;
    background: var(--lsy-navy);
}

/* ─── Background Slider ─── */
.lsy-hero__slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.lsy-hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury);
    z-index: 1;
}

.lsy-hero__slide--active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.lsy-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.lsy-hero__placeholder {
    background: radial-gradient(circle at center, #1e2c4d 0%, #131f39 100%);
}

/* ─── Overlays & Vignette ─── */
.lsy-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(19, 31, 57, 0.45) 0%,
        rgba(19, 31, 57, 0.1) 35%,
        rgba(19, 31, 57, 0.35) 65%,
        rgba(19, 31, 57, 0.9) 100%
    );
}

/* ─── Breadcrumb ─── */
.lsy-hero__breadcrumb-wrap {
    position: absolute;
    top: 130px;
    left: 0;
    right: 0;
    z-index: 10;
}

@media (max-width: 768px) {
    .lsy-hero__breadcrumb-wrap {
        top: 100px;
    }
}

.lsy-hero__breadcrumb {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 500;
}

@media (min-width: 1024px) {
    .lsy-hero__breadcrumb {
        padding: 0 64px;
    }
}

.lsy-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lsy-hero__breadcrumb a:hover {
    color: #ffffff;
}

.lsy-hero__breadcrumb .lsy-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.lsy-hero__breadcrumb .lsy-current {
    color: rgba(255, 255, 255, 0.95);
}

/* ─── Navigation Arrows ─── */
.lsy-single-yacht button.lsy-hero__arrow,
.lsy-hero button.lsy-hero__arrow,
button.lsy-hero__arrow {
    all: unset !important;
    box-sizing: border-box !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 20 !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.lsy-single-yacht button.lsy-hero__arrow:hover,
.lsy-hero button.lsy-hero__arrow:hover,
button.lsy-hero__arrow:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-50%) scale(1.06) !important;
    color: #ffffff !important;
}

.lsy-single-yacht button.lsy-hero__arrow svg,
.lsy-hero button.lsy-hero__arrow svg,
button.lsy-hero__arrow svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    stroke: #ffffff !important;
    stroke-width: 1.75 !important;
    fill: none !important;
    pointer-events: none !important;
}

.lsy-single-yacht button.lsy-hero__arrow--prev,
button.lsy-hero__arrow--prev {
    left: 24px !important;
}

.lsy-single-yacht button.lsy-hero__arrow--next,
button.lsy-hero__arrow--next {
    right: 24px !important;
}

@media (min-width: 1024px) {
    .lsy-single-yacht button.lsy-hero__arrow--prev,
    button.lsy-hero__arrow--prev { left: 48px !important; }
    .lsy-single-yacht button.lsy-hero__arrow--next,
    button.lsy-hero__arrow--next { right: 48px !important; }
}

/* ─── Centered Hero Information ─── */
.lsy-hero__content {
    position: absolute;
    bottom: 96px;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
    padding: 0 24px;
    pointer-events: none;
}

.lsy-hero__status {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-weight: 600;
    color: var(--lsy-gold);
    margin: 0 0 10px;
}

.lsy-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 5.5vw, 4.25rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.lsy-hero__builder {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-weight: 600;
    color: var(--lsy-gold);
    margin: 12px 0 0;
}

/* ─── Bottom Bar (Tabs & Counter) ─── */
.lsy-hero__bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 32px 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

@media (min-width: 1024px) {
    .lsy-hero__bottom {
        padding: 0 64px 32px;
    }
}

.lsy-hero__tabs {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.lsy-single-yacht button.lsy-tab-btn,
.lsy-hero button.lsy-tab-btn,
button.lsy-tab-btn {
    all: unset !important;
    box-sizing: border-box !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 0 8px 0 !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.45) !important;
    font-family: var(--font-body) !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.16em !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: color 0.2s ease, border-color 0.2s ease !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.lsy-single-yacht button.lsy-tab-btn:hover,
.lsy-hero button.lsy-tab-btn:hover,
button.lsy-tab-btn:hover {
    color: rgba(255, 255, 255, 0.75) !important;
    background: transparent !important;
    background-color: transparent !important;
}

.lsy-single-yacht button.lsy-tab-btn--active,
.lsy-hero button.lsy-tab-btn--active,
button.lsy-tab-btn--active {
    color: #ffffff !important;
    border-bottom: 2px solid #ffffff !important;
    font-weight: 600 !important;
    background: transparent !important;
    background-color: transparent !important;
}

.lsy-single-yacht .lsy-tab-divider {
    width: 1px !important;
    height: 14px !important;
    background: rgba(255, 255, 255, 0.25) !important;
    margin: 0 !important;
}

.lsy-hero__counter {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   STEP 2: KEY SPECIFICATIONS QUICK-BAR
   ═══════════════════════════════════════════════════════════════ */
.lsy-specbar {
    width: 100%;
    background-color: var(--lsy-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 5;
}

.lsy-specbar__container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1024px) {
    .lsy-specbar__container {
        padding: 0 48px;
    }
}

.lsy-specbar__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    width: 100%;
}

.lsy-specbar__item {
    padding: 24px 16px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lsy-specbar__item:last-child {
    border-right: none;
}

.lsy-specbar__icon {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 auto 8px auto;
    display: block;
    flex-shrink: 0;
}

.lsy-specbar__value {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    color: var(--lsy-white);
    margin: 0;
    line-height: 1.25;
}

@media (min-width: 1024px) {
    .lsy-specbar__value {
        font-size: 22px;
    }
}

.lsy-specbar__label {
    font-family: var(--font-body);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.4);
    margin: 4px 0 0 0;
    font-weight: 500;
    line-height: 1;
}

/* Tablet: 3 columns x 2 rows */
@media (max-width: 991px) {
    .lsy-specbar__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .lsy-specbar__item:nth-child(3) {
        border-right: none;
    }
    .lsy-specbar__item:nth-child(-n+3) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Mobile: 2 columns x 3 rows */
@media (max-width: 575px) {
    .lsy-specbar__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .lsy-specbar__item {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 18px 12px;
    }
    .lsy-specbar__item:nth-child(2n) {
        border-right: none;
    }
    .lsy-specbar__item:nth-child(5),
    .lsy-specbar__item:nth-child(6) {
        border-bottom: none;
    }
    .lsy-specbar__value {
        font-size: 17px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   STEP 2: ACTION BUTTONS (CTA BAR)
   ═══════════════════════════════════════════════════════════════ */
.lsy-ctabar {
    width: 100%;
    background-color: var(--lsy-navy);
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 5;
}

.lsy-ctabar__container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

@media (min-width: 1024px) {
    .lsy-ctabar__container {
        padding: 0 48px;
    }
}

/* Base button styles with ultra-high specificity to override Hello Elementor */
.lsy-single-yacht .lsy-btn,
.lsy-single-yacht a.lsy-btn,
.lsy-single-yacht button.lsy-btn,
.lsy-ctabar a.lsy-btn,
.lsy-ctabar button.lsy-btn,
a.lsy-btn,
button.lsy-btn {
    all: unset !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 32px !important;
    font-family: var(--font-body) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.14em !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    border-radius: 0 !important;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease !important;
    white-space: nowrap !important;
}

/* Outline Variant */
.lsy-single-yacht .lsy-btn--outline,
.lsy-single-yacht a.lsy-btn--outline,
.lsy-single-yacht button.lsy-btn--outline,
.lsy-ctabar a.lsy-btn--outline,
.lsy-ctabar button.lsy-btn--outline {
    background: transparent !important;
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

.lsy-single-yacht .lsy-btn--outline:hover,
.lsy-single-yacht a.lsy-btn--outline:hover,
.lsy-single-yacht button.lsy-btn--outline:hover,
.lsy-ctabar a.lsy-btn--outline:hover,
.lsy-ctabar button.lsy-btn--outline:hover {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #131f39 !important;
}

/* Solid Accent Gold Variant ("Make an Offer") */
.lsy-single-yacht .lsy-btn--accent,
.lsy-single-yacht a.lsy-btn--accent,
.lsy-single-yacht button.lsy-btn--accent,
.lsy-ctabar a.lsy-btn--accent,
.lsy-ctabar button.lsy-btn--accent {
    background: #c5a880 !important;
    background-color: #c5a880 !important;
    border: 1px solid #c5a880 !important;
    color: #131f39 !important;
    font-weight: 600 !important;
}

.lsy-single-yacht .lsy-btn--accent:hover,
.lsy-single-yacht a.lsy-btn--accent:hover,
.lsy-single-yacht button.lsy-btn--accent:hover,
.lsy-ctabar a.lsy-btn--accent:hover,
.lsy-ctabar button.lsy-btn--accent:hover {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #131f39 !important;
}

/* Button SVG icons */
.lsy-btn-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

/* ═══════════════════════════════════════════════════════════════
   STEP 3: DESCRIPTION TAB — IMAGE GALLERY & LIGHTBOX
   ═══════════════════════════════════════════════════════════════ */
.lsy-main {
    width: 100%;
    background-color: #ffffff;
    color: var(--lsy-navy);
}

.lsy-tab-pane {
    width: 100%;
}

.lsy-tab-pane--active {
    display: block;
}

/* Gallery Section */
.lsy-gallery-section {
    width: 100%;
    background: #ffffff;
    padding: 72px 0;
}

@media (min-width: 1024px) {
    .lsy-gallery-section {
        padding: 96px 0;
    }
}

.lsy-gallery-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1024px) {
    .lsy-gallery-container {
        padding: 0 48px;
    }
}

.lsy-gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

@media (min-width: 1024px) {
    .lsy-gallery-header {
        margin-bottom: 48px;
    }
}

.lsy-gallery-subtitle {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--lsy-gold);
    margin: 0 0 8px 0;
    line-height: 1;
}

.lsy-gallery-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 400;
    color: #131f39;
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

@media (min-width: 1024px) {
    .lsy-gallery-title {
        font-size: 42px;
    }
}

/* Gallery 4-Column Grid */
.lsy-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: 100%;
}

@media (max-width: 991px) {
    .lsy-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

.lsy-gallery-card {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: pointer;
    background-color: #131f39;
    outline: none;
}

.lsy-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.2, 0, 0, 1);
}

.lsy-gallery-card:hover img,
.lsy-gallery-card:focus-visible img {
    transform: scale(1.06);
}

/* 4th Card "Gallery +N" Overlay */
.lsy-gallery-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(19, 31, 57, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 2;
}

.lsy-gallery-card:hover .lsy-gallery-card__overlay {
    background: rgba(19, 31, 57, 0.48);
}

.lsy-gallery-card__badge {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #ffffff;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.lsy-gallery-empty {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   FULLSCREEN LIGHTBOX MODAL (Elementor-Style)
   ═══════════════════════════════════════════════════════════════ */
.lsy-lightbox {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    overflow: hidden !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lsy-lightbox.lsy-lightbox--active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.lsy-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 20, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1;
}

/* Header bar */
.lsy-lightbox__header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    width: 100%;
}

.lsy-lightbox__counter {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.lsy-single-yacht button.lsy-lightbox__close,
.lsy-lightbox button.lsy-lightbox__close,
button.lsy-lightbox__close {
    all: unset !important;
    box-sizing: border-box !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.lsy-single-yacht button.lsy-lightbox__close:hover,
.lsy-lightbox button.lsy-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    transform: scale(1.06);
}

.lsy-lightbox__close svg {
    width: 18px;
    height: 18px;
}

/* Body / Stage */
.lsy-lightbox__body {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    min-height: 0;
    gap: 16px;
}

.lsy-lightbox__stage {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.lsy-lightbox__img {
    max-width: 90vw;
    max-height: 74vh;
    object-fit: contain;
    display: block;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    user-select: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Nav arrows */
.lsy-single-yacht button.lsy-lightbox__nav,
.lsy-lightbox button.lsy-lightbox__nav,
button.lsy-lightbox__nav {
    all: unset !important;
    box-sizing: border-box !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0;
    z-index: 10;
}

.lsy-single-yacht button.lsy-lightbox__nav:hover,
.lsy-lightbox button.lsy-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    transform: scale(1.08);
}

.lsy-lightbox__nav svg {
    width: 22px;
    height: 22px;
}

/* Thumbnail strip */
.lsy-lightbox__thumbs-wrap {
    position: relative;
    z-index: 10;
    padding: 14px 24px 20px 24px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.lsy-lightbox__thumbs {
    display: flex;
    gap: 8px;
    max-width: 85vw;
    overflow-x: auto;
    padding: 4px;
    scrollbar-width: thin;
}

.lsy-single-yacht button.lsy-lightbox__thumb,
.lsy-lightbox button.lsy-lightbox__thumb,
button.lsy-lightbox__thumb {
    all: unset !important;
    box-sizing: border-box !important;
    width: 56px !important;
    height: 40px !important;
    border-radius: 2px !important;
    overflow: hidden !important;
    opacity: 0.45 !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    display: block !important;
}

.lsy-lightbox__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lsy-single-yacht button.lsy-lightbox__thumb:hover,
.lsy-lightbox button.lsy-lightbox__thumb:hover {
    opacity: 0.8 !important;
}

.lsy-single-yacht button.lsy-lightbox__thumb--active,
.lsy-lightbox button.lsy-lightbox__thumb--active {
    opacity: 1 !important;
    border-color: var(--lsy-gold) !important;
    transform: scale(1.06);
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .lsy-lightbox__header {
        padding: 16px 20px;
    }
    .lsy-lightbox__body {
        padding: 0 12px;
    }
    .lsy-single-yacht button.lsy-lightbox__nav,
    .lsy-lightbox button.lsy-lightbox__nav {
        width: 40px !important;
        height: 40px !important;
    }
    .lsy-lightbox__img {
        max-width: 94vw;
        max-height: 65vh;
    }
    .lsy-single-yacht button.lsy-lightbox__thumb,
    .lsy-lightbox button.lsy-lightbox__thumb {
        width: 44px !important;
        height: 32px !important;
    }
}