/* Rok Trucks — country menu (28 Oct 2026). Flag + currency code + chevron; no border or background. */
.rok-mkt { position: relative; display: inline-flex; align-items: center; font-family: inherit; }
.rok-mkt.is-pending { visibility: hidden; }

/* The site-wide button style (Elementor kit: red fill, padding, white text on hover/focus) must not reach this button. */
.rok-mkt .rok-mkt-btn,
.rok-mkt .rok-mkt-btn:hover,
.rok-mkt .rok-mkt-btn:focus,
.rok-mkt .rok-mkt-btn:active {
	display: inline-flex !important; align-items: center !important; gap: 10px !important;
	min-height: 44px; margin: 0 !important; padding: 0 4px !important;
	background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
	color: inherit !important; font-family: inherit !important; font-size: 15px !important; font-weight: 500 !important;
	line-height: 1 !important; letter-spacing: 0 !important; text-transform: none !important;
	transition: none !important; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.rok-mkt--header { color: var(--rok-black, #0B0D0F); }
.rok-mkt .rok-mkt-btn:focus { outline: none; }
.rok-mkt .rok-mkt-btn:focus-visible { outline: 2px solid currentColor !important; outline-offset: 2px; }

.rok-mkt .rok-mkt-flag { display: inline-flex !important; align-items: center; justify-content: center; width: 20px; height: 14px; flex: 0 0 20px; margin: 0; line-height: 0; }
.rok-mkt .rok-mkt-flag img { display: block !important; width: 20px !important; height: 14px !important; max-width: none !important; margin: 0 !important; object-fit: cover; border-radius: 1px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.rok-mkt .rok-mkt-flag.is-globe { width: 18px; height: 18px; flex-basis: 18px; }
.rok-mkt .rok-mkt-flag svg { display: block; width: 18px; height: 18px; }
.rok-mkt .rok-mkt-cur { display: inline-block; line-height: 1; font-variant-numeric: tabular-nums; }
.rok-mkt .rok-mkt-chev { display: block; width: 10px; height: 6px; flex: 0 0 10px; margin-left: -2px; transition: transform .15s ease; }
.rok-mkt.is-open .rok-mkt-chev { transform: rotate(180deg); }

/* Drop-down panel */
.rok-mkt-pop {
	position: absolute; top: calc(100% + 8px); right: 0; z-index: 100001;
	width: 300px; max-width: calc(100vw - 32px); box-sizing: border-box;
	padding: 8px; background: #fff; color: var(--rok-black, #0B0D0F);
	border: 1px solid var(--rok-border, #E3E5E7); border-radius: 12px;
	box-shadow: 0 12px 32px rgba(11, 13, 15, .10);
	text-align: left;
}
.rok-mkt-pop[hidden] { display: none; }
.rok-mkt .rok-mkt-head {
	margin: 0; padding: 6px 12px 8px;
	font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase;
	color: var(--rok-text-2, #596168);
}
.rok-mkt .rok-mkt-list { list-style: none; margin: 0; padding: 0; outline: none; }
.rok-mkt .rok-mkt-opt {
	display: flex; align-items: center; gap: 12px;
	min-height: 44px; margin: 0; padding: 0 12px; border-radius: 8px;
	font-size: 16px; line-height: 1.3; color: var(--rok-black, #0B0D0F);
	cursor: pointer; user-select: none;
}
.rok-mkt-name { flex: 1 1 auto; }
.rok-mkt-code { flex: 0 0 auto; font-size: 14px; color: var(--rok-text-2, #596168); font-variant-numeric: tabular-nums; }
.rok-mkt-tick { flex: 0 0 14px; width: 14px; height: 14px; color: var(--rok-red, #E11822); visibility: hidden; }
.rok-mkt-opt.is-active { background: var(--rok-cloud, #F4F5F5); }
.rok-mkt-opt.is-selected { background: #EEF0F1; }
.rok-mkt-opt.is-selected .rok-mkt-tick { visibility: visible; }
.rok-mkt-list:focus-visible .rok-mkt-opt.is-active { box-shadow: inset 0 0 0 2px var(--rok-black, #0B0D0F); }

/* Footer: same menu on the dark background; opens upwards. */
.rok-mkt--footer { color: #fff; }
.rok-mkt--footer .rok-mkt-flag img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
.rok-mkt--footer .rok-mkt-pop { top: auto; bottom: calc(100% + 8px); right: auto; left: 0; }

/* Phone menu: full width, the panel sits in the menu. */
.rok-mkt--mobile { display: flex; flex-direction: column; align-items: stretch; width: 100%; margin: 0 0 8px; }
.rok-mkt--mobile .rok-mkt-btn { justify-content: flex-start !important; min-height: 48px; font-size: 16px !important; }
.rok-mkt--mobile .rok-mkt-pop { position: static; width: 100%; max-width: none; margin: 4px 0 0; box-shadow: none; }

/* First-visit note */
.rok-mkt-note {
	position: fixed; left: 16px; bottom: 16px; z-index: 9999; max-width: calc(100vw - 32px);
	display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
	background: var(--rok-black, #0B0D0F); color: #fff; font-size: 14px; padding: 12px 14px; border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
}
.rok-mkt-note a { color: #fff; text-decoration: underline; }
.rok-mkt-note button { background: none !important; border: 0; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; padding: 0 0 0 4px; }

.rok-price-note { display: block; }
@media (prefers-reduced-motion: reduce) { .rok-mkt-chev { transition: none; } }

/* Footer: the menu sits on the social-icons row, after Pinterest. */
.rok-ftr-socialrow { display: flex !important; flex-direction: row !important; flex-wrap: wrap; align-items: center !important; gap: 16px 40px !important; }
.rok-ftr-socialrow > .elementor-widget { width: auto !important; max-width: none !important; flex: 0 0 auto !important; margin: 0 !important; }


/* ---------- Checkout and order receipt (11 Nov 2026): Rok colours ---------- */
/* Checkboxes: a filled red box with a white tick when checked (FluentCart draws them with appearance:none). */
.fct_checkout input.fct-input-checkbox { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; min-width: 20px; margin: 0 10px 0 0; border: 2px solid #0B0D0F; border-radius: 4px; background: #FFFFFF; cursor: pointer; vertical-align: middle; position: relative; }
.fct_checkout input.fct-input-checkbox:checked { background: #E11822 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px 14px no-repeat; background-color: #E11822 !important; border-color: #E11822 !important; }
.fct_checkout input.fct-input-checkbox:focus-visible { outline: 2px solid #E11822; outline-offset: 2px; }
.fct_checkout input[type="radio"] { accent-color: #E11822; }
/* Place order: a full-width red button that stands out. */
.fct_checkout #fluent_cart_order_btn, .fct_checkout .fct_place_order_btn { display: block; width: 100%; margin-top: 16px; padding: 16px 24px; border: 0; border-radius: 8px; background: #E11822; color: #FFFFFF; font-family: Manrope, sans-serif; font-size: 18px; font-weight: 800; letter-spacing: .01em; cursor: pointer; transition: background .15s ease; }
.fct_checkout #fluent_cart_order_btn:hover:not([disabled]), .fct_checkout .fct_place_order_btn:hover:not([disabled]) { background: #B5121B; color: #FFFFFF; }
.fct_checkout #fluent_cart_order_btn[disabled], .fct_checkout .fct_place_order_btn[disabled] { background: #E11822; color: #FFFFFF; opacity: .45; cursor: not-allowed; }
/* Order receipt: dark header, red tick, Rok buttons. */
.fct-thank-you-page .fct-thank-you-page-header { background: #0B0D0F !important; border-radius: 10px 10px 0 0; padding: 36px 24px 30px; }
.fct-thank-you-page .fct-thank-you-page-header-title { color: #FFFFFF !important; font-family: Manrope, sans-serif; font-weight: 800; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -.01em; }
.fct-thank-you-page .fct-thank-you-page-header-icon { background: #E11822 !important; color: #FFFFFF; }
.fct-thank-you-page .fct-thank-you-page-header-icon svg { stroke: #FFFFFF; }
.fct-thank-you-page a { color: #E11822; }
.fct-thank-you-page-footer .fct-thank-you-page-view-order-button, .fct-thank-you-page-footer .fct-thank-you-page-download-receipt-button { display: inline-block; margin: 6px; padding: 12px 22px; border-radius: 8px; font-family: Manrope, sans-serif; font-weight: 700; font-size: 15px; text-decoration: none; }
.fct-thank-you-page-footer .fct-thank-you-page-view-order-button { background: #E11822 !important; color: #FFFFFF !important; border: 2px solid #E11822 !important; }
.fct-thank-you-page-footer .fct-thank-you-page-view-order-button:hover { background: #B5121B; border-color: #B5121B; color: #FFFFFF; }
.fct-thank-you-page-footer .fct-thank-you-page-download-receipt-button { background: #FFFFFF; color: #0B0D0F; border: 2px solid #0B0D0F; }
.fct-thank-you-page-footer .fct-thank-you-page-download-receipt-button:hover { background: #0B0D0F; color: #FFFFFF; }

/* ---------- nice-select 13 Nov 2026: FluentCart 2.3.1 dropdowns (country/state) had no background; checkbox border lost ---------- */
.fct-nice-select-dropdown { background: #FFFFFF !important; border: 1px solid #D6DAE1 !important; border-radius: 8px !important; box-shadow: 0 10px 28px rgba(11,13,15,.16) !important; z-index: 1000 !important; overflow: hidden; }
.fct-nice-select-dropdown .fct-nice-select-search-box { background: #FFFFFF; padding: 8px; border-bottom: 1px solid #E3E5E7; }
.fct-nice-select-dropdown .fct-nice-select-search { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #D6DAE1 !important; border-radius: 6px; background: #FFFFFF; font-size: 15px; box-sizing: border-box; }
.fct-nice-select-dropdown .list { background: #FFFFFF !important; max-height: 260px; overflow-y: auto; margin: 0; padding: 4px 0; list-style: none; }
.fct-nice-select-dropdown .option { background: #FFFFFF; color: #0B0D0F; padding: 9px 14px; line-height: 1.35; cursor: pointer; }
.fct-nice-select-dropdown .option:hover, .fct-nice-select-dropdown .option.focus { background: #F2F3F4 !important; }
.fct-nice-select-dropdown .option.selected { font-weight: 600; }
.fct_checkout input.fct-input-checkbox { border: 2px solid #0B0D0F !important; background-color: #FFFFFF; }
.fct_checkout input.fct-input-checkbox:checked { border-color: #E11822 !important; background-color: #E11822 !important; }


/* ---------- modal checkout 13 Nov 2026: the pop-up checkout (iframe) has no .fct_checkout wrapper, so repeat the rules for it ---------- */
.fct-modal-checkout-form-inner input.fct-input-checkbox { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; min-width: 20px; margin: 0 10px 0 0; border: 2px solid #0B0D0F; border-radius: 4px; background: #FFFFFF; cursor: pointer; vertical-align: middle; position: relative; }
.fct-modal-checkout-form-inner input.fct-input-checkbox:checked { background: #E11822 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px 14px no-repeat; background-color: #E11822 !important; border-color: #E11822 !important; }
.fct-modal-checkout-form-inner input.fct-input-checkbox:focus-visible { outline: 2px solid #E11822; outline-offset: 2px; }
.fct-modal-checkout-form-inner #fluent_cart_order_btn, .fct-modal-checkout-form-inner .fct_place_order_btn { display: block; width: 100%; margin-top: 16px; padding: 16px 24px; border: 0; border-radius: 8px; background: #E11822; color: #FFFFFF; font-family: Manrope, sans-serif; font-size: 18px; font-weight: 800; letter-spacing: .01em; cursor: pointer; transition: background .15s ease; }
.fct-modal-checkout-form-inner #fluent_cart_order_btn:hover:not([disabled]), .fct-modal-checkout-form-inner .fct_place_order_btn:hover:not([disabled]) { background: #B5121B; color: #FFFFFF; }
.fct-modal-checkout-form-inner #fluent_cart_order_btn[disabled], .fct-modal-checkout-form-inner .fct_place_order_btn[disabled] { background: #E11822; color: #FFFFFF; opacity: .45; cursor: not-allowed; }
.fct-modal-checkout-form-inner input.fct-input-checkbox { border: 2px solid #0B0D0F !important; background-color: #FFFFFF; }
.fct-modal-checkout-form-inner input.fct-input-checkbox:checked { border-color: #E11822 !important; background-color: #E11822 !important; }

/* 13 Nov 2026: home page price line - tax wording half size, regular weight. */
.rok-price-line .rok-price-suffix { font-size: .5em; font-weight: 400; }
/* 13 Nov 2026: selected payment method is clearly marked (card / bank transfer / crypto). */
.fct_payment_method_wrapper { border-color: #D6DAE1 !important; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.fct_payment_method_wrapper.active { border-color: #E11822 !important; box-shadow: 0 0 0 1px #E11822 !important; background-color: #FEF2F2 !important; }
/* 13 Nov 2026: tax wording after every price is smaller and regular weight (never below 12px). */
.rok-price .rok-price-suffix { font-size: max(.5em, 12px); font-weight: 400; }

/* 14 Nov 2026: floating cart button - clear white cart icon on the red square. */
.fct-cart-drawer-open-btn { width: 56px !important; height: 56px !important; border-radius: 10px !important; background: #E11822 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2.5 3h2.6l2.4 11.2a1.6 1.6 0 0 0 1.6 1.3h8.6a1.6 1.6 0 0 0 1.6-1.2L21.5 7H6.1'/%3E%3C/svg%3E") center / 28px 28px no-repeat !important; box-shadow: 0 6px 18px rgba(11,13,15,.25); }
.fct-cart-drawer-open-btn img { opacity: 0 !important; }
.fct-cart-drawer-open-btn:hover { background-color: #B5121B !important; }


/* ---------- 14 Nov 2026 (Amanda test) ---------- */
/* Receipt header: light, not a big black box. Red tick when paid, grey clock-style mark while waiting. */
.fct-thank-you-page .fct-thank-you-page-header { background: #F2F3F4 !important; border: 1px solid #E4E6EA; border-bottom: 0; }
.fct-thank-you-page .fct-thank-you-page-header-title { color: #0B0D0F !important; }
.fct-thank-you-page .fct-thank-you-page-header-icon[style*="856404"] { background: #58595B !important; }
/* Bank transfer orders: our box explains how to pay, so hide FluentCart's "pay from here" line. */
.fct-thank-you-page .no-print:has(+ .rok-bank) p { display: none; }
/* Shipping choice: red ring and dot like the other choices (FluentCart's colour variable is off on this site). */
.fct_shipping_methods_item .fct-checkmark { border: 2px solid #0B0D0F !important; }
.fct_shipping_methods_item input[type=radio]:checked + label .fct-checkmark { border-color: #E11822 !important; }
.fct_shipping_methods_item input[type=radio]:checked + label .fct-checkmark:after { background-color: #E11822 !important; transform: translate(-50%,-50%) scale(1); }
.fct_shipping_methods_item:has(input:checked) label { border-color: #E11822 !important; background: #FEF2F2; }
/* ---------- Checkout market note + phone fixes (14 Nov 2026, Richard test) ---------- */
/* FluentCart caps error messages at 50px, which cut our market message off. Show it in full. */
.fct_form_error span { max-height: none !important; }
.rok-co-market { margin: 12px 0 4px; padding: 14px 16px; border: 1px solid #E5E5E5; border-left: 3px solid #E11822; border-radius: 6px; background: #FFFFFF; }
.rok-co-market[hidden] { display: none; }
.rok-co-market p { margin: 0 0 10px; font-size: 14px; line-height: 1.45; color: #0B0D0F; }
.rok-co-market-btn { display: block; width: 100%; background: #E11822 !important; color: #FFFFFF !important; border: 0 !important; border-radius: 6px; padding: 12px 16px; font-weight: 700; font-size: 15px; cursor: pointer; }
.rok-co-market-btn:disabled { opacity: .7; }
/* iPhones zoom in (and the page slides sideways) when a box's text is under 16px. */
@media (max-width: 767px) {
	.fct_checkout input, .fct_checkout select, .fct_checkout textarea,
	.fct-modal-checkout-form-inner input, .fct-modal-checkout-form-inner select, .fct-modal-checkout-form-inner textarea,
	.fct-nice-select, .fct-nice-select .current { font-size: 16px !important; }
	.fct-modal-checkout-form-inner, .fct_checkout { max-width: 100%; overflow-x: hidden; }
}
.rok-co-note { margin: 0 0 10px; font-size: 13px; line-height: 1.45; color: #58595B; }

/* Pop-up checkout on phones: FluentCart's grid column came out wider than the screen (410px on a 340px phone), cutting off the right edge. One column that fits. */
@media (max-width: 767px) {
	.fct-modal-checkout-form-inner { grid-template-columns: minmax(0, 1fr) !important; }
	.fct-modal-checkout-form-inner > * { min-width: 0 !important; max-width: 100% !important; }
	.fct-modal-checkout-details, .fct-modal-checkout-summary { padding: 20px 16px !important; flex: 1 1 auto !important; width: 100% !important; }
}

.rok-co-market-btn { box-sizing: border-box !important; max-width: 100%; white-space: normal !important; line-height: 1.3 !important; }

/* Receipt banner (14 Nov 2026, owner): shorter, Rok emblem instead of the tick / exclamation icon. */
.fct-thank-you-page .fct-thank-you-page-header { padding: 18px 20px 16px !important; }
.fct-thank-you-page .fct-thank-you-page-header-icon, .fct-thank-you-page .fct-thank-you-page-header-icon[style*="856404"] { width: 44px !important; height: 44px !important; min-width: 44px; margin: 0 auto 8px !important; border-radius: 10px !important; background: url('https://roktrucks.com/wp-content/uploads/rok-brand/rok-site-icon-512.webp') center / contain no-repeat !important; }
.fct-thank-you-page .fct-thank-you-page-header-icon svg { display: none !important; }
.fct-thank-you-page .fct-thank-you-page-header-title { font-size: clamp(22px, 3vw, 28px) !important; margin: 0 !important; }
/* Bank details: iPad/iPhone turn numbers into red links; keep them plain. */
.rok-bank a { color: inherit !important; text-decoration: none !important; }
