/* Checkout pages (export checkout.html, checkout-single.html, css/order.css): Plan Summary + Checkout Form widgets. */

/* ---------- Layout: order card first on mobile, sticky on the right from lg ---------- */
.e-con.co-aside { order: -1; }
@media (min-width: 1024px) {
	.e-con.co-aside { order: 0; }
	.e-con.co-order-card { position: sticky; top: 6rem; }
}

/* ---------- Shared type ---------- */
.co-eyebrow { margin: 0; font-size: 0.75rem; line-height: 1rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ek-accent); }
.co-title, .co-order-name { margin: 0.75rem 0 0; font-family: 'Anton', Impact, sans-serif; font-weight: 400; font-size: 2.25rem; line-height: 1; text-transform: uppercase; color: var(--ek-paper); }
@media (min-width: 768px) { .co-title, .co-order-name { font-size: 3rem; } }
.co-sub { max-width: 36rem; margin: 0.75rem 0 0; color: color-mix(in srgb, var(--ek-paper) 75%, transparent); }
.co-sub:empty { display: none; }
.co-h3 { margin: 2.5rem 0 0; font-family: 'Anton', Impact, sans-serif; font-weight: 400; font-size: 1.875rem; line-height: 1; text-transform: uppercase; color: var(--ek-paper); }
.site-card .co-h3 { margin-top: 0.5rem; }
.co-card .co-h3 { margin-top: 0; }

/* Copy protection for previews: no drag, no select, no long-press save; a clear shield sits on top. */
.ek-protect img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; pointer-events: none; }
.g-shield { position: absolute; inset: 0; z-index: 2; background: transparent; }

