/* ==========================================================================
   Yacht Booking - Frontend Styles
   ========================================================================== */

/* Base Overrides */

/* Variables inherited from admin.css */

/* ── Base Overrides ────────────────────────────────────────────────────── */
.yacht-plugin-canvas .text-primary {
    color: var(--yacht-primary);
}

.yacht-plugin-canvas .bg-primary {
    background-color: var(--yacht-primary);
}

.yacht-plugin-canvas .bg-primary-dark {
    background-color: var(--yacht-primary-dark);
}

.yacht-plugin-canvas .border-primary {
    border-color: var(--yacht-primary);
}

/* Force Material Icons to prevent theme override and text-rendering bugs */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -moz-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Page Wrapper ──────────────────────────────────────────────────────── */
.yacht-single-page {
    background: var(--yacht-bg);
    min-height: 100vh;
    font-family: var(--yacht-font-family);
    scroll-behavior: smooth;
    color: var(--yacht-text);
}

/* ── Plugin Canvas ─────────────────────────────────────────────────────── */
.yacht-plugin-canvas {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    max-width: 100%;
}

/* Ensure full width on common theme containers including Astra */
body.yacht-plugin-canvas .site-content,
body.yacht-plugin-canvas .ast-container,
body.yacht-auth-page .site-content,
body.yacht-auth-page .ast-container,
body.yacht-plugin-canvas #primary,
body.yacht-plugin-canvas #main,
body.yacht-plugin-canvas #content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}


.yacht-star-selector input[type="radio"] {
    position: absolute !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
    pointer-events: none !important;
}

.yacht-main-content {
    width: 100%;
}

/* ── Grid Gallery ──────────────────────────────────────────────────────── */
.yacht-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    height: auto;
    background: var(--yacht-black);
    width: 100%;
}

@media (min-width: 1024px) {
    .yacht-gallery-grid {
        grid-template-columns: 1fr 1fr;
        height: 600px;
    }
}

.yacht-gallery-main {
    position: relative;
    overflow: hidden;
    height: 400px;
}

@media (min-width: 1024px) {
    .yacht-gallery-main {
        height: auto;
    }
}

.yacht-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yacht-gallery-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
}

.yacht-gallery-side__item {
    position: relative;
    overflow: hidden;
}

.yacht-gallery-side__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Breadcrumbs */
.yacht-breadcrumbs {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 10;
    color: var(--yacht-white);
    font-size: var(--yacht-font-xs);
    font-weight: var(--yacht-weight-medium);
}

@media (min-width: 1024px) {
    .yacht-breadcrumbs {
        top: 3rem;
        left: 4rem;
        font-size: var(--yacht-font-xs);
    }
}

.yacht-breadcrumbs a {
    color: var(--yacht-white);
    text-decoration: none;
    transition: opacity 0.2s;
}

.yacht-breadcrumbs a:hover {
    opacity: 1;
}

/* Overlay Content */
.yacht-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    pointer-events: none;
}

@media (min-width: 1024px) {
    .yacht-gallery-overlay {
        padding: 4rem;
    }
}

.yacht-gallery-title {
    color: var(--yacht-white);
    margin: 0 0 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-size: clamp(2rem, 5vw, var(--yacht-font-5xl));
    font-weight: var(--yacht-weight-bold);
    line-height: var(--yacht-leading-tight);
}

.yacht-gallery-pills {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.yacht-glass-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--yacht-radius-full);
    color: var(--yacht-white);
}

@media (min-width: 768px) {
    .yacht-glass-pill {
        gap: 0.75rem;
        padding: 0.6rem 1.25rem;
    }
}

.yacht-glass-pill .material-symbols-outlined {
    font-size: 1.35rem;
    opacity: 0.9;
}

.yacht-fav-btn {
    background: var(--yacht-accent);
    border: none;
    border-radius: var(--yacht-radius-sm);
    color: var(--yacht-white);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: var(--yacht-font-sm);
    font-weight: var(--yacht-weight-semibold);
}

.yacht-fav-btn:hover {
    filter: brightness(1.1);
}

.yacht-fav-btn .material-symbols-outlined {
    font-size: 1.25rem;
}

/* View All Overlay */
.yacht-gallery-view-all {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    color: var(--yacht-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--yacht-radius);
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 5;
}

.yacht-gallery-view-all:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ── Section Navigation ────────────────────────────────────────────────── */
.yacht-single-nav {
    background: var(--yacht-bg-dark);
    /* Special layout color, maybe define variable? */
    color: var(--yacht-white);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

.yacht-single-nav__inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 4rem;
}

.yacht-single-nav__links {
    display: flex;
    gap: 3rem;
    height: 100%;
}

.yacht-single-nav__links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: flex;
    align-items: center;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    height: 100%;
    font-size: var(--yacht-font-sm);
    font-weight: var(--yacht-weight-semibold);
}

.yacht-single-nav__links a.active,
.yacht-single-nav__links a:hover {
    color: var(--yacht-white);
    border-bottom-color: var(--yacht-white);
}

