:root {
  --paper: #fff;
  --ink: #19191c;
  --muted: #5c5d65;
  --red: #b51624;
  --red-dark: #90101b;
  --line: #e4e4e8;
  --ural-dark: #222329;
  --ural-highlight: #f99ba2;
  --ural-light: #f6f6f8;
}

html { scroll-padding-top: 88px; }

.site-header {
  --ural-highlight: var(--red);
  color: var(--ink);
  background: #fff;
  border-bottom-color: var(--line);
}

.site-header .header-inner { height: 68px; gap: 26px; }
.brand .ural-wordmark { font-weight: 800; letter-spacing: -.065em; }
.site-header .ural-wordmark { color: var(--ink); }
.site-header .ural-wordmark span { color: var(--red); }
.site-header .header-actions { margin-left: auto; gap: 6px; }

.shop-whatsapp-button {
  display: inline-grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
}
.shop-whatsapp-icon { display: block; flex: none; width: 20px; height: 20px; }
.shop-whatsapp-button .shop-whatsapp-icon { width: 31px; height: 31px; }
.shop-whatsapp-button:hover { background: #eaf9f0; }
.shop-whatsapp-button:focus-visible { outline: 2px solid #087b52; outline-offset: -2px; }
.shop-whatsapp-labeled { gap: 8px; }
.request-messengers .shop-whatsapp-icon {
  width: 24px;
  height: 24px;
  padding: 3px;
  border-radius: 5px;
  background: #fff;
}

.site-header .cart-button,
.site-header .icon-button {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  min-width: 44px;
  min-height: 44px;
}

.site-header .cart-button:hover, .site-header .icon-button:hover { background: #f5f5f7; }
.site-header .cart-count { background: var(--red); color: #fff; }
.site-header .mobile-nav { border-color: var(--line); }
.site-header .mobile-nav a { color: var(--ink); padding: 8px 0; }
.site-header .mobile-nav a:hover { color: var(--red); }

.site-header > .store-nav {
  position: absolute;
  width: max-content;
  inset: 0 0 0 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.store-nav a { font-weight: 700; font-size: 14px; white-space: nowrap; }
.store-nav a:hover { color: var(--red); }

.store-banner {
  display: grid;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(300px, 34vw, 470px);
  align-items: center;
  gap: clamp(12px, 3vw, 45px);
  margin: 22px auto 0;
  padding: clamp(23px, 4vw, 56px);
  background: #f4f4f6;
  border: 1px solid #eeeeef;
  border-radius: 16px;
}

.store-banner .hero-copy { max-width: 49%; }

.store-banner h1 {
  max-width: 13ch;
  font-size: clamp(29px, 4.2vw, 60px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.055em;
}

.store-banner .hero-copy > p {
  max-width: 41ch;
  margin-top: 13px;
  color: var(--muted);
  font-size: clamp(14px, 1.45vw, 18px);
  line-height: 1.5;
}

.store-banner .hero-actions { margin-top: 19px; }
.store-banner .hero-actions .button { width: auto; min-height: 44px; padding: 10px 14px; font-size: 14px; }
.store-banner .hero-actions .button-secondary { border-color: #d2d2d8; background: #fff; }
.store-banner .hero-actions .button-secondary:hover { border-color: var(--red); color: var(--red); }

.store-banner-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
}

.store-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.featured-section { padding: 28px 0 12px; }
.featured-section .section-top { margin-bottom: 14px; align-items: baseline; gap: 8px; }
.featured-section h2 { font-size: clamp(22px, 2.8vw, 30px); letter-spacing: -.045em; }
.featured-section .text-link { color: var(--red); font-size: 13px; white-space: nowrap; }

.home-discovery { margin-top: 24px; }
.home-search { display: flex; gap: 8px; margin-bottom: 24px; }
.home-search .search-field { flex: 1; min-height: 48px; padding-inline: 12px; background: #f6f6f8; }
.home-search input { font-size: 16px; }
.home-search .button { min-height: 48px; padding-inline: 19px; }
.home-discovery h2 { margin-bottom: 12px; font-size: 23px; letter-spacing: -.03em; }
.task-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.task-links a { display: flex; align-items: center; min-height: 52px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 8px; font-weight: 700; line-height: 1.35; }
.task-links a:hover { color: var(--red); border-color: var(--red); }
.all-products { margin-top: 16px; }
.filters-toggle { display: none; }
#catalog-selected { font-size: 13px; color: var(--muted); }
.catalog-section h1 { font-size: clamp(30px, 4.5vw, 44px); letter-spacing: -.04em; }
:is(.featured-section, .catalog-section) .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
:is(.featured-section, .catalog-section) .product-card .product-visual { height: 152px; background: #f6f6f8; }
:is(.featured-section, .catalog-section) .product-visual img { inset: 7px auto auto 50%; width: 90%; height: calc(100% - 14px); }
:is(.featured-section, .catalog-section) .product-card .product-info { padding: 12px; }
:is(.featured-section, .catalog-section) .product-info h3 { font-size: clamp(16px, 2.2vw, 21px); overflow-wrap: anywhere; }
:is(.featured-section, .catalog-section) .product-info > p { min-height: 0; font-size: 13px; line-height: 1.45; }
:is(.featured-section, .catalog-section) .product-association { padding: 8px; }
:is(.featured-section, .catalog-section) .product-bottom { display: grid; justify-content: stretch; padding-top: 8px; }
:is(.featured-section, .catalog-section) .add-button { min-height: 42px; justify-self: start; padding: 8px 12px; background: var(--red); }
:is(.featured-section, .catalog-section) .add-button:hover { background: var(--red-dark); }
.catalog-filters .catalog-stock-filter { display: flex; margin: 12px 0 0; width: fit-content; }

.catalog-section { padding-top: 36px; }
.catalog-section .catalog-search-row { margin-top: 0; }
.catalog-section .catalog-brand-row { margin-bottom: 12px; }
.catalog-section .search-field { background: #f6f6f8; border-color: var(--line); }
.catalog-section .search-field:focus-within { border-color: var(--red); }
.catalog-section .product-card .product-visual { background: #f6f6f8; }
.catalog-section .product-type, .catalog-section .product-info > p { color: var(--muted); }

@media (max-width: 1000px) {
  :is(.featured-section, .catalog-section) .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .site-header > .store-nav { display: none; }
  .site-header .mobile-menu-button { display: grid; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 76px; }
  .container { width: calc(100% - 28px); }
  .site-header .header-inner { gap: 6px; height: 58px; }
  .site-header .brand { font-size: clamp(19px, 5.5vw, 25px); }
  .site-header .header-actions { gap: 0; }
  .site-header .cart-label { display: none; }
  .site-header .cart-button { border: 0; gap: 3px; padding: 0 4px; }
  .site-header .header-actions .icon { width: 19px; height: 19px; }
  .site-header .cart-count { min-width: 17px; height: 17px; padding: 0 3px; }
  .store-banner { grid-template-columns: 1fr; min-height: 0; gap: 10px; padding: 18px; margin-top: 13px; }
  .store-banner h1 { max-width: 15ch; }
  .store-banner .hero-copy > p { margin-top: 8px; }
  .store-banner .hero-actions { margin-top: 12px; gap: 7px; }
  .store-banner .hero-actions .button { font-size: 13px; }
  .store-banner .hero-copy { max-width: none; }
  .store-banner-media { position: static; margin: 4px -18px -18px; }
  .store-banner-media img { height: auto; }
  .featured-section { padding-top: 22px; }
  :is(.featured-section, .catalog-section) .product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  :is(.featured-section, .catalog-section) .product-card {
    display: grid;
    grid-template-columns: minmax(72px, 27%) minmax(0, 1fr);
    border-radius: 10px;
  }

  :is(.featured-section, .catalog-section) .product-card .product-visual {
    height: 100%;
    min-height: 112px;
  }

  :is(.featured-section, .catalog-section) .product-visual img {
    inset: 50% auto auto 50%;
    width: 92%;
    height: min(100px, 83%);
    transform: translate(-50%, -50%);
  }

  :is(.featured-section, .catalog-section) .product-card .product-info {
    display: flex;
    min-width: 0;
    gap: 4px;
    padding: 10px;
  }

  :is(.featured-section, .catalog-section) .product-info h3 {
    order: -1;
    margin: 0;
    font-size: 16px;
    letter-spacing: -.025em;
  }

  :is(.featured-section, .catalog-section) .product-type {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 8px;
    min-height: 0;
    margin: 0;
    font-size: 12px;
  }

  :is(.featured-section, .catalog-section) .product-volume {
    border: 0;
    padding: 0;
    margin: 0;
    white-space: nowrap;
  }

  :is(.featured-section, .catalog-section) .product-brand-row,
  :is(.featured-section, .catalog-section) .product-info > p,
  :is(.featured-section, .catalog-section) .product-tags,
  :is(.featured-section, .catalog-section) .product-association,
  :is(.featured-section, .catalog-section) .product-expand {
    display: none;
  }

  :is(.featured-section, .catalog-section) .product-info .product-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 8px;
    border: 0;
    margin: auto 0 0;
    padding: 3px 0 0;
  }

  :is(.featured-section, .catalog-section) .product-price { font-size: 15px; }
  :is(.featured-section, .catalog-section) .stock-label { font-size: 11px; line-height: 1.25; }
  :is(.featured-section, .catalog-section) .add-button { min-height: 44px; font-size: 13px; white-space: nowrap; }
  :is(.featured-section, .catalog-section) .product-photo-kind { left: 4px; bottom: 4px; padding: 2px 4px; font-size: 9px; }
  .catalog-section { padding-top: 22px; }
  .catalog-section .section-top { margin-bottom: 15px; }
  .catalog-meta { padding-block: 12px; }
  .product-dialog { width: calc(100% - 24px); }
  .product-dialog .product-detail-media { min-height: 0; height: 178px; }
  .product-dialog .product-detail-image { max-height: 142px; object-fit: contain; }
  .task-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters-toggle { display: inline-flex; min-height: 44px; }
  .filters-toggle[aria-expanded="false"] + .catalog-filters { display: none; }
  .catalog-filters { margin-top: 12px; }
  #catalog-selected:not([hidden]) { flex-basis: 100%; }
  .catalog-section .catalog-browser { padding: 12px; }
  .catalog-section .catalog-search-row .search-field input::placeholder { font-size: 14px; }
  .catalog-section .category-filters .filter-button { font-size: 13px; min-height: 40px; }
}

.catalog-banner {
  display: grid;
  align-items: center;
  min-height: 100px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 12px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: #eceef2;
}

.catalog-banner img {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(100%, 360px);
  height: 100%;
  object-fit: cover;
  object-position: center 57%;
  z-index: -1;
  mask-image: linear-gradient(to right, transparent, #000 50%);
}

.catalog-banner .button { min-height: 44px; justify-self: start; padding-inline: 12px; }
.product-card .preorder-button { background: #fff; color: var(--red); border: 1px solid var(--red); }
.product-card .preorder-button:hover { background: #fff2f3; color: var(--red-dark); }

@media (max-width: 680px) {
  :is(.featured-section, .catalog-section) .product-info .product-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px;
    align-items: end;
    gap: 6px;
  }

  :is(.featured-section, .catalog-section) .product-info .add-button {
    width: 100%;
    padding-inline: 5px;
    justify-self: end;
  }

  :is(.featured-section, .catalog-section) .product-price {
    overflow-wrap: anywhere;
    line-height: 1.2;
  }
}

.request-page {
  padding-block: 28px 48px;
}

.request-page h1 {
  margin-top: 12px;
  font-size: clamp(29px, 4vw, 48px);
  letter-spacing: -.05em;
}

.request-intro { margin: 9px 0 22px; color: var(--muted); font-size: 15px; }
.request-layout { display: grid; grid-template-columns: 1.15fr 1fr; align-items: start; gap: 16px; }
.request-panel, .request-page .cart-empty { border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.request-page h2 { font-size: 20px; letter-spacing: -.025em; }
.request-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.request-heading span { color: var(--muted); }
.request-page .cart-empty p { color: var(--muted); font-size: 15px; }
.request-page .cart-item { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; }
.request-page .cart-item-image { width: 52px; height: 68px; }
.request-page .cart-item-volume, .request-page .cart-item-price { font-size: 13px; color: var(--muted); }
.request-page .cart-item-remove { min-height: 36px; font-size: 12px; }
.request-page .quantity-control button { height: 40px; }
.request-total { margin-top: 12px; font-weight: 750; color: var(--ink); }
.request-page #inquiry-form h2 { margin-bottom: 16px; }
.request-page #inquiry-form label { font-size: 14px; }
.request-page #inquiry-form input, .request-page #inquiry-form textarea { font-size: 16px; border-color: var(--line); }
.request-page #buyer-channel {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 16px;
}
.request-page #buyer-contact-field[hidden] { display: none; }
.request-page .inquiry-note { font-size: 13px; color: var(--muted); margin: 12px 0; }
.request-page .inquiry-actions > .button { min-height: 44px; font-size: 14px; }
.request-messengers, .footer-messengers { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 14px; }

@media (max-width: 720px) {
  .request-layout { grid-template-columns: minmax(0, 1fr); }
  .request-panel { padding: 13px; }
  .request-page .quantity-control { width: 82px; }
  .request-page .cart-item-price { overflow-wrap: anywhere; }
}

.journal { padding-block: 30px 54px; }
.journal h1 { max-width: 24ch; font-size: clamp(29px, 5vw, 48px); letter-spacing: -.045em; line-height: 1.1; }
.journal-intro { margin-top: 15px; max-width: 65ch; font-size: 17px; color: var(--muted); }
.journal-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 20px; }
.journal-topics a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font-weight: 700; }
.journal-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px; }
.journal-group { border: 1px solid var(--line); border-radius: 10px; padding: 17px; }
.journal :is(.journal-group, .journal-article) h2 { font-size: 22px; letter-spacing: -.025em; }
.journal ul { padding-inline-start: 19px; margin-block: 10px 0; }
.journal li + li { margin-top: 7px; }
.journal :is(li, nav) a:hover { color: var(--red); }
.journal li a { text-decoration: underline; text-underline-offset: 3px; }
.journal-article { max-width: 760px; margin-inline: auto; font-size: 16px; line-height: 1.65; }
.journal-article nav { margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.journal-article section { margin-top: 25px; }
.journal-article section p { margin-top: 8px; }
.journal-related { background: #f6f6f8; padding: 16px; border-radius: 10px; }
.journal-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.footer-journal { display: inline-block; margin-top: 12px; }
.special-offer { width: min(520px, calc(100% - 28px)); border-radius: 13px; padding: 24px; }
.special-offer[open] { display: grid; grid-template-columns: minmax(80px, 1fr) minmax(0, 1.8fr); gap: 12px; align-items: center; }
.special-offer img { width: 100%; object-fit: contain; }
.special-offer-copy { padding-right: 15px; }
.special-offer-copy h2 { margin: 7px 0; font-size: clamp(22px, 5vw, 27px); letter-spacing: -.03em; }
.special-offer-copy strong { font-size: 25px; }
.special-offer-copy p { color: var(--muted); font-size: 13px; }
.special-offer-copy .button { margin-top: 12px; min-height: 44px; }
.special-offer .dialog-close { right: 8px; top: 8px; }

@media (max-width: 680px) {
  .journal-groups { grid-template-columns: minmax(0, 1fr); }
  .special-offer { padding: 16px; }
  .special-offer-copy { padding-right: 12px; }
}

.article-illustration { margin: 20px 0; padding: 14px; border-radius: 12px; background: #f5f5f7; }
.article-illustration > div { display: flex; justify-content: center; gap: 10px; }
.article-illustration a { display: grid; gap: 6px; justify-items: center; text-align: center; flex: 0 1 175px; min-width: 0; font-size: 13px; font-weight: 700; }
.article-illustration img { width: 100%; height: clamp(95px, 19vw, 175px); object-fit: contain; mix-blend-mode: multiply; }
.article-illustration figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; }
.article-case, .article-tip { border-left: 3px solid var(--red); border-radius: 0 9px 9px 0; padding: 12px 15px; background: #faf2f3; }
.article-tip { margin-block: 20px; }
.article-tip p { margin-top: 5px; }
.product-price > .price-discount, .price-discount { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; color: var(--muted); font-size: 11px; }
.price-discount b, .offer-saving { background: #f9e5e7; color: var(--red); padding: 1px 4px; border-radius: 3px; font-size: 11px; }

.field-note-figure {
  margin: 20px 0;
  padding: 10px;
  border: 1px solid #dbe3ea;
  border-radius: 12px;
  background: #eef2f5;
}

.field-note-figure svg { display: block; width: 100%; height: auto; font-family: inherit; }
.field-note-figure figcaption { padding: 6px 8px; font-size: 13px; color: var(--muted); }
.field-note-figure a { color: var(--ink); text-decoration: underline; }
