/* Penguen Depo Fiyat Hesaplama — renk ve fontlar Elementor global ayarlarından gelir */
.pdh {
	--pdh-primary: var(--e-global-color-primary, #111C26);
	--pdh-secondary: var(--e-global-color-secondary, #1A2A36);
	--pdh-accent: var(--e-global-color-accent, #EF580E);
	--pdh-accent-2: var(--e-global-color-2d69694, #FF7A3A);
	--pdh-text: var(--e-global-color-text, #2F3A42);
	--pdh-border: var(--e-global-color-a954db2, #E6E6E6);
	--pdh-white: #fff;
	--pdh-font: var(--e-global-typography-primary-font-family, inherit), sans-serif;

	font-family: var(--pdh-font);
	color: var(--pdh-text);
	line-height: 1.5;
	background: linear-gradient(135deg, color-mix(in srgb, var(--pdh-accent) 5%, var(--pdh-white)), var(--pdh-white) 45%);
	border: 1px solid var(--pdh-border);
	border-radius: 28px;
	padding: clamp(18px, 3.5vw, 44px);
	box-sizing: border-box;
}
.pdh.pdh *, .pdh.pdh *::before, .pdh.pdh *::after { box-sizing: border-box; }

/* Tema (Hello Elementor + Elementor kit) buton ve input stillerini sıfırla */
.pdh.pdh button,
.pdh.pdh button:where(:hover, :focus),
.pdh.pdh input {
	font-family: inherit;
	text-transform: none;
	letter-spacing: normal;
	line-height: inherit;
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	background: none;
	border: 0;
	border-radius: 0;
	padding: 0;
	margin: 0;
	box-shadow: none;
}
.pdh.pdh button { cursor: pointer; }
.pdh.pdh button:focus-visible,
.pdh.pdh a:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--pdh-accent) 45%, transparent);
	outline-offset: 2px;
}

.pdh.pdh .pdh-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: clamp(20px, 3vw, 44px);
	align-items: start;
}

/* Sol */
.pdh.pdh .pdh-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--pdh-accent) 8%, var(--pdh-white));
	border: 1px solid color-mix(in srgb, var(--pdh-accent) 25%, transparent);
	color: var(--pdh-accent);
	font-weight: 700;
	font-size: 15px;
	margin-bottom: 18px;
}
.pdh.pdh .pdh-pulse {
	width: 10px; height: 10px; border-radius: 50%;
	background: var(--pdh-accent);
	animation: pdh-pulse 1.8s infinite;
}
@keyframes pdh-pulse {
	0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--pdh-accent) 60%, transparent); }
	70%, 100% { box-shadow: 0 0 0 9px transparent; }
}

.pdh.pdh .pdh-title {
	font-family: var(--pdh-font);
	font-size: clamp(32px, 4.6vw, 64px);
	font-weight: 800;
	line-height: 1.08;
	color: var(--pdh-primary);
	text-transform: none;
	margin: 0 0 16px;
	letter-spacing: -.01em;
}
.pdh.pdh .pdh-accent { color: var(--pdh-accent); }
.pdh.pdh .pdh-lead { font-size: clamp(15px, 1.35vw, 19px); line-height: 1.8; margin: 0 0 32px; opacity: .85; }

.pdh.pdh .pdh-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-top: 12px; }
.pdh.pdh .pdh-type {
	position: relative;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	min-height: 130px;
	padding: 16px 8px;
	background: var(--pdh-white);
	border: 1.5px solid var(--pdh-border);
	border-radius: 16px;
	transition: transform .2s, border-color .2s, box-shadow .2s;
}
.pdh.pdh .pdh-type:hover { border-color: var(--pdh-accent); transform: translateY(-2px); background: var(--pdh-white); }
.pdh.pdh .pdh-type strong { font-size: 28px; font-weight: 800; color: var(--pdh-primary); line-height: 1.1; }
.pdh.pdh .pdh-type small { font-size: 16px; opacity: .75; }
.pdh.pdh .pdh-type.is-active,
.pdh.pdh .pdh-type.is-active:hover {
	background: linear-gradient(135deg, var(--pdh-accent-2), var(--pdh-accent));
	border-color: var(--pdh-accent);
	box-shadow: 0 14px 30px -14px var(--pdh-accent);
}
.pdh.pdh .pdh-type.is-active strong,
.pdh.pdh .pdh-type.is-active small { color: var(--pdh-white); opacity: 1; }
.pdh.pdh .pdh-type-badge {
	position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
	white-space: nowrap;
	font-size: 12px; font-weight: 700;
	padding: 4px 12px; border-radius: 999px;
	background: var(--pdh-white); color: var(--pdh-primary);
	border: 1px solid var(--pdh-border);
}

