/* OzBraai – Shipping Preview
 * Compact, classy panel. Brand red as a single accent. No emojis, no flashing.
 * Single-line layout: Ship to · [country] · price.
 */
.ozb-sp {
	margin: 12px 0 16px;
	border: 1px solid #e2e2e2;
	border-radius: 4px;
	background: #fafafa;
	font-family: inherit;
	overflow: hidden;
}
.ozb-sp__header {
	padding: 5px 12px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: #666;
	background: #f1f1f1;
	border-bottom: 1px solid #e2e2e2;
}
.ozb-sp__option {
	display: block;
	padding: 8px 12px;
	cursor: pointer;
	border-top: 1px solid #ececec;
	margin: 0;
	transition: background-color .15s ease;
}
.ozb-sp__option:first-of-type { border-top: 0; }
.ozb-sp__option:hover { background: #f5f5f5; }
.ozb-sp__option-row {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: nowrap;
	min-height: 28px;
}
.ozb-sp__option-row input[type="radio"] {
	margin: 0;
	flex-shrink: 0;
	accent-color: #d52027;
}
.ozb-sp__option-title {
	flex: 1;
	font-weight: 600;
	color: #1a1a1a;
	font-size: 13px;
	min-width: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ozb-sp__option-sub {
	font-weight: 400;
	color: #777;
	font-size: 12px;
}

/* Inline country selector — override Flatsome's default 100%-width select.
 * Custom SVG chevron because Flatsome strips the native menulist appearance. */
.ozb-sp .ozb-sp__country {
	width: auto !important;
	max-width: 170px;
	display: inline-block !important;
	height: 26px !important;
	padding: 1px 22px 1px 8px !important;
	margin: 0 !important;
	border: 1px solid #ccc !important;
	background-color: #fff !important;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 7px center !important;
	background-size: 9px 6px !important;
	font-size: 12px !important;
	line-height: 1.4 !important;
	color: #222 !important;
	box-shadow: none !important;
	border-radius: 3px !important;
	vertical-align: middle;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	cursor: pointer;
}
.ozb-sp .ozb-sp__country:focus {
	outline: 2px solid rgba(213, 32, 39, .3);
	outline-offset: 1px;
	border-color: #d52027 !important;
}
.ozb-sp__country-static {
	font-weight: 400;
	color: #555;
}

.ozb-sp__rate {
	font-size: 14px;
	font-weight: 700;
	color: #1a1a1a;
	letter-spacing: .2px;
	white-space: nowrap;
	flex-shrink: 0;
}
/* Free shipping / Click & Collect — green, because that IS a positive signal. */
.ozb-sp__rate--free { color: #2a8c3a; }
.ozb-sp__rate-loading {
	color: #999;
	font-weight: 400;
	font-style: italic;
	font-size: 12px;
}
.ozb-sp__rate-error {
	color: #888;
	font-weight: 500;
	font-size: 12px;
}
/* Dispatch line below the title row — indented to align under the title text. */
.ozb-sp__dispatch {
	font-size: 11px;
	color: #888;
	line-height: 1.4;
	margin-top: 2px;
	padding-left: 24px;
}

/* Info icon (single-character SVG, sits inline with the rate). */
.ozb-sp__info {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	color: #888;
	cursor: pointer;
	flex-shrink: 0;
	transition: color .15s ease;
}
.ozb-sp__info:hover { color: #222; }
.ozb-sp__info svg { display: block; }

.ozb-sp__info-popup {
	margin: 6px 0 0 24px;
	padding: 8px 10px;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 3px;
	font-size: 12px;
	line-height: 1.45;
	color: #444;
}

/* Cart-aware delta line — colour-coded by state.
 * --no-extra: positive (green) | --delta: caution (amber) */
.ozb-sp__cart-aware {
	margin: 5px 0 0 24px;
	padding: 6px 9px;
	font-size: 11.5px;
	line-height: 1.4;
	border-left: 2px solid #aaa;
	background: #f3f4f6;
	color: #444;
	border-radius: 2px;
}
.ozb-sp__cart-aware--no-extra {
	border-left-color: #2a8c3a;
	background: #ecf7ee;
	color: #1f5e2a;
}
.ozb-sp__cart-aware--delta {
	border-left-color: #c98a00;
	background: #fff7e1;
	color: #5a4308;
}

@media (max-width: 480px) {
	.ozb-sp__option-title { font-size: 12px; }
	.ozb-sp__rate { font-size: 13px; }
	.ozb-sp .ozb-sp__country { max-width: 110px; }
}

/* ── Mini cart shipping line ───────────────────────────────────────────────
 * Compact single-row indicator inside the WC mini cart so customers see
 * shipping cost (and can change country) before they hit checkout. */
.ozb-sp-mini {
	margin: 8px 0 0;
	padding: 8px 0;
	border-top: 1px solid #ececec;
	font-size: 12px;
	line-height: 1.3;
}
.ozb-sp-mini__row {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 24px;
}
.ozb-sp-mini__label {
	flex: 1;
	color: #555;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}
.ozb-sp-mini__country-static {
	color: #1a1a1a;
	font-weight: 600;
}
.ozb-sp-mini__cost {
	font-weight: 700;
	color: #1a1a1a;
	white-space: nowrap;
	transition: opacity .15s ease;
}
.ozb-sp-mini__cost--free { color: #2a8c3a; }
.ozb-sp-mini__note {
	font-weight: 400;
	color: #888;
	font-style: italic;
	font-size: 11px;
}
/* Sub-line (e.g. full pickup address under "Click & Collect"). */
.ozb-sp-mini__sub {
	margin-top: 3px;
	font-size: 11px;
	color: #888;
	line-height: 1.35;
}

/* "Switch to delivery instead" / "Pick up free instead" link.
 * Subtle text-button so it doesn't compete with the Checkout CTA. */
.ozb-sp-mini__toggle {
	display: inline-block;
	margin-top: 5px;
	padding: 0;
	background: none;
	border: 0;
	color: #555;
	font-size: 11px;
	font-family: inherit;
	text-decoration: underline;
	cursor: pointer;
	transition: color .15s ease, opacity .15s ease;
}
.ozb-sp-mini__toggle:hover  { color: #d52027; }
.ozb-sp-mini__toggle:focus  { outline: 2px solid rgba(213, 32, 39, .3); outline-offset: 2px; }
.ozb-sp-mini__toggle.is-loading { opacity: .5; cursor: wait; }

/* De-emphasise the WC mini-cart Subtotal so the Total below us reads as the
 * primary number — the Total is what the customer actually pays. */
.widget_shopping_cart_content .woocommerce-mini-cart__total,
.woocommerce.widget_shopping_cart .woocommerce-mini-cart__total {
	font-size: 13px;
	color: #555;
}
.widget_shopping_cart_content .woocommerce-mini-cart__total strong,
.woocommerce.widget_shopping_cart .woocommerce-mini-cart__total strong {
	font-weight: 600;
	font-size: 13px;
}
.widget_shopping_cart_content .woocommerce-mini-cart__total .amount,
.woocommerce.widget_shopping_cart .woocommerce-mini-cart__total .amount {
	font-size: 13px;
	font-weight: 600;
	color: #555;
}

/* Grand total — the actual price the customer will pay. Visually prominent. */
.ozb-sp-mini__total-row {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid #e2e2e2;
	font-weight: 700;
	color: #1a1a1a;
}
.ozb-sp-mini__total-label {
	flex: 1;
	font-size: 15px;
}
.ozb-sp-mini__total-cost {
	font-size: 18px;
	white-space: nowrap;
}

/* Same SVG-chevron dropdown treatment as the panel, but narrower for the mini cart. */
.ozb-sp-mini .ozb-sp-mini__country {
	width: auto !important;
	max-width: 150px;
	display: inline-block !important;
	height: 24px !important;
	padding: 1px 20px 1px 6px !important;
	margin: 0 !important;
	border: 1px solid #ccc !important;
	background-color: #fff !important;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 6px center !important;
	background-size: 8px 5px !important;
	font-size: 12px !important;
	line-height: 1.4 !important;
	color: #1a1a1a !important;
	box-shadow: none !important;
	border-radius: 3px !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	cursor: pointer;
}
.ozb-sp-mini .ozb-sp-mini__country:focus {
	outline: 2px solid rgba(213, 32, 39, .3);
	outline-offset: 1px;
	border-color: #d52027 !important;
}
