/* ============================================================================
   My Checkout — scoped stylesheet
   Direct port of the Shopify-style mockup. Every rule is scoped under
   `.mc-shell` so it cannot leak, and Google Fonts for Inter + Noto Sans
   Georgian are loaded via @import so we don't depend on the theme.
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+Georgian:wght@400;500;600;700&display=swap');

/* ---- Reset / token scope ---- */
.mc-shell,
.mc-shell *,
.mc-shell *::before,
.mc-shell *::after { box-sizing: border-box; }

html.mc-html, body.mc-body { margin: 0 !important; padding: 0 !important; }
body.mc-checkout-shell { margin: 0 !important; padding: 0 !important; background: #fff !important; }

.mc-shell {
	/* Mockup Room palette — dark text/CTAs, yellow accent for focus rings */
	--c-primary: #1a1a1a;
	--c-primary-hover: #000000;
	--c-text: #1a1a1a;
	--c-text-muted: #6d7175;
	--c-text-subtle: #8c9196;
	--c-border: #e5e2dd;
	--c-border-strong: #c9ccd0;
	--c-surface: #ffffff;
	--c-surface-alt: #f6f6f7;
	--c-surface-sidebar: #fafbfc;
	--c-focus: #1a1a1a;
	--c-accent: #F2EC19;
	--c-success: #16a34a;
	--radius-sm: 4px;
	--radius: 6px;
	--radius-lg: 10px;
	--shadow-focus: 0 0 0 2px #fff, 0 0 0 4px rgba(242, 236, 25, 0.4);

	font-family: 'Inter', 'Noto Sans Georgian', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: 'cv11', 'ss01';
	color: var(--c-text);
	line-height: 1.45;
	min-height: 100vh;
	background: #fff;
}

/* ─── Page layout ─────────────────────────────────────────────────────── */
.mc-shell .mc-checkout-page {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 100vh;
}
.mc-shell .mc-checkout-main-col { background: var(--c-surface); display: flex; justify-content: flex-end; }
.mc-shell .mc-checkout-side-col { background: var(--c-surface-sidebar); border-left: 1px solid var(--c-border); display: flex; justify-content: flex-start; }
.mc-shell .mc-checkout-main { width: 100%; max-width: 560px; padding: 32px 56px 80px 32px; }
.mc-shell .mc-checkout-side { width: 100%; max-width: 520px; padding: 32px 32px 80px 56px; position: sticky; top: 0; align-self: start; }

/* ─── Header ──────────────────────────────────────────────────────────── */
.mc-shell .mc-checkout-header { padding-bottom: 20px; }
.mc-shell .mc-checkout-logo { display: inline-block; margin-bottom: 18px; text-decoration: none; }
.mc-shell .mc-checkout-logo img,
.mc-shell .mc-checkout-logo .mc-logo-img { display: block; max-height: 32px; width: auto; }
.mc-shell .mc-logo-text { font-size: 20px; font-weight: 700; color: var(--c-text); }
.mc-shell .mc-breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; color: var(--c-text-muted); align-items: center; }
.mc-shell .mc-breadcrumb a { color: var(--c-primary); text-decoration: none; }
.mc-shell .mc-breadcrumb a:hover { text-decoration: underline; }
.mc-shell .mc-breadcrumb .sep { color: var(--c-text-subtle); }
.mc-shell .mc-breadcrumb .current { color: var(--c-text); font-weight: 500; }

/* ─── Sections ────────────────────────────────────────────────────────── */
.mc-shell .mc-section { padding: 24px 0; }
.mc-shell .mc-section + .mc-section { border-top: 1px solid var(--c-border); }
.mc-shell .mc-section-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 16px; gap: 12px; flex-wrap: wrap; }
.mc-shell .mc-section-title { font-size: 18px; font-weight: 600; margin: 0; letter-spacing: -0.01em; color: var(--c-text); }
.mc-shell .mc-section-meta { font-size: 13px; color: var(--c-text-muted); margin: 0; }
.mc-shell .mc-section-meta a { color: var(--c-primary); text-decoration: none; }
.mc-shell .mc-section-meta a:hover { text-decoration: underline; }

