/* Artiva checkout — compact storefront surfaces, not a separate Straume skin. */

body.ic-theme-shell,
body.ic-theme-shell.woocommerce-checkout,
body.ag-checkout-page,
body.ic-theme-shell .ag-main.ag-checkout,
body.ic-theme-shell .ag-checkout-section {
	background: #fff;
	color: #0f172a;
}

body.ic-theme-shell .ag-checkout-section {
	padding-top: 20px;
	padding-bottom: 48px;
}

body.ic-theme-shell .ag-shop-crumbs {
	margin-bottom: 16px;
}

body.ic-theme-shell .ag-checkout-head {
	margin-bottom: 20px;
}

body.ic-theme-shell .ag-checkout-title {
	margin: 0;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 300;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: #0f172a;
}

body.ic-theme-shell .ic-layout {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr) 340px;
}

body.ic-theme-shell .ic-left {
	gap: 12px;
}

body.ic-theme-shell .ic-card,
body.ic-theme-shell .ic-summary {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: none;
}

body.ic-theme-shell .ic-card-hd {
	padding: 14px 16px 6px;
	gap: 10px;
}

body.ic-theme-shell .ic-step {
	width: 22px;
	height: 22px;
	background: #0f172a;
	color: #fff;
	font-size: 12px;
	font-weight: 650;
}

body.ic-theme-shell .ic-card-title,
body.ic-theme-shell .ic-summary-title {
	font-size: 16px;
	font-weight: 650;
	letter-spacing: 0;
	color: #0f172a;
}

body.ic-theme-shell .ic-card-desc {
	font-size: 13px;
	color: #64748b;
	opacity: 1;
}

body.ic-theme-shell .ic-card-bd {
	padding: 6px 16px 14px;
}

body.ic-theme-shell .ic-card .form-row {
	margin-bottom: 10px;
}

body.ic-theme-shell .ic-form .input-text,
body.ic-theme-shell .ic-form select,
body.ic-theme-shell .ic-form textarea,
body.ic-theme-shell .ic-card .input-text,
body.ic-theme-shell .ic-card select,
body.ic-theme-shell .ic-card textarea,
body.ic-theme-shell .ic-card-bd input[type="text"],
body.ic-theme-shell .ic-card-bd input[type="email"],
body.ic-theme-shell .ic-card-bd input[type="tel"],
body.ic-theme-shell .ic-card-bd input[type="number"],
body.ic-theme-shell .ic-card-bd select,
body.ic-theme-shell .ic-card-bd textarea {
	background-color: #f8fafc !important;
	border: 1px solid #dbe2ea !important;
	border-radius: 5px !important;
	min-height: 42px;
	padding: 8px 12px !important;
	font-size: 14px !important;
	color: #0f172a !important;
	box-shadow: none !important;
}

body.ic-theme-shell .ic-form textarea,
body.ic-theme-shell .ic-card textarea {
	min-height: 72px;
}

