:root {
	--red: #e30613;
	--blue: #0875ad;
	--dark: #242424;
	--text: #252525;
	--white: #fff;
	--border: #ddd;
	--icon: #171717;
	--search-bg: #f5f5f5;
	--search-border: #d8d8d8;
	--input-text: #333;
	--placeholder: #777;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
	min-width: 0;
	background: var(--white);
	font-family: 'Poppins', sans-serif;
	color: var(--text);
	overflow-x: none;
}

body {
	padding-bottom: 72px;
}

button,
input {
	font: inherit;
}

button {
	cursor: pointer;
}

.app {
	width: 100%;
	max-width: 480px;
	min-height: 100vh;
	margin: 0 auto;
	background: var(--white);
	overflow: hidden;
}

.mobile-header {
	height: 112px;
	background: var(--white);
	border-bottom: 1px solid var(--border);
	position: relative;
	z-index: 20;
}

.mobile-header-main {
	height: 62px;
	display: grid;
	grid-template-columns: 54px 54px minmax(0, 1fr) 54px 54px;
	align-items: center;
	padding: 0 4px;
}

.head-action {
	border: 0;
	background: transparent;
	padding: 0;
	text-align: center;
	color: var(--icon);
	font-size: 11px;
	line-height: 14px;
	white-space: nowrap;
}

.head-icon {
	height: 29px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 23px;
	line-height: 1;
}

.logo {
	min-width: 0;
	color: var(--red);
	text-align: center;
	font-size: 32px;
	font-weight: 900;
	letter-spacing: -2.5px;
	white-space: nowrap;
	margin-top: 5px;
}

.logo img {
	width: 50px;
	height: auto;
}

.search-row {
	padding: 10px;
	background-color: var(--search-bg);
	margin-top: 15px !important;
}

.search {
	width: 100%;
	height: 50px !important;
	border: 1px solid var(--search-border);
	border-radius: 24px;
	background: #fff !important;
	display: flex;
	align-items: center;
	padding: 14px !important;
}

.search input {
	min-width: 0;
	flex: 1;
	border: 0;
	outline: 0;
	font-size: 17px;
	color: var(--input-text);
	background: transparent;
	height: 50px !important;
}

.search input::placeholder {
	color: var(--placeholder);
}

.search-btn {
	border: 0;
	background: transparent;
	font-size: 26px;
	line-height: 1;
}

.bottom {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	width: 100%;
	height: 70px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	align-items: center;
	background: var(--dark);
	color: var(--white);
	box-shadow: 0 -2px 7px rgba(0, 0, 0, .35);
	transform: translateY(0);
	opacity: 1;
	transition: transform .3s cubic-bezier(.4, 0, .2, 1), opacity .25s ease;
	will-change: transform, opacity;
}

.bottom.bottom-hidden {
	transform: translateY(115%);
	opacity: 0;
	pointer-events: none;
}

.bottom-item {
	width: 100%;
	text-align: center;
	font-size: 11px;
	line-height: 15px;
}

.bottom-icon {
	height: 29px;
	font-size: 23px;
	line-height: 26px;
}

.menu {
	width: 86px;
	height: 86px;
	margin: -38px auto 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 7px solid transparent;
	border-radius: 50%;
	background: var(--blue);
	color: var(--white);
	font-size: 30px;
	box-shadow: 0 2px 6px #111;
}

.cart-icon {
	position: relative;
	display: inline-block;
}

.count {
	position: absolute;
	top: -5px;
	right: 11px;
	min-width: 19px;
	height: 19px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--blue);
	color: var(--white);
	font-size: 10px;
	font-weight: 700;
}

@media(min-width:768px) {

	.app,
	.bottom {
		display: none;
	}
}

@media (max-width: 360px) {
	.mobile-header-main {
		grid-template-columns: 47px 47px minmax(0, 1fr) 47px 47px;
	}

	.logo img {
		width: 100px !important;
		height: auto !important;
	}

	.logo {
		font-size: 27px;
	}

	.head-action {
		font-size: 9px;
	}

	.head-icon {
		font-size: 20px;
	}

	.bottom-item {
		font-size: 9px;
	}

	.menu {
		width: 78px;
		height: 78px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bottom {
		transition: none;
	}
}

.mobile-items-section {
	padding: 14px 10px 20px;
	background: var(--white);
}

.items-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0 2px 12px;
}