/* ─── Fields / floating labels ────────────────────────────────────────── */
.mc-shell .mc-field { position: relative; margin-bottom: 12px; }
.mc-shell .mc-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mc-shell .mc-input,
.mc-shell .mc-textarea {
	width: 100%;
	height: 52px;
	padding: 20px 12px 6px 12px;
	border: 1px solid var(--c-border-strong);
	border-radius: var(--radius);
	background: #fff;
	font: inherit;
	font-size: 14.5px;
	color: var(--c-text);
	line-height: 1.3;
	transition: border-color .15s ease, box-shadow .15s ease;
	-webkit-appearance: none;
	appearance: none;
}
.mc-shell .mc-textarea { height: auto; min-height: 80px; padding: 20px 12px 12px 12px; resize: vertical; font-family: inherit; }
.mc-shell .mc-input::placeholder { color: transparent; }
.mc-shell .mc-input:hover,
.mc-shell .mc-textarea:hover { border-color: #8a8f94; }
.mc-shell .mc-input:focus,
.mc-shell .mc-textarea:focus {
	outline: none;
	border-color: var(--c-focus);
	box-shadow: inset 0 0 0 1px var(--c-focus);
}
.mc-shell .mc-field-label {
	position: absolute;
	left: 13px;
	top: 16px;
	font-size: 14.5px;
	color: var(--c-text-muted);
	pointer-events: none;
	transition: transform .15s ease, font-size .15s ease, color .15s ease;
	transform-origin: 0 0;
	background: transparent;
	padding: 0 3px;
	max-width: calc(100% - 26px);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.mc-shell .mc-input:focus ~ .mc-field-label,
.mc-shell .mc-input:not(:placeholder-shown) ~ .mc-field-label,
.mc-shell .mc-textarea:focus ~ .mc-field-label,
.mc-shell .mc-textarea:not(:placeholder-shown) ~ .mc-field-label,
.mc-shell .mc-field.has-value .mc-field-label {
	transform: translateY(-10px) scale(0.78);
	color: var(--c-text-muted);
}

/* Real native select is hidden (custom cselect drives it) */
.mc-shell .mc-hidden-native {
	position: absolute !important;
	width: 1px !important; height: 1px !important;
	padding: 0 !important; margin: -1px !important; overflow: hidden !important;
	clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important;
}

/* ─── Checkbox ────────────────────────────────────────────────────────── */
.mc-shell .mc-checkbox { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; color: var(--c-text); padding: 6px 0; }
.mc-shell .mc-checkbox input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mc-shell .mc-checkbox-box {
	width: 18px; height: 18px;
	border: 1.5px solid var(--c-border-strong);
	border-radius: 3px;
	background: #fff;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .15s ease, border-color .15s ease;
	margin-top: 1px;
}
.mc-shell .mc-checkbox input:checked + .mc-checkbox-box { background: var(--c-primary); border-color: var(--c-primary); }
.mc-shell .mc-checkbox input:checked + .mc-checkbox-box::after {
	content: '';
	width: 10px; height: 6px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(-45deg) translate(1px, -1px);
}
.mc-shell .mc-checkbox input:focus-visible + .mc-checkbox-box { box-shadow: 0 0 0 3px rgba(201, 42, 74, 0.3); }

/* ─── Custom select (country/region) ──────────────────────────────────── */
.mc-shell .mc-cselect { position: relative; }
.mc-shell .mc-cselect-button {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 56px;
	padding: 8px 12px;
	border: 1px solid var(--c-border-strong);
	border-radius: var(--radius);
	background: #fff;
	font: inherit;
	color: var(--c-text);
	cursor: pointer;
	text-align: left;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.mc-shell .mc-cselect-button:hover { border-color: #8a8f94; }
.mc-shell .mc-cselect-button[aria-expanded="true"] { border-color: var(--c-focus); box-shadow: inset 0 0 0 1px var(--c-focus); }
.mc-shell .mc-cselect-inner { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.mc-shell .mc-cselect-label-mini { font-size: 11.5px; color: var(--c-text-muted); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-shell .mc-cselect-value { font-size: 14.5px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-shell .mc-cselect-caret { color: var(--c-text-subtle); flex-shrink: 0; transition: transform .15s ease; }
.mc-shell .mc-cselect-button[aria-expanded="true"] .mc-cselect-caret { transform: rotate(180deg); }
.mc-shell .mc-cselect-listbox {
	position: absolute;
	top: calc(100% + 4px); left: 0; right: 0;
	z-index: 30;
	max-height: 280px;
	overflow-y: auto;
	margin: 0; padding: 4px 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.mc-shell .mc-cselect-option { padding: 10px 14px; cursor: pointer; font-size: 14px; }
.mc-shell .mc-cselect-option:hover,
.mc-shell .mc-cselect-option.is-active { background: var(--c-surface-alt); }
.mc-shell .mc-cselect-option[aria-selected="true"] { font-weight: 600; color: var(--c-primary); }

/* ─── Phone — unified field with inline country picker ─────────────────── */
.mc-shell .mc-phone-field {
	position: relative;
	display: flex;
	align-items: stretch;
	height: 52px;
	border: 1px solid var(--c-border-strong);
	border-radius: var(--radius);
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
	margin-bottom: 12px;
}
.mc-shell .mc-phone-field:hover { border-color: #8a8f94; }
.mc-shell .mc-phone-field:focus-within,
.mc-shell .mc-phone-field.is-open {
	border-color: var(--c-focus);
	box-shadow: inset 0 0 0 1px var(--c-focus);
}

.mc-shell .mc-phone-selector {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 10px 0 12px;
	background: transparent;
	border: 0;
	border-right: 1px solid var(--c-border);
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	color: var(--c-text);
	flex-shrink: 0;
	height: 100%;
	border-top-left-radius: var(--radius);
	border-bottom-left-radius: var(--radius);
}
.mc-shell .mc-phone-selector:hover { background: var(--c-surface-alt); }
.mc-shell .mc-phone-flag {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	flex-shrink: 0;
}
.mc-shell .mc-phone-caret { color: var(--c-text-subtle); font-size: 10px; }

.mc-shell .mc-phone-input-wrap { flex: 1; position: relative; }
.mc-shell .mc-phone-input {
	width: 100%;
	height: 100%;
	padding: 20px 12px 6px 12px;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font: inherit;
	font-size: 14.5px;
	color: var(--c-text);
	outline: none !important;
}
.mc-shell .mc-phone-input:focus { box-shadow: none !important; }

/* Dropdown — full-width under the whole phone field */
.mc-shell .mc-phone-dropdown {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
	z-index: 30;
	display: flex;
	flex-direction: column;
	max-height: min(420px, 60vh);
	overflow: hidden;
}
/* HTML5 [hidden] normally = display:none, but `display: flex` above wins
 * the cascade tie. Force-hide when the JS toggles `hidden` on. */
.mc-shell .mc-phone-dropdown[hidden] { display: none !important; }
.mc-shell .mc-phone-search-wrap {
	padding: 8px;
	border-bottom: 1px solid var(--c-border);
	flex-shrink: 0;
}
.mc-shell .mc-phone-search {
	width: 100%;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--c-border-strong);
	border-radius: var(--radius);
	background: #fff;
	font: inherit;
	font-size: 14px;
	color: var(--c-text);
	outline: none;
}
.mc-shell .mc-phone-search:focus {
	border-color: var(--c-focus);
	box-shadow: inset 0 0 0 1px var(--c-focus);
}
.mc-shell .mc-phone-list {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	list-style: none;
	margin: 0;
	padding: 4px 0;
}
.mc-shell .mc-phone-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	cursor: pointer;
	font-size: 14px;
	list-style: none;
	margin: 0;
}
.mc-shell .mc-phone-list li:hover,
.mc-shell .mc-phone-list li.is-active { background: var(--c-surface-alt); }
.mc-shell .mc-phone-list li[aria-selected="true"] { color: var(--c-primary); font-weight: 600; }
.mc-shell .mc-phone-list li img {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.mc-shell .mc-phone-country-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-shell .mc-phone-country-dial { color: var(--c-text-muted); font-size: 13px; flex-shrink: 0; }
.mc-shell .mc-phone-list .mc-phone-empty {
	padding: 20px;
	text-align: center;
	color: var(--c-text-muted);
	font-size: 13px;
	cursor: default;
}
.mc-shell .mc-phone-list .mc-phone-empty:hover { background: transparent; }

/* Apply scroll containment to cselect too */
.mc-shell .mc-cselect-listbox {
	max-height: min(420px, 60vh);
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

/* ─── Expandable (<details>) ──────────────────────────────────────────── */
.mc-shell .mc-expandable { margin: 12px 0; }
.mc-shell .mc-expandable summary {
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: var(--c-primary);
	list-style: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 0;
}
.mc-shell .mc-expandable summary::-webkit-details-marker { display: none; }
.mc-shell .mc-expandable summary::before { content: '+'; font-size: 16px; line-height: 1; font-weight: 400; }
.mc-shell .mc-expandable[open] summary::before { content: '−'; }
.mc-shell .mc-expandable-body { padding-top: 10px; }

/* ─── Shipping methods (WC UL + radios, restyled) ─────────────────────── */
.mc-shell .mc-shipping-list,
.mc-shell #shipping_method {
	display: grid;
	gap: 0;
	border: 1px solid var(--c-border-strong);
	border-radius: var(--radius);
	overflow: hidden;
	list-style: none;
	margin: 0;
	padding: 0;
}
.mc-shell #shipping_method li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	cursor: pointer;
	background: #fff;
	font-size: 14px;
	list-style: none;
	margin: 0;
	position: relative;
}
.mc-shell #shipping_method li + li { border-top: 1px solid var(--c-border); }
.mc-shell #shipping_method li.is-selected { background: rgba(201, 42, 74, 0.04); }
.mc-shell #shipping_method input[type="radio"] { accent-color: var(--c-primary); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.mc-shell #shipping_method label {
	flex: 1;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-weight: 500;
	color: var(--c-text);
	margin: 0;
}

/* ─── Payment list (WC markup, restyled) ──────────────────────────────── */
/* Kill list markers at every level (some themes use ::marker, some list-style-image) */
.mc-shell #payment ul,
.mc-shell #payment ol,
.mc-shell #payment li,
.mc-shell .mc-payment-list ul,
.mc-shell .mc-payment-list ol,
.mc-shell .mc-payment-list li {
	list-style: none !important;
	list-style-type: none !important;
	list-style-image: none !important;
	padding-left: 0 !important;
	-webkit-padding-start: 0 !important;
	padding-inline-start: 0 !important;
}
.mc-shell #payment li::marker,
.mc-shell #payment ul::marker,
.mc-shell .mc-payment-list li::marker,
.mc-shell .mc-payment-list ul::marker { content: none !important; }

.mc-shell .mc-payment-list ul,
.mc-shell .mc-payment-list ul.wc_payment_methods,
.mc-shell .mc-payment-list ul.payment_methods {
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--c-border-strong);
	border-radius: var(--radius);
	overflow: hidden;
	background: #fff;
}
.mc-shell .mc-payment-list li.wc_payment_method,
.mc-shell .mc-payment-list li.payment_method,
.mc-shell .mc-payment-list ul > li {
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
	background: #fff;
}
.mc-shell .mc-payment-list li.wc_payment_method + li.wc_payment_method,
.mc-shell .mc-payment-list li.payment_method + li.payment_method,
.mc-shell .mc-payment-list ul > li + li { border-top: 1px solid var(--c-border); }

.mc-shell .mc-payment-list li > label {
	display: flex !important;
	align-items: center;
	gap: 10px;
	padding: 14px 16px !important;
	cursor: pointer;
	background: #fff;
	font-size: 14px;
	font-weight: 500;
	color: var(--c-text);
	margin: 0 !important;
	flex-wrap: wrap;
}
.mc-shell .mc-payment-list li input[type="radio"] {
	accent-color: var(--c-primary);
	width: 18px; height: 18px;
	margin: 0 !important;
	flex-shrink: 0;
}
.mc-shell .mc-payment-list li.is-selected > label,
.mc-shell .mc-payment-list li:has(input:checked) > label { background: rgba(201, 42, 74, 0.04); }

/* Payment icons — pushed to the right edge, uniform size */
.mc-shell .mc-payment-list li > label img {
	height: 24px !important;
	width: auto !important;
	max-width: 40px;
	object-fit: contain;
	margin: 0 !important;
	padding: 2px 0;
}
.mc-shell .mc-payment-list li > label img:first-of-type {
	margin-left: auto !important;
}
.mc-shell .mc-payment-list li > label br { display: none; }

.mc-shell .mc-payment-list .payment_box {
	padding: 14px 16px 16px 46px !important;
	background: rgba(201, 42, 74, 0.04) !important;
	border-top: 1px dashed var(--c-border);
	color: var(--c-text-muted);
	font-size: 13px;
	line-height: 1.5;
	margin: 0 !important;
}
.mc-shell .mc-payment-list .payment_box:before { display: none !important; }
.mc-shell .mc-payment-list .payment_box p { margin: 0 0 8px; }
.mc-shell .mc-payment-list .payment_box p:last-child { margin-bottom: 0; }
.mc-shell .mc-payment-list .payment_box input[type="text"],
.mc-shell .mc-payment-list .payment_box input[type="email"],
.mc-shell .mc-payment-list .payment_box input[type="tel"] {
	font-size: 14px;
	padding: 10px;
	border: 1px solid var(--c-border-strong);
	border-radius: var(--radius);
	background: #fff;
	width: 100%;
}

/* ── Nuke any WC-default submit button + privacy/terms that a plugin re-injects
      into the payment section. Our own button lives OUTSIDE #payment, so it
      remains untouched.                                                        */
.mc-shell #payment button[name="woocommerce_checkout_place_order"],
.mc-shell #payment button#place_order,
.mc-shell #payment .form-row.place-order,
.mc-shell #payment .woocommerce-privacy-policy-text,
.mc-shell #payment .woocommerce-terms-and-conditions-wrapper,
.mc-shell #payment #terms,
.mc-shell #payment .wc-terms-and-conditions,
.mc-shell #payment .validate-required.terms,
.mc-shell #payment .create-account,
.mc-shell .mc-payment-list > .form-row.place-order,
.mc-shell .mc-payment-list > .woocommerce-privacy-policy-text,
.mc-shell .mc-payment-list > .woocommerce-terms-and-conditions-wrapper,
.mc-shell .mc-payment-list + .form-row.place-order,
.mc-shell .mc-payment-list + .woocommerce-privacy-policy-text {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
}
/* Belt-and-suspenders: any button inside .mc-shell that is NOT .mc-place-order
   and NOT a cart/coupon control is a WC leftover — hide it if it submits checkout. */
.mc-shell button[name="woocommerce_checkout_place_order"]:not(.mc-place-order) {
	display: none !important;
}

/* Hide any Select2 wrapper WC or a plugin spawns for our hidden country select */
.mc-shell .mc-cselect ~ .select2,
.mc-shell .mc-cselect ~ .select2-container,
.mc-shell select.mc-hidden-native + .select2,
.mc-shell select.mc-hidden-native + .select2-container { display: none !important; }

/* ─── Submit ──────────────────────────────────────────────────────────── */
.mc-shell .mc-place-order,
.mc-shell #place_order {
	width: 100%;
	padding: 16px;
	background: var(--c-primary);
	color: #fff !important;
	border: 0;
	border-radius: var(--radius);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 8px;
	transition: background .15s ease, transform .05s ease;
	letter-spacing: 0.01em;
	text-align: center;
	text-decoration: none;
	display: inline-block;
}
.mc-shell .mc-place-order:hover,
.mc-shell #place_order:hover { background: var(--c-primary-hover); }
.mc-shell .mc-place-order:active,
.mc-shell #place_order:active { transform: translateY(1px); }
.mc-shell .mc-btn-inline { width: auto; padding: 12px 28px; }

.mc-shell .mc-privacy-notice {
	margin: 20px 0 8px;
}
.mc-shell .mc-privacy-notice p {
	margin: 0 0 8px;
	line-height: 1.55;
}
.mc-shell .mc-privacy-notice-ka {
	color: var(--c-text-muted);
	font-size: 13px;
}
.mc-shell .mc-privacy-notice-en {
	color: var(--c-text-subtle);
	font-size: 12px;
	margin-top: 6px;
}
.mc-shell .mc-privacy-notice a { color: var(--c-primary); text-decoration: none; }
.mc-shell .mc-privacy-notice a:hover { text-decoration: underline; }

.mc-shell .mc-checkout-footer {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--c-border);
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 12.5px;
}
.mc-shell .mc-checkout-footer a { color: var(--c-primary); text-decoration: none; }
.mc-shell .mc-checkout-footer a:hover { text-decoration: underline; }

/* ═══ SIDEBAR ═════════════════════════════════════════════════════════════ */
.mc-shell .mc-mobile-summary-toggle { display: none; }

.mc-shell .mc-summary-items { list-style: none; margin: 0; padding: 0 0 20px; }
.mc-shell .mc-summary-item {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	gap: 14px;
	align-items: center;
	padding: 10px 0;
}
.mc-shell .mc-summary-thumb-wrap { position: relative; width: 64px; height: 64px; flex-shrink: 0; }
.mc-shell .mc-summary-thumb {
	width: 64px; height: 64px;
	border-radius: var(--radius);
	border: 1px solid var(--c-border);
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.mc-shell .mc-summary-thumb img,
.mc-shell .mc-summary-thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-shell .mc-summary-qty-badge {
	position: absolute;
	top: -6px; right: -6px;
	min-width: 22px; height: 22px;
	padding: 0 6px;
	border-radius: 11px;
	background: var(--c-text-muted);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--c-surface-sidebar);
	line-height: 1;
}
.mc-shell .mc-summary-discount-tag {
	position: absolute;
	top: -6px; left: -6px;
	background: var(--c-primary);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 2px 5px;
	border-radius: 3px;
	line-height: 1.2;
	letter-spacing: 0.02em;
	border: 2px solid var(--c-surface-sidebar);
	z-index: 1;
}
.mc-shell .mc-summary-info { min-width: 0; }
.mc-shell .mc-summary-name { font-size: 13.5px; font-weight: 500; color: var(--c-text); line-height: 1.35; margin-bottom: 4px; }
.mc-shell .mc-summary-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--c-border);
	border-radius: 5px;
	overflow: hidden;
	background: #fff;
}
.mc-shell .mc-qty-btn {
	width: 26px; height: 26px;
	background: transparent;
	border: 0;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	color: var(--c-text);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .1s ease;
}
.mc-shell .mc-qty-btn:hover { background: var(--c-surface-alt); }
.mc-shell .mc-qty-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.mc-shell .mc-qty-input {
	width: 28px;
	text-align: center;
	border: 0;
	padding: 0;
	font: inherit;
	font-size: 13px;
	background: transparent;
	-moz-appearance: textfield;
}
.mc-shell .mc-qty-input::-webkit-outer-spin-button,
.mc-shell .mc-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mc-shell .mc-summary-remove {
	display: block;
	margin-top: 4px;
	border: 0;
	background: transparent;
	color: var(--c-text-subtle);
	cursor: pointer;
	font-size: 11.5px;
	padding: 0;
	text-decoration: underline;
}
.mc-shell .mc-summary-remove:hover { color: var(--c-primary); }
.mc-shell .mc-summary-line {
	font-weight: 600;
	color: var(--c-text);
	white-space: nowrap;
	font-size: 14px;
	align-self: flex-start;
	padding-top: 4px;
}
.mc-shell .mc-summary-line-discounted { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.mc-shell .mc-summary-line-old { font-size: 12px; color: var(--c-text-subtle); text-decoration: line-through; font-weight: 500; line-height: 1.2; }
.mc-shell .mc-summary-line-new { font-size: 14px; font-weight: 600; color: var(--c-text); line-height: 1.2; }

/* Coupon */
.mc-shell .mc-coupon {
	display: flex;
	gap: 8px;
	padding: 20px 0;
	border-top: 1px solid var(--c-border);
}
.mc-shell .mc-coupon input {
	flex: 1;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--c-border-strong);
	border-radius: var(--radius);
	background: #fff;
	font: inherit;
	font-size: 14px;
	color: var(--c-text);
}
.mc-shell .mc-coupon input:focus {
	outline: none;
	border-color: var(--c-focus);
	box-shadow: inset 0 0 0 1px var(--c-focus);
}
.mc-shell .mc-coupon input::placeholder { color: var(--c-text-muted); }
.mc-shell .mc-coupon-apply {
	padding: 0 18px;
	height: 44px;
	border-radius: var(--radius);
	background: var(--c-surface-alt);
	color: var(--c-text-muted);
	border: 1px solid var(--c-border-strong);
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	transition: background .15s ease, color .15s ease;
}
.mc-shell .mc-coupon-apply:hover { background: var(--c-text); color: #fff; border-color: var(--c-text); }

/* Totals */
.mc-shell .mc-summary-totals { margin: 0; padding: 20px 0 0; border-top: 1px solid var(--c-border); }
.mc-shell .mc-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 14px; color: var(--c-text-muted); }
.mc-shell .mc-summary-row dt { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.mc-shell .mc-summary-row dd { margin: 0; color: var(--c-text); font-weight: 500; }
.mc-shell .mc-summary-row.mc-summary-discount dd { color: var(--c-success); font-weight: 600; }
.mc-shell .mc-discount-chip {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 3px 4px 3px 8px;
	background: var(--c-surface-alt);
	border: 1px solid var(--c-border);
	border-radius: 4px;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--c-text);
	letter-spacing: 0.03em;
	line-height: 1;
}
.mc-shell .mc-discount-chip-code { padding-right: 2px; }
.mc-shell .mc-discount-chip-remove {
	width: 18px; height: 18px;
	border: 0;
	background: transparent;
	color: var(--c-text-muted);
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
	padding: 0;
	border-radius: 3px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .15s ease, color .15s ease;
}
.mc-shell .mc-discount-chip-remove:hover { background: rgba(201, 42, 74, 0.1); color: var(--c-primary); }
.mc-shell .mc-summary-row.mc-summary-total {
	font-size: 16px;
	padding-top: 14px;
	margin-top: 10px;
	border-top: 1px solid var(--c-border);
	color: var(--c-text);
	font-weight: 600;
}
.mc-shell .mc-summary-total dt { font-weight: 600; }
.mc-shell .mc-summary-total dd {
	font-size: 22px;
	font-weight: 700;
	color: var(--c-text);
	letter-spacing: -0.01em;
}
.mc-shell .mc-currency-code {
	font-size: 12px;
	font-weight: 500;
	color: var(--c-text-muted);
	margin-right: 6px;
	text-transform: uppercase;
}

/* ─── WooCommerce notices inside the shell ────────────────────────────── */
.mc-shell .woocommerce-error,
.mc-shell .woocommerce-info,
.mc-shell .woocommerce-message,
.mc-shell .woocommerce-notice {
	list-style: none;
	padding: 12px 14px;
	border-radius: var(--radius);
	margin: 0 0 16px;
	font-size: 14px;
	background: var(--c-surface-alt);
	color: var(--c-text);
}
.mc-shell .woocommerce-error { background: #fff1f2; color: #9b1c2a; border: 1px solid #f1b7bf; }
.mc-shell .woocommerce-error li { list-style: none; margin: 2px 0; }
.mc-shell .blockUI.blockOverlay { border-radius: var(--radius); }

/* ─── Empty state ─────────────────────────────────────────────────────── */
.mc-shell .mc-empty-shell { text-align: center; padding: 120px 24px; }
.mc-shell .mc-empty-shell h1 { font-size: 24px; font-weight: 600; margin: 0 0 20px; }

/* ─── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 960px) {
	.mc-shell .mc-checkout-page { display: flex; flex-direction: column; }
	.mc-shell .mc-checkout-side-col {
		order: -1;
		border-left: 0;
		border-bottom: 1px solid var(--c-border);
		position: sticky;
		top: 0;
		z-index: 10;
	}
	.mc-shell .mc-checkout-main { max-width: 720px; margin: 0 auto; padding: 24px 20px 60px; }
	.mc-shell .mc-checkout-side { max-width: 720px; margin: 0 auto; padding: 16px 20px; position: static; }
	.mc-shell .mc-mobile-summary-toggle {
		display: flex;
		width: 100%;
		background: transparent;
		border: 0;
		padding: 6px 0;
		font: inherit;
		font-size: 14px;
		color: var(--c-primary);
		cursor: pointer;
		justify-content: space-between;
		align-items: center;
	}
	.mc-shell .mc-mobile-summary-toggle .caret { transition: transform .2s ease; display: inline-block; }
	.mc-shell .mc-checkout-side.is-open .mc-mobile-summary-toggle .caret { transform: rotate(180deg); }
	.mc-shell .mc-summary-body { display: none; padding-top: 16px; border-top: 1px solid var(--c-border); margin-top: 12px; }
	.mc-shell .mc-checkout-side.is-open .mc-summary-body { display: block; }
	.mc-shell .mc-summary-total-mobile { font-size: 18px; font-weight: 700; color: var(--c-text); }
}
@media (max-width: 500px) {
	.mc-shell .mc-field-row { grid-template-columns: 1fr; gap: 0; }
}

/* ─── WC form-row resets (any stray form.checkout markup that leaks through) ── */
.mc-shell form.checkout .form-row { all: unset; display: block; }
.mc-shell form.checkout abbr { text-decoration: none; }

/* ═══════════════════════════════════════════════════════════════
   FULL-WIDTH BLACK TOP BAR (Mockup Room override)
   The light brand logo would have low contrast on a white bar,
   so we render it on a dark background that mirrors the site's
   main header chrome.
   ═══════════════════════════════════════════════════════════════ */
.mc-shell .mc-topbar {
	background: #1a1a1a;
	border-bottom: 1px solid #000;
	width: 100%;
	margin: 0;
	padding: 0;
}
.mc-shell .mc-topbar-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 14px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 70px;
	box-sizing: border-box;
}
.mc-shell .mc-topbar-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 0;
}
.mc-shell .mc-topbar-logo-img {
	display: block;
	max-height: 42px;
	width: auto;
}
.mc-shell .mc-topbar-logo-text {
	color: #fff;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.5px;
}

