.pt-gateways-container {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0;
	align-items: stretch;
}

/* ---- Cart / Checkout read-only breakdown list ---- */
.pt-readonly-gateways-wrap {
	margin: 20px 0;
}

.pt-readonly-gateways-wrap .pt-gateways-container {
	margin: 0;
}

.pt-gateways-list-title {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 600;
	color: #1a202c;
}

/* Informational only — not a selectable option, so no pointer cursor
   and no hover "lift" affordance suggesting it can be clicked. */
.pt-gateway-box-readonly {
	cursor: default;
}

.pt-gateway-box-readonly:hover {
	border-color: #e2e8f0;
	box-shadow: none;
}

/* Read-only mode swaps the hover/tap-activated tooltip for always-visible
   static text, so no interaction is ever required to see it. */
.pt-gateway-tooltip-static {
	margin-top: 6px;
	font-size: 11px;
	line-height: 1.4;
	color: #64748b;
	text-align: center;
}

.pt-gateway-tooltip-static strong {
	display: none; /* title is already shown above; avoid repeating it */
}

.pt-gateway-tooltip-static p {
	margin: 0;
}

.pt-gateway-box {
	flex: 1 1 calc(25% - 10px);
	min-width: 120px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 15px 10px;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	transition: all 0.3s ease;
	cursor: pointer;
}

.pt-gateway-box:hover {
	border-color: #cbd5e1;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.pt-gateway-logo {
	margin-bottom: 8px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pt-gateway-logo img {
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.pt-gateway-title {
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 8px;
	color: #1a202c;
}

.pt-gateway-price {
	font-size: 13px;
	color: #1a202c !important;
	font-weight: 600;
}

.pt-gateway-price span,
.pt-gateway-price .woocommerce-Price-amount,
.pt-gateway-price .woocommerce-Price-currencySymbol {
	color: #1a202c !important;
}

/* Tooltip */
.pt-gateway-tooltip {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	background-color: #222;
	color: #fff;
	text-align: left;
	padding: 10px 12px;
	border-radius: 6px;
	width: max-content;
	max-width: 250px;
	z-index: 10;
	font-size: 12px;
	line-height: 1.4;
	margin-bottom: 10px;
	transition: opacity 0.3s, visibility 0.3s;
	pointer-events: none;
	box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.pt-gateway-tooltip strong {
	display: block;
	margin-bottom: 4px;
	font-size: 13px;
	color: #fff;
}

.pt-gateway-tooltip p {
	margin: 0;
	color: #ddd;
}

/* Tooltip arrow */
.pt-gateway-tooltip::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -6px;
	border-width: 6px;
	border-style: solid;
	border-color: #222 transparent transparent transparent;
}

.pt-gateway-box:hover .pt-gateway-tooltip {
	visibility: visible;
	opacity: 1;
}

/* Mobile tooltip — shown on tap via JS */
.pt-gateway-box.pt-tooltip-active .pt-gateway-tooltip {
	visibility: visible;
	opacity: 1;
}

@media (max-width: 768px) {
	.pt-gateway-box {
		flex: 1 1 calc(50% - 10px);
	}
}

@media (max-width: 480px) {
	.pt-gateway-box {
		flex: 1 1 calc(50% - 10px);
		padding: 10px 5px;
	}
	.pt-gateway-title {
		font-size: 12px;
	}
	.pt-gateway-price {
		font-size: 12px;
	}
}