.items-title {
	margin: 0;
	font-size: 19px;
	font-weight: 500;
	color: var(--text);
	display: flex !important;
	align-items: center !important;
}

.items-count {
	font-size: 12px;
	color: var(--placeholder);
}

.items-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 10px;
}

.product {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid var(--border);
	background: var(--white);
	overflow: hidden;
	transition: opacity .2s;
}

.product-media {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--search-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.product-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.product-initials {
	font-size: 34px;
	font-weight: 400;
	letter-spacing: -1px;
	color: var(--search-border);
}

.product-tag {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 3px 8px;
	border-radius: 12px;
	background: var(--red);
	color: var(--white);
	font-size: 11px;
	font-weight: 700;
	line-height: 14px;
}

.product-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 4px;
	padding: 10px;
}

.product-category {
	margin: 0;
	font-size: 11px;
	color: var(--placeholder);
}

.product-name {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	color: var(--text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.product-foot {
	margin-top: auto;
	padding-top: 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.product-price {
	font-size: 16px;
	font-weight: 700;
	color: var(--red);
	white-space: nowrap;
	display: none;
}

.product-price s {
	display: none;
	font-size: 11px;
	font-weight: 400;
	color: var(--placeholder);
}

.product-add {
	flex: none;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: var(--icon);
	font-size: 22px;
	line-height: 1;
}

.product-add:active {
	transform: scale(.94);
}

.product-add:focus-visible {
	outline: 2px solid var(--dark);
	outline-offset: 2px;
}

.empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 48px 24px;
	text-align: center;
}

.empty-state[hidden],
.empty-btn[hidden] {
	display: none;
}

.empty-icon {
	width: 64px;
	height: 64px;
	margin-bottom: 14px;
	color: var(--dark);
}

.empty-title {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 700;
	color: var(--dark);
	overflow-wrap: anywhere;
}

.empty-text {
	max-width: 280px;
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--placeholder);
}

.empty-btn {
	min-height: 42px;
	margin-top: 18px;
	padding: 0 22px;
	border: 0;
	border-radius: 21px;
	background: var(--red);
	color: var(--white);
	font-size: 14px;
	font-weight: 700;
}

.empty-btn:active {
	transform: scale(.97);
}

.empty-btn:focus-visible {
	outline: 2px solid var(--dark);
	outline-offset: 2px;
}

@media (min-width: 400px) {
	.items-grid {
		gap: 12px;
	}

	.product-name {
		font-size: 15px;
	}
}

.product[hidden] {
	display: none;
}

body.no-scroll {
	overflow: hidden;
}

.filter-overlay {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(0, 0, 0, .5);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s, visibility 0s .25s;
}

.filter-overlay.open {
	opacity: 1;
	visibility: visible;
	transition: opacity .25s, visibility 0s;
}

.filter-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 210;
	width: min(86vw, 340px);
	display: flex;
	flex-direction: column;
	background: var(--white);
	box-shadow: 4px 0 14px rgba(0, 0, 0, .25);
	transform: translateX(-100%);
	visibility: hidden;
	transition: transform .28s ease, visibility 0s .28s;
}

.filter-drawer.open {
	transform: translateX(0);
	visibility: visible;
	transition: transform .28s ease, visibility 0s;
}

.filter-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 8px 0 16px;
	height: 56px;
	border-bottom: 1px solid var(--border);
	flex: none;
}

.filter-heading {
	margin: 0;
	font-size: 20px;
	font-weight: 500 !important;
}

.filter-close {
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	color: var(--icon);
}

.filter-body {
	flex: 1;
	overflow-y: auto;
	padding: 4px 16px 16px;
	-webkit-overflow-scrolling: touch;
}

.filter-group {
	margin: 0;
	padding: 14px 0 6px;
	border: 0;
	min-width: 0;
}

.filter-group:last-child {
	border-bottom: 0;
}

.filter-group legend {
	padding: 10px 0 10px !important;
	font-size: 15px;
	font-weight: 500 !important;
}

.filter-option {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	font-size: 15px;
	cursor: pointer;
}

.filter-option input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--red);
}

.filter-option span {
	flex: 1;
	min-width: 0;
}

.filter-option small {
	color: var(--placeholder);
	font-size: 12px;
}

