/**
 * Checkout Page Styles
 *
 * @package RemoteMadamTheme
 * @since 1.0.0
 */

/* ============================================
   CHECKOUT PAGE LAYOUT
   ============================================ */

.checkout-page {
	background: #0B0B0D;
	min-height: 100vh;
}

/* ============================================
   CHECKOUT HERO SECTION
   ============================================ */

.checkout-hero {
	background: #0B0B0D;
	padding: 80px 0 60px;
}

.checkout-hero__container {
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding: 0 60px;
}

.checkout-hero__content {
	text-align: center;
}

.checkout-hero__title {
	font-size: 48px;
	font-weight: 700;
	font-family: var(--font-heading);
	color: #FFFFFF;
	margin: 0 0 16px 0;
	line-height: 1.2;
}

.checkout-hero__subtitle {
	font-size: 18px;
	font-weight: 400;
	color: #B8B8B8;
	margin: 0;
	line-height: 1.5;
}

/* ============================================
   CHECKOUT MAIN CONTENT
   ============================================ */

.checkout-customer-details,
.checkout-payment-method {
	padding: 0 0 60px 0;
}

.checkout-order-summary {
	padding: 0 0 120px 0;
}

.checkout-customer-details__container,
.checkout-payment-method__container,
.checkout-order-summary__container {
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding: 0 60px;
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 40px;
}

/* ============================================
   CHECKOUT CARDS
   ============================================ */

.checkout-customer-details__card,
.checkout-payment-method__card,
.checkout-order-summary__card {
	background: #111111;
	border: 1px solid #262626;
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.checkout-customer-details__header,
.checkout-payment-method__header,
.checkout-order-summary__header {
	margin-bottom: 32px;
}

.checkout-customer-details__title,
.checkout-payment-method__title,
.checkout-order-summary__title {
	font-size: 24px;
	font-weight: 700;
	font-family: var(--font-heading);
	color: #FFFFFF;
	margin: 0;
	line-height: 1.3;
}

/* ============================================
   CUSTOMER DETAILS HEADER
   ============================================ */

.checkout-customer-details__header {
	display: flex;
	align-items: center;
	gap: 16px;
}

.checkout-customer-details__icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 61, 154, 0.1);
	border-radius: 50%;
	flex-shrink: 0;
}

.checkout-customer-details__icon svg {
	width: 24px;
	height: 24px;
}

.checkout-customer-details__subtitle {
	font-size: 14px;
	font-weight: 400;
	color: #B8B8B8;
	margin: 4px 0 0 0;
	line-height: 1.5;
}

/* ============================================
   CUSTOMER DETAILS FORM
   ============================================ */

.checkout-customer-details__form {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.checkout-customer-details__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.checkout-customer-details__label {
	font-size: 14px;
	font-weight: 600;
	color: #FFFFFF;
	margin: 0;
}

.checkout-customer-details__input,
.checkout-customer-details__select {
	background: #171717;
	border: 1px solid #2A2A2A;
	border-radius: 12px;
	padding: 0 20px;
	height: 56px;
	font-size: 16px;
	font-weight: 400;
	color: #FFFFFF;
	font-family: var(--font-body);
	transition: all 0.3s ease;
	outline: none;
}

.checkout-customer-details__input::placeholder {
	color: #7A7A7A;
}

.checkout-customer-details__input:focus,
.checkout-customer-details__select:focus {
	border-color: #FF3D9A;
	background: #1A1A1D;
	box-shadow: 0 0 0 3px rgba(255, 61, 154, 0.1);
}

.checkout-customer-details__select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23FF3D9A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 20px center;
	padding-right: 48px;
}

.checkout-customer-details__select option {
	background: #1A1A1D;
	color: #FFFFFF;
}

/* ============================================
   PHONE NUMBER ROW
   ============================================ */

.checkout-customer-details__phone-row {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 12px;
}

.checkout-customer-details__phone-code,
.checkout-customer-details__phone-number {
	display: flex;
	flex-direction: column;
}

.checkout-customer-details__phone-code .checkout-customer-details__select {
	width: 100%;
}

