/* ── Currencies block ── */

.curr-block {
	padding-block: clamp(50px, 6vw, 80px);
}

.curr-block__wrap {
	max-width: 1320px;
	margin-inline: auto;
	padding-inline: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* ─── Top white card ─── */

.curr-block__card {}

.curr-block__card-inner {
	padding: 40px;
}

.curr-block__card-inners {
	background-color: #fff;
	border-radius: 6px;
	position: relative;
	z-index: 2;
}

/* ── Header ── */

.curr-block__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: var(--space-m, 16px);
	max-width: 100%;
	margin-inline: auto;
	margin-bottom: clamp(32px, 4vw, 52px);
	padding: 40px 0;
	margin: 0;
}

.curr-block__title {
	margin: 0;
	font-family: var(--font-base, 'Figtree', sans-serif);
	font-size: clamp(30px, 4vw, 60px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--color-black, #191919);
	color: #1A1919;
	text-align: center;

	font-size: 60px;
	font-style: normal;
	font-weight: 500;
	line-height: 64px;
	/* 106.667% */
	letter-spacing: -1.2px;
}

.curr-block .section-desc {
	max-width: 630px;
	margin-left: auto;
	margin-right: auto;
}

.curr-block .section-desc p {
	color: var(--black, #191919);
	text-align: center;
	/* Body S */
	font-family: Figtree;
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 140%;
	opacity: 0.6;
}

/* ─── Search ─── */

.curr-search-wrap {
	border-radius: 0 0 6px 6px;
	background: #FFF;
	padding-bottom: 40px;
}

.curr-search {
	max-width: 520px;
	margin-inline: auto;
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid rgba(25, 32, 35, 0.18);
	border-radius: 8px;
	background: #fff;
	padding: 0 14px;
	transition: border-color 0.2s;
}

.curr-block__visua-deco {
	position: absolute;
	width: calc(100% + 18px);
	height: auto;
	left: -8px;
	bottom: -8px;
	z-index: 0;
}

.curr-search:focus-within {
	border-color: rgba(25, 32, 35, 0.45);
}

.curr-search__icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.curr-search__input {
	flex: 1;
	height: 48px;
	border: none;
	outline: none;
	background: transparent;
	font-size: 15px;
	font-weight: 400;
	color: var(--color-black, #191919);
	font-family: var(--font-base, 'Figtree', sans-serif);
}

.curr-search__input::placeholder {
	color: rgba(25, 32, 35, 0.35);
}

.curr-block__header {
	border-radius: 6px 6px 0 0;
	background: #FFF;
}

.curr-search__clear {
	flex-shrink: 0;
	display: none;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border: none;

	background-color: none !important;
	border: 0px solid #fff !important;
	outline: none !important;
	cursor: pointer;
	padding: 0;
	color: rgba(25, 32, 35, 0.6);
	transition: background 0.15s;
}

.curr-search__clear.is-visible {
	display: flex;
}

@media (hover: hover) {
	.curr-search__clear:hover {
		background: rgba(25, 32, 35, 0.12);
	}
}

/* ─── Results container — height + overflow managed by JS ─── */

.curr-results {
	/* JS sets: height, overflow, transition */
}

.curr-results__inner {
	padding-bottom: clamp(20px, 3vw, 36px);
}

.curr-results__meta {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px 0 16px;
	border-top: 1px solid rgba(25, 32, 35, 0.09);
	margin-top: 10px;
}

.curr-results__count {
	font-size: 13px;
	font-weight: 400;
	color: rgba(25, 32, 35, 0.4);
}

/* ─── Results list — flex-wrap, centered ─── */

.curr-results__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	/* centers any number of cards incl. 1 */
	gap: 10px;
	position: relative;
	top: -20px;
}

/* ─── Currency card — fixed 134 px width ─── */

.curr-card {
	display: none;
	/* JS sets to flex when visible */
	flex: 0 0 134px;
	/* fixed width, no stretch */
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
	padding: 16px 10px 14px;
	border: 1px solid rgba(25, 32, 35, 0.1);
	border-radius: 10px;
	background: #fff;
	/* opacity / transform / filter — set inline by JS */
	border-radius: 6px;
	border: 1px solid var(--gray-100, #E0DEDB);
	background: var(--white, #FFF);
	flex-direction: row;
}

.curr-card__flag {
	width: 27px;
	height: 16px;
	border-radius: 2px;
	object-fit: cover;
	display: block;
	flex-shrink: 0;
}

.curr-card__code {
	color: var(--Dark, #192023);
	opacity: 0.6;
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
	line-height: 16px;
	/* 133.333% */
}

.curr-card__info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	width: 100%;
}

.curr-card__name {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	color: #192023;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--Dark, #192023);

	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 140%;
	/* 22.4px */
}

.curr-card__info {
	text-align: left;
}

.curr-results__list .curr-card__code {
	color: var(--Dark, #192023);
	opacity: 0.6;
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
	line-height: 16px;
	/* 133.333% */

}

.curr-card__code {
	margin: 0;
	font-size: 11px;
	font-weight: 400;
	color: rgba(25, 32, 35, 0.42);
	line-height: 1.3;
}

/* ─── Blue visual section ─── */
.curr-block__card-top {
	padding: 20px;

}

.curr-block__visual {
	position: relative;
	height: clamp(180px, 18vw, 260px);

	height: 290px;

}

.curr-results {
	padding: 0 32px;
}

.curr-search-wrap,
.curr-block__header {
	position: relative;
	z-index: 2;
}

.curr-block__wrap-inner {
	border-radius: 14px;
	background: var(--sky-700, #7AA2CC);
	padding: 8px;
	overflow: hidden;
}

.curr-block__visual {
	background: var(--sky-700, #7AA2CC);
	border: 0px solid #fff !important;
}

/* ── Chips (5 preset positions) ── */

.curr-chip {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px;
	background: #fff;
	border: 1px solid rgba(25, 32, 35, 0.1);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #192023;
	white-space: nowrap;
	box-shadow: 0 2px 12px rgba(25, 32, 35, 0.07);
	z-index: 2;
	border-radius: 6px;
	border: 1px solid var(--black, #191919);
	background: var(--white, #FFF);

	/* dark/dark-s-subtle */
	box-shadow: 0 16px 24px 0 rgba(2, 14, 37, 0.02), 0 8px 16px 0 rgba(2, 14, 37, 0.01), 0 4px 6px 0 rgba(2, 14, 37, 0.01);
}

.curr-chip__flag {
	width: 26px;
	height: 26px;
	aspect-ratio: 1/1;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.curr-chip__code {
	color: var(--black, #191919);
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 100%;
	/* 16px */
	letter-spacing: 0.16px;
}

.curr-chip:nth-child(1) {
	top: 24%;
	left: 14%;
}

.curr-chip:nth-child(2) {
	top: 72%;
	left: 20%;
}

.curr-chip:nth-child(3) {
	top: 52%;
	left: 50%;
	transform: translateX(-50%);
}

.curr-chip:nth-child(4) {
	top: 24%;
	right: 14%;
}

.curr-chip:nth-child(5) {
	top: 72%;
	right: 20%;
}

/* ─── Responsive ─── */
.curr-results__meta {
	position: relative;
}

.curr-results__count {
	background-color: #fff;
	position: relative;
	top: -31px;
	color: var(--gray-500, #807E7C);
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
	line-height: 16px;
	display: block;
	padding: 8px;
}
.curr-block__visua-deco.-desk{
	opacity: 0.6;
}
.curr-block__visua-deco.-mob{
	display: none;
}
@media(max-width:768px) {
	.curr-block__visua-deco.-desk{
	display: none;

}
.curr-block__visua-deco.-mob{
	display: block;
	opacity: 0.6;
}
	.curr-search-wrap {
		padding-bottom: 16px;
	}

	.curr-block__title {
		font-size: 28px;
		font-style: normal;
		font-weight: 500;
		line-height: 120%;
		/* 33.6px */
		letter-spacing: -0.14px;
	}

	.curr-results {
		padding: 0;
	}

	.curr-card {
		padding: 10px 12px;
	}

	.curr-card__name {
		font-size: 16px;
		font-style: normal;
		font-weight: 500;
		line-height: 140%;
	}

	.curr-block .section-desc p {
		font-size: 16px;
		font-style: normal;
		font-weight: 500;
		line-height: 140%;
		color: var(--black, #191919);
		text-align: center;
	}

	.curr-block__card-inners {
		padding-left: 20px;
		padding-right: 20px;
	}
	    .curr-chip:nth-child(3) {
        
    }
	.curr-chip{
		border-radius: 5.053px;
border: 1px solid var(--black, #191919);
background: var(--white, #FFF);
padding: 6px;
box-shadow: 0 13.474px 20.211px 0 rgba(2, 14, 37, 0.02), 0 6.737px 13.474px 0 rgba(2, 14, 37, 0.01), 0 3.368px 5.053px 0 rgba(2, 14, 37, 0.01);
	}
	.curr-chip__flag{
		width: 21.895px;
height: 21.895px;
	}
	.curr-chip__code{
		font-size: 15px;
font-style: normal;
font-weight: 600;
line-height: 100%; /* 15px */
letter-spacing: 0.15px;
	}
	.curr-chip:nth-child(1) {
    top: 12%;
    left: 9%;
}
.curr-chip:nth-child(2) {
    top: 81%;
    left: 11%;
}
.curr-chip:nth-child(3) {
    top: 43%;
    left: 50%;
    transform: translateX(-50%);
}
.curr-chip:nth-child(4) {
    top: 8%;
    right: 8%;
}
.curr-chip:nth-child(5) {
    top: 75%;
    right: 5%;
}
}

@media (max-width: 600px) {

}
/* Tablet: scale the fixed 60px title down for the narrower canvas. */
@media (min-width: 769px) and (max-width: 1024px) {
	.curr-block__title {
		font-size: 46px;
	}
}
