/**
 * pcf-form.css — Pro COD Form v4
 * 4 Design Presets: Sahara · Blaze · Violet · Arctic
 * All selectors scoped to .pcf-preset-{name} for theme isolation.
 *
 * @package Pro_COD_Form
 */

/* ============================================================
   BASE RESET (scoped, no global pollution)
   ============================================================ */

.pcf-form-wrapper *,
.pcf-form-wrapper *::before,
.pcf-form-wrapper *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.pcf-form-wrapper {
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	color: #1a1a2e;
	width: 100%;
	max-width: 100%;
	position: relative;
}

.pcf-form-wrapper[dir="rtl"],
.pcf-form-wrapper.pcf-rtl {
	font-family: 'IBM Plex Sans Arabic', Tahoma, Arial, sans-serif;
	direction: rtl;
	text-align: right;
}

/* ============================================================
   PRESET 1: SAHARA — Minimal Arabic
   ============================================================ */

.pcf-preset-sahara {
	background: #ffffff;
	border: 1px solid #e8e8ee;
	border-radius: 16px;
	padding: 24px 20px;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.pcf-preset-sahara .pcf-form-header {
	text-align: center;
	margin-bottom: 22px;
	padding-bottom: 16px;
	border-bottom: 1px solid #f0f0f6;
}

.pcf-preset-sahara .pcf-form-title {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a2e;
	margin-bottom: 4px;
}

.pcf-preset-sahara .pcf-form-subtitle {
	font-size: 13px;
	color: #7a7a9a;
}

.pcf-preset-sahara .pcf-cod-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #1a6fdb;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
	margin-top: 8px;
}

.pcf-preset-sahara .pcf-input {
	width: 100%;
	background: #ffffff;
	border: 1px solid #d8d8e8;
	border-radius: 12px;
	padding: 13px 16px;
	font-size: 15px;
	font-family: inherit;
	color: #1a1a2e;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	appearance: none;
	-webkit-appearance: none;
	display: block;
}

.pcf-preset-sahara .pcf-input:focus {
	border-color: #1a6fdb;
	box-shadow: 0 0 0 3px rgba(26, 111, 219, 0.1);
}

.pcf-preset-sahara .pcf-input:hover:not(:focus) {
	border-color: #b8b8d0;
}

.pcf-preset-sahara .pcf-input::placeholder {
	color: #b0b0c8;
	font-style: normal;
	font-size: 14px;
}

.pcf-preset-sahara .pcf-field-group {
	margin-bottom: 14px;
	position: relative;
}

.pcf-preset-sahara .pcf-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #555570;
	margin-bottom: 6px;
}

.pcf-preset-sahara .pcf-required {
	color: #e53935;
	margin-inline-start: 2px;
}

/* Sahara: Submit + Qty inline */
.pcf-preset-sahara .pcf-submit-area {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-top: 18px;
	flex-direction: row-reverse;
	/* qty on right for RTL */
}

.pcf-preset-sahara[dir="ltr"] .pcf-submit-area,
.pcf-preset-sahara:not([dir="rtl"]) .pcf-submit-area {
	flex-direction: row;
}

.pcf-preset-sahara .pcf-submit-btn,
.pcf-preset-sahara #pcf-submit-btn {
	flex: 1;
	background: #1a6fdb;
	color: #ffffff;
	border: none;
	border-radius: 10px;
	padding: 14px 20px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.2s, transform 0.15s;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	position: relative;
	overflow: hidden;
}

.pcf-preset-sahara .pcf-submit-btn:hover,
.pcf-preset-sahara #pcf-submit-btn:hover {
	background: #1558b0;
	transform: translateY(-1px);
}

.pcf-preset-sahara .pcf-submit-btn:active,
.pcf-preset-sahara #pcf-submit-btn:active {
	transform: scale(0.98);
}

.pcf-preset-sahara .pcf-qty-control {
	display: flex;
	align-items: center;
	border: 1px solid #d8d8e8;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}

.pcf-preset-sahara .pcf-qty-btn,
.pcf-preset-sahara .pcf-qty-minus,
.pcf-preset-sahara .pcf-qty-plus {
	width: 40px;
	height: 48px;
	background: transparent;
	border: none;
	font-size: 20px;
	font-weight: 300;
	color: #1a6fdb;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background 0.15s;
}

.pcf-preset-sahara .pcf-qty-btn:hover,
.pcf-preset-sahara .pcf-qty-minus:hover,
.pcf-preset-sahara .pcf-qty-plus:hover {
	background: #f0f4ff;
}

.pcf-preset-sahara .pcf-qty-input,
.pcf-preset-sahara #pcf_quantity {
	width: 48px;
	height: 48px;
	text-align: center;
	border: none;
	border-left: 1px solid #e8e8ee;
	border-right: 1px solid #e8e8ee;
	background: transparent;
	font-size: 16px;
	font-weight: 700;
	color: #1a1a2e;
	-moz-appearance: textfield;
	appearance: textfield;
	outline: none;
}