.filter-foot {
	flex: none;
	display: grid;
	grid-template-columns: 1fr 1.6fr;
	gap: 10px;
	padding: 12px 16px;
	padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--border);
	background: var(--white);
}

.filter-clear,
.filter-apply {
	height: 46px;
	border-radius: 23px;
	font-size: 15px;
	font-weight: 500;
}

.filter-clear {
	border: 1px solid var(--border);
	background: var(--white);
	color: var(--text);
}

.filter-apply {
	border: 0;
	background: var(--red);
	color: var(--white);
}

.filter-apply:disabled {
	opacity: .5;
}

.filter-close:focus-visible,
.filter-clear:focus-visible,
.filter-apply:focus-visible,
.filter-option input:focus-visible {
	outline: 2px solid var(--dark);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

	.filter-overlay,
	.filter-drawer {
		transition: none;
	}
}

.cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 220;
	background: rgba(0, 0, 0, .5);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s, visibility 0s .25s;
}

.cart-overlay.open {
	opacity: 1;
	visibility: visible;
	transition: opacity .25s, visibility 0s;
}

.cart-drawer {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 230;
	width: 100%;
	max-width: 480px;
	max-height: 82vh;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border-radius: 18px 18px 0 0;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, .25);
	transform: translateY(100%);
	visibility: hidden;
	transition: transform .3s ease, visibility 0s .3s;
}

.cart-drawer.open {
	transform: translateY(0);
	visibility: visible;
	transition: transform .3s ease, visibility 0s;
}

.cart-top {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 56px;
	padding: 0 8px 0 16px;
	border-bottom: 1px solid var(--border);
}

.cart-heading {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
}

.cart-close {
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	color: var(--icon);
}

.cart-body {
	flex: 1;
	overflow-y: auto;
	padding: 0 16px;
	-webkit-overflow-scrolling: touch;
}

.cart-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cart-item {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--border);
}

.cart-thumb {
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: var(--search-bg);
	color: var(--search-border);
	font-size: 18px;
	font-weight: 900;
}

.cart-info {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.cart-name {
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.cart-brand {
	font-size: 12px;
	color: var(--placeholder);
}

.cart-qty {
	margin-top: 8px;
	display: flex;
	align-items: center;
	gap: 4px;
}

.cart-qty button {
	width: 34px;
	height: 34px;
	border: 1px solid var(--border);
	border-radius: 50%;
	background: var(--white);
	color: var(--text);
	font-size: 18px;
	line-height: 1;
}

.cart-qty output {
	min-width: 30px;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
}

.cart-side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
}

.cart-line {
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}

.cart-remove {
	min-height: 34px;
	border: 0;
	background: transparent;
	padding: 0 0 0 8px;
	font-size: 13px;
	color: var(--blue);
}

.cart-foot[hidden] {
	display: none;
}

.cart-foot {
	flex: none;
	padding: 12px 16px;
	padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--border);
	background: var(--white);
}

.cart-total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 12px;
	font-size: 15px;
}

.cart-total strong {
	font-size: 20px;
}

.cart-actions {
	display: grid;
	grid-template-columns: 1fr 1.6fr;
	gap: 10px;
}

.cart-clear,
.cart-checkout {
	height: 46px;
	border-radius: 23px;
	font-size: 15px;
	font-weight: 700;
}

.cart-clear {
	border: 1px solid var(--border);
	background: var(--white);
	color: var(--text);
}

.cart-checkout {
	border: 0;
	background: var(--red);
	color: var(--white);
}

.cart-checkout:disabled,
.cart-clear:disabled {
	opacity: .4;
	cursor: default;
}

.cart-close:focus-visible,
.cart-qty button:focus-visible,
.cart-remove:focus-visible,
.cart-clear:focus-visible,
.cart-checkout:focus-visible {
	outline: 2px solid var(--dark);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

	.cart-overlay,
	.cart-drawer {
		transition: none;
	}
}

.product-open {
	display: inline;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	color: inherit;
	text-align: left;
	cursor: pointer;
}

.product-open:focus-visible {
	outline: 2px solid var(--dark);
	outline-offset: 2px;
}

.product-media {
	cursor: pointer;
}

.detail-drawer {
	position: fixed;
	inset: 0;
	z-index: 240;
	width: 100%;
	display: flex;
	flex-direction: column;
	background: var(--white);
	transform: translateX(100%);
	visibility: hidden;
	transition: transform .3s ease, visibility 0s .3s;
}