.checkout-customer-details__phone-number .checkout-customer-details__input {
	width: 100%;
}

/* ============================================
   PRIVACY NOTE
   ============================================ */

.checkout-customer-details__privacy {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid #262626;
}

.checkout-customer-details__privacy-icon {
	font-size: 16px;
}

.checkout-customer-details__privacy-text {
	font-size: 13px;
	font-weight: 400;
	color: #666666;
	line-height: 1.5;
}

/* ============================================
   PAYMENT METHOD OPTIONS
   ============================================ */

.checkout-payment-method__options {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.checkout-payment-method__option {
	display: block;
	cursor: pointer;
}

.checkout-payment-method__radio {
	display: none;
}

.checkout-payment-method__option-content {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	background: #171717;
	border: 1px solid #2A2A2A;
	border-radius: 16px;
	padding: 18px 20px;
	transition: all 0.3s ease;
}

.checkout-payment-method__radio:checked + .checkout-payment-method__option-content {
	border-color: #FF3D9A;
	background: rgba(255, 61, 154, 0.05);
	box-shadow: 0 0 0 3px rgba(255, 61, 154, 0.1);
}

.checkout-payment-method__option-info {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.checkout-payment-method__option-header {
	display: flex;
	align-items: center;
	gap: 12px;
}

.checkout-payment-method__option-icon-text {
	font-size: 20px;
	flex-shrink: 0;
}

.checkout-payment-method__option-label {
	font-size: 16px;
	font-weight: 600;
	color: #FFFFFF;
}

.checkout-payment-method__option-description {
	font-size: 14px;
	font-weight: 400;
	color: #B8B8B8;
	line-height: 1.5;
}

.checkout-payment-method__secure {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 24px;
	padding: 16px;
	background: rgba(76, 175, 80, 0.08);
	border-radius: 12px;
}

.checkout-payment-method__secure-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.checkout-payment-method__secure-text {
	font-size: 14px;
	font-weight: 500;
	color: #4CAF50;
}

.checkout-payment-method__gateway-fields {
	margin-top: 12px;
	padding: 16px;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 12px;
	border: 1px solid #262626;
	display: none;
}

.checkout-payment-method__radio:checked ~ .checkout-payment-method__gateway-fields {
	display: block;
}

.checkout-payment-method__gateway-fields .input-text,
.checkout-payment-method__gateway-fields select,
.checkout-payment-method__gateway-fields textarea {
	background: #171717;
	border: 1px solid #2A2A2A;
	border-radius: 12px;
	padding: 12px 16px;
	font-size: 14px;
	font-weight: 400;
	color: #FFFFFF;
	font-family: var(--font-body);
	transition: all 0.3s ease;
	outline: none;
	width: 100%;
}

.checkout-payment-method__gateway-fields .input-text:focus,
.checkout-payment-method__gateway-fields select:focus,
.checkout-payment-method__gateway-fields textarea:focus {
	border-color: #FF3D9A;
	background: #1A1A1D;
	box-shadow: 0 0 0 3px rgba(255, 61, 154, 0.1);
}

/* ============================================
   ORDER SUMMARY
   ============================================ */

.checkout-order-summary__card {
	background: #171717;
	border: 1px solid #2A2A2A;
	border-radius: 20px;
	padding: 32px;
	position: sticky;
	top: 120px;
}

.checkout-order-summary__header {
	margin-bottom: 24px;
}

.checkout-order-summary__title {
	font-size: 22px;
	font-weight: 700;
	font-family: var(--font-heading);
	color: #FFFFFF;
	margin: 0 0 8px 0;
	line-height: 1.3;
}

.checkout-order-summary__subtitle {
	font-size: 14px;
	font-weight: 400;
	color: #B8B8B8;
	margin: 0;
	line-height: 1.5;
}

.checkout-order-summary__divider {
	height: 1px;
	background: #2A2A2A;
	margin: 24px 0;
}

.checkout-order-summary__course {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
}

.checkout-order-summary__course-info {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.checkout-order-summary__course-name {
	font-size: 16px;
	font-weight: 600;
	color: #FFFFFF;
	margin: 0;
	line-height: 1.4;
}

.checkout-order-summary__badge {
	display: inline-block;
	background: rgba(255, 61, 154, 0.15);
	color: #FF3D9A;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 8px;
	border-radius: 4px;
	align-self: flex-start;
}

.checkout-order-summary__course-price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}

.checkout-order-summary__price-current {
	font-size: 20px;
	font-weight: 700;
	color: #FFFFFF;
}

.checkout-order-summary__price-old {
	font-size: 14px;
	font-weight: 400;
	color: #666666;
	text-decoration: line-through;
}

.checkout-order-summary__features {
	margin: 24px 0;
}

.checkout-order-summary__features-title {
	font-size: 14px;
	font-weight: 600;
	color: #FFFFFF;
	margin: 0 0 16px 0;
}

.checkout-order-summary__features-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.checkout-order-summary__feature {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.checkout-order-summary__feature-icon {
	color: #FF3D9A;
	font-weight: 700;
	font-size: 16px;
	flex-shrink: 0;
}

.checkout-order-summary__feature-text {
	font-size: 14px;
	font-weight: 400;
	color: #B8B8B8;
	line-height: 1.4;
}

.checkout-order-summary__feature-bonus {
	color: #FF3D9A;
	font-weight: 600;
	margin-left: 4px;
}

.checkout-order-summary__totals {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.checkout-order-summary__total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.checkout-order-summary__total-row--final {
	margin-top: 8px;
	padding-top: 16px;
	border-top: 1px solid #2A2A2A;
}

.checkout-order-summary__total-label {
	font-size: 14px;
	font-weight: 400;
	color: #B8B8B8;
}

.checkout-order-summary__total-label--final {
	font-size: 16px;
	font-weight: 600;
	color: #FFFFFF;
}

.checkout-order-summary__total-value {
	font-size: 14px;
	font-weight: 500;
	color: #FFFFFF;
}

.checkout-order-summary__total-value--discount {
	color: #4CAF50;
}

.checkout-order-summary__total-value--final {
	font-size: 24px;
	font-weight: 700;
	color: #FF3D9A;
}

.checkout-order-summary__payment {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 24px 0;
	padding: 12px;
	background: rgba(76, 175, 80, 0.08);
	border-radius: 8px;
}

.checkout-order-summary__payment-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.checkout-order-summary__payment-text {
	font-size: 13px;
	font-weight: 600;
	color: #4CAF50;
}

.checkout-order-summary__payment-provider {
	font-size: 12px;
	font-weight: 400;
	color: #666666;
}

.checkout-order-summary__cta {
	margin: 24px 0;
}

.checkout-order-summary__button {
	width: 100%;
	background: #FF3D9A;
	color: #FFFFFF;
	font-size: 18px;
	font-weight: 700;
	height: 60px;
	border: none;
	border-radius: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: var(--font-body);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 0 32px;
}

.checkout-order-summary__button:hover:not(:disabled) {
	background: #FF5FA8;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(255, 61, 154, 0.4);
}

.checkout-order-summary__button:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

.checkout-order-summary__button-icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

.checkout-order-summary__button-text {
	flex: 1;
	text-align: center;
}

.checkout-order-summary__button-spinner {
	display: none;
}

.checkout-order-summary__button.loading .checkout-order-summary__button-text {
	display: none;
}

.checkout-order-summary__button.loading .checkout-order-summary__button-spinner {
	display: flex;
	align-items: center;
	justify-content: center;
}

.checkout-order-summary__button.loading .checkout-order-summary__button-icon {
	display: none;
}

.checkout-order-summary__spinner {
	animation: spin 1s linear infinite;
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.checkout-order-summary__security {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #262626;
}

.checkout-order-summary__security-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.checkout-order-summary__security-icon {
	font-size: 14px;
}

.checkout-order-summary__security-text {
	font-size: 12px;
	font-weight: 400;
	color: #666666;
	line-height: 1.4;
}

.checkout-order-summary__guarantee {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.checkout-order-summary__guarantee-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.checkout-order-summary__guarantee-icon {
	font-size: 14px;
}

.checkout-order-summary__guarantee-text {
	font-size: 12px;
	font-weight: 400;
	color: #666666;
	line-height: 1.4;
}

/* ============================================
   WOOCOMMERCE VALIDATION & NOTICES
   ============================================ */

.woocommerce-notices-wrapper {
	margin-bottom: 24px;
}

.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
	background: rgba(255, 61, 154, 0.08);
	border: 1px solid #FF3D9A;
	border-radius: 12px;
	padding: 16px 20px;
	margin: 0 0 16px 0;
	list-style: none;
}

.woocommerce-error li,
.woocommerce-message li,
.woocommerce-info li {
	margin: 0 0 8px 0;
	color: #FFFFFF;
	font-size: 14px;
	line-height: 1.5;
}

.woocommerce-error li:last-child,
.woocommerce-message li:last-child,
.woocommerce-info li:last-child {
	margin-bottom: 0;
}

.woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before {
	content: '';
	display: none;
}

.woocommerce-info {
	background: rgba(255, 255, 255, 0.05);
	border-color: #262626;
}

.woocommerce-info li {
	color: #B8B8B8;
}

/* WooCommerce form field validation */
.woocommerce-invalid label,
.woocommerce-invalid .label {
	color: #FF3D9A;
}

.woocommerce-invalid .input-text,
.woocommerce-invalid select,
.woocommerce-invalid textarea {
	border-color: #FF3D9A;
	background: rgba(255, 61, 154, 0.05);
}

.woocommerce-error-required {
	color: #FF3D9A;
	font-size: 12px;
	margin-top: 4px;
}

/* Payment method validation */
.woocommerce-validated .checkout-payment-method__option-content {
	border-color: #4CAF50;
}

.woocommerce-invalid .checkout-payment-method__option-content {
	border-color: #FF3D9A;
	background: rgba(255, 61, 154, 0.05);
	box-shadow: 0 0 0 3px rgba(255, 61, 154, 0.1);
}

/* Payment method required error */
.woocommerce-error .payment-method-error {
	color: #FF3D9A;
	font-size: 14px;
	margin-top: 12px;
	padding: 12px 16px;
	background: rgba(255, 61, 154, 0.08);
	border-radius: 8px;
	border: 1px solid #FF3D9A;
}

/* WooCommerce billing fields styling override */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-shipping-fields__field-wrapper .form-row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 !important;
}

.woocommerce-billing-fields__field-wrapper label,
.woocommerce-shipping-fields__field-wrapper label {
	font-size: 14px;
	font-weight: 600;
	color: #FFFFFF;
}

.woocommerce-billing-fields__field-wrapper .input-text,
.woocommerce-shipping-fields__field-wrapper .input-text,
.woocommerce-billing-fields__field-wrapper select,
.woocommerce-shipping-fields__field-wrapper select {
	background: #171717;
	border: 1px solid #2A2A2A;
	border-radius: 12px;
	padding: 0 20px;
	height: 56px;
	font-size: 16px;
	font-weight: 400;
	color: #FFFFFF;
	font-family: var(--font-body);
	transition: all 0.3s ease;
	outline: none;
}

.woocommerce-billing-fields__field-wrapper .input-text::placeholder,
.woocommerce-shipping-fields__field-wrapper .input-text::placeholder {
	color: #7A7A7A;
}

.woocommerce-billing-fields__field-wrapper .input-text:focus,
.woocommerce-shipping-fields__field-wrapper .input-text:focus,
.woocommerce-billing-fields__field-wrapper select:focus,
.woocommerce-shipping-fields__field-wrapper select:focus {
	border-color: #FF3D9A;
	background: #1A1A1D;
	box-shadow: 0 0 0 3px rgba(255, 61, 154, 0.1);
}

.woocommerce-billing-fields__field-wrapper select,
.woocommerce-shipping-fields__field-wrapper select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23FF3D9A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 20px center;
	padding-right: 48px;
}

.woocommerce-billing-fields__field-wrapper select option,
.woocommerce-shipping-fields__field-wrapper select option {
	background: #1A1A1D;
	color: #FFFFFF;
}

/* Empty cart styling */
.checkout-empty-cart {
	text-align: center;
	padding: 120px 20px;
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.checkout-empty-cart__container {
	max-width: 500px;
}

.checkout-empty-cart__icon {
	width: 120px;
	height: 120px;
	margin: 0 auto 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 61, 154, 0.1);
	border-radius: 50%;
	color: #FF3D9A;
}

.checkout-empty-cart__title {
	font-size: 32px;
	font-weight: 700;
	font-family: var(--font-heading);
	color: #FFFFFF;
	margin: 0 0 16px 0;
	line-height: 1.3;
}

.checkout-empty-cart__message {
	font-size: 16px;
	font-weight: 400;
	color: #B8B8B8;
	margin: 0 0 32px 0;
	line-height: 1.6;
}

.checkout-empty-cart__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
}

.checkout-empty-cart .btn {
	min-width: 200px;
}

/* ============================================
   NEW CHECKOUT LAYOUT (Two-Column)
   ============================================ */

.checkout-layout {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 32px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 40px 24px;
}

.checkout-layout__main {
	min-width: 0;
}

.checkout-layout__sidebar {
	position: sticky;
	top: 24px;
	align-self: start;
}

.checkout-form {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

/* WooCommerce checkout form override */
.woocommerce-checkout {
	display: block;
}

.woocommerce-checkout .col2-set {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
	width: 100%;
}

/* Order summary card */
.order-summary-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-card);
	padding: 32px;
	box-shadow: var(--shadow-lg);
}

.order-summary-card__item {
	display: flex;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--border);
}