.pcf-preset-sahara .pcf-qty-input::-webkit-inner-spin-button,
.pcf-preset-sahara .pcf-qty-input::-webkit-outer-spin-button,
.pcf-preset-sahara #pcf_quantity::-webkit-inner-spin-button,
.pcf-preset-sahara #pcf_quantity::-webkit-outer-spin-button {
	display: none;
}

/* Sahara: Swatches */
.pcf-preset-sahara .pcf-swatch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 16px;
	border: 1px solid #d8d8e8;
	border-radius: 10px;
	background: #fff;
	font-size: 13px;
	font-weight: 600;
	color: #4a4a6a;
	cursor: pointer;
	transition: all 0.2s;
	font-family: inherit;
}

.pcf-preset-sahara .pcf-swatch:hover {
	border-color: #1a6fdb;
	color: #1a6fdb;
}

.pcf-preset-sahara .pcf-swatch.selected,
.pcf-preset-sahara .pcf-swatch[aria-pressed="true"] {
	background: #1a6fdb;
	border-color: #1a6fdb;
	color: #fff;
}

.pcf-preset-sahara .pcf-swatches-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.pcf-preset-sahara .pcf-color-swatch {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2.5px solid rgba(200, 200, 220, 0.5);
	cursor: pointer;
	transition: all 0.2s;
	position: relative;
	flex-shrink: 0;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
	padding: 0;
	background: transparent;
}

.pcf-preset-sahara .pcf-color-swatch:hover {
	transform: scale(1.12);
}

.pcf-preset-sahara .pcf-color-swatch.selected,
.pcf-preset-sahara .pcf-color-swatch[aria-pressed="true"] {
	border-color: #1a6fdb;
	border-width: 3px;
	box-shadow: 0 0 0 3px rgba(26, 111, 219, 0.25);
}

/* Sahara: Order summary */
.pcf-preset-sahara .pcf-order-summary {
	margin-top: 20px;
	border-top: 1px solid #f0f0f6;
	padding-top: 16px;
}

.pcf-preset-sahara .pcf-summary-row {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	font-size: 14px;
	color: #555570;
	border-bottom: 1px solid #f8f8fc;
}

.pcf-preset-sahara .pcf-total-row {
	font-size: 17px;
	font-weight: 800;
	color: #1a1a2e;
	border-bottom: none;
	padding-top: 12px;
}

.pcf-preset-sahara .pcf-total-amount {
	color: #1a6fdb;
}

/* Sahara: Variations */
.pcf-preset-sahara .pcf-variations-wrapper {
	margin-bottom: 16px;
}

.pcf-preset-sahara .pcf-attr-label,
.pcf-preset-sahara .pcf-variation-label {
	font-size: 13px;
	font-weight: 600;
	color: #555570;
	margin-bottom: 8px;
	display: block;
}

/* ============================================================
   PRESET 2: BLAZE — Orange Conversion
   ============================================================ */

.pcf-preset-blaze {
	background: #ffffff;
	border-radius: 20px;
	padding: 0;
	overflow: hidden;
	box-shadow: 0 4px 30px rgba(255, 87, 34, 0.12);
	border: 1px solid rgba(255, 87, 34, 0.1);
}

.pcf-preset-blaze .pcf-blaze-inner,
.pcf-preset-blaze>form,
.pcf-preset-blaze>div:not(.pcf-product-strip) {
	padding: 20px 18px;
}

.pcf-preset-blaze .pcf-form-header {
	padding: 18px 18px 0;
}

.pcf-preset-blaze .pcf-form-title {
	font-size: 19px;
	font-weight: 800;
	color: #ff5722;
	text-align: center;
	margin-bottom: 14px;
}

/* Product strip */
.pcf-preset-blaze .pcf-product-strip,
.pcf-preset-blaze .pcf-compact-strip {
	background: #fff8f5;
	border: 1px solid rgba(255, 87, 34, 0.15);
	border-radius: 12px;
	padding: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.pcf-preset-blaze .pcf-product-strip img,
.pcf-preset-blaze .pcf-compact-thumb {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
}

.pcf-preset-blaze .pcf-qty-badge {
	background: #ff5722;
	color: white;
	border-radius: 20px;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 700;
	flex-shrink: 0;
}

/* Upsell card */
.pcf-preset-blaze .pcf-upsell-section {
	background: transparent;
	border: none;
	padding: 0;
	margin-bottom: 16px;
	backdrop-filter: none;
}

.pcf-preset-blaze .pcf-upsell-item {
	background: #fff3ee;
	border: 2px solid #ff5722;
	border-radius: 12px;
	padding: 12px;
	margin-bottom: 8px;
	position: relative;
}

.pcf-preset-blaze .pcf-upsell-badge {
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	background: #ff5722;
	color: white;
	font-size: 10px;
	font-weight: 700;
	padding: 2px 10px;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	white-space: nowrap;
}

.pcf-preset-blaze .pcf-label {
	font-size: 11px;
	font-weight: 700;
	color: #ff5722;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 6px;
	display: block;
}

.pcf-preset-blaze .pcf-input {
	width: 100%;
	background: #fff8f5;
	border: 1.5px solid #ffe0d5;
	border-radius: 12px;
	padding: 13px 16px;
	font-size: 15px;
	font-family: 'Poppins', sans-serif;
	color: #1a1a2e;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	appearance: none;
	-webkit-appearance: none;
	display: block;
}

.pcf-preset-blaze .pcf-input:focus {
	border-color: #ff5722;
	box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.12);
	background: #fff;
}