.detail-drawer.open {
	transform: translateX(0);
	visibility: visible;
	transition: transform .3s ease, visibility 0s;
}

.detail-top {
	flex: none;
	display: flex;
	align-items: center;
	padding: 8px;
}

#detailBack {
	border: none !important;
	background-color: transparent !important;
	margin-top: 5px;
}

.detail-back {
	flex: none;
	width: 44px;
	height: 44px;
	background: transparent !important;
	font-size: 26px;
	line-height: 1;
	color: var(--icon);
	border: none !important;
}

.back-button {
	background-color: var(--white);
	border: none !important;
}

.detail-topname {
	min-width: 0;
	font-size: 16px;
	font-weight: 500 !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.detail-body {
	flex: 1;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.detail-media {
	position: relative;
	width: 100%;
	max-height: 46vh;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--search-bg);
	overflow: hidden;
}

.detail-media img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.detail-media img+.detail-initials {
	display: none;
}

.detail-initials {
	font-size: 84px;
	font-weight: 900;
	letter-spacing: -3px;
	color: var(--search-border);
}

.detail-info {
	max-width: 480px;
	margin: 0 auto;
	padding: 16px 16px 24px;
}

.detail-brand {
	margin: 0 0 4px;
	font-size: 13px;
	color: var(--placeholder);
}

.detail-name {
	margin: 0;
	font-size: 22px;
	line-height: 28px;
}

.detail-price {
	margin: 8px 0 0;
	display: flex;
	align-items: baseline;
	gap: 10px;
	font-size: 18px;
	font-weight: 500;
	color: var(--red);
}

.detail-price s {
	font-size: 14px;
	font-weight: 400;
	color: var(--placeholder);
}

.detail-desc {
	margin: 14px 0 0;
	font-size: 15px;
	line-height: 22px;
}

.detail-sizes {
	margin: 18px 0 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.detail-sizes legend {
	padding: 0;
	margin-bottom: 8px;
	font-size: 15px;
	font-weight: 700;
}

.size-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.size-chip {
	position: relative;
}

.size-chip input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}

.size-chip span {
	min-width: 48px;
	height: 44px;
	padding: 0 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--border);
	border-radius: 22px;
	font-size: 15px;
	background: var(--white);
}

.size-chip input:checked+span {
	border-color: var(--dark);
	background: var(--dark);
	color: var(--white);
}

.size-chip input:focus-visible+span {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
}

.detail-features {
	margin: 20px 0 0;
	padding: 0 0 0 20px;
	font-size: 15px;
	line-height: 24px;
}

.detail-foot {
	flex: none;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--border);
	background: var(--white);
}

.detail-foot .cart-qty {
	margin: 0;
	flex: none;
}

.detail-add {
	flex: 1;
	min-width: 0;
	height: 48px;
	border: 0;
	border-radius: 24px;
	background: var(--red);
	color: var(--white);
	font-size: 15px;
	font-weight: 700;
}

.detail-add:disabled {
	opacity: .45;
	cursor: default;
}

.detail-back:focus-visible,
.detail-add:focus-visible {
	outline: 2px solid var(--dark);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.detail-drawer {
		transition: none;
	}
}

.branch-pill {
	display: inline-flex;
	align-items: center;
	height: 34px;
	border: none;
	color: var(--text);
	font-size: 13px;
	margin: 20px 0 40px !important;
	background-color: transparent;
}

.branch-pill:focus-visible,
.similar-card:focus-visible,
.branch-btn:focus-visible {
	outline: 2px solid var(--dark);
	outline-offset: 2px;
}

.bottom-item.tab {
	opacity: .65;
	cursor: pointer;
}

.bottom-item.tab.active {
	opacity: 1;
	font-weight: 700;
}

.detail-similar {
	padding: 4px 0 28px;
}

.similar-title {
	margin: 0 16px 10px;
	font-size: 17px;
}

.similar-row {
	display: flex;
	gap: 10px;
	padding: 0 16px 4px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}

.similar-card {
	flex: none;
	width: 140px;
	display: flex;
	flex-direction: column;
	padding: 10px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--white);
	color: var(--text);
	font: inherit;
	text-align: left;
	overflow: hidden;
	scroll-snap-align: start;
}

.similar-media {
	position: relative;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--search-bg);
	overflow: hidden;
}

