.bscs-shop {
	--bscs-primary: #402722;
	--bscs-secondary: #9E5B48;
	--bscs-text: #1E1E1E;
	--bscs-accent: #FEEAC9;
	--bscs-accent-2: #A3505C;
	--bscs-cream: #FFFDF8;
	--bscs-line: rgba(64, 39, 34, .16);
	--bscs-shadow: 0 10px 30px rgba(64, 39, 34, .09);
	--bscs-radius: 14px;
	--bscs-ui-font: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
	--bscs-heading-font: Georgia, "Times New Roman", serif;
	--bscs-toolbar-top: 0px;
	position: relative;
	color: var(--bscs-text);
	font-family: var(--bscs-ui-font);
	background: #fff;
}

.bscs-shop *,
.bscs-shop *::before,
.bscs-shop *::after { box-sizing: border-box; }

.bscs-shop button,
.bscs-shop input,
.bscs-shop select { font: inherit; }

.bscs-shop svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bscs-toolbar {
	position: sticky;
	top: var(--bscs-toolbar-top);
	z-index: 30;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border: 1px solid var(--bscs-line);
	border-radius: var(--bscs-radius);
	background: rgba(255, 253, 248, .96);
	box-shadow: 0 8px 24px rgba(64, 39, 34, .06);
	backdrop-filter: blur(10px);
}

.bscs-toolbar-left { display: flex; gap: 9px; align-items: center; }

.bscs-search,
.bscs-dietary-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	border: 1px solid var(--bscs-line);
	border-radius: 999px;
	background: #fff;
	color: var(--bscs-primary);
}

.bscs-search { width: 190px; padding: 0 14px; }
.bscs-search:focus-within,
.bscs-dietary-wrap:focus-within { border-color: var(--bscs-secondary); box-shadow: 0 0 0 3px rgba(158, 91, 72, .12); }
.bscs-search-input { width: 100%; border: 0 !important; outline: 0; background: transparent !important; color: var(--bscs-text); padding: 0 !important; box-shadow: none !important; }
.bscs-search-input::placeholder { color: rgba(30, 30, 30, .65); }

.bscs-dietary-wrap { padding: 0 11px 0 13px; }
.bscs-dietary-filter { min-width: 92px; border: 0 !important; outline: 0; background: transparent !important; color: var(--bscs-primary); padding: 0 22px 0 0 !important; box-shadow: none !important; cursor: pointer; }

.bscs-category-scroll {
	display: flex;
	gap: 8px;
	align-items: center;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scrollbar-width: none;
	padding: 2px;
}
.bscs-category-scroll::-webkit-scrollbar { display: none; }

.bscs-category-pill {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 9px 15px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: rgba(64, 39, 34, .065);
	color: var(--bscs-primary) !important;
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
	text-decoration: none !important;
	white-space: nowrap;
	transition: .2s ease;
}
.bscs-category-pill:hover { border-color: var(--bscs-secondary); background: var(--bscs-accent); transform: translateY(-1px); }
.bscs-category-pill.is-active { background: var(--bscs-primary); color: #fff !important; box-shadow: 0 5px 14px rgba(64, 39, 34, .2); }

.bscs-cart-jump {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 42px;
	padding: 0 14px;
	border: 1px solid var(--bscs-primary);
	border-radius: 999px;
	background: #fff;
	color: var(--bscs-primary);
	font-weight: 700;
	cursor: pointer;
}
.bscs-cart-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--bscs-accent-2);
	color: #fff;
	font-size: 11px;
}

.bscs-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(285px, 320px);
	gap: 18px;
	align-items: start;
	margin-top: 22px;
}

.bscs-products-area { min-width: 0; }
.bscs-products-heading-row { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin: 0 0 14px; }
.bscs-products-heading {
	margin: 0;
	font-family: var(--bscs-heading-font);
	font-size: clamp(25px, 2vw, 36px);
	line-height: 1.15;
	font-weight: 700;
	color: var(--bscs-primary);
}
.bscs-result-count { color: rgba(30, 30, 30, .62); font-size: 13px; }

.bscs-products-grid {
	display: grid;
	grid-template-columns: repeat(var(--bscs-columns, 5), minmax(0, 1fr));
	gap: 14px;
	align-items: stretch;
}

.bscs-product-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--bscs-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(64, 39, 34, .04);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.bscs-product-card:hover { transform: translateY(-3px); border-color: rgba(158, 91, 72, .45); box-shadow: var(--bscs-shadow); }