.pcf-preset-blaze .pcf-input::placeholder {
	color: #c8a090;
	font-style: italic;
	font-size: 14px;
}

.pcf-preset-blaze .pcf-field-group {
	margin-bottom: 14px;
	position: relative;
}

.pcf-preset-blaze .pcf-required {
	color: #e53935;
	margin-inline-start: 2px;
}

/* Submit buttons */
.pcf-preset-blaze .pcf-submit-btn,
.pcf-preset-blaze #pcf-submit-btn {
	width: 100%;
	background: linear-gradient(135deg, #ff5722, #ff3d00);
	color: white;
	border: none;
	border-radius: 14px;
	padding: 16px;
	font-size: 17px;
	font-weight: 700;
	font-family: 'Poppins', sans-serif;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 10px;
	box-shadow: 0 4px 20px rgba(255, 87, 34, 0.35);
	transition: all 0.25s ease;
	position: relative;
	overflow: hidden;
}

.pcf-preset-blaze .pcf-submit-btn:hover,
.pcf-preset-blaze #pcf-submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(255, 87, 34, 0.45);
}

.pcf-preset-blaze .pcf-submit-btn:active,
.pcf-preset-blaze #pcf-submit-btn:active {
	transform: scale(0.98);
}

.pcf-preset-blaze .pcf-whatsapp-btn {
	width: 100%;
	background: #25d366;
	color: white;
	border: none;
	border-radius: 14px;
	padding: 14px;
	font-size: 16px;
	font-weight: 600;
	font-family: 'Poppins', sans-serif;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: all 0.2s;
}

.pcf-preset-blaze .pcf-whatsapp-btn:hover {
	background: #1db954;
}

.pcf-preset-blaze .pcf-qty-control {
	display: flex;
	align-items: center;
	background: #fff8f5;
	border: 1.5px solid #ffe0d5;
	border-radius: 12px;
	overflow: hidden;
	width: fit-content;
}

.pcf-preset-blaze .pcf-qty-btn,
.pcf-preset-blaze .pcf-qty-minus,
.pcf-preset-blaze .pcf-qty-plus {
	width: 44px;
	height: 46px;
	background: transparent;
	border: none;
	font-size: 20px;
	color: #ff5722;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 300;
	transition: background 0.15s;
	padding: 0;
}

.pcf-preset-blaze .pcf-qty-btn:hover,
.pcf-preset-blaze .pcf-qty-minus:hover,
.pcf-preset-blaze .pcf-qty-plus:hover {
	background: #ffe8e0;
}

.pcf-preset-blaze .pcf-qty-input,
.pcf-preset-blaze #pcf_quantity {
	width: 52px;
	height: 46px;
	text-align: center;
	border: none;
	border-left: 1px solid #ffe0d5;
	border-right: 1px solid #ffe0d5;
	background: transparent;
	font-size: 16px;
	font-weight: 700;
	color: #1a1a2e;
	-moz-appearance: textfield;
	appearance: textfield;
	outline: none;
}

.pcf-preset-blaze .pcf-qty-input::-webkit-inner-spin-button,
.pcf-preset-blaze .pcf-qty-input::-webkit-outer-spin-button,
.pcf-preset-blaze #pcf_quantity::-webkit-inner-spin-button,
.pcf-preset-blaze #pcf_quantity::-webkit-outer-spin-button {
	display: none;
}

/* Blaze: swatches */
.pcf-preset-blaze .pcf-swatches-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.pcf-preset-blaze .pcf-swatch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 16px;
	border: 1.5px solid #ffe0d5;
	border-radius: 10px;
	background: #fff8f5;
	font-size: 13px;
	font-weight: 600;
	color: #c85030;
	cursor: pointer;
	transition: all 0.2s;
	font-family: inherit;
}

.pcf-preset-blaze .pcf-swatch:hover {
	border-color: #ff5722;
}

.pcf-preset-blaze .pcf-swatch.selected,
.pcf-preset-blaze .pcf-swatch[aria-pressed="true"] {
	background: #ff5722;
	border-color: #ff5722;
	color: #fff;
}

.pcf-preset-blaze .pcf-color-swatch {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2.5px solid rgba(200, 200, 220, 0.5);
	cursor: pointer;
	transition: all 0.2s;
	position: relative;
	flex-shrink: 0;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
	padding: 0;
}

.pcf-preset-blaze .pcf-color-swatch:hover {
	transform: scale(1.12);
}

.pcf-preset-blaze .pcf-color-swatch.selected,
.pcf-preset-blaze .pcf-color-swatch[aria-pressed="true"] {
	border-color: #ff5722;
	border-width: 3px;
	box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.25);
}

