/* OZON-like marketplace layout. All surfaces inherit the shared storefront theme. */
body[data-storefront-template="ozon"] {
  --ozon-nav-height: 66px;
  --ozon-accent-soft: color-mix(in srgb, var(--accent) 10%, var(--site-surface));
  --ozon-shadow: 0 12px 36px color-mix(in srgb, var(--site-ink) 7%, transparent);
  background: var(--site-bg);
  color: var(--site-ink);
}

.ozon-site-container,
.ozon-wrap,
.ozon-cart-wrap,
.ozon-contacts-wrap {
  width: min(100% - 24px, 1480px);
  margin-inline: auto;
}

.ozon-page,
.ozon-cart-page,
.ozon-contacts-page,
.ozon-static-shell,
.ozon-seller-shell {
  min-width: 0;
  background: var(--site-bg);
  color: var(--site-ink);
}

.ozon-wrap,
.ozon-cart-wrap,
.ozon-contacts-wrap {
  padding-block: 20px 32px;
}

body[data-storefront-template="ozon"] :is(input, select, textarea) {
  background-color: var(--site-surface);
  border-color: var(--site-border);
  color: var(--site-ink);
}

body[data-storefront-template="ozon"] :is(input, textarea)::placeholder {
  color: var(--site-muted);
}

body[data-storefront-template="ozon"] :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 50%, transparent);
  outline-offset: 3px;
}

body[data-storefront-template="ozon"] :is(.btn-primary, .btn-accent),
.ozon-button,
.ozon-catalog-trigger {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}

body[data-storefront-template="ozon"] .btn-outline-secondary {
  border-color: var(--site-border);
  background: var(--site-surface);
  color: var(--site-ink);
}

body[data-storefront-template="ozon"] .btn-outline-secondary:hover {
  border-color: var(--accent);
  background: var(--ozon-accent-soft);
  color: var(--accent);
}

body[data-storefront-template="ozon"] :is(.text-secondary, .text-muted) {
  color: var(--site-muted) !important;
}

body[data-storefront-template="ozon"] :is(.offcanvas, .modal-content) {
  background: var(--site-surface);
  border-color: var(--site-border);
  color: var(--site-ink);
}

body[data-storefront-template="ozon"] :is(.offcanvas-header, .modal-header, .modal-footer) {
  border-color: var(--site-border);
}

/* A light surface header, independent catalog button, and large outlined search. */
.ozon-site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: var(--site-surface);
  border-bottom: 1px solid var(--site-border);
}

.ozon-utility,
.ozon-main-nav,
.ozon-catalog-trigger {
  display: none;
}

.ozon-brand-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding-block: 10px;
}

.ozon-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  width: fit-content;
  color: var(--accent);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.ozon-brand:hover { color: var(--accent); }

.ozon-brand-logo {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
}

.ozon-theme-mobile-button {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--site-border);
  border-radius: 12px;
  background: var(--site-surface);
  color: var(--site-ink);
  font-size: 20px;
}

.ozon-header-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  overflow: hidden;
  border: 2px solid var(--accent);
  border-radius: 13px;
  background: var(--site-surface);
}

.ozon-header-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 10px 12px;
  border-radius: 0;
  background: transparent;
  color: var(--site-ink);
  outline: 0;
}

.ozon-header-search button {
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 21px;
}

.ozon-header-search:focus-within {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 17%, transparent);
}

.ozon-quick-nav {
  display: flex;
  align-items: center;
  gap: 6px 20px;
  min-width: 0;
  overflow-x: auto;
  padding-block: 0 9px;
  scrollbar-width: none;
}

.ozon-quick-nav::-webkit-scrollbar { display: none; }

