.tpdl-app {
	--tpdl-ink: #173f32;
	--tpdl-muted: #526b62;
	--tpdl-green: #2f855a;
	--tpdl-green-dark: #216744;
	--tpdl-green-soft: #eaf7ef;
	--tpdl-lime: #edf626;
	--tpdl-border: #d8e7de;
	--tpdl-surface: #ffffff;
	--tpdl-canvas: #f5faf7;
	--tpdl-danger: #a83b35;
	--tpdl-warning: #8a5b00;
	--tpdl-shadow: 0 18px 48px rgba(23, 63, 50, 0.1);
	box-sizing: border-box;
	width: min(100%, 1360px);
	margin: 0 auto;
	padding: clamp(18px, 3vw, 42px);
	color: var(--tpdl-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.55;
}

.tpdl-app *,
.tpdl-app *::before,
.tpdl-app *::after {
	box-sizing: border-box;
}

.tpdl-app [hidden] {
	display: none !important;
}

.tpdl-app button,
.tpdl-app input,
.tpdl-app select {
	font: inherit;
}

.tpdl-app button,
.tpdl-app a {
	-webkit-tap-highlight-color: transparent;
}

.tpdl-app button:focus-visible,
.tpdl-app a:focus-visible,
.tpdl-app input:focus-visible,
.tpdl-app select:focus-visible,
.tpdl-app [tabindex="-1"]:focus-visible {
	outline: 3px solid rgba(47, 133, 90, 0.34);
	outline-offset: 3px;
}

.tpdl-app h1,
.tpdl-app h2,
.tpdl-app h3,
.tpdl-app h4,
.tpdl-app p {
	margin-top: 0;
}

.tpdl-app h1,
.tpdl-app h2,
.tpdl-app h3,
.tpdl-app h4 {
	color: var(--tpdl-ink);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.tpdl-app h1 {
	max-width: 760px;
	margin-bottom: 14px;
	font-size: clamp(34px, 5vw, 62px);
}

.tpdl-app h2 {
	margin-bottom: 12px;
	font-size: clamp(24px, 3vw, 34px);
}

.tpdl-app h3 {
	margin-bottom: 4px;
	font-size: clamp(21px, 2.4vw, 28px);
}

.tpdl-app h4 {
	margin-bottom: 9px;
	font-size: 18px;
}

.tpdl-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 28px;
	align-items: center;
	margin-bottom: 28px;
	padding: clamp(28px, 5vw, 58px);
	border: 1px solid var(--tpdl-border);
	border-radius: 28px;
	background:
		radial-gradient(circle at 87% 22%, rgba(237, 246, 38, 0.5), transparent 22%),
		linear-gradient(135deg, #f7fcf9 0%, #e7f5ec 100%);
	overflow: hidden;
}

.tpdl-eyebrow {
	margin-bottom: 9px;
	color: var(--tpdl-green-dark);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.11em;
	line-height: 1.4;
	text-transform: uppercase;
}

.tpdl-lead {
	max-width: 780px;
	margin-bottom: 0;
	color: var(--tpdl-muted);
	font-size: clamp(17px, 2vw, 20px);
}

.tpdl-price-options {
	display: grid;
	gap: 10px;
}

.tpdl-price-pill {
	display: flex;
	min-width: 176px;
	padding: 14px 18px;
	border: 1px solid rgba(23, 63, 50, 0.13);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.86);
	box-shadow: 0 10px 30px rgba(23, 63, 50, 0.08);
	flex-direction: column;
	text-align: center;
}

.tpdl-price-pill.is-express {
	border-color: rgba(47, 133, 90, 0.38);
	background: rgba(234, 247, 239, 0.94);
}

.tpdl-price-pill span {
	color: var(--tpdl-muted);
	font-size: 13px;
	font-weight: 700;
}

.tpdl-price-pill strong {
	color: var(--tpdl-ink);
	font-size: 26px;
	letter-spacing: -0.04em;
}

.tpdl-price-pill .tpdl-price-line {
	display: flex;
	gap: 8px;
	align-items: baseline;
	justify-content: center;
}

.tpdl-price-arrow {
	color: var(--tpdl-green-dark);
	font-size: 15px;
	font-weight: 850;
}

.tpdl-price-pill del {
	color: var(--tpdl-muted);
	font-size: 15px;
	font-weight: 750;
}

.tpdl-price-pill small {
	display: block;
	margin-top: 2px;
	color: var(--tpdl-green-dark);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tpdl-price-pill .tpdl-express-surcharge {
	margin-top: 8px;
	padding-top: 7px;
	border-top: 1px solid rgba(23, 63, 50, 0.12);
	color: var(--tpdl-ink);
	letter-spacing: 0;
	text-transform: none;
}

.tpdl-filter-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px 12px;
	align-items: end;
	margin-bottom: 22px;
}

.tpdl-filter-wrap label {
	grid-column: 1 / -1;
	color: var(--tpdl-ink);
	font-size: 20px;
	font-weight: 800;
}

.tpdl-search-controls {
	display: flex;
	gap: 8px;
}

.tpdl-search-controls .tpdl-filter {
	min-width: 0;
	flex: 1;
}

.tpdl-app .tpdl-search-submit {
	min-height: 54px;
	padding: 12px 22px;
	border: 2px solid var(--tpdl-green-dark);
	border-radius: 14px;
	background: var(--tpdl-green-dark);
	color: #fff;
	font-weight: 750;
	cursor: pointer;
	touch-action: manipulation;
}

.tpdl-search-help {
	margin-bottom: 0;
	font-size: 14px;
	color: var(--tpdl-muted);
}

.tpdl-filter-clear {
	justify-self: start;
}

.tpdl-category-picker {
	display: none;
	margin-bottom: 12px;
}

.tpdl-category-picker label {
	display: block;
	margin-bottom: 6px;
	font-weight: 750;
}

.tpdl-category-select {
	width: 100%;
	min-height: 48px;
	padding: 10px;
	border: 2px solid var(--tpdl-green);
	border-radius: 12px;
	background: #fff;
	color: var(--tpdl-ink);
}

.tpdl-filter-feedback {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 18px;
}

.tpdl-filter-summary {
	margin-bottom: 0;
	font-size: 14px;
	color: var(--tpdl-ink);
	font-weight: 600;
}

.tpdl-filter {
	width: 100%;
	min-height: 54px;
	padding: 13px 17px;
	border: 1px solid var(--tpdl-border);
	border-radius: 14px;
	background: var(--tpdl-surface);
	color: var(--tpdl-ink);
	box-shadow: 0 4px 18px rgba(23, 63, 50, 0.05);
	appearance: none;
}

.tpdl-filter::placeholder {
	color: #7d9189;
}

.tpdl-filter:focus {
	border-color: var(--tpdl-green);
}

.tpdl-filter-clear,
.tpdl-secondary-button,
.tpdl-detail-close,
.tpdl-back-button {
	min-height: 44px;
	padding: 9px 15px;
	border: 1px solid var(--tpdl-border);
	border-radius: 12px;
	background: var(--tpdl-surface);
	color: var(--tpdl-green-dark);
	font-weight: 800;
	cursor: pointer;
	appearance: none;
}

.tpdl-filter-clear:hover,
.tpdl-secondary-button:hover,
.tpdl-detail-close:hover,
.tpdl-back-button:hover {
	border-color: var(--tpdl-green);
	background: var(--tpdl-green-soft);
}

.tpdl-category-filters {
	position: relative;
	z-index: 5;
	display: flex;
	gap: 8px;
	margin: -5px 0 24px;
	padding: 3px;
	flex-wrap: wrap;
	touch-action: manipulation;
	isolation: isolate;
}

.tpdl-app .tpdl-category-button {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	min-height: 44px;
	padding: 7px 13px;
	border: 1px solid #76a78b;
	border-radius: 999px;
	background: var(--tpdl-green-soft);
	color: var(--tpdl-green-dark);
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
	cursor: pointer;
	pointer-events: auto;
	touch-action: manipulation;
	-webkit-user-select: none;
	user-select: none;
	appearance: none;
}

.tpdl-app .tpdl-category-button:hover {
	border-color: #9bcab0;
	color: var(--tpdl-green-dark);
}

.tpdl-app .tpdl-category-button.is-active {
	border-color: var(--tpdl-green);
	background: var(--tpdl-green);
	color: #ffffff;
}

.tpdl-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.75fr) minmax(310px, 0.75fr);
	gap: clamp(20px, 3vw, 34px);
	align-items: start;
}