/* Blaze: Order summary */
.pcf-preset-blaze .pcf-order-summary {
	background: #fff8f5;
	border: 1px solid rgba(255, 87, 34, 0.12);
	border-radius: 12px;
	padding: 14px 16px;
	margin: 16px 0;
}

.pcf-preset-blaze .pcf-summary-row {
	display: flex;
	justify-content: space-between;
	padding: 7px 0;
	font-size: 14px;
	color: #7a6050;
	border-bottom: 1px solid rgba(255, 87, 34, 0.08);
}

.pcf-preset-blaze .pcf-summary-row:last-child {
	border-bottom: none;
}

.pcf-preset-blaze .pcf-total-row {
	font-size: 17px;
	font-weight: 800;
	color: #ff5722;
	padding-top: 10px;
}

.pcf-preset-blaze .pcf-attr-label,
.pcf-preset-blaze .pcf-variation-label {
	font-size: 13px;
	font-weight: 700;
	color: #ff5722;
	margin-bottom: 8px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

/* ============================================================
   PRESET 3: VIOLET — Purple Arabic Glass
   ============================================================ */

.pcf-preset-violet {
	background: rgba(255, 255, 255, 0.93);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1.5px solid rgba(124, 77, 255, 0.15);
	border-radius: 20px;
	padding: 24px 20px;
	box-shadow: 0 8px 32px rgba(124, 77, 255, 0.12);
}

.pcf-preset-violet .pcf-form-header {
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(124, 77, 255, 0.1);
}

.pcf-preset-violet .pcf-form-title {
	font-size: 19px;
	font-weight: 700;
	color: #1a1a2e;
}

.pcf-preset-violet .pcf-form-subtitle {
	font-size: 13px;
	color: #7a7a9a;
	margin-top: 4px;
}

.pcf-preset-violet .pcf-cod-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: linear-gradient(135deg, #7c4dff, #9c6fff);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
	margin-top: 8px;
	box-shadow: 0 2px 8px rgba(124, 77, 255, 0.35);
}

.pcf-preset-violet .pcf-form-description {
	font-size: 15px;
	font-weight: 500;
	color: #2d2d3a;
	text-align: right;
	margin-bottom: 20px;
	line-height: 1.7;
}

.pcf-preset-violet .pcf-input {
	width: 100%;
	background: #ffffff;
	border: 1.5px solid #e0d8f8;
	border-radius: 12px;
	padding: 13px 16px;
	font-size: 15px;
	font-family: 'IBM Plex Sans Arabic', Tahoma, sans-serif;
	color: #1a1a2e;
	outline: none;
	transition: all 0.2s;
	appearance: none;
	-webkit-appearance: none;
	display: block;
}

.pcf-preset-violet .pcf-input:focus {
	border-color: #7c4dff;
	box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.12);
	background: #fdfcff;
}

.pcf-preset-violet .pcf-input:hover:not(:focus) {
	border-color: #c0aff4;
}

.pcf-preset-violet .pcf-input::placeholder {
	color: #b8b0d8;
	font-style: italic;
	font-size: 14px;
}

.pcf-preset-violet .pcf-field-group {
	margin-bottom: 14px;
	position: relative;
}

.pcf-preset-violet .pcf-label {
	font-size: 13px;
	font-weight: 600;
	color: #6040cc;
	margin-bottom: 6px;
	display: block;
}

.pcf-preset-violet .pcf-required {
	color: #e53935;
	margin-inline-start: 2px;
}

/* Violet: Dropdown with chevron on left (RTL) */
.pcf-preset-violet .pcf-select-wrap {
	position: relative;
}

.pcf-preset-violet .pcf-select-wrap::before {
	content: '❯';
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%) rotate(90deg);
	color: #9880e0;
	font-size: 12px;
	pointer-events: none;
	z-index: 1;
}

.pcf-preset-violet .pcf-input.pcf-select {
	padding-left: 36px;
	padding-right: 16px;
}

/* Color swatches — REAL COLORS */
.pcf-preset-violet .pcf-swatches-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
	justify-content: flex-end;
}

.pcf-preset-violet .pcf-color-swatch {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 2.5px solid rgba(200, 200, 220, 0.4);
	cursor: pointer;
	transition: all 0.2s;
	position: relative;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	padding: 0;
	flex-shrink: 0;
}

.pcf-preset-violet .pcf-color-swatch:hover {
	transform: scale(1.15);
	border-color: #7c4dff;
}

.pcf-preset-violet .pcf-color-swatch.selected,
.pcf-preset-violet .pcf-color-swatch[aria-pressed="true"] {
	border-color: #7c4dff;
	border-width: 3px;
	box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.25), 0 2px 8px rgba(0, 0, 0, 0.15);
	transform: scale(1.1);
}