@media (max-width: 768px) {
    .yacht-single-nav__inner {
        height: 60px;
        padding: 0 1rem;
    }

    .yacht-single-nav__links {
        gap: 1.5rem;
    }

    .yacht-single-nav__links a {
        font-size: 0.7rem;
    }
}

/* Main Layout */
.yacht-single-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

@media (min-width: 1024px) {
    .yacht-single-layout {
        grid-template-columns: 1fr 380px;
        padding: 3rem 3rem 5rem;
        align-items: start;
        /* Critical for sticky to work in grid */
    }

    .yacht-single-layout .yacht-single-sidebar {
        position: sticky;
        top: 32px;
        height: max-content;
        z-index: 90;
    }

    /* Account for WP Admin Bar */
    .admin-bar .yacht-single-layout .yacht-single-sidebar {
        top: 64px;
    }
}

/* ── Spec Cards ────────────────────────────────────────────────────────── */
.yacht-single-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .yacht-single-specs {
        grid-template-columns: repeat(4, 1fr);
    }
}

.yacht-spec-card {
    background: var(--yacht-surface);
    border: 1px solid var(--yacht-border-light);
    border-radius: var(--yacht-radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.yacht-spec-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--yacht-shadow);
    border-color: var(--yacht-border);
}

.yacht-spec-card__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--yacht-surface-soft);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.yacht-spec-card:hover .yacht-spec-card__icon-wrap {
    background: var(--yacht-primary);
    box-shadow: 0 4px 12px rgba(26, 46, 74, 0.15);
}

.yacht-spec-card:hover .yacht-spec-card__icon {
    color: var(--yacht-white);
}

.yacht-spec-card__icon {
    font-size: 20px !important;
    color: var(--yacht-primary);
}

.yacht-spec-card__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.yacht-spec-card__label {
    color: var(--yacht-text-muted);
    font-size: var(--yacht-font-sm);
    font-weight: var(--yacht-weight-medium);
    margin: 0;
    line-height: var(--yacht-leading-tight);
}

.yacht-spec-card__value {
    color: var(--yacht-text);
    font-size: var(--yacht-font-base);
    font-weight: var(--yacht-weight-semibold);
    margin: 0;
    line-height: var(--yacht-leading-tight);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Video Section ─────────────────────────────────────────────────────── */
.yacht-video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Ratio */
    height: 0;
    overflow: hidden;
    background: var(--yacht-black);
    border-radius: var(--yacht-radius-lg);
    box-shadow: var(--yacht-shadow-md);
    margin-top: 1rem;
}

.yacht-video-container iframe,
.yacht-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--yacht-radius-lg);
}

.yacht-self-video {
    object-fit: cover;
}

/* ── Location Section ──────────────────────────────────────────────────── */
.yacht-location-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    border-radius: var(--yacht-radius-lg);
    border: 1px solid var(--yacht-border-light);
    box-shadow: var(--yacht-shadow-md);
}

.yacht-single-map {
    height: 350px;
    width: 100%;
    z-index: 10;
    transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
    .yacht-single-map {
        height: 400px;
    }
}

.yacht-location-content {
    padding: 24px;
    background: var(--yacht-white);
    border-top: 1px solid var(--yacht-border-light);
}

.yacht-location-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 640px) {
    .yacht-location-details {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.yacht-location-address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--yacht-text);
    font-size: var(--yacht-font-base);
    line-height: var(--yacht-leading-normal);
    flex: 1;
}

.yacht-location-address .material-symbols-outlined {
    color: var(--yacht-primary);
    font-size: 24px;
    margin-top: -2px;
}

.yacht-btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--yacht-primary);
    color: var(--yacht-white);
    padding: 12px 24px;
    border-radius: var(--yacht-radius-full);
    text-decoration: none;
    font-weight: var(--yacht-weight-semibold);
    font-size: var(--yacht-font-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px var(--yacht-primary-light);
    white-space: nowrap;
    width: fit-content;
}

.yacht-btn-directions:hover {
    background: var(--yacht-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--yacht-primary-light);
    color: var(--yacht-white);
}

.yacht-btn-directions .material-symbols-outlined {
    font-size: 20px;
}

/* ── Content Sections ──────────────────────────────────────────────────── */
.yacht-single-main {
    min-width: 0;
}

.yacht-single-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--yacht-border-light);
}

.yacht-single-section:last-child {
    border-bottom: none;
}

.yacht-single-section__title {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.yacht-section-card {
    background: var(--yacht-surface);
    border: 1px solid var(--yacht-border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--yacht-shadow);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.yacht-section-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.yacht-section-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    /* Increased gap slightly for breathing room */
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--yacht-border-light);
    line-height: 1;
    /* Normalize header height */
}

.yacht-section-card__icon {
    font-family: 'Material Symbols Outlined' !important;
    font-size: 28px;
    /* Slightly larger icons for better presence */
    color: var(--yacht-primary);
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    display: flex;
    /* Flex icons for internal centering */
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'liga';
}

/* Higher specificity to override theme/WooCommerce h2 defaults */
.yacht-single-page .yacht-section-card__title {
    font-size: var(--yacht-font-2xl);
    font-weight: var(--yacht-weight-bold);
    margin: 0;
    padding: 0;
    color: var(--yacht-text);
    line-height: 1;
    display: block;
}

