/**
 * Public styles for CT WP Widgets - Channels
 * Premium Professional Design with Customizable Colors
 */

/* CSS Variables - Can be overridden by settings */
/* CSS variables are scoped to plugin-specific wrapper classes to prevent conflicts with other plugins */
.ct-channels-list-wrapper,
.ct-channels-grid-wrapper,
.ct-channels-simple-wrapper,
.ct-channels-rateplans-wrapper {
	margin: 30px 0;
	font-size: var(--ct-channels-font-size-base, 15px);
}

/* Filter Position: Left (Default) */
.ct-filter-position-left .ct-channels-layout {
	display: grid;
	grid-template-columns: var(--ct-channels-sidebar-width, 250px) 1fr;
	gap: 0;
	min-height: 600px;
}

/* Filter Position: Right */
.ct-filter-position-right .ct-channels-layout {
	display: grid;
	grid-template-columns: 1fr var(--ct-channels-sidebar-width, 250px);
	gap: 0;
	min-height: 600px;
}

.ct-filter-position-right .ct-channels-filters-sidebar {
	order: 2;
	box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
}

.ct-filter-position-right .ct-channels-filters-sidebar::after {
	left: 0;
	right: auto;
}

.ct-filter-position-right .ct-channels-listing {
	order: 1;
}

/* Filter Position: Top */
.ct-filter-position-top .ct-channels-layout {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-height: auto;
}

