/* ==========================================================================
   U3PRINT theme for OpenCart 3.0.x
   1. Tokens  2. Base  3. Header  4. Buttons/forms  5. Home  6. Cards
   7. Category  8. Product  9. Cart  10. Auth/Account  11. Checkout (legacy)
   12. Footer/tabbar  13. Responsive
   ========================================================================== */

/* 1. Tokens */
:root {
  --u3-primary: #0a66ff;
  --u3-primary-600: #0553d4;
  --u3-primary-50: #eaf2ff;
  --u3-link: #0a66ff;
  --u3-link-600: #0553d4;
  --u3-navy: #0a1f44;
  --u3-text: #12264a;
  --u3-muted: #6a7b96;
  --u3-bg: #f3f7fd;
  --u3-surface: #ffffff;
  --u3-border: #e0e9f5;
  --u3-green: #15924a;
  --u3-green-50: #e7f7ee;
  --u3-orange: #d97a00;
  --u3-orange-50: #fff3e0;
  --u3-red: #d92d2d;
  --u3-red-50: #fdeaea;
  --u3-radius: 14px;
  --u3-radius-sm: 10px;
  --u3-shadow: 0 6px 22px rgba(10, 40, 100, .07);
  --u3-font: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 2. Base (overrides Bootstrap 3 defaults) */
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--u3-font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--u3-text);
  background: var(--u3-bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--u3-link); text-decoration: none; }
a:hover, a:focus { color: var(--u3-link-600); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--u3-font); color: var(--u3-navy); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 30px; margin: 8px 0 22px; }
h2 { font-size: 22px; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--u3-primary); outline-offset: 2px; }
.u3-container, .container { width: auto !important; max-width: 1240px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.u3-narrow { max-width: 520px; }
.u3-muted { color: var(--u3-muted); }
.u3-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.u3-h1 { margin-top: 0; }
.u3-h1 small { font-size: 14px; color: var(--u3-muted); font-weight: 500; margin-left: 8px; }
.u3-section { margin: 40px 0; }
.u3-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.u3-section__head h2, .u3-section__head h3 { margin: 0; }
.u3-link { color: var(--u3-link); font-weight: 600; white-space: nowrap; }

/* Sticky footer: content grows, footer sits at the bottom of short pages */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > .u3-container, body > .container { flex: 1 0 auto; width: 100% !important; padding-bottom: 48px; }
body > main { flex: 1 0 auto; }
body > .u3-narrow { max-width: 520px; }

/* Breadcrumb */
.breadcrumb, .u3-breadcrumb {
  background: none; padding: 18px 0 6px; margin: 0; font-size: 13px; color: var(--u3-muted);
}
.breadcrumb > li + li:before { content: "›"; color: #aab6c9; padding: 0 8px 0 4px; }
.breadcrumb a { color: var(--u3-link); }
.u3-crumb-home { font-size: 15px; font-weight: 600; }
.u3-crumb-home .fa { font-size: 16px; margin-right: 2px; }

/* 3. Header */
.u3-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--u3-surface); border-bottom: 1px solid var(--u3-border);
}
.u3-header__row { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.u3-logo { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--u3-navy); line-height: 1; white-space: nowrap; }
.u3-logo b { color: var(--u3-primary); font-weight: 800; }
.u3-logo--img img { display: block; height: 56px; width: auto; max-width: 280px; }
.u3-logo:hover { color: var(--u3-navy); }
.u3-logo--light, .u3-logo--light:hover { color: #fff; }
.u3-logo--light b { color: #4f9bff; }
.u3-burger { display: none; background: none; border: 0; font-size: 22px; color: var(--u3-navy); padding: 6px; }

.u3-nav { display: flex; align-items: center; gap: 22px; }
.u3-nav__links { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: nowrap; }
.u3-nav__links a { color: var(--u3-text); font-size: 14px; font-weight: 500; white-space: nowrap; }
.u3-nav__links a:hover { color: var(--u3-primary); }

.u3-catalog { position: relative; }
.u3-catalog__menu {
  display: none; position: absolute; top: calc(100% + 12px); left: 0; z-index: 120;
  width: min(760px, 90vw); background: var(--u3-surface); border: 1px solid var(--u3-border);
  border-radius: var(--u3-radius); box-shadow: 0 18px 50px rgba(10, 40, 100, .16);
  padding: 22px 24px; columns: 3; column-gap: 28px;
}
.u3-catalog.open .u3-catalog__menu { display: block; }
.u3-catalog__col { break-inside: avoid; margin-bottom: 16px; }
.u3-catalog__title { display: block; font-weight: 700; color: var(--u3-navy); margin-bottom: 4px; }
.u3-catalog__col ul { list-style: none; padding: 0; margin: 0; }
.u3-catalog__col li a { display: block; padding: 3px 0; color: var(--u3-muted); font-size: 14px; }
.u3-catalog__col li a:hover { color: var(--u3-primary); }
.u3-catalog__col--list li a { color: var(--u3-text); font-size: 15px; padding: 4px 0; }

.u3-header__search { flex: 1 1 280px; min-width: 0; }
/* Компьютер: меню занимает всю ширину шапки, поэтому поиск открывается по кнопке-лупе панелью под шапкой */
@media (min-width: 1101px) {
  .u3-header__row { position: relative; }
  .u3-actions .u3-searchtoggle { display: flex; }
  .u3-header__search { display: none; }
  body.u3-search-open .u3-header__search { display: block; position: absolute; left: 20px; right: 20px; top: 100%; z-index: 5; padding: 12px; background: var(--u3-surface); border: 1px solid var(--u3-border); border-top: 0; border-radius: 0 0 var(--u3-radius) var(--u3-radius); box-shadow: var(--u3-shadow); }
  body.u3-search-open .u3-searchtoggle { background: var(--u3-bg); color: var(--u3-primary); }
  .u3-action--acc .u3-action__txt { display: none; }
}
@media (min-width: 1101px) and (max-width: 1260px) {
  .u3-nav { gap: 16px; }
  .u3-nav__links { gap: 14px; }
  .u3-actions .u3-action__txt { display: none; }
}
.u3-search { position: relative; }
.u3-search__input {
  box-sizing: border-box;
  width: 100%; height: 42px; border: 1px solid var(--u3-border); background: var(--u3-bg);
  border-radius: 999px; padding: 0 48px 0 18px; font-size: 14px; color: var(--u3-text);
}
.u3-search__input:focus { outline: 0; border-color: var(--u3-primary); background: #fff; box-shadow: 0 0 0 3px rgba(10, 102, 255, .14); }
.u3-search__btn { position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; border: 0; background: none; color: var(--u3-navy); border-radius: 50%; }
.u3-search__btn:hover { color: var(--u3-primary); }

.u3-actions { display: flex; align-items: center; gap: 6px; }
.u3-action {
  position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  color: var(--u3-navy); border-radius: var(--u3-radius-sm); background: none; border: 0; font-size: 13px; line-height: 1.15;
}
.u3-action:hover { background: var(--u3-bg); color: var(--u3-primary); }
.u3-action .fa { font-size: 20px; }
.u3-action__txt b { display: block; font-weight: 600; }
.u3-action__txt small { color: var(--u3-muted); font-size: 12px; }
.u3-action__txt b { white-space: nowrap; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.u3-searchtoggle { display: none; }
.u3-badge {
  position: absolute; top: 2px; left: 24px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--u3-primary); color: #fff; font-size: 11px; font-weight: 700;
  line-height: 18px; text-align: center;
}

/* Mini cart dropdown */
.u3-cart.dropdown { position: relative; }
.u3-cart__menu { width: 360px; padding: 0; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); box-shadow: 0 18px 50px rgba(10, 40, 100, .16); right: 0; left: auto; margin-top: 10px; }
.u3-cart__list { padding: 6px 16px; max-height: 320px; overflow: auto; }
.u3-cart__item { display: grid; grid-template-columns: 52px 1fr auto 24px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--u3-border); font-size: 13px; }
.u3-cart__item img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; background: var(--u3-bg); }
.u3-cart__item a { color: var(--u3-navy); font-weight: 600; }
.u3-cart__item small { display: block; color: var(--u3-muted); font-weight: 400; }
.u3-cart__x { border: 0; background: none; color: var(--u3-muted); }
.u3-cart__x:hover { color: var(--u3-red); }
.u3-cart__foot { padding: 14px 16px 16px; background: var(--u3-bg); border-radius: 0 0 var(--u3-radius) var(--u3-radius); }
.u3-cart__total { display: flex; justify-content: space-between; font-size: 13px; padding: 2px 0; }
.u3-cart__total:last-of-type { font-size: 16px; font-weight: 700; color: var(--u3-navy); }
.u3-cart__btns { display: flex; gap: 8px; margin-top: 12px; }
.u3-cart__empty { padding: 22px; text-align: center; color: var(--u3-muted); margin: 0; }

