:root {
    --tofaa-delivery-purple: #7c4fa0;
    --tofaa-delivery-purple-soft: #b083bc;
    --tofaa-delivery-beige: #f8eae1;
    --tofaa-delivery-lime: #d1d635;
    --tofaa-delivery-paper: #fffdfb;
    --tofaa-delivery-ink: #171717;
    --tofaa-delivery-border: rgba(23, 23, 23, .92);
    --tofaa-delivery-muted: #655b68;
}

body.tofaa-delivery-ui {
    background: var(--tofaa-delivery-beige);
}

.tofaa-delivery,
.tofaa-delivery * {
    box-sizing: border-box;
}

.tofaa-delivery {
    overflow: clip;
    color: var(--tofaa-delivery-purple);
    background:
        radial-gradient(circle at 90% 6%, rgba(176, 131, 188, .18), transparent 24rem),
        radial-gradient(circle at 6% 34%, rgba(209, 214, 53, .12), transparent 21rem),
        var(--tofaa-delivery-beige);
    font-family: inherit;
    padding: clamp(24px, 4vw, 56px) 0 clamp(64px, 8vw, 112px);
}

.tofaa-delivery :where(h1, h2, h3, p, ol, ul) {
    margin-top: 0;
}

.tofaa-delivery :where(h1, h2, h3, p, a, button, table, summary) {
    font-family: inherit;
}

/* The legacy theme still contains broad paragraph colour rules. */
.tofaa-delivery p {
    color: var(--tofaa-delivery-purple) !important;
}

.tofaa-delivery__shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.tofaa-delivery__hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
    gap: clamp(36px, 7vw, 96px);
    min-height: 510px;
    padding: clamp(42px, 7vw, 90px);
    border: 1px solid var(--tofaa-delivery-border);
    border-radius: 36px;
    background: var(--tofaa-delivery-paper);
    box-shadow: 0 10px 0 var(--tofaa-delivery-ink);
    isolation: isolate;
}

.tofaa-delivery__hero::before,
.tofaa-delivery__hero::after {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    content: "";
}

.tofaa-delivery__hero::before {
    width: 190px;
    height: 190px;
    top: -60px;
    right: 13%;
    border: 1px solid rgba(124, 79, 160, .25);
    background: rgba(176, 131, 188, .16);
}

.tofaa-delivery__hero::after {
    width: 88px;
    height: 88px;
    right: -24px;
    bottom: 40px;
    border: 1px solid var(--tofaa-delivery-border);
    background: var(--tofaa-delivery-lime);
}

.tofaa-delivery__hero-copy {
    align-self: center;
}

.tofaa-delivery__eyebrow {
    margin-bottom: 14px;
    color: var(--tofaa-delivery-purple) !important;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .11em;
    line-height: 1.2;
    text-transform: uppercase;
}

.tofaa-delivery__hero h1 {
    max-width: 760px;
    margin-bottom: 24px;
    color: var(--tofaa-delivery-purple);
    font-size: clamp(44px, 5.2vw, 76px);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .96;
    text-wrap: balance;
}

.tofaa-delivery__lead {
    max-width: 650px;
    margin-bottom: 32px;
    color: var(--tofaa-delivery-purple);
    font-size: clamp(18px, 1.8vw, 23px);
    font-weight: 600;
    line-height: 1.5;
}

.tofaa-delivery__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.tofaa-delivery__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 24px;
    border: 1px solid var(--tofaa-delivery-border);
    border-radius: 999px;
    color: var(--tofaa-delivery-purple);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.tofaa-delivery__button:hover,
.tofaa-delivery__button:focus-visible {
    color: var(--tofaa-delivery-purple);
    transform: translateY(-2px);
}

.tofaa-delivery__button:focus-visible,
.tofaa-delivery__questions summary:focus-visible {
    outline: 3px solid var(--tofaa-delivery-purple-soft);
    outline-offset: 3px;
}

.tofaa-delivery__button--primary {
    background: var(--tofaa-delivery-lime);
    box-shadow: 0 6px 0 var(--tofaa-delivery-ink);
}