/* ---------- Gallery ---------- */
.co-gallery { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 768px) { .co-gallery { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.g-stage { position: relative; border-radius: 1.75rem; padding: 1.5rem; background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--ek-coral) 45%, transparent), transparent 65%), var(--ek-card); border: 1px solid var(--ek-line); }
.g-frame { position: relative; margin: 0 auto; max-width: 21rem; border-radius: 1rem; overflow: hidden; box-shadow: 0 30px 50px -24px rgb(0 0 0 / 0.55); }
.g-frame img { display: block; width: 100%; height: auto; transition: opacity 0.25s ease; }
.g-frame.swap img { opacity: 0; }
.g-nav { position: absolute; top: 50%; z-index: 3; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; padding: 0; border-radius: 999px; background: var(--ek-card); color: var(--ek-paper); border: 1px solid var(--ek-line); font-weight: 800; transform: translateY(-50%); box-shadow: 0 8px 18px -10px rgb(0 0 0 / 0.5); cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.g-nav:hover { background: var(--ek-accent); color: var(--ek-ink); }
.g-prev { left: 0.75rem; } .g-next { right: 0.75rem; }
.g-count { position: absolute; left: 50%; bottom: 0.6rem; transform: translateX(-50%); padding: 2px 10px; border-radius: 999px; background: var(--ek-paper); color: var(--ek-ink); font-size: 11px; font-weight: 800; }
.g-list { display: flex; flex-direction: column; gap: 0.6rem; list-style: none; padding: 0; margin: 0; }
.g-item button { width: 100%; display: flex; align-items: center; gap: 0.9rem; padding: 0.6rem; border-radius: 1.1rem; text-align: left; background: var(--ek-card); color: var(--ek-paper); border: 1px solid var(--ek-line); cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease; }
.g-item button:hover { transform: translateX(4px); }
.g-item button[aria-pressed="true"] { border: 2px solid var(--ek-accent); }
.g-item button:disabled { cursor: not-allowed; opacity: 0.55; transform: none; }
.g-thumb-wrap { position: relative; flex: none; width: 3.6rem; height: 4.5rem; border-radius: 0.6rem; overflow: hidden; }
.g-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.g-item b { display: block; font-size: 0.95rem; }
.g-item small { display: block; margin-top: 2px; font-size: 0.8rem; line-height: 1.35; color: color-mix(in srgb, var(--ek-paper) 65%, transparent); }
.g-tag { display: inline-block; margin-top: 4px; padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--ek-accent) 12%, transparent); color: var(--ek-accent); font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Website preview: browser + iPhone, scrolling the whole page ---------- */
.site-card { margin-top: 2rem; border-radius: 1.75rem; padding: 1.5rem; background: var(--ek-card); border: 1px solid var(--ek-line); }
.site-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.75rem; }
.site-hint { margin: 0; font-size: 0.875rem; color: color-mix(in srgb, var(--ek-paper) 60%, transparent); }
.site-stage { position: relative; height: 22rem; margin-top: 1.25rem; border-radius: 1.25rem; overflow: hidden; background: radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--ek-coral) 45%, transparent), transparent 60%), color-mix(in srgb, var(--ek-paper) 5%, transparent); }
.sp-browser { position: absolute; left: 5%; top: 9%; width: 74%; border-radius: 0.9rem; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -28px rgb(0 0 0 / 0.6); transform: rotate(-1.5deg); }
.sp-bar { display: flex; align-items: center; gap: 4px; padding: 7px 10px; background: #f4f4f5; border-bottom: 1px solid #e4e4e7; }
.sp-bar i { width: 8px; height: 8px; border-radius: 999px; background: #d4d4d8; }
.sp-bar span { margin-left: 10px; padding: 2px 10px; border-radius: 999px; background: #fff; color: #71717a; font-size: 10px; font-weight: 600; }
.sp-screen { position: relative; overflow: hidden; --frame: 15.5rem; height: var(--frame); }
.sp-screen img { position: absolute; left: 0; top: 0; width: 100%; height: auto; animation: spScroll 24s ease-in-out infinite alternate; }
@keyframes spScroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + var(--frame))); } }
.sp-phone { position: absolute; right: 5%; bottom: 5%; width: 8.5rem; padding: 0.4rem; border-radius: 2.1rem; background: linear-gradient(145deg, #3a3a3c, #0b0b0c 40%); box-shadow: inset 0 0 0 1.5px #5a5a5e, 0 0 0 1px #1c1c1e, 0 30px 50px -20px rgb(0 0 0 / 0.75); transform: rotate(4deg); }
.sp-phone::before { content: ""; position: absolute; z-index: 3; left: 50%; top: 0.75rem; width: 2.5rem; height: 0.72rem; border-radius: 999px; background: #000; transform: translateX(-50%); }
.sp-phone .sp-screen { --frame: 17rem; border-radius: 1.75rem; }
.sp-phone .sp-screen img { animation-duration: 18s; animation-delay: -5s; }

/* ---------- Bundle: totals + niche wall ---------- */
.co-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 640px) { .co-stats { grid-template-columns: repeat(4, 1fr); } }
.co-stat { padding: 1rem; border-radius: 1.1rem; background: var(--ek-card); border: 1px solid var(--ek-line); }
.co-stat b { display: block; font-family: 'Anton', Impact, sans-serif; font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--ek-accent); }
.co-stat span { font-size: 0.8rem; font-weight: 700; color: color-mix(in srgb, var(--ek-paper) 70%, transparent); }
.co-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 1.25rem; }
@media (min-width: 640px) { .co-wall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .co-wall { grid-template-columns: repeat(4, 1fr); } }
.co-niche { position: relative; border-radius: 1rem; overflow: hidden; background: var(--ek-card); border: 1px solid var(--ek-line); transition: transform 0.25s ease, border-color 0.25s ease; }
.co-niche:hover { transform: translateY(-4px); border-color: var(--ek-accent); }
.co-art { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.co-art img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.co-niche p { margin: 0; padding: 0.55rem 0.75rem; font-size: 0.8rem; font-weight: 800; color: var(--ek-paper); }
.co-niche--plus { display: flex; flex-direction: column; justify-content: center; padding: 1rem; background: var(--ek-feature); color: var(--ek-feature-ink); border-color: var(--ek-feature); }
.co-niche--plus b { font-family: 'Anton', Impact, sans-serif; font-weight: 400; font-size: 1.6rem; line-height: 1; text-transform: uppercase; }
.co-niche--plus span { margin-top: 0.4rem; font-size: 0.8rem; font-weight: 600; opacity: 0.85; }
.co-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.co-chip { padding: 0.35rem 0.8rem; border-radius: 999px; background: transparent; color: var(--ek-paper); border: 1px solid var(--ek-line); font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease; }
.co-chip:hover { border-color: var(--ek-accent); }
.co-chip[aria-pressed="true"] { background: var(--ek-accent); border-color: var(--ek-accent); color: var(--ek-ink); }
.co-includes { display: grid; gap: 0.75rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .co-includes { grid-template-columns: repeat(2, 1fr); } }
.co-includes li { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1rem; border-radius: 1rem; background: var(--ek-card); border: 1px solid var(--ek-line); font-weight: 700; color: var(--ek-paper); }
.co-includes b { font-family: 'Anton', Impact, sans-serif; font-weight: 400; font-size: 1.9rem; line-height: 1; color: var(--ek-accent); min-width: 2.5rem; }

/* ---------- Single template: what you get ---------- */
.co-card { margin-top: 2rem; padding: 1.5rem; border-radius: 1.5rem; background: var(--ek-card); border: 1px solid var(--ek-line); }
@media (min-width: 768px) { .co-card { padding: 2rem; } }
.co-checks { display: grid; gap: 1rem; margin: 1.25rem 0 0; padding: 0; list-style: none; color: color-mix(in srgb, var(--ek-paper) 85%, transparent); }
.co-checks li { display: flex; gap: 0.75rem; }
.co-checks li::before { content: "\2713"; font-weight: 800; color: var(--ek-accent); }
.co-upgrade { margin: 1.5rem 0 0; font-size: 0.875rem; color: color-mix(in srgb, var(--ek-paper) 60%, transparent); }
.co-upgrade a { font-weight: 700; color: var(--ek-accent); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Order card head ---------- */
.co-order-item { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; padding: 0.75rem; border-radius: 1rem; border: 1px solid var(--ek-line); }
.co-order-desc { margin: 0; font-size: 0.875rem; line-height: 1.375; color: color-mix(in srgb, var(--ek-paper) 70%, transparent); }
.co-order-design { margin: 0; font-size: 0.875rem; font-weight: 700; color: var(--ek-paper); }
.co-order-type { margin: 0; font-size: 0.875rem; color: color-mix(in srgb, var(--ek-paper) 60%, transparent); }
.co-stack { position: relative; flex: none; width: 4.75rem; height: 4.5rem; }
.co-stack span { position: absolute; top: 0; width: 3.1rem; height: 4rem; border-radius: 0.5rem; overflow: hidden; box-shadow: 0 6px 14px -8px rgb(0 0 0 / 0.5); }
.co-stack span:nth-child(1) { left: 0; transform: rotate(-8deg); }
.co-stack span:nth-child(2) { left: 1.6rem; transform: rotate(7deg); }
.co-stack span:nth-child(3) { left: 0.8rem; z-index: 1; }
.co-stack img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.co-order-price { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--ek-line); }
.co-order-price p { margin: 0; color: color-mix(in srgb, var(--ek-paper) 70%, transparent); }
.co-order-price .co-price { font-family: 'Anton', Impact, sans-serif; font-size: 3.75rem; line-height: 1; color: var(--ek-accent); }
.co-order-total { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; }
.co-order-total span:first-child { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ek-paper); }
.co-total { font-family: 'Anton', Impact, sans-serif; font-size: 3rem; line-height: 1; color: var(--ek-paper); }

