.repp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}

.repp-card,
.repp-order-card {
	border: 1px solid #e7e7e7;
	border-radius: 18px;
	padding: 20px;
	background: #fff;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.repp-thumb {
	margin-bottom: 14px;
}

.repp-thumb img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.repp-card-title,
.repp-order-title,
.repp-card h3,
.repp-order-card h3 {
	margin: 0 0 12px;
	line-height: 1.3;
}

.repp-card h3 a,
.repp-order-card h3 a {
	text-decoration: none;
	color: inherit;
}

.repp-price {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 10px 0;
}

.repp-excerpt {
	margin-top: 10px;
}

.repp-actions {
	margin-top: 16px;
}

.repp-button {
	display: inline-block;
	padding: 12px 18px;
	background: #111;
	color: #fff !important;
	border: 0;
	border-radius: 999px;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.repp-button:hover,
.repp-button:focus {
	opacity: 0.92;
	text-decoration: none;
}

.repp-button:focus {
	outline: none;
}

.repp-button:disabled,
.repp-button.repp-is-busy {
	opacity: 0.7;
	cursor: not-allowed;
}

.repp-request-wrap {
	width: 100%;
}

.repp-request-response {
	margin-top: 12px;
	font-size: 0.95rem;
	line-height: 1.5;
}

.repp-request-response.repp-is-loading {
	opacity: 0.8;
}

.repp-request-response.repp-is-success {
	color: #1f7a1f;
}

.repp-request-response.repp-is-error {
	color: #b42318;
}

.repp-notice,
.repp-alert {
	padding: 14px 16px;
	border-radius: 12px;
	border: 1px solid transparent;
}

.repp-notice {
	background: #fff8e5;
	border-color: #f0d88a;
}

.repp-alert-warning {
	background: #fff8e5;
	border-color: #f0d88a;
	color: #6c5500;
}

.repp-alert-info {
	background: #f5f5f5;
	border-color: #d9d9d9;
	color: #333;
}

.repp-login-message {
	margin-bottom: 16px;
}

.repp-payment-pending,
.repp-locked-message {
	margin-top: 14px;
	padding: 12px 14px;
	background: #f5f5f5;
	border-radius: 12px;
}

.repp-account h2 {
	margin-bottom: 24px;
}

.repp-orders {
	display: grid;
	gap: 18px;
}

.repp-note {
	margin-top: 14px;
	padding: 12px;
	background: #f8f8f8;
	border-radius: 12px;
}

.repp-note p:last-child {
	margin-bottom: 0;
}

.repp-downloads {
	margin-top: 14px;
}

.repp-downloads ul {
	margin: 10px 0 0 18px;
	padding: 0;
}

.repp-downloads li + li {
	margin-top: 6px;
}

.repp-empty-message {
	margin: 0;
}

.repp-package-description > *:first-child {
	margin-top: 0;
}

.repp-package-description > *:last-child {
	margin-bottom: 0;
}

.repp-package-description-fallback {
	padding: 14px 16px;
	background: #f7f7f7;
	border: 1px solid #e2e2e2;
	border-radius: 12px;
}

@media (max-width: 767px) {
	.repp-card,
	.repp-order-card {
		padding: 16px;
	}
}

.repp-button-secondary {
	background: #f3f4f6;
	color: #111 !important;
	border: 1px solid #d1d5db;
}

.repp-modal-open {
	overflow: hidden;
}

.repp-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
}

.repp-modal.is-open {
	display: block;
}

.repp-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.repp-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(560px, calc(100% - 32px));
	margin: 8vh auto;
	background: #fff;
	border-radius: 18px;
	padding: 24px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.repp-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.repp-modal__title {
	margin: 0 24px 12px 0;
}

.repp-modal__message {
	white-space: pre-wrap;
	line-height: 1.6;
}

.repp-modal__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 20px;
}


.repp-modal__proceed,
.repp-modal__cancel {
	margin: 0;
}

@media (max-width: 767px) {
	.repp-modal__dialog {
		width: calc(100% - 24px);
		max-width: calc(100% - 24px);
		margin: 5vh auto;
		padding: 20px;
	}

	.repp-modal__actions {
		flex-direction: column;
	}

	.repp-modal__actions .repp-button {
		width: 100%;
		text-align: center;
	}
}