.ct-filter-position-top .ct-channels-filters-sidebar {
	order: 1;
	min-height: auto;
	margin-bottom: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ct-filter-position-top .ct-channels-filters-sidebar::after {
	display: none;
}

.ct-filter-position-top .ct-channels-listing {
	order: 2;
}

/* Hide filters when show_filter is 'no' */
.ct-channels-simple-wrapper[data-show-filter="no"] .ct-channels-filters-sidebar,
.ct-channels-rateplans-wrapper[data-show-filter="no"] .ct-channels-filters-sidebar {
	display: none;
}

.ct-channels-simple-wrapper[data-show-filter="no"] .ct-channels-layout,
.ct-channels-rateplans-wrapper[data-show-filter="no"] .ct-channels-layout {
	grid-template-columns: 1fr;
}

/* Two-Column Layout (Filters Left, Content Right) - Fallback */
.ct-channels-layout {
	display: grid;
	grid-template-columns: var(--ct-channels-sidebar-width, 250px) 1fr;
	gap: 0;
	min-height: 600px;
}

/* Filters Sidebar - Premium Design */
.ct-channels-filters-sidebar {
	background: var(--ct-channels-filter-sidebar-bg, #2c5f5f);
	color: #fff;
	border-radius: 0;
	padding: 0;
	min-height: 100%;
	box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
	position: relative;
}

.ct-channels-filters-sidebar::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 1px;
	height: 100%;
	background: rgba(255, 255, 255, 0.1);
}

.ct-channels-filters-sidebar h3 {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	padding: 24px 24px 20px;
	background: rgba(0, 0, 0, 0.2);
	border-bottom: 2px solid rgba(255, 255, 255, 0.15);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ct-filter-group {
	margin-bottom: 0;
}

.ct-filter-group:last-child {
	margin-bottom: 0;
}

.ct-filter-group > label {
	display: none; /* Hide the "Category" and "Type" labels */
}

.ct-filter-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ct-filter-list li {
	margin-bottom: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ct-filter-list li:last-child {
	border-bottom: none;
}

.ct-filter-list label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	font-size: var(--ct-channels-font-size-base, 15px);
	color: #fff;
	padding: 16px 24px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	margin: 0;
	font-weight: 500;
	position: relative;
}

.ct-filter-list label::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--ct-channels-filter-active-bg, #4ade80);
	transform: scaleY(0);
	transition: transform 0.3s ease;
}

.ct-filter-list label:hover {
	background: rgba(255, 255, 255, 0.08);
	padding-left: 28px;
}

.ct-filter-list label:hover::before {
	transform: scaleY(1);
}

.ct-filter-list input[type="radio"] {
	margin-right: 14px;
	cursor: pointer;
	accent-color: var(--ct-channels-filter-active-bg, #4ade80);
	flex-shrink: 0;
	width: 18px;
	height: 18px;
}

.ct-filter-list label span {
	flex: 1;
}

/* Active/Selected filter styling */
.ct-filter-list input[type="radio"]:checked + span {
	font-weight: 700;
}

.ct-filter-list label:has(input[type="radio"]:checked) {
	background: var(--ct-channels-filter-active-bg, #4ade80);
	color: #1f2937;
	font-weight: 700;
	padding-left: 28px;
	box-shadow: inset 4px 0 0 rgba(0, 0, 0, 0.1);
}

.ct-filter-list label:has(input[type="radio"]:checked)::before {
	transform: scaleY(1);
	background: rgba(0, 0, 0, 0.2);
}

/* Fallback for browsers that don't support :has() */
.ct-filter-list input[type="radio"]:checked ~ span {
	font-weight: 600;
}

/* Parent Category with Accordion */
.ct-filter-parent {
	margin-bottom: 0;
}

.ct-filter-parent-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.ct-filter-parent-header label {
	flex: 1;
	margin: 0;
	padding: 15px 20px;
}

.ct-filter-toggle {
	background: none;
	border: none;
	cursor: pointer;
	padding: 16px 20px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 16px;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 4px;
}

.ct-filter-toggle:hover {
	color: var(--ct-channels-filter-active-bg, #4ade80);
	background: rgba(255, 255, 255, 0.1);
}

.ct-filter-toggle-icon {
	display: inline-block;
	transition: transform 0.2s ease;
	margin-left: 8px;
}

.ct-filter-toggle-icon.rotated {
	transform: rotate(-90deg);
}

.ct-filter-children {
	list-style: none;
	padding: 0;
	margin: 0;
	background: rgba(0, 0, 0, 0.2);
}

.ct-filter-children li {
	margin-bottom: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ct-filter-children li:last-child {
	border-bottom: none;
}

.ct-filter-children label {
	padding-left: 40px;
}

/* Loading State */
.ct-channels-loading {
	text-align: center;
	padding: 40px;
	color: #646970;
}

.ct-channels-loading p {
	margin: 0;
	font-size: 16px;
}

/* Pagination / Load More */
.ct-channels-pagination {
	text-align: center;
	margin-top: 30px;
	padding-top: 30px;
	border-top: 1px solid #c3c4c7;
}

.ct-load-more-btn {
	padding: 14px 32px;
	background: linear-gradient(135deg, #4A90E2 0%, #357ABD 50%, #2C5F8D 100%);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: var(--ct-channels-font-size-base, 15px);
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.ct-load-more-btn:hover:not(:disabled) {
	background: linear-gradient(135deg, #3d7bc9 0%, #2d6aa3 50%, #255080 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.ct-load-more-btn:disabled {
	background: #c3c4c7;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

/* Simple Listing View - Premium Table Design */
.ct-channels-listing {
	background: #fff;
	padding: 0;
	min-height: 100%;
}

.ct-channels-simple-table-wrapper {
	background: #fff;
	border: none;
	border-radius: 0;
	overflow: visible;
}

.ct-channels-simple-header {
	background: var(--ct-channels-table-header-bg, #1f2937);
	color: var(--ct-channels-table-header-text, #ffffff);
	padding: 20px 30px;
	margin: 0;
	border-radius: 0;
}

.ct-channels-simple-title {
	margin: 0;
	font-size: var(--ct-channels-font-size-table-header, 13px);
	font-weight: 700;
	color: var(--ct-channels-table-header-text, #ffffff);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.ct-channels-table-header {
	background: #1d2327;
	padding: 15px 20px;
	border-bottom: 1px solid #c3c4c7;
}

.ct-channels-table-header h3 {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ct-channels-simple-list {
	background: #fff;
}

.ct-channels-simple-table {
	width: 100%;
	border-collapse: collapse;
}

.ct-channels-simple-table tbody tr {
	border-bottom: 1px solid #e5e7eb;
	transition: all 0.3s ease;
}

.ct-channels-simple-table tbody tr:hover {
	background: #f9fafb;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ct-channels-simple-table tbody tr:last-child {
	border-bottom: none;
}

.ct-channels-simple-table td {
	padding: 15px;
	vertical-align: middle;
	font-size: var(--ct-channels-font-size-base, 15px);
}

.ct-col-info {
	width: auto;
}

.ct-col-logo {
	width: 120px;
	text-align: center;
}

.ct-channel-simple-item .ct-channel-logo {
	width: var(--ct-channels-logo-size, 60px);
	height: var(--ct-channels-logo-size, 60px);
	margin: 0 auto;
	overflow: hidden;
	border-radius: 8px;
	background: #f6f7f7;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #e5e7eb;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.ct-channel-simple-item .ct-channel-logo:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transform: scale(1.05);
}

.ct-channel-simple-item .ct-channel-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ct-no-logo {
	color: #c3c4c7;
	font-size: 18px;
}

.ct-channel-number {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 25px;
	aspect-ratio: 1;
	background: var(--ct-channels-channel-number-bg, #2271b1);
	color: var(--ct-channels-channel-number-text, #ffffff);
	border-radius: 50px;
	font-size: var(--ct-channels-font-size-channel-number, 15px);
	text-align: center;
	transition: all 0.3s ease;
}

.ct-channel-title {
	font-size: var(--ct-channels-font-size-channel-name, 16px);
	font-weight: 600;
	line-height: 1.4;
}

.ct-channel-title a {
	color: var(--ct-channels-channel-number-bg, #2271b1);
	text-decoration: none;
	transition: all 0.3s ease;
	font-weight: 600;
}

.ct-channel-title a:hover {
	color: #135e96;
	text-decoration: none;
	opacity: 0.8;
}

.ct-channel-zip {
	display: flex;
    padding: 5px 8px;
	background: var(--ct-channels-zip-code-bg, #f6f7f7);
	color: var(--ct-channels-zip-code-text, #646970);
	border-radius: 4px;
	font-size: var(--ct-channels-font-size-zip-code, 13px);
	font-weight: 600;
}


/* Single Channel Template */
.ct-channel-single {
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px;
}

.ct-channel-single-header {
	display: flex;
	align-items: center;
	gap: 30px;
	margin-bottom: 40px;
	padding-bottom: 30px;
	border-bottom: 2px solid #e0e0e0;
}

.ct-channel-single-logo {
	width: 150px;
	height: 150px;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 8px;
	background: #f6f7f7;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #e0e0e0;
}

.ct-channel-single-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ct-channel-single-info {
	flex: 1;
}

.ct-channel-single-title {
	margin: 0 0 15px 0;
	font-size: 36px;
	font-weight: 600;
	color: #1d2327;
}

.ct-channel-single-meta {
	display: flex;
	gap: 12px;
	align-items: center;
}

.ct-channel-number-badge {
	display: inline-block;
	padding: 8px 16px;
	background: #2271b1;
	color: #fff;
	border-radius: 6px;
	font-weight: 600;
	font-size: 16px;
}

.ct-channel-zip-badge {
	display: inline-block;
	padding: 8px 16px;
	background: #f6f7f7;
	color: #646970;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	font-weight: 500;
	font-size: 14px;
}

.ct-channel-single-details {
	margin-top: 40px;
}

.ct-channel-single-description {
	margin-bottom: 40px;
}

.ct-channel-excerpt {
	font-size: 18px;
	color: #646970;
	line-height: 1.8;
	margin-bottom: 20px;
}

.ct-channel-content {
	font-size: 16px;
	line-height: 1.8;
	color: #1d2327;
}

.ct-channel-single-categories,
.ct-channel-single-types,
.ct-channel-single-rate-plans {
	margin-bottom: 30px;
	padding: 20px;
	background: #f6f7f7;
	border-radius: 8px;
}

.ct-channel-single-categories h3,
.ct-channel-single-types h3,
.ct-channel-single-rate-plans h3 {
	margin: 0 0 15px 0;
	font-size: 20px;
	font-weight: 600;
	color: #1d2327;
}

.ct-channel-categories-list,
.ct-channel-types-list,
.ct-channel-rate-plans-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ct-channel-categories-list li,
.ct-channel-types-list li,
.ct-channel-rate-plans-list li {
	margin-bottom: 12px;
	padding: 12px;
	background: #fff;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
}

.ct-channel-categories-list li:last-child,
.ct-channel-types-list li:last-child,
.ct-channel-rate-plans-list li:last-child {
	margin-bottom: 0;
}

.ct-channel-categories-list a,
.ct-channel-types-list a {
	color: #2271b1;
	text-decoration: none;
	font-weight: 500;
	font-size: 16px;
}

.ct-channel-categories-list a:hover,
.ct-channel-types-list a:hover {
	text-decoration: underline;
}


.ct-rate-plan-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.ct-rate-plan-price {
	color: #2271b1;
	font-weight: 600;
}

/* Badge Sizes */
.ct-channel-number.small {
	padding: 4px 10px;
	font-size: 12px;
}

.ct-channel-number.medium {
	padding: 6px 14px;
	font-size: 15px;
}

.ct-channel-number.large {
	padding: 8px 18px;
	font-size: 18px;
}

/* Rate Plans Table View */
.ct-channels-rateplans-table {
	background: #fff;
	overflow-x: auto;
}

.ct-rateplans-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #c3c4c7;
}

.ct-rateplans-table thead {
	background: var(--ct-table-header-bg);
}

.ct-rateplans-table th {
	padding: 15px;
	text-align: left;
	border-bottom: 2px solid rgba(255, 255, 255, 0.1);
	font-weight: 700;
	color: var(--ct-channels-table-header-text, #ffffff);
	text-transform: uppercase;
	font-size: var(--ct-channels-font-size-table-header, 13px);
	letter-spacing: 0.8px;
}

.ct-rateplans-table th.ct-channel-col {
	width: 350px;
	min-width: 300px;
}

.ct-rateplans-table th.ct-plan-col {
	text-align: center;
	min-width: 60px;
	width: 80px;
}

.ct-plan-header {
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: center;
}

.ct-plan-header strong {
	font-size: var(--ct-channels-font-size-table-header, 13px);
	font-weight: 700;
	color: var(--ct-channels-table-header-text, #ffffff);
}

.ct-plan-header .ct-plan-price {
	font-size: calc(var(--ct-channels-font-size-table-header, 13px) - 2px);
	color: rgba(255, 255, 255, 0.8);
	font-weight: 500;
}

.ct-rateplans-table tbody tr {
	border-bottom: 1px solid #e5e7eb;
	transition: all 0.3s ease;
}

.ct-rateplans-table tbody tr:hover {
	background: #f9fafb;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ct-rateplans-table tbody tr:last-child {
	border-bottom: none;
}

.ct-rateplans-table td {
	padding: 15px;
	vertical-align: middle;
	font-size: var(--ct-channels-font-size-base, 15px);
}

.ct-rateplans-table td.ct-channel-col {
	width: auto;
	min-width: 300px;
}

.ct-rateplans-table td.ct-plan-col {
	text-align: center;
	width: 120px;
}

.ct-rateplans-table .ct-channel-cell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: nowrap;
}

.ct-channel-info {
	display: flex;
	gap: 10px;
	align-items: center;
}

.ct-channel-info-content {
	display: flex;
	flex-direction: column;
	gap: 5px;
	align-items: start;
}

.ct-rateplans-table .ct-channel-cell .ct-channel-logo {
	width: var(--ct-channels-logo-size, 60px);
	height: var(--ct-channels-logo-size, 60px);
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 8px;
	background: #f6f7f7;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #e5e7eb;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ct-rateplans-table .ct-channel-cell .ct-channel-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ct-rateplans-table .ct-channel-cell .ct-channel-name {
	font-size: var(--ct-channels-font-size-channel-name, 16px);
	font-weight: 600;
	flex-shrink: 0;
	color: #1f2937;
	display: block;
}

/* Rateplans table specific overrides for zip */
.ct-rateplans-table .ct-channel-cell .ct-channel-zip {
	flex-shrink: 0;
}


/* Plan Available/Unavailable Icons */
.ct-plan-available {
	font-size: 24px;
	font-weight: 700;
	display: inline-block;
	width: 36px;
	height: 36px;
	line-height: 36px;
	text-align: center;
	border-radius: 50%;
	background-color: var(--ct-channels-rate-plan-available-bg, #d1fae5);
	transition: all 0.3s ease;
}

.ct-plan-available:hover {
	opacity: 0.8;
	transform: scale(1.1);
}

.ct-plan-unavailable {
	font-size: 20px;
	font-weight: 700;
	display: inline-block;
	width: 36px;
	height: 36px;
	line-height: 36px;
	text-align: center;
	border-radius: 50%;
	background-color: var(--ct-channels-rate-plan-unavailable-bg, #f3f4f6);
}

/* Category Description Display */
.ct-category-description {
	background: rgba(76, 222, 128, 0.1);
	border-left: 4px solid var(--ct-channels-filter-active-bg, #4ade80);
	padding: 14px 20px;
	margin: 12px 24px;
	border-radius: 6px;
	animation: slideDown 0.3s ease;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ct-category-description p {
	margin: 0;
	color: #1d2327;
	font-size: var(--ct-channels-font-size-base, 15px);
	line-height: 1.7;
	font-weight: 500;
}

/* Responsive Design */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
	.ct-channels-layout {
		grid-template-columns: 200px 1fr;
		gap: 0;
	}

	.ct-channels-filters-sidebar h3 {
		padding: 20px 16px 16px;
		font-size: 13px;
	}

	.ct-filter-list label {
		padding: 14px 16px;
		font-size: 14px;
	}

	.ct-channels-simple-table td,
	.ct-rateplans-table td {
		padding: 20px;
	}

	.ct-channel-info {
		gap: 8px;
	}

	.ct-channel-info-content {
		gap: 4px;
	}
}

/* Mobile (up to 768px) */
@media (max-width: 768px) {
	.ct-channels-simple-wrapper,
	.ct-channels-rateplans-wrapper {
		margin: 20px 0;
	}

	.ct-channels-layout {
		grid-template-columns: 1fr;
		gap: 0;
		min-height: auto;
	}

	.ct-channels-filters-sidebar {
		min-height: auto;
		margin-bottom: 20px;
		border-radius: 0;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	}

	.ct-channels-filters-sidebar h3 {
		padding: 16px 20px;
		font-size: 13px;
	}

	.ct-filter-list label {
		padding: 12px 20px;
		font-size: 14px;
	}

	.ct-channels-listing,
	.ct-channels-rateplans-table {
		padding: 0;
	}

	.ct-channels-simple-header,
	.ct-rateplans-table th,
	.ct-rateplans-table td {
		padding-left: 12px;
		padding-right: 12px;
	}

	.ct-channels-simple-table td {
		padding: 12px;
		display: block;
	}

	.ct-channels-simple-table tbody tr {
		display: block;
		border-bottom: 2px solid #e5e7eb;
		margin-bottom: 12px;
		padding-bottom: 12px;
	}

	.ct-channels-simple-table tbody tr:last-child {
		border-bottom: none;
		margin-bottom: 0;
		padding-bottom: 0;
	}

	.ct-col-info {
		width: 100%;
		margin-bottom: 8px;
	}

	.ct-col-logo {
		width: 100%;
		text-align: left;
	}

	.ct-channel-simple-item .ct-channel-logo,
	.ct-rateplans-table .ct-channel-cell .ct-channel-logo {
		width: 60px;
		height: 60px;
		margin: 0;
	}

	.ct-channel-info {
		flex-wrap: wrap;
		gap: 8px;
	}

	.ct-channel-info-content {
		flex: 1;
		min-width: 0;
	}

	.ct-channel-number {
		min-width: 30px;
		font-size: 13px;
	}

	.ct-channel-title {
		font-size: 15px;
		margin: 0 0 6px 0;
	}

	.ct-channel-zip {
		font-size: 12px;
		padding: 4px 8px;
	}

	/* Rate Plans Table - Horizontal Scroll on Mobile */
	.ct-channels-rateplans-table {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.ct-rateplans-table {
		font-size: 12px;
		min-width: 600px;
	}

	.ct-rateplans-table th,
	.ct-rateplans-table td {
		padding: 10px 8px;
		white-space: nowrap;
	}

	.ct-rateplans-table th.ct-channel-col {
		width: var(--ct-channels-rateplans-col-mobile, 200px);
		min-width: var(--ct-channels-rateplans-col-mobile, 200px);
		position: sticky;
		left: 0;
		background: var(--ct-table-header-bg);
		z-index: 10;
	}

	.ct-rateplans-table td.ct-channel-col {
		width: var(--ct-channels-rateplans-col-mobile, 200px);
		min-width: var(--ct-channels-rateplans-col-mobile, 200px);
		position: sticky;
		left: 0;
		background: #fff;
		z-index: 5;
	}

	.ct-rateplans-table tbody tr:hover td.ct-channel-col {
		background: #f9fafb;
	}

	.ct-rateplans-table .ct-channel-cell {
		gap: 6px;
	}

	.ct-rateplans-table .ct-channel-cell .ct-channel-name {
		margin-bottom: 4px;
		font-size: 14px;
	}

	.ct-rateplans-table .ct-channel-cell .ct-channel-number {
		margin-bottom: 4px;
	}

	.ct-plan-header {
		flex-direction: row;
		gap: 4px;
		align-items: center;
	}

	.ct-plan-header strong {
		font-size: 11px;
	}

	.ct-plan-header .ct-plan-price {
		font-size: 10px;
	}

	.ct-plan-available,
	.ct-plan-unavailable {
		width: 28px;
		height: 28px;
		line-height: 28px;
		font-size: 18px;
	}

	.ct-load-more-btn {
		padding: 12px 24px;
		font-size: 14px;
		width: 100%;
	}

	/* List/Grid View Responsive */
	.ct-channel-item {
		flex-direction: column;
	}
	
	.ct-channel-logo {
		width: 100%;
		height: 200px;
	}
	
	.ct-channel-col-2 .ct-channels-grid,
	.ct-channel-col-3 .ct-channels-grid,
	.ct-channel-col-4 .ct-channels-grid {
		grid-template-columns: 1fr;
	}
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
	.ct-channels-simple-wrapper,
	.ct-channels-rateplans-wrapper {
		margin: 15px 0;
	}

	.ct-channels-filters-sidebar h3 {
		padding: 14px 16px;
		font-size: 12px;
	}

	.ct-filter-list label {
		padding: 10px 16px;
		font-size: 13px;
	}

	.ct-channels-simple-table td {
		padding: 10px;
	}

	.ct-channel-simple-item .ct-channel-logo,
	.ct-rateplans-table .ct-channel-cell .ct-channel-logo {
		width: 50px;
		height: 50px;
	}

	.ct-channel-number {
		min-width: 28px;
		font-size: 12px;
	}

	.ct-channel-title {
		font-size: 14px;
	}

	.ct-rateplans-table {
		font-size: 11px;
		min-width: 500px;
	}

	.ct-rateplans-table th,
	.ct-rateplans-table td {
		padding: 8px 6px;
	}

	.ct-plan-available,
	.ct-plan-unavailable {
		width: 24px;
		height: 24px;
		line-height: 24px;
		font-size: 16px;
	}
}

/* Filters */
.ct-channels-filters {
	margin-bottom: 30px;
	padding: 20px;
	background: #f5f5f5;
	border-radius: 6px;
}

.ct-channels-filters select {
	padding: 8px 12px;
	margin-right: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
}

/* List View */
.ct-channels-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ct-channel-item {
	display: flex;
	gap: 20px;
	padding: 20px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ct-channel-item:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.ct-channel-logo {
	flex-shrink: 0;
	width: 150px;
	height: 150px;
	overflow: hidden;
	border-radius: 8px;
	background: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ct-channel-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ct-channel-content {
	flex: 1;
}

.ct-channel-title {
	font-size: 24px;
	margin: 0;
}

.ct-channel-title a {
	color: #2271b1;
	text-decoration: none;
	transition: color 0.3s ease;
}

.ct-channel-title a:hover {
	color: #135e96;
	text-decoration: underline;
}

.ct-channel-number strong,
.ct-channel-zip strong,
.ct-channel-categories strong,
.ct-channel-rate-plans strong {
	color: #1d2327;
	margin-right: 5px;
}

.ct-channel-excerpt {
	margin-top: 15px;
	color: #666;
	line-height: 1.6;
}

/* Grid View */
.ct-channels-grid {
	display: grid;
	gap: 25px;
}

.ct-channel-col-2 .ct-channels-grid {
	grid-template-columns: repeat(2, 1fr);
}

.ct-channel-col-3 .ct-channels-grid {
	grid-template-columns: repeat(3, 1fr);
}

.ct-channel-col-4 .ct-channels-grid {
	grid-template-columns: repeat(4, 1fr);
}

.ct-channel-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
	display: flex;
	flex-direction: column;
}

.ct-channel-card:hover {
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
	transform: translateY(-4px);
}

.ct-channel-card .ct-channel-logo {
	width: 100%;
	height: 200px;
	margin: 0;
	border-radius: 0;
}

.ct-channel-card .ct-channel-content {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.ct-channel-card .ct-channel-title {
	font-size: 20px;
}

.ct-channel-link {
	display: inline-block;
	margin-top: 15px;
	padding: 10px 20px;
	background: #2271b1;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	text-align: center;
	transition: background 0.3s ease;
}

.ct-channel-link:hover {
	background: #135e96;
	color: #fff;
}


