/* Campus78 — header / home / footer (match live site language) */

:root {
  --c78-black: #000;
  --c78-white: #fff;
  --c78-muted: #777;
  --c78-border: #e5e5e5;
  --c78-input-border: #c8c8c8;
  --c78-header-h: 90px;
  --c78-font: "Roboto", Arial, Helvetica, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* clip (not hidden) — hidden forces a scroll containment and kills PDP sticky */
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--c78-font);
  font-size: 14px;
  line-height: 1.45;
  color: var(--c78-black);
  background: var(--c78-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

.c78-container {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.c78-header {
  position: relative;
  z-index: 100;
  background: var(--c78-black);
  color: var(--c78-white);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, box-shadow .25s ease, color .25s ease;
}
/* Full-bleed header (not 1420 container) so left nav fits one row on desktop */
.c78-header > .c78-container {
  max-width: none;
  width: 100%;
  padding: 0 clamp(16px, 2.2vw, 40px);
}

/* First screen: transparent over Smart Slider */
.c78-header--overlap {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: transparent;
}

/* Shop / category / inner pages — white header + black logo */
.c78-header--light {
  background: var(--c78-white);
  color: var(--c78-black);
  border-bottom: 1px solid rgba(0,0,0,.08);
}

/* On scroll — solid bar */
.c78-header.is-sticky {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--c78-black);
  color: var(--c78-white);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.c78-header--light.is-sticky {
  background: var(--c78-white);
  color: var(--c78-black);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.c78-header__wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--c78-header-h);
  gap: 12px 18px;
  padding-block: 8px;
}

.c78-header__left {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 2px 12px; /* same as menu item gap — no hole between primary/secondary */
  min-width: 0;
}

.c78-nav--primary {
  min-width: 0;
  flex: 0 1 auto; /* don't stretch — keeps «Распродажа» next to «Последний шанс» */
  display: flex;
  justify-content: flex-start;
  max-width: 100%;
}

.c78-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 12px;
  max-width: 100%;
}

.c78-menu > li { position: relative; flex-shrink: 0; }

.c78-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  color: inherit;
}

.c78-menu > li > a:hover { opacity: .72; }

/* Dropdown caret — only for items with submenu (like old Basel header) */
.c78-menu > li.menu-item-has-children > a::after {
  content: "▾";
  display: inline-block;
  font-size: 11px;
  line-height: 1;
  margin-top: -1px;
  opacity: .9;
  flex-shrink: 0;
}

.c78-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  margin: 0;
  padding: 14px 0;
  list-style: none;
  background: var(--c78-black);
  color: var(--c78-white);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  z-index: 200;
}
/* Hover bridge so cursor can reach submenu without closing. */
.c78-menu > li.menu-item-has-children > .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.c78-header--light .c78-menu .sub-menu,
.c78-header--light.is-sticky .c78-menu .sub-menu {
  background: var(--c78-white);
  color: var(--c78-black);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.08);
}
.c78-header--overlap .c78-menu .sub-menu,
.c78-header.is-sticky:not(.c78-header--light) .c78-menu .sub-menu {
  background: #000;
  color: #fff;
  border: 0;
}

.c78-menu > li:hover > .sub-menu,
.c78-menu > li:focus-within > .sub-menu,
.c78-menu > li.is-open > .sub-menu { display: block; }

.c78-menu .sub-menu a {
  display: block;
  padding: 9px 20px;
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: inherit;
  white-space: nowrap;
}

.c78-menu .sub-menu a:hover { opacity: .65; }

.c78-logo {
  justify-self: center;
  display: flex;
  align-items: center;
  padding: 0 6px;
  z-index: 2;
}

.c78-logo__link {
  display: inline-flex;
  align-items: center;
  color: inherit;
}

.c78-logo__img { display: none; max-height: 42px; width: auto; }
.c78-logo--has-img .c78-logo__img { display: block; }
.c78-logo--has-img .c78-logo__text { display: none; }

.c78-logo__text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.c78-logo__text sup {
  font-size: .45em;
  top: -.6em;
  margin-left: 1px;
}

/* Right of logo: tools only — secondary is on the left */
.c78-header__right {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.c78-nav--secondary {
  min-width: 0;
  display: flex;
  justify-content: flex-start;
  flex: 0 1 auto;
  max-width: 100%;
}
.c78-menu--secondary { gap: 2px 12px; flex-wrap: wrap; }
.c78-header__left .c78-menu--secondary > li > a {
  font-size: 10px;
  opacity: .92;
}

.c78-header__tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

a.c78-account,
button.c78-account,
.c78-header .c78-account {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font: inherit;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: none;
  white-space: nowrap;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.c78-account--auth {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  white-space: nowrap;
}
.c78-account__icon {
  display: none;
  flex: 0 0 auto;
}
.c78-account__icon-link {
  display: none;
  color: inherit;
  padding: 4px;
  line-height: 0;
}
.c78-account__label { display: inline; }
.c78-account__link { color: inherit; }
.c78-account__sep { opacity: .55; }

.c78-search-toggle,
.c78-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  padding: 4px;
}

.c78-wishlist {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: inherit;
}

.c78-wishlist__count {
  position: absolute;
  top: -6px; right: -8px;
  min-width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c78-white);
  color: var(--c78-black);
  font-size: 9px;
  line-height: 14px;
  text-align: center;
}
.c78-header--light .c78-wishlist__count {
  background: var(--c78-black);
  color: var(--c78-white);
}

.c78-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  white-space: nowrap;
  color: inherit;
}

.c78-cart__icon { display: inline-flex; }
.c78-cart__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 10px;
}

.c78-burger { display: none; flex-direction: column; gap: 4px; }
.c78-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
}

/* Search overlay */
.c78-search {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(255,255,255,.98);
  display: flex;
  align-items: center;
  justify-content: center;
}
.c78-search[hidden] { display: none !important; }
.c78-search__inner { width: min(640px, 90vw); text-align: center; }
.c78-search__close { margin-bottom: 24px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.c78-search__field {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #ccc;
  padding: 14px 8px;
  font-size: 22px;
  outline: none;
}

.c78-mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 88vw);
  z-index: 190;
  background: #fff;
  padding: 72px 24px 24px;
  box-shadow: -8px 0 24px rgba(0,0,0,.12);
  overflow: auto;
}
.c78-mobile-nav[hidden] { display: none !important; }
.c78-mobile-menu a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.c78-mobile-menu .sub-menu { padding-left: 12px; }
.c78-mobile-menu .sub-menu a { font-size: 11px; border: 0; padding: 6px 0; }

/* ---------- Hero / Smart Slider ---------- */
.c78-hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  background: #111;
  overflow: hidden;
}
.c78-hero--slider { min-height: 0; background: transparent; }
.c78-hero__smart {
  width: 100%;
  line-height: 0;
}
.c78-hero__smart .n2-ss-slider,
.c78-hero__smart .n2-section-smartslider {
  margin: 0 !important;
  max-width: none !important;
}
.c78-hero--empty { display: grid; place-items: center; color: #999; text-align: center; min-height: 70vh; }
.c78-hero__placeholder { padding: 80px 24px; line-height: 1.5; }
.c78-hero__track { position: relative; height: 100%; min-height: 70vh; }
.c78-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.c78-hero__slide.is-active { opacity: 1; pointer-events: auto; }
.c78-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c78-hero__link { display: block; width: 100%; height: 100%; }
.c78-hero__caption {
  position: absolute;
  left: 40px; bottom: 40px;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.c78-hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 44px;
  font-size: 32px;
  line-height: 1;
  color: rgba(0,0,0,.35);
}
.c78-hero__nav--prev { left: 8px; }
.c78-hero__nav--next { right: 8px; }
.c78-hero__dots {
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}
.c78-hero__dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,.25);
}
.c78-hero__dots button.is-active { background: #000; }

/* ---------- Product sections / full-bleed multi-row carousel ---------- */
.c78-section { padding: 48px 0 28px; }
.c78-section--bleed {
  /* Full-bleed without 100vw (avoids horizontal page scroll). */
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}
.c78-section__head {
  margin: 0 auto 28px;
  padding: 0 20px;
  text-align: center;
}
.c78-section__title {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.c78-carousel {
  position: relative;
  width: 100%;
}
.c78-carousel--full {
  padding: 0;
}
.c78-carousel__viewport {
  overflow: hidden;
  width: 100%;
}
.c78-carousel__track {
  display: flex;
  transition: transform .45s ease;
  will-change: transform;
}
.c78-carousel__page {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  padding: 0 48px;
  box-sizing: border-box;
}
.c78-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 30px;
  line-height: 1;
  color: #111;
  background: rgba(255,255,255,.72);
  opacity: .85;
  transition: opacity .2s, background .2s;
}
.c78-carousel__nav:hover { opacity: 1; background: #fff; }
.c78-carousel__nav:disabled { opacity: .25; cursor: default; }
.c78-carousel__nav--prev { left: 4px; }
.c78-carousel__nav--next { right: 4px; }
.c78-carousel__source[hidden] { display: none !important; }

.c78-products {
  display: grid;
  grid-template-columns: repeat(var(--c78-cols, 4), minmax(0, 1fr));
  gap: 16px 12px;
}
.c78-products--carousel {
  grid-template-columns: repeat(var(--c78-cols, 4), minmax(0, 1fr));
}

.c78-product {
  position: relative;
  background: #fff;
  padding-bottom: 8px;
  min-width: 0;
}
.c78-product__media-wrap {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
}
.c78-product__media-wrap.has-hover-image:hover .c78-product__img--main { opacity: 0; }
.c78-product__media-wrap.has-hover-image:hover .c78-product__img--hover { opacity: 1; transform: scale(1.02); }
.c78-product__media {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f5;
}
.c78-product__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .35s ease, transform .45s ease;
}
.c78-product__img--main {
  position: relative;
  z-index: 1;
  display: block;
}
.c78-product__img--hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
}
.c78-product.has-hover-image:hover .c78-product__img--main,
.c78-product__media-wrap.has-hover-image:hover .c78-product__img--main {
  opacity: 0;
}
.c78-product.has-hover-image:hover .c78-product__img--hover,
.c78-product__media-wrap.has-hover-image:hover .c78-product__img--hover {
  opacity: 1;
  transform: scale(1.02);
}
.c78-product:not(.has-hover-image):hover .c78-product__img--main,
.c78-product__media-wrap:not(.has-hover-image):hover .c78-product__img--main {
  transform: scale(1.03);
}
.c78-product__badge {
  position: absolute;
  top: 10px; left: 10px; right: auto;
  z-index: 4;
  background: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1;
  padding: 6px 8px;
  text-transform: uppercase;
  pointer-events: none;
}