.tpdl-condition-columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.tpdl-condition-column {
	display: flex;
	min-width: 0;
	gap: 10px;
	flex-direction: column;
}

.tpdl-condition-card {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	width: 100%;
	min-height: 64px;
	padding: 10px 12px;
	border: 1px solid var(--tpdl-border);
	border-radius: 15px;
	background: var(--tpdl-surface);
	color: var(--tpdl-ink);
	text-align: left;
	box-shadow: 0 3px 13px rgba(23, 63, 50, 0.045);
	cursor: pointer;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
	appearance: none;
}

.tpdl-condition-card:hover {
	border-color: #9bcab0;
	box-shadow: 0 8px 22px rgba(23, 63, 50, 0.09);
	transform: translateY(-1px);
}

.tpdl-condition-card.is-selected {
	border-color: var(--tpdl-green);
	background: var(--tpdl-green-soft);
	box-shadow: 0 0 0 2px rgba(47, 133, 90, 0.14);
}

.tpdl-card-mark {
	display: grid;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: var(--tpdl-green-soft);
	color: var(--tpdl-green-dark);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.025em;
	place-items: center;
}

.tpdl-condition-card.is-selected .tpdl-card-mark {
	background: var(--tpdl-green);
	color: #ffffff;
}

.tpdl-card-label {
	min-width: 0;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.3;
}

