.pe-address-page {
    --pea-blue: #10233d;
    --pea-blue-soft: #17345a;
    --pea-bg: #eaf3fb;
    --pea-card: #ffffff;
    --pea-orange: #f15c3b;
    --pea-muted: #5e718b;
    --pea-line: #d8e3ef;
    --pea-shadow: 0 18px 46px rgba(16, 35, 61, 0.1);
    overflow: hidden;
    padding-bottom: 72px;
    background: linear-gradient(180deg, #eaf3fb 0%, #f7fbff 54%, #ffffff 100%);
    color: var(--pea-blue);
}

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

.pe-address-shell {
    width: min(1260px, calc(100% - 40px));
    margin: 0 auto;
}

.pe-address-hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0 88px;
    border-bottom: 4px solid var(--pea-orange);
    background:
        radial-gradient(circle at 78% 18%, rgba(241, 92, 59, 0.22), transparent 28%),
        linear-gradient(135deg, rgba(16, 35, 61, 0.98), rgba(31, 83, 124, 0.96)),
        var(--pea-blue-soft);
    color: #ffffff;
}

.pe-address-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.12;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
    background-size: 34px 34px;
}

.pe-address-hero .pe-address-shell {
    position: relative;
    z-index: 1;
}

.pe-address-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 64px;
    align-items: end;
}

.pe-address-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.45;
}

.pe-address-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.pe-address-breadcrumb a:hover,
.pe-address-breadcrumb a:focus {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pe-address-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--pea-orange);
    font-family: "MuseoSansBold", "MuseoSansRegular", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.pe-address-eyebrow::before {
    content: "";
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
}

.pe-address-hero .pe-address-eyebrow {
    color: #ffb18c;
}

.pe-address-hero h1,
.pe-address-section-head h2,
.pe-address-form-card h2 {
    margin: 0;
    color: inherit;
    font-family: "MuseoSansBlack", "MuseoSansBold", Arial, sans-serif;
    letter-spacing: 0;
}

.pe-address-hero h1 {
    max-width: 760px;
    color: #ffffff;
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.03;
}

.pe-address-hero p {
    max-width: 700px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.7;
}

.pe-address-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.pe-address-button,
.pe-address-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--pea-orange);
    border-radius: 8px;
    background: var(--pea-orange);
    color: #ffffff;
    font-family: "MuseoSansBold", "MuseoSansRegular", Arial, sans-serif;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.pe-address-button:hover,
.pe-address-button:focus,
.pe-address-copy:hover,
.pe-address-copy:focus {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--pea-blue);
    text-decoration: none;
    transform: translateY(-1px);
}

.pe-address-button--ghost {
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.pe-address-label {
    position: relative;
    min-height: 390px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 244, 252, 0.94));
    color: var(--pea-blue);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.pe-address-label::before,
.pe-address-label::after {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--pea-line) 0 12px, transparent 12px 18px);
}

.pe-address-label::before {
    top: 92px;
}

.pe-address-label::after {
    bottom: 74px;
}

.pe-address-label__top {
    display: grid;
    gap: 5px;
    margin-bottom: 40px;
}

.pe-address-label__top span,
.pe-address-label__rows span,
.pe-address-label__stamp {
    color: var(--pea-muted);
    font-family: "MuseoSansBold", "MuseoSansRegular", Arial, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
}

.pe-address-label__top strong {
    font-family: "MuseoSansBlack", "MuseoSansBold", Arial, sans-serif;
    font-size: 26px;
    line-height: 1.15;
}

.pe-address-label__rows {
    display: grid;
    gap: 14px;
}

.pe-address-label__rows div {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
}

.pe-address-label__rows strong {
    font-family: "MuseoSansBold", "MuseoSansRegular", Arial, sans-serif;
    font-size: 19px;
    line-height: 1.3;
}

.pe-address-label__stamp {
    position: absolute;
    right: 24px;
    bottom: 22px;
    padding: 9px 12px;
    border: 2px solid rgba(241, 92, 59, 0.58);
    border-radius: 8px;
    color: var(--pea-orange);
    transform: rotate(-3deg);
}

.pe-address-warehouses,
.pe-address-generator,
.pe-address-guidance,
.pe-address-notes {
    padding-top: 58px;
}

.pe-address-section-head {
    display: grid;
    grid-template-columns: minmax(0, 720px) minmax(280px, 380px);
    gap: 56px;
    align-items: end;
    margin-bottom: 28px;
}

.pe-address-section-head h2,
.pe-address-form-card h2 {
    max-width: 760px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.12;
}

