.pdm-checkout {
	--pdm-ink: #1f2937;
	--pdm-muted: #667085;
	--pdm-line: #d0d5dd;
	--pdm-surface: #ffffff;
	--pdm-soft: #f8fafc;
	--pdm-accent: #0f766e;
	--pdm-accent-strong: #115e59;
	--pdm-accent-glow: rgba(15, 118, 110, 0.16);
	--pdm-warn: #b45309;
	color: var(--pdm-ink);
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	font-family: inherit;
}

@media (min-width: 1025px) {
	.pdm-checkout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 18px;
		align-items: start;
	}

	.pdm-checkout .pdm-product-section,
	.pdm-checkout .pdm-checkout-summary,
	.pdm-checkout .pdm-submit-button,
	.pdm-checkout .pdm-checkout-message {
		grid-column: 1 / -1;
	}

	.pdm-checkout .pdm-customer-section {
		grid-column: 1;
	}

	.pdm-checkout .pdm-payment-section {
		grid-column: 2;
	}

	.pdm-checkout.is-compact-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.pdm-checkout.is-compact-layout .pdm-customer-section,
	.pdm-checkout.is-compact-layout .pdm-payment-section {
		grid-column: 1 / -1;
	}

	.pdm-checkout-section,
	.pdm-checkout-summary {
		margin-bottom: 0;
	}
}

.pdm-checkout *,
.pdm-checkout *::before,
.pdm-checkout *::after {
	box-sizing: border-box;
}

.pdm-checkout [hidden] {
	display: none !important;
}

.pdm-checkout-section,
.pdm-checkout-summary {
	border: 1px solid var(--pdm-line);
	border-radius: 8px;
	background: var(--pdm-surface);
	padding: 20px;
	margin-bottom: 18px;
}

.pdm-checkout-section h2 {
	font-size: 20px;
	line-height: 1.3;
	margin: 0 0 14px;
}

.pdm-product-grid {
	--pdm-card-min-width: 260px;
	--pdm-card-min-width-tablet: 200px;
	--pdm-card-min-width-mobile: 150px;
	--pdm-effective-cols: var(--pdm-col-desktop, 3);
	display: grid;
	grid-template-columns: repeat(var(--pdm-effective-cols), minmax(0, 1fr));
	gap: var(--pdm-product-gap, 20px);
	align-items: stretch;
}

.pdm-checkout--single-product .pdm-product-grid {
	--pdm-effective-cols: 1;
}

.pdm-product-card {
	display: block;
	position: relative;
	cursor: pointer;
	height: 100%;
}

.pdm-product-card__body {
	display: grid;
	position: relative;
	justify-items: center;
	gap: 14px;
	height: 100%;
	min-height: 96px;
	border: 1px solid var(--pdm-line);
	border-radius: 8px;
	padding: 20px;
	background: var(--pdm-soft);
	transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
	text-align: center;
}

.pdm-product-card:has(input:checked) .pdm-product-card__body {
	border-color: var(--pdm-accent);
	background: var(--pdm-soft);
	box-shadow: 0 0 0 2px var(--pdm-accent-glow);
}

.pdm-product-card__image {
	display: block;
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 0;
	background: transparent;
	border: 0;
}

.pdm-product-badge {
	position: absolute;
	top: 0;
	right: 18px;
	z-index: 10;
	overflow: hidden;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	color: #ffffff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
	isolation: isolate;
	transform: translateY(-50%);
	animation: pdm-badge-pulse 2.8s ease-in-out infinite;
}

.pdm-product-badge::after {
	content: "";
	position: absolute;
	inset: -35% -65%;
	z-index: -1;
	background: linear-gradient(
		120deg,
		transparent 0%,
		transparent 35%,
		rgba(255, 255, 255, 0.55) 48%,
		rgba(255, 255, 255, 0.2) 56%,
		transparent 70%,
		transparent 100%
	);
	transform: translateX(-75%) rotate(10deg);
	animation: pdm-badge-shimmer 2.4s ease-in-out infinite;
}

.pdm-product-badge.badge-bestseller {
	background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 48%, #d97706 100%);
}

