.wcc-wrapper {
	width: 100%;
}

.wcc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.wcc-wrapper-carousel {
	position: relative;
}

.wcc-swiper {
	overflow: hidden;
}

.wcc-swiper .swiper-slide {
	height: auto;
	display: flex;
}

.wcc-swiper .swiper-slide .wcc-card {
	width: 100%;
}

.wcc-swiper-prev,
.wcc-swiper-next {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #ffffff;
	color: #1d1d1d;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	transform: translateY(-50%);
}

.wcc-swiper-prev {
	left: -6px;
}

.wcc-swiper-next {
	right: -6px;
}

.wcc-swiper-pagination {
	position: relative;
	margin-top: 16px;
	text-align: center;
	line-height: 1;
}

.wcc-swiper-pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	margin: 0 4px;
	background: #e0e0e0;
	opacity: 1;
}

.wcc-swiper-pagination .swiper-pagination-bullet-active {
	background: #e0a83c;
}

.wcc-card {
	display: flex;
	align-items: stretch;
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	/* Gives the card a visible edge against light/white page backgrounds so its
	   boundary doesn't disappear (looking "broken") when the surrounding section
	   is also white. The Elementor "Box Shadow" control under Style > Card only
	   emits CSS once the user actively enables it, so this default stays in
	   effect until they do. */
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.wcc-card-stub {
	flex: 0 0 110px;
	width: 110px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e0a83c;
	padding: 12px 8px;
	text-align: center;
}

.wcc-discount {
	display: block;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.1;
	color: #ffffff;
	word-break: break-word;
}

.wcc-card-divider {
	position: relative;
	flex: 0 0 0;
	width: 0;
	border-left: 2px dashed #e0e0e0;
	margin: 10px 0;
}

.wcc-card-divider::before,
.wcc-card-divider::after {
	content: "";
	position: absolute;
	left: 50%;
	width: 16px;
	height: 16px;
	background: #ffffff;
	border-radius: 50%;
	transform: translateX(-50%);
}

.wcc-card-divider::before {
	top: -18px;
}

.wcc-card-divider::after {
	bottom: -18px;
}

.wcc-card-info {
	flex: 1 1 auto;
	min-width: 0;
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wcc-code-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.wcc-code {
	font-family: monospace;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: #1d1d1d;
	background: #f5f5f5;
	padding: 4px 10px;
	border-radius: 4px;
	word-break: break-all;
	cursor: pointer;
	user-select: none;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.wcc-card.wcc-copied .wcc-code {
	color: #ffffff;
	background-color: #4caf50;
}

.wcc-copy-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #e0a83c;
	background: transparent;
	border: 1px solid #e0a83c;
	border-radius: 4px;
	padding: 5px 10px;
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.wcc-copy-btn:hover {
	color: #ffffff;
	background-color: #e0a83c;
}

.wcc-card.wcc-copied .wcc-copy-btn {
	color: #ffffff;
	background-color: #4caf50;
	border-color: #4caf50;
}

.wcc-description {
	font-size: 14px;
	line-height: 1.5;
	color: #555555;
}

.wcc-description p {
	margin: 0 0 6px;
}

.wcc-description p:last-child {
	margin-bottom: 0;
}

.wcc-expiry {
	font-size: 13px;
	color: #888888;
	margin-top: auto;
}

@media (max-width: 1024px) {
	.wcc-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.wcc-grid {
		grid-template-columns: repeat(1, 1fr);
	}
}