/* Hover tools + express */
.c78-product__hover {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.c78-product:hover .c78-product__hover,
.c78-product.is-express-open .c78-product__hover { opacity: 1; }
.c78-product.is-express-open .c78-product__hover { visibility: hidden; }

.c78-product__tools {
  position: absolute;
  top: 52px; right: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: auto;
}
.c78-product__tool {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
  transition: background .15s, color .15s;
}
.c78-product__tool:hover,
.c78-product__tool.is-active { background: #111; color: #fff; }

/* Catalog card wishlist — top-right on image */
.c78-product__wish {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  color: #111;
  background: rgba(255, 255, 255, .92);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
  cursor: pointer;
  transition: transform .15s ease, color .15s ease, background .15s ease;
}
.c78-product__wish:hover { transform: scale(1.08); }
.c78-heart {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: fill .15s ease;
}
.c78-product__wish.is-active .c78-heart,
.c78-pdp__wish.is-active .c78-heart {
  fill: currentColor;
}
.c78-product__wish.is-active {
  color: #111;
}

.c78-product__express {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  background: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: auto;
  transform: translateY(100%);
  transition: transform .22s ease;
}
.c78-product:hover .c78-product__express,
.c78-product.is-touch .c78-product__express { transform: translateY(0); }
.c78-product__express-ico { display: inline-flex; }

/* Express size panel */
.c78-product__express-panel {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 40px 16px 56px;
  background: rgba(245,245,245,.94);
  text-align: center;
}
.c78-product__express-panel[hidden] { display: none !important; }
.c78-product__express-close {
  position: absolute;
  top: 12px; right: 14px;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #111;
}
.c78-product__sizes-label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
}
.c78-product__size-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.c78-product__size {
  min-width: 56px;
  padding: 10px 12px;
  border: 1px solid #bbb;
  background: #fff;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.c78-product__size.is-selected,
.c78-product__size:hover {
  border-color: #000;
  background: #000;
  color: #fff;
}
.c78-product__to-cart {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  min-height: 46px;
  background: #000;
  color: #fff;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.c78-product__to-cart:disabled { opacity: .35; cursor: default; }

.c78-product__title {
  margin: 12px 4px 4px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}
.c78-product__price {
  margin: 0 4px 10px;
  font-size: 13px;
}
.c78-product__price del {
  opacity: .45;
  margin-right: 6px;
  text-decoration: line-through;
}
.c78-product__price ins {
  text-decoration: none;
  font-weight: 500;
}

/* Quick view modal */
.c78-qv-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,.55);
  display: grid;
  place-items: center;
  padding: 32px 24px;
}
.c78-qv-overlay[hidden] { display: none !important; }
.c78-qv-dialog {
  width: min(1100px, 96vw);
  max-height: min(92vh, 860px);
  overflow: auto;
  background: #fff;
  position: relative;
  box-shadow: 0 16px 48px rgba(0,0,0,.28);
}
.c78-qv { position: relative; }
.c78-qv__close {
  position: absolute;
  top: 12px; right: 16px;
  z-index: 5;
  font-size: 30px;
  line-height: 1;
  color: #111;
}
.c78-qv__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 560px;
}
.c78-qv__media {
  position: relative;
  background: #f3f3f3;
  overflow: hidden;
  min-height: 560px;
  padding: 28px 28px 72px;
  box-sizing: border-box;
}
.c78-qv__slider {
  position: relative;
  height: 100%;
  min-height: 460px;
}
.c78-qv__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  display: grid;
  place-items: center;
  padding: 8px;
  box-sizing: border-box;
}
.c78-qv__slide.is-active { opacity: 1; pointer-events: auto; }
.c78-qv__slide img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  background: transparent;
}
.c78-qv__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px; height: 44px;
  font-size: 30px;
  color: #888;
}
.c78-qv__arrow--prev { left: 10px; }
.c78-qv__arrow--next { right: 10px; }
.c78-qv__more {
  position: absolute;
  left: 28px; right: 28px; bottom: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: #000;
  color: #fff;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s;
}
.c78-qv__media:hover .c78-qv__more {
  opacity: 1;
  transform: translateY(0);
}
.c78-qv__info {
  padding: 56px 44px 44px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.c78-qv__title {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
}
.c78-qv__price { font-size: 17px; }
.c78-qv__var-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}
.c78-qv__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.c78-qv__swatch {
  min-width: 52px;
  padding: 9px 11px;
  border: 1px solid #bbb;
  background: #fff;
  font-size: 12px;
  text-transform: uppercase;
}
.c78-qv__swatch.is-selected,
.c78-qv__swatch:hover {
  border-color: #000;
  background: #000;
  color: #fff;
}
.c78-qv__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.c78-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
}
.c78-qty button {
  width: 34px; height: 40px;
  font-size: 16px;
}
.c78-qty input {
  width: 48px;
  height: 40px;
  border: 0;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  text-align: center;
  font: inherit;
}
.c78-qv__cart {
  flex: 1;
  min-height: 42px;
  padding: 0 18px;
  background: #000;
  color: #fff;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.c78-qv__cart:disabled { opacity: .4; cursor: default; }

@media (max-width: 900px) {
  .c78-qv-dialog { width: min(100%, 96vw); max-height: 92vh; }
  .c78-qv__grid { grid-template-columns: 1fr; min-height: 0; }
  .c78-qv__media {
    min-height: 340px;
    padding: 20px 20px 68px;
  }
  .c78-qv__slider { min-height: 280px; }
  .c78-qv__more { left: 20px; right: 20px; bottom: 16px; opacity: 1; transform: none; }
  .c78-qv__info { padding: 28px 22px 32px; }
  .c78-qv__title { font-size: 18px; }
}

/* ---------- Side cart drawer ---------- */
.c78-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 320;
  pointer-events: none;
}
.c78-cart-drawer.is-open { pointer-events: auto; }
.c78-cart-drawer[hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
}
.c78-cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .28s ease;
}
.c78-cart-drawer.is-open .c78-cart-drawer__backdrop { opacity: 1; }
.c78-cart-drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(400px, 92vw);
  background: #fff;
  color: #111;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform .32s ease;
  box-shadow: -8px 0 28px rgba(0,0,0,.18);
}
.c78-cart-drawer.is-open .c78-cart-drawer__panel { transform: translateX(0); }
.c78-cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
}
.c78-cart-drawer__title {
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.c78-cart-drawer__close {
  font-size: 28px;
  line-height: 1;
  color: #111;
}
.c78-cart-drawer__body {
  flex: 1;
  overflow: auto;
  padding: 12px 16px 20px;
}
.c78-cart-drawer__empty {
  margin: 40px 0;
  text-align: center;
  color: #777;
}
.c78-cart-drawer__list { list-style: none; margin: 0; padding: 0; }
.c78-cart-drawer__item {
  display: grid;
  grid-template-columns: 72px 1fr 24px;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.c78-cart-drawer__thumb {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f5f5;
}
.c78-cart-drawer__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c78-cart-drawer__name {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  margin-bottom: 6px;
}
.c78-cart-drawer__qty { font-size: 12px; color: #666; }
.c78-cart-drawer__remove {
  font-size: 20px;
  line-height: 1;
  color: #999;
  text-align: center;
}
.c78-cart-drawer__remove:hover { color: #111; }
.c78-cart-drawer__foot {
  padding: 16px 20px 22px;
  border-top: 1px solid #eee;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.c78-cart-drawer__total {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  font-size: 14px;
}
.c78-cart-drawer__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: #000;
  color: #fff;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}
.c78-cart-drawer__btn--ghost {
  background: #fff;
  color: #111;
  border: 1px solid #111;
}
body.c78-cart-open { overflow: hidden; }

/* ---------- Login side panel ---------- */
.c78-login-drawer {
  position: fixed;
  inset: 0;
  z-index: 330;
  pointer-events: none;
}
.c78-login-drawer.is-open { pointer-events: auto; }
.c78-login-drawer[hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
}
.c78-login-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .28s ease;
}
.c78-login-drawer.is-open .c78-login-drawer__backdrop { opacity: 1; }
.c78-login-drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(380px, 92vw);
  background: #fff;
  color: #111;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform .32s ease;
  box-shadow: -8px 0 28px rgba(0,0,0,.18);
  overflow: auto;
}
.c78-login-drawer.is-open .c78-login-drawer__panel { transform: translateX(0); }
.c78-login-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 28px 8px;
}
.c78-login-drawer__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.c78-login-drawer__close {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #111;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.c78-login-drawer__body { padding: 12px 28px 20px; flex: 1; }
.c78-login-drawer__form .form-row { margin: 0 0 16px; }
.c78-login-drawer__form label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}
.c78-login-drawer__form .input-text {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 0;
  font-size: 15px;
}
.c78-login-drawer__submit {
  width: 100%;
  min-height: 48px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.c78-login-drawer__submit:hover { background: #000; color: #fff; }
.c78-login-drawer__remember { margin-top: 4px !important; }
.c78-login-drawer__remember label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}
.c78-login-drawer__lost { margin: 8px 0 0; }
.c78-login-drawer__lost a {
  font-size: 13px;
  text-decoration: underline;
  color: #333;
}
.c78-login-drawer__foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px 36px;
  border-top: 1px solid #eee;
  margin-top: auto;
}
.c78-login-drawer__avatar { color: #bbb; flex-shrink: 0; }
.c78-login-drawer__create {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #555;
}
.c78-login-drawer__create a {
  color: #111;
  font-weight: 600;
  text-decoration: underline;
}
body.c78-login-open { overflow: hidden; }

/* ---------- Footer (old campus78 mobile layout) ---------- */
.c78-footer {
  background: #000;
  color: #fff;
  margin-top: 60px;
}
.c78-footer a { color: inherit; text-decoration: none; }
.c78-footer a:hover { opacity: .72; }
.c78-footer__main {
  padding: 40px 0 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.c78-footer__brand {
  margin: 0 0 28px;
}
.c78-footer__logo {
  display: inline-block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
}
.c78-footer__logo:hover { opacity: 1; }
.c78-footer__logo sup {
  font-size: .42em;
  top: -.65em;
  margin-left: 1px;
}
.c78-footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  width: 100%;
  max-width: 520px;
  margin-bottom: 28px;
}
.c78-footer__col { min-width: 0; }
.c78-footer__title {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.c78-footer__title::after { display: none; }
.c78-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.c78-footer__menu li { margin-bottom: 10px; }
.c78-footer__menu a {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  opacity: 1;
}
.c78-footer__rule {
  display: block;
  width: 100%;
  max-width: 520px;
  height: 0;
  margin: 0 0 24px;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.c78-footer__store {
  width: 100%;
  max-width: 520px;
  margin: 0 0 22px;
}
.c78-footer__address {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255,255,255,.88);
}
.c78-footer__phone {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
}
.c78-footer__phone a {
  color: #fff;
  text-decoration: none;
}
.c78-footer__social {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
.c78-footer__social a {
  position: relative;
  display: inline-flex;
  width: auto;
  height: auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  opacity: .95;
}
.c78-footer__social img {
  width: 22px;
  height: 22px;
  /* filter: invert(1); */
}
.c78-footer__star {
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 11px;
  line-height: 1;
}
.c78-footer__legal {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.c78-footer__legal li { margin-bottom: 8px; }
.c78-footer__legal a {
  font-size: 12px;
  color: rgba(255,255,255,.55);
}
.c78-footer__disclaimer {
  font-size: 11px;
  line-height: 1.4;
  max-width: 420px;
  opacity: .55;
  margin: 0 0 8px;
}
.c78-footer__copy {
  border-top: 0;
  padding: 0 0 28px;
  text-align: left;
  font-size: 12px;
  opacity: .55;
}
.c78-footer__copy .c78-container {
  padding-top: 0;
}

/* Desktop: keep left-aligned old structure, slightly roomier */
@media (min-width: 901px) {
  .c78-footer__main {
    padding: 56px 0 36px;
  }
  .c78-footer__logo { font-size: 32px; }
  .c78-footer__cols {
    max-width: 640px;
    gap: 32px 64px;
  }
  .c78-footer__rule,
  .c78-footer__store {
    max-width: 640px;
  }
  .c78-footer__social { gap: 32px; }
}

/* Promo bar (Woo store notice analog) — vertical text slider */
.c78-promo {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 0 40px;
  font-size: 13px;
  height: 40px;
}
.c78-promo__viewport {
  height: 100%;
  overflow: hidden;
  position: relative;
}
.c78-promo__track {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  position: relative;
}
.c78-promo__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  opacity: 0;
  transform: translateY(100%);
  transition: transform .45s ease, opacity .45s ease;
  pointer-events: none;
}
.c78-promo__slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.c78-promo__slide.is-leave {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}
.c78-promo__text {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
a.c78-promo__text:hover { text-decoration: underline; }
.c78-promo__close {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border: 1px solid rgba(255,255,255,.5);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  background: transparent;
  cursor: pointer;
}
body.has-promo { padding-bottom: 40px; }

/* Cookie + Telegram FAB */
.c78-cookie {
  position: fixed;
  bottom: 5px; left: 5px;
  z-index: 160;
  max-width: 230px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,.2);
  text-align: center;
}
.c78-cookie[hidden] { display: none !important; }
.c78-cookie p { margin: 0 0 10px; font-size: 12px; color: #000; }
.c78-cookie a { color: #000; text-decoration: underline; }
.c78-cookie__btn {
  padding: 4px 10px;
  background: #000;
  color: #fff;
  border-radius: 15px;
  font-size: 12px;
}

.c78-fabs {
  position: fixed;
  right: 18px;
  bottom: 56px;
  z-index: 140;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.c78-to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #333;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  cursor: pointer;
}
.c78-to-top[hidden] { display: none !important; }
.c78-tg-fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #2AABEE;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}
.c78-tg-fab svg,
.c78-tg-fab img { width: 26px; height: 26px; filter: brightness(0) invert(1); }

body.has-promo { padding-bottom: 44px; }
body.has-promo .c78-fabs { bottom: 64px; }
body.has-promo .c78-cookie { bottom: 52px; }

/* ---------- Shop / category ---------- */
.c78-shop { padding-bottom: 64px; }
.c78-shop__body {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 16px;
}
.c78-shop-hero {
  background: #000;
  color: #fff;
  padding: 28px 0 26px;
  text-align: center;
  position: relative;
}
.c78-shop-hero__inner { position: relative; }
.c78-shop-hero__back {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  line-height: 1;
  color: #fff;
  opacity: .85;
}
.c78-shop-hero__back:hover { opacity: 1; }
.c78-shop-hero__title {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.c78-shop-cats {
  display: none; /* subcategory chips under title removed */
}
.c78-shop-cats a {
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .72;
}
.c78-shop-cats a:hover,
.c78-shop-cats a.is-active { opacity: 1; }

.c78-shop-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 12px;
  flex-wrap: wrap;
}
.c78-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #666;
}
.c78-breadcrumbs a:hover { color: #111; }
.c78-breadcrumbs__sep { opacity: .5; }
.c78-shop-bar__right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.c78-shop-count {
  margin: 0;
  font-size: 12px;
  color: #666;
}
.c78-filters-toggle {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: none;
  color: #111;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.c78-filters-toggle [data-filters-sign] {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.c78-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 0;
  margin-bottom: 8px;
}
.c78-active-filters:empty { display: none; }
.c78-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  font-size: 11px;
  background: #f3f3f3;
  color: #111;
}
.c78-chip:hover { background: #e8e8e8; }
.c78-chip--clear { background: #111; color: #fff; }
.c78-chip--clear:hover { background: #333; }

.c78-filters {
  display: grid;
  grid-template-rows: 0fr;
  margin-bottom: 0;
  transition: grid-template-rows .35s ease, margin-bottom .35s ease;
}
.c78-filters.is-open {
  grid-template-rows: 1fr;
  margin-bottom: 22px;
}
.c78-filters__inner {
  overflow: hidden;
  min-height: 0;
  background: #f5f5f5;
}
.c78-filters.is-open .c78-filters__inner {
  padding: 22px 24px 28px;
}
.c78-filters__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.c78-filters__title {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.c78-filters__list { display: grid; gap: 8px; }
.c78-filters__list a {
  font-size: 13px;
  color: #444;
}
.c78-filters__list a:hover,
.c78-filters__list a.is-active { color: #111; font-weight: 500; }

.c78-shop .c78-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 18px;
}
.c78-shop-loader,
.c78-shop-empty {
  text-align: center;
  padding: 28px 0;
  color: #777;
  font-size: 13px;
}
.c78-shop-end { display: none !important; }
.c78-shop.is-loading .c78-products { opacity: .55; pointer-events: none; }

/* ---------- Single product (PDP) ---------- */
.c78-main--pdp {
  padding: 0 0 72px;
  overflow: visible;
}
.c78-pdp {
  /* overflow-x:clip here creates a sticky containing block and kills
     .c78-pdp__summary-inner { position:sticky } — clip only the gallery */
  overflow: visible;
  max-width: 100%;
}
.c78-pdp__top,
.c78-pdp__related,
.c78-pdp-bar {
  max-width: 100%;
}

/* PDP breadcrumb bar — like old Basel */
.c78-pdp-bar {
  background: #f9f9f9;
  border-top: 1px solid rgba(0,0,0,.06);
  margin: 0 0 28px;
  overflow: hidden;
}
.c78-pdp-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 4px 16px;
  width: 100%;
}
.c78-pdp-bar__left {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
}
.c78-pdp-bar__back {
  flex: 0 0 auto;
  width: 44px;
  height: 40px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #111;
  padding: 0;
}
.c78-pdp-bar__back-ico {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: width .2s ease;
}
.c78-pdp-bar__back-ico::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.c78-pdp-bar__back-ico::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -5px;
  width: 2px;
  height: 7px;
  background: currentColor;
}
.c78-pdp-bar__back:hover .c78-pdp-bar__back-ico { width: 28px; }
.c78-pdp-bar__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #777;
  padding: 0 8px;
}
.c78-pdp-bar__crumbs a { color: #777; }
.c78-pdp-bar__crumbs a:hover { color: #111; }
.c78-pdp-bar__home {
  display: inline-flex;
  color: #111 !important;
  margin-right: 2px;
}
.c78-pdp-bar__sep { opacity: .45; }
.c78-pdp-bar__nav {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.c78-pdp-bar__btn {
  position: relative;
}
.c78-pdp-bar__btn > a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 40px;
  color: #111;
}
.c78-pdp-bar__arrow {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: width .2s ease;
}
.c78-pdp-bar__btn--prev .c78-pdp-bar__arrow::before,
.c78-pdp-bar__btn--next .c78-pdp-bar__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.c78-pdp-bar__btn--prev .c78-pdp-bar__arrow::before { left: -2px; }
.c78-pdp-bar__btn--next .c78-pdp-bar__arrow::before {
  right: -2px;
  transform: translateY(-50%) rotate(-135deg);
}
.c78-pdp-bar__btn:hover .c78-pdp-bar__arrow { width: 28px; }
.c78-pdp-bar__preview {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 40;
  min-width: 240px;
  padding: 10px;
  background: #fff;
  border: 2px solid #efefef;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 10px;
  align-items: start;
}
.c78-pdp-bar__btn--prev .c78-pdp-bar__preview { right: -12px; }
.c78-pdp-bar__btn--next .c78-pdp-bar__preview { right: 0; }
.c78-pdp-bar__btn:hover .c78-pdp-bar__preview {
  opacity: 1;
  visibility: visible;
}
.c78-pdp-bar__preview-thumb {
  grid-row: 1 / span 2;
  width: 50px;
  height: 50px;
  overflow: hidden;
  background: #f3f3f3;
}
.c78-pdp-bar__preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c78-pdp-bar__preview-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.35;
  color: #111;
}
.c78-pdp-bar__preview-price {
  font-size: 12px;
  color: #111;
}
@media (max-width: 900px) {
  .c78-pdp-bar__crumbs { display: none; }
  .c78-pdp-bar__preview { display: none; }
  .c78-pdp-bar { margin-bottom: 18px; }
}

.c78-pdp__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  align-items: stretch;
  gap: 0 72px;
  overflow: visible;
}
.c78-pdp__gallery-wrap {
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}
.c78-pdp__gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: transparent;
}
.c78-pdp__shot {
  position: relative;
  margin: 0;
  line-height: 0;
  background: #f3f3f3;
}
.c78-pdp__zoom {
  display: block;
  cursor: zoom-in;
}
.c78-pdp__img {
  display: block;
  width: 100%;
  height: auto;
}
.c78-pdp__dots {
  display: none;
}
.c78-pdp__badge {
  position: absolute;
  top: 18px; right: 18px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* Override Woo `.summary { width:48%; float:right }` so the column fills 1fr */
.woocommerce div.product .c78-pdp__summary.summary,
.c78-pdp__summary {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  padding: 40px 32px 56px;
  align-self: stretch;
  overflow: visible;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}
.c78-pdp__summary-inner {
  position: sticky;
  top: calc(var(--c78-header-h) + 20px);
  align-self: flex-start; /* don't stretch to column height — sticky needs room to travel */
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  z-index: 5;
  text-align: center;
  color: #111;
}
/* Gift card form needs a bit more room for 2-col field rows */
.c78-pdp__summary-inner:has(#pwgc-purchase-container),
.c78-pdp__summary-inner:has(#c78-gift-card-flag) {
  max-width: 420px;
}
body.admin-bar .c78-pdp__summary-inner {
  top: calc(var(--c78-header-h) + 52px);
}
.c78-pdp .product_title {
  margin: 0 0 16px;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.2;
  color: #111;
  text-align: center;
}
.woocommerce div.product p.c78-pdp__price.price,
.c78-pdp__price {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 500;
  color: #111 !important;
  text-align: center;
}
.c78-pdp__price .amount,
.c78-pdp__price .woocommerce-Price-amount,
.c78-pdp__price .woocommerce-Price-currencySymbol {
  color: #111 !important;
}
.c78-pdp__price del {
  color: #9a9a9a;
  margin-right: 10px;
  font-weight: 400;
  font-size: .92em;
}
.c78-pdp__price del .amount,
.c78-pdp__price del .woocommerce-Price-amount {
  color: #9a9a9a;
}
.c78-pdp__price ins {
  text-decoration: none;
  font-weight: 600;
  color: #111;
}

/* Digi «Плати долями» — insert after .price (Basel-compatible selectors) */
.c78-pdp .digi-dolyame-button--wrapper {
  margin: 0 auto 18px;
  max-width: 100%;
}
.c78-pdp .digi-dolyame-button {
  margin: 0 auto;
  width: 100%;
  justify-content: center;
}
.c78-pdp .digi-dolyame-button .digi-dolyame-button__text {
  font-size: 14px;
}

/* Size guide */
.c78-sizeguide-btn-wrap {
  margin: 0 0 14px;
  text-align: center;
}
.c78-sizeguide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #111;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.c78-sizeguide-btn:hover { opacity: .65; }
.c78-sizeguide-btn__icon { flex: 0 0 auto; }
.c78-sizeguide[hidden] { display: none !important; }
.c78-sizeguide {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.c78-sizeguide__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}
.c78-sizeguide__panel {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(86vh, 900px);
  overflow: auto;
  background: #fff;
  color: #111;
  padding: 36px 32px 40px;
}
.c78-sizeguide__close {
  position: absolute;
  top: 14px; right: 16px;
  font-size: 26px;
  line-height: 1;
  color: #111;
}
.c78-sizeguide__title {
  margin: 0 32px 28px 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}
.c78-sizeguide__table-wrap { overflow: auto; }
.c78-sizeguide__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.c78-sizeguide__table th,
.c78-sizeguide__table td {
  border: 0;
  border-bottom: 1px solid #e8e8e8;
  padding: 14px 12px;
  text-align: center;
  white-space: nowrap;
}
.c78-sizeguide__table th {
  background: #f3f3f3;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 11px;
}
.c78-sizeguide__table tr:last-child td { border-bottom: 0; }

/* Variations as square swatches — outline like old Basel */
.c78-pdp__cart .variations {
  margin: 0 0 18px;
  width: 100%;
}
.c78-pdp__cart .variations th.label {
  display: none;
}
.c78-pdp__cart .variations td.value {
  display: block;
  padding: 0;
}
.c78-pdp__cart .variations select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px; height: 1px;
}
.c78-pdp__swatches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.c78-pdp__swatch {
  min-width: 56px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: uppercase;
  cursor: pointer;
}
.c78-pdp__swatch.is-selected {
  background: #fff;
  color: #111;
  border-width: 2px;
  box-shadow: inset 0 0 0 1px #111;
}
.c78-pdp__swatch:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.c78-pdp__cart .reset_variations { display: none !important; }
.c78-pdp__cart .single_variation_wrap {
  margin-top: 4px;
  width: 100%;
}
.c78-pdp__cart .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
/* PW Gift Card — direct «Купить» (YooKassa), same look as ATC */
.c78-pdp__cart button.c78-gift-buy,
.c78-pdp__cart #c78-gift-buy,
.single-product button.c78-gift-buy {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  background: #000;
  color: #fff;
  border: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.c78-pdp__cart button.c78-gift-buy:disabled,
.single-product button.c78-gift-buy:disabled {
  opacity: .6;
  cursor: wait;
}
/* Gift card form fields — match old Basel layout */
.single-product #pwgc-purchase-container {
  width: 100%;
  margin: 12px 0 8px;
  text-align: left;
}
.single-product #pwgc-purchase-container .pwgc-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  margin: 0 0 10px;
}
.single-product #pwgc-purchase-container .pwgc-field-row .pwgc-field-container {
  margin: 0;
  min-width: 0;
}
.single-product #pwgc-purchase-container .pwgc-label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #111;
  display: block;
}
.single-product #pwgc-purchase-container .pwgc-input-text,
.single-product #pwgc-purchase-container #pwgc-message,
.single-product #pwgc-purchase-container #pwgc-custom-amount {
  width: 100%;
  max-width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fff;
  font-size: 14px;
  box-sizing: border-box;
}
@media (max-width: 480px) {
  .single-product #pwgc-purchase-container .pwgc-field-row {
    grid-template-columns: 1fr;
  }
}
.single-product #pwgc-purchase-container #pwgc-message {
  min-height: 100px;
  resize: vertical;
}
/* Gift card email preview — no scrollbars in narrow summary column */
.single-product #pwgc-email-preview-container {
  display: none;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  margin-top: 12px;
  border: 1px solid #ddd;
  overflow: hidden !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.single-product #pwgc-email-preview-container::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
