/* WithdrawSafe RO — garanția legală UE (notificarea armonizată + eticheta GARAN).
   Fontul Inter e cerut de anexa II pentru etichetă; e găzduit local (fără cereri
   către terți) și se descarcă doar când o etichetă sau notificarea e afișată. */
@font-face {
	font-family: "WDR Inter";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "WDR Inter";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/inter-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-017F, U+0218-021B;
}
@font-face {
	font-family: "WDR Inter";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/inter-greek.woff2") format("woff2");
	unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
	font-family: "WDR Inter";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/inter-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

.wdr-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Notificarea completă: scalează ca o imagine, fără să se rearanjeze. */
.wdr-gl-notice,
.wdr-garan {
	display: block;
	width: 100%;
	height: auto;
}
.wdr-gl-full {
	max-width: 720px;
	margin: 16px 0;
	border: 1px solid #d9dbe3;
}

.wdr-gl-mark {
	flex: 0 0 auto;
	width: 18px;
	height: 24px;
}

/* Rândul compact de pe pagina de produs. */
.wdr-gl-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 14px 0 6px;
	padding: 10px 12px;
	border: 1px solid #d9dbe3;
	border-radius: 10px;
	background: #f7f8fc;
	font-size: 0.9em;
	line-height: 1.35;
}
.wdr-gl-row__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1 1 auto;
}
.wdr-gl-row__text strong {
	font-weight: 650;
}
.wdr-gl-row__text span {
	color: #4a4f60;
	font-size: 0.92em;
}
.wdr-gl-row__open,
.wdr-gl-row__open:visited {
	flex: 0 0 auto;
	padding: 6px 12px;
	border-radius: 999px;
	background: #4263f2;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}
.wdr-gl-row__open:hover {
	background: #2f4fd8;
	color: #fff;
}
.wdr-gl-row__open:focus-visible,
.wdr-gl-open:focus-visible,
.wdr-garan-bar:focus-visible,
.wdr-gl-dialog__close:focus-visible {
	outline: 3px solid #4263f2;
	outline-offset: 2px;
}

/* Fereastra cu notificarea. Fără JS, se deschide prin #wdr-gl-dialog (:target). */
.wdr-gl-dialog {
	width: min(760px, calc(100vw - 24px));
	max-height: calc(100vh - 24px);
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: #fff;
	color: #111;
	box-shadow: 0 24px 60px rgba(10, 14, 40, 0.35);
	overflow: auto;
}
.wdr-gl-dialog::backdrop {
	background: rgba(10, 14, 40, 0.55);
}
.wdr-gl-dialog:target {
	display: block;
	position: fixed;
	inset: 12px;
	margin: auto;
	z-index: 100000;
}
.wdr-gl-dialog__bar {
	position: sticky;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 14px;
	background: #fff;
	border-bottom: 1px solid #e6e8ef;
}
.wdr-gl-dialog__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 650;
}
.wdr-gl-dialog__close,
.wdr-gl-dialog__close:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: #111;
	font-size: 26px;
	line-height: 1;
	text-decoration: none;
}
.wdr-gl-dialog__close:hover {
	background: #f1f2f6;
}
.wdr-gl-dialog__body {
	padding: 12px;
}

/* Eticheta GARAN imbricată. */
.wdr-garan-nested {
	position: relative;
	display: inline-block;
	margin: 10px 0 6px;
	max-width: 100%;
}
.wdr-garan-bar {
	display: block;
	width: 240px;
	max-width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.wdr-garan-bar__svg {
	display: block;
	width: 100%;
	height: auto;
}
.wdr-garan-pop {
	position: absolute;
	z-index: 50;
	top: calc(100% + 6px);
	left: 0;
	width: 360px;
	max-width: calc(100vw - 32px);
	background: #fff;
	box-shadow: 0 16px 40px rgba(10, 14, 40, 0.25);
}
.wdr-garan-pop[hidden] {
	display: none;
}
.wdr-garan-full {
	max-width: 420px;
	margin: 12px 0;
}

@media (prefers-reduced-motion: no-preference) {
	.wdr-gl-row__open {
		transition: background-color 0.15s ease;
	}
}
