﻿/**
 * WooCommerce Cart & Checkout — custom JT layout + dark skin.
 *
 * @package JelekType
 */

body.jt-checkout-flow {
  --jt-checkout-shell-max: 1800px;
  --jt-checkout-pad-x: clamp(20px, 3vw, 40px);
  --jt-text: #ffffff;
  --jt-muted: rgba(255, 255, 255, 0.92);
  color: #ffffff;
}

body.jt-checkout-flow .jt-cart-page,
body.jt-checkout-flow .jt-checkout-page,
body.jt-checkout-flow .woocommerce,
body.jt-checkout-flow .woocommerce-cart-form,
body.jt-checkout-flow .woocommerce-checkout {
  color: #ffffff;
}

body.jt-checkout-flow .jt-order-summary__label,
body.jt-checkout-flow .jt-order-summary__value,
body.jt-checkout-flow .jt-cart-item__name,
body.jt-checkout-flow .jt-cart-item__price,
body.jt-checkout-flow .jt-order-review-item__name,
body.jt-checkout-flow .jt-order-review-item__price,
body.jt-checkout-flow .jt-checkout-panel__title,
body.jt-checkout-flow .jt-cart-panel__title,
body.jt-checkout-flow .woocommerce-checkout .form-row label,
body.jt-checkout-flow .woocommerce table.shop_table th,
body.jt-checkout-flow .woocommerce table.shop_table td,
body.jt-checkout-flow #payment ul.payment_methods li label,
body.jt-checkout-flow #payment div.payment_box,
body.jt-checkout-flow .woocommerce-info,
body.jt-checkout-flow .woocommerce-message,
body.jt-checkout-flow .woocommerce-error {
  color: #ffffff;
}

body.jt-checkout-flow .jt-cart-page__subtitle,
body.jt-checkout-flow .jt-checkout-page__subtitle,
body.jt-checkout-flow .jt-cart-item__meta,
body.jt-checkout-flow .jt-order-review-item__meta,
body.jt-checkout-flow .jt-order-review-item__qty,
body.jt-checkout-flow .jt-order-summary__note,
body.jt-checkout-flow .jt-checkout-trust__item,
body.jt-checkout-flow .jt-checkout-steps__item:not(.is-active) {
  color: rgba(255, 255, 255, 0.92);
}

body.jt-checkout-flow .jt-checkout-steps__item.is-active,
body.jt-checkout-flow .jt-checkout-steps__item.is-done {
  color: #ffffff;
}