/* ---------- WooCommerce checkout form inside the order card ---------- */
.ek-checkout { margin-top: 2rem; color: var(--ek-paper); }
.ek-checkout .woocommerce-billing-fields > h3,
.ek-checkout #order_review_heading,
.ek-checkout .woocommerce-checkout-review-order-table,
.ek-checkout .woocommerce-additional-fields,
.ek-checkout .woocommerce-form-coupon-toggle,
.ek-checkout form#order_review > table.shop_table { display: none; }
.ek-checkout .col2-set, .ek-checkout .col2-set .col-1, .ek-checkout .col2-set .col-2 { float: none; width: 100%; max-width: none; padding: 0; margin: 0; }
.ek-checkout .col2-set::before, .ek-checkout .col2-set::after { content: none; }
.ek-checkout .woocommerce-billing-fields__field-wrapper { display: grid; gap: 1.25rem; }
.ek-checkout .woocommerce form .form-row { margin: 0; padding: 0; }
.ek-checkout .woocommerce form .form-row label { display: block; margin-bottom: 0.5rem; font-weight: 700; line-height: 1.5; color: var(--ek-paper); }
/* Both fields are required; the export shows no asterisk (inputs still carry aria-required). */
.ek-checkout .form-row label .required { display: none; }
.ek-checkout .ek-optional { font-weight: 400; color: color-mix(in srgb, var(--ek-paper) 60%, transparent); }
.ek-checkout .woocommerce form .form-row .input-text { width: 100%; padding: 0.75rem 1rem; border-radius: 0.75rem; background: var(--ek-ink); border: 1px solid var(--ek-line); color: var(--ek-paper); font: inherit; line-height: 1.5; box-shadow: none; }
.ek-checkout .woocommerce form .form-row .input-text:focus { border-color: var(--ek-accent); outline: none; }
.ek-checkout .woocommerce form .form-row.woocommerce-invalid .input-text { border-color: #dc2626; box-shadow: 0 0 0 4px rgb(220 38 38 / 0.12); }
.ek-checkout .checkout-inline-error-message { margin-top: 0.45rem; font-size: 0.85rem; font-weight: 700; color: #dc2626; }
.ek-checkout .woocommerce-NoticeGroup, .ek-checkout .woocommerce-error { margin: 0 0 1.25rem; }

/* Payment: the export's .pay-box around WooCommerce/Stripe's payment methods. */
.ek-checkout #payment { margin-top: 1.25rem; padding: 1.25rem; border-radius: 1.5rem; background: var(--ek-card); border: 1px solid var(--ek-line); color: var(--ek-paper); box-shadow: 0 18px 40px -32px rgb(0 0 0 / 0.35); }
.ek-checkout #payment::before { content: "Payment \00B7  secured by Stripe"; display: block; margin-bottom: 1rem; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--ek-paper) 60%, transparent); }
.ek-checkout #payment ul.payment_methods { margin: 0; padding: 0; border: 0; list-style: none; }
.ek-checkout #payment ul.payment_methods li { margin: 0; line-height: 1.5; }
.ek-checkout #payment ul.payment_methods li label { font-weight: 700; }
/* One payment method (Stripe): its radio button and "Payment options" title only repeat the heading above. */
.ek-checkout #payment ul.payment_methods li.wc_payment_method:only-child > input.input-radio,
.ek-checkout #payment ul.payment_methods li.wc_payment_method:only-child > label { display: none; }
.ek-checkout #payment div.payment_box { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ek-paper); }
.ek-checkout #payment div.payment_box p { font-size: 0.85rem; line-height: 1.45; }
.ek-checkout #payment div.payment_box::before { content: none; }
.ek-checkout #payment .woocommerce-info,
.ek-checkout #payment .woocommerce-notice { margin: 0; padding: 0.9rem 1rem; border-radius: 1rem; border: 1.5px dashed color-mix(in srgb, var(--ek-accent) 55%, transparent); background: color-mix(in srgb, var(--ek-accent) 5%, transparent); color: var(--ek-paper); font-size: 0.875rem; }
.ek-checkout #payment .woocommerce-info::before { content: none; }
.ek-checkout #payment div.form-row.place-order { margin: 1.25rem -1.25rem -1.25rem; padding: 1.25rem; border-top: 1px solid var(--ek-line); }
.ek-checkout #payment #place_order { float: none; width: 100%; margin: 0; padding: 1rem; border: 0; border-radius: 999px; background: var(--ek-accent); color: var(--ek-ink); font-size: 1.125rem; line-height: 1.75rem; font-weight: 800; transition: opacity 0.2s ease; }
.ek-checkout #payment #place_order:hover { opacity: 0.9; }
.ek-co-legal, .ek-co-note { margin: 0.75rem 0 0; font-size: 0.75rem; line-height: 1rem; text-align: center; color: color-mix(in srgb, var(--ek-paper) 60%, transparent); }
.ek-co-legal span { color: color-mix(in srgb, var(--ek-paper) 80%, transparent); }
.ek-co-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ek-co-note { color: color-mix(in srgb, var(--ek-paper) 50%, transparent); }
.ek-checkout .blockUI.blockOverlay { border-radius: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
	.sp-screen img { animation: none; }
	.g-item button, .co-niche, .g-frame img { transition: none; }
}

/* ---------- Done-for-you setup add-on: compact row above the Pay button ---------- */
.ek-checkout #payment label.ek-addon { position: relative; display: grid; line-height: 1.4; font-weight: 400; grid-template-columns: auto auto minmax(0, 1fr); gap: 0.75rem; align-items: start; margin: 0 0 1rem; padding: 0.9rem 1rem; border: 1.5px solid var(--ek-line); border-radius: 1rem; background: var(--ek-card); cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease; }
.ek-checkout #payment label.ek-addon:hover { border-color: color-mix(in srgb, var(--ek-accent) 55%, var(--ek-line)); }
.ek-checkout #payment label.ek-addon.is-on { border-color: var(--ek-accent); background: color-mix(in srgb, var(--ek-accent) 6%, var(--ek-card)); box-shadow: 0 10px 24px -18px color-mix(in srgb, var(--ek-accent) 70%, transparent); }
.ek-checkout #payment label.ek-addon.is-busy { opacity: 0.75; pointer-events: none; }
.ek-addon input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ek-checkout #payment .ek-addon-box { display: block; width: 1.3rem; height: 1.3rem; margin-top: 0.55rem; border-radius: 0.4rem; border: 2px solid var(--ek-line); background: var(--ek-card); box-sizing: border-box; position: relative; transition: background-color 0.15s ease, border-color 0.15s ease; }
.ek-checkout #payment .ek-addon input:checked + .ek-addon-box { background: var(--ek-accent); border-color: var(--ek-accent); }
.ek-checkout #payment .ek-addon input:checked + .ek-addon-box::after { content: ""; position: absolute; left: 0.36rem; top: 0.12rem; width: 0.3rem; height: 0.62rem; border: solid var(--ek-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ek-checkout #payment .ek-addon input:focus-visible + .ek-addon-box { outline: 2px solid var(--ek-accent); outline-offset: 3px; }
.ek-checkout #payment .ek-addon-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 0.75rem; background: color-mix(in srgb, var(--ek-accent) 12%, transparent); }
.ek-addon-icon svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: var(--ek-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ek-checkout #payment .ek-addon-body { display: grid; gap: 0.2rem; min-width: 0; }
.ek-addon-head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.ek-addon-head b { font-size: 0.95rem; font-weight: 800; color: var(--ek-paper); }
.ek-addon-price { flex: none; font-weight: 800; color: var(--ek-accent); font-variant-numeric: tabular-nums; }
.ek-addon-text { font-size: 0.82rem; line-height: 1.4; color: color-mix(in srgb, var(--ek-paper) 70%, transparent); }
.ek-addon-badge { justify-self: start; white-space: nowrap; margin-top: 0.3rem; padding: 0.1rem 0.55rem; border-radius: 999px; background: color-mix(in srgb, var(--ek-accent) 12%, transparent); color: var(--ek-accent); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.co-order-addon { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 0 0; font-size: 0.9rem; font-weight: 700; color: var(--ek-paper); }
.co-order-addon[hidden] { display: none; }
.co-order-addon span:last-child { color: var(--ek-accent); font-variant-numeric: tabular-nums; }
/* Narrow order card (phones): the icon is decoration, so it gives its room to the text. */
@media (max-width: 480px) {
	.ek-checkout #payment label.ek-addon { grid-template-columns: auto minmax(0, 1fr); gap: 0.7rem; }
	.ek-checkout #payment .ek-addon-icon { display: none; }
	.ek-addon-badge { font-size: 0.65rem; }
}
@media (prefers-reduced-motion: reduce) { .ek-checkout #payment label.ek-addon, .ek-checkout #payment .ek-addon-box { transition: none; } }