.pdm-product-badge.badge-hotsale {
	background: linear-gradient(135deg, #fb7185 0%, #ef4444 48%, #dc2626 100%);
}

.pdm-product-badge.badge-recommended {
	background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 48%, #2563eb 100%);
}

@keyframes pdm-badge-shimmer {
	0% {
		transform: translateX(-75%) rotate(10deg);
	}

	52%,
	100% {
		transform: translateX(75%) rotate(10deg);
	}
}

@keyframes pdm-badge-pulse {
	0%,
	100% {
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 rgba(255, 255, 255, 0);
	}

	45% {
		box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16), 0 0 14px rgba(255, 255, 255, 0.28);
	}
}

@media (prefers-reduced-motion: reduce) {
	.pdm-product-badge,
	.pdm-product-badge::after {
		animation: none;
	}
}

.pdm-product-card__image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
}

.pdm-product-card__content {
	display: grid;
	justify-items: center;
	gap: 10px;
	min-width: 0;
	width: 100%;
}

.pdm-product-card.is-disabled {
	cursor: not-allowed;
	opacity: 0.58;
}

.pdm-product-card.is-disabled .pdm-product-card__choice {
	background: #f3f4f6;
	color: #6b7280;
}

.pdm-product-card__title {
	font-weight: 700;
	font-size: 17px;
	line-height: 1.4;
	text-align: center;
}

.pdm-checkout .pdm-product-card__choice {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: max-content;
	max-width: 100%;
	border: 1px solid var(--pdm-line);
	border-radius: 999px;
	background: #fff;
	color: var(--pdm-accent-strong);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	padding: 7px 12px;
	margin-top: 4px;
	margin-bottom: 0;
}

.pdm-checkout .pdm-product-card__choice input {
	width: 11px;
	height: 11px;
	margin: 0;
	accent-color: var(--pdm-accent);
	flex: 0 0 11px;
}

.pdm-checkout .pdm-product-card__choice span {
	display: inline;
	margin: 0;
	font-weight: 700;
}

.pdm-product-card.is-selected .pdm-product-card__body,
.pdm-product-card:has(input:checked) .pdm-product-card__body {
	border-color: var(--pdm-accent);
	background: var(--pdm-soft);
	box-shadow: 0 0 0 2px var(--pdm-accent-glow);
}

.pdm-product-card.is-selected .pdm-product-card__choice,
.pdm-product-card:has(input:checked) .pdm-product-card__choice {
	border-color: var(--pdm-accent);
	background: var(--pdm-soft);
}