.pcf-preset-violet .pcf-color-swatch.selected::after,
.pcf-preset-violet .pcf-color-swatch[aria-pressed="true"]::after {
	content: '✓';
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 14px;
	font-weight: 900;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Size swatches — pills */
.pcf-preset-violet .pcf-swatch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 40px;
	padding: 0 14px;
	border: 1.5px solid #d0c8f0;
	border-radius: 10px;
	background: #ffffff;
	font-size: 13px;
	font-weight: 600;
	color: #4a4a6a;
	cursor: pointer;
	transition: all 0.2s;
	font-family: inherit;
}

.pcf-preset-violet .pcf-swatch:hover {
	border-color: #7c4dff;
	color: #7c4dff;
	background: rgba(124, 77, 255, 0.05);
}

.pcf-preset-violet .pcf-swatch.selected,
.pcf-preset-violet .pcf-swatch[aria-pressed="true"] {
	background: #7c4dff;
	border-color: #7c4dff;
	color: #ffffff;
	box-shadow: 0 3px 12px rgba(124, 77, 255, 0.35);
}

.pcf-preset-violet .pcf-swatch.unavailable {
	opacity: 0.3;
	text-decoration: line-through;
	cursor: not-allowed;
}

.pcf-preset-violet .pcf-attr-label,
.pcf-preset-violet .pcf-variation-label {
	font-size: 13px;
	font-weight: 600;
	color: #6040cc;
	margin-bottom: 8px;
	display: block;
}

.pcf-preset-violet .pcf-variations-wrapper {
	margin-bottom: 16px;
}

/* Submit + qty inline */
.pcf-preset-violet .pcf-submit-area {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-top: 18px;
	flex-direction: row-reverse;
}

.pcf-preset-violet[dir="ltr"] .pcf-submit-area {
	flex-direction: row;
}

.pcf-preset-violet .pcf-submit-btn,
.pcf-preset-violet #pcf-submit-btn {
	flex: 1;
	background: #7c4dff;
	color: white;
	border: none;
	border-radius: 12px;
	padding: 14px 20px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.2s;
	box-shadow: 0 4px 16px rgba(124, 77, 255, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	position: relative;
	overflow: hidden;
}

.pcf-preset-violet .pcf-submit-btn:hover,
.pcf-preset-violet #pcf-submit-btn:hover {
	background: #6c3fef;
	transform: translateY(-1px);
}

.pcf-preset-violet .pcf-submit-btn:active,
.pcf-preset-violet #pcf-submit-btn:active {
	transform: scale(0.98);
}

.pcf-preset-violet .pcf-qty-control {
	display: flex;
	align-items: center;
	background: white;
	border: 1.5px solid #d0c8f0;
	border-radius: 12px;
	overflow: hidden;
}

.pcf-preset-violet .pcf-qty-btn,
.pcf-preset-violet .pcf-qty-minus,
.pcf-preset-violet .pcf-qty-plus {
	width: 42px;
	height: 48px;
	background: transparent;
	border: none;
	font-size: 20px;
	font-weight: 300;
	color: #7c4dff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s;
	padding: 0;
}

.pcf-preset-violet .pcf-qty-btn:hover,
.pcf-preset-violet .pcf-qty-minus:hover,
.pcf-preset-violet .pcf-qty-plus:hover {
	background: rgba(124, 77, 255, 0.07);
}

.pcf-preset-violet .pcf-qty-input,
.pcf-preset-violet #pcf_quantity {
	width: 50px;
	height: 48px;
	text-align: center;
	border: none;
	border-left: 1px solid #e8e0f8;
	border-right: 1px solid #e8e0f8;
	background: transparent;
	font-size: 16px;
	font-weight: 700;
	color: #1a1a2e;
	-moz-appearance: textfield;
	appearance: textfield;
	outline: none;
}

.pcf-preset-violet .pcf-qty-input::-webkit-inner-spin-button,
.pcf-preset-violet .pcf-qty-input::-webkit-outer-spin-button,
.pcf-preset-violet #pcf_quantity::-webkit-inner-spin-button,
.pcf-preset-violet #pcf_quantity::-webkit-outer-spin-button {
	display: none;
}

/* Collapsible order summary */
.pcf-preset-violet .pcf-summary-toggle {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgba(124, 77, 255, 0.08);
	border: 1px solid rgba(124, 77, 255, 0.2);
	border-radius: 12px;
	padding: 12px 16px;
	cursor: pointer;
	margin-top: 16px;
	font-weight: 700;
	color: #7c4dff;
	font-size: 15px;
	transition: background 0.2s;
	font-family: inherit;
}

.pcf-preset-violet .pcf-summary-toggle:hover {
	background: rgba(124, 77, 255, 0.13);
}

.pcf-preset-violet .pcf-summary-arrow {
	transition: transform 0.25s;
}

.pcf-preset-violet .pcf-summary-toggle.open .pcf-summary-arrow {
	transform: rotate(180deg);
}

.pcf-preset-violet .pcf-order-summary {
	background: rgba(124, 77, 255, 0.04);
	border: 1px solid rgba(124, 77, 255, 0.12);
	border-top: none;
	border-radius: 0 0 12px 12px;
	padding: 14px 16px;
}