.similar-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.similar-initials {
	font-size: 30px;
	font-weight: 900;
	letter-spacing: -1px;
	color: var(--search-border);
}

.similar-brand {
	padding: 8px 10px 0;
	font-size: 11px;
	color: var(--placeholder);
}

.similar-name {
	padding: 2px 10px 0;
	font-size: 13px;
	font-weight: 700;
	line-height: 17px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.similar-price {
	padding: 4px 10px 10px;
	margin-top: auto;
	font-size: 14px;
	font-weight: 700;
	color: var(--red);
}

.branch-wrap {
	max-width: 480px;
	margin: 0 auto;
	padding: 14px 16px 24px;
}

.branch-search {
	width: 100%;
	height: 44px;
	padding: 0 16px;
	border: 1px solid var(--search-border);
	border-radius: 22px;
	background: var(--search-bg);
	color: var(--input-text);
	font-size: 16px;
	outline: 0;
}

.branch-search:focus {
	border-color: var(--dark);
}

.branch-list {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.branch-card {
	padding: 14px;
	border: 1px solid var(--border);
	border-radius: 15px;
	background: var(--white);
}

.branch-card.selected {
	border-color: var(--red);
	box-shadow: 0 0 0 1px var(--red);
}

.branch-name {
	margin: 0 0 4px;
	font-size: 16px;
}

.branch-address {
	margin: 0 0 2px;
	font-size: 14px;
	line-height: 20px;
	opacity: .75;
}

.branch-status {
	margin: 6px 0 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--placeholder);
}

.branch-status.open {
	color: var(--blue);
}

.branch-actions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-top: 12px;
}

.branch-btn {
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--border);
	border-radius: 20px;
	background: var(--white);
	color: var(--text);
	font-size: 14px;
	font-weight: 500 !important;
	text-decoration: none;
}

.branch-pick {
	border: 0;
	background: var(--red);
	color: var(--white);
}

.branch-card.selected .branch-pick {
	background: var(--dark);
}

.active-filters {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 2px 12px;
}

.active-filters[hidden],
.clear-link[hidden] {
	display: none;
}

.chip-row {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	max-width: 100%;
	height: 32px;
	background: var(--white);
	color: var(--text);
	font-size: 13px;
}

.chip-label {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.chip button {
	flex: none;
	width: 24px;
	height: 24px;
	border: 0;
	border-radius: 50%;
	background: var(--search-bg);
	color: var(--text);
	font-size: 16px;
	line-height: 1;
}

.clear-link {
	flex: none;
	min-height: 32px;
	padding: 0 4px;
	border: 0;
	background: transparent;
	color: var(--blue);
	font-size: 13px;
	font-weight: 400;
	text-decoration: none;
}

.branch-wrap .clear-link {
	margin-top: 10px;
}

.chip button:focus-visible,
.clear-link:focus-visible {
	outline: 2px solid var(--dark);
	outline-offset: 2px;
}

.filter-clear:disabled {
	opacity: .4;
	cursor: default;
}

.modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 250;
	background: rgba(0, 0, 0, .55);
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s, visibility 0s .2s;
}

.modal-overlay.open {
	opacity: 1;
	visibility: visible;
	transition: opacity .2s, visibility 0s;
}

.modal {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 260;
	width: min(92vw, 460px);
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border-radius: 16px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, -48%) scale(.97);
	transition: opacity .2s, transform .2s, visibility 0s .2s;
}

.modal.open {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, -50%) scale(1);
	transition: opacity .2s, transform .2s, visibility 0s;
}

.modal-top {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 56px;
	padding: 0 8px 0 16px;
	border-bottom: 1px solid var(--border);
}

.modal-heading {
	margin: 0;
	font-size: 18px;
}

.modal-close {
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	color: var(--icon);
}

.modal-form,
.modal-done {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

.modal-form[hidden],
.modal-done[hidden] {
	display: none;
}

.modal-body {
	flex: 1;
	overflow-y: auto;
	padding: 4px 16px 16px;
	-webkit-overflow-scrolling: touch;
}

.co-section {
	margin: 0;
	padding: 14px 0;
	border: 0;
	border-bottom: 1px solid var(--border);
	min-width: 0;
}

.co-section:last-child {
	border-bottom: 0;
}

.co-title {
	margin: 0 0 10px;
	padding: 0;
	font-size: 15px;
	font-weight: 700;
}

.co-field {
	display: block;
	margin-bottom: 10px;
}

.co-field-label {
	display: block;
	margin-bottom: 4px;
	font-size: 13px;
	color: var(--placeholder);
}

.co-input,
.co-select {
	width: 100%;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--search-border);
	border-radius: 8px;
	background: var(--white);
	color: var(--input-text);
	font-size: 16px;
}