.pdm-product-card__price {
	display: flex;
	align-items: baseline;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.pdm-product-card__price del {
	color: var(--pdm-muted);
}

.pdm-product-card__price strong {
	font-size: 20px;
	color: var(--pdm-accent-strong);
}

.pdm-product-card__meta {
	color: var(--pdm-muted);
	font-size: 14px;
	text-align: center;
}

.pdm-product-card__sold-out {
	display: inline-flex;
	width: max-content;
	border-radius: 999px;
	background: #fee2e2;
	color: #991b1b;
	font-size: 12px;
	font-weight: 700;
	padding: 3px 8px;
}

.pdm-field-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.pdm-field-wide {
	grid-column: 1 / -1;
}

.pdm-checkout label span {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.pdm-checkout .pdm-product-card span {
	margin-bottom: 0;
}

.pdm-checkout .pdm-product-card__body,
.pdm-checkout .pdm-product-card__content {
	display: grid;
}

.pdm-checkout .pdm-product-card__image,
.pdm-checkout .pdm-product-card__title,
.pdm-checkout .pdm-product-card__meta {
	display: block;
}

.pdm-checkout .pdm-product-card__price {
	display: flex;
}

.pdm-checkout .pdm-product-card__sold-out {
	display: inline-flex;
}

.pdm-checkout input[type="text"],
.pdm-checkout input[type="tel"],
.pdm-checkout input[type="email"],
.pdm-checkout input[type="url"],
.pdm-checkout textarea {
	width: 100%;
	border: 1px solid var(--pdm-line);
	border-radius: 6px;
	padding: 11px 12px;
	font: inherit;
	line-height: 1.4;
	background: var(--pdm-surface);
}

.pdm-checkout textarea[name="address_line"] {
	width: 100%;
	height: clamp(35px, 7vw, 35px);
	min-height: 35px;
	resize: vertical;
}

.pdm-checkout .pdm-field-invalid input,
.pdm-checkout .pdm-field-invalid textarea {
	border-color: #b42318;
	box-shadow: 0 0 0 2px rgba(180, 35, 24, 0.12);
}

.pdm-field-error {
	display: block;
	margin-top: 6px;
	color: #b42318;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
}

.pdm-checkout .twitter-typeahead {
	display: block !important;
	width: 100%;
	font-weight: inherit;
	margin-bottom: 0;
}

.pdm-checkout .twitter-typeahead .tt-input,
.pdm-checkout .twitter-typeahead .tt-hint {
	width: 100%;
}

.pdm-checkout .tt-menu {
	z-index: 99999 !important;
	width: 100%;
	max-height: 260px;
	overflow-y: auto;
	border: 1px solid var(--pdm-line);
	border-top: 0;
	border-radius: 0 0 6px 6px;
	background: var(--pdm-surface);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.pdm-checkout .tt-suggestion {
	padding: 10px 12px;
	font-weight: 500;
}

.pdm-checkout .tt-cursor,
.pdm-checkout .tt-suggestion:hover {
	background: var(--pdm-soft);
}

.pdm-checkout textarea {
	resize: vertical;
}

.pdm-checkout textarea[name="address_line"] {
	height: 75px;
	min-height: 60px;
}

.pdm-payment-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	align-items: stretch;
	margin-bottom: 14px;
}

.pdm-payment-options label {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 62px;
	height: 100%;
	border: 1px solid var(--pdm-line);
	border-radius: 8px;
	padding: 10px 14px;
	background: var(--pdm-soft);
	cursor: pointer;
}

.pdm-payment-options span {
	margin: 0;
	line-height: 1.35;
	min-width: 0;
	word-break: break-word;
}

.pdm-payment-options input[type="radio"] {
	flex: 0 0 auto;
}

.pdm-consent-section {
	padding-top: 0;
}

.pdm-consent-field {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--pdm-line);
	border-radius: 10px;
	background: var(--pdm-soft);
}

.pdm-consent-field input[type="checkbox"] {
	margin-top: 3px;
	flex: 0 0 auto;
}

.pdm-consent-field__label {
	display: block;
	margin: 0;
	color: #334155;
	line-height: 1.65;
}

.pdm-consent-field__label a {
	color: var(--pdm-accent-strong);
	font-weight: 700;
}

.pdm-payment-section.is-single-method {
	display: grid;
	justify-items: center;
}

.pdm-payment-section.is-single-method h2 {
	width: 100%;
}

.pdm-bank-box {
	display: grid;
	justify-items: center;
	width: min(460px, 100%);
	margin: 0 auto;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	box-sizing: border-box;
	text-align: center;
}

.pdm-payment-section.is-single-method .pdm-bank-box,
.pdm-payment-section.is-single-method .pdm-cod-box {
	width: min(460px, 100%);
	margin: 0 auto;
}

.pdm-cod-box {
	display: grid;
	gap: 10px;
	width: min(460px, 100%);
	margin: 0 auto;
	padding: 20px;
	border: 1px solid var(--pdm-line);
	border-radius: 10px;
	background: linear-gradient(180deg, var(--pdm-soft) 0%, var(--pdm-surface) 100%);
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
	text-align: center;
}

.pdm-cod-box__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
}

.pdm-cod-box__description,
.pdm-cod-box__fee {
	margin: 0;
	color: var(--pdm-muted);
	line-height: 1.6;
}

.pdm-cod-box__fee {
	font-weight: 700;
	color: var(--pdm-accent-strong);
}

.pdm-bank-box p {
	margin: 0 0 6px;
}

.pdm-bank-transfer-card {
	display: grid;
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
	padding: 16px;
	border: 1px solid var(--pdm-line);
	border-radius: 10px;
	background: var(--pdm-surface);
	text-align: left;
}

