/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ========================================
   FWB Custom Checkout — Global page override
   ======================================== */
body.woocommerce-checkout,
.woocommerce-checkout .site-main,
.woocommerce-checkout .elementor,
.woocommerce-checkout #content,
.woocommerce-checkout .entry-content,
.woocommerce-checkout .page-content,
.woocommerce-checkout .hentry,
.woocommerce-checkout .site-content {
	background: #020202 !important;
}

/* ========================================
   Reset ALL WooCommerce defaults inside .fwb-checkout
   ======================================== */
.fwb-checkout,
.fwb-checkout *,
.fwb-checkout *::before,
.fwb-checkout *::after {
	box-sizing: border-box;
}

.fwb-checkout .form-row {
	padding: 0 !important;
	margin: 0 !important;
	width: auto !important;
	float: none !important;
	display: inline-flex !important;
}

.fwb-checkout .form-row label {
	display: none !important;
}

.fwb-checkout .form-row .woocommerce-input-wrapper {
	width: 100%;
}

.fwb-checkout .select2-container,
.fwb-checkout .woocommerce-form__label-for-checkbox,
.fwb-checkout abbr.required {
	display: none !important;
}

.fwb-checkout #payment {
	background: none !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.fwb-checkout #payment .payment_methods {
	display: none !important;
}

.fwb-checkout #payment .place-order {
	display: none !important;
}

.fwb-checkout #payment::before,
.fwb-checkout #payment::after {
	display: none !important;
}

/* ---- Hidden required fields ---- */
.fwb-checkout__hidden-fields {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	padding: 0 !important;
	margin: -1px !important;
}

/* ========================================
   Layout
   ======================================== */
.fwb-checkout {
	background: #020202 !important;
	padding: 40px;
	font-family: "Aspekta", sans-serif;
	color: #fff;
	max-width: 100%;
}

.fwb-checkout__wrapper {
	display: flex;
	gap: 80px;
	align-items: flex-start;
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
}

.fwb-checkout__left {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	gap: 40px;
	min-width: 0;
}

.fwb-checkout__divider {
	width: 1px;
	align-self: stretch;
	background: rgba(255, 255, 255, 0.26);
	flex-shrink: 0;
}

.fwb-checkout__right {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	gap: 80px;
	min-width: 0;
}

/* ========================================
   Sections
   ======================================== */
