.byb-bundle {
	max-width: 960px;
	margin: 2em 0;
}

.byb-bundle__tiers {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 1.5em;
}

.byb-bundle__tier {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 10px 20px;
	border: 2px solid #e2e2e2;
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	font: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.byb-bundle__tier:hover {
	border-color: #bcbcbc;
}

.byb-bundle__tier.is-active {
	border-color: #1a7d3a;
	box-shadow: 0 0 0 1px #1a7d3a;
	background: #f3fbf5;
}

.byb-bundle__tier-qty {
	font-weight: 700;
	font-size: 1em;
}

.byb-bundle__tier-price {
	font-weight: 600;
	color: #333;
}

.byb-bundle__tier-label {
	font-size: 0.75em;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #1a7d3a;
	font-weight: 700;
}

.byb-bundle__header {
	margin-bottom: 1.25em;
}

.byb-bundle__price {
	font-size: 1.75em;
	font-weight: 700;
	line-height: 1.2;
}

.byb-bundle__rule {
	color: #555;
	margin-top: 0.25em;
}

.byb-bundle__counter {
	margin-top: 0.5em;
	font-weight: 600;
	display: inline-block;
	padding: 0.25em 0.75em;
	background: #f3f3f3;
	border-radius: 999px;
	font-size: 0.9em;
}

.byb-bundle__counter.is-complete {
	background: #e6f6ea;
	color: #1a7d3a;
}

.byb-bundle__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 14px;
}

.byb-bundle__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	border: 2px solid #e2e2e2;
	border-radius: 10px;
	padding: 12px 10px 14px;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	background: #fff;
}

.byb-bundle__item:hover {
	border-color: #bcbcbc;
}

.byb-bundle__item.is-selected {
	border-color: #1a7d3a;
	box-shadow: 0 0 0 1px #1a7d3a;
}

.byb-bundle__item.is-disabled {
	opacity: 0.4;
	pointer-events: none;
}

.byb-bundle__checkbox {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.byb-bundle__item-image img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	margin-bottom: 8px;
}

.byb-bundle__item-name {
	font-weight: 600;
	font-size: 0.95em;
	margin-bottom: 4px;
}

.byb-bundle__item-original-price {
	font-size: 0.85em;
	color: #999;
	text-decoration: line-through;
}

.byb-bundle__item-check {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 22px;
	height: 22px;
	line-height: 22px;
	border-radius: 50%;
	background: #1a7d3a;
	color: #fff;
	font-size: 13px;
	opacity: 0;
	transform: scale(0.6);
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.byb-bundle__item.is-selected .byb-bundle__item-check {
	opacity: 1;
	transform: scale(1);
}

.byb-bundle__footer {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 1.5em;
	flex-wrap: wrap;
}

.byb-bundle__qty {
	width: 60px;
}

.byb-bundle__submit[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}

.byb-bundle__message {
	font-weight: 600;
}

.byb-bundle__message.is-error {
	color: #c0392b;
}

.byb-bundle__message.is-success {
	color: #1a7d3a;
}

/* Bundle listing shortcode */
.byb-bundle-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
}

.byb-bundle-card {
	display: block;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	padding: 16px;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.15s ease;
}

.byb-bundle-card:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.byb-bundle-card__image img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	margin-bottom: 10px;
}

.byb-bundle-card__title {
	margin: 0 0 6px;
	font-size: 1.1em;
}

.byb-bundle-card__price {
	font-weight: 700;
}

/* WhatsApp floating button */
.byb-whatsapp-float {
	position: fixed;
	bottom: 22px;
	z-index: 9999;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
	text-decoration: none;
}

.byb-whatsapp-float--right {
	right: 22px;
}

.byb-whatsapp-float--left {
	left: 22px;
}

.byb-whatsapp-float:hover {
	transform: scale(1.06);
}