body.jt-checkout-flow .woocommerce a:not(.jt-checkout-btn):not(.button):not(.checkout-button) {
  color: var(--jt-accent, #c6ff33);
}

body.jt-checkout-flow .jt-main.jt-woocommerce.jt-checkout-flow-main {
  width: min(100%, var(--jt-checkout-shell-max, 1800px));
  max-width: var(--jt-checkout-shell-max, 1800px);
  margin-inline: auto;
  padding: 24px var(--jt-checkout-pad-x, clamp(20px, 3vw, 40px)) 80px;
  box-sizing: border-box;
}

body.jt-checkout-flow .jt-woocommerce .woocommerce,
body.jt-checkout-flow .jt-checkout-flow-main .woocommerce {
  width: 100%;
  max-width: none;
  margin: 0;
}

body.jt-checkout-flow .jt-woocommerce .jt-container {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

body.jt-checkout-flow .jt-main.jt-woocommerce {
  padding-top: 0;
}

/* Page canvas */

.jt-cart-page,
.jt-checkout-page {
	width: 100%;
	max-width: none;
	margin: 0 0 64px;
	padding: 0;
}

.jt-cart-page__head,
.jt-checkout-page__head {
	margin-bottom: 28px;
}

.jt-cart-page__title,
.jt-checkout-page__title {
	margin: 0 0 8px;
	font-size: clamp(1.75rem, 3.5vw, 2.25rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.jt-cart-page__subtitle,
.jt-checkout-page__subtitle {
	margin: 0;
	font-size: 15px;
	color: var(--jt-muted);
}

/* â”€â”€ Checkout steps â”€â”€ */

.jt-checkout-steps {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.jt-checkout-steps__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--jt-muted);
}

.jt-checkout-steps__item.is-active,
.jt-checkout-steps__item.is-done {
	color: var(--jt-text);
}

.jt-checkout-steps__item.is-active {
	color: var(--jt-accent);
}

.jt-checkout-steps__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	background: var(--jt-surface-2);
	border: 1px solid var(--jt-border);
	font-size: 11px;
	font-weight: 700;
}

.jt-checkout-steps__item.is-active .jt-checkout-steps__num {
	background: var(--jt-accent);
	border-color: var(--jt-accent);
	color: var(--jt-accent-text);
}

.jt-checkout-steps__item.is-done .jt-checkout-steps__num {
	background: rgba(198, 255, 51, 0.16);
	border-color: rgba(198, 255, 51, 0.35);
	color: var(--jt-accent);
}

.jt-checkout-steps__sep {
	color: rgba(255, 255, 255, 0.28);
	font-size: 14px;
}

/* â”€â”€ Cart layout â”€â”€ */

/* Cart layout — items stacked above summary */

.jt-cart-layout {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.jt-cart-summary {
	width: 100%;
}

.jt-checkout__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
	gap: 28px;
	align-items: start;
}

.jt-checkout__main {
	min-width: 0;
	width: 100%;
}

.jt-cart-panel,
.jt-checkout-panel {
	background: var(--jt-surface);
	border: 1px solid var(--jt-border);
	border-radius: var(--jt-radius, 12px);
	overflow: hidden;
}

.jt-cart-panel__head,
.jt-checkout-panel__head {
	padding: 16px 18px;
	border-bottom: 1px solid var(--jt-border);
}

.jt-cart-panel__title,
.jt-checkout-panel__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
}

.jt-cart-items {
	margin: 0;
	padding: 0;
	list-style: none;
}

.jt-cart-item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	gap: 14px 16px;
	align-items: center;
	padding: 16px 18px;
	border-bottom: 1px solid var(--jt-border);
}

.jt-cart-item:last-child {
	border-bottom: 0;
}

.jt-cart-item__thumb {
	width: 72px;
	height: 72px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--jt-surface-2);
	border: 1px solid var(--jt-border);
}

.jt-cart-item__thumb-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 22px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.35);
}

.jt-cart-item__name {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
}

.jt-cart-item__name a {
	color: inherit;
	text-decoration: none;
}

.jt-cart-item__name a:hover {
	color: var(--jt-accent);
}

.jt-cart-item__meta {
	margin: 0 0 8px;
	font-size: 12px;
	color: var(--jt-muted);
}

.jt-cart-item__license {
	display: inline-flex;
	align-items: center;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(198, 255, 51, 0.1);
	border: 1px solid rgba(198, 255, 51, 0.22);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--jt-accent);
}

.jt-cart-item__aside {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	min-width: 120px;
}

.jt-cart-item__price {
	font-size: 15px;
	font-weight: 700;
}

.jt-cart-qty {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 118px;
	border: 1px solid var(--jt-border);
	border-radius: 999px;
	overflow: hidden;
	background: var(--jt-surface-2);
}

