/* Purchase forms reuse the partnership catalogue's colours and product artwork. */
.esign-purchase-shell {
color:var(--ayy-text-heading);
}
#link-campaign.signature-catalog-standard .partnership-brands { width:26%; }
#link-campaign.signature-catalog-standard .partnership-brand-main { left:6.25%; width:86.06%; }
#link-campaign .link-offer-buy { border:0; cursor:pointer; }
.esign-purchase-shell .esign-checkout { max-width:1320px; margin:36px auto 56px; padding:0 24px; }
.esign-purchase-shell #ts-order.esign-order-inline { border-radius:20px; border-color:var(--ayy-border-divider); background:linear-gradient(135deg,#fff,#fdfdfe); box-shadow:0 16px 40px #14213c12; padding:32px; }
.esign-purchase-shell .ts-dialog-head { margin-top:26px; }
.esign-purchase-shell .ts-dialog-head .eyebrow { color:var(--ayy-text-gold); font-size:12px; letter-spacing:.12em; }
.esign-purchase-shell .ts-dialog-head :is(h1,h2) { font:800 30px/1.2 Manrope,Arial,sans-serif; letter-spacing:-.7px; color:var(--ayy-text-heading); }
.esign-purchase-shell .button.primary { background:linear-gradient(var(--ayy-red-600),var(--ayy-red-600)); color:#fff; border-color:transparent; box-shadow:0 7px 18px #fc021d1a; }
.esign-purchase-shell .button.primary:hover { background:var(--ayy-red-700); }
.esign-purchase-shell .button.secondary { color:var(--ayy-text-heading); background:#fff; border:1px solid var(--ayy-border-input); box-shadow:none; }
.esign-purchase-shell .button:focus-visible { outline:3px solid var(--ayy-text-heading); outline-offset:3px; }
.esign-purchase-shell .esign-journey button { color:var(--ayy-text-heading); }
.esign-purchase-shell .esign-journey button:disabled { color:var(--ayy-text-muted); }
.esign-purchase-shell .esign-journey .is-complete .esign-stop { background:#fff9f3; border-color:var(--ayy-gold-500); color:var(--ayy-text-gold); }
.esign-purchase-shell .esign-journey li.is-complete:after { background:var(--ayy-gold-500); }
.esign-purchase-shell .esign-selection { display:grid; grid-template-columns:104px minmax(0,1fr) auto; align-items:center; gap:8px 24px; padding:16px; border:1px solid #ece8e2; border-radius:16px; background:linear-gradient(110deg,#f8f7f5,#fff); }
.esign-purchase-shell .esign-selection-photo { grid-row:1 / 3; width:104px; height:112px; }
.esign-purchase-shell .esign-selection strong { grid-column:2; align-self:end; font-size:18px; color:var(--ayy-text-heading); }
.esign-purchase-shell .esign-selection #ts-selected-quantity { grid-column:2; align-self:start; color:var(--ayy-text-secondary); font-size:14px; }
.esign-purchase-shell .esign-selection b { grid-column:3; grid-row:1 / 3; font:800 24px/1.3 Manrope,Arial,sans-serif; color:var(--ayy-text-heading); white-space:nowrap; }
.esign-checkout-brands { display:flex; align-items:center; gap:24px; padding:0 0 22px; border-bottom:1px solid var(--ayy-border-divider); }
.esign-checkout-brands span { display:block; flex:none; background-image:url('/images/partners/link-reference.png'); background-repeat:no-repeat; }
.esign-checkout-brands .esign-brand-main { width:250px; aspect-ratio:358/78; background-size:446.9274% 1176.9231%; background-position:6.4412% 5.2381%; }
.esign-checkout-brands .esign-brand-partner { width:156px; aspect-ratio:235/64; background-size:680.8511% 1434.375%; background-position:38.4615% 6.08899%; }
.esign-checkout-brands:has(.esign-brand-partner) .esign-brand-main { margin-right:8px; }
.esign-purchase-shell #ts-form input,.esign-purchase-shell #ts-form select,.esign-purchase-shell #ts-form textarea { background:var(--ayy-white); border-color:var(--ayy-border-input); border-radius:10px; color:var(--ayy-text-body); }
.esign-purchase-shell #ts-form :is(input,select,textarea):focus-visible { outline:2px solid var(--ayy-gold-500); outline-offset:2px; }
.esign-purchase-shell #ts-result { background:#f8f9fc; border:1px solid #e5e9f0; border-radius:14px; }
.esign-purchase-shell .ts-support,.esign-international { max-width:1264px; margin:32px auto; }
.esign-purchase-shell .ts-support { background:#f4f6fa; }
.esign-international { padding:22px 24px; border:1px solid #e2e7ef; border-radius:16px; background:#fff; }
.esign-international summary { cursor:pointer; font-weight:700; }
.esign-international>p { color:var(--ayy-text-secondary); font-size:14px; }
.esign-international-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:24px; }
.esign-international-grid article { border:1px solid #e5e9ef; border-radius:14px; padding:20px; text-align:center; }
.esign-international-grid .esign-international-grid h2 { font-size:22px; margin:12px 0; }
.esign-international-grid strong { font-size:28px; }
.esign-international-grid p { font-size:13px; }
.esign-payment-shell { max-width:1000px; margin:32px auto; }
.esign-payment-card { padding:32px; border:1px solid #e5e9ef; border-radius:20px; background:#fff; box-shadow:0 16px 40px #14213c12; }
.esign-payment-card h1 { font:800 32px/1.2 Manrope,Arial,sans-serif; color:var(--ayy-text-heading); margin:26px 0; }
.esign-payment-card .esign-selection { grid-template-columns:104px minmax(0,1fr) auto; }
.esign-payment-card .esign-selection strong { align-self:center; grid-row:1 / 3; }
@media(max-width:800px) {
 .esign-purchase-shell .esign-checkout { padding:0 16px; margin-top:24px; }
 .esign-purchase-shell .ts-support,.esign-international { margin:24px 16px; }
 .esign-international-grid { grid-template-columns:1fr; }
 .esign-purchase-shell #ts-order.esign-order-inline,.esign-payment-card { padding:20px; }
 .esign-payment-shell { margin:24px 0; }
}
@media(max-width:700px) {
 #link-campaign.signature-catalog-standard .partnership-brands { width:75%; aspect-ratio:416/104; }
 .esign-checkout-brands { gap:16px; padding-bottom:20px; flex-wrap:wrap; }
 .esign-checkout-brands .esign-brand-main { width:180px; }
 .esign-checkout-brands .esign-brand-partner { width:110px; }
 .esign-purchase-shell .esign-selection { grid-template-columns:80px minmax(0,1fr); gap:8px 14px; }
 .esign-purchase-shell .esign-selection-photo { width:80px; height:86px; grid-row:1 / 4; }
 .esign-purchase-shell .esign-selection strong { grid-row:1; font-size:15px; }
 .esign-purchase-shell .esign-selection #ts-selected-quantity { grid-row:2; }
 .esign-purchase-shell .esign-selection b { grid-column:2; grid-row:3; font-size:22px; }
 .esign-payment-card .esign-selection strong { grid-row:1 / 3; }
 .esign-purchase-shell .ts-dialog-head :is(h1,h2) { font-size:26px; }
 .esign-purchase-shell .ts-dialog-head .button { font-size:13px; padding:10px 14px; }
}

.esign-purchase-shell #ts-order-title:focus,.esign-purchase-shell #plans-title:focus { outline:none; }

/* One checkout frame, starting with compact package selection. */
main.design-content:has(.esign-stepper-purchase) { width:100%; max-width:none; padding:0; }
.esign-stepper-purchase .esign-checkout { max-width:1440px; margin:32px auto 56px; }
.esign-stepper-purchase #ts-order { min-width:0; }
.esign-stepper-purchase #ts-order .ts-dialog-head { margin-top:0; }
.esign-stepper-purchase #ts-order-title { margin:0 0 20px; font-size:30px; }
.esign-stepper-purchase #ts-order.esign-order-inline .button.secondary { color:var(--ayy-text-heading); border-color:var(--ayy-border-input); }
.esign-stepper-purchase .esign-package-intro { margin:0 0 24px; color:var(--ayy-text-secondary); line-height:1.6; }
.esign-package-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; padding:20px 0 16px; }
.esign-package-option {
 container-type:inline-size; position:relative; display:grid; grid-template-columns:minmax(0,45fr) minmax(0,55fr); align-content:start; align-items:start; gap:14px 14px;
 min-width:0; margin:0; padding:12px; border:1px solid #eeeef2; border-radius:15px;
 background:linear-gradient(120deg,#fff,#fdfdfd); color:var(--ayy-text-heading); box-shadow:0 16px 28px #14213c22;
 transition:border-color .16s,box-shadow .16s;
}
.esign-package-option .esign-package-photo { display:block; grid-column:1; grid-row:1; width:100%; height:auto; aspect-ratio:224/240; margin:0; border-radius:10px; }
.esign-package-content { grid-column:2; grid-row:1; min-width:0; padding-top:4px; }
.esign-package-label { display:block; color:#c86810; font:700 12px/1.4 var(--ayy-font-sans); letter-spacing:-.025em; }
.esign-stepper-purchase #ts-order .esign-package-name { margin:7px 0 4px; color:var(--ayy-text-heading); font:800 clamp(18px,1.35vw,22px)/1.2 var(--ayy-font-sans); letter-spacing:-.05em; overflow-wrap:anywhere; }
.esign-stepper-purchase #ts-order .esign-package-description { margin:0; color:var(--ayy-text-secondary); font:400 16px/1.2 var(--ayy-font-sans); }
.esign-stepper-purchase #ts-order .esign-package-features { display:grid; gap:5px; list-style:none; padding:10px 0 0; margin:10px 0 0; border-top:1px solid #eee; color:var(--ayy-text-secondary); font:400 12px/1.65 var(--ayy-font-sans); letter-spacing:-.035em; }
.esign-package-features li { position:relative; margin:0; padding:0 0 0 20px; }
.esign-package-features li::before { content:'✓'; position:absolute; left:0; top:0; display:grid; place-items:center; width:15px; height:15px; border-radius:50%; color:#fff; background:var(--ayy-gold-500); font:700 11px/1 Arial,sans-serif; }
.esign-package-price { grid-column:1; grid-row:2; align-self:center; display:block; padding-left:5px; color:var(--ayy-text-heading); font:800 26px/1.2 var(--ayy-font-sans); letter-spacing:-.04em; white-space:nowrap; }
.esign-package-buy { grid-column:2; grid-row:2; display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:48px; padding:12px 8px; border:0; border-radius:8px; background:linear-gradient(var(--ayy-red-600),var(--ayy-red-600)); color:#fff; font:600 15px/1.5 var(--ayy-font-sans); cursor:pointer; transition:background .16s; }
.esign-package-buy:hover { background:var(--ayy-red-700); }
.esign-package-buy:focus-visible { outline:3px solid var(--ayy-text-heading); outline-offset:4px; }
.esign-package-option.is-featured { border:2px solid #ec7c25; padding:11px; box-shadow:0 12px 26px #df7c2144; }
.esign-package-ribbon { position:absolute; top:-17px; left:50%; transform:translateX(-50%); width:max-content; max-width:92%; padding:7px 18px; border:1px solid #ffe0bb; border-radius:24px; background:linear-gradient(#fb360c,#f20500 65%,#da0200); box-shadow:0 0 16px #fd952b66; color:#fff; font:800 12px/1.3 var(--ayy-font-sans); white-space:nowrap; text-align:center; z-index:1; }
.esign-package-option.is-selected { border-color:var(--ayy-red-600); box-shadow:0 0 0 1px var(--ayy-red-600),0 12px 26px #fc021d22; }
.esign-stepper-purchase .button:disabled { opacity:.5; cursor:not-allowed; box-shadow:none; }
@media(min-width:801px) and (max-width:1199px) {
 .esign-stepper-purchase .esign-checkout { grid-template-columns:200px minmax(0,1fr); gap:24px; padding-inline:20px; }
 .esign-stepper-purchase #ts-order.esign-order-inline { padding:24px; }
}
@media(max-width:1199px) {
 .esign-package-options { grid-template-columns:minmax(0,1fr); gap:36px; max-width:600px; margin-inline:auto; }
 .esign-package-option { gap:16px; padding:14px; }
 .esign-package-option.is-featured { padding:13px; }
 .esign-package-buy { min-height:54px; }
}
@media(max-width:800px) {
 .esign-stepper-purchase .esign-checkout { margin-top:24px; }
}
@media(max-width:420px) {
 .esign-package-option { gap:12px 10px; padding:10px; }
 .esign-package-option.is-featured { padding:9px; }
 .esign-stepper-purchase #ts-order .esign-package-name { font-size:20px; }
 .esign-stepper-purchase #ts-order .esign-package-description { font-size:14px; }
 .esign-package-label { font-size:12px; }
 .esign-package-price { font-size:26px; padding-left:0; }
 .esign-package-buy { min-height:44px; font-size:16px; gap:6px; padding-inline:5px; }
 .esign-package-features li { padding-left:17px; }
 .esign-package-features li::before { width:13px; height:13px; font-size:10px; }
}
@media(prefers-reduced-motion:reduce) { .esign-package-option,.esign-package-buy { transition:none; } }

.esign-checkout-brands .esign-brand-partner-vbt { background-image:url('/images/partners/vbt.svg'); background-size:contain; background-position:center; }

/* Show the current standard price above the discounted payable price. */
.esign-package-price-discount del { display:block; margin-bottom:5px; color:#67758c; font:500 14px/1.4 var(--ayy-font-sans); letter-spacing:0; text-decoration-thickness:1px; }
.esign-package-price-discount strong { display:block; font:inherit; }
.esign-purchase-shell #ts-selected-price.esign-discount-price { display:flex; flex-direction:column; align-items:flex-end; gap:5px; }
.esign-purchase-shell #ts-selected-price.esign-discount-price del { color:#67758c; font:500 16px/1.3 Manrope,Arial,sans-serif; text-decoration-thickness:1px; }
@media(max-width:700px) {
 .esign-purchase-shell #ts-selected-price.esign-discount-price { align-items:flex-start; }
}

/* Partner identity banner; the purchase form keeps its existing layout. */
.esign-stepper-purchase #ts-order.esign-order-inline:has(> .esign-partner-brands) { box-shadow:0 12px 36px #14213c1f,0 2px 10px #14213c0a; }
.esign-stepper-purchase .esign-partner-brands {
 position:relative; width:100%; margin:18px 0 22px; padding:0;
 border:1px solid #fff; border-radius:18px; background:#fff;
 box-shadow:0 6px 18px #26344910,inset 0 0 0 1px #f0f1f3;
}
.esign-partner-identity {
 position:relative; isolation:isolate; padding:38px 24px 20px; border-radius:inherit;
 background:radial-gradient(ellipse at 50% 60%,#fff 26%,#fffdfb 48%,#e9edf2 100%);
}
.esign-partner-banner-art { position:absolute; inset:0; overflow:hidden; border-radius:inherit; z-index:-1; pointer-events:none; }
.esign-partner-banner-art svg { position:absolute; inset:auto 0 0; display:block; width:100%; height:35%; }
.esign-partner-badge {
 position:absolute; left:50%; top:0; transform:translate(-50%,-50%); display:flex; align-items:center; justify-content:center; gap:12px;
 padding:10px 28px; border:1px solid #fff0bc; border-radius:40px; white-space:nowrap;
 background:linear-gradient(110deg,#ffe49a,#fff3c7 50%,#ffe49a); color:#7a4b0b;
 box-shadow:0 5px 12px #9f6a2029; font:800 clamp(12px,1.35vw,18px)/1.35 Manrope,Arial,sans-serif; letter-spacing:.06em;
}
.esign-partner-badge svg { width:34px; height:30px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.esign-partner-logos { display:grid; grid-template-columns:minmax(0,1.43fr) 2px minmax(0,1fr); align-items:center; gap:34px; width:min(82%,760px); margin:0 auto; }
.esign-partner-brands :is(.esign-partner-logo-main,.esign-partner-logo-company) {
 display:block; width:100%; background-image:url('/images/partners/link-reference.png'); background-repeat:no-repeat; mix-blend-mode:multiply;
}
.esign-partner-brands .esign-partner-logo-main {
 aspect-ratio:358/78; background-size:446.9274% 1176.9231%; background-position:6.4412% 5.2381%;
}
.esign-partner-brands .esign-partner-logo-company {
 aspect-ratio:235/64; background-size:680.8511% 1434.375%; background-position:38.4615% 6.08899%;
}
.esign-partner-brands .esign-partner-logo-divider {
 display:block; width:2px; height:85%; min-height:28px; background:linear-gradient(transparent,#d6a54a 15%,#b8791b 50%,#e7c477 85%,transparent);
}
.esign-partner-brands .esign-partner-logo-vbt {
 aspect-ratio:3/1; background-image:url('/images/partners/vbt.svg'); background-size:contain; background-position:center;
}
.esign-partner-brands .esign-partner-message {
 max-width:900px; margin:16px auto 0; padding:0 12px; color:var(--ayy-text-body); text-align:center; text-wrap:balance;
 font:500 clamp(16px,1.55vw,21px)/1.45 Manrope,Arial,sans-serif;
}
.esign-partner-message strong { color:var(--ayy-text-heading); font-weight:800; white-space:nowrap; }
@media(max-width:1000px) {
 .esign-partner-logos { width:94%; gap:24px; }
}
@media(max-width:600px) {
 .esign-stepper-purchase .esign-partner-brands { margin-top:16px; border-radius:14px; }
 .esign-partner-identity { padding:32px 12px 20px; }
 .esign-partner-badge { gap:8px; padding:7px 16px; font-size:11px; letter-spacing:.04em; }
 .esign-partner-badge svg { width:26px; height:23px; }
 .esign-partner-logos { width:100%; gap:14px; }
 .esign-partner-brands .esign-partner-message { margin-top:14px; padding:0 4px; font-size:14px; line-height:1.5; }
 .esign-partner-message strong { display:block; margin-bottom:2px; }
}

.esign-package-price, .esign-package-price-discount strong { white-space:normal; }
.esign-package-price .price-vat-note { font-size:12px; font-weight:600; line-height:1.4; }

/* Static package catalogues preserve the existing card and partner banner design. */
.esign-purchase-shell.static-catalog .esign-checkout{display:block;max-width:1320px}
.esign-purchase-shell.static-catalog .esign-package-buy{display:flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;color:#fff}

/* The supplied product photo is shared by standard and campaign purchases. */
/* Full-width product photography, with a dedicated clearance below the recommendation badge. */
.esign-stepper-purchase .esign-package-options { gap:24px; padding-top:28px; }
.esign-stepper-purchase .esign-package-option {
 grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto 1fr;
 gap:20px; padding:32px 20px 20px;
}
.esign-stepper-purchase .esign-package-option.is-featured { padding:31px 19px 19px; }
.esign-package-option .esign-token-photo {
 grid-column:1 / -1; grid-row:1; justify-self:center;
 width:100%; max-width:360px; height:auto; object-fit:contain; object-position:center;
 aspect-ratio:3/2; margin:0 auto; padding:0; border-radius:12px; background:none;
}
.esign-stepper-purchase .esign-package-content { grid-column:1; grid-row:2; padding:0; text-align:center; }
.esign-stepper-purchase #ts-order .esign-package-features { width:fit-content; max-width:100%; margin:16px auto 0; padding-top:14px; text-align:left; }
.esign-stepper-purchase .esign-package-footer { grid-column:1; grid-row:3; align-self:end; border-top:1px solid var(--ayy-border-divider); padding-top:16px; }
.esign-stepper-purchase .esign-package-ribbon {
 top:0; transform:translate(-50%,-50%); max-width:calc(100% - 32px);
 padding:10px 20px; border:0; border-radius:var(--ayy-radius-pill);
 background:var(--ayy-brand-primary); box-shadow:0 4px 12px #ed001c26;
 font-size:12px; font-weight:800; line-height:1.4; letter-spacing:.025em; white-space:normal;
}
@media(max-width:1199px) {
 .esign-purchase-shell.esign-stepper-purchase .esign-package-options { gap:40px; }
}
@media(max-width:420px) {
 .esign-stepper-purchase .esign-package-option { padding:30px 16px 16px; gap:18px; }
 .esign-stepper-purchase .esign-package-option.is-featured { padding:29px 15px 15px; }
 .esign-stepper-purchase .esign-package-ribbon { padding:9px 16px; font-size:11px; }
}
.esign-purchase-shell .esign-selection .esign-token-photo { height:auto; aspect-ratio:3/2; object-fit:contain; border-radius:10px; }

/* Typography aligned with the Izometri sales reference; keep the shared Manrope family. */
.esign-purchase-shell { font-family:var(--ayy-font-sans); font-size:16px; line-height:1.5; }
#ts-order.esign-order-inline #ts-order-title { font-size:32px; line-height:1.2; letter-spacing:-.04em; }
.esign-purchase-shell #ts-form label { font-size:14px; line-height:1.5; font-weight:600; }
.esign-purchase-shell #ts-form :is(input,select,textarea) { font-size:16px; line-height:1.5; font-weight:400; }
.esign-purchase-shell #ts-form fieldset>p { font-size:14px; line-height:1.65; }
.esign-purchase-shell #ts-form legend { font-size:18px; line-height:1.4; }
.esign-package-footer { grid-column:1 / -1; display:flex; flex-wrap:wrap; align-items:center; gap:12px; min-width:0; }
.esign-package-footer .esign-package-price { flex:1 0 auto; padding-left:0; }
.esign-purchase-shell .esign-package-footer .esign-package-buy { flex:1 0 110px; width:auto; font-size:15px; font-weight:600; line-height:1.5; }
.esign-package-footer .esign-package-price strong { font-variant-numeric:tabular-nums; }
.esign-package-option:has(.esign-package-buy:disabled) .esign-package-price strong { font-size:18px; letter-spacing:-.02em; white-space:normal; }
@media(max-width:1199px) and (min-width:601px) {
 .esign-stepper-purchase #ts-order .esign-package-name { font-size:24px; }
 .esign-stepper-purchase #ts-order .esign-package-features { font-size:14px; }
}
@media(max-width:700px) {
 .esign-purchase-shell .esign-package-footer .esign-package-buy { flex-basis:100%; }
}
@media(max-width:600px) {
 #ts-order.esign-order-inline #ts-order-title { font-size:26px; }
 .esign-stepper-purchase .esign-package-intro { font-size:14px; line-height:1.65; }
 .esign-stepper-purchase #ts-order .esign-package-name { font-size:20px; }
 .esign-stepper-purchase #ts-order .esign-package-description { font-size:14px; }
}
@media(max-width:380px) {
 .esign-stepper-purchase #ts-order .esign-package-name { font-size:18px; }
}