/* Gift amount: keep native dropdown (override swatch-hidden select rules) */
.c78-pdp__cart .variations select#gift-card-amount,
.c78-pdp__cart .variations select[name="attribute_gift-card-amount"],
.single-product select#gift-card-amount,
.single-product select[name="attribute_gift-card-amount"] {
  position: static !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  width: 100% !important;
  max-width: 280px;
  height: auto !important;
  min-width: 180px;
  min-height: 44px;
  margin: 0 auto 12px;
  padding: 10px 36px 10px 14px;
  border: 1px solid #111;
  border-radius: 0;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23111' d='M1.4.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") no-repeat right 14px center;
  background-size: 12px 8px;
  font-size: 14px;
  color: #111;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  display: block;
}
/* If old swatches were already injected before select, hide them */
.c78-pdp__cart .variations .c78-pdp__swatches:has(+ select#gift-card-amount),
.c78-pdp__cart .variations .c78-pdp__swatches:has(+ select[name="attribute_gift-card-amount"]),
.single-product.product-type-pw-gift-card .c78-pdp__swatches,
body.single-product .product-type-pw-gift-card .c78-pdp__swatches {
  display: none !important;
}
.c78-pdp__cart .woocommerce-variation-price { display: none; }
.c78-pdp__cart .woocommerce-variation-description { display: none; }
.c78-pdp__cart .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d0d0d0;
  margin: 0;
  height: 48px;
  position: relative;
  background: #fff;
}
.c78-pdp__cart .quantity .qty {
  width: 48px;
  height: 46px;
  border: 0;
  text-align: center;
  font-size: 14px;
  color: #111;
  box-shadow: none;
  background: #fff;
  -moz-appearance: textfield;
}
.c78-pdp__cart .quantity .qty::-webkit-outer-spin-button,
.c78-pdp__cart .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.c78-pdp__cart .quantity .c78-qty-btn {
  width: 36px;
  height: 46px;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  color: #111;
  background: #fff;
  border: 0;
  cursor: pointer;
  user-select: none;
}
.c78-pdp__cart .quantity .c78-qty-btn:hover { background: #f3f3f3; }
.c78-pdp__cart .single_add_to_cart_button,
.c78-pdp__cart button.button {
  min-width: 180px;
  height: 48px;
  padding: 0 28px;
  background: #111 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.c78-pdp__cart .single_add_to_cart_button:hover { opacity: .85; }
.c78-pdp__cart .single_add_to_cart_button.disabled,
.c78-pdp__cart .single_add_to_cart_button:disabled,
.c78-pdp__cart .single_add_to_cart_button.wc-variation-selection-needed {
  background: #111 !important;
  color: #fff !important;
  opacity: 1 !important;
}
.c78-pdp__cart form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 10px;
}
.c78-pdp__cart form.variations_form .variations,
.c78-pdp__cart form.cart .variations {
  flex: 0 0 100%;
  margin-bottom: 16px;
}
/* Wishlist under buy — like old Basel */
.c78-pdp__cart-error {
  flex: 0 0 100%;
  margin: 8px 0 0;
  font-size: 12px;
  color: #b42318;
  text-align: center;
}
.c78-product__express.is-shake,
.c78-product__to-cart.is-shake {
  animation: c78-shake .35s ease;
}
@keyframes c78-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.c78-pdp__wish {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px auto 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: #111;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  line-height: 1.2;
  text-decoration: none;
}
.c78-pdp__wish:hover { opacity: .7; }
.c78-pdp__wish svg {
  flex: 0 0 auto;
  display: block;
}
.c78-pdp__wish .c78-heart {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: fill .15s ease;
}
.c78-pdp__wish.is-active .c78-heart {
  fill: currentColor;
}
.c78-pdp__wish [data-wish-label] {
  border-bottom: 1px solid transparent;
}
.c78-pdp__wish:hover [data-wish-label] {
  border-bottom-color: currentColor;
}
.c78-shop--wishlist .c78-product__wish {
  opacity: 1;
}

/* Description: gray band, content aligned to left (gallery) column */
.c78-pdp__desc {
  margin: 0;
  padding: 0;
  background: #f9f9f9;
}
.c78-pdp__desc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  gap: 0 72px;
}
.c78-pdp__desc-inner {
  grid-column: 1;
  padding: 48px 40px 52px 20px;
  text-align: left;
}
.c78-pdp__desc-title {
  margin: 0 0 28px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 1px solid #111;
  display: table;
  margin-left: auto;
  margin-right: auto;
}
.c78-pdp__desc-body {
  font-size: 14px;
  line-height: 1.65;
  color: #222;
  max-width: 640px;
  margin: 0 auto;
}
.c78-pdp__desc-body ul {
  padding-left: 1.2em;
  margin: 12px 0;
}
.c78-pdp__desc-body p { margin: 0 0 12px; }
.c78-pdp__related { margin-top: 48px; }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  .c78-cart__subtotal, .c78-cart__divider { display: none; }
  .c78-menu { gap: 0 10px; }
  .c78-header__wrap { gap: 12px; }
}

