.sbu-fbt-wrap {
	margin: 42px auto;
	padding: 20px;
	font-family: inherit;
	background: #fff;
	border: 1px solid #e8e8ef;
	border-radius: 20px;
	box-shadow: 0 8px 30px rgba(25, 25, 45, 0.08);
	overflow: hidden;
}

.sbu-fbt-wrap__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #ececf2;
	padding-bottom: 22px;
	margin-bottom: 24px;
}

.sbu-fbt-wrap__title {
	font-size: 28px;
	line-height: 1.2;
	font-weight: 700;
	margin: 0;
	color: #171820;
	letter-spacing: -0.5px;
}

.sbu-fbt-wrap__toggle {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid #e2e3ea;
	background: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.sbu-fbt-wrap__toggle:hover {
	background: #f8f8fb;
	border-color: #d6d7df;
}

.sbu-fbt-wrap__chevron {
	width: 10px;
	height: 10px;
	border-right: 3px solid #15161d;
	border-bottom: 3px solid #15161d;
	transform: rotate(-135deg);
	transition: transform 0.2s ease;
	margin-top: 4px;
}

.sbu-fbt-wrap.is-collapsed .sbu-fbt-wrap__chevron {
	transform: rotate(45deg);
	margin-top: -4px;
}

.sbu-fbt-wrap.is-collapsed .sbu-fbt-wrap__body {
	display: none;
}

.sbu-fbt-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 24px;
}

.sbu-fbt-tab {
	padding: 10px 20px;
	border-radius: 999px;
	border: 1px solid #e2e3ea;
	background: #fff;
	color: #4b4c56;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.sbu-fbt-tab:hover:not(.is-active) {
	border-color: #c9cbd2;
	background: #f8f8fb;
}

.sbu-fbt-tab.is-active {
	background: linear-gradient(90deg, #0b9ad1, #7c3c8c);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 4px 12px rgba(82, 36, 202, 0.25);
}

.sbu-fbt[hidden] {
	display: none;
}

.sbu-fbt__body-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	align-items: stretch;
	gap: 34px;
}

.sbu-fbt__items {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 14px 8px;
	min-width: 0;
}

.sbu-fbt__card {
	position: relative;
	flex: 0 1 29%;
	width: 29%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 5px;
	border: 1px solid #e4e5eb;
	border-radius: 16px;
	background: #fff;
	transition: all 0.2s ease;
}

.sbu-fbt__card:hover {
	border-color: #d6d7df;
	box-shadow: 0 7px 24px rgba(25, 25, 45, 0.07);
	transform: translateY(-2px);
}

.sbu-fbt__plus {
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: center;
}