.tpdl-card-arrow,
.tpdl-product-arrow {
	color: var(--tpdl-green);
	font-size: 25px;
	font-weight: 500;
	line-height: 1;
}

.tpdl-empty-filter {
	margin: 18px 0 0;
	padding: 18px;
	border-radius: 14px;
	background: var(--tpdl-canvas);
	color: var(--tpdl-muted);
}

.tpdl-side-panel {
	position: sticky;
	top: 24px;
	padding: clamp(22px, 3vw, 30px);
	border: 1px solid var(--tpdl-border);
	border-radius: 22px;
	background: var(--tpdl-surface);
	box-shadow: var(--tpdl-shadow);
}

.tpdl-side-panel.is-urgent {
	border-color: #db8b86;
	box-shadow: 0 18px 48px rgba(168, 59, 53, 0.14);
}

.tpdl-side-panel::before {
	display: block;
	width: 48px;
	height: 5px;
	margin-bottom: 22px;
	border-radius: 999px;
	background: var(--tpdl-lime);
	content: "";
}

.tpdl-condition-description {
	margin-bottom: 19px;
	color: var(--tpdl-muted);
}

.tpdl-safety-note {
	display: grid;
	gap: 3px;
	margin-bottom: 18px;
	padding: 14px;
	border-left: 4px solid var(--tpdl-lime);
	border-radius: 8px 12px 12px 8px;
	background: #fbfddf;
	font-size: 13px;
}

.tpdl-safety-note span {
	color: var(--tpdl-muted);
}

.tpdl-urgent-panel {
	display: grid;
	gap: 7px;
	margin-bottom: 18px;
	padding: 16px;
	border: 1px solid #e3a19d;
	border-radius: 13px;
	background: #fff0ef;
	color: #792822;
}

.tpdl-urgent-panel > strong {
	font-size: 17px;
}

.tpdl-urgent-panel > span {
	font-size: 13px;
}

.tpdl-urgent-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 5px;
}

.tpdl-urgent-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border-radius: 10px;
	background: var(--tpdl-danger);
	color: #ffffff;
	font-weight: 850;
	text-decoration: none;
}

.tpdl-consult-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	padding: 12px 18px;
	border: 1px solid var(--tpdl-green-dark);
	border-radius: 13px;
	background: var(--tpdl-green);
	color: #ffffff;
	font-weight: 850;
	line-height: 1.25;
	text-align: center;
	box-shadow: 0 9px 22px rgba(47, 133, 90, 0.2);
	cursor: pointer;
	transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
	appearance: none;
}

.tpdl-consult-button:hover {
	background: var(--tpdl-green-dark);
	box-shadow: 0 11px 25px rgba(47, 133, 90, 0.26);
	transform: translateY(-1px);
}