.bscs-product-image {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--bscs-accent);
}
.bscs-product-image img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; transition: transform .35s ease; }
.bscs-product-card:hover .bscs-product-image img { transform: scale(1.035); }

.bscs-badge {
	position: absolute;
	right: 9px;
	bottom: 9px;
	max-width: calc(100% - 18px);
	padding: 6px 9px;
	border-radius: 999px;
	background: var(--bscs-accent);
	color: var(--bscs-primary);
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 3px 10px rgba(64, 39, 34, .15);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bscs-product-body { display: flex; flex: 1; flex-direction: column; gap: 9px; padding: 12px; }
.bscs-product-title { margin: 0; font-family: var(--bscs-heading-font); font-size: 16px; line-height: 1.25; font-weight: 700; }
.bscs-product-title a { color: var(--bscs-primary) !important; text-decoration: none !important; }
.bscs-product-title a:hover { color: var(--bscs-secondary) !important; }

.bscs-dietary-tags { display: flex; flex-wrap: wrap; gap: 5px; min-height: 19px; }
.bscs-dietary-tags span { padding: 4px 6px; border-radius: 5px; background: rgba(64, 39, 34, .06); color: rgba(64, 39, 34, .78); font-size: 9px; font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: .035em; }

.bscs-product-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.bscs-price { color: var(--bscs-primary); font-size: 15px; font-weight: 800; white-space: nowrap; }
.bscs-price del { opacity: .5; font-size: .78em; }
.bscs-price ins { text-decoration: none; }

.bscs-product-button.button {
	min-height: 32px;
	padding: 7px 10px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: var(--bscs-primary) !important;
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	line-height: 1.15 !important;
	text-align: center;
	text-decoration: none !important;
	box-shadow: none !important;
}
.bscs-product-button.button:hover { background: var(--bscs-secondary) !important; }
.bscs-product-button.loading { opacity: .55; pointer-events: none; }
.bscs-product-button.added::after { content: "✓"; margin-left: 5px; }

.bscs-load-more {
	display: block;
	min-width: 150px;
	margin: 22px auto 0;
	padding: 12px 20px;
	border: 1px solid var(--bscs-primary);
	border-radius: 999px;
	background: #fff;
	color: var(--bscs-primary);
	font-weight: 800;
	cursor: pointer;
}
.bscs-load-more:hover { background: var(--bscs-accent); }
.bscs-load-more[hidden] { display: none; }

.bscs-cart-panel {
	min-width: 0;
	border: 1px solid var(--bscs-line);
	border-radius: var(--bscs-radius);
	background: var(--bscs-cream);
	box-shadow: 0 4px 16px rgba(64, 39, 34, .06);
	overflow: hidden;
}
.bscs-has-sticky-cart .bscs-cart-panel { position: sticky; top: calc(var(--bscs-toolbar-top) + 78px); }

.bscs-delivery-trigger {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 10px;
	width: calc(100% - 20px);
	margin: 10px;
	padding: 11px 13px;
	border: 0;
	border-radius: 10px;
	background: var(--bscs-secondary);
	color: #fff;
	text-align: left;
	cursor: pointer;
}
.bscs-delivery-trigger > span:first-child { display: inline-flex; }
.bscs-delivery-trigger strong { display: block; font-size: 14px; }
.bscs-delivery-trigger small { display: block; margin-top: 2px; opacity: .88; font-size: 11px; line-height: 1.25; }
.bscs-delivery-trigger > svg { width: 16px; height: 16px; }

.bscs-cart-items { max-height: min(47vh, 500px); overflow-y: auto; border-top: 1px solid var(--bscs-line); border-bottom: 1px solid var(--bscs-line); background: #fff; }
.bscs-cart-item { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 9px; padding: 12px; border-bottom: 1px solid var(--bscs-line); }
.bscs-cart-item:last-child { border-bottom: 0; }
.bscs-cart-thumb { display: block; width: 58px; height: 58px; overflow: hidden; border-radius: 8px; background: var(--bscs-accent); }
.bscs-cart-thumb img { width: 100% !important; height: 100% !important; object-fit: cover; }
.bscs-cart-item-content { min-width: 0; }
.bscs-cart-item-top,
.bscs-cart-item-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.bscs-cart-item-bottom { align-items: center; margin-top: 9px; }
.bscs-cart-item-name { color: var(--bscs-primary) !important; font-family: var(--bscs-heading-font); font-size: 13px; font-weight: 700; line-height: 1.25; text-decoration: none !important; }
.bscs-remove-item { flex: 0 0 auto; padding: 2px; border: 0; background: transparent; color: rgba(64, 39, 34, .58); cursor: pointer; }
.bscs-remove-item:hover { color: var(--bscs-accent-2); }
.bscs-remove-item svg { width: 15px; height: 15px; }
.bscs-cart-item-bottom strong { color: var(--bscs-primary); font-size: 12px; white-space: nowrap; }

.bscs-quantity { display: inline-flex; align-items: center; overflow: hidden; border: 1px solid var(--bscs-line); border-radius: 999px; background: #fff; }
.bscs-quantity button { width: 27px; height: 27px; padding: 0; border: 0; background: transparent; color: var(--bscs-primary); font-weight: 800; cursor: pointer; }
.bscs-qty-input { width: 28px !important; height: 27px !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: var(--bscs-text); font-size: 11px; font-weight: 800; text-align: center; appearance: textfield; box-shadow: none !important; }
.bscs-qty-input::-webkit-inner-spin-button,
.bscs-qty-input::-webkit-outer-spin-button { appearance: none; margin: 0; }

.bscs-cart-totals { padding: 12px 14px; }
.bscs-cart-totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 13px; }
.bscs-cart-totals strong { color: var(--bscs-primary); }
.bscs-cart-totals .bscs-grand-total { margin-top: 5px; padding-top: 11px; border-top: 1px solid var(--bscs-line); font-family: var(--bscs-heading-font); font-size: 16px; font-weight: 700; }

.bscs-checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 12px 12px;
	padding: 12px 18px;
	border-radius: 10px;
	background: var(--bscs-primary);
	color: #fff !important;
	font-weight: 800;
	text-decoration: none !important;
}
.bscs-checkout-button:hover { background: var(--bscs-secondary); }
.bscs-checkout-button svg { width: 17px; height: 17px; }
.bscs-checkout-note { display: block; margin: -4px 14px 12px; color: rgba(64, 39, 34, .7); font-size: 11px; line-height: 1.35; text-align: center; }

.bscs-empty-cart { padding: 32px 20px; text-align: center; }
.bscs-empty-cart > svg { width: 42px; height: 42px; color: var(--bscs-secondary); }
.bscs-empty-cart h3 { margin: 10px 0 6px; color: var(--bscs-primary); font-family: var(--bscs-heading-font); font-size: 18px; }
.bscs-empty-cart p { margin: 0; color: rgba(30, 30, 30, .68); font-size: 13px; line-height: 1.45; }

.bscs-empty-products { grid-column: 1 / -1; padding: 50px 24px; border: 1px dashed var(--bscs-line); border-radius: var(--bscs-radius); background: var(--bscs-cream); text-align: center; }
.bscs-empty-products h3 { margin: 0 0 6px; color: var(--bscs-primary); font-family: var(--bscs-heading-font); }
.bscs-empty-products p { margin: 0; }

.bscs-status {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 10005;
	max-width: 320px;
	padding: 11px 15px;
	border-radius: 9px;
	background: var(--bscs-primary);
	color: #fff;
	font-weight: 700;
	box-shadow: var(--bscs-shadow);
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
	transition: .2s ease;
}
.bscs-status.is-visible { opacity: 1; transform: translateY(0); }
.bscs-status.is-error { background: var(--bscs-accent-2); }

.bscs-shop.is-loading .bscs-products-grid { opacity: .45; pointer-events: none; }
.bscs-shop.is-loading .bscs-products-area::after {
	content: "";
	position: fixed;
	left: 50%;
	top: 50%;
	z-index: 90;
	width: 34px;
	height: 34px;
	margin: -17px;
	border: 3px solid var(--bscs-accent);
	border-top-color: var(--bscs-primary);
	border-radius: 50%;
	animation: bscs-spin .75s linear infinite;
}
@keyframes bscs-spin { to { transform: rotate(360deg); } }

.bscs-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px; }
.bscs-modal.is-open { display: flex; }
.bscs-modal-backdrop { position: absolute; inset: 0; background: rgba(30, 20, 18, .72); backdrop-filter: blur(3px); }
.bscs-modal-dialog { position: relative; z-index: 1; width: min(100%, 520px); padding: clamp(24px, 4vw, 42px); border-radius: 18px; background: var(--bscs-cream); box-shadow: 0 28px 80px rgba(0, 0, 0, .3); }
.bscs-modal-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(64, 39, 34, .08); color: var(--bscs-primary); font-size: 25px; line-height: 1; cursor: pointer; }
.bscs-eyebrow { margin: 0 0 8px !important; color: var(--bscs-secondary); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.bscs-modal-dialog h2 { margin: 0 35px 10px 0; color: var(--bscs-primary); font-family: var(--bscs-heading-font); font-size: clamp(26px, 4vw, 36px); line-height: 1.12; }
.bscs-modal-dialog > p:not(.bscs-eyebrow) { margin: 0 0 22px; color: rgba(30, 30, 30, .72); line-height: 1.5; }
.bscs-delivery-form { display: grid; gap: 15px; }
.bscs-delivery-form label > span { display: block; margin-bottom: 6px; color: var(--bscs-primary); font-weight: 800; }
.bscs-delivery-form input,
.bscs-delivery-form select { width: 100%; min-height: 48px; padding: 10px 13px !important; border: 1px solid var(--bscs-line) !important; border-radius: 9px !important; background: #fff !important; color: var(--bscs-text); box-shadow: none !important; }
.bscs-delivery-form input:focus,
.bscs-delivery-form select:focus { outline: 0; border-color: var(--bscs-secondary) !important; box-shadow: 0 0 0 3px rgba(158, 91, 72, .12) !important; }
.bscs-modal-error { min-height: 0; color: var(--bscs-accent-2); font-weight: 700; }
.bscs-modal-error:not(:empty) { padding: 9px 11px; border-radius: 7px; background: rgba(163, 80, 92, .1); }
.bscs-save-delivery { min-height: 48px; padding: 11px 20px; border: 0; border-radius: 9px; background: var(--bscs-primary); color: #fff; font-weight: 800; cursor: pointer; }
.bscs-save-delivery:hover { background: var(--bscs-secondary); }
.bscs-save-delivery:disabled { opacity: .55; cursor: wait; }
body.bscs-modal-open { overflow: hidden; }

@media (max-width: 1320px) {
	.bscs-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1120px) {
	.bscs-toolbar { grid-template-columns: minmax(0, 1fr) auto; }
	.bscs-toolbar-left { grid-column: 1; }
	.bscs-category-scroll { grid-column: 1 / -1; grid-row: 2; }
	.bscs-cart-jump { grid-column: 2; grid-row: 1; }
	.bscs-layout { grid-template-columns: minmax(0, 1fr) 290px; }
	.bscs-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.bscs-layout { grid-template-columns: 1fr; }
	.bscs-has-sticky-cart .bscs-cart-panel { position: static; }
	.bscs-cart-panel { order: -1; }
	.bscs-cart-items { max-height: 360px; }
	.bscs-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
	.bscs-toolbar { position: relative; top: auto; grid-template-columns: 1fr auto; padding: 10px; border-radius: 10px; }
	.bscs-toolbar-left { min-width: 0; }
	.bscs-search { width: min(100%, 190px); }
	.bscs-dietary-wrap { display: none; }
	.bscs-cart-total { display: none; }
	.bscs-cart-jump { padding: 0 11px; }
	.bscs-layout { margin-top: 16px; }
	.bscs-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.bscs-product-body { padding: 10px; }
	.bscs-product-title { font-size: 14px; }
	.bscs-product-footer { align-items: flex-end; flex-direction: column; }
	.bscs-product-button.button { width: 100%; }
	.bscs-products-heading-row { align-items: center; }
	.bscs-status { right: 12px; bottom: 12px; left: 12px; max-width: none; }
}

@media (max-width: 420px) {
	.bscs-products-grid { grid-template-columns: 1fr; }
	.bscs-product-footer { flex-direction: row; align-items: center; }
	.bscs-product-button.button { width: auto; }
}

/* v1.1 refinements */
.bscs-shop { background: transparent; }
.bscs-product-image.bscs-open-product {
	width: 100%; padding: 0; border: 0; border-radius: 0; cursor: pointer; text-align: left;
}
.bscs-title-button {
	appearance: none; width: 100%; padding: 0; border: 0; background: transparent; color: var(--bscs-primary);
	font-family: Georgia, "Times New Roman", serif !important; font-size: inherit; font-weight: inherit; line-height: inherit;
	text-align: left; cursor: pointer;
}
.bscs-product-title,
.bscs-product-title * { font-family: Georgia, "Times New Roman", serif !important; }
.bscs-product-button.button {
	display: inline-flex !important; align-items: center; justify-content: center;
	min-width: 88px; min-height: 38px; padding: 10px 13px !important;
	white-space: normal; word-break: normal;
}

.bscs-fulfilment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; border: 0; }
.bscs-fulfilment-options legend { grid-column: 1 / -1; margin-bottom: 2px; color: var(--bscs-primary); font-weight: 800; }
.bscs-fulfilment-card { position: relative; display: block; cursor: pointer; }
.bscs-fulfilment-card input { position: absolute; opacity: 0; pointer-events: none; }
.bscs-fulfilment-card > span {
	display: block; min-height: 92px; padding: 14px; border: 1px solid var(--bscs-line); border-radius: 10px;
	background: #fff; transition: .2s ease;
}
.bscs-fulfilment-card strong { display: block; margin-bottom: 5px; color: var(--bscs-primary); font-family: var(--bscs-heading-font); font-size: 17px; }
.bscs-fulfilment-card small { display: block; color: rgba(30,30,30,.7); line-height: 1.35; }
.bscs-fulfilment-card input:checked + span { border-color: var(--bscs-secondary); background: var(--bscs-accent); box-shadow: 0 0 0 2px rgba(158,91,72,.12); }
.bscs-fulfilment-card input:focus-visible + span { outline: 2px solid var(--bscs-secondary); outline-offset: 2px; }

.bscs-product-modal { padding: 24px; }
.bscs-product-modal-dialog {
	position: relative; z-index: 1; width: min(1180px, 96vw); max-height: 90vh; overflow: auto;
	border-radius: 18px; background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.3);
}
.bscs-product-modal-content { min-height: 260px; }
.bscs-modal-loading { display: grid; min-height: 260px; place-items: center; color: var(--bscs-primary); font-weight: 800; }
.bscs-product-modal-layout { display: grid; grid-template-columns: minmax(280px, 40%) minmax(0, 1fr); min-height: 500px; }
.bscs-product-modal-media { padding: 28px; background: var(--bscs-cream); }
.bscs-product-modal-media img { width: 100% !important; height: auto !important; max-height: 540px; object-fit: cover; border-radius: 12px; }
.bscs-product-modal-main { min-width: 0; padding: 32px 34px 24px; }
.bscs-product-modal-header { padding-right: 36px; padding-bottom: 20px; border-bottom: 1px solid var(--bscs-line); }
.bscs-product-modal-header h2 { margin: 0 0 8px; color: var(--bscs-primary); font-family: var(--bscs-heading-font); font-size: clamp(27px, 3vw, 40px); line-height: 1.08; }
.bscs-product-modal-intro { color: rgba(30,30,30,.78); line-height: 1.5; }
.bscs-product-modal-intro p { margin: 0; }
.bscs-product-options { max-height: 52vh; overflow: auto; }
.bscs-option-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; padding: 22px 2px; border-bottom: 1px solid var(--bscs-line); }
.bscs-option-copy h3 { margin: 0 0 7px; color: var(--bscs-primary); font-family: var(--bscs-heading-font); font-size: 20px; line-height: 1.2; }
.bscs-option-description { color: rgba(30,30,30,.76); font-size: 14px; line-height: 1.45; }
.bscs-option-description p { margin: 0; }
.bscs-option-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.bscs-option-tags span { padding: 4px 6px; border: 1px solid var(--bscs-line); border-radius: 4px; color: var(--bscs-primary); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.bscs-option-buy { display: flex; min-width: 120px; flex-direction: column; align-items: flex-end; justify-content: center; gap: 10px; }
.bscs-option-price { color: var(--bscs-primary); font-size: 17px; white-space: nowrap; }
.bscs-modal-quantity { display: grid; grid-template-columns: 34px 52px 34px; overflow: hidden; border: 1px solid var(--bscs-line); border-radius: 9px; }
.bscs-modal-quantity button { width: 34px; height: 38px; padding: 0; border: 0; background: var(--bscs-cream); color: var(--bscs-primary); font-size: 18px; font-weight: 800; cursor: pointer; }
.bscs-modal-quantity input { width: 52px !important; height: 38px !important; padding: 0 !important; border: 0 !important; border-right: 1px solid var(--bscs-line) !important; border-left: 1px solid var(--bscs-line) !important; border-radius: 0 !important; text-align: center; box-shadow: none !important; }
.bscs-product-modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 18px; }
.bscs-product-modal-footer small { max-width: 62%; color: rgba(30,30,30,.65); line-height: 1.35; }
.bscs-add-selections { min-height: 44px; padding: 11px 18px; border: 0; border-radius: 9px; background: var(--bscs-primary); color: #fff; font-weight: 800; cursor: pointer; }
.bscs-add-selections:hover { background: var(--bscs-secondary); }
.bscs-add-selections:disabled { opacity: .55; cursor: not-allowed; }
.bscs-product-modal-error { color: var(--bscs-accent-2); font-weight: 700; }
.bscs-product-modal-error:not(:empty) { margin-top: 12px; padding: 10px 12px; border-radius: 7px; background: rgba(163,80,92,.1); }

@media (max-width: 820px) {
	.bscs-product-modal { padding: 10px; }
	.bscs-product-modal-layout { grid-template-columns: 1fr; }
	.bscs-product-modal-media { padding: 18px; }
	.bscs-product-modal-media img { max-height: 320px; }
	.bscs-product-modal-main { padding: 24px 20px 20px; }
	.bscs-option-row { grid-template-columns: 1fr; }
	.bscs-option-buy { flex-direction: row; align-items: center; justify-content: space-between; }
	.bscs-product-modal-footer { align-items: stretch; flex-direction: column; }
	.bscs-product-modal-footer small { max-width: none; }
	.bscs-add-selections { width: 100%; }
}
@media (max-width: 520px) {
	.bscs-fulfilment-options { grid-template-columns: 1fr; }
	.bscs-fulfilment-card > span { min-height: auto; }
}
.bscs-cart-thumb { padding: 0; border: 0; cursor: pointer; }
.bscs-cart-item-name { padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }

/* v1.1.3 product minimums */
.bscs-product-minimums,
.bscs-option-minimums,
.bscs-cart-minimums {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 9px;
	color: var(--bscs-secondary);
	font-family: var(--bscs-body-font);
	font-size: 11px;
	font-weight: 800;
	line-height: 1.35;
}
.bscs-product-minimums { margin-top: 8px; }
.bscs-product-minimums span {
	display: inline-flex;
	align-items: center;
	padding: 4px 7px;
	border-radius: 999px;
	background: var(--bscs-accent);
}
.bscs-option-minimums { margin-top: 10px; font-size: 12px; }
.bscs-cart-minimums { margin: 4px 0 8px; font-size: 10px; }
.bscs-cart-item-error {
	margin: 5px 0 9px;
	padding: 7px 8px;
	border-radius: 6px;
	background: rgba(163,80,92,.1);
	color: var(--bscs-accent-2);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.35;
}
.bscs-cart-rule-summary {
	margin: 0 12px 12px;
	padding: 10px 11px;
	border: 1px solid rgba(163,80,92,.24);
	border-radius: 7px;
	background: rgba(163,80,92,.09);
	color: var(--bscs-accent-2);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}
.bscs-checkout-button.is-invalid-order-rules {
	opacity: .58;
	cursor: not-allowed;
}
.bscs-minimum-checkout-note { color: var(--bscs-accent-2); }

/* v1.1.4 mobile cart drawer */
.bscs-cart-shell { min-width: 0; }
.bscs-cart-sheet-backdrop,
.bscs-cart-mobile-chrome,
.bscs-mobile-actions-wrap { display: none; }
.bscs-mobile-view-cart,
.bscs-mobile-checkout {
	font-family: var(--bscs-ui-font);
}
.bscs-mobile-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}
.bscs-mobile-view-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 12px 20px;
	border: 2px solid var(--bscs-primary);
	border-radius: 999px;
	background: #fff;
	color: var(--bscs-primary);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(64,39,34,.08);
}
.bscs-mobile-view-cart-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.bscs-mobile-view-cart-count {
	position: absolute;
	top: 8px;
	left: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: #6eb7f4;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}
.bscs-mobile-checkout.bscs-checkout-button {
	flex: 1 1 0;
	margin: 0;
	min-height: 54px;
	border-radius: 999px;
	background: #6eb7f4;
	color: #fff !important;
	font-size: 15px;
}
.bscs-mobile-checkout.bscs-checkout-button:hover { background: #4ca6ef; }
.bscs-mobile-checkout.bscs-checkout-button.is-invalid-order-rules,
.bscs-mobile-checkout.bscs-checkout-button.is-empty-cart { opacity: .55; }
body.bscs-cart-open { overflow: hidden; }

@media (max-width: 680px) {
	.bscs-shop { padding-bottom: 104px; }
	.bscs-toolbar {
		position: relative;
		top: auto;
		display: flex;
		flex-direction: column;
		gap: 12px;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		backdrop-filter: none;
	}
	.bscs-category-scroll {
		order: 1;
		width: 100%;
		padding: 2px 0 6px;
	}
	.bscs-toolbar-left {
		order: 2;
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		gap: 10px;
		width: 100%;
	}
	.bscs-search {
		width: 100%;
		height: 48px;
		padding: 0 16px;
	}
	.bscs-dietary-wrap {
		display: flex;
		height: 48px;
		padding: 0 13px 0 14px;
	}
	.bscs-dietary-filter { min-width: 88px; }
	.bscs-cart-jump { display: none; }
	.bscs-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.bscs-product-card { border-radius: 10px; }
	.bscs-product-title { font-size: 14px; }
	.bscs-product-footer {
		flex-direction: row;
		align-items: center;
	}
	.bscs-product-button.button {
		min-width: 0;
		padding: 9px 10px !important;
		font-size: 10px !important;
	}
	.bscs-cart-shell {
		position: fixed;
		inset: 0;
		z-index: 9998;
		pointer-events: none;
	}
	.bscs-cart-sheet-backdrop {
		display: block;
		position: absolute;
		inset: 0;
		border: 0;
		background: rgba(25, 18, 16, .46);
		opacity: 0;
		transition: opacity .22s ease;
	}
	.bscs-cart-panel {
		position: absolute !important;
		left: 0;
		right: 0;
		bottom: 0;
		max-height: min(76vh, 760px);
		border-radius: 18px 18px 0 0;
		box-shadow: 0 -12px 36px rgba(0,0,0,.24);
		transform: translateY(102%);
		transition: transform .24s ease;
		overflow: hidden;
	}
	.bscs-cart-mobile-chrome {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 14px 16px;
		border-bottom: 1px solid var(--bscs-line);
		background: #fff;
	}
	.bscs-cart-mobile-chrome strong {
		color: var(--bscs-primary);
		font-family: var(--bscs-heading-font);
		font-size: 20px;
		line-height: 1.1;
	}
	.bscs-cart-mobile-chrome .bscs-cart-close {
		width: 36px;
		height: 36px;
		border: 0;
		border-radius: 50%;
		background: rgba(64,39,34,.08);
		color: var(--bscs-primary);
		font-size: 26px;
		line-height: 1;
		cursor: pointer;
	}
	.bscs-cart-shell.is-open { pointer-events: auto; }
	.bscs-cart-shell.is-open .bscs-cart-sheet-backdrop { opacity: 1; }
	.bscs-cart-shell.is-open .bscs-cart-panel { transform: translateY(0); }
	.bscs-cart-inner {
		display: flex;
		flex-direction: column;
		max-height: calc(min(76vh, 760px) - 64px);
	}
	.bscs-cart-items { max-height: none; flex: 1 1 auto; }
	.bscs-mobile-actions-wrap {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9997;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(255,253,248,.95);
		backdrop-filter: blur(10px);
		border-top: 1px solid var(--bscs-line);
	}
	.bscs-has-sticky-cart .bscs-cart-panel { top: auto; }
	.bscs-result-count { font-size: 12px; }
}

@media (max-width: 420px) {
	.bscs-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.bscs-toolbar-left { grid-template-columns: 110px minmax(0, 1fr); }
	.bscs-mobile-view-cart { min-width: 0; padding: 12px 16px; }
	.bscs-mobile-view-cart span:last-child { font-size: 13px; }
}

/* v1.1.5 cart remove button beside quantity */
.bscs-cart-item-controls {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.bscs-remove-item-inline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid var(--bscs-line);
	border-radius: 999px;
	background: #fff;
	color: rgba(64, 39, 34, .58);
}
.bscs-remove-item-inline:hover {
	border-color: rgba(163,80,92,.28);
	background: rgba(163,80,92,.06);
	color: var(--bscs-accent-2);
}
.bscs-remove-item-inline svg {
	width: 14px;
	height: 14px;
}

@media (max-width: 680px) {
	.bscs-cart-item-bottom {
		align-items: center;
	}
	.bscs-cart-item-controls {
		gap: 6px;
	}
	.bscs-remove-item-inline {
		width: 28px;
		height: 28px;
	}
}

/* v1.1.6 branded full-screen mobile cart */
@media (max-width: 680px) {
	.bscs-mobile-actions-wrap {
		background: rgba(254,234,201,.96);
		border-top: 1px solid rgba(64,39,34,.14);
	}
	.bscs-mobile-view-cart {
		border-color: var(--bscs-primary);
		background: #fffdf8;
		color: var(--bscs-primary);
		box-shadow: 0 8px 20px rgba(64,39,34,.10);
	}
	.bscs-mobile-view-cart-count {
		background: var(--bscs-secondary);
		color: #fff;
	}
	.bscs-mobile-checkout.bscs-checkout-button {
		background: var(--bscs-primary);
		color: #fff !important;
		box-shadow: 0 8px 20px rgba(64,39,34,.12);
	}
	.bscs-mobile-checkout.bscs-checkout-button:hover {
		background: var(--bscs-secondary);
	}
	.bscs-cart-sheet-backdrop {
		background: rgba(34, 23, 20, .30);
	}
	.bscs-cart-panel {
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		max-height: 100dvh;
		width: 100%;
		border-radius: 0;
		border: 0;
		background: var(--bscs-cream);
		box-shadow: none;
		transform: translateY(100%);
	}
	.bscs-cart-shell.is-open .bscs-cart-panel {
		transform: translateY(0);
	}
	.bscs-cart-mobile-chrome {
		padding: 18px 18px 16px;
		border-bottom: 1px solid var(--bscs-line);
		background: var(--bscs-cream);
	}
	.bscs-cart-mobile-chrome strong {
		font-size: 28px;
		font-weight: 700;
	}
	.bscs-cart-mobile-chrome .bscs-cart-close {
		background: rgba(64,39,34,.08);
		color: var(--bscs-primary);
	}
	.bscs-cart-inner {
		max-height: 100dvh;
		height: 100dvh;
		background: var(--bscs-cream);
	}
	.bscs-delivery-trigger {
		width: calc(100% - 24px);
		margin: 12px;
		padding: 14px 15px;
		border-radius: 14px;
		background: var(--bscs-secondary);
	}
	.bscs-cart-items {
		background: #fff;
		border-top: 1px solid var(--bscs-line);
		border-bottom: 1px solid var(--bscs-line);
	}
	.bscs-cart-item {
		padding: 14px 16px;
	}
	.bscs-cart-totals {
		padding: 16px 16px 8px;
		background: var(--bscs-cream);
	}
	.bscs-cart-totals .bscs-grand-total {
		font-size: 18px;
	}
	.bscs-checkout-button {
		margin: 0 16px 14px;
		min-height: 56px;
		border-radius: 14px;
		background: var(--bscs-primary);
		font-size: 17px;
	}
	.bscs-checkout-button:hover {
		background: var(--bscs-secondary);
	}
	.bscs-checkout-note {
		margin: -4px 16px 14px;
	}
}

/* v1.1.7 reliable full-screen cart close control */
@media (max-width: 680px) {
	.bscs-cart-panel {
		display: flex;
		flex-direction: column;
	}
	.bscs-cart-mobile-chrome {
		position: relative;
		z-index: 4;
		flex: 0 0 auto;
	}
	.bscs-cart-mobile-chrome .bscs-cart-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		width: auto;
		min-width: 78px;
		height: 40px;
		padding: 0 12px;
		border: 1px solid rgba(64,39,34,.12);
		border-radius: 999px;
		background: #fff;
		font-family: var(--bscs-ui-font);
		font-size: 14px;
		font-weight: 800;
		line-height: 1;
		box-shadow: 0 4px 12px rgba(64,39,34,.08);
	}
	.bscs-cart-mobile-chrome .bscs-cart-close span:last-child {
		font-family: Arial, sans-serif;
		font-size: 22px;
		font-weight: 400;
		line-height: 1;
	}
	.bscs-cart-panel-content {
		flex: 1 1 auto;
		min-height: 0;
		overflow: hidden;
	}
	.bscs-cart-panel-content > .bscs-cart-inner {
		height: 100%;
		max-height: none;
	}
}

/* v2.0.0 — full product page link from the quick-order modal */
.bscs-product-page-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	padding: 10px 14px;
	border: 1px solid var(--bscs-primary);
	border-radius: 9px;
	background: transparent;
	color: var(--bscs-primary) !important;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none !important;
}
.bscs-product-page-link:hover {
	background: var(--bscs-primary);
	color: #fff !important;
}