.pdm-bank-transfer-card__eyebrow,
.pdm-bank-transfer-card__bank,
.pdm-bank-transfer-card__name {
	margin: 0;
}

.pdm-bank-transfer-card__eyebrow {
	color: var(--pdm-muted);
	font-size: 13px;
	font-weight: 700;
}

.pdm-bank-transfer-card__bank {
	color: #0f172a;
	font-size: 18px;
	font-weight: 800;
}

.pdm-bank-transfer-card__name {
	color: #475569;
	line-height: 1.55;
}

.pdm-bank-transfer-card__account {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 2px;
	padding-top: 12px;
	border-top: 1px solid var(--pdm-line);
}

.pdm-bank-transfer-card__account span {
	display: grid;
	gap: 3px;
	color: var(--pdm-muted);
	font-size: 13px;
}

.pdm-bank-transfer-card__account strong {
	color: #0f172a;
	font-size: 22px;
	font-weight: 900;
	letter-spacing: 0.04em;
}

.pdm-promptpay-number {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	width: 100%;
	margin-bottom: 4px;
	color: #0f172a;
}

.pdm-promptpay-number strong {
	font-size: 16px;
	letter-spacing: 0.04em;
}

.pdm-copy-promptpay {
	border: 1px solid var(--pdm-theme-color, var(--pdm-accent));
	border-radius: 999px;
	background: var(--pdm-soft);
	color: var(--pdm-theme-color, var(--pdm-accent));
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	padding: 8px 12px;
}

.pdm-copy-promptpay:hover,
.pdm-copy-promptpay:focus {
	border-color: var(--pdm-accent-strong);
	background: var(--pdm-soft);
	color: var(--pdm-accent-strong);
	outline: none;
}

.pdm-copy-promptpay.is-copied {
	border-color: #22c55e;
	background: #dcfce7;
	color: #166534;
}

.pdm-payment-qr {
	display: block;
	width: min(220px, 100%);
	height: auto;
	border: 1px solid var(--pdm-line);
	border-radius: 6px;
	background: var(--pdm-surface);
	margin: 12px 0;
}

.pdm-promptpay-qr {
	display: grid;
	justify-items: center;
	gap: 10px;
	margin: 16px 0 14px;
	padding: 16px;
	width: min(340px, 100%);
	max-width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--pdm-line);
	border-radius: 10px;
	background: var(--pdm-surface);
}

.pdm-promptpay-qr__header {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 15px;
	width: 100%;
}

.pdm-promptpay-logo {
	display: block;
	width: min(240px, 100%);
	height: auto;
	flex: 0 0 auto;
	object-fit: contain;
}

.pdm-promptpay-qr .pdm-payment-qr {
	margin: 0;
}

.pdm-promptpay-qr__note {
	color: var(--pdm-muted);
	font-size: 13px;
	margin: 0;
	text-align: center;
}

.pdm-slip-upload {
	display: grid;
	gap: 8px;
	margin-top: 12px;
	width: 100%;
	text-align: left;
}

.pdm-slip-upload small {
	color: var(--pdm-muted);
	font-size: 12px;
	line-height: 1.45;
}

.pdm-slip-upload input {
	width: 100%;
}

.pdm-checkout-summary {
	display: grid;
	gap: 10px;
	background: var(--pdm-soft);
}

.pdm-checkout-summary div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.pdm-checkout-summary span {
	color: var(--pdm-muted);
}

.pdm-checkout-summary strong {
	color: var(--pdm-ink);
}

.pdm-checkout-summary__total {
	border-top: 1px solid var(--pdm-line);
	padding-top: 12px;
	font-size: 20px;
}

.pdm-checkout-summary__total strong,
.pdm-checkout-summary__total span {
	color: var(--pdm-accent-strong);
}

.pdm-submit-button {
	width: 100%;
	border: 0;
	border-radius: 8px;
	background: var(--pdm-accent);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.3;
	padding: 15px 18px;
	transition: background 160ms ease, transform 160ms ease;
}

.pdm-submit-button.is-loading::before {
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-right: 8px;
	border: 2px solid rgba(255, 255, 255, 0.45);
	border-top-color: #fff;
	border-radius: 50%;
	vertical-align: -0.15em;
	animation: pdm-spin 800ms linear infinite;
}

