/* =============================================================================
   Optikrina — cart / checkout / thank-you pages (design sections 8–10)
   Same visual language as the configurator. Namespaced `olc-`.
   ========================================================================== */

.olc-page {
	--ink: #111111;
	--muted: #4B4944;
	--soft: #7B7972;
	--line: #D9D6CF;
	--surface: #F5F3EE;
	--green: #189B4E;
	font-family: 'Montserrat', system-ui, sans-serif;
	color: var(--ink);
	max-width: 1180px;
	margin: 0 auto;
	padding: 8px 16px 90px;
	box-sizing: border-box;
}
.olc-page *, .olc-page *::before, .olc-page *::after { box-sizing: border-box; }

/* New palette: pages sit on a WHITE canvas (design "fundal alb") */
body.woocommerce-cart,
body.olc-checkout-page,
body.olc-thankyou-page { background: #FFFFFF !important; }
.olc-page a { color: var(--ink); text-decoration: none; }
.olc-page h1, .olc-page h2 { font-family: inherit; }

/* Buttons */
.olc-btn-primary {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 52px;
	border: none;
	border-radius: 99px;
	background: var(--green);
	color: #fff !important;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s, transform .1s;
	text-align: center;
}
.olc-btn-primary:hover { background: #12813F; }
.olc-btn-primary:active { transform: scale(.98); }
.olc-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 22px;
	border: 1.5px solid var(--ink);
	border-radius: 99px;
	background: #fff;
	color: var(--ink);
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s, color .2s;
}
.olc-btn-outline:hover { background: var(--ink); color: #fff; }

/* =============================================================================
   CART
   ========================================================================== */
.olc-cart-head { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 0; }
.olc-cart-head h1 { margin: 0; font-size: 26px; font-weight: 700; }
.olc-cart-count { font-size: 13px; color: var(--soft); }

.olc-cart-grid {
	display: grid;
	grid-template-columns: 1fr 336px;
	gap: 22px;
	margin-top: 20px;
	align-items: start;
}
.olc-cart-main { min-width: 0; }

/* Rewards bar */
.olc-rewards {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 15px 20px 14px;
	margin-bottom: 14px;
}
.olc-rewards-msg { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; }
.olc-rewards-ic { display: inline-flex; color: var(--green); flex: none; }
.olc-rewards-ic svg { display: block; }
.olc-rewards-msg .woocommerce-Price-amount { font-weight: 700; }
.olc-rewards-track {
	position: relative !important;
	height: 8px !important;
	max-height: 8px !important;
	border-radius: 99px;
	background: #E1DED7;
	margin-top: 11px;
	overflow: hidden !important;
	display: block !important;
}
.olc-rewards-fill { display: block !important; height: 8px !important; max-height: 8px !important; border-radius: 99px; background: var(--green); transition: width .3s; }
.olc-rewards-marker { position: absolute; top: 0; width: 2px !important; height: 8px !important; background: #fff; }
.olc-rewards-badges { display: flex; gap: 8px; margin-top: 10px; }
.olc-reward-badge {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 8px 11px;
	border-radius: 11px;
	background: var(--surface);
	font-size: 11px;
	font-weight: 600;
	color: var(--muted);
	max-height: 42px !important;
	overflow: hidden !important;
}
.olc-reward-badge svg { flex: none; display: block; }
.olc-reward-badge .olc-rb { flex: 1; max-height: 30px; overflow: hidden; }
.olc-rb-short { display: none; }
.olc-reward-badge.olc-done { background: var(--green); color: #fff; }
.olc-rewards { overflow: hidden !important; }
.olc-rewards-msg span { max-height: 60px; overflow: hidden; }

/* Item card */
.olc-cart-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 20px 22px;
	margin-bottom: 14px;
}
.olc-cart-item { display: flex; gap: 18px; align-items: flex-start; }
.olc-cart-thumb {
	width: 118px;
	height: 118px;
	flex: none;
	border-radius: 14px;
	background-color: #F1EFEA;
	background-size: cover;
	background-position: center;
	background-blend-mode: multiply;
}
.olc-cart-item-body { flex: 1; min-width: 0; }
.olc-cart-item-top { display: flex; align-items: flex-start; gap: 14px; }
.olc-cart-item-names { flex: 1; min-width: 0; }
.olc-cart-item-names h2 { margin: 0; font-size: 18px; font-weight: 700; }
.olc-cart-brand { font-size: 11.5px; color: var(--soft); margin-top: 3px; }
.olc-cart-configured {
	display: inline-block;
	margin: 8px 6px 0 0;
	padding: 4px 9px;
	border-radius: 6px;
	background: #4274D9;
	font-size: 10.5px;
	font-weight: 600;
	color: #fff;
}
.olc-cart-gift-badge { background: var(--green); }
.olc-cart-size {
	display: inline-block;
	margin: 8px 0 0;
	padding: 4px 9px;
	border-radius: 6px;
	background: #EFEFEC;
	font-size: 10.5px;
	font-weight: 600;
	color: #55534D;
	white-space: nowrap;
}
.olc-cart-item-price { flex: none; text-align: right; font-size: 17px; font-weight: 700; }
.olc-cart-item-price s { font-size: 12px; color: var(--soft); font-weight: 500; margin-right: 4px; }
.olc-cart-unit-note { font-size: 11px; color: var(--soft); font-weight: 400; margin-top: 2px; }
.olc-cart-item-actions { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.olc-qty {
	display: flex;
	align-items: center;
	border: 1px solid #C9C5BC;
	border-radius: 99px;
	height: 34px;
	overflow: hidden;
}
.olc-qty button {
	width: 34px;
	height: 34px;
	border: none !important;
	background: none !important;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	color: #111111 !important;
	font-family: inherit;
	line-height: 1;
	padding: 0 !important;
	box-shadow: none !important;
}
.olc-qty button:disabled { color: #C9C5BC !important; cursor: default; }
.olc-qty button:hover:not(:disabled) { background: #F1EFEA; }
.olc-qty span { min-width: 26px; text-align: center; font-size: 13px; font-weight: 600; }
.olc-cart-remove {
	border: none;
	background: none;
	font-family: inherit;
	font-size: 12px;
	color: var(--soft);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
	padding: 0;
}
.olc-cart-remove:hover { color: #E05252; }

/* Lens block — bordered panel with header row (design 8) */
.olc-lens-block {
	margin-top: 16px;
	border: 1px solid #D9D6CF;
	border-radius: 14px;
	overflow: hidden;
}
.olc-lens-block-head {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 11px 14px;
	background: #FAFAF8;
	border-bottom: 1px solid #F0F0EE;
}
.olc-lens-block-ic { display: inline-flex; color: var(--ink); flex: none; }
.olc-lens-block-ic svg { display: block; }
.olc-lens-block-title { font-size: 13px; font-weight: 700; }
.olc-lens-block-sub { font-size: 11px; color: var(--soft); margin-left: auto; }
.olc-lens-row {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 11px 14px;
	border-bottom: 1px solid #F6F6F4;
	font-size: 12.5px;
}
.olc-lens-row:last-child { border-bottom: none; }
.olc-lens-row-rx { background: #FAFAF8; }
.olc-lens-row-label { flex: none; width: 128px; color: var(--soft); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.olc-lens-row-value { flex: 1; min-width: 0; font-weight: 600; }
.olc-lens-row-price { flex: none; font-size: 11.5px; font-weight: 600; color: var(--green); }
.olc-lens-row-edit {
	flex: none;
	border: none;
	background: none;
	font-family: inherit;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--ink);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
	padding: 0;
}
.olc-lens-row-edit:hover { color: var(--green); }

/* Gift offer */
.olc-gift-offer {
	display: flex;
	gap: 16px;
	align-items: center;
	background: var(--surface);
	border: 1px solid #E3E3E3;
	border-radius: 16px;
	padding: 14px 18px;
	margin-bottom: 14px;
}
.olc-gift-thumb { width: 64px; height: 64px; border-radius: 10px; background-color: #fff; background-size: contain; background-repeat: no-repeat; }
.olc-gift-offer-body { flex: 1; min-width: 0; }
.olc-gift-offer-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.olc-gift-offer-name { font-size: 13.5px; font-weight: 700; }
.olc-gift-offer-free { font-size: 10.5px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .05em; }
.olc-gift-offer-desc { font-size: 12px; color: var(--muted); margin-top: 3px; }
.olc-gift-offer-body > a { font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.olc-gift-offer-right { flex: none; text-align: right; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.olc-gift-offer-price { font-size: 14px; font-weight: 700; }
.olc-gift-tag {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 99px;
	background: #E8F5EE;
	border: 1px solid #BFE3CF;
	color: #111;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

.olc-gift-included .olc-cart-thumb { width: 84px; height: 84px; background-size: contain; background-repeat: no-repeat; background-position: center; }
.olc-gift-included h2 { font-size: 15px; }

.olc-trust-line {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	font-size: 11.5px;
	color: var(--soft);
	text-align: center;
	padding: 4px 12px 0;
	line-height: 1.6;
}
.olc-trust-line svg { flex: none; }

/* "Vezi produsul" link on the included-gift card */
a.olc-gift-link {
	display: table;
	color: var(--soft);
	text-decoration: underline;
	text-underline-offset: 3px;
	margin-top: 3px;
}
a.olc-gift-link:hover { color: #111; }

/* Summary */
.olc-cart-summary, .olc-ty-summary {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 20px 22px;
	position: sticky;
	top: 24px;
}
.olc-summary-title { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.olc-summary-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 12.5px;
	color: #3A3833;
	padding: 5px 0;
}
.olc-summary-row .woocommerce-Price-amount { font-weight: 600; color: var(--ink); }
.olc-summary-free { color: var(--green); font-weight: 700; }
.olc-summary-gift { color: var(--green); font-weight: 700; }
.olc-summary-discount { color: var(--green); }
.olc-coupon-form { display: flex; gap: 8px; margin-top: 10px; }
.olc-coupon-form input {
	flex: 1;
	min-width: 0;
	height: 42px;
	padding: 0 14px;
	border: 1.5px solid #D9D6CF;
	border-radius: 12px;
	font-family: inherit;
	font-size: 13px;
	outline: none;
}
.olc-coupon-form input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,17,17,.1); }
.olc-coupon-form .olc-btn-outline { padding: 0 18px; height: 42px; }
.olc-coupon-err { color: #E05252; font-size: 11.5px; margin-top: 6px; }
.olc-coupon-remove {
	border: none;
	background: none;
	font-family: inherit;
	font-size: 11px;
	color: var(--soft);
	cursor: pointer;
	text-decoration: underline;
	padding: 0;
	margin-left: 6px;
}
.olc-summary-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	border-top: 1px solid #F0F0EE;
	margin-top: 12px;
	padding-top: 10px;
	font-size: 13px;
	font-weight: 600;
}
.olc-summary-total strong { font-size: 19px; font-weight: 700; }
.olc-summary-vat { font-size: 11px; color: var(--soft); margin: 4px 0 12px; text-align: right; }
.olc-summary-qty { font-weight: 600; color: var(--ink); }
.olc-summary-gift-row > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.olc-summary-gift-ic { display: inline-flex; color: var(--green); }
.olc-summary-gift-ic svg { display: block; }
.olc-btn-primary svg { flex: none; margin-left: 8px; }
.olc-btn-primary { max-height: 52px !important; gap: 0; }
.olc-continue-shopping {
	display: block;
	text-align: center;
	font-size: 12.5px;
	color: var(--muted);
	margin-top: 12px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Empty cart */
.olc-cart-empty {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 48px 24px;
	margin-top: 20px;
	text-align: center;
}
.olc-cart-empty-title { font-size: 18px; font-weight: 700; }
.olc-cart-empty p { color: var(--muted); font-size: 13.5px; margin: 8px 0 18px; }

/* Mobile sticky bar — design 8b: total row + full-width button underneath */
.olc-cart-bar {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9990;
	padding: 11px 14px calc(14px + env(safe-area-inset-bottom, 8px));
	background: #FFFFFF;
	border-top: 1px solid #D9D6CF;
	box-sizing: border-box;
}
.olc-cart-bar .olc-btn-primary,
.olc-cart-bar-btn {
	width: 100% !important;
	height: 50px !important;
	margin: 9px 0 0 !important;
	border-radius: 99px !important;
	font-size: 14px !important;
	white-space: nowrap;
}
.olc-cart-bar span, .olc-co-bar span { font-family: 'Montserrat', system-ui, sans-serif; }

/* Checkout mobile sticky bar — design 9b */
.olc-co-bar {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9990;
	padding: 11px 14px calc(14px + env(safe-area-inset-bottom, 8px));
	background: #FFFFFF;
	border-top: 1px solid #D9D6CF;
	box-sizing: border-box;
	font-family: 'Montserrat', system-ui, sans-serif;
}
.olc-co-bar-btn:active { transform: scale(.98); }

/* Qty pill armor — the inline styles do the layout; these guard against
   theme rules with !important that could still leak in. */
.olc-qty {
	display: inline-flex !important;
	flex: none !important;
	width: auto !important;
	max-width: none !important;
	height: 34px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}
.olc-qty button {
	width: 34px !important;
	min-width: 34px !important;
	max-width: 34px !important;
	height: 34px !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: none !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	line-height: 1 !important;
}
.olc-qty span {
	min-width: 26px !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: none !important;
}

.olc-cart-loading { opacity: .55; pointer-events: none; transition: opacity .15s; }

@media (max-width: 900px) {
	.olc-cart-grid { grid-template-columns: 1fr; }
	.olc-reward-badge { max-height: 34px !important; padding: 7px 10px; }
	.olc-rb-long { display: none; }
	.olc-rb-short { display: inline; white-space: nowrap; font-size: 10.5px; }
	/* Design 8b: label above the value, price + Modifică on the right */
	.olc-lens-row {
		display: grid;
		grid-template-columns: 1fr auto auto;
		align-items: center;
		column-gap: 10px;
		row-gap: 3px;
	}
	.olc-lens-row-label { grid-column: 1 / -1; width: auto; }
	.olc-lens-row-value { min-width: 0; }
	.olc-lens-row-price { font-size: 11px; white-space: nowrap; }
	.olc-reward-badge svg:last-child:not(:first-child) { display: none; } /* fără bifă pe mobil, ca în design */
	.olc-rb-short { font-size: 10px; }
	.olc-gift-included .olc-cart-unit-note { display: none; }
	.olc-gift-included h2 { font-size: 13.5px; }
	.olc-gift-included .olc-cart-thumb { width: 64px; height: 64px; }
	.olc-gift-included h2 { font-size: 14px; }
	.olc-cart-summary { position: static; }
	.olc-cart-summary .olc-btn-primary { display: none; }
	.olc-cart-bar { display: block; }
	/* Space for the fixed bottom bar goes AFTER the whole grid (main + summary),
	   not between them. */
	.olc-cart-grid { padding-bottom: 132px; }
	.olc-cart-thumb { width: 84px; height: 84px; border-radius: 12px; }
	.olc-cart-item { gap: 13px; }
	.olc-cart-card { padding: 14px; border-radius: 18px; }
	/* Design 8b card: price UNDER the badges (14px bold), no top-right price,
	   no "ramă + lentile" note, badges on one wrapping row. */
	.olc-cart-item-top { display: block; }
	.olc-cart-item-names h2 { font-size: 15px; }
	.olc-cart-configured, .olc-cart-size { margin: 6px 6px 0 0; padding: 3px 8px; font-size: 10px; }
	.olc-cart-item-price { text-align: left; font-size: 14px; margin-top: 6px; }
	.olc-cart-unit-note { display: none; }
	.olc-gift-included .olc-cart-item-top { display: flex; }
	.olc-gift-included .olc-cart-item-price { margin-top: 0; }
	/* Design 8b pill: 40×36 touch targets, 17px signs */
	.olc-cart-item-actions { gap: 14px; margin-top: 12px; }
	.olc-qty { height: 36px !important; }
	.olc-qty button {
		width: 40px !important;
		min-width: 40px !important;
		max-width: 40px !important;
		height: 36px !important;
		font-size: 17px !important;
	}
	.olc-qty span { min-width: 24px !important; }
	.olc-lens-row-label { width: 92px; }
	.olc-gift-offer { flex-wrap: wrap; }
}

/* =============================================================================
   "ADĂUGAT ÎN COȘ" POPUP (design 11) — lens-free products only
   ========================================================================== */
body.occ-ap-open { overflow: hidden; }
body.occ-ap-open .woocommerce-notices-wrapper,
body.occ-ap-open .woocommerce-message { display: none !important; }
.occ-ap-overlay {
	position: fixed;
	inset: 0;
	background: rgba(17, 17, 17, .42);
	z-index: 99998;
}
.occ-ap {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 430px;
	max-width: 100vw;
	background: #fff;
	box-shadow: -18px 0 46px rgba(0, 0, 0, .16);
	display: flex;
	flex-direction: column;
	z-index: 99999;
	font-family: 'Montserrat', system-ui, sans-serif;
	color: #111;
	animation: occApIn .25s ease-out;
	box-sizing: border-box;
}
.occ-ap *, .occ-ap *::before, .occ-ap *::after { box-sizing: border-box; }
@keyframes occApIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.occ-ap-handle { display: none; }
.occ-ap-head {
	flex: none;
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 20px 22px;
	border-bottom: 1px solid #D9D6CF;
}
.occ-ap-check {
	width: 26px;
	height: 26px;
	flex: none;
	border-radius: 50%;
	background: #189B4E;
	display: flex;
	align-items: center;
	justify-content: center;
}
.occ-ap-head-txt { flex: 1; min-width: 0; }
.occ-ap-head-txt b { display: block; font-size: 15px; font-weight: 700; }
.occ-ap-head-txt i { display: block; font-style: normal; font-size: 11px; color: #7B7972; margin-top: 1px; }
.occ-ap-x {
	width: 30px;
	height: 30px;
	flex: none;
	border-radius: 50%;
	border: 1px solid #D9D6CF;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}
.occ-ap-x:hover { background: #F1EFEA; }
.occ-ap-body { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 22px; }
.occ-ap-item { display: flex; gap: 14px; align-items: flex-start; }
.occ-ap-thumb {
	width: 92px;
	height: 92px;
	flex: none;
	border-radius: 14px;
	background-color: #F1EFEA;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}
.occ-ap-meta { flex: 1; min-width: 0; }
.occ-ap-meta > b { display: block; font-size: 14.5px; font-weight: 700; }
.occ-ap-meta > i { display: block; font-style: normal; font-size: 11.5px; color: #7B7972; margin-top: 2px; }
.occ-ap-badge {
	display: inline-block;
	font-style: normal;
	margin-top: 8px;
	padding: 4px 9px;
	border-radius: 7px;
	background: #F2820D;
	font-size: 10px;
	font-weight: 600;
	color: #fff;
}
.occ-ap-qtyrow { display: flex; align-items: center; gap: 12px; margin-top: 11px; }
.occ-ap-qty {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	border: 1px solid #C9C5BC;
	border-radius: 99px;
	padding: 4px 10px;
}
.occ-ap-qty button {
	border: none;
	background: none;
	padding: 0;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	color: #111;
	cursor: pointer;
	line-height: 1;
}
.occ-ap-qty button:disabled { color: #B4B1A9; cursor: default; }
.occ-ap-qty b { min-width: 16px; text-align: center; font-size: 13px; font-weight: 700; }
.occ-ap-lineprice { font-size: 14px; font-weight: 700; }
.occ-ap-rewards {
	margin-top: 18px;
	border: 1px solid #D9D6CF;
	border-radius: 16px;
	padding: 14px 15px;
	background: #F5F3EE;
}
.occ-ap-rewards-msg { display: flex; align-items: center; gap: 9px; }
.occ-ap-rewards-msg span { flex: 1; font-size: 12px; font-weight: 600; line-height: 1.45; color: #111; }
.occ-ap-track {
	height: 8px;
	border-radius: 99px;
	background: #E1DED7;
	margin-top: 11px;
	overflow: hidden;
}
.occ-ap-track span { display: block; height: 100%; background: #7ADAA5; border-radius: 99px; transition: width .3s; }
.occ-ap-thresholds { display: flex; justify-content: space-between; margin-top: 7px; font-size: 10.5px; font-weight: 600; color: #55534D; }
.occ-ap-subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; font-size: 13px; color: #3A3833; }
.occ-ap-subtotal b { font-size: 19px; font-weight: 700; color: #111; }
.occ-ap-vat { font-size: 10.5px; color: #7B7972; margin-top: 2px; text-align: right; }
.occ-ap-foot {
	flex: none;
	border-top: 1px solid #D9D6CF;
	padding: 16px 22px 20px;
	display: flex;
	flex-direction: column;
	gap: 9px;
}
.occ-ap-primary {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 50px;
	border: none;
	border-radius: 99px;
	background: #189B4E;
	color: #fff !important;
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none !important;
	cursor: pointer;
}
.occ-ap-primary:active { transform: scale(.98); }
.occ-ap-outline {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 46px;
	border: 2px solid #111;
	border-radius: 99px;
	background: #fff;
	color: #111 !important;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none !important;
	cursor: pointer;
}
.occ-ap-outline:hover { background: #111; color: #fff !important; }
.occ-ap-continue { text-align: center; margin-top: 2px; }
.occ-ap-continue a {
	font-size: 12px;
	font-weight: 600;
	color: #4B4944 !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}
@media (max-width: 900px) {
	.occ-ap {
		top: auto;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		max-height: min(640px, 88vh);
		border-radius: 22px 22px 0 0;
		box-shadow: 0 -14px 40px rgba(0, 0, 0, .18);
		animation: occApUp .28s ease-out;
	}
	@keyframes occApUp { from { transform: translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }
	.occ-ap-handle { display: flex; flex: none; justify-content: center; padding: 10px 0 0; }
	.occ-ap-handle span { width: 44px; height: 4px; border-radius: 99px; background: #D9D6CF; }
	.occ-ap-head { padding: 14px 18px; }
	.occ-ap-body { padding: 16px 18px; }
	.occ-ap-thumb { width: 80px; height: 80px; border-radius: 13px; }
	.occ-ap-meta > b { font-size: 14px; }
	.occ-ap-meta > i { font-size: 11px; }
	.occ-ap-rewards { margin-top: 15px; border-radius: 15px; padding: 13px 14px; }
	.occ-ap-subtotal { margin-top: 15px; font-size: 12.5px; }
	.occ-ap-subtotal b { font-size: 18px; }
	.occ-ap-foot { padding: 14px 18px 18px; }
	.occ-ap-primary { font-size: 15px; }
}

/* =============================================================================
   CHECKOUT — restyling the native WooCommerce form
   ========================================================================== */
body.olc-checkout-page .woocommerce {
	font-family: 'Montserrat', system-ui, sans-serif;
	color: #111;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 16px;
}
/* The wrap centers BOTH the title and the WooCommerce content to the same
   1180px column, so the h1 lines up with the cards (design 9). */
.olc-checkout-wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
}
.olc-checkout-wrap .woocommerce { max-width: none !important; padding: 0 !important; margin: 0 !important; }
.olc-co-title {
	margin: 18px 0 20px;
	font-size: 26px;
	font-weight: 700;
	color: #111;
	font-family: 'Montserrat', system-ui, sans-serif;
}
/* Kill empty spacers WooCommerce/theme leave above the form */
body.olc-checkout-page .woocommerce-notices-wrapper:empty { display: none; }
body.olc-checkout-page form.checkout > br,
body.olc-checkout-page .woocommerce > br { display: none; }
/* JS-built columns (inline styles do the layout; these are safety nets) */
.olc-co-cols { display: flex !important; }
.olc-co-left > .olc-co-step { width: 100%; box-sizing: border-box; }
body.olc-checkout-page form.checkout.olc-cols-active { display: block !important; }
body.olc-checkout-page form.checkout {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 14px 22px;
	align-items: start;
}
body.olc-checkout-page form.checkout > .olc-co-step { grid-column: 1; }
body.olc-checkout-page .olc-co-summary-wrap { grid-column: 2; grid-row: 1 / span 3; }
body.olc-checkout-page form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }

/* Design 9 has no coupon/login banners above the form */
body.olc-checkout-page .woocommerce-form-coupon-toggle,
body.olc-checkout-page form.checkout_coupon,
body.olc-checkout-page .woocommerce-form-login-toggle { display: none !important; }

/* Country: preset România, kept in the form but never shown (design 9) */
body.olc-checkout-page .form-row.olc-hidden-field,
body.olc-checkout-page #billing_country_field,
body.olc-checkout-page #shipping_country_field { display: none !important; }

/* Native section headings replaced by our step heads */
body.olc-checkout-page .woocommerce-billing-fields > h3,
body.olc-checkout-page .woocommerce-shipping-fields > h3,
body.olc-checkout-page .woocommerce-additional-fields > h3 { display: none; }

/* No stray margins between the field groups (the white-gap sources) */
body.olc-checkout-page #customer_details .col-1,
body.olc-checkout-page #customer_details .col-2 {
	width: 100%;
	float: none;
	margin: 0;
	padding: 0;
}
body.olc-checkout-page .woocommerce-billing-fields,
body.olc-checkout-page .woocommerce-additional-fields,
body.olc-checkout-page .woocommerce-account-fields,
body.olc-checkout-page .woocommerce-shipping-fields { margin: 0; padding: 0; }
body.olc-checkout-page .woocommerce-account-fields .form-row { margin: 0 0 10px; }

/* Review table: no thead, no leftover shipping row (moved to step 2) */
body.olc-checkout-page .woocommerce-checkout-review-order-table thead { display: none; }
body.olc-checkout-page .woocommerce-checkout-review-order-table tr.olc-moved { display: none; }
body.olc-checkout-page .woocommerce-checkout-review-order-table { margin: 0 !important; }
body.olc-checkout-page .woocommerce-checkout-review-order-table .product-quantity { display: none; }
body.olc-checkout-page #order_review > div:empty { display: none !important; }

/* Product line in the review table (design 9): photo + SKU + brand */
.olc-rev-item { display: flex; align-items: center; gap: 11px; }
img.olc-rev-thumb {
	width: 54px;
	height: 54px;
	flex: none;
	border-radius: 10px;
	background-color: #F1EFEA;
	object-fit: contain;
	display: block;
	margin: 0;
	box-shadow: none;
}
.olc-rev-meta { display: block; min-width: 0; }
.olc-rev-remove {
	flex: none;
	width: 24px;
	height: 24px;
	border: 1px solid #D9D6CF;
	border-radius: 50%;
	background: #fff;
	color: #7B7972;
	font-size: 15px;
	line-height: 1;
	font-family: inherit;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color .15s, border-color .15s;
}
.olc-rev-remove:hover { color: #E05252; border-color: #E05252; }
.olc-rev-remove:disabled { opacity: .5; cursor: default; }
.olc-rev-sku { display: block; font-size: 12.5px; font-weight: 700; color: #111; line-height: 1.35; }
.olc-rev-sub { display: block; font-size: 10.5px; font-weight: 500; color: #7B7972; margin-top: 2px; }
/* Product rows breathe a bit more; totals stay compact */
body.olc-checkout-page .woocommerce-checkout-review-order-table tbody td { padding: 11px 0; }
#olc-place-host { margin-top: 10px; }
#olc-place-host .woocommerce-terms-and-conditions-checkbox-text { font-size: 11px; }
#olc-place-host .validate-required label { display: flex; align-items: flex-start; gap: 7px; line-height: 1.5; }

/* Terms / privacy text in the summary card — small and centered */
#olc-place-host { margin-top: 14px; }
#olc-place-host .form-row { margin: 0 !important; width: 100%; }
#olc-place-host .woocommerce-terms-and-conditions-wrapper { margin: 10px 0 0 !important; }
#olc-place-host .woocommerce-privacy-policy-text p,
#olc-place-host .woocommerce-terms-and-conditions-checkbox-text {
	font-size: 10.5px !important;
	line-height: 1.5;
	color: #7B7972;
}
#olc-place-host .validate-required { margin: 8px 0 0 !important; }
#olc-place-host .woocommerce-privacy-policy-text p { text-align: center; margin: 10px 0 0 !important; }
body.olc-checkout-page #order_review_heading {
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 0;
	background: #fff;
	border: 1px solid #D9D6CF;
	border-bottom: none;
	border-radius: 20px 20px 0 0;
	padding: 20px 22px 0;
}
body.olc-checkout-page #order_review {
	background: #fff;
	border: 1px solid #D9D6CF;
	border-top: none;
	border-radius: 0 0 20px 20px;
	padding: 10px 22px 20px;
}

/* Step 1 card */
.olc-co-step {
	background: #fff;
	border: 1px solid #D9D6CF;
	border-radius: 20px;
	padding: 20px 22px;
}
.olc-co-step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.olc-co-step-num {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #111;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	flex: none;
}
.olc-co-step-head h2 { margin: 0; font-size: 16px; font-weight: 700; }

/* Fields — design 9: airy grid, 46px inputs, labels 11px, Prenume+Nume side by side */
body.olc-checkout-page .woocommerce-billing-fields__field-wrapper,
body.olc-checkout-page .woocommerce-shipping-fields__field-wrapper {
	display: flex;
	flex-wrap: wrap;
	column-gap: 12px;
	margin-top: 4px;
}
body.olc-checkout-page form.checkout .form-row {
	margin: 0 0 14px;
	padding: 0;
	float: none;
	width: 100%;
	flex: 1 1 100%;
	box-sizing: border-box;
}
body.olc-checkout-page form.checkout .form-row-first,
body.olc-checkout-page form.checkout .form-row-last {
	flex: 1 1 calc(50% - 6px);
	width: calc(50% - 6px);
	min-width: 200px;
}
body.olc-checkout-page form.checkout label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: #4B4944;
	margin: 0 0 6px;
	line-height: 1.3;
	letter-spacing: .01em;
}
body.olc-checkout-page form.checkout label .required {
	color: #B5B5B0;
	text-decoration: none;
	border: none;
}
body.olc-checkout-page form.checkout .woocommerce-input-wrapper { display: block; position: relative; }
body.olc-checkout-page form.checkout input.input-text,
body.olc-checkout-page form.checkout textarea,
body.olc-checkout-page form.checkout select {
	width: 100%;
	height: 46px;
	min-height: 46px;
	padding: 0 14px;
	border: 1.5px solid #D9D6CF;
	border-radius: 12px;
	font-family: inherit;
	font-size: 13.5px;
	line-height: 42px;
	color: #111;
	background: #fff;
	outline: none;
	transition: border-color .15s, box-shadow .15s;
	box-shadow: none;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
}
body.olc-checkout-page form.checkout select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 38px;
	cursor: pointer;
}
body.olc-checkout-page form.checkout textarea {
	height: auto;
	min-height: 76px;
	padding: 12px 14px;
	line-height: 1.5;
	resize: vertical;
}
body.olc-checkout-page form.checkout input.input-text::placeholder,
body.olc-checkout-page form.checkout textarea::placeholder {
	color: #B4B1A9;
	opacity: 1;
}
/* Focus: the stroke visually thickens (inner ring, no layout shift) + a soft
   outer halo — classic polished focus state. */
/* !important is required: the Bricks theme ships a global
   `*:focus { box-shadow: none !important }` that would kill the ring. */
body.olc-checkout-page form.checkout input.input-text:focus,
body.olc-checkout-page form.checkout textarea:focus,
body.olc-checkout-page form.checkout select:focus {
	border-color: #111 !important;
	box-shadow: 0 0 0 3px rgba(17, 17, 17, .10) !important;
}
body.olc-checkout-page form.checkout input.olc-valid:focus,
body.olc-checkout-page form.checkout select.olc-valid:focus {
	border-color: #189B4E !important;
	box-shadow: 0 0 0 3px rgba(24, 155, 78, .13) !important;
}
body.olc-checkout-page form.checkout input.olc-invalid:focus {
	border-color: #E05252 !important;
	box-shadow: 0 0 0 3px rgba(224, 82, 82, .13) !important;
}
/* Terms checkbox highlighted when the order was attempted without it */
.olc-terms-bad .woocommerce-terms-and-conditions-checkbox-text { color: #E05252 !important; }
.olc-terms-bad input[type="checkbox"] { outline: 2px solid #E05252; outline-offset: 2px; border-radius: 3px; }
/* Checkboxes / radios in brand colors */
body.olc-checkout-page form.checkout input[type="checkbox"],
body.olc-checkout-page #olc-place-host input[type="checkbox"] { accent-color: #189B4E; }
body.olc-checkout-page form.checkout .olc-valid input.input-text,
body.olc-checkout-page form.checkout input.olc-valid,
body.olc-checkout-page form.checkout select.olc-valid { border-color: #189B4E !important; }
body.olc-checkout-page form.checkout input.olc-invalid,
body.olc-checkout-page form.checkout .woocommerce-invalid input.input-text { border-color: #E05252 !important; }
.olc-field-check {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #189B4E;
	color: #fff;
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}
.olc-field-err { display: block; color: #E05252; font-size: 11.5px; margin-top: 4px; }
body.olc-checkout-page form.checkout .form-row .description,
body.olc-checkout-page form.checkout .form-row span small {
	display: block;
	font-size: 10.5px;
	line-height: 1.45;
	color: #7B7972;
	margin-top: 5px;
	font-style: normal;
}
/* Select2/SelectWoo (Județ) — same look as the other fields (design 9).
   The dropdown is appended to <body>, so the body class is the only scope. */
body.olc-checkout-page .select2-container .select2-selection--single {
	height: 46px;
	border: 1.5px solid #D9D6CF;
	border-radius: 12px;
	background: #fff;
	outline: none;
}
body.olc-checkout-page .select2-container--open .select2-selection--single,
body.olc-checkout-page .select2-container--focus .select2-selection--single {
	border-color: #111 !important;
	box-shadow: 0 0 0 3px rgba(17, 17, 17, .10) !important;
}
body.olc-checkout-page .select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 43px;
	padding: 0 38px 0 14px;
	color: #111;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 13.5px;
}
body.olc-checkout-page .select2-container .select2-selection--single .select2-selection__arrow {
	height: 44px;
	right: 12px;
}
body.olc-checkout-page .select2-dropdown {
	border: 1.5px solid #D9D6CF;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
	font-family: 'Montserrat', system-ui, sans-serif;
	z-index: 99999;
}
body.olc-checkout-page .select2-search--dropdown { padding: 8px; }
body.olc-checkout-page .select2-search--dropdown .select2-search__field {
	border: 1.5px solid #D9D6CF !important;
	border-radius: 9px;
	height: 38px;
	padding: 0 12px;
	font-family: inherit;
	font-size: 13px;
	outline: none;
	box-sizing: border-box;
}
body.olc-checkout-page .select2-results__option {
	padding: 9px 13px;
	font-size: 13px;
	font-weight: 500;
	color: #111;
}
body.olc-checkout-page .select2-results__option--highlighted.select2-results__option--selectable,
body.olc-checkout-page .select2-container--default .select2-results__option--highlighted[aria-selected] {
	background: #111 !important;
	color: #fff !important;
}
body.olc-checkout-page .select2-container--default .select2-results__option[aria-selected="true"],
body.olc-checkout-page .select2-results__option--selected {
	background: #E1DED7;
	color: #111;
}
body.olc-checkout-page .select2-results > .select2-results__options { max-height: 260px; }

/* Phone prefix */
.olc-phone-wrap { display: flex; align-items: stretch; }
.olc-phone-prefix {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 12px;
	border: 1.5px solid #D9D6CF;
	border-right: none;
	border-radius: 12px 0 0 12px;
	background: #F5F3EE;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}
.olc-phone-wrap input.input-text { border-radius: 0 12px 12px 0 !important; }
.olc-phone-wrap { position: relative; }
button.olc-phone-prefix { cursor: pointer; font-family: inherit; }
.olc-dial-caret {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 2px;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid #111;
	vertical-align: middle;
}
.olc-dial-list {
	position: absolute;
	z-index: 999;
	top: calc(100% + 6px);
	left: 0;
	width: 250px;
	max-height: 250px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #D9D6CF;
	border-radius: 14px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .14);
	padding: 6px;
}
.olc-dial-item {
	display: flex;
	align-items: center;
	gap: 9px;
	width: 100%;
	padding: 8px 9px;
	border: none;
	border-radius: 9px;
	background: none;
	font-family: inherit;
	cursor: pointer;
	text-align: left;
}
.olc-dial-item:hover { background: #F1EFEA; }
.olc-dial-flag { flex: none; font-size: 15px; }
.olc-dial-name { flex: 1; min-width: 0; font-size: 12px; font-weight: 600; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.olc-dial-code { flex: none; font-size: 11.5px; color: #6E6C66; }

/* No white blockUI overlay + spinner over the button while totals refresh */
body.olc-checkout-page .blockUI.blockOverlay,
body.olc-checkout-page .blockUI.blockMsg { display: none !important; }
body.olc-checkout-page .processing { position: static !important; }

/* WooCommerce's own inline "Acest câmp este obligatoriu" under every field —
   our guard highlights the fields instead, with a single message on the first */
body.olc-checkout-page .checkout-inline-error-message { display: none !important; }

/* No chat widget on checkout — nothing distracts from finishing the order */
body.olc-checkout-page .crisp-client,
body.olc-checkout-page #crisp-chatbox { display: none !important; visibility: hidden !important; }

/* Never show the "returning customer? log in" banner on checkout */
body.olc-checkout-page .woocommerce-form-login-toggle,
body.olc-checkout-page form.woocommerce-form-login,
body.olc-checkout-page form.login { display: none !important; }

/* Order review table */
body.olc-checkout-page .woocommerce-checkout-review-order-table { width: 100%; border: none; font-size: 12.5px; }
body.olc-checkout-page .woocommerce-checkout-review-order-table th,
body.olc-checkout-page .woocommerce-checkout-review-order-table td {
	border: none;
	border-bottom: 1px solid #E1DED7;
	padding: 9px 0;
	background: none;
	font-family: inherit;
}
body.olc-checkout-page .woocommerce-checkout-review-order-table .product-name { font-weight: 500; }
body.olc-checkout-page .woocommerce-checkout-review-order-table .product-total { text-align: right; font-weight: 600; font-size: 12.5px; }
body.olc-checkout-page .woocommerce-checkout-review-order-table dl.variation { margin: 6px 0 0; font-size: 11.5px; color: #4B4944; }
body.olc-checkout-page .woocommerce-checkout-review-order-table dl.variation dt { font-weight: 600; margin: 0 4px 0 0; padding: 0; float: left; clear: left; }
body.olc-checkout-page .woocommerce-checkout-review-order-table dl.variation dd { margin: 0; padding: 0; }
/* Totals — light labels, medium values, only the Total row is bold (design 9) */
body.olc-checkout-page .woocommerce-checkout-review-order-table tfoot th {
	font-weight: 400;
	color: #555;
	text-align: left;
	font-size: 12.5px;
}
body.olc-checkout-page .woocommerce-checkout-review-order-table tfoot td {
	text-align: right;
	font-weight: 600;
	font-size: 12.5px;
	color: #111;
}
body.olc-checkout-page .woocommerce-checkout-review-order-table tfoot td strong { font-weight: 600; }
body.olc-checkout-page .woocommerce-checkout-review-order-table .order-total th {
	font-size: 13px;
	font-weight: 700;
	color: #111;
	border-bottom: none;
	padding-top: 12px;
}
body.olc-checkout-page .woocommerce-checkout-review-order-table .order-total td {
	font-size: 17px;
	font-weight: 700;
	border-bottom: none;
	padding-top: 12px;
}
body.olc-checkout-page .woocommerce-checkout-review-order-table .order-total td strong { font-weight: 700; }
body.olc-checkout-page #order_review_heading { font-size: 14px; }

/* Coupon in the summary card (design 9) */
.olc-co-coupon { display: flex; gap: 7px; padding-top: 4px; }
.olc-co-coupon input {
	flex: 1;
	min-width: 0;
	height: 40px;
	border: 1.5px solid #D9D6CF !important;
	border-radius: 10px !important;
	padding: 0 12px;
	text-align: left !important;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	color: #111;
	background: #fff;
	outline: none;
	box-shadow: none;
}
.olc-co-coupon input:focus { box-shadow: 0 0 0 3px rgba(17, 17, 17, .14); }
.olc-co-coupon input:focus {
	border-color: #111 !important;
	box-shadow: 0 0 0 3px rgba(17, 17, 17, .10) !important;
}
.olc-co-coupon-btn {
	flex: none;
	height: 40px;
	padding: 0 15px;
	border: 1.5px solid #111;
	background: #fff;
	border-radius: 10px;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 12px;
	font-weight: 600;
	color: #111;
	cursor: pointer;
}
.olc-co-coupon-btn:hover:not(:disabled) { background: #111; color: #fff; }
.olc-co-coupon-err { font-size: 10.5px; line-height: 1.4; color: #E05252; margin-top: 6px; }
body.olc-checkout-page .olc-co-coupon-row td { border-bottom: none; }
body.olc-checkout-page .woocommerce-remove-coupon { font-size: 10.5px; color: #7B7972; margin-left: 4px; }
body.olc-checkout-page .cart-discount td { color: #189B4E; }

/* Place-order block relocated into the summary card */
#olc-place-host { margin-top: 12px; }
#olc-place-host .place-order { padding: 0; margin: 0; float: none; width: 100%; }
#olc-place-host .woocommerce-terms-and-conditions-wrapper { margin: 10px 0 0; }
#olc-place-host .woocommerce-privacy-policy-text p {
	margin: 10px 0 0;
	font-size: 10.5px;
	line-height: 1.5;
	color: #7B7972;
	text-align: center;
}
#olc-place-host .woocommerce-privacy-policy-text a { color: #4B4944; }

/* Step 2 / 3 skeleton cards (populated by pages.js) */
.olc-co-step-skel[hidden] { display: none !important; }
#olc-ship-body ul { margin-top: 0; }
#olc-ship-body > p { font-size: 11.5px; color: #7B7972; margin: 6px 0 0; }

/* Compact summary card above step 1 — MOBILE ONLY (design 9b) */
.olc-co-topcard {
	display: none;
	background: #fff;
	border: 1px solid #D9D6CF;
	border-radius: 16px;
	padding: 3px 14px;
	margin: 0 0 12px;
	font-family: 'Montserrat', system-ui, sans-serif;
}
.olc-co-topitem { display: flex; align-items: center; gap: 11px; padding: 11px 0; }
.olc-co-topthumb {
	width: 46px;
	height: 46px;
	flex: none;
	border-radius: 10px;
	background-color: #F1EFEA;
	background-size: cover;
	background-position: center;
	background-blend-mode: multiply;
}
.olc-co-topmeta { min-width: 0; flex: 1; }
.olc-co-topsku { display: block; font-size: 13px; font-weight: 700; color: #111; line-height: 1.3; }
.olc-co-topsub { display: block; font-size: 10.5px; font-weight: 500; color: #7B7972; margin-top: 2px; }
.olc-co-topprice { flex: none; font-size: 13.5px; font-weight: 700; color: #111; }
.olc-co-toplens {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	border-top: 1px solid #E1DED7;
	padding: 10px 0 12px;
	font-size: 12px;
	font-weight: 600;
	color: #111;
}
.olc-co-toplens a.olc-co-seedetails {
	flex: none;
	font-size: 11.5px;
	font-weight: 600;
	color: #111;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* The Bricks checkout template wrapper carries its own huge margins */
body.olc-checkout-page .olc-checkout-wrap .brxe-shortcode { margin-top: 0 !important; margin-bottom: 0 !important; }

/* Sameday locker chooser (Compartiment / Easybox) relocated into step 2 —
   the whole <tr> moves into this helper table so the courier plugin's JS
   keeps finding its own nodes. */
.olc-ship-extra { width: 100%; border: none; margin: 12px 0 0; border-collapse: collapse; }
.olc-ship-extra tr, .olc-ship-extra th, .olc-ship-extra td {
	display: block;
	width: 100%;
	border: none;
	padding: 0;
	background: none;
	text-align: left;
	box-sizing: border-box;
}
.olc-ship-extra th {
	font-size: 11px;
	font-weight: 600;
	color: #4B4944;
	letter-spacing: .01em;
	margin: 0 0 8px;
	font-family: 'Montserrat', system-ui, sans-serif;
}
.olc-ship-sub-label {
	margin: 14px 0 8px;
	font-size: 11px;
	font-weight: 600;
	color: #4B4944;
	letter-spacing: .01em;
}
#olc-ship-body select,
#olc-ship-body .select2-container { width: 100% !important; }
#olc-ship-body .select2-container .select2-selection--single {
	height: 46px;
	border: 1.5px solid #D9D6CF;
	border-radius: 12px;
	background: #fff;
}
#olc-ship-body textarea,
#olc-ship-body #locker_name,
#olc-ship-body #locker_address {
	width: 100%;
	border: none;
	background: #F5F3EE;
	border-radius: 10px;
	padding: 10px 12px;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 12px;
	color: #55534D;
	box-sizing: border-box;
	margin-top: 6px;
}
/* The "Arată harta cu locații" button — full width, design pill (not red) */
body.olc-checkout-page #showLockerDetails,
#olc-ship-body #showLockerDetails,
#olc-ship-body button[id*="ocker"],
#olc-ship-body a[id*="ocker"] {
	display: block !important;
	width: 100% !important;
	margin: 10px 0 0 !important;
	padding: 13px 16px !important;
	background: #111111 !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 99px !important;
	font-family: 'Montserrat', system-ui, sans-serif !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	text-align: center !important;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: none !important;
	box-sizing: border-box;
}
body.olc-checkout-page #showLockerDetails:hover { background: #2A2A28 !important; }

/* Shipping methods as cards (step 2) */
body.olc-checkout-page .woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }
body.olc-checkout-page .woocommerce-shipping-methods li {
	border: 1.5px solid #D9D6CF;
	border-radius: 14px;
	padding: 11px 14px;
	margin: 0 0 8px;
	display: flex;
	align-items: flex-start;
	gap: 9px;
	cursor: pointer;
}
body.olc-checkout-page .woocommerce-shipping-methods li:has(input:checked) { border-color: #111; background: #F5F3EE; }
body.olc-checkout-page .woocommerce-shipping-methods label { display: inline; font-size: 13px; font-weight: 600; color: #111; cursor: pointer; }
body.olc-checkout-page .woocommerce-shipping-methods input[type=radio] { accent-color: #111; margin-top: 3px; }
.olc-ship-eta { display: block; font-size: 11px; color: #7B7972; font-weight: 500; margin-top: 2px; }

/* Payment methods as cards (step 3) */
body.olc-checkout-page #payment { background: none; border-radius: 0; }
body.olc-checkout-page #payment ul.payment_methods { border: none; padding: 0; margin: 8px 0 0; }
body.olc-checkout-page #payment ul.payment_methods li {
	list-style: none;
	border: 1.5px solid #D9D6CF;
	border-radius: 14px;
	padding: 11px 14px;
	margin: 0 0 8px;
	background: #fff;
}
body.olc-checkout-page #payment ul.payment_methods li:has(input:checked) { border-color: #111; background: #F5F3EE; }
body.olc-checkout-page #payment ul.payment_methods label { font-size: 13px; font-weight: 600; display: inline; cursor: pointer; }
body.olc-checkout-page #payment ul.payment_methods input[type=radio] { accent-color: #111; }
body.olc-checkout-page #payment div.payment_box {
	background: #F5F3EE;
	border-radius: 10px;
	font-size: 12px;
	color: #55534D;
	margin-top: 8px;
}
body.olc-checkout-page #payment div.payment_box::before { display: none; }
.olc-co-cardnote {
	font-size: 11.5px;
	color: #55534D;
	background: #F5F3EE;
	border-radius: 10px;
	padding: 10px 12px;
	margin: 10px 0;
	line-height: 1.55;
}
body.olc-checkout-page #place_order {
	width: 100%;
	height: 52px;
	border: none;
	border-radius: 99px;
	background: #189B4E;
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s, transform .1s;
	text-shadow: none;
}
body.olc-checkout-page #place_order:hover { background: #12813F; }
body.olc-checkout-page #place_order:active { transform: scale(.98); }
.olc-co-trust { display: flex; flex-direction: column; gap: 5px; margin-top: 12px; font-size: 11.5px; color: #55534D; }
.olc-co-trust span { display: block; }

/* Coupon toggle (native) */
body.olc-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info {
	background: #F5F3EE;
	border: none;
	border-radius: 12px;
	color: #3A3833;
	font-size: 12.5px;
	padding: 12px 16px;
	margin-bottom: 14px;
}
body.olc-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info::before { color: #189B4E; }
body.olc-checkout-page form.checkout_coupon {
	border: 1px solid #D9D6CF;
	border-radius: 14px;
	padding: 14px;
	margin-bottom: 14px;
}

/* Login notice + errors keep readable styling */
body.olc-checkout-page .woocommerce-NoticeGroup .woocommerce-error {
	border-radius: 12px;
	font-size: 13px;
}

@media (max-width: 900px) {
	body.olc-checkout-page form.checkout { grid-template-columns: 1fr; }
	body.olc-checkout-page .olc-co-summary-wrap,
	body.olc-checkout-page #order_review_heading,
	body.olc-checkout-page #order_review { grid-column: 1; }
	body.olc-checkout-page .olc-co-summary-wrap { grid-row: auto; }
	.olc-co-title { font-size: 22px; margin: 10px 0 14px; }
	/* iOS Safari zooms into inputs with font-size < 16px — keep them at 16px
	   on mobile so the page stays put while typing. */
	body.olc-checkout-page form.checkout input.input-text,
	body.olc-checkout-page form.checkout textarea,
	body.olc-checkout-page form.checkout select,
	body.olc-checkout-page .select2-search--dropdown .select2-search__field,
	body.olc-checkout-page .select2-container .select2-selection--single .select2-selection__rendered,
	.olc-co-coupon input,
	#olc-coupon-input {
		font-size: 16px !important;
	}
	/* Design 9b: compact summary card at the top, only on mobile */
	.olc-co-topcard { display: block; }
	/* Design 9b: fixed bottom bar with "Total de plată" + Plasează comanda.
	   The native #place_order stays in the DOM (the bar clicks it) but is
	   hidden on mobile so the button appears only once, as in the design. */
	body.olc-checkout-page .olc-co-bar { display: block; }
	body.olc-checkout-page .olc-checkout-wrap { padding-bottom: 132px; }
	body.olc-checkout-page form.checkout #place_order { display: none; }
}

/* =============================================================================
   THANK-YOU
   ========================================================================== */
body.olc-thankyou-page .woocommerce-order > .woocommerce-notice { display: none; }
.olc-ty { padding-top: 18px; }
.olc-ty-hero {
	background: #fff;
	border: 1px solid #D9D6CF;
	border-radius: 20px;
	padding: 26px 28px;
}
.olc-ty-hero-top { display: flex; gap: 16px; align-items: flex-start; }
.olc-ty-check {
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: 50%;
	background: var(--green, #189B4E);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 700;
}
.olc-ty-hero h1 { margin: 2px 0 0; font-size: 22px; font-weight: 700; line-height: 1.3; }
.olc-ty-hero p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.65; color: #55534D; }
.olc-ty-facts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-top: 20px;
}
.olc-ty-facts > div { background: #F5F3EE; border-radius: 14px; padding: 12px 16px; }
.olc-ty-facts span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7B7972; }
.olc-ty-facts strong { display: block; font-size: 15px; font-weight: 700; margin-top: 3px; }

.olc-ty-grid {
	display: grid;
	grid-template-columns: 1fr 336px;
	gap: 22px;
	margin-top: 18px;
	align-items: start;
}
.olc-ty-card {
	background: #fff;
	border: 1px solid #D9D6CF;
	border-radius: 20px;
	padding: 22px 24px;
	margin-bottom: 16px;
}
.olc-ty-card h2 { margin: 0 0 14px; font-size: 16px; font-weight: 700; }
.olc-ty-steps { display: flex; flex-direction: column; }
.olc-ty-step { display: flex; gap: 14px; }
.olc-ty-step-rail { display: flex; flex-direction: column; align-items: center; flex: none; }
.olc-ty-step-rail span {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #E1DED7;
	color: #4B4944;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12.5px;
	font-weight: 700;
	flex: none;
}
.olc-ty-step.olc-done .olc-ty-step-rail span { background: #189B4E; color: #fff; }
.olc-ty-step-rail i { width: 2px; flex: 1; min-height: 22px; background: #E1DED7; margin: 4px 0; }
.olc-ty-step-t { font-size: 13.5px; font-weight: 700; }
.olc-ty-step-m { font-size: 12px; color: #4B4944; line-height: 1.55; margin: 2px 0 14px; }
.olc-ty-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; font-size: 13px; line-height: 1.7; color: #3A3833; }
.olc-ty-label { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7B7972; margin-bottom: 4px; }
.olc-ty-strong { font-weight: 700; color: #111; }
.olc-ty-note { margin-top: 14px; background: #F5F3EE; border-radius: 12px; padding: 12px 14px; font-size: 12.5px; }
.olc-ty-edit {
	margin-top: 16px;
	border-top: 1px solid #F2F2F0;
	padding-top: 14px;
	font-size: 12.5px;
	line-height: 1.65;
	color: #55534D;
}
.olc-ty-edit a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

@media (max-width: 900px) {
	.olc-ty-facts { grid-template-columns: 1fr 1fr; }
	.olc-ty-grid { grid-template-columns: 1fr; }
	.olc-ty-cols { grid-template-columns: 1fr; }
	.olc-ty-hero { padding: 20px; }
}
