/* ECI Course Picker */

.eci-cp-wrapper {
	max-width: 1250px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* --- Filter tabs --- */
.eci-cp-tabs {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}

.eci-cp-tab {
    background: #fff;
    border: 1px solid #e4e4e4;
    color: #222;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    height: 40px;
    line-height: 20px;
}

.eci-cp-tab:hover {
    background: #fbcb07;
    color: #000;
    border-color: #e4e4e4;
}

.eci-cp-tab.active {
	background: #fbcb07;
	color: #111;
	border-color: #fbcb07;
}

/* --- Grid & Cards --- */
.eci-cp-grid {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.eci-cp-card {
	position: relative;
	display: grid;
	    grid-template-columns: 220px 1fr 200px;
	gap: 24px;
	background: #fff;
	border: 1px solid #e4e4e4;
	border-radius: 10px;
	padding: 24px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	    font-family: "Gordita";
}

.eci-cp-card[style*="display: none"] {
	display: none !important;
}

.eci-cp-photo-wrap {
	width: 100%;
	overflow: hidden;
	border-radius: 6px;
}

.eci-cp-photo-wrap img,
.eci-cp-photo {
	width: 100%;
	height: 180px;
	object-fit: cover;
	border-radius: 6px;
	display: block;
	background: #f2f2f2;
	transition: transform 0.3s ease;
}

.eci-cp-photo-wrap:hover img {
	transform: scale(1.05);
}

.eci-cp-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.eci-cp-badge {
    display: inline-block;
    background: #fbcb07;
    color: #111;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
    width: fit-content;
}

.eci-cp-title {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 10px;
}

.eci-cp-title a {
	color: #111;
	text-decoration: none;
	transition: color 0.2s ease;
}

.eci-cp-title a:hover {
	color: #fbcb07;
}

.eci-cp-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #444;
    margin: 0 0 10px;
        font-family: "Gordita";
}

.eci-cp-module-count {
    font-size: 13px;
    color: #888;
    margin: 0;
        font-family: "Gordita";
}

.eci-cp-side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	text-align: right;
	gap: 6px;
}

.eci-cp-price {
	font-size: 26px;
	font-weight: 700;
	color: #111;
}

.eci-cp-price ins {
	text-decoration: none;
}

.eci-cp-price del {
	color: #999;
	font-size: 16px;
	margin-right: 6px;
}

.eci-cp-savings {
	display:none;
	color: #1a8a4a;
	font-size: 13px;
	font-weight: 600;
	margin: 0 0 6px;
}

.eci-cp-cta {
	width: 100%;
}

.eci-cp-cta a.button, .eci-cp-cta a.add_to_cart_button {
    display: block;
    width: 100%;
    background: #111 !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-align: center;
    padding: 3px 10px;
    border-radius: 0;
    text-decoration: none !important;
    border: none;
    transition: background 0.15s ease;
    line-height: 35px;
	height:40px !important;
}

.eci-cp-cta a.button:hover,
.eci-cp-cta a.add_to_cart_button:hover {
	background: #333 !important;
}
.eci-cp-toggle-modules:hover {
    background: transparent !important;
    color: #000;
}
.eci-cp-toggle-modules {
	background: none;
	border: none;
	color: #111;
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
	padding: 4px 0;
}

/* --- Expandable module list --- */
.eci-cp-modules-panel {
	grid-column: 1 / -1;
	border-top: 1px solid #eee;
	margin-top: 6px;
	padding-top: 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.eci-cp-modules-panel[hidden] {
	display: none !important;
}

.eci-cp-module-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 10px 14px;
	background: #fafafa;
	border-radius: 6px;
}

.eci-cp-module-name {
	color: #222;
	font-weight: 500;
	text-decoration: none;
	flex: 1;
}

.eci-cp-module-name:hover {
	text-decoration: underline;
}

.eci-cp-module-price {
	font-weight: 700;
	color: #111;
	white-space: nowrap;
}

.eci-cp-module-cta a.button, .eci-cp-module-cta a.add_to_cart_button {
    display: inline-block;
    background: #fff !important;
    color: #111 !important;
    border: 1px solid #111 !important;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0px 10px;
    border-radius: 0px;
    text-decoration: none !important;
    line-height: 39px;
	height: 40px !important;
}
a {
	text-decoration:none !important;
}
 
.eci-cp-module-cta a.button:hover,
.eci-cp-module-cta a.add_to_cart_button:hover {
	background: #111 !important;
	color: #fff !important;
}

.eci-cp-module-info {
	flex: 1;
	min-width: 0;
}

.eci-cp-module-name {
	display: block;
	font-weight: 600;
	margin-bottom: 5px;
}

.eci-cp-module-description {
	font-size: 13px;
	line-height: 1.5;
	color: #666;
	margin-top: 4px;
}

.eci-cp-module-description p {
	margin: 0;
}

.eci-cp-module-price {
	flex-shrink: 0;
}

.eci-cp-module-cta {
	flex-shrink: 0;
}
.eci-cp-module-description strong {
    color: #fbcb07;
}

/* --- Responsive --- */
@media (max-width: 767px) {
	.eci-cp-card {
		grid-template-columns: 1fr;
	}
	.eci-cp-side {
		align-items: flex-start;
		text-align: left;
	}
	.eci-cp-module-row {
		flex-wrap: wrap;
	}
	.eci-cp-tab {
    font-size: 10px;
    font-weight: 600;
    padding: 0px 8px;
    height: 32px;
}
	.eci-cp-tabs {
    gap: 4px;
}
.eci-cp-card {
    padding: 14px;
}
	.eci-cp-photo-wrap a img {
    height: 200px !important;
    object-fit: cover;
}
	.eci-cp-title {
    font-size: 22px;
}
	.eci-cp-price {
    font-size: 20px;
}
a.eci-cp-module-name {
    font-size: 14px;
    line-height: 20px;
}
}
