.ml-barci-container,
.ml-manufacturer-title,
.ml-boat-model {
    --ml-accent: var(--color-ocean);
}

.post-type-archive-barci-test .site-main,
.tax-producator .site-main {
    padding-block-start: 0;
}

.ml-hero {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 100vh;
    overflow: hidden !important;
}

.ml-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}

.ml-hero-overlay {
    position: absolute;
    inset: -2px 0 !important;
    transform: scale(1.02);
    transform-origin: center;
    background:
        linear-gradient(115deg, rgba(4, 17, 31, .88) 0%, rgba(4, 17, 31, .5) 44%, rgba(4, 17, 31, .22) 100%) !important;
}

.ml-hero-inner {
    position: relative;
    z-index: 2;
    display: block;
    height: auto;
    width: min(1240px, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: calc(var(--header-height) + 3.6rem) 0 4rem;
}

.ml-hero-shell {
    display: grid;
    gap: 2rem;
    align-items: center;
    min-height: calc(100vh - var(--header-height) - 7.6rem);
}

.ml-hero-copy {
    display: grid;
    gap: 1.25rem;
    max-width: 46rem;
    padding-top: 0;
}

.ml-hero-lead {
    display: grid;
    gap: .08rem;
}

.ml-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    align-self: start;
    gap: .5rem;
    margin-bottom: 1.2rem;
    width: fit-content;
    max-width: 100%;
    padding: .46rem .88rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .09);
    color: rgba(255, 255, 255, .84);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.ml-hero-title {
    margin: 0 0 1.25rem;
    color: var(--color-white) !important;
    font-size: clamp(3.4rem, 7vw, 5.9rem) !important;
    line-height: .96;
    letter-spacing: -.035em;
}

.ml-hero-title--compact {
    max-width: 10ch;
}

.ml-hero-title--archive {
    max-width: 9.4ch;
    font-size: clamp(3rem, 5vw, 4.8rem) !important;
}

.ml-hero-mobile-visual {
    display: none;
}

.ml-hero-mobile-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.ml-hero-subtitle {
    max-width: 35rem;
    margin: 0 0 1.8rem;
    color: rgba(255, 255, 255, .8);
    font-size: 1.05rem;
    line-height: 1.85;
}

.ml-hero-copy-body {
    display: grid;
    gap: 1rem;
}

.ml-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
}

.ml-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1.55rem;
}