.pcf-preset-violet .pcf-summary-row {
	display: flex;
	justify-content: space-between;
	padding: 7px 0;
	font-size: 14px;
	color: #555570;
	border-bottom: 1px solid rgba(124, 77, 255, 0.08);
}

.pcf-preset-violet .pcf-summary-row:last-child {
	border-bottom: none;
}

.pcf-preset-violet .pcf-total-row {
	font-size: 17px;
	font-weight: 800;
	color: #7c4dff;
	padding-top: 12px;
}

/* Violet: WhatsApp floating */
.pcf-preset-violet .pcf-whatsapp-float {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 56px;
	height: 56px;
	background: #25d366;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
	cursor: pointer;
	z-index: 9999;
	transition: all 0.2s;
	text-decoration: none;
}

.pcf-preset-violet .pcf-whatsapp-float:hover {
	transform: scale(1.1);
	box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

/* ============================================================
   PRESET 4: ARCTIC — French Minimal White
   ============================================================ */

.pcf-preset-arctic {
	background: #ffffff;
	border: 1.5px solid #e8e8f0;
	border-radius: 20px;
	padding: 0;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
	font-family: 'Poppins', sans-serif;
}

/* Product top strip */
.pcf-preset-arctic .pcf-arctic-product {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px 14px;
	border-bottom: 1px solid #f0f0f6;
}

.pcf-preset-arctic .pcf-arctic-product-info {
	flex: 1;
	min-width: 0;
}

.pcf-preset-arctic .pcf-arctic-product-name {
	font-size: 13px;
	font-weight: 700;
	color: #1a1a2e;
	display: block;
	line-height: 1.3;
}

.pcf-preset-arctic .pcf-arctic-price {
	font-size: 16px;
	font-weight: 800;
	color: #1a1a2e;
	display: block;
	margin-top: 2px;
}

.pcf-preset-arctic .pcf-arctic-thumb {
	width: 56px;
	height: 56px;
	border-radius: 10px;
	object-fit: cover;
	border: 1px solid #e8e8f0;
	flex-shrink: 0;
}

.pcf-preset-arctic .pcf-arctic-qty-control {
	display: flex;
	align-items: center;
	border: 1.5px solid #e0e0ec;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
}

.pcf-preset-arctic .pcf-arctic-qty-btn {
	width: 36px;
	height: 36px;
	background: transparent;
	border: none;
	font-size: 18px;
	font-weight: 300;
	color: #333;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s;
	padding: 0;
}

.pcf-preset-arctic .pcf-arctic-qty-btn:hover {
	background: #f8f8fc;
}

.pcf-preset-arctic .pcf-arctic-qty-input {
	width: 40px;
	height: 36px;
	text-align: center;
	border: none;
	border-left: 1px solid #e0e0ec;
	border-right: 1px solid #e0e0ec;
	font-size: 15px;
	font-weight: 700;
	color: #1a1a2e;
	background: transparent;
	-moz-appearance: textfield;
	appearance: textfield;
	outline: none;
}

.pcf-preset-arctic .pcf-arctic-qty-input::-webkit-inner-spin-button,
.pcf-preset-arctic .pcf-arctic-qty-input::-webkit-outer-spin-button {
	display: none;
}

/* Arctic: Main inner padding */
.pcf-preset-arctic .pcf-form-inner,
.pcf-preset-arctic form,
.pcf-preset-arctic .pcf-order-form {
	padding: 18px 18px;
}

/* Variation dark dropdown */
.pcf-preset-arctic .pcf-variation-select,
.pcf-preset-arctic select.pcf-input {
	width: 100%;
	background: #1a1a2e;
	color: #ffffff;
	border: none;
	border-radius: 12px;
	padding: 13px 16px 13px 36px;
	font-size: 15px;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	cursor: pointer;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='white' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 14px center;
	background-color: #1a1a2e;
	margin-bottom: 16px;
	display: block;
}

/* Instruction text */
.pcf-preset-arctic .pcf-instruction {
	font-size: 15px;
	font-weight: 700;
	color: #1a1a2e;
	text-align: center;
	margin-bottom: 18px;
	line-height: 1.5;
}

/* Region select */
.pcf-preset-arctic .pcf-region-select {
	width: 100%;
	background: #ffffff;
	border: 1.5px solid #e0e0ec;
	border-radius: 12px;
	padding: 13px 16px 13px 36px;
	font-size: 15px;
	font-family: 'Poppins', sans-serif;
	color: #7a7a9a;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 14px center;
	margin-bottom: 14px;
	cursor: pointer;
	transition: border-color 0.2s;
	display: block;
}

.pcf-preset-arctic .pcf-region-select:focus {
	border-color: #1a1a2e;
}

/* Fields with icons on RIGHT */
.pcf-preset-arctic .pcf-field-icon-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.pcf-preset-arctic .pcf-field-icon {
	position: absolute;
	right: 14px;
	color: #b0b0c8;
	display: flex;
	align-items: center;
	pointer-events: none;
}

.pcf-preset-arctic .pcf-input {
	width: 100%;
	background: #f8f8fc;
	border: 1.5px solid #e0e0ec;
	border-radius: 12px;
	padding: 13px 48px 13px 16px;
	font-size: 15px;
	font-family: 'Poppins', sans-serif;
	color: #1a1a2e;
	outline: none;
	transition: all 0.2s;
	appearance: none;
	-webkit-appearance: none;
	display: block;
}

.pcf-preset-arctic .pcf-input:focus {
	border-color: #1a1a2e;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.07);
}

.pcf-preset-arctic .pcf-input::placeholder {
	color: #b8b8d0;
	font-style: italic;
	font-size: 14px;
}

.pcf-preset-arctic .pcf-field-group {
	margin-bottom: 12px;
	position: relative;
}

.pcf-preset-arctic .pcf-label {
	display: none;
}

/* Arctic: Phone with flag */
.pcf-preset-arctic .pcf-phone-flag-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.pcf-preset-arctic .pcf-phone-prefix {
	position: absolute;
	left: 14px;
	display: flex;
	align-items: center;
	gap: 4px;
	pointer-events: none;
	z-index: 1;
}

.pcf-preset-arctic .pcf-phone-prefix img {
	width: 22px;
	height: 15px;
	border-radius: 2px;
}

.pcf-preset-arctic .pcf-input[type="tel"] {
	padding-left: 58px;
	padding-right: 14px;
}

/* Arctic: Swatches */
.pcf-preset-arctic .pcf-swatches-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.pcf-preset-arctic .pcf-swatch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 16px;
	border: 1.5px solid #e0e0ec;
	border-radius: 10px;
	background: #f8f8fc;
	font-size: 13px;
	font-weight: 600;
	color: #4a4a6a;
	cursor: pointer;
	transition: all 0.2s;
	font-family: inherit;
}