.jt-cart-qty .quantity {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.jt-cart-qty__btn {
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	border: 0;
	background: transparent;
	color: var(--jt-text);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.jt-cart-qty__btn:hover {
	background: rgba(255, 255, 255, 0.06);
}

.jt-cart-qty input.qty {
	flex: 0 0 42px;
	width: 42px;
	min-width: 42px;
	height: 38px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--jt-text);
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	-moz-appearance: textfield;
}

.jt-cart-qty input.qty::-webkit-outer-spin-button,
.jt-cart-qty input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.jt-cart-item__remove {
	border: 0;
	background: transparent;
	color: var(--jt-muted);
	font: inherit;
	font-size: 12px;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.jt-cart-item__remove:hover {
	color: var(--jt-sale, #ff5c5c);
}

/* â”€â”€ Order summary / panel shared â”€â”€ */

.jt-order-summary {
	padding: 16px 18px 18px;
}

.jt-order-summary__rows {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.jt-order-summary__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	font-size: 14px;
}

.jt-order-summary__row--total {
	margin-top: 8px;
	padding-top: 14px;
	border-top: 1px solid var(--jt-border);
	font-size: 16px;
	font-weight: 700;
}

.jt-order-summary__label {
	color: var(--jt-muted);
}

.jt-order-summary__value {
	font-weight: 600;
}

.jt-order-summary__cta {
	display: grid;
	gap: 10px;
}

.jt-order-summary__note {
	margin: 14px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--jt-muted);
	text-align: center;
}

.jt-checkout-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 46px;
	padding: 12px 18px;
	border: none;
	border-radius: 10px;
	background: var(--jt-accent);
	color: var(--jt-accent-text);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: filter 0.15s ease;
}

.jt-checkout-btn:hover {
	filter: brightness(1.05);
}

.jt-checkout-btn--secondary {
	background: transparent;
	color: var(--jt-text);
	border: 1px solid var(--jt-border);
}

.jt-checkout-btn--secondary:hover {
	background: rgba(255, 255, 255, 0.04);
	filter: none;
}

/* â”€â”€ Empty cart â”€â”€ */

.jt-cart-empty {
	padding: 48px 24px;
	text-align: center;
}

.jt-cart-empty__title {
	margin: 0 0 8px;
	font-size: 1.125rem;
	font-weight: 700;
}

.jt-cart-empty__text {
	margin: 0 0 20px;
	color: var(--jt-muted);
}

/* â”€â”€ Checkout form â”€â”€ */

.jt-checkout {
	width: 100%;
}

.jt-checkout__main {
	min-width: 0;
}

.jt-checkout-billing-band {
	display: grid;
	gap: 20px;
}

.jt-checkout-section {
	background: var(--jt-surface);
	border: 1px solid var(--jt-border);
	border-radius: var(--jt-radius, 12px);
	overflow: hidden;
}

.jt-checkout-section__head {
	padding: 16px 18px;
	border-bottom: 1px solid var(--jt-border);
}

.jt-checkout-section__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
}

.jt-checkout-section__body {
	padding: 24px 28px;
}

.jt-checkout-fields {
	display: grid;
	gap: 14px;
}

.jt-checkout-fields--horizontal {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jt-checkout-field--span-2 {
	grid-column: span 2;
}

.jt-checkout-field--full {
	grid-column: 1 / -1;
}

.jt-checkout-field__label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 600;
	color: var(--jt-muted);
}