.ozon-quick-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 6px;
  min-height: 36px;
  color: var(--site-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.ozon-quick-nav a:is(:hover, .is-active) { color: var(--accent); }

/* Mobile navigation height is shared with the product purchase bar. */
.ozon-mobile-nav {
  position: fixed;
  inset: auto 0 0;
  z-index: 1030;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: calc(var(--ozon-nav-height) + env(safe-area-inset-bottom, 0px));
  padding: 5px 6px calc(5px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--site-border);
  background: color-mix(in srgb, var(--site-surface) 96%, transparent);
  box-shadow: 0 -4px 20px color-mix(in srgb, var(--site-ink) 5%, transparent);
  backdrop-filter: blur(16px);
}

.ozon-mobile-nav a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 54px;
  border-radius: 12px;
  color: var(--site-muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.ozon-mobile-nav a:is(:hover, .is-active) { color: var(--accent); }
.ozon-mobile-nav a.is-active { background: var(--ozon-accent-soft); }
.ozon-mobile-nav i { font-size: 22px; line-height: 1; }
.ozon-mobile-nav-icon { position: relative; display: inline-grid; place-items: center; }

.ozon-mobile-nav .site-cart-badge,
.ozon-main-nav .site-cart-badge {
  position: absolute;
  top: -7px;
  right: -13px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding-inline: 4px;
  border: 2px solid var(--site-surface);
  border-radius: 99px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

/* Home: a broad promotional panel, useful supporting tiles, real categories. */
.ozon-home-promo { display: grid; gap: 12px; margin-bottom: 24px; }

.ozon-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--site-border));
  border-radius: 24px;
  background: linear-gradient(115deg, color-mix(in srgb, var(--accent) 15%, var(--site-surface)), var(--site-surface));
}

.ozon-hero-copy { position: relative; z-index: 1; min-width: 0; padding: 26px 22px; }
.ozon-eyebrow { display: block; margin-bottom: 10px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ozon-hero h1 { max-width: 700px; margin: 0 0 12px; font-size: clamp(28px, 5vw, 56px); font-weight: 900; line-height: 1.04; letter-spacing: -.035em; overflow-wrap: anywhere; }
.ozon-hero p { max-width: 560px; margin: 0; color: var(--site-muted); font-size: 15px; line-height: 1.5; }
.ozon-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.ozon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.ozon-button:hover { background: color-mix(in srgb, var(--accent) 88%, var(--site-ink)); color: #fff; }
.ozon-button-secondary { border-color: var(--site-border); background: var(--site-surface); color: var(--site-ink); }
.ozon-button-secondary:hover { border-color: var(--accent); background: var(--site-surface-hover); color: var(--accent); }
.ozon-hero-showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-width: 0; padding: 0 22px 22px; }
.ozon-hero-product { display: grid; align-content: start; gap: 8px; min-width: 0; padding: 10px; border: 1px solid var(--site-border); border-radius: 18px; background: var(--site-surface); color: var(--site-ink); font-size: 12px; font-weight: 700; text-decoration: none; box-shadow: var(--ozon-shadow); }
.ozon-hero-product img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 12px; }
.ozon-hero-product span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.ozon-hero-banner { display: block; grid-column: 1 / -1; width: 100%; max-height: 310px; aspect-ratio: 16 / 10; object-fit: contain; border-radius: 16px; }
.ozon-promo-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ozon-promo-tile { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; min-height: 164px; padding: 18px; overflow: hidden; border: 1px solid var(--site-border); border-radius: 20px; background: var(--site-surface); color: var(--site-ink); text-decoration: none; }
.ozon-promo-tile > i { color: var(--accent); font-size: 28px; }
.ozon-promo-tile strong { display: block; font-size: 17px; line-height: 1.15; overflow-wrap: anywhere; }
.ozon-promo-tile p { margin: 6px 0 0; color: var(--site-muted); font-size: 12px; line-height: 1.4; }
.ozon-promo-tile > span { align-self: flex-end; margin-top: auto; color: var(--accent); }
.ozon-promo-tile--catalog { background: var(--ozon-accent-soft); border-color: color-mix(in srgb, var(--accent) 20%, var(--site-border)); }
.ozon-promo-tile:hover { border-color: var(--accent); color: var(--site-ink); }
.ozon-category-strip { display: flex; gap: 10px; overflow-x: auto; margin-block: 0 28px; padding-block: 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--site-border) transparent; }
.ozon-category-tile { display: flex; flex: 0 0 104px; flex-direction: column; align-items: center; gap: 9px; min-width: 0; padding: 10px 6px; border: 1px solid transparent; border-radius: 16px; color: var(--site-ink); font-size: 12px; font-weight: 600; line-height: 1.25; text-align: center; text-decoration: none; scroll-snap-align: start; }
.ozon-category-tile:hover { background: var(--site-surface); border-color: var(--site-border); color: var(--accent); }
.ozon-category-tile strong { font-weight: 600; overflow-wrap: anywhere; }
.ozon-category-icon { display: grid; place-items: center; width: 72px; height: 72px; overflow: hidden; border-radius: 22px; background: var(--site-surface); color: var(--accent); font-size: 30px; }
.ozon-category-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ozon-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.ozon-section-head h2 { margin: 0; font-size: clamp(23px, 3vw, 30px); font-weight: 800; letter-spacing: -.025em; }
.ozon-section-head a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--accent); font-size: 14px; font-weight: 700; text-decoration: none; }