.yacht-single-prose {
    color: var(--yacht-text-muted);
    font-size: var(--yacht-font-base);
    line-height: var(--yacht-leading-relaxed);
}

.yacht-single-prose p {
    margin: 0 0 1.25rem;
}

.yacht-single-prose p:last-child {
    margin-bottom: 0;
}

/* ── Item Chips (Facilities, etc.) ─────────────────────────────────────── */
/* ── Feature Grid (Upgraded from Chips) ────────────────────────────────── */
.yacht-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.yacht-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--yacht-bg);
    border-radius: 16px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.yacht-feature-item:hover {
    background: var(--yacht-surface);
    border-color: var(--yacht-border-light);
    transform: translateY(-2px);
    box-shadow: var(--yacht-shadow-sm);
}

.yacht-feature-item__icon {
    width: 40px;
    height: 40px;
    background: var(--yacht-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yacht-primary);
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.yacht-feature-item__label {
    font-size: var(--yacht-font-sm);
    font-weight: var(--yacht-weight-semibold);
    color: var(--yacht-text);
}

/* ── Map ───────────────────────────────────────────────────────────────── */
/* Consolidated into .yacht-location-wrap .yacht-single-map above */

/* ── Sidebar Cards (Robust Component) ─────────────────────────────────── */
.yacht-sidebar-card {
    background: var(--yacht-surface);
    border: 1px solid var(--yacht-border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--yacht-shadow);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    display: block;
}

.yacht-sidebar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.yacht-sidebar-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--yacht-border-light);
}

.yacht-sidebar-card__icon {
    font-family: 'Material Symbols Outlined' !important;
    font-size: 24px;
    color: var(--yacht-primary);
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    display: inline-block;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'liga';
}

.yacht-sidebar-card__title {
    margin: 0;
    font-size: var(--yacht-font-lg);
    font-weight: var(--yacht-weight-semibold);
    color: var(--yacht-text);
}

/* Pricing Card Special Polish */
.yacht-pricing-card {
    border-top: none;
    /* Removed in favor of internal accent */
}

/* Header style now inherited from global .yacht-sidebar-card__header */

.yacht-pricing-card__price-wrap {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}

.yacht-pricing-card__amount {
    color: var(--yacht-primary);
    font-size: var(--yacht-font-4xl);
    font-weight: var(--yacht-weight-bold);
    line-height: var(--yacht-leading-tight);
}

.yacht-pricing-card__per {
    color: var(--yacht-text-light);
    font-size: var(--yacht-font-base);
    font-weight: var(--yacht-weight-semibold);
}

.yacht-pricing-card__hourly {
    color: var(--yacht-text-muted);
    font-size: var(--yacht-font-sm);
    font-weight: var(--yacht-weight-medium);
    display: flex;
    align-items: center;
    gap: 6px;
}

.yacht-pricing-card__hourly::before {
    content: '•';
    color: var(--yacht-border);
}

/* Form Polish */
.yacht-single-form__input {
    background: var(--yacht-bg);
    border: 1px solid var(--yacht-border);
    padding: 12px 16px;
    border-radius: 12px;
    width: 100%;
    margin-top: 4px;
}

/* Submit button consolidated below in body.yacht-plugin-canvas */

/* Consultant Card */
.yacht-consultant-card__profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Avatar consolidated below in .yacht-single-team__avatar */

/* Availability Card */
.yacht-availability-card {
    background: var(--yacht-surface);
}

/* Consultant Card */
.yacht-consultant-card {
    margin-bottom: 0;
}

.yacht-consultant-card .yacht-sidebar-card__header {
    margin-bottom: 1rem;
}

/* ───────────────────────────────────────────────────────────────────────── */

/* ── Sidebar Pricing Sub-styles ───────────────────────────────────────── */
.yacht-pricing-card__content {
    display: flex;
    flex-direction: column;
}

