:root {
  color-scheme: light;
  --ed-paper: #fbf3e5;
  --ed-ink: #351426;
  --ed-muted: #655455;
  --ed-deep: #42122b;
  --ed-accent: #c74608;
  --ed-accent-dark: #9b3104;
  --ed-yellow: #ffe23c;
  --ed-white: #fffaf0;
  --ed-surface: #fffdf8;
  --ed-line: #e8dac9;
  --ed-hover: #fff0da;
  --ed-teal: var(--ed-accent);
  --ed-teal-dark: var(--ed-accent-dark);
  --ed-display: "Exo 2", "Segoe UI", sans-serif;
  --ed-text: "Golos Text", "Segoe UI", system-ui, sans-serif;
  --ed-appear: cubic-bezier(.19, 1, .3, 1);
  --ed-ease: var(--ed-appear);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ed-paper); color: var(--ed-ink); font-family: var(--ed-text); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--ed-display); }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ed-accent); outline-offset: 3px; }
#app:focus { outline: none; }

.ed-container { width: min(1320px, calc(100% - clamp(28px, 5.5vw, 96px))); margin-inline: auto; }
.ed-skip { position: fixed; z-index: 40; inset: 8px auto auto 8px; padding: 12px 16px; clip-path: inset(50%); background: var(--ed-yellow); border-radius: 6px; }
.ed-skip:focus { clip-path: none; }
.ed-header { background: var(--ed-deep); color: var(--ed-white); }
.ed-header :focus-visible, .ed-footer :focus-visible, .ed-hero :focus-visible { outline-color: var(--ed-yellow); }
.ed-header-main { display: flex; align-items: center; min-block-size: 64px; gap: clamp(9px, 1.9vw, 27px); }
.ed-logo { display: inline-flex; align-items: center; width: fit-content; flex: none; }
.ed-logo-image { width: clamp(148px, 19vw, 244px); height: auto; }
.ed-catalog-trigger { display: flex; align-items: center; justify-content: center; gap: 8px; min-block-size: 44px; margin-inline-start: 3px; padding: 0 10px; border: 1px solid transparent; border-radius: 7px; color: inherit; background: transparent; font-weight: 700; font-size: .89rem; }
.ed-catalog-trigger:hover, .ed-catalog-trigger[aria-expanded='true'] { background: #ffffff1b; border-color: #ffffff25; }
.ed-catalog-trigger svg { width: 19px; height: 19px; flex: none; }
.ed-header-nav { display: flex; align-items: center; gap: clamp(10px, 1.25vw, 19px); }
.ed-header-nav a { display: flex; align-items: center; gap: 5px; min-height: 38px; text-decoration: none; white-space: nowrap; font-size: .85rem; }
.ed-header-nav a:hover { color: var(--ed-yellow); }
.ed-nav-promotions { color: #ffec7b; font-weight: 700; }
.ed-header-nav svg, .ed-top-phone svg { width: 16px; height: 16px; }
.ed-top-phone { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; text-decoration: none; white-space: nowrap; font-size: .85rem; }
.ed-top-phone:hover { color: var(--ed-yellow); }
.ed-header-actions { display: flex; align-items: center; gap: 1px; margin-inline-start: auto; }
.ed-header-action { display: grid; place-items: center; position: relative; flex: none; width: 44px; height: 44px; border-radius: 7px; }
.ed-header-action:hover { background: #ffffff19; color: var(--ed-yellow); }
.ed-header-action svg { width: 23px; height: 23px; }
.ed-action-count { position: absolute; inset: 2px 1px auto auto; display: grid; place-items: center; min-width: 17px; height: 17px; padding-inline: 3px; border-radius: 50%; background: var(--ed-yellow); color: var(--ed-ink); font-size: .66rem; font-weight: 800; }
.ed-action-count:empty { display: none; }

.ed-search-row { padding-block: 1px 13px; }
.ed-header-search { display: grid; grid-template-columns: 39px minmax(0, 1fr) auto; align-items: center; gap: 3px; padding: 2px 3px 2px 0; border-radius: 8px; background: var(--ed-white); color: var(--ed-ink); }
.ed-search-symbol { width: 20px; height: 20px; justify-self: center; }
.ed-header-search input { min-width: 0; width: 100%; min-height: 39px; padding: 0 8px 0 0; color: var(--ed-ink); background: transparent; border: 0; font-size: .94rem; }
.ed-header-search input::placeholder { color: var(--ed-muted); }
.ed-header-search input:focus-visible { outline-color: var(--ed-accent); outline-offset: -2px; }
.ed-header-search button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding-inline: 16px; background: var(--ed-yellow); color: var(--ed-ink); border: 0; border-radius: 6px; font-weight: 750; }
.ed-header-search button:hover { background: #ffce29; }
.ed-header-search button svg { width: 17px; height: 17px; }

.ed-menu { width: min(950px,calc(100vw - 26px)); max-height: 82dvh; padding: 0; background: var(--ed-surface); border: 1px solid var(--ed-line); border-radius: 12px; color: var(--ed-ink); }
.ed-menu::backdrop { background: #2812219b; }
.ed-menu-inner { padding: 18px clamp(12px,2.5vw,29px); }
.ed-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-block-end: 12px; }
.ed-menu-head h2 { margin: 0; font-size: clamp(1.25rem,3vw,1.95rem); }
.ed-menu-close { display: grid; place-items: center; width: 44px; height: 44px; background: var(--ed-white); border: 1px solid var(--ed-line); border-radius: 7px; color: var(--ed-deep); }
.ed-menu-close:hover { background: var(--ed-hover); }
.ed-menu svg { width: 20px; height: 20px; flex: none; }
.ed-menu-body { display: grid; grid-template-columns: minmax(185px,.75fr) minmax(0,1.5fr); gap: 18px; padding-block: 12px 17px; border-block: 1px solid var(--ed-line); }
.ed-menu-tabs { display: grid; align-content: start; gap: 4px; }
.ed-menu-tabs button { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 7px 9px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--ed-ink); text-align: start; font-size: .87rem; }
.ed-menu-tabs button:hover, .ed-menu-tabs button[aria-pressed='true'] { background: var(--ed-hover); }
.ed-menu-tabs button[aria-pressed='true'] { border-color: #f0c69d; color: var(--ed-accent-dark); font-weight: 700; }
.ed-menu-tabs .ed-menu-chevron { width: 13px; height: 13px; margin-inline-start: auto; }
.ed-menu-preview { position: relative; display: grid; min-height: 94px; overflow: hidden; border-radius: 8px; text-decoration: none; isolation: isolate; background: var(--ed-hover); margin-block-end: 7px; }
.ed-menu-preview img { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 60%; height: 100%; object-fit: cover; object-position: right center; }
.ed-menu-preview::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,var(--ed-hover) 38%,transparent 85%); }
.ed-menu-preview > span { padding: 12px; align-self: center; }
.ed-menu-preview strong { display: block; font: 760 1.24rem var(--ed-display); }
.ed-menu-preview span span { display: flex; align-items: center; gap: 6px; padding-block-start: 4px; color: var(--ed-accent-dark); font-size: .85rem; }
.ed-menu-preview span svg { width: 16px; height: 16px; }
.ed-menu-links p { color: var(--ed-muted); }
.ed-menu-link, .ed-menu-all, .ed-menu-bottom { display: flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; }
.ed-menu-all, .ed-menu-bottom { color: var(--ed-accent-dark); font-weight: 690; }
.ed-menu-all:hover, .ed-menu-bottom:hover, .ed-menu-preview:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.ed-menu-links ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px 7px; list-style: none; margin: 0; padding: 0; }
.ed-menu-links li a { display: flex; align-items: center; justify-content: space-between; gap: 5px; min-height: 44px; padding: 6px 7px; border-radius: 6px; text-decoration: none; font-size: .89rem; overflow-wrap: anywhere; }
.ed-menu-links li a:hover { background: var(--ed-hover); }
.ed-menu-links li a svg { width: 11px; height: 11px; }

