/* Bundle "Other Bundles" timeline — alternating image/text nodes advertising the
 * other bundles on a woosb product page. Mirrors the puzzle wd_timeline look:
 * transparent columns, thin #ececec dividers, 16px rounded images, sage kicker,
 * Lora headings. Scoped entirely to .lubiwood-bundle-timeline. */

.lubiwood-bundle-timeline {
	max-width: 1000px;
	margin: 0 auto 8px;
	padding: 8px 8px 0;
	/* Whole section in the site body font (Karla) — headings included. */
	font-family: var(--wd-text-font, "Karla"), Arial, sans-serif;
}

.lubiwood-bundle-timeline__intro {
	text-align: center;
	margin: 8px auto 12px;
}

.lubiwood-bundle-timeline__kicker {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--wd-primary-color, #7a9a6f);
	margin-bottom: 6px;
}

.lubiwood-bundle-timeline__title {
	font-family: var(--wd-text-font, "Karla"), Arial, sans-serif;
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	line-height: 1.2;
	margin: 0;
}

.lubiwood-bundle-timeline__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lubiwood-bundle-timeline__item {
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 46px 8px;
	border-bottom: 1px solid #ececec;
}

.lubiwood-bundle-timeline__item:last-child {
	border-bottom: 0;
}

/* Alternate the image side down the column. */
.lubiwood-bundle-timeline__item:nth-child(even) {
	flex-direction: row-reverse;
}

.lubiwood-bundle-timeline__media {
	flex: 1 1 0;
	min-width: 0;
}

.lubiwood-bundle-timeline__media a {
	display: block;
}

.lubiwood-bundle-timeline__media img {
	width: 100%;
	height: auto;
	border-radius: 16px;
	display: block;
}

/* Keep the WooCommerce price accessible without letting its screen-reader copy
 * ("Original price was: …") print, in case the theme's global rule is absent. */
.lubiwood-bundle-timeline .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.lubiwood-bundle-timeline__body {
	flex: 1 1 0;
	min-width: 0;
}

.lubiwood-bundle-timeline__name {
	font-family: var(--wd-text-font, "Karla"), Arial, sans-serif;
	font-size: clamp(1.3rem, 2.4vw, 1.7rem);
	line-height: 1.25;
	margin: 0 0 12px;
}

.lubiwood-bundle-timeline__name a {
	color: inherit;
	text-decoration: none;
}

.lubiwood-bundle-timeline__name a:hover {
	text-decoration: underline;
}

.lubiwood-bundle-timeline__copy {
	color: #555;
	line-height: 1.7;
	margin: 0 0 16px;
}

.lubiwood-bundle-timeline__copy p:last-child {
	margin-bottom: 0;
}

.lubiwood-bundle-timeline__price {
	font-size: 1.15rem;
	margin: 0 0 18px;
}

.lubiwood-bundle-timeline__price del {
	color: #9a9a9a;
	font-size: 0.92em;
	margin-right: 8px;
	text-decoration: line-through;
}

.lubiwood-bundle-timeline__price ins {
	text-decoration: none;
	font-weight: 700;
}

/* Brand-green CTA, matching the site's other primary buttons (same
 * --wd-primary-color the sale badges + hero CTA use; resolved fallback green). */
.lubiwood-bundle-timeline__cta.button {
	display: inline-flex;
	align-items: center;
	margin: 0;
	background-color: var(--wd-primary-color, rgb(122, 179, 139)) !important;
	color: #ffffff !important;
	border: 0;
	border-radius: 8px;
	padding: 13px 28px;
	font-family: var(--wd-text-font, "Karla"), Arial, sans-serif !important;
	font-weight: 600;
	letter-spacing: 0.3px;
	text-decoration: none;
	transition: filter 0.2s ease, transform 0.2s ease;
}

.lubiwood-bundle-timeline__cta.button:hover,
.lubiwood-bundle-timeline__cta.button:focus {
	color: #ffffff !important;
	filter: brightness(0.93);
}

.lubiwood-bundle-timeline__cta-arrow {
	transition: transform 0.15s ease;
}

.lubiwood-bundle-timeline__cta.button:hover .lubiwood-bundle-timeline__cta-arrow {
	transform: translateX(3px);
}

/* Stack to a single column on smaller screens: image on top, text centered. */
@media (max-width: 768px) {
	.lubiwood-bundle-timeline__item,
	.lubiwood-bundle-timeline__item:nth-child(even) {
		flex-direction: column;
		gap: 20px;
		padding: 32px 4px;
		text-align: center;
	}

	.lubiwood-bundle-timeline__media {
		width: 100%;
	}
}