.tpdl-consult-caption {
	margin: 10px 0 0;
	color: var(--tpdl-muted);
	font-size: 12px;
	text-align: center;
}

.tpdl-route-caption {
	margin: 10px 0 0;
	color: var(--tpdl-green-dark);
	font-size: 13px;
	font-weight: 750;
	text-align: center;
}

.tpdl-obesity-options {
	display: grid;
	gap: 10px;
}

.tpdl-service-option {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2px 12px;
	align-items: center;
	padding: 14px 15px;
	border: 1px solid var(--tpdl-green);
	border-radius: 13px;
	background: var(--tpdl-green-soft);
	color: var(--tpdl-ink);
	text-decoration: none;
}

.tpdl-service-option:hover {
	border-color: var(--tpdl-green-dark);
	background: #ddf2e5;
}

.tpdl-service-option span {
	font-size: 13px;
	font-weight: 800;
}

.tpdl-service-option strong {
	grid-row: 1 / span 2;
	grid-column: 2;
	font-size: 20px;
}

.tpdl-service-option small {
	color: var(--tpdl-green-dark);
	font-size: 10px;
	font-weight: 750;
}

.tpdl-service-option small + small {
	grid-column: 1 / -1;
	margin-top: 4px;
}

.tpdl-status {
	min-height: 26px;
	margin: 18px 0 6px;
	color: var(--tpdl-muted);
	font-size: 14px;
}

.tpdl-products {
	margin-top: 26px;
	padding: clamp(22px, 4vw, 38px);
	border: 1px solid var(--tpdl-border);
	border-radius: 24px;
	background: var(--tpdl-canvas);
}

.tpdl-products-head {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	justify-content: space-between;
}

.tpdl-products-count {
	flex: 0 0 auto;
	padding: 7px 11px;
	border-radius: 999px;
	background: var(--tpdl-green-soft);
	color: var(--tpdl-green-dark);
	font-size: 13px;
	font-weight: 800;
}

.tpdl-product-tabs {
	display: flex;
	gap: 8px;
	margin-top: 22px;
	padding: 5px;
	border: 1px solid var(--tpdl-border);
	border-radius: 15px;
	background: #edf5f0;
	flex-wrap: wrap;
}

.tpdl-product-tab {
	flex: 1 1 250px;
	min-height: 46px;
	padding: 10px 15px;
	border: 1px solid transparent;
	border-radius: 11px;
	background: transparent;
	color: var(--tpdl-muted);
	font-weight: 800;
	text-align: center;
	cursor: pointer;
	appearance: none;
}

.tpdl-product-tab:hover {
	color: var(--tpdl-green-dark);
}

.tpdl-product-tab.is-active {
	border-color: var(--tpdl-border);
	background: var(--tpdl-surface);
	color: var(--tpdl-green-dark);
	box-shadow: 0 5px 16px rgba(23, 63, 50, 0.08);
}

.tpdl-products-panel {
	padding-top: 17px;
}

.tpdl-products-notice,
.tpdl-coverage-note {
	color: var(--tpdl-muted);
	font-size: 14px;
}

.tpdl-product-grid {
	margin-top: 21px;
}

.tpdl-product-group + .tpdl-product-group {
	margin-top: 30px;
	padding-top: 28px;
	border-top: 1px solid var(--tpdl-border);
}

.tpdl-product-group-heading {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

.tpdl-product-group-title {
	margin: 0;
	font-size: clamp(19px, 2vw, 23px);
}

.tpdl-product-group--prescription .tpdl-product-group-title {
	color: var(--tpdl-ink);
}

.tpdl-product-group-count {
	display: inline-flex;
	padding: 6px 10px;
	border-radius: 999px;
	background: #e8edf8;
	color: #304d78;
	font-size: 12px;
	font-weight: 800;
}

.tpdl-product-group--otc .tpdl-product-group-count {
	background: var(--tpdl-green-soft);
	color: var(--tpdl-green-dark);
}

.tpdl-product-group-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 13px;
	margin-top: 13px;
}

.tpdl-product-card {
	display: flex;
	min-width: 0;
	min-height: 180px;
	padding: 18px;
	border: 1px solid var(--tpdl-border);
	border-radius: 17px;
	background: var(--tpdl-surface);
	color: var(--tpdl-ink);
	text-align: left;
	box-shadow: 0 5px 18px rgba(23, 63, 50, 0.06);
	cursor: pointer;
	flex-direction: column;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
	appearance: none;
}