.ed-hero { width: min(1520px,100%); }
.ed-hero-board { min-height: clamp(365px,35vw,469px); position: relative; isolation: isolate; overflow: hidden; background: #ae3507; color: #fff8e8; }
.ed-hero-slide { --ed-hero-bg: #ae3507; position: absolute; inset: 0; display: grid; align-items: center; isolation: isolate; visibility: hidden; opacity: 0; background: var(--ed-hero-bg); }
.ed-hero-slide--electronics { --ed-hero-bg: #341020; }
.ed-hero-slide--kitchen { --ed-hero-bg: #803512; }
.ed-hero-slide.ed-hero-current { visibility: visible; opacity: 1; z-index: 1; }
.ed-hero-media { position: absolute; z-index: -2; inset: 0 0 0 38%; overflow: hidden; }
.ed-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 61%; }
.ed-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,var(--ed-hero-bg) 0%,color-mix(in srgb,var(--ed-hero-bg) 81%,transparent) 7%,transparent 33%); }
.ed-hero-content { padding: clamp(27px,4.5vw,66px) clamp(19px,7.1vw,106px); width: min(58%,770px); }
.ed-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ed-hero-title { margin: 0 0 clamp(15px,2vw,29px); font-family: var(--ed-display); font-size: clamp(3rem,6.6vw,6.45rem); line-height: .9; letter-spacing: -.04em; font-weight: 800; }
.ed-hero-description { max-width: 29ch; margin: 0; color: #fff2e6; font-size: clamp(.9rem,1.3vw,1.12rem); line-height: 1.45; }
.ed-hero-services { display: grid; justify-items: start; gap: 4px; }
.ed-hero-services a { display: flex; align-items: center; gap: 10px; min-height: 31px; color: #fff7ed; font-size: clamp(.85rem,1.2vw,1.02rem); text-decoration: none; }
.ed-hero-services a:hover { color: var(--ed-yellow); }
.ed-hero-services svg { width: 22px; height: 22px; color: #ffe18b; flex: none; }
.ed-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.ed-hero-actions a { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 8px 13px; border-radius: 8px; font-weight: 750; font-size: .86rem; text-decoration: none; }
.ed-hero-actions svg { width: 17px; height: 17px; flex: none; }
.ed-primary-action { background: var(--ed-yellow); color: var(--ed-ink); }
.ed-primary-action:hover { background: #fff284; }

.ed-home-section { margin-block: clamp(20px,3.2vw,46px); }
.ed-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px 18px; margin-block-end: 10px; }
.ed-section-heading h2 { margin: 0; font-size: clamp(1.55rem,3.2vw,2.85rem); font-weight: 790; letter-spacing: -.036em; line-height: 1.06; }
.ed-section-link { display: flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ed-accent-dark); text-decoration: none; font-size: .87rem; font-weight: 720; white-space: nowrap; }
.ed-section-link svg { width: 18px; height: 18px; }
.ed-section-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.ed-category-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: clamp(8px,1.1vw,15px); }
.ed-category-card { grid-column: span 2; position: relative; isolation: isolate; display: grid; align-content: start; min-height: clamp(148px,14vw,208px); padding: clamp(12px,2vw,23px); color: var(--ed-deep); text-decoration: none; border-radius: 10px; background: #ecd4b5; overflow: hidden; }
.ed-category-card:nth-child(n+4) { grid-column: span 3; }
.ed-category-art { position: absolute; z-index: -2; inset: 0; display: grid; place-items: center end; overflow: hidden; }
.ed-category-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 60%; }
.ed-category-art:has(img) > svg { visibility: hidden; }
.ed-category-icon { width: 31%; height: 64%; margin-inline-end: 10%; color: var(--ed-accent-dark); }
.ed-category-card::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#faecd9b9,transparent 60%); pointer-events: none; }
.ed-category-card[data-ed-category='electronics'] { background: #552337; color: #fff8f0; }
.ed-category-card[data-ed-category='electronics']::after { background: linear-gradient(90deg,#4a102dec 0 26%,#4a102d98 40%,transparent 66%); }
.ed-category-label { max-width: 12ch; display: block; font: 760 clamp(1.05rem,2vw,1.85rem)/1.08 var(--ed-display); letter-spacing: -.018em; }
.ed-category-caption { display: grid; justify-items: start; gap: 7px; }
.ed-category-caption small { padding: 3px 6px; border-radius: 5px; background: #fff5e9; color: var(--ed-deep); font-size: .72rem; }
.ed-category-arrow { position: absolute; inset: auto 11px 11px auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--ed-white); color: var(--ed-deep); }
.ed-category-arrow svg { width: 17px; height: 17px; }
.ed-category-card:hover .ed-category-arrow { background: var(--ed-yellow); }
.ed-home-products { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 5); gap: 14px; padding: 3px 3px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #c7a98b transparent; }
.ed-product-cell { min-width: 0; display: grid; scroll-snap-align: start; }

.ed-promo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(8px,1.15vw,15px); }
.ed-promo-card { display: grid; grid-template-columns: minmax(0,1fr) 24px; align-items: center; gap: 8px; padding: 8px; background: var(--ed-surface); border: 1px solid var(--ed-line); border-radius: 9px; text-decoration: none; }
.ed-promo-card:hover { border-color: var(--ed-accent); }
.ed-promo-card img, .ed-promo-art { grid-column: 1/-1; border-radius: 6px; aspect-ratio: 2.35; width: 100%; object-fit: contain; background: #f5e7d4; }
.ed-promo-art { display: grid; place-items: center; background: #ffe8bf; }
.ed-promo-art svg { width: 40px; height: 40px; }
.ed-promo-card strong { padding: 2px 4px 4px; font-size: .93rem; line-height: 1.31; }
.ed-promo-link-icon { width: 18px; height: 18px; color: var(--ed-accent-dark); }
.ed-service-section { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-block: 36px 44px; }
.ed-service-item { display: grid; grid-template-columns: 29px minmax(0,1fr) 16px; align-items: center; gap: 8px; padding: 13px; background: var(--ed-white); border: 1px solid var(--ed-line); border-radius: 8px; text-decoration: none; }
.ed-service-item:hover { border-color: var(--ed-accent); }
.ed-service-item strong,.ed-service-item small { display: block; }
.ed-service-item small { margin-top: 3px; color: var(--ed-muted); font-size: .78rem; }
.ed-service-item svg { width: 25px; height: 25px; color: var(--ed-accent-dark); }
.ed-service-item svg:last-child { width: 16px; height: 16px; }

.ed-footer { margin-top: clamp(22px,3vw,46px); background: var(--ed-deep); color: #fff3e9; border-top: 3px solid #c74608; }
.ed-footer-content { display: grid; grid-template-columns: minmax(0,1.3fr) repeat(3,minmax(0,1fr)); gap: 20px; padding-block: 32px 25px; }
.ed-footer-content h2 { margin: 0 0 9px; font-size: 1.03rem; color: #ffe2c0; }
.ed-footer-content p { margin: 7px 0 0; font-size: .86rem; }
.ed-footer-content > div > a:not(.ed-logo) { display: block; width: fit-content; padding: 4px 0; color: #fff0e5; font-size: .86rem; text-decoration: none; }
.ed-footer-content > div > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ed-footer-content .ed-footer-phone { font-weight: 740; font-size: 1.1rem; }
.ed-social { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ed-social-link { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid #ab778d; border-radius: 8px; text-decoration: none; }
.ed-social-link:hover { background: var(--ed-yellow); border-color: var(--ed-yellow); color: var(--ed-ink); }
.ed-footer-bottom { padding-block: 13px 17px; border-top: 1px solid #875970; color: #f5d5ce; font-size: .82rem; }

@media (prefers-reduced-motion:no-preference) {
  .ed-hero-slide { transition: opacity 470ms ease, visibility 470ms; }
  .ed-hero-current .ed-hero-content > * { animation: ed-home-rise 490ms var(--ed-appear) backwards; }
  .ed-hero-current .ed-hero-services, .ed-hero-current .ed-hero-description { animation-delay: 70ms; }
  .ed-hero-current .ed-hero-actions { animation-delay: 120ms; }
  .ed-hero-current .ed-hero-media { animation: ed-hero-photo 650ms var(--ed-appear) both; }
  .ed-rise { animation: ed-home-rise 420ms var(--ed-appear) var(--ed-rise-delay,0ms) backwards; }
  .ed-category-card.ed-rise .ed-category-art { animation: ed-category-image 530ms var(--ed-appear) var(--ed-rise-delay,0ms) backwards; }
  .ed-category-card img { transition: transform 440ms var(--ed-appear); }
  .ed-category-card:is(:hover,:focus-visible) img { transform: scale(1.055); }
  .ed-menu[open] { animation: ed-menu-in 270ms var(--ed-appear) both; }
  .ed-menu-links > :is(.ed-menu-preview,ul) { animation: ed-home-rise 250ms var(--ed-appear) backwards; }
  @keyframes ed-home-rise { from { opacity: 0; translate: 0 15px; } }
  @keyframes ed-hero-photo { from { opacity: .35; scale: 1.035; } }
  @keyframes ed-category-image { from { opacity: .45; translate: 8px 0; } }
  @keyframes ed-menu-in { from { opacity: .35; translate: 0 9px; scale: .99; } }
}
@media (max-width:1130px) {
  .ed-top-phone { display: none; }
  .ed-home-products { grid-auto-columns: calc((100% - 42px) / 4); }
}
@media (max-width:830px) {
  .ed-header-main { min-height: 59px; }
  .ed-header-nav { display: none; }
  .ed-hero-content { padding-inline: clamp(20px,4.5vw,42px); }
  .ed-hero-media { inset-inline-start: 36%; }
  .ed-home-products { grid-auto-columns: calc((100% - 28px) / 3); }
  .ed-footer-content { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:580px) {
  .ed-header-main { gap: 3px; min-height: 55px; }
  .ed-logo-image { width: clamp(120px,35vw,173px); }
  .ed-header-action { width: 44px; height: 44px; }
  .ed-header-action svg { width: 20px; height: 20px; }
  .ed-catalog-trigger { min-width: 44px; margin-inline-start: 2px; padding-inline: 8px; }
  .ed-catalog-trigger span { display: none; }
  .ed-header-search { grid-template-columns: 31px minmax(0,1fr) auto; }
  .ed-header-search input { font-size: .82rem; }
  .ed-header-search button { font-size: .82rem; padding-inline: 9px; }
  .ed-header-search button svg { display: none; }
  .ed-menu { max-height: 89dvh; }
  .ed-menu-body { grid-template-columns: minmax(0,1fr); gap: 9px; }
  .ed-menu-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ed-menu-tabs button { font-size: .8rem; }
  .ed-menu-tabs .ed-menu-chevron { display: none; }
  .ed-menu-preview { min-height: 75px; }
  .ed-menu-preview strong { font-size: 1.03rem; }
  .ed-menu-links li a { font-size: .81rem; }
  .ed-hero-board { min-height: 377px; }
  .ed-hero-slide { align-items: start; }
  .ed-hero-content { width: 100%; padding: 20px 16px 167px; }
  .ed-hero-title { font-size: clamp(2.45rem,11vw,3.65rem); margin-bottom: 12px; }
  .ed-hero-services { grid-auto-flow: column; justify-content: start; gap: 9px; }
  .ed-hero-services a { min-height: 29px; font-size: .75rem; gap: 4px; }
  .ed-hero-services a:last-child { display: none; }
  .ed-hero-services svg { width: 16px; height: 16px; }
  .ed-hero-actions { margin-top: 10px; }
  .ed-hero-media { inset: auto 0 0 0; height: 181px; }
  .ed-hero-media img { object-position: 61% 59%; }
  .ed-hero-media::after { background: linear-gradient(180deg,var(--ed-hero-bg),transparent 33%); }
  .ed-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ed-category-card,.ed-category-card:nth-child(n+4) { grid-column: auto; min-height: 125px; padding: 10px; }
  .ed-category-card:last-child { grid-column: 1/-1; }
  .ed-category-card::after { background: linear-gradient(100deg,#f7e4cffa 1%,#f7e4cfdd 55%,transparent 89%); mask-image: linear-gradient(#000 26%,transparent 75%); }
  .ed-category-card[data-ed-category='electronics']::after { background: linear-gradient(100deg,#42122bf5 1%,#42122bd2 54%,transparent 87%); }
  .ed-category-label { max-width: 12ch; font-size: clamp(.92rem,4.08vw,1.13rem); }
  .ed-category-arrow { width: 29px; height: 29px; inset: auto 6px 6px auto; }
  .ed-category-arrow svg { width: 14px; height: 14px; }
  .ed-section-link { font-size: .77rem; }
  .ed-home-products { grid-auto-columns: calc((100% - 14px) / 2); }
  .ed-promo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ed-promo-card strong { font-size: .79rem; }
  .ed-service-section { grid-template-columns: minmax(0,1fr); }
  .ed-footer-content { gap: 15px; }
}
@media (max-width:350px) {
  .ed-header-main { width: calc(100% - 22px); }
  .ed-logo-image { width: 112px; }
}