.jt-checkout-field__label .required {
	color: var(--jt-sale, #ff5c5c);
}

.jt-checkout-field__input,
.jt-checkout-field__select,
.jt-checkout-field__textarea {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	background: var(--jt-surface-2);
	color: var(--jt-text);
	font: inherit;
	font-size: 14px;
}

.jt-checkout-field__textarea {
	min-height: 96px;
	resize: vertical;
}

.jt-checkout-field__input:focus,
.jt-checkout-field__select:focus,
.jt-checkout-field__textarea:focus {
	outline: 2px solid rgba(198, 255, 51, 0.35);
	outline-offset: 1px;
	border-color: rgba(198, 255, 51, 0.45);
}

.jt-checkout__aside {
	position: sticky;
	top: 24px;
}

.jt-order-review-items {
	margin: 0 0 12px;
	padding: 0 0 12px;
	list-style: none;
	border-bottom: 1px solid var(--jt-border);
}

.jt-order-review-item {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 2px 12px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.jt-order-review-item:last-child {
	border-bottom: 0;
}

.jt-order-review-item__name {
	margin: 0;
	grid-column: 1;
	font-size: 14px;
	font-weight: 600;
}

.jt-order-review-item__meta {
	margin: 0;
	grid-column: 1;
	font-size: 12px;
	color: var(--jt-muted);
}

.jt-order-review-item__qty {
	grid-column: 1;
	font-size: 11px;
	color: var(--jt-muted);
}

.jt-order-review-item__price {
	grid-column: 2;
	grid-row: 1 / span 3;
	align-self: start;
	font-size: 14px;
	font-weight: 700;
}

.jt-checkout-coupon {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	margin: 16px 0;
}

.jt-checkout-coupon__btn {
	padding: 0 14px;
	border: 1px solid var(--jt-border);
	border-radius: 10px;
	background: var(--jt-surface-2);
	color: var(--jt-text);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.jt-checkout-payment__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.jt-checkout-payment__option {
	border: 1px solid var(--jt-border);
	border-radius: 10px;
	overflow: hidden;
	background: var(--jt-surface-2);
}

.jt-checkout-payment__option + .jt-checkout-payment__option {
	margin-top: 8px;
}

.jt-checkout-payment__option.is-selected {
	border-color: rgba(198, 255, 51, 0.35);
}

.jt-checkout-payment__label {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	cursor: pointer;
}

.jt-checkout-payment__name {
	flex: 1 1 auto;
	font-size: 14px;
	font-weight: 600;
}

.jt-checkout-payment__icon {
	font-size: 11px;
	font-weight: 700;
	color: var(--jt-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.jt-checkout-payment__box {
	padding: 0 14px 12px 38px;
	font-size: 12px;
	line-height: 1.5;
	color: var(--jt-muted);
}

.jt-checkout-trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px 24px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--jt-border);
}

.jt-checkout-trust__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--jt-muted);
}

.jt-checkout-trust__item svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}



@media (max-width: 960px) {
	.jt-checkout__layout {
		grid-template-columns: 1fr;
	}

	.jt-checkout__aside {
		position: static;
	}

	.jt-cart-item {
		grid-template-columns: 64px minmax(0, 1fr);
	}

	.jt-cart-item__aside {
		grid-column: 1 / -1;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
	}
}

@media (max-width: 767px) {
	.jt-cart-page,
	.jt-checkout-page {
		padding-inline: clamp(16px, 4vw, 24px);
	}

	.jt-checkout-fields--horizontal {
		grid-template-columns: 1fr;
	}

	.jt-checkout-field--span-2 {
		grid-column: auto;
	}
}
/* ── WooCommerce cart totals table → summary rows ── */

body.jt-checkout-flow .jt-cart-items,
body.jt-checkout-flow .jt-cart-items .jt-cart-item,
body.jt-checkout-flow .jt-cart-items .cart_item {
	display: grid;
	visibility: visible;
}

body.jt-checkout-flow .woocommerce-cart-form .jt-cart-item__thumb,
body.jt-checkout-flow .woocommerce-cart-form .product-thumbnail {
	display: block;
	width: 72px;
	height: 72px;
}

body.jt-checkout-flow .woocommerce-cart-form .product-name,
body.jt-checkout-flow .woocommerce-cart-form .product-price,
body.jt-checkout-flow .woocommerce-cart-form .product-quantity,
body.jt-checkout-flow .woocommerce-cart-form .product-remove {
	display: block;
}

body.jt-checkout-flow .jt-cart-summary .jt-order-summary__rows {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

body.jt-checkout-flow .jt-cart-summary .jt-order-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
}

body.jt-checkout-flow .jt-cart-summary .jt-order-summary__row--total {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--jt-border, rgba(255, 255, 255, 0.08));
  font-size: 16px;
  font-weight: 700;
}

body.jt-checkout-flow .jt-cart-summary .cart_totals {
  display: none !important;
}

body.jt-checkout-flow .jt-order-summary .cart_totals > h2 {
  display: none;
}