/* ── Inquiry Form ──────────────────────────────────────────────────────── */
.yacht-single-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.yacht-single-form__row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 480px) {
    .yacht-single-form__row {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.yacht-single-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.yacht-single-form__label {
    color: var(--yacht-text-muted);
    font-size: var(--yacht-font-xs);
    font-weight: var(--yacht-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.yacht-single-form__input {
    width: 100%;
    height: var(--yacht-input-h, 46px);
    padding: 0 16px;
    border-radius: var(--yacht-radius, 8px);
    border: 1px solid var(--yacht-border);
    background: var(--yacht-bg);
    font-size: var(--yacht-font-sm);
    color: var(--yacht-text);
    font-family: inherit;
    transition: var(--yacht-transition);
    box-sizing: border-box;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01);
    -webkit-appearance: none;
    appearance: none;
    line-height: normal;
}

.yacht-single-form__input:focus {
    outline: none;
    border-color: var(--yacht-primary);
    box-shadow: 0 0 0 3px var(--yacht-primary-light);
    background: var(--yacht-surface);
}

body.yacht-plugin-canvas .yacht-single-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: var(--yacht-input-h, 46px);
    padding: 0 24px;
    background: var(--yacht-primary);
    color: var(--yacht-white);
    border: 1px solid transparent;
    border-radius: var(--yacht-radius, 8px);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(26, 46, 74, 0.15);
    transition: var(--yacht-transition);
    margin-top: 1rem;
    font-size: var(--yacht-font-sm);
    font-weight: var(--yacht-weight-semibold);
    white-space: nowrap;
    outline: none;
    line-height: normal;
}

body.yacht-plugin-canvas .yacht-single-form__submit:hover {
    background: var(--yacht-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 46, 74, 0.2);
}

body.yacht-plugin-canvas .yacht-single-form__submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(26, 46, 74, 0.1);
}

/* ───────────────────────────────────────────────────────────────────────── */

.yacht-single-team__avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: var(--yacht-primary-light);
    color: var(--yacht-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.yacht-single-team__info {
    flex: 1;
    min-width: 0;
}

.yacht-single-team__name {
    color: var(--yacht-text);
    margin: 0;
}

.yacht-single-team__job {
    font-size: var(--yacht-font-xs);
    color: var(--yacht-text-muted);
    margin: 0.15rem 0 0.6rem;
}

.yacht-single-team__actions {
    display: flex;
    gap: 0.4rem;
}

.yacht-single-team__btn {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    border: 1px solid var(--yacht-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yacht-text-muted);
    text-decoration: none;
    transition: all 0.2s;
}

body.yacht-plugin-canvas .yacht-single-team__btn:hover {
    background: var(--yacht-primary);
    color: var(--yacht-white);
    border-color: var(--yacht-primary);
}

.yacht-single-team__btn .material-symbols-outlined {
    font-size: 1rem;
}


/* ── Native Component-Based Archive ─────────────────────────────────────── */
.yacht-archive-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--yacht-bg);
}

.yacht-archive-wrapper {
    max-width: 1440px;
    margin: 64px auto 80px;
    padding: 0 32px;
    width: 100%;
    /* Override flex-row bleed from dashboard core */
    display: grid !important;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .yacht-archive-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .yacht-archive-wrapper {
        padding: 0 16px;
        margin-top: 40px;
    }
}

/* ── Archive Hero Component ────────────────────────────────────────────── */
.yacht-archive-hero {
    position: relative;
    height: 55vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--yacht-primary-dark);
    /* Parallax Base Rules */
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.yacht-archive-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--yacht-primary-dark) 0%, var(--yacht-primary) 100%);
    opacity: 0.85;
    /* Adjust opacity as needed for image visibility */
    z-index: 1;
}

.yacht-archive-hero__bg {
    /* Deprecated in favor of inline bg image and pseudo-element overlay, left for fallback if needed */
    display: none;
}

.yacht-archive-hero__content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    max-width: 800px;
    color: var(--yacht-white);
}

.yacht-archive-hero__eyebrow {
    display: block;
    font-size: var(--yacht-font-sm);
    font-weight: var(--yacht-weight-bold);
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.yacht-archive-hero__title {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: var(--yacht-weight-bold);
    line-height: 1.1;
    margin: 0 0 24px 0;
    color: var(--yacht-white);
}

.yacht-archive-hero__subtitle {
    font-size: var(--yacht-font-lg);
    line-height: var(--yacht-leading-relaxed);
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto;
    max-width: 600px;
}

/* ── Archive Sidebar & Filter Panel Component ──────────────────────────── */
.yacht-archive-sidebar {
    position: relative;
}

@media (min-width: 1025px) {
    .yacht-archive-sidebar {
        position: sticky;
        top: 40px;
    }
}

.yacht-filter-panel {
    background: var(--yacht-surface);
    border-radius: var(--yacht-radius-lg);
    padding: 32px;
    box-shadow: var(--yacht-shadow-lg);
    border: 1px solid var(--yacht-border);
}

.yacht-filter-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--yacht-border-light);
}

.yacht-filter-panel__title {
    margin: 0;
    font-size: var(--yacht-font-lg);
    font-weight: var(--yacht-weight-bold);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--yacht-text);
}

