/* Імперія шпалер — v4. Білий фон, чорний текст, великі фото, мінімум декору. */
:root {
  --ink: #111;
  --text: #1a1a1a;
  --muted: #707070;
  --line: #e8e8e8;
  --line-strong: #c9c9c9;
  --bg: #fff;
  --soft: #f4f4f2;
  --sale: #b3261e;
  --green: #2e6b3f;
  --font: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1480px;
  --gutter: 40px;
  --brand: #111;
  --border: var(--line);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overscroll-behavior-x: none; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: 28px; } h2 { font-size: 22px; } h3 { font-size: 16px; }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.main { min-height: 60vh; }
.section { padding: 72px 0 0; }
.section--tight { padding-top: 40px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section__head h2 { margin: 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.section__head a { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.section__head a:hover { color: var(--muted); border-color: var(--muted); }
.label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.u-link { border-bottom: 1px solid var(--ink); padding-bottom: 1px; }

/* ---------- header ---------- */
.topbar { background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 9px 16px; }
.topbar a { color: #fff; }
.topbar__sep { opacity: .5; margin: 0 14px; }
.header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.header__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; height: 68px; gap: 40px; }
.header__right { display: flex; align-items: center; justify-content: flex-end; gap: 26px; }
.logo { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.logo__crown { width: 44px; height: 35px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; font-family: "Playfair Display", Georgia, serif; color: #c8102e; text-transform: uppercase; white-space: nowrap; }
.logo__text b { font-size: 17px; font-weight: 700; letter-spacing: .06em; }
.logo__text b + b { margin-top: 2px; }
.nav { display: flex; gap: 26px; height: 68px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item > a { white-space: nowrap; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav__item:hover > a, .nav__item > a.is-active { border-color: var(--ink); }
.nav__item > a.nav--sale { color: var(--sale); }
.nav__drop { position: absolute; top: 68px; left: -20px; background: #fff; border: 1px solid var(--line); border-top: 0; padding: 18px 24px 20px; min-width: 240px; display: none; flex-direction: column; gap: 10px; }
.nav__item:hover .nav__drop { display: flex; }
.nav__drop a { font-size: 13px; }
.nav__drop a:hover { text-decoration: underline; }
.nav__drop a.is-sub { color: var(--muted); font-size: 12px; }
.icon-btn { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; position: relative; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn__count { position: absolute; top: -7px; left: 11px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 10px; display: grid; place-items: center; padding: 0 4px; letter-spacing: 0; }
.icon-btn__count.is-empty { display: none; }
.burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { display: block; height: 1.5px; background: var(--ink); width: 22px; }
.search-overlay { display: none; border-top: 1px solid var(--line); background: #fff; }
.search-overlay.is-open { display: block; }
.search { max-width: 820px; margin: 0 auto; padding: 22px var(--gutter) 24px; position: relative; }
.search input { width: 100%; height: 46px; border: 0; border-bottom: 1px solid var(--ink); padding: 0 40px 0 0; outline: none; font-size: 18px; background: transparent; font-weight: 300; }
.search input::placeholder { color: #999; }
.search button { position: absolute; right: var(--gutter); top: 32px; }
.search button svg { width: 22px; height: 22px; }
.suggest { position: absolute; left: var(--gutter); right: var(--gutter); top: 72px; background: #fff; border: 1px solid var(--line); display: none; z-index: 70; }
.suggest.is-open { display: block; }
.suggest a { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.suggest a:last-child { border: 0; }
.suggest a:hover { background: var(--soft); }
.suggest img { width: 44px; height: 54px; object-fit: contain; background: #fff; }
.suggest span { font-size: 13px; flex: 1; }
.suggest b { font-weight: 500; white-space: nowrap; }

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 100; display: none; }
.mobile-menu.is-open { display: block; }
.mobile-menu__panel { width: min(380px, 88vw); height: 100%; background: #fff; overflow: auto; padding: 0 0 30px; }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.mobile-menu__head button { font-size: 20px; }
.mobile-menu__cat { display: block; padding: 14px 24px; font-size: 14px; border-bottom: 1px solid var(--line); }
.mobile-menu__sub { display: block; padding: 10px 24px 10px 40px; color: var(--muted); font-size: 13px; }
.mobile-menu__contacts { padding: 20px 24px; line-height: 1.9; font-size: 13px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 28px; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; border: 1px solid var(--ink); transition: background .15s, color .15s; white-space: nowrap; }
.btn:hover { background: #333; border-color: #333; }
.btn--light, .btn--outline { background: transparent; color: var(--ink); }
.btn--light:hover, .btn--outline:hover { background: var(--ink); color: #fff; }
.btn--lg { height: 54px; padding: 0 36px; }
.btn--sm { height: 40px; padding: 0 18px; }
.btn--block { width: 100%; }
.btn--cart { width: 40px; height: 40px; padding: 0; border-radius: 50%; }
.btn--cart svg { width: 16px; height: 16px; }
.btn--cart.is-added { background: var(--green); border-color: var(--green); }
.btn--cart[hidden] { display: none; }
.badge { display: inline-block; padding: 4px 8px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; background: #fff; color: var(--ink); }
.badge--sale { background: var(--ink); color: #fff; }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; display: flex; flex-direction: column; }
.card__img { display: block; aspect-ratio: 4 / 5; background: var(--soft); position: relative; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: opacity .4s; }
.card__img img.card__alt { opacity: 0; }
.card:hover .card__img img.card__alt { opacity: 1; }
.card__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 2; }
.card__fav { position: absolute; top: 8px; right: 8px; z-index: 2; width: 32px; height: 32px; display: grid; place-items: center; color: var(--ink); opacity: 0; transition: opacity .2s; }
.card__fav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.card__fav.is-on svg { fill: currentColor; }
.card:hover .card__fav, .card__fav.is-on { opacity: 1; }
.card__body { padding: 12px 0 0; display: flex; flex-direction: column; gap: 4px; }
.card__meta { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__name { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__name:hover { text-decoration: underline; }
.card__specs { font-size: 12px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; min-height: 40px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price s { color: var(--muted); font-size: 12px; }
.price b { font-weight: 500; font-size: 14px; }
.price--sale { color: var(--sale); }
.price small { color: var(--muted); font-size: 12px; }
.card--contain .card__img { background: #fff; border: 1px solid var(--line); }
.card--contain .card__img img { object-fit: contain; padding: 8%; }
.gallery--contain .gallery__main { background: #fff; border: 1px solid var(--line); }
.gallery--contain .gallery__main img { object-fit: contain; padding: 6%; }
.gallery--contain .gallery__thumbs img { object-fit: contain; }
.card__stock { font-size: 11px; color: var(--muted); margin-left: auto; margin-right: 8px; white-space: nowrap; }
.card .btn--cart { opacity: 1; transition: transform .15s, background .2s; }
.card .btn--cart:hover { transform: scale(1.06); }
.card:hover .btn--cart, .card .btn--cart.is-added { opacity: 1; }
.card__qty { display: inline-flex; align-items: center; height: 36px; border: 1px solid var(--ink); }
.card__qty[hidden] { display: none; }
.card__qty button { width: 32px; height: 100%; font-size: 18px; }
.card__qty b { min-width: 28px; text-align: center; font-weight: 500; font-size: 13px; }

/* ---------- home ---------- */
.hero { display: grid; grid-template-columns: 1.35fr 1fr; background: var(--soft); min-height: 560px; }
.hero__img { position: relative; overflow: hidden; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero__text { padding: 64px 72px; display: flex; flex-direction: column; justify-content: center; }
.hero__text .label { display: block; margin-bottom: 18px; }
.hero__text h1 { font-size: 42px; font-weight: 400; line-height: 1.12; margin-bottom: 20px; letter-spacing: -.015em; }
.hero__text p { font-size: 15px; color: #444; max-width: 420px; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { display: block; border: 1px solid var(--line); transition: border-color .2s, transform .3s; }
.tile:hover { border-color: var(--ink); transform: translateY(-3px); }
.tile__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s; }
.tile--contain .tile__img { background: #fff; }
.tile--contain .tile__img img { object-fit: contain; padding: 10%; }
.tile:hover .tile__img img { transform: scale(1.04); }
.tile__cap { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n a" "s a"; align-items: center; padding: 14px 16px; gap: 2px 12px; }
.tile__cap b { grid-area: n; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.tile__cap small { grid-area: s; font-size: 12px; color: var(--muted); }
.tile__cap i { grid-area: a; font-style: normal; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 2px; white-space: nowrap; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo a { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.duo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s; }
.duo a:hover img { transform: scale(1.03); }
.duo a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(transparent, rgba(0,0,0,.5)); }
.duo__text { position: absolute; left: 28px; bottom: 26px; right: 28px; color: #fff; z-index: 1; }
.duo__text b { display: block; font-size: 22px; font-weight: 400; margin-bottom: 6px; }
.duo__text span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid #fff; padding-bottom: 2px; }
.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; margin-top: 72px; }
.brands__row { display: flex; gap: 14px 44px; justify-content: center; flex-wrap: wrap; }
.brands__row a { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #555; }
.brands__row a:hover { color: var(--ink); }
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.editorial__img { aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.editorial__img img { width: 100%; height: 100%; object-fit: cover; }
.editorial h2 { font-size: 30px; font-weight: 400; margin-bottom: 20px; letter-spacing: -.01em; }
.editorial p { font-size: 15px; color: #333; max-width: 520px; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; border-top: 1px solid var(--line); padding-top: 36px; }
.services b { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-bottom: 8px; }
.services p { margin: 0; font-size: 13px; color: #555; }
.linkrow { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.linkrow a { font-size: 13px; border-bottom: 1px solid transparent; }
.linkrow a:hover { border-color: var(--ink); }
.linkrow a span { color: var(--muted); margin-left: 4px; font-size: 12px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.review { font-size: 14px; }
.review__stars { font-size: 11px; letter-spacing: .2em; margin-bottom: 12px; }
.review p { margin: 0 0 14px; color: #333; }
.review b { font-weight: 500; font-size: 12px; display: block; }
.review small { color: var(--muted); font-size: 11px; }
.contacts-strip { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: center; }
.contacts-strip h2 { font-size: 26px; font-weight: 400; margin-bottom: 20px; }
.contacts-strip p { font-size: 14px; line-height: 1.75; }
.contacts-strip p b { font-weight: 500; }
.contacts-strip p a { text-decoration: underline; }
.map-frame { overflow: hidden; }
.map-frame iframe { width: 100%; height: 400px; border: 0; display: block; filter: grayscale(1) contrast(1.02); }

/* ---------- catalog ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 24px 0 12px; }
.crumbs a:hover { color: var(--ink); }
.cat-hero { padding: 6px 0 24px; max-width: 760px; }
.cat-hero h1 { font-size: 32px; font-weight: 400; margin-bottom: 8px; }
.cat-hero p { color: #555; margin: 0; font-size: 14px; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 26px; }
.subcats a { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; }
.subcats a:hover, .subcats a.is-active { border-color: var(--ink); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin-bottom: 30px; }
.toolbar__left { display: flex; align-items: center; gap: 20px; }
.filters__toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.filters__toggle svg { width: 16px; height: 16px; }
.catalog__count { font-size: 12px; color: var(--muted); white-space: nowrap; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.sort select { border: 0; background: transparent; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; outline: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { font-size: 12px; border: 1px solid var(--line-strong); padding: 6px 12px; }
.chip:hover { border-color: var(--ink); }
.catalog { padding-bottom: 40px; }
.filters { overscroll-behavior: contain; position: fixed; top: 0; left: 0; bottom: 0; width: min(420px, 92vw); background: #fff; z-index: 120; transform: translateX(-100%); transition: transform .25s; overflow: auto; padding: 0 32px 32px; }
.filters.is-open { transform: none; box-shadow: var(--shadow-lg); }
.filters__head { display: flex; justify-content: space-between; align-items: center; padding: 24px 0 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.filters__head button { font-size: 22px; line-height: 1; }
.filters-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.3); z-index: 110; display: none; }
.filters-backdrop.is-open { display: block; }
.filters__group { border-bottom: 1px solid var(--line); padding: 16px 0; }
.filters__group summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.filters__group summary::-webkit-details-marker { display: none; }
.filters__group summary::after { content: "+"; font-size: 16px; line-height: 1; }
.filters__group[open] summary::after { content: "–"; }
.filters__list { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; max-height: 280px; overflow: auto; overscroll-behavior: contain; }
.filters__list label { display: flex; align-items: center; gap: 10px; font-size: 13px; cursor: pointer; padding: 4px 0; }
.filters__list label span { color: var(--muted); margin-left: auto; font-size: 11px; }
.filters__list input { accent-color: var(--ink); width: 14px; height: 14px; margin: 0; }
.filters__price { display: flex; gap: 10px; margin-top: 14px; }
.filters__price input { width: 100%; height: 40px; border: 1px solid var(--line-strong); padding: 0 10px; outline: none; }
.filters__price input:focus { border-color: var(--ink); }
.filters__apply { display: flex; gap: 10px; margin: 24px -32px 0; position: sticky; bottom: 0; background: #fff; padding: 14px 32px 18px; border-top: 1px solid var(--line); }
.filters { padding-bottom: 0; }
.filters__search { width: 100%; height: 36px; border: 1px solid var(--line-strong); padding: 0 10px; margin-top: 12px; font-size: 13px; outline: none; }
.filters__search:focus { border-color: var(--ink); }
.filters__list label[hidden] { display: none; }
.filters__apply .btn { flex: 1; }
.empty { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty b { display: block; font-size: 22px; color: var(--ink); font-weight: 400; margin-bottom: 8px; }
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 48px; }
.pagination a, .pagination span { min-width: 38px; height: 38px; display: grid; place-items: center; font-size: 12px; }
.pagination a:hover { text-decoration: underline; }
.pagination .is-active { border-bottom: 1px solid var(--ink); }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; padding-bottom: 40px; align-items: start; }
.gallery { display: grid; gap: 12px; }
.gallery__main { aspect-ratio: 4 / 5; background: var(--soft); position: relative; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; }
.gallery__thumbs button { width: 72px; height: 90px; overflow: hidden; border: 1px solid var(--line); padding: 0; background: var(--soft); }
.gallery__thumbs button.is-active { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { position: sticky; top: 88px; }
.product__brand { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.product__title { font-size: 26px; font-weight: 400; margin-bottom: 10px; letter-spacing: -.01em; }
.product__sku { font-size: 12px; color: var(--muted); display: flex; gap: 16px; margin-bottom: 20px; }
.product__sku b { font-weight: 500; color: var(--green); }
.buybox { display: grid; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.buybox .price b { font-size: 22px; }
.buybox .price s { font-size: 14px; }
.qty { display: inline-flex; border: 1px solid var(--ink); height: 48px; }
.qty button { width: 44px; font-size: 18px; }
.qty input { width: 48px; text-align: center; border: 0; border-left: 1px solid var(--ink); border-right: 1px solid var(--ink); font-weight: 500; outline: none; }
.buybox__row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.buybox__row .btn--lg { flex: 1; }
.buybox__fav { width: 54px; height: 54px; border: 1px solid var(--ink); display: grid; place-items: center; flex: none; }
.buybox__fav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.buybox__fav.is-on svg { fill: currentColor; }
.buybox__note { font-size: 12px; color: var(--muted); display: grid; gap: 4px; }
.feature-row { display: flex; gap: 8px 18px; flex-wrap: wrap; margin: 0 0 18px; }
.feature { font-size: 12px; color: #555; }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 16px; }
.acc[open] summary::after { content: "–"; }
.acc__body { padding: 0 0 22px; font-size: 14px; }
.acc__body p { color: #333; }
.specs { width: 100%; border-collapse: collapse; font-size: 13px; }
.specs td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs tr:last-child td { border-bottom: 0; }
.specs td:first-child { color: var(--muted); width: 45%; }
.specs a { text-decoration: underline; }
.tags { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.calc__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 12px; }
.calc label { font-size: 11px; color: var(--muted); display: flex; flex-direction: column; gap: 5px; letter-spacing: .04em; }
.calc input { height: 42px; border: 1px solid var(--line-strong); padding: 0 10px; width: 100%; outline: none; }
.calc input:focus { border-color: var(--ink); }
.calc__result { background: var(--soft); padding: 14px 16px; font-size: 13px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.calc__result small { color: var(--muted); display: block; }
.addons { display: grid; gap: 12px; }
.addon { display: grid; grid-template-columns: 56px 1fr 40px; gap: 14px; align-items: center; min-width: 0; }
.addon img { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.addon div { font-size: 13px; min-width: 0; }
.addon div a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.addon b { display: block; font-weight: 500; }
.addon .btn--cart { width: 36px; height: 36px; opacity: 1; }
.stickybar { display: none; }

/* ---------- cart & checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 400px; gap: 64px; padding-bottom: 40px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto auto auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 96px; height: 120px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.cart-item__name { font-size: 13px; }
.cart-item__meta { color: var(--muted); font-size: 12px; margin-top: 4px; }
.cart-item__warn { font-size: 12px; color: var(--sale); margin-top: 4px; }
.cart-item__sum { font-weight: 500; min-width: 90px; text-align: right; }
.cart-item__remove { color: var(--muted); font-size: 18px; width: 32px; height: 32px; }
.cart-item__remove:hover { color: var(--ink); }
.summary { border: 1px solid var(--line); padding: 26px; position: sticky; top: 88px; }
.summary h3 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.summary__row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; gap: 10px; }
.summary__row b { font-weight: 500; white-space: nowrap; }
.summary__total { display: flex; justify-content: space-between; border-top: 1px solid var(--ink); margin-top: 10px; padding-top: 14px; font-size: 16px; font-weight: 500; }
.summary .btn { margin-top: 18px; }
.form { display: grid; gap: 18px; }
.form h3 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin: 10px 0 0; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea { height: 48px; border: 1px solid var(--line-strong); padding: 0 12px; outline: none; font-size: 14px; color: var(--ink); text-transform: none; letter-spacing: 0; background: #fff; }
.form textarea { height: 90px; padding: 10px 12px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .radio-card, .radio-card { display: flex; flex-direction: row; gap: 14px; align-items: center; border: 1px solid var(--line-strong); padding: 12px 16px; cursor: pointer; text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 13px; }
.radio-card:has(input:checked) { border-color: var(--ink); }
.radio-card input { accent-color: var(--ink); margin: 0; width: 16px; height: 16px; flex: none; }
.radio-card__ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; padding: 4px; }
.radio-card__ico svg { width: 100%; height: 100%; }
.radio-card__ico svg * { stroke: var(--ink) !important; }
.radio-card__ico svg [fill]:not([fill="none"]) { fill: #e5e5e5 !important; }
.radio-card > div { flex: 1; }
.radio-card b { display: block; font-weight: 500; }
.radio-card span { font-size: 12px; color: var(--muted); }
.form__error { background: #fdecec; color: #8a1c1c; padding: 10px 14px; display: none; font-size: 13px; text-transform: none; }
.form__error.is-visible { display: block; }
.trust { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 12px; color: var(--muted); }
.trust li { display: flex; gap: 8px; align-items: center; }
.trust svg { width: 16px; height: 16px; flex: none; color: var(--ink); }
.done { max-width: 640px; margin: 48px auto; text-align: center; }
.done h1 { font-weight: 400; }
.done__icon { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; font-size: 26px; margin: 0 auto 22px; }
.done table { width: 100%; text-align: left; border-collapse: collapse; margin: 24px 0; font-size: 13px; }
.done td { padding: 9px 0; border-bottom: 1px solid var(--line); }

/* ---------- static pages ---------- */
.page { max-width: 780px; padding-bottom: 40px; }
.page h1 { margin: 10px 0 26px; font-size: 32px; font-weight: 400; }
.page h2 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-top: 36px; }
.page p, .page li { font-size: 14px; color: #333; }
.page ul { padding-left: 18px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
.contact-card { border-top: 1px solid var(--ink); padding-top: 14px; font-size: 14px; line-height: 1.7; }
.contact-card b { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; font-weight: 500; }
.contact-card a { text-decoration: underline; }

/* ---------- calculator block on home ---------- */
.calcblock { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; background: var(--soft); padding: 48px; }
.calcblock__text h2 { font-size: 30px; font-weight: 400; margin: 12px 0 16px; letter-spacing: -.01em; }
.calcblock__text p { font-size: 15px; color: #333; max-width: 460px; }
.calcblock__form .calc__grid { grid-template-columns: repeat(2, 1fr); }
.calcblock__form select, .calc select { height: 42px; border: 1px solid var(--line-strong); padding: 0 10px; width: 100%; background: #fff; outline: none; }
.calcblock__form .calc__result { background: #fff; }
@media (max-width: 900px) { .calcblock { grid-template-columns: 1fr; gap: 24px; padding: 24px var(--gutter); margin: 0 calc(var(--gutter) * -1); } }

/* ---------- photo wallpaper configurator ---------- */
.foto { padding: 8px 0 0; }
.foto__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
.foto__preview { position: sticky; top: 84px; }
.foto__preview .room { aspect-ratio: 16 / 10; }
.foto__previewbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.round-btn--dark { border-color: var(--ink); color: var(--ink); background: #fff; } .round-btn--dark.is-on { background: var(--ink); color: #fff; }
.foto__step { border-top: 1px solid var(--line); padding: 18px 0; }
.foto__step > .label { display: block; margin-bottom: 12px; color: var(--ink); }
.foto__motifs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; max-height: 260px; overflow: auto; padding: 2px; }
.foto__motif { aspect-ratio: 1; background-size: cover; background-position: center; border: 0; outline: 2px solid transparent; outline-offset: 2px; cursor: pointer; background-color: var(--soft); }
.foto__motif.is-active { outline-color: var(--ink); }
.foto__motif--own { display: grid; place-items: center; border: 1px dashed var(--line-strong); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; text-align: center; line-height: 1.3; }
.foto__own { margin-top: 12px; }
.foto__file { display: block; border: 1px dashed var(--line-strong); padding: 14px; font-size: 12px; color: var(--muted); cursor: pointer; }
.foto__file input { display: block; margin-bottom: 8px; }
.foto__size { display: flex; align-items: flex-end; gap: 12px; }
.foto__size label { display: flex; flex-direction: column; gap: 5px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.foto__size input { width: 110px; height: 44px; border: 1px solid var(--line-strong); padding: 0 12px; font-size: 16px; outline: none; }
.foto__size input:focus { border-color: var(--ink); }
.foto__size > span { padding-bottom: 12px; color: var(--muted); }
.foto__area { margin-left: auto; text-align: right; } .foto__area b { display: block; font-size: 18px; font-weight: 500; } .foto__area small { color: var(--muted); font-size: 11px; }
.foto__mats { display: grid; gap: 8px; }
.foto__mat { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line-strong); padding: 10px 14px; cursor: pointer; }
.foto__mat.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.foto__mat input { accent-color: var(--ink); margin: 0; }
.foto__mat b { display: block; font-weight: 500; font-size: 13px; } .foto__mat small { color: var(--muted); font-size: 12px; }
.foto__mat > span { font-size: 13px; font-weight: 500; white-space: nowrap; }
.foto__mat--opt { border-style: dashed; }
.foto__total { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--ink); padding-top: 18px; margin-top: 6px; }
.foto__total b { display: block; font-size: 28px; font-weight: 500; letter-spacing: -.01em; }
.foto__total small { color: var(--muted); font-size: 12px; }
.tryon .tryon__box--form { grid-template-columns: 1fr; width: min(560px, 100%); height: auto; max-height: 100%; overflow: auto; }
.foto__summary { background: var(--soft); padding: 12px 14px; font-size: 13px; line-height: 1.5; }
@media (max-width: 1000px) { .foto__grid { grid-template-columns: 1fr; } .foto__preview { position: static; } .foto__motifs { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 480px) { .foto__motifs { grid-template-columns: repeat(4, 1fr); } .foto__size input { width: 90px; } .foto__total b { font-size: 22px; } }

/* ---------- about ---------- */
.about-hero { background: var(--soft); margin-top: 8px; }
.about-hero__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-hero__text { padding: 56px 0; }
.about-hero__text .label { display: block; margin-bottom: 16px; }
.about-hero__text h1 { font-size: 40px; font-weight: 400; line-height: 1.1; margin-bottom: 20px; letter-spacing: -.015em; }
.about-hero__text p { font-size: 16px; color: #333; max-width: 520px; margin: 0; }
.about-hero__img { height: 100%; min-height: 420px; margin-right: calc(var(--gutter) * -1); }
.about-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 0; }
.facts b { display: block; font-size: 40px; font-weight: 300; letter-spacing: -.02em; line-height: 1; margin-bottom: 8px; }
.facts span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.editorial--rev .editorial__img { order: 2; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.timeline > div { border-top: 1px solid var(--ink); padding-top: 16px; }
.timeline b { display: block; font-size: 22px; font-weight: 400; margin-bottom: 10px; }
.timeline p { font-size: 13px; color: #444; margin: 0; }
.brandgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.brandgrid a { border: 1px solid var(--line); padding: 22px 20px; transition: border-color .2s; }
.brandgrid a:hover { border-color: var(--ink); }
.brandgrid b { display: block; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-bottom: 4px; }
.brandgrid span { font-size: 12px; color: var(--muted); }
@media (max-width: 1100px) { .facts, .timeline, .brandgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .about-hero__in { grid-template-columns: 1fr; gap: 0; }
  .about-hero__text { padding: 32px 0 24px; } .about-hero__text h1 { font-size: 28px; }
  .about-hero__img { min-height: 0; aspect-ratio: 4 / 3; margin: 0 calc(var(--gutter) * -1); }
  .editorial--rev .editorial__img { order: 0; }
  .facts b { font-size: 30px; }
}
@media (max-width: 480px) { .brandgrid { grid-template-columns: 1fr 1fr; } .timeline { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 88px; padding: 56px 0 0; font-size: 13px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
.footer a, .footer span { display: block; padding: 4px 0; color: #333; }
.footer a:hover { text-decoration: underline; }
.footer__brand { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.footer__brand img { width: 30px; }
.footer__text { color: var(--muted); max-width: 360px; }
.footer__bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 44px; padding: 18px 0; font-size: 11px; color: var(--muted); letter-spacing: .04em; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(16px); background: var(--ink); color: #fff; padding: 12px 20px; font-size: 13px; opacity: 0; pointer-events: none; transition: .25s; z-index: 200; }
.toast.is-visible { opacity: 1; transform: translateX(-50%); }
.toast a { color: #fff; text-decoration: underline; margin-left: 12px; pointer-events: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1480px) {
  .header__phone { display: none; }
  .nav { gap: 18px; }
}
@media (max-width: 1200px) {
  :root { --gutter: 24px; }
  .grid, .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 18px; }
  .hero__text { padding: 40px; }
  .hero__text h1 { font-size: 34px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .header__in { grid-template-columns: auto 1fr auto; height: 58px; gap: 12px; }
  .burger { display: flex; }
  .nav, .header__phone { display: none; }
  .logo { justify-self: start; }
  .logo__crown { width: 34px; height: 27px; } .logo__text b { font-size: 14px; }
  .icon-btn span:not(.icon-btn__count) { display: none; }
  .header__right { gap: 18px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__img { aspect-ratio: 4 / 3; }
  .hero__text { padding: 32px var(--gutter) 40px; }
  .hero__text h1 { font-size: 28px; }
  .duo, .editorial, .contacts-strip, .cart-layout, .product, .contact-grid, .form__row { grid-template-columns: 1fr; }
  .editorial { gap: 24px; }
  .reviews { grid-template-columns: 1fr; gap: 28px; }
  .grid, .grid--3 { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .card .btn--cart { opacity: 1; width: 34px; height: 34px; }
  .card__img img.card__alt { display: none; }
  .cart-item { grid-template-columns: 70px 1fr auto; }
  .cart-item__sum { grid-column: 2; text-align: left; }
  .summary, .buy { position: static; }
  .section { padding-top: 48px; }
  .brands { margin-top: 48px; }
  .gallery__main { aspect-ratio: 1; }
  .stickybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px var(--gutter); gap: 14px; align-items: center; z-index: 90; }
  .stickybar .btn { flex: 1; }
  body.has-stickybar { padding-bottom: 76px; }
  .footer { margin-top: 56px; }
  .footer__bottom { flex-direction: column; gap: 6px; }
  .topbar__sep, .topbar__hide, .topbar a { display: none; }
  .sort > .muted { display: none; }
  .toolbar__left { gap: 12px; }
}
@media (max-width: 480px) {
  .services, .footer__grid { grid-template-columns: 1fr; }
  .tiles { gap: 10px; }
  .tile__cap { padding: 10px 12px; } .tile__cap i { display: none; }
}

/* ---- SEO pages: brands, cities (v12) ---- */
.footer__grid{grid-template-columns:1.5fr repeat(5,minmax(0,1fr))}
@media (max-width:980px){.footer__grid{grid-template-columns:repeat(3,minmax(0,1fr))}.footer__grid>div:first-child{grid-column:1/-1}}
@media (max-width:560px){.footer__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.brands-group{margin:28px 0}
.brands-group h2{font-size:14px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:0 0 12px}
.city-text{max-width:760px}
.city-text h2{font-size:22px;margin:28px 0 12px}
.city-text ol{padding-left:20px;line-height:1.7}
.city-text p{line-height:1.7}
.city-text a{text-decoration:underline;text-underline-offset:3px}
.facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0 8px}
@media (max-width:720px){.facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
.facts>div{border:1px solid var(--line, #e6e6e6);border-radius:12px;padding:14px 16px}
.facts b{display:block;font-size:24px;font-family:'Playfair Display',serif}
.facts span{font-size:13px;color:var(--muted)}

/* ---- фотошпалери: своє фото, масштаб/зсув (v13) ---- */
.foto__adjust{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:4px 0 10px}
.foto__adjust label{display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.foto__adjust input[type=range]{width:120px;accent-color:var(--ink)}
.foto__adjust small{flex-basis:100%;font-size:12px}
.foto__preview .room{cursor:grab}.foto__preview .room.is-dragging{cursor:grabbing}
.foto__drop{display:block;border:1.5px dashed var(--line-strong);padding:22px 18px;text-align:center;cursor:pointer;transition:background .2s,border-color .2s}
.foto__drop:hover,.foto__drop.is-over{border-color:var(--ink);background:var(--soft)}
.foto__drop input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.foto__drop b{display:block;font-weight:500;font-size:14px;margin-bottom:6px}
.foto__drop span{display:block;font-size:12px;color:var(--muted);line-height:1.5}
.foto__ownmeta{display:flex;gap:12px;align-items:center;margin-top:12px;font-size:13px}
.foto__ownmeta img{width:64px;height:64px;object-fit:cover;border:1px solid var(--line)}
.foto__ownmeta b{display:block;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:320px}
.foto__ownmeta span{display:block;font-size:12px;color:var(--muted)}
.foto__quality{margin-top:4px;font-size:12px}
.foto__quality.is-ok{color:var(--green,#1d7a3e)}.foto__quality.is-mid{color:#9a6a00}.foto__quality.is-bad{color:var(--sale,#b3101f)}
