:root { --ink: #162341; --muted: #4c5a72; --blue: #1553d5; --navy: #123475; --line: #dbe3f0; --paper: #f4f7fc; font: 16px/1.5 system-ui, sans-serif; background: var(--paper); color: var(--ink); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #168bf1; outline-offset: 3px; }
.wrap { width: min(1320px, calc(100% - 40px)); margin-inline: auto; }
.shop-header { position: sticky; top: 0; z-index: 2; background: var(--navy); color: white; }
.header-inner { display: grid; grid-template-columns: auto minmax(0, 580px) auto; align-items: center; justify-content: space-between; min-height: 74px; gap: 20px; }
.brand { width: fit-content; font-size: 1.8rem; line-height: 1; letter-spacing: .12em; font-weight: 900; text-decoration: none; }
.brand span { color: #5cc8ff; }
.search { display: flex; min-width: 0; border-radius: 8px; background: white; overflow: hidden; color: var(--ink); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 12px; }
.search button { display: grid; place-items: center; width: 46px; min-height: 44px; border: 0; background: transparent; color: var(--navy); }
.search :focus-visible { outline-offset: -3px; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.header-actions, .languages, .cart-link { display: flex; align-items: center; gap: 10px; }
.languages a { font-size: .75rem; text-decoration: none; padding: 7px 2px; }
html[lang="hy"] .languages [lang="hy"], html[lang="ru"] .languages [lang="ru"], html[lang="en"] .languages [lang="en"] { text-decoration: underline; font-weight: 800; }
.cart-link { min-height: 44px; padding: 5px 9px; border: 1px solid #ffffff65; border-radius: 8px; text-decoration: none; white-space: nowrap; }
#cart-count { display: grid; min-width: 23px; min-height: 23px; place-items: center; padding: 0 4px; border-radius: 999px; color: var(--navy); background: white; font-weight: 800; font-size: .8rem; }
.demo-line { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; padding-block: 13px; color: var(--muted); font-size: .83rem; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 18px; }
.hero-copy { padding: clamp(22px, 5.2vw, 74px); }
.eyebrow { color: var(--blue); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .79rem; }
.hero h1 { font-size: clamp(42px, 6vw, 86px); line-height: .98; letter-spacing: -.055em; margin-block: 10px 14px; }
.hero-copy > p:not(.eyebrow) { color: var(--muted); }
.hero-copy > strong { display: block; font-size: clamp(23px, 3.2vw, 42px); margin-block: 8px 16px; }
.hero img { width: 100%; height: clamp(270px, 34vw, 440px); object-fit: contain; display: block; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 8px 13px; border: 0; border-radius: 7px; color: white; background: var(--blue); font-weight: 700; text-decoration: none; }
.button:hover { background: var(--navy); }
.categories { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 8px; margin-block: 18px 28px; }
.categories button { display: grid; justify-items: center; align-content: center; gap: 5px; min-height: 74px; padding: 6px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); font-size: .88rem; }
.categories button[aria-pressed="true"] { border-color: var(--blue); color: var(--navy); background: #e9f1ff; font-weight: 750; }
.collection, .cart, [data-product], #top { scroll-margin-top: 145px; }
h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 13px; }
.catalog { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; }
.catalog article { min-width: 0; display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: white; }
.catalog img { display: block; width: 100%; height: auto; }
.product-info { display: grid; align-content: start; gap: 4px; padding: 11px; }
.product-category, .spec, .muted { color: var(--muted); font-size: .83rem; }
.product-info h3 { font-size: 1.06rem; line-height: 1.2; }
.price { font-weight: 850; margin-top: 6px; font-size: 1.06rem; }
.product-info .button { margin-top: 5px; width: 100%; font-size: .86rem; }
#no-results { color: var(--muted); padding-block: 8px 24px; }
.cart { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; background: white; padding: clamp(16px,3vw,30px); border: 1px solid var(--line); border-radius: 11px; margin-block: 30px; }
#cart-items { list-style: none; margin: 0; padding: 0; }
#cart-items li, .cart-total { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px 12px; }
#cart-items li { margin-bottom: 8px; }
#cart-items button { min-height: 44px; padding: 4px 8px; background: white; color: var(--navy); border: 1px solid var(--line); border-radius: 6px; }
.cart-total { border-top: 1px solid var(--line); padding-top: 9px; margin-top: 12px; }
.shop-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 16px; border-top: 1px solid var(--line); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1100px) { .catalog { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 690px) {
  .wrap { width: calc(100% - 26px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 8px; padding-block: 8px; }
  .search { grid-column: 1 / -1; grid-row: 2; }
  .hero { grid-template-columns: 1fr; }
  .hero img { height: min(70vw, 320px); }
  .categories { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .catalog { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cart { grid-template-columns: 1fr; }
}

.demo-line .back-link { display: inline-flex; align-items: center; min-height: 44px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--navy); background: white; font-weight: 700; text-decoration: none; }
.demo-line .back-link:hover { border-color: var(--blue); }