/* Breadcrumb on dark — muted white instead of dark grey */
.mc-shell .mc-topbar-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: rgba(255,255,255,0.55);
}
.mc-shell .mc-topbar-breadcrumb a {
	color: rgba(255,255,255,0.7);
	text-decoration: none;
	transition: color .15s;
}
.mc-shell .mc-topbar-breadcrumb a:hover {
	color: #fff;
}
.mc-shell .mc-topbar-breadcrumb .current {
	color: #fff;
	font-weight: 600;
}
.mc-shell .mc-topbar-breadcrumb .sep {
	color: rgba(255,255,255,0.3);
}

/* Tighten the now-headerless main column so spacing matches the topbar */
.mc-shell .mc-checkout-main {
	padding-top: 32px;
}

/* Mobile: stack the breadcrumb under the logo, smaller padding */
@media (max-width: 720px) {
	.mc-shell .mc-topbar-inner {
		padding: 12px 20px;
		flex-direction: column;
		gap: 8px;
		align-items: flex-start;
		min-height: 0;
	}
	.mc-shell .mc-topbar-breadcrumb {
		font-size: 12px;
	}
	.mc-shell .mc-topbar-logo-img {
		max-height: 32px;
	}
}

/* ═══════════════════════════════════════════════════════════════
   CATALOG CHECKOUT — extras layered on top of the shared shell
   ═══════════════════════════════════════════════════════════════ */

