:root {
  --mobile-bg: #f7f7f5;
  --mobile-card: #ffffff;
  --mobile-ink: #151819;
  --mobile-text: #252a2d;
  --mobile-muted: #596269;
  --mobile-subtle: #687178;
  --mobile-line: #e4e4df;
  --mobile-red: #e63b2b;
  --mobile-radius: 12px;
}

body,
button,
input,
select,
textarea {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

body { color: var(--mobile-text); }

h1,
h2,
h3,
h4,
.product-title,
.price,
.product-price,
.cart-total {
  color: var(--mobile-ink);
  font-weight: 750;
}

.sku,
.demo,
.breadcrumb,
.product-description,
.seo-text,
.cart-summary p,
.cart-summary small,
.order-success p {
  color: var(--mobile-muted);
}

input,
select,
textarea {
  color: var(--mobile-ink);
  font-size: 15px;
}

input::placeholder,
textarea::placeholder {
  color: var(--mobile-subtle);
  opacity: 1;
}

.btn,
.iconbtn,
.catalog-menu-trigger,
.store-catalog-trigger,
.filter-toggle {
  font-weight: 700;
}

.cart-link {
  width: auto;
  min-width: 118px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-inline: 12px;
}
.cart-glyph { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-label { font-size: 13px; font-weight: 750; }
.footer-brand > p { max-width: 330px; color: #aeb7bc; line-height: 1.65; }
.footer-hours { display: grid; gap: 4px; margin-top: 16px; color: #c3cbd0; line-height: 1.55; }
.footer-links { min-width: 0; }
.footer-settings { border: 0; background: none; color: #bec5c9; padding: 0; font: inherit; font-size: 14px; cursor: pointer; text-align: left; }

@media (max-width: 820px) {
  html { overflow-x: clip; }
  body { overflow-x: clip; background: var(--mobile-bg); }
  body:has(> [data-header]) { padding-top: calc(112px + env(safe-area-inset-top)); }
  .wrap { width: min(100% - 24px, 1420px); }

  body > [data-header] { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding-top: env(safe-area-inset-top); }
  .topbar { display: none; }
  .nav { position: static; background: #fff; color: var(--mobile-ink); border-bottom: 1px solid var(--mobile-line); box-shadow: 0 4px 18px rgba(17, 20, 22, .06); }
  .nav .wrap { position: relative; display: block; height: 112px; min-height: 112px; padding: 8px 0; }
  .logo { position: absolute; top: 8px; left: 0; height: 40px; gap: 7px; font-size: 11px; line-height: 1.05; }
  .nav .logo > span:last-child { display: block; }
  .logo small { margin-top: 3px; font-size: 7px; letter-spacing: .8px; }
  .logo-mark { width: 40px; height: 40px; border-radius: 8px; clip-path: none; }
  .navlinks { position: absolute; left: 0; bottom: 8px; display: block; }
  .catalog-menu-trigger { width: 100px; min-height: 44px; border: 1px solid #d9d9d4; border-radius: 8px; padding: 0 10px; background: #f4f4f1; color: var(--mobile-ink); }
  .actions { display: block; }
  .header-search { position: absolute; left: 108px; right: 0; bottom: 8px; display: flex; width: auto; height: 44px; overflow: hidden; border: 1px solid #d7d7d2; border-radius: 9px; background: #fff; box-shadow: none; }
  .header-search input { flex: 1; min-width: 0; border: 0; padding: 0 13px; background: #fff; color: var(--mobile-ink); font-size: 14px; }
  .header-search button { width: 48px; background: var(--mobile-red); font-size: 21px; }
  .actions .iconbtn { position: absolute; top: 8px; right: 0; width: 40px; height: 40px; border: 1px solid #d9d9d4; border-radius: 8px; background: #fff; color: var(--mobile-ink); }
  .actions .cart-link { min-width: 40px; padding: 0; }
  .actions .cart-label { display: none; }
  .actions .cart-glyph { width: 22px; height: 22px; }
  .header-phone { position: absolute; top: 8px; right: 50px; height: 40px; display: flex; align-items: center; font-size: 12px; line-height: 1; }
  .header-phone small { display: none; }
  .nav .lang-switch { display: none; }

  .catalog-menu-panel { top: 48px; width: min(100vw - 24px, 430px); max-height: calc(100vh - 120px); border-radius: 10px; }
  .catalog-menu-head { min-height: 54px; }

  .hero { min-height: 0; background: #fff; color: var(--mobile-ink); border-bottom: 1px solid var(--mobile-line); }
  .hero::before { display: none; }
  .hero .wrap { padding-top: 26px; padding-bottom: 25px; }
  .hero .eyebrow { margin-bottom: 8px; font-size: 10px; letter-spacing: 1.4px; }
  .hero h1 { max-width: 390px; margin: 0 0 10px; color: var(--mobile-ink); font-size: clamp(29px, 8vw, 35px); line-height: 1.05; letter-spacing: -1.35px; }
  .hero p { display: none; }
  .hero .finder { display: none; }
  .hero .finder input, .hero .finder select { min-height: 46px; border: 1px solid #d8d8d2; border-radius: 8px; padding: 0 13px; background: #fff; }
  .hero .finder .btn { min-height: 46px; border-radius: 8px; }
  .hero .trust { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 16px; color: #4e585e; font-size: 11px; font-weight: 650; }
  .hero .trust span { min-width: 0; }

  .home-catalog { padding: 22px 0 34px; }
  .home-catalog-layout { display: block; }
  .home-side-catalog { display: none; }
  .home-side-catalog h2 { margin-bottom: 10px; font-size: 20px; }
  .home-side-catalog details { border-color: var(--mobile-line); }
  .home-side-catalog summary { min-height: 44px; display: flex; align-items: center; }
  .home-side-catalog .all-catalog-link { min-height: 44px; display: grid; place-items: center; border-radius: 7px; background: var(--mobile-red); color: #fff; }
  .home-products-head { margin-bottom: 14px; }
  .home-products-head h2 { font-size: 25px !important; line-height: 1.08; }

  .section { padding: 30px 0; }
  .section h2 { font-size: 27px; line-height: 1.08; letter-spacing: -.8px; }
  .sectionhead { margin-bottom: 18px; }
  .legacy-home-section .brands, .legacy-home-section .cats { gap: 8px; }
  .brand, .cat { min-height: 0; border: 1px solid var(--mobile-line); border-radius: 10px; padding: 16px; background: #fff; }
  .brand strong { font-size: 24px; }
  .brand span { color: var(--mobile-muted); font-size: 13px; line-height: 1.45; }
  .brand b { margin-top: 10px; }
  .cat i { margin-bottom: 14px; }

  .pagehero { padding: 20px 0; background: #fff; color: var(--mobile-ink); border-bottom: 1px solid var(--mobile-line); }
  .pagehero .eyebrow { font-size: 10px; letter-spacing: 1.35px; }
  .pagehero h1 { margin: 5px 0 8px; color: var(--mobile-ink); font-size: 29px; line-height: 1.08; letter-spacing: -1px; }
  .pagehero p { color: var(--mobile-muted); font-size: 14px; line-height: 1.5; }
  .pagehero .finder { margin-top: 14px; padding: 0; gap: 8px; background: transparent; box-shadow: none; }
  .pagehero .finder input, .pagehero .finder select { min-height: 44px; border: 1px solid #d8d8d2; border-radius: 8px; }
  .pagehero .finder .btn { min-height: 44px; border-radius: 8px; }
  .breadcrumb { padding: 10px 0; background: #fff; font-size: 12px; }

  .catalog-inline-search { top: 108px; border-bottom: 1px solid var(--mobile-line); background: rgba(247,247,245,.96); }
  #result-title { max-width: 100%; overflow-wrap: anywhere; }
  #catalog-search, .catalog-inline-search form { grid-template-columns: minmax(0, 1fr) auto; }
  #catalog-search .btn, .catalog-inline-search .btn { min-width: 48px; overflow: hidden; }
  .filter-toggle { min-height: 42px; border-radius: 8px; background: #fff; color: var(--mobile-ink); }
  .filters { border-radius: 10px; }
  .catalog-head { min-height: 38px; margin-bottom: 10px; }
  .catalog-head strong { color: var(--mobile-ink); font-size: 14px; font-weight: 750; }

  .catalog-results > .products,
  .section > .wrap > .products,
  .home-catalog .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .product { border: 1px solid var(--mobile-line); border-radius: 10px; box-shadow: 0 4px 16px rgba(17,20,22,.045); }
  .product:hover { transform: none; }
  .product-img { height: 132px; border-bottom: 1px solid #efefeb; padding: 8px; background: #fff; }
  .product-body { padding: 10px; }
  .product .tag { padding: 4px 6px; border-radius: 4px; font-size: 8px; }
  .product .sku { margin-top: 8px; color: var(--mobile-muted); font-size: 10px; font-weight: 600; }
  .product h3 { min-height: 50px; margin: 6px 0 9px; color: var(--mobile-ink); font-size: 13px; font-weight: 700; line-height: 1.38; }
  .product .price { color: var(--mobile-ink); font-size: 18px; font-weight: 800; }
  .product .demo { color: var(--mobile-muted); font-size: 10px; }
  .product-actions { grid-template-columns: 1fr; padding: 0 10px 10px; }
  .product-actions .btn, .product > .product-body .card-action { min-height: 38px; border: 0; border-radius: 7px; background: var(--mobile-red); color: #fff; }

  .cart-page { min-height: 65vh; padding: 24px 0 36px; }
  .cart-page > .wrap > .eyebrow { font-size: 10px; }
  .cart-page h1 { margin: 5px 0 16px; font-size: 30px; letter-spacing: -1px; }
  .cart-layout { grid-template-columns: 1fr; gap: 14px; }
  .cart-list, .cart-summary, .cart-empty { border: 1px solid var(--mobile-line); border-radius: 12px; background: #fff; box-shadow: none; }
  .cart-item { grid-template-columns: 78px minmax(0, 1fr); gap: 10px; padding: 11px; }
  .cart-item img { width: 78px; height: 70px; border-radius: 8px; }
  .cart-item h3 { margin: 0 0 5px; color: var(--mobile-ink); font-size: 14px; font-weight: 700; line-height: 1.35; }
  .cart-item label { color: var(--mobile-muted); font-size: 12px; font-weight: 650; }
  .cart-item input { min-height: 38px; border-radius: 6px; }
  .cart-item > div:last-child { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .cart-summary { position: static; padding: 18px; }
  .cart-summary h2 { margin-top: 0; font-size: 21px; }
  .cart-total { font-size: 23px; }
  .cart-summary .btn { width: 100%; min-height: 46px; display: grid; place-items: center; margin-top: 9px; border-radius: 8px; }
  .cart-checkout label { gap: 6px; color: var(--mobile-muted); font-size: 13px; font-weight: 700; }
  .cart-checkout input, .cart-checkout select, .cart-checkout textarea { min-height: 46px; border-radius: 7px; color: var(--mobile-ink); font-size: 15px; }
  .checkout-contact-grid { grid-template-columns: 1fr; gap: 9px; }
  .checkout-contact-grid label:first-child { grid-column: auto; }
  .payment-option { border-radius: 8px; padding: 11px; }
  .checkout-order .cart-item { grid-template-columns: 68px minmax(0,1fr); }
  .checkout-order .cart-item img { width: 68px; height: 62px; }

  .footer { padding: 32px 0 90px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer .logo > span:last-child { display: block; }
  .footer h4 { margin: 0 0 10px; }
  .footer a, .footer-settings { min-height: 34px; display: flex; align-items: center; margin: 0; font-size: 13px; }
  .footer-hours { grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: 14px; font-size: 13px; }
  .footer-hours strong { grid-column: 1 / -1; }

  [data-analytics-consent] { left: 10px !important; right: 10px !important; bottom: 74px !important; max-height: min(310px, calc(100vh - 96px)); overflow: auto; padding: 14px !important; border-radius: 12px !important; font-size: 13px; }
  [data-analytics-consent] > strong { display: block; padding-right: 4px; font-size: 16px; line-height: 1.3; }
  [data-analytics-consent] > p { margin: 8px 0 12px; line-height: 1.45; }
  [data-analytics-consent] > div { gap: 7px !important; }
  [data-analytics-consent] button { padding: 9px 12px !important; }

  .store-header { background: #fff; color: var(--mobile-ink); border-bottom: 1px solid var(--mobile-line); box-shadow: 0 4px 18px rgba(17,20,22,.06); }
  .store-header-grid { position: relative; display: block; height: 112px; min-height: 112px; padding-block: 8px; }
  .store-logo { position: absolute; top: 8px; left: 0; height: 40px; min-width: 0; gap: 7px; font-size: 11px; line-height: 1.05; }
  .store-logo b { display: block !important; }
  .store-logo small { margin-top: 3px; font-size: 7px; letter-spacing: .8px; }
  .store-logo > span { width: 40px; height: 40px; border-radius: 8px; clip-path: none; }
  .store-catalog { position: absolute; left: 0; bottom: 8px; }
  .store-catalog-trigger { width: 100px; min-height: 44px; border-color: #d9d9d4; border-radius: 8px; padding-inline: 10px; background: #f4f4f1; color: var(--mobile-ink); }
  .store-search { left: 108px; right: 0; bottom: 8px; width: auto; height: 44px; border: 1px solid #d7d7d2; border-radius: 9px; }
  .store-phone { position: absolute; top: 8px; right: 50px; height: 40px; display: flex !important; align-items: center; font-size: 12px; line-height: 1; }
  .store-phone small { display: none; }
  .store-cart { top: 8px; min-width: 40px; width: 40px; height: 40px; border-color: #d9d9d4; border-radius: 8px; background: #fff; color: var(--mobile-ink); }
  .store-cart .cart-label { display: none; }
  .store-menu { inset: 108px 0 0; }

  .product-page-wrap { width: min(100% - 20px, 1280px); padding: 10px 0 30px; }
  .product-breadcrumb { margin-bottom: 10px; font-size: 10px; }
  .product-overview { gap: 14px; border: 1px solid var(--mobile-line) !important; border-radius: 12px !important; padding: 10px !important; box-shadow: none !important; }
  .product-gallery { min-height: 250px; border-radius: 9px; padding: 8px; }
  .product-gallery img { max-height: 270px; }
  .product-summary { padding: 4px; }
  .product-title { margin-top: 8px; font-size: 24px; line-height: 1.12; letter-spacing: -.7px; }
  .product-description { margin-top: 10px; color: var(--mobile-muted); font-size: 14px; line-height: 1.55; }
  .product-price { margin-top: 15px; color: var(--mobile-ink); font-size: 30px; font-weight: 800; }
  .product-buy-actions { grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
  .product-buy-actions a, .product-buy-actions button { min-height: 48px; border-radius: 8px; }
  .product-facts { margin-top: 16px; color: var(--mobile-text); font-size: 13px; }
  .product-facts > div { gap: 10px; }
  .product-trust { grid-template-columns: 1fr 1fr; gap: 7px; }
  .product-trust span { min-height: 45px; border-radius: 7px; padding: 7px; }
  .product-related { margin-top: 24px; }
  .product-related h2 { font-size: 22px; }
}

@media (max-width: 390px) {
  .wrap { width: min(100% - 20px, 1420px); }
  .hero h1 { font-size: 29px; }
  .hero .trust { grid-template-columns: 1fr; }
  .brand, .cat { padding: 14px; }
  .product-img { height: 122px; }
  .product-body { padding: 9px; }
  .product .price { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-brand > p { margin-bottom: 10px; }
}

@media (max-width: 360px) {
  .nav .wrap, .store-header-grid { grid-template-columns: 42px max-content 1fr; gap: 7px; }
  .catalog-menu-trigger, .store-catalog-trigger { padding-inline: 10px; font-size: 13px; }
  .catalog-results > .products,
  .section > .wrap > .products,
  .home-catalog .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-img { height: 112px; }
  .product h3 { min-height: 48px; font-size: 12px; }
  .product .price { font-size: 17px; }
  .product .demo { display: none; }
  .product-trust { grid-template-columns: 1fr; }
}

@media (min-width: 1280px) {
  .hero { min-height: 410px; }
  .hero .wrap { padding-block: 44px; }
  .home-catalog-layout { align-items: start; }
}