.tpdl-product-card[hidden] {
	display: none;
}

.tpdl-product-card:hover,
.tpdl-product-card.is-selected {
	border-color: var(--tpdl-green);
	box-shadow: 0 10px 27px rgba(23, 63, 50, 0.12);
	transform: translateY(-2px);
}

.tpdl-product-card.is-selected {
	box-shadow: 0 0 0 2px rgba(47, 133, 90, 0.13), 0 10px 27px rgba(23, 63, 50, 0.1);
}

.tpdl-product-card-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	align-items: start;
	margin-bottom: 7px;
}

.tpdl-product-card-head strong {
	overflow-wrap: anywhere;
	font-size: 17px;
	line-height: 1.3;
}

.tpdl-product-substance,
.tpdl-product-form {
	display: block;
	color: var(--tpdl-muted);
	font-size: 13px;
	line-height: 1.4;
}

.tpdl-product-form {
	margin-top: 3px;
}

.tpdl-product-badges {
	display: flex;
	gap: 6px;
	margin-top: 13px;
	flex-wrap: wrap;
}

.tpdl-badge {
	display: inline-flex;
	padding: 4px 7px;
	border-radius: 7px;
	background: var(--tpdl-green-soft);
	color: var(--tpdl-green-dark);
	font-size: 10px;
	font-weight: 850;
	line-height: 1.3;
}

.tpdl-badge.is-warning {
	background: #fff2c9;
	color: var(--tpdl-warning);
}

.tpdl-badge.is-danger {
	background: #fde9e8;
	color: var(--tpdl-danger);
}

.tpdl-product-excerpt {
	display: -webkit-box;
	margin-top: 13px;
	overflow: hidden;
	color: var(--tpdl-muted);
	font-size: 12px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.tpdl-load-more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 18px;
}

.tpdl-load-more {
	width: min(100%, 360px);
	min-height: 48px;
	touch-action: manipulation;
}

.tpdl-products-empty,
.tpdl-products-error {
	display: grid;
	grid-column: 1 / -1;
	gap: 9px;
	padding: clamp(20px, 4vw, 32px);
	border: 1px dashed #b8cec1;
	border-radius: 16px;
	background: var(--tpdl-surface);
	text-align: center;
	place-items: center;
}

.tpdl-products-empty p,
.tpdl-products-error p {
	max-width: 660px;
	margin-bottom: 7px;
	color: var(--tpdl-muted);
}

.tpdl-products-empty .tpdl-consult-button {
	width: auto;
}

.tpdl-coverage-note {
	grid-column: 1 / -1;
	margin: 2px 0 0;
}

.tpdl-discussion-options {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--tpdl-border);
}

.tpdl-discussion-head h3 {
	margin-bottom: 9px;
}

.tpdl-discussion-notice {
	max-width: 780px;
	color: var(--tpdl-muted);
	font-size: 14px;
}

.tpdl-discussion-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px;
	margin-top: 17px;
}

.tpdl-clinical-head {
	max-width: 860px;
}

.tpdl-clinical-head h3 {
	margin-bottom: 9px;
}

.tpdl-clinical-notice {
	color: var(--tpdl-muted);
	font-size: 14px;
}

.tpdl-clinical-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px;
	margin-top: 17px;
}

.tpdl-clinical-card {
	border-color: #b8d6c4;
	background: #f3faf6;
}

.tpdl-badge.is-clinical {
	align-self: flex-start;
	background: #dcefe3;
	color: var(--tpdl-green-dark);
}

.tpdl-discussion-card {
	display: flex;
	min-width: 0;
	padding: 19px;
	border: 1px solid #ead99a;
	border-radius: 16px;
	background: #fffaf0;
	flex-direction: column;
}

.tpdl-discussion-card h4 {
	margin-top: 11px;
}

.tpdl-discussion-card p {
	margin-bottom: 18px;
	color: var(--tpdl-muted);
	font-size: 14px;
}

.tpdl-discussion-card .tpdl-secondary-button {
	align-self: flex-start;
	margin-top: auto;
}