/* Price-first cards share gallery and commerce contracts with Classic. */
.ozon-feed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 8px; }
.ozon-card { position: relative; display: flex; flex-direction: column; min-width: 0; color: var(--site-ink); }
.ozon-card-link { display: flex; flex: 1; flex-direction: column; min-width: 0; color: inherit; text-decoration: none; }
.ozon-card-link:hover { color: inherit; }
.ozon-card-media,
.ozon-card-media.product-media { position: relative; display: block; flex-shrink: 0; width: 100%; aspect-ratio: 1 / 1.1; padding: 0 !important; overflow: hidden; border-radius: 16px; background: var(--site-surface-hover); }
body .ozon-card-media.product-media > .card-img-top { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; max-height: none !important; padding: 0 !important; object-fit: cover !important; background: transparent; }
.ozon-card-media.has-gallery { cursor: ew-resize; }
.ozon-card-badges { position: absolute; inset: auto 8px 9px; z-index: 3; display: flex; flex-wrap: wrap; gap: 4px; pointer-events: none; }
.ozon-card-badge { display: inline-flex; align-items: center; min-height: 20px; padding: 4px 6px; border-radius: 6px; background: var(--site-surface); color: var(--site-ink); font-size: 10px; font-weight: 700; line-height: 1.1; }
.ozon-card-badge.is-available { background: color-mix(in srgb, var(--accent) 12%, var(--site-surface)); color: var(--accent); }
.ozon-card-badge.is-order { background: var(--site-surface); color: var(--site-muted); }
.ozon-card-price { order: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 7px; margin-top: 10px; color: var(--accent); font-size: 19px; font-weight: 900; line-height: 1.2; }
.ozon-card-price .product-price-old { color: var(--site-muted); font-size: 12px; font-weight: 500; text-decoration: line-through; }
.ozon-card-title { order: 2; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; margin-top: 6px; color: var(--site-ink); font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.ozon-card-meta { order: 3; display: block; margin-top: 6px; color: var(--site-muted); font-size: 11px; line-height: 1.4; }
.ozon-card-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.ozon-card-action { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; min-height: 44px; padding: 8px; border: 1px solid var(--site-border); border-radius: 10px; background: var(--site-surface); color: var(--site-muted); font-size: 18px; line-height: 1.1; text-decoration: none; }
.ozon-card-action:hover { border-color: var(--accent); background: var(--ozon-accent-soft); color: var(--accent); }
.ozon-card-action.ozon-card-cart-action { order: -1; grid-column: 1 / -1; border-color: var(--accent); background: var(--accent); color: #fff; font-weight: 800; }
.ozon-card-cart-label { font-size: 12px; line-height: 1.25; }
.ozon-card-action:is(:disabled, [aria-disabled="true"]) { border-color: var(--site-border); background: var(--site-surface-hover); color: var(--site-muted); opacity: .65; cursor: not-allowed; }
.ozon-card-action[data-wishlist-toggle].is-active { color: var(--accent); background: var(--ozon-accent-soft); border-color: color-mix(in srgb, var(--accent) 35%, var(--site-border)); }
.ozon-empty { grid-column: 1 / -1; padding: 30px 20px; border: 1px dashed var(--site-border); border-radius: 18px; background: var(--site-surface); color: var(--site-muted); text-align: center; }
.ozon-empty strong { display: block; margin-bottom: 6px; color: var(--site-ink); font-size: 18px; }

/* Catalog filters remain below a compact mobile control. */
.ozon-catalog-head { margin-bottom: 18px; }
.ozon-catalog-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; color: var(--site-muted); font-size: 12px; }
.ozon-catalog-breadcrumb a { color: var(--site-muted); text-decoration: none; }
.ozon-catalog-intro { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; }
.ozon-catalog-intro h1 { margin: 0; font-size: clamp(28px, 4vw, 38px); font-weight: 850; line-height: 1.15; letter-spacing: -.03em; overflow-wrap: anywhere; }
.ozon-catalog-count { color: var(--site-muted); font-size: 14px; }
.ozon-searchbar { display: flex; gap: 8px; min-width: 0; margin-top: 16px; }
.ozon-searchbar input { flex: 1; width: 100%; min-width: 0; min-height: 46px; padding: 10px 13px; border: 1px solid var(--site-border); border-radius: 12px; }
.ozon-searchbar button { min-width: 46px; min-height: 46px; padding: 10px 16px; border: 1px solid var(--accent); border-radius: 12px; background: var(--accent); color: #fff; font-weight: 700; }
.ozon-category-row { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 20px; padding-block: 2px 7px; scrollbar-width: thin; scrollbar-color: var(--site-border) transparent; }
.ozon-category-pill { display: inline-flex; align-items: center; flex-shrink: 0; gap: 7px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--site-border); border-radius: 12px; background: var(--site-surface); color: var(--site-ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.ozon-category-pill:is(:hover, .is-active) { border-color: var(--accent); background: var(--ozon-accent-soft); color: var(--accent); }
.ozon-category-pill img { display: block; flex: 0 0 auto; width: 30px; height: 30px; object-fit: cover; border-radius: 8px; }
.ozon-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.ozon-layout > section { min-width: 0; }
.ozon-filter { display: none; height: auto; max-height: none; padding: 18px; border: 1px solid var(--site-border); border-radius: 18px; background: var(--site-surface); }
.ozon-filter h2 { margin-bottom: 18px; font-size: 18px; font-weight: 800; }
.ozon-filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.ozon-filter-heading strong { font-size: 17px; font-weight: 800; }
.ozon-filter-heading button { min-height: 40px; padding: 6px 0 6px 8px; border: 0; background: transparent; color: var(--accent); font-size: 12px; }
.ozon-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; margin-bottom: 16px; }
.ozon-toolbar > strong { display: none; }
.ozon-toolbar-actions { display: flex; align-items: center; gap: 8px; width: 100%; min-width: 0; }
.ozon-toolbar-actions .catalog-shared-sort { flex: 1; }
.ozon-toolbar-actions .catalog-shared-sort select { width: 100%; max-width: 100%; min-width: 0; min-height: 44px; border-radius: 11px; font-size: 12px; }
.ozon-mobile-filter-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 9px 12px; white-space: nowrap; border: 1px solid var(--site-border); border-radius: 11px; background: var(--site-surface); color: var(--site-ink); font-size: 13px; font-weight: 700; }
.ozon-filter-sheet { --bs-offcanvas-height: 86dvh; border-radius: 22px 22px 0 0; }
.ozon-filter-sheet .offcanvas-header { flex-shrink: 0; align-items: center; gap: 10px; }
.ozon-filter-sheet .offcanvas-header .btn,
.ozon-filter-sheet .offcanvas-header .btn-close { min-height: 44px; }
.ozon-filter-sheet .offcanvas-body { overflow-y: auto; padding-bottom: max(18px, env(safe-area-inset-bottom, 0px)); }
body[data-storefront-template="ozon"] .catalog-shared-filter :is(input:not([type="checkbox"]), select) { min-height: 44px; }
body[data-storefront-template="ozon"] .catalog-shared-filter label.catalog-filter-choice { min-height: 44px; }
body[data-storefront-template="ozon"] .catalog-filter-mobile-summary { bottom: -16px; padding-block: 12px max(12px, env(safe-area-inset-bottom, 0px)); }
body[data-storefront-template="ozon"] .catalog-filter-chips a { min-height: 40px; }

/* Compact cart rows, with thumbnails constrained even before images load. */
.ozon-cart-head,
.ozon-contacts-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.ozon-cart-head h1,
.ozon-contacts-head h1 { margin: 0 0 6px; font-size: clamp(28px, 4vw, 38px); font-weight: 850; line-height: 1.15; letter-spacing: -.03em; overflow-wrap: anywhere; }
.ozon-cart-head a:not(.btn) { color: var(--accent); font-size: 14px; text-decoration: none; }
.ozon-cart-subtitle { color: var(--site-muted); font-size: 14px; }
.ozon-cart-head .btn,
.ozon-contacts-head .btn { min-height: 44px; border-radius: 12px; }
.ozon-cart-layout,
.ozon-contacts-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
.ozon-cart-panel,
.ozon-cart-summary,
.ozon-contact-card,
.ozon-contact-side { min-width: 0; overflow: hidden; border: 1px solid var(--site-border); border-radius: 20px; background: var(--site-surface); }
.ozon-cart-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 10px 16px; border-bottom: 1px solid var(--site-border); }
.ozon-cart-panel-head strong { font-size: 16px; }
.ozon-cart-panel-head button { min-height: 44px; padding: 8px 0 8px 10px; border: 0; background: transparent; color: var(--accent); font-size: 13px; }
.ozon-cart-items { min-height: 160px; }
.ozon-cart-items > .text-muted { padding: 28px 16px; }
.ozon-cart-page .cart-items { display: grid; gap: 0; }
.ozon-cart-page .cart-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 44px; gap: 10px; align-items: start; min-width: 0; padding: 16px 12px; border-bottom: 1px solid var(--site-border); }
.ozon-cart-page .cart-row:last-child { border-bottom: 0; }
.ozon-cart-page .cart-row-thumb { display: block; width: 72px; height: 84px; overflow: hidden; border-radius: 12px; background: var(--site-surface-hover); }
.ozon-cart-page .cart-row-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ozon-cart-page :is(.cart-row-title, .cart-row-meta) { min-width: 0; overflow-wrap: anywhere; }
.ozon-cart-page .cart-row-title { font-size: 14px; font-weight: 700; line-height: 1.35; }
.ozon-cart-page .cart-row-title a { color: var(--site-ink); text-decoration: none; }
.ozon-cart-page .cart-row-meta { margin-top: 6px; color: var(--site-muted) !important; font-size: 12px; line-height: 1.4; }
.ozon-cart-page .cart-row-qty { grid-column: 2 / 4; justify-self: start; }
.ozon-cart-page .product-qty { display: grid; grid-template-columns: 44px minmax(34px, 1fr) 44px; width: 132px; min-height: 44px; overflow: hidden; border: 1px solid var(--site-border); border-radius: 11px; background: var(--site-surface-hover); }
.ozon-cart-page .product-qty :is(.btn, .form-control) { width: 100%; min-width: 0; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--site-ink); box-shadow: none; text-align: center; }
.ozon-cart-page .product-qty .form-control { font-weight: 700; }
.ozon-cart-page .cart-row-total { grid-column: 2 / 4; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; min-width: 0; color: var(--site-muted); font-size: 12px; }
.ozon-cart-page .cart-row-total .fw-semibold { color: var(--site-ink); font-size: 18px; font-weight: 850 !important; }
.ozon-cart-page .cart-row-remove { grid-column: 3; grid-row: 1; display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 12px; background: var(--site-surface-hover); color: var(--site-muted); font-size: 24px; line-height: 1; }
.ozon-cart-page .cart-row-remove:hover { background: var(--ozon-accent-soft); color: var(--accent); }
.ozon-cart-summary { padding: 18px; box-shadow: var(--ozon-shadow); }
.ozon-cart-total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 14px; margin-bottom: 20px; font-size: 18px; }
.ozon-cart-total strong:last-child { font-size: 28px; font-weight: 900; }
.ozon-promo { display: grid; grid-template-columns: minmax(0, 1fr) 48px; margin-bottom: 16px; }
.ozon-promo input { width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid var(--site-border); border-right: 0; border-radius: 11px 0 0 11px; }
.ozon-promo button { border: 1px solid var(--site-border); border-radius: 0 11px 11px 0; background: var(--site-surface-hover); color: var(--site-ink); }
.ozon-cart-summary .btn { min-height: 46px; border-radius: 11px; font-weight: 750; }
.ozon-register-form { display: grid; gap: 12px; }
.ozon-register-form label { display: grid; gap: 5px; color: var(--site-muted); font-size: 12px; font-weight: 600; }
.ozon-register-form input { width: 100%; min-width: 0; min-height: 44px; padding: 9px 11px; border: 1px solid var(--site-border); border-radius: 10px; }
.ozon-cart-canvas { --bs-offcanvas-width: min(100vw, 520px); }
.ozon-cart-canvas .offcanvas-body { scrollbar-width: thin; scrollbar-color: var(--accent) var(--site-surface); }
.ozon-cart-canvas .cart-mini-item { padding: 16px 16px 14px; box-shadow: none; }
.ozon-cart-canvas .cart-mini-title { padding-right: 26px; }
.ozon-cart-canvas .cart-mini-remove { top: 4px; right: 4px; display: grid; place-items: center; width: 44px; height: 44px; }
.ozon-cart-canvas .cart-mini-controls { flex-wrap: wrap; }
.ozon-cart-canvas .cart-mini-qty :is(.btn, .form-control) { min-width: 40px; min-height: 44px; height: 44px; }
.ozon-cart-canvas .cart-mini-actions .btn { min-height: 46px; }

