/**
 * ============================================================
 * Kara Price List
 * Frontend Styles
 * ============================================================
 */

.kpl-price-list-container {
	width: 100%;
	max-width: 1180px;
	margin: 35px auto;
	padding: 0 15px;
	box-sizing: border-box;
	font-family: inherit;
}

.kpl-price-list-container *,
.kpl-price-list-container *::before,
.kpl-price-list-container *::after {
	box-sizing: border-box;
}


/* ============================================================
   CARD
   ============================================================ */

.kpl-price-list-card {
	width: 100%;
	background: #ffffff;
	border: 1px solid #e5eaf0;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 10px 35px rgba(23, 54, 93, 0.08);
}


/* ============================================================
   HEADER
   ============================================================ */

.kpl-price-list-header {
	padding: 25px 28px;
	background: linear-gradient(
		135deg,
		#f7faff 0%,
		#ffffff 100%
	);
	border-bottom: 1px solid #e8edf3;
}

.kpl-price-list-header-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
	flex-wrap: wrap;
}

.kpl-price-list-title-area {
	display: flex;
	align-items: center;
	gap: 15px;
	min-width: 0;
}

.kpl-price-list-title-icon {
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #17365d;
	border-radius: 13px;
	box-shadow: 0 6px 18px rgba(23, 54, 93, 0.18);
}

.kpl-price-list-title-icon svg {
	width: 27px;
	height: 27px;
	fill: none;
	stroke: #ffffff;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.kpl-price-list-title {
	margin: 0 0 5px;
	padding: 0;
	color: #17365d;
	font-size: 25px;
	line-height: 1.4;
	font-weight: 800;
}

.kpl-price-list-subtitle {
	color: #718096;
	font-size: 14px;
	line-height: 1.7;
}


/* ============================================================
   STATUS
   ============================================================ */

.kpl-price-list-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 999px;
	color: #15803d;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.kpl-status-dot {
	width: 8px;
	height: 8px;
	background: #22c55e;
	border-radius: 50%;
	display: inline-block;
	box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.10);
}


/* ============================================================
   META
   ============================================================ */

.kpl-price-list-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding: 17px 28px;
	background: #ffffff;
	border-bottom: 1px solid #edf1f5;
}

.kpl-price-list-update {
	display: flex;
	align-items: center;
	gap: 11px;
}

.kpl-meta-icon {
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f4f7fb;
	border-radius: 9px;
	flex: 0 0 38px;
}

.kpl-meta-icon svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: #17365d;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.kpl-meta-label {
	display: block;
	margin-bottom: 2px;
	color: #8a96a6;
	font-size: 11px;
	font-weight: 500;
}

.kpl-meta-value {
	display: block;
	color: #334155;
	font-size: 13px;
	font-weight: 700;
}

.kpl-price-list-meta-badge {
	padding: 7px 12px;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 8px;
	color: #c2410c;
	font-size: 11px;
	font-weight: 700;
}


/* ============================================================
   VIEWER
   ============================================================ */

.kpl-price-list-viewer {
	width: 100%;
	background: #30343a;
}

.kpl-viewer-topbar {
	height: 46px;
	padding: 0 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	background: #262a2f;
	color: #ffffff;
}

.kpl-viewer-title {
	font-size: 12px;
	font-weight: 600;
	opacity: 0.9;
}

.kpl-viewer-secure {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #cbd5e1;
	font-size: 11px;
}

.kpl-secure-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #22c55e;
}

.kpl-price-list-iframe-wrap {
	width: 100%;
	height: 1000px;
	background: #525252;
}

.kpl-price-list-iframe {
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
	margin: 0;
	padding: 0;
	background: #525252;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.kpl-price-list-buttons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	padding: 22px 28px;
	background: #ffffff;
	border-top: 1px solid #e8edf3;
}

.kpl-price-list-buttons .kpl-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-width: 190px;
	min-height: 46px;
	padding: 11px 22px;
	border-radius: 9px;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}

.kpl-price-list-buttons .kpl-button:hover {
	transform: translateY(-2px);
	text-decoration: none !important;
}

.kpl-price-list-buttons .kpl-button svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.kpl-button-primary {
	background: #17365d;
	color: #ffffff !important;
	box-shadow: 0 5px 15px rgba(23, 54, 93, 0.18);
}

.kpl-button-primary:hover {
	background: #102b4c;
	color: #ffffff !important;
	box-shadow: 0 8px 20px rgba(23, 54, 93, 0.25);
}

.kpl-button-secondary {
	background: #f97316;
	color: #ffffff !important;
	box-shadow: 0 5px 15px rgba(249, 115, 22, 0.16);
}

.kpl-button-secondary:hover {
	background: #ea580c;
	color: #ffffff !important;
	box-shadow: 0 8px 20px rgba(249, 115, 22, 0.23);
}


/* ============================================================
   ERROR
   ============================================================ */

.kpl-price-list-error {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 12px;
	color: #9a3412;
}

.kpl-price-list-error strong {
	display: block;
	margin-bottom: 3px;
	font-size: 14px;
}

.kpl-price-list-error span {
	display: block;
	font-size: 12px;
	opacity: 0.8;
}

.kpl-error-icon {
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 34px;
	background: #f97316;
	color: #ffffff;
	border-radius: 50%;
	font-weight: 800;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {

	.kpl-price-list-container {
		margin: 20px auto;
		padding: 0 10px;
	}

	.kpl-price-list-card {
		border-radius: 13px;
	}

	.kpl-price-list-header {
		padding: 20px;
	}

	.kpl-price-list-header-content {
		align-items: flex-start;
		flex-direction: column;
		gap: 15px;
	}

	.kpl-price-list-title {
		font-size: 21px;
	}

	.kpl-price-list-title-icon {
		width: 45px;
		height: 45px;
		flex-basis: 45px;
		border-radius: 10px;
	}

	.kpl-price-list-title-icon svg {
		width: 23px;
		height: 23px;
	}

	.kpl-price-list-status {
		align-self: flex-start;
	}

	.kpl-price-list-meta {
		padding: 14px 20px;
	}

	.kpl-price-list-meta-badge {
		display: none;
	}

	.kpl-viewer-topbar {
		height: 42px;
		padding: 0 12px;
	}

	.kpl-price-list-iframe-wrap {
		height: 750px;
	}

	.kpl-price-list-buttons {
		padding: 17px;
		flex-direction: column;
	}

	.kpl-price-list-buttons .kpl-button {
		width: 100%;
		min-width: 0;
	}

}


@media (max-width: 480px) {

	.kpl-price-list-container {
		margin: 15px auto;
		padding: 0 7px;
	}

	.kpl-price-list-header {
		padding: 17px;
	}

	.kpl-price-list-title-area {
		gap: 11px;
	}

	.kpl-price-list-title {
		font-size: 19px;
	}

	.kpl-price-list-subtitle {
		font-size: 12px;
	}

	.kpl-price-list-title-icon {
		width: 41px;
		height: 41px;
		flex-basis: 41px;
	}

	.kpl-price-list-title-icon svg {
		width: 21px;
		height: 21px;
	}

	.kpl-price-list-meta {
		padding: 12px 17px;
	}

	.kpl-price-list-iframe-wrap {
		height: 680px;
	}

	.kpl-viewer-secure {
		display: none;
	}

}


/* ============================================================
   WORDPRESS / THEME OVERRIDES
   ============================================================ */

.kpl-price-list-container a {
	text-decoration: none;
}

.kpl-price-list-container h2,
.kpl-price-list-container h3,
.kpl-price-list-container p {
	margin-top: 0;
}

.kpl-price-list-container iframe {
	max-width: none;
}