.pdm-submit-button:hover,
.pdm-submit-button:focus {
	background: var(--pdm-accent-strong);
}

.pdm-submit-button:disabled {
	cursor: wait;
	opacity: 0.72;
}

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

.pdm-checkout-message {
	margin-top: 12px;
	font-weight: 600;
	text-align: center;
}

.pdm-checkout-message.is-error {
	color: #b42318;
}

.pdm-checkout-message.is-success {
	color: #027a48;
}

.pdm-checkout-notice {
	border: 1px solid #f59e0b;
	border-radius: 8px;
	background: #fffbeb;
	color: var(--pdm-warn);
	padding: 14px 16px;
}

.pdm-order-modal {
	--pdm-ink: #1f2937;
	--pdm-muted: #667085;
	--pdm-line: #d0d5dd;
	--pdm-accent: #0f766e;
	--pdm-accent-strong: #115e59;
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(15, 23, 42, 0.58);
}

.pdm-order-modal__panel {
	position: relative;
	width: min(100%, 620px);
	max-height: calc(100vh - 40px);
	overflow: auto;
	border-radius: 8px;
	background: #fff;
	color: var(--pdm-ink);
	padding: 42px 24px 24px;
	text-align: center;
	box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}

.pdm-order-modal__panel h2 {
	margin: 0 0 10px;
	font-size: 24px;
}

.pdm-order-modal__panel p {
	margin: 0 0 18px;
}

.pdm-order-modal__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #99f6e4;
	border-radius: 999px;
	background: #ecfdf5;
	color: #0f766e;
	font-weight: 700;
	padding: 8px 14px;
	text-decoration: none;
}

.pdm-order-modal__code strong {
	color: var(--pdm-accent);
	white-space: nowrap;
}

.pdm-order-modal__summary {
	margin: 18px 0;
	border: 1px solid var(--pdm-line);
	border-radius: 8px;
	background: #f8fafc;
	padding: 16px;
	text-align: left;
}

.pdm-order-modal__summary h3 {
	margin: 0 0 12px;
	font-size: 18px;
	text-align: center;
}

.pdm-order-modal__bill {
	display: grid;
	gap: 8px;
}

.pdm-order-modal__bill div {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	border-bottom: 1px solid #e5e7eb;
	padding-bottom: 8px;
}

.pdm-order-modal__bill div:last-child {
	border-bottom: 0;
	padding-top: 4px;
	padding-bottom: 0;
	font-size: 17px;
}

.pdm-order-modal__bill span,
.pdm-order-modal__customer,
.pdm-order-modal__address {
	color: var(--pdm-muted);
}

.pdm-order-modal__bill strong {
	color: var(--pdm-ink);
	text-align: right;
}

.pdm-order-modal__customer,
.pdm-order-modal__address {
	margin: 12px 0 0;
	line-height: 1.65;
}

.pdm-order-modal__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin: 16px 0 14px;
}

.pdm-order-modal__panel button {
	border: 0;
	border-radius: 6px;
	background: var(--pdm-accent);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: 10px 24px;
}

.pdm-order-modal__panel .pdm-order-modal__close {
	position: absolute;
	top: 12px;
	right: 14px;
	display: grid;
	justify-items: center;
	gap: 2px;
	border: 0;
	background: transparent;
	color: var(--pdm-muted);
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: 0;
}

.pdm-order-modal__close span {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--pdm-line);
	border-radius: 999px;
	background: #fff;
	color: var(--pdm-ink);
	font-size: 24px;
	line-height: 1;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.pdm-order-modal__close small {
	font-size: 11px;
	line-height: 1;
}

.pdm-order-modal__panel .pdm-order-modal__close:hover span,
.pdm-order-modal__panel .pdm-order-modal__close:focus span {
	border-color: #99f6e4;
	color: var(--pdm-accent);
}

.pdm-order-modal__panel .pdm-order-modal__secondary {
	border: 1px solid #99f6e4;
	background: #ecfdf5;
	color: #0f766e;
	padding: 8px 14px;
}