.pcf-preset-arctic .pcf-swatch:hover {
	border-color: #1a1a2e;
}

.pcf-preset-arctic .pcf-swatch.selected,
.pcf-preset-arctic .pcf-swatch[aria-pressed="true"] {
	background: #1a1a2e;
	border-color: #1a1a2e;
	color: #fff;
}

.pcf-preset-arctic .pcf-color-swatch {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2.5px solid rgba(200, 200, 220, 0.5);
	cursor: pointer;
	transition: all 0.2s;
	position: relative;
	flex-shrink: 0;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
	padding: 0;
}

.pcf-preset-arctic .pcf-color-swatch:hover {
	transform: scale(1.12);
}

.pcf-preset-arctic .pcf-color-swatch.selected,
.pcf-preset-arctic .pcf-color-swatch[aria-pressed="true"] {
	border-color: #1a1a2e;
	border-width: 3px;
	box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.2);
}

/* Order summary — clean table */
.pcf-preset-arctic .pcf-order-summary {
	background: #f8f8fc;
	border-radius: 12px;
	padding: 16px;
	margin: 16px 0;
}

.pcf-preset-arctic .pcf-summary-row {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	color: #7a7a9a;
	padding: 6px 0;
	border-bottom: 1px solid #ececf4;
}

.pcf-preset-arctic .pcf-summary-row:last-child {
	border-bottom: none;
}

.pcf-preset-arctic .pcf-total-row {
	font-size: 16px;
	font-weight: 800;
	color: #1a1a2e;
	padding-top: 10px;
}

.pcf-preset-arctic .pcf-attr-label,
.pcf-preset-arctic .pcf-variation-label {
	font-size: 13px;
	font-weight: 600;
	color: #4a4a6a;
	margin-bottom: 8px;
	display: block;
}

/* Arctic: Submit */
.pcf-preset-arctic .pcf-submit-btn,
.pcf-preset-arctic #pcf-submit-btn {
	width: 100%;
	background: #1a1a2e;
	color: white;
	border: none;
	border-radius: 14px;
	padding: 16px;
	font-size: 16px;
	font-weight: 700;
	font-family: 'Poppins', sans-serif;
	cursor: pointer;
	transition: all 0.2s;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	position: relative;
	overflow: hidden;
}

.pcf-preset-arctic .pcf-submit-btn:hover,
.pcf-preset-arctic #pcf-submit-btn:hover {
	background: #2d2d4e;
	transform: translateY(-1px);
}

.pcf-preset-arctic .pcf-submit-btn:active,
.pcf-preset-arctic #pcf-submit-btn:active {
	transform: scale(0.98);
}

/* WhatsApp floating */
.pcf-preset-arctic .pcf-whatsapp-float {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 56px;
	height: 56px;
	background: #25d366;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
	cursor: pointer;
	z-index: 9999;
	transition: all 0.2s;
	text-decoration: none;
	color: white;
}

