.dropship-page {
    --ds-ink: #17324d;
    --ds-muted: #647b91;
    --ds-green: #167bc0;
    --ds-green-dark: #0b4f8a;
    --ds-mint: #e8f4ff;
    --ds-lime: #78c8ff;
    --ds-paper: #f4f8fc;
    --ds-line: #d6e4ef;
    color: var(--ds-ink);
    font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
    margin: -10px auto 70px;
    max-width: 1440px;
}

.dropship-page *,
.dropship-page *::before,
.dropship-page *::after {
    box-sizing: border-box;
}

.dropship-page h1,
.dropship-page h2,
.dropship-page h3,
.dropship-page h4,
.dropship-page p {
    margin-top: 0;
}

.dropship-eyebrow {
    color: var(--ds-green);
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
    margin-bottom: 14px;
}

.dropship-hero {
    background: linear-gradient(135deg, #0b4f8a 0%, #116fad 100%);
    border-radius: 24px;
    color: #fff;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
    min-height: 400px;
    overflow: hidden;
    padding: clamp(30px, 4vw, 54px);
    position: relative;
}

.dropship-hero::before {
    background: radial-gradient(circle, rgba(120, 200, 255, .25), transparent 68%);
    content: "";
    height: 620px;
    left: -260px;
    position: absolute;
    top: -300px;
    width: 620px;
}

.dropship-hero__content {
    align-self: center;
    max-width: 760px;
    position: relative;
    z-index: 2;
}

.dropship-hero .dropship-eyebrow {
    color: var(--ds-lime);
}

.dropship-hero h1 {
    color: #fff;
    font-size: clamp(32px, 3.7vw, 50px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.02;
    margin-bottom: 20px;
}

.dropship-hero__lead {
    color: rgba(255, 255, 255, .78);
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.55;
    margin-bottom: 26px;
    max-width: 690px;
}

.dropship-button {
    align-items: center;
    background: var(--ds-green);
    border: 0;
    border-radius: 13px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 15px;
    font-weight: 800;
    justify-content: center;
    min-height: 52px;
    padding: 13px 24px;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.dropship-button:hover,
.dropship-button:focus {
    background: var(--ds-green-dark);
    color: #fff;
    box-shadow: 0 12px 28px rgba(11, 79, 138, .18);
    transform: translateY(-2px);
    text-decoration: none;
}

.dropship-button:disabled {
    cursor: wait;
    opacity: .65;
    transform: none;
}

.dropship-button--light {
    background: var(--ds-lime);
    color: var(--ds-green-dark);
}

.dropship-button--light:hover,
.dropship-button--light:focus {
    background: #cceaff;
    color: var(--ds-green-dark);
}

.dropship-hero__visual {
    min-height: 285px;
    position: relative;
}

.dropship-orbit {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.dropship-orbit--one {
    height: 220px;
    width: 220px;
}

.dropship-orbit--two {
    height: 330px;
    width: 330px;
}

.dropship-flow-card {
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, .11);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
    display: flex;
    flex-direction: column;
    min-width: 160px;
    padding: 16px;
    position: absolute;
}

.dropship-flow-card span {
    color: var(--ds-lime);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.dropship-flow-card strong {
    font-size: 20px;
    margin: 12px 0 4px;
}

.dropship-flow-card small {
    color: rgba(255, 255, 255, .7);
    line-height: 1.45;
}

.dropship-flow-card--client {
    left: 0;
    top: 7%;
}

.dropship-flow-card--partner {
    background: var(--ds-lime);
    color: var(--ds-green-dark);
    left: 30%;
    top: 39%;
    z-index: 2;
}

.dropship-flow-card--partner span,
.dropship-flow-card--partner small {
    color: var(--ds-green-dark);
}

.dropship-flow-card--production {
    bottom: 1%;
    right: 0;
}

.dropship-section,
.dropship-terms,
.dropship-builder {
    padding: clamp(70px, 8vw, 120px) clamp(12px, 3vw, 44px);
}

.dropship-section__heading,
.dropship-builder__heading {
    margin: 0 auto 48px;
    max-width: 820px;
    text-align: center;
}

.dropship-section h2,
.dropship-terms h2,
.dropship-builder h2 {
    color: var(--ds-ink);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.1;
}

.dropship-steps {
    counter-reset: step;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, 1fr);
}

.dropship-steps article {
    background: #fff;
    border: 1px solid var(--ds-line);
    border-radius: 20px;
    min-height: 230px;
    padding: 28px;
    position: relative;
}

.dropship-step-number {
    color: var(--ds-green);
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 54px;
}

.dropship-steps article:not(:last-child)::after {
    background: var(--ds-lime);
    border-radius: 50%;
    color: var(--ds-green-dark);
    content: "→";
    display: grid;
    font-size: 18px;
    height: 38px;
    place-items: center;
    position: absolute;
    right: -29px;
    top: 38px;
    width: 38px;
    z-index: 2;
}

.dropship-steps h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.dropship-steps p,
.dropship-terms p,
.dropship-builder__heading p {
    color: var(--ds-muted);
    line-height: 1.65;
}

.dropship-terms {
    background: var(--ds-paper);
    border-radius: 30px;
    display: grid;
    gap: clamp(40px, 6vw, 90px);
    grid-template-columns: .7fr 1.3fr;
}

.dropship-terms__intro {
    align-self: start;
    position: sticky;
    top: 30px;
}

.dropship-terms__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, 1fr);
}

.dropship-terms__grid article {
    background: #fff;
    border: 1px solid rgba(22, 123, 192, .14);
    border-radius: 18px;
    display: flex;
    gap: 17px;
    min-height: 175px;
    padding: 24px;
}

.dropship-term-icon {
    align-items: center;
    background: var(--ds-mint);
    border-radius: 12px;
    color: var(--ds-green);
    display: inline-flex;
    flex: 0 0 48px;
    font-size: 13px;
    font-weight: 900;
    height: 48px;
    justify-content: center;
}

.dropship-terms__grid h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.dropship-builder {
    scroll-margin-top: 20px;
}

.dropship-import {
    background: var(--ds-green-dark);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(11, 79, 138, .18);
    color: #fff;
    margin: 0 auto 28px;
    max-width: 1000px;
    padding: clamp(24px, 4vw, 42px);
    text-align: center;
}

.dropship-import > label {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 auto 10px;
    max-width: 520px;
}

.dropship-import__row {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.dropship-import input {
    border: 2px solid transparent;
    border-radius: 13px;
    color: var(--ds-ink);
    font-size: 15px;
    min-height: 54px;
    padding: 12px 16px;
    width: 100%;
}

.dropship-import input:focus {
    border-color: var(--ds-lime);
    outline: 0;
}

.dropship-import .dropship-button {
    background: var(--ds-lime);
    color: var(--ds-green-dark);
    min-width: min(100%, 360px);
}

.dropship-status {
    font-size: 14px;
    margin: 12px 0 0;
    min-height: 20px;
}

.dropship-status.is-error {
    color: #d9363e;
}

.dropship-import .dropship-status {
    text-align: center;
}

.dropship-import .dropship-status.is-error {
    color: #ffb4b8;
}

.dropship-status.is-success {
    color: var(--ds-green);
}

.dropship-import .dropship-status.is-success,
.dropship-import .dropship-status.is-loading {
    color: var(--ds-lime);
}

.dropship-editor[hidden] {
    display: none;
}

.dropship-editor {
    margin: 0 auto;
    max-width: 1160px;
    scroll-margin-top: 20px;
}

.dropship-editor__grid {
    display: grid;
    gap: 20px;
}

.dropship-panel {
    background: #fff;
    border: 1px solid var(--ds-line);
    border-radius: 22px;
    padding: clamp(22px, 4vw, 38px);
}

.dropship-panel__title {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.dropship-panel__title > span {
    align-items: center;
    background: var(--ds-green);
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex: 0 0 38px;
    font-weight: 800;
    height: 38px;
    justify-content: center;
}

.dropship-panel__title h3 {
    font-size: 23px;
    margin: 3px 0 5px;
}

.dropship-panel__title p {
    color: var(--ds-muted);
    margin: 0;
}

.dropship-logo-upload {
    background: var(--ds-paper);
    border-radius: 16px;
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
    padding: 14px;
}

.dropship-panel .dropship-logo-upload__input {
    display: none !important;
}

.dropship-logo-upload__button {
    background: var(--ds-green);
    border: 0;
    border-radius: 11px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    justify-self: start;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 18px;
}

.dropship-logo-upload__button:hover,
.dropship-logo-upload__button:focus-visible {
    background: var(--ds-green-dark);
}

.dropship-logo-upload__preview {
    align-items: center;
    background: #fff;
    border: 1px solid var(--ds-line);
    border-radius: 11px;
    color: var(--ds-green);
    display: flex;
    font-size: 12px;
    font-weight: 900;
    height: 82px;
    justify-content: center;
    max-width: 220px;
    overflow: hidden;
    padding: 6px;
}

.dropship-logo-upload__preview[hidden] {
    display: none;
}

.dropship-logo-upload__preview img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.dropship-logo-upload small {
    display: block;
}

.dropship-logo-upload small {
    color: var(--ds-muted);
    margin-top: 5px;
    overflow-wrap: anywhere;
}

.dropship-party-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dropship-party-card {
    border: 1px solid var(--ds-line);
    border-radius: 17px;
    margin: 0;
    min-width: 0;
    padding: 20px;
}

.dropship-party-card legend {
    background: var(--ds-mint);
    border-radius: 999px;
    color: var(--ds-green-dark);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .06em;
    padding: 7px 14px;
    text-transform: uppercase;
}

.dropship-fields {
    display: grid;
    gap: 16px;
}

.dropship-fields--two {
    grid-template-columns: repeat(2, 1fr);
}

.dropship-document-fields {
    border-top: 1px solid var(--ds-line);
    margin-top: 24px;
    padding-top: 24px;
}

.dropship-panel label > span,
.dropship-field-wide > span {
    color: #40566b;
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
}

.dropship-panel input,
.dropship-panel textarea {
    background: #fff;
    border: 1px solid #cbdbe8;
    border-radius: 11px;
    color: var(--ds-ink);
    font: inherit;
    min-height: 48px;
    padding: 11px 13px;
    transition: border-color .2s ease, box-shadow .2s ease;
    width: 100%;
}

.dropship-panel textarea {
    min-height: 105px;
    resize: vertical;
}

.dropship-panel input:focus,
.dropship-panel textarea:focus {
    border-color: var(--ds-green);
    box-shadow: 0 0 0 3px rgba(22, 123, 192, .12);
    outline: 0;
}

.dropship-field-wide {
    display: block;
    margin-top: 16px;
}

.dropship-summary-fields {
    display: grid;
    gap: 16px;
}

.dropship-products {
    display: grid;
    gap: 18px;
}

.dropship-product-card {
    border: 1px solid var(--ds-line);
    border-radius: 17px;
    overflow: hidden;
}

.dropship-product-card__head {
    align-items: center;
    background: #fff;
    display: flex;
    gap: 16px;
    padding: 16px;
}

.dropship-product-card__title {
    flex: 1 1 auto;
    min-width: 0;
}

.dropship-product-card__image {
    align-items: center;
    background: #fff;
    border-radius: 12px;
    color: var(--ds-green);
    display: flex;
    border: 1px solid #edf3f8;
    flex: 0 0 92px;
    font-size: 16px;
    font-weight: 900;
    height: 92px;
    justify-content: center;
    overflow: hidden;
}

.dropship-product-card__image img {
    height: 100%;
    object-fit: contain;
    padding: 6px;
    width: 100%;
}

.dropship-product-card__title h4 {
    font-size: 17px;
    line-height: 1.4;
    margin: 0;
}

.dropship-product-card__head p {
    color: var(--ds-muted);
    font-size: 13px;
    margin: 0;
}

.dropship-product-card__rows {
    padding: 4px 16px;
}

.dropship-price-row {
    align-items: end;
    border-bottom: 1px solid #edf3f8;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(220px, 1fr) 125px 190px 150px;
    padding: 15px 0;
}

.dropship-price-row__name {
    display: block;
    min-width: 0;
}

.dropship-price-row:last-child {
    border-bottom: 0;
}

.dropship-price-row span {
    color: var(--ds-muted);
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.dropship-price-row__quantity strong,
.dropship-price-row__sum strong {
    display: block;
    line-height: 1.4;
}

.dropship-price-row__quantity input {
    max-width: 110px;
}

.dropship-product-meta {
    background: var(--ds-paper);
    border-top: 1px solid var(--ds-line);
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(220px, .65fr) minmax(260px, 1.35fr);
    padding: 18px;
}

.dropship-product-meta__label {
    color: var(--ds-muted);
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.dropship-production-term input {
    background: #fff;
}

.dropship-print-file__preview {
    background: #fff;
    border: 1px solid var(--ds-line);
    border-radius: 12px;
    height: 150px;
    max-width: 240px;
    overflow: hidden;
    padding: 8px;
}

.dropship-print-file__preview img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.dropship-print-file__name {
    background: #fff;
    border: 1px solid var(--ds-line);
    border-radius: 10px;
    font-weight: 700;
    padding: 12px;
}

.dropship-product-details {
    display: grid;
    gap: 12px;
    grid-column: 1 / -1;
}

.dropship-product-details > div {
    background: #fff;
    border: 1px solid var(--ds-line);
    border-radius: 12px;
    padding: 14px;
}

.dropship-product-details p,
.dropship-product-description {
    color: var(--ds-muted);
    line-height: 1.6;
    margin: 7px 0 0;
}

.dropship-product-characteristics {
    white-space: normal;
}

.dropship-product-description {
    overflow-x: auto;
}

.dropship-product-description p {
    margin: 7px 0;
}

.dropship-product-description table {
    border-collapse: collapse;
    margin: 10px 0;
    min-width: 520px;
    width: 100%;
}

.dropship-product-description th,
.dropship-product-description td {
    border: 1px solid var(--ds-line);
    padding: 7px 9px;
    text-align: center;
    vertical-align: middle;
}

.dropship-product-description th {
    background: var(--ds-paper);
    color: var(--ds-ink);
    font-weight: 800;
}

.dropship-product-description ul,
.dropship-product-description ol {
    margin: 8px 0;
    padding-left: 22px;
}

.dropship-summary-layout {
    align-items: start;
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(220px, .65fr) 1.35fr;
}

.dropship-totals {
    background: var(--ds-paper);
    border-radius: 16px;
    overflow: hidden;
    padding: 10px 18px;
}

.dropship-totals > div {
    align-items: center;
    border-bottom: 1px solid var(--ds-line);
    display: flex;
    justify-content: space-between;
    padding: 13px 3px;
}

.dropship-totals > div:last-child {
    border-bottom: 0;
}

.dropship-totals__grand {
    color: var(--ds-green);
    font-size: 20px;
}

.dropship-editor__actions {
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 30px 0 10px;
    text-align: center;
}

.dropship-button--pdf {
    gap: 12px;
    min-width: min(100%, 390px);
}

.dropship-button--pdf > span {
    align-items: center;
    background: rgba(255, 255, 255, .18);
    border-radius: 7px;
    display: flex;
    font-size: 11px;
    height: 30px;
    justify-content: center;
    width: 36px;
}

.dropship-editor__actions small {
    color: var(--ds-muted);
    margin-top: 10px;
}

.dropship-note {
    align-items: center;
    background: var(--ds-mint);
    border-radius: 18px;
    display: flex;
    gap: 12px;
    margin: 0 clamp(12px, 3vw, 44px);
    padding: 22px 26px;
}

.dropship-note strong {
    color: var(--ds-green);
}

@media (max-width: 1100px) {
    .dropship-hero {
        grid-template-columns: 1fr;
    }

    .dropship-hero__visual {
        min-height: 285px;
    }

    .dropship-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .dropship-steps article:nth-child(2)::after {
        display: none;
    }

    .dropship-terms {
        grid-template-columns: 1fr;
    }

    .dropship-terms__intro {
        position: static;
    }

    .dropship-price-row {
        grid-template-columns: minmax(220px, 1fr) 90px 170px;
    }

    .dropship-price-row__sum {
        grid-column: 3;
    }
}

@media (max-width: 760px) {
    .dropship-page {
        margin-top: 0;
    }

    .dropship-hero {
        border-radius: 20px;
        min-height: auto;
        padding: 38px 24px;
    }

    .dropship-hero h1 {
        font-size: 38px;
    }

    .dropship-hero__visual {
        display: none;
    }

    .dropship-section,
    .dropship-terms,
    .dropship-builder {
        padding: 65px 8px;
    }

    .dropship-steps,
    .dropship-terms__grid,
    .dropship-fields--two,
    .dropship-party-grid,
    .dropship-product-meta,
    .dropship-summary-layout {
        grid-template-columns: 1fr;
    }

    .dropship-steps article:not(:last-child)::after {
        bottom: -28px;
        display: grid;
        left: 50%;
        right: auto;
        top: auto;
        transform: rotate(90deg) translateY(50%);
    }

    .dropship-terms {
        border-radius: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .dropship-import {
        border-radius: 18px;
    }

    .dropship-import__row {
        flex-direction: column;
    }

    .dropship-import__row .dropship-button {
        width: 100%;
    }

    .dropship-panel {
        border-radius: 17px;
        padding: 20px 15px;
    }

    .dropship-price-row {
        align-items: stretch;
        grid-template-columns: 1fr 1fr;
    }

    .dropship-price-row__name {
        grid-column: 1 / -1;
    }

    .dropship-price-row label {
        grid-column: 1 / -1;
    }

    .dropship-price-row__sum {
        grid-column: auto;
    }

    .dropship-note {
        align-items: flex-start;
        flex-direction: column;
        margin: 0 8px;
    }
}