.ml-hero-trust span {
    display: inline-flex;
    align-items: center;
    padding: .54rem .82rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .86);
    font-size: .79rem;
    line-height: 1.2;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.ml-hero-panel {
    padding: 1.45rem;
    border-radius: calc(var(--radius-md) + 8px);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 28px 80px rgba(4, 16, 29, .24);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.ml-hero-panel-track {
    display: grid;
    gap: .85rem;
}

.ml-hero-panel-kicker {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, .68);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ml-hero-feature {
    padding: 1.12rem 1.1rem;
    border-radius: 24px;
    background: rgba(8, 27, 47, .36);
    border: 1px solid rgba(255, 255, 255, .08);
}

.ml-hero-feature h2 {
    margin-bottom: .45rem;
    font-family: var(--font-base);
    font-size: 1rem;
    color: var(--color-white);
}

.ml-hero-feature p {
    color: rgba(255, 255, 255, .74);
    font-size: .93rem;
    line-height: 1.7;
}

.ml-barci-container {
    max-width: 1240px;
    position: relative;
    z-index: 4;
    margin: 0 auto;
    padding: 2rem 1.25rem 4.5rem;
}

.ml-barci-header {
    position: sticky;
    top: calc(var(--header-height, 92px) + .8rem) !important;
    z-index: 40;
    text-align: left;
    margin-bottom: 2.4rem;
    padding: .85rem .95rem;
    border-radius: 36px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(245, 248, 251, .92));
    border: 1px solid rgba(255, 255, 255, .92);
    box-shadow: 0 20px 52px rgba(7, 24, 42, .1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.ml-barci-header::before,
.ml-barci-header::after {
    display: none;
    pointer-events: none;
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(12, 42, 68, .08);
    box-shadow: 0 8px 20px rgba(7, 24, 42, .08);
    color: var(--color-grey);
    font-size: .84rem;
    font-weight: 800;
    line-height: 1;
    transform: translateY(-50%);
    place-items: center;
}

.ml-barci-title {
    display: none;
}

.ml-barci-tabs {
    display: flex;
    align-items: center;
    gap: .55rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    scrollbar-width: none;
}

.ml-barci-tabs::-webkit-scrollbar {
    display: none;
}

.ml-barci-tab {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    min-height: 46px;
    padding: .7rem 1rem;
    border-radius: 999px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--color-navy) !important;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.ml-barci-tab:first-child {
    border-left: 1px solid transparent;
}

.ml-barci-tab:hover {
    transform: translateY(-2px);
    color: var(--color-ocean) !important;
    background: rgba(15, 94, 143, .08);
}

.ml-barci-tab.active {
    background: linear-gradient(135deg, #0d4568 0%, #1271aa 100%) !important;
    color: var(--color-white) !important;
    box-shadow: 0 16px 34px rgba(15, 94, 143, .22);
}

.ml-barci-tab img.ml-tab-logo {
    height: 28px;
}

.ml-manufacturer-section {
    margin-bottom: 4rem;
    scroll-margin-top: calc(var(--header-height) + 8rem);
}

.ml-manufacturer-head {
    display: grid;
    gap: .45rem;
    align-items: end;
}

.ml-manufacturer-title {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1;
    color: var(--color-navy) !important;
}

.ml-manufacturer-meta {
    margin: 0 0 .35rem;
    color: var(--color-grey);
    font-size: .96rem;
    line-height: 1.7;
}

.ml-manufacturer-divider {
    height: 1px;
    margin-bottom: 1.5rem;
    background: rgba(12, 42, 68, .12);
}

.ml-boats-grid {
    display: grid;
    gap: 1.45rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ml-boat-card {
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: calc(var(--radius-md) + 4px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(243, 247, 250, .98)),
        radial-gradient(circle at top right, rgba(207, 160, 102, .12), transparent 38%);
    border: 1px solid rgba(12, 42, 68, .08);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.ml-boat-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, rgba(15, 94, 143, .82), rgba(207, 160, 102, .9));
    opacity: 0;
    transition: opacity var(--transition);
}

.ml-boat-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 34px 80px rgba(8, 27, 47, .16);
    border-color: rgba(15, 94, 143, .16);
}

.ml-boat-card:hover::before {
    opacity: 1;
}

.ml-boat-image {
    position: relative;
    aspect-ratio: 16 / 10;
    background: rgba(8, 27, 47, .05);
}

.ml-boat-image::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    background: linear-gradient(180deg, rgba(8, 27, 47, 0), rgba(8, 27, 47, .22));
    pointer-events: none;
}

.ml-boat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1);
    transform-origin: center center;
    will-change: transform;
    transition: transform 700ms cubic-bezier(.16, 1, .3, 1);
}

.ml-boat-card:hover .ml-boat-image img {
    transform: scale(1.04);
}

.ml-boat-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1rem;
    padding: 1.35rem;
    text-align: left;
}

.ml-boat-model {
    max-width: none;
    margin: 0;
    overflow: hidden;
    color: var(--color-navy) !important;
    font-size: clamp(1.5rem, 2vw, 1.95rem);
    line-height: 1.02;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-navy) !important;
}

.ml-specs-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    border-top: 0;
}

.ml-spec-row {
    position: relative;
    display: block;
    min-height: 0;
    padding: .95rem 1rem;
    border-radius: 22px;
    border: 1px solid rgba(12, 42, 68, .08);
    background: linear-gradient(180deg, rgba(248, 250, 252, .92), rgba(240, 245, 249, .96));
}

.ml-spec-row::after {
    display: none;
}

.ml-spec-left {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding-right: 0;
    margin-bottom: .7rem;
}

