/* Checkout v2 — inc/checkout-v2.php, assets/js/checkout-v2*.js */

:root {
	--co-red: #d92b20;
	--co-red-dark: #b8221a;
	--co-red-soft: #fdf1f0;
	--co-ink: #141414;
	--co-text: #2b2b2b;
	--co-muted: #6b6b6b;
	--co-line: #e6e3df;
	--co-bg: #f3f2f0;
	--co-card: #ffffff;
	--co-green: #16803c;
	--co-green-soft: #e8f5ec;
	--co-radius: 18px;
	--co-radius-sm: 12px;
}

/* ------------------------------------------------------------------ page */
body.dtf-co-body {
	margin: 0;
	background: var(--co-bg);
	color: var(--co-text);
	font-size: 16px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
}
body.dtf-co-body--auth { background: #fff; }
.dtf-co-body *, .dtf-co-body *::before, .dtf-co-body *::after, .dtf-co-auth *, .dtf-co-auth *::before, .dtf-co-auth *::after { box-sizing: border-box; }
.dtf-co-auth { color: var(--co-text); line-height: 1.45; font-size: 16px; text-align: left; }
.dtf-co-body svg, .dtf-co-auth svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.dtf-co-body .woocommerce { all: unset; display: block; }

/* header */
.dtf-co-head { background: #fff; border-bottom: 1px solid var(--co-line); }
.dtf-co-head__in {
	max-width: 1240px; margin: 0 auto; padding: 14px 24px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.dtf-co-head__logo img { height: 46px; width: auto; display: block; }
.dtf-co-head__secure { display: inline-flex; align-items: center; gap: 7px; color: var(--co-green); font-weight: 700; font-size: 15px; white-space: nowrap; }

.dtf-co-steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 10px; }
.dtf-co-steps__line { width: 36px; height: 2px; background: var(--co-line); border-radius: 2px; }
.dtf-co-steps__item { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 7px; border-radius: 999px; color: #8a8a8a; font-weight: 700; }
.dtf-co-steps__num {
	width: 30px; height: 30px; border-radius: 50%; background: #ebe9e6; color: #8a8a8a;
	display: inline-flex; align-items: center; justify-content: center; font-size: 13px;
}
.dtf-co-steps__num svg { display: none; font-size: 16px; stroke-width: 3; }
/* current */
.dtf-co-steps[data-step="1"] [data-co-step="1"],
.dtf-co-steps[data-step="2"] [data-co-step="2"],
.dtf-co-steps[data-step="3"] [data-co-step="3"] { background: var(--co-red-soft); color: var(--co-ink); }
.dtf-co-steps[data-step="1"] [data-co-step="1"] .dtf-co-steps__num,
.dtf-co-steps[data-step="2"] [data-co-step="2"] .dtf-co-steps__num,
.dtf-co-steps[data-step="3"] [data-co-step="3"] .dtf-co-steps__num { background: var(--co-red); color: #fff; }
/* done */
.dtf-co-steps[data-step="2"] [data-co-step="1"],
.dtf-co-steps[data-step="3"] [data-co-step="1"],
.dtf-co-steps[data-step="3"] [data-co-step="2"] { color: var(--co-ink); }
.dtf-co-steps[data-step="2"] [data-co-step="1"] .dtf-co-steps__num,
.dtf-co-steps[data-step="3"] [data-co-step="1"] .dtf-co-steps__num,
.dtf-co-steps[data-step="3"] [data-co-step="2"] .dtf-co-steps__num { background: var(--co-ink); color: #fff; }
.dtf-co-steps[data-step="2"] [data-co-step="1"] .dtf-co-steps__num span,
.dtf-co-steps[data-step="3"] [data-co-step="1"] .dtf-co-steps__num span,
.dtf-co-steps[data-step="3"] [data-co-step="2"] .dtf-co-steps__num span { display: none; }
.dtf-co-steps[data-step="2"] [data-co-step="1"] .dtf-co-steps__num svg,
.dtf-co-steps[data-step="3"] [data-co-step="1"] .dtf-co-steps__num svg,
.dtf-co-steps[data-step="3"] [data-co-step="2"] .dtf-co-steps__num svg { display: block; }
.dtf-co-steps[data-step="2"] .dtf-co-steps__line:nth-child(2),
.dtf-co-steps[data-step="3"] .dtf-co-steps__line { background: var(--co-ink); }

/* layout */
.dtf-co-main { max-width: 1240px; margin: 0 auto; padding: 40px 24px 80px; }
.dtf-co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; align-items: start; }
.dtf-co-col { min-width: 0; }

.dtf-co-h1 { font-size: 42px; line-height: 1.08; font-weight: 900; letter-spacing: -0.02em; color: var(--co-ink); margin: 0 0 24px; }
.dtf-co-h2 { font-size: 22px; line-height: 1.2; font-weight: 800; color: var(--co-ink); margin: 0; }
.dtf-co-sub { margin: 6px 0 22px; color: var(--co-muted); font-size: 17px; }
.dtf-co-muted { color: var(--co-muted); }
.dtf-co-muted--small { font-size: 13.5px; margin: 10px 0 0; }
.dtf-co-center { text-align: center; }

.dtf-co-card { background: var(--co-card); border-radius: var(--co-radius); padding: 30px 32px; margin: 0 0 22px; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.dtf-co-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 18px; }

.dtf-co-error {
	background: #fff; border: 2px solid var(--co-red); color: var(--co-red-dark);
	border-radius: var(--co-radius-sm); padding: 12px 16px; margin: 0 0 20px; font-weight: 600;
}
.dtf-co-error[hidden] { display: none; }

/* buttons + links */
.dtf-co-btn {
	appearance: none; border: 0; cursor: pointer; text-decoration: none;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	background: var(--co-red); color: #fff !important; font-weight: 800; font-size: 17px;
	border-radius: 14px; padding: 16px 26px; width: 100%; line-height: 1.2;
	transition: background .15s, transform .05s;
}
.dtf-co-btn:hover { background: var(--co-red-dark); }
.dtf-co-btn:active { transform: translateY(1px); }
.dtf-co-btn:disabled { opacity: .65; cursor: progress; }
.dtf-co-btn svg { font-size: 20px; }
.dtf-co-btn--big { padding: 21px 26px; font-size: 19px; border-radius: 16px; }
.dtf-co-btn--dark { background: var(--co-ink); width: auto; padding: 14px 22px; }
.dtf-co-btn--dark:hover { background: #000; }
.dtf-co-btn--ghost { background: #efedea; color: var(--co-ink) !important; }
.dtf-co-btn--ghost:hover { background: #e5e2de; }
.dtf-co-link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--co-red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; font-size: 15px; }
.dtf-co-link:hover { color: var(--co-red-dark); }

/* fields */
.dtf-co-field { display: block; margin: 0 0 16px; }
.dtf-co-field > span { display: block; font-weight: 700; font-size: 15px; color: var(--co-ink); margin: 0 0 7px; }
.dtf-co-field small { display: block; color: var(--co-muted); font-size: 13px; margin-top: 5px; }
.dtf-co-field input, .dtf-co-field select, .dtf-co-field textarea, .dtf-co-coupon input {
	width: 100%; font: inherit; font-size: 16px; color: var(--co-ink);
	background: #fff; border: 1.5px solid #dcd9d5; border-radius: 12px;
	padding: 14px 16px; min-height: 52px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.dtf-co-field textarea { min-height: 110px; resize: vertical; }
.dtf-co-field input:focus, .dtf-co-field select:focus, .dtf-co-field textarea:focus, .dtf-co-coupon input:focus {
	border-color: var(--co-ink); box-shadow: 0 0 0 3px rgba(20,20,20,.08);
}
.dtf-co-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.dtf-co-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 16px; color: var(--co-ink); margin: 14px 0 0; }
.dtf-co-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--co-red); flex: 0 0 auto; }
.dtf-co-check--small { font-size: 14px; }
.dtf-co-check--small small { display: block; color: var(--co-muted); }
.dtf-co-check.is-bad span { color: var(--co-red); }
.dtf-co-form { margin-top: 6px; }
.dtf-co-form[hidden] { display: none; }

/* option cards (delivery methods + gateways) */
.dtf-co-options { display: flex; flex-direction: column; gap: 14px; }
.dtf-co-option {
	display: flex; align-items: center; gap: 18px; cursor: pointer;
	padding: 20px 24px; border-radius: 16px; background: #f6f5f3; border: 2px solid transparent;
	transition: background .15s, border-color .15s;
}
.dtf-co-option:hover { background: #f1efec; }
.dtf-co-option.is-on { background: var(--co-red-soft); border-color: var(--co-red); }
.dtf-co-option input { position: absolute; opacity: 0; pointer-events: none; }
.dtf-co-option::before {
	content: ""; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #c9c6c2; background: #fff; flex: 0 0 auto;
}
.dtf-co-option.is-on::before { border-color: var(--co-red); background: radial-gradient(circle, var(--co-red) 0 6.5px, #fff 7.5px); }
.dtf-co-option__icon { width: 48px; height: 48px; border-radius: 12px; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; color: var(--co-ink); border: 1px solid var(--co-line); flex: 0 0 auto; }
.dtf-co-option__txt { flex: 1; min-width: 0; }
.dtf-co-option__txt b { display: block; font-size: 18px; color: var(--co-ink); }
.dtf-co-option__txt small { display: block; font-size: 15px; color: var(--co-muted); }
.dtf-co-option__price { font-weight: 800; font-size: 18px; color: var(--co-ink); white-space: nowrap; }

/* addresses */
.dtf-co-addrs { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.dtf-co-addrs[hidden] { display: none; }
.dtf-co-addr {
	display: flex; gap: 18px; align-items: flex-start; cursor: pointer;
	padding: 20px 24px; border: 2px solid var(--co-line); border-radius: 16px; background: #fff;
}
.dtf-co-addr.is-on { border-color: var(--co-ink); }
.dtf-co-addr input { position: absolute; opacity: 0; pointer-events: none; }
.dtf-co-addr__pin { width: 44px; height: 44px; border-radius: 50%; background: #ebe9e6; color: var(--co-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex: 0 0 auto; }
.dtf-co-addr.is-on .dtf-co-addr__pin { background: var(--co-ink); color: #fff; }
.dtf-co-addr__txt { display: flex; flex-direction: column; gap: 3px; font-size: 16px; color: var(--co-text); }
.dtf-co-addr__txt b { font-size: 18px; color: var(--co-ink); }
.dtf-co-add {
	display: block; width: 100%; padding: 18px; border-radius: 16px; border: 2px dashed #d3d0cb;
	background: none; cursor: pointer; font: inherit; font-weight: 700; font-size: 16px; color: var(--co-ink);
}
.dtf-co-add:hover { border-color: var(--co-ink); }
.dtf-co-add[hidden], [data-co-addr-edit][hidden], [data-co-same-wrap][hidden] { display: none; }

/* VAT */
.dtf-co-field > span.dtf-co-vat { display: flex; align-items: stretch; margin: 0; font-weight: 400; font-size: 16px; }
.dtf-co-vat__prefix { display: inline-flex; align-items: center; padding: 0 16px; border: 1.5px solid #dcd9d5; border-right: 0; border-radius: 12px 0 0 12px; background: #f6f5f3; font-weight: 800; font-size: 16px; color: var(--co-ink); flex: 0 0 auto; }
.dtf-co-vat input { flex: 1; min-width: 0; }
.dtf-co-vat__prefix[hidden] { display: none; }
.dtf-co-vat__prefix:not([hidden]) + input { border-radius: 0 12px 12px 0; }
.dtf-co-vat__status { font-size: 13.5px !important; }
.dtf-co-vat__status.is-ok { color: var(--co-green) !important; }
.dtf-co-vat__status.is-warn { color: var(--co-red) !important; }
.dtf-co-vat__status[hidden] { display: none !important; }
.dtf-co-badge { display: inline-flex; align-items: center; gap: 7px; background: var(--co-green-soft); color: var(--co-green); font-weight: 800; font-size: 14px; padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.dtf-co-badge[hidden] { display: none; }

/* turnaround */
.dtf-co-pills { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.dtf-co-pill { cursor: pointer; }
.dtf-co-pill input { position: absolute; opacity: 0; pointer-events: none; }
.dtf-co-pill > span { display: block; padding: 16px 24px; border-radius: 14px; background: #f6f5f3; border: 2px solid transparent; min-width: 200px; }
.dtf-co-pill.is-on > span { background: var(--co-red-soft); border-color: var(--co-red); }
.dtf-co-pill b { display: block; font-size: 17px; color: var(--co-ink); }
.dtf-co-pill small { display: block; color: var(--co-muted); font-size: 14.5px; }
.dtf-co-field--date { max-width: 280px; margin-top: 16px; }
.dtf-co-field--date[hidden] { display: none; }

/* ------------------------------------------------------------- sidebar */
.dtf-co-side { position: sticky; top: 24px; }
.dtf-co-side__bar { display: none; }
.dtf-co-sum { padding: 30px 28px; }
.dtf-co-sum__title { font-size: 23px; font-weight: 800; color: var(--co-ink); margin: 0 0 18px; }
.dtf-co-files { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.dtf-co-files li { display: flex; gap: 16px; align-items: center; }
.dtf-co-files__thumb {
	width: 76px; height: 76px; border-radius: 12px; flex: 0 0 auto; overflow: hidden;
	background: #fff repeating-conic-gradient(#ececec 0 25%, #fff 0 50%) 0 0/14px 14px; border: 1px solid var(--co-line);
	display: inline-flex; align-items: center; justify-content: center;
}
.dtf-co-files__thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dtf-co-files__info { display: flex; flex-direction: column; min-width: 0; }
.dtf-co-files__info b { font-size: 17px; color: var(--co-ink); overflow-wrap: anywhere; }
.dtf-co-files__info small { color: var(--co-muted); font-size: 15px; }
.dtf-co-files--small .dtf-co-files__thumb { width: 64px; height: 64px; }
.dtf-co-files--small { border-bottom: 1px solid var(--co-line); padding-bottom: 18px; max-height: 300px; overflow: auto; }

.dtf-co-rows { margin: 0 0 16px; }
.dtf-co-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 17px; }
.dtf-co-rows > div[hidden] { display: none; }
.dtf-co-rows dt { color: var(--co-muted); }
.dtf-co-rows dd { margin: 0; color: var(--co-ink); }
.dtf-co-total { display: flex; justify-content: space-between; align-items: center; background: #f6f5f3; border-radius: 14px; padding: 20px 22px; margin: 0 0 20px; }
.dtf-co-total span { font-weight: 800; font-size: 19px; color: var(--co-ink); }
.dtf-co-total b { font-weight: 900; font-size: 32px; color: var(--co-ink); letter-spacing: -0.02em; }

.dtf-co-coupon__row { display: flex; gap: 10px; }
.dtf-co-coupon__row input { min-height: 56px; }
.dtf-co-coupon__msg { margin: 8px 0 0; font-size: 14px; color: var(--co-green); }
.dtf-co-coupon__msg.is-bad { color: var(--co-red); }
.dtf-co-coupon__msg[hidden] { display: none; }
.dtf-co-coupon__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.dtf-co-coupon__chips:empty { display: none; }
.dtf-co-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--co-green-soft); color: var(--co-green); font-weight: 800; font-size: 13px; padding: 6px 6px 6px 12px; border-radius: 999px; }
.dtf-co-chip button { border: 0; background: rgba(0,0,0,.06); color: inherit; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 15px; line-height: 1; }
.dtf-co-wallet { margin-top: 12px; }
.dtf-co-wallet[hidden] { display: none; }
.dtf-co-wallet__title { font-weight: 800; font-size: 14px; margin: 0 0 6px; color: var(--co-ink); }
.dtf-co-wallet__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; border: 1px dashed #d3d0cb; border-radius: 10px; margin-bottom: 6px; font-size: 14px; }
.dtf-co-wallet__row small { display: block; color: var(--co-muted); }

.dtf-co-goal { margin-top: 20px; background: var(--co-red-soft); border-radius: 14px; padding: 18px 20px; }
.dtf-co-goal[hidden] { display: none; }
.dtf-co-goal__head { display: flex; justify-content: space-between; gap: 10px; font-size: 15.5px; }
.dtf-co-goal__head b { color: var(--co-ink); }
.dtf-co-goal__head span { color: var(--co-red); font-weight: 800; white-space: nowrap; }
.dtf-co-goal__bar { height: 6px; background: #f4d3d0; border-radius: 6px; margin: 12px 0 10px; overflow: hidden; }
.dtf-co-goal__bar span { display: block; height: 100%; background: var(--co-red); border-radius: 6px; }
.dtf-co-goal p { margin: 0; font-size: 14px; color: var(--co-muted); }

.dtf-co-trust ul { list-style: none; margin: 0; padding: 0 0 16px; border-bottom: 1px solid var(--co-line); }
.dtf-co-trust li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--co-ink); padding: 5px 0; font-size: 16px; }
.dtf-co-trust li svg { color: var(--co-green); font-size: 18px; stroke-width: 2.6; }
.dtf-co-trust p { margin: 14px 0 0; color: var(--co-muted); font-size: 15px; }
.dtf-co-trust a { color: var(--co-red); }

/* ---------------------------------------------------- payment / review */
.dtf-co-payform { position: relative; }
.dtf-co-panel.is-off {
	/* Off screen, not display:none — a gateway's card field (an iframe)
	   keeps what was typed and can still be submitted from Review. */
	position: absolute; left: -10000px; top: 0; width: 100%; height: 0; overflow: hidden; visibility: hidden;
}
.dtf-co-gateways ul.wc_payment_methods { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.dtf-co-gateways li.wc_payment_method {
	position: relative; background: #f6f5f3; border: 2px solid transparent; border-radius: 16px; padding: 0; margin: 0;
	transition: background .15s, border-color .15s;
}
.dtf-co-gateways li.wc_payment_method.is-on { background: var(--co-red-soft); border-color: var(--co-red); }
.dtf-co-gateways li.wc_payment_method > input.input-radio {
	position: absolute; left: 24px; top: 28px; width: 24px; height: 24px; margin: 0; accent-color: var(--co-red); cursor: pointer;
}
.dtf-co-gateways li.wc_payment_method > label {
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap; cursor: pointer;
	padding: 24px 24px 24px 66px; font-size: 18px; font-weight: 800; color: var(--co-ink); margin: 0;
}
.dtf-co-gateways li.wc_payment_method > label img { max-height: 26px; width: auto; margin: 0 0 0 auto; }
.dtf-co-gateways .payment_box { margin: 0 20px 20px; padding: 18px; background: #fff; border-radius: 12px; color: var(--co-text); font-size: 15px; }
.dtf-co-gateways .payment_box::before { display: none; }
.dtf-co-gateways .payment_box p:last-child { margin-bottom: 0; }

.dtf-co-invoice { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #f6f5f3; border-radius: 14px; padding: 20px 24px; }
.dtf-co-invoice b { display: block; font-size: 18px; color: var(--co-ink); text-transform: none; }
.dtf-co-invoice span { color: var(--co-text); }

.dtf-co-review { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 28px; }
.dtf-co-review__box { background: #f6f5f3; border-radius: 14px; padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.dtf-co-review__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.dtf-co-review__head > span { letter-spacing: .12em; text-transform: uppercase; color: var(--co-muted); font-weight: 800; font-size: 13px; }
.dtf-co-review__box b { font-size: 18px; color: var(--co-ink); }

/* WooCommerce notices on these pages */
.dtf-co-main .woocommerce-error, .dtf-co-main .woocommerce-message, .dtf-co-main .woocommerce-info {
	list-style: none; background: #fff; border: 2px solid var(--co-red); border-radius: var(--co-radius-sm);
	padding: 14px 18px; margin: 0 0 20px; color: var(--co-red-dark); font-weight: 600;
}
.dtf-co-main .woocommerce-message, .dtf-co-main .woocommerce-info { border-color: var(--co-line); color: var(--co-text); }
.dtf-co-main .woocommerce-error::before, .dtf-co-main .woocommerce-message::before, .dtf-co-main .woocommerce-info::before { display: none; }

/* --------------------------------------------------------- confirmation */
.dtf-co-done { max-width: 720px; margin: 40px auto 0; }
.dtf-co-done__card { text-align: center; padding: 56px 56px 48px; }
.dtf-co-done__icon { width: 92px; height: 92px; border-radius: 50%; background: var(--co-green-soft); color: var(--co-green); display: inline-flex; align-items: center; justify-content: center; font-size: 40px; margin: 0 0 22px; }
.dtf-co-done__icon svg { stroke-width: 2.8; }
.dtf-co-done__icon.is-bad { background: var(--co-red-soft); color: var(--co-red); }
.dtf-co-done__text { font-size: 19px; color: var(--co-text); margin: 0 auto 30px; max-width: 560px; }
.dtf-co-done__text b { color: var(--co-ink); }
.dtf-co-track { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dtf-co-track li { display: flex; flex-direction: column; gap: 12px; color: var(--co-muted); font-size: 15px; }
.dtf-co-track li span { height: 5px; border-radius: 5px; background: #ebe9e6; }
.dtf-co-track li.is-done span { background: var(--co-red); }
.dtf-co-track li.is-current { color: var(--co-ink); font-weight: 800; }
.dtf-co-done__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dtf-co-done__extra { margin-top: 24px; }
.dtf-co-done__extra:empty { display: none; }
.dtf-co-done__extra > * { background: #fff; border-radius: var(--co-radius); padding: 24px 28px; }

/* ------------------------------------------------------------- screen 0 */
.dtf-co-auth { display: grid; grid-template-columns: minmax(0, 47%) minmax(0, 1fr); min-height: 100vh; background: #fff; }
.dtf-co-auth__side { background: #141414; color: #fff; padding: 56px 72px 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.dtf-co-auth__top { display: flex; justify-content: space-between; align-items: center; }
.dtf-co-auth__logo { background: #fff; border-radius: 14px; padding: 10px 14px; display: inline-flex; }
.dtf-co-auth__logo img { height: 52px; width: auto; display: block; }
.dtf-co-auth__back { white-space: nowrap; color: #fff !important; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.dtf-co-auth__back:hover { opacity: .8; }
.dtf-co-auth__badge { display: inline-block; background: var(--co-red); color: #fff; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; padding: 7px 16px; border-radius: 999px; }
.dtf-co-auth__title { font-size: 58px; line-height: 1.05; font-weight: 900; letter-spacing: -0.025em; margin: 26px 0 22px; color: #fff; max-width: 620px; }
.dtf-co-auth__lead { font-size: 20px; color: #d4d4d4; margin: 0 0 30px; max-width: 620px; }
.dtf-co-auth__points { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.dtf-co-auth__points li { display: flex; align-items: center; gap: 16px; font-weight: 800; font-size: 19px; }
.dtf-co-auth__tick { width: 40px; height: 40px; border-radius: 50%; background: #262626; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.dtf-co-auth__rating { display: inline-flex; align-items: center; gap: 14px; background: #1f1f1f; border-radius: 16px; padding: 18px 24px; color: #fff !important; text-decoration: none; }
.dtf-co-auth__rating b { font-size: 32px; font-weight: 900; }
.dtf-co-auth__stars { color: #f5b301; font-size: 22px; letter-spacing: 2px; }
.dtf-co-auth__rating span:last-child { color: #d4d4d4; }
.dtf-co-auth__cart { display: flex; align-items: center; gap: 16px; background: #1f1f1f; border-radius: 18px; padding: 16px 22px; }
.dtf-co-auth__cart[hidden] { display: none; }
.dtf-co-auth__cart-thumb { width: 60px; height: 60px; border-radius: 12px; background: #fff; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.dtf-co-auth__cart-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dtf-co-auth__cart-info { flex: 1; display: flex; flex-direction: column; }
.dtf-co-auth__cart-info b { font-size: 17px; }
.dtf-co-auth__cart-info small { color: #b5b5b5; font-size: 15px; }
.dtf-co-auth__cart-total { font-size: 24px; font-weight: 900; white-space: nowrap; }

.dtf-co-auth__main { display: flex; align-items: center; justify-content: center; padding: 48px 32px; }
.dtf-co-auth__box { width: 100%; max-width: 600px; }
.dtf-co-tabs, .dtf-co-authmodal .dtf-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #f1f0ee; border-radius: 16px; padding: 7px; margin: 0 0 34px; gap: 6px; }
.dtf-co-tabs__tab, .dtf-co-authmodal .dtf-tab {
	appearance: none; border: 0; background: none; cursor: pointer; font: inherit; font-weight: 800; font-size: 18px;
	color: #6b6b6b; padding: 16px 12px; border-radius: 12px; margin: 0;
}
.dtf-co-tabs__tab.is-active, .dtf-co-authmodal .dtf-tab.is-active { background: #fff; color: var(--co-ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.dtf-co-auth .dtf-co-h2, .dtf-co-authmodal .dtf-modal__title { font-size: 34px; font-weight: 900; letter-spacing: -0.02em; color: var(--co-ink); margin: 0; text-align: left; }
.dtf-co-authmodal .dtf-modal__sub { margin: 6px 0 22px; color: var(--co-muted); font-size: 17px; text-align: left; }
.dtf-co-auth__row { display: flex; justify-content: flex-end; margin: -2px 0 22px; }
.dtf-co-auth__pane[hidden] { display: none; }
.dtf-co-secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--co-muted); font-size: 15px; margin: 22px 0 0; }

/* the builder's sign-in modal, turned into screen 0 */
.dtf-co-authmodal { position: fixed !important; inset: 0 !important; z-index: 100000 !important; }
.dtf-co-authmodal .dtf-modal__overlay { display: none; }
.dtf-co-authmodal .dtf-modal__dialog.dtf-co-auth {
	position: fixed; inset: 0; width: auto; max-width: none; max-height: none; height: 100%; margin: 0; border-radius: 0; padding: 0;
	overflow: auto; transform: none; box-shadow: none;
}
.dtf-co-authmodal .dtf-modal__x { display: none; }
.dtf-co-authmodal .dtf-modal__field { display: block; margin: 0 0 16px; }
.dtf-co-authmodal .dtf-modal__field > span { display: block; font-weight: 700; font-size: 15px; color: var(--co-ink); margin: 0 0 7px; }
.dtf-co-authmodal .dtf-modal__field input { width: 100%; font: inherit; font-size: 16px; border: 1.5px solid #dcd9d5; border-radius: 12px; padding: 14px 16px; min-height: 52px; }
.dtf-co-authmodal .dtf-modal__field input:focus { border-color: var(--co-ink); outline: none; box-shadow: 0 0 0 3px rgba(20,20,20,.08); }
.dtf-co-authmodal .dtf-modal__submit {
	width: 100%; border: 0; cursor: pointer; background: var(--co-red); color: #fff; font-weight: 800; font-size: 18px;
	border-radius: 14px; padding: 19px 24px; margin-top: 6px;
}
.dtf-co-authmodal .dtf-modal__submit:hover { background: var(--co-red-dark); }
.dtf-co-authmodal .dtf-modal__error { border: 2px solid var(--co-red); color: var(--co-red-dark); border-radius: 12px; padding: 12px 16px; margin: 0 0 18px; background: #fff; }

/* going to checkout */
.dtf-co-going { position: fixed; inset: 0; z-index: 100001; background: rgba(255,255,255,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; font-weight: 800; font-size: 18px; color: #141414; }
.dtf-co-spinner { width: 42px; height: 42px; border-radius: 50%; border: 4px solid #eee; border-top-color: var(--co-red); animation: dtf-co-spin .8s linear infinite; }
@keyframes dtf-co-spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------- mobile */
@media (max-width: 1080px) {
	.dtf-co-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
	.dtf-co-auth__side { padding: 40px 40px 36px; }
	.dtf-co-auth__title { font-size: 46px; }
}
@media (max-width: 900px) {
	.dtf-co-head__in { flex-wrap: wrap; padding: 12px 16px; }
	.dtf-co-head__logo img { height: 38px; }
	.dtf-co-steps { order: 3; width: 100%; justify-content: space-between; gap: 4px; }
	.dtf-co-steps__line { flex: 1; width: auto; }
	.dtf-co-steps__item { padding: 4px 10px 4px 4px; gap: 6px; font-size: 14px; }
	.dtf-co-steps__num { width: 26px; height: 26px; }
	.dtf-co-head__secure { font-size: 13px; }

	.dtf-co-main { padding: 0 16px 60px; }
	.dtf-co-grid { display: flex; flex-direction: column-reverse; gap: 0; }
	.dtf-co-col { padding-top: 22px; width: 100%; }
	.dtf-co-h1 { font-size: 30px; margin-bottom: 18px; }
	.dtf-co-card { padding: 22px 18px; border-radius: 16px; margin-bottom: 16px; }
	.dtf-co-two { grid-template-columns: 1fr; }

	/* the summary becomes a bar that opens */
	.dtf-co-side { position: static; width: auto; margin: 0 -16px; }
	.dtf-co-side__bar {
		display: flex; width: 100%; justify-content: space-between; align-items: center;
		background: #fff; border: 0; border-bottom: 1px solid var(--co-line); padding: 16px; font: inherit; font-weight: 800; color: var(--co-ink); cursor: pointer;
	}
	.dtf-co-side__bar span { display: inline-flex; align-items: center; gap: 6px; }
	.dtf-co-side__bar b { font-size: 19px; }
	.dtf-co-side.is-open .dtf-co-side__bar svg { transform: rotate(180deg); }
	.dtf-co-side__body { display: none; padding: 16px 16px 0; background: var(--co-bg); }
	.dtf-co-side.is-open .dtf-co-side__body { display: block; }

	.dtf-co-option { padding: 16px; gap: 12px; }
	.dtf-co-option__icon { display: none; }
	.dtf-co-option__txt b, .dtf-co-option__price { font-size: 16px; }
	.dtf-co-addr { padding: 16px; gap: 12px; }
	.dtf-co-pill > span { min-width: 0; }
	.dtf-co-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.dtf-co-review { grid-template-columns: 1fr; padding: 18px; }
	.dtf-co-invoice { flex-direction: column; align-items: flex-start; }
	.dtf-co-gateways li.wc_payment_method > label { padding: 20px 18px 20px 58px; font-size: 16px; }
	.dtf-co-gateways li.wc_payment_method > input.input-radio { left: 20px; top: 22px; }
	.dtf-co-gateways .payment_box { margin: 0 10px 12px; padding: 12px; }

	.dtf-co-done { margin-top: 20px; }
	.dtf-co-done__card { padding: 36px 20px 28px; }
	.dtf-co-done__actions { grid-template-columns: 1fr; }
	.dtf-co-track { font-size: 13px; }

	.dtf-co-auth { grid-template-columns: 1fr; }
	.dtf-co-auth__side { padding: 22px 18px; gap: 18px; }
	.dtf-co-auth__pitch .dtf-co-auth__lead, .dtf-co-auth__points, .dtf-co-auth__rating { display: none; }
	.dtf-co-auth__title { font-size: 30px; margin: 16px 0 0; }
	.dtf-co-auth__logo img { height: 36px; }
	.dtf-co-auth__main { padding: 28px 18px 40px; align-items: flex-start; }
	.dtf-co-tabs, .dtf-co-authmodal .dtf-tabs { margin-bottom: 24px; }
	.dtf-co-tabs__tab, .dtf-co-authmodal .dtf-tab { font-size: 15px; padding: 13px 6px; }
	.dtf-co-auth .dtf-co-h2, .dtf-co-authmodal .dtf-modal__title { font-size: 27px; }
}

/* screen 0 over the home / landing page: nothing of the site around it */
body.dtf-co-auth-open { overflow: hidden !important; }
body.dtf-co-auth-open #masthead,
body.dtf-co-auth-open .dtf-site-header,
body.dtf-co-auth-open .dtf-promo-bar,
body.dtf-co-auth-open .dtf-marquee { visibility: hidden !important; }
