/* Final visual pass: single-product scale, motion, checkout map and live order status. */

/* Lightweight brand loader: visible only once per browser session. */
.lin-loader {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  color: #090909;
  opacity: 1;
  visibility: visible;
  transition: opacity .34s ease, visibility .34s step-end;
  animation: lin-loader-failsafe .28s 1.4s forwards;
}
.lin-loader__brand {
  display: grid;
  justify-items: center;
  gap: 9px;
  transform: translateY(-2vh);
}
.lin-loader__mark {
  font-family: "Times New Roman", "Noto Serif CJK SC", serif;
  font-size: clamp(54px, 8vw, 78px);
  font-weight: 400;
  line-height: .9;
  animation: lin-mark-in .72s cubic-bezier(.2,.75,.25,1) both;
}
.lin-loader__name {
  margin-left: .58em;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .58em;
  line-height: 1;
  animation: lin-name-in .58s .12s ease both;
}
.lin-loader__line {
  position: relative;
  width: 92px;
  height: 1px;
  margin-top: 9px;
  overflow: hidden;
  background: #e5e5e5;
}
.lin-loader__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #111;
  transform: translateX(-100%);
  animation: lin-loader-line .82s cubic-bezier(.65,0,.35,1) both;
}
.lin-page-ready .lin-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.lin-loader--quick .lin-loader__mark,
.lin-loader--quick .lin-loader__name,
.lin-loader--quick .lin-loader__line::after {
  animation-duration: .12s;
  animation-delay: 0s;
}
@keyframes lin-mark-in {
  from { opacity: 0; transform: scale(.92) translateY(6px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes lin-name-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lin-loader-line {
  to { transform: translateX(100%); }
}
@keyframes lin-loader-failsafe {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
body > header,
body > main,
body > .collection-title,
body > footer {
  transition: opacity .48s ease, transform .48s cubic-bezier(.2,.7,.2,1);
}

.products {
  width: min(400px, 100%);
}
.products article {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}
.products article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px #0000000d;
}
.product-image img {
  transition:
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.25s ease;
}
.products article:hover .product-image img {
  transform: scale(1.018);
}
.products .product-image {
  position: relative;
}
.products .product-image > img:first-child {
  position: relative;
  z-index: 1;
}
.products .product-image > .catalog-hover-image {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
  opacity: 0;
  transform: scale(1.012);
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.products .card-open {
  z-index: 5;
}
@media (hover: hover) and (pointer: fine) {
  .products article:hover .product-image > img:first-child {
    opacity: 0;
  }
  .products article:hover .product-image > .catalog-hover-image {
    opacity: 1;
    transform: scale(1);
  }
}
.campaign > picture > img {
  animation: hero-reveal 0.9s ease both;
}
.campaign-caption {
  animation: caption-reveal 0.7s 0.15s ease both;
}
.collection-title {
  animation: text-rise .55s .08s ease both;
}
.catalog-top,
.products article,
.catalog-note,
.footer-main {
  animation: text-rise .55s ease both;
}
.products article {
  animation-delay: .08s;
}
.catalog-note,
.footer-main {
  animation-delay: .15s;
}
.catalog-payment {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: #777;
  font-size: 11px;
  letter-spacing: .25px;
  width: min(400px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.catalog-payment img {
  width: 58px;
  height: auto;
  object-fit: contain;
}
.catalog-payment b { color: #111; font-weight: 500; }
.production-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 25px;
  color: #777;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .35px;
}
.production-note span { color: #111; font-size: 11px; }
@media (max-width: 700px) {
  .catalog-payment { font-size: 10px; }
  .legal-links { padding-left: 16px; padding-right: 16px; gap: 9px 16px; }
}
@keyframes text-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.legal-panel-links a {
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.legal-panel-links a:hover {
  transform: translateY(-2px);
  border-color: #111;
}

.shop-main {
  max-width: 930px;
}
.product-layout {
  grid-template-columns: minmax(0, 370px) minmax(330px, 1fr);
  gap: 54px;
}
.main-photo {
  max-height: 520px;
}
.main-photo > img {
  transition:
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.25s ease;
}
.product-kicker {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #999;
  margin: 0 0 13px;
  text-transform: uppercase;
}
#zoom,
.size-heading button,
.primary-action,
.secondary-action,
.color-options span,
.sizes label span {
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
#zoom {
  display: grid;
  place-items: center;
}
#zoom svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
#zoom:hover {
  background: #111;
  color: #fff;
  transform: scale(1.04);
}
.size-heading button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  border-bottom: 1px solid #888;
  padding-bottom: 3px;
}
.size-heading button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.color-options span:hover,
.sizes label span:hover {
  border-color: #888;
  transform: translateY(-1px);
}
.action-with-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.action-with-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.primary-action:not(:disabled):hover {
  background: #333;
  transform: translateY(-1px);
}

.primary-action.is-added {
  background: #176c43;
  border-color: #176c43;
}

.feedback:not(:empty) {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  color: #174f35;
  background: #edf8f2;
  border: 1px solid #bedfcd;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(5px);
}

.feedback.show {
  animation: feedback-in 0.28s ease forwards;
}

.feedback > span:first-child {
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  height: 26px;
  color: #fff;
  background: #23865a;
  border-radius: 50%;
  font-weight: 700;
}

.feedback b,
.feedback small {
  display: block;
}

.feedback b {
  font-size: 11px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.feedback small {
  margin-top: 2px;
  color: #4c6f5e;
  font-size: 10px;
}

@keyframes feedback-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.secondary-action:hover {
  background: #f5f5f5;
  transform: translateY(-1px);
}
body.product-ready .main-photo {
  animation: product-photo-in 0.5s ease both;
}
body.product-ready .purchase {
  animation: product-info-in 0.5s 0.08s ease both;
}
#sizes-dialog {
  max-width: 900px;
  padding: 42px;
  width: calc(100% - 32px);
}
#sizes-dialog h2 {
  font-size: 23px;
  margin-bottom: 10px;
}
.size-dialog-intro {
  max-width: 590px;
  margin-top: 0 !important;
}
.size-table-scroll {
  overflow: auto;
  margin: 25px -4px 0;
  padding: 0 4px;
}
#sizes-dialog table {
  min-width: 760px;
  margin-top: 0;
}
#sizes-dialog th {
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.35px;
  vertical-align: bottom;
}
#sizes-dialog td {
  font-size: 12px;
}
#sizes-dialog tbody tr:hover {
  background: #fafafa;
}
.size-mobile-chart {
  display: none;
}
.measure-guide {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  border: 1px solid #e5e5e5;
  background: #e5e5e5;
}
.measure-guide > div {
  background: #fff;
  padding: 18px;
}
.measure-guide svg {
  width: 25px;
  height: 25px;
  margin-bottom: 15px;
  fill: none;
  stroke: #111;
  stroke-width: 1.25;
}
.measure-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  border: 1px solid #111;
  border-radius: 50%;
  font-size: 12px;
}
.measure-guide small {
  font-size: 10px;
  line-height: 1.6;
  color: #777;
}
.measure-guide b {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}
.measure-guide span {
  font-size: 10px;
  line-height: 1.6;
  color: #777;
}
.size-advice {
  border-left: 2px solid #111;
  padding: 2px 0 2px 15px !important;
  margin-top: 24px !important;
  color: #444 !important;
}

