/* TANKZONE_UNIFIED_CHECKOUT_V11 */

.tz-v11-rewards-prepurchase-hidden {
    display: none !important;
}

.tz-v11-original-heading {
    display: none !important;
}

.tz-v11-unified-panel {
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    border: 1px solid #d9d9d5 !important;
    background: #ffffff !important;
}

.tz-v11-shell {
    --tz-red: #d71920;
    --tz-black: #0a0a0a;
    --tz-paper: #f4f4f1;
    --tz-line: #deded9;
    --tz-muted: #767676;

    color: var(--tz-black);
    background: #fff;
}

.tz-v11-intro {
    position: relative;
    padding: 30px 32px 27px;
    border-bottom: 1px solid var(--tz-line);
    background:
        linear-gradient(135deg, #0a0a0a 0%, #0a0a0a 76%, #141414 76%, #141414 100%);
    color: #fff;
}

.tz-v11-intro::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--tz-red);
}

.tz-v11-intro__kicker {
    display: block;
    margin-bottom: 13px;
    color: #ff2b32;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
}

.tz-v11-intro h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.15;
    letter-spacing: -.035em;
}

.tz-v11-intro p {
    max-width: 590px;
    margin: 12px 0 0;
    color: #b7b7b7;
    font-size: 13px;
    line-height: 1.8;
}

.tz-v11-progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    margin-top: 24px;
}

.tz-v11-progress span {
    height: 3px;
    background: #333;
    transition:
        background-color .22s ease,
        transform .22s ease;
    transform-origin: center;
}

.tz-v11-progress span.is-done,
.tz-v11-progress span.is-active {
    background: var(--tz-red);
}

.tz-v11-progress span.is-active {
    transform: scaleY(1.8);
}

.tz-v11-step {
    border-bottom: 1px solid var(--tz-line);
    background: #fff;
    transition:
        background-color .2s ease,
        opacity .2s ease;
}

.tz-v11-step__head {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    min-height: 92px;
    padding: 18px 30px;
}