.order-summary-card__item:last-child {
	border-bottom: none;
}

.order-summary-card__image {
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	border-radius: var(--radius-md);
	overflow: hidden;
}

.order-summary-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.order-summary-card__details {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.order-summary-card__title {
	font-size: 16px;
	font-weight: 600;
	color: var(--text);
	margin: 0 0 8px 0;
	line-height: 1.4;
}

.order-summary-card__price {
	font-size: 18px;
	font-weight: 700;
	color: var(--primary);
}

.order-summary-card__totals {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
}

.order-summary-card__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
}

.order-summary-card__row span {
	font-size: 14px;
	color: var(--text-muted);
}

.order-summary-card__row--discount span:last-child {
	color: #4CAF50;
}

.order-summary-card__row--total {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--border);
}

.order-summary-card__row--total span:first-child {
	font-weight: 600;
	color: var(--text);
}

.order-summary-card__row--total span:last-child {
	font-size: 20px;
	font-weight: 700;
	color: var(--primary);
}

.order-summary-card__trust {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.trust-badge {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	color: var(--text-muted);
}

.trust-badge svg {
	flex-shrink: 0;
	color: var(--primary);
}

.order-summary-card__message {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
	font-size: 14px;
	font-weight: 500;
	color: var(--text);
	text-align: center;
	line-height: 1.5;
}

/* WooCommerce form fields styling */
.woocommerce-billing-fields,
.woocommerce-shipping-fields {
	margin-bottom: 24px;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3 {
	font-size: 20px;
	font-weight: 700;
	color: var(--text);
	margin: 0 0 24px 0;
}

.woocommerce form .form-row {
	margin-bottom: 16px;
}

.woocommerce form .form-row label {
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 8px;
	display: block;
}

.woocommerce form input[type="text"],
.woocommerce form input[type="email"],
.woocommerce form input[type="tel"],
.woocommerce form select,
.woocommerce form textarea {
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-input);
	padding: 12px 16px;
	font-size: 16px;
	color: var(--text);
	font-family: var(--font-body);
	transition: all var(--transition-base) ease;
}

.woocommerce form input[type="text"]:focus,
.woocommerce form input[type="email"]:focus,
.woocommerce form input[type="tel"]:focus,
.woocommerce form select:focus,
.woocommerce form textarea:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(255, 61, 154, 0.1);
	outline: none;
}