.tpdl-badge.is-off-label {
	align-self: flex-start;
	background: #fff0ba;
	color: #684700;
}

.tpdl-manual-panel {
	padding-top: 20px;
}

.tpdl-manual-card {
	padding: clamp(20px, 4vw, 32px);
	border: 1px solid #b6d5c2;
	border-radius: 18px;
	background: linear-gradient(145deg, #ffffff 0%, #f0f8f3 100%);
}

.tpdl-manual-card > div:first-child p:last-child {
	max-width: 780px;
	margin-bottom: 20px;
	color: var(--tpdl-muted);
}

.tpdl-manual-card > label {
	display: block;
	margin-bottom: 7px;
	font-size: 13px;
	font-weight: 800;
}

.tpdl-manual-controls {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) auto;
	gap: 10px;
}

.tpdl-manual-medicine {
	width: 100%;
	min-height: 52px;
	padding: 12px 15px;
	border: 1px solid var(--tpdl-border);
	border-radius: 12px;
	background: var(--tpdl-surface);
	color: var(--tpdl-ink);
	appearance: none;
}

.tpdl-manual-medicine:focus {
	border-color: var(--tpdl-green);
}

.tpdl-manual-submit {
	width: auto;
	min-width: 240px;
}

.tpdl-consult-button:disabled {
	background: #77978a;
	box-shadow: none;
	cursor: wait;
	transform: none;
}

.tpdl-manual-status {
	min-height: 23px;
	margin: 11px 0 0;
	font-size: 13px;
	font-weight: 750;
}

.tpdl-manual-status.is-error {
	color: var(--tpdl-danger);
}

.tpdl-manual-status.is-success {
	color: var(--tpdl-green-dark);
}

.tpdl-manual-note {
	max-width: 860px;
	margin: 7px 0 15px;
	color: var(--tpdl-muted);
	font-size: 12px;
}

.tpdl-medicine-detail {
	margin-top: 18px;
	padding: clamp(21px, 4vw, 34px);
	border: 1px solid #a8cbb6;
	border-radius: 20px;
	background: var(--tpdl-surface);
	box-shadow: var(--tpdl-shadow);
}

.tpdl-medicine-detail-head,
.tpdl-form-head {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	justify-content: space-between;
}

.tpdl-medicine-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 22px 0;
}

.tpdl-medicine-facts div {
	padding: 13px;
	border-radius: 12px;
	background: var(--tpdl-canvas);
}

.tpdl-medicine-facts dt {
	margin-bottom: 3px;
	color: var(--tpdl-muted);
	font-size: 11px;
	font-weight: 750;
	text-transform: uppercase;
}