/* 4. Buttons / forms */
.u3-btn, .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border: 1px solid var(--u3-primary); border-radius: var(--u3-radius-sm);
  background: var(--u3-primary); color: #fff; font-weight: 600; font-size: 14px; line-height: 1;
  transition: background .15s, border-color .15s; cursor: pointer; text-shadow: none; box-shadow: none; white-space: nowrap;
}
.u3-btn:hover, .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active { background: var(--u3-primary-600); border-color: var(--u3-primary-600); color: #fff; }
.u3-btn--ghost { background: #fff; color: var(--u3-primary); }
.u3-btn--ghost:hover { background: var(--u3-primary-50); color: var(--u3-primary-600); }
.u3-btn--lg { height: 48px; padding: 0 28px; font-size: 15px; }
.u3-btn--block { display: flex; width: 100%; }
.u3-btn--sm { height: 36px; padding: 0 14px; }
.u3-icon-btn {
  width: 38px; height: 38px; flex: 0 0 38px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--u3-border); background: #fff; color: var(--u3-primary); border-radius: var(--u3-radius-sm);
}
.u3-icon-btn:hover { background: var(--u3-primary-50); color: var(--u3-primary-600); }
.btn-default { border: 1px solid var(--u3-border); background: #fff; color: var(--u3-text); border-radius: var(--u3-radius-sm); box-shadow: none; text-shadow: none; }
.btn-default:hover, .btn-default:focus { background: var(--u3-primary-50); border-color: var(--u3-border); color: var(--u3-primary-600); }
.btn-danger { background: var(--u3-red); border-color: var(--u3-red); border-radius: var(--u3-radius-sm); }
.btn-info { background: var(--u3-navy); border-color: var(--u3-navy); border-radius: var(--u3-radius-sm); }
.btn-lg, .btn { border-radius: var(--u3-radius-sm); }

.form-control, .u3-field input[type=text], .u3-field input[type=email], .u3-field input[type=tel], .u3-field input[type=password], .u3-field input[type=date], .u3-field input[type=time], .u3-field select, .u3-field textarea {
  height: 44px; border: 1px solid var(--u3-border); border-radius: var(--u3-radius-sm); box-shadow: none; background: #fff; color: var(--u3-text); font-size: 14px; padding: 8px 14px;
}
textarea.form-control, .u3-field textarea { height: auto; }
.form-control:focus, .u3-field input:focus { border-color: var(--u3-primary); box-shadow: 0 0 0 3px rgba(10, 102, 255, .14); outline: 0; }
.control-label, .u3-field label { font-weight: 600; font-size: 13px; color: var(--u3-text); }
.required .control-label:before, label.u3-req:before { content: ""; }
.text-danger { color: var(--u3-red); font-size: 12px; margin-top: 4px; }
.has-error .form-control { border-color: var(--u3-red); }
.u3-field { margin-bottom: 16px; }
.u3-field label { display: block; margin-bottom: 6px; }
.u3-field input, .u3-field select, .u3-field textarea { width: 100%; }
.u3-field .u3-check input { width: auto; }
.u3-pass { position: relative; }
.u3-pass input { padding-right: 46px; }
.u3-pass button { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border: 0; background: none; color: var(--u3-muted); }
.u3-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; margin: 6px 0 16px; color: var(--u3-muted); }
.u3-check input { margin-top: 3px; }

.alert { border-radius: var(--u3-radius-sm); border: 0; }
.alert-success { background: var(--u3-green-50); color: #0c6b34; }
.alert-danger { background: var(--u3-red-50); color: #a31d1d; }
.alert-info { background: var(--u3-primary-50); color: #08408f; }
.alert-warning { background: var(--u3-orange-50); color: #8a4f00; }
.u3-toasts { position: fixed; top: 84px; right: 16px; z-index: 300; display: grid; gap: 8px; max-width: 360px; }
.u3-toast { background: #fff; border: 1px solid var(--u3-border); border-left: 4px solid var(--u3-green); border-radius: var(--u3-radius-sm); box-shadow: var(--u3-shadow); padding: 12px 14px; font-size: 14px; animation: u3in .2s ease-out; }
@keyframes u3in { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .u3-toast { animation: none; } }

/* 5. Home */
.u3-hero {
  position: relative; overflow: hidden; overflow: clip visible; margin: 0 0 28px; border-radius: 0;
  background: linear-gradient(100deg, #00a9c9 0%, #0a73a6 48%, #1b3478 100%); color: #fff;
}
.u3-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 24px; padding-top: 0; padding-bottom: 0; min-height: 460px; }
.u3-hero__text { padding: 64px 0; }
.u3-hero__inner--text { grid-template-columns: 1fr; min-height: 420px; }
.u3-home-body { padding-bottom: 48px; }
.u3-hero__inner--text .u3-hero__text { max-width: 680px; }
.u3-hero__eyebrow { color: #7ff0ff; font-size: 14px; font-weight: 700; letter-spacing: .04em; margin: 0 0 10px; }
.u3-hero h1 { color: #fff; font-size: 44px; line-height: 1.1; margin: 0 0 16px; }
.u3-hero__text > p:not(.u3-hero__eyebrow) { color: rgba(255, 255, 255, .9); font-size: 17px; max-width: 460px; margin: 0 0 26px; }
.u3-hero__art { position: relative; align-self: stretch; min-height: 320px; }
.u3-hero__search { max-width: 560px; margin: 0 0 14px; }
.u3-hero__field { position: relative; display: flex; align-items: center; background: #fff; border-radius: 999px; padding: 6px; box-shadow: 0 12px 30px rgba(6, 24, 60, .25); }
.u3-hero__field > .fa { position: absolute; left: 22px; color: var(--u3-muted); font-size: 17px; pointer-events: none; }
.u3-hero__field .u3-search__input { flex: 1; min-width: 0; height: 48px; border: 0; background: none; padding: 0 12px 0 48px; font-size: 16px; }
.u3-hero__field .u3-search__input:focus { box-shadow: none; }
.u3-hero__field .u3-btn { flex: 0 0 auto; height: 48px; padding: 0 26px; border-radius: 999px; font-size: 15px; }
.u3-hero__field .u3-suggest { top: calc(100% + 8px); }
.u3-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.u3-hero__chips a { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-size: 14px; font-weight: 600; transition: background .15s; }
.u3-hero__chips a:hover, .u3-hero__chips a:focus { background: rgba(255, 255, 255, .26); color: #fff; text-decoration: none; }
.u3-hero__more { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; opacity: .9; }
.u3-hero__more:hover, .u3-hero__more:focus { color: #fff; opacity: 1; text-decoration: underline; }
.u3-hero__art .u3-spool { position: absolute; }
.u3-hero__art .s1 { width: 290px; height: 290px; right: 40px; top: 40px; color: #00d4f5; z-index: 2; }
.u3-hero__art .s2 { width: 190px; height: 190px; right: 250px; top: 130px; color: #e8f3f8; z-index: 1; }
.u3-hero__art.has-photo .u3-spool { display: none; }
.u3-hero__photo { position: absolute; right: 0; bottom: 0; max-height: 100%; max-width: 115%; width: auto; object-fit: contain; }
.u3-spool { display: block; filter: drop-shadow(0 10px 18px rgba(10, 31, 68, .22)); }

/* Animated network (moving points and lines). Colour comes from CSS "color". */
.u3-net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.u3-hero .u3-net { color: #fff; opacity: .55; }
.u3-hero .u3-btn { background: #072340; border-color: #072340; color: #fff; }
.u3-hero .u3-btn:hover { background: #00dcff; border-color: #00dcff; color: #06223a; }
.u3-footer .u3-net { color: #7fb0ff; opacity: .55; }

.u3-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.u3-segment.u3-tiletabs { display: inline-flex; max-width: 100%; gap: 6px; margin: 0 0 18px; padding: 5px; background: #fff; border: 1px solid var(--u3-border); box-shadow: var(--u3-shadow); }
.u3-tiletabs__tab { flex: 0 1 auto; padding: 13px 26px; border: 0; border-radius: 999px; background: var(--u3-bg); color: var(--u3-navy); font-size: 16px; font-weight: 700; white-space: nowrap; transition: background .15s, color .15s, box-shadow .15s; }
.u3-tiletabs__tab:hover { background: var(--u3-primary-50); color: var(--u3-primary); }
.u3-tiletabs__tab.is-active { background: var(--u3-primary); color: #fff; box-shadow: 0 6px 16px rgba(10, 102, 255, .3); }
.u3-tilegroups .u3-tiles[hidden] { display: none; }
@media (max-width: 600px) {
  .u3-segment.u3-tiletabs { display: flex; }
  .u3-tiletabs__tab { flex: 1; padding: 11px 8px; font-size: 14px; white-space: normal; line-height: 1.25; }
}
.u3-tiles--wide { grid-template-columns: repeat(2, 1fr); }
.u3-tile {
  display: grid; grid-template-columns: 1fr 88px; align-items: center; gap: 8px; padding: 20px 18px 20px 22px;
  background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); color: var(--u3-text);
  transition: border-color .15s, box-shadow .15s;
}
.u3-tile:hover { border-color: #b9d1fb; box-shadow: var(--u3-shadow); color: var(--u3-text); }
.u3-tile b { display: block; font-size: 17px; color: var(--u3-navy); line-height: 1.2; }
.u3-tile span { display: block; color: var(--u3-muted); font-size: 13px; margin-top: 8px; }
.u3-tile .u3-spool { width: 88px; height: 88px; }
.u3-tile .u3-spool--img { flex: 0 0 88px; object-fit: contain; }

.u3-adv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; border-top: 1px solid var(--u3-border); margin-top: 44px; }
.u3-adv__item { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.u3-adv__ico { width: 40px; height: 40px; border-radius: 12px; background: var(--u3-primary-50); color: var(--u3-primary); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.u3-adv__item b { display: block; color: var(--u3-navy); font-size: 14px; }
.u3-adv__item span { display: block; color: var(--u3-muted); font-size: 12.5px; line-height: 1.4; margin-top: 2px; }

/* 6. Product cards */
.u3-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.u3-grid--3 { grid-template-columns: repeat(3, 1fr); }
.u3-grid--pop { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.u3-grid--pop .u3-card { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 10px; align-items: start; padding: 12px; }
.u3-grid--pop .u3-card__img { grid-column: 1; width: 84px; background: none; }
.u3-grid--pop .u3-card__body { grid-column: 2; padding: 2px 0 0; }
.u3-grid--pop .u3-card__title { font-size: 15px; }
.u3-grid--pop .u3-card__actions { grid-column: 1 / -1; padding: 10px 0 0; }
.u3-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius);
  padding: 12px; transition: box-shadow .15s, border-color .15s; min-width: 0;
}
.u3-card:hover { border-color: #b9d1fb; box-shadow: var(--u3-shadow); }
.u3-card__img { display: block; background: linear-gradient(180deg, #f6f9ff, #eef3fb); border-radius: 10px; aspect-ratio: 1 / 1; overflow: hidden; }
.u3-card__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.u3-card__body { padding: 12px 4px 4px; flex: 1; }
.u3-card__title { font-size: 16px; margin: 0 0 2px; }
.u3-card__title a { color: var(--u3-navy); }
.u3-card__sub { color: var(--u3-muted); font-size: 12.5px; margin: 0 0 8px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.u3-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.u3-price__now { font-size: 18px; font-weight: 800; color: var(--u3-navy); }
.u3-price__old { color: var(--u3-muted); font-size: 13px; }
.u3-price__unit { color: var(--u3-muted); font-size: 13px; font-weight: 500; }
.u3-card__actions { display: flex; gap: 8px; padding: 10px 4px 2px; }
.u3-card__actions .u3-btn { flex: 1; height: 38px; }
/* legacy markup of core templates (compare, search, manufacturer...) */
.product-thumb { background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); padding: 12px; margin-bottom: 16px; overflow: hidden; }
.product-thumb .caption { padding: 8px 4px; min-height: 0; }
.product-thumb .button-group { border: 0; background: none; display: flex; gap: 6px; }
.product-thumb .button-group button { flex: 1; border: 1px solid var(--u3-border); background: #fff; border-radius: 8px; color: var(--u3-text); }
.product-thumb .button-group button:first-child { background: var(--u3-primary); color: #fff; border-color: var(--u3-primary); }

/* 7. Category page */
.u3-layout { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; margin-top: 8px; }
.u3-layout.has-aside { grid-template-columns: 270px 1fr; }
.u3-aside > * { margin-bottom: 16px; }
/* Стандартная обёртка левой колонки OpenCart (aside.col-sm-3.hidden-xs) внутри колонки темы: на всю ширину и видна на телефонах */
.u3-aside > #column-left, .u3-aside > #column-right { float: none; width: auto; padding: 0; margin: 0; display: block !important; }
.u3-aside > #column-left > *, .u3-aside > #column-right > * { margin-bottom: 16px; }
.u3-box { background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); padding: 18px; }
.u3-box__title { font-size: 16px; margin: 0 0 12px; }
.u3-box__sub { font-size: 14px; font-weight: 700; margin: 16px 0 8px; color: var(--u3-navy); }
.u3-catlist, .u3-catlist ul { list-style: none; padding: 0; margin: 0; }
.u3-catlist > li > a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--u3-text); font-size: 14px; }
.u3-catlist a:hover { background: var(--u3-bg); color: var(--u3-primary); }
.u3-catlist li.is-active > a { background: var(--u3-primary-50); color: var(--u3-primary); font-weight: 600; }
.u3-catlist ul { margin: 2px 0 6px 14px; }
.u3-catlist ul a { display: block; padding: 5px 10px; font-size: 13px; color: var(--u3-muted); border-radius: 8px; }
.u3-fchecks { display: grid; gap: 7px; }
.u3-fcheck { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 500; font-size: 14px; cursor: pointer; }
.u3-fcheck input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 1.5px solid #b8c6dc; border-radius: 5px; background: #fff; flex: 0 0 18px; margin: 0; display: grid; place-content: center; }
.u3-fcheck input:checked { background: var(--u3-primary); border-color: var(--u3-primary); }
.u3-fcheck input:checked:after { content: "\f00c"; font-family: FontAwesome; color: #fff; font-size: 10px; }
.u3-swatches, .u3-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.u3-swatch { position: relative; margin: 0; cursor: pointer; }
.u3-swatch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.u3-swatch > span, .u3-swatch > img, .u3-swatch > i {
  display: block; width: 26px; height: 26px; border-radius: 50%; background: var(--c, #cbd5e1);
  border: 1px solid rgba(10, 31, 68, .18); box-shadow: inset 0 0 0 2px #fff; object-fit: cover;
}
.u3-swatch input:checked + span, .u3-swatch input:checked + img, .u3-swatch input:checked + i { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--u3-primary); }
.u3-swatch input:focus-visible + span, .u3-swatch input:focus-visible + img, .u3-swatch input:focus-visible + i { outline: 2px solid var(--u3-primary); outline-offset: 2px; }
.u3-filter-actions { display: grid; gap: 8px; margin-top: 18px; }
.u3-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.u3-toolbar h1 { margin: 0; }
.u3-toolbar__tools { display: flex; gap: 10px; align-items: center; color: var(--u3-muted); font-size: 13px; }
.u3-select { height: 38px; border: 1px solid var(--u3-border); background: #fff; border-radius: var(--u3-radius-sm); padding: 0 10px; color: var(--u3-text); font-size: 13px; }
.u3-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.u3-chip { padding: 6px 14px; background: #fff; border: 1px solid var(--u3-border); border-radius: 999px; font-size: 13px; color: var(--u3-text); }
.u3-chip:hover { border-color: var(--u3-primary); color: var(--u3-primary); }
.u3-catdesc { color: var(--u3-muted); margin-bottom: 18px; }
.u3-catdesc > :not(.u3-gal) { max-width: 760px; }
.u3-pager { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 26px 0 10px; color: var(--u3-muted); font-size: 13px; }
.pagination { margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.pagination > li > a, .pagination > li > span { float: none; border: 1px solid var(--u3-border); border-radius: 8px !important; min-width: 36px; height: 36px; line-height: 22px; text-align: center; color: var(--u3-text); background: #fff; margin: 0; }
.pagination > .active > a, .pagination > .active > span { background: var(--u3-primary); border-color: var(--u3-primary); color: #fff; }

/* 8. Product page */
.u3-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; margin: 12px 0 30px; align-items: start; }
.u3-gallery__main { display: block; background: linear-gradient(180deg, #f6f9ff, #eef3fb); border: 1px solid var(--u3-border); border-radius: 18px; padding: 18px; }
.u3-gallery__main img { width: 100%; height: auto; mix-blend-mode: multiply; }
.u3-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.u3-gallery__thumbs a { width: 64px; height: 64px; border: 1px solid var(--u3-border); border-radius: 10px; overflow: hidden; background: #fff; display: block; }
.u3-gallery__thumbs a.is-active { border-color: var(--u3-primary); box-shadow: 0 0 0 2px rgba(0, 160, 200, .25); }
.u3-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.u3-product__info h1 { font-size: 34px; margin: 0 0 4px; }
.u3-product__model { color: var(--u3-muted); margin: 0 0 14px; }
.u3-product__priceline { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 6px 0 4px; }
.u3-product__priceline .u3-price__now { font-size: 30px; }
.u3-stock { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--u3-green-50); color: var(--u3-green); font-size: 12px; font-weight: 600; }
.u3-stock:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.u3-rating { color: #f5a623; font-size: 14px; margin: 8px 0 0; }
.u3-rating a { color: var(--u3-muted); font-size: 13px; margin-left: 8px; }
.u3-discounts { list-style: none; padding: 0; margin: 8px 0 0; color: var(--u3-muted); font-size: 13px; }
#product { margin-top: 22px; }
#product .form-group { margin-bottom: 18px; }
#product > h3 { font-size: 16px; }
.u3-pill { margin: 0; cursor: pointer; }
.u3-pill input { position: absolute; opacity: 0; }
.u3-pill span { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border: 1px solid var(--u3-border); border-radius: var(--u3-radius-sm); background: #fff; color: var(--u3-text); font-weight: 500; font-size: 14px; }
.u3-pill:hover span { border-color: #8fd3e8; }
.u3-pill input:checked + span { border-color: var(--u3-primary); color: var(--u3-primary); background: var(--u3-primary-50); box-shadow: inset 0 0 0 1px var(--u3-primary); font-weight: 600; }
.u3-pill input:focus-visible + span { outline: 2px solid var(--u3-primary); outline-offset: 2px; }
.u3-buy { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.u3-qty { display: inline-flex; align-items: center; border: 1px solid var(--u3-border); border-radius: var(--u3-radius-sm); background: #fff; height: 48px; }
.u3-qty button { width: 40px; height: 100%; border: 0; background: none; font-size: 18px; color: var(--u3-text); }
.u3-qty button:hover { color: var(--u3-primary); }
.u3-qty input { width: 44px; border: 0; text-align: center; font-weight: 600; background: none; height: 100%; padding: 0; }
.u3-qty input:focus { outline: 0; }
.u3-qty--sm { height: 38px; }
.u3-buy .u3-icon-btn { width: 48px; height: 48px; flex-basis: 48px; }
.u3-tabs { margin: 34px 0; background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); padding: 0 24px 24px; }
.nav-tabs { border-bottom: 1px solid var(--u3-border); margin-bottom: 18px; }
.nav-tabs > li > a { border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--u3-muted); font-weight: 600; padding: 18px 18px 14px; margin: 0; }
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { border: 0; border-bottom: 2px solid var(--u3-primary); color: var(--u3-primary); background: none; }
.nav-tabs > li > a:hover { background: none; border-color: transparent; color: var(--u3-primary); }
.u3-specs { width: 100%; border-collapse: collapse; }
.u3-specs th, .u3-specs td { padding: 11px 0; border-bottom: 1px solid var(--u3-border); font-size: 14px; text-align: left; vertical-align: top; }
.u3-specs th { width: 40%; color: var(--u3-muted); font-weight: 500; }
.u3-specs td { font-weight: 600; }
.u3-specs .u3-specs__group { color: var(--u3-navy); font-size: 13px; padding-top: 18px; }
.u3-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border: 1px solid var(--u3-border); border-radius: 999px; font-size: 12.5px; color: var(--u3-muted); background: #fff; }

/* 9. Cart page */
.u3-cart-page { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.u3-cartbox { background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); padding: 6px 22px; }
.u3-cartrow { display: grid; grid-template-columns: minmax(0, 1fr) 110px 170px 120px 32px; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--u3-border); }
.u3-cartrow:last-child { border-bottom: 0; }
.u3-cartrow--head { padding: 14px 0; color: var(--u3-muted); font-size: 12.5px; font-weight: 600; }
.u3-cartrow__prod { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.u3-cartrow__img img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--u3-bg); }
.u3-cartrow__name { color: var(--u3-navy); font-weight: 600; font-size: 14px; }
.u3-cartrow__qty { display: flex; gap: 8px; align-items: center; }
.u3-cartrow__total { font-weight: 700; color: var(--u3-navy); }
.u3-remove { border: 0; background: none; color: var(--u3-muted); font-size: 16px; }
.u3-remove:hover { color: var(--u3-red); }
.u3-summary { background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); padding: 22px; position: sticky; top: 96px; }
.u3-totals { width: 100%; margin-bottom: 18px; }
.u3-totals td { padding: 6px 0; font-size: 14px; color: var(--u3-muted); }
.u3-totals td:last-child { text-align: right; color: var(--u3-text); font-weight: 600; }
.u3-totals tr:last-child td { font-size: 18px; font-weight: 800; color: var(--u3-navy); padding-top: 12px; border-top: 1px solid var(--u3-border); }
.u3-summary .u3-link { display: block; text-align: center; margin-top: 14px; font-size: 14px; }
.u3-extras { margin-top: 24px; }

/* 10. Auth / Account */
.u3-authcard { background: #fff; border: 1px solid var(--u3-border); border-radius: 18px; padding: 34px; margin: 26px 0 40px; box-shadow: var(--u3-shadow); }
.u3-authcard h1 { font-size: 26px; text-align: center; margin: 0 0 8px; }
.u3-authcard > p.u3-muted { text-align: center; margin-bottom: 24px; }
.u3-authcard .u3-btn { width: 100%; height: 48px; }
.u3-authcard__alt { text-align: center; margin-top: 18px; font-size: 14px; color: var(--u3-muted); }
.u3-authcard__forgot { display: block; text-align: center; margin-top: 14px; font-size: 14px; }
.u3-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.u3-account { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; margin-top: 14px; }
.u3-sidenav { background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); padding: 10px; }
.u3-sidenav a { display: flex; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 10px; color: var(--u3-text); font-weight: 500; font-size: 14px; }
.u3-sidenav a .fa { width: 20px; text-align: center; color: var(--u3-muted); font-size: 17px; }
.u3-sidenav a:hover { background: var(--u3-bg); }
.u3-sidenav a.is-active { background: var(--u3-primary-50); color: var(--u3-primary); font-weight: 600; }
.u3-sidenav a.is-active .fa { color: var(--u3-primary); }
.u3-panel { background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); padding: 24px; }
.u3-panel h1 { margin-top: 0; font-size: 26px; }
.u3-dash { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.u3-dash a { display: block; padding: 16px; border: 1px solid var(--u3-border); border-radius: var(--u3-radius-sm); color: var(--u3-navy); font-weight: 600; }
.u3-dash a:hover { border-color: var(--u3-primary); color: var(--u3-primary); }
.u3-dash h3 { font-size: 15px; margin: 22px 0 10px; color: var(--u3-muted); grid-column: 1 / -1; }
.u3-filter { display: flex; gap: 22px; border-bottom: 1px solid var(--u3-border); margin-bottom: 8px; overflow-x: auto; }
.u3-filter button { border: 0; border-bottom: 2px solid transparent; background: none; padding: 10px 0 12px; font-weight: 600; color: var(--u3-muted); white-space: nowrap; }
.u3-filter button.is-active { color: var(--u3-primary); border-color: var(--u3-primary); }
.u3-orders { width: 100%; border-collapse: collapse; }
.u3-orders th { text-align: left; font-size: 12.5px; color: var(--u3-muted); font-weight: 600; padding: 12px 8px; }
.u3-orders td { padding: 18px 8px; border-top: 1px solid var(--u3-border); font-size: 14px; }
.u3-orders td:first-child { font-weight: 700; color: var(--u3-navy); }
.u3-status { display: inline-block; padding: 4px 12px; border-radius: 8px; font-size: 12.5px; font-weight: 600; }
.u3-status--done { background: var(--u3-green-50); color: var(--u3-green); }
.u3-status--wait { background: var(--u3-orange-50); color: var(--u3-orange); }
.u3-status--cancel { background: var(--u3-red-50); color: var(--u3-red); }

/* 11. Checkout and other legacy core templates */
.panel { border: 1px solid var(--u3-border); border-radius: var(--u3-radius) !important; box-shadow: none; background: #fff; overflow: hidden; }
.panel-default > .panel-heading { background: #fff; border-color: var(--u3-border); padding: 16px 20px; }
.panel-title { font-size: 16px; font-weight: 700; color: var(--u3-navy); }
.panel-title a { color: var(--u3-navy); display: block; }
.panel-footer { background: var(--u3-bg); border-color: var(--u3-border); }
.panel-group .panel + .panel { margin-top: 12px; }
.table > thead > tr > th, .table > tbody > tr > td { border-color: var(--u3-border); }
.table-bordered { border-color: var(--u3-border); }
.well { background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); box-shadow: none; }
.list-group-item { border-color: var(--u3-border); }
.dropdown-menu { border-radius: var(--u3-radius-sm); border-color: var(--u3-border); box-shadow: var(--u3-shadow); }
#content, #content > .buttons { min-width: 0; }
.buttons { margin: 18px 0; }
.main-legacy { padding-bottom: 20px; }

/* 12. Footer / tabbar */
.u3-footer { position: relative; overflow: hidden; background: var(--u3-navy); color: #c8d4ea; margin-top: auto; padding-top: 34px; }
.u3-footer > .u3-container { position: relative; z-index: 1; }
.u3-footer a { color: #c8d4ea; }
.u3-footer a:hover { color: #fff; }
.u3-footer__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 26px; }
.u3-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.u3-footer__links { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; flex-wrap: wrap; font-size: 14px; }
.u3-subscribe { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.u3-subscribe div { display: flex; }
.u3-subscribe input { height: 38px; width: 230px; border: 0; border-radius: 8px 0 0 8px; padding: 0 12px; font-size: 13px; }
.u3-subscribe button { width: 40px; border: 0; background: var(--u3-primary); color: #fff; border-radius: 0 8px 8px 0; }
.u3-social { display: flex; gap: 8px; }
.u3-social a { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255, 255, 255, .08); font-size: 18px; color: #fff; }
.u3-social a:hover { background: var(--u3-primary); }
.u3-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; color: #8ea0c0; }
.u3-footer__bottom a { margin-left: 18px; }
.u3-tabbar { display: none; }


/* 13. Responsive */
@media (max-width: 1100px) {
  .u3-hero__inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .u3-hero__text { padding: 36px 0 12px; }
  .u3-hero__art { min-height: 250px; }
  .u3-hero__art .s1 { width: 230px; height: 230px; right: 40px; top: 10px; }
  .u3-hero__art .s2 { width: 150px; height: 150px; right: 220px; top: 90px; }
  .u3-grid--pop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .u3-tiles, .u3-adv { grid-template-columns: repeat(2, 1fr); }
  .u3-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .u3-nav__links { display: none; }
}
@media (max-width: 860px) {
  body { padding-bottom: 68px; }
  h1 { font-size: 24px; }
  .u3-header__row { flex-wrap: wrap; min-height: 0; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .u3-burger { display: block; }
  .u3-logo { font-size: 22px; margin-right: auto; }
  .u3-logo--img img { height: 42px; max-width: 200px; }
  .u3-header__search { order: 5; flex: 1 1 100%; }
  .u3-nav { display: none; order: 6; flex: 1 1 100%; flex-direction: column; align-items: stretch; gap: 10px; padding: 8px 0 12px; }
  body.u3-nav-open .u3-nav { display: flex; }
  .u3-nav__links { display: grid; gap: 2px; }
  .u3-nav__links a { display: block; padding: 10px 4px; border-bottom: 1px solid var(--u3-border); }
  .u3-catalog__btn { width: 100%; }
  .u3-catalog__menu { position: static; width: auto; columns: 1; box-shadow: none; margin-top: 10px; padding: 14px 16px; }
  .u3-action__txt { display: none; }
  .u3-cart__menu { position: fixed; left: 12px; right: 12px; top: 64px; width: auto; }
  .u3-layout.has-aside { grid-template-columns: 1fr; }
  .u3-aside { display: grid; gap: 12px; }
  .u3-product { grid-template-columns: 1fr; gap: 22px; }
  .u3-product__info h1 { font-size: 28px; }
  .u3-cart-page { grid-template-columns: 1fr; }
  .u3-summary { position: static; }
  .u3-cartrow--head { display: none; }
  .u3-cartrow { grid-template-columns: 1fr auto; gap: 10px; }
  .u3-cartrow__prod { grid-column: 1 / -1; }
  .u3-cartrow__price { display: none; }
  .u3-cartrow__total { text-align: right; }
  .u3-cartrow .u3-remove { grid-row: 1; grid-column: 2; }
  .u3-account { grid-template-columns: 1fr; }
  .u3-sidenav { display: flex; overflow-x: auto; gap: 4px; }
  .u3-sidenav a { white-space: nowrap; }
  .u3-orders thead { display: none; }
  .u3-orders, .u3-orders tbody, .u3-orders tr, .u3-orders td { display: block; width: 100%; }
  .u3-orders tr { padding: 12px 0; border-top: 1px solid var(--u3-border); }
  .u3-orders td { border: 0; padding: 3px 0; }
  .u3-hero h1 { font-size: 30px; }
  .u3-hero__art { min-height: 210px; }
  .u3-hero__art .s1 { width: 190px; height: 190px; right: 20px; top: 10px; }
  .u3-hero__art .s2 { width: 120px; height: 120px; right: 170px; top: 80px; }
  .u3-grid--pop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .u3-searchtoggle { display: flex; }
  .u3-header__search { display: none; }
  body.u3-search-open .u3-header__search { display: block; }
  .u3-action--acc, .u3-action--wish { display: none; }
  .u3-footer__row { flex-direction: column; align-items: flex-start; }
  .u3-tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    background: #fff; border-top: 1px solid var(--u3-border); padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
  }
  .u3-tabbar a, .u3-tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; background: none; color: var(--u3-muted); font-size: 11px; padding: 4px 0; }
  .u3-tabbar .fa { font-size: 20px; }
  .u3-tabbar .is-active, .u3-tabbar a:hover, .u3-tabbar button:hover { color: var(--u3-primary); }
  .u3-toasts { top: 70px; left: 12px; right: 12px; max-width: none; }
}
@media (max-width: 560px) {
  .u3-container, .container { padding-left: 14px; padding-right: 14px; }
  .u3-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .u3-grid--pop { grid-template-columns: 1fr; }
  .u3-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .u3-card { padding: 8px; }
  .u3-card__title { font-size: 14px; }
  .u3-price__now { font-size: 15px; }
  .u3-card__actions .u3-btn { padding: 0 8px; font-size: 13px; }
  .u3-tiles, .u3-adv { grid-template-columns: 1fr; }
  .u3-authcard { padding: 22px 18px; }
  .u3-row2 { grid-template-columns: 1fr; }
  .u3-tabs { padding: 0 14px 18px; }
  .u3-buy .u3-btn--lg { flex: 1; }
}

/* 14. Product filter (module U3 Фильтр товаров) */
.u3f { padding: 16px 18px; }
.u3f__toggle { display: none; }
.u3f__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.u3f__head .u3-box__title { margin: 0 0 10px; }
.u3f__reset { font-size: 13px; font-weight: 600; white-space: nowrap; }
.u3f__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.u3f__chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--u3-primary-50); color: var(--u3-primary); font-size: 12px; font-weight: 600; }
.u3f__chip .fa { font-size: 11px; opacity: .7; }
.u3f__chip:hover { background: var(--u3-primary); color: #fff; }
.u3f__group { border-top: 1px solid var(--u3-border); padding: 12px 0 10px; }
.u3f__group:last-child { padding-bottom: 0; }
.u3f__title { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; padding: 0; margin: 0 0 8px; border: 0; background: none; font-size: 14px; font-weight: 700; color: var(--u3-navy); text-align: left; cursor: pointer; }
.u3f__title .fa { color: var(--u3-muted); transition: transform .15s; }
.u3f__title--static { cursor: default; }
.u3f__group.is-collapsed .u3f__title { margin-bottom: 0; }
.u3f__group.is-collapsed .u3f__title .fa { transform: rotate(-90deg); }
.u3f__group.is-collapsed .u3f__values, .u3f__group.is-collapsed .u3f__more { display: none; }
.u3f__values { display: grid; gap: 2px; }
.u3f__value { display: flex; align-items: center; gap: 9px; padding: 5px 4px; margin: 0 -4px; border-radius: 8px; color: var(--u3-text); font-size: 14px; line-height: 1.3; }
a.u3f__value:hover { background: var(--u3-bg); color: var(--u3-text); }
.u3f__value.is-disabled { opacity: .45; cursor: default; }
.u3f__value.is-extra { display: none; }
.u3f__group.is-all .u3f__value.is-extra { display: flex; }
.u3f__box { width: 18px; height: 18px; flex: 0 0 18px; border: 1.5px solid #b8c6dc; border-radius: 5px; background: #fff; display: grid; place-content: center; }
.u3f__value.is-checked .u3f__box { background: var(--u3-primary); border-color: var(--u3-primary); }
.u3f__value.is-checked .u3f__box:after { content: "\f00c"; font-family: FontAwesome; color: #fff; font-size: 10px; }
.u3f__dot { width: 20px; height: 20px; flex: 0 0 20px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(10, 31, 68, .18); }
.u3f__value.is-checked .u3f__dot { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--u3-primary); }
.u3f__value.is-checked .u3f__name { font-weight: 600; }
.u3f__name { flex: 1; min-width: 0; }
.u3f__count { color: var(--u3-muted); font-size: 12px; }
.u3f__more { border: 0; background: none; padding: 4px 0 0; color: var(--u3-link); font-size: 13px; font-weight: 600; cursor: pointer; }
.u3f__price { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; }
.u3f__price input { width: 100%; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid var(--u3-border); border-radius: var(--u3-radius-sm); font-size: 14px; }
.u3f__price input:focus { border-color: var(--u3-primary); outline: 0; }
.u3f__dash { color: var(--u3-muted); }
.u3f__apply { grid-column: 1 / -1; width: 100%; }
@media (max-width: 860px) {
  .u3f { padding: 0; }
  .u3f__toggle { display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border: 0; border-radius: var(--u3-radius); background: none; font-weight: 700; color: var(--u3-navy); }
  .u3f__badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--u3-primary); color: #fff; font-size: 12px; line-height: 20px; }
  .u3f__body { display: none; padding: 0 16px 16px; }
  .u3f.is-open .u3f__body { display: block; }
}

/* 15. Search page, specials, brands, compare */
.u3-searchform { background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); padding: 14px; margin-bottom: 18px; }
.u3-searchform__main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 240px) auto; gap: 10px; }
.u3-searchform__main .form-control { height: 42px; }
.u3-searchform__main .u3-btn { height: 42px; padding: 0 20px; }
.u3-searchform__opts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; }
.u3-searchform__opts .u3-fcheck { font-size: 13px; color: var(--u3-muted); }
.u3-fcheck.is-disabled { opacity: .5; cursor: default; }
.u3-smart { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 16px; margin-bottom: 18px; border-radius: var(--u3-radius-sm); background: var(--u3-primary-50); color: var(--u3-text); font-size: 14px; }
.u3-smart .fa { color: var(--u3-primary); }
.u3-smart a { margin-left: auto; font-weight: 600; font-size: 13px; }
.u3-empty { background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); padding: 28px; text-align: center; color: var(--u3-muted); }
.u3-empty p { margin: 0 0 14px; }
.u3-empty p:last-child { margin: 0; }
.u3-compare { overflow-x: auto; background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); margin-bottom: 18px; }
.u3-compare .table { margin: 0; border: 0; }
.u3-compare .table td { vertical-align: top; min-width: 160px; }
.u3-compare .table td:first-child { min-width: 140px; color: var(--u3-muted); font-weight: 600; background: var(--u3-bg); }
.u3-compare .u3-btn { width: 100%; margin-bottom: 6px; }
.u3-compare__img { max-width: 120px; border-radius: var(--u3-radius-sm); }
@media (max-width: 860px) {
  .u3-searchform__main { grid-template-columns: 1fr; }
  .u3-smart a { margin-left: 0; }
}

/* 16. Search suggestions */
.u3-suggest-host { position: relative; }
.u3-suggest { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 1050; min-width: 320px; max-height: 70vh; overflow-y: auto; background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); box-shadow: 0 16px 40px rgba(10, 31, 68, .16); padding: 6px; text-align: left; }
.u3-suggest.is-open { display: block; }
.u3-suggest__group + .u3-suggest__group { border-top: 1px solid var(--u3-border); margin-top: 4px; padding-top: 4px; }
.u3-suggest a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--u3-text); font-size: 14px; line-height: 1.3; }
.u3-suggest a:hover, .u3-suggest a.is-active { background: var(--u3-bg); color: var(--u3-text); }
.u3-suggest a > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.u3-suggest .fa { width: 18px; text-align: center; color: var(--u3-primary); }
.u3-suggest small { color: var(--u3-muted); font-size: 12px; }
.u3-suggest em { font-style: normal; color: var(--u3-muted); font-size: 12px; }
.u3-suggest__product img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: var(--u3-bg); flex: 0 0 44px; }
.u3-suggest__product b { white-space: nowrap; font-size: 13px; color: var(--u3-navy); }
.u3-suggest__product s { color: var(--u3-muted); font-weight: 400; font-size: 12px; }
.u3-suggest a.u3-suggest__all { justify-content: center; margin-top: 4px; border-top: 1px solid var(--u3-border); border-radius: 0 0 10px 10px; font-weight: 600; color: var(--u3-link); }
.u3-suggest__empty { padding: 14px 10px; color: var(--u3-muted); font-size: 14px; }
@media (max-width: 560px) {
  .u3-suggest { min-width: 0; position: fixed; left: 12px; right: 12px; top: 120px; }
  .u3-hero__field .u3-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); }
  .u3-hero__field .u3-search__input { padding-left: 40px; font-size: 15px; }
  .u3-hero__field > .fa { left: 18px; }
  .u3-hero__field .u3-btn { padding: 0 18px; }
}

/* 17. Contact page */
.u3-contacts { display: grid; gap: 28px; margin-bottom: 48px; }
.u3-contacts h2 { font-size: 20px; margin: 0 0 14px; }
.u3-contacts__main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.u3-ccard { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); color: var(--u3-text); }
.u3-ccard--link:hover { border-color: var(--u3-primary); color: var(--u3-text); box-shadow: var(--u3-shadow); }
.u3-ccard__ico { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-content: center; border-radius: 12px; background: var(--u3-primary-50); color: var(--u3-primary); font-size: 20px; }
.u3-ccard small { display: block; color: var(--u3-muted); font-size: 13px; margin-bottom: 2px; }
.u3-ccard b { display: block; font-size: 17px; color: var(--u3-navy); overflow-wrap: anywhere; }
.u3-deps { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.u3-dep { padding: 18px 20px; background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); display: flex; flex-direction: column; gap: 8px; }
.u3-dep h3 { font-size: 15px; margin: 0 0 4px; }
.u3-dep__line { display: flex; align-items: center; gap: 8px; color: var(--u3-text); font-size: 15px; overflow-wrap: anywhere; }
.u3-dep__line .fa { width: 16px; color: var(--u3-muted); text-align: center; }
.u3-dep__line:hover { color: var(--u3-primary); }
.u3-dep__wa { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 4px; padding: 6px 12px; border-radius: 999px; background: #e7f9ee; color: #128c4a; font-size: 13px; font-weight: 600; }
.u3-dep__wa:hover { background: #25d366; color: #fff; }
.u3-place { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.u3-place--nomap { grid-template-columns: 1fr; }
.u3-place__card { padding: 22px; background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.u3-place__card p { display: flex; gap: 10px; margin: 0; font-size: 15px; }
.u3-place__card p .fa { width: 16px; margin-top: 3px; color: var(--u3-primary); text-align: center; }
.u3-place__social { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.u3-place__social a { width: 40px; height: 40px; display: grid; place-content: center; border-radius: 50%; background: var(--u3-bg); color: var(--u3-navy); font-size: 18px; }
.u3-place__social a:hover { background: var(--u3-primary); color: #fff; }
.u3-place__map { min-height: 360px; border-radius: var(--u3-radius); overflow: hidden; border: 1px solid var(--u3-border); background: var(--u3-bg); }
.u3-place__map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
.u3-contacts__bottom { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.u3-contacts__bottom.is-single { grid-template-columns: 1fr; }
.u3-cform, .u3-req { padding: 22px; background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); }
.u3-cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.u3-cform label { font-weight: 600; font-size: 13px; color: var(--u3-navy); }
.u3-cform textarea { resize: vertical; min-height: 140px; }
.u3-cform .has-error .form-control { border-color: var(--u3-red); }
.u3-cform__submit { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.u3-cform__agree { font-weight: 400 !important; font-size: 13px !important; color: var(--u3-muted) !important; max-width: 70%; }
.u3-cform__submit .u3-btn { margin-left: auto; height: 44px; padding: 0 24px; }
.u3-req__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.u3-req__copy { border: 0; background: none; padding: 0; font-size: 13px; }
.u3-req__text { font-size: 14px; line-height: 1.7; color: var(--u3-text); overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .u3-contacts__main, .u3-place, .u3-contacts__bottom, .u3-cform__row { grid-template-columns: 1fr; }
  .u3-place__map, .u3-place__map iframe { min-height: 300px; }
  .u3-cform__agree { max-width: none; }
  .u3-cform__submit .u3-btn { width: 100%; }
}

/* 18. Articles: about, delivery, documents */
.u3-info { padding-bottom: 48px; }
.u3-info h2 { font-size: 22px; margin: 0 0 16px; }
.u3-info h3 { font-size: 16px; margin: 0 0 6px; }
.u3-info__hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; padding: 36px 40px; margin-bottom: 28px; border-radius: var(--u3-radius); color: #fff; background: linear-gradient(100deg, var(--u3-primary) 0%, var(--u3-primary-600) 55%, var(--u3-navy) 100%); }
/* Фон как у первого экрана главной: градиент и движущаяся сетка (настройки темы → «Цвета») */
.u3-info__hero--net { background: linear-gradient(100deg, #00a9c9 0%, #0a73a6 48%, #1b3478 100%); }
.u3-info__hero--net .u3-net { color: #fff; opacity: .55; }
.u3-info__hero--net > :not(.u3-net) { position: relative; z-index: 1; }
.u3-info__hero.has-image { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.u3-info__hero h1 { color: #fff; margin: 0 0 10px; font-size: 34px; }
.u3-info__lead { margin: 0; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .9); max-width: 720px; }
.u3-info__hero-img img { width: 100%; max-height: 300px; object-fit: cover; border-radius: var(--u3-radius-sm); }
.u3-info__section { margin-bottom: 32px; }
.u3-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 32px; }
.u3-stat { padding: 20px; background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); }
.u3-stat b { display: block; font-size: 30px; line-height: 1.1; color: var(--u3-primary); letter-spacing: -.02em; }
.u3-stat span { display: block; margin-top: 6px; color: var(--u3-muted); font-size: 14px; }
.u3-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; counter-reset: none; }
.u3-timeline__item { position: relative; padding: 20px; background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); border-top: 4px solid var(--u3-primary); }
.u3-timeline__year { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; background: var(--u3-primary-50); color: var(--u3-primary); font-weight: 700; font-size: 14px; }
.u3-timeline__body p { margin: 0; color: var(--u3-text); font-size: 14px; }
.u3-mission { display: flex; gap: 16px; align-items: flex-start; padding: 24px 28px; margin-bottom: 32px; border-radius: var(--u3-radius); background: var(--u3-navy); color: #fff; }
.u3-mission .fa { font-size: 26px; color: #7ff0ff; }
.u3-mission p { margin: 0; font-size: 18px; line-height: 1.55; }
.u3-icards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.u3-icard { display: block; padding: 20px; background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); color: var(--u3-text); }
.u3-icard p { margin: 0; font-size: 14px; color: var(--u3-muted); }
.u3-icard--link:hover { border-color: var(--u3-primary); color: var(--u3-text); box-shadow: var(--u3-shadow); }
.u3-icard__ico { width: 44px; height: 44px; display: grid; place-content: center; margin-bottom: 12px; border-radius: 12px; background: var(--u3-primary-50); color: var(--u3-primary); font-size: 20px; }
.u3-icard__price { margin: 2px 0 8px; font-size: 18px; font-weight: 700; color: var(--u3-primary); }
.u3-icards--row { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.u3-icards--row .u3-icard { display: flex; gap: 14px; align-items: flex-start; }
.u3-icards--row .u3-icard__ico { flex: 0 0 44px; margin: 0; }
.u3-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.u3-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 18px; background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); }
.u3-steps__num { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-content: center; border-radius: 50%; background: var(--u3-primary); color: #fff; font-weight: 700; }
.u3-steps p { margin: 0; font-size: 14px; color: var(--u3-muted); }
.u3-note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; margin-bottom: 32px; border-radius: var(--u3-radius); background: var(--u3-primary-50); }
.u3-note .fa { font-size: 22px; color: var(--u3-primary); margin-top: 2px; }
.u3-note p { margin: 0; font-size: 15px; }
.u3-faq { display: grid; gap: 10px; }
.u3-faq__item { background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); }
.u3-faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; font-weight: 600; color: var(--u3-navy); list-style: none; }
.u3-faq__item summary::-webkit-details-marker { display: none; }
.u3-faq__item summary .fa { color: var(--u3-muted); transition: transform .15s; }
.u3-faq__item[open] summary .fa { transform: rotate(180deg); }
.u3-faq__item p { margin: 0; padding: 0 20px 18px; color: var(--u3-text); font-size: 15px; }
.u3-doctabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.u3-doctabs button { padding: 8px 14px; border: 1px solid var(--u3-border); border-radius: 999px; background: #fff; color: var(--u3-text); font-size: 14px; font-weight: 600; }
.u3-doctabs button span { margin-left: 4px; color: var(--u3-muted); font-weight: 500; }
.u3-doctabs button.is-active { background: var(--u3-primary); border-color: var(--u3-primary); color: #fff; }
.u3-doctabs button.is-active span { color: rgba(255, 255, 255, .8); }
.u3-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.u3-doc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); overflow: hidden; }
.u3-doc[hidden] { display: none; }
.u3-doc__preview { display: grid; place-items: center; height: 220px; overflow: hidden; padding: 14px; background: var(--u3-bg); color: var(--u3-muted); font-size: 48px; }
.u3-doc__preview img { max-height: 192px; max-width: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 4px 14px rgba(10, 31, 68, .14); background: #fff; }
.u3-doc__body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.u3-doc__type { align-self: flex-start; margin-bottom: 8px; padding: 2px 8px; border-radius: 6px; background: var(--u3-primary-50); color: var(--u3-primary); font-size: 12px; font-weight: 700; }
.u3-doc__body h3 { font-size: 14px; line-height: 1.35; }
.u3-doc__body p { margin: 0 0 10px; font-size: 13px; color: var(--u3-muted); }
.u3-doc__actions { display: flex; gap: 14px; margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; }
.u3-info__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 32px; }
.u3-info__body.has-aside { grid-template-columns: 270px minmax(0, 1fr); }
.u3-article { min-width: 0; padding: 28px 32px; background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.u3-article h2, .u3-article h3, .u3-article h4 { margin: 26px 0 12px; }
.u3-article h2:first-child, .u3-article h3:first-child, .u3-article h4:first-child { margin-top: 0; }
.u3-article p { margin: 0 0 14px; }
.u3-article ul, .u3-article ol { padding-left: 22px; margin: 0 0 14px; }
.u3-article li { margin-bottom: 6px; }
.u3-article img { height: auto; border-radius: var(--u3-radius-sm); }
.u3-article iframe, .u3-article video, .u3-article embed { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--u3-radius-sm); }
.u3-article table { width: 100%; margin: 0 0 16px; border-collapse: collapse; }
.u3-article td, .u3-article th { padding: 8px 12px; border: 1px solid var(--u3-border); }
.u3-article font { font-family: inherit !important; }
.u3-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 30px; border-radius: var(--u3-radius); background: #fff; border: 1px solid var(--u3-border); }
.u3-cta h2 { margin: 0 0 4px; font-size: 20px; }
.u3-cta p { margin: 0; color: var(--u3-muted); }
.u3-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.u3-btn--wa { background: #25d366; border-color: #25d366; }
.u3-btn--wa:hover { background: #1ebe5b; border-color: #1ebe5b; }
.u3-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.u3-gallery__item { position: relative; display: block; border-radius: var(--u3-radius-sm); overflow: hidden; }
.u3-gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .2s; }
.u3-gallery__item:hover img { transform: scale(1.04); }
.u3-gallery__item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); color: #fff; font-size: 13px; }
.u3-lightbox { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 24px; background: rgba(6, 18, 40, .85); }
.u3-lightbox[hidden] { display: none; }
.u3-lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.u3-lightbox img { max-width: min(900px, 100%); max-height: calc(100vh - 140px); object-fit: contain; background: #fff; border-radius: 8px; }
.u3-lightbox figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; color: #fff; text-align: center; }
.u3-lightbox__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; font-size: 20px; }
@media (max-width: 860px) {
  .u3-info__hero, .u3-info__hero.has-image { grid-template-columns: 1fr; padding: 26px 22px; }
  .u3-info__hero h1 { font-size: 26px; }
  .u3-info__body.has-aside { grid-template-columns: minmax(0, 1fr); }
  .u3-article { padding: 20px; }
  .u3-stat b { font-size: 24px; }
  .u3-mission p { font-size: 16px; }
}

/* 19. Where to buy: page and home strip */
.u3-shops { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.u3-shop { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--u3-radius); background: #fff; border: 1px solid var(--u3-border); box-shadow: var(--u3-shadow); overflow: hidden; color: var(--u3-text); }
.u3-shop::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--shop); }
.u3-shop__head { display: flex; align-items: center; gap: 12px; }
.u3-shop__head h2, .u3-shop__head h3 { margin: 0; font-size: 19px; }
.u3-shop__mark { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-content: center; border-radius: 12px; background: var(--shop); color: var(--shop-ink); font-weight: 800; font-size: 20px; }
.u3-shop__logo { flex: 0 0 auto; width: auto; max-width: 150px; height: 44px; object-fit: contain; object-position: left center; }
.u3-shop p { margin: 0; flex: 1; color: var(--u3-muted); }
.u3-shop__btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--shop); color: var(--shop-ink); font-weight: 600; transition: filter .15s; }
a.u3-shop__btn:hover, a.u3-shop__btn:focus, a.u3-shop:hover .u3-shop__btn { color: var(--shop-ink); filter: brightness(.93); text-decoration: none; }
a.u3-shop { text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.u3-shop:hover { color: var(--u3-text); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(10, 40, 100, .12); }
.u3-shops--compact .u3-shop { padding: 18px 20px; gap: 14px; }
.u3-shops--compact .u3-shop__btn { padding: 8px 14px; font-size: 14px; }
.u3-buy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: stretch; gap: 16px; }
.u3-buy__card { padding: 24px; border-radius: var(--u3-radius); background: #fff; border: 1px solid var(--u3-border); }
.u3-buy__card.has-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; }
.u3-buy__card h2 { margin: 0 0 8px; font-size: 19px; }
.u3-buy__card > p { margin: 0 0 12px; color: var(--u3-muted); }
.u3-buy__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.u3-buy__list li { display: flex; gap: 10px; align-items: flex-start; }
.u3-buy__list .fa { flex: 0 0 18px; margin-top: 3px; color: var(--u3-primary); text-align: center; }
.u3-buy__list small { display: block; color: var(--u3-muted); }
.u3-buy__list a { font-weight: 600; }
.u3-buy__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.u3-buy__map { min-height: 280px; border-radius: var(--u3-radius-sm); overflow: hidden; background: var(--u3-bg); }
.u3-buy__map iframe { display: block; width: 100%; height: 100%; min-height: 280px; border: 0; }
.u3-home-shops { margin-top: 44px; }
/* Главная: карусель отзывов */
.u3-homerev { margin-top: 44px; }
.u3-homerev__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; margin-bottom: 16px; }
.u3-homerev__head h2 { margin: 0; font-size: 24px; }
.u3-homerev__sum { margin: 6px 0 0; color: var(--u3-muted); }
.u3-homerev__sum b { font-size: 18px; color: var(--u3-navy); margin-right: 4px; }
.u3-homerev__nav { display: flex; align-items: center; gap: 8px; }
.u3-homerev__nav > a { font-weight: 600; margin-right: 8px; }
.u3-homerev__arrow { width: 40px; height: 40px; display: grid; place-content: center; border: 1px solid var(--u3-border); border-radius: 50%; background: #fff; color: var(--u3-navy); font-size: 20px; line-height: 1; cursor: pointer; transition: border-color .15s, color .15s; }
.u3-homerev__arrow:hover:not(:disabled) { border-color: var(--u3-primary); color: var(--u3-primary); }
.u3-homerev__arrow:disabled { opacity: .35; cursor: default; }
.u3-homerev__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.u3-homerev__track::-webkit-scrollbar { display: none; }
.u3-homerev__track:focus-visible { outline: 2px solid var(--u3-primary); outline-offset: 4px; border-radius: var(--u3-radius-sm); }
.u3-homerev__card { scroll-snap-align: start; display: flex; flex-direction: column; min-width: 0; }
.u3-homerev__text { flex: 1; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px !important; }
.u3-homerev .u3-homerev__product { margin: 0; padding: 12px 0 0; border-bottom: 0; border-top: 1px solid var(--u3-border); }
@media (max-width: 991px) { .u3-homerev__track { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 600px) { .u3-homerev__track { grid-auto-columns: 86%; gap: 12px; } .u3-homerev__arrow { display: none; } }
.u3-home-shops__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.u3-home-shops__head h2 { margin: 0; font-size: 24px; }
.u3-home-shops__head a { font-weight: 600; }
@media (max-width: 1100px) {
  .u3-buy { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .u3-buy__card.has-map { grid-template-columns: minmax(0, 1fr); }
  .u3-home-shops__head h2 { font-size: 20px; }
}

/* 20. Photo galleries (module U3 Галереи, code [gallery_rb id=N] in descriptions) */
.u3-gal { position: relative; margin: 28px 0; font-family: var(--u3-font); }
/* В старых описаниях шрифт задан тегами <font face> и style — показываем шрифтом темы */
.u3-catdesc font, .u3-catdesc [style*="font-family"], #tab-description font, #tab-description [style*="font-family"] { font-family: inherit !important; }
.u3-gal__title { margin: 0 0 10px; font-size: 22px; }
.u3-gal__text { margin: 0 0 14px; color: var(--u3-muted); }
.u3-gal__text p:last-child { margin-bottom: 0; }
.u3-gal__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 4); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 2px; }
.u3-gal__track::-webkit-scrollbar { display: none; }
.u3-gal__item { margin: 0; scroll-snap-align: start; min-width: 0; }
.u3-gal__item a { display: block; border-radius: var(--u3-radius-sm); overflow: hidden; background: var(--u3-bg); }
.u3-gal__item img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .25s; }
.u3-gal__item a:hover img { transform: scale(1.04); }
.u3-gal__item figcaption { padding: 8px 2px 0; font-size: 13px; line-height: 1.4; color: var(--u3-muted); }
.u3-gal__item figcaption b { display: block; color: var(--u3-text); font-weight: 600; }
.u3-gal__nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.u3-gal__nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--u3-border); background: #fff; color: var(--u3-navy); font-size: 20px; line-height: 1; }
.u3-gal__nav button:hover { border-color: var(--u3-primary); color: var(--u3-primary); }
.u3-zoom { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 24px 64px; background: rgba(6, 18, 40, .9); }
.u3-zoom[hidden] { display: none; }
.u3-zoom figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; }
.u3-zoom img { max-width: min(1200px, 100%); max-height: calc(100vh - 120px); object-fit: contain; border-radius: 8px; background: #fff; }
.u3-zoom figcaption { color: #fff; text-align: center; font-size: 15px; }
.u3-zoom button { position: absolute; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; font-size: 24px; line-height: 1; }
.u3-zoom button:hover { background: rgba(255, 255, 255, .28); }
.u3-zoom__close { top: 16px; right: 16px; }
.u3-zoom__prev, .u3-zoom__next { top: 50%; transform: translateY(-50%); }
.u3-zoom__prev { left: 12px; }
.u3-zoom__next { right: 12px; }
@media (max-width: 860px) {
  .u3-gal__track { grid-auto-columns: calc((100% - 12px) / 2); }
  .u3-zoom { padding: 16px; }
  .u3-zoom__prev, .u3-zoom__next { top: auto; bottom: 16px; transform: none; }
}

/* 21. Registration: individual / legal entity */
.u3-segment { display: flex; gap: 4px; padding: 4px; margin: 0 0 14px; border-radius: 999px; background: var(--u3-bg); border: 1px solid var(--u3-border); }
.u3-segment__item { flex: 1; margin: 0; cursor: pointer; }
.u3-segment__item input { position: absolute; opacity: 0; pointer-events: none; }
.u3-segment__item span { display: block; padding: 9px 12px; border-radius: 999px; text-align: center; font-weight: 600; font-size: 14px; color: var(--u3-muted); transition: background .15s, color .15s; }
.u3-segment__item input:checked + span { background: #fff; color: var(--u3-primary); box-shadow: 0 2px 8px rgba(10, 40, 100, .1); }
.u3-segment__item input:focus-visible + span { outline: 2px solid var(--u3-primary); outline-offset: 2px; }
.u3-segment__note { margin: -4px 0 14px; font-size: 13px; color: var(--u3-muted); }
.u3-company:has(.custom-field:not([hidden])) { padding: 16px 16px 2px; margin: 0 0 14px; border-radius: var(--u3-radius-sm); background: var(--u3-primary-50); }
.u3-field.is-required > label::after { content: " *"; color: var(--u3-red); }

/* 22. Discontinued products (theme setting «Снятые с производства») */
.u3-archived { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--u3-bg); border: 1px solid var(--u3-border); color: var(--u3-muted); font-size: 13px; font-weight: 600; }
.u3-archived--lg { margin: 6px 0 14px; padding: 8px 14px; font-size: 15px; }
.u3-archived-note { padding: 16px; border-radius: var(--u3-radius-sm); background: var(--u3-bg); border: 1px solid var(--u3-border); }
.u3-archived-note p { margin: 0 0 12px; color: var(--u3-muted); }
.u3-archived-note .u3-buy { margin: 0; }
.u3-price__ask { color: var(--u3-navy); font-weight: 700; font-size: 16px; }
.u3-price__ask--lg { font-size: 22px; }

/* 23. Reviews */
.u3-stars { color: #f5a623; white-space: nowrap; letter-spacing: 1px; }
.u3-stars--sm { display: block; font-size: 12px; margin: -2px 0 6px; }
.u3-stars--lg { font-size: 20px; }
.u3-rating .u3-stars { font-size: 15px; }
.u3-revbox { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.u3-revsum { position: sticky; top: 90px; padding: 20px; border-radius: var(--u3-radius); background: var(--u3-bg); text-align: center; }
.u3-revsum__avg { font-size: 44px; font-weight: 800; line-height: 1; color: var(--u3-navy); }
.u3-revsum p { margin: 6px 0 12px; }
.u3-revsum__bars { list-style: none; padding: 0; margin: 0 0 16px; text-align: left; font-size: 13px; color: var(--u3-muted); }
.u3-revsum__bars li { display: grid; grid-template-columns: 34px 1fr 24px; gap: 8px; align-items: center; margin: 4px 0; }
.u3-revsum__bars .fa { color: #f5a623; font-size: 11px; }
.u3-revsum__bars li span:last-child { text-align: right; }
.u3-revsum__bar { height: 6px; border-radius: 3px; background: #e2e8f2; overflow: hidden; }
.u3-revsum__bar i { display: block; height: 100%; background: #f5a623; border-radius: 3px; }
.u3-revsum .u3-btn { width: 100%; }
.u3-reviews { display: grid; gap: 12px; }
.u3-review { padding: 16px 18px; border: 1px solid var(--u3-border); border-radius: var(--u3-radius-sm); background: #fff; }
.u3-review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.u3-review__head > div { flex: 1; min-width: 0; }
.u3-review__head b { display: block; color: var(--u3-navy); }
.u3-review__head time { font-size: 12px; color: var(--u3-muted); }
.u3-review__avatar { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-content: center; border-radius: 50%; background: var(--u3-primary-50); color: var(--u3-primary); font-weight: 700; }
.u3-review p { margin: 0; line-height: 1.6; }
.u3-reviews__pager { margin-top: 12px; }
.u3-revform { margin-top: 24px; padding: 20px; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); background: #fff; }
.u3-revform h3 { margin: 0 0 14px; font-size: 18px; }
.u3-revform textarea { width: 100%; }
.u3-small { font-size: 12px; margin-top: 4px; }
.u3-starpick { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.u3-starpick input { position: absolute; opacity: 0; pointer-events: none; }
.u3-starpick label { margin: 0; font-size: 26px; color: #d5dbe5; cursor: pointer; transition: color .1s, transform .1s; }
.u3-starpick label:hover, .u3-starpick label:hover ~ label, .u3-starpick input:checked ~ label { color: #f5a623; }
.u3-starpick label:hover { transform: scale(1.12); }
.u3-starpick input:focus-visible + label { outline: 2px solid var(--u3-primary); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 860px) {
  .u3-revbox { grid-template-columns: minmax(0, 1fr); }
  .u3-revsum { position: static; }
}

/* 24. Notify when in stock (module U3 Сообщить о поступлении) */
.u3-notify { margin: 14px 0; padding: 14px 16px; border-radius: var(--u3-radius-sm); background: var(--u3-orange-50); border: 1px solid #f6d9a8; }
.u3-notify__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.u3-notify__head > .fa { font-size: 22px; color: var(--u3-orange); }
.u3-notify__head > div { flex: 1; min-width: 180px; }
.u3-notify__head b { display: block; color: var(--u3-navy); }
.u3-notify__head span { font-size: 13px; color: var(--u3-muted); }
.u3-notify__form { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 8px; margin-top: 12px; }
.u3-notify__form[hidden] { display: none; }
.u3-notify__form input { height: 42px; padding: 8px 12px; border: 1px solid var(--u3-border); border-radius: var(--u3-radius-sm); background: #fff; min-width: 0; }
.u3-notify__msg { grid-column: 1 / -1; margin: 0; font-size: 13px; }
.u3-notify__msg:empty { display: none; }
.u3-notify__msg.is-error { color: var(--u3-red); }
.u3-notify__msg.is-ok { color: var(--u3-green); font-weight: 600; }
.u3-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; }
@media (max-width: 700px) {
  .u3-notify__form { grid-template-columns: 1fr; }
}

/* 25. News & articles (module U3 Новости и статьи) */
.u3-blog { padding-bottom: 24px; }
.u3-blog__tabs { margin: 20px 0 6px; }
.u3-chip.is-active { background: var(--u3-primary); border-color: var(--u3-primary); color: #fff; }
.u3-chip span { opacity: .6; margin-left: 2px; }
.u3-blog__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 18px; }
.u3-post-card { display: flex; flex-direction: column; border-radius: var(--u3-radius); background: #fff; border: 1px solid var(--u3-border); overflow: hidden; color: var(--u3-text); transition: transform .15s, box-shadow .15s; }
.u3-post-card:hover { color: var(--u3-text); text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(10, 40, 100, .12); }
.u3-post-card__img { display: grid; place-content: center; aspect-ratio: 3 / 2; background: var(--u3-bg); color: #b9c6da; font-size: 40px; overflow: hidden; }
.u3-post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.u3-post-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.u3-post-card__meta { font-size: 12px; color: var(--u3-muted); margin: 0; }
.u3-post-card__meta b { color: var(--u3-primary); font-weight: 600; }
.u3-post-card__title { font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--u3-navy); }
.u3-post-card__teaser { font-size: 14px; color: var(--u3-muted); line-height: 1.5; }
.u3-post { max-width: 860px; margin: 0 auto; }
.u3-post__head h1 { margin: 6px 0 18px; font-size: 34px; line-height: 1.2; }
.u3-post__image { display: block; max-width: 100%; max-height: 520px; margin: 0 auto 20px; border-radius: var(--u3-radius); }
.u3-post__text { padding: 28px 32px; }
.u3-blog__related { margin-top: 36px; }
@media (max-width: 860px) {
  .u3-post__head h1 { font-size: 26px; }
  .u3-post__text { padding: 20px; }
}

/* 26. FAQ page (article layout «Вопросы и ответы») */
.u3-faqpage__search { position: relative; max-width: 560px; margin-bottom: 16px; }
.u3-faqpage__search .fa { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--u3-muted); }
.u3-faqpage__search input { width: 100%; height: 48px; padding: 0 16px 0 44px; border: 1px solid var(--u3-border); border-radius: 999px; background: #fff; font-size: 15px; }
.u3-faqpage__search input:focus { outline: 0; border-color: var(--u3-primary); box-shadow: 0 0 0 3px rgba(10, 102, 255, .14); }
.u3-faqpage__group { margin-top: 22px; scroll-margin-top: 90px; }
.u3-faqpage__group h2 { font-size: 20px; margin: 0 0 10px; }

/* 27. All reviews page */
.u3-allrev { margin-top: 20px; max-width: 900px; }
.u3-allrev__lead b { font-size: 22px; }
.u3-allrev__lead .u3-stars { color: #ffd166; margin: 0 6px; }
.u3-allrev__product { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--u3-border); font-weight: 600; color: var(--u3-navy); }
.u3-allrev__product img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: var(--u3-bg); }
.u3-allrev__product:hover { color: var(--u3-primary); text-decoration: none; }

/* 28. Awards page (article layout «Дипломы и награды») */
.u3-awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.u3-award { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); overflow: hidden; }
.u3-award__img { display: block; padding: 14px 14px 0; background: var(--u3-bg); }
.u3-award__img img { display: block; width: 100%; aspect-ratio: 36 / 50; object-fit: contain; border-radius: 6px 6px 0 0; box-shadow: 0 6px 18px rgba(10, 40, 100, .12); transition: transform .2s; }
.u3-award__img:hover img { transform: translateY(-3px); }
.u3-award__body { padding: 16px 18px 18px; }
.u3-award__year { display: inline-block; padding: 2px 10px; margin-bottom: 8px; border-radius: 999px; background: var(--u3-primary-50); color: var(--u3-primary); font-size: 13px; font-weight: 700; }
.u3-award h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.3; }
.u3-award p { margin: 0 0 6px; font-size: 14px; color: var(--u3-muted); line-height: 1.5; }
.u3-award__place { color: var(--u3-text) !important; }
.u3-award__place .fa { color: var(--u3-primary); width: 12px; }

/* Оформление заказа на одной странице */
.u3co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; margin-bottom: 40px; }
.u3co-main { counter-reset: u3co; }
.u3co-card { background: #fff; border: 1px solid var(--u3-border); border-radius: var(--u3-radius); padding: 22px 24px 8px; margin-bottom: 18px; }
.u3co-card h2 { display: flex; align-items: center; gap: 12px; font-size: 19px; margin: 0 0 18px; }
.u3co-card h2::before { counter-increment: u3co; content: counter(u3co); width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-content: center; border-radius: 50%; background: var(--u3-primary); color: #fff; font-size: 14px; font-weight: 700; }
.u3co-card .u3-field .text-danger:empty, .u3co-card > .text-danger:empty, .u3co-summary .text-danger:empty { display: none; }
.u3co-card > .text-danger { margin: -6px 0 14px; }
.u3co-card .has-error input, .u3co-card .has-error textarea, .u3co-card .has-error select { border-color: var(--u3-red); }
.u3co-login { margin: -6px 0 16px; }
.u3co-me { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; background: var(--u3-bg); }
.u3co-me i { font-size: 28px; color: var(--u3-primary); }
.u3co-me span { flex: 1; color: var(--u3-muted); font-size: 14px; }
.u3co-me b { color: var(--u3-navy); font-size: 15px; }
.u3co-pass small { display: block; margin-top: 6px; }
.u3co-list { margin-bottom: 16px; transition: opacity .2s; }
.u3co-list.is-loading { opacity: .45; pointer-events: none; }
.u3co-group + .u3co-group { margin-top: 12px; }
.u3co-group__title { font-weight: 700; color: var(--u3-navy); margin-bottom: 8px; }
.u3co-opt { margin: 0 0 8px; }
.u3co-opt label { display: block; position: relative; margin: 0; padding: 13px 14px 13px 42px; border: 1px solid var(--u3-border); border-radius: 12px; background: #fff; color: var(--u3-text); font-weight: 500; line-height: 1.45; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.u3co-opt label:hover { border-color: var(--u3-primary); }
.u3co-opt input[type="radio"] { position: absolute; left: 15px; top: 16px; margin: 0; accent-color: var(--u3-primary); }
.u3co-opt label:has(input:checked) { border-color: var(--u3-primary); box-shadow: 0 0 0 1px var(--u3-primary); background: var(--u3-primary-50); }
.u3co-opt img { height: 20px; width: auto; margin: 0 6px 0 2px; vertical-align: -4px; }
.u3co-opt a { display: inline-block; margin-left: 4px; font-weight: 600; }
.u3co-note { padding: 14px 16px; border-radius: 12px; background: var(--u3-bg); color: var(--u3-muted); font-size: 14px; }
.u3co-note--warn { background: #fff6e5; color: #8a5a00; }
.u3co-summary h3 { font-size: 18px; margin: 0 0 14px; }
.u3co-items { list-style: none; margin: 0 0 14px; padding: 0; max-height: 320px; overflow: auto; }
.u3co-items li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--u3-border); font-size: 13px; }
.u3co-items__img img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--u3-bg); }
.u3co-items__name a { color: var(--u3-navy); font-weight: 600; }
.u3co-items__name small { display: block; color: var(--u3-muted); }
.u3co-items b { color: var(--u3-navy); white-space: nowrap; }
.u3co-summary .u3-check { margin: 0 0 12px; }
.u3co-alert { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: #fff6e5; color: #8a5a00; font-size: 14px; }
.u3co-pay { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--u3-border); font-size: 14px; }
.u3co-pay .buttons { margin-top: 12px; }
@media (max-width: 991px) {
  .u3co-grid { grid-template-columns: 1fr; }
  .u3co-summary { position: static; }
}
@media (max-width: 575px) {
  .u3co-card { padding: 18px 16px 4px; }
  .u3co-card h2 { font-size: 17px; }
}

/* Карта пунктов выдачи ApiShip: окно по центру, а не на весь экран */
.apiship_modal .apiship_modal-content { top: 6vh; bottom: 6vh; left: 50%; right: auto; width: calc(100% - 32px); max-width: 1040px; margin: 0; transform: translateX(-50%); border: 0; border-radius: 18px; box-shadow: 0 24px 70px rgba(10, 40, 100, .3); overflow: hidden; }
.apiship_modal .apiship_modal-header { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 20px; border-bottom: 1px solid var(--u3-border); background: #fff; }
.apiship_modal .apiship_modal-header::before, .apiship_modal .apiship_modal-header::after { display: none; }
.apiship_modal .apiship_modal-header h4 { font-size: 18px; font-weight: 700; color: var(--u3-navy); }
.apiship_modal .apiship_modal-header .close { float: none; margin: 0; font-size: 28px; opacity: .6; }
.apiship_modal .apiship_modal-body { top: 56px; margin: 0; padding: 0; }
.apiship_modal #apiship_yandex_map_container { border: 0; padding: 0; }
@media (max-width: 767px) {
  .apiship_modal .apiship_modal-content { top: 12px; bottom: 12px; width: calc(100% - 24px); border-radius: 14px; }
}
.u3co-more { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 4px; padding: 6px 0; border: 0; background: none; color: var(--u3-primary); font-weight: 600; font-size: 14px; }
.u3co-more::after { content: "\f107"; font-family: FontAwesome; }
.u3co-more:hover { text-decoration: underline; }
.u3co-info-btn { display: inline; margin: 0 0 0 6px; padding: 0; border: 0; background: none; color: var(--u3-primary); font-size: 13px; font-weight: 600; border-bottom: 1px dashed currentColor; line-height: 1.2; cursor: pointer; }
.u3co-info-btn:hover { border-bottom-style: solid; }
.u3co-info { display: block; margin-top: 8px; color: var(--u3-muted, #6b7a99); font-size: 13px; font-weight: 400; line-height: 1.5; }
.u3co-info[hidden] { display: none; }
.u3co-opt[hidden] { display: none; }
.u3-btn[hidden] { display: none; }
/* Яндекс SmartCaptcha */
.u3-captcha .smart-captcha { min-height: 102px; max-width: 400px; }
.u3-captcha__passed { margin: 0; color: #1a7f4b; font-weight: 600; font-size: 14px; }
.u3co-summary .u3-totals td:last-child { white-space: nowrap; padding-left: 12px; }
/* Службы доставки ApiShip: «Доставка СДЭК» раскрывается в список тарифов */
.u3co-prov { margin: 0 0 10px; border: 1px solid var(--u3-border); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.u3co-prov:hover, .u3co-prov.is-open { border-color: var(--u3-primary); }
.u3co-prov.is-open { box-shadow: 0 0 0 1px var(--u3-primary); }
.u3co-prov__head { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 0; background: none; text-align: left; color: var(--u3-navy); }
.u3co-prov__head::after { content: "\f107"; font-family: FontAwesome; margin-left: 4px; font-size: 18px; color: var(--u3-muted); transition: transform .2s; }
.u3co-prov.is-open .u3co-prov__head::after { transform: rotate(180deg); }
.u3co-prov__logo { width: 60px; height: 24px; flex: 0 0 60px; object-fit: contain; object-position: left center; }
.u3co-prov__name { flex: 1; font-weight: 700; font-size: 15px; }
.u3co-prov__from { color: var(--u3-muted); font-weight: 600; font-size: 14px; white-space: nowrap; }
.u3co-prov__body { padding: 0 12px 6px; }
.u3co-prov__body[hidden] { display: none; }
/* Подсказки городов и адресов (DaData) */
.u3co-city .u3-field { position: relative; }
.u3co-sug { position: absolute; z-index: 30; left: 0; right: 0; margin: 4px 0 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--u3-border); border-radius: 12px; box-shadow: 0 18px 40px rgba(10, 40, 100, .16); max-height: 320px; overflow: auto; }
.u3co-sug[hidden] { display: none; }
.u3co-sug li { padding: 8px 10px; border-radius: 8px; cursor: pointer; line-height: 1.35; }
.u3co-sug li b { display: block; font-weight: 600; color: var(--u3-navy); }
.u3co-sug li small { display: block; color: var(--u3-muted); font-size: 12.5px; }
.u3co-sug li:hover, .u3co-sug li.is-active { background: var(--u3-primary-50); }
.u3co-hint { margin-top: 6px; color: var(--u3-muted); font-size: 13px; }
.u3co-hint[hidden] { display: none; }
/* Корзина: пересчёт при изменении количества */
form[data-u3-autosubmit].is-updating .u3-cartrow__total, form[data-u3-autosubmit].is-updating .u3-totals { opacity: .5; transition: opacity .15s; }

/* Личный кабинет: стандартные формы и таблицы OpenCart внутри карточки темы */
.u3-panel--form h1 { margin: 0 0 18px; font-size: 26px; }
.u3-panel--form h2 { font-size: 19px; margin: 22px 0 12px; }
.u3-panel--form legend { border: 0; margin: 4px 0 16px; padding: 0; font-size: 18px; font-weight: 700; color: var(--u3-navy); }
.u3-panel--form fieldset + fieldset { margin-top: 10px; }
.u3-panel--form .form-horizontal .form-group { margin: 0 0 16px; }
.u3-panel--form .form-horizontal .control-label { float: none; width: auto; display: block; padding: 0 0 6px; text-align: left; font-weight: 600; color: var(--u3-text); }
.u3-panel--form .form-horizontal [class*="col-sm-"] { float: none; width: auto; padding: 0; }
.u3-panel--form .form-horizontal .form-group.required .control-label::after { content: " *"; color: var(--u3-red); }
.u3-panel--form .form-horizontal .form-group.required .control-label::before { content: none; }
.u3-panel--form .radio-inline, .u3-panel--form .checkbox-inline { margin-right: 14px; }
.u3-panel--form .buttons, .u3-panel--form .buttons.clearfix { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.u3-panel--form .buttons::before, .u3-panel--form .buttons::after { content: none; }
.u3-panel--form .buttons .pull-left, .u3-panel--form .buttons .pull-right { float: none; display: flex; align-items: center; gap: 10px; }
.u3-panel--form .buttons .pull-right:only-child { margin-left: auto; }
.u3-panel--form .table-responsive { border: 0; margin-bottom: 18px; }
.u3-panel--form .table { margin-bottom: 0; background: #fff; }
.u3-panel--form .table > thead > tr > td, .u3-panel--form .table > thead > tr > th { background: var(--u3-bg); color: var(--u3-muted); font-weight: 600; font-size: 13px; }
.u3-panel--form .table > tbody > tr > td { vertical-align: middle; }
.u3-panel--form .table-bordered, .u3-panel--form .table-bordered > tbody > tr > td, .u3-panel--form .table-bordered > thead > tr > td { border-color: var(--u3-border); }
.u3-panel--form .img-thumbnail { border-radius: 10px; border-color: var(--u3-border); }
.u3-authcard.u3-panel--form h1 { text-align: center; }
.u3-addrform .buttons { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.u3-addrform .u3co-sug { top: 100%; }

/* Личный кабинет: обзор */
.u3-acc__hello h1 { margin: 0 0 4px; font-size: 26px; }
.u3-acc__hello p { margin: 0 0 22px; }
.u3-acc__block { margin-bottom: 22px; }
.u3-acc__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.u3-acc__head h2 { margin: 0; font-size: 18px; }
.u3-acc__head a { font-size: 14px; font-weight: 600; }
.u3-acc__order { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 18px; padding: 16px 18px; border: 1px solid var(--u3-border); border-radius: 14px; color: var(--u3-text); transition: border-color .15s, box-shadow .15s; }
.u3-acc__order:hover { border-color: var(--u3-primary); box-shadow: var(--u3-shadow); color: var(--u3-text); }
.u3-acc__num { font-weight: 800; color: var(--u3-navy); font-size: 17px; }
.u3-acc__num small, .u3-acc__meta small { display: block; color: var(--u3-muted); font-weight: 400; font-size: 13px; }
.u3-acc__meta { text-align: right; font-size: 14px; }
.u3-acc__meta b { color: var(--u3-navy); }
.u3-acc__order .fa-angle-right { color: var(--u3-muted); font-size: 22px; }
.u3-acc__dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; padding: 14px 18px; border-radius: 14px; background: var(--u3-bg); font-size: 14px; }
.u3-acc__dl dt { color: var(--u3-muted); font-weight: 500; }
.u3-acc__dl dd { margin: 0; color: var(--u3-text); }
.u3-acc__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.u3-acc__tiles a { display: flex; flex-direction: column; gap: 2px; padding: 16px; border: 1px solid var(--u3-border); border-radius: 14px; color: var(--u3-navy); transition: border-color .15s, box-shadow .15s; }
.u3-acc__tiles a:hover { border-color: var(--u3-primary); box-shadow: var(--u3-shadow); }
.u3-acc__tiles .fa { font-size: 22px; color: var(--u3-primary); margin-bottom: 8px; }
.u3-acc__tiles small { color: var(--u3-muted); font-size: 12.5px; }
@media (max-width: 991px) { .u3-acc__tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) {
  .u3-acc__order { grid-template-columns: 1fr auto; }
  .u3-acc__meta { text-align: left; grid-column: 1 / -1; }
  .u3-acc__order .fa-angle-right { display: none; }
}
.u3-profile-block { margin-top: 18px; }
.u3-profile-block h2 { margin: 0 0 16px; font-size: 18px; }
.u3-profile-news .u3-check { margin: 0; font-size: 14px; color: var(--u3-text); }

/* Личный кабинет: страница заказа */
.u3-ord__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.u3-ord__head h1 { margin: 0 0 4px; font-size: 26px; }
.u3-ord__head p { margin: 0; }
.u3-ord__items { border: 1px solid var(--u3-border); border-radius: 14px; padding: 4px 16px; margin-bottom: 20px; }
.u3-ord__item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--u3-border); }
.u3-ord__item:last-child { border-bottom: 0; }
.u3-ord__img img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: var(--u3-bg); }
.u3-ord__name b { display: block; color: var(--u3-navy); font-weight: 600; font-size: 14px; }
.u3-ord__name small { display: block; color: var(--u3-muted); font-size: 12.5px; margin-top: 2px; }
.u3-ord__sum { font-weight: 700; color: var(--u3-navy); white-space: nowrap; }
.u3-ord__actions { display: flex; gap: 6px; }
.u3-ord__actions .u3-icon-btn { width: 36px; height: 36px; }
.u3-ord__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; margin-bottom: 8px; }
.u3-ord__info { display: grid; gap: 14px; font-size: 14px; line-height: 1.5; }
.u3-ord__info small { display: block; color: var(--u3-muted); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 2px; }
.u3-ord__info img { max-height: 20px; vertical-align: middle; }
.u3-ord__totals { padding: 10px 18px; border-radius: 14px; background: var(--u3-bg); }
.u3-ord__totals .u3-totals { margin: 0; }
.u3-ord__totals td:last-child { white-space: nowrap; padding-left: 12px; }
.u3-ord h2 { font-size: 18px; margin: 22px 0 12px; }
.u3-ord__history { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--u3-border); }
.u3-ord__history li { position: relative; padding: 0 0 14px 14px; font-size: 14px; }
.u3-ord__history li::before { content: ""; position: absolute; left: -25px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--u3-primary); }
.u3-ord__history li:first-child::before { background: var(--u3-primary); }
.u3-ord__history small { margin-left: 8px; color: var(--u3-muted); }
.u3-ord__history p { margin: 4px 0 0; color: var(--u3-muted); }
.u3-ord__foot { margin-top: 18px; }
@media (max-width: 767px) {
  .u3-ord__grid { grid-template-columns: 1fr; }
  .u3-ord__item { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .u3-ord__actions { grid-column: 2 / -1; }
}

/* «Мои данные»: e-mail, телефон, пароль — текстом с карандашом */
.u3-me h1 { margin: 0 0 20px; font-size: 26px; }
.u3-me .u3-field label.is-required::after, .u3-me .u3-field.is-required > label::after { content: " *"; color: var(--u3-red); }
.u3-me__company { margin-bottom: 4px; }
.u3-me__wide { grid-column: 1 / -1; }
.u3-me__line { padding: 12px 0; border-top: 1px solid var(--u3-border); }
.u3-me__line small { display: block; color: var(--u3-muted); font-size: 12.5px; margin-bottom: 2px; }
.u3-me__value { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; color: var(--u3-navy); font-weight: 500; }
.u3-me__pen { border: 0; background: none; padding: 4px; color: var(--u3-muted); font-size: 16px; line-height: 1; }
.u3-me__pen:hover { color: var(--u3-primary); }
.u3-me__line > input, .u3-me__pass { display: none; }
.u3-me__line.is-editing .u3-me__value { display: none; }
.u3-me__line.is-editing > input { display: block; width: 100%; max-width: 420px; margin-top: 4px; }
.u3-me__line.is-editing .u3-me__pass { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; max-width: 640px; margin-top: 4px; }
.u3-me__news { margin: 16px 0 20px; padding-top: 14px; border-top: 1px solid var(--u3-border); font-size: 14px; color: var(--u3-text); }
@media (max-width: 575px) { .u3-me__line.is-editing .u3-me__pass { grid-template-columns: 1fr; } }
.u3-me__pass .u3-pass .form-control { padding-right: 46px; }
.u3-me__pass .btn { height: 44px; white-space: nowrap; }
/* Окно смены пароля */
.u3-modal .modal-content { border: 0; border-radius: 18px; box-shadow: 0 24px 70px rgba(10, 40, 100, .3); }
.u3-modal .modal-header { border-bottom: 1px solid var(--u3-border); padding: 16px 20px; }
.u3-modal .modal-title { font-size: 18px; font-weight: 700; color: var(--u3-navy); }
.u3-modal .modal-body { padding: 18px 20px 6px; }
.u3-modal .modal-body .text-danger:empty { display: none; }
.u3-modal .modal-body .text-danger { margin-bottom: 12px; }
.u3-modal .modal-footer { border-top: 0; padding: 4px 20px 20px; display: flex; justify-content: space-between; }
.u3-modal .modal-footer::before, .u3-modal .modal-footer::after { content: none; }
@media (min-width: 768px) { .u3-modal .modal-sm { width: 380px; } }

/* Итоговые страницы: выход, заказ принят, регистрация, сообщение отправлено */
.u3-result { max-width: 620px; margin: 30px auto 60px; padding: 40px 34px; background: #fff; border: 1px solid var(--u3-border); border-radius: 18px; box-shadow: var(--u3-shadow); text-align: center; }
.u3-result__icon { display: inline-grid; place-content: center; width: 72px; height: 72px; margin-bottom: 18px; border-radius: 50%; background: var(--u3-primary-50); color: var(--u3-primary); font-size: 30px; }
.u3-result--order .u3-result__icon { background: var(--u3-green-50); color: var(--u3-green); }
.u3-result--error .u3-result__icon { background: var(--u3-red-50); color: var(--u3-red); }
.u3-result h1 { margin: 0 0 12px; font-size: 28px; }
.u3-result__text { color: var(--u3-muted); font-size: 15px; line-height: 1.6; }
.u3-result__text p { margin: 0 0 8px; }
.u3-result__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.u3-result__buttons .btn, .u3-result__buttons .u3-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 170px; height: 42px; margin: 0; padding: 0 22px; border-radius: 10px; font-weight: 600; }
@media (max-width: 575px) { .u3-result { padding: 30px 18px; } .u3-result__buttons a { flex: 1 1 100%; } }

/* Окно «Подтвердите e-mail»: код из письма (модуль «U3 Подтверждение e-mail») */
.u3-verify__text { margin: 0 0 14px; color: var(--u3-muted); font-size: 14px; line-height: 1.5; }
.u3-verify__text b { color: var(--u3-navy); word-break: break-all; }
.u3-otp { position: relative; display: flex; justify-content: center; gap: 8px; }
.u3-otp .u3-verify__code { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; border: 0; background: none; color: transparent; caret-color: transparent; font-size: 16px; opacity: 0; cursor: text; }
.u3-otp__cell { display: flex; align-items: center; justify-content: center; flex: 1 1 0; max-width: 48px; height: 56px; border: 1.5px solid var(--u3-border); border-radius: 12px; background: #fff; color: var(--u3-navy); font-size: 26px; font-weight: 700; transition: border-color .15s, box-shadow .15s; }
.u3-otp__cell:nth-of-type(3) { margin-right: 10px; }
.u3-otp__cell.is-active { border-color: var(--u3-primary); box-shadow: 0 0 0 3px var(--u3-primary-50); }
.u3-otp__cell.is-active:empty::after { content: ""; width: 2px; height: 26px; background: var(--u3-primary); animation: u3-otp-caret 1s step-end infinite; }
@keyframes u3-otp-caret { 50% { opacity: 0; } }
.u3-otp.is-error .u3-otp__cell { border-color: var(--u3-red); animation: u3-otp-shake .3s; }
.u3-otp.is-ok .u3-otp__cell { border-color: var(--u3-green); background: var(--u3-green-50); }
@keyframes u3-otp-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.u3-verify__msg { margin-top: 10px; font-size: 13px; line-height: 1.45; }
.u3-verify__msg:empty { display: none; }
.u3-verify__msg[data-type="error"] { color: var(--u3-red); }
.u3-verify__msg[data-type="ok"] { color: var(--u3-green); font-weight: 600; }
.u3-verify__links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 16px 0 14px; }
.u3-verify__links button { padding: 0; border: 0; background: none; color: var(--u3-primary); font-size: 13px; }
.u3-verify__links button:disabled { color: var(--u3-muted); cursor: default; }
.u3-verify.modal .modal-dialog { display: flex; align-items: center; min-height: calc(100% - 60px); margin-top: 30px; margin-bottom: 30px; }
.u3-verify.modal .modal-content { width: 100%; }
@media (max-width: 767px) { .u3-verify.modal .modal-dialog { min-height: calc(100% - 20px); margin-top: 10px; margin-bottom: 10px; } }