/* Payment methods */
.woocommerce-checkout-payment {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-card);
	padding: 24px;
	margin-top: 24px;
}

.woocommerce-checkout-payment h3 {
	font-size: 18px;
	font-weight: 700;
	color: var(--text);
	margin: 0 0 16px 0;
}

.payment_methods {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.payment_method {
	display: block;
}

.payment_method input[type="radio"] {
	display: none;
}

.payment_method label {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: all var(--transition-base) ease;
}

.payment_method input[type="radio"]:checked + label {
	border-color: var(--primary);
	background: rgba(255, 61, 154, 0.05);
}

.payment_method .payment_box {
	margin-top: 12px;
	padding: 16px;
	background: rgba(255, 255, 255, 0.03);
	border-radius: var(--radius-md);
	border: 1px solid var(--border);
}

/* Place order button */
#place_order {
	width: 100%;
	background: var(--gradient-primary);
	color: var(--text);
	font-size: 18px;
	font-weight: 700;
	padding: 16px 32px;
	border: none;
	border-radius: var(--radius-button);
	cursor: pointer;
	transition: all var(--transition-base) ease;
	font-family: var(--font-body);
	margin-top: 24px;
}

#place_order:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-glow);
}

#place_order:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

/* Order review heading */
#order_review_heading {
	font-size: 24px;
	font-weight: 700;
	color: var(--text);
	margin: 32px 0 24px 0;
}

