/* ==========================================================================
   Smart Side Cart & Checkout – front-end
   All colors/sizes come from CSS variables printed by the plugin settings.
   ========================================================================== */

.scc-root, .scc-root *, .scc-fb, .scc-fb *, .scc-checkout, .scc-checkout *, .scc-toast { box-sizing: border-box; }
.scc-root svg, .scc-fb svg, .scc-checkout svg, .scc-cart-icon svg { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex: none; }

/* ---------- Shared button ---------- */
.scc-root .scc-btn, .scc-checkout .scc-coupon-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: var(--scc-btn-height); padding: 0 18px; width: 100%;
	background: var(--scc-btn-bg); color: var(--scc-btn-color) !important;
	border: 0; border-radius: var(--scc-btn-radius); cursor: pointer;
	font-family: var(--scc-font); font-size: var(--scc-btn-fs); font-weight: var(--scc-btn-weight);
	text-transform: var(--scc-btn-transform); letter-spacing: .3px; line-height: 1;
	text-decoration: none !important; box-shadow: none; transition: background .2s, color .2s, transform .1s;
}
.scc-root .scc-btn:hover, .scc-checkout .scc-coupon-btn:hover { background: var(--scc-btn-hover-bg); color: var(--scc-btn-hover-color) !important; }
.scc-root .scc-btn:active { transform: scale(.98); }
.scc-root .scc-btn-outline { background: transparent; color: var(--scc-btn-bg) !important; box-shadow: inset 0 0 0 1.5px var(--scc-btn-bg); }
.scc-root .scc-btn-outline:hover { background: var(--scc-btn-bg); color: var(--scc-btn-color) !important; }

/* ---------- Floating mini cart button ---------- */
.scc-fb {
	position: fixed; z-index: 99990; display: flex; flex-direction: column; align-items: stretch;
	min-width: 68px; background: var(--scc-fb-bg); color: var(--scc-fb-color) !important;
	text-decoration: none !important; font-family: var(--scc-font); line-height: 1.2;
	box-shadow: 0 12px 24px rgba(34, 87, 122, .24); overflow: hidden; transition: transform .2s;
}
.scc-fb:hover { color: var(--scc-fb-color) !important; }
.scc-fb-right-middle { right: 0; top: 50%; transform: translateY(-50%); border-radius: var(--scc-fb-radius) 0 0 var(--scc-fb-radius); }
.scc-fb-left-middle  { left: 0;  top: 50%; transform: translateY(-50%); border-radius: 0 var(--scc-fb-radius) var(--scc-fb-radius) 0; }
.scc-fb-right-bottom { right: 20px; bottom: 90px; border-radius: var(--scc-fb-radius); }
.scc-fb-left-bottom  { left: 20px;  bottom: 90px; border-radius: var(--scc-fb-radius); }
.scc-fb-top { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 8px 8px; }
.scc-fb-icon { font-size: 22px; line-height: 1; display: flex; }
.scc-fb-count { font-size: 12px; font-weight: 500; white-space: nowrap; }
.scc-fb-count b { font-weight: 700; }
.scc-fb-total {
	display: block; background: var(--scc-fb-total-bg); color: var(--scc-fb-total-color);
	font-size: 13px; font-weight: 700; text-align: center; padding: 5px 4px; white-space: nowrap;
}
.scc-fb-total .woocommerce-Price-amount, .scc-fb-total bdi { color: inherit; }
.scc-fb-hidden { display: none !important; }
.scc-fb.scc-bounce { animation: scc-bounce .6s ease; }
@keyframes scc-bounce { 0%,100% { margin-top: 0 } 30% { margin-top: -10px } 60% { margin-top: 4px } }
@media (max-width: 767px) {
	.scc-fb { min-width: 58px; }
	.scc-fb-top { padding: 8px 6px 6px; }
	.scc-fb-icon { font-size: 19px; }
	.scc-fb-total { font-size: 12px; }
	.scc-fb-right-bottom, .scc-fb-left-bottom { bottom: 76px; }
}

/* ---------- Header icon shortcode ---------- */
.scc-cart-icon { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: 22px; color: inherit; text-decoration: none; }
.scc-cart-icon .scc-icon-count {
	position: absolute; top: -6px; left: 14px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
	background: var(--scc-primary); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.scc-cart-icon .scc-icon-total { font-size: 14px; font-weight: 600; margin-left: 8px; }

/* ---------- Sidebar ---------- */
.scc-root { position: fixed; inset: 0; z-index: 999999; pointer-events: none; font-family: var(--scc-font); }
.scc-overlay { position: absolute; inset: 0; background: var(--scc-overlay); opacity: 0; transition: opacity .3s; }
.scc-panel {
	position: absolute; top: 0; bottom: 0; right: 0; width: var(--scc-sb-width); max-width: 92vw;
	background: var(--scc-sb-body-bg); display: flex; flex-direction: column;
	transform: translateX(105%); transition: transform .35s cubic-bezier(.22, .8, .3, 1);
	box-shadow: -10px 0 40px rgba(0, 0, 0, .12); color: var(--scc-text); font-size: 13px; line-height: 1.45;
}
.scc-side-left .scc-panel { right: auto; left: 0; transform: translateX(-105%); box-shadow: 10px 0 40px rgba(0, 0, 0, .12); }
body.scc-open .scc-root { pointer-events: auto; }
body.scc-open .scc-overlay { opacity: 1; }
body.scc-open .scc-panel { transform: translateX(0); }
body.scc-open { overflow: hidden; }
@media (max-width: 480px) { .scc-panel { max-width: 100vw; width: 100vw; } }

.scc-panel-content { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.scc-head {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 14px 20px; background: var(--scc-sb-head-bg); border-bottom: 1px solid var(--scc-border); flex: none;
}
.scc-title { color: var(--scc-heading); font-size: 15px; font-weight: 700; letter-spacing: .4px; }
.scc-root .scc-close {
	display: inline-flex; align-items: center; gap: 6px; background: none !important; border: 0; padding: 4px 0; margin: 0;
	color: var(--scc-heading) !important; font-weight: 500; font-size: 14px; line-height: 1; font-family: var(--scc-font); cursor: pointer; box-shadow: none; min-height: 0; text-transform: none;
}
.scc-root .scc-close svg { font-size: 18px; transition: transform .2s; }
.scc-root .scc-close:hover svg { transform: translateX(3px); }

.scc-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 16px; -webkit-overflow-scrolling: touch; }
.scc-body::-webkit-scrollbar { width: 6px; }
.scc-body::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, .15); border-radius: 3px; }