.ml-spec-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(15, 94, 143, .08);
    box-shadow: inset 0 0 0 1px rgba(15, 94, 143, .06);
}

.ml-spec-icon svg {
    stroke: var(--color-ocean);
}

.ml-spec-label {
    color: var(--color-grey);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.ml-spec-value {
    display: block;
    color: var(--color-anthracite);
    text-align: left;
    font-size: 1.16rem;
    font-weight: 800;
}

.ml-boat-footer {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(12, 42, 68, .08);
}

.ml-price {
    display: flex;
    flex-direction: column;
    gap: .18rem;
    padding-top: 0;
    color: var(--color-anthracite);
    text-align: left;
    font-size: .86rem;
    line-height: 1.35;
}

.ml-price-main {
    display: inline-flex;
    align-items: baseline;
    gap: .28rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.ml-price-prefix {
    color: var(--color-anthracite);
    font-weight: 800;
}

.ml-price-value {
    color: var(--color-accent);
    font-size: 1.45rem;
    font-weight: 900;
    text-decoration: none;
}

.ml-price-suffix {
    color: var(--color-grey);
}

.ml-price-note {
    color: var(--color-grey);
    font-size: .72rem;
    line-height: 1.4;
}

.ml-price-label {
    color: var(--color-grey);
    font-weight: 700;
}

.ml-boat-link-hint {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    color: var(--color-ocean);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: gap var(--transition), color var(--transition);
}

.ml-boat-card:hover .ml-boat-link-hint {
    gap: .58rem;
    color: var(--color-navy);
}

.ml-empty-state {
    padding: 2rem;
    border-radius: calc(var(--radius-md) + 6px);
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(245, 248, 251, .96));
    border: 1px solid rgba(255, 255, 255, .92);
    box-shadow: var(--shadow-sm);
}

.ml-empty-state h2 {
    margin-bottom: .65rem;
}

.ml-empty-state p {
    max-width: 42rem;
    color: var(--color-grey);
}

@media (min-width: 1100px) {
    .ml-hero-shell {
        grid-template-columns: minmax(0, 1.2fr) minmax(320px, .72fr);
        gap: 3rem;
    }
}

@media (max-width: 1024px) {
    .ml-hero {
        min-height: 680px;
    }

    .ml-hero-shell {
        min-height: calc(680px - var(--header-height) - 7.35rem);
    }

    .ml-boats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .ml-hero {
        display: block;
        min-height: auto;
        background: linear-gradient(180deg, #07182b 0%, #0b2740 100%);
    }

    .ml-hero-bg,
    .ml-hero-overlay {
        display: none;
    }

    .ml-hero-inner {
        width: min(100% - 2rem, 1240px);
        padding-top: calc(var(--header-height) + 1.25rem);
        padding-bottom: 1.25rem;
    }

    .ml-hero-shell {
        min-height: auto;
        gap: 1.15rem;
    }

    .ml-hero-copy {
        min-width: 0;
        max-width: none;
        display: grid;
        gap: 1rem;
        padding: 0;
    }

    .ml-hero-lead {
        gap: 0;
    }

    .ml-hero-eyebrow {
        display: inline-flex;
        width: 100%;
        max-width: none;
        justify-content: center;
        margin-bottom: .9rem;
        padding: .48rem .82rem;
        font-size: .69rem;
        line-height: 1.35;
        letter-spacing: .14em;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .ml-hero-title {
        width: 100%;
        max-width: none;
        margin-bottom: 0;
        font-size: clamp(1.72rem, 7.2vw, 2.12rem) !important;
        line-height: 1;
        letter-spacing: -.03em;
        text-wrap: balance;
        overflow-wrap: anywhere;
        text-shadow: none;
    }

    .ml-hero-mobile-visual {
        display: block;
        margin-inline: calc(var(--container-pad, 1rem) * -1);
        border-radius: 0;
        overflow: hidden;
        box-shadow: 0 20px 46px rgba(4, 16, 29, .18);
    }

    .ml-hero-mobile-image {
        width: 100%;
        aspect-ratio: 16 / 11;
        height: auto;
        border-radius: 0;
        object-fit: cover;
        object-position: center;
        box-shadow: none;
    }

    .ml-hero-subtitle {
        display: block;
        max-width: 32rem;
        margin-bottom: 0;
        color: rgba(255, 255, 255, .82);
        font-size: .92rem;
        line-height: 1.68;
        text-shadow: none;
    }

    .ml-hero-copy-body {
        gap: .95rem;
    }

    .ml-hero-actions {
        display: none;
    }

    .ml-hero-trust {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: .48rem;
    }

    .ml-hero-trust span {
        max-width: none;
        min-height: 100%;
        padding: .5rem .74rem;
        font-size: .78rem;
        line-height: 1.2;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .ml-hero-title--compact,
    .ml-hero-title--archive {
        max-width: none;
        font-size: clamp(1.72rem, 7.2vw, 2.12rem) !important;
    }

    .ml-hero-panel {
        min-width: 0;
        padding: 1rem;
    }

    .ml-hero-panel-track {
        display: flex;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: .8rem;
        overflow-x: auto;
        padding-right: max(28vw, 4rem);
        padding-bottom: .35rem;
        scroll-snap-type: x mandatory;
        scroll-padding-left: var(--container-pad, 1rem);
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .ml-hero-panel-track::-webkit-scrollbar {
        display: none;
    }

    .ml-hero-feature {
        flex: 0 0 clamp(236px, 72vw, 280px);
        max-width: none;
        min-width: 236px;
        padding: 1rem 1rem 1.05rem;
        scroll-snap-align: start;
    }

    .ml-hero-feature h2 {
        font-size: .98rem;
    }

    .ml-hero-feature p {
        font-size: .88rem;
        line-height: 1.66;
    }

    .ml-barci-header {
        top: calc(var(--header-height, 92px) + .4rem) !important;
        border-radius: 28px;
    }

    .ml-barci-header::before,
    .ml-barci-header::after {
        display: grid;
    }

    .ml-barci-header::before {
        content: "<";
        left: .42rem;
    }

    .ml-barci-header::after {
        content: ">";
        right: .42rem;
    }

    .ml-barci-tabs {
        gap: .4rem;
        padding-inline: .65rem;
    }

    .ml-barci-tab {
        min-height: 40px;
        padding: .55rem .85rem;
        font-size: .68rem;
    }

    .ml-barci-container {
        padding-top: 1.2rem;
    }

    .ml-boat-content {
        padding: 1.15rem;
    }

    .ml-specs-list {
        gap: .65rem;
    }

    .ml-boat-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .ml-barci-container {
        padding-inline: 1rem;
    }

    .ml-boats-grid {
        display: flex;
        gap: .8rem;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        padding-right: max(34vw, 4.1rem);
        scroll-snap-type: x mandatory;
        scroll-padding-left: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .ml-boats-grid::-webkit-scrollbar {
        display: none;
    }

    .ml-boat-card {
        flex: 0 0 clamp(222px, 70vw, 272px);
        scroll-snap-align: start;
    }

    .ml-boat-content {
        gap: .68rem;
        padding: .92rem;
    }

    .ml-boat-model {
        font-size: 1.08rem;
    }

    .ml-specs-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .42rem;
    }

    .ml-spec-row {
        padding: .62rem .66rem;
        border-radius: 17px;
    }

    .ml-spec-left {
        gap: .42rem;
        margin-bottom: .34rem;
    }

    .ml-spec-icon {
        width: 24px;
        height: 24px;
        border-radius: 8px;
    }

    .ml-spec-label {
        font-size: .49rem;
        letter-spacing: .1em;
    }

    .ml-spec-value {
        font-size: .88rem;
    }

    .ml-boat-footer {
        flex-direction: row;
        align-items: flex-end;
        gap: .5rem;
        padding-top: .8rem;
    }

    .ml-price-main {
        gap: .16rem;
    }

    .ml-price-prefix,
    .ml-price-suffix {
        font-size: .76rem;
    }

    .ml-price-value {
        font-size: 1.02rem;
    }
}