/* Contacts and reused content use the marketplace chrome and theme surfaces. */
.ozon-contacts-head p { max-width: 620px; margin: 0; color: var(--site-muted); font-size: 14px; line-height: 1.5; }
.ozon-contact-grid { display: grid; gap: 1px; background: var(--site-border); }
.ozon-contact-item { display: grid; align-content: start; gap: 10px; min-width: 0; padding: 20px; background: var(--site-surface); }
.ozon-contact-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ozon-accent-soft); color: var(--accent); font-size: 22px; }
.ozon-contact-item strong { font-size: 17px; }
.ozon-contact-item :is(span:not(.ozon-contact-icon), a) { color: var(--site-muted); font-size: 14px; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
.ozon-contact-item a:hover { color: var(--accent); }
.ozon-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 20px; border-top: 1px solid var(--site-border); }
.ozon-contact-actions .btn { flex: 1 1 140px; min-height: 46px; border-radius: 11px; font-size: 13px; font-weight: 700; }
.ozon-map { background: var(--site-surface-hover); }
.ozon-map iframe { display: block; width: 100%; height: 260px; border: 0; }
.ozon-map-note { padding: 16px 18px; color: var(--site-muted); font-size: 13px; line-height: 1.5; }
.ozon-map-note:empty { display: none; }
.ozon-contact-help { padding: 20px; border-top: 1px solid var(--site-border); }
.ozon-contact-help strong { display: block; margin-bottom: 8px; font-size: 18px; }
.ozon-contact-help p { margin: 0 0 16px; color: var(--site-muted); font-size: 14px; line-height: 1.5; }
.ozon-contact-help .btn { min-height: 46px; border-radius: 11px; }
.ozon-static-shell,
.ozon-seller-shell { min-height: 50vh; }
.ozon-static-shell main:is(.section, .py-4),
.ozon-seller-shell main.section { width: min(100% - 24px, 1480px); max-width: none; margin-inline: auto; padding: 20px 0 32px; }
.ozon-static-shell .container,
.ozon-seller-shell .container { max-width: none; padding-inline: 0; }
.ozon-static-shell :is(.card, .bg-white, .bg-light),
.ozon-seller-shell :is(.card, .bg-white, .bg-light) { border-color: var(--site-border) !important; background: var(--site-surface) !important; color: var(--site-ink); }
.ozon-static-shell .text-dark,
.ozon-seller-shell .text-dark { color: var(--site-ink) !important; }
.ozon-static-shell .breadcrumb a { color: var(--accent); }
.ozon-seller-shell .seller-cover { background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 18%, var(--site-surface)), var(--site-surface-hover)); background-position: center; background-repeat: no-repeat; background-size: cover; }
.ozon-seller-shell :is(.seller-badge, .seller-filter-chip) { background: var(--site-surface-hover); color: var(--site-ink); }
.ozon-seller-shell .seller-category-tile { border-color: var(--site-border); border-radius: 14px; background: var(--site-surface); color: var(--site-ink); }
.ozon-seller-shell .seller-products-grid.ozon-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ozon-seller-shell .seller-results-head { position: static; }