.pcf-preset-arctic .pcf-whatsapp-float:hover {
	transform: scale(1.1);
	box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

/* ============================================================
   SHARED — USED BY ALL PRESETS
   ============================================================ */

.pcf-form-wrapper .pcf-field-error {
	display: block;
	font-size: 12px;
	color: #ff4757;
	margin-top: 5px;
	min-height: 0;
	transition: opacity 0.2s;
	font-weight: 500;
}

.pcf-form-wrapper .pcf-general-error {
	background: rgba(255, 71, 87, 0.08);
	border: 1px solid rgba(255, 71, 87, 0.2);
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 13px;
	color: #ff4757;
	margin-bottom: 14px;
}

.pcf-form-wrapper .pcf-submit-loading {
	display: flex;
	align-items: center;
	gap: 8px;
}

.pcf-form-wrapper .pcf-spinner {
	width: 18px;
	height: 18px;
	animation: pcf-spin 0.8s linear infinite;
	flex-shrink: 0;
}

@keyframes pcf-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Submit loading states */
.pcf-form-wrapper .pcf-submit-text[hidden],
.pcf-form-wrapper .pcf-submit-loading[hidden] {
	display: none !important;
}

.pcf-form-wrapper .pcf-submit-loading:not([hidden]) {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* Success screen */
.pcf-form-wrapper .pcf-success-screen {
	text-align: center;
	padding: 40px 20px;
	animation: pcf-fadein 0.4s ease;
}

@keyframes pcf-fadein {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.pcf-form-wrapper .pcf-success-icon {
	font-size: 52px;
	margin-bottom: 14px;
	display: block;
}

.pcf-form-wrapper .pcf-success-headline {
	font-size: 20px;
	font-weight: 800;
	margin-bottom: 8px;
	color: #1a1a2e;
}

.pcf-form-wrapper .pcf-success-subtext {
	font-size: 14px;
	color: #7a7a9a;
	line-height: 1.6;
}

.pcf-form-wrapper .pcf-success-order {
	font-size: 13px;
	color: #9a9ab0;
	margin-top: 8px;
}

.pcf-form-wrapper .pcf-success-order-number {
	font-weight: 700;
	color: #1a1a2e;
}

/* Coupon */
.pcf-form-wrapper .pcf-coupon-toggle {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	padding: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: opacity 0.2s;
	font-family: inherit;
}

.pcf-form-wrapper .pcf-coupon-toggle:hover {
	opacity: 0.75;
}

.pcf-form-wrapper .pcf-coupon-box {
	margin-top: 12px;
	display: flex;
	gap: 10px;
}

.pcf-form-wrapper .pcf-coupon-feedback {
	font-size: 12px;
	margin-top: 6px;
}

.pcf-form-wrapper .pcf-coupon-applied {
	border-radius: 10px;
	padding: 10px 14px;
	margin-top: 10px;
	font-size: 13px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: rgba(39, 174, 96, 0.08);
	border: 1px solid rgba(39, 174, 96, 0.25);
	color: #27ae60;
}

.pcf-form-wrapper .pcf-coupon-remove {
	background: none;
	border: none;
	cursor: pointer;
	color: #9a9ab0;
	font-size: 16px;
	padding: 0 0 0 8px;
	line-height: 1;
}

/* RTL common helpers */
.pcf-form-wrapper[dir="rtl"] .pcf-summary-row,
.pcf-form-wrapper.pcf-rtl .pcf-summary-row {
	flex-direction: row-reverse;
}

.pcf-form-wrapper[dir="rtl"] .pcf-qty-control,
.pcf-form-wrapper.pcf-rtl .pcf-qty-control {
	flex-direction: row-reverse;
}

/* Secure note */
.pcf-form-wrapper .pcf-secure-note {
	font-size: 12px;
	color: #9a9ab0;
	text-align: center;
	margin-top: 10px;
}

/* Step indicator (Layout 4) */
.pcf-form-wrapper .pcf-step-indicator {
	display: flex;
	gap: 0;
	margin-bottom: 20px;
	padding: 20px 18px 0;
}

.pcf-form-wrapper .pcf-step-dot {
	flex: 1;
	height: 4px;
	border-radius: 4px;
	background: rgba(200, 200, 220, 0.4);
	margin: 0 3px;
	transition: background 0.3s;
}

.pcf-form-wrapper .pcf-step-dot.active {
	background: currentColor;
}

/* Upsell shared */
.pcf-form-wrapper .pcf-upsell-thumb {
	width: 52px;
	height: 52px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
}

.pcf-form-wrapper .pcf-upsell-product-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.pcf-form-wrapper .pcf-upsell-name {
	font-size: 13px;
	font-weight: 700;
	color: #1a1a2e;
	display: block;
}

.pcf-form-wrapper .pcf-upsell-price {
	font-size: 12px;
	font-weight: 600;
	display: block;
}

.pcf-form-wrapper .pcf-upsell-checkbox {
	width: 20px;
	height: 20px;
	border-radius: 6px;
	cursor: pointer;
	flex-shrink: 0;
}

/* Responsive */
@media (max-width: 600px) {

	.pcf-preset-sahara,
	.pcf-preset-violet {
		padding: 18px 14px;
	}

	.pcf-form-wrapper .pcf-submit-btn,
	.pcf-form-wrapper #pcf-submit-btn {
		font-size: 16px;
		padding: 14px;
	}
}

@media (max-width: 380px) {

	.pcf-preset-sahara,
	.pcf-preset-violet {
		padding: 16px 12px;
	}
}