.yacht-filter-clear {
    font-size: var(--yacht-font-xs);
    font-weight: var(--yacht-weight-bold);
    color: var(--yacht-text-muted);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.yacht-filter-clear:hover {
    color: var(--yacht-primary);
}

.yacht-filter-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.yacht-filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.yacht-filter-label {
    font-size: var(--yacht-font-xs);
    font-weight: var(--yacht-weight-bold);
    color: var(--yacht-text-strong);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.yacht-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.yacht-input-group .yacht-input {
    padding-left: 44px;
}

.yacht-input-icon {
    position: absolute;
    left: 14px;
    color: var(--yacht-text-muted);
    font-size: 20px;
    pointer-events: none;
}

.yacht-filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.yacht-filter-divider {
    color: var(--yacht-text-muted);
    font-weight: var(--yacht-weight-bold);
}

.yacht-filter-actions {
    margin-top: 8px;
}

/* ── Archive Results Header Component ──────────────────────────────────── */
.yacht-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background: var(--yacht-surface);
    padding: 16px 24px;
    border-radius: var(--yacht-radius);
    box-shadow: var(--yacht-shadow-sm);
    border: 1px solid var(--yacht-border);
}

@media (max-width: 640px) {
    .yacht-results-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
}

.yacht-results-count {
    font-size: var(--yacht-font-sm);
    color: var(--yacht-text-muted);
}

.yacht-results-count strong {
    color: var(--yacht-text-strong);
}

.yacht-results-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.yacht-results-sort .material-symbols-outlined {
    color: var(--yacht-text-muted);
}

.yacht-sort-select {
    border: none;
    background: transparent;
    padding: 0 24px 0 0;
    height: auto;
    font-weight: var(--yacht-weight-bold);
    color: var(--yacht-text-strong);
    cursor: pointer;
    box-shadow: none !important;
}

.yacht-sort-select:focus {
    background: transparent;
    outline: none;
}

/* ── Archive Yacht Grid ────────────────────────────────────────────────── */
.yacht-yacht-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

@media (max-width: 768px) {
    .yacht-yacht-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ── Listing Card Component ────────────────────────────────────────────── */
.yacht-archive-card {
    background: var(--yacht-surface);
    border-radius: var(--yacht-radius-lg);
    box-shadow: var(--yacht-shadow);
    border: 1px solid var(--yacht-border-light);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0 !important;
}

.yacht-archive-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--yacht-shadow-lg);
}

.yacht-archive-card__image-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 aspect ratio for a more balanced height */
    overflow: hidden;
    background: var(--yacht-surface-soft);
    border-top-left-radius: var(--yacht-radius-lg);
    border-top-right-radius: var(--yacht-radius-lg);
}

.yacht-archive-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.yacht-archive-card:hover .yacht-archive-card__image {
    transform: scale(1.05);
}

.yacht-archive-card__image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yacht-border-strong);
}

.yacht-archive-card__image-placeholder .material-symbols-outlined {
    font-size: 64px;
    opacity: 0.5;
}

.yacht-archive-card__badges {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.yacht-badge {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: var(--yacht-text-strong);
    padding: 6px 12px;
    border-radius: var(--yacht-radius);
    font-size: 11px;
    font-weight: var(--yacht-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--yacht-shadow-sm);
}

.yacht-archive-card__favorite {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yacht-text-muted);
    cursor: pointer;
    box-shadow: var(--yacht-shadow-sm);
    transition: all 0.2s;
    z-index: 2;
    line-height: 1;
}

.yacht-archive-card__favorite:hover {
    color: var(--yacht-danger);
    transform: scale(1.05);
}

.yacht-archive-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media (max-width: 768px) {
    .yacht-archive-card__body {
        padding: 20px;
    }
}

.yacht-archive-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.yacht-archive-card__info-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.yacht-archive-card__title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.yacht-archive-card__title a {
    color: var(--yacht-primary-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.yacht-archive-card__title a:hover {
    color: var(--yacht-primary);
}

.yacht-archive-card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--yacht-text-muted);
}

.yacht-archive-card__location .material-symbols-outlined {
    font-size: 16px;
    color: var(--yacht-primary);
}

.yacht-archive-card__pricing-col {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
}

.yacht-price-row {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 4px;
}

.yacht-price-row--hourly .yacht-price-amount {
    font-size: 22px;
    font-weight: 900;
    color: var(--yacht-primary-dark);
    line-height: 1;
}