.tofaa-delivery__button--primary:hover,
.tofaa-delivery__button--primary:focus-visible {
    box-shadow: 0 8px 0 var(--tofaa-delivery-ink);
}

.tofaa-delivery__button--secondary {
    background: var(--tofaa-delivery-paper);
    box-shadow: 0 4px 0 rgba(124, 79, 160, .3);
}

.tofaa-delivery__hero-visual {
    position: relative;
    align-self: stretch;
    min-height: 330px;
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(176, 131, 188, .32), rgba(255, 253, 251, .78)),
        var(--tofaa-delivery-beige);
}

.tofaa-delivery__hero-visual::before {
    position: absolute;
    width: 118px;
    height: 118px;
    top: 28px;
    right: 34px;
    border: 1px solid var(--tofaa-delivery-border);
    border-radius: 50%;
    background: var(--tofaa-delivery-lime);
    content: "";
}

.tofaa-delivery__route-line {
    position: absolute;
    inset: 22% 12% 20%;
    border: 2px dashed rgba(124, 79, 160, .48);
    border-left-color: transparent;
    border-radius: 48% 52% 42% 58%;
    transform: rotate(-8deg);
}

.tofaa-delivery__route-dot {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 4px solid var(--tofaa-delivery-paper);
    border-radius: 50%;
    background: var(--tofaa-delivery-purple);
    box-shadow: 0 0 0 1px var(--tofaa-delivery-border);
}

.tofaa-delivery__route-dot--start {
    left: 10%;
    bottom: 18%;
}

.tofaa-delivery__route-dot--end {
    top: 18%;
    right: 10%;
}

.tofaa-delivery__parcel-card,
.tofaa-delivery__status-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--tofaa-delivery-border);
    background: var(--tofaa-delivery-paper);
    color: var(--tofaa-delivery-purple);
    box-shadow: 0 7px 0 rgba(23, 23, 23, .88);
}

.tofaa-delivery__parcel-card {
    width: min(310px, 82%);
    left: 8%;
    top: 34%;
    padding: 18px;
    border-radius: 24px;
    transform: rotate(-4deg);
}

.tofaa-delivery__status-card {
    right: 6%;
    bottom: 12%;
    padding: 14px 16px;
    border-radius: 18px;
}

.tofaa-delivery__status-card > span {
    color: var(--tofaa-delivery-lime);
    font-size: 24px;
    text-shadow: 0 0 0 var(--tofaa-delivery-ink);
}

.tofaa-delivery__parcel-card strong,
.tofaa-delivery__status-card strong,
.tofaa-delivery__parcel-card small,
.tofaa-delivery__status-card small {
    display: block;
}

.tofaa-delivery__parcel-card strong,
.tofaa-delivery__status-card strong {
    font-size: 15px;
    font-weight: 900;
}

.tofaa-delivery__parcel-card small,
.tofaa-delivery__status-card small {
    margin-top: 3px;
    color: var(--tofaa-delivery-muted);
    font-size: 12px;
    font-weight: 600;
}

.tofaa-delivery__parcel-icon {
    display: grid;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid var(--tofaa-delivery-border);
    border-radius: 18px;
    background: var(--tofaa-delivery-lime);
}

.tofaa-delivery__parcel-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: var(--tofaa-delivery-purple);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.tofaa-delivery__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 34px 0;
}

.tofaa-delivery__facts > div {
    display: flex;
    align-items: center;
    min-height: 82px;
    gap: 14px;
    padding: 14px 18px;
    border: 1px solid var(--tofaa-delivery-border);
    border-radius: 20px;
    background: var(--tofaa-delivery-paper);
}

.tofaa-delivery__facts span {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--tofaa-delivery-lime);
}

.tofaa-delivery__facts svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: var(--tofaa-delivery-purple);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.tofaa-delivery__facts strong {
    color: var(--tofaa-delivery-purple);
    font-size: 14px;
    font-weight: 850;
    line-height: 1.35;
}

.tofaa-delivery__section {
    scroll-margin-top: 120px;
    margin-top: clamp(56px, 8vw, 104px);
}

.tofaa-delivery__section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 30px;
}