.ozon-site-footer { margin-top: 16px; padding-block: 30px calc(30px + var(--ozon-nav-height) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--site-border); background: var(--site-surface) !important; color: var(--site-ink); }
.ozon-site-footer a { color: var(--site-muted) !important; }
.ozon-site-footer a:hover { color: var(--accent) !important; }
.ozon-footer-grid { display: grid; gap: 26px; }
.ozon-footer-grid > div { display: grid; align-content: start; gap: 10px; min-width: 0; }
.ozon-footer-brand { font-size: 22px; font-weight: 900; letter-spacing: -.025em; }
.ozon-footer-grid strong { font-weight: 800; }
.ozon-footer-grid p { max-width: 360px; margin: 0; color: var(--site-muted); font-size: 13px; line-height: 1.6; }
.ozon-footer-grid a { width: fit-content; min-height: 32px; color: var(--site-muted); font-size: 13px; text-decoration: none; overflow-wrap: anywhere; }
.ozon-footer-grid a:hover { color: var(--accent); }
.ozon-footer-brand > .ozon-brand { color: var(--accent) !important; font-size: 23px; }
.ozon-footer-brand > .ozon-button { width: fit-content; margin-top: 4px; }
.ozon-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--site-border); color: var(--site-muted); font-size: 12px; }
.ozon-footer-bottom a { color: var(--site-muted); text-decoration: none; }