.yacht-price-row--hourly .yacht-price-period {
    font-size: 11px;
    color: var(--yacht-text-muted);
    font-weight: var(--yacht-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.yacht-price-row--daily {
    opacity: 0.8;
}

.yacht-price-row--daily .yacht-price-amount {
    font-size: 18px;
    font-weight: 800;
    color: var(--yacht-primary);
    line-height: 1;
}

.yacht-price-row--daily .yacht-price-period {
    font-size: 11px;
    color: var(--yacht-text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.yacht-archive-card__specs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /* Prevent awkward wrapping crushing items */
    gap: 12px 20px;
    margin-bottom: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--yacht-border-light);
}

.yacht-spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.yacht-spec-icon {
    font-size: 18px;
    color: var(--yacht-border-strong);
    opacity: 0.7;
}

.yacht-spec-text {
    font-size: 13px;
    color: var(--yacht-text);
    font-weight: 500;
}

.yacht-archive-card__footer {
    margin-top: auto;
}

/* High-specificity override to defeat Elementor globals without !important tags */
.yacht-elementor-container .yacht-archive-grid .yacht-archive-card a.yacht-archive-card__btn,
.yacht-archive-wrapper .yacht-archive-card a.yacht-archive-card__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background-color: var(--yacht-primary);
    color: var(--yacht-white);
    font-weight: 600;
    font-size: 15px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    line-height: normal;
}

.yacht-elementor-container .yacht-archive-grid .yacht-archive-card a.yacht-archive-card__btn:hover,
.yacht-elementor-container .yacht-archive-grid .yacht-archive-card a.yacht-archive-card__btn:focus,
.yacht-archive-wrapper .yacht-archive-card a.yacht-archive-card__btn:hover,
.yacht-archive-wrapper .yacht-archive-card a.yacht-archive-card__btn:focus {
    background-color: var(--yacht-primary-dark);
    color: var(--yacht-white);
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.yacht-elementor-container .yacht-archive-grid .yacht-archive-card a.yacht-archive-card__btn .material-symbols-outlined,
.yacht-archive-wrapper .yacht-archive-card a.yacht-archive-card__btn .material-symbols-outlined {
    font-size: 20px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    /* Optical alignment */
}

.yacht-elementor-container .yacht-archive-grid .yacht-archive-card a.yacht-archive-card__btn:hover .material-symbols-outlined,
.yacht-archive-wrapper .yacht-archive-card a.yacht-archive-card__btn:hover .material-symbols-outlined {
    transform: translateX(6px);
}

/* ── Archive Empty State & Pagination ──────────────────────────────────── */
.yacht-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
    background: var(--yacht-surface);
    border-radius: var(--yacht-radius-lg);
    border: 1px dashed var(--yacht-border-strong);
}

.yacht-empty-icon {
    font-size: 64px;
    color: var(--yacht-border-strong);
    margin-bottom: 16px;
}

.yacht-empty-title {
    font-size: var(--yacht-font-2xl);
    font-weight: var(--yacht-weight-bold);
    color: var(--yacht-text-strong);
    margin: 0 0 12px 0;
}

.yacht-empty-desc {
    font-size: var(--yacht-font-base);
    color: var(--yacht-text-muted);
    max-width: 400px;
    margin: 0 auto 24px;
}

.yacht-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.yacht-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.yacht-pagination .page-numbers a,
.yacht-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-width: 40px;
    padding: 0 16px;
    border-radius: var(--yacht-radius);
    background: var(--yacht-surface);
    border: 1px solid var(--yacht-border);
    color: var(--yacht-text-strong);
    font-weight: var(--yacht-weight-bold);
    text-decoration: none;
    transition: all 0.2s;
}

.yacht-pagination .page-numbers span.current {
    background: var(--yacht-primary);
    color: var(--yacht-white);
    border-color: var(--yacht-primary);
}

.yacht-pagination .page-numbers a:hover {
    background: var(--yacht-surface-soft);
    border-color: var(--yacht-primary);
    color: var(--yacht-primary);
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.yacht-site-footer {
    background: var(--yacht-bg-dark);
    color: rgba(255, 255, 255, 0.5);
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.yacht-site-footer p {
    font-size: var(--yacht-font-sm);
    margin: 0;
}

/* ── Feature Grid ────────────────────────────────────────────────────────── */
.yacht-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.yacht-feature-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--yacht-surface-soft);
    border: 1px solid var(--yacht-border-light);
    border-radius: var(--yacht-radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.yacht-feature-item:hover {
    background: var(--yacht-surface);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: var(--yacht-primary);
}

.yacht-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    background: var(--yacht-surface);
    border-radius: 12px;
    color: var(--yacht-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.yacht-feature-item:hover .yacht-feature-icon {
    background: var(--yacht-primary);
    color: var(--yacht-white);
    transform: rotate(5deg) scale(1.05);
}

.yacht-feature-icon .material-symbols-outlined {
    font-size: 1.5rem;
    font-variation-settings: 'FILL' 1, 'wght' 400;
}

.yacht-feature-label {
    font-size: var(--yacht-font-base);
    font-weight: var(--yacht-weight-medium);
    color: var(--yacht-text);
    line-height: 1.4;
}

/* ── Premium Image Gallery (Horizontal Scroll) ───────────────────────── */
.yacht-gallery-scroller-wrap {
    background: var(--yacht-surface);
    border-radius: var(--yacht-radius-lg);
    border: 1px solid var(--yacht-border-light);
    padding: 24px;
    margin: 24px 0;
    box-shadow: var(--yacht-shadow);
    overflow: visible;
}

.yacht-gallery-scroller-container {
    position: relative;
    display: flex;
    align-items: center;
}

.yacht-gallery-scroller {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 0 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
}

.yacht-gallery-scroller::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari */
}

.yacht-gallery-item {
    flex: 0 0 calc(50% - 10px);
    scroll-snap-align: start;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/10;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--yacht-bg);
}

@media (min-width: 768px) {
    .yacht-gallery-item {
        flex: 0 0 calc(33.333% - 14px);
        /* Show exactly 3 images */
    }
}

.yacht-gallery-link {
    display: block;
    width: 100%;
    height: 100%;
}

.yacht-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.yacht-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.yacht-gallery-item:hover img {
    transform: scale(1.1);
}

/* Navigation Arrows */
.yacht-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--yacht-white);
    border: 1px solid var(--yacht-border-light);
    color: var(--yacht-text);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 0;
}

@media (min-width: 1024px) {
    .yacht-gallery-nav {
        display: flex;
    }
}

.yacht-gallery-nav:hover {
    background: var(--yacht-primary);
    color: var(--yacht-white);
    border-color: var(--yacht-primary);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.yacht-gallery-nav--prev {
    left: -22px;
}

.yacht-gallery-nav--next {
    right: -22px;
}

.yacht-gallery-nav .material-symbols-outlined {
    font-size: 24px;
}

.yacht-gallery-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    color: var(--yacht-text-muted);
    font-size: var(--yacht-font-xs);
    animation: pulse-scroll 2s infinite;
}