body.jt-checkout-flow .jt-order-summary .cart_totals .shop_table,
body.jt-checkout-flow .jt-order-summary .jt-order-summary__rows {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  border: 0;
  background: transparent;
}

body.jt-checkout-flow .jt-order-summary .cart_totals .shop_table tbody,
body.jt-checkout-flow .jt-order-summary .cart_totals .shop_table tr,
body.jt-checkout-flow .jt-order-summary .jt-order-summary__rows tbody,
body.jt-checkout-flow .jt-order-summary .jt-order-summary__rows tr {
  display: block;
}

body.jt-checkout-flow .jt-order-summary .cart_totals .shop_table tr,
body.jt-checkout-flow .jt-order-summary .jt-order-summary__rows tr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
}

body.jt-checkout-flow .jt-order-summary .cart_totals .shop_table tr.order-total,
body.jt-checkout-flow .jt-order-summary .jt-order-summary__rows tr.order-total {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--jt-border, rgba(255, 255, 255, 0.08));
  font-size: 16px;
  font-weight: 700;
}

body.jt-checkout-flow .jt-order-summary .cart_totals th,
body.jt-checkout-flow .jt-order-summary .jt-order-summary__rows th {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--jt-muted, rgba(255, 255, 255, 0.55));
  font-weight: 500;
}

body.jt-checkout-flow .jt-order-summary .cart_totals td,
body.jt-checkout-flow .jt-order-summary .jt-order-summary__rows td {
  background: transparent;
  border: 0;
  padding: 0;
  text-align: right;
  font-weight: 600;
}

body.jt-checkout-flow .jt-order-summary .wc-proceed-to-checkout {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

body.jt-checkout-flow .jt-cart-continue {
  margin-top: 10px;
}

body.jt-checkout-flow .jt-cart-form__actions {
  padding: 16px 18px;
  border-top: 1px solid var(--jt-border, rgba(255, 255, 255, 0.08));
}

body.jt-checkout-flow .jt-cart-form__update {
  width: 100%;
}

body.jt-checkout-flow .woocommerce-cart-form .product-quantity {
  display: block;
  min-width: 118px;
}

body.jt-checkout-flow .jt-cart-item__thumb img,
body.jt-checkout-flow .jt-cart-item__thumb .jt-cart-item__cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Checkout billing fields grid ── */

body.jt-checkout-flow .jt-checkout-section__body .col2-set {
  display: grid;
  gap: 20px;
  width: 100%;
}

body.jt-checkout-flow .jt-checkout-section__body .col-1,
body.jt-checkout-flow .jt-checkout-section__body .col-2 {
  display: block;
  width: 100%;
  min-width: 0;
}

body.jt-checkout-flow .jt-checkout-section__body .woocommerce-billing-fields > h3,
body.jt-checkout-flow .jt-checkout-section__body .woocommerce-shipping-fields > h3,
body.jt-checkout-flow .jt-checkout-section__body .woocommerce-additional-fields > h3 {
  display: none;
}

body.jt-checkout-flow .jt-checkout-section__body .woocommerce-billing-fields,
body.jt-checkout-flow .jt-checkout-section__body .woocommerce-shipping-fields,
body.jt-checkout-flow .jt-checkout-section__body .woocommerce-additional-fields {
  width: 100%;
}

body.jt-checkout-flow .jt-checkout-section__body .woocommerce-billing-fields__field-wrapper,
body.jt-checkout-flow .jt-checkout-section__body .woocommerce-shipping-fields__field-wrapper,
body.jt-checkout-flow .jt-checkout-section__body .woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  width: 100%;
}

