:root {
  --ozo-black: #000;
  --ozo-white: #fff;
  --ozo-gray: #656566;
  --ozo-line: #e4e4e5;
  --ozo-bg: #f0f0f0;
  --ozo-bg-light: #f9f9f9;
  --ozo-accent: #0051ba;
  --ozo-sale: #ff1100;
  --ozo-star: #ffc633;
  --ozo-font: 'Changa', 'Oswald', sans-serif;
  --ozo-font-2: 'Open Sans', sans-serif;
}

html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
html, body { overflow-x: hidden; }

/* ── сбросы поверх bootstrap 3 ─────────────────────────────
   bootstrap подключается раньше темы и по специфичности выигрывает
   у .ozo-* селекторов, поэтому его состояния гасим адресно      */

/* фокус от мыши не рисуем, для клавиатуры оставляем видимое кольцо.
   селекторы повторяют бутстраповские (a:focus и т.п.) — у голого :focus
   специфичность ниже, и его правило не перебивало бы */
:focus,
a:focus, button:focus, input:focus, select:focus, textarea:focus,
[tabindex]:focus, .btn:focus, .btn:active:focus, .btn.active:focus {
  outline: none; box-shadow: none;
}
:focus-visible,
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--ozo-black); outline-offset: 2px;
}
.ozo-footer :focus-visible, .ozo-cta :focus-visible, .ozo-newsletter :focus-visible,
.ozo-hero :focus-visible { outline-color: #fff; }

/* классы bootstrap оставлены ради его же JS — визуал гасим */
.nav-tabs, .nav-tabs > li > a, .nav-tabs > li.active > a,
.nav-tabs > li > a:hover, .nav-tabs > li > a:focus,
.nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
  border: 0; border-radius: 0; margin: 0; background: none; color: inherit;
}
.panel, .panel-heading, .panel-body, .panel-footer { border-radius: 0; box-shadow: none; }
.input-group-btn > .btn, .input-group-addon { border-radius: 0; }
.img-thumbnail { border-radius: 0; padding: 0; border: 0; background: none; }
.close { text-shadow: none; opacity: .6; }
.close:hover, .close:focus { opacity: 1; }
.list-group { margin: 0; }
.list-group-item { border-radius: 0 !important; border-color: var(--ozo-line); color: var(--ozo-black); font-family: var(--ozo-font); }
.list-group-item:hover, .list-group-item:focus { background: var(--ozo-bg-light); color: var(--ozo-accent); }

body {
  font-family: var(--ozo-font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ozo-black);
  background: var(--ozo-white);
  margin: 0;
}