.co-input:focus,
.co-select:focus {
	outline: 2px solid var(--blue);
	outline-offset: 1px;
}

.co-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.co-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 0;
	border-bottom: 1px solid var(--border);
}

.co-item:last-child {
	border-bottom: 0;
}

.co-name {
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
}

.co-meta {
	font-size: 13px;
	color: var(--placeholder);
}

.co-item .co-field {
	margin: 8px 0 0;
}

.co-address {
	min-height: 16px;
	font-size: 12px;
	color: var(--placeholder);
}

.co-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 4px 0;
	font-size: 14px;
}

.co-total {
	margin-top: 8px;
	padding-top: 10px;
	border-top: 1px solid var(--border);
	font-size: 16px;
}

.co-total strong {
	font-size: 20px;
}

.co-note {
	margin: 8px 0 0;
	font-size: 12px;
	color: var(--placeholder);
}

.modal-foot {
	flex: none;
	padding: 12px 16px;
	border-top: 1px solid var(--border);
}

.co-place,
.co-continue {
	width: 100%;
	height: 48px;
	border: 0;
	border-radius: 24px;
	background: var(--red);
	color: var(--white);
	font-size: 15px;
	font-weight: 700;
}

.co-place:disabled {
	opacity: .45;
	cursor: default;
}

.co-hint {
	min-height: 18px;
	margin: 8px 0 0;
	text-align: center;
	font-size: 12px;
	color: var(--placeholder);
}

.co-done-body {
	flex: 1;
	overflow-y: auto;
	padding: 20px 16px;
}

.co-done-title {
	margin: 0 0 4px;
	font-size: 20px;
}

.co-done-text {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 20px;
}

.co-done-branch {
	margin-top: 12px;
	padding: 12px;
	border: 1px solid var(--border);
	border-radius: 10px;
}

.co-done-branch h3 {
	margin: 0 0 2px;
	font-size: 15px;
}

.co-done-branch ul {
	margin: 8px 0 0;
	padding-left: 18px;
	font-size: 13px;
	line-height: 20px;
}

.modal-close:focus-visible,
.co-place:focus-visible,
.co-continue:focus-visible {
	outline: 2px solid var(--dark);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

	.modal-overlay,
	.modal {
		transition: none;
	}
}

.item-details-title {
	font-size: 25px;
	margin: 10px 0 20px;
	text-transform: capitalize;
}

.web-actions-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	padding: 10px;
}

.web-actions-row .quote-btn {
	background-color: var(--icon);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: none !important;
	text-transform: capitalize;
}

.web-items-grid .web-card-name {
	display: block !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	max-width: 100% !important;
	min-width: 0 !important;
}

.web-items-grid .web-card-link,
.web-items-grid .web-card-body {
	min-width: 0 !important;
}

#refreshToast.refresh-toast {
	position: fixed;
	left: 50%;
	bottom: calc(84px + env(safe-area-inset-bottom, 0px));
	z-index: 2147483647;
	display: flex;
	align-items: center;
	gap: 10px;
	width: min(560px, calc(100vw - 24px));
	padding: 12px 12px 12px 14px;
	border: 0;
	border-radius: 0;
	background: #101a2c;
	color: #ffffff;
	font-family: 'Poppins', system-ui, -apple-system, sans-serif;
	box-shadow: 0 18px 44px rgba(7, 14, 28, .38);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, 26px);
	transition: opacity .28s ease, transform .28s cubic-bezier(.22, .9, .3, 1), visibility .28s;
}

#refreshToast.refresh-toast.show {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

#refreshToast .refresh-toast-icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 0;
	background: #ffffff;
	color: #101a2c;
}

#refreshToast .refresh-toast-icon svg {
	width: 26px;
	height: 26px;
	display: block;
	color: #101a2c;
}

#refreshToast .refresh-toast-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1 1 auto;
	min-width: 0;
}