@media (max-width: 1200px) {
  .c78-nav--secondary { display: none; }
  .c78-search-toggle { display: none; }
  .c78-menu > li > a { font-size: 9px; }
}

@media (max-width: 1100px) {
  .c78-carousel__page { padding: 0 36px; }
  .c78-products,
  .c78-products--carousel { gap: 12px 10px; }
}

@media (max-width: 900px) {
  :root { --c78-header-h: 64px; }
  .c78-header__left,
  .c78-nav--primary { display: none; }
  .c78-burger { display: inline-flex; }
  .c78-header__wrap {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    min-height: var(--c78-header-h);
  }
  .c78-logo { padding: 0; }
  .c78-logo__text { font-size: 11px; }
  .c78-logo__img { max-height: 21px; }
  .c78-header__right { gap: 10px; }
  .c78-header__tools { gap: 10px; }
  .c78-shop .c78-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 8px; }
  .c78-filters__grid { grid-template-columns: 1fr; gap: 20px; }
  .c78-shop-hero { padding: 22px 0 20px; }
  .c78-shop-bar__right { width: 100%; justify-content: space-between; margin-left: 0; }
  .c78-pdp__top { grid-template-columns: 1fr; gap: 0; }
  /* Mobile PDP gallery: horizontal snap carousel */
  .c78-pdp__gallery {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .c78-pdp__gallery::-webkit-scrollbar { display: none; }
  .c78-pdp__shot {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .c78-pdp__img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }
  /* Gift card mobile slider: 3/4 frame, contain (no crop) */
  .c78-pdp:has(#pwgc-purchase-container) .c78-pdp__img,
  .c78-pdp:has(#c78-gift-card-flag) .c78-pdp__img {
    aspect-ratio: 3 / 4;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
  .c78-pdp:has(#pwgc-purchase-container) .c78-pdp__shot,
  .c78-pdp:has(#c78-gift-card-flag) .c78-pdp__shot {
    box-sizing: border-box;
    padding: 0;
    background: #f3f3f3;
    line-height: 0;
  }
  .c78-pdp:has(#pwgc-purchase-container) .c78-pdp__zoom,
  .c78-pdp:has(#c78-gift-card-flag) .c78-pdp__zoom {
    background: transparent;
    line-height: 0;
  }
  .c78-pdp:has(#pwgc-purchase-container) .c78-pdp__gallery-wrap,
  .c78-pdp:has(#c78-gift-card-flag) .c78-pdp__gallery-wrap {
    overflow-x: clip;
  }
  .c78-pdp__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 12px 0 4px;
  }
  .c78-pdp__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: #ccc;
    cursor: pointer;
  }
  .c78-pdp__dot.is-active {
    background: #111;
  }
  .c78-pdp__summary {
    padding: 22px 16px 28px;
  }
  .c78-pdp__summary-inner {
    position: static;
    max-width: none;
  }
  .c78-pdp__desc-grid { grid-template-columns: 1fr; gap: 0; }
  .c78-pdp__desc-inner { padding: 36px 16px 40px; }
  .c78-section--bleed { overflow: visible; }
  .c78-carousel__page { padding: 0 36px; }
  .c78-carousel__nav {
    display: grid;
    width: 32px;
    height: 32px;
    font-size: 22px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
  }
  .c78-carousel__nav--prev { left: 4px; }
  .c78-carousel__nav--next { right: 4px; }
  .c78-products,
  .c78-products--carousel {
    grid-template-columns: repeat(var(--c78-cols-m, 2), minmax(0, 1fr));
    gap: 12px 8px;
  }
  .c78-product__title { font-size: 11px; }
  .c78-product__cart { padding: 7px 10px; }
  /* Mobile: no express/buy on cards — tap opens PDP */
  .c78-product__hover,
  .c78-product__express,
  .c78-product__express-panel {
    display: none !important;
  }
  .c78-hero { min-height: 56vh; }
  .c78-hero__track { min-height: 56vh; }
  .c78-mobile-nav__close {
    position: absolute;
    top: 20px; right: 20px;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
}

@media (max-width: 576px) {
  .c78-section { padding: 28px 0 16px; }
  .c78-section__head { margin-bottom: 18px; padding: 0 12px; }
  .c78-section__title { font-size: 15px; letter-spacing: .08em; }
  .c78-carousel__page { padding: 0 32px; }
  .c78-carousel__nav {
    display: grid;
    width: 28px;
    height: 28px;
    font-size: 20px;
  }
  .c78-carousel__nav--prev { left: 2px; }
  .c78-carousel__nav--next { right: 2px; }
  .c78-products,
  .c78-products--carousel { gap: 10px 6px; }
  .c78-product__title { font-size: 11px; margin-top: 8px; }
  .c78-product__price { font-size: 12px; }
  .c78-cart__icon svg { width: 20px; height: 20px; }
  body.c78-qv-open { overflow: hidden; }
}

/* ---------- Static pages ---------- */
.c78-main--page {
  padding-bottom: 72px;
}
.c78-page-hero {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 28px 20px 24px;
}
.c78-page-hero__title {
  margin: 0;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.c78-breadcrumbs {
  margin-top: 10px;
  font-size: 12px;
  opacity: .75;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.c78-breadcrumbs a:hover { opacity: 1; text-decoration: underline; }

.c78-page-article {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 20px 0;
}
.c78-page-content {
  font-size: 15px;
  line-height: 1.7;
  color: #222;
  text-align: center;
}
.c78-page-content p { margin: 0 0 18px; }
.c78-page-content h2,
.c78-page-content h3 {
  margin: 36px 0 14px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.c78-page-content ul,
.c78-page-content ol {
  list-style: disc;
  margin: 0 auto 18px;
  padding-left: 1.2em;
  text-align: left;
  max-width: 640px;
}
.c78-page-content img {
  margin: 28px auto;
  max-width: min(100%, 860px);
}
.c78-page-content figure {
  margin: 28px auto;
  max-width: min(100%, 860px);
}
.c78-page-content figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}
.c78-page-content a { text-decoration: underline; }
.c78-empty {
  text-align: center;
  padding: 48px 20px;
  color: #777;
}

/* ---------- Photoshoot archive (3 / row, full width) ---------- */
.c78-main--photoshoot-archive,
.c78-main--photoshoot-single {
  padding-bottom: 64px;
}
.c78-ps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
}
.c78-ps-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  background: #f3f3f3;
}
.c78-ps-card__media {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e8e8e8;
}
.c78-ps-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.c78-ps-card:hover .c78-ps-card__img { transform: scale(1.03); }
.c78-ps-card__caption {
  display: block;
  padding: 14px 12px 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Photoshoot single gallery ---------- */
.c78-ps-shots {
  display: grid;
  grid-template-columns: repeat(var(--c78-ps-cols, 3), minmax(0, 1fr));
  gap: 0;
  width: 100%;
}
.c78-ps-shots__item {
  display: block;
  background: #f3f3f3;
  line-height: 0;
}
.c78-ps-shots__img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .c78-ps-grid { grid-template-columns: 1fr; }
  .c78-ps-shots {
    grid-template-columns: repeat(var(--c78-ps-cols-m, 2), minmax(0, 1fr));
  }
  .c78-page-article { padding-top: 32px; }
}

/* ---------- Checkout (full-bleed) ---------- */
.c78-main--checkout {
  padding: 0;
}
.c78-checkout-hero {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 36px 20px 28px;
}
.c78-checkout-hero__title {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.c78-checkout-hero__bc {
  margin-top: 10px;
  font-size: 12px;
  opacity: .75;
}
.c78-checkout-hero__bc a { color: inherit; }
.c78-checkout-hero__bc span { margin: 0 6px; }
.c78-checkout-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(16px, 3vw, 48px);
}
.c78-checkout-shell--thankyou {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px clamp(16px, 3vw, 48px) 80px;
}

/* Thank-you / order-received — match old Basel campus78.ru */
.c78-thankyou.woocommerce-order {
  margin: 0 auto;
  max-width: 800px;
}
.woocommerce-order-received .woocommerce-thankyou-order-received,
.c78-thankyou .woocommerce-thankyou-order-received {
  background: transparent;
  border: 2px dashed #7a9c59;
  color: #7a9c59;
  font-weight: 600;
  width: 100%;
  text-align: center;
  font-size: 16px;
  margin: 0 0 30px;
  padding: 15px 25px;
  box-sizing: border-box;
}
.woocommerce-order-received .woocommerce-thankyou-order-details,
.c78-thankyou .woocommerce-thankyou-order-details {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
.woocommerce-order-received .woocommerce-thankyou-order-details li,
.c78-thankyou .woocommerce-thankyou-order-details li {
  flex: 1 1 140px;
  margin: 0 0 20px;
  padding: 0 16px;
  border-right: 1px solid #dfdfdf;
  color: #4c4c4c;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
}
.woocommerce-order-received .woocommerce-thankyou-order-details li:last-child,
.c78-thankyou .woocommerce-thankyou-order-details li:last-child {
  border-right: none;
}
.woocommerce-order-received .woocommerce-thankyou-order-details li strong,
.c78-thankyou .woocommerce-thankyou-order-details li strong {
  display: block;
  margin-top: 10px;
  color: #1b1919;
  font-size: 15px;
}
.woocommerce-order-received .woocommerce-order-details__title,
.woocommerce-order-received .woocommerce-column__title,
.woocommerce-order-received .wc-bacs-bank-details-heading,
.c78-thankyou .woocommerce-order-details__title {
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 16px;
  text-align: center;
  font-size: 18px;
  letter-spacing: .04em;
}
.woocommerce-order-received .woocommerce-table--order-details,
.c78-thankyou .woocommerce-table--order-details {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 36px;
  font-size: 14px;
}
.woocommerce-order-received .woocommerce-table--order-details th,
.woocommerce-order-received .woocommerce-table--order-details td,
.c78-thankyou .woocommerce-table--order-details th,
.c78-thankyou .woocommerce-table--order-details td {
  padding: 12px 10px;
  border-bottom: 1px solid #e8e8e8;
  text-align: left;
  vertical-align: top;
}
.woocommerce-order-received .woocommerce-table--order-details tfoot th,
.c78-thankyou .woocommerce-table--order-details tfoot th {
  font-weight: 500;
}
.woocommerce-order-received .woocommerce-table--order-details .product-total,
.woocommerce-order-received .woocommerce-table--order-details tfoot td,
.c78-thankyou .woocommerce-table--order-details .product-total,
.c78-thankyou .woocommerce-table--order-details tfoot td {
  text-align: right;
  white-space: nowrap;
}
.woocommerce-order-received .woocommerce-customer-details,
.c78-thankyou .woocommerce-customer-details {
  margin-top: 12px;
}
.woocommerce-order-received .woocommerce-customer-details > h2,
.woocommerce-order-received .woocommerce-customer-details > h3,
.c78-thankyou .woocommerce-customer-details > h2,
.c78-thankyou .woocommerce-customer-details > h3 {
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  font-size: 16px;
  letter-spacing: .04em;
}
.woocommerce-order-received .woocommerce-customer-details address,
.c78-thankyou .woocommerce-customer-details address {
  padding: 28px;
  border: 2px dashed #d5d5d5;
  font-style: normal;
  line-height: 1.55;
  margin: 0 0 24px;
}
.woocommerce-order-received .woocommerce-thankyou-order-failed-actions,
.c78-thankyou .woocommerce-thankyou-order-failed-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .woocommerce-order-received .woocommerce-thankyou-order-details,
  .c78-thankyou .woocommerce-thankyou-order-details {
    flex-direction: column;
  }
  .woocommerce-order-received .woocommerce-thankyou-order-details li,
  .c78-thankyou .woocommerce-thankyou-order-details li {
    border-right: 0;
    border-bottom: 1px solid #dfdfdf;
    padding: 12px 0;
    margin: 0;
  }
  .woocommerce-order-received .woocommerce-thankyou-order-details li:last-child,
  .c78-thankyou .woocommerce-thankyou-order-details li:last-child {
    border-bottom: 0;
  }
}
.c78-checkout {
  width: 100%;
}
.c78-checkout__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.8fr);
  gap: 32px clamp(24px, 4vw, 64px);
  align-items: start;
  padding: 28px 0 72px;
}
/* Right column — soft panel like old Basel */
.c78-checkout__review {
  position: sticky;
  top: calc(var(--c78-header-h) + 24px);
  padding: 28px 28px 32px;
  margin-top: 0;
  background: #f5f5f5;
  border: 0;
  clip-path: none;
}
.c78-checkout__review > #order_review_heading {
  margin: 0 0 18px !important;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.c78-checkout-shipping {
  margin: 0;
}
.c78-checkout-shipping__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.c78-checkout-shipping__item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  margin: 0 0 2px !important;
  padding: 0 !important;
  font-size: 16px;
  line-height: 1.35;
  color: #111;
}
.c78-checkout-shipping__row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
}
/* Beat `.c78-checkout .form-row label` (display:block + margin-bottom:6px)
   which optically lifts the radio above the text. */
