body {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  background: var(--white);
}
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip-link:focus { top: 8px; }
.promo {
  background: var(--promo);
  height: 40px;
  position: relative;
}
.promo__rotator {
  position: absolute;
  left: 180px;
  right: 180px;
  top: 0;
  text-align: center;
}
.promo a {
  display: block;
  height: 40px;
  line-height: 40px;
  padding: 0 16px;
  letter-spacing: 0.5px;
  font-size: 14px;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.promo a[hidden] { display: none; }
.lang-switch--promo {
  position: absolute;
  right: 16px;
  top: 0;
  height: 40px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.site-header { background: #fff; border-bottom: 1px solid transparent; position: sticky; top: 0; z-index: 30; }
.header-top {
  min-height: 61px;
  display: grid;
  grid-template-columns: auto minmax(240px, 508px) 1fr;
  gap: 20px;
  align-items: center;
}
.logo {
  font-family: var(--logo);
  font-size: 32px;
  letter-spacing: -0.06em;
  line-height: 38px;
  height: 38px;
  color: #000;
  display: block;
}
.search { width: 100%; max-width: 508px; }
.header-tools { margin-left: auto; }
.search__label { position: relative; display: block; }
.search svg { position: absolute; left: 12px; top: 8px; width: 18px; height: 18px; }
.search input {
  width: 100%;
  height: 36px;
  border: 1px solid #e3e3e3;
  border-radius: 0;
  padding: 0 12px 0 40px;
  background: #fff;
  letter-spacing: 0.2px;
}
.search input:focus { outline: 1px solid #000; border-color: #000; }
.header-tools { display: flex; align-items: center; gap: 16px; justify-content: flex-end; }
.tool-link { font-size: 14px; letter-spacing: 0.2px; }
.icon-btn { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; position: relative; }
.icon-btn svg { width: 22px; height: 22px; }
.nav-toggle, .search-toggle { display: none; }
.cart-count {
  position: absolute;
  top: -2px;
  right: -6px;
  background: #000;
  color: #fff;
  border-radius: 99px;
  min-width: 16px;
  height: 16px;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}
.lang-switch { display: flex; gap: 8px; font-size: 12px; }
.lang-switch a { color: var(--muted); }
.lang-switch a.is-current { color: #000; border-bottom: 1px solid #000; }
.main-nav { border-top: 0; }
.main-nav__row { min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.main-nav__left, .main-nav__right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.main-nav a { font-size: 14px; letter-spacing: 0.2px; color: #000; padding: 8px 0; }
.main-nav a.is-active { box-shadow: inset 0 -1px 0 #000; }
.main-nav a.is-gifts { color: var(--gifts); text-decoration: underline; text-underline-offset: 4px; }
.sell-btn {
  background: var(--sell);
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px !important;
  line-height: 1;
}
.has-mega { position: static; }
.mega {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0 36px;
  z-index: 25;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { display: block; }
.mega__grid { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 180px; gap: 32px; }
.mega__label { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 12px; }
.mega li { margin: 0 0 8px; }
.mega a:hover { text-decoration: underline; }
.mega__feature { align-self: end; }
.mega__feature a { font-weight: 600; }
.flash { width: min(var(--max), calc(100% - 32px)); margin: 12px auto; padding: 10px 14px; background: var(--soft); }
.flash--err { background: #fdecec; }
.site-footer { border-top: 1px solid var(--line); margin-top: 64px; padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr) minmax(220px, 1.2fr); gap: 28px; }
.footer-col summary { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; list-style: none; }
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col a { display: inline-block; margin: 0 0 8px; color: #444; }
.footer-col a:hover { color: #000; }
.footer-news h2 { font-size: 18px; font-weight: 600; line-height: 1.35; margin-bottom: 8px; }
.footer-news p { color: var(--muted); margin-bottom: 12px; }
.footer-news__row { display: flex; border-bottom: 1px solid #000; }
.footer-news input { flex: 1; border: 0; padding: 8px 0; outline: none; }
.footer-news button { font-weight: 600; letter-spacing: 0.4px; }
.footer-base { margin-top: 36px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.footer-legal { display: flex; gap: 16px; margin-top: 12px; }
.mobile-nav { display: none; }