#refreshToast .refresh-toast-title {
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.25;
	color: #ffffff;
}

#refreshToast .refresh-toast-msg {
	font-size: 12px;
	font-weight: 300;
	line-height: 1.35;
	color: rgba(255, 255, 255, .74);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#refreshToast .refresh-toast-btn {
	flex: 0 0 auto;
	border: 0;
	border-radius: 0;
	padding: 9px 16px;
	background: #ffffff;
	color: #101a2c;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
	transition: transform .15s ease, opacity .15s ease;
}

#refreshToast .refresh-toast-btn:hover {
	opacity: .88;
}

#refreshToast .refresh-toast-btn:active {
	transform: scale(.96);
}

#refreshToast .refresh-toast-close {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: rgba(255, 255, 255, .6);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}

#refreshToast .refresh-toast-close:hover {
	background: rgba(255, 255, 255, .12);
	color: #ffffff;
}

@media (max-width: 380px) {
	#refreshToast .refresh-toast-icon {
		display: none;
	}

	#refreshToast.refresh-toast {
		padding-left: 12px;
	}
}

@media (min-width: 1024px) {
	#refreshToast.refresh-toast {
		left: auto;
		right: 26px;
		bottom: 26px;
		transform: translate(0, 26px);
	}

	#refreshToast.refresh-toast.show {
		transform: translate(0, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	#refreshToast.refresh-toast {
		transition: none;
	}
}

.wi-pager {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	padding: 26px 16px 44px;
	font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

.wi-pager[hidden] {
	display: none;
}

.wi-pager button {
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid rgba(16, 26, 44, .14);
	border-radius: 0;
	background: #ffffff;
	color: #101a2c;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	transition: background .16s ease, color .16s ease, border-color .16s ease;
}

.wi-pager button:hover:not(:disabled):not(.is-active) {
	background: #101a2c;
	color: #ffffff;
	border-color: #101a2c;
}

.wi-pager button.is-active {
	background: #101a2c;
	color: #ffffff;
	border-color: #101a2c;
	cursor: default;
	font-weight: 600;
}

.wi-pager button:disabled {
	opacity: .35;
	cursor: not-allowed;
}

.wi-pager .wi-pager-nav {
	font-size: 18px;
	font-weight: 400;
	padding: 0;
}

.wi-pager .wi-pager-ellipsis {
	min-width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(16, 26, 44, .45);
	font-size: 14px;
	font-weight: 500;
	user-select: none;
}

.detail-colors {
	margin-top: 1.5rem;
	border: none;
	padding: 0;
}

.detail-colors legend {
	font-weight: 600;
	margin-bottom: 0.75rem;
	font-size: 0.95rem;
}

.color-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.5rem;
}

.color-chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}

.color-chip input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.color-swatch-circle {
	display: inline-block;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid #d1d5db;
	transition: all 0.2s;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.color-chip input:checked+.color-swatch-circle {
	border: 3px solid #000;
	transform: scale(1.1);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.color-chip input:focus-visible+.color-swatch-circle {
	outline: 2px solid #000;
	outline-offset: 2px;
}

.detail-thumbs {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.5rem;
	overflow-x: auto;
	padding: 10px;
}

.detail-thumb {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border: 2px solid transparent;
	cursor: pointer;
	flex-shrink: 0;
}

.detail-thumb.active {
	border-color: #000;
}

.cart-item {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 1rem 0;
	border-bottom: 1px solid #eee;
}

.cart-item-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	width: 100%;
	gap: 1rem;
}

.cart-item-name {
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.3;
	color: #333;
}

.cart-item-brand {
	font-size: 0.8rem;
	color: #666;
	line-height: 1.4;
	margin-top: 0.2rem;
}

.cart-remove {
	color: #dc2626;
	font-size: 0.8rem;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	font-weight: 500;
	white-space: nowrap;
}

.cart-item-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 0.25rem;
}

.cart-qty {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	border: 1px solid #ddd;
	border-radius: 20px;
	padding: 0.25rem 0.75rem;
	background: #f9f9f9;
	width: fit-content;
}

.cart-qty button {
	background: none;
	border: none;
	font-size: 1.1rem;
	cursor: pointer;
	color: #333;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
}

.cart-qty output {
	font-size: 0.9rem;
	font-weight: 600;
	min-width: 1.5rem;
	text-align: center;
}