.tpdl-medicine-facts dd {
	margin: 0;
	color: var(--tpdl-ink);
	font-size: 14px;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.tpdl-indication-summary {
	padding-top: 19px;
	border-top: 1px solid var(--tpdl-border);
}

.tpdl-indication-summary p {
	margin-bottom: 0;
	color: var(--tpdl-muted);
}

.tpdl-medicine-warning,
.tpdl-dependency-error {
	margin-top: 20px;
	padding: 16px;
	border: 1px solid #efd48a;
	border-radius: 13px;
	background: #fff8df;
	color: #634500;
}

.tpdl-medicine-warning p,
.tpdl-dependency-error p {
	margin: 5px 0 0;
}

.tpdl-medicine-actions {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-top: 22px;
	flex-wrap: wrap;
}

.tpdl-medicine-actions .tpdl-consult-button {
	width: auto;
}

.tpdl-source-link {
	color: var(--tpdl-green-dark);
	font-size: 14px;
	font-weight: 800;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.tpdl-loading {
	margin: 0;
	color: var(--tpdl-muted);
}

.tpdl-form {
	padding: clamp(22px, 4vw, 40px);
	border: 1px solid var(--tpdl-border);
	border-radius: 24px;
	background: var(--tpdl-surface);
	box-shadow: var(--tpdl-shadow);
}

.tpdl-form-context {
	margin-bottom: 22px;
	color: var(--tpdl-muted);
}

.tpdl-form .wpforms-container {
	display: block !important;
	margin: 0 !important;
}

.tpdl-form .wpforms-field input:not([type="checkbox"]):not([type="radio"]),
.tpdl-form .wpforms-field textarea,
.tpdl-form .wpforms-field select {
	min-height: 48px;
	border-color: var(--tpdl-border) !important;
	border-radius: 10px !important;
}

.tpdl-form .wpforms-field textarea {
	min-height: 120px;
}

.tpdl-form .wpforms-submit-container button,
.tpdl-form button[type="submit"] {
	min-height: 52px !important;
	padding: 12px 22px !important;
	border: 1px solid var(--tpdl-green-dark) !important;
	border-radius: 12px !important;
	background: var(--tpdl-green) !important;
	color: #ffffff !important;
	font-weight: 850 !important;
}

.tpdl-legal {
	display: flex;
	gap: 12px 24px;
	align-items: center;
	justify-content: space-between;
	margin-top: 22px;
	padding: 17px 2px 0;
	border-top: 1px solid var(--tpdl-border);
	color: var(--tpdl-muted);
	font-size: 12px;
	flex-wrap: wrap;
}

.tpdl-legal p {
	margin-bottom: 0;
}

.tpdl-legal a {
	color: var(--tpdl-green-dark);
	font-weight: 750;
	text-underline-offset: 2px;
}

@media (max-width: 1080px) {
	.tpdl-condition-columns {
		gap: 9px;
	}

	.tpdl-card-mark {
		display: none;
	}

	.tpdl-condition-card {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.tpdl-product-grid {
		margin-top: 21px;
	}

	.tpdl-product-group-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.tpdl-hero {
		grid-template-columns: 1fr;
	}

	.tpdl-price-options {
		width: fit-content;
	}

	.tpdl-price-pill {
		width: fit-content;
		min-width: 164px;
	}

	.tpdl-layout {
		grid-template-columns: 1fr;
	}

	.tpdl-side-panel {
		position: static;
	}

	.tpdl-card-mark {
		display: grid;
	}

	.tpdl-condition-card {
		grid-template-columns: 38px minmax(0, 1fr) auto;
	}

	.tpdl-medicine-facts {
		grid-template-columns: 1fr;
	}

	.tpdl-manual-controls {
		grid-template-columns: 1fr;
	}

	.tpdl-manual-submit {
		width: 100%;
	}
}

@media (max-width: 660px) {
	.tpdl-category-picker {
		display: block;
	}

	.tpdl-app .tpdl-category-button:not([data-category-filter="popularne"]):not([data-category-filter="wszystkie"]):not([data-category-filter="zwolnienie"]) {
		display: none;
	}

	.tpdl-app .tpdl-category-button {
		flex: 1;
		padding: 8px;
		font-size: 13px;
	}

	.tpdl-hero {
		padding: 20px;
		gap: 16px;
	}

	.tpdl-app h1 {
		font-size: 32px;
	}

	.tpdl-price-options {
		width: 100%;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tpdl-price-pill {
		width: 100%;
		min-width: 0;
		padding: 10px 6px;
	}

	.tpdl-price-pill .tpdl-price-line {
		flex-wrap: wrap;
		gap: 2px 4px;
	}
	.tpdl-app {
		padding: 14px;
	}

	.tpdl-hero,
	.tpdl-products,
	.tpdl-form {
		border-radius: 19px;
	}

	.tpdl-condition-columns,
	.tpdl-product-group-grid,
	.tpdl-discussion-grid,
	.tpdl-clinical-grid {
		grid-template-columns: 1fr;
	}

	.tpdl-product-tab {
		flex-basis: 100%;
	}

	.tpdl-category-filters {
		margin: 0 0 12px;
		padding: 0;
		flex-wrap: wrap;
	}

	.tpdl-condition-column {
		gap: 9px;
	}

	.tpdl-products-head,
	.tpdl-medicine-detail-head,
	.tpdl-form-head {
		align-items: stretch;
		flex-direction: column;
	}

	.tpdl-products-count {
		align-self: flex-start;
	}

	.tpdl-medicine-actions,
	.tpdl-medicine-actions .tpdl-consult-button,
	.tpdl-source-link,
	.tpdl-back-button {
		width: 100%;
	}

	.tpdl-source-link {
		padding: 10px 0;
		text-align: center;
	}

	.tpdl-legal {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tpdl-app *,
	.tpdl-app *::before,
	.tpdl-app *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