.fwb-checkout__section {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.fwb-checkout__section-title {
	font-family: "Aspekta", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: -0.28px;
	text-transform: uppercase;
	color: #5c5c5c;
	margin: 0;
	padding: 0;
}

/* ========================================
   Radio / Checkbox groups
   ======================================== */
.fwb-checkout__options {
	display: flex;
	gap: 40px;
	align-items: center;
	flex-wrap: wrap;
}

.fwb-checkout__options--indent {
	padding-left: 30px;
}

.fwb-checkout__options--wrap {
	gap: 13px 34px;
}

.fwb-checkout__radio-label {
	display: inline-flex !important;
	gap: 12px;
	align-items: center;
	cursor: pointer;
	user-select: none;
	margin: 0;
	padding: 0;
	float: none !important;
	width: auto !important;
}

.fwb-checkout__radio-text {
	font-family: "Aspekta", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: -0.28px;
	text-transform: uppercase;
	color: #fff;
	white-space: nowrap;
}

.fwb-checkout__radio-input {
	position: absolute !important;
	opacity: 0 !important;
	width: 0 !important;
	height: 0 !important;
	pointer-events: none !important;
	margin: 0 !important;
}

.fwb-checkout__radio-box {
	width: 14px;
	height: 14px;
	min-width: 14px;
	min-height: 14px;
	border-radius: 2px;
	border: 1px solid #fff;
	flex-shrink: 0;
	transition:
		background 0.15s,
		border-color 0.15s;
	display: inline-block;
	background: transparent;
}

.fwb-checkout__radio-input:checked + .fwb-checkout__radio-box {
	background: #d5590b !important;
	border-color: #d5590b !important;
}

/* ========================================
   Addresses (saved)
   ======================================== */
.fwb-checkout__addresses {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.fwb-checkout__addresses:empty {
	display: none;
}

.fwb-checkout__address-item {
	display: flex;
	gap: 13px;
	align-items: center;
	cursor: pointer;
	position: relative;
	padding-right: 28px;
	margin-bottom: 10px;
}

.fwb-checkout__address-item .fwb-checkout__radio-box {
	margin-top: 1px;
}

.fwb-checkout__address-delete {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #5c5c5c;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 2px 6px;
	transition: color 0.2s;
}

.fwb-checkout__address-delete:hover {
	color: #d5590b;
}

.fwb-checkout__address-text {
	font-family: "Aspekta", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: -0.28px;
	text-transform: uppercase;
	color: #fff;
	max-width: 318px;
}

/* ========================================
   Street input
   ======================================== */
.fwb-checkout__field-street {
	position: relative;
}

.fwb-checkout__field-street .fwb-checkout__input-street-wrap {
	width: 100% !important;
	display: block !important;
}

.fwb-checkout__field-street .fwb-checkout__input-street-wrap .woocommerce-input-wrapper {
	width: 100% !important;
	display: block !important;
}

.fwb-checkout .fwb-checkout__input-street-wrap input[type="text"],
.fwb-checkout__field-street input.fwb-checkout__input-street,
.fwb-checkout input#billing_address_1 {
	width: 100% !important;
	height: 48px !important;
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, 0.26) !important;
	border-radius: 5px !important;
	padding: 13px 44px 14px 30px !important;
	font-family: "Aspekta", sans-serif !important;
	font-weight: 600 !important;
	font-size: 12px !important;
	letter-spacing: -0.24px !important;
	text-transform: uppercase !important;
	color: #fff !important;
	outline: none !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
}

.fwb-checkout input#billing_address_1::placeholder {
	color: rgba(255, 255, 255, 0.5) !important;
}

.fwb-checkout__search-icon {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	z-index: 2;
}

/* ========================================
   Mini fields row (№, Кв, Подъезд, Этаж, Домофон)
   ======================================== */
.fwb-checkout__field-row {
	display: flex !important;
	gap: 11px;
	align-items: center;
	flex-wrap: nowrap;
}

.fwb-checkout__mini-field {
	display: inline-flex !important;
	gap: 8px;
	align-items: center;
	flex-shrink: 0;
}

.fwb-checkout__mini-label {
	font-family: "Aspekta", sans-serif;
	font-weight: 600;
	font-size: 12px;
	letter-spacing: -0.24px;
	text-transform: uppercase;
	color: #fff;
	white-space: nowrap;
}

/* Override WC form-row for mini fields */
.fwb-checkout__mini-field .fwb-checkout__mini-input-wrap,
.fwb-checkout__mini-field .form-row {
	width: auto !important;
	display: inline-flex !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.fwb-checkout__mini-field .fwb-checkout__mini-input-wrap .woocommerce-input-wrapper {
	width: auto !important;
}

.fwb-checkout .fwb-checkout__mini-input-wrap input[type="text"],
.fwb-checkout__mini-field input.fwb-checkout__mini-input {
	width: 40px !important;
	height: 38px !important;
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, 0.26) !important;
	border-radius: 5px !important;
	color: #fff !important;
	font-family: "Aspekta", sans-serif !important;
	font-weight: 600 !important;
	font-size: 12px !important;
	text-align: center !important;
	outline: none !important;
	padding: 0 4px !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
}

/* ========================================
   Add button
   ======================================== */
