/* MAHIMA CLOSET — checkout page, designed 1:1 like the "দ্রুত অর্ডার" quick-order sheet (v1.21.6).
   One centred sheet on every screen size: navy header + close button, green item card with size / colour
   pickers, info form, order summary, payment tiles, free-delivery banner, coupon, totals, confirm button. */

body.mc-checkout-page { background: #eef1f7; }
body.mc-checkout-page .site-main { padding-top: 16px; padding-bottom: 36px; min-height: 0; }
body.mc-checkout-page .content-area { max-width: 560px; }
/* The sheet has its own title; hide the plain page heading the theme prints. */
body.mc-checkout-page .content-area > article > h1:first-child { display: none; }

.mc-co {
	--co-navy: #27388d;
	--co-navy-2: #4a5a9e;
	--co-navy-soft: #eceff8;
	--co-green: #3f9a3f;
	--co-green-dark: #2f7d32;
	--co-green-soft: #f6faf5;
	--co-green-line: #cfe6cb;
	--co-ink: #1c2240;
	--co-muted: #6b7388;
	--co-line: #e6e9f0;
	--co-red: #ef4444;
	max-width: 560px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid #d9deea;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 18px 48px rgba(30, 45, 110, .16);
	color: var(--co-ink);
	font-family: "Inter", "Hind Siliguri", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 15px;
	line-height: 1.45;
}
.mc-co *, .mc-co *::before, .mc-co *::after { box-sizing: border-box; }
.mc-co h1, .mc-co h2, .mc-co h3 { font-family: inherit; letter-spacing: 0; text-transform: none; }
.mc-co img { max-width: 100%; }

/* ---- Header band + close button ---- */
.mc-co-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 56px;
	background: linear-gradient(135deg, var(--co-navy) 0%, var(--co-navy-2) 100%);
}
.mc-co .mc-co-hero__title { margin: 0; color: #fff; font-size: 18px; font-weight: 700; line-height: 1.2; }
.mc-co .mc-co-hero__close {
	position: absolute; z-index: 3; right: 13px; top: 13px;
	width: 38px; height: 38px; border-radius: 50%;
	display: grid; place-items: center;
	background: #e6e8ef; color: #3c4152;
	box-shadow: 0 2px 8px rgba(20, 30, 70, .16);
	text-decoration: none;
}
.mc-co .mc-co-hero__close:hover { background: #dde0ea; color: #1c2240; }

.mc-co-form { padding: 26px 18px 18px; margin: 0; }
.mc-co-form .woocommerce-NoticeGroup,
.mc-co-form .woocommerce-error,
.mc-co-form .woocommerce-message { margin: 0 0 13px; }
.mc-co .woocommerce-error {
	list-style: none; padding: 12px 14px; border: 1px solid #f5c2c0; border-left-width: 4px; border-radius: 14px;
	background: #fff5f5; color: #9b1c1c; font-size: 14px;
}
.mc-co .woocommerce-error::before { display: none; }
.mc-co .woocommerce-error li { margin: 4px 0; padding: 0; }
.mc-co .woocommerce-error a { color: inherit; text-decoration: underline; }
.mc-co-flash { margin: 0 0 13px; padding: 10px 14px; border-radius: 14px; background: #fff5f5; border: 1px solid #f5c2c0; color: #9b1c1c; font-size: 14px; }
.mc-co-flash[hidden] { display: none; }

.mc-co-grid { display: block; }
.mc-co-main, .mc-co-side { min-width: 0; }

/* ---- Item card ---- */
.mc-co-item {
	position: relative;
	margin: 0 0 13px;
	padding: 14px;
	background: var(--co-green-soft);
	border: 1.5px solid var(--co-green-line);
	border-radius: 22px;
	transition: opacity .15s;
}
.mc-co-item.is-busy { opacity: .55; pointer-events: none; }
.mc-co-item__head { display: grid; grid-template-columns: 82px minmax(0, 1fr); column-gap: 13px; align-items: center; }
.mc-co .mc-co-item__media {
	display: block; width: 82px; aspect-ratio: 82 / 99; overflow: hidden;
	border-radius: 14px; border: 2px solid #fff; background: #fff; box-shadow: 0 0 0 1px var(--co-green-line);
}
.mc-co .mc-co-item__img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.mc-co-item__info { min-width: 0; }
.mc-co .mc-co-item__name { margin: 0 0 4px; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--co-ink); }
.mc-co .mc-co-item__name a { color: inherit; text-decoration: none; }
.mc-co-item__price { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.mc-co-item__price strong { color: var(--co-green); font-size: 19px; font-weight: 800; line-height: 1.2; }
.mc-co-item__price del { color: #555b6b; font-size: 15px; text-decoration-thickness: 1.5px; }
.mc-co .mc-co-badge { display: inline-block; padding: 1px 9px; border-radius: 999px; background: var(--co-red); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.7; }
/* Remove button: only shown when the cart has more than one product. */
.mc-co .mc-co-item__remove {
	position: absolute; top: 9px; right: 9px;
	width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%;
	display: grid; place-items: center; cursor: pointer;
	background: #fff; color: #7a8194; box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}
.mc-co-item__attrs { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; }
.mc-co-attr { display: flex; align-items: center; gap: 8px; }
.mc-co-attr__label { font-size: 15px; font-weight: 600; color: var(--co-ink); }
.mc-co .mc-co-chip { display: inline-block; min-width: 40px; padding: 3px 12px; border-radius: 999px; background: var(--co-green); color: #fff; text-align: center; font-size: 15px; font-weight: 600; }

/* Size / colour pickers */
.mc-co-opt { margin-top: 7px; }
.mc-co-opt__label { margin: 0 0 3px; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--co-ink); }
.mc-co-opt__list { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 7px; }
.mc-co-opt--color .mc-co-opt__list { gap: 8px 14px; }
.mc-co .mc-co-size {
	min-width: 42px; height: 31px; padding: 0 10px; margin: 0;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid #e0e3e9; border-radius: 999px; background: #fff; color: var(--co-ink);
	font: inherit; font-size: 15px; font-weight: 500; line-height: 1; cursor: pointer;
	box-shadow: 0 1px 3px rgba(20, 30, 70, .06);
	transition: background .15s, color .15s, border-color .15s;
}
.mc-co .mc-co-size.is-active { background: var(--co-green); border-color: var(--co-green); color: #fff; font-weight: 600; box-shadow: 0 2px 6px rgba(63, 154, 63, .28); }
.mc-co-swatch { display: flex; flex-direction: column; align-items: center; width: 66px; }
.mc-co .mc-co-color {
	position: relative; display: block; width: 66px; aspect-ratio: 66 / 79; margin: 0; padding: 0;
	border: 2px solid #e6e7eb; border-radius: 12px; background: #fff; overflow: visible; cursor: pointer;
	box-shadow: 0 1px 3px rgba(20, 30, 70, .06);
}
.mc-co .mc-co-color img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 9px; margin: 0; }
.mc-co .mc-co-color__txt { display: grid; place-items: center; width: 100%; height: 100%; padding: 4px; font-size: 13px; font-weight: 600; text-align: center; line-height: 1.2; color: var(--co-ink); }
.mc-co .mc-co-color.is-active { border: 3px solid var(--co-green); }
.mc-co .mc-co-color.is-active img { border-radius: 8px; }
.mc-co .mc-co-color__tick {
	position: absolute; right: 5px; bottom: 5px; width: 18px; height: 18px; border-radius: 50%;
	display: none; place-items: center; background: var(--co-green); color: #fff;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .85);
}
.mc-co .mc-co-color.is-active .mc-co-color__tick { display: grid; }
.mc-co .mc-co-swatch__name { margin-top: 3px; font-size: 14.5px; font-weight: 400; line-height: 1.4; color: var(--co-muted); text-align: center; }
.mc-co .mc-co-swatch.is-active .mc-co-swatch__name { color: var(--co-ink); font-weight: 700; }

.mc-co-qty-row {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin-top: 9px; padding: 7px 12px 7px 13px; border-radius: 16px; background: #f3f6f3;
}
.mc-co-qty-row__label { font-size: 16px; font-weight: 700; }
.mc-co-qty { display: flex; align-items: center; gap: 22px; }
.mc-co .mc-co-qty__btn {
	width: 29px; height: 29px; padding: 0; border-radius: 50%;
	display: grid; place-items: center; cursor: pointer;
	border: 1px solid #dcdfe4; background: #fff; color: var(--co-ink); font-size: 18px; line-height: 1; font-weight: 500;
}
.mc-co .mc-co-qty__btn:disabled { cursor: default; }
.mc-co-qty__val { min-width: 14px; text-align: center; font-size: 20px; font-weight: 700; }

.mc-co .mc-co-addmore {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	margin: 0 0 13px; padding: 0 14px; min-height: 35px;
	border: 1px dashed #b4dcae; border-radius: 14px; background: #fff;
	color: var(--co-green); font-size: 16px; font-weight: 600; text-decoration: none;
}
.mc-co .mc-co-addmore:hover { background: var(--co-green-soft); color: var(--co-green-dark); }

/* ---- Cards ---- */
.mc-co-card { margin: 0 0 13px; padding: 13px 13px 14px; background: #fff; border: 1px solid var(--co-line); border-radius: 24px; }
.mc-co .mc-co-card__title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 18px; font-weight: 800; color: var(--co-ink); line-height: 1.25; }
.mc-co .mc-co-card__title > span:first-child, .mc-co .mc-co-sub > span:first-child, .mc-co .mc-co-label__ico { font-size: 15px; line-height: 1; }
.mc-co-summary { background: #fafafa; margin-bottom: 0; }
.mc-co-summary.is-loading { opacity: .7; transition: opacity .15s; }
.mc-co .mc-co-sub { display: flex; align-items: center; gap: 7px; margin: 12px 0 5px; font-size: 16px; font-weight: 700; line-height: 1.25; }

/* ---- Form fields ---- */
.mc-co .form-row, .mc-co .mc-co-field { margin: 0 0 10px; padding: 0; width: 100%; float: none; }
.mc-co .form-row label, .mc-co .mc-co-label { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--co-ink); line-height: 1.2; }
.mc-co .form-row .required, .mc-co abbr.required { color: var(--co-ink); text-decoration: none; border: 0; font-weight: 700; }
.mc-co .form-row .optional { display: none; }
.mc-co .woocommerce-input-wrapper { display: block; width: 100%; }
.mc-co input.input-text,
.mc-co textarea.input-text,
.mc-co .form-row textarea,
.mc-co .form-row select,
.mc-co .mc-bd-address-field select,
.mc-co .mc-bd-address-field select:disabled {
	display: block; width: 100%; min-height: 37px; margin: 0;
	padding: 6px 14px; border: 1px solid #dfe3ea; border-radius: 14px;
	background-color: #fff; color: var(--co-ink); font: inherit; font-size: 15px; line-height: 1.4;
	box-shadow: none; outline: 0; -webkit-appearance: none; appearance: none;
	transition: border-color .15s, box-shadow .15s;
}
.mc-co .form-row select,
.mc-co .mc-bd-address-field select {
	padding-right: 38px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7388' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center;
}
.mc-co .mc-bd-address-field select:disabled { background-color: #f5f6f9; color: #9aa1b2; cursor: not-allowed; opacity: 1; }
.mc-co textarea.input-text,
.mc-co .form-row textarea,
.mc-co .form-row textarea#billing_address_1 { min-height: 60px; padding-top: 8px; resize: vertical; line-height: 1.5; }
.mc-co #order_comments { min-height: 37px; }
.mc-co input.input-text::placeholder, .mc-co textarea::placeholder { color: #a0a7b6; opacity: 1; }
.mc-co input.input-text:focus,
.mc-co textarea:focus,
.mc-co .form-row select:focus {
	border-color: var(--co-navy-2); box-shadow: 0 0 0 3px rgba(75, 91, 159, .14); outline: 0;
}
.mc-co .form-row.woocommerce-invalid input.input-text,
.mc-co .form-row.woocommerce-invalid textarea,
.mc-co .form-row.woocommerce-invalid select { border-color: var(--co-red); box-shadow: 0 0 0 3px rgba(239, 68, 68, .1); }
.mc-co .form-row.woocommerce-validated input.input-text,
.mc-co .form-row.woocommerce-validated select { border-color: #cfe5cb; }
.mc-co .select2-container { width: 100% !important; }
.mc-co-info .form-row:last-child, .mc-co-info .mc-co-field:last-child { margin-bottom: 0; }

/* ---- Delivery options ---- */
.mc-co-ship-list { list-style: none; margin: 0; padding: 0; }
.mc-co-ship { position: relative; margin: 0 0 9px; padding: 0; }
.mc-co-ship:last-child { margin-bottom: 0; }
.mc-co-ship input { position: absolute; opacity: 0; pointer-events: none; }
.mc-co .mc-co-ship label {
	display: flex; align-items: center; gap: 11px; margin: 0; padding: 0 12px; min-height: 34px;
	border-radius: 12px; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--co-ink);
	border: 1px solid transparent; border-bottom-color: #eef0f4; transition: background .15s;
}
.mc-co .mc-co-ship input:checked + label { background: #eff0f6; border-color: #e6e8f0; box-shadow: 0 1px 3px rgba(20, 30, 70, .1); }
.mc-co .mc-co-ship input:focus-visible + label { outline: 3px solid rgba(75, 91, 159, .4); outline-offset: 2px; }
.mc-co-radio { flex: none; width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid var(--co-green); background: #fff; display: grid; place-items: center; }
.mc-co-ship input:checked + label .mc-co-radio::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--co-green); }
.mc-co-ship__name { flex: 1; min-width: 0; }
.mc-co-ship__price { color: var(--co-green); font-weight: 800; }
.mc-co .mc-co-empty { margin: 8px 0 0; padding: 12px 14px; border-radius: 14px; background: #fff8e8; border: 1px solid #f3dfa8; color: #7a5a00; font-size: 14px; }

/* ---- Receipt lines ---- */
.mc-co-line { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; padding: 6px 12px; background: #fff; border: 1px solid var(--co-line); border-radius: 14px; }
.mc-co-line__ok { flex: none; color: var(--co-green); margin-top: 2px; display: grid; }
.mc-co-line__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0; }
.mc-co-line__text strong { font-size: 16px; font-weight: 600; line-height: 1.3; }
.mc-co-line__text span { color: var(--co-muted); font-size: 14px; line-height: 1.3; }
.mc-co-line__amount { flex: none; color: var(--co-green); font-size: 16px; font-weight: 800; }

/* ---- Payment tiles ---- */
.mc-pay-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mc-pay-grid li { position: relative; margin: 0; padding: 0; min-width: 0; }
.mc-pay-grid input { position: absolute; opacity: 0; pointer-events: none; }
.mc-co .mc-pay-grid label {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; height: 100%; min-height: 91px;
	margin: 0; padding: 10px 6px 9px; background: #fff; text-align: center; overflow: hidden;
	border: 1px solid #f1e6ea; border-radius: 20px; box-shadow: 0 2px 9px rgba(236, 72, 130, .07);
	cursor: pointer; font-size: 14.5px; font-weight: 700; color: var(--co-ink); line-height: 1.25; transition: border-color .15s, background .15s;
}
.mc-pay-grid input:checked + label { border: 2px solid var(--co-navy); background: #eef0f6; box-shadow: 0 2px 10px rgba(39, 56, 141, .14); padding: 9px 5px 8px; }
.mc-pay-grid input:focus-visible + label { outline: 3px solid rgba(75, 91, 159, .4); outline-offset: 2px; }
.mc-pay-check { position: absolute; top: 6px; right: 6px; color: var(--co-navy); display: none; }
.mc-pay-grid input:checked + label .mc-pay-check { display: grid; }
.mc-pay-ico {
	position: relative; z-index: 1; flex: none; width: 33px; height: 33px; border-radius: 50%; display: grid; place-items: center; color: #fff;
	background: linear-gradient(145deg, var(--co-navy), var(--co-navy-2)); box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}
.mc-pay-ico svg { width: 18px; height: 18px; }
.mc-pay--cod .mc-pay-ico { background: #e3e6ee; color: var(--co-navy); box-shadow: none; }
.mc-pay--bkash .mc-pay-ico { background: linear-gradient(145deg, #e2136e, #f0488f); }
.mc-pay--nagad .mc-pay-ico { background: linear-gradient(145deg, #ee3a24, #f7791d); }
.mc-pay--rocket .mc-pay-ico { background: linear-gradient(145deg, #7b2a8c, #b657c9); }
.mc-pay--cellfin .mc-pay-ico { background: linear-gradient(145deg, #0a8f8f, #3cc3b4); }
.mc-pay--bank .mc-pay-ico { background: linear-gradient(145deg, #34507a, #5b7bac); }
.mc-pay-name { position: relative; z-index: 1; display: block; max-width: 100%; overflow-wrap: anywhere; }
/* Faint big icon in the bottom-right corner of every tile */
.mc-pay-mark { position: absolute; right: -14px; bottom: -14px; display: block; width: 50px; height: 50px; transform: rotate(-8deg); color: #f3e0e6; opacity: .85; pointer-events: none; }
.mc-pay-mark svg { display: block; width: 100%; height: 100%; stroke-width: 1.4; }
.mc-pay--cod .mc-pay-mark { color: #d9dce6; }
.mc-pay-grid input:checked + label .mc-pay-mark { color: #d5d9e8; }

.mc-pay-boxes { margin-top: 10px; }
.mc-co #payment .payment_box {
	margin: 0; padding: 12px 14px; border: 1px solid var(--co-line); border-radius: 14px; background: #fff;
	color: var(--co-ink); font-size: 14px; line-height: 1.6;
}
.mc-co #payment .payment_box::before { display: none; }
.mc-co #payment .payment_box p { margin: 0 0 8px; }
.mc-co #payment .payment_box .form-row { margin-bottom: 10px; }
.mc-co #payment .payment_box label { font-size: 14px; font-weight: 600; }
.mc-co .mc-manual-payment-details { margin: 6px 0 12px; padding: 10px 12px; border: 1px solid #d8def3; border-radius: 12px; background: var(--co-navy-soft); line-height: 1.8; color: var(--co-ink); }
.mc-co #payment .payment_box input[name^="mc_manual_"] {
	width: 100%; min-height: 37px; padding: 6px 14px; border: 1px solid #dfe3ea; border-radius: 14px; background: #fff; font-size: 15px;
}
.mc-co #payment .payment_box input[name^="mc_manual_"]:focus { border-color: var(--co-navy-2); box-shadow: 0 0 0 3px rgba(75, 91, 159, .14); outline: 0; }

/* ---- Free-delivery banner ---- */
.mc-co-banner:empty { display: none; }
.mc-co-banner__box {
	display: flex; align-items: center; gap: 8px; margin: 13px 0 0; padding: 8px 10px;
	border-radius: 20px; color: #fff;
	background: linear-gradient(105deg, #f43f5e 0%, #f2602f 58%, #f59e0b 100%);
	box-shadow: 0 8px 18px rgba(244, 63, 94, .22);
}
.mc-co-banner__box.is-done { background: linear-gradient(105deg, #2f9e44 0%, #43a047 55%, #7cb342 100%); box-shadow: 0 8px 18px rgba(63, 154, 63, .25); }
.mc-co-banner__icon { flex: none; width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .45); }
.mc-co-banner__body { flex: 1; min-width: 0; }
.mc-co-banner__title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.mc-co-banner__title em { flex: none; padding: 1px 8px; border-radius: 8px; background: rgba(255, 255, 255, .26); font-size: 12px; font-style: normal; font-weight: 700; }
.mc-co-banner__body p { margin: 1px 0 5px; font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, .96); }
.mc-co-banner__bar { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .32); overflow: hidden; }
.mc-co-banner__bar i { display: block; height: 100%; border-radius: 999px; background: #fff; transition: width .3s; }

/* ---- Coupon ---- */
.mc-co-coupon { display: flex; gap: 9px; margin-top: 13px; }
.mc-co-coupon__field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid #dfe3ea; border-radius: 14px; background: #fff; color: #5b6275; }
.mc-co-coupon__field:focus-within { border-color: var(--co-navy-2); box-shadow: 0 0 0 3px rgba(75, 91, 159, .14); }
.mc-co .mc-co-coupon__field input { flex: 1; min-width: 0; width: 100%; min-height: 35px; padding: 0; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--co-ink); outline: 0; box-shadow: none; }
.mc-co .mc-co-coupon__btn {
	flex: none; padding: 0 15px; min-width: 60px; min-height: 37px; border: 1px solid #e8ebf0; border-radius: 14px;
	background: #f7f8fa; color: #8a92a4; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
}
.mc-co .mc-co-coupon__btn:disabled { opacity: .6; cursor: wait; }
.mc-co-coupon__msg { min-height: 0; margin: 6px 4px 0; font-size: 14px; }
.mc-co-coupon__msg:empty { display: none; }
.mc-co-coupon__msg.is-ok { color: var(--co-green-dark); }
.mc-co-coupon__msg.is-error { color: #b42318; }

/* ---- Totals ---- */
.mc-co-totals { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--co-line); }
.mc-co-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0; line-height: 21px; font-size: 15.5px; color: #5a6176; }
.mc-co-row + .mc-co-row { margin-top: 0; }
.mc-co-row > span:last-child { color: var(--co-ink); font-weight: 500; }
.mc-co-row--ship > span:last-child { color: var(--co-green); font-weight: 600; }
.mc-co-row--coupon > span:last-child { color: var(--co-green-dark); }
.mc-co-row--coupon a.woocommerce-remove-coupon { margin-left: 8px; font-size: 13px; color: #b42318; text-decoration: underline; }
.mc-co-row--total { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--co-line); line-height: 26px; font-size: 19px; font-weight: 800; color: var(--co-ink); }
.mc-co-row--total > span:first-child { display: flex; align-items: center; gap: 8px; color: var(--co-ink); }
.mc-co-row--total > span:last-child { color: var(--co-green); font-size: 22px; font-weight: 800; }

/* ---- Agreement + confirm ---- */
.mc-co .mc-co-place { margin: 13px 0 0; }
.mc-co-terms { margin: 0 0 13px; padding: 11px 14px; background: #fff; border: 1px solid var(--co-line); border-radius: 18px; }
.mc-co .mc-co-terms__label { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; font-weight: 500; line-height: 1.4; cursor: pointer; }
.mc-co-terms__input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.mc-co-terms__box { flex: none; width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #cdd3e0; background: #fff; color: transparent; transition: background .15s, border-color .15s; }
.mc-co-terms__box svg { width: 15px; height: 15px; }
.mc-co-terms__input:checked + .mc-co-terms__box { background: var(--co-green); border-color: var(--co-green); color: #fff; }
.mc-co-terms__input:focus-visible + .mc-co-terms__box { outline: 3px solid rgba(75, 91, 159, .4); outline-offset: 2px; }
.mc-co-terms__text a { color: var(--co-green); font-weight: 600; text-decoration: none; }
.mc-co .mc-co-submit,
.mc-co #place_order {
	display: flex; align-items: center; justify-content: center; width: 100%; min-height: 41px; margin: 0; padding: 8px 18px;
	border: 0; border-radius: 999px; cursor: pointer; float: none;
	background: linear-gradient(180deg, #47a748 0%, #3a8d3c 100%) !important;
	color: #fff !important; font-family: inherit; font-size: 17px; font-weight: 700; letter-spacing: 0; text-transform: none;
	box-shadow: 0 6px 16px rgba(63, 154, 63, .30); transition: transform .12s, box-shadow .12s;
}
.mc-co .mc-co-submit:hover, .mc-co #place_order:hover { background: linear-gradient(180deg, #3f9a41 0%, #2f7d32 100%) !important; color: #fff !important; transform: none; }
.mc-co .mc-co-submit:active, .mc-co #place_order:active { transform: translateY(1px); box-shadow: 0 3px 10px rgba(63, 154, 63, .3); }
.mc-co #place_order:disabled, .mc-co #place_order.disabled { opacity: .6; cursor: not-allowed; }

/* WooCommerce blockUI overlay on our summary pieces */
.mc-co .blockUI.blockOverlay { border-radius: 22px; }

/* ---- Very small phones ---- */
@media (max-width: 360px) {
	.mc-co-form { padding: 24px 12px 14px; }
	.mc-co-item { padding: 12px; }
	.mc-co-opt--color .mc-co-opt__list { gap: 8px 10px; }
	.mc-co .mc-co-terms__label { font-size: 14px; }
}
@media (max-width: 520px) {
	body.mc-checkout-page .site-main { padding-top: 10px; }
	body.mc-checkout-page .content-area.container { width: calc(100% - 26px); }
}

@media (prefers-reduced-motion: reduce) {
	.mc-co * { transition: none !important; }
}

/* ---- The theme paints every <button> with a violet gradient (!important). Keep this sheet's own button looks. ---- */
.mc-co .mc-co-qty__btn { background: #fff !important; color: var(--co-ink) !important; border-color: #dcdfe4 !important; box-shadow: none !important; }
.mc-co .mc-co-qty__btn:hover:not(:disabled) { background: #fff !important; color: var(--co-green) !important; border-color: var(--co-green) !important; box-shadow: none !important; }
.mc-co .mc-co-item__remove { background: #fff !important; color: #7a8194 !important; border-color: transparent !important; box-shadow: 0 1px 4px rgba(0, 0, 0, .12) !important; }
.mc-co .mc-co-item__remove:hover { background: #fdecec !important; color: var(--co-red) !important; }
.mc-co .mc-co-size { background: #fff !important; color: var(--co-ink) !important; border: 1px solid #e0e3e9 !important; box-shadow: 0 1px 3px rgba(20, 30, 70, .06) !important; min-height: 0 !important; }
.mc-co .mc-co-size:hover { border-color: var(--co-green) !important; }
.mc-co .mc-co-size.is-active,
.mc-co .mc-co-size.is-active:hover { background: var(--co-green) !important; color: #fff !important; border-color: var(--co-green) !important; box-shadow: 0 2px 6px rgba(63, 154, 63, .28) !important; }
.mc-co .mc-co-color { background: #fff !important; color: var(--co-ink) !important; border: 2px solid #e6e7eb !important; box-shadow: 0 1px 3px rgba(20, 30, 70, .06) !important; min-height: 0 !important; }
.mc-co .mc-co-color:hover { border-color: #b9d9b5 !important; }
.mc-co .mc-co-color.is-active,
.mc-co .mc-co-color.is-active:hover { border: 3px solid var(--co-green) !important; }
.mc-co .mc-co-coupon__btn { background: #f7f8fa !important; color: #8a92a4 !important; border-color: #e8ebf0 !important; box-shadow: none !important; }
.mc-co .mc-co-coupon__btn:hover { background: #eef0f4 !important; color: #6b7388 !important; box-shadow: none !important; }
.mc-co .mc-co-coupon__btn.is-ready,
.mc-co .mc-co-coupon__btn.is-ready:hover { background: var(--co-green) !important; color: #fff !important; border-color: var(--co-green) !important; box-shadow: none !important; }
.mc-co .mc-co-submit,
.mc-co #place_order { border-color: transparent !important; }

/* ---- Reset the theme's generic checkout boxes inside this sheet ---- */
.woocommerce-checkout .mc-co #payment,
.mc-co #payment { padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; }
.woocommerce-checkout .mc-co #order_review,
.mc-co #order_review { margin: 0; }
.mc-co .mc-co-summary.mc-co-card { padding: 15px 13px; border: 1px solid var(--co-line); border-radius: 24px; background: #fafafa; }

.mc-co-payment .mc-co-sub { margin-top: 16px; }

/* ---- Inside the popup frame: the sheet fills the frame (header/footer of the site are covered) ---- */
html.mc-in-frame body { background: #fff; overflow: hidden; }
html.mc-in-frame body.mc-checkout-page .mc-co {
	position: fixed; inset: 0; z-index: 2147483000; max-width: none; margin: 0;
	border: 0; border-radius: 0; box-shadow: none; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
html.mc-in-frame .mc-co-hero { position: sticky; top: 0; z-index: 5; }
html.mc-in-frame .mc-co .mc-co-hero__close { position: fixed; top: 13px; right: 13px; }