.c78-checkout .form-row .c78-checkout-shipping__item input.shipping_method,
.c78-checkout-shipping__item input.shipping_method {
  margin: 0 !important;
  flex: 0 0 auto;
  position: relative;
  top: 0;
  transform: none;
  vertical-align: middle;
  align-self: center;
}
.c78-checkout .form-row .c78-checkout-shipping__item label,
.c78-checkout-shipping__item label {
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 1.35;
  color: #111;
  cursor: pointer;
  text-align: right;
}
.c78-checkout .form-row .c78-checkout-shipping__item label .amount,
.c78-checkout-shipping__item label .amount {
  font-size: 16px !important;
  font-weight: 400;
}
/* CDEK PVZ map under selected method */
.c78-checkout-shipping .open-pvz-btn,
.c78-checkout-shipping .cdek-office-info {
  width: auto;
  max-width: 100%;
  margin: 4px 0 0 auto;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}
/* Override CDEK green button → black site style */
.c78-checkout-shipping .open-pvz-btn {
  appearance: none !important;
  background: #000 !important;
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  font-weight: 500 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 11px !important;
  line-height: 1.2 !important;
  padding: 10px 14px !important;
  cursor: pointer;
}
.c78-checkout-shipping .open-pvz-btn a {
  display: inline-block;
  color: #fff !important;
  text-decoration: none !important;
  cursor: pointer;
  font-size: inherit !important;
  font-weight: inherit !important;
}
.c78-checkout-shipping .cdek-office-info {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  text-align: right;
  color: #111;
}
.c78-checkout-shipping .cdek-office-info:before {
  display: none !important;
}
.c78-checkout-shipping .cdek-office-code {
  display: none !important;
}
.c78-checkout-shipping__empty,
.c78-checkout-shipping--empty {
  display: none !important;
}
/* City full width; shipping methods appear under it */
.c78-checkout #billing_city_field,
.c78-checkout #billing_city_field.c78-city-field,
.c78-checkout .c78-city-field {
  width: 100% !important;
  flex: 0 0 100% !important;
  max-width: 100% !important;
}
.c78-checkout:not(.c78-has-city) #billing_delivery_heading_field,
.c78-checkout:not(.c78-has-city) #billing_shipping_methods_field,
.c78-checkout:not(.c78-has-shipping) #billing_delivery_heading_field,
.c78-checkout:not(.c78-has-shipping) #billing_shipping_methods_field {
  display: none !important;
}
.c78-checkout.c78-has-city #billing_delivery_heading_field,
.c78-checkout.c78-has-city #billing_shipping_methods_field,
.c78-checkout.c78-has-shipping #billing_delivery_heading_field,
.c78-checkout.c78-has-shipping #billing_shipping_methods_field {
  width: 100% !important;
  flex: 0 0 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
}
.c78-checkout.c78-has-city #billing_delivery_heading_field,
.c78-checkout.c78-has-shipping #billing_delivery_heading_field {
  margin: 10px 0 4px !important;
  text-align: right;
}
.c78-checkout #billing_delivery_heading_field .c78-checkout-heading__text {
  text-align: right;
}
.c78-checkout.c78-has-city #billing_shipping_methods_field,
.c78-checkout.c78-has-shipping #billing_shipping_methods_field {
  margin: 0 0 8px !important;
  display: flex !important;
  justify-content: flex-end;
  text-align: right;
}
.c78-checkout #billing_shipping_methods_field .c78-checkout-shipping,
.c78-checkout #billing_shipping_methods_field .c78-checkout-shipping__list {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: 0;
  text-align: left;
}
/* Order table — white panel on grey review column; «Товар» large like ИТОГО but not bold */
.c78-checkout .shop_table.woocommerce-checkout-review-order-table,
.c78-checkout .woocommerce-checkout-review-order-table {
  width: 100%;
  /* separate so table padding (esp. top under «Товар») actually applies */
  border-collapse: separate;
  border-spacing: 0;
  margin: 0 0 18px;
  padding: 28px 20px 20px;
  background: #fff !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
.c78-checkout .shop_table.woocommerce-checkout-review-order-table thead,
.c78-checkout .shop_table.woocommerce-checkout-review-order-table tbody,
.c78-checkout .shop_table.woocommerce-checkout-review-order-table tfoot,
.c78-checkout .shop_table.woocommerce-checkout-review-order-table tr,
.c78-checkout .shop_table.woocommerce-checkout-review-order-table th,
.c78-checkout .shop_table.woocommerce-checkout-review-order-table td,
.c78-checkout .woocommerce-checkout-review-order-table thead,
.c78-checkout .woocommerce-checkout-review-order-table tbody,
.c78-checkout .woocommerce-checkout-review-order-table tfoot,
.c78-checkout .woocommerce-checkout-review-order-table tr,
.c78-checkout .woocommerce-checkout-review-order-table th,
.c78-checkout .woocommerce-checkout-review-order-table td {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  outline: 0 !important;
}
.c78-checkout .woocommerce-checkout-review-order-table th,
.c78-checkout .woocommerce-checkout-review-order-table td {
  padding: 8px 0;
  border: 0 !important;
  font-size: 14px;
  font-weight: 400 !important;
  line-height: 1.4;
  text-align: left;
  vertical-align: top;
  color: #111;
}
.c78-checkout .woocommerce-checkout-review-order-table thead th {
  padding-top: 0;
  padding-bottom: 10px;
  border: 0 !important;
  font-size: 12px;
  font-weight: 400 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #111;
}
.c78-checkout .woocommerce-checkout-review-order-table thead th.product-name {
  font-size: 26px !important;
  font-weight: 400 !important;
  letter-spacing: .02em;
  line-height: 1.15;
  text-transform: uppercase;
}
.c78-checkout .woocommerce-checkout-review-order-table .product-name,
.c78-checkout .woocommerce-checkout-review-order-table .product-name a,
.c78-checkout .woocommerce-checkout-review-order-table .product-name .product-quantity,
.c78-checkout .woocommerce-checkout-review-order-table .product-name strong,
.c78-checkout .woocommerce-checkout-review-order-table .cart_item td,
.c78-checkout .woocommerce-checkout-review-order-table .cart-subtotal th,
.c78-checkout .woocommerce-checkout-review-order-table .cart-subtotal td,
.c78-checkout .woocommerce-checkout-review-order-table .cart-subtotal .amount,
.c78-checkout .woocommerce-checkout-review-order-table .cart-subtotal .amount bdi {
  font-weight: 400 !important;
}
.c78-checkout .woocommerce-checkout-review-order-table .product-name {
  padding-right: 16px;
}
.c78-checkout .woocommerce-checkout-review-order-table .product-total,
.c78-checkout .woocommerce-checkout-review-order-table tfoot td {
  text-align: right;
  white-space: nowrap;
}
.c78-checkout .woocommerce-checkout-review-order-table .cart-subtotal th,
.c78-checkout .woocommerce-checkout-review-order-table .cart-subtotal td {
  font-size: 14px;
  padding-top: 10px;
}
.c78-checkout .woocommerce-checkout-review-order-table .order-total th,
.c78-checkout .woocommerce-checkout-review-order-table .order-total td {
  padding-top: 14px;
  padding-bottom: 4px;
  font-size: 26px;
  font-weight: 700 !important;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.c78-checkout .woocommerce-checkout-review-order-table .order-total .amount,
.c78-checkout .woocommerce-checkout-review-order-table .order-total .amount bdi {
  font-weight: 700 !important;
  font-size: 26px;
}
/* Shipping lives only under «Доставка» on the left — never in the right totals */
.c78-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-totals,
.c78-checkout .woocommerce-checkout-review-order-table tr.shipping {
  display: none !important;
}
/*
 * Digi: hide modal/button; schedule only in selected payment_box.
 * CSS !important beats Woo jQuery slideUp/slideDown flash.
 */
body.woocommerce-checkout .digi-dolyame-modal,
body.woocommerce-checkout .digi-dolyame-modal__background,
body.woocommerce-checkout .digi-dolyame-modal__wrapper,
body.woocommerce-checkout .digi-dolyame-button--wrapper,
body.woocommerce-checkout .digi-dolyame-button,
body.woocommerce-checkout > .digi-dolyame-scheme,
body.woocommerce-checkout .digi-dolyame-modal .digi-dolyame-scheme {
  display: none !important;
}
.c78-checkout #payment ul.payment_methods > li > .payment_box {
  display: none !important;
  transition: none !important;
  animation: none !important;
}
.c78-checkout #payment ul.payment_methods > li > input[type="radio"]:checked ~ .payment_box {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  margin: 6px 0 4px !important;
  padding: 0 !important;
  background: transparent !important;
}
.c78-checkout #payment ul.payment_methods > li > input[type="radio"]:checked ~ .payment_box.payment_method_dolyamepayment,
.c78-checkout #payment .payment_box.payment_method_dolyamepayment {
  background: #fff !important;
  padding: 16px 16px 14px !important;
}
.c78-checkout #payment ul.payment_methods > li > input[type="radio"]:checked ~ .payment_box.payment_method_dolyamepayment,
.c78-checkout #payment .payment_box.payment_method_dolyamepayment {
  background: #fff !important;
  padding: 16px 16px 14px !important;
}
/* Digi scheme lives in a locked host — never remount-flash */
.c78-checkout .payment_box .c78-digi-host {
  display: block !important;
  margin: 8px 0 0;
  min-height: 0;
}
.c78-checkout.c78-dolyame-selected .payment_box .c78-digi-host.is-ready {
  min-height: 140px;
}
.c78-checkout .payment_box .c78-digi-host .digi-dolyame-scheme,
.c78-checkout .payment_box .digi-dolyame-scheme {
  display: block !important;
  margin: 0;
  animation: none !important;
  transition: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
/* Hide loose Digi schemes outside our locked host (pre-move clones) */
.c78-checkout.c78-dolyame-selected .payment_box > .digi-dolyame-scheme {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.c78-checkout .payment_box .digi-dolyame-scheme__description-details,
.c78-checkout .payment_box .digi-dolyame-scheme__description,
.c78-checkout .payment_box .digi-dolyame-scheme__description-details * {
  color: #111 !important;
}
.c78-checkout .payment_box .digi-dolyame-scheme__payments,
.c78-checkout .payment_box .digi-dolyame-scheme .digi-dolyame-scheme__row {
  gap: 8px;
}
.c78-checkout .payment_box .digi-dolyame-scheme + *,
.c78-checkout .payment_box .digi-dolyame-button--wrapper {
  margin-top: 6px !important;
}
/* address_2 / hidden fields — never flash */
.c78-checkout #billing_address_2_field,
.c78-checkout #shipping_address_2_field,
#billing_address_2_field,
#shipping_address_2_field {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}
/* Default Woo privacy paragraph replaced by checkboxes */
.c78-checkout .woocommerce-privacy-policy-text,
.c78-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text {
  display: none !important;
}
/* Consent checkboxes before place order */
.c78-checkout-consents {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 12px 0 14px;
}
.c78-checkout .form-row.c78-checkout-consent,
.c78-checkout-consent {
  margin: 0 !important;
  padding: 0 !important;
}
.c78-checkout-consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #111;
  cursor: pointer;
}
.c78-checkout-consent input[type="checkbox"] {
  margin-top: 3px;
  flex: 0 0 auto;
}
.c78-checkout-consent a {
  color: #111;
  text-decoration: underline;
}
.c78-checkout-consent .required {
  color: #c00;
  text-decoration: none;
  border: 0;
}
.c78-checkout .woocommerce-billing-fields > h3 { display: none; }
/* No "доставка по другому адресу" */
.c78-checkout #ship-to-different-address,
.c78-checkout .woocommerce-shipping-fields,
.c78-checkout .shipping_address {
  display: none !important;
}
.c78-checkout-heading {
  margin: 18px 0 8px !important;
  clear: both;
}
.c78-checkout-heading__text {
  display: block;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.c78-checkout .woocommerce-billing-fields__field-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
}
.c78-checkout .woocommerce-billing-fields__field-wrapper .form-row {
  float: none;
  margin-right: 0;
}
.c78-checkout .c78-col-3 {
  width: calc(33.333% - 8px);
  flex: 0 0 calc(33.333% - 8px);
}
.c78-checkout .form-row-first,
.c78-checkout .c78-col-2 {
  width: calc(50% - 6px);
  flex: 0 0 calc(50% - 6px);
  max-width: calc(50% - 6px);
}
.c78-checkout .form-row-last {
  width: calc(50% - 6px);
  flex: 0 0 calc(50% - 6px);
  max-width: calc(50% - 6px);
}
#billing_email_field,
#billing_phone_field {
  width: calc(50% - 6px) !important;
  flex: 0 0 calc(50% - 6px) !important;
  max-width: calc(50% - 6px) !important;
  float: none !important;
  clear: none !important;
}
.c78-checkout .form-row-wide,
.c78-checkout .c78-checkout-heading {
  width: 100%;
  flex: 0 0 100%;
  max-width: 100%;
}
.c78-checkout .c78-col-3.form-row-first,
.c78-checkout .c78-col-3.form-row-last {
  width: calc(33.333% - 8px);
  flex-basis: calc(33.333% - 8px);
  max-width: calc(33.333% - 8px);
}
.c78-field-hidden,
.woocommerce-checkout .c78-field-hidden,
#billing_country_field,
#billing_state_field,
#billing_postcode_field,
#billing_country_field + .select2-container,
#billing_state_field + .select2-container {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
}
.c78-address-row.c78-is-hidden,
#billing_address_1_field.c78-is-hidden {
  display: none !important;
}
.suggestions-wrapper { width: 100%; position: relative; z-index: 40; }
.suggestions-suggestions {
  z-index: 10050 !important;
  border: 1px solid #ccc !important;
  border-radius: 0 !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.08) !important;
  pointer-events: auto !important;
}
.suggestions-suggestion {
  pointer-events: auto !important;
  cursor: pointer !important;
}
/* DaData promo chip steals clicks under the field */
.suggestions-promo,
a[href*="dadata.ru/suggestions"] {
  display: none !important;
}
.c78-checkout #order_review_heading,
.c78-checkout .woocommerce-billing-fields h3,
.c78-checkout .woocommerce-additional-fields h3 {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #111;
}
.c78-checkout .form-row {
  margin: 0 0 14px;
}
.c78-checkout .form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: #222;
}
.c78-checkout .form-row .optional {
  font-size: 12px;
  color: #888;
}
.c78-checkout .form-row .input-text,
.c78-checkout .form-row select,
.c78-checkout .select2-container .select2-selection--single {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fff;
  font-size: 15px;
}
/* PW Gift Cards — match old Basel block */
.c78-checkout #pwgc-redeem-gift-card-form,
.c78-checkout .pwgc-checkout-redeem,
.c78-checkout form.pwgc-redeem {
  margin: 8px 0 18px;
}
.c78-checkout #pwgc-redeem-gift-card-number,
.c78-checkout input.pwgc-redeem-gift-card-number,
.c78-checkout #pwgc-redeem-code {
  width: 100%;
  min-height: 44px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fff;
  font-size: 14px;
}
.c78-checkout #pwgc-redeem-button,
.c78-checkout button.pwgc-redeem-button,
.c78-checkout .pwgc-redeem-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: #000 !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.c78-checkout .woocommerce-checkout-payment,
.c78-checkout #payment {
  margin-top: 14px;
  background: #f5f5f5 !important;
  border: 0 !important;
  padding: 0;
  box-shadow: none !important;
}
.c78-checkout .woocommerce-checkout-payment ul.payment_methods {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
}
.c78-checkout .woocommerce-checkout-payment ul.payment_methods > li {
  margin: 0 0 6px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.c78-checkout .woocommerce-checkout-payment ul.payment_methods > li > label {
  display: inline;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 400;
  color: #111;
  cursor: pointer;
}
.c78-checkout .woocommerce-checkout-payment .payment_box {
  margin: 6px 0 4px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  color: #555;
  font-size: 13px;
  line-height: 1.4;
}
.c78-checkout .woocommerce-checkout-payment .payment_box.payment_method_dolyamepayment,
.c78-checkout .payment_box.payment_method_dolyamepayment,
.c78-checkout .payment_method_dolyamepayment .payment_box {
  background: #fff !important;
  padding: 16px 16px 14px !important;
}
.c78-checkout .woocommerce-checkout-payment .payment_box p {
  margin: 0 0 6px;
}
/* Hide Woo payment_box caret/arrow */
#add_payment_method #payment div.payment_box::before,
.woocommerce-cart #payment div.payment_box::before,
.woocommerce-checkout #payment div.payment_box::before,
.c78-checkout #payment div.payment_box::before,
.c78-checkout .payment_box::before {
  display: none !important;
  content: none !important;
  border: 0 !important;
}
.c78-checkout .woocommerce-checkout-payment .place-order {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
}
.c78-checkout #place_order,
.c78-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid #000;
  background: transparent;
  color: #000;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.c78-btn--solid,
.c78-checkout #place_order {
  background: #000;
  color: #fff;
}
.c78-btn:hover,
.c78-btn--solid:hover,
.c78-checkout #place_order:hover {
  background: #222;
  color: #fff;
}
/* Top coupon notice removed — promo lives in right column */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout form.checkout_coupon {
  display: none !important;
}
/* Promo + gift card in one row */
.c78-checkout-codes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  margin: 4px 0 16px;
  align-items: start;
}
.c78-promo-code,
.c78-gift-code {
  margin: 0;
  min-width: 0;
}
.c78-promo-code__title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 400;
  color: #111;
}
.c78-promo-code__row,
.c78-gift-code__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}
.c78-checkout #pwgc-redeem-gift-card-form,
.c78-checkout .c78-gift-code {
  margin: 0 !important;
}
.c78-checkout #pwgc-redeem-error:empty { display: none; }
.c78-promo-code .input-text,
.c78-gift-code .input-text,
.c78-checkout #pwgc-redeem-gift-card-number {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--c78-input-border, #c8c8c8);
  border-radius: 0;
  background: #fff;
  font-size: 14px;
  box-sizing: border-box;
}
.c78-promo-code__btn,
.c78-promo-code .button,
.c78-gift-code .button,
.c78-checkout #pwgc-redeem-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin: 0 !important;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: #000 !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
@media (max-width: 720px) {
  .c78-checkout-codes { grid-template-columns: 1fr; }
}
/* Hide YooKassa logo / icons next to «Онлайн-оплата» */
.c78-checkout .wc_payment_method img,
.c78-checkout .payment_methods img,
.c78-checkout .payment_method_yookassa_widget img,
.c78-checkout .payment_method_yookassa_epl img,
.c78-checkout label[for="payment_method_yookassa_widget"] img,
.c78-checkout label[for="payment_method_yookassa_epl"] img {
  display: none !important;
}