#checkout-dialog[open] {
  animation: checkout-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
#checkout-dialog[open]::backdrop {
  animation: backdrop-in 0.25s ease;
}
.checkout-step:not([hidden]) {
  animation: step-in 0.3s ease both;
}
.checkout-header button,
.checkout-bottom > button,
.delivery-options label > span,
.payment-option,
.pickup-card {
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.checkout-header button:hover {
  background: #f3f3f3;
  transform: rotate(4deg);
}
.checkout-bottom > button:not(:disabled):hover {
  background: #303030;
  transform: translateY(-1px);
}
.delivery-options label > span:hover,
.payment-option:hover {
  border-color: #aaa;
  transform: translateY(-2px);
}

.delivery-options label > span {
  border-radius: 3px;
  background: linear-gradient(145deg, #fff, #fafafa);
}

.delivery-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 13px;
  border: 1px solid #dedede;
  border-radius: 50%;
  background: #fff;
}

.delivery-icon-cdek {
  color: #138b54;
  border-color: #b8dfcc;
  background: #eff9f4;
}
.delivery-brand {
  display: flex;
  align-items: center;
  width: 112px;
  height: 38px;
  margin: 0 0 15px;
}
.delivery-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}
.delivery-brand-post {
  width: 124px;
  height: 42px;
}
.delivery-options input:checked + span,
.payment-option:has(input:checked) {
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px #0000000a,
    inset 0 0 0 1px #111;
}
.delivery-icon {
  width: 27px;
  height: 27px;
  margin: 0 0 18px !important;
  color: #111;
}
.delivery-icon svg,
.pickup-heading svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pickup-heading button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-bottom: 1px solid #777;
  padding: 0 0 3px;
}
.pickup-heading button svg {
  width: 15px;
  height: 15px;
}
.pickup-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  min-height: 360px;
  border: 1px solid #e1e1e1;
  background: #f7f7f7;
  overflow: hidden;
}
.pickup-workspace.loading #pickup-map,
.pickup-workspace.unavailable #pickup-map { visibility: hidden; }
.pickup-tabs { display: none; gap: 6px; margin: 8px 0; }
.pickup-tabs button { flex: 1; min-height: 36px; border: 1px solid #ddd; background: #fff; color: #666; cursor: pointer; font: 10px Arial, sans-serif; letter-spacing: .08em; }
.pickup-tabs button.active { border-color: #111; background: #111; color: #fff; }
#pickup-map {
  min-height: 360px;
  background: #eee;
  isolation: isolate;
}
#pickup-map .leaflet-control-attribution {
  display: none !important;
}
.leaflet-city-button { display: grid; place-items: center; width: 34px; height: 34px; margin-top: 6px; border: 0; background: #fff; color: #111; cursor: pointer; box-shadow: 0 1px 5px rgba(0,0,0,.35); font: 22px/1 Arial, sans-serif; }
.leaflet-city-button:hover { background: #f2f2f2; }
#pickup-map .leaflet-control-zoom a { width: 36px; height: 36px; line-height: 34px; font-size: 23px; color: #111; }
#pickup-list.pickup-list {
  display: block;
  max-height: 360px;
  padding: 8px;
  overflow: auto;
  background: #fff;
}
#pickup-list .pickup-search { display: block; width: 100%; min-height: 40px; margin: 0 0 8px; padding: 8px 10px; border: 1px solid #d8d8d8; background: #fff; font: 12px Arial, sans-serif; }
#pickup-list .pickup-count { padding: 6px 2px 10px; color: #666; font-size: 11px; }
#pickup-list .pickup-pages { display: flex; gap: 8px; margin-top: 8px; }
#pickup-list .pickup-pages button { flex: 1; min-height: 38px; border: 1px solid #111; background: #fff; color: #111; cursor: pointer; font: 11px Arial, sans-serif; }
#pickup-list .pickup-pages button:hover:not(:disabled) { background: #111; color: #fff; }
#pickup-list .pickup-pages button:disabled { cursor: default; opacity: .35; }
#pickup-list > p {
  margin: 0;
  padding: 18px 10px;
  font-size: 10px;
  line-height: 1.7;
  color: #888;
}
.pickup-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-bottom: 7px;
  padding: 12px;
  border: 1px solid #e7e7e7;
  background: #fff;
}
.pickup-card:last-child {
  margin-bottom: 0;
}
.pickup-card:hover {
  border-color: #aaa;
  transform: translateX(-2px);
}
.pickup-card.selected,
.pickup-card:has(input:checked) {
  border-color: #111;
  background: #f8f8f8;
  box-shadow: inset 3px 0 0 #111;
}
.pickup-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pickup-number {
  display: grid !important;
  place-items: center;
  width: 27px;
  height: 27px;
  margin: 0 !important;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 9px;
}
.pickup-card b,
.pickup-card small,
.pickup-card a {
  display: block;
}
.pickup-card b {
  font-size: 10px;
  line-height: 1.45;
}
.pickup-card small {
  margin-top: 5px;
}
.pickup-card a {
  margin-top: 7px;
}
.cdek-map-marker {
  background: transparent;
  border: 0;
}
.cdek-map-marker span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font:
    10px Arial,
    sans-serif;
  box-shadow: 0 3px 12px #0005;
  transition: transform 0.2s ease;
}
.cdek-map-marker:hover span {
  transform: scale(1.12);
}