body.jt-checkout-flow .woocommerce-checkout .form-row-first,
body.jt-checkout-flow .woocommerce-checkout .form-row-last,
body.jt-checkout-flow .woocommerce-checkout .form-row-wide,
body.jt-checkout-flow .woocommerce-checkout .form-row {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.jt-checkout-flow #billing_email_field,
body.jt-checkout-flow #billing_phone_field,
body.jt-checkout-flow #billing_company_field,
body.jt-checkout-flow #billing_country_field,
body.jt-checkout-flow #billing_address_1_field,
body.jt-checkout-flow #billing_address_2_field,
body.jt-checkout-flow #billing_postcode_field,
body.jt-checkout-flow #order_comments_field,
body.jt-checkout-flow #shipping_email_field,
body.jt-checkout-flow #shipping_phone_field,
body.jt-checkout-flow #shipping_company_field,
body.jt-checkout-flow #shipping_country_field,
body.jt-checkout-flow #shipping_address_1_field,
body.jt-checkout-flow #shipping_address_2_field {
  grid-column: 1 / -1;
}

body.jt-checkout-flow .woocommerce-checkout .form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--jt-muted, rgba(255, 255, 255, 0.55));
}

body.jt-checkout-flow .woocommerce-checkout .form-row {
  margin: 0;
  padding: 0;
  width: 100%;
}

body.jt-checkout-flow .woocommerce-checkout .form-row .input-text,
body.jt-checkout-flow .woocommerce-checkout .form-row select,
body.jt-checkout-flow .woocommerce-checkout .form-row textarea {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  min-height: 48px;
  padding: 13px 14px;
  font-size: 15px;
}

body.jt-checkout-flow .woocommerce-checkout .form-row textarea {
  min-height: 112px;
  padding-top: 12px;
  padding-bottom: 12px;
}

/* ── Payment methods ── */

body.jt-checkout-flow #payment {
  background: transparent !important;
  margin-top: 16px;
}

body.jt-checkout-flow #payment ul.payment_methods {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  border: 0 !important;
}

body.jt-checkout-flow #payment ul.payment_methods li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 4px;
  margin: 0 0 8px;
  padding: 12px 14px !important;
  border: 1px solid var(--jt-border, rgba(255, 255, 255, 0.08)) !important;
  border-radius: 10px;
  overflow: hidden;
  background: var(--jt-surface-2, #1a1a1a) !important;
}

body.jt-checkout-flow #payment ul.payment_methods li input[type="radio"] {
  grid-column: 1;
  grid-row: 1;
  width: 16px;
  height: 16px;
  margin: 0;
  align-self: center;
  float: none !important;
  position: static !important;
}

body.jt-checkout-flow #payment ul.payment_methods li > label {
  grid-column: 2;
  grid-row: 1;
  display: block;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: var(--jt-text, rgba(255, 255, 255, 0.92));
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

body.jt-checkout-flow #payment ul.payment_methods li .payment_box,
body.jt-checkout-flow #payment ul.payment_methods li div.payment_box {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  padding: 4px 0 0 28px !important;
  background: transparent !important;
  color: var(--jt-muted, rgba(255, 255, 255, 0.55)) !important;
  font-size: 12px;
  line-height: 1.5;
}

body.jt-checkout-flow #payment ul.payment_methods li .payment_box::before,
body.jt-checkout-flow #payment ul.payment_methods li div.payment_box::before {
  display: none !important;
}

body.jt-checkout-flow #payment div.payment_box {
  margin: 0;
  padding: 4px 0 0 28px !important;
  background: transparent !important;
  color: var(--jt-muted, rgba(255, 255, 255, 0.55)) !important;
  font-size: 12px;
  line-height: 1.5;
}

body.jt-checkout-flow #payment div.payment_box::before {
  display: none !important;
}

body.jt-checkout-flow #payment div.form-row.place-order {
  padding: 0;
  margin: 0;
}

body.jt-checkout-flow #payment #place_order {
  width: 100%;
}

body.jt-checkout-flow .woocommerce-form-coupon-toggle,
body.jt-checkout-flow form.checkout_coupon {
  margin-bottom: 16px;
}

body.jt-checkout-flow .woocommerce-checkout-review-order-table {
  display: none;
}