.pdm-order-modal__panel .pdm-order-modal__secondary.is-copied {
	background: #d1fae5;
	color: #065f46;
}

.pdm-order-tracking {
	--pdm-ink: #1f2937;
	--pdm-muted: #667085;
	--pdm-line: #d0d5dd;
	--pdm-surface: #ffffff;
	--pdm-soft: #f8fafc;
	--pdm-accent: #0f766e;
	--pdm-accent-strong: #115e59;
	width: 100%;
	max-width: 860px;
	margin: 0 auto;
	color: var(--pdm-ink);
	font-family: inherit;
}

.pdm-order-tracking *,
.pdm-order-tracking *::before,
.pdm-order-tracking *::after {
	box-sizing: border-box;
}

.pdm-order-tracking [hidden] {
	display: none !important;
}

.pdm-order-tracking__intro {
	margin: -4px 0 16px;
	color: var(--pdm-muted);
	line-height: 1.65;
}

.pdm-order-tracking input[type="text"],
.pdm-order-tracking input[type="tel"] {
	width: 100%;
	border: 1px solid var(--pdm-line);
	border-radius: 6px;
	padding: 11px 12px;
	font: inherit;
	line-height: 1.4;
	background: #fff;
}

.pdm-order-tracking__submit {
	margin-top: 16px;
}

.pdm-order-tracking__result {
	margin-top: 18px;
	border: 1px solid var(--pdm-line);
	border-radius: 10px;
	background: #fff;
	padding: 20px;
}

.pdm-order-tracking__result-head,
.pdm-order-tracking__info {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.pdm-order-tracking__result-head {
	margin-bottom: 18px;
}

.pdm-order-tracking__result span,
.pdm-order-tracking__info span,
.pdm-order-tracking__parcel span {
	display: block;
	color: var(--pdm-muted);
	font-size: 13px;
	margin-bottom: 4px;
}

.pdm-order-tracking__result strong {
	color: var(--pdm-ink);
	font-size: 16px;
}

.pdm-order-timeline {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	list-style: none;
	margin: 18px 0;
	padding: 0;
}

.pdm-order-timeline li {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 8px;
	text-align: center;
	color: var(--pdm-muted);
	font-size: 13px;
	font-weight: 700;
}

.pdm-order-timeline__dot {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 2px solid var(--pdm-line);
	border-radius: 50%;
	background: #fff;
}

.pdm-order-timeline li.is-complete .pdm-order-timeline__dot,
.pdm-order-timeline li.is-current .pdm-order-timeline__dot {
	border-color: var(--pdm-accent);
	background: var(--pdm-accent);
}

.pdm-order-timeline li.is-complete .pdm-order-timeline__dot::before {
	content: "";
	width: 8px;
	height: 13px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	margin-top: -2px;
}

.pdm-order-timeline li.is-current {
	color: var(--pdm-accent-strong);
}

.pdm-order-timeline li.is-current .pdm-order-timeline__dot::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #fff;
}

.pdm-order-tracking__parcel {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin-top: 16px;
	padding: 14px;
	border: 1px solid #bfdbfe;
	border-radius: 8px;
	background: #eff6ff;
}

.pdm-order-tracking__issue {
	display: grid;
	gap: 6px;
	margin-bottom: 16px;
	padding: 14px 16px;
	border: 1px solid #facc15;
	border-radius: 10px;
	background: #fffbeb;
}

.pdm-order-tracking__issue span {
	font-size: 12px;
	font-weight: 700;
	color: #92400e;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.pdm-order-tracking__issue strong {
	color: #78350f;
	line-height: 1.6;
}

.pdm-order-tracking__parcel span {
	width: 100%;
	margin-bottom: 0;
}

.pdm-order-tracking__parcel strong {
	font-size: 18px;
	letter-spacing: 0.03em;
}

.pdm-order-tracking__link {
	text-decoration: none;
}

.pdm-order-tracking__actions {
	margin-top: 16px;
}

.pdm-order-tracking__action-button {
	width: auto;
	min-width: 200px;
}

.pdm-order-tracking__action-button--danger {
	background: #b42318;
}