@media (min-width: 1024px) {
    .yacht-gallery-scroll-hint {
        display: none;
    }
}

@keyframes pulse-scroll {

    0%,
    100% {
        opacity: 0.6;
        transform: translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateX(-4px);
    }
}

/* ── Sidebar Video Card ────────────────────────────────────────────────── */

.yacht-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--yacht-black);
    border-radius: var(--yacht-radius-sm);
    overflow: hidden;
}

.yacht-video-container iframe,
.yacht-video-container video {
    width: 100%;
    height: 100%;
    display: block;
}

.yacht-sidebar-card.yacht-video-card {
    margin-bottom: 24px;
}

/* ── Reviews ────────────────────────────────────────────────────────── */
/* ── Redesigned Review System (Premium) ────────────────────────── */
.yacht-reviews-container {
    padding-top: 8px;
}

.yacht-reviews-summary-pro {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    background: var(--yacht-surface);
    padding: 40px;
    border-radius: var(--yacht-radius-2xl);
    margin-bottom: 48px;
    border: 1px solid var(--yacht-border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    align-items: center;
}

/* Premium Review Form Card - Total Aesthetic Overhaul */
.yacht-review-form-premium {
    display: none;
    position: relative;
    z-index: 20;
    margin-top: 24px;
    background: var(--yacht-surface);
    border: 2px dotted var(--yacht-border-strong);
    border-radius: var(--yacht-radius-xl);
    padding: 32px;
    margin-bottom: 40px;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: var(--yacht-shadow);
}

.yacht-form-pro {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.yacht-form-pro__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.yacht-form-pro__actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    align-items: center;
    /* Precise vertical alignment */
    margin-top: 32px;
}

.yacht-reviews-summary-pro__left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-right: 48px;
    border-right: 1px solid var(--yacht-border-light);
}

.yacht-reviews-summary-pro__score-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
}

.yacht-reviews-summary-pro__number {
    font-size: var(--yacht-font-5xl);
    font-weight: var(--yacht-weight-bold);
    line-height: var(--yacht-leading-tight);
    color: var(--yacht-text);
    letter-spacing: -2px;
}

.yacht-reviews-summary-pro__stars-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.yacht-reviews-summary-pro__stars {
    display: flex;
    gap: 2px;
}

.yacht-reviews-summary-pro__stars .material-symbols-outlined {
    font-size: 22px !important;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.yacht-reviews-summary-pro__count {
    font-size: var(--yacht-font-sm);
    font-weight: var(--yacht-weight-medium);
    color: var(--yacht-text-muted);
}

/* Rating Bars */
.yacht-rating-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
}

.yacht-rating-bar-row {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: var(--yacht-font-xs);
    font-weight: var(--yacht-weight-semibold);
    color: var(--yacht-text-muted);
}

.yacht-rating-bar-label {
    width: 60px;
    flex-shrink: 0;
}

.yacht-rating-bar-wrap {
    flex: 1;
    height: 8px;
    background: var(--yacht-bg);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.yacht-rating-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--yacht-primary);
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.yacht-rating-bar-pct {
    width: 40px;
    text-align: right;
    color: var(--yacht-text-light);
}

/* Review Cards Grid */
.yacht-reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.yacht-review-card {
    background: var(--yacht-surface);
    border-radius: var(--yacht-radius-xl);
    padding: 32px;
    border: 2px dotted var(--yacht-border-strong);
    /* Premium dotted order card feel */
    transition: all 0.3s ease;
    position: relative;
}

.yacht-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
    border-color: var(--yacht-primary-light);
}

.yacht-review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.yacht-review-card__user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.yacht-review-card__avatar {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--yacht-primary-light) 0%, var(--yacht-info-light) 100%);
    color: var(--yacht-primary);
    border-radius: var(--yacht-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--yacht-weight-bold);
    font-size: var(--yacht-font-xl);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.yacht-review-card__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.yacht-review-card__name-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.yacht-review-card__name {
    font-weight: var(--yacht-weight-bold);
    color: var(--yacht-text);
    font-size: var(--yacht-font-lg);
    letter-spacing: -0.01em;
    font-family: var(--yacht-font-family);
}

.yacht-review-card__verified {
    color: var(--yacht-info);
    display: flex;
    align-items: center;
}

.yacht-review-card__verified .material-symbols-outlined {
    font-size: 1.25rem;
    font-variation-settings: 'FILL' 1;
}

.yacht-review-card__date {
    font-size: var(--yacht-font-sm);
    color: var(--yacht-text-light);
    font-weight: var(--yacht-weight-medium);
}

.yacht-review-card__rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.yacht-review-card__rating-num {
    font-size: var(--yacht-font-lg);
    font-weight: var(--yacht-weight-bold);
    color: var(--yacht-star);
}

.yacht-review-card__rating-stars {
    display: flex;
    gap: 2px;
}