#account-panel:not([hidden]) {
  animation: account-in 0.35s ease both;
}
.account-orders #orders > p {
  border: 0;
  padding: 22px 0;
  color: #888;
}
.order-card {
  border: 1px solid #e1e1e1;
  margin-bottom: 14px;
  background: #fff;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.order-card:hover {
  border-color: #aaa;
  transform: translateY(-2px);
  box-shadow: 0 12px 34px #0000000a;
}
.order-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 18px;
  border-bottom: 1px solid #eee;
}
.order-head h3 {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 7px;
}
.order-meta {
  font-size: 9px !important;
  color: #999 !important;
  padding: 0 !important;
  border: 0 !important;
  margin: 0 !important;
}
.order-price {
  font-size: 12px;
  white-space: nowrap;
}
.order-body {
  padding: 18px;
}
.order-variant {
  font-size: 10px !important;
  color: #777 !important;
  padding: 0 !important;
  border: 0 !important;
  margin: 0 0 16px !important;
}
.order-status-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #111;
  padding: 7px 10px;
  font-size: 9px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.status-badge:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111;
  box-shadow: 0 0 0 3px #eee;
}
.delivery-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.delivery-timeline li {
  position: relative;
  padding-top: 18px;
  font-size: 8px;
  line-height: 1.45;
  color: #aaa;
  text-align: center;
}
.delivery-timeline li:before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #d8d8d8;
  transform: translateX(-50%);
}
.delivery-timeline li:after {
  content: "";
  position: absolute;
  top: 4px;
  right: 50%;
  width: 100%;
  height: 1px;
  background: #ddd;
}
.delivery-timeline li:first-child:after {
  display: none;
}
.delivery-timeline li.complete {
  color: #111;
}
.delivery-timeline li.complete:before {
  background: #111;
  box-shadow: 0 0 0 1px #111;
}
.delivery-timeline li.complete:after {
  background: #111;
}
.delivery-details {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 5px 12px;
  border-top: 1px solid #eee;
  padding-top: 16px;
}
.delivery-details svg {
  grid-row: 1/4;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #111;
  stroke-width: 1.4;
}
.delivery-details b {
  font-size: 10px;
  font-weight: 400;
}
.delivery-details span,
.delivery-details a {
  font-size: 9px;
  line-height: 1.55;
  color: #777;
}
.delivery-details a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cdek-live-status {
  margin-top: 10px !important;
  padding: 10px !important;
  border: 1px solid #eee !important;
  background: #fafafa;
  color: #555 !important;
  font-size: 9px !important;
}
.order-pay {
  display: block;
  margin-top: 15px;
  padding: 12px 15px;
  background: #111;
  color: #fff;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.8px;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.order-pay:hover {
  background: #333;
  transform: translateY(-1px);
}