.tofaa-delivery__section-heading h2 {
    max-width: 700px;
    margin-bottom: 0;
    color: var(--tofaa-delivery-purple);
    font-size: clamp(34px, 4.5vw, 58px);
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1;
}

.tofaa-delivery__section-heading > p {
    max-width: 480px;
    margin-bottom: 2px;
    color: var(--tofaa-delivery-purple);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
}

.tofaa-delivery__section-heading > a {
    color: var(--tofaa-delivery-purple);
    font-size: 14px;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.tofaa-delivery__shipping-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 520px);
    margin-bottom: 18px;
    padding: 5px;
    border: 1px solid var(--tofaa-delivery-border);
    border-radius: 999px;
    background: var(--tofaa-delivery-paper);
}

.tofaa-delivery__shipping-switch button {
    min-height: 46px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    color: var(--tofaa-delivery-purple);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.tofaa-delivery__shipping-switch button:hover {
    transform: translateY(-1px);
}

.tofaa-delivery__shipping-switch button:focus-visible {
    outline: 2px solid var(--tofaa-delivery-purple);
    outline-offset: 2px;
}

.tofaa-delivery__shipping-switch button.is-active {
    color: var(--tofaa-delivery-paper);
    background: var(--tofaa-delivery-purple);
}

.tofaa-delivery__table-wrap {
    overflow: hidden;
    border: 1px solid var(--tofaa-delivery-border);
    border-radius: 28px;
    background: var(--tofaa-delivery-paper);
    transition: height .34s cubic-bezier(.22, .7, .28, 1);
}

.tofaa-delivery__table-wrap.is-resizing {
    will-change: height;
}

.tofaa-delivery__methods-table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    color: var(--tofaa-delivery-purple);
    table-layout: fixed;
}

.tofaa-delivery__methods-table th,
.tofaa-delivery__methods-table td {
    border: 0;
    padding: 22px;
    color: var(--tofaa-delivery-purple);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
    vertical-align: middle;
}

.tofaa-delivery__methods-table thead tr,
.tofaa-delivery__methods-table tbody tr:not(:last-child) {
    border-bottom: 1px solid #000;
}