.pe-address-section-head p,
.pe-address-form-card p {
    margin: 0;
    color: var(--pea-muted);
    font-size: 16px;
    line-height: 1.65;
}

.pe-address-section-head > p {
    padding: 18px 20px;
    border-left: 3px solid var(--pea-orange);
    border-radius: 0 8px 8px 0;
    background: rgba(255, 255, 255, 0.52);
}

.pe-address-warehouse-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.pe-address-warehouse-card,
.pe-address-form-card,
.pe-address-output-card,
.pe-address-guidance-card,
.pe-address-notes article {
    border: 1px solid var(--pea-line);
    border-radius: 8px;
    background: var(--pea-card);
    box-shadow: var(--pea-shadow);
}

.pe-address-warehouse-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 20px;
    min-height: 176px;
    padding: 26px;
}

.pe-address-card-icon,
.pe-address-note-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 1px solid #cfe0ef;
    border-radius: 8px;
    background: linear-gradient(180deg, #f7fbff, #e5f0fa);
    color: var(--pea-blue);
}

.pe-address-card-icon svg,
.pe-address-note-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pe-address-warehouse-card span,
.pe-address-output-card__head span,
.pe-address-guidance-card span {
    color: var(--pea-orange);
    font-family: "MuseoSansBold", "MuseoSansRegular", Arial, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
}

.pe-address-warehouse-card h3,
.pe-address-guidance-card h3,
.pe-address-notes h3 {
    margin: 5px 0 12px;
    color: var(--pea-blue);
    font-family: "MuseoSansBlack", "MuseoSansBold", Arial, sans-serif;
    font-size: 22px;
    line-height: 1.2;
}

.pe-address-warehouse-card p,
.pe-address-guidance-card p,
.pe-address-notes p {
    margin: 0;
    color: #34465f;
    font-size: 15px;
    line-height: 1.65;
}

.pe-address-warehouse-card a,
.pe-address-register-link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--pea-blue);
    font-family: "MuseoSansBold", "MuseoSansRegular", Arial, sans-serif;
    text-decoration: none;
}

.pe-address-register-link {
    justify-self: start;
    margin-top: 4px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #eef6fd;
}

.pe-address-warehouse-card a:hover,
.pe-address-warehouse-card a:focus,
.pe-address-register-link:hover,
.pe-address-register-link:focus {
    color: var(--pea-orange);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pe-address-tool {
    padding: 34px;
    border: 1px solid var(--pea-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--pea-shadow);
}

.pe-address-tool__intro {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
    gap: 36px;
    align-items: end;
    padding-bottom: 26px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--pea-line);
}

.pe-address-tool__intro h2 {
    max-width: 520px;
    margin: 0;
    color: var(--pea-blue);
    font-family: "MuseoSansBlack", "MuseoSansBold", Arial, sans-serif;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.12;
    letter-spacing: 0;
}

.pe-address-tool__intro p {
    max-width: 520px;
    margin: 0;
    color: var(--pea-muted);
    font-size: 17px;
    line-height: 1.65;
}

.pe-address-generator__grid {
    display: grid;
    grid-template-columns: minmax(340px, 0.72fr) minmax(480px, 1.28fr);
    gap: 28px;
    align-items: stretch;
}