/* Responsive */
@media (max-width: 1024px) {
	.checkout-layout {
		grid-template-columns: 1fr;
		padding: 32px 24px;
	}

	.checkout-layout__sidebar {
		position: static;
	}

	.order-summary-card {
		position: static;
	}
}

@media (max-width: 768px) {
	.checkout-layout {
		padding: 24px 16px;
		gap: 24px;
	}

	.woocommerce-checkout .col2-set {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.checkout-empty-cart {
		padding: 80px 16px;
	}

	.checkout-empty-cart__title {
		font-size: 24px;
	}

	.checkout-empty-cart__icon {
		width: 100px;
		height: 100px;
	}
}

/* ============================================
   TRUST BADGES
   ============================================ */

.checkout-trust-badges {
	padding: 80px 0;
	background: #0B0B0D;
}

.checkout-trust-badges__container {
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding: 0 40px;
}

.checkout-trust-badges__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-bottom: 64px;
}

.checkout-trust-badges__card {
	background: #171717;
	border: 1px solid #2A2A2A;
	border-radius: 16px;
	padding: 24px;
	transition: all 0.3s ease;
}

.checkout-trust-badges__card:hover {
	border-color: #FF3D9A;
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(255, 61, 154, 0.15);
}

.checkout-trust-badges__icon {
	margin-bottom: 16px;
}