/* Items */
.scc-items { display: flex; flex-direction: column; gap: 10px; }
.scc-item {
	position: relative; display: flex; gap: 12px; align-items: flex-start;
	background: var(--scc-sb-item-bg); border-radius: 8px; padding: 12px 34px 12px 12px;
	animation: scc-fade .25s ease;
}
@keyframes scc-fade { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }
.scc-item-img { flex: none; width: 72px; height: 72px; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; display: block; background: #fff; }
.scc-item-img img { width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; display: block; }
.scc-item-info { flex: 1; min-width: 0; }
.scc-item-title {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	color: var(--scc-heading) !important; font-size: 14px; font-weight: 500; line-height: 1.35; text-decoration: none !important; margin-bottom: 4px;
}
.scc-item-meta dl { margin: 0 0 4px; font-size: 12px; }
.scc-item-meta dt, .scc-item-meta dd { display: inline; margin: 0; float: none; }
.scc-item-meta dd p { display: inline; margin: 0; }
.scc-item-meta dd::after { content: ""; display: block; }
.scc-item-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 6px; }
.scc-item-price, .scc-item-total { color: var(--scc-price); font-size: 14px; font-weight: 500; white-space: nowrap; }
.scc-item-total { font-weight: 600; }
.scc-root .scc-item-remove {
	position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; padding: 0; margin: 0; min-height: 0;
	display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%;
	background: transparent !important; color: var(--scc-heading) !important; font-size: 14px; cursor: pointer; box-shadow: none;
	transition: background .2s, color .2s;
}
.scc-root .scc-item-remove:hover { background: var(--scc-remove) !important; color: #fff !important; }

/* Quantity box */
.scc-qty { display: inline-flex; align-items: center; height: 30px; }
.scc-root .scc-qty-btn, .scc-checkout .scc-qty-btn {
	width: 30px; height: 30px; padding: 0; margin: 0; min-height: 0; display: inline-flex; align-items: center; justify-content: center;
	background: var(--scc-qty-bg) !important; color: var(--scc-qty-color) !important; border: 1px solid var(--scc-border) !important;
	font-size: 12px; cursor: pointer; box-shadow: none; line-height: 1;
}
.scc-qty-btn[data-act="minus"] { border-radius: 14px 0 0 14px !important; }
.scc-qty-btn[data-act="plus"]  { border-radius: 0 14px 14px 0 !important; }
.scc-qty-btn:hover { filter: brightness(.95); }
.scc-root .scc-qty-input, .scc-checkout .scc-qty-input {
	width: 34px !important; height: 30px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important;
	border: 1px solid var(--scc-border) !important; border-left: 0 !important; border-right: 0 !important; border-radius: 0 !important;
	background: #fff !important; color: #111 !important; text-align: center; font-size: 13px !important; font-weight: 600; box-shadow: none !important;
	-moz-appearance: textfield; appearance: textfield;
}
.scc-qty-input::-webkit-outer-spin-button, .scc-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.scc-qty-single { font-weight: 600; color: var(--scc-heading); }

/* Free shipping bar */
.scc-fs { background: var(--scc-sb-item-bg); border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; }
.scc-fs p { margin: 0 0 8px; font-size: 13px; color: var(--scc-heading); }
.scc-fs-track { height: 6px; background: #eee; border-radius: 3px; overflow: hidden; }
.scc-fs-track span { display: block; height: 100%; background: var(--scc-fs-color); border-radius: 3px; transition: width .4s; }
.scc-fs-done p { color: var(--scc-fs-color); font-weight: 600; }

/* Empty */
.scc-empty { text-align: center; padding: 60px 20px; }
.scc-empty-icon { display: inline-flex; width: 84px; height: 84px; border-radius: 50%; align-items: center; justify-content: center; background: var(--scc-primary-soft); color: var(--scc-primary); font-size: 40px; margin-bottom: 14px; }
.scc-empty p { font-size: 15px; color: var(--scc-heading); margin: 0 0 18px; }
.scc-empty .scc-btn { width: auto; }

/* Related – "You may also like" */
.scc-related { background: var(--scc-rel-bg); margin: 16px -16px -16px; padding: 14px 16px 18px; }
.scc-rel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.scc-rel-head h4 { margin: 0; padding: 0; color: var(--scc-heading); font-size: 16px; font-weight: 700; font-family: var(--scc-font); }
.scc-rel-nav { display: flex; gap: 6px; }
.scc-root .scc-rel-nav button {
	width: 26px; height: 26px; padding: 0; margin: 0; min-height: 0; border: 0; border-radius: 50%; cursor: pointer;
	background: var(--scc-primary) !important; color: #fff !important; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; box-shadow: none;
}
.scc-rel-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 2px; }
.scc-rel-track::-webkit-scrollbar { display: none; }
.scc-rel-card {
	flex: 0 0 calc(50% - 5px); scroll-snap-align: start; display: flex; gap: 8px; align-items: center;
	background: #fff; border: 1px solid #ddd; border-radius: 12px; padding: 10px;
}
.scc-rel-img { flex: none; width: 54px; height: 54px; border-radius: 10px; overflow: hidden; display: block; }
.scc-rel-img img { width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; }
.scc-rel-info { min-width: 0; flex: 1; }
.scc-rel-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--scc-heading) !important; font-size: 12px; font-weight: 600; line-height: 1.3; text-decoration: none !important; }
.scc-rel-price { color: var(--scc-primary); font-size: 13px; font-weight: 600; margin: 2px 0 4px; }
.scc-rel-price del { color: #999; font-size: 11px; font-weight: 400; }
.scc-rel-price ins { text-decoration: none; background: none; }
.scc-root .scc-rel-add {
	display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; margin: 0; min-height: 0; border: 0; border-radius: 12px;
	background: var(--scc-btn-bg) !important; color: var(--scc-btn-color) !important; font-weight: 500; font-size: 11px; line-height: 1.3; font-family: var(--scc-font); cursor: pointer; text-decoration: none !important; box-shadow: none; text-transform: none;
}
.scc-root .scc-rel-add:hover { background: var(--scc-btn-hover-bg) !important; }
.scc-rel-add svg { font-size: 10px; }
.scc-rel-add.loading { opacity: .6; pointer-events: none; }

/* Footer */
.scc-foot { flex: none; padding: 12px 20px 18px; background: var(--scc-sb-head-bg); border-top: 1px solid var(--scc-border); box-shadow: 0 -6px 20px rgba(0, 0, 0, .04); }
.scc-total { display: flex; justify-content: space-between; align-items: center; padding: 4px 0 12px; color: var(--scc-heading); font-size: 15px; font-weight: 600; }
.scc-total strong { font-size: 17px; color: var(--scc-heading); }
.scc-foot-btns { display: flex; gap: 10px; }
.scc-foot-btns .scc-btn { flex: 1; }

/* Loader */
.scc-loader { position: absolute; inset: 0; background: rgba(255, 255, 255, .55); display: none; align-items: center; justify-content: center; z-index: 5; }
.scc-loader span { width: 34px; height: 34px; border: 3px solid var(--scc-primary-soft); border-top-color: var(--scc-primary); border-radius: 50%; animation: scc-spin .7s linear infinite; }
.scc-loading .scc-loader { display: flex; }
@keyframes scc-spin { to { transform: rotate(360deg) } }

/* Toast */
.scc-toast {
	position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 1000000;
	background: #222831; color: #fff; padding: 10px 18px; border-radius: 8px; font-weight: 500; font-size: 14px; line-height: 1.4; font-family: var(--scc-font);
	opacity: 0; pointer-events: none; transition: all .3s; max-width: 90vw; text-align: center;
}
.scc-toast.scc-show { opacity: 1; transform: translate(-50%, 0); }
.scc-toast.scc-error { background: #d63638; }

/* ==========================================================================
   Checkout
   ========================================================================== */
body.scc-co-page { background-color: var(--scc-co-bg); }
.scc-checkout { font-family: var(--scc-font); color: var(--scc-text); }
.scc-checkout .scc-co-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.scc-checkout.scc-one-col .scc-co-grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin: 0 auto; }
@media (max-width: 991px) { .scc-checkout .scc-co-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.scc-checkout.scc-sticky.scc-two-col .scc-co-summary { position: sticky; top: 24px; }
@media (max-width: 991px) { .scc-checkout.scc-sticky .scc-co-summary { position: static; } }

.scc-checkout .scc-card { background: var(--scc-co-card-bg); border-radius: var(--scc-co-radius); box-shadow: var(--scc-co-shadow); padding: 24px; margin-bottom: 24px; }
@media (max-width: 767px) { .scc-checkout .scc-card { padding: 16px; margin-bottom: 16px; } }
.scc-checkout .scc-card-title, .scc-checkout h3#order_review_heading {
	margin: 0 0 16px !important; padding: 0 0 12px !important; border-bottom: 1px solid var(--scc-border);
	color: var(--scc-heading); font-weight: 600; font-size: 16px; line-height: 1.4; font-family: var(--scc-font); text-transform: none; letter-spacing: 0; float: none; width: auto;
}

/* Reset theme column layouts */
.scc-checkout #customer_details, .scc-checkout #order_review, .scc-checkout #order_review_heading { width: 100% !important; float: none !important; max-width: 100%; padding: 0; margin-left: 0; margin-right: 0; }
.scc-checkout .col2-set { display: block; width: 100%; margin: 0; }
.scc-checkout .col2-set::before, .scc-checkout .col2-set::after { display: none; }
.scc-checkout .col2-set .col-1, .scc-checkout .col2-set .col-2 { width: 100% !important; max-width: 100% !important; float: none !important; flex: none !important; padding: 0 !important; margin: 0 !important; }
.scc-checkout .woocommerce-billing-fields > h3, .scc-checkout .woocommerce-additional-fields > h3 { display: none; }
.scc-checkout .woocommerce-shipping-fields h3#ship-to-different-address { font-size: 15px; margin: 6px 0 12px; }

/* Field grid */
.scc-checkout .woocommerce-billing-fields__field-wrapper,
.scc-checkout .woocommerce-shipping-fields__field-wrapper,
.scc-checkout .woocommerce-additional-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.scc-checkout .form-row { grid-column: 1 / -1; width: 100% !important; float: none !important; margin: 0 0 14px !important; padding: 0 !important; }
@media (min-width: 768px) { .scc-checkout .form-row.scc-w-half { grid-column: span 1; } }
.scc-checkout .form-row.scc-w-half_always { grid-column: span 1; }
.scc-checkout .scc-hidden-field { display: none !important; }
.scc-checkout .form-row label { display: block; margin: 0 0 6px; color: var(--scc-heading); font-size: 14px; font-weight: 500; line-height: 1.4; }
.scc-checkout .form-row label .required { color: #e2401c; text-decoration: none; border: 0; }
.scc-checkout.scc-no-labels .form-row > label:not(.checkbox):not(.woocommerce-form__label-for-checkbox) {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0;
}
.scc-checkout .woocommerce-input-wrapper { display: block; width: 100%; }

/* Inputs */
.scc-checkout .form-row .input-text,
.scc-checkout .form-row select,
.scc-checkout .form-row textarea,
.scc-checkout .select2-container .select2-selection--single,
.scc-checkout .scc-coupon-input {
	width: 100% !important; height: var(--scc-in-h) !important; min-height: var(--scc-in-h); margin: 0 !important;
	padding: 0 14px !important; border: 1px solid var(--scc-in-border) !important; border-radius: var(--scc-in-r) !important;
	background: var(--scc-in-bg) !important; color: #1e1e1e !important; font-weight: 400 !important; font-size: 15px !important; line-height: 1.4 !important; font-family: var(--scc-font) !important;
	box-shadow: none !important; outline: none; transition: border-color .2s, box-shadow .2s;
}
.scc-checkout .form-row textarea { height: auto !important; min-height: 84px; padding: 12px 14px !important; resize: vertical; }
.scc-checkout .form-row .input-text:focus,
.scc-checkout .form-row select:focus,
.scc-checkout .form-row textarea:focus,
.scc-checkout .select2-container--focus .select2-selection--single,
.scc-checkout .select2-container--open .select2-selection--single,
.scc-checkout .scc-coupon-input:focus { border-color: var(--scc-focus) !important; box-shadow: 0 0 0 3px var(--scc-focus-ring) !important; }
.scc-checkout .select2-container .select2-selection--single { display: flex; align-items: center; }
.scc-checkout .select2-container .select2-selection--single .select2-selection__rendered { padding: 0 !important; line-height: calc(var(--scc-in-h) - 2px) !important; color: #1e1e1e; }
.scc-checkout .select2-container .select2-selection--single .select2-selection__arrow { height: calc(var(--scc-in-h) - 2px) !important; right: 8px !important; top: 0 !important; }
.scc-checkout .form-row.woocommerce-invalid .input-text,
.scc-checkout .form-row.woocommerce-invalid select,
.scc-checkout .form-row.woocommerce-invalid .select2-selection { border-color: #e2401c !important; }
.scc-checkout .form-row.woocommerce-validated .input-text { border-color: var(--scc-in-border) !important; }
.scc-checkout .form-row input[type="checkbox"], .scc-checkout .form-row input[type="radio"],
.scc-checkout #payment input[type="radio"], .scc-checkout #terms { accent-color: var(--scc-primary); width: 18px; height: 18px; vertical-align: middle; margin: 0 8px 0 0; }

/* Order review items (left card) */
.scc-co-items-list { display: flex; flex-direction: column; }
.scc-co-item { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--scc-border); }
.scc-co-item:first-child { padding-top: 0; }
.scc-co-item:last-child { border-bottom: 0; padding-bottom: 0; }
.scc-co-item-img { flex: none; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; border: 1px solid var(--scc-border); background: #fff; }
.scc-co-item-img img { width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; display: block; }
.scc-co-item-info { flex: 1; min-width: 0; }
.scc-co-item-title { display: block; color: var(--scc-heading); font-size: 15px; font-weight: 500; line-height: 1.35; margin-bottom: 6px; }
.scc-co-item-qty { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.scc-co-item-end { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.scc-co-item-total { color: var(--scc-heading); font-size: 15px; font-weight: 600; white-space: nowrap; }
.scc-checkout .scc-co-remove {
	width: 24px; height: 24px; padding: 0; margin: 0; min-height: 0; border: 0; border-radius: 5px; cursor: pointer;
	background: var(--scc-remove) !important; color: #fff !important; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; box-shadow: none;
}
.scc-co-items.scc-loading { opacity: .55; pointer-events: none; }

/* Coupon */
.scc-coupon { margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--scc-border); }
.scc-coupon-title { margin: 0 0 10px !important; color: var(--scc-heading); font-size: 14px; font-weight: 500; }
.scc-coupon-row { position: relative; display: flex; align-items: center; }
.scc-checkout .scc-coupon-input { padding-right: 130px !important; }
.scc-checkout .scc-coupon-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: auto; height: calc(var(--scc-in-h) - 12px); padding: 0 14px; font-size: 13px; border-radius: calc(var(--scc-btn-radius) - 2px); text-transform: none; }
.scc-coupon-msg .woocommerce-error, .scc-coupon-msg .woocommerce-message, .scc-coupon-msg .woocommerce-info { margin: 10px 0 0 !important; padding: 10px 14px !important; font-size: 13px; border-radius: 8px; }
.scc-coupon-msg .woocommerce-error::before, .scc-coupon-msg .woocommerce-message::before { display: none; }

/* Totals table */
.scc-checkout .shop_table.woocommerce-checkout-review-order-table { border: 0 !important; margin: 0 0 18px !important; border-radius: 0; width: 100%; border-collapse: collapse; background: transparent; }
.scc-checkout .woocommerce-checkout-review-order-table th, .scc-checkout .woocommerce-checkout-review-order-table td {
	border: 0 !important; border-top: 1px dashed var(--scc-border) !important; padding: 10px 0 !important; background: transparent !important;
	font-size: 14px; color: var(--scc-heading); font-weight: 500; text-align: left;
}
.scc-checkout .woocommerce-checkout-review-order-table td:last-child, .scc-checkout .woocommerce-checkout-review-order-table th:last-child { text-align: right; }
.scc-checkout .woocommerce-checkout-review-order-table tfoot tr:first-child th, .scc-checkout .woocommerce-checkout-review-order-table tfoot tr:first-child td { border-top: 0 !important; }
.scc-checkout.scc-hide-review-items .woocommerce-checkout-review-order-table thead,
.scc-checkout.scc-hide-review-items .woocommerce-checkout-review-order-table tbody { display: none; }
.scc-checkout .woocommerce-checkout-review-order-table .order-total th, .scc-checkout .woocommerce-checkout-review-order-table .order-total td { font-size: 17px; font-weight: 700; border-top: 1px solid var(--scc-border) !important; }
.scc-checkout .woocommerce-checkout-review-order-table .order-total .amount { color: var(--scc-primary); }
.scc-checkout .woocommerce-checkout-review-order-table #shipping_method { list-style: none; margin: 0; padding: 0; }
.scc-checkout .woocommerce-checkout-review-order-table #shipping_method li { margin: 0 0 4px; }

/* Payment methods */
.scc-checkout #payment { background: transparent !important; border-radius: 0; padding: 0; }
.scc-checkout #payment ul.payment_methods { padding: 0 !important; margin: 0 0 14px !important; border: 0 !important; list-style: none; }
.scc-checkout #payment ul.payment_methods li {
	list-style: none; margin: 0 0 10px !important; padding: 13px 14px !important; border: 1.5px solid var(--scc-border); border-radius: 10px;
	background: #fff; transition: border-color .2s, background .2s; line-height: 1.4;
}
.scc-checkout #payment ul.payment_methods li:has(input:checked) { border-color: var(--scc-primary); background: var(--scc-primary-soft); }
.scc-checkout #payment ul.payment_methods li > label { display: inline; font-weight: 600; color: var(--scc-heading); cursor: pointer; font-size: 14px; }
.scc-checkout #payment ul.payment_methods li img { max-height: 24px; width: auto; vertical-align: middle; margin: 0 0 0 6px; float: none; }
.scc-checkout #payment div.payment_box { background: #fff !important; color: var(--scc-text); border-radius: 8px; margin: 10px 0 0 !important; padding: 10px 12px !important; font-size: 13px; border: 1px solid var(--scc-border); }
.scc-checkout #payment div.payment_box::before { display: none !important; }
.scc-checkout #payment div.payment_box p:last-child { margin-bottom: 0; }
.scc-checkout #payment div.form-row.place-order { padding: 0 !important; margin: 0 !important; }
.scc-checkout .woocommerce-terms-and-conditions-wrapper { font-size: 13px; margin-bottom: 14px; }
.scc-checkout .woocommerce-privacy-policy-text p { font-size: 12px; margin: 0 0 10px; }
.scc-checkout .woocommerce-terms-and-conditions-wrapper .form-row { margin-bottom: 10px !important; }
.scc-checkout #place_order {
	display: flex !important; align-items: center; justify-content: center; float: none !important; width: 100% !important;
	height: calc(var(--scc-btn-height) + 6px); padding: 0 20px !important; margin: 4px 0 0 !important;
	background: var(--scc-btn-bg) !important; color: var(--scc-btn-color) !important; border: 0 !important; border-radius: var(--scc-btn-radius) !important;
	font-weight: var(--scc-btn-weight) !important; font-size: calc(var(--scc-btn-fs) + 1px) !important; line-height: 1 !important; font-family: var(--scc-font) !important; text-transform: var(--scc-btn-transform); letter-spacing: .5px;
	box-shadow: 0 8px 20px var(--scc-focus-ring) !important; cursor: pointer; transition: background .2s, transform .1s;
}
.scc-checkout #place_order:hover { background: var(--scc-btn-hover-bg) !important; color: var(--scc-btn-hover-color) !important; }
.scc-checkout #place_order:active { transform: scale(.99); }

/* WooCommerce notices around the form */
body.scc-co-page .woocommerce-NoticeGroup-checkout, body.scc-co-page .woocommerce-form-login-toggle .woocommerce-info { border-radius: 10px; }
body.scc-co-page .woocommerce-form-login-toggle { margin-bottom: 16px; }

/* ==========================================================================
   Add to cart animations
   ========================================================================== */
.scc-fly { position: fixed; z-index: 1000002; object-fit: cover; border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,.25); pointer-events: none; transition-property: transform, opacity; transition-timing-function: cubic-bezier(.55,-0.2,.75,.25); will-change: transform; }
.scc-anim-bounce { animation: scc-a-bounce var(--scc-anim-speed, 700ms) ease; }
.scc-anim-shake { animation: scc-a-shake var(--scc-anim-speed, 700ms) ease; }
.scc-anim-pulse { animation: scc-a-pulse var(--scc-anim-speed, 700ms) ease; }
@keyframes scc-a-bounce { 0%,100% { transform: translateY(0) } 25% { transform: translateY(-9px) } 50% { transform: translateY(0) } 70% { transform: translateY(-4px) } }
@keyframes scc-a-shake { 0%,100% { transform: rotate(0) } 20% { transform: rotate(-14deg) } 40% { transform: rotate(12deg) } 60% { transform: rotate(-8deg) } 80% { transform: rotate(5deg) } }
@keyframes scc-a-pulse { 0% { box-shadow: 0 0 0 0 var(--scc-focus-ring); transform: scale(1) } 40% { transform: scale(1.15) } 100% { box-shadow: 0 0 0 18px rgba(0,0,0,0); transform: scale(1) } }
.scc-fb.scc-anim-bounce, .scc-fb.scc-anim-shake, .scc-fb.scc-anim-pulse { animation-name: scc-a-fb; }
@keyframes scc-a-fb { 0%,100% { margin-right: 0 } 30% { margin-right: 10px } 60% { margin-right: -3px } }

/* ==========================================================================
   Classic BD checkout layout
   ========================================================================== */
.scc-style-classic .scc-classic-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; }
@media (max-width: 991px) { .scc-style-classic .scc-classic-grid { grid-template-columns: 1fr; } }
.scc-style-classic .scc-card { border-radius: 4px; box-shadow: none; border: 1px solid #e3e6ea; padding: 0; overflow: hidden; }
.scc-classic-bar { background: var(--scc-primary); color: #fff; padding: 16px 22px; font-weight: 700; font-size: 15px; line-height: 1.5; font-family: var(--scc-font); }
.scc-classic-fields { padding: 16px 18px 6px; }
.scc-style-classic .woocommerce-billing-fields__field-wrapper { display: block; }
.scc-style-classic .form-row { margin: 0 0 16px !important; }
.scc-style-classic .form-row > label { display: block; margin: 0 0 7px; color: var(--scc-heading); font-weight: 700; font-size: 15px; }
.scc-style-classic .form-row > label .required { color: #e2401c; }
.scc-style-classic .form-row > label .optional { display: none; }
/* icon box in front of every input */
.scc-style-classic .form-row .woocommerce-input-wrapper { display: flex; align-items: stretch; border: 1px solid #d6dade; border-radius: 4px; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.scc-style-classic .form-row .woocommerce-input-wrapper:focus-within { border-color: var(--scc-focus); box-shadow: 0 0 0 3px var(--scc-focus-ring); }
.scc-style-classic .form-row .woocommerce-input-wrapper::before { content: ""; flex: none; width: 58px; background-color: #f1f3f5; border-right: 1px solid #d6dade; background-repeat: no-repeat; background-position: center; background-size: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23222831'%3E%3Cpath d='M4 5h16v2H4zm0 6h16v2H4zm0 6h10v2H4z'/%3E%3C/svg%3E"); }
.scc-style-classic #billing_first_name_field .woocommerce-input-wrapper::before, .scc-style-classic #billing_last_name_field .woocommerce-input-wrapper::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23222831'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c0-4 3.6-6 8-6s8 2 8 6z'/%3E%3C/svg%3E"); }
.scc-style-classic #billing_email_field .woocommerce-input-wrapper::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222831' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.scc-style-classic #billing_phone_field .woocommerce-input-wrapper::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23222831'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.scc-style-classic #billing_address_1_field .woocommerce-input-wrapper::before, .scc-style-classic #billing_address_2_field .woocommerce-input-wrapper::before, .scc-style-classic #billing_city_field .woocommerce-input-wrapper::before, .scc-style-classic #billing_state_field .woocommerce-input-wrapper::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23222831'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.3 7 13 7 13s7-7.7 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.scc-style-classic #billing_delivery_area_field .woocommerce-input-wrapper::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23222831'%3E%3Cpath d='M2 6h12v9H2zM14 9h4l4 4v2h-8z'/%3E%3Ccircle cx='6' cy='17.5' r='2'/%3E%3Ccircle cx='17' cy='17.5' r='2'/%3E%3C/svg%3E"); }
.scc-style-classic .form-row .input-text, .scc-style-classic .form-row select, .scc-style-classic .form-row .select2-container .select2-selection--single { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; height: 46px !important; min-height: 46px; padding: 0 14px !important; font-size: 15px !important; }
.scc-style-classic .form-row .select2-container { flex: 1; width: auto !important; }
.scc-style-classic .form-row textarea { height: auto !important; padding: 12px 14px !important; }
.scc-classic-payment { border-top: 1px solid #e3e6ea; padding: 16px 18px 20px; }
.scc-classic-subtitle { margin: 0 0 10px; color: var(--scc-heading); font-weight: 700; font-size: 16px; line-height: 1.4; font-family: var(--scc-font); }
.scc-style-classic #payment ul.payment_methods li { border: 0; padding: 4px 0 !important; background: transparent !important; }
.scc-style-classic #payment div.payment_box { background: #f7f8f9 !important; border: 1px solid #e3e6ea; border-radius: 4px; padding: 12px 14px !important; font-size: 14px; }
.scc-style-classic .woocommerce-privacy-policy-text p { font-size: 12px; margin: 18px 0 12px; }
.scc-style-classic #place_order { border-radius: 4px !important; height: 46px; box-shadow: none !important; font-size: 15px !important; }
/* right card */
.scc-classic-head { margin: 0 !important; padding: 16px 16px !important; border-bottom: 1px solid #e3e6ea; background: #fafbfb; color: var(--scc-heading); font-weight: 700 !important; font-size: 16px !important; line-height: 1.4 !important; font-family: var(--scc-font) !important; }
.scc-classic-inner { padding: 12px; }
.scc-otable { width: 100%; border-collapse: collapse; margin: 0; }
.scc-otable th, .scc-otable td { border: 1px solid #e3e6ea; padding: 10px 12px; vertical-align: middle; font-size: 14px; color: var(--scc-heading); background: #fff; }
.scc-otable th { font-weight: 700; font-size: 16px; text-align: center; background: #fafbfb; }
.scc-ot-del, .scc-ot-qty { text-align: center; }
.scc-ot-price { text-align: center; font-weight: 700; white-space: nowrap; }
.scc-ot-product { display: flex; align-items: center; gap: 10px; border-left: 0 !important; border-right: 0 !important; }
.scc-otable td.scc-ot-product { display: table-cell; }
.scc-ot-product .scc-ot-img { display: inline-block; width: 46px; height: 46px; border: 1px solid #e3e6ea; border-radius: 4px; overflow: hidden; vertical-align: middle; margin-right: 8px; }
.scc-ot-product .scc-ot-img img { width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; }
.scc-ot-name { display: inline-block; vertical-align: middle; max-width: calc(100% - 60px); line-height: 1.45; }
.scc-checkout .scc-ot-remove { width: auto; height: auto; padding: 4px; margin: 0; border: 0; min-height: 0; background: transparent !important; color: #d11 !important; font-size: 16px; cursor: pointer; box-shadow: none; }
.scc-otable .scc-qty { height: 32px; border: 1px solid #e3e6ea; border-radius: 4px; overflow: hidden; }
.scc-otable .scc-qty-btn { border: 0 !important; border-radius: 0 !important; background: #f6f7f9 !important; color: var(--scc-heading) !important; width: 28px; }
.scc-otable .scc-qty-input { border-top: 0 !important; border-bottom: 0 !important; border-left: 1px solid #e3e6ea !important; border-right: 1px solid #e3e6ea !important; width: 30px !important; }
.scc-style-classic .woocommerce-checkout-review-order-table { margin: 0 !important; border: 1px solid #e3e6ea !important; border-top: 0 !important; }
.scc-style-classic .woocommerce-checkout-review-order-table thead, .scc-style-classic .woocommerce-checkout-review-order-table tbody { display: none; }
.scc-style-classic .woocommerce-checkout-review-order-table th, .scc-style-classic .woocommerce-checkout-review-order-table td { border: 0 !important; border-top: 1px solid #e3e6ea !important; padding: 10px 12px !important; font-size: 15px; font-weight: 700 !important; color: var(--scc-heading); }
.scc-style-classic .woocommerce-checkout-review-order-table tfoot tr:first-child th, .scc-style-classic .woocommerce-checkout-review-order-table tfoot tr:first-child td { border-top: 0 !important; }
.scc-style-classic .woocommerce-checkout-review-order-table .order-total th, .scc-style-classic .woocommerce-checkout-review-order-table .order-total td { font-size: 16px; }
.scc-style-classic .woocommerce-checkout-review-order-table .order-total .amount { color: var(--scc-heading); }
.scc-classic-coupon { margin: 0 !important; padding: 8px !important; background: var(--scc-primary); border: 0 !important; }
.scc-classic-coupon .scc-coupon-row { gap: 10px; }
.scc-classic-coupon .scc-coupon-input { padding: 0 14px !important; border: 0 !important; border-radius: 4px !important; height: 42px !important; min-height: 42px; }
.scc-checkout .scc-classic-coupon .scc-coupon-btn { position: static; transform: none; flex: none; height: 42px; padding: 0 30px; border: 2px solid #fff; border-radius: 30px; background: transparent !important; color: #fff !important; font-weight: 800; letter-spacing: .5px; }
.scc-checkout .scc-classic-coupon .scc-coupon-btn:hover { background: #fff !important; color: var(--scc-primary) !important; }
.scc-classic-coupon .scc-coupon-msg .woocommerce-error, .scc-classic-coupon .scc-coupon-msg .woocommerce-message { background: #fff; }
.scc-classic-summary.scc-loading { opacity: .6; pointer-events: none; }
@media (max-width: 600px) {
	.scc-otable th { font-size: 13px; padding: 8px 6px; }
	.scc-otable td { padding: 8px 6px; font-size: 13px; }
	.scc-ot-product .scc-ot-img { display: none; }
	.scc-ot-name { max-width: none; }
	.scc-style-classic .form-row .woocommerce-input-wrapper::before { width: 46px; }
}

/* ==========================================================================
   Classic checkout – hardening against theme / page-builder CSS (v1.2)
   ========================================================================== */
form.scc-checkout.scc-style-classic { display: block !important; width: 100% !important; max-width: 1200px; margin: 0 auto !important; padding: 0 !important; float: none !important; font-family: var(--scc-font); }
form.scc-checkout.scc-style-classic .scc-classic-grid { display: grid !important; align-items: start; }
form.scc-checkout.scc-style-classic .scc-co-main, form.scc-checkout.scc-style-classic .scc-co-side { width: auto !important; max-width: none !important; float: none !important; margin: 0 !important; padding: 0 !important; }
form.scc-checkout.scc-style-classic #customer_details, form.scc-checkout.scc-style-classic #customer_details .col-1 { width: 100% !important; max-width: none !important; float: none !important; margin: 0 !important; padding: 0 !important; display: block !important; }
form.scc-checkout.scc-style-classic #customer_details .col-2:empty, form.scc-checkout.scc-style-classic .woocommerce-shipping-fields:empty, form.scc-checkout.scc-style-classic .woocommerce-additional-fields:empty { display: none !important; }
form.scc-checkout.scc-style-classic .woocommerce-billing-fields > h3, form.scc-checkout.scc-style-classic #order_review_heading { display: none !important; }
form.scc-checkout.scc-style-classic .scc-classic-bar { margin: 0 !important; color: #fff !important; font-weight: 700 !important; font-size: 15px !important; line-height: 1.5 !important; font-family: var(--scc-font) !important; text-transform: none !important; letter-spacing: 0 !important; }
form.scc-checkout.scc-style-classic .form-row { width: 100% !important; float: none !important; padding: 0 !important; }
form.scc-checkout.scc-style-classic .form-row > label { display: block !important; position: static !important; margin: 0 0 7px !important; padding: 0 !important; color: var(--scc-heading) !important; font-weight: 700 !important; font-size: 15px !important; line-height: 1.4 !important; font-family: var(--scc-font) !important; text-transform: none !important; letter-spacing: 0 !important; opacity: 1 !important; transform: none !important; }
form.scc-checkout.scc-style-classic .form-row .woocommerce-input-wrapper { width: 100% !important; }
form.scc-checkout.scc-style-classic .form-row .input-text, form.scc-checkout.scc-style-classic .form-row select { flex: 1; width: 100% !important; max-width: none !important; margin: 0 !important; background: #fff !important; color: var(--scc-heading) !important; font-family: var(--scc-font) !important; line-height: 46px !important; }
form.scc-checkout.scc-style-classic .form-row textarea { line-height: 1.5 !important; }
form.scc-checkout.scc-style-classic .form-row select { -webkit-appearance: none !important; appearance: none !important; padding-right: 36px !important; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px !important; cursor: pointer; }
form.scc-checkout.scc-style-classic .scc-classic-subtitle { display: block !important; margin: 0 0 10px !important; color: var(--scc-heading) !important; font-weight: 700 !important; font-size: 16px !important; line-height: 1.4 !important; font-family: var(--scc-font) !important; text-transform: none !important; }
form.scc-checkout.scc-style-classic #payment { background: transparent !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; margin: 0 !important; }
form.scc-checkout.scc-style-classic #payment ul.payment_methods { margin: 0 0 6px !important; padding: 0 !important; border: 0 !important; list-style: none !important; }
form.scc-checkout.scc-style-classic #payment ul.payment_methods li { list-style: none !important; margin: 0 0 6px !important; }
form.scc-checkout.scc-style-classic #payment ul.payment_methods li > input[type="radio"] { display: inline-block !important; position: static !important; opacity: 1 !important; visibility: visible !important; width: 16px !important; height: 16px !important; margin: 0 8px 0 0 !important; vertical-align: middle; accent-color: var(--scc-primary); -webkit-appearance: radio !important; appearance: auto !important; }
form.scc-checkout.scc-style-classic #payment ul.payment_methods li > label { display: inline !important; margin: 0 !important; padding: 0 !important; color: var(--scc-heading) !important; font-weight: 700 !important; font-size: 15px !important; line-height: 1.4 !important; font-family: var(--scc-font) !important; cursor: pointer; }
form.scc-checkout.scc-style-classic #payment ul.payment_methods li > label::before, form.scc-checkout.scc-style-classic #payment ul.payment_methods li > label::after { display: none !important; }
form.scc-checkout.scc-style-classic #payment div.payment_box { margin: 10px 0 4px !important; color: var(--scc-heading) !important; font-size: 14px !important; }
form.scc-checkout.scc-style-classic #payment div.payment_box::before { display: none !important; }
form.scc-checkout.scc-style-classic #payment .place-order { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
form.scc-checkout.scc-style-classic #place_order { display: flex !important; align-items: center; justify-content: center; float: none !important; width: 100% !important; height: 46px !important; min-height: 46px; margin: 0 !important; padding: 0 16px !important; border: 0 !important; border-radius: 4px !important; background: var(--scc-btn-bg, var(--scc-primary)) !important; color: #fff !important; font-weight: 700 !important; font-size: 15px !important; line-height: 1 !important; font-family: var(--scc-font) !important; text-transform: uppercase; letter-spacing: 0 !important; }
form.scc-checkout.scc-style-classic .scc-classic-head { color: var(--scc-heading) !important; text-transform: none !important; letter-spacing: 0 !important; }
form.scc-checkout.scc-style-classic .scc-review-table { width: 100% !important; border-collapse: collapse !important; table-layout: auto !important; background: #fff !important; }
form.scc-checkout.scc-style-classic .scc-review-table thead, form.scc-checkout.scc-style-classic .scc-review-table tbody { display: none !important; }
form.scc-checkout.scc-style-classic .scc-review-table tfoot { display: table-footer-group !important; }
form.scc-checkout.scc-style-classic .scc-review-table tfoot th, form.scc-checkout.scc-style-classic .scc-review-table tfoot td { background: #fff !important; color: var(--scc-heading) !important; font-weight: 700 !important; font-size: 15px !important; line-height: 1.4 !important; font-family: var(--scc-font) !important; text-transform: none !important; vertical-align: middle !important; }
form.scc-checkout.scc-style-classic .scc-review-table tfoot th { text-align: left !important; }
form.scc-checkout.scc-style-classic .scc-review-table tfoot td { text-align: right !important; }
form.scc-checkout.scc-style-classic .scc-review-table .order-total th, form.scc-checkout.scc-style-classic .scc-review-table .order-total td { font-size: 16px !important; }
form.scc-checkout.scc-style-classic .scc-review-table .order-total small, form.scc-checkout.scc-style-classic .scc-review-table .includes_tax { display: block; font-size: 11px; font-weight: 400; color: #888; }
form.scc-checkout.scc-style-classic .scc-coupon-tag { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 1px 8px; border-radius: 20px; background: #f1f3f5; color: #555; font-size: 12px; font-weight: 600; }
form.scc-checkout.scc-style-classic .scc-coupon-tag a { color: #e2401c !important; text-decoration: none !important; font-size: 14px; line-height: 1; }
form.scc-checkout.scc-style-classic .scc-no-shipping { display: block; font-size: 12px; font-weight: 400; color: #b42318; text-align: left; }
form.scc-checkout.scc-style-classic .scc-co-items-table table { width: 100% !important; margin: 0 !important; border-collapse: collapse !important; background: #fff !important; }
form.scc-checkout.scc-style-classic .scc-co-items-table th { background: #fff !important; color: var(--scc-heading) !important; font-weight: 700 !important; font-size: 16px !important; line-height: 1.4 !important; font-family: var(--scc-font) !important; text-transform: none !important; text-align: center !important; }
form.scc-checkout.scc-style-classic .scc-co-items-table td { background: #fff !important; color: var(--scc-heading) !important; font-size: 15px !important; vertical-align: middle !important; }
form.scc-checkout.scc-style-classic .scc-classic-coupon .scc-coupon-input { flex: 1; width: auto !important; margin: 0 !important; background: #fff !important; color: var(--scc-heading) !important; font-size: 15px !important; }
form.scc-checkout.scc-style-classic .scc-classic-coupon .scc-coupon-btn { text-transform: uppercase; font-size: 15px !important; line-height: 1 !important; min-height: 0 !important; }
.woocommerce-checkout .e-checkout__container:has(form.scc-checkout) { display: block !important; }form.scc-checkout #ship-to-different-address, form.scc-checkout.scc-style-classic .woocommerce-shipping-fields, form.scc-checkout.scc-style-classic .woocommerce-additional-fields > h3 { display: none !important; }
/* District & Thana icons */
.scc-style-classic #billing_state_field .woocommerce-input-wrapper::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222831' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M9 4L3 6v14l6-2 6 2 6-2V4l-6 2z'/%3E%3Cpath d='M9 4v14M15 6v14'/%3E%3C/svg%3E"); }
.scc-style-classic #billing_city_field .woocommerce-input-wrapper::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23222831'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
form.scc-checkout.scc-style-classic .form-row select:disabled { background-color: #f7f8f9 !important; color: #999 !important; cursor: not-allowed; }
form.scc-checkout.scc-style-classic .form-row .select2-container .select2-selection--single { display: flex !important; align-items: center; border: 0 !important; background: #fff !important; }
form.scc-checkout.scc-style-classic .form-row .select2-container .select2-selection__rendered { padding: 0 !important; line-height: 46px !important; color: var(--scc-heading) !important; }
form.scc-checkout.scc-style-classic .form-row .select2-container .select2-selection__arrow { height: 46px !important; right: 8px !important; }

/* ---------- Mobile (phones & small tablets) ---------- */
@media (max-width: 991px) {
	form.scc-checkout.scc-style-classic .scc-classic-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
	/* Phones: form + Place Order first, Order Information below it. */
	form.scc-checkout.scc-style-classic .scc-co-main { order: 1 !important; }
	form.scc-checkout.scc-style-classic .scc-co-side { order: 2 !important; position: static !important; top: auto !important; }
}
@media (max-width: 767px) {
	form.scc-checkout.scc-style-classic .scc-classic-bar { padding: 12px 14px !important; font-size: 14px !important; line-height: 1.45 !important; }
	form.scc-checkout.scc-style-classic .scc-classic-fields { padding: 14px 12px 4px !important; }
	form.scc-checkout.scc-style-classic .form-row { margin-bottom: 14px !important; }
	form.scc-checkout.scc-style-classic .form-row > label { font-size: 14px !important; margin-bottom: 6px !important; }
	form.scc-checkout.scc-style-classic .form-row .woocommerce-input-wrapper::before { width: 44px !important; background-size: 16px !important; }
	form.scc-checkout.scc-style-classic .form-row .input-text, form.scc-checkout.scc-style-classic .form-row select, form.scc-checkout.scc-style-classic .form-row .select2-container .select2-selection--single { height: 46px !important; min-height: 46px !important; padding-left: 12px !important; font-size: 16px !important; }
	form.scc-checkout.scc-style-classic .scc-classic-payment { padding: 14px 12px 16px !important; }
	form.scc-checkout.scc-style-classic #payment div.payment_box { font-size: 13px !important; }
	form.scc-checkout.scc-style-classic .woocommerce-privacy-policy-text p { font-size: 11px !important; line-height: 1.5; }
	form.scc-checkout.scc-style-classic #place_order { height: 50px !important; font-size: 16px !important; }
	form.scc-checkout.scc-style-classic .scc-classic-head { padding: 12px 12px !important; font-size: 15px !important; }
	form.scc-checkout.scc-style-classic .scc-classic-inner { padding: 8px !important; }
	form.scc-checkout.scc-style-classic .scc-co-items-table th { padding: 8px 4px !important; font-size: 12px !important; }
	form.scc-checkout.scc-style-classic .scc-co-items-table td { padding: 8px 4px !important; font-size: 13px !important; }
	form.scc-checkout.scc-style-classic .scc-ot-del { width: 34px; }
	form.scc-checkout.scc-style-classic .scc-ot-name { max-width: none; font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	form.scc-checkout.scc-style-classic .scc-otable .scc-qty { height: 30px; display: inline-flex; }
	form.scc-checkout.scc-style-classic .scc-otable .scc-qty-btn { width: 24px !important; min-width: 0 !important; padding: 0 !important; }
	form.scc-checkout.scc-style-classic .scc-otable .scc-qty-input { width: 26px !important; font-size: 13px !important; padding: 0 !important; }
	form.scc-checkout.scc-style-classic .scc-ot-price { font-size: 13px !important; }
	form.scc-checkout.scc-style-classic .scc-review-table tfoot th, form.scc-checkout.scc-style-classic .scc-review-table tfoot td { padding: 9px 8px !important; font-size: 14px !important; }
	form.scc-checkout.scc-style-classic .scc-review-table .order-total th, form.scc-checkout.scc-style-classic .scc-review-table .order-total td { font-size: 15px !important; }
	form.scc-checkout.scc-style-classic .scc-classic-coupon { padding: 6px !important; }
	form.scc-checkout.scc-style-classic .scc-classic-coupon .scc-coupon-row { gap: 6px !important; }
	form.scc-checkout.scc-style-classic .scc-classic-coupon .scc-coupon-input { height: 40px !important; min-height: 40px !important; font-size: 16px !important; padding: 0 10px !important; }
	form.scc-checkout.scc-style-classic .scc-classic-coupon .scc-coupon-btn { height: 40px !important; padding: 0 16px !important; font-size: 13px !important; }
}
@media (max-width: 380px) {
	form.scc-checkout.scc-style-classic .scc-co-items-table th:first-child, form.scc-checkout.scc-style-classic .scc-co-items-table td:first-child { width: 28px; padding-left: 2px !important; padding-right: 2px !important; }
	form.scc-checkout.scc-style-classic .scc-co-items-table th { font-size: 11px !important; }
}
form.scc-checkout .scc-coupon-row { display: flex !important; align-items: center; min-width: 0; }
form.scc-checkout .scc-coupon-input { min-width: 0 !important; flex: 1 1 auto !important; width: 100% !important; }
form.scc-checkout .scc-coupon-btn { flex: 0 0 auto !important; white-space: nowrap; }
form.scc-checkout select.select2-hidden-accessible, form.scc-checkout.scc-style-classic .form-row select.select2-hidden-accessible { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; margin: -1px !important; padding: 0 !important; border: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; }
form.scc-checkout .scc-co-grid > * { min-width: 0 !important; }
form.scc-checkout .woocommerce-input-wrapper { min-width: 0; position: relative; }

/* Theme conflict fix (v1.2.3): block themes / Hello Elementor give the checkout's "alignwide" wrapper
   negative margins (-80px) on phones, which pushes the checkout off screen. Keep it inside the page. */
body.scc-co-page .woocommerce.alignwide, body.scc-co-page .woocommerce.alignfull,
body.scc-co-page .wp-block-group.alignwide:has(form.scc-checkout), body.scc-co-page .wp-block-group.alignfull:has(form.scc-checkout) { margin-left: auto !important; margin-right: auto !important; width: auto !important; max-width: 100% !important; box-sizing: border-box; }
form.scc-checkout, form.scc-checkout * { box-sizing: border-box; }
form.scc-checkout .scc-co-grid > * { min-width: 0 !important; }

/* Theme checkout builders (WoodMart etc.): our inline coupon replaces the theme's coupon toggle. */
body.scc-inline-coupon .woocommerce-form-coupon-toggle, body.scc-inline-coupon form.checkout_coupon, body.scc-inline-coupon .wd-checkout-coupon { display: none !important; }
.scc-checkout-wrap.scc-replaced { width: 100%; max-width: 1200px; margin: 0 auto; }
/* ==========================================================================
   Thank-you page (v1.4)
   ========================================================================== */
.scc-ty-page .woocommerce-order > p, .scc-ty-page .woocommerce-thankyou-order-received { display: none; }
.scc-ty-wrap { max-width: 880px; margin: 0 auto; font-family: var(--scc-font); }
.scc-ty { display: grid; gap: 16px; }
.scc-ty-card { padding: 22px 22px; border: 1px solid #e6e8ec; border-radius: 6px; background: #fff; box-shadow: 0 10px 30px -18px rgba(16, 24, 40, .25); }
.scc-ty-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: center; border-top: 4px solid var(--scc-primary); }
.scc-ty-badge { display: inline-flex; align-items: center; gap: 8px; color: #475467; font-size: 13px; font-weight: 700; }
.scc-ty-check { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--scc-primary); color: #fff; }
.scc-ty-title { margin: 10px 0 8px !important; color: var(--scc-heading) !important; font-size: 34px !important; font-weight: 800 !important; line-height: 1.25 !important; }
.scc-ty-text { margin: 0; color: #667085; font-size: 14px; line-height: 1.6; }
.scc-ty-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scc-ty-box { padding: 12px 12px; border: 1px solid #e6e8ec; border-radius: 6px; background: #f8f9fb; }
.scc-ty-box small { display: block; margin-bottom: 4px; color: #667085; font-size: 10.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.scc-ty-box b { display: block; color: var(--scc-heading); font-size: 14px; font-weight: 700; word-break: break-word; }
.scc-ty-box b .amount { color: inherit; }
.scc-ty-note { padding: 16px 18px; color: #667085; font-size: 14px; }
.scc-ty-note p:last-child, .scc-ty-note ul:last-child { margin-bottom: 0; }
.scc-ty-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.scc-ty-head h2, .scc-ty-address h2 { margin: 0 !important; color: var(--scc-heading) !important; font-size: 22px !important; font-weight: 800 !important; }
.scc-ty-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 20px; border-radius: 30px; background: var(--scc-primary); color: #fff !important; font-size: 13.5px; font-weight: 700; text-decoration: none !important; white-space: nowrap; transition: background .2s; }
.scc-ty-btn:hover { background: var(--scc-primary-hover, var(--scc-primary)); color: #fff !important; }
.scc-ty-table { width: 100%; margin: 0 !important; border-collapse: collapse !important; border: 1px solid #e6e8ec !important; font-size: 14px; }
.scc-ty-table th, .scc-ty-table td { padding: 14px 14px !important; border: 1px solid #e6e8ec !important; background: #fff; color: var(--scc-heading); vertical-align: middle; }
.scc-ty-table thead th { background: #f6f7f9; font-weight: 700; text-align: left; }
.scc-ty-table thead th:last-child, .scc-ty-table td:last-child { text-align: right; }
.scc-ty-table tbody td { background: #f6f7f9; }
.scc-ty-table tfoot th { text-align: right; font-weight: 700; }
.scc-ty-table tfoot td { font-weight: 700; }
.scc-ty-table tfoot .scc-ty-order_total th, .scc-ty-table tfoot .scc-ty-order_total td { font-size: 15px; }
.scc-ty-item { display: flex; align-items: center; gap: 12px; }
.scc-ty-thumb img { display: block; width: 46px !important; height: 46px !important; object-fit: cover; border-radius: 4px; border: 1px solid #e6e8ec; }
.scc-ty-item b { font-weight: 700; }
.scc-ty-item em { color: #667085; font-style: normal; font-weight: 700; font-size: 12px; }
.scc-ty-imeta { margin-top: 2px; color: #667085; font-size: 12px; }
.scc-ty-imeta p { display: inline; margin: 0; }
.scc-ty-addr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; margin-top: 14px; }
.scc-ty-addr-grid small { display: block; margin-bottom: 4px; color: #667085; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.scc-ty-addr-grid p { margin: 0; color: var(--scc-heading); font-size: 14px; line-height: 1.6; }
.scc-ty-plain, .scc-ty-failed { text-align: center; }
.scc-ty-plain h1, .scc-ty-failed h1 { margin: 12px 0 8px !important; font-size: 26px !important; }
.scc-ty-plain .scc-ty-check { width: 48px; height: 48px; }
.scc-ty-extra { margin-top: 16px; }
.scc-ty-sc .scc-ty { gap: 0; }
@media (max-width: 767px) {
	.scc-ty-card { padding: 16px 14px; }
	.scc-ty-hero { grid-template-columns: 1fr; gap: 14px; }
	.scc-ty-title { font-size: 26px !important; }
	.scc-ty-head h2, .scc-ty-address h2 { font-size: 18px !important; }
	.scc-ty-btn { min-height: 36px; padding: 0 14px; font-size: 12.5px; }
	.scc-ty-table th, .scc-ty-table td { padding: 10px 8px !important; font-size: 13px; }
	.scc-ty-thumb img { width: 40px !important; height: 40px !important; }
	.scc-ty-addr-grid { grid-template-columns: 1fr; }
}

/* ---------- Checkout: wider on phones (v1.4) ---------- */
@media (max-width: 767px) {
	form.scc-checkout.scc-style-classic { width: calc(100% + 16px) !important; max-width: none; margin-left: -8px !important; margin-right: -8px !important; }
	form.scc-checkout.scc-style-classic .scc-co-grid { gap: 12px !important; }
	form.scc-checkout.scc-style-classic .scc-card { border-radius: 6px; }
	form.scc-checkout.scc-style-classic .scc-classic-bar { padding: 12px 12px !important; }
	form.scc-checkout.scc-style-classic .scc-classic-fields { padding: 12px 10px 2px !important; }
	form.scc-checkout.scc-style-classic .scc-classic-payment { padding: 12px 10px 14px !important; }
	form.scc-checkout.scc-style-classic .form-row .woocommerce-input-wrapper::before { width: 40px !important; }
	form.scc-checkout.scc-style-classic .scc-classic-inner { padding: 6px !important; }
	form.scc-checkout.scc-style-classic .scc-classic-head { padding: 12px 10px !important; }
}
/* Theme "added to cart" notices that some themes print above the checkout */
.scc-co-page .woocommerce-notices-wrapper .woocommerce-message:has(.wc-forward) { display: none; }@media (max-width: 767px) { body.scc-co-page { overflow-x: clip; } }