body.ozo-locked { overflow: hidden; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 { font-family: var(--ozo-font); color: var(--ozo-black); font-weight: 500; }

a { color: var(--ozo-black); transition: color .2s; }
a:hover, a:focus { color: var(--ozo-accent); text-decoration: none; }

.ozo-container { max-width: 1480px; margin: 0 auto; padding: 0 40px; }

legend { font-size: 20px; padding: 8px 0; border-bottom: 1px solid var(--ozo-line); }
label { font-weight: 500; }

.form-control {
  border: 1px solid var(--ozo-black);
  border-radius: 0;
  box-shadow: none;
  font-family: var(--ozo-font);
  height: 44px;
  color: var(--ozo-black);
}
.form-control:focus { border-color: var(--ozo-accent); box-shadow: none; }
/* поле і кнопка пошуку мають бути однакової висоти — .form-control має фіксовані 44px,
   .ozo-btn виростає з паддингів до 50.5px, тому в цьому рядку висоту задає кнопка */
.ozo-searchbar { display: flex; gap: 12px; max-width: 640px; margin-bottom: 34px; align-items: stretch; }
.ozo-searchbar .form-control { flex: 1; height: auto; }
.ozo-searchbar .ozo-btn { flex: none; }
textarea.form-control { height: auto; }
/* горизонтальний ресайз textarea ламає сітку форми — лишаємо тільки вертикальний */
textarea { resize: vertical; }
select.form-control { -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23000' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 30px; }

.btn { border-radius: 0; font-family: var(--ozo-font); transition: all .25s; }
.btn-primary, .btn-info {
  background: var(--ozo-black);
  border: 1px solid var(--ozo-black);
  color: var(--ozo-white);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 11px 28px;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.btn-info:hover, .btn-info:focus, .btn-info:active { background: var(--ozo-accent); border-color: var(--ozo-accent); color: #fff; }
.btn-default { border: 1px solid var(--ozo-black); background: #fff; color: var(--ozo-black); padding: 11px 28px; text-transform: uppercase; letter-spacing: .06em; }
.btn-default:hover { background: var(--ozo-black); color: #fff; }
.btn-danger { border-radius: 0; }

.ozo-btn {
  display: inline-block;
  background: var(--ozo-black);
  color: var(--ozo-white);
  border: 1px solid var(--ozo-black);
  font-family: var(--ozo-font);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 13px 36px;
  cursor: pointer;
  transition: all .25s;
  text-align: center;
}
.ozo-btn:hover { background: var(--ozo-accent); border-color: var(--ozo-accent); color: #fff; }
.ozo-btn--light { background: #fff; color: var(--ozo-black); border-color: #fff; }
.ozo-btn--light:hover { background: var(--ozo-black); color: #fff; border-color: var(--ozo-black); }
.ozo-btn--ghost { background: transparent; color: var(--ozo-black); }
.ozo-btn--ghost:hover { background: var(--ozo-black); color: #fff; }

.ozo-h2 { font-size: 40px; font-weight: 500; letter-spacing: .02em; margin: 0 0 24px; line-height: 1.1; text-transform: uppercase; }

.alert { border-radius: 0; }
.breadcrumb { background: none; padding: 18px 0 8px; margin: 0; font-size: 12px; text-transform: lowercase; }
.breadcrumb > li { color: var(--ozo-gray); }
.breadcrumb > li a { color: var(--ozo-gray); }
.breadcrumb > li a:hover { color: var(--ozo-black); }
.breadcrumb > li + li:before { content: "/"; color: var(--ozo-gray); }

.ozo-header { position: sticky; top: 0; z-index: 900; background: #fff; border-bottom: 1px solid var(--ozo-line); }
.ozo-header__inner { display: flex; align-items: center; justify-content: space-between; height: 102px; gap: 24px; }
.ozo-logo { display: block; flex: 0 0 auto; line-height: 0; }
/* по макету высота знака в шапке ≈24px, у нового лого добавились «.UA» — берём 26px */
.ozo-logo img { height: 26px; width: auto; display: block; }
.ozo-nav { display: flex; gap: 34px; margin: 0; padding: 0; list-style: none; }
.ozo-nav > li { position: static; }
.ozo-nav > li > a { display: block; padding: 40px 0; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--ozo-black); position: relative; }
.ozo-nav > li > a:after { content: ""; position: absolute; left: 0; right: 100%; bottom: 30px; height: 2px; background: var(--ozo-accent); transition: right .25s; }
.ozo-nav > li > a:hover:after, .ozo-nav > li.ozo-open > a:after { right: 0; }
.ozo-nav > li > a:hover, .ozo-nav > li.ozo-open > a { color: var(--ozo-accent); }
.ozo-nav > li:last-child > a { color: var(--ozo-accent); }

.ozo-mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--ozo-line);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 890;
}
.ozo-nav > li.ozo-open .ozo-mega { opacity: 1; visibility: visible; transform: none; }
.ozo-mega__inner { padding: 38px 40px; display: flex; gap: 60px; }
.ozo-mega__links { min-width: 260px; display: flex; flex-direction: column; gap: 24px; margin-left: calc(50% - 308px); }
.ozo-mega__links a { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.ozo-mega__links a.ozo-mega__all { color: var(--ozo-accent); text-transform: none; }

.ozo-icons { display: flex; align-items: center; gap: 18px; }
.ozo-icons a, .ozo-icons button { background: none; border: 0; padding: 4px; color: var(--ozo-black); cursor: pointer; position: relative; line-height: 0; }
.ozo-icons a:hover, .ozo-icons button:hover { color: var(--ozo-accent); }
.ozo-icons svg { width: 22px; height: 22px; }

.ozo-lang { display: flex; align-items: center; gap: 6px; margin-right: 4px; }
.ozo-lang__item {
  font-size: 12px; line-height: 1; text-transform: uppercase; letter-spacing: .04em;
  color: var(--ozo-black); padding: 4px 2px; text-decoration: none;
}
.ozo-lang__item + .ozo-lang__item { border-left: 1px solid rgba(0,0,0,.2); padding-left: 8px; }
.ozo-lang__item--active { color: var(--ozo-accent); font-weight: 600; }
.ozo-icons .ozo-lang a { line-height: 1; }

.ozo-badge-count {
  position: absolute; bottom: -7px; right: -8px; top: auto;
  background: var(--ozo-accent); color: #fff;
  font-size: 10px; line-height: 17px; min-width: 12px; height: 17px;
  text-align: center; border-radius: 0; padding: 0 3px;
}

.ozo-burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.ozo-burger span { display: block; width: 24px; height: 2px; background: #000; margin: 5px 0; transition: transform .3s, opacity .3s; }
.ozo-burger.ozo-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ozo-burger.ozo-active span:nth-child(2) { opacity: 0; }
.ozo-burger.ozo-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.ozo-search-bar { display: none; border-top: 1px solid var(--ozo-line); background: #fff; }
.ozo-search-bar.ozo-active { display: block; animation: ozoFade .25s; }
.ozo-search-bar form { display: flex; max-width: 1440px; margin: 0 auto; padding: 14px 40px; gap: 12px; }
.ozo-search-bar input { flex: 1; border: 0; border-bottom: 1px solid var(--ozo-black); font-size: 18px; font-family: var(--ozo-font); padding: 8px 0; outline: none; }

.ozo-dim {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 870;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
body.ozo-mega-open .ozo-dim, body.ozo-menu-open .ozo-dim { opacity: 1; visibility: visible; }
.ozo-mobile-menu {
  position: fixed; inset: 0; top: 72px; background: #fff; z-index: 880;
  transform: translateX(100%); transition: transform .3s; overflow-y: auto; overflow-x: hidden; padding: 24px;
}
.ozo-mobile-menu.ozo-active { transform: none; }
.ozo-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.ozo-mobile-menu .ozo-mobile-list > li, .ozo-mobile-extra > li { border-bottom: 1px solid var(--ozo-line); }
.ozo-mobile-menu .ozo-mobile-list > li > a, .ozo-mobile-extra > li > a { display: block; padding: 15px 0; font-size: 18px; text-transform: uppercase; }
.ozo-menu-wrap .ozo-mobile-list { display: none; }
.ozo-menu-wrap { display: contents; }
.ozo-mobile-menu ul ul { padding: 0 0 14px 16px; }
.ozo-mobile-menu ul ul a { display: block; padding: 7px 0; color: var(--ozo-gray); }

.ozo-cart-panel {
  position: fixed; top: 50%; left: 50%; width: 844px; max-width: calc(100vw - 32px);
  max-height: 86vh; background: #fff; z-index: 951; padding: 48px 85px 44px;
  transform: translate(-50%, -50%) scale(.97); opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .25s, visibility .25s;
  display: flex; flex-direction: column; overflow: hidden;
}
.ozo-cart-panel.ozo-active { transform: translate(-50%, -50%); opacity: 1; visibility: visible; }
.ozo-cart-panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.ozo-cart-panel__title { font-size: 28px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.ozo-close--lines { position: relative; width: 30px; height: 30px; background: none; border: 0; cursor: pointer; padding: 0; flex: none; }
.ozo-close--lines span { position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: var(--ozo-black); }
.ozo-close--lines span:first-child { transform: rotate(45deg); }
.ozo-close--lines span:last-child { transform: rotate(-45deg); }
.ozo-cart-panel__sub { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 26px; font-size: 14px; }
.ozo-cart-panel__goto { color: var(--ozo-accent) !important; font-size: 14px; }
.ozo-cart-panel__body { flex: 1; overflow-y: auto; overflow-x: hidden; }
.ozo-cart-mini { display: flex; gap: 18px; align-items: flex-start; padding: 16px 0; }
.ozo-cart-mini + .ozo-cart-mini { border-top: 1px solid var(--ozo-line); }
.ozo-cart-mini__img img { width: 110px; height: auto; display: block; }
.ozo-cart-mini__info { flex: 1; }
.ozo-cart-mini__name { font-size: 17px; display: inline-block; margin-bottom: 8px; }
.ozo-cart-mini__opt { font-size: 13px; color: var(--ozo-gray); margin-bottom: 4px; }
.ozo-cart-mini__price { font-size: 17px; font-weight: 600; margin-top: 8px; }
.ozo-cart-mini__price .ozo-new { color: var(--ozo-sale); margin-right: 8px; }
.ozo-cart-mini__price .ozo-old { color: var(--ozo-gray); text-decoration: line-through; font-weight: 300; font-size: 14px; }
.ozo-cart-mini__side { display: flex; flex-direction: column; align-items: flex-end; gap: 26px; align-self: stretch; justify-content: space-between; }
.ozo-cart-mini__remove { width: 24px; height: 24px; border: 0; background: none; color: var(--ozo-sale); cursor: pointer; padding: 0; line-height: 0; transition: color .25s; }
.ozo-cart-mini__remove svg { width: 20px; height: 20px; display: block; margin: 0 auto; }
.ozo-cart-mini__remove:hover { color: var(--ozo-black); }
.ozo-cart-panel__empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 0 10px; }
.ozo-cart-panel__empty svg { width: 56px; height: 56px; color: var(--ozo-line); margin-bottom: 20px; }
.ozo-cart-panel__empty p { font-size: 16px; color: var(--ozo-gray); margin: 0 0 26px; }
.ozo-cart-panel__foot { padding-top: 26px; }
.ozo-cart-panel .ozo-cart-panel__empty .ozo-cart-panel__continue { margin: 0; }
.ozo-cart-panel .ozo-cart-panel__continue { display: block; margin: 18px auto 0; background: none; border: 0; cursor: pointer; font-family: inherit; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--ozo-black); }
.ozo-cart-panel .ozo-cart-panel__continue:hover { color: var(--ozo-accent); }
.ozo-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 940; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.ozo-overlay.ozo-active { opacity: 1; visibility: visible; }
.ozo-close { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; padding: 4px; }

.ozo-modal { position: fixed; inset: 0; z-index: 960; display: none; align-items: flex-start; justify-content: center; overflow-y: auto; overflow-x: hidden; padding: 60px 16px; background: rgba(0,0,0,.45); animation: ozoFade .25s; }
.ozo-modal.ozo-active { display: flex; }
.ozo-modal__box { background: #fff; max-width: 480px; width: 100%; padding: 36px 40px; position: relative; animation: ozoUp .3s; }
.ozo-modal__box h3 { margin: 0 0 20px; font-size: 24px; }
.ozo-modal__close { position: absolute; top: 14px; right: 16px; }
.ozo-modal .form-group { margin-bottom: 16px; }

.ozo-auth-modal .ozo-modal__box { max-width: 520px; padding: 44px 48px; }
.ozo-auth-modal__title { font-size: 40px !important; font-weight: 500; text-transform: lowercase; margin: 0 0 30px !important; }
.ozo-auth-field { margin-bottom: 18px; position: relative; }
.ozo-auth-field input, .ozo-auth-field textarea { width: 100%; border: 1px solid var(--ozo-line); background: #fff; padding: 15px 16px; font-family: var(--ozo-font); font-size: 14px; outline: none; transition: border-color .2s; resize: vertical; }
.ozo-auth-field input:focus, .ozo-auth-field textarea:focus { border-color: var(--ozo-black); }
.ozo-auth-field--pass input { padding-right: 46px; }
.ozo-auth-eye { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ozo-gray); line-height: 0; }
.ozo-auth-eye:hover { color: var(--ozo-black); }
.ozo-auth-eye svg { width: 20px; height: 20px; }
.ozo-auth-modal__links { display: flex; justify-content: space-between; margin: 6px 0 24px; font-size: 14px; }
.ozo-auth-modal__links a:last-child { color: var(--ozo-accent); }
.ozo-auth-agree { font-size: 12px; margin: 4px 0 24px; font-weight: 400; }
.ozo-auth-modal__oauth { margin-top: 28px; text-align: center; }
.ozo-auth-modal__oauth > span { display: block; font-size: 14px; color: var(--ozo-gray); margin-bottom: 16px; }
.ozo-auth-modal__providers { display: flex; justify-content: center; gap: 12px; }
.ozo-auth-provider { width: 46px; height: 46px; border: 1px solid var(--ozo-line); display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s; }
.ozo-auth-provider:hover { border-color: var(--ozo-black); }
.ozo-auth-modal__foot { margin: 22px 0 0; font-size: 13px; text-align: center; color: var(--ozo-gray); }
.ozo-auth-modal__foot a { color: var(--ozo-accent); }
.ozo-auth-modal__hint { font-size: 13px; color: var(--ozo-gray); margin: 0 0 20px; line-height: 1.5; }
.ozo-auth-modal__err { display: none; background: #ffe3e0; color: var(--ozo-sale); font-size: 13px; padding: 10px 14px; margin-bottom: 18px; }
.ozo-auth-modal__err.ozo-ok { background: #e3f6e5; color: #1a7f37; }
@media (max-width: 640px) { .ozo-auth-modal .ozo-modal__box { padding: 30px 22px; } .ozo-auth-modal__title { font-size: 30px !important; } }

.ozo-footer { background: var(--ozo-black); color: #fff; margin-top: 90px; }
.ozo-footer a { color: #fff; }
.ozo-footer a:hover { color: var(--ozo-accent); }
.ozo-footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.4fr; gap: 40px; padding: 64px 0 48px; }
/* на чёрном фоне градиент логотипа не читается — выбеливаем ту же графику */
.ozo-footer .ozo-logo img { height: 34px; filter: brightness(0) invert(1); transition: opacity .2s; }
.ozo-footer .ozo-logo:hover img { opacity: .75; }
.ozo-header .ozo-logo img { transition: opacity .2s; }
.ozo-header .ozo-logo:hover img { opacity: .7; }
.ozo-footer__social { display: flex; gap: 12px; margin: 22px 0 30px; }
.ozo-footer__social a { width: 34px; height: 34px; border: 1px solid #fff; display: inline-flex; align-items: center; justify-content: center; transition: all .25s; }
.ozo-footer__social a:hover { background: #fff; color: var(--ozo-black); }
.ozo-footer__social svg { width: 16px; height: 16px; }
.ozo-footer__label { color: #9a9a9a; font-size: 13px; margin: 16px 0 2px; text-transform: uppercase; letter-spacing: .05em; font-weight: 500; }
.ozo-footer h5 { color: #fff; font-size: 22px; margin: 4px 0 26px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; position: relative; padding-bottom: 12px; }
.ozo-footer h5:after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 2px; background: #fff; }
.ozo-footer ul { list-style: none; margin: 0; padding: 0; }
.ozo-footer ul li { margin-bottom: 12px; font-size: 14px; }
.ozo-footer__sub { display: flex; border: 1px solid #fff; margin-top: 16px; }
.ozo-footer__sub input { flex: 1; background: transparent; border: 0; color: #fff; padding: 12px 14px; font-family: var(--ozo-font); outline: none; }
.ozo-footer__sub input::placeholder { color: #9a9a9a; }
.ozo-footer__sub button { background: #fff; color: #000; border: 0; width: 48px; cursor: pointer; transition: background .25s; }
.ozo-footer__sub button:hover { background: var(--ozo-accent); color: #fff; }
.ozo-footer__note { color: #9a9a9a; font-size: 11px; margin-top: 10px; }
.ozo-footer__bottom { border-top: 1px solid #2a2a2a; padding: 18px 0; font-size: 12px; color: #9a9a9a; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.ozo-footer__map { color: var(--ozo-star) !important; }
.ozo-footer__map:hover { color: #fff !important; }
.ozo-footer__social a { width: 30px; height: 30px; }
.ozo-footer__social svg { width: 16px; height: 16px; }

.ozo-hero { position: relative; margin-top: 26px; }
.ozo-hero .swiper-viewport { margin: 0; border: 0; border-radius: 0; box-shadow: none; position: relative; }
.ozo-hero .swiper-slide { position: relative; width: 100% !important; }
.ozo-hero .swiper-slide img { width: 100%; height: auto; }
.ozo-hero .swiper-pagination { bottom: 21px; }
.ozo-hero .swiper-pagination-bullet { background: var(--ozo-gray); opacity: 1; border-radius: 50%; width: 6px; height: 6px; margin: 0 7px; transition: all .25s; vertical-align: middle; }
.ozo-hero .swiper-pagination-bullet-active { background: #fff; border-radius: 3px; width: 26px; height: 6px; }

.ozo-section { margin-top: 110px; }
.ozo-section__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.ozo-tabs { display: flex; gap: 26px; margin: 0 0 26px; padding: 0; list-style: none; }
.ozo-tabs a { display: block; padding: 8px 2px 5px; font-size: 14px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--ozo-gray); position: relative; }
.ozo-tabs a.ozo-active { font-weight: 700; }
.ozo-tabs a:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ozo-black); transform: scaleX(0); transition: transform .25s; }
.ozo-tabs a:hover { color: var(--ozo-black); }
.ozo-tabs a:hover:after { transform: scaleX(1); background: var(--ozo-line); }
.ozo-tabs a.ozo-active { color: var(--ozo-black); }
.ozo-tabs a.ozo-active:after, .ozo-tabs a.ozo-active:hover:after { transform: none; background: var(--ozo-black); }

.ozo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; transition: opacity .3s ease; }
.ozo-grid.ozo-swapping { opacity: 0; }
.ozo-grid.ozo-swap-in > .ozo-card { animation: ozoCardIn .45s ease both; }
.ozo-grid.ozo-swap-in > .ozo-card:nth-child(2) { animation-delay: .06s; }
.ozo-grid.ozo-swap-in > .ozo-card:nth-child(3) { animation-delay: .12s; }
@keyframes ozoCardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.ozo-card { position: relative; }
.ozo-grid__empty { grid-column: 1 / -1; color: var(--ozo-gray); }
/* высоту задаёт само фото — фиксированного соотношения у блока нет */
.ozo-card__img { position: relative; overflow: hidden; background: var(--ozo-bg-light); display: block; }
.ozo-card__img img { width: 100%; height: auto; display: block; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.ozo-card:hover .ozo-card__img img { transform: scale(1.04); }
.ozo-card__hit {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--ozo-accent); color: #fff; font-size: 12px;
  letter-spacing: .08em; padding: 3px 10px; text-transform: uppercase;
}
.ozo-card__sale { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--ozo-sale); color: #fff; font-size: 12px; letter-spacing: .06em; padding: 3px 10px; }
.ozo-card__hit + .ozo-card__sale { left: 66px; }
.ozo-card__wish {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: none; border: 0; padding: 0; color: #fff; cursor: pointer;
  transition: all .25s; line-height: 0;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.25));
}
.ozo-card__wish:hover { color: var(--ozo-black); }
.ozo-card__wish svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.ozo-card__cart { display: none; }
.ozo-card__name { display: block; margin: 14px 0 2px; font-size: 16px; line-height: 1.35; color: var(--ozo-black); }
.ozo-card__price { font-size: 18px; font-weight: 600; }
.ozo-card__price .ozo-new { color: var(--ozo-sale); margin-right: 8px; }
.ozo-card__price .ozo-old { font-weight: 300; }
.ozo-card__price .ozo-old { color: var(--ozo-gray); text-decoration: line-through; font-size: 18px; font-weight: 300; }

.ozo-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ozo-cats__item { position: relative; display: block; overflow: hidden; aspect-ratio: 688 / 923; }
.ozo-cats__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; display: block; }
.ozo-cats__item:hover img { transform: scale(1.04); }
.ozo-cats__item span {
  position: absolute; left: 28px; bottom: 24px; color: #fff; font-size: 32px; font-weight: 500;
  letter-spacing: .4px; text-transform: uppercase; text-shadow: 0 2px 14px rgba(0,0,0,.4);
  display: flex; align-items: center; gap: 16px; line-height: 48px;
}

/* высота блока по макету — 687px при ширине контейнера 1400 */
.ozo-cta { background-image: var(--ozo-bg-d); background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; padding: 126px 85px; min-height: 687px; color: #fff; }
.ozo-cta:before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.ozo-cta__inner { position: relative; max-width: 512px; margin-left: 57%; text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.ozo-cta__inner h2 { color: #fff; font-size: 40px; font-weight: 500; margin: 0; line-height: 56px; text-transform: uppercase; letter-spacing: .6px; }
.ozo-cta__inner p { font-size: 16px; color: var(--ozo-line); margin: 0; line-height: 34px; }
.ozo-cta__inner .ozo-cta-link { margin-top: 76px; }

.ozo-cta-link { display: inline-flex; align-items: center; gap: 24px; color: #fff !important; font-size: 24px; font-weight: 500; text-transform: uppercase; letter-spacing: .6px; line-height: 1; }
.ozo-sq { width: 48px; height: 48px; background: var(--ozo-black); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; transition: background .25s; }
.ozo-sq svg { width: 20px; height: 20px; }
.ozo-cta-link:hover .ozo-sq, a:hover .ozo-sq, button:hover .ozo-sq { background: var(--ozo-accent); }

.ozo-season__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 22px; }
.ozo-season__cell { position: relative; overflow: hidden; display: block; }
.ozo-season__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; display: block; }
.ozo-season__cell:hover img { transform: scale(1.05); }
.ozo-season__cell span { position: absolute; left: 18px; top: 12px; font-size: 14px; font-weight: 700; color: var(--ozo-black); background: rgba(255,255,255,.85); padding: 2px 10px; }
.ozo-season__cell--big { grid-column: span 2; grid-row: span 2; }
.ozo-season__cell--big span { font-size: 18px; }
.ozo-season__cell--wide { grid-column: span 2; }

.ozo-outfits { position: relative; }
.ozo-outfits__stage { display: flex; align-items: center; justify-content: center; gap: 18px; height: 589px; overflow: hidden; }
.ozo-outfits__item { flex: 0 0 auto; position: relative; overflow: hidden;
  transition: width .55s cubic-bezier(.33,.1,.25,1), height .55s cubic-bezier(.33,.1,.25,1), opacity .5s ease, margin .55s cubic-bezier(.33,.1,.25,1); }
.ozo-outfits__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ozo-outfits__item--s { width: 144px; height: 189px; opacity: 1; }
.ozo-outfits__item--m { width: 295px; height: 386px; opacity: 1; }
.ozo-outfits__item--c { width: 450px; height: 589px; opacity: 1; }
.ozo-outfits__item--s img { opacity: .95; }
.ozo-outfits__item--hidden { width: 0; height: 189px; opacity: 0; margin-left: -18px; pointer-events: none; }
.ozo-outfits__nav { position: absolute; top: 56%; transform: translateY(-50%); z-index: 6; border: 0; cursor: pointer; padding: 0; }
.ozo-outfits__nav--prev { left: 27px; }
.ozo-outfits__nav--next { right: 27px; }
.ozo-outfits__tag { position: absolute; display: flex; align-items: flex-start; gap: 3px; z-index: 4; }
.ozo-outfits__tag i { width: 25px; height: 25px; border-radius: 50%; border: 3px solid rgba(255,255,255,.55); background: #fff; background-clip: content-box; flex: 0 0 auto; box-shadow: 0 1px 6px rgba(0,0,0,.25); }
.ozo-outfits__tag b { background: rgba(255,255,255,.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font-weight: 400; padding: 10px 12px; min-width: 128px; }
.ozo-outfits__tag b span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; line-height: 1.2; }
.ozo-outfits__tag b strong { display: block; font-size: 12px; font-weight: 600; margin-top: 4px; }

.ozo-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.ozo-reveal.ozo-in { opacity: 1; transform: none; }

@keyframes ozoFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ozoUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.ozo-page-title { font-size: 34px; margin: 20px 0 30px; text-transform: uppercase; }

.ozo-catalog { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.ozo-filter { padding: 0 20px 0 0; position: sticky; top: 118px; }
.ozo-filter__title { display: flex; align-items: center; justify-content: space-between; font-size: 17px; margin-bottom: 18px; cursor: pointer; }
.ozo-filter__group { border-top: 1px solid var(--ozo-line); padding: 16px 0; }
.ozo-filter__group h6 { font-size: 14px; margin: 0 0 12px; font-weight: 500; }
.ozo-filter__price { display: flex; gap: 10px; }
.ozo-filter__price input { width: 50%; border: 1px solid var(--ozo-line); padding: 8px 10px; font-family: var(--ozo-font); }
.ozo-check { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14px; cursor: pointer; font-weight: 400; }
.ozo-check input { display: none; }
.ozo-check:hover { color: var(--ozo-accent); }
.ozo-check:hover i { border-color: var(--ozo-accent); }
.ozo-check i { width: 16px; height: 16px; border: 1px solid var(--ozo-black); display: inline-block; position: relative; flex: 0 0 auto; transition: background .2s, border-color .2s; }
.ozo-check input:checked + i { background: var(--ozo-black); }
.ozo-check input:checked + i:after { content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* роздільник лише в a + a (сусід по DOM) — при переносі перший пункт нового рядка
   теж підпадає під a + a і тягне за собою чужий відступ/риску. Хто саме "перший у своєму
   візуальному рядку" залежить від ширини екрана й довжини тексту — це не порахувати
   в чистому CSS, тож рядки позначає ozoMarkChipRows() у ozo.js класом .ozo-row-start */
.ozo-chips { display: flex; flex-wrap: wrap; align-items: center; row-gap: 10px; margin: 14px 0 30px; }
.ozo-chips a { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 2px 0; transition: color .25s; }
.ozo-chips a:hover { color: var(--ozo-accent); }
.ozo-chips a + a { margin-left: 18px; padding-left: 18px; border-left: 1px solid var(--ozo-line); }
.ozo-chips a.ozo-row-start { margin-left: 0; padding-left: 0; border-left: 0; }

.ozo-toolbar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 14px; color: var(--ozo-gray); }
/* нативний select займав ширину найдовшої опції («Рейтинг (від високого)» — 118px),
   тож між поточним текстом і стрілкою зяяла дірка ~45px. За макетом стрілка йде одразу
   за текстом, тому ховаємо системну, малюємо свою, а ширину підганяє ozoFitSelect() */
.ozo-toolbar label { margin: 0; line-height: 22px; font-weight: 400; }
.ozo-toolbar select {
  border: 0; height: 22px; line-height: 22px; font-family: var(--ozo-font); font-size: 14px;
  color: var(--ozo-black); outline: none; padding: 0 16px 0 0;
  -webkit-appearance: none; appearance: none;
  background: transparent url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1.4l4 3.6 4-3.6' stroke='%23000' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right center;
}

.ozo-more { text-align: center; margin: 40px 0 0; }
.ozo-more .ozo-more-link { background: none; border: 0; font-family: var(--ozo-font); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; color: var(--ozo-black); display: inline-flex; align-items: center; gap: 12px; transition: color .25s; }
.ozo-more .ozo-more-link:hover { color: var(--ozo-accent); }
.ozo-more .ozo-more-link i { width: 0; height: 0; border-style: solid; border-width: 7px 5px 0 5px; border-color: currentColor transparent transparent transparent; }
.ozo-range { position: relative; height: 3px; background: var(--ozo-line); margin: 18px 2px 8px; }
.ozo-range__fill { position: absolute; top: 0; bottom: 0; background: var(--ozo-accent); }
.ozo-range input[type=range] { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); width: 100%; height: 18px; -webkit-appearance: none; appearance: none; background: none; pointer-events: none; margin: 0; }
.ozo-range input[type=range]:focus { outline: none; }
.ozo-range input[type=range]::-webkit-slider-runnable-track { background: none; height: 18px; }
.ozo-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 15px; height: 15px; margin-top: 1px; border-radius: 50%; background: #fff; border: 2px solid var(--ozo-accent); cursor: pointer; pointer-events: auto; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.ozo-range input[type=range]::-moz-range-track { background: none; height: 18px; }
.ozo-range input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 2px solid var(--ozo-accent); cursor: pointer; pointer-events: auto; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.ozo-range__labels { display: flex; justify-content: space-between; font-size: 10px; color: var(--ozo-gray); margin-bottom: 4px; }
.ozo-pagination-info { display: none; }
.pagination { border-radius: 0; }
.pagination > li > a, .pagination > li > span { border-radius: 0 !important; color: var(--ozo-black); border-color: var(--ozo-line); }
.pagination > .active > a, .pagination > .active > span { background: var(--ozo-black); border-color: var(--ozo-black); }

/* пропорции блока по макету: галерея 622 + отступ 83 + описание 693 при контейнере 1400 */
.ozo-product { display: grid; grid-template-columns: minmax(0, 622fr) minmax(0, 695fr); gap: 83px; margin-top: 10px; }
.ozo-gallery { display: grid; grid-template-columns: 83px 1fr; gap: 28px; align-items: stretch; }
/* высоту ряда задаёт основное фото: содержимое обёртки вынуто из потока,
   поэтому длинный список миниатюр не растягивает галерею, а скроллится */
.ozo-gallery__thumbs-wrap { position: relative; min-height: 0; }
.ozo-gallery__thumbs { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; overflow-x: hidden; }
.ozo-gallery__thumbs a { border: 1px solid transparent; display: block; transition: border-color .2s; }
.ozo-gallery__thumbs a:hover { border-color: var(--ozo-line); }
.ozo-gallery__thumbs a.ozo-active { border-color: var(--ozo-black); }
.ozo-gallery__thumbs img { width: 100%; display: block; }
.ozo-gallery__main { position: relative; overflow: hidden; background: var(--ozo-bg-light); }
.ozo-gallery__main img { width: 100%; height: auto; display: block; animation: ozoFade .35s; }
.ozo-gallery__main--zoomable img { cursor: zoom-in; }
/* значок лупи з'являється при наведенні на головне фото */
.ozo-gallery__main--zoomable:after {
  content: ""; position: absolute; right: 14px; bottom: 14px; width: 34px; height: 34px; z-index: 3;
  background: rgba(0,0,0,.55) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4.2-4.2M11 8v6M8 11h6'/%3E%3C/svg%3E") no-repeat center;
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.ozo-gallery__main--zoomable:hover:after { opacity: 1; }

/* лайтбокс під тему: чорне тло, квадратні кнопки як у решті інтерфейсу */
.ozo-mfp.mfp-bg { background: #000; opacity: .92; }
.ozo-mfp .mfp-content { text-align: center; }
.ozo-mfp img.mfp-img { padding: 40px 0; }
.ozo-mfp .mfp-counter { font-family: var(--ozo-font); font-size: 13px; color: #fff; letter-spacing: .06em; right: 0; top: 8px; }
/* .mfp-image-holder .mfp-close у magnific-popup.css має width:100% і підключається після ozo.css,
   тому переозначення потребує тієї ж глибини селектора */
.ozo-mfp .mfp-close, .ozo-mfp .mfp-image-holder .mfp-close {
  width: 40px; height: 40px; padding: 0; line-height: 40px; font-size: 0; opacity: 1; right: 0; top: 0;
}
.ozo-mfp .mfp-close:before, .ozo-mfp .mfp-close:after {
  content: ""; position: absolute; left: 9px; right: 9px; top: 50%; height: 2px; margin-top: -1px; background: #fff; border-radius: 2px;
}
.ozo-mfp .mfp-close:before { transform: rotate(45deg); }
.ozo-mfp .mfp-close:after { transform: rotate(-45deg); }
.ozo-mfp .mfp-close:hover:before, .ozo-mfp .mfp-close:hover:after { background: var(--ozo-accent); }
/* margin-top:-22px !important — magnific-popup.css підключається пізніше за ozo.css і містить
   .mfp-arrow:active { margin-top: -54px } (лишок від рідної 110px-стрілки) з тією ж специфічністю,
   0,2,0. При рівній специфічності перемагає порядок підключення — тобто їхній :active, а не наш
   базовий стан. Кнопка фізично стрибала на 32px вгору між mousedown і mouseup: курсор лишався на
   місці, влучав у фон, і magnific сприймав це як клік по бекграунду й закривав попап замість
   гортання ("стрілка вистрибує і вікно закривається") */
.ozo-mfp .mfp-arrow { width: 44px; height: 44px; opacity: 1; background: rgba(255,255,255,.12); transition: background .25s; margin-top: -22px !important; }
.ozo-mfp .mfp-arrow:hover { background: var(--ozo-accent); }
.ozo-mfp .mfp-arrow:before, .ozo-mfp .mfp-arrow:after { display: none; }
/* pointer-events:none — обов'язково: magnific перевіряє hasClass('mfp-prevent-close') саме на
   e.target, не піднімаючись по батьках; клік по дочірньому <i> не бачив цього класу кнопки
   і попап сприймав його як клік по фону та закривався замість гортання */
.ozo-mfp .mfp-arrow i { position: absolute; left: 50%; top: 50%; width: 0; height: 0; border-style: solid; pointer-events: none; }
.ozo-mfp .mfp-arrow-left i { margin: -6px 0 0 -5px; border-width: 6px 9px 6px 0; border-color: transparent #fff transparent transparent; }
.ozo-mfp .mfp-arrow-right i { margin: -6px 0 0 -4px; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent #fff; }
@media (max-width: 900px) {
  /* magnific масштабує стрілки через transform: scale(.75) — ціль тапу падає до 27px */
  .ozo-mfp .mfp-arrow, .ozo-mfp button.mfp-arrow { width: 40px; height: 40px; margin-top: -20px !important; transform: none; }
  .ozo-gallery__main--zoomable:after { opacity: 1; }
}

.ozo-pinfo h1 { font-size: 36px; font-weight: 400; margin: 0 0 14px; line-height: 1.25; }
.ozo-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 16px; color: var(--ozo-black); }
.ozo-stars { color: #d9d9d9; letter-spacing: 3px; font-size: 15px; }
.ozo-stars .on { color: var(--ozo-star); }
.ozo-price { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ozo-price__new { font-size: 32px; font-weight: 500; }
.ozo-price__new.ozo-is-sale { color: var(--ozo-black); }
.ozo-price__old { font-size: 20px; font-weight: 700; color: #bfbfbf; text-decoration: line-through; }
.ozo-price__off { background: #ffe3e0; color: var(--ozo-sale); font-size: 16px; font-weight: 500; padding: 3px 10px; }
.ozo-pinfo__desc { font-size: 16px; color: var(--ozo-gray); margin-bottom: 26px; }
.ozo-opt { margin-bottom: 22px; }
.ozo-opt__label { font-size: 16px; color: var(--ozo-gray); margin-bottom: 10px; display: block; font-weight: 400; }
.ozo-opt__values { display: flex; flex-wrap: wrap; gap: 10px; }
.ozo-opt__values input { display: none; }
.ozo-opt__btn { border: 1px solid var(--ozo-line); min-width: 56px; padding: 10px 16px; text-align: center; font-size: 16px; color: var(--ozo-gray); cursor: pointer; transition: all .2s; margin: 0; font-weight: 400; }
.ozo-opt__btn:hover { border-color: var(--ozo-black); }
.ozo-opt input:checked + .ozo-opt__btn, .ozo-opt__values input:checked + .ozo-opt__btn { background: var(--ozo-black); color: #fff; border-color: var(--ozo-black); }
.ozo-opt__swatch { width: 30px; height: 30px; border: 1px solid var(--ozo-line); cursor: pointer; padding: 3px; margin: 0; transition: border-color .2s; }
.ozo-opt__swatch i { display: block; width: 100%; height: 100%; }
.ozo-opt__values input:checked + .ozo-opt__swatch { border-color: var(--ozo-black); }
.ozo-buy { display: flex; gap: 14px; align-items: stretch; margin: 26px 0 14px; }
.ozo-qty { display: flex; border: 1px solid var(--ozo-line); }
.ozo-qty button { background: none; border: 0; width: 40px; font-size: 18px; cursor: pointer; transition: background .2s; }
.ozo-qty button:hover { background: var(--ozo-bg); }
.ozo-qty input { width: 46px; border: 0; text-align: center; font-family: var(--ozo-font); outline: none; }
.ozo-buy .ozo-btn { flex: 1; }
.ozo-wish-btn { border: 1px solid var(--ozo-line); background: #fff; width: 50px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .25s; }
.ozo-wish-btn:hover { border-color: var(--ozo-black); }
.ozo-wish-btn svg { width: 18px; height: 18px; }

.ozo-ptabs { margin-top: 70px; }
/* по макету вкладки распределены по всей ширине контейнера */
.ozo-ptabs__nav { display: flex; justify-content: space-between; gap: 24px; box-shadow: inset 0 -1px 0 var(--ozo-line); margin: 0; padding: 0; list-style: none; overflow-x: auto; overflow-y: hidden; }
.ozo-ptabs__nav a { display: block; padding: 14px 2px; font-size: 20px; color: var(--ozo-gray); white-space: nowrap; position: relative; }
.ozo-ptabs__nav a:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ozo-black); transform: scaleX(0); transition: transform .25s; }
.ozo-ptabs__nav li.active a { color: var(--ozo-black); }
.ozo-ptabs__nav li.active a:after { transform: none; }
.ozo-ptabs__nav a:hover { color: var(--ozo-black); }
.ozo-ptabs__nav a:hover:after { transform: scaleX(1); background: var(--ozo-line); }
.ozo-ptabs__nav li.active a:after, .ozo-ptabs__nav li.active a:hover:after { transform: none; background: var(--ozo-black); }
.ozo-ptabs .tab-content { padding: 34px 0 0; max-width: 860px; }
.ozo-ptabs .tab-content > .tab-pane { display: none; }
.ozo-ptabs .tab-content > .tab-pane.active { display: block; animation: ozoFade .3s; }
.ozo-ptabs .tab-content h3 { font-size: 22px; }

.ozo-review { border-bottom: 1px solid var(--ozo-line); padding: 18px 0; }
.ozo-review__head { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; color: var(--ozo-gray); }
.ozo-review__author { font-size: 15px; color: var(--ozo-black); }

.ozo-reviews-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin: 4px 0 28px; }
.ozo-reviews-head h3 { font-size: 24px; font-weight: 500; margin: 0; }
.ozo-reviews-head__actions { display: flex; align-items: center; gap: 18px; }
.ozo-reviews-sort { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ozo-line); padding: 11px 16px; font-size: 13px; color: var(--ozo-black); cursor: pointer; }
.ozo-reviews-head__actions .ozo-btn { padding: 11px 30px; }
.ozo-reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ozo-review-card { border: 1px solid var(--ozo-line); padding: 22px 24px; position: relative; }
.ozo-review-card__stars { color: #d9d9d9; letter-spacing: 4px; font-size: 14px; margin-bottom: 14px; }
.ozo-review-card__stars .on { color: var(--ozo-star); }
.ozo-review-card__author { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.ozo-review-card__text { font-size: 13px; color: var(--ozo-gray); line-height: 1.6; margin: 0 0 18px; }
.ozo-review-card__date { font-size: 12px; color: #b0b0b0; }
.ozo-reviews-pagination { margin-top: 26px; }
.ozo-reviews-empty { color: var(--ozo-gray); padding: 10px 0 20px; }
.ozo-review-form { display: none; margin-top: 34px; border-top: 1px solid var(--ozo-line); padding-top: 30px; }
.ozo-review-form.ozo-active { display: block; }
@media (max-width: 640px) { .ozo-reviews-grid { grid-template-columns: 1fr; } }

.ozo-cart-page { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; align-items: start; }
.ozo-cart-list { padding-right: 48px; }
.ozo-cart-item { display: grid; grid-template-columns: 125px 1fr auto; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--ozo-line); position: relative; }
.ozo-cart-item__img img { width: 125px; display: block; background: var(--ozo-bg-light); }
.ozo-cart-item__name { font-size: 20px; font-weight: 400; margin-bottom: 8px; display: block; }
.ozo-cart-item__opt { font-size: 12px; color: var(--ozo-gray); margin-bottom: 3px; }
.ozo-cart-item__price { margin-top: 10px; font-size: 20px; }
.ozo-cart-item__price .ozo-new { color: var(--ozo-sale); margin-right: 8px; }
.ozo-cart-item__price .ozo-old { color: var(--ozo-gray); text-decoration: line-through; font-size: 13px; }
.ozo-cart-item__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.ozo-cart-item__remove { background: none; border: 0; cursor: pointer; color: var(--ozo-sale); padding: 2px; line-height: 0; }
.ozo-cart-item__remove:hover { color: var(--ozo-black); }
.ozo-cart-item__remove svg { width: 16px; height: 16px; }

.ozo-summary { background: var(--ozo-bg); padding: 40px 44px; position: sticky; top: 92px; }
.ozo-summary h3 { font-size: 20px; margin: 0 0 26px; }
.ozo-summary__row { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 16px; color: var(--ozo-black); }
.ozo-summary__row.ozo-discount span:last-child { color: var(--ozo-sale); }
.ozo-summary__row.ozo-total { font-size: 17px; font-weight: 600; border-top: 1px solid #d6d6d7; padding-top: 18px; margin-top: 8px; }
.ozo-summary__coupon { display: flex; align-items: center; gap: 10px; margin: 26px 0 22px; }
.ozo-summary__coupon:before { content: ""; width: 18px; height: 18px; flex: 0 0 auto; background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M3 12l9-9h9v9l-9 9-9-9z'/%3E%3Ccircle cx='16.5' cy='7.5' r='1.5'/%3E%3C/svg%3E") no-repeat center/contain; }
.ozo-summary__coupon input { flex: 1; border: 0; border-bottom: 1px solid #c9c9ca; background: transparent; padding: 8px 2px; font-family: var(--ozo-font); font-size: 13px; outline: none; }
.ozo-summary__coupon .ozo-btn { padding: 10px 18px; font-size: 12px; }
.ozo-summary .ozo-btn--main { width: 100%; }

.ozo-checkout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.ozo-checkout .panel { border: 0; border-radius: 0; box-shadow: none; margin-bottom: 8px; border-bottom: 1px solid var(--ozo-line); }
.ozo-checkout .panel-heading { background: none; border: 0; padding: 18px 0; }
.ozo-checkout .panel-title { font-size: 19px; font-family: var(--ozo-font); }
.ozo-checkout .panel-title a { display: block; }
.ozo-checkout .panel-body { border: 0; padding: 4px 0 26px; }
.ozo-checkout .radio label, .ozo-checkout .checkbox label { font-weight: 400; }

.ozo-account { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.ozo-account--full { display: block; }
.ozo-account__nav { border: 1px solid var(--ozo-line); padding: 12px 18px 18px; position: sticky; top: 92px; }
.ozo-account__nav .ozo-anav__item { display: flex; align-items: center; gap: 12px; padding: 12px 4px; font-size: 14px; color: var(--ozo-black); }
.ozo-account__nav .ozo-anav__item:hover, .ozo-account__nav .ozo-anav__item.ozo-active { color: var(--ozo-accent); }
.ozo-anav__ico { width: 18px; height: 18px; flex: 0 0 18px; display: inline-flex; }
.ozo-anav__ico svg { width: 100%; height: 100%; }
.ozo-anav__count { margin-left: auto; color: var(--ozo-gray); font-size: 13px; }
.ozo-account__nav .ozo-anav__logout { margin-top: 12px; padding: 9px 26px; font-size: 12px; }
.ozo-profile-form .ozo-co__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.ozo-profile-pass { display: flex; gap: 14px; align-items: stretch; }
.ozo-profile-pass input { flex: 1; }
.ozo-profile-pass__btn { padding: 12px 24px; font-size: 12px; white-space: nowrap; display: inline-flex; align-items: center; }
.ozo-profile-agree { margin: 22px 0 26px; font-size: 12px; color: var(--ozo-gray); line-height: 1.5; display: flex; gap: 10px; align-items: flex-start; }
.ozo-addr-card { margin-bottom: 44px; }
.ozo-addr-card .ozo-co__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.ozo-addr-card__actions { display: flex; gap: 18px; justify-content: flex-end; margin-bottom: 10px; font-size: 13px; }
.ozo-addr-card__actions a { color: var(--ozo-accent); }
.ozo-addr-card__actions .ozo-addr-card__del { color: var(--ozo-sale); }
.ozo-account h1, .ozo-account h2 { font-size: 26px; margin: 0 0 24px; }
.ozo-account__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ozo-account__head h1 { margin: 0; }
.ozo-account__count { font-size: 14px; color: var(--ozo-gray); white-space: nowrap; }
.ozo-card__wish--active { color: var(--ozo-accent); }
.ozo-account .table { font-size: 14px; }
.ozo-account .table > thead > tr > th { border-bottom: 1px solid var(--ozo-black); font-weight: 500; }
.ozo-account legend { margin-top: 10px; }

.ozo-orders { display: flex; flex-direction: column; }
.ozo-order { border-bottom: 1px solid var(--ozo-line); padding: 26px 0; }
.ozo-order__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.ozo-order__num { font-size: 20px; margin-bottom: 6px; }
.ozo-order__total { font-size: 16px; color: var(--ozo-gray); }
.ozo-order__meta { text-align: right; }
.ozo-order__date { font-size: 16px; color: var(--ozo-gray); margin-bottom: 6px; }
.ozo-order__status { font-size: 20px; font-weight: 500; color: var(--ozo-accent); margin-bottom: 16px; }
.ozo-order__status.ozo-st--cancel { color: var(--ozo-sale); }
.ozo-order__status.ozo-st--plain { color: var(--ozo-black); }
.ozo-order__thumbs { display: flex; gap: 8px; margin-top: 16px; }
.ozo-order__thumbs img { width: 62px; height: 80px; object-fit: cover; }
.ozo-order__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; }
.ozo-order__count { font-size: 13px; color: var(--ozo-gray); }
.ozo-order__btn { padding: 9px 26px; font-size: 12px; }

.ozo-od { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; align-items: start; }
.ozo-od__title { font-size: 24px; font-weight: 500; margin: 0 0 30px; }
.ozo-od__block { margin-bottom: 28px; }
.ozo-od__block h4 { font-size: 16px; font-weight: 500; margin: 0 0 10px; }
.ozo-od__block p { font-size: 14px; color: var(--ozo-gray); margin: 0; line-height: 1.6; white-space: pre-line; }
.ozo-od__sum-row { display: flex; justify-content: space-between; max-width: 320px; font-size: 14px; color: var(--ozo-gray); margin-bottom: 6px; }
.ozo-od__products { display: flex; flex-wrap: wrap; gap: 20px; }
.ozo-od__product { width: 132px; }
.ozo-od__product-img { width: 132px; height: 172px; object-fit: cover; display: block; margin-bottom: 8px; }
.ozo-od__product-name { font-size: 12px; }
.ozo-od__opt { display: block; font-size: 12px; color: var(--ozo-gray); margin-top: 3px; }
.ozo-od__product-meta { display: flex; gap: 24px; font-size: 14px; color: var(--ozo-gray); white-space: nowrap; }
.ozo-od__paid { color: #1f9d55; font-size: 13px; display: inline-block; margin-top: 6px; }
.ozo-od__side { border: 1px solid var(--ozo-line); padding: 26px 24px; position: sticky; top: 92px; }
.ozo-od__side-block { margin-bottom: 20px; }
.ozo-od__side-block h4 { font-size: 14px; font-weight: 500; color: var(--ozo-gray); margin: 0 0 6px; }
.ozo-od__side-block p { font-size: 14px; margin: 0; line-height: 1.5; white-space: pre-line; }
.ozo-od__num { font-size: 20px; font-weight: 500; }
.ozo-od__status { font-size: 18px; font-weight: 500; color: var(--ozo-accent); }
@media (max-width: 991px) { .ozo-od { grid-template-columns: 1fr; gap: 30px; } .ozo-od__side { position: static; } }

.ozo-empty { text-align: center; padding: 80px 20px; }
.ozo-empty h1, .ozo-empty h3 { font-size: 24px; margin-bottom: 10px; }

/* заголовок только для скринридеров и поисковиков — по макету он не виден */
.ozo-sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.ozo-empty p { color: var(--ozo-gray); margin-bottom: 26px; }

.ozo-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 160px; margin-top: 10px; }
.ozo-auth h2 { font-size: 24px; }
.ozo-auth__col { padding: 0; border: 0; }
.ozo-auth__sub { font-size: 14px !important; font-weight: 600; text-transform: none; margin: 0 0 22px; }
/* «Забули пароль?» і чекбокс згоди — це один і той самий рядок у двох колонках;
   без однакової висоти й відступів кнопки «Увійти» та «Створити» розходяться на 14px */
.ozo-auth-form { display: flex; flex-direction: column; }
.ozo-auth__forgot, .ozo-auth-form .ozo-auth-agree { min-height: 21px; margin: 4px 0 24px; font-size: 14px; }

/* страницы на дефолтной разметке OpenCart (реєстрація, адреса, пароль) —
   в макете их нет, приводим к типографике темы */
#account-register #content, #account-address #content, #account-password #content,
#account-newsletter #content, #account-forgotten #content {
  max-width: 760px;
}
#account-register legend, #account-address legend, #account-password legend {
  font-size: 18px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em;
  border-bottom: 1px solid var(--ozo-line); margin-bottom: 22px;
}
#account-register .control-label, #account-address .control-label,
#account-password .control-label, #account-newsletter .control-label {
  text-align: left; font-size: 13px; font-weight: 400; color: var(--ozo-gray); padding-top: 0; margin-bottom: 6px;
}
#account-register .form-group, #account-address .form-group,
#account-password .form-group, #account-newsletter .form-group { margin-bottom: 18px; }
#account-register .buttons, #account-address .buttons, #account-password .buttons { margin-top: 26px; }
#account-register .buttons .pull-right, #account-address .buttons .pull-right { display: flex; align-items: center; gap: 16px; }
#account-register .radio-inline + .radio-inline { margin-left: 18px; }
/* нативні radio/checkbox лишаються системно-синіми і випадають з палітри теми */
input[type="checkbox"], input[type="radio"] { accent-color: var(--ozo-black); }
.ozo-agree { display: inline-flex; align-items: center; gap: 10px; margin: 0 16px 0 0; font-weight: 400; cursor: pointer; }
.ozo-agree input { margin: 0; flex: none; }
.ozo-agree a { text-decoration: underline; }
/* колонка навигации кабинета на этих страницах — в стиле .ozo-account__nav */
#account-register .list-group, #account-address .list-group, #account-password .list-group,
#account-newsletter .list-group, #account-forgotten .list-group { border: 1px solid var(--ozo-line); }
#account-register .list-group-item, #account-address .list-group-item, #account-password .list-group-item,
#account-newsletter .list-group-item, #account-forgotten .list-group-item {
  border-width: 0 0 1px; padding: 12px 16px; font-size: 14px;
}
#account-register .list-group-item:last-child, #account-address .list-group-item:last-child,
#account-password .list-group-item:last-child, #account-newsletter .list-group-item:last-child,
#account-forgotten .list-group-item:last-child { border-bottom: 0; }

.ozo-info-page { max-width: 100%; }
.ozo-info-page h3, .ozo-info h3 { font-size: 20px; margin: 30px 0 12px; }
.ozo-about__lead { font-size: 19px; line-height: 1.6; margin-bottom: 26px; }
/* мапа сайту виводилася голими маркерами списку в дві незбалансовані колонки */
.ozo-sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 30px; margin: 10px 0 60px; align-items: start; }
.ozo-sitemap__col { min-width: 0; }
.ozo-sitemap__head { display: block; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ozo-black); padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid var(--ozo-line); }
.ozo-sitemap__col .ozo-sitemap__head + .ozo-sitemap__list + .ozo-sitemap__head { margin-top: 32px; }
.ozo-sitemap__list, .ozo-sitemap__leaf { list-style: none; margin: 0; padding: 0; }
.ozo-sitemap__list > li + li { margin-top: 12px; }
.ozo-sitemap__sub { font-size: 14px; color: var(--ozo-black); }
.ozo-sitemap__sub:hover { color: var(--ozo-accent); }
.ozo-sitemap__leaf { margin-top: 6px; }
.ozo-sitemap__leaf li + li { margin-top: 4px; }
.ozo-sitemap__leaf a { font-size: 13px; color: var(--ozo-gray); }
.ozo-sitemap__leaf a:hover { color: var(--ozo-accent); }

.ozo-info-title { text-align: center; margin-top: 40px; }
.ozo-info { max-width: 1400px; margin: 0 auto; }
.ozo-info__lead { font-size: 15px; line-height: 1.7; margin: 0 auto 44px; max-width: 900px; text-align: center; color: var(--ozo-gray); }
/* лінія знизу — inset-тінь, а не border: підкреслення активного таба лежить усередині
   контейнера й не додає зайвого пікселя до scrollHeight (інакше з'являється вертикальна прокрутка) */
.ozo-info-tabs__nav { display: flex; gap: 44px; box-shadow: inset 0 -1px 0 var(--ozo-line); margin-bottom: 34px; overflow-x: auto; overflow-y: hidden; }
.ozo-info-tabs__nav a { display: block; padding: 12px 2px; font-size: 14px; color: var(--ozo-gray); white-space: nowrap; position: relative; cursor: pointer; }
.ozo-info-tabs__nav a:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ozo-black); transform: scaleX(0); transition: transform .25s; }
.ozo-info-tabs__nav a:hover { color: var(--ozo-black); }
.ozo-info-tabs__nav a:hover:after { transform: scaleX(1); background: var(--ozo-line); }
.ozo-info-tabs__nav a.active { color: var(--ozo-black); }
.ozo-info-tabs__nav a.active:after, .ozo-info-tabs__nav a.active:hover:after { transform: none; background: var(--ozo-black); }
.ozo-info-tabs__pane { display: none; font-size: 14px; line-height: 1.8; color: var(--ozo-gray); max-width: 1100px; }
.ozo-info-tabs__pane.active { display: block; animation: ozoFade .3s; }
.ozo-info-tabs__pane h3 { display: none; }
.ozo-info-tabs__pane p { margin: 0 0 14px; }
.ozo-info-order { position: relative; margin: 60px 0 0; padding: 56px 0; }
.ozo-info-order:before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: var(--ozo-bg); z-index: -1; }
.ozo-info-order h3 { display: block !important; font-size: 24px; font-weight: 500; margin: 0 0 20px; }
.ozo-info-order p { font-size: 14px; line-height: 1.9; color: var(--ozo-gray); margin: 0 0 14px; }
.ozo-about__vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 40px 0; }
.ozo-about__vals h3 { font-size: 20px; margin: 0 0 12px; white-space: pre-line; }
.ozo-about__vals p { font-size: 13px; color: var(--ozo-gray); }
.ozo-about__gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 40px 0; }
.ozo-about__gallery img { width: 100%; height: 300px; object-fit: cover; }
.ozo-about__join { display: flex; align-items: center; justify-content: center; gap: 24px; font-size: 30px; text-align: center; margin: 70px 0 40px; letter-spacing: .06em; text-transform: uppercase; }
.ozo-about__community { display: grid; grid-template-columns: 2fr 2fr 0.9fr 0.9fr; grid-template-rows: 180px 180px 180px; gap: 18px; margin-bottom: 20px; }
.ozo-about__community img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ozo-ac--a { grid-column: 1; grid-row: 1 / 3; }
.ozo-ac--f { grid-column: 1; grid-row: 3; }
.ozo-ac--b { grid-column: 2; grid-row: 1 / 4; }
.ozo-ac--c { grid-column: 3; grid-row: 1; }
.ozo-ac--d { grid-column: 4; grid-row: 1; }
.ozo-ac--e { grid-column: 3 / 5; grid-row: 2 / 4; }
.ozo-about__strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 44px calc(50% - 50vw) 56px; }
.ozo-about__strip img { width: 100%; height: 300px; object-fit: cover; display: block; }
#information-information:has(.ozo-about__owntitle) .ozo-info-title { display: none; }
.ozo-about__owntitle { text-align: center; }
@media (max-width: 640px) { .ozo-about__community { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 160px; } .ozo-about__community img { grid-column: auto !important; grid-row: auto !important; } .ozo-ac--b { grid-column: span 2 !important; } .ozo-about__join { font-size: 20px; } .ozo-about__strip { grid-template-columns: 1fr 1fr; } }

.ozo-contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; }

.ozo-toast {
  position: fixed; right: 24px; bottom: 24px; z-index: 999;
  background: var(--ozo-black); color: #fff; padding: 16px 22px; font-size: 14px;
  max-width: 360px; opacity: 0; transform: translateY(14px); transition: all .35s; pointer-events: none;
}
.ozo-toast.ozo-active { opacity: 1; transform: none; }
.ozo-toast a { color: #fff; text-decoration: underline; }

#content .alert { margin-top: 16px; }

.ozo-wishlist-grid { margin-top: 10px; }

.table > tbody > tr > td, .table > thead > tr > th { vertical-align: middle !important; }
.img-thumbnail { border-radius: 0; }
.well { border-radius: 0; background: var(--ozo-bg-light); border-color: var(--ozo-line); box-shadow: none; }
.panel { border-radius: 0; box-shadow: none; }
.text-danger { color: var(--ozo-sale); }

@media (max-width: 1200px) {
  .ozo-container { padding: 0 24px; }
  .ozo-nav { gap: 22px; }
  .ozo-grid { gap: 18px; }
}

@media (max-width: 991px) {
  .ozo-nav { display: none; }
  .ozo-burger { display: block; }
  .ozo-header__inner { height: 62px; }
  .ozo-mobile-menu { top: 62px; }
  .ozo-catalog { grid-template-columns: 1fr; }
  .ozo-filter { position: static; display: none; }
  .ozo-filter.ozo-active { display: block; }
  .ozo-filter-toggle { display: inline-flex !important; }
  .ozo-product { grid-template-columns: 1fr; gap: 34px; }
  .ozo-cart-page, .ozo-checkout { grid-template-columns: 1fr; }
  .ozo-cart-list { padding-right: 0; }
  .ozo-summary { position: static; margin-top: 30px; }
  .ozo-account { grid-template-columns: 1fr; }
  .ozo-account__nav { position: static; display: flex; overflow-x: auto; overflow-y: hidden; padding: 0; }
  .ozo-account__nav a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
  .ozo-account__nav a.ozo-active { border-bottom-color: var(--ozo-accent); }
  .ozo-footer__inner { grid-template-columns: 1fr 1fr; }
  .ozo-auth { grid-template-columns: 1fr; gap: 30px; }
  .ozo-contact { grid-template-columns: 1fr; }
  .ozo-season__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .ozo-about__vals { grid-template-columns: 1fr; }
  .ozo-about__gallery { grid-template-columns: repeat(2, 1fr); }
}

.ozo-filter-toggle { display: none; align-items: center; gap: 8px; margin-bottom: 18px; }
.ozo-filter__group .ozo-check--extra { display: none; }
.ozo-filter__group.ozo-expanded .ozo-check--extra { display: flex; }
.ozo-filter__head { display: flex; align-items: center; justify-content: space-between; cursor: pointer; user-select: none; }
.ozo-filter__head .ozo-nav__chev { transition: transform .25s; flex: 0 0 auto; }
.ozo-filter__group--collapsible:not(.ozo-open) .ozo-check,
.ozo-filter__group--collapsible:not(.ozo-open) .ozo-filter__more { display: none; }
/* у згорнутої групи під заголовком лишався відступ 12px від розкритого стану — порожня діра */
.ozo-filter__group--collapsible:not(.ozo-open) .ozo-filter__head { margin-bottom: 0; }
.ozo-filter__group--collapsible.ozo-open .ozo-filter__head .ozo-nav__chev { transform: rotate(180deg); }
.ozo-filter__more {
  border: 0; background: none; padding: 4px 0 0; cursor: pointer;
  font-family: var(--ozo-font); font-size: 13px; color: var(--ozo-accent);
}
.ozo-filter__more:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .ozo-container { padding: 0 16px; }
  .ozo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ozo-h2 { font-size: 24px; }
  .ozo-section { margin-top: 48px; }
  .ozo-page-title { font-size: 26px; }
  .ozo-cats { grid-template-columns: 1fr; gap: 14px; }
  .ozo-cats__item { aspect-ratio: 343 / 234; }
  /* CTA за мобільним макетом: висока картка, текст праворуч, кнопка притиснута донизу */
  .ozo-cta { display: flex; align-items: stretch; padding: 48px 24px; min-height: 860px; }
  .ozo-cta__inner { margin-left: 0; max-width: none; flex: 1 1 auto; align-items: flex-end; text-align: right; }
  .ozo-cta__inner h2 { font-size: 24px; line-height: 40px; }
  .ozo-cta__inner p { line-height: 28px; }
  .ozo-cta__inner .ozo-cta-link { margin-top: auto; align-self: stretch; justify-content: space-between; font-size: 20px; }
  .ozo-gallery { grid-template-columns: 1fr; }
  /* на мобилке миниатюры идут строкой под фото — возвращаем их в поток */
  .ozo-gallery__thumbs-wrap { order: 2; }
  .ozo-gallery__thumbs { position: static; flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; }
  .ozo-gallery__thumbs a { flex: 0 0 72px; }
  .ozo-pinfo h1 { font-size: 22px; }
  .ozo-buy { flex-wrap: wrap; }
  .ozo-buy .ozo-btn { flex: 1 1 100%; order: 3; }
  .ozo-summary { padding: 26px 20px; }
  .ozo-cart-item { grid-template-columns: 90px 1fr auto; gap: 12px; }
  .ozo-cart-item__img img { width: 90px; }
  .ozo-footer__inner { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 30px; }
  .ozo-outfits__stage { height: 420px; gap: 10px; }
  .ozo-outfits__item--c { width: 260px; height: 360px; }
  .ozo-outfits__item--m { width: 90px; height: 240px; }
  .ozo-outfits__item--s { display: none; }
  .ozo-outfits__tag { display: none; }
  .ozo-outfits__nav--prev { left: 6px; }
  .ozo-outfits__nav--next { right: 6px; }
  .ozo-season__grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .ozo-season__cell--big, .ozo-season__cell--wide { grid-column: span 1; grid-row: span 1; }
  .ozo-ptabs__nav { gap: 26px; }
  .ozo-modal__box { padding: 26px 20px; }
  .ozo-auth__col { padding: 22px 18px; }
}

#ozo-summary-body ul, #ozo-summary-body li { list-style: none; margin: 0; padding: 0; display: block; }
#ozo-summary-body img { max-width: 84px; }
#ozo-summary-body .table { background: transparent; }

.ozo-hero__caption { position: absolute; right: 68px; bottom: 70px; z-index: 5; color: #fff; font-size: 24px; font-weight: 500; text-transform: uppercase; letter-spacing: .6px; text-shadow: 0 2px 16px rgba(0,0,0,.45); pointer-events: none; display: flex; align-items: center; gap: 23px; }
.ozo-tri { display: inline-block; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent currentColor; }
/* высота блока по макету — 540px */
.ozo-newsletter { background-image: var(--ozo-bg-d); background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; padding: 182px 40px; min-height: 540px; text-align: center; color: #fff; }
@media (max-width: 767px) {
  .ozo-cta[style*="--ozo-bg-m"], .ozo-newsletter[style*="--ozo-bg-m"] { background-image: var(--ozo-bg-m); }
}
.ozo-newsletter:before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.ozo-newsletter__inner { position: relative; max-width: 878px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.ozo-newsletter h2 { color: #fff; font-size: 24px; font-weight: 500; margin: 0; text-transform: uppercase; letter-spacing: .6px; }
.ozo-newsletter p { font-size: 14px; color: var(--ozo-line); margin: 0; }
.ozo-newsletter .ozo-cta-link { margin-top: 12px; }
@media (max-width: 991px) {
  .ozo-header__inner { height: 62px; }
  .ozo-logo img { height: 24px; }
}
@media (max-width: 640px) {
  .ozo-h2 { font-size: 28px; }
  .ozo-section { margin-top: 56px; }
  .ozo-newsletter { padding: 80px 20px; }
  .ozo-newsletter h2 { font-size: 24px; }
  .ozo-newsletter p { font-size: 14px; }
  .ozo-hero__caption { right: 20px; bottom: 26px; font-size: 16px; }
  .ozo-cta__inner h2 { font-size: 26px; }
  .ozo-cta__inner p { font-size: 14px; }
}

.ozo-card__brand { display: block; margin-top: 12px; font-size: 12px; color: var(--ozo-black); text-transform: uppercase; letter-spacing: .04em; }
.ozo-card__brand + .ozo-card__name { margin-top: 2px; }

.ozo-co__block { border-bottom: 1px solid var(--ozo-line); padding: 6px 0 34px; margin-bottom: 34px; }
.ozo-co__title { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: center; gap: 14px; margin: 0 0 22px; }
.ozo-co__num { color: #fff; background: var(--ozo-black); font-weight: 700; font-size: 13px; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ozo-co__login { font-size: 13px; color: var(--ozo-gray); margin: -8px 0 18px; }
.ozo-co__login a { color: var(--ozo-accent); }
.ozo-co__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 22px; }
.ozo-co__grid .form-group { margin-bottom: 18px; }
.ozo-co__grid label { display: none; }
.ozo-co .form-control { border: 0; border-bottom: 1px solid var(--ozo-black); padding-left: 0; height: 40px; background: transparent; }
.ozo-co textarea.form-control { border: 1px solid var(--ozo-line); padding: 10px; }
.ozo-co select.form-control { background-position: right 2px center; }
.ozo-co .has-error .form-control { border-bottom-color: var(--ozo-sale); }
.ozo-co__radios { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-bottom: 24px; }
.ozo-radio { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 400; cursor: pointer; margin: 0; }
.ozo-radio input { display: none; }
.ozo-radio:hover { color: var(--ozo-accent); }
.ozo-radio:hover i { border-color: var(--ozo-accent); }
.ozo-radio i { width: 15px; height: 15px; border: 1px solid var(--ozo-black); position: relative; flex: 0 0 auto; transition: background .2s, border-color .2s; }
.radio-inline, .checkbox-inline, .radio label, .checkbox label { transition: color .2s; }
.radio-inline:hover, .checkbox-inline:hover, .radio label:hover, .checkbox label:hover { color: var(--ozo-accent); cursor: pointer; }
.ozo-radio input:checked + i { background: var(--ozo-black); }
.ozo-radio input:checked + i:after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.has-error .form-control { border-color: var(--ozo-sale); }

.ozo-arrow-btn {
  width: 44px; height: 44px; border: 1px solid var(--ozo-line); background: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: all .25s; line-height: 0; padding: 0;
}
.ozo-arrow-btn:hover { background: var(--ozo-black); color: #fff; border-color: var(--ozo-black); }
.ozo-arrow-btn svg { width: 18px; height: 18px; }
.ozo-arrow-btn[disabled] { opacity: .3; pointer-events: none; }
.ozo-section__arrows { display: flex; gap: 10px; }
.ozo-grid { position: relative; }
.ozo-grid .ozo-grid-next {
  position: absolute; right: -13px; top: 42%; z-index: 5;
  width: 26px; height: 26px; background: var(--ozo-black); color: #fff; border: 0;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .25s; line-height: 0; padding: 0;
}
.ozo-grid .ozo-grid-next:hover, .ozo-grid-next:hover { background: var(--ozo-accent); }
.ozo-grid .ozo-grid-next svg { width: 10px; height: auto; }

.ozo-hero .ozo-hero-prev, .ozo-hero .ozo-hero-next { display: none; }

.ozo-cats__item span .ozo-tri { transition: transform .3s; }
.ozo-cats__item:hover span .ozo-tri { transform: translateX(6px); }

/* height:auto — щоб бокс точно збігався з viewBox 10x6 і стрілка не масштабувалась дрібно;
   vertical-align 3px ставить центр шеврона на середину великих літер (cap-height 12px) */
.ozo-nav__chev { width: 10px; height: auto; margin-left: 6px; vertical-align: 3px; transition: transform .25s; }
.ozo-nav > li.ozo-open .ozo-nav__chev { transform: rotate(180deg); }

.ozo-btn--frame svg { width: 18px; height: 18px; margin-left: 10px; vertical-align: -3px; }

@media (max-width: 640px) {
  .ozo-co__grid { grid-template-columns: 1fr; }
  .ozo-hero .ozo-hero-prev, .ozo-hero .ozo-hero-next { display: none; }
}

.ozo-ptabs__nav a { text-transform: none; }
.ozo-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 26px; height: 26px; background: var(--ozo-black); color: #fff; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; line-height: 0; transition: background .25s; }
.ozo-gallery__nav:hover { background: var(--ozo-accent); }
.ozo-gallery__nav--prev { left: 10px; }
.ozo-gallery__nav--next { right: 10px; }
.ozo-gallery__nav i { width: 0; height: 0; border-style: solid; }
.ozo-gallery__nav--prev i { border-width: 5px 8px 5px 0; border-color: transparent #fff transparent transparent; }
.ozo-gallery__nav--next i { border-width: 5px 0 5px 8px; border-color: transparent transparent transparent #fff; }
.ozo-opt__swatch { position: relative; }
.ozo-opt__values input:checked + .ozo-opt__swatch:after { content: ""; position: absolute; left: 10px; top: 6px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ozo-related-title { text-align: left; }
/* по макету серая колонка итога идёт от шапки до футера на всю высоту страницы,
   поэтому подложка вынесена в #checkout-cart, а не в саму колонку */
#checkout-cart, #checkout-checkout { position: relative; }
.ozo-cart-page { position: relative; }
.ozo-summary-bleed { position: absolute; top: -30px; bottom: 0; left: 0; right: -100vw; background: var(--ozo-bg); z-index: -1; }
/* подложка вынесена в контейнер страницы, чтобы серая колонка шла от шапки до футера */
#checkout-cart > .ozo-summary-bleed, #checkout-checkout > .ozo-summary-bleed {
  top: 0; bottom: -90px;
  left: calc(40px + (100% - 80px) * 7 / 12);
  right: calc(50% - 50vw);
}
/* у чекаута между колонками зазор 48px — подложка начинается за ним */
#checkout-checkout > .ozo-summary-bleed { left: calc(40px + (100% - 128px) * 7 / 12 + 48px); }
.ozo-summary { background: transparent; position: relative; }
.ozo-summary-wrap { position: relative; padding: 40px 0 40px 80px; }
.ozo-summary-wrap .ozo-summary { padding: 0; position: sticky; top: 130px; }
@media (max-width: 1200px) {
  #checkout-cart > .ozo-summary-bleed { left: calc(24px + (100% - 48px) * 7 / 12); }
  #checkout-checkout > .ozo-summary-bleed { left: calc(24px + (100% - 96px) * 7 / 12 + 48px); }
  .ozo-summary-wrap { padding-left: 44px; }
}
@media (max-width: 991px) {
  /* одна колонка — подложка превращается в фон блока итога */
  .ozo-summary-bleed { display: none; }
  .ozo-summary-wrap { padding: 26px 20px; background: var(--ozo-bg); margin: 30px -20px 0; }
}
.ozo-newsletter .ozo-btn--frame, .ozo-cta .ozo-btn--frame { display: inline-flex; align-items: center; gap: 16px; }
.ozo-mobile-menu .ozo-mobile-list > li > a { display: flex; justify-content: space-between; align-items: center; }
.ozo-mobile-menu .ozo-mobile-list svg.ozo-nav__chev { width: 12px; height: auto; flex: none; }

/* ── мобільна версія за макетом ───────────────────────────── */
@media (max-width: 767px) {
  /* шапка за макетом: бургер зліва, далі лого, іконки праворуч */
  .ozo-header__inner { justify-content: flex-start; gap: 18px; }
  .ozo-burger { order: 1; }
  .ozo-logo { order: 2; }
  /* лого «OZO.UA» вчетверо шире прежнего текстового «OZO» — ужимаем,
     иначе строка иконок вылезает за правый край экрана */
  .ozo-logo img { height: 20px; }
  .ozo-icons { order: 3; display: flex; margin-left: auto; gap: 14px; }
  .ozo-icons svg { width: 22px; height: 22px; }
  .ozo-badge-count { right: -4px; }
  .ozo-footer .ozo-logo img { height: 28px; }
  .ozo-burger span { width: 26px; }
  .ozo-burger span:nth-child(2) { display: none; }
  .ozo-burger.ozo-active span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
  .ozo-burger.ozo-active span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

  /* hero: по макету в межах контейнера, пропорції ті самі, що на десктопі */
  .ozo-hero { margin-top: 12px; }
  .ozo-hero .swiper-slide img { aspect-ratio: 1400 / 687; height: auto; object-fit: cover; }
  .ozo-hero__caption { right: auto; left: 16px; bottom: 26px; font-size: 13px; gap: 12px; }
  .ozo-hero__caption .ozo-sq { width: 32px; height: 32px; }
  .ozo-hero__caption .ozo-sq svg { width: 14px; height: 14px; }
  .ozo-hero .swiper-pagination { bottom: 10px; }

  /* вкладки товару: чотири пункти в рядок не влазять — робимо горизонтальний скрол,
     вирівняний ліворуч, як у мобільному макеті */
  .ozo-ptabs { margin-top: 40px; }
  .ozo-ptabs__nav { justify-content: flex-start; gap: 20px; }
  .ozo-ptabs__nav a { font-size: 16px; padding: 12px 2px; }
  .ozo-ptabs .tab-content { padding-top: 24px; }

  /* таби секцій: три пункти мають вміщатися у 343px */
  .ozo-tabs { justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--ozo-line); }
  .ozo-tabs a { font-size: 12px; letter-spacing: .2px; }

  /* товарні секції головної — сітка 2 колонки, як у макеті */
  .ozo-section[data-ozo-type] .ozo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* сезонні пропозиції: за мобільним макетом — одна колонка, порядок природний */
  .ozo-season__grid { grid-template-columns: 1fr; grid-auto-rows: 220px; gap: 22px; }
  .ozo-season__cell--big, .ozo-season__cell--wide { grid-column: span 1; grid-row: span 1; }

  /* модалка кошика */
  .ozo-cart-panel { padding: 26px 20px 24px; max-height: 92vh; }
}

/* узкие экраны (360 и меньше): шапка иначе не помещается в контейнер */
@media (max-width: 400px) {
  .ozo-header__inner { gap: 12px; }
  .ozo-logo img { height: 18px; }
  .ozo-icons { gap: 12px; }
  .ozo-cart-panel__title { font-size: 24px; }
  .ozo-cart-panel__sub { flex-wrap: wrap; font-size: 13px; }
  .ozo-cart-mini { gap: 12px; flex-wrap: wrap; }
  .ozo-cart-mini__img img { width: 86px; }
  .ozo-cart-mini__info { flex: 1; min-width: 0; }
  .ozo-cart-mini__name { font-size: 14px; }
  .ozo-cart-mini__side { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; gap: 12px; }
  .ozo-cart-mini__side .ozo-qty { order: 1; }
  .ozo-cart-mini__remove { order: 2; }
}

/* ── выпадающие списки с поиском (Нова Пошта) ─────────────────
   визуал повторяет поля чекаута: подчёркивание снизу, без рамок  */
.ozo-select { position: relative; }
.ozo-select__control {
  width: 100%; height: 40px; padding: 0 26px 0 0; background: transparent;
  border: 0; border-bottom: 1px solid var(--ozo-black); text-align: left;
  font-family: var(--ozo-font-2); font-size: 14px; color: var(--ozo-black);
  display: flex; align-items: center; justify-content: space-between; cursor: pointer;
}
.ozo-select__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ozo-select__value--empty { color: #999; }
.ozo-select__arrow {
  position: absolute; right: 4px; top: 17px; width: 0; height: 0;
  border-style: solid; border-width: 5px 4px 0 4px;
  border-color: var(--ozo-black) transparent transparent transparent; transition: transform .2s;
}
.ozo-select.is-open .ozo-select__arrow { transform: rotate(180deg); }
.ozo-select.is-open .ozo-select__control { border-bottom-color: var(--ozo-accent); }
.ozo-select.is-disabled .ozo-select__control { border-bottom-color: var(--ozo-line); color: #bbb; cursor: not-allowed; }
.ozo-select.is-disabled .ozo-select__arrow { border-top-color: #ccc; }
.ozo-select.has-error .ozo-select__control { border-bottom-color: var(--ozo-sale); }

.ozo-select__drop {
  display: none; position: absolute; z-index: 60; left: 0; right: 0; top: 100%;
  background: #fff; border: 1px solid var(--ozo-black); border-top: 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}
.ozo-select.is-open .ozo-select__drop { display: block; }
.ozo-select__search {
  width: 100%; height: 40px; padding: 0 12px; border: 0;
  border-bottom: 1px solid var(--ozo-line); font-family: var(--ozo-font-2); font-size: 14px;
}
.ozo-select__list { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow-y: auto; }
.ozo-select__list li {
  padding: 9px 12px; cursor: pointer; font-size: 14px; line-height: 1.35;
  border-bottom: 1px solid var(--ozo-bg-light);
}
.ozo-select__list li:last-child { border-bottom: 0; }
.ozo-select__list li:hover, .ozo-select__list li.is-active { background: var(--ozo-bg); }
.ozo-select__list li.is-selected { background: var(--ozo-black); color: #fff; }
.ozo-select__list li.is-selected .ozo-select__hint { color: rgba(255, 255, 255, .7); }
.ozo-select__label { display: block; }
.ozo-select__hint { display: block; margin-top: 2px; font-size: 12px; color: var(--ozo-gray); }
.ozo-select__note { padding: 12px; font-size: 13px; color: var(--ozo-gray); }

/* скроллбар списка — в тон минималистичной теме */
.ozo-select__list::-webkit-scrollbar { width: 6px; }
.ozo-select__list::-webkit-scrollbar-thumb { background: var(--ozo-line); }
.ozo-select__list::-webkit-scrollbar-thumb:hover { background: var(--ozo-gray); }