/* ── Shared Woo skin ── */

body.jt-checkout-flow .woocommerce,
body.jt-checkout-flow .wc-block-cart,
body.jt-checkout-flow .wc-block-checkout {
  color: var(--jt-text, rgba(255, 255, 255, 0.92));
}

body.jt-checkout-flow .woocommerce a {
  color: var(--jt-accent, #c6ff33);
}

body.jt-checkout-flow .woocommerce form .input-text,
body.jt-checkout-flow .woocommerce form select,
body.jt-checkout-flow .woocommerce form textarea,
body.jt-checkout-flow .wc-block-components-text-input input,
body.jt-checkout-flow .wc-block-components-select select,
body.jt-checkout-flow .select2-container--default .select2-selection--single {
  background: var(--jt-surface-2, #1a1a1a) !important;
  color: var(--jt-text, rgba(255, 255, 255, 0.92)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

body.jt-checkout-flow .select2-dropdown,
body.jt-checkout-flow .select2-results__options {
  background: var(--jt-surface-2, #1a1a1a) !important;
  color: var(--jt-text, rgba(255, 255, 255, 0.92)) !important;
}

body.jt-checkout-flow .select2-results__option--highlighted {
  background: var(--jt-accent, #c6ff33) !important;
  color: var(--jt-accent-text, #0a0a0a) !important;
}

body.jt-checkout-flow .woocommerce .button,
body.jt-checkout-flow .woocommerce button.button,
body.jt-checkout-flow .woocommerce a.button,
body.jt-checkout-flow .woocommerce #place_order,
body.jt-checkout-flow .woocommerce .checkout-button,
body.jt-checkout-flow .wc-block-cart__submit-button,
body.jt-checkout-flow .wc-block-components-checkout-place-order-button,
body.jt-checkout-flow .jt-checkout-btn {
  background: var(--jt-accent, #c6ff33) !important;
  background-image: none !important;
  color: var(--jt-accent-text, #0a0a0a) !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

body.jt-checkout-flow .jt-checkout-btn--secondary,
body.jt-checkout-flow .jt-checkout-btn.jt-checkout-btn--secondary {
  background: transparent !important;
  color: var(--jt-text, rgba(255, 255, 255, 0.92)) !important;
  border: 1px solid var(--jt-border, rgba(255, 255, 255, 0.08)) !important;
}

body.jt-checkout-flow .woocommerce .button:hover,
body.jt-checkout-flow .woocommerce button.button:hover,
body.jt-checkout-flow .woocommerce a.button:hover,
body.jt-checkout-flow .woocommerce #place_order:hover,
body.jt-checkout-flow .woocommerce .checkout-button:hover,
body.jt-checkout-flow .jt-checkout-btn:hover {
  filter: brightness(1.05);
}

body.jt-checkout-flow .jt-checkout-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  filter: none;
}

body.jt-checkout-flow .woocommerce-info,
body.jt-checkout-flow .woocommerce-message,
body.jt-checkout-flow .woocommerce-error,
body.jt-checkout-flow .wc-block-components-notice-banner {
  background: var(--jt-surface-2, #1a1a1a) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: var(--jt-text, rgba(255, 255, 255, 0.85)) !important;
}

body.jt-checkout-flow .woocommerce-info::before,
body.jt-checkout-flow .woocommerce-message::before {
  color: var(--jt-accent, #c6ff33) !important;
}

body.jt-checkout-flow input[type="radio"],
body.jt-checkout-flow input[type="checkbox"] {
  accent-color: var(--jt-accent, #c6ff33);
}

@media (max-width: 767px) {
  body.jt-checkout-flow .jt-checkout-section__body .woocommerce-billing-fields__field-wrapper,
  body.jt-checkout-flow .jt-checkout-section__body .woocommerce-shipping-fields__field-wrapper,
  body.jt-checkout-flow .jt-checkout-section__body .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
}