/* ---------- Auth (register page) ---------- */
.c78-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
  padding: 40px 0 72px;
  max-width: 980px;
  margin: 0 auto;
}
.c78-auth__title {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.c78-auth__icon { display: inline-flex; color: #111; }
.c78-auth__note {
  margin: 0 0 24px;
  color: #666;
  font-size: 14px;
  line-height: 1.55;
}
.c78-auth__legal,
.c78-auth__consent {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #666;
}
.c78-auth__legal a,
.c78-auth__consent a { text-decoration: underline; color: #111; }
.c78-auth .form-row { margin: 0 0 14px; }
.c78-auth .form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.c78-auth .input-text {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 0;
  font-size: 15px;
}
.c78-auth .button { width: 100%; max-width: 280px; }
.c78-auth__col--login-cta .button { max-width: 200px; }
.c78-checkout-shell--account { max-width: 1100px; margin: 0 auto; }

/* ---------- Logged-in cabinet full-bleed (Basel-style) ---------- */
.c78-main--cabinet {
  padding: 0;
  width: 100%;
  max-width: none;
}
.c78-cabinet-hero {
  width: 100%;
  max-width: none;
}
.c78-cabinet-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 32px 20px 72px;
  box-sizing: border-box;
}
.c78-cabinet {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 0 40px;
  align-items: start;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.c78-cabinet__aside {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 300px;
  min-width: 0;
  box-sizing: border-box;
}
.c78-cabinet__brand {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #111;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 16px 12px;
  margin: 0;
}
/* Beat Woo default `.woocommerce-MyAccount-navigation { width:30%; float:left }` */
.woocommerce .c78-cabinet .woocommerce-MyAccount-navigation,
.c78-cabinet .woocommerce-MyAccount-navigation,
.c78-cabinet-nav {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
}
.c78-cabinet-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e4e4e4;
  border-top: 0;
}
.c78-cabinet-nav li {
  border-bottom: 1px solid #e4e4e4;
  margin: 0;
}
.c78-cabinet-nav li:last-child { border-bottom: 0; }
.c78-cabinet-nav a {
  display: block;
  padding: 13px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #333;
  background: #fff;
  transition: background .15s ease, color .15s ease;
}
.c78-cabinet-nav a:hover { background: #f5f5f5; }
.c78-cabinet-nav .is-active a,
.c78-cabinet-nav li.is-active a {
  background: #efefef;
  color: #111;
  font-weight: 600;
}
.c78-cabinet__user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 4px 2px;
  color: #444;
}
.c78-cabinet__user-ico {
  flex: 0 0 auto;
  display: inline-flex;
  color: #888;
}
.c78-cabinet__user-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
}
.c78-cabinet__user-hello {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.c78-cabinet__user-out {
  color: #888;
  text-decoration: underline;
  text-underline-offset: 2px;
  width: fit-content;
}
.c78-cabinet__user-out:hover { color: #111; }
/* Beat Woo default `.woocommerce-MyAccount-content { width:68%; float:right }` */
.woocommerce .c78-cabinet .woocommerce-MyAccount-content,
.c78-cabinet .woocommerce-MyAccount-content,
.c78-cabinet__content {
  float: none !important;
  clear: none !important;
  min-width: 0;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
}
.c78-cabinet__hello {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
  color: #222;
}
.c78-cabinet__hello a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.c78-cabinet__intro {
  margin: 0 0 28px;
  padding: 16px 18px;
  background: #f3f3f3;
  color: #555;
  font-size: 14px;
  line-height: 1.55;
}
.c78-cabinet__intro a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.c78-cabinet-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  box-sizing: border-box;
}
.c78-cabinet-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 150px;
  padding: 28px 16px;
  border: 1px solid #e4e4e4;
  background: #fff;
  color: #666;
  text-align: center;
  transition: border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.c78-cabinet-card:hover {
  border-color: #111;
  color: #111;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.c78-cabinet-card__ico {
  display: inline-flex;
  color: inherit;
}
.c78-cabinet-card__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.35;
}
.c78-cabinet-section-title {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.c78-cabinet-balance .pwgc-balance-search,
.c78-cabinet-balance input[type="text"],
.c78-cabinet-balance .button {
  max-width: 420px;
}
.c78-cabinet-balance input[type="text"],
.c78-cabinet-balance input.input-text,
.c78-cabinet-balance .pwgc-input-text,
.c78-cabinet-balance #pwgc-balance-number,
.woocommerce-account .woocommerce-EditAccountForm .input-text,
.woocommerce-account .woocommerce-form-row .input-text,
.woocommerce-account form .input-text,
.c78-address-form .input-text {
  min-height: 48px;
  padding-top: 12px;
  padding-bottom: 12px;
  box-sizing: border-box;
}

/* Greyer input borders site-wide (less harsh than pure black) */
input.input-text,
textarea.input-text,
select.input-text,
.woocommerce input.input-text,
.woocommerce textarea.input-text,
.woocommerce select,
.woocommerce .input-text,
.c78-auth .input-text,
.c78-checkout .form-row .input-text,
.c78-checkout select,
.c78-login-drawer input[type="text"],
.c78-login-drawer input[type="email"],
.c78-login-drawer input[type="password"],
.c78-login-drawer input[type="tel"],
#pwgc-purchase-container input[type="text"],
#pwgc-purchase-container input[type="email"],
#pwgc-purchase-container input[type="tel"],
#pwgc-purchase-container textarea,
#pwgc-purchase-container select,
.c78-cabinet-balance input[type="text"],
.c78-gift select,
.c78-gift input[type="text"],
.c78-gift input[type="email"],
.c78-gift input[type="tel"],
.c78-gift textarea {
  border-color: var(--c78-input-border) !important;
}

/* Address book */
.c78-address-book__hint {
  margin: 0 0 22px;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
  max-width: 520px;
}
.c78-address-book__empty { margin: 0 0 18px; color: #666; }
.c78-address-list {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  max-width: 640px;
}
.c78-address-card {
  position: relative;
  padding: 18px 18px 16px;
  border: 1px solid var(--c78-input-border);
  background: #fff;
}
.c78-address-card.is-default { border-color: #111; }
.c78-address-card__badge {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #111;
}
.c78-address-card__label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
}
.c78-address-card__text {
  margin: 0 0 14px;
  color: #333;
  font-size: 14px;
  line-height: 1.45;
}
.c78-address-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.c78-address-card__form { display: inline; margin: 0; }
.c78-address-card__delete {
  background: none;
  border: 0;
  padding: 0;
  color: #888;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}
.c78-address-card__delete:hover { color: #111; }
.c78-address-book__add { margin: 0; }
.c78-address-form { max-width: 560px; }
.c78-address-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.c78-address-form .form-row { margin: 0 0 14px; }
.c78-address-form .form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}
.c78-address-form .input-text {
  width: 100%;
  border: 1px solid var(--c78-input-border);
  padding: 12px 14px;
  font: inherit;
}
.c78-address-form__default label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  cursor: pointer;
}
.c78-address-form__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}
.c78-address-form__cancel {
  color: #666;
  text-decoration: underline;
  font-size: 14px;
}
.c78-address-form__cancel:hover { color: #111; }
.c78-cabinet-wishlist .c78-cabinet-section-title { margin-bottom: 12px; }
.c78-cabinet-wishlist__bar {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}
.c78-cabinet-wishlist .c78-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 18px;
}
.c78-cabinet-wishlist .c78-shop-empty,
.c78-cabinet-wishlist .c78-shop-loader {
  margin: 18px 0 0;
}
@media (max-width: 1100px) {
  .c78-cabinet-wishlist .c78-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .c78-address-form__row { grid-template-columns: 1fr; }
  .c78-cabinet-wishlist .c78-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 8px; }
}

@media (max-width: 1100px) {
  .c78-cabinet {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 0 28px;
  }
  .c78-cabinet__aside { max-width: 260px; }
  .c78-cabinet-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .c78-cabinet-shell { padding: 18px 14px 56px; }
  .c78-cabinet {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .c78-cabinet__aside { max-width: none; width: 100%; }
  .c78-cabinet__brand { font-size: 12px; padding: 14px 12px; width: 100%; }
  .c78-cabinet-nav,
  .c78-cabinet-nav ul { width: 100%; }
  .c78-cabinet__user { margin-top: 12px; }
  .c78-cabinet-cards { grid-template-columns: 1fr; gap: 12px; }
  .c78-cabinet-card { min-height: 112px; padding: 22px 14px; }
}

/* ---------- Password reset steps ---------- */
.c78-reset {
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 0 72px;
}
.c78-reset__text {
  margin: 0 0 22px;
  color: #444;
  font-size: 15px;
  line-height: 1.5;
}
.c78-reset .form-row { margin: 0 0 14px; }
.c78-reset .form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.c78-reset .input-text {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 0;
  font-size: 15px;
}
.c78-reset .button { width: 100%; }
.c78-reset__back { margin-top: 16px; }
.c78-link {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: #555;
  text-decoration: underline;
  cursor: pointer;
}
.c78-reset__notices:empty { display: none; }
.c78-reset__notice {
  margin: 0 0 16px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.4;
  border: 1px solid var(--c78-border);
}
.c78-reset__notice--ok { background: #f3f9f3; border-color: #c8e0c8; }
.c78-reset__notice--err { background: #faf0f0; border-color: #e8c8c8; }

/* ---------- Guest account helpers ---------- */
.c78-cabinet__guest { grid-column: 1 / -1; }

@media (max-width: 900px) {
  .c78-checkout__grid,
  .c78-auth {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .c78-checkout__review { position: static; }
  .c78-checkout .c78-col-3,
  .c78-checkout .c78-col-3.form-row-first,
  .c78-checkout .c78-col-3.form-row-last,
  .c78-checkout .form-row-first,
  .c78-checkout .form-row-last,
  .c78-checkout .c78-col-2,
  #billing_email_field,
  #billing_phone_field {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* Footer mobile: old campus78 layout (logo + 2 cols + store) */
  .c78-footer__main { padding: 48px 0 20px; }
  .c78-footer__brand { margin: 0 0 28px; padding-top: 4px; }
  .c78-footer__logo { font-size: 26px; }
  .c78-footer__cols { gap: 20px 24px; margin-bottom: 24px; }
  .c78-footer__disclaimer { max-width: none; }
  .c78-footer__copy { padding: 0 0 22px; font-size: 11px; }

  .c78-fabs {
    right: 12px;
    bottom: 52px;
  }
  .c78-to-top { width: 40px; height: 40px; }
  .c78-tg-fab { width: 46px; height: 46px; }
  body.has-promo .c78-fabs { bottom: 58px; }

  .c78-cookie {
    left: 8px;
    right: 70px;
    max-width: none;
    bottom: 8px;
  }
  body.has-promo .c78-cookie { bottom: 48px; }

  .c78-promo {
    height: 36px;
    font-size: 11px;
    padding: 0 36px 0 12px;
  }
  .c78-promo__text { white-space: normal; line-height: 1.25; }
  body.has-promo { padding-bottom: 36px; }

  .c78-login-drawer__panel { width: min(100vw, 420px); }
  .c78-checkout-shell { padding: 0 14px; }
  .c78-checkout-hero { padding: 28px 14px 22px; }
  .c78-checkout-hero__title { font-size: 26px; }
  .c78-auth .button { max-width: none; }
}

@media (max-width: 900px) {
  .c78-account__label { display: none !important; }
  .c78-account__icon,
  .c78-account__icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  button.c78-account--guest {
    padding: 4px;
  }
}

@media (max-width: 600px) {
  .c78-container { padding: 0 14px; }
  .c78-pdp__cart .single_add_to_cart_button,
  .c78-pdp__cart button.button {
    min-width: 0;
    flex: 1 1 auto;
  }
}