@keyframes hero-reveal {
  from {
    opacity: 0.65;
    transform: scale(1.015);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes caption-reveal {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
@keyframes product-photo-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes product-info-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes checkout-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes backdrop-in {
  from {
    background: #0000;
  }
  to {
    background: #000b;
  }
}
@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes account-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 800px) {
  .product-layout {
    grid-template-columns: minmax(0, 380px) minmax(310px, 1fr);
    gap: 30px;
  }
  .main-photo {
    max-height: 500px;
  }
}
@media (max-width: 760px) {
  .pickup-tabs { display: flex; }
  .pickup-workspace {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  #pickup-map {
    min-height: 310px;
  }
  #pickup-list.pickup-list {
    max-height: 270px;
  }
  .pickup-workspace.list-view #pickup-map { display: none; }
  .pickup-workspace.list-view #pickup-list { display: block; }
  .pickup-workspace:not(.list-view) #pickup-list { display: none; }
  .delivery-icon {
    margin-bottom: 10px !important;
  }
  .delivery-options label > span {
    min-height: 92px;
  }
}
@media (max-width: 700px) {
  .products {
    width: min(360px, 100%);
  }
  .products-loading .products article:first-child {
    min-height: 110vw;
  }
  .order-head,
  .order-body {
    padding: 15px;
  }
  .delivery-timeline li {
    font-size: 7px;
  }
  .account-content {
    max-width: none;
  }
  .order-card:hover {
    transform: none;
  }
}
@media (max-width: 650px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
  .main-photo {
    width: min(380px, 100%);
    height: auto;
    max-height: none;
    margin: 0 auto;
  }
  .measure-guide {
    grid-template-columns: 1fr;
  }
  .measure-guide > div {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 0 10px;
  }
  .measure-guide svg {
    grid-row: 1/3;
    margin: 0;
  }
  .measure-guide b,
  .measure-guide span {
    grid-column: 2;
  }
  #sizes-dialog {
    padding: 36px 20px;
  }
}

