/* Marketplace — kaip staging, be atskirų kortelių rėmelių */

.marketplace-page {
    background: #f6f7f9 !important;
    font-family: "Open Sans", sans-serif;
}

.marketplace-page .main-content {
    background: #f6f7f9;
    font-family: "Open Sans", sans-serif;
    overflow-x: hidden;
}

/* ── HERO — baltas banneris vietoj geltono (container viduje) ─ */
.marketplace-page .hero-block {
    padding: 25px 0;
    background: transparent;
}

.marketplace-page .hero-block .hero-block__row {
    background-color: #fff;
    border-radius: 32px;
    padding: 36px 48px;
    min-height: 390px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 8px 28px rgba(0, 106, 255, 0.06);
}

.marketplace-page .hero-block::before {
    display: none;
}

.marketplace-page .hero-block .hero-block__row::before {
    display: none;
}

.marketplace-page .hero-block .hero-block__text {
    position: relative;
    z-index: 1;
}

.marketplace-page .hero-block .hero-block__text h1 {
    font-size: 48px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    max-width: 580px;
    margin-bottom: 20px;
}

.marketplace-page .hero-block .hero-block__text h1 .hero-block__lead {
    color: #006aff;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

.marketplace-page .hero-block .hero-block__text p {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
    color: #8c8c8c;
    max-width: 520px;
}

.marketplace-page .hero-block .hero-block__buttons .button {
    padding: 14px 24px;
    gap: 8px;
    justify-content: center;
    text-align: center;
    font-size: 16px;
}

.marketplace-page .hero-block .hero-block__buttons .button img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.marketplace-page .hero-block .hero-block__buttons .transparent-btn {
    border: 1px solid #e0e3e8;
    color: #006aff;
    background: #fff;
    box-shadow: none;
    padding: 12px 20px;
    border-radius: 12px;
}

.marketplace-page .hero-block .hero-block__buttons .transparent-btn:hover {
    background: #f6f7f9;
    border-color: #cbd0d6;
    color: #0057d9;
}

/* Laptop mockup + mėlynas švytėjimas */
.marketplace-page .hero-block__image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.marketplace-page .hero-mockup {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
}

.marketplace-page .hero-mockup__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    height: 90%;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 106, 255, 0.22) 0%,
        rgba(99, 102, 241, 0.08) 40%,
        transparent 72%
    );
    filter: blur(24px);
    pointer-events: none;
    z-index: 0;
}

.marketplace-page .hero-mockup__img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    max-width: 580px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 48px rgba(0, 106, 255, 0.2))
        drop-shadow(0 8px 20px rgba(0, 0, 0, 0.08));
}

/* style.css .hero-block__image img neturi gadinti mockup */
.marketplace-page
    .hero-block
    .hero-block__row
    .hero-block__image
    .hero-mockup__img {
    position: relative;
    width: 100%;
    max-width: 580px;
    height: auto;
    object-fit: contain;
}

/* ── Baltijos šalys — vėliava viršuje, domenas apačioje ─ */
.marketplace-page .countries-block {
    padding: 72px 0 88px;
    background: #f6f7f9;
}

.marketplace-page .countries-block .countries-block__title {
    text-align: center;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin-bottom: 44px;
}

.marketplace-page .countries-block-list {
    display: flex;
    justify-content: center;
    gap: 150px;
    max-width: 1040px;
    margin: 0 auto;
    padding-bottom: 32px;
}

.marketplace-page .countries-block .countries-block-list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    text-decoration: none;
}

.marketplace-page .countries-block .countries-block-list a span {
    justify-content: center;
    text-align: center;
}

.marketplace-page .countries-block .countries-block-list a img:first-child {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    object-fit: cover;
}

.marketplace-page .countries-block-list a span {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    color: #1a1a1a;
}

.marketplace-page .countries-block .countries-block__text {
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    color: #8c8c8c;
    max-width: 640px;
    margin: 0 auto;
}

/* ── Privalumai — pilkas fonas kaip staging ──────── */
.marketplace-page .title-columns {
    padding: 55px 0;
}

.marketplace-page .title-columns .title-columns__heading {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 600;
    color: #1a1a1a;
}

.marketplace-page .title-columns .title-column__item {
    min-height: auto;
    gap: 0;
    padding: 28px 24px;
}

.marketplace-page .title-columns .title-column__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.marketplace-page .title-columns .title-column__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid transparent;
}

.marketplace-page .title-columns .title-column__icon--blue,
.marketplace-page .title-columns .title-column__icon--green {
    background: #f4f6f8;
    border-color: #e5e8ed;
}

