/* носки-оптом.рф storefront theme. Loaded only by the storefront's edge. */
:root {
  --store-paper: #f7f5ef;
  --store-white: #fffcf6;
  --store-green: #103a2c;
  --store-green-dark: #0a2b20;
  --store-orange: #b8441c;
  --store-orange-dark: #983414;
  --store-line: #e0dace;
  --store-sage: #e8eee3;
  --store-font: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --paper: var(--store-paper);
  --ink: #172c23;
  --muted: #59645a;
  --line: var(--store-line);
  --soft: var(--store-sage);
  --blue: var(--store-green);
  --blue-dark: var(--store-green-dark);
  --blue-soft: var(--store-sage);
  --green: var(--store-green);
  --green-dark: var(--store-green-dark);
  --navy: var(--store-green);
  --max: 1320px;
}

body, body button, body input, body select, body textarea { font-family: var(--store-font); }
body { background: var(--store-paper); color: var(--ink); }
body h1, body h2, body h3,
body :is(.p-title,.p-price,.p-card-title,.price,.cart-total,.detail-price,.filter-head) {
  font-family: var(--store-font);
}
body :is(a,button,input,select,textarea):focus-visible {
  outline-color: var(--store-orange);
  box-shadow: 0 0 0 3px #b8441c30;
}
body .topline { background: var(--store-green-dark); color: #fffaf0; }
body .header, body .mobile-search, body .mobile-nav { background: var(--store-white); border-color: var(--store-line); }
body .header-main { height: 82px; gap: clamp(14px, 3vw, 42px); }
body .brand-logo {
  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100% !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  color: var(--store-green);
  text-decoration: none;
}
body :is(.header-main,.footer-grid) a.brand-logo > :is(.melissa-mark,.leoturk-logo) { display: none !important; }
body .brand-logo::before {
  content: "";
  width: clamp(36px,4vw,50px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  background: url("./brand.svg") center / contain no-repeat;
}
body .brand-logo::after {
  content: "noskioptom.ru";
  white-space: nowrap;
  font: 900 clamp(17px,1.75vw,24px)/.91 var(--store-font);
  letter-spacing: -.055em;
}
body .search, body .catalog-search { background: #f1eee7; border-color: var(--store-line); color: var(--store-green); border-radius: 10px; }
body .search:focus-within, body .catalog-search:focus-within { background: #fff; border-color: var(--store-green); }
body .header-search-submit, body .catalog-search button { background: var(--store-green); color: #fff; }
body .header-search-submit:disabled { opacity: .62; }
body .head-actions > a, body .mobile-nav a { color: var(--store-green); }
body .category-nav { background: var(--store-white); border-color: var(--store-line); }
body .category-nav-inner { gap: clamp(11px,1.35vw,21px); padding-block: 7px; min-height: 52px; font-size: 13px; }
body .category-nav-inner .catalog-link { padding: 9px 15px; border-radius: 8px; background: var(--store-green); color: #fff; font-weight: 750; }
body .category-nav-inner .sale-link { color: var(--store-orange); font-weight: 800; }
body .category-nav-inner a:hover { color: var(--store-orange); }
body .category-nav-inner .catalog-link:hover { color: #fff; background: var(--store-green-dark); }

body .director-hero { margin-block: 22px 0; background: transparent; }
body .director-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.02fr) minmax(0,1fr);
  min-height: clamp(410px, 36vw, 515px);
  padding: 0;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  background: var(--store-green);
  border-radius: 22px;
}
body .director-hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(26px,3.65vw,62px);
  color: #fffaf1;
}
body .director-hero .director-hero-grid .director-hero-copy :is(.hero-kicker,.director-trust) { display: none !important; }
body .director-hero-copy h1 {
  font: 830 clamp(36px,5vw,76px)/.99 var(--store-font);
  color: inherit;
  letter-spacing: -.065em;
  margin: 0;
}
body .director-hero-copy h1 i { font: inherit; color: #e5eade; }
body .director-hero-copy > p { color: #e0e8db; font-size: clamp(15px,1.25vw,17px) !important; line-height: 1.5 !important; margin: 18px 0 22px; max-width: 46ch; }
body .director-actions { gap: 9px; }
body .director-actions .director-btn { min-height: 46px; padding: 9px 16px; font-size: 14px; border-radius: 9px; }
body .director-hero .director-hero-grid .director-hero-copy .director-btn.light { color: #fffaf1 !important; background: transparent !important; border: 1px solid #bac9b784 !important; box-shadow: none !important; }
body .director-hero .director-hero-grid .director-hero-copy .director-btn.light:hover { background: #ffffff14 !important; }
body .director-hero-visual {
  width: auto;
  height: auto;
  margin-left: -8%;
  min-height: 0;
  background: #b8b1a8 url("./hero.webp") center 55% / cover no-repeat;
  clip-path: polygon(13% 0,100% 0,100% 100%,0 100%);
}
body .director-hero-visual > .hero-showcase,
body .director-benefits,
body .home-bright-section,
body .home-delivery-section { display: none; }

body .director-section { padding-block: clamp(30px,4.4vw,60px); }
body .director-heading { border-bottom: 1px solid var(--store-line); padding-bottom: 14px; margin-bottom: 18px; }
body .director-heading h2 { font-family: var(--store-font); font-size: clamp(26px,3.2vw,44px); color: var(--store-green); letter-spacing: -.045em; line-height: 1.05; margin: 0; }
body .director-heading .hero-kicker, body .director-heading p { display: none; }
body .director-heading > a { color: var(--store-green); font-weight: 750; }
body .director-category-grid { gap: 12px; }
body .director-category { background: var(--store-white); border: 1px solid var(--store-line); border-radius: 12px; }
body .director-category-img { position: relative; height: auto; aspect-ratio: 1.08; background: #e7e1d6 var(--category-photo) center / cover no-repeat; }
body .director-category-img > * { display: none; }
body .director-category[href="/muzhskie-noski"] { --category-photo: url("./men.webp"); }
body .director-category[href="/zhenskie-noski"] { --category-photo: url("./women.webp"); }
body .director-category[href="/detskie-noski"] { --category-photo: url("./kids.webp"); }
body .director-category[href="/sledki"] { --category-photo: url("./liners.webp"); }
body .director-category[href="/golfy"] { --category-photo: url("./knee-highs.webp"); }
body .director-category > div:last-child { min-height: 48px; padding-inline: 12px; color: var(--store-green); }
body .director-category > div:last-child b { font-size: 15px; }
body .director-all { background: var(--store-green); }
body .director-all > div:last-child { color: #fffaf1; }
body .director-editorial { padding-block: 6px 28px; }
body .director-promo { display: block; min-height: 0; background: var(--store-sage); border: 1px solid var(--store-line); padding: 25px; color: var(--store-green); border-radius: 13px; }
body .director-promo.dark { background: var(--store-green); color: #fffaf0; }
body .director-promo :is(p,.hero-kicker,strong) { color: inherit; }
body .director-promo h2 { font: 800 clamp(27px,3vw,44px)/1.04 var(--store-font); color: inherit; letter-spacing: -.045em; }
body .director-promo h2 i { font-style: normal; }
body .director-promo-img { display: none; }
body .director-soft, body .director-wholesale { background: var(--store-sage); }
body .director-wholesale h2, body .director-wholesale h2 i { font-family: var(--store-font); font-style: normal; color: var(--store-green); }

body .page-head { background: var(--store-paper); border-color: var(--store-line); padding-block: 27px; }
body .page-head h1 { color: var(--store-green); font: 850 clamp(34px,4.25vw,60px)/1.05 var(--store-font); letter-spacing: -.055em; }
body .breadcrumbs { color: var(--muted); }
body .filters { background: #f1ede3; border: 1px solid var(--store-line); border-radius: 12px; }
body .filter-group { border-color: var(--store-line); }
body :is(.filter-group a.checked,.active-chip,.category-chip.active,.catalog-chip.active) { color: var(--store-green); background: #dee8da; }
body :is(.filter-group select,.price-fields input,.catalog-tools select,.p-size-select,.p-card-qty,.quantity-select) {
  color: var(--ink);
  border-color: var(--store-line);
  border-radius: 8px;
  background-color: var(--store-white);
}
body .p-card {
  background: var(--store-white);
  border: 1px solid var(--store-line);
  border-radius: 12px;
  box-shadow: none;
}
body .p-media, body .main-gallery, body .quick-view-gallery { background: #eeeae2; box-shadow: none; }
body .p-media { border-radius: 9px; }
body .p-card a:hover { color: var(--store-orange); }
body :is(.p-card-add,.btn-buy,.director-btn.dark,.filter-apply,.checkout-submit,.footer-catalog-btn) {
  background: var(--store-orange);
  color: #fff;
  border-color: transparent;
  border-radius: 9px;
}
body :is(.p-card-add,.btn-buy,.director-btn.dark,.filter-apply,.checkout-submit,.footer-catalog-btn):hover {
  background: var(--store-orange-dark);
  color: #fff;
}
body :is(.p-card-quick,.load-more-btn,.mobile-filter-open,.mobile-menu) { color: var(--store-green); background: var(--store-sage); border-color: #d4dfd1; }
body :is(.cart-list,.summary,.checkout-summary,.checkout-section,.cabinet-main,.info-card,.contact-box) { background: var(--store-white); border-color: var(--store-line); }
body footer { background: var(--store-green-dark); color: #fffaf1; }
body footer .brand-logo, body footer .footer-grid b, body footer .footer-grid a { color: #fffaf1; }
body footer .footer-grid p, body footer .footer-grid span, body footer .copyright { color: #d3e2d7; }
body footer .footer-grid a:hover { color: #ffb395; }

@media (max-width: 760px) {
  body .header-main { height: 60px; gap: 8px; }
  body .brand-logo { justify-self: center; gap: 7px !important; }
  body .brand-logo::before { width: 35px; }
  body .brand-logo::after { font-size: 17px; }
  body .category-nav-inner { font-size: 14px; }
  body .director-hero { margin-top: 12px; }
  body .director-hero-grid { grid-template-columns: minmax(0,1fr); min-height: 0; padding: 0 !important; border-radius: 15px; }
  body .director-hero-copy { padding: 25px 18px 23px; }
  body .director-hero-copy h1 { font-size: clamp(29px,9vw,54px) !important; line-height: 1.01 !important; }
  body .director-hero-copy > p { margin: 12px 0 15px; font-size: 14px !important; line-height: 1.5 !important; }
  body .director-actions { display: flex; width: 100%; }
  body .director-actions .director-btn { flex: 1 1 143px; min-height: 44px; padding-inline: 11px; font-size: 13px; }
  body .director-hero-visual { width: 100%; height: auto !important; margin: 0 !important; aspect-ratio: 1.85; clip-path: none; background-position: center 56%; }
  body .director-heading { gap: 9px; }
  body .director-heading > a { font-size: 12px; text-align: right; }
  body .director-category-grid { gap: 9px; }
  body .director-category > div:last-child { min-height: 44px; }
  body .director-all { min-height: 0; }
  body .page-head { padding-block: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  body :is(.director-btn,.director-category,.p-card-add) { transition: none; }
}

body .brand-logo:has(.noski-wordmark)::after { content: none; }
body .brand-logo .noski-wordmark {
  white-space: nowrap;
  font: 900 clamp(17px,1.75vw,24px)/1 var(--store-font);
  letter-spacing: -.055em;
}
body .r10-home :is(.r10-benefits,.r10-side-promos,.r10-review) { display: none; }
body .r10-home .r10-popular-layout { grid-template-columns: minmax(0,1fr); }
body .r10-home :is(.r10-categories-section,.r10-popular-section,.r10-lower-section) { background: var(--store-paper); }
body .r10-home :is(.r10-cat,.r10-lower-card,.r10-info-card) { background: var(--store-white); border-color: var(--store-line); }

body .v6-topbar { background: var(--store-green-dark) !important; color: #fffaf0 !important; }
body .v6-topbar a { color: #fffaf0 !important; }
body :is(.v6-header,.v6-mega) { background: var(--store-white) !important; }
body .v6-header :is(.v6-nav a,.v6-head-actions a,.v6-menu-mobile) { color: var(--store-green) !important; }
body .v6-header .v6-catalog-button { color: #fffaf0 !important; background: var(--store-green) !important; }
body .v6-header .search { background: #f1eee7 !important; border-color: var(--store-line) !important; }
body .v6-header .header-search-submit { background: var(--store-green) !important; color: #fff !important; }
body .r10-home { background: var(--store-paper) !important; }