.fwb-checkout__btn-add,
.fwb-checkout button#fwb-add-address-btn {
	background: #d5590b !important;
	border: none !important;
	border-radius: 5px !important;
	padding: 14px 20px !important;
	font-family: "HW Topol Trial", sans-serif !important;
	font-weight: 700 !important;
	font-size: 12px !important;
	letter-spacing: -0.36px !important;
	text-transform: uppercase !important;
	color: #fff !important;
	cursor: pointer;
	width: 120px;
	height: 45px;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s;
	line-height: 1 !important;
	box-shadow: none !important;
}

.fwb-checkout__btn-add:hover {
	opacity: 0.85;
}

/* ========================================
   Time options
   ======================================== */
.fwb-checkout__time-options {
	gap: 33px;
	flex-wrap: nowrap !important;
	align-items: center;
}

.fwb-checkout__datetime-picker {
	display: inline-flex !important;
	align-items: center;
	gap: 4px;
	border: 1px solid rgba(255, 255, 255, 0.26);
	border-radius: 2px;
	padding: 4px 8px 6px;
	height: 22px;
	flex-shrink: 0;
}

.fwb-checkout__datetime-input {
	background: transparent !important;
	border: none !important;
	font-family: "Aspekta", sans-serif;
	font-weight: 600;
	font-size: 9px;
	letter-spacing: -0.18px;
	text-transform: uppercase;
	color: #fff !important;
	outline: none !important;
	width: 80px;
	box-shadow: none !important;
}

.fwb-checkout__datetime-input::-webkit-calendar-picker-indicator {
	display: none;
}

/* ========================================
   Comment input
   ======================================== */
.fwb-checkout__comment-wrap {
	width: 100% !important;
	display: block !important;
}

.fwb-checkout__comment-wrap .woocommerce-input-wrapper {
	width: 100% !important;
	display: block !important;
}

.fwb-checkout .fwb-checkout__comment-wrap input[type="text"],
.fwb-checkout__comment-wrap input.fwb-checkout__comment-input {
	width: 100% !important;
	height: 48px !important;
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, 0.26) !important;
	border-radius: 5px !important;
	padding: 13px 30px !important;
	font-family: "Aspekta", sans-serif !important;
	font-weight: 600 !important;
	font-size: 12px !important;
	letter-spacing: -0.24px !important;
	text-transform: uppercase !important;
	color: #fff !important;
	outline: none !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
}

/* ========================================
   Promo code
   ======================================== */
.fwb-checkout__promo-row {
	display: flex;
	align-items: center;
	gap: 16px;
}

.fwb-checkout input.fwb-checkout__promo-input {
	flex: 1;
	max-width: 316px;
	height: 48px !important;
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, 0.26) !important;
	border-radius: 5px !important;
	padding: 13px 30px !important;
	font-family: "Aspekta", sans-serif !important;
	font-weight: 600 !important;
	font-size: 12px !important;
	letter-spacing: -0.24px !important;
	text-transform: uppercase !important;
	color: #fff !important;
	outline: none !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
}

.fwb-checkout button.fwb-checkout__promo-btn,
.fwb-checkout__promo-btn {
	width: 144px !important;
	height: 48px !important;
	border: 1px solid #fff !important;
	border-radius: 5px !important;
	background: transparent !important;
	font-family: "HW Topol Trial", sans-serif !important;
	font-weight: 700 !important;
	font-size: 12px !important;
	letter-spacing: -0.36px !important;
	text-transform: uppercase !important;
	color: #fff !important;
	cursor: pointer;
	transition:
		background 0.2s,
		color 0.2s;
	box-shadow: none !important;
	line-height: 1 !important;
	padding: 0 !important;
}

.fwb-checkout__promo-btn:hover {
	background: #fff !important;
	color: #020202 !important;
}

/* ========================================
   Cart Items
   ======================================== */
