div.wp-block-woocommerce-checkout.alignwide.wc-block-checkout {
    max-width: 1300px;
    margin: 0 auto;
}

button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.wc-block-components-checkout-place-order-button--full-width.contained {
    background: linear-gradient(135deg, #FC9B05, #FF6B00);
    border-radius: 50px;
    transition: all .3s ease;
}

button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.wc-block-components-checkout-place-order-button--full-width.contained:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(252, 155, 5, 0.4);
}

div.wp-block-woocommerce-checkout-order-summary-block {
    padding: 10px 15px;
}

button.wc-block-components-button.wp-element-button.wc-block-components-totals-coupon__button.contained {
    background-color: #0E6E32;
    border-radius: 10px;
    color: white;
    transition: background .3s ease;
}

.wc-block-components-panel__button {
    color: #0e6e32;
    font-weight: bold;
}

button.wc-block-components-button.wp-element-button.wc-block-components-totals-coupon__button.contained:hover {
    background-color: #139445;
}

input#wc-block-components-totals-coupon__input-coupon {
    border: 1px solid lightgray;
    outline: none;
}

input#wc-block-components-totals-coupon__input-coupon:focus {
    border: 1px solid gray;
}

input#wc-block-components-totals-coupon__input-coupon::placeholder {
    color: lightgray;
}

/* Thank-you page */
.dph-thankyou-page {
    --dph-green: #0e6e32;
    --dph-green-dark: #084a24;
    --dph-orange: #fc9b05;
    --dph-ink: #173225;
    --dph-muted: #6e7c73;
    --dph-line: #e6ece8;
    background: #f4f7f3;
    color: var(--dph-ink);
    padding: 58px 20px 88px;
}

.dph-thankyou-shell {
    max-width: 1160px;
    margin: 0 auto;
}

.dph-thankyou-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dph-green-dark) 0%, var(--dph-green) 68%, #168247 100%);
    border-radius: 18px;
    color: #fff;
    padding: 52px clamp(28px, 6vw, 82px) 54px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(14, 110, 50, .16);
}

.dph-thankyou-hero::after {
    position: absolute;
    right: -86px;
    bottom: -104px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    content: '';
    box-shadow: 0 0 0 26px rgba(255, 255, 255, .04), 0 0 0 52px rgba(255, 255, 255, .03);
}

.dph-thankyou-check {
    position: relative;
    z-index: 1;
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .14);
}

.dph-thankyou-check span {
    width: 24px;
    height: 13px;
    border-bottom: 3px solid var(--dph-green);
    border-left: 3px solid var(--dph-green);
    transform: rotate(-45deg) translate(2px, -2px);
}

.dph-thankyou-check.is-pending span {
    width: 20px;
    height: 20px;
    border: 3px solid var(--dph-orange);
    border-radius: 50%;
    transform: none;
}

.dph-thankyou-check.is-pending span::after {
    display: block;
    width: 3px;
    height: 7px;
    margin: 3px auto 0;
    background: var(--dph-orange);
    content: '';
}

.dph-thankyou-eyebrow,
.dph-card-kicker {
    margin: 0 0 8px;
    color: var(--dph-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.dph-thankyou-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.1;
}

.dph-thankyou-lead {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 16px auto 0;
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
    line-height: 1.65;
}

.dph-thankyou-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, .8fr);
    gap: 22px;
    margin-top: 22px;
}

.dph-thankyou-card {
    background: #fff;
    border: 1px solid var(--dph-line);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(23, 50, 37, .05);
}

.dph-order-summary {
    padding: clamp(24px, 4vw, 38px);
}

.dph-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--dph-line);
}

.dph-card-heading h2,
.dph-next-step-card h2 {
    margin: 0;
    color: var(--dph-ink);
    font-size: 23px;
    line-height: 1.25;
}

.dph-card-heading time {
    color: var(--dph-muted);
    font-size: 13px;
    white-space: nowrap;
}

.dph-order-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 24px 0 30px;
}

.dph-order-meta div {
    min-width: 0;
}

.dph-order-meta dt {
    margin-bottom: 7px;
    color: var(--dph-muted);
    font-size: 12px;
}

.dph-order-meta dd {
    margin: 0;
    color: var(--dph-ink);
    font-size: 14px;
    font-weight: 700;
}

.dph-order-items h3 {
    margin: 0 0 14px;
    color: var(--dph-ink);
    font-size: 16px;
}

.dph-order-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 0;
    border-top: 1px solid var(--dph-line);
}

.dph-order-item-image {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border-radius: 8px;
    background: #f1f4f1;
}

.dph-order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dph-order-item-info {
    display: grid;
    gap: 5px;
    min-width: 0;
    flex: 1;
}

.dph-order-item-info strong {
    overflow: hidden;
    color: var(--dph-ink);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dph-order-item-info span {
    color: var(--dph-muted);
    font-size: 12px;
}

.dph-order-item-price {
    color: var(--dph-green);
    font-size: 14px;
    white-space: nowrap;
}

.dph-thankyou-sidebar {
    display: grid;
    align-content: start;
    gap: 22px;
}

.dph-next-step-card,
.dph-contact-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
}

.dph-next-step-number {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #edf2ed;
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
}

.dph-next-step-card h2 {
    position: relative;
    max-width: 235px;
    margin-bottom: 14px;
    font-size: 21px;
}

.dph-next-step-card>p:last-child,
.dph-contact-card>p:last-child {
    margin: 0;
    color: var(--dph-muted);
    font-size: 14px;
    line-height: 1.65;
}

.dph-contact-card strong {
    display: block;
    overflow-wrap: anywhere;
    margin-bottom: 10px;
    color: var(--dph-green);
    font-size: 15px;
}

.dph-thankyou-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
}

.dph-thankyou-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 23px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.dph-thankyou-button:hover {
    transform: translateY(-2px);
}

.dph-thankyou-button-primary {
    background: var(--dph-orange);
    color: #fff;
    box-shadow: 0 7px 15px rgba(252, 155, 5, .2);
}

.dph-thankyou-button-primary:hover {
    background: #e88800;
    color: #fff;
}

.dph-thankyou-button-secondary {
    border: 1px solid #c9d8ce;
    background: #fff;
    color: var(--dph-green);
}

.dph-thankyou-button-secondary:hover {
    border-color: var(--dph-green);
    color: var(--dph-green);
}

.dph-thankyou-empty {
    padding-bottom: 65px;
}

.dph-thankyou-empty .dph-thankyou-button {
    position: relative;
    z-index: 1;
    margin-top: 24px;
}

@media (max-width: 780px) {
    .dph-thankyou-page {
        padding: 26px 14px 54px;
    }

    .dph-thankyou-grid {
        grid-template-columns: 1fr;
    }

    .dph-order-meta {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .dph-thankyou-hero {
        padding: 38px 22px 42px;
        border-radius: 12px;
    }

    .dph-thankyou-hero h1 {
        font-size: 29px;
    }

    .dph-card-heading {
        display: block;
    }

    .dph-card-heading time {
        display: block;
        margin-top: 8px;
    }

    .dph-order-summary,
    .dph-next-step-card,
    .dph-contact-card {
        padding: 22px;
    }

    .dph-order-item-price {
        font-size: 13px;
    }

    .dph-thankyou-actions {
        display: grid;
    }

    .dph-thankyou-button {
        width: 100%;
    }
}