:root{--shop-primary:#f3d6be;--shop-button:#fbebb1;--shop-button_text:#ffffff;--shop-selected:#dcefe3;--shop-banner:#82d984;--shop-banner_text:#183522;--shop-about:#dcefe3;--shop-background:#f5f7f6;--shop-surface:#ffffff;--shop-text:#21332b;--shop-muted:#65776b;--shop-border:#dce5df;--shop-footer:#21332b;--shop-footer_text:#e5eee8;--shop-staff:#fbebb1;--shop-staff_text:#ffffff;--shop-soft:#e8f3ec;}
*{box-sizing:border-box}body{margin:0;background:var(--shop-background);color:var(--shop-text);font:16px/1.5 system-ui,sans-serif}a{color:inherit;text-decoration:none}.wrap{max-width:1240px;margin:auto;padding:20px}header{background:#fff;border-bottom:1px solid var(--shop-border)}.top{display:flex;justify-content:space-between;align-items:center;gap:16px}.brand{font-size:23px;font-weight:750;color:var(--shop-primary)}.search{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}input,select,button{font:inherit;border:1px solid var(--shop-border);border-radius:10px;padding:12px;background:white;color:inherit}input{flex:1;min-width:180px}button{background:var(--shop-button);color:var(--shop-button_text);border:0;cursor:pointer;padding-inline:24px}input:focus,select:focus,button:focus-visible,a:focus-visible{outline:2px solid var(--shop-primary);outline-offset:2px}.hero{padding:42px;border-radius:20px;background:var(--shop-selected);margin-bottom:24px}.hero h1{font-size:clamp(24px,4vw,40px);margin:8px 0}.categories{display:flex;gap:10px;overflow:auto;padding:12px 0}.categories a{white-space:nowrap;background:white;border:1px solid var(--shop-border);padding:10px 18px;border-radius:10px}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}article,.detail>section{background:white;border:1px solid var(--shop-border);border-radius:16px;padding:16px}article img,.placeholder{width:100%;aspect-ratio:4/3;object-fit:contain;background:var(--shop-soft);border-radius:10px}.placeholder{display:grid;place-items:center;color:var(--shop-muted)}h3{margin:8px 0}.price{font-size:24px;font-weight:750;color:var(--shop-primary)}.stock,small,del{color:var(--shop-muted)}.detail{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.gallery img,.gallery video{width:100%;max-height:450px;object-fit:contain}.description{white-space:pre-wrap}dl{display:grid;grid-template-columns:1fr 1fr;gap:10px}dt,dd{margin:0;border-bottom:1px solid var(--shop-border);padding:8px 0;overflow-wrap:anywhere}footer{color:var(--shop-muted)}@media(max-width:650px){.wrap{padding:14px}.detail{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}article{padding:10px}.search>*{width:100%}.hero{padding:24px}.price{font-size:20px}}

html{scroll-behavior:smooth} .toplinks{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.login{display:inline-block;background:var(--shop-button);color:var(--shop-button_text);padding:10px 20px;border-radius:10px}.showcase,#catalog,.info{margin:32px 0;scroll-margin-top:20px}.showcase h2,#catalog h2,.info h2{margin:0 0 18px}.info{background:var(--shop-selected);border-radius:20px;padding:32px;white-space:pre-line}.benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.muted{color:var(--shop-muted)}.cards article{overflow-wrap:anywhere}.cards article:hover{border-color:var(--shop-border)}footer{background:var(--shop-text);color:var(--shop-footer_text)}footer p{white-space:pre-line}.categories a:hover{background:var(--shop-selected)}#catalog .search{margin-top:12px}@media(max-width:650px){.top{align-items:flex-start;flex-direction:column}.toplinks{gap:12px;font-size:14px}.benefits{grid-template-columns:1fr}.info{padding:20px}}

/* Full-width storefront and responsive header */
.wrap{width:100%;max-width:none;margin:0;padding:0}
.site-header .top{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:16px;padding:12px 20px}
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.brand-logo{width:44px;height:44px;flex:none;background:var(--shop-button);color:var(--shop-button_text);padding:9px;border-radius:12px}
.brand-text{display:flex;flex-direction:column;min-width:0;line-height:1.2;overflow-wrap:anywhere}
.brand-text small{font-size:13px;font-weight:400;margin-top:4px}
.header-panel{margin-left:auto;min-width:0}
.header-tools,.header-actions{display:flex;align-items:center;gap:18px}
.header-search{display:flex;align-items:center;min-width:0;border:1px solid var(--shop-border);border-radius:10px;background:#fff}
.header-search input{border:0;min-width:0;width:clamp(150px,22vw,340px);background:transparent}
.header-search button{padding:10px;background:transparent;color:var(--shop-primary);display:grid;place-items:center}
.header-search svg,.header-action svg,.menu-button svg{width:24px;height:24px;flex:none}
.header-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--shop-primary);background:transparent;border:0;padding:6px;font-size:12px;white-space:nowrap;line-height:1.3}
.header-action:disabled{opacity:.55;cursor:not-allowed}
.header-action:hover:not(:disabled){background:var(--shop-soft);border-radius:10px}
.menu-toggle,.menu-button{display:none}
.hero{border-radius:0}
footer .wrap{padding:24px}
@media(max-width:1000px){
	.site-header .top{gap:0;padding:0}
	.brand{margin:12px;flex:1}
	.brand-text strong{font-size:20px}
	.menu-toggle{display:block;position:absolute;width:1px;height:1px;min-width:0;opacity:0;padding:0}
	.menu-button{display:grid;place-items:center;width:44px;height:44px;margin:12px;border:1px solid var(--shop-border);border-radius:10px;color:var(--shop-primary);cursor:pointer}
	.menu-toggle:focus-visible+.menu-button{outline:2px solid var(--shop-primary);outline-offset:2px}
	.menu-toggle:checked+.menu-button{background:var(--shop-selected)}
	.header-panel{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .25s ease,visibility .25s;width:100%;margin:0}
	.menu-toggle:checked~.header-panel{grid-template-rows:1fr;visibility:visible}
	.header-tools{overflow:hidden;min-height:0;flex-direction:column;align-items:stretch;gap:12px;padding:0 12px}
	.menu-toggle:checked~.header-panel .header-tools{padding-bottom:14px}
	.header-search input{width:100%;flex:1}
	.header-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
	.header-action{white-space:normal;text-align:center}
}
@media(prefers-reduced-motion:reduce){.header-panel{transition:none}}

.site-header{position:sticky;top:0;z-index:20}
.category-strip{overflow-x:auto;overflow-y:hidden;background:var(--shop-background);scrollbar-width:thin;cursor:grab;overscroll-behavior-x:contain}
.category-track{display:flex;gap:16px;width:max-content;min-width:100%;justify-content:center;padding:16px 0}
.category-tile{flex:0 0 220px;width:220px;min-height:110px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:12px;background:white;border:1px solid var(--shop-border);border-radius:12px;white-space:normal;overflow-wrap:anywhere;user-select:none}
.category-tile:hover,.category-tile.active{background:var(--shop-selected);border-color:var(--shop-primary);color:var(--shop-primary)}
.category-strip.dragging,.category-strip.dragging a{cursor:grabbing}
#qr-dialog{width:min(440px,94vw);border:1px solid var(--shop-border);border-radius:16px;padding:24px;color:var(--shop-text)}
#qr-dialog::backdrop{background:#0007}
#qr-art{width:100%;min-width:0}.qr-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
#qr-close{background:var(--shop-soft);color:var(--shop-primary)}
.showcase,#catalog,.info{scroll-margin-top:230px}
@media(max-width:650px){.category-track{gap:10px;padding:8px 0}.category-tile{flex-basis:160px;width:160px;min-height:80px;font-size:14px}}

#qr-preview{position:relative;background:#17251e;border-radius:12px;overflow:hidden;aspect-ratio:4/3}
#qr-preview[hidden]{display:none}
#qr-video{display:block;width:100%;height:100%;object-fit:contain}
.qr-frame{position:absolute;inset:15% 23%;border:2px solid #fff;border-radius:12px;pointer-events:none}
#qr-status{font-size:14px;min-height:2em}
.qr-actions{flex-wrap:wrap}
#qr-retry{background:var(--shop-soft);color:var(--shop-primary)}

/* Content spacing */
.showcase,
#catalog,
.info,
.detail {
	margin-left: 10px;
	margin-right: 10px;
}

/* Compact product characteristics */
.card-attrs {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 3px 8px;
	margin: 8px 0;
	font-size: 12px;
	line-height: 1.3;
	color: #808080;
}

.card-attrs dt,
.card-attrs dd {
	margin: 0;
	padding: 0;
	border: none;
	font-size: 12px;
	font-weight: 400;
	color: #808080;
	overflow-wrap: anywhere;
}

.card-attrs dd {
	text-align: right;
}

.product-photo{position:relative;min-width:0}
.product-badges{position:absolute;top:8px;left:8px;right:8px;display:flex;flex-wrap:wrap;gap:6px;z-index:1;pointer-events:none}
.product-badges span{font-size:12px;font-weight:650;color:white;padding:5px 9px;border-radius:4px;overflow-wrap:anywhere;max-width:100%}
.sale-badge{background:#bd3328}.event-badge{background:#287b50}
.product-price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.product-price del{font-size:.7em;color:#888;font-weight:400}
.product-back{display:inline-block;margin:12px 10px}.detail{align-items:start;gap:24px}.detail>section{min-width:0}.detail>.gallery{padding:0;background:transparent;border:0}.gallery .product-photo{background:white;border-radius:12px;overflow:hidden}.gallery .product-photo img{display:block;height:420px;max-height:60vh;object-fit:contain}.product-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.product-thumbs img,.video-thumb{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;background:var(--shop-soft)}.video-thumb{display:grid;place-items:center}.product-info h1{margin:0 0 8px}.product-info h3{margin-top:24px}.product-info .price{font-size:30px}.product-specs{gap:0 10px}.product-specs dt{color:var(--shop-muted)}.product-specs dd{text-align:right}.product-buy{width:100%;background:#e8eeea;color:var(--shop-muted);cursor:not-allowed}.product-qr{display:flex;align-items:center;gap:16px;border:1px solid var(--shop-border);border-radius:10px;padding:12px;margin:16px 0}.product-qr canvas{width:110px;height:110px;image-rendering:pixelated}.product-qr button{display:block;background:transparent;color:var(--shop-primary);padding:4px 0;text-align:left}.fancybox__container .f-button{padding:0}.fancybox__container .fancybox__html5video{max-width:100%}
@media(max-width:650px){.gallery .product-photo img{height:300px}.product-thumbs{gap:6px}.product-info .price{font-size:24px}}
@media print{body.print-product-qr *{visibility:hidden}body.print-product-qr #product-qr{visibility:visible;position:absolute;top:0;left:0;width:35mm;height:35mm}}

.customer-actions{display:flex;gap:8px;align-items:center;margin-top:10px}.customer-buy{flex:1;background:var(--shop-button);color:var(--shop-button_text);border:0;border-radius:8px;padding:10px;cursor:pointer}.customer-buy:disabled{background:#e8eeea;color:var(--shop-muted);cursor:not-allowed}.customer-heart{background:var(--shop-soft);color:var(--shop-primary);font-size:23px;border:0;border-radius:8px;padding:5px 12px}.customer-heart[aria-pressed=true]{color:#b83232}.header-action b{font-size:11px;background:var(--shop-button);color:var(--shop-button_text);border-radius:20px;padding:2px 6px}.customer-page{margin:0 10px;padding:10px 0 20px;min-width:0}.basket-row{display:grid;grid-template-columns:80px minmax(0,1fr) 120px 120px auto;align-items:center;gap:12px;background:white;border:1px solid var(--shop-border);border-radius:12px;padding:12px;margin:10px 0}.basket-row img{width:80px;height:80px;object-fit:contain}.basket-qty{width:100%;box-sizing:border-box}.basket-total{text-align:right;font-size:22px}#customer-dialog{border:0;border-radius:14px;padding:24px;max-width:90vw}#customer-dialog::backdrop{background:#0007}@media(max-width:650px){.basket-row{grid-template-columns:65px minmax(0,1fr)}.basket-row img{width:65px;height:65px}}

.cart-control{flex:1;min-width:0}
.cart-control [hidden]{display:none!important}
.cart-control .customer-buy{width:100%}
.cart-step{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.cart-step button{border:1px solid #cbded2;background:var(--shop-soft);color:var(--shop-primary);border-radius:6px;min-width:28px;height:34px;cursor:pointer}
.cart-step button:disabled{opacity:.45;cursor:not-allowed}
.cart-number{min-width:20px;text-align:center;font-weight:600}
.cart-step a{background:var(--shop-button);color:var(--shop-button_text);border-radius:6px;padding:8px;text-decoration:none;font-size:13px;flex:1;text-align:center}

/* Two-row cart controls */
.customer-actions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
	align-items: center;
}
.customer-actions .cart-control,
.customer-actions .cart-step:not([hidden]) {
	display: contents;
}
.customer-actions .cart-step button {
	width: 100%;
	min-width: 0;
	padding: 0;
}
.customer-actions .cart-number {
	text-align: center;
}
.customer-actions .customer-buy,
.customer-actions .cart-step a {
	grid-column: 1 / 3;
	min-height: 36px;
	box-sizing: border-box;
}
.customer-actions .customer-heart {
	grid-column: 3;
	width: 100%;
	height: 36px;
	padding: 0;
}

/* Basket layout */
section.customer-page {
	margin: 0 10px;
	padding: 10px 0 20px;
}
.customer-page h1 { margin: 0 0 16px; }
.basket-row {
	grid-template-columns: 80px minmax(0, 1fr) 110px minmax(110px, auto) 42px;
	gap: 12px;
	padding: 12px;
}
.basket-info { min-width: 0; overflow-wrap: anywhere; }
.basket-info p { margin: 4px 0; }
.basket-quantity { min-width: 0; font-size: 13px; }
.basket-row .basket-qty { min-width: 0; width: 100%; padding: 8px; }
.basket-sum { text-align: right; white-space: nowrap; }
.basket-placeholder { width: 80px; height: 80px; display: grid; place-items: center; background: var(--shop-soft); border-radius: 10px; font-size: 12px; color: var(--shop-muted); }
.basket-row button[data-action="remove"] { width: 42px; height: 42px; padding: 0; display: grid; place-items: center; background: #f8eded; color: #b83232; }
@media (max-width: 650px) {
	.basket-row { grid-template-columns: 65px minmax(0, 1fr) 42px; gap: 8px; }
	.basket-row img, .basket-placeholder { width: 65px; height: 65px; }
	.basket-info { grid-column: 2 / 4; }
	.basket-quantity { grid-column: 1; }
	.basket-sum { grid-column: 2; white-space: normal; }
	.basket-row button[data-action="remove"] { grid-column: 3; }
}

.checkout-panel { background:#fff; border:1px solid #d6e2da; border-radius:12px; padding:16px; margin-top:16px; }
.checkout-panel h2 { margin:0 0 12px; font-size:18px; }
.checkout-panel select { display:block; width:100%; margin-top:8px; }
#checkout-submit { width:100%; background:var(--shop-button); color:var(--shop-button_text); border:0; border-radius:8px; padding:12px; cursor:pointer; }
#checkout-submit:disabled { opacity:.5; cursor:not-allowed; }
.basket-unavailable { color:#b83232; font-size:13px; white-space:normal; }

/* Header counters: overlay, without changing button height */
.header-action {
	position: relative;
}
.header-action b[data-count] {
	position: absolute;
	top: 0;
	left: calc(50% + 5px);
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	display: grid;
	place-items: center;
	background: #c43232;
	color: #fff;
	border: 1px solid #fff;
	border-radius: 20px;
	font-size: 10px;
	line-height: 1;
	pointer-events: none;
}
.header-action b[data-count][hidden] { display: none; }

/* Personal account */
.profile-page { margin: 0 10px; padding: 10px 0 24px; min-width: 0; }
.profile-panel,.profile-order { background: #fff; border: 1px solid #d6e2da; border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.profile-panel h2 { margin-top: 0; }
.profile-data { display: grid; grid-template-columns: minmax(85px,180px) minmax(0,1fr); gap: 8px 16px; margin: 0; }
.profile-data dt,.profile-order small { color: #687b70; }
.profile-data dd { margin: 0; overflow-wrap: anywhere; }
.profile-order summary { display: grid; grid-template-columns: minmax(0,1fr) auto auto 20px; align-items: center; gap: 16px; cursor: pointer; list-style: none; }
.profile-order summary::-webkit-details-marker { display: none; }
.profile-order-heading { overflow-wrap: anywhere; }
.profile-order small { display: block; font-size: 12px; margin-top: 4px; }
.profile-status { padding: 6px 10px; border-radius: 6px; background: #edf0ee; color: #52635a; font-size: 13px; }
.profile-status.new,.profile-status.done { background: #dceee3; color: #176344; }
.profile-status.progress { background: #e5eef9; color: #28578a; }
.profile-status.waiting { background: #fff0cf; color: #805800; }
.profile-status.cancelled { background: #fae5e5; color: #a52e2e; }
.profile-order[open] .profile-chevron { transform: rotate(180deg); }
.profile-order-body { margin-top: 16px; border-top: 1px solid #e4ebe6; }
.profile-item { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e4ebe6; }
.profile-item img,.profile-no-photo { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: #edf2ef; }
.profile-no-photo { display: grid; place-items: center; font-size: 11px; color: #687b70; }
.profile-history,.profile-pagination { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; }
@media (max-width: 600px) {
	.profile-order summary { grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
	.profile-item { grid-template-columns: 48px minmax(0,1fr); }
	.profile-item img,.profile-no-photo { width: 48px; height: 48px; }
	.profile-item > strong { grid-column: 2; }
}

.profile-cancel {
	background: #fff;
	color: #b83232;
	border: 1px solid #b83232;
	border-radius: 8px;
	padding: 10px 16px;
	cursor: pointer;
}
.profile-cancel:hover { background: #f9eded; }

#checkout-pickup { margin-top:14px; }
#checkout-pickup[hidden], #pickup-details[hidden] { display:none; }
#pickup-details, .profile-pickup { margin:10px 0; padding:12px; background:#f2f6f3; border-radius:8px; line-height:1.6; overflow-wrap:anywhere; }

.profile-logout {
	margin-top: 15px;
}

.brand-logo.shop-brand-icon{padding:0;background:transparent;object-fit:contain}

.shop-slider{position:relative;margin:10px 10px 24px;border-radius:22px;overflow:hidden;background:#24372c;color:white}.shop-slide{position:relative;min-height:clamp(280px,54vw,500px);display:flex;align-items:center}.shop-slide[hidden]{display:none}.shop-slide>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.shop-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#000b,#0002)}.shop-slide-content{position:relative;z-index:1;padding:40px 7% 60px;max-width:85%}.shop-slide-content small{color:#fff;font-weight:600;display:inline-block;background:#ffffff30;border:1px solid #ffffff50;border-radius:24px;padding:8px 18px}.shop-slide-content h2{font-size:clamp(24px,4vw,40px);margin:18px 0;color:white}.shop-slide-content p{font-size:clamp(15px,2vw,20px);white-space:pre-line}.shop-slide-content a{display:inline-block;background:var(--shop-banner);color:var(--shop-banner_text);padding:16px 25px;border-radius:10px;font-weight:700;text-decoration:none;margin-top:12px}.slide-prev,.slide-next{position:absolute;z-index:2;top:50%;transform:translateY(-50%);border:0;border-radius:50%;width:36px;height:36px;background:#ffffff70;color:#24372c;font-size:25px;cursor:pointer}.slide-prev{left:8px}.slide-next{right:8px}.slide-dots{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);display:flex;gap:10px;z-index:2}.slide-dots button{border:0;border-radius:50%;width:12px;height:12px;padding:0;background:#ffffff70;cursor:pointer}.slide-dots button[aria-current=true]{background:white}@media(max-width:600px){.shop-slide-content{padding:28px 44px 50px;max-width:100%}.shop-slider{border-radius:14px}}

/* Align product purchase blocks at the bottom of each card. */
.cards {
	align-items: stretch;
}
.cards > .product-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.cards > .product-card > .product-price {
	margin-top: auto;
	padding-top: 12px;
}

/* Animated banner */
.shop-slider {
	display: grid;
	touch-action: pan-y;
}
.shop-slider > .shop-slide {
	grid-area: 1 / 1;
	min-width: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #24372c;
}
.shop-slider > .shop-slide > img {
	border-radius: 0;
}
.shop-slider > .slide-prev,
.shop-slider > .slide-next {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	font: 30px/1 Arial, sans-serif;
	color: #fff;
	background: #0006;
	z-index: 3;
}
.shop-slider > .slide-prev:hover,
.shop-slider > .slide-next:hover {
	background: #0009;
}
.shop-slider .slide-dots {
	z-index: 3;
}

/* Staff navigation */
.staff-links.staff-desktop {
	display:flex;
	align-items:center;
	justify-content:flex-end;
	flex-wrap:wrap;
	gap:8px 24px;
	padding:7px 20px;
	background:var(--shop-staff);
	color:#fff;
	font-size:14px;
}
.staff-links a:hover {text-decoration:underline;}
.staff-links a:focus-visible {outline:2px solid currentColor;outline-offset:3px;}
.staff-links.staff-mobile {display:none;}
@media (max-width:1000px) {
	.staff-links.staff-desktop {display:none;}
	.staff-links.staff-mobile {
		display:flex;
		flex-direction:column;
		gap:4px;
		border-top:1px solid var(--shop-border);
		padding-top:8px;
		color:var(--shop-primary);
	}
	.staff-links.staff-mobile a {display:block;padding:10px 12px;border-radius:8px;background:var(--shop-soft);}
}

.order-qr{display:grid;justify-items:center;gap:8px;padding:16px;margin:12px 0;border:1px solid #dce4df;border-radius:12px;text-align:center}.order-qr canvas{width:220px;max-width:100%;height:auto;image-rendering:pixelated}.order-qr span{overflow-wrap:anywhere}

/* Shop theme overrides */
body, .category-strip {background:var(--shop-background);color:var(--shop-text)}
.site-header, .header-search, .category-tile, article, .detail>section, dialog, input, select, textarea {background-color:var(--shop-surface)}

.header-search button,.header-action {background:transparent;color:var(--shop-primary)}
.category-tile.active,.category-tile:hover {background:var(--shop-selected);color:var(--shop-primary)}
.info {background:var(--shop-about)}
footer {background:var(--shop-footer);color:var(--shop-footer_text)}
.staff-links.staff-desktop {background:var(--shop-staff);color:var(--shop-staff_text)}
.shop-slide-content a {background:var(--shop-banner);color:var(--shop-banner_text)}
.shop-slider .slide-dots button {background:#ffffff70}
.shop-slider .slide-dots button[aria-current=true] {background:white}
.shop-slider .slide-prev,.shop-slider .slide-next {background:#0006;color:white}
#mss-bell {background:var(--shop-surface)!important;color:var(--shop-primary)!important;border-color:var(--shop-border)!important}
#mss-inbox {background:var(--shop-surface)!important;color:var(--shop-text)!important}
#mss-list a {color:var(--shop-text)!important}
#mss-list a.mss-unread {background:var(--shop-soft)!important}

/* Mobile header: include notifications in the action row. */
@media(max-width:1000px){
	.header-actions:has(#mss-notify){grid-template-columns:repeat(4,minmax(0,1fr));align-items:start}
	.header-actions .header-action{min-width:0;min-height:64px;justify-content:flex-start;padding:6px 2px}
	.header-actions #mss-notify{position:static;display:flex;justify-content:center;min-width:0}
	.header-actions #mss-bell{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;width:100%;min-height:64px;padding:6px 2px;border:0;border-radius:10px;font-size:12px;line-height:1.3}
	.header-actions #mss-bell svg{width:24px;height:24px;flex:none}
	.header-actions #mss-bell::after{content:"Уведомления";white-space:normal;overflow-wrap:anywhere}
	.header-actions #mss-inbox{position:fixed;top: min(180px,25vh);left:12px;right:12px;width:auto;max-width:none;max-height:65vh;overflow:auto;z-index:100}
}

/* Always-visible mobile cart */
.site-header .mobile-cart {display:none;}
@media(max-width:1000px){
	.site-header .mobile-cart {display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;margin:0 8px 0 0;border:1px solid var(--shop-border);border-radius:10px;color:var(--shop-primary);background:var(--shop-surface);}
	.site-header .mobile-cart b[data-count] {top:-4px;left:auto;right:-4px;}
	.site-header .menu-button {flex:0 0 44px;margin-left:0;}
	.site-header .brand {min-width:0;margin-right:8px;}
}
@media(max-width:380px){
	.site-header .brand {gap:6px;margin-left:6px;}
	.site-header .brand-logo {width:36px;height:36px;}
	.site-header .brand-text strong {font-size:16px;}
	.site-header .brand-text small {font-size:11px;}
	.site-header .menu-button {margin-right:6px;}
}

.product-card mark.search-match { background:#ffeb75; color:#292400; border-radius:2px; padding:0; }
.product-card .search-extra { font-size:12px; color:inherit; overflow-wrap:anywhere; margin:4px 0; }

.header-search {position:relative;}
.search-suggestions[hidden] {display:none;}
.search-suggestions {position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:50;background:var(--shop-surface);border:1px solid var(--shop-border);border-radius:12px;box-shadow:0 8px 24px #0002;max-height:min(55vh,420px);overflow:auto;}
.search-suggestions a {display:flex;align-items:center;gap:10px;padding:9px;color:var(--shop-text);text-decoration:none;border-bottom:1px solid var(--shop-border);}
.search-suggestions a[aria-selected=true],.search-suggestions a:hover {background:var(--shop-soft);}
.search-suggestions img,.suggest-placeholder {width:48px;height:48px;flex:0 0 48px;object-fit:contain;border-radius:6px;background:var(--shop-soft);}
.suggest-placeholder {display:grid;place-items:center;font-size:10px;text-align:center;}
.suggest-name {flex:1;min-width:0;overflow-wrap:anywhere;}
.suggest-name small {display:block;color:var(--shop-muted);}
.suggest-price {white-space:nowrap;color:var(--shop-primary);font-size:13px;}
.search-suggestions .suggest-all {justify-content:center;color:var(--shop-primary);font-weight:600;}
.search-suggestions .suggest-empty {padding:12px;}
.menu-toggle:checked~.header-panel .header-tools {overflow:visible;}