.pdh.pdh .pdh-form { position: relative; margin: 26px 0 0; }
.pdh.pdh.pdh input.pdh-input {
	display: block; width: 100%;
	height: 64px;
	padding: 0 56px 0 20px;
	font-size: 18px;
	color: var(--pdh-primary);
	background: var(--pdh-white);
	border: 1.5px solid var(--pdh-border);
	border-radius: 10px;
	transition: border-color .2s;
}
.pdh.pdh.pdh input.pdh-input:focus { border-color: var(--pdh-accent); outline: none; }
.pdh.pdh .pdh-unit { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 16px; font-weight: 600; opacity: .55; pointer-events: none; }
.pdh.pdh .pdh-help { font-size: 14px; margin: 12px 0 0; opacity: .8; }

/* Sağ: sonuç kartı */
.pdh.pdh .pdh-card {
	background: var(--pdh-white);
	border: 1px solid var(--pdh-border);
	border-radius: 24px;
	padding: clamp(18px, 2vw, 28px);
	box-shadow: 0 20px 50px -24px rgba(17, 28, 38, .2);
}
.pdh.pdh .pdh-card-title {
	font-family: var(--pdh-font);
	font-size: clamp(24px, 2.3vw, 34px); font-weight: 800; line-height: 1.2;
	color: var(--pdh-primary); text-transform: none;
	margin: 0 0 20px;
}
.pdh.pdh .pdh-vol,
.pdh.pdh .pdh-price {
	display: flex; flex-direction: column; gap: 6px;
	border-radius: 16px; padding: 22px 24px;
}
.pdh.pdh .pdh-vol { border: 1px solid var(--pdh-border); margin-bottom: 16px; }
.pdh.pdh .pdh-vol span { font-size: 16px; font-weight: 600; color: var(--pdh-primary); opacity: .8; }
.pdh.pdh .pdh-vol strong { font-size: clamp(36px, 3.6vw, 50px); font-weight: 800; color: var(--pdh-primary); line-height: 1.1; }
.pdh.pdh .pdh-price {
	position: relative; overflow: hidden;
	background: linear-gradient(135deg, var(--pdh-secondary), var(--pdh-primary));
	color: var(--pdh-white);
}
.pdh.pdh .pdh-price::after {
	content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--pdh-accent) 55%, transparent), transparent 70%);
	pointer-events: none;
}
.pdh.pdh .pdh-price span { font-size: 16px; font-weight: 600; opacity: .85; position: relative; z-index: 1; }
.pdh.pdh .pdh-price strong { font-size: clamp(38px, 4vw, 56px); font-weight: 800; line-height: 1.1; position: relative; z-index: 1; }
.pdh.pdh .pdh-card.has-result .pdh-vol strong,
.pdh.pdh .pdh-card.has-result .pdh-price strong { animation: pdh-in .4s ease; }
@keyframes pdh-in { from { opacity: 0; transform: translateY(6px); } }

.pdh.pdh .pdh-note { font-size: 14px; opacity: .75; margin: 14px 0 16px; }
.pdh.pdh .pdh-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.pdh.pdh .pdh-chips span {
	font-size: 14px; font-weight: 600; color: var(--pdh-primary);
	padding: 9px 14px; border: 1px solid var(--pdh-border); border-radius: 999px;
}
.pdh.pdh .pdh-btn,
.pdh.pdh .pdh-btn:hover {
	display: block; width: 100%;
	padding: 18px; border-radius: 10px;
	background: linear-gradient(135deg, var(--pdh-accent-2), var(--pdh-accent));
	color: var(--pdh-white);
	font-weight: 700; font-size: 18px; text-align: center; text-decoration: none;
	transition: transform .2s;
}
.pdh.pdh .pdh-btn:hover { transform: translateY(-2px); }

@media (max-width: 1024px) {
	.pdh.pdh .pdh-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.pdh { border-radius: 20px; }
	.pdh.pdh .pdh-types { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
	.pdh.pdh .pdh-type { min-height: 104px; }
	.pdh.pdh.pdh input.pdh-input { height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
	.pdh.pdh *, .pdh.pdh *::before, .pdh.pdh *::after { animation: none !important; transition: none !important; }
}
