.coporton-order-card {
    max-width: 780px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, .08);
}

.coporton-order-service h3,
.coporton-order-service p {
    margin-top: 0;
}

.coporton-order-price {
    color: #0f766e;
    font-size: 1.4rem;
    font-weight: 700;
}

.coporton-order-price small {
    margin-left: 8px;
    color: #64748b;
    font-size: .8rem;
    font-weight: 500;
}

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

.coporton-order-form label {
    display: grid;
    gap: 6px;
    color: #334155;
    font-size: .9rem;
    font-weight: 600;
}

.coporton-order-form input,
.coporton-order-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    font: inherit;
}

.coporton-order-full {
    margin-top: 16px;
}

.coporton-order-submit {
    margin-top: 18px;
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    background: #0f766e;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.coporton-order-submit:hover,
.coporton-order-submit:focus-visible {
    background: #115e59;
}

.coporton-order-disclaimer {
    margin: 12px 0 0;
    color: #64748b;
    font-size: .78rem;
}

.coporton-cart-fields {
    display: grid;
    gap: 12px;
    margin: 20px 0;
    padding: 16px;
    border: 1px solid #dbe3ec;
    border-radius: 12px;
    background: #f8fafc;
}

.coporton-cart-fields h3 {
    margin: 0;
    font-size: 1rem;
}

.coporton-cart-fields label {
    display: grid;
    gap: 6px;
    font-weight: 600;
}

.coporton-cart-fields input,
.coporton-cart-fields select,
.coporton-cart-fields textarea {
    width: 100%;
    box-sizing: border-box;
}

.coporton-account-count-help {
    margin-top: -8px;
    color: #64748b;
    font-size: .82rem;
}

.coporton-external-bill-preview {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
}

.coporton-external-bill-preview dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.coporton-external-bill-preview dl div {
    padding: 10px;
    border-radius: 8px;
    background: #f1f5f9;
}

.coporton-external-bill-preview dt,
.coporton-external-bill-preview small,
.coporton-external-bill-preview p {
    color: #64748b;
    font-size: .82rem;
}

.coporton-external-bill-preview dd {
    margin: 3px 0 0;
    color: #0f172a;
    font-weight: 700;
}

.coporton-external-bill-preview p {
    margin: 0;
}

.coporton-checkout-currency {
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid #dbe3ec;
    border-radius: 10px;
    background: #f8fafc;
}

.coporton-checkout-currency h3 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.coporton-checkout-currency select {
    width: 100%;
}

.coporton-checkout-currency p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: .82rem;
}

.coporton-account-currency {
    margin: 20px 0;
    padding: 16px;
    border: 1px solid #dbe3ec;
    border-radius: 10px;
}

.coporton-account-currency legend {
    padding: 0 6px;
    font-weight: 700;
}

.coporton-account-currency select {
    width: 100%;
}

.coporton-order-notice {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
}

.coporton-order-error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.coporton-order-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 680px) {
    .coporton-order-card {
        padding: 20px;
    }

    .coporton-order-grid {
        grid-template-columns: 1fr;
    }

    .coporton-order-submit {
        width: 100%;
    }

    .coporton-external-bill-preview dl {
        grid-template-columns: 1fr;
    }
}
.coporton-cart-fields [hidden] { display: none !important; }
.coporton-cart-fields .coporton-renewal-domain {
    width: 100%; min-height: 48px; padding: 10px 38px 10px 12px; box-sizing: border-box;
    border: 1px solid #d3ddea; border-radius: 8px; background-color: #fff; color: #17253e; font-size: 16px;
}
.coporton-owned-services { margin-top: 24px; }
.coporton-owned-service { padding: 18px 0; border-bottom: 1px solid #dce4f0; }
.coporton-owned-service h3 { margin-bottom: 6px; font-size: 18px; }
.coporton-owned-service p { margin-bottom: 12px; }
.woocommerce-account .coporton-owned-services h2 { font-size: 28px; line-height: 1.3; margin: 0 0 20px; }
.woocommerce-account .coporton-owned-service h3 { font-size: 18px; line-height: 1.4; margin: 0 0 8px; }
.coporton-owned-service { overflow-wrap: anywhere; }
.coporton-service-renewal-form { margin: 0; }
.coporton-service-renewal-form .button { white-space: normal; }

/* 0.13.0: signed-in purchases */
.coporton-sign-in-cta {
    margin: 18px 0;
    padding: 22px 24px;
    border: 1px solid #d3ddea;
    border-radius: 14px;
    background: #f8faff;
    color: #17253e;
}
.coporton-sign-in-cta h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.35; }
.coporton-sign-in-cta p { margin: 0 0 12px; }
.coporton-sign-in-cta ol { margin: 0 0 18px 20px; padding: 0; }
.coporton-sign-in-cta li { margin: 4px 0; }
/* Matches the service page's add-to-cart button: theme blue, 8px radius, 52px.
   The selector outranks Integrio's square `.woocommerce .button` rule. */
.coporton-sign-in-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body .coporton-sign-in-cta .coporton-sign-in-actions a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin: 0;
    padding: 12px 24px;
    border: 1px solid #0c5adb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-transform: none;
    box-shadow: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
/* Same gradient and sliding hover as the theme's Add to cart button
   (Integrio: #0C1BAE → #3486FE → #0C1BAE, 300% wide, 0% → 100% over .6s). */
body .coporton-sign-in-cta .coporton-sign-in-actions a.button {
    background-size: 300% 100%;
    background-position: 0% 50%;
    transition: background-position .6s ease, color .3s ease, border-color .3s ease;
}
body .coporton-sign-in-cta .coporton-sign-in-actions a.coporton-sign-in-primary {
    border-color: transparent;
    background-image: linear-gradient(90deg, #0c1bae 0%, #3486fe 50%, #0c1bae 100%);
    background-color: #0c1bae;
    color: #fff;
}
body .coporton-sign-in-cta .coporton-sign-in-actions a.coporton-sign-in-primary:is(:hover, :focus-visible) {
    background-position: 100% 50%;
    color: #fff;
}
/* Register stays a plain outline button with a light-blue hover. */
body .coporton-sign-in-cta .coporton-sign-in-actions a.coporton-sign-in-secondary {
    border-color: #0c5adb;
    background: #fff;
    color: #0c5adb;
    transition: background-color .18s ease;
}
body .coporton-sign-in-cta .coporton-sign-in-actions a.coporton-sign-in-secondary:is(:hover, :focus-visible) {
    background: #edf5ff;
    color: #0c5adb;
}
body .coporton-sign-in-cta .coporton-sign-in-actions a.button:focus-visible { outline: 2px solid rgb(12 90 219 / 45%); outline-offset: 2px; }
.coporton-verify-required { padding: 10px 12px; border: 1px solid #fde68a; border-radius: 8px; background: #fffbeb; color: #92400e; }
@media (max-width: 680px) {
    .coporton-sign-in-actions { grid-template-columns: minmax(0, 1fr); }
}
