/* ------------------------------------------------------------ *\
	Block: Payment Methods & FAQ
\* ------------------------------------------------------------ */
.block-payment-methods {
	background-color: #f0f0f0;
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding: 60px 0;
	display: flex;
	flex-direction: column;
	align-items: center;

	.block__inner {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 30px;
		max-width: 980px;
		margin: 0 auto;

		@media (max-width: 1023px) {
			padding: 0;
		}

		@media (max-width: 767px) {
			padding: 0 20px;
		}
	}

	.block__text {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 5px;
	}

	.block__heading {
		font-family: Urbanist, sans-serif;
		font-size: 36px;
		font-weight: 800;
		line-height: 48px;
		letter-spacing: 0.18px;
		text-align: center;
		margin: 0;
		color: #1f1f1f;
	}

	.block__content {
		letter-spacing: 0.06px;

		p {
			&:last-child {
				margin-bottom: 0;
			}
		}
	}

	.block__widget {
		width: 100%;
	}

	.umbrella-widget {
		margin: 0;
		.widget__inner {
			background-color: transparent;

			.widget__cols {
				background-color: #fff;
				border-radius: 15px;
			}

			.widget__label {
				display: none;
			}

			.widget__show-more {
				justify-content: center;

				.show-more__wrapper {
					background-color: transparent;
					border: none;
					box-shadow: none;

					.arrow {
						position: relative;
						top: -2px;
					}
				}
			}
		}
	}

	.block__card {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
		max-width: 894px;
		min-height: 127px;
	}

	.block__logos {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(87px, 1fr));
		gap: 20px;
		background: #fff;
		border-right: 1px solid rgba(244, 245, 248, 0.2);
		border-bottom: 1px solid rgba(244, 245, 248, 0.2);
		border-left: 1px solid rgba(244, 245, 248, 0.2);
		border-radius: 15px;
		padding: 20px;
		width: 100%;
		box-shadow: 0 4px 2px rgba(0, 0, 0, 0.05);
		overflow: hidden;
		max-height: 95px;
		transition: max-height 0.25s ease;
	}

	.block__logo {
		width: 87px;
		height: 54px;
		margin: 0 auto;

		img {
			width: 100%;
			height: 100%;
			object-fit: contain;
		}
	}

	.block__toggle {
		background: transparent;
		border: none;
		cursor: pointer;
		font-family: Inter, sans-serif;
		font-size: 12px;
		font-weight: 400;
		line-height: 18px;
		color: #1f1f1f;
		display: inline-flex;
		align-items: center;
		gap: 5px;
		padding: 7px 12px;
		border-bottom-left-radius: 10px;
		border-bottom-right-radius: 10px;
		filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.1));
		transition: color 0.3s;

		&:hover {
			color: #0c3313;
		}

		svg {
			width: 9px;
			height: 6px;
		}
	}

	.block__toggle--hidden {
		display: none;
	}

	.block__toggle-less {
		display: none;
	}

	.block__faq {
		width: 100%;
	}

	.block__faq-heading {
		font-family: Urbanist, sans-serif;
		font-size: 32px;
		font-weight: 800;
		line-height: 42px;
		letter-spacing: 0.16px;
		text-align: center;
		margin: 0 0 30px;
		color: #1f1f1f;
	}

	.block__faq-item {
		border-top: 1px solid #1f1f1f;

		&:last-child {
			border-bottom: 1px solid #1f1f1f;
		}

		&.is-open .block__faq-chevron {
			transform: rotate(180deg);
		}
	}

	.block__faq-question {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 20px;
		padding: 20px 0;
		background: none;
		border: none;
		cursor: pointer;
		text-align: left;
		font-family: Urbanist, sans-serif;
		font-size: 24px;
		font-weight: 800;
		line-height: 34px;
		letter-spacing: 0.12px;
		color: #1f1f1f;
		transition: color 0.3s;

		&:hover {
			color: #0c3313;
		}

		&:focus-visible {
			outline: 2px solid #0c3313;
			outline-offset: 2px;
		}
	}

	.block__faq-chevron {
		flex-shrink: 0;
		width: 21px;
		height: 13px;
		transition: transform 0.3s;
		color: #1f1f1f;
	}

	.block__faq-answer {
		padding: 0 0 20px;
		font-family: Inter, sans-serif;
		font-size: 16px;
		line-height: 24px;
		color: #1f1f1f;

		&[hidden] {
			display: none;
		}

		p {
			margin: 0 0 12px;

			&:last-child {
				margin-bottom: 0;
			}
		}
	}

	&.block-payment-methods--expanded {
		.block__logos {
			max-height: 1000px;
		}

		.block__toggle-more {
			display: none;
		}

		.block__toggle-less {
			display: inline-flex;
			align-items: center;
			gap: 5px;
		}
	}

	/* ------------------------------------------------------------ *\
		Tablet (<= 1023px) — Figma "Mobile + Tablet" styles
	\* ------------------------------------------------------------ */
	@media (max-width: 1023px) {
		padding: 30px 40px;

		.block__text {
			gap: 10px;
		}

		.block__heading {
			font-size: 24px;
			line-height: 34px;
			letter-spacing: 0.12px;
		}

		.block__logos {
			border-radius: 20px;
			box-shadow: 0 2px 5px rgba(31, 31, 31, 0.16);
		}

		.block__toggle {
			font-weight: 600;
		}

		.block__faq-heading {
			font-size: 22px;
			line-height: 32px;
			letter-spacing: 0.11px;
			text-align: left;
			margin: 0 0 20px;
		}

		.block__faq-item {
			border-top-width: 2px;

			&:last-child {
				border-bottom-width: 2px;
			}
		}

		.block__faq-question {
			font-size: 18px;
			line-height: 28px;
			letter-spacing: 0.09px;
		}
	}

	/* ------------------------------------------------------------ *\
		Mobile (<= 767px)
	\* ------------------------------------------------------------ */
	@media (max-width: 767px) {
		padding: 30px 0;

		.block__inner {
			gap: 30px;
		}

		.block__logos {
			padding: 20px;
			gap: 20px;
		}
	}
}