.fwb-checkout__cart-items {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.fwb-checkout__cart-item {
	display: flex;
	align-items: center;
	gap: 30px;
}

.fwb-checkout__cart-item-info {
	display: flex;
	gap: 16px;
	align-items: center;
	flex: 1 1 0;
	min-width: 0;
}

.fwb-checkout__cart-item-img {
	width: 100px;
	height: 105px;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 0;
}

.fwb-checkout__cart-item-img img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	max-width: none !important;
	border-radius: 0 !important;
	margin: 0 !important;
}

.fwb-checkout__cart-item-details {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.fwb-checkout__cart-item-name {
	font-family: "Aspekta", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: -0.28px;
	text-transform: uppercase;
	color: #fff;
}

.fwb-checkout__cart-item-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-family: "Aspekta", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: -0.28px;
	text-transform: uppercase;
	color: #5c5c5c;
}

/* ========================================
   Quantity selector — override WC/theme buttons
   ======================================== */
.fwb-checkout__cart-item-qty {
	display: inline-flex !important;
	align-items: center;
	justify-content: space-between;
	width: 74px !important;
	height: 25px !important;
	background: #fff !important;
	border: 1px solid #fff !important;
	border-radius: 3px !important;
	padding: 0 8px !important;
	box-sizing: border-box;
	flex-shrink: 0;
	gap: 0;
}

.fwb-checkout .fwb-checkout__qty-btn,
.fwb-checkout button.fwb-checkout__qty-btn {
	background: none !important;
	border: none !important;
	cursor: pointer;
	font-size: 14px !important;
	color: #161616 !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 16px !important;
	height: 16px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	text-shadow: none !important;
	font-family: Arial, sans-serif !important;
	font-weight: 400 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.fwb-checkout .fwb-checkout__qty-btn:hover {
	background: none !important;
	color: #161616 !important;
	opacity: 0.6;
}

.fwb-checkout__qty-value {
	font-family: "Futura PT", Arial, sans-serif;
	font-weight: 400;
	font-size: 14px;
	text-align: center;
	color: #161616;
	width: 24px;
	display: inline-block;
}

/* ========================================
   Cart item price — override WC price styling
   ======================================== */
.fwb-checkout__cart-item-price,
.fwb-checkout__cart-item-price span,
.fwb-checkout__cart-item-price .woocommerce-Price-amount,
.fwb-checkout__cart-item-price .woocommerce-Price-currencySymbol,
.fwb-checkout__cart-item-price bdi {
	font-family: "Aspekta", sans-serif !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	line-height: 1.2 !important;
	letter-spacing: -0.28px !important;
	text-transform: uppercase !important;
	color: #fff !important;
	white-space: nowrap;
	background: none !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
	display: inline !important;
	box-shadow: none !important;
}

/* ========================================
   Summary
   ======================================== */
.fwb-checkout__summary {
	display: flex;
	flex-direction: column;
	gap: 46px;
}

.fwb-checkout__summary-title {
	font-family: "HW Topol Trial", sans-serif;
	font-weight: 700;
	font-size: 25px;
	line-height: 1.2;
	letter-spacing: -0.5px;
	text-transform: uppercase;
	color: #fff;
	margin: 0;
	padding: 0;
}

.fwb-checkout__summary-rows {
	display: flex;
	flex-direction: column;
	gap: 17px;
}

.fwb-checkout__summary-row {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

.fwb-checkout__summary-label {
	font-family: "Aspekta", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: -0.28px;
	text-transform: uppercase;
	color: #5c5c5c;
	white-space: nowrap;
	min-width: 200px;
}

.fwb-checkout__summary-value,
.fwb-checkout__summary-value span,
.fwb-checkout__summary-value .woocommerce-Price-amount,
.fwb-checkout__summary-value bdi {
	font-family: "Aspekta", sans-serif !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	line-height: 1.2 !important;
	letter-spacing: -0.28px !important;
	text-transform: uppercase !important;
	color: #fff !important;
	background: none !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: inline !important;
}

/* ========================================
   Terms checkbox
   ======================================== */
.fwb-checkout__terms {
	margin-top: 12px;
}

.fwb-checkout__terms-label {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	cursor: pointer;
}

.fwb-checkout__radio-box--terms {
	margin-top: 1px;
}

.fwb-checkout__terms-text {
	font-family: "Aspekta", sans-serif;
	font-weight: 600;
	font-size: 10px;
	line-height: 1.2;
	letter-spacing: -0.2px;
	text-transform: uppercase;
	color: #fff;
}

/* ========================================
   Submit button
   ======================================== */
.fwb-checkout button.fwb-checkout__submit,
.fwb-checkout__submit,
.fwb-checkout button#place_order {
	width: 240px !important;
	height: 45px !important;
	background: #d5590b !important;
	border: none !important;
	border-radius: 5px !important;
	font-family: "HW Topol Trial", sans-serif !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	letter-spacing: -0.42px !important;
	text-transform: uppercase !important;
	color: #fff !important;
	cursor: pointer;
	transition: opacity 0.2s;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-shadow: none !important;
	padding: 0 !important;
	line-height: 1 !important;
	margin: 0 !important;
}

.fwb-checkout__submit:hover {
	opacity: 0.85;
}

/* ========================================
   WooCommerce notices inside checkout
   ======================================== */
.fwb-checkout .woocommerce-NoticeGroup,
.fwb-checkout .woocommerce-error,
.fwb-checkout .woocommerce-info,
.fwb-checkout .woocommerce-message {
	color: #fff !important;
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: rgba(255, 255, 255, 0.2) !important;
	border-radius: 5px;
}

.fwb-checkout .woocommerce-error li,
.fwb-checkout .woocommerce-message {
	color: #fff !important;
}

/* ========================================
   Hide empty saved address section
   ======================================== */
#fwb-delivery-address-section .fwb-checkout__addresses:empty ~ .fwb-checkout__section-title {
	display: none;
}