/* Final presentation pass: campaign slides, Dolями card and touch gallery. */
.campaign > .campaign-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s;
}
.campaign > .campaign-slide.is-active { opacity: 1; visibility: visible; }
.campaign > .campaign-slide > img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; display: block; }
.campaign-pagination { position: absolute; z-index: 3; left: 50%; bottom: 19px; display: flex; gap: 7px; transform: translateX(-50%); }
.campaign-pagination button { width: 28px; height: 2px; padding: 0; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: background .25s ease, width .25s ease; }
.campaign-pagination button.is-active { width: 45px; background: #fff; }
.catalog-payment, .dolyame-preview { display: grid; grid-template-columns: 112px 1fr; gap: 10px 24px; width: min(520px, 100%); padding: 19px 20px 16px; border: 1px solid #dedede; background: #fff; color: #111; }
.catalog-payment { position: relative; margin: 24px auto 0; }
.dolyame-preview { margin: 10px 0 18px; }
.dolyame-brand { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 7px; }
.dolyame-brand img { width: 78px; height: auto; object-fit: contain; }
.dolyame-brand > span { color: #999; font-size: 7px; letter-spacing: 1.15px; }
.dolyame-copy { display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.dolyame-copy strong { font-size: 13px; font-weight: 500; letter-spacing: .15px; }
.dolyame-copy b { color: #111; font-weight: 600; }
.dolyame-copy > span { color: #777; font-size: 9px; letter-spacing: .2px; }
.dolyame-schedule { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; margin-top: 2px; }
.dolyame-schedule i { height: 3px; background: #111; }
.dolyame-schedule i:not(:first-child) { background: #dedede; }
.gallery-arrow, .gallery-counter { position: absolute; z-index: 3; }
.gallery-arrow { top: 50%; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(17,17,17,.12); border-radius: 50%; background: rgba(255,255,255,.88); color: #111; transform: translateY(-50%); cursor: pointer; backdrop-filter: blur(5px); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-counter { right: 14px; bottom: 14px; padding: 6px 8px; background: rgba(255,255,255,.88); color: #555; font-size: 8px; letter-spacing: .7px; backdrop-filter: blur(5px); }
@media (max-width: 650px) {
  .breadcrumbs { flex-wrap: nowrap; align-items: center; overflow: hidden; white-space: nowrap; }
  .breadcrumbs > :nth-child(2), .breadcrumbs > :nth-child(3) { display: none; }
  .breadcrumbs > :last-child { overflow: hidden; text-overflow: ellipsis; }
  .gallery { touch-action: pan-y; }
  .main-photo > img { user-select: none; -webkit-user-drag: none; }
  .gallery-arrow { width: 36px; height: 36px; }
  .thumbnails { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: none; padding: 0 2px 5px; }
  .thumbnails::-webkit-scrollbar { display: none; }
  .thumbnails button { flex: 0 0 54px; scroll-snap-align: center; }
  .catalog-payment, .dolyame-preview { grid-template-columns: 88px 1fr; gap: 9px 12px; padding: 14px; }
  .dolyame-brand img { width: 68px; }
  .dolyame-copy strong { font-size: 11px; }
}

/* Compact payment note requested for the catalog and product. */
.catalog-payment, .dolyame-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(360px, 100%);
  max-width: 100%;
  min-height: 0;
  padding: 9px 12px;
  border: 1px solid #e7e7e7;
}
.catalog-payment { margin: 16px auto 0; }
.dolyame-preview { margin: 8px 0 15px; }
.catalog-payment .dolyame-brand, .dolyame-preview .dolyame-brand { display: block; flex: 0 0 auto; }
.catalog-payment .dolyame-brand img, .dolyame-preview .dolyame-brand img { display: block; width: 68px; }
.catalog-payment .dolyame-brand > span, .dolyame-preview .dolyame-brand > span,
.catalog-payment .dolyame-schedule, .dolyame-preview .dolyame-schedule { display: none; }
.catalog-payment .dolyame-copy, .dolyame-preview .dolyame-copy { gap: 2px; min-width: 0; }
.catalog-payment .dolyame-copy strong, .dolyame-preview .dolyame-copy strong { font-size: 11px; line-height: 1.3; white-space: nowrap; }
.catalog-payment .dolyame-copy > span, .dolyame-preview .dolyame-copy > span { font-size: 9px; line-height: 1.3; }
@media (max-width: 650px) {
  .catalog-payment, .dolyame-preview { gap: 9px; padding: 8px 10px; }
  .catalog-payment .dolyame-brand img, .dolyame-preview .dolyame-brand img { width: 58px; }
  .catalog-payment .dolyame-copy strong, .dolyame-preview .dolyame-copy strong { font-size: 10px; }
  .catalog-payment .dolyame-copy > span, .dolyame-preview .dolyame-copy > span { font-size: 8px; }
}

/* Mobile size guide: turn the wide measurement table into readable size cards. */
@media (max-width: 600px) {
  #sizes-dialog {
    width: calc(100% - 20px);
    max-width: none;
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
    padding: 30px 16px 22px;
    border-radius: 18px;
  }

  #sizes-dialog h2 {
    max-width: 240px;
    font-size: 20px;
    line-height: 1.15;
    margin: 4px 38px 8px 0;
  }

  #sizes-dialog > p:not(.size-dialog-kicker) {
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 16px;
  }

  /* The five explanatory blocks made the phone layout too tall and uneven. */
  #sizes-dialog .measure-guide {
    display: none;
  }

  #sizes-dialog .size-table-scroll {
    overflow: visible;
    margin: 22px 0 0;
    padding: 0;
  }

  #sizes-dialog .size-table-scroll::before {
    display: block;
    margin-bottom: 10px;
    color: #777;
    content: 'Параметры изделия · см';
    font-size: 9px;
    letter-spacing: .8px;
    text-transform: uppercase;
  }

  #sizes-dialog table,
  #sizes-dialog thead,
  #sizes-dialog tbody,
  #sizes-dialog tr,
  #sizes-dialog td {
    display: block;
  }

  #sizes-dialog table {
    width: 100%;
    min-width: 0;
    border: 0;
  }

  #sizes-dialog thead {
    display: none;
  }

  #sizes-dialog tbody {
    display: grid;
    gap: 9px;
  }

  #sizes-dialog tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid #dedbd4;
    border-radius: 10px;
    background: #fff;
  }

  #sizes-dialog td {
    min-height: 52px;
    padding: 9px 11px;
    border: 0;
    border-bottom: 1px solid #eceae5;
    border-right: 1px solid #eceae5;
    background: #fff;
    font-size: 14px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  #sizes-dialog td:nth-child(even) { border-right: 0; }
  #sizes-dialog td:nth-last-child(-n + 2) { border-bottom: 0; }

  #sizes-dialog td::before {
    color: #888;
    content: '';
    font-size: 8px;
    letter-spacing: .45px;
    line-height: 1;
    text-transform: uppercase;
  }

  #sizes-dialog td:nth-child(1) {
    grid-column: 1 / -1;
    min-height: 42px;
    background: #f3f1ec;
    font-size: 16px;
    font-weight: 600;
    border-right: 0;
    border-bottom: 1px solid #dedbd4;
  }

  #sizes-dialog td:nth-child(1)::after {
    color: #8b887f;
    content: 'все значения в сантиметрах';
    font-size: 9px;
    font-weight: 400;
    letter-spacing: .2px;
  }

  #sizes-dialog td:nth-child(1)::before { content: 'Размер'; }
  #sizes-dialog td:nth-child(2)::before { content: 'Обхват груди'; }
  #sizes-dialog td:nth-child(3)::before { content: 'Обхват талии'; }
  #sizes-dialog td:nth-child(4)::before { content: 'Ширина плеч'; }
  #sizes-dialog td:nth-child(5)::before { content: 'Длина рукава'; }
  #sizes-dialog td:nth-child(6)::before { content: 'Длина изделия'; }
}

@media (max-width: 600px) {
  #sizes-dialog .size-table-scroll {
    display: none;
  }

  #sizes-dialog .size-mobile-chart {
    display: block;
    margin-top: 22px;
  }

  #sizes-dialog .size-mobile-chart > p {
    margin: 0 0 10px;
    color: #777;
    font-size: 9px;
    letter-spacing: .8px;
    text-transform: uppercase;
  }

  #sizes-dialog .size-mobile-chart table {
    display: table;
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid #dedbd4;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    table-layout: fixed;
  }

  #sizes-dialog .size-mobile-chart thead {
    display: table-header-group;
  }

  #sizes-dialog .size-mobile-chart tbody {
    display: table-row-group;
  }

  #sizes-dialog .size-mobile-chart tr {
    display: table-row;
  }

  #sizes-dialog .size-mobile-chart th,
  #sizes-dialog .size-mobile-chart td {
    display: table-cell;
    height: 43px;
    min-height: 0;
    padding: 6px 3px;
    border: 0;
    border-right: 1px solid #eceae5;
    border-bottom: 1px solid #eceae5;
    background: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
  }

  #sizes-dialog .size-mobile-chart th:first-child {
    width: 28%;
    padding-left: 10px;
    color: #666;
    font-size: 9px;
    letter-spacing: .35px;
    text-align: left;
    text-transform: uppercase;
  }

  #sizes-dialog .size-mobile-chart thead th {
    height: 40px;
    background: #f3f1ec;
    color: #111;
    font-size: 11px;
    font-weight: 600;
  }

  #sizes-dialog .size-mobile-chart tr > *:last-child {
    border-right: 0;
  }

  #sizes-dialog .size-mobile-chart tbody tr:last-child > * {
    border-bottom: 0;
  }

  #sizes-dialog .size-mobile-chart td::before,
  #sizes-dialog .size-mobile-chart td::after {
    content: none;
  }
}