/* Yellow info banner explaining "this is a custom-order, not a regular ecom checkout" */
.mc-shell .mc-catalog-banner {
	background: #fff8d4;
	border-left: 4px solid #F2EC19;
	padding: 14px 18px;
	border-radius: 6px;
	margin-bottom: 28px;
}
.mc-shell .mc-catalog-banner strong {
	display: block;
	font-size: 14px;
	color: #1a1a1a;
	margin-bottom: 4px;
}
.mc-shell .mc-catalog-banner p {
	margin: 0;
	font-size: 13px;
	color: #555;
	line-height: 1.5;
}

/* Customer-type toggle */
.mc-shell .mk-cust-type {
	display: flex;
	gap: 10px;
	margin-bottom: 18px;
}
.mc-shell .mk-cust-type__opt {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border: 1.5px solid #e1e3e5;
	border-radius: 8px;
	cursor: pointer;
	transition: all .15s ease;
	background: #fff;
}
.mc-shell .mk-cust-type__opt:has(input:checked) {
	border-color: #1a1a1a;
	background: #fafafa;
	box-shadow: 0 0 0 3px rgba(242, 236, 25, 0.25);
}
.mc-shell .mk-cust-type__opt input[type="radio"] {
	margin: 0;
	accent-color: #1a1a1a;
}
.mc-shell .mk-cust-type__label {
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
}