/* ========================================
   Mobile Responsive (<= 768px)
   ======================================== */
@media (max-width: 768px) {
	.fwb-checkout {
		padding: 20px 16px !important;
	}

	.fwb-checkout__wrapper {
		flex-direction: column;
		gap: 40px;
	}

	.fwb-checkout__divider {
		width: 100%;
		height: 1px;
		align-self: auto;
	}

	.fwb-checkout__left,
	.fwb-checkout__right {
		width: 100%;
	}

	.fwb-checkout__left {
		gap: 30px;
	}

	.fwb-checkout__right {
		gap: 40px;
	}

	.fwb-checkout__options--indent {
		padding-left: 0;
	}

	.fwb-checkout__options {
		gap: 20px;
	}

	.fwb-checkout__time-options {
		gap: 16px;
		flex-wrap: wrap;
	}

	.fwb-checkout__field-row {
		flex-wrap: wrap;
		gap: 10px;
	}

	.fwb-checkout .fwb-checkout__mini-input-wrap input[type="text"],
	.fwb-checkout__mini-field input.fwb-checkout__mini-input {
		width: 42px !important;
	}

	.fwb-checkout__promo-row {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.fwb-checkout input.fwb-checkout__promo-input {
		max-width: 100%;
	}

	.fwb-checkout button.fwb-checkout__promo-btn,
	.fwb-checkout__promo-btn {
		width: 100% !important;
	}

	.fwb-checkout__cart-item {
		flex-wrap: wrap;
		gap: 12px;
	}

	.fwb-checkout__cart-item-details {
		gap: 8px;
	}

	.fwb-checkout__cart-item-img {
		width: 70px;
		height: 74px;
	}

	.fwb-checkout__summary-row {
		flex-direction: column;
		gap: 4px;
	}

	.fwb-checkout__summary-label {
		min-width: 0;
	}

	.fwb-checkout button.fwb-checkout__submit,
	.fwb-checkout__submit,
	.fwb-checkout button#place_order {
		width: 100% !important;
	}

	.fwb-checkout__address-text {
		max-width: 100%;
	}
}