.tz-v11-step__number {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #d7d7d2;
    background: #f6f6f3;
    color: #888;
    font-size: 12px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.tz-v11-step.is-active .tz-v11-step__number {
    border-color: var(--tz-black);
    background: var(--tz-black);
    color: #fff;
}

.tz-v11-step.is-complete .tz-v11-step__number {
    border-color: #cfdccf;
    background: #ecf5ed;
    color: #267038;
}

.tz-v11-step__copy h3 {
    margin: 0;
    color: var(--tz-black);
    font-size: 18px;
    line-height: 1.35;
}

.tz-v11-step__copy p {
    margin: 5px 0 0;
    color: var(--tz-muted);
    font-size: 11px;
    line-height: 1.7;
}

.tz-v11-step__state {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 120px;
}

.tz-v11-step__summary {
    max-width: 280px;
    overflow: hidden;
    color: #4d4d4d;
    font-size: 11px;
    line-height: 1.5;
    text-align: end;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tz-v11-step__edit {
    min-height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--tz-red) !important;
    font: inherit;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.tz-v11-step__body {
    padding: 4px 30px 30px;
}

.tz-v11-step__body[hidden] {
    display: none !important;
}

.tz-v11-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.tz-v11-field-grid--contact {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
}

.tz-v11-field-grid--single {
    grid-template-columns: minmax(0, 1fr);
}

.tz-v11-field-grid > label {
    width: 100%;
    margin: 0 !important;
}

.tz-v11-field-grid > label.full-field,
.tz-v11-field-grid > label.wide {
    grid-column: auto !important;
}

.tz-v11-field-grid input,
.tz-v11-field-grid select,
.tz-v11-field-grid textarea {
    width: 100%;
    box-sizing: border-box;
}

.tz-v11-step__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.tz-v11-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 205px;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid var(--tz-black);
    border-radius: 0;
    background: var(--tz-black);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition:
        background-color .15s ease,
        border-color .15s ease,
        transform .15s ease;
}

.tz-v11-next:hover {
    border-color: #242424;
    background: #242424;
    transform: translateY(-1px);
}

.tz-v11-step.is-skipped {
    background: #fafaf8;
}

.tz-v11-step.is-skipped .tz-v11-step__copy p {
    color: #267038;
}

.tz-v11-payment-panel {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.tz-v11-payment-panel > .panel-number,
.tz-v11-payment-panel > h2 {
    display: none !important;
}

.tz-v11-payment-panel .payment-options,
.tz-v11-payment-panel [class*="payment"] {
    max-width: none;
}

.tz-v11-final {
    padding: 30px;
    background: #f8f8f5;
}

.tz-v11-final[hidden] {
    display: none !important;
}

.tz-v11-final__head {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
}

.tz-v11-final__check {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    background: var(--tz-black);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.tz-v11-final__eyebrow {
    color: var(--tz-red);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .15em;
}

.tz-v11-final__head h3 {
    margin: 4px 0 0;
    font-size: 23px;
    line-height: 1.25;
}

.tz-v11-final__head p {
    margin: 5px 0 0;
    color: var(--tz-muted);
    font-size: 11px;
    line-height: 1.7;
}

.tz-v11-review-grid {
    overflow: hidden;
    border: 1px solid var(--tz-line);
    background: #fff;
}

.tz-v11-review-row {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 13px 16px;
    border-bottom: 1px solid #ecece8;
}

.tz-v11-review-row:last-child {
    border-bottom: 0;
}

.tz-v11-review-row > span {
    color: #888;
    font-size: 10px;
}

.tz-v11-review-row > strong {
    overflow-wrap: anywhere;
    color: #111;
    font-size: 12px;
    text-align: end;
}

.tz-v11-note-details {
    margin-top: 14px;
    border: 1px solid var(--tz-line);
    background: #fff;
}

.tz-v11-note-details summary {
    padding: 13px 15px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.tz-v11-note-details > label {
    display: block;
    padding: 0 15px 15px;
}

.tz-v11-note-details textarea,
.tz-v11-note-details input {
    width: 100%;
    box-sizing: border-box;
}

.tz-v11-rewards-note {
    margin: 14px 0 0;
    padding-inline-start: 12px;
    border-inline-start: 2px solid var(--tz-red);
    color: #6c6c6c;
    font-size: 10px;
    line-height: 1.7;
}

.tz-v11-confirm-wrap {
    margin-top: 20px;
}

.tz-v11-confirm-button {
    width: 100% !important;
    min-height: 58px !important;
    margin: 0 !important;
    border: 1px solid var(--tz-black) !important;
    border-radius: 0 !important;
    background: var(--tz-black) !important;
    color: #fff !important;
    font-weight: 900 !important;
    cursor: pointer;
}

.tz-v11-confirm-button:hover {
    background: #222 !important;
    border-color: #222 !important;
}

/* Prevent the old standalone payment card from reserving layout space. */
.tz-v11-form > .checkout-fields > .tz-v11-payment-panel,
.tz-v11-form .checkout-fields > .tz-v11-payment-panel {
    margin: 0 !important;
}

/* ------------------------------
   Post-purchase Tank Rewards
   ------------------------------ */

.tz-v11-success-rewards {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    max-width: 780px;
    margin: 34px auto 0;
    padding: 26px 28px 26px 32px;
    overflow: hidden;
    border: 1px solid #242424;
    background:
        radial-gradient(circle at 90% 20%, rgba(215, 25, 32, .18), transparent 34%),
        #0a0a0a;
    color: #fff;
    text-align: start;
}

.tz-v11-success-rewards__accent {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #d71920;
}

.tz-v11-success-rewards__eyebrow {
    color: #ff2b32;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .16em;
}

.tz-v11-success-rewards h2 {
    margin: 8px 0 0;
    color: #fff;
    font-size: 24px;
}

.tz-v11-success-rewards p {
    max-width: 560px;
    margin: 9px 0 0;
    color: #b8b8b8;
    font-size: 12px;
    line-height: 1.8;
}

.tz-v11-success-rewards__action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-width: 175px;
    min-height: 50px;
    padding: 0 17px;
    background: #ed1c24;
    color: #fff !important;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}

.tz-v11-success-rewards__action[hidden] {
    display: none !important;
}

/* ------------------------------
   Responsive
   ------------------------------ */

@media (max-width: 900px) {
    .tz-v11-intro {
        padding: 25px 22px 23px;
    }

    .tz-v11-step__head {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 13px;
        padding: 17px 20px;
    }

    .tz-v11-step__state {
        grid-column: 1 / -1;
        justify-content: space-between;
        min-width: 0;
        padding-inline-start: 55px;
    }

    .tz-v11-step__summary {
        max-width: 70vw;
        text-align: start;
    }

    .tz-v11-step__body {
        padding: 3px 20px 24px;
    }

    .tz-v11-field-grid,
    .tz-v11-field-grid--contact {
        grid-template-columns: 1fr;
    }

    .tz-v11-step__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .tz-v11-next {
        width: 100%;
        min-width: 0;
        min-height: 52px;
    }

    .tz-v11-final {
        padding: 24px 20px;
    }
}

@media (max-width: 600px) {
    .tz-v11-unified-panel {
        margin-inline: 0 !important;
    }

    .tz-v11-intro h2 {
        font-size: 27px;
    }

    .tz-v11-intro p {
        font-size: 12px;
    }

    .tz-v11-step__number {
        width: 38px;
        height: 38px;
    }

    .tz-v11-step__copy h3 {
        font-size: 17px;
    }

    .tz-v11-review-row {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 12px;
        padding: 12px 13px;
    }

    .tz-v11-final__head {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .tz-v11-final__check {
        width: 40px;
        height: 40px;
    }

    .tz-v11-success-rewards {
        grid-template-columns: 1fr;
        margin-top: 26px;
        padding: 24px 22px 22px 26px;
    }

    .tz-v11-success-rewards__action {
        width: 100%;
        box-sizing: border-box;
    }
}