/* ==========================================================
   Pages :: Payment
   ========================================================== */

.pages-payment {
    width: 100%;
    box-sizing: border-box;
    color: #272727;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

.pages-payment *,
.pages-payment *::before,
.pages-payment *::after {
    box-sizing: border-box;
}

.pages-payment a {
    color: #8b171d;
    text-decoration: none;
    border-bottom: 1px solid rgba(139, 23, 29, .22);
}

.pages-payment a:hover {
    color: #641217;
    border-bottom-color: currentColor;
}

/* Hero */

.payment-hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 34px;
    padding: 34px 38px;
    border: 1px solid #e5dedd;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(0, 0, 0, .055);
}

.payment-hero::after {
    content: "";
    position: absolute;
    right: -95px;
    top: -125px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(139, 23, 29, .10);
    border-radius: 50%;
    box-shadow:
        0 0 0 28px rgba(139, 23, 29, .025),
        0 0 0 58px rgba(139, 23, 29, .018);
}

.payment-hero__eyebrow,
.payment-hero h1,
.payment-hero p,
.payment-nav {
    position: relative;
    z-index: 1;
}

.payment-hero__eyebrow {
    margin-bottom: 7px;
    color: #8b171d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.payment-hero h1 {
    margin: 0 0 8px;
    color: #252525;
    font-size: 38px;
    line-height: 1.15;
}

.payment-hero p {
    max-width: 680px;
    margin: 0;
    color: #626262;
    font-size: 16px;
    line-height: 1.5;
}

.payment-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
}

.payment-nav a {
    padding: 7px 12px;
    color: #5b5b5b;
    border: 1px solid #ded8d6;
    border-radius: 999px;
    background: #fff;
    font-size: 12px;
    line-height: 1.2;
}

.payment-nav a:hover {
    color: #8b171d;
    border-color: #b98a8d;
    background: #fbf7f7;
}

/* Sections */

.payment-section {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 20px;
    padding: 30px 0;
    border-top: 1px solid #e3dfdd;
}

.payment-section--intro {
    padding-top: 4px;
    border-top: 0;
}

.payment-index {
    padding-top: 5px;
    color: #8b171d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .11em;
}

.payment-content {
    min-width: 0;
    max-width: 950px;
}

.payment-content h2 {
    margin: 0 0 17px;
    color: #262626;
    font-size: 27px;
    line-height: 1.25;
}

.payment-content p {
    margin: 0 0 13px;
    color: #444;
    font-size: 14px;
}

.payment-note {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-top: 22px;
    padding: 15px 18px;
    border-left: 3px solid #8b171d;
    border-radius: 0 9px 9px 0;
    background: #f6f3f2;
}

.payment-note strong {
    color: #8b171d;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.payment-note span {
    color: #555;
    font-size: 13px;
}

/* Steps */

.payment-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0 22px;
}

.payment-step {
    display: flex;
    gap: 13px;
    padding: 18px;
    border: 1px solid #e1dcda;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .035);
}

.payment-step__number {
    flex: 0 0 auto;
    color: #8b171d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.payment-step h3,
.payment-option h3,
.payment-method h3 {
    margin: 0 0 7px;
    color: #333;
    font-size: 15px;
    line-height: 1.3;
}

.payment-step p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

/* Delivery */

.payment-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.payment-option {
    padding: 21px;
    border: 1px solid #e1dcda;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .035);
}

.payment-option--small {
    grid-column: 1 / -1;
}

.payment-option__top {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.payment-option__number {
    color: #8b171d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.payment-option p {
    font-size: 13px;
    line-height: 1.55;
}

.payment-warning {
    margin-top: 15px;
    padding: 12px 14px;
    border-left: 3px solid #8b171d;
    border-radius: 0 7px 7px 0;
    background: #f7f1f0;
    color: #666;
    font-size: 12px;
}

/* Payment methods */

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.payment-method {
    display: flex;
    gap: 15px;
    padding: 21px;
    border: 1px solid #e1dcda;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .035);
}

.payment-method__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 39px;
    height: 39px;
    border-radius: 7px;
    background: #8b171d;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.payment-method p {
    font-size: 13px;
    line-height: 1.55;
}

/* Contact */

.payment-contact {
    margin-top: 30px;
    padding: 25px 28px;
    border-top: 3px solid #8b171d;
    border-radius: 0 0 12px 12px;
    background: #f6f3f2;
}

.payment-contact__eyebrow {
    margin-bottom: 3px;
    color: #8b171d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.payment-contact h2 {
    margin: 0 0 7px;
    color: #272727;
    font-size: 24px;
}

.payment-contact p {
    margin: 0 0 12px;
    color: #555;
    font-size: 13px;
}

.payment-contact__email {
    color: #8b171d;
    font-size: 15px;
    font-weight: 700;
}

/* Responsive */

@media (max-width: 760px) {
    .payment-steps,
    .payment-options,
    .payment-methods {
        grid-template-columns: 1fr;
    }

    .payment-option--small {
        grid-column: auto;
    }
}

@media (max-width: 620px) {
    .payment-hero {
        padding: 28px 25px;
    }

    .payment-hero h1 {
        font-size: 31px;
    }

    .payment-section {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .payment-index {
        padding-top: 0;
    }

    .payment-content h2 {
        font-size: 23px;
    }

    .payment-note {
        display: block;
    }

    .payment-note span {
        display: block;
        margin-top: 5px;
    }

    .payment-contact {
        padding: 23px 20px;
    }
}