.tofaa-delivery__methods-table thead th {
    padding-top: 16px;
    padding-bottom: 16px;
    background: rgba(176, 131, 188, .14);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.tofaa-delivery__methods-table thead th:first-child,
.tofaa-delivery__methods-table tbody th {
    width: 31%;
}

.tofaa-delivery__methods-table thead th:nth-child(2) {
    width: 19%;
}

.tofaa-delivery__methods-table thead th:nth-child(3) {
    width: 19%;
}

.tofaa-delivery__methods-table .tofaa-delivery__table-empty td {
    padding: 28px 22px;
    text-align: center;
}

.tofaa-delivery__methods-table tbody tr {
    transition: opacity .14s ease, transform .14s ease;
}

.tofaa-delivery__methods-table tbody.is-leaving tr {
    opacity: 0;
    transform: translateY(-3px);
}

.tofaa-delivery__methods-table tbody.is-entering tr {
    opacity: 0;
    transform: translateY(5px);
}

.tofaa-delivery__methods-table tbody.is-entering.is-visible tr {
    opacity: 1;
    transform: translateY(0);
    transition-duration: .24s;
    transition-delay: .04s;
}

.tofaa-delivery__methods-table tbody th {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tofaa-delivery__methods-table tbody th strong,
.tofaa-delivery__methods-table tbody th small,
.tofaa-delivery__methods-table td small {
    display: block;
}

.tofaa-delivery__methods-table tbody th strong {
    margin-bottom: 4px;
    color: var(--tofaa-delivery-purple);
    font-size: 16px;
    font-weight: 900;
}

.tofaa-delivery__methods-table tbody th small,
.tofaa-delivery__methods-table td small {
    color: var(--tofaa-delivery-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.tofaa-delivery__method-icon,
.tofaa-delivery__payment-icon {
    display: grid;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 1px solid var(--tofaa-delivery-border);
    border-radius: 18px;
    background: var(--tofaa-delivery-lime);
}

.tofaa-delivery__method-icon svg,
.tofaa-delivery__payment-icon svg,
.tofaa-delivery__tracking-card svg,
.tofaa-delivery__empty svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: var(--tofaa-delivery-purple);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.tofaa-delivery__availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 850;
}

.tofaa-delivery__availability i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--tofaa-delivery-lime);
    box-shadow: 0 0 0 1px var(--tofaa-delivery-ink);
}

.tofaa-delivery__price {
    display: block;
    margin-bottom: 5px;
    color: var(--tofaa-delivery-purple);
    font-size: 20px;
    font-weight: 900;
    white-space: nowrap;
}

.tofaa-delivery__price .woocommerce-Price-amount {
    color: inherit;
}

.tofaa-delivery__price-calculated {
    font-size: 14px;
    white-space: normal;
}

.tofaa-delivery__shipping-note,
.tofaa-delivery__empty {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(124, 79, 160, .24);
    border-radius: 18px;
    background: rgba(176, 131, 188, .12);
}

.tofaa-delivery__shipping-note > span {
    display: grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid var(--tofaa-delivery-border);
    border-radius: 50%;
    background: var(--tofaa-delivery-lime);
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
}

.tofaa-delivery__shipping-note p,
.tofaa-delivery__empty p {
    margin-bottom: 0;
    color: var(--tofaa-delivery-purple);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

.tofaa-delivery__shipping-note strong,
.tofaa-delivery__empty strong {
    color: var(--tofaa-delivery-purple);
    font-weight: 900;
}

.tofaa-delivery__empty > span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    background: var(--tofaa-delivery-lime);
}

.tofaa-delivery__payment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tofaa-delivery__payment-card {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 128px;
    padding: 22px;
    border: 1px solid var(--tofaa-delivery-border);
    border-radius: 24px;
    background: var(--tofaa-delivery-paper);
    transition: transform .18s ease, box-shadow .18s ease;
}

.tofaa-delivery__payment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 0 rgba(124, 79, 160, .24);
}

.tofaa-delivery__payment-card h3 {
    margin-bottom: 6px;
    color: var(--tofaa-delivery-purple);
    font-size: 19px;
    font-weight: 900;
}