.checkout-trust-badges__icon-emoji {
	font-size: 32px;
	display: block;
}

.checkout-trust-badges__title {
	font-size: 18px;
	font-weight: 700;
	color: #FFFFFF;
	margin: 0 0 12px 0;
	line-height: 1.3;
}

.checkout-trust-badges__description {
	font-size: 14px;
	font-weight: 400;
	color: #B8B8B8;
	margin: 0;
	line-height: 1.5;
}

.checkout-trust-badges__guarantee {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 64px;
}

.checkout-trust-badges__badge {
	display: inline-block;
	background: rgba(255, 61, 154, 0.15);
	color: #FF3D9A;
	font-size: 12px;
	font-weight: 700;
	padding: 8px 16px;
	border-radius: 20px;
	margin-bottom: 24px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.checkout-trust-badges__guarantee-title {
	font-size: 28px;
	font-weight: 700;
	color: #FFFFFF;
	margin: 0 0 16px 0;
	line-height: 1.3;
}

.checkout-trust-badges__guarantee-description {
	font-size: 16px;
	font-weight: 400;
	color: #B8B8B8;
	margin: 0;
	line-height: 1.6;
}

.checkout-trust-badges__footer {
	text-align: center;
	padding-top: 32px;
	border-top: 1px solid #262626;
}

.checkout-trust-badges__footer-question {
	font-size: 14px;
	font-weight: 500;
	color: #B8B8B8;
	margin: 0 0 12px 0;
}

.checkout-trust-badges__footer-link {
	display: block;
	font-size: 14px;
	font-weight: 400;
	color: #666666;
	text-decoration: none;
	margin: 4px 0;
	transition: color 0.3s ease;
}

.checkout-trust-badges__footer-link:hover {
	color: #FF3D9A;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
	.checkout-hero__container,
	.checkout-customer-details__container,
	.checkout-payment-method__container,
	.checkout-order-summary__container,
	.checkout-trust-badges__container {
		padding: 0 40px;
	}

	.checkout-trust-badges__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.checkout-trust-badges__guarantee-title {
		font-size: 24px;
	}

	.checkout-customer-details__container,
	.checkout-payment-method__container,
	.checkout-order-summary__container {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.checkout-customer-details__card,
	.checkout-payment-method__card,
	.checkout-order-summary__card {
		padding: 32px;
	}

	.checkout-hero__title {
		font-size: 40px;
	}

	.checkout-hero__subtitle {
		font-size: 16px;
	}

	.checkout-customer-details__phone-row {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.checkout-order-summary__card {
		position: static;
	}
}

@media (max-width: 768px) {
	.checkout-hero {
		padding: 60px 0 40px;
	}

	.checkout-hero__container,
	.checkout-customer-details__container,
	.checkout-payment-method__container,
	.checkout-order-summary__container,
	.checkout-trust-badges__container {
		padding: 0 32px;
	}

	.checkout-trust-badges {
		padding: 60px 0;
	}

	.checkout-trust-badges__grid {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-bottom: 48px;
	}

	.checkout-trust-badges__card {
		padding: 20px;
	}

	.checkout-trust-badges__guarantee {
		margin-bottom: 48px;
	}

	.checkout-trust-badges__guarantee-title {
		font-size: 22px;
	}

	.checkout-trust-badges__guarantee-description {
		font-size: 15px;
	}

	.checkout-customer-details,
	.checkout-payment-method {
		padding: 0 0 40px 0;
	}

	.checkout-order-summary {
		padding: 0 0 80px 0;
	}

	.checkout-hero__title {
		font-size: 32px;
	}

	.checkout-hero__subtitle {
		font-size: 15px;
	}

	.checkout-customer-details__card,
	.checkout-payment-method__card,
	.checkout-order-summary__card {
		padding: 24px;
	}

	.checkout-customer-details__title,
	.checkout-payment-method__title,
	.checkout-order-summary__title {
		font-size: 20px;
	}

	.checkout-customer-details__input,
	.checkout-customer-details__select {
		padding: 14px 16px;
		font-size: 15px;
	}

	.checkout-payment-method__option-content {
		padding: 16px;
	}

	.checkout-order-summary__item-name {
		font-size: 15px;
	}

	.checkout-order-summary__item-description {
		font-size: 13px;
	}

	.checkout-order-summary__item-price {
		font-size: 16px;
	}

	.checkout-order-summary__total-value--final {
		font-size: 20px;
	}

	.checkout-order-summary__button {
		font-size: 16px;
		padding: 16px 24px;
	}
}

@media (max-width: 480px) {
	.checkout-hero__container,
	.checkout-customer-details__container,
	.checkout-payment-method__container,
	.checkout-order-summary__container {
		padding: 0 20px;
	}

	.checkout-hero__title {
		font-size: 28px;
	}

	.checkout-hero__subtitle {
		font-size: 14px;
	}

	.checkout-customer-details__card,
	.checkout-payment-method__card,
	.checkout-order-summary__card {
		padding: 20px;
		border-radius: 16px;
	}

	.checkout-customer-details__title,
	.checkout-payment-method__title,
	.checkout-order-summary__title {
		font-size: 18px;
	}

	.checkout-customer-details__input,
	.checkout-customer-details__select {
		padding: 12px 16px;
		font-size: 14px;
		border-radius: 10px;
	}

	.checkout-payment-method__option-content {
		padding: 14px;
		border-radius: 10px;
	}

	.checkout-payment-method__option-label {
		font-size: 15px;
	}

	.checkout-payment-method__option-description {
		font-size: 13px;
	}

	.checkout-order-summary__button {
		font-size: 15px;
		padding: 14px 20px;
		border-radius: 10px;
	}
}