.yacht-review-card__rating-stars .material-symbols-outlined {
    font-size: 18px !important;
    font-variation-settings: 'FILL' 1;
}

.yacht-review-card__content {
    font-size: var(--yacht-font-base);
    line-height: var(--yacht-leading-relaxed);
    color: var(--yacht-text-muted);
    font-weight: var(--yacht-weight-normal);
    font-family: var(--yacht-font-family);
}

.yacht-review-card__content p {
    margin: 0;
}

.yacht-review-card__status {
    margin-top: 20px;
    padding: 8px 16px;
    background: var(--yacht-warning-light);
    border-radius: var(--yacht-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--yacht-font-xs);
    color: var(--yacht-warning);
    font-weight: var(--yacht-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.yacht-review-card__status .material-symbols-outlined {
    font-size: 16px;
}

@media (max-width: 991px) {
    .yacht-reviews-summary-pro {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .yacht-reviews-summary-pro__left {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid var(--yacht-border-light);
        padding-bottom: 32px;
    }
}

@media (max-width: 575px) {
    .yacht-reviews-summary-pro {
        padding: 32px 24px;
    }

    .yacht-review-card {
        padding: 24px;
    }

    .yacht-review-card__header {
        flex-direction: column;
        gap: 20px;
    }

    .yacht-review-card__rating {
        align-items: flex-start;
    }
}

.yacht-success-msg {
    padding: 24px;
    background: var(--yacht-success-light);
    border: 1px solid var(--yacht-success);
    border-radius: var(--yacht-radius-lg);
    color: var(--yacht-success-dark);
    /* Keeping dark text contrast */
    text-align: center;
    font-weight: var(--yacht-weight-semibold);
}

.yacht-star-selector {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
}

.yacht-star-selector label {
    cursor: pointer;
    display: block;
    line-height: 1;
}

.yacht-star-selector label .material-symbols-outlined {
    font-size: 3rem;
    /* Larger for better luxury interaction */
    color: var(--yacht-border);
    transition: var(--yacht-transition);
    font-variation-settings: 'FILL' 0;
}

.yacht-star-selector input:checked~label .material-symbols-outlined,
.yacht-star-selector label:hover .material-symbols-outlined,
.yacht-star-selector label:hover~label .material-symbols-outlined {
    color: var(--yacht-star) !important;
    font-variation-settings: 'FILL' 1;
    filter: drop-shadow(0 0 8px var(--yacht-star-alpha));
}

.yacht-star-selector label:hover .material-symbols-outlined {
    transform: scale(1.25) rotate(5deg);
}

/* --------------------------------------------------------------------------
   12. Elementor & Advanced Card Styles
   -------------------------------------------------------------------------- */

.yacht-elementor-container {
    width: 100%;
}

.yacht-archive-grid--elementor {
    display: grid !important;
}

/* ──────────────── Style 2: Elite Glassmorphism ──────────────── */
.yacht-card-elite {
    background: var(--yacht-surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.yacht-card-elite:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.yacht-card-elite__image-wrap {
    position: relative;
    padding-top: 110%;
    /* Tall, elegant aspect ratio */
    overflow: hidden;
    background: var(--yacht-surface-soft);
}

.yacht-card-elite__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.yacht-card-elite:hover .yacht-card-elite__image {
    transform: scale(1.1);
}

.yacht-card-elite__glass-header {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.yacht-card-elite__location {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.yacht-card-elite__badge {
    background: var(--yacht-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 30px;
    letter-spacing: 1px;
}

.yacht-card-elite__glass-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    z-index: 2;
}

.yacht-card-elite__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 5px;
    color: #fff !important;
}

.yacht-card-elite__meta {
    font-size: 13px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.yacht-card-elite__content {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    margin-top: auto;
}

.yacht-card-elite__pricing {
    display: flex;
    flex-direction: column;
}

.yacht-card-elite__amount {
    font-size: 20px;
    font-weight: 800;
    color: var(--yacht-primary);
}

.yacht-card-elite__label {
    font-size: 12px;
    color: var(--yacht-text-light);
    text-transform: uppercase;
    font-weight: 600;
}

.yacht-card-elite__btn {
    background: var(--yacht-primary);
    color: #fff !important;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.yacht-card-elite__btn:hover {
    background: var(--yacht-primary-dark);
}

/* ──────────────── Style 3: Minimal Visual Reveal ──────────────── */
.yacht-card-minimal {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 450px;
    transition: all 0.4s ease;
    background: var(--yacht-surface-soft);
}

.yacht-card-minimal__link {
    display: block;
    height: 100%;
    text-decoration: none;
}

.yacht-card-minimal__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.yacht-card-minimal__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.yacht-card-minimal:hover .yacht-card-minimal__overlay {
    opacity: 1;
    transform: translateY(0);
}

.yacht-card-minimal:hover .yacht-card-minimal__image {
    transform: scale(1.1);
}

.yacht-card-minimal__title {
    color: #fff !important;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 5px;
}

.yacht-card-minimal__meta {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 15px;
}

.yacht-card-minimal__price {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.yacht-card-minimal__btn {
    display: inline-block;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}


/* Global Button Styles moved to admin.css */