/* Edge-to-edge product photography. Product uploads are portrait 2:3. */
.gallery {
  min-width: 0;
}
.main-photo {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 2 / 3;
  border: 0;
  background: transparent;
}
.main-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
}
.main-photo.size-guide-view > img {
  object-fit: contain;
  background: #f4f1e9;
}
#zoom {
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);
}
.thumbnails {
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.thumbnails button {
  position: relative;
  width: 58px;
  height: 87px;
  border: 0;
  background: transparent;
  opacity: 0.58;
  overflow: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.thumbnails .size-guide-thumb::before {
  content: "SIZE";
  position: absolute;
  z-index: 2;
  right: 4px;
  top: 4px;
  padding: 3px 4px;
  background: rgba(255,255,255,.9);
  color: #111;
  font-size: 7px;
  letter-spacing: .7px;
}
.thumbnails button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #111;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.thumbnails button:hover,
.thumbnails button[aria-pressed="true"] {
  border: 0;
  opacity: 1;
  transform: translateY(-1px);
}
.thumbnails button[aria-pressed="true"]::after {
  transform: scaleX(1);
}
.thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
}
@media (max-width: 650px) {
  .main-photo {
    width: 100%;
    aspect-ratio: 2 / 3;
  }
  .thumbnails button {
    width: 54px;
    height: 81px;
  }
}

.cookie-banner {
  position: fixed;
  z-index: 2000;
  left: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(620px, calc(100% - 40px));
  padding: 16px 18px;
  border: 1px solid #222;
  background: #fff;
  box-shadow: 0 16px 50px #0002;
}
.cookie-banner p { margin: 0; color: #555; font-size: 10px; line-height: 1.55; }
.cookie-banner a { color: #111; text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner button { flex: 0 0 auto; min-height: 38px; padding: 0 18px; border: 1px solid #111; background: #111; color: #fff; font: 9px Arial; letter-spacing: 1px; cursor: pointer; }
.telegram-invite { position: fixed; z-index: 1500; right: 20px; bottom: 20px; width: min(320px, calc(100% - 40px)); padding: 20px; border: 1px solid #ddd; background: #111; color: #fff; box-shadow: 0 16px 50px #0003; }
.telegram-invite button { position: absolute; top: 7px; right: 9px; border: 0; background: none; color: #aaa; font-size: 20px; cursor: pointer; }
.telegram-invite span { display: block; margin: 0 22px 14px 0; font-size: 11px; letter-spacing: .7px; }
.telegram-invite a { font-size: 9px; letter-spacing: 1px; text-decoration: underline; text-underline-offset: 4px; }
body:has(.cookie-banner) .telegram-invite { bottom: 125px; }
@media (max-width: 650px) {
  .cookie-banner { left: 10px; bottom: 10px; gap: 12px; width: calc(100% - 20px); padding: 13px 14px; }
  .cookie-banner p { font-size: 9px; }
  .cookie-banner button { min-height: 34px; padding: 0 14px; }
  .telegram-invite,
  body:has(.cookie-banner) .telegram-invite { top: 66px; right: 10px; bottom: auto; width: calc(100% - 20px); padding: 15px 16px; }
  .telegram-invite span { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .collection-title,
  .catalog-top,
  .products article,
  .catalog-note,
  .footer-main {
    animation: none;
  }
  .logo,
  .footer-logo,
  .nav-link,
  .header-account,
  .footer-main nav a {
    transition: none;
  }
  .campaign > picture > img,
  .campaign-caption,
  body.product-ready .main-photo,
  body.product-ready .purchase,
  #checkout-dialog[open],
  #checkout-dialog[open]::backdrop,
  .checkout-step:not([hidden]),
  #account-panel:not([hidden]) {
    animation: none;
  }
  .products article,
  .legal-panel-links a,
  #zoom,
  .primary-action,
  .secondary-action,
  .color-options span,
  .sizes label span,
  .checkout-header button,
  .checkout-bottom > button,
  .delivery-options label > span,
  .payment-option,
  .pickup-card,
  .cdek-map-marker span,
  .order-card,
  .order-pay {
    transition: none;
  }
  .products article:hover,
  .legal-panel-links a:hover {
    transform: none;
  }
}

/* Markup-aligned account order cards. */
.account-order {
  border: 1px solid #e1e1e1;
  margin-bottom: 14px;
  background: #fff;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.account-order:hover {
  border-color: #aaa;
  transform: translateY(-2px);
  box-shadow: 0 12px 34px #0000000a;
}
.order-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 18px;
  border-bottom: 1px solid #eee;
}
.order-top h3 {
  margin: 0 0 7px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}
.account-orders #orders .order-top p {
  margin: 0;
  padding: 0;
  border: 0;
  color: #999;
  font-size: 9px;
}
.order-top strong {
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}
.account-orders #orders .order-variant {
  margin: 0;
  padding: 15px 18px 0;
  border: 0;
  color: #777;
  font-size: 10px;
}
.order-current {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 18px 24px;
}
.order-current small {
  color: #999;
  font-size: 8px;
}
.order-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #111;
  padding: 7px 10px;
  font-size: 9px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.order-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111;
  box-shadow: 0 0 0 3px #eee;
}
.order-progress {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0 18px;
}
.order-progress > div {
  position: relative;
  border-top: 1px solid #ddd;
  color: #aaa;
  text-align: center;
}
.order-progress > div > span {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: -11px auto 7px;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  font-size: 8px;
}
.order-progress > div small {
  font-size: 8px;
  line-height: 1.4;
}
.order-progress > div.done {
  border-color: #111;
  color: #111;
}
.order-progress > div.done > span {
  border-color: #111;
  background: #111;
  color: #fff;
}
.order-delivery {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  margin: 22px 18px 0;
  padding: 16px 0 18px;
  border-top: 1px solid #eee;
}
.order-delivery-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: #111;
  stroke-width: 1.4;
}
.order-delivery b {
  font-size: 10px;
  font-weight: 400;
}
.account-orders #orders .order-delivery p {
  margin: 6px 0 0;
  padding: 0;
  border: 0;
  color: #777;
  font-size: 9px;
  line-height: 1.55;
}
.order-tracks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin-top: 9px;
}
.order-tracks a,
.order-tracks span {
  color: #666;
  font-size: 9px;
}
.order-tracks a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.orders-empty {
  padding: 30px 12px;
  text-align: center;
}
.orders-empty > span {
  display: block;
  color: #ccc;
  font-size: 28px;
}
.orders-empty b {
  display: block;
  margin: 14px 0 8px;
  font-size: 12px;
  font-weight: 400;
}
.orders-empty p {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: #888 !important;
}
.account-order .order-pay {
  margin: 0 18px 18px;
}
@media (max-width: 700px) {
  .order-top {
    padding: 15px;
  }
  .order-current {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 15px 24px;
  }
  .order-progress {
    padding: 0 15px;
  }
  .order-progress > div small {
    font-size: 7px;
  }
  .order-delivery {
    margin-left: 15px;
    margin-right: 15px;
  }
  .account-order:hover {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lin-loader,
  body > header,
  body > main,
  body > .collection-title,
  body > footer {
    transition: none !important;
  }
  .lin-loader__mark,
  .lin-loader__name,
  .lin-loader__line::after {
    animation: none !important;
  }
  .account-order {
    transition: none;
  }
}

/* Branded payment marks and city autocomplete. */
.payment-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 62px;
  height: 54px;
  padding: 8px;
  border: 1px solid #e1e1e1;
  background: #fff;
}
.dolyame-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 10px 0 18px;
  padding: 8px 10px;
  border: 1px solid #e5e5e5;
  color: #666;
  font-size: 10px;
  letter-spacing: .02em;
}
.dolyame-preview img { width: 58px; height: auto; object-fit: contain; }
.dolyame-preview b { color: #111; font-weight: 500; }
.order-cancel {
  width: calc(100% - 36px);
  margin: 10px 18px 18px;
  padding: 11px 14px;
  border: 1px solid #d7d7d7;
  background: #fff;
  color: #777;
  font: inherit;
  font-size: 10px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.order-cancel:hover { border-color: #111; color: #111; background: #fafafa; }
.order-cancel:disabled { opacity: .5; cursor: wait; }
@media (max-width: 650px) {
  .dolyame-preview { max-width: 100%; font-size: 9px; }
}
.payment-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.payment-option {
  min-width: 0;
  min-height: 88px;
}
.payment-option > span:last-child {
  min-width: 0;
}
.payment-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.payment-sbp .payment-logo {
  width: 76px;
  height: 62px;
  padding: 8px;
  border-color: #111;
  background: #fff;
}
.sbp-logo {
  padding: 3px !important;
}
.mir-logo {
  width: 96px;
  height: 54px;
  padding: 9px;
}
.payment-sbp .payment-logo img {
  filter: drop-shadow(0 2px 8px #0002);
}
.cards-logo {
  width: 104px;
  height: 54px;
  padding: 9px;
}
.dolyame-logo {
  width: 96px;
  height: 54px;
  padding: 10px;
}
.checkout-consents label {
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
}
.checkout-consents input[type="checkbox"] {
  appearance: auto;
  width: 18px;
  height: 18px;
  min-height: 0;
  padding: 0;
  margin: 1px 0 0;
}
.checkout-consents label > span {
  min-width: 0;
  margin: 0;
}
.city-field {
  position: relative;
  z-index: 500;
}
.city-suggestions {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow: auto;
  border: 1px solid #111;
  background: #fff;
  box-shadow: 0 14px 35px #0002;
}
.city-suggestions > p {
  margin: 0;
  padding: 11px 13px;
  border-bottom: 1px solid #eee;
  color: #888;
  font-size: 9px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.city-suggestions button {
  display: grid;
  grid-template-columns: minmax(90px, 0.7fr) 1.3fr;
  gap: 15px;
  width: 100%;
  padding: 12px 13px;
  border: 0;
  border-bottom: 1px solid #eee;
  background: #fff;
  color: #111;
  text-align: left;
  cursor: pointer;
}
.city-suggestions button:hover,
.city-suggestions button:focus-visible {
  background: #f4f4f4;
}
.city-suggestions b {
  font-size: 11px;
  font-weight: 400;
}
.city-suggestions small {
  color: #888;
  font-size: 9px;
  line-height: 1.4;
}
.post-map-marker span {
  background: #1254a1;
}
.pickup-card:has(input:checked) .pickup-number {
  background: #1254a1;
}
@media (max-width: 650px) {
  .payment-options {
    grid-template-columns: 1fr;
  }
  .payment-logo {
    width: 58px;
    height: 49px;
  }
  .payment-sbp .payment-logo {
    width: 72px;
    height: 58px;
  }
  .cards-logo {
    width: 98px;
  }
  .city-suggestions button {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Compact Dolями card: keep it visually subordinate to the product card. */
body .catalog-payment, body .dolyame-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(360px, 100%);
  min-height: 0;
  padding: 9px 12px;
}
body .catalog-payment { margin: 16px auto 0; }
body .dolyame-preview { margin: 8px 0 15px; }
body .catalog-payment .dolyame-brand, body .dolyame-preview .dolyame-brand { display: block; flex: 0 0 auto; }
body .catalog-payment .dolyame-brand img, body .dolyame-preview .dolyame-brand img { display: block; width: 68px; }
body .catalog-payment .dolyame-brand > span, body .dolyame-preview .dolyame-brand > span,
body .catalog-payment .dolyame-schedule, body .dolyame-preview .dolyame-schedule { display: none; }
body .catalog-payment .dolyame-copy, body .dolyame-preview .dolyame-copy { gap: 2px; min-width: 0; }
body .catalog-payment .dolyame-copy strong, body .dolyame-preview .dolyame-copy strong { font-size: 11px; line-height: 1.3; white-space: nowrap; }
body .catalog-payment .dolyame-copy > span, body .dolyame-preview .dolyame-copy > span { font-size: 9px; line-height: 1.3; }
@media (max-width: 650px) {
  body .catalog-payment, body .dolyame-preview { gap: 9px; padding: 8px 10px; }
  body .catalog-payment .dolyame-brand img, body .dolyame-preview .dolyame-brand img { width: 58px; }
  body .catalog-payment .dolyame-copy strong, body .dolyame-preview .dolyame-copy strong { font-size: 10px; }
  body .catalog-payment .dolyame-copy > span, body .dolyame-preview .dolyame-copy > span { font-size: 8px; }
}

/* Keep the final mobile presentation rules last so legacy component styles cannot override them. */
.catalog-payment, .dolyame-preview { display: grid; grid-template-columns: 112px 1fr; gap: 10px 24px; width: min(520px, 100%); padding: 19px 20px 16px; border: 1px solid #dedede; background: #fff; color: #111; }
.catalog-payment { position: relative; margin: 24px auto 0; }
.dolyame-preview { margin: 10px 0 18px; }
.dolyame-brand { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 7px; }
.dolyame-brand img { width: 78px; height: auto; object-fit: contain; }
.dolyame-brand > span { color: #999; font-size: 7px; letter-spacing: 1.15px; }
.dolyame-copy { display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.dolyame-copy strong { font-size: 13px; font-weight: 500; letter-spacing: .15px; }
.dolyame-copy b { color: #111; font-weight: 600; }
.dolyame-copy > span { color: #777; font-size: 9px; letter-spacing: .2px; }
.dolyame-schedule { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; margin-top: 2px; }
.dolyame-schedule i { height: 3px; background: #111; }
.dolyame-schedule i:not(:first-child) { background: #dedede; }
.gallery-arrow, .gallery-counter { position: absolute; z-index: 3; }
.gallery-arrow { top: 50%; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(17,17,17,.12); border-radius: 50%; background: rgba(255,255,255,.88); color: #111; transform: translateY(-50%); cursor: pointer; backdrop-filter: blur(5px); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-counter { right: 14px; bottom: 14px; padding: 6px 8px; background: rgba(255,255,255,.88); color: #555; font-size: 8px; letter-spacing: .7px; backdrop-filter: blur(5px); }
@media (max-width: 650px) {
  .breadcrumbs { flex-wrap: nowrap; align-items: center; overflow: hidden; white-space: nowrap; }
  .breadcrumbs > :nth-child(2), .breadcrumbs > :nth-child(3) { display: none; }
  .breadcrumbs > :last-child { overflow: hidden; text-overflow: ellipsis; }
  .gallery { touch-action: pan-y; }
  .main-photo > img { user-select: none; -webkit-user-drag: none; }
  .gallery-arrow { width: 36px; height: 36px; }
  .thumbnails { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: none; padding: 0 2px 5px; }
  .thumbnails::-webkit-scrollbar { display: none; }
  .thumbnails button { flex: 0 0 54px; scroll-snap-align: center; }
  .catalog-payment, .dolyame-preview { grid-template-columns: 88px 1fr; gap: 9px 12px; padding: 14px; }
  .dolyame-brand img { width: 68px; }
  .dolyame-copy strong { font-size: 11px; }
}