/* Cart-summary meta lines (variation, color, sections) */
.mc-shell .mk-cc-summary-meta {
	font-size: 11px;
	color: #888;
	margin-top: 2px;
}

/* FAQ accordion */
.mc-shell .mk-cc-faq {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid #e1e3e5;
}
.mc-shell .mk-cc-faq h2 {
	margin-bottom: 16px;
}
.mc-shell .mk-cc-faq-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.mc-shell .mk-cc-faq-item {
	background: #fafafa;
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
	transition: background .15s;
}
.mc-shell .mk-cc-faq-item[open] {
	background: #fff;
	border-color: #d8d8d8;
}
.mc-shell .mk-cc-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
	list-style: none;
}
.mc-shell .mk-cc-faq-item summary::-webkit-details-marker { display: none; }
.mc-shell .mk-cc-faq-caret {
	flex-shrink: 0;
	margin-left: 16px;
	font-size: 18px;
	font-weight: 400;
	color: #1a1a1a;
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #ddd;
	border-radius: 50%;
	background: #fff;
	transition: transform .2s, background .2s;
}
.mc-shell .mk-cc-faq-item[open] .mk-cc-faq-caret {
	background: #1a1a1a;
	color: #fff;
	border-color: #1a1a1a;
}
.mc-shell .mk-cc-faq-body {
	padding: 0 18px 16px;
	font-size: 13px;
	color: #555;
	line-height: 1.6;
}

/* ─── Thank-you state ─── */
.mc-shell .mc-thankyou {
	max-width: 540px;
	margin: 60px auto;
	padding: 0 20px;
}
.mc-shell .mc-thankyou-card {
	background: #fff;
	border: 1px solid #e1e3e5;
	border-radius: 12px;
	padding: 48px 36px;
	text-align: center;
	box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.mc-shell .mc-thankyou-icon {
	width: 80px;
	height: 80px;
	background: #F2EC19;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 24px;
	color: #1a1a1a;
}
.mc-shell .mc-thankyou h1 {
	font-size: 26px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 8px;
}
.mc-shell .mc-thankyou-sub {
	font-size: 15px;
	color: #555;
	margin: 0 0 24px;
}
.mc-shell .mc-thankyou-text {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	margin: 0 0 28px;
}
.mc-shell .mc-thankyou .mc-place-order {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: auto;
	padding: 14px 28px;
	margin: 0;
}
.mc-shell .mc-thankyou-back {
	margin-top: 24px;
	font-size: 13px;
}
.mc-shell .mc-thankyou-back a {
	color: #888;
	text-decoration: none;
}
.mc-shell .mc-thankyou-back a:hover { color: #1a1a1a; }