/* ========================================
   Tablet (769px — 1024px)
   ======================================== */
@media (min-width: 769px) and (max-width: 1024px) {
	.fwb-checkout__wrapper {
		gap: 40px;
	}

	.fwb-checkout__cart-item {
		gap: 16px;
	}

	.fwb-checkout__cart-item-details {
		gap: 10px;
	}
}

/* ========================================
   FWB Phone Auth — SMS verification on checkout
   ======================================== */
.fwb-phone-auth {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 60vh;
	padding: 40px 20px;
	background: #020202;
}

.fwb-phone-auth__inner {
	max-width: 420px;
	width: 100%;
}

.fwb-phone-auth__title {
	font-family: "HW Topol Trial", sans-serif;
	font-weight: 700;
	font-size: 28px;
	color: #fff;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.fwb-phone-auth__subtitle {
	font-family: "Aspekta", sans-serif;
	font-weight: 400;
	font-size: 14px;
	color: #5c5c5c;
	margin: 0 0 32px;
	line-height: 1.5;
}

.fwb-phone-auth__step {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fwb-phone-auth__field {
	position: relative;
}

.fwb-phone-auth__input {
	width: 100%;
	height: 48px;
	padding: 0 16px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.26);
	border-radius: 8px;
	color: #fff;
	font-family: "Aspekta", sans-serif;
	font-weight: 600;
	font-size: 14px;
	outline: none;
	transition: border-color 0.2s;
	box-sizing: border-box;
	-webkit-appearance: none;
}

.fwb-phone-auth__input:focus {
	border-color: #d5590b;
}

.fwb-phone-auth__input::placeholder {
	color: #5c5c5c;
	font-weight: 400;
}

.fwb-phone-auth__btn {
	width: 100%;
	height: 48px;
	background: #d5590b;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-family: "Aspekta", sans-serif;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: opacity 0.2s;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.fwb-phone-auth__btn:hover {
	opacity: 0.9;
}

.fwb-phone-auth__btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.fwb-phone-auth__info {
	font-family: "Aspekta", sans-serif;
	font-weight: 400;
	font-size: 13px;
	color: #5c5c5c;
	margin: 0 0 4px;
}

.fwb-phone-auth__info span {
	color: #fff;
	font-weight: 600;
}

.fwb-phone-auth__resend {
	text-align: center;
	margin-top: 4px;
}

.fwb-phone-auth__resend-btn {
	background: none;
	border: none;
	color: #5c5c5c;
	font-family: "Aspekta", sans-serif;
	font-weight: 400;
	font-size: 13px;
	cursor: pointer;
	padding: 4px 0;
	transition: color 0.2s;
}

.fwb-phone-auth__resend-btn:not(:disabled):hover {
	color: #d5590b;
}

.fwb-phone-auth__resend-btn:disabled {
	cursor: not-allowed;
	opacity: 0.6;
}

.fwb-phone-auth__msg {
	display: none;
	margin-top: 16px;
	padding: 10px 14px;
	border-radius: 6px;
	font-family: "Aspekta", sans-serif;
	font-weight: 400;
	font-size: 13px;
	line-height: 1.4;
}

.fwb-phone-auth__msg--error {
	background: rgba(220, 53, 69, 0.15);
	color: #ff6b6b;
	border: 1px solid rgba(220, 53, 69, 0.3);
}

.fwb-phone-auth__msg--success {
	background: rgba(40, 167, 69, 0.15);
	color: #51cf66;
	border: 1px solid rgba(40, 167, 69, 0.3);
}

/* intl-tel-input dark theme overrides */
.fwb-phone-auth .iti {
	width: 100%;
	position: relative;
	display: block;
}