.tofaa-delivery__payment-card p {
    margin-bottom: 0;
    color: var(--tofaa-delivery-muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.tofaa-delivery__payment-icon {
    background: rgba(176, 131, 188, .14);
}

.tofaa-delivery__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tofaa-delivery__steps li {
    position: relative;
    min-height: 230px;
    padding: 28px;
    border: 1px solid var(--tofaa-delivery-border);
    border-radius: 26px;
    background: var(--tofaa-delivery-paper);
}

.tofaa-delivery__steps li > span {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 34px;
    place-items: center;
    border: 1px solid var(--tofaa-delivery-border);
    border-radius: 50%;
    background: var(--tofaa-delivery-lime);
    color: var(--tofaa-delivery-purple);
    font-size: 21px;
    font-weight: 900;
}

.tofaa-delivery__steps li:not(:last-child)::after {
    position: absolute;
    z-index: 2;
    top: 53px;
    right: -29px;
    width: 38px;
    color: var(--tofaa-delivery-purple);
    content: "→";
    font-size: 30px;
    font-weight: 900;
    text-align: center;
}

.tofaa-delivery__steps h3 {
    margin-bottom: 8px;
    color: var(--tofaa-delivery-purple);
    font-size: 20px;
    font-weight: 900;
}

.tofaa-delivery__steps p {
    margin-bottom: 0;
    color: var(--tofaa-delivery-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.tofaa-delivery__tracking-card,
.tofaa-delivery__help-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 20px;
    padding: 22px 24px;
    border: 1px solid var(--tofaa-delivery-border);
    border-radius: 24px;
    background: rgba(176, 131, 188, .14);
}

.tofaa-delivery__tracking-card > div {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tofaa-delivery__tracking-card > div > span {
    display: grid;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 17px;
    background: var(--tofaa-delivery-paper);
}

.tofaa-delivery__tracking-card strong,
.tofaa-delivery__help-cta strong {
    display: block;
    margin-bottom: 3px;
    color: var(--tofaa-delivery-purple);
    font-size: 17px;
    font-weight: 900;
}

.tofaa-delivery__tracking-card p,
.tofaa-delivery__help-cta p {
    margin-bottom: 0;
    color: var(--tofaa-delivery-muted);
    font-size: 13px;
    font-weight: 600;
}

.tofaa-delivery__questions {
    overflow: hidden;
    border: 1px solid var(--tofaa-delivery-border);
    border-radius: 28px;
    background: var(--tofaa-delivery-paper);
}

.tofaa-delivery__questions details {
    border-bottom: 1px solid #000;
    will-change: height;
}

.tofaa-delivery__questions details:last-child {
    border-bottom: 0;
}

.tofaa-delivery__questions summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
    padding: 20px 24px;
    color: var(--tofaa-delivery-purple);
    cursor: pointer;
    font-size: 16px;
    font-weight: 900;
    list-style: none;
}

.tofaa-delivery__questions summary::-webkit-details-marker {
    display: none;
}

.tofaa-delivery__questions summary i {
    position: relative;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--tofaa-delivery-border);
    border-radius: 50%;
    background: var(--tofaa-delivery-lime);
}

.tofaa-delivery__questions summary i::before,
.tofaa-delivery__questions summary i::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: var(--tofaa-delivery-purple);
    content: "";
    transform: translate(-50%, -50%);
    transition: transform .2s ease;
}

.tofaa-delivery__questions summary i::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.tofaa-delivery__questions details[open] summary i::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.tofaa-delivery__questions details.is-closing summary i::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.tofaa-delivery__questions details.is-tofaa-details-animating {
    overflow: hidden;
}

.tofaa-delivery__questions details > div {
    padding: 0 76px 22px 24px;
    transform-origin: top center;
}

.tofaa-delivery__questions details > div p {
    max-width: 900px;
    margin-bottom: 0;
    color: var(--tofaa-delivery-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

@media (max-width: 980px) {
    .tofaa-delivery__hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .tofaa-delivery__hero-visual {
        min-height: 300px;
    }

    .tofaa-delivery__facts,
    .tofaa-delivery__steps {
        grid-template-columns: 1fr;
    }

    .tofaa-delivery__steps li {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 20px;
        min-height: 0;
    }

    .tofaa-delivery__steps li > span {
        margin-bottom: 0;
    }

    .tofaa-delivery__steps li::after {
        display: none;
    }

    .tofaa-delivery__methods-table th,
    .tofaa-delivery__methods-table td {
        padding: 18px 14px;
    }
}

@media (max-width: 760px) {
    .tofaa-delivery {
        padding-top: 16px;
    }

    .tofaa-delivery__shell {
        width: min(100% - 24px, 1180px);
    }

    .tofaa-delivery__hero {
        padding: 34px 24px 28px;
        border-radius: 26px;
        box-shadow: 0 7px 0 var(--tofaa-delivery-ink);
    }

    .tofaa-delivery__hero::before {
        width: 120px;
        height: 120px;
    }

    .tofaa-delivery__hero::after {
        display: none;
    }

    .tofaa-delivery__hero h1 {
        font-size: clamp(38px, 12vw, 54px);
    }

    .tofaa-delivery__hero-actions,
    .tofaa-delivery__hero-actions .tofaa-delivery__button {
        width: 100%;
    }

    .tofaa-delivery__hero-visual {
        min-height: 250px;
    }

    .tofaa-delivery__hero-visual::before {
        width: 82px;
        height: 82px;
    }

    .tofaa-delivery__parcel-card {
        width: 82%;
        left: 5%;
        top: 28%;
    }

    .tofaa-delivery__status-card {
        right: 4%;
        bottom: 8%;
    }

    .tofaa-delivery__facts {
        gap: 9px;
        margin: 24px 0;
    }

    .tofaa-delivery__facts > div {
        min-height: 68px;
    }

    .tofaa-delivery__section-heading {
        display: block;
    }

    .tofaa-delivery__section-heading > p,
    .tofaa-delivery__section-heading > a {
        display: inline-block;
        margin-top: 16px;
    }

    .tofaa-delivery__table-wrap {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .tofaa-delivery__methods-table,
    .tofaa-delivery__methods-table tbody,
    .tofaa-delivery__methods-table tr,
    .tofaa-delivery__methods-table th,
    .tofaa-delivery__methods-table td {
        display: block;
        width: 100% !important;
    }

    .tofaa-delivery__methods-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .tofaa-delivery__methods-table tr {
        margin-bottom: 14px;
        overflow: hidden;
        border: 1px solid var(--tofaa-delivery-border);
        border-radius: 22px;
        background: var(--tofaa-delivery-paper);
    }

    .tofaa-delivery__methods-table th,
    .tofaa-delivery__methods-table td {
        min-height: 0;
        padding: 15px 18px;
        border-bottom: 1px solid #000 !important;
    }

    .tofaa-delivery__methods-table td::before {
        display: block;
        margin-bottom: 5px;
        color: var(--tofaa-delivery-purple-soft);
        content: attr(data-label);
        font-size: 10px;
        font-weight: 900;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .tofaa-delivery__methods-table tr > :last-child {
        border-bottom: 0 !important;
    }

    .tofaa-delivery__payment-grid {
        grid-template-columns: 1fr;
    }

    .tofaa-delivery__payment-card {
        min-height: 112px;
    }

    .tofaa-delivery__tracking-card,
    .tofaa-delivery__help-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .tofaa-delivery__tracking-card .tofaa-delivery__button,
    .tofaa-delivery__help-cta .tofaa-delivery__button {
        width: 100%;
    }

    .tofaa-delivery__questions summary {
        min-height: 70px;
        padding: 17px;
        font-size: 14px;
    }

    .tofaa-delivery__questions details > div {
        padding: 0 54px 19px 17px;
    }
}

@media (max-width: 420px) {
    .tofaa-delivery__hero-visual {
        min-height: 230px;
    }

    .tofaa-delivery__parcel-card {
        gap: 10px;
        padding: 13px;
    }

    .tofaa-delivery__parcel-icon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }

    .tofaa-delivery__status-card {
        padding: 10px 12px;
    }

    .tofaa-delivery__status-card strong,
    .tofaa-delivery__parcel-card strong {
        font-size: 13px;
    }

    .tofaa-delivery__method-icon,
    .tofaa-delivery__payment-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tofaa-delivery *,
    .tofaa-delivery *::before,
    .tofaa-delivery *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Tofaa 3.48 — spacing and delivery facts placement */
.tofaa-delivery {
    padding-top: 30px;
}

.tofaa-delivery__section {
    margin-top: 0;
}

.tofaa-delivery__section + .tofaa-delivery__section {
    margin-top: 30px;
}

.tofaa-delivery__facts {
    margin: 30px 0 0;
}

.tofaa-delivery__facts + .tofaa-delivery__shipping-note {
    margin-top: 30px;
}

@media (max-width: 760px) {
    .tofaa-delivery {
        padding-top: 30px;
    }

    .tofaa-delivery__section {
        margin-top: 0;
    }

    .tofaa-delivery__section + .tofaa-delivery__section {
        margin-top: 30px;
    }

    .tofaa-delivery__facts {
        margin: 30px 0 0;
    }
}

/* Tofaa 3.49 — simplify shipping comparison table */
@media (min-width: 761px) {
    .tofaa-delivery__methods-table thead th:first-child,
    .tofaa-delivery__methods-table tbody th {
        width: 52%;
    }

    .tofaa-delivery__methods-table thead th:nth-child(2) {
        width: 20%;
    }

    .tofaa-delivery__methods-table thead th:nth-child(3) {
        width: 28%;
    }
}

/* Tofaa 3.50 — delivery page navigation 30px below the main navbar */
body.tofaa-delivery-ui main#primary.tofaa-delivery {
    padding-top: 30px !important;
}

@media (max-width: 760px) {
    body.tofaa-delivery-ui main#primary.tofaa-delivery {
        padding-top: 30px !important;
    }
}