.marketplace-page .title-columns .title-column__icon img {
    display: block;
    width: 24px;
    height: 24px;
    max-width: 24px;
    object-fit: contain;
}

.marketplace-page .title-columns .title-column__icon--blue img {
    filter: brightness(0) saturate(100%) invert(35%) sepia(90%) saturate(4632%)
        hue-rotate(206deg) brightness(98%) contrast(114%);
}

.marketplace-page .title-columns .title-column__icon--green img {
    filter: brightness(0) saturate(100%) invert(35%) sepia(90%) saturate(4632%)
        hue-rotate(206deg) brightness(98%) contrast(114%);
}

.marketplace-page .title-columns .title-column__item h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 0;
}

.marketplace-page .title-columns .title-column__item p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    color: #8c8c8c;
    margin: 0;
}

/* ── Žingsniai ───────────────────────────────────── */
.marketplace-page .steps--marketplace {
    padding: 60px 0;
    background: #fff;
}

.marketplace-page .steps--marketplace .steps__text h2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    color: #1a1a1a;
}

.marketplace-page .steps--marketplace .steps__text ul li h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.marketplace-page .steps--marketplace .steps__text ul li h3 span {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.marketplace-page .steps--marketplace .steps__text ul li:nth-child(1) h3 span {
    background-color: #006aff;
}

.marketplace-page .steps--marketplace .steps__text ul li:nth-child(2) h3 span {
    background-color: #006aff;
}

.marketplace-page .steps--marketplace .steps__text ul li:nth-child(3) h3 span {
    background-color: #006aff;
}

.marketplace-page .steps--marketplace .steps__text ul li:nth-child(4) h3 span {
    background-color: #006aff;
}

.marketplace-page .steps--marketplace .steps__text ul li p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    color: #1a1a1a;
}

.marketplace-page .steps--marketplace .steps__image {
    text-align: center;
    flex: 1 1 46%;
}

.marketplace-page .steps--marketplace .steps__text {
    flex: 1 1 54%;
}

.marketplace-page .steps--marketplace .steps__row {
    align-items: center;
    gap: 24px;
}

/* Ciklinė proceso schema (HTML/SVG vietoje PNG) */
.marketplace-page .mp-flow {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.marketplace-page .mp-flow__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.marketplace-page .mp-flow__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 84px;
    height: 84px;
    border-radius: 20px;
    background: #006aff;
    color: #fff;
    font-size: 46px;
    font-weight: 800;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 106, 255, 0.28);
}

.marketplace-page .mp-flow__card {
    position: absolute;
    width: 158px;
    padding: 14px 10px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e9edf2;
    box-shadow: 0 6px 18px rgba(26, 32, 44, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.marketplace-page .mp-flow__card--1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.marketplace-page .mp-flow__card--2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
.marketplace-page .mp-flow__card--3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.marketplace-page .mp-flow__card--4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.marketplace-page .mp-flow__num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #006aff;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marketplace-page .mp-flow__icon {
    width: 52px;
    height: 52px;
    display: block;
}

.marketplace-page .mp-flow__label {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.2;
}

/* ── CTA kortelės apačioje ───────────────────────── */
.marketplace-page .mp-cta-cards {
    padding: 57px 0 80px;
    background: #f6f7f9;
}

.marketplace-page .mp-cta-cards__heading {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-align: center;
    color: #1a1a1a;
    margin: 0 0 33px;
}

.marketplace-page .mp-cta-cards__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1150px;
    margin: 0 auto;
}

.marketplace-page .mp-cta-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e0e3e8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    padding: 32px 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.marketplace-page .mp-cta-card--blue {
    background: linear-gradient(160deg, #e5f0ff 0%, #f0f7ff 100%);
    border-color: #c5d9f5;
    box-shadow: 0 4px 20px rgba(0, 106, 255, 0.1);
}

.marketplace-page .mp-cta-card--blue .mp-cta-card__footer {
    border-top-color: rgba(0, 106, 255, 0.12);
}

.marketplace-page .mp-cta-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.marketplace-page .mp-cta-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid transparent;
}

.marketplace-page .mp-cta-card__icon--blue,
.marketplace-page .mp-cta-card__icon--green {
    background: #f4f6f8;
    border-color: #e5e8ed;
}

.marketplace-page .mp-cta-card__icon--blue {
    color: #006aff;
}

.marketplace-page .mp-cta-card__icon--green {
    color: #006aff;
}

.marketplace-page .mp-cta-card__head h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.marketplace-page .mp-cta-card > p {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0;
    flex: 1;
}

.marketplace-page .mp-cta-card__footer {
    border-top: 1px solid #eef0f2;
    padding-top: 20px;
    margin-top: auto;
}