/* The actual <input> — let intl-tel-input manage padding-left dynamically */
.fwb-phone-auth .iti__tel-input {
	width: 100%;
	height: 48px;
	padding-right: 16px;
	/* padding-left is set by intl-tel-input — do not override */
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, 0.26) !important;
	border-radius: 8px !important;
	color: #fff !important;
	font-family: "Aspekta", sans-serif;
	font-weight: 600;
	font-size: 14px;
	outline: none !important;
	transition: border-color 0.2s;
	box-sizing: border-box;
	-webkit-appearance: none;
	box-shadow: none !important;
}

.fwb-phone-auth .iti__tel-input:focus {
	border-color: #d5590b !important;
}

.fwb-phone-auth .iti__tel-input::placeholder {
	color: #5c5c5c;
	font-weight: 400;
}

/* Country container — absolutely positioned inside .iti */
.fwb-phone-auth .iti__country-container {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	display: flex;
	align-items: center;
	border-right: 1px solid rgba(255, 255, 255, 0.12);
	z-index: 1;
}

/* Flag trigger button — override theme orange button styles */
.fwb-phone-auth .iti__selected-country,
.fwb-phone-auth .iti__selected-country-primary {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	color: #fff !important;
	height: 100%;
	display: flex;
	align-items: center;
	padding: 0 8px 0 10px;
	cursor: pointer;
	border-radius: 0 !important;
	font-size: inherit;
	text-transform: none;
	letter-spacing: 0;
	width: auto;
	opacity: 1 !important;
}

.fwb-phone-auth .iti__selected-country:hover,
.fwb-phone-auth .iti__selected-country:focus,
.fwb-phone-auth .iti__selected-country-primary:hover {
	background: rgba(255, 255, 255, 0.06) !important;
	border-radius: 6px 0 0 6px !important;
}

.fwb-phone-auth .iti__selected-dial-code {
	color: #aaa;
	font-family: "Aspekta", sans-serif;
	font-size: 13px;
	font-weight: 400;
	margin-left: 4px;
}

.fwb-phone-auth .iti__arrow {
	border-top-color: rgba(255, 255, 255, 0.5);
	margin-left: 5px;
}

.fwb-phone-auth .iti__arrow--up {
	border-bottom-color: rgba(255, 255, 255, 0.5);
	border-top-color: transparent;
}

/* Dropdown */
.fwb-phone-auth .iti__dropdown-content {
	background: #161616;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 10px;
	max-height: 260px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
	overflow: hidden;
}

.fwb-phone-auth .iti__search-input {
	width: 100%;
	box-sizing: border-box;
	background: #1e1e1e !important;
	border: none !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
	box-shadow: none !important;
	color: #fff !important;
	font-family: "Aspekta", sans-serif;
	font-size: 13px;
	padding: 10px 12px;
	outline: none;
	border-radius: 0;
}

.fwb-phone-auth .iti__search-input::placeholder {
	color: #555;
}

.fwb-phone-auth .iti__country-list {
	background: transparent;
}

.fwb-phone-auth .iti__country {
	padding: 8px 12px;
	color: #ddd;
	font-family: "Aspekta", sans-serif;
	font-size: 13px;
}

.fwb-phone-auth .iti__country:hover,
.fwb-phone-auth .iti__country.iti__highlight,
.fwb-phone-auth .iti__country--highlight {
	background: rgba(213, 89, 11, 0.2);
}

.fwb-phone-auth .iti__dial-code {
	color: #666;
}

.fwb-phone-auth .iti__country-name {
	color: #ddd;
}

.fwb-phone-auth .iti__divider {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	margin: 4px 0;
}

/* Phone auth responsive */
@media (max-width: 768px) {
	.fwb-phone-auth {
		min-height: 50vh;
		padding: 30px 16px;
	}

	.fwb-phone-auth__title {
		font-size: 22px;
	}

	.fwb-phone-auth .iti__tel-input,
	.fwb-phone-auth__input {
		height: 44px;
		font-size: 16px; /* prevent iOS zoom on focus */
	}

	.fwb-phone-auth__btn {
		height: 44px;
	}
}