.pdm-order-tracking__payment-box {
	margin-top: 16px;
	border: 1px solid #fde68a;
	border-radius: 10px;
	background: #fffbeb;
	padding: 18px;
}

.pdm-order-tracking__payment-box h3 {
	margin: 0 0 8px;
	font-size: 18px;
}

.pdm-order-tracking__payment-note {
	margin: 0 0 14px;
	color: var(--pdm-muted);
	line-height: 1.65;
}

.pdm-order-tracking__payment-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.pdm-order-tracking__payment-grid > div {
	display: grid;
	gap: 6px;
}

.pdm-order-tracking__refund-box {
	margin-top: 16px;
	border: 1px solid #d0d5dd;
	border-radius: 10px;
	background: #f8fafc;
	padding: 18px;
}

.pdm-order-tracking__refund-box h3 {
	margin: 0 0 12px;
	font-size: 18px;
}

.pdm-order-tracking__refund-form label {
	display: grid;
	gap: 6px;
}

.pdm-order-tracking__refund-form input[type="text"] {
	width: 100%;
}

.pdm-order-tracking__refund-actions {
	margin-top: 14px;
}

.pdm-choice-modal {
	position: fixed;
	inset: 0;
	z-index: 10020;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(15, 23, 42, 0.56);
}

.pdm-choice-modal__panel {
	width: min(100%, 420px);
	padding: 24px;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

.pdm-choice-modal__panel h3 {
	margin: 0 0 8px;
	font-size: 22px;
}

.pdm-choice-modal__panel p {
	margin: 0;
	line-height: 1.65;
	color: #475467;
}

.pdm-choice-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.pdm-choice-modal__actions .pdm-choice-modal__primary,
.pdm-choice-modal__actions .pdm-choice-modal__secondary {
	flex: 1 1 160px;
}

.pdm-choice-modal__primary,
.pdm-choice-modal__secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 18px;
	border: 1px solid #d0d5dd;
	border-radius: 12px;
	background: #ffffff;
	color: #101828;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.pdm-choice-modal__primary {
	border-color: var(--pdm-accent, #0f766e);
	background: var(--pdm-accent, #0f766e);
	color: #ffffff;
}

.pdm-choice-modal__primary:hover,
.pdm-choice-modal__primary:focus {
	border-color: var(--pdm-accent-strong, #115e59);
	background: var(--pdm-accent-strong, #115e59);
}

body.pdm-has-sticky-footer {
	padding-bottom: calc(var(--pdm-sticky-footer-height, 72px) + 16px);
}

body.pdm-has-countdown-top {
	padding-top: 0;
}

body.pdm-has-countdown-bottom {
	padding-bottom: calc(var(--pdm-sticky-footer-height, 0px) + var(--pdm-countdown-bar-height, 45px) + 24px);
}

.pdm-countdown-bar {
	--pdm-ink: #1f2937;
	position: fixed;
	left: 50%;
	right: auto;
	z-index: 9998;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: max-content;
	max-width: min(760px, calc(100% - 24px));
	min-height: 42px;
	margin: 0 auto;
	padding: 8px 14px;
	border: 1px solid var(--pdm-theme-color, var(--pdm-accent));
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	color: var(--pdm-ink);
	text-align: center;
	opacity: 1;
	transform: translateX(-50%) translateY(0);
	transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.pdm-countdown-bar--top {
	top: 12px;
}

.pdm-countdown-bar--bottom {
	bottom: var(--pdm-countdown-bottom-offset, 12px);
}

.pdm-countdown-bar.is-ended {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateX(-50%) translateY(8px);
}

.pdm-countdown-bar__headline {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--pdm-accent-strong);
}

.pdm-countdown-bar__time {
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0;
	color: var(--pdm-theme-color, var(--pdm-accent));
	white-space: nowrap;
}

.pdm-sticky-footer {
	--pdm-ink: #1f2937;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	width: 100%;
	max-width: none;
	margin: 0 auto;
	padding: 0 0 env(safe-area-inset-bottom);
	background: transparent;
}

.pdm-sticky-footer *,
.pdm-sticky-footer *::before,
.pdm-sticky-footer *::after {
	box-sizing: border-box;
}

.pdm-sticky-footer__buttons {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 100%;
	background: var(--pdm-accent);
	border-top: 1px solid var(--pdm-line);
	box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.12);
}

.pdm-sticky-footer__item {
	position: relative;
}

.pdm-sticky-footer__button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 50px;
	padding: 8px;
	border: 0;
	border-right: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 0;
	background: transparent;
	color: #ffffff;
	font: inherit;
	font-size: clamp(14px, 3.8vw, 18px);
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	cursor: pointer;
	transition: background 140ms ease, opacity 140ms ease;
}

.pdm-sticky-footer__buttons > :last-child .pdm-sticky-footer__button,
.pdm-sticky-footer__buttons > .pdm-sticky-footer__button:last-child {
	border-right: 0;
}

.pdm-sticky-footer__button:hover,
.pdm-sticky-footer__button:focus-visible,
.pdm-sticky-footer__button.is-open,
.pdm-sticky-footer__button--accent {
	background: var(--pdm-accent-strong);
}

.pdm-sticky-footer__button:disabled,
.pdm-sticky-footer__item.is-disabled .pdm-sticky-footer__button {
	opacity: 0.64;
	cursor: default;
}

.pdm-sticky-footer__label {
	display: block;
	max-width: 100%;
	text-wrap: balance;
}

.pdm-sticky-footer__popover {
	position: absolute;
	left: 12px;
	bottom: calc(100% + 12px);
	display: grid;
	gap: 8px;
	width: min(220px, calc(100vw - 24px));
	padding: 12px;
	border: 1px solid var(--pdm-line);
	border-radius: 8px;
	background: var(--pdm-surface);
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

.pdm-sticky-footer__popover.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.pdm-sticky-footer__contact-link {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid var(--pdm-line);
	border-radius: 8px;
	background: var(--pdm-soft);
	color: var(--pdm-ink);
	font-weight: 600;
	text-decoration: none;
}

.pdm-sticky-footer__contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	color: var(--pdm-accent);
}

.pdm-sticky-footer__contact-icon svg {
	width: 20px;
	height: 20px;
}

@media (min-width: 768px) and (max-width: 1024px) {
	.pdm-sticky-footer {
		width: 100%;
		max-width: none;
	}
}

@media (min-width: 1025px) {
	.pdm-sticky-footer {
		width: min(900px, calc(100% - 32px));
		max-width: 900px;
	}
}

@media (max-width: 1024px) {
	.pdm-product-grid {
		--pdm-effective-cols: var(--pdm-col-tablet, 2);
	}
}

@media (max-width: 767px) {
	.pdm-product-grid {
		--pdm-effective-cols: var(--pdm-col-mobile, 1);
	}
}

@media (max-width: 640px) {
	.pdm-countdown-bar {
		left: 50%;
		right: auto;
		width: max-content;
		max-width: calc(100% - 24px);
		min-height: 40px;
		padding: 7px 10px;
		gap: 8px;
	}

	.pdm-countdown-bar__headline {
		font-size: 12px;
	}

	.pdm-countdown-bar__time {
		font-size: 16px;
	}

	.pdm-checkout-section,
	.pdm-checkout-summary {
		padding: 16px;
	}

	.pdm-field-grid,
	.pdm-payment-options {
		grid-template-columns: 1fr;
	}

	.pdm-order-tracking__result-head,
	.pdm-order-tracking__info,
	.pdm-order-timeline {
		grid-template-columns: 1fr;
	}

	.pdm-sticky-footer__button {
		min-height: 47px;
		padding: 7px 6px;
	}

	.pdm-sticky-footer__popover {
		left: 8px;
		bottom: calc(100% + 8px);
		width: min(200px, calc(100vw - 16px));
	}

	.pdm-product-card__body {
		padding: 16px;
	}

	.pdm-checkout textarea[name="address_line"] {
		height: 60px;
		min-height: 50px;
	}
}

@media (max-width: 480px) {
	.pdm-product-card__body {
		padding: 14px;
	}

	.pdm-product-card__image {
		width: 100%;
	}

	.pdm-checkout .pdm-product-card__choice {
		justify-self: center;
		width: min(100%, 190px);
	}
}