.marketplace-page .mp-cta-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: auto;
    min-width: 220px;
    padding: 13px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1.2;
    text-align: center;
    box-sizing: border-box;
}

.marketplace-page .mp-cta-card__btn--primary {
    background: #006aff;
    color: #fff;
    border: 1px solid #006aff;
}

.marketplace-page .mp-cta-card__btn--primary:hover {
    background: #0057d9;
    border-color: #0057d9;
}

.marketplace-page .mp-cta-card__btn--outline {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #d1d5db;
}

.marketplace-page .mp-cta-card__btn--outline:hover {
    border-color: #9ca3af;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 992px) {
    .marketplace-page .main-content > section .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* ── Hero ── */
    .marketplace-page .hero-block {
        padding: 16px 0 20px;
    }

    .marketplace-page .hero-block .hero-block__row {
        flex-direction: column;
        align-items: stretch;
        border-radius: 20px;
        padding: 32px 24px 28px;
        min-height: auto;
    }

    .marketplace-page .hero-block .hero-block__row::after {
        content: "";
        position: absolute;
        bottom: -24px;
        right: -16px;
        width: 160px;
        height: 160px;
        background: radial-gradient(
            circle,
            rgba(0, 106, 255, 0.08) 0%,
            transparent 70%
        );
        pointer-events: none;
        z-index: 0;
    }

    .marketplace-page .hero-block .hero-block__text {
        display: contents;
    }

    .marketplace-page .hero-block .hero-block__text h1 {
        order: 1;
        width: 100%;
        text-align: center;
        max-width: none;
    }

    .marketplace-page .hero-block .hero-block__text p {
        order: 2;
        width: 100%;
        text-align: center;
        max-width: none;
    }

    .marketplace-page .hero-block .hero-block__image {
        display: block;
        width: 100%;
        margin: 20px 0 0;
        order: 3;
    }

    .marketplace-page .hero-mockup {
        max-width: 100%;
    }

    .marketplace-page .hero-mockup__glow {
        width: 88%;
        height: 85%;
        filter: blur(18px);
    }

    .marketplace-page .hero-mockup__img {
        max-width: 100%;
        max-height: 210px;
        width: auto;
        margin: 0 auto;
        object-fit: contain;
    }

    .marketplace-page .hero-block .hero-block__text h1 {
        font-size: 28px;
        line-height: 1.32;
        margin: 0 0 16px;
    }

    .marketplace-page .hero-block .hero-block__text p {
        font-size: 16px;
        line-height: 1.65;
    }

    .marketplace-page .hero-block .hero-block__buttons {
        order: 4;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        padding-top: 20px;
        gap: 10px;
    }

    .marketplace-page .hero-block .hero-block__buttons a {
        width: auto;
        min-width: 0;
        flex: 0 1 auto;
    }

    .marketplace-page .hero-block .hero-block__buttons .transparent-btn {
        min-width: 0;
    }

    /* ── Baltijos šalys ── */
    .marketplace-page .countries-block {
        padding: 40px 0 48px;
    }

    .marketplace-page .countries-block .countries-block__title {
        font-size: 24px;
        line-height: 1.35;
        margin-bottom: 28px;
    }

    .marketplace-page .countries-block-list {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: flex-start;
        gap: 16px;
        max-width: 100%;
        padding: 0 0 20px;
    }

    .marketplace-page .countries-block-list a {
        flex: 1 1 0;
        min-width: 0;
        max-width: 108px;
        gap: 8px;
    }

    .marketplace-page .countries-block .countries-block-list a img:first-child {
        width: 48px;
        height: 48px;
    }

    .marketplace-page .countries-block-list a span {
        font-size: 13px;
        line-height: 1.2;
    }

    .marketplace-page .countries-block .countries-block__text {
        font-size: 16px;
        line-height: 1.65;
    }

    /* ── Privalumai ── */
    .marketplace-page .title-columns {
        padding: 36px 0;
    }

    .marketplace-page .title-columns .title-columns__heading {
        font-size: 24px;
        line-height: 1.35;
        margin-bottom: 20px;
        text-align: center;
    }

    .marketplace-page .title-columns .title-columns-blocks {
        flex-direction: column;
        gap: 14px;
    }

    .marketplace-page .title-columns .title-column__item {
        flex: 1 1 100% !important;
        width: 100%;
        padding: 22px 18px !important;
        position: static !important;
        min-height: auto;
    }

    .marketplace-page .title-columns .title-column__head {
        margin-bottom: 10px;
        gap: 10px;
    }

    .marketplace-page .title-columns .title-column__icon {
        width: 44px;
        height: 44px;
    }

    .marketplace-page .title-columns .title-column__icon img {
        width: 22px;
        height: 22px;
        max-width: 22px;
    }

    .marketplace-page .title-columns .title-column__item h3 {
        font-size: 17px;
        line-height: 1.35;
        padding-left: 0 !important;
    }

    .marketplace-page .title-columns .title-column__item p {
        font-size: 14px;
        line-height: 1.55;
    }

    /* ── Žingsniai ── */
    .marketplace-page .steps--marketplace {
        padding: 36px 0 40px;
    }

    .marketplace-page .steps--marketplace .steps__row {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .marketplace-page .steps--marketplace .steps__text {
        flex: none;
        width: 100%;
        order: 1;
    }

    .marketplace-page .steps--marketplace .steps__text h2 {
        font-size: 24px;
        line-height: 1.35;
        margin-bottom: 22px;
    }

    .marketplace-page .steps--marketplace .steps__text ul {
        gap: 22px;
    }

    .marketplace-page .steps--marketplace .steps__text ul li {
        max-width: 100%;
    }

    .marketplace-page .steps--marketplace .steps__text ul li h3 {
        align-items: flex-start;
        gap: 12px;
        line-height: 1.35;
        margin-bottom: 8px;
    }

    .marketplace-page .steps--marketplace .steps__text ul li h3 span {
        width: 34px;
        height: 34px;
        font-size: 14px;
        margin-top: 1px;
    }

    .marketplace-page .steps--marketplace .steps__text ul li p {
        font-size: 15px;
        line-height: 1.6;
        padding-left: 46px;
    }

    .marketplace-page .steps--marketplace .steps__image {
        display: block;
        flex: none;
        width: 100%;
        max-width: 100%;
        margin: 28px auto 0;
        order: 2;
    }

    /* Mobiliam — 2×2 tinklelis vietoj susidūrusio žiedo */
    .marketplace-page .mp-flow {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        aspect-ratio: auto;
        max-width: 340px;
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    .marketplace-page .mp-flow__ring,
    .marketplace-page .mp-flow__center {
        display: none;
    }

    .marketplace-page .mp-flow__card {
        position: static;
        width: auto;
        transform: none !important;
        padding: 12px 8px 14px;
        gap: 6px;
    }

    .marketplace-page .mp-flow__card--1,
    .marketplace-page .mp-flow__card--2,
    .marketplace-page .mp-flow__card--3,
    .marketplace-page .mp-flow__card--4 {
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }

    .marketplace-page .mp-flow__icon {
        width: 34px;
        height: 34px;
    }

    .marketplace-page .mp-flow__label {
        font-size: 11px;
        line-height: 1.25;
        text-align: center;
    }

    .marketplace-page .mp-flow__num {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    /* ── CTA ── */
    .marketplace-page .mp-cta-cards {
        padding: 36px 0 52px;
    }

    .marketplace-page .mp-cta-cards__heading {
        font-size: 24px;
        line-height: 1.35;
        margin-bottom: 22px;
    }

    .marketplace-page .mp-cta-cards__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .marketplace-page .mp-cta-card {
        padding: 22px 18px 18px;
        gap: 12px;
    }

    .marketplace-page .mp-cta-card__head h3 {
        font-size: 18px;
        line-height: 1.35;
    }

    .marketplace-page .mp-cta-card > p {
        font-size: 15px;
        line-height: 1.55;
    }

    .marketplace-page .mp-cta-card__btn {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .marketplace-page .main-content > section .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .marketplace-page .hero-block .hero-block__row {
        border-radius: 16px;
        padding: 26px 18px 22px;
    }

    .marketplace-page .hero-block .hero-block__text h1 {
        font-size: 24px;
        line-height: 1.34;
        margin-bottom: 12px;
    }

    .marketplace-page .hero-block .hero-block__text p {
        font-size: 15px;
        line-height: 1.6;
    }

    .marketplace-page .hero-block .hero-block__buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 16px;
        gap: 8px;
    }

    .marketplace-page .hero-block .hero-block__buttons a {
        width: auto;
        justify-content: center;
        min-height: 44px;
    }

    .marketplace-page .hero-block .hero-block__buttons .transparent-btn {
        font-size: 16px;
        padding: 10px 14px;
        min-width: 0;
    }

    .marketplace-page .countries-block .countries-block__title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .marketplace-page .steps--marketplace .steps__text ul li p {
        padding-left: 0;
    }

    .marketplace-page .steps--marketplace .steps__image {
        max-width: 260px;
        margin-top: 28px;
    }
}