body.ic-theme-shell .ic-form .input-text:focus,
body.ic-theme-shell .ic-form select:focus,
body.ic-theme-shell .ic-form textarea:focus,
body.ic-theme-shell .ic-card .input-text:focus,
body.ic-theme-shell .ic-card select:focus,
body.ic-theme-shell .ic-card textarea:focus,
body.ic-theme-shell .ic-card-bd input[type="text"]:focus,
body.ic-theme-shell .ic-card-bd input[type="email"]:focus,
body.ic-theme-shell .ic-card-bd input[type="tel"]:focus,
body.ic-theme-shell .ic-card-bd select:focus,
body.ic-theme-shell .ic-card-bd textarea:focus {
	border-color: var(--rd-site-accent, #2563eb) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--rd-site-accent, #2563eb) 18%, transparent) !important;
}

body.ic-theme-shell .ic-card .form-row label,
body.ic-theme-shell .ic-card-bd label {
	font-size: 13px;
	font-weight: 500;
	color: #334155;
}

body.ic-theme-shell .rnt-person-type {
	--rnt-pt-accent: #0f172a;
}

body.ic-theme-shell .rnt-person-type__choices {
	gap: 8px;
}

body.ic-theme-shell .rnt-person-type__choice {
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	color: #0f172a;
	font-size: 14px;
	font-weight: 650;
}

body.ic-theme-shell .rnt-person-type__choice:hover {
	border-color: #cbd5e1;
	background: #f8fafc;
}

body.ic-theme-shell .rnt-person-type__choice.is-active {
	border-color: #0f172a;
	background: #0f172a;
	color: #fff;
}

body.ic-theme-shell .ic-ship-option,
body.ic-theme-shell .ic-payment-list .wc_payment_method,
body.ic-theme-shell .ic-payment-list .payment_method {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	min-height: 46px;
}

body.ic-theme-shell .ic-payment-list .wc_payment_method,
body.ic-theme-shell .ic-payment-list .payment_method {
	padding: 10px 12px;
}

body.ic-theme-shell .ic-ship-option.ic-ship-selected,
body.ic-theme-shell .ic-ship-option:has(input:checked) {
	border-color: #0f172a;
	box-shadow: none;
}

body.ic-theme-shell .ic-right {
	top: calc(var(--ag-header-sticky-top, 0px) + 80px);
}

body.ic-theme-shell .ic-summary {
	padding: 16px;
}

body.ic-theme-shell .ic-summary-hd {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

body.ic-theme-shell .ic-summary-title {
	margin: 0;
}

body.ic-theme-shell .ic-summary-edit {
	font-size: 13px;
	color: #64748b;
}

body.ic-theme-shell .ic-summary-edit:hover {
	color: #0f172a;
}

body.ic-theme-shell .ic-items {
	gap: 10px;
	margin-bottom: 12px;
}

body.ic-theme-shell .ic-item-name {
	font-size: 14px;
	font-weight: 650;
	color: #0f172a;
}

body.ic-theme-shell .ic-item-price,
body.ic-theme-shell .ic-totals {
	font-size: 14px;
	color: #0f172a;
}

body.ic-theme-shell .ic-totals-row {
	color: #64748b;
}

body.ic-theme-shell .ic-totals-row span:last-child {
	color: #0f172a;
}

body.ic-theme-shell .ic-btn-order,
body.ic-theme-shell #place_order {
	width: 100%;
	min-height: 48px;
	border: 0;
	border-radius: 8px;
	background: #eab308;
	color: #0f172a;
	font-size: 15px;
	font-weight: 650;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

body.ic-theme-shell .ic-btn-order:hover,
body.ic-theme-shell #place_order:hover {
	background: #d4a106;
	color: #0f172a;
}

body.ic-theme-shell .ic-continue {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	margin-top: 10px;
	color: #334155;
	font-size: 13px;
	font-weight: 600;
}

body.ic-theme-shell .ic-continue:hover {
	color: #0f172a;
}

body.ic-theme-shell .ic-privacy-consent {
	margin-bottom: 10px;
	font-size: 13px;
	color: #64748b;
}

body.ic-theme-shell .ic-privacy-consent-text a {
	color: #0f172a;
	text-decoration: underline;
}

body.ic-theme-shell .ic-payment-badges {
	display: none;
}

body.ic-theme-shell .ic-trust {
	margin-top: 10px;
	font-size: 12px;
	color: #94a3b8;
}

body.ic-theme-shell .ag-company-lookup {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	clear: both;
}

body.ic-theme-shell .ag-company-lookup-btn {
	padding: 0;
	border: 0;
	background: none;
	color: #0f172a;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

body.ic-theme-shell .ag-company-lookup-btn:hover {
	color: #334155;
}

body.ic-theme-shell .ag-company-lookup-btn:disabled {
	opacity: 0.6;
	cursor: wait;
}

body.ic-theme-shell .ag-company-lookup-tip {
	width: 18px;
	height: 18px;
	padding: 0;
	border: 1px solid #cbd5e1;
	border-radius: 50%;
	background: #fff;
	color: #64748b;
	font-size: 11px;
	font-weight: 700;
	line-height: 16px;
	cursor: pointer;
}

body.ic-theme-shell .ag-company-lookup-tip-text {
	flex: 1 1 100%;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #f8fafc;
	color: #64748b;
	font-size: 12px;
}

body.ic-theme-shell .ag-company-lookup-status {
	flex: 1 1 100%;
	margin: 0;
	font-size: 13px;
	color: #334155;
}

body.ic-theme-shell .ag-company-lookup-status.is-ok {
	color: #166534;
}

body.ic-theme-shell .ag-company-lookup-status.is-err {
	color: #b91c1c;
}

body.ic-theme-shell .ag-company-modal {
	position: fixed;
	inset: 0;
	z-index: 120;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(15, 23, 42, 0.45);
}

body.ic-theme-shell .ag-company-modal[hidden] {
	display: none !important;
}

body.ic-theme-shell .ag-company-modal-card {
	width: min(460px, 100%);
	padding: 22px 22px 18px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

body.ic-theme-shell .ag-company-modal-card h3 {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 300;
	color: #0f172a;
}

body.ic-theme-shell .ag-company-modal-body {
	font-size: 14px;
	color: #334155;
}

body.ic-theme-shell .ag-company-modal-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 18px 0;
	color: #64748b;
}

body.ic-theme-shell .ag-company-modal-spin {
	width: 28px;
	height: 28px;
	border: 2px solid #e2e8f0;
	border-top-color: #0f172a;
	border-radius: 50%;
	animation: ag-company-spin 0.7s linear infinite;
}

@keyframes ag-company-spin {
	to { transform: rotate(360deg); }
}

body.ic-theme-shell .ag-company-result {
	display: grid;
	gap: 8px;
	margin: 0 0 16px;
}

body.ic-theme-shell .ag-company-result dt {
	margin: 0;
	font-size: 12px;
	color: #94a3b8;
}

body.ic-theme-shell .ag-company-result dd {
	margin: 0 0 4px;
	font-weight: 650;
	color: #0f172a;
}

body.ic-theme-shell .ag-company-choice {
	display: block;
	width: 100%;
	margin: 0 0 8px;
	padding: 10px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	color: inherit;
	text-align: left;
	cursor: pointer;
}

body.ic-theme-shell .ag-company-choice:hover {
	border-color: #cbd5e1;
	background: #f8fafc;
}

body.ic-theme-shell .ag-company-choice strong {
	display: block;
	color: #0f172a;
}

body.ic-theme-shell .ag-company-choice span {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: #64748b;
}

body.ic-theme-shell .ag-company-modal-close {
	width: 100%;
	min-height: 42px;
	border: 0;
	border-radius: 8px;
	background: #0f172a;
	color: #fff;
	font-size: 14px;
	font-weight: 650;
	cursor: pointer;
}

@media (max-width: 960px) {
	body.ic-theme-shell .ic-layout {
		grid-template-columns: 1fr;
	}

	body.ic-theme-shell .ic-right {
		position: static;
	}
}

@media (max-width: 640px) {
	body.ic-theme-shell .ag-checkout-section {
		padding-top: 16px;
	}

	body.ic-theme-shell .ic-card-hd,
	body.ic-theme-shell .ic-card-bd {
		padding-left: 14px;
		padding-right: 14px;
	}

	body.ic-theme-shell .ic-card .form-row-first,
	body.ic-theme-shell .ic-card .form-row-last {
		width: 100%;
		float: none;
		margin-right: 0;
	}
}