.pe-address-form-card,
.pe-address-output-card {
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.pe-address-form {
    display: grid;
    gap: 18px;
    margin-top: 0;
}

.pe-address-form label {
    display: grid;
    gap: 8px;
    margin: 0;
}

.pe-address-form label > span,
.pe-address-warehouse-choice legend {
    color: var(--pea-blue);
    font-family: "MuseoSansBold", "MuseoSansRegular", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.3;
}

.pe-address-form input[type="text"] {
    width: 100%;
    height: 56px;
    padding: 0 18px;
    border: 1px solid #cbd9e8;
    border-radius: 8px;
    background: #f7fbff;
    color: var(--pea-blue);
    font-size: 16px;
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.pe-address-form input[type="text"]:focus {
    border-color: var(--pea-orange);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(241, 92, 59, 0.12);
}

.pe-address-warehouse-choice {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 2px 0 0;
    padding: 0;
    min-width: 0;
    border: 0 !important;
}

.pe-address-warehouse-choice legend {
    grid-column: 1 / -1;
    width: 100%;
    padding: 0;
    margin: 0 0 2px;
    border: 0;
}

.pe-address-warehouse-choice label {
    position: relative;
    display: block;
    min-width: 0;
    margin: 0;
}

.pe-address-page .pe-address-warehouse-choice label > input[type="radio"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    opacity: 0 !important;
}

.pe-address-page .pe-address-warehouse-choice label > input[type="radio"] + span {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 48px;
    padding: 0 12px !important;
    border: 1px solid #cbd9e8;
    border-radius: 8px;
    background: #f7fbff;
    color: var(--pea-blue);
    font-family: "MuseoSansBold", "MuseoSansRegular", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.2 !important;
    text-align: center;
    cursor: pointer;
    transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.pe-address-page .pe-address-warehouse-choice label > input[type="radio"] + span::before,
.pe-address-page .pe-address-warehouse-choice label > input[type="radio"] + span::after {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    content: none !important;
}

.pe-address-page .pe-address-warehouse-choice label > input[type="radio"]:checked + span {
    border-color: var(--pea-orange);
    background: #fff1ea;
    color: var(--pea-orange);
    box-shadow: inset 0 0 0 1px var(--pea-orange);
}

.pe-address-page .pe-address-warehouse-choice label > input[type="radio"]:focus + span {
    box-shadow: 0 0 0 4px rgba(241, 92, 59, 0.12);
}

.pe-address-output-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.98)),
        radial-gradient(circle at 100% 0, rgba(241, 92, 59, 0.16), transparent 26%);
}

.pe-address-output-card__head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--pea-line);
}

.pe-address-output-card__head strong {
    color: var(--pea-muted);
    font-family: "MuseoSansBold", "MuseoSansRegular", Arial, sans-serif;
    font-size: 13px;
    max-width: 220px;
    text-align: right;
    line-height: 1.35;
}

.pe-address-output-card__head span {
    font-size: 13px;
}

.pe-address-output {
    flex: 1;
    min-height: 240px;
    padding: 30px;
    border: 1px solid #cbd9e8;
    border-radius: 8px;
    background:
        linear-gradient(180deg, #f8fbff, #ffffff),
        repeating-linear-gradient(0deg, transparent 0 35px, rgba(216, 227, 239, 0.82) 35px 36px);
    color: var(--pea-blue);
    font-family: "MuseoSansBlack", "MuseoSansBold", Arial, sans-serif;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.34;
    overflow-wrap: anywhere;
}

.pe-address-copy {
    align-self: flex-start;
    margin-top: 16px;
}

.pe-address-copy:hover,
.pe-address-copy:focus {
    border-color: var(--pea-blue);
    background: var(--pea-blue);
    color: #ffffff;
}

.pe-address-copy.is-copied {
    border-color: #2d8a55;
    background: #2d8a55;
    color: #ffffff;
}

.pe-address-guidance__grid,
.pe-address-notes__grid {
    display: grid;
    gap: 18px;
}

.pe-address-guidance__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pe-address-guidance-card {
    position: relative;
    overflow: hidden;
    padding: 26px;
}

.pe-address-guidance-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--pea-orange), rgba(241, 92, 59, 0));
}

.pe-address-notes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pe-address-notes article {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 20px;
    min-height: 220px;
    padding: 30px;
    align-items: start;
}

.pe-address-notes h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.pe-address-notes article > div:last-child {
    min-width: 0;
}

.pe-address-notes p {
    max-width: 560px;
    font-size: 16px;
    line-height: 1.72;
}

@media (max-width: 1080px) {
    .pe-address-hero__grid,
    .pe-address-section-head,
    .pe-address-generator__grid {
        grid-template-columns: 1fr;
    }

    .pe-address-label {
        max-width: 560px;
    }

    .pe-address-warehouse-grid,
    .pe-address-guidance__grid,
    .pe-address-notes__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .pe-address-shell {
        width: min(100% - 24px, 1260px);
    }

    .pe-address-hero {
        padding: 48px 0 58px;
    }

    .pe-address-hero p {
        font-size: 16px;
    }

    .pe-address-label,
    .pe-address-form-card,
    .pe-address-output-card,
    .pe-address-guidance-card,
    .pe-address-notes article,
    .pe-address-warehouse-card {
        padding: 20px;
    }

    .pe-address-warehouse-card,
    .pe-address-notes article {
        grid-template-columns: 1fr;
    }

    .pe-address-card-icon,
    .pe-address-note-icon {
        width: 48px;
        height: 48px;
    }

    .pe-address-warehouse-choice {
        grid-template-columns: 1fr;
    }

    .pe-address-output {
        min-height: 220px;
        padding: 22px;
    }

}