.sbu-fbt__plus::before {
	    content: '+';
    width: 34px;
    height: 33px;
    border-radius: 50%;
    background: #fff;
    color: #ffffff;
    border: 1px solid #e2e3e8;
    font-size: 38px;
    line-height: 1;
    font-weight: 500;
    display: grid;
    align-items: self-end;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    background: linear-gradient(90deg, #0b9ad1, #7c3c8c);
}

.sbu-fbt__img-wrap {
	position: relative;
	width: 100%;
	height: 230px;
	background: #f7f6f2;
	border: 0;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.sbu-fbt__img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.sbu-fbt__card:hover .sbu-fbt__img {
	transform: scale(1.025);
}

.sbu-fbt__check-overlay {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 4;
	cursor: pointer;
	line-height: 0;
}

.sbu-fbt__checkbox {
	position: absolute;
	opacity: 0;
	width: 34px;
	height: 34px;
	margin: 0;
	cursor: pointer;
}

.sbu-fbt__check-box {
	display: block;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, .96);
    border: 2px solid #c9cbd2;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.15s ease;
}

.sbu-fbt__checkbox:checked + .sbu-fbt__check-box {
	    background: linear-gradient(90deg, #0b9ad1, #7c3c8c);
    border: transparent;
}

.sbu-fbt__checkbox:checked + .sbu-fbt__check-box::after {
	    content: '';
    position: absolute;
    left: 8px;
    top: 3px;
    width: 8px;
    height: 13px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.sbu-fbt__checkbox:disabled + .sbu-fbt__check-box {
	opacity: 1;
	cursor: not-allowed;
}

.sbu-fbt__meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.sbu-fbt__label,
.sbu-fbt__label strong,
span.sbu-fbt__label {
	font-size: 16px;
	font-weight: 400;
	color: #202129 !important;
	line-height: 1.45;;
}

.sbu-fbt__label {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

a.sbu-fbt__label--link {
	color: #202129 !important;
	text-decoration: none;
}

a.sbu-fbt__label--link:hover {
	    color: #1577c3 !important;
	text-decoration: none;
}
span.sbu-fbt__label strong {
    font-weight: 700;
    font-size: 18px;
}
.sbu-fbt__price {
	margin-top: auto;
    font-size: 18px;
    font-weight: 700;
    color: #be2929;
    line-height: 1.35;
    display: flex;
    align-items: center;
    gap: 20px;
}

.sbu-fbt__price .woocommerce-Price-amount {
	color: #be2929;
}


.sbu-fbt__price del {
	    display: block;
    font-weight: 400;
    color: #9699a3;
    margin: 0 0 0px;
    font-size: 18px;
}

.sbu-fbt__price del .woocommerce-Price-amount {
	color: #9699a3;
}

.sbu-fbt__price ins {
	text-decoration: none;
	color: #be2929;
}

.sbu-fbt__price ins .woocommerce-Price-amount {
	color: #be2929;
	    font-size: 20px;
}

.sbu-fbt__summary {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 10px;
	padding: 30px 28px;
	border-radius: 18px;
	min-width: 0;
}

.sbu-fbt__total {
	align-items: center;
    font-size: 20px;
    color: #000000;
    line-height: 1.4;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.sbu-fbt__total-amount { 
	display: block;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.15;
    color: #171820;
    margin-top: 10px;
    letter-spacing: -0.7px;
}

.sbu-fbt__add-btn {
	    display: block;
    width: 100%;
    min-height: 36px;
    padding: 10px 25px;
    background: #e7e7eb73;
    color: #999ba4;
    border: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    cursor: not-allowed;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sbu-fbt__add-btn:not(:disabled) {
	    color: #fff;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(82, 36, 202, 0.23);
    background: linear-gradient(90deg, #0b9ad1, #7c3c8c);
}

.sbu-fbt__add-btn:not(:disabled):hover {
	background: linear-gradient(90deg, #4420bb 0%, #581db7 100%);
	box-shadow: 0 9px 22px rgba(82, 36, 202, 0.3);
	transform: translateY(-1px);
}

.sbu-fbt__add-btn:not(:disabled):active {
	transform: translateY(0);
}

.sbu-fbt__add-btn.is-success {
	background: #2e8b48;
	color: #fff;
	box-shadow: none;
}

/* TABLET */
@media (max-width: 1199px) {

	.sbu-fbt__body-row {
		grid-template-columns: 1fr;
	}

	.sbu-fbt__summary {
		width: 100%;
	}

	.sbu-fbt__img-wrap {
		height: 200px;
	}
}

/* MOBILE — stacked list (Flipkart-style rows instead of the desktop card grid) */
@media (max-width: 767px) {
	.sbu-fbt__body {
		margin: 0 16px;
		border: 1px solid #ccc;
		border-radius: 6px;
		overflow: hidden;
	}

	.sbu-fbt-wrap {
		padding-bottom: 20px;
	}

	.sbu-fbt .sbu-fbt__body .sbu-fbt__card:first-child {
		border-radius: 4px 4px 0 0;
	}

	.sbu-fbt-wrap {
		margin: 24px 0;
		padding: 16px 0 0;
		border-radius: 0;
		border-left: none;
		border-right: none;
		box-shadow: none;
	}

	.sbu-fbt-wrap__header {
		padding: 0 16px 14px;
		margin-bottom: 14px;
	}

	.sbu-fbt-wrap__title {
		font-size: 19px;
	}

	.sbu-fbt-wrap__toggle {
		width: 36px;
		height: 36px;
	}

	.sbu-fbt-tabs {
		padding: 0px;
		margin-bottom: 16px;
		gap: 8px;
	}

	.sbu-fbt-tab {
		padding: 8px 14px;
		font-size: 13px;
	}

	.sbu-fbt__body-row {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.sbu-fbt__items {
		flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
        border-top: none;
        border-bottom: none;
	}

	.sbu-fbt__plus {
		display: none;
	}

	.sbu-fbt__card {
		flex-direction: row;
		align-items: center;
		width: 100%;
		gap: 12px;
		padding: 12px 16px;
		border: none;
		border-bottom: 1px solid #f0f0f4;
		border-radius: 0;
		background: #fff;
	}

	.sbu-fbt__card:last-child {
		border-bottom: none;
	}

	.sbu-fbt__card:hover {
		transform: none;
		box-shadow: none;
	}

	.sbu-fbt__card:first-child {
		background: #f4f4f7;
	}

	.sbu-fbt__img-wrap {
		order: 1;
		width: 56px;
		height: 56px;
		border-radius: 6px;
		flex-shrink: 0;
	}

	.sbu-fbt__meta {
		order: 2;
		flex: 1;
		min-width: 0;
		gap: 4px;
	}

	.sbu-fbt__check-overlay {
		order: 3;
		position: relative;
		top: auto;
		right: auto;
		flex-shrink: 0;
	}

	.sbu-fbt__checkbox {
		width: 24px;
		height: 24px;
	}

	.sbu-fbt__label,
	.sbu-fbt__label strong,
	span.sbu-fbt__label {
		font-size: 13px;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	span.sbu-fbt__label strong {
		font-size: 13px;
	}

	.sbu-fbt__price {
		font-size: 13px;
		gap: 8px;
		margin-top: 2px;
	}

	.sbu-fbt__price del {
		font-size: 12px;
	}

	.sbu-fbt__price ins .woocommerce-Price-amount {
		font-size: 13px;
	}

	.sbu-fbt__summary {
		padding: 14px 16px 20px;
		border-radius: 0;
		gap: 10px;
	}

	.sbu-fbt__total {
		justify-content: space-between;
		font-size: 14px;
		gap: 8px;
	}

	.sbu-fbt__total-amount {
		font-size: 20px;
		margin-top: 0;
	}

	.sbu-fbt__add-btn {
		min-height: 50px;
		font-size: 15px;
		border-radius: 8px;
	}
}

@media (max-width: 767px) {
    .sbu-fbt-tabs {
        display: flex;
        flex-wrap: nowrap !important;
        gap: 6px;
        width: 100%;
    }

    .sbu-fbt-tab {
        min-width: 0;
        white-space: nowrap;
        padding: 8px 10px;
        font-size: 11px;
        text-align: center;
    }
     .sbu-fbt-tabs {
        justify-content: center;
    }
}