@media (min-width: 480px) {
  .ozon-feed { column-gap: 14px; }
  .ozon-card-title { font-size: 14px; }
  .ozon-card-price { font-size: 21px; }
  .ozon-card-cart-label { font-size: 13px; }
  .ozon-hero.has-showcase { grid-template-columns: 1.15fr 1fr; }
  .ozon-hero-showcase { padding: 22px 22px 22px 0; }
  .ozon-hero h1 { font-size: clamp(29px, 5vw, 56px); }
  .ozon-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 700px) {
  .ozon-site-container,
  .ozon-wrap,
  .ozon-cart-wrap,
  .ozon-contacts-wrap { width: min(100% - 40px, 1480px); }
  .ozon-feed { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
  .ozon-category-tile { flex-basis: 118px; }
  .ozon-promo-tile { min-height: 144px; }
  .ozon-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .ozon-static-shell main:is(.section, .py-4),
  .ozon-seller-shell main.section { width: min(100% - 40px, 1480px); }
}

@media (min-width: 992px) {
  .ozon-wrap,
  .ozon-cart-wrap,
  .ozon-contacts-wrap { padding-block: 28px 44px; }
  .ozon-utility { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
  .ozon-utility > .ozon-site-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .ozon-utility-nav,
  .ozon-utility-actions { display: flex; align-items: center; gap: 18px; min-width: 0; }
  .ozon-utility a,
  .ozon-utility button { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0; border: 0; background: transparent; color: var(--site-muted); font-size: 12px; text-decoration: none; }
  .ozon-utility a:hover,
  .ozon-utility button:hover { color: var(--accent); }
  .ozon-brand-row { grid-template-columns: minmax(120px, auto) auto minmax(200px, 1fr) auto; gap: 16px; padding-block: 8px 10px; }
  .ozon-brand { max-width: 210px; font-size: 27px; }
  .ozon-brand-logo { width: 46px; height: 46px; }
  .ozon-catalog-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 10px 17px; border-radius: 12px; font-size: 14px; font-weight: 800; text-decoration: none; }
  .ozon-catalog-trigger:hover { background: color-mix(in srgb, var(--accent) 88%, var(--site-ink)); color: #fff; }
  .ozon-catalog-trigger i { font-size: 21px; }
  .ozon-header-search { grid-column: auto; min-height: 50px; grid-template-columns: minmax(0, 1fr) 60px; }
  .ozon-header-search input { padding-inline: 15px; }
  .ozon-main-nav { display: flex; align-items: center; gap: 8px; }
  .ozon-main-nav a,
  .ozon-main-nav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 56px; min-height: 50px; padding: 4px 7px; border: 0; border-radius: 11px; background: transparent; color: var(--site-ink); font-size: 11px; font-weight: 650; line-height: 1.2; text-decoration: none; }
  .ozon-main-nav :is(a, button):is(:hover, .is-active) { background: var(--ozon-accent-soft); color: var(--accent); }
  .ozon-main-nav i { font-size: 23px; line-height: 1; }
  .ozon-main-nav .site-cart-badge { top: -3px; right: -6px; }
  .ozon-theme-mobile-button,
  .ozon-mobile-nav { display: none; }
  .ozon-quick-nav { gap: 25px; padding-bottom: 5px; }
  .ozon-home-promo { grid-template-columns: minmax(0, 1fr) 250px; gap: 18px; }
  .ozon-hero { min-height: 336px; }
  .ozon-hero-copy { padding: 34px 30px; }
  .ozon-hero h1 { font-size: clamp(34px, 3.5vw, 54px); }
  .ozon-hero-showcase { gap: 10px; padding-right: 24px; }
  .ozon-hero-product { transform: rotate(-5deg); }
  .ozon-hero-product:nth-child(2) { transform: translateY(15px) rotate(5deg); }
  .ozon-promo-stack { grid-template-columns: minmax(0, 1fr); }
  .ozon-promo-tile { min-height: 0; flex-direction: row; align-items: flex-start; padding: 20px; gap: 12px; }
  .ozon-promo-tile > i { flex: 0 0 auto; font-size: 25px; }
  .ozon-promo-tile > span { position: absolute; right: 18px; bottom: 16px; }
  .ozon-promo-tile p { padding-bottom: 16px; }
  .ozon-category-strip { margin-bottom: 32px; }
  .ozon-feed { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 18px; }
  .ozon-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 24px; }
  .ozon-layout .ozon-feed { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ozon-filter { display: block; position: static; overflow: visible; }
  .ozon-toolbar > strong { display: block; font-size: 14px; }
  .ozon-toolbar-actions { width: auto; }
  .ozon-toolbar-actions .catalog-shared-sort { flex: initial; }
  .ozon-toolbar-actions .catalog-shared-sort select { width: 220px; font-size: 13px; }
  .ozon-mobile-filter-toggle { display: none; }
  .ozon-card-media,
  .ozon-card-media.product-media { border-radius: 18px; }
  .ozon-card-meta { font-size: 12px; }
  .ozon-cart-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
  .ozon-cart-page .cart-row { grid-template-columns: 80px minmax(0, 1fr) 44px; gap: 12px 16px; padding: 20px; }
  .ozon-cart-page .cart-row-thumb { width: 80px; height: 94px; }
  .ozon-cart-page .cart-row-title { font-size: 15px; }
  .ozon-cart-page .cart-row-qty { grid-row: 2; }
  .ozon-cart-summary,
  .ozon-contact-side { position: sticky; top: 164px; }
  .ozon-contacts-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; }
  .ozon-contact-item { min-height: 164px; padding: 24px; }
  .ozon-contact-actions .btn { flex: 0 1 auto; }
  .ozon-map iframe { height: 310px; }
  .ozon-static-shell main:is(.section, .py-4),
  .ozon-seller-shell main.section { padding-block: 28px 44px; }
  .ozon-seller-shell .seller-products-grid.ozon-feed { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ozon-site-footer { margin-top: 24px; padding-block: 38px 24px; }
}

@media (min-width: 1200px) {
  .ozon-feed { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ozon-layout .ozon-feed { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ozon-home-promo { grid-template-columns: minmax(0, 1fr) 290px; }
  .ozon-hero.has-showcase { grid-template-columns: 1.1fr 1fr; }
  .ozon-hero-showcase { gap: 16px; }
  .ozon-hero-product { padding: 14px; font-size: 13px; }
  .ozon-cart-layout { grid-template-columns: minmax(0, 1fr) 370px; }
  .ozon-cart-page .cart-row { grid-template-columns: 92px minmax(0, 1fr) 132px 118px 44px; align-items: center; gap: 16px; }
  .ozon-cart-page .cart-row-thumb { width: 92px; height: 104px; }
  .ozon-cart-page .cart-row-qty { grid-column: auto; grid-row: auto; }
  .ozon-cart-page .cart-row-total { grid-column: auto; display: block; justify-self: end; text-align: right; }
  .ozon-cart-page .cart-row-remove { grid-column: auto; grid-row: auto; }
  .ozon-contacts-layout { grid-template-columns: minmax(0, 1fr) 420px; }
}

@media (min-width: 1440px) {
  .ozon-feed { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ozon-layout .ozon-feed { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.product-related-like-feed.ozon-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .product-related-like-feed.ozon-feed { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 992px) { .product-related-like-feed.ozon-feed { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (max-width: 991.98px) {
  /* Keep the common product purchase bar clear of the marketplace app nav. */
  body[data-storefront-template="ozon"] .mobile-cta {
    bottom: calc(var(--ozon-nav-height) + env(safe-area-inset-bottom, 0px));
    z-index: 1035;
    padding-bottom: 10px;
  }
  body[data-storefront-template="ozon"] main.container.section {
    padding-bottom: calc(194px + env(safe-area-inset-bottom, 0px));
  }
  body[data-storefront-template="ozon"] .product-info .action-row > [data-add-to-cart] {
    display: inline-flex;
    order: -1;
    flex: 1 0 100%;
    min-height: 48px;
  }
  body[data-storefront-template="ozon"] .product-info .action-row > .product-qty {
    display: inline-flex;
    min-height: 44px;
  }
  body[data-storefront-template="ozon"] .product-info .action-row .product-qty :is(.btn, .form-control) {
    min-width: 44px;
    min-height: 44px;
    height: 44px;
  }
  body[data-storefront-template="ozon"] .product-info .action-row > [data-lead-open] {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ozon-category-strip,
  .ozon-category-row { scroll-behavior: auto; }
}
