

/* Start:/local/templates/mainTpl/assets/css/style.css?179076568680213*/
@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background: #fff;
  color: #000;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

.z1 {
  z-index: 1;
}

.z2 {
  z-index: 2;
}

.z3 {
  z-index: 3;
}

/* ===== Variables ===== */
:root {
  --color-blue: #1677ff;
  --color-text: #101112;
  --color-border: #e2dfda;
  --color-muted: #6b7280;
  --font-heading: "Roboto", Arial, sans-serif;
  --font-body: "Roboto", Arial, sans-serif;
  --container-width: 1200px;
  --large: 24px;
  --medium: 16px;
  --small: 8px;
}

/* На 768px и уже «большой» отступ сжимается до среднего — как в макете
   (assets/shared-blocks.css): отступы хероблоков, панелей и кнопок,
   заданные через var(--large), на мобильном становятся 16px. */
@media (max-width: 768px) {
  :root {
    --large: 16px;
  }
}
/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.4;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open-lock {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.d-none {
  display: none;
}

.nav-arrow {
  width: 16.67px;
  height: 16.67px;
  vertical-align: middle;
  margin-bottom: 2.5px;
}

.nav-arrow-menu {
  position: relative;
  top: 1.67px;
  margin-left: 1.67px;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: min(var(--container-width), 100% - 33.33px);
  margin-inline: auto;
}

.mobile-break {
  display: none;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  font-family: var(--font-body), sans-serif;
  font-size: 15.83px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: translateY(1.67px);
}

.btn-purple {
  background: #8639F0;
  color: #fff;
  padding: 6.67px 20px;
}

.btn-purple:hover,
.btn-purple:active {
  background: #1e1e1e;
  color: #fff;
  transition: none;
}

.btn-red {
  background: #FD4B3E;
  color: #fff;
  padding: 6.67px 20px;
}

.btn-red:hover,
.btn-red:active {
  background: #1e1e1e;
  color: #fff;
  transition: none;
}

.btn-yellow {
  background: #F1C410;
  color: var(--color-text);
  padding: 6.67px 20px;
}

.btn-yellow:hover,
.btn-yellow:active {
  background: #1e1e1e;
  color: #fff;
  transition: none;
}

.btn-orange {
  background: #F49E11;
  color: var(--color-text);
  padding: 6.67px 20px;
}

.btn-orange:hover,
.btn-orange:active {
  background: #1e1e1e;
  color: #fff;
  transition: none;
}

.btn-blue {
  background: #A5E1FB;
  color: #0d3b73;
  padding: 6.67px 20px;
}

.btn-blue:hover,
.btn-blue:active {
  background: #1e1e1e;
  color: #fff;
  transition: none;
}

.photo-upload-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E3F9EC;
  color: #16803C;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-body), sans-serif;
  font-weight: 500;
  font-size: 15px;
  transform: translateX(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.photo-upload-toast.is-visible {
  transform: translateX(0);
  opacity: 1;
}

@media (max-width: 768px) {
  main {
    display: flex;
    flex-direction: column;
  }
}
.page-preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.page-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-preloader-img {
  display: block;
  width: 96px;
  height: 96px;
}

/* ===== Header ===== */
.site-header {
  position: relative;
  padding-top: 20px;
  display: flex;
  align-items: center;
}

.header-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-top {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 0 17px;
  align-items: center;
}

.site-search {
  position: absolute;
  top: 3.33px;
  right: 3.33px;
  z-index: 20;
}

.site-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: none;
  background: none;
  padding: 0;
  color: var(--color-text);
  cursor: pointer;
  transition: color 0.2s ease;
}

.site-search-toggle:hover {
  color: var(--color-blue);
}

.site-search-toggle svg {
  width: 15px;
  height: 15px;
}

.site-search-panel {
  position: absolute;
  top: 0;
  right: 26.67px;
  height: 20px;
  width: 0;
  overflow: hidden;
  opacity: 0;
  transition: width 0.2s ease, opacity 0.2s ease;
}

.site-search.is-open .site-search-panel {
  width: 183.33px;
  max-width: calc(100vw - 80px);
  opacity: 1;
}

.site-search-input {
  width: 183.33px;
  max-width: calc(100vw - 80px);
  height: 100%;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  padding: 0 8.33px;
  font-family: var(--font-body), sans-serif;
  font-size: 11.67px;
  color: var(--color-text);
}

.site-search-input:focus {
  outline: none;
  border-color: var(--color-blue);
}

.header-brand {
  grid-column: 1/7;
  display: flex;
  align-items: center;
}

.header-brand .logo {
  width: 100%;
}

.logo-desktop {
  width: 100%;
  aspect-ratio: 314/91;
  height: auto;
}

.logo-mobile {
  display: none;
}

.about-heading-mobile {
  display: none;
}

.about-header-note-mobile {
  display: none;
}

.header-phone-icon {
  display: none;
}

.header-mobile-title,
.header-mobile-info,
.header-mobile-nav {
  display: none;
}

.header-tagline {
  grid-column: 9/span 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 6px;
}

.header-tagline-title {
  font-family: var(--font-heading), sans-serif;
  font-weight: 500;
  font-size: 21px;
  line-height: 29px;
  letter-spacing: 0;
  color: var(--color-text);
}

.header-tagline-main-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header-tagline-main {
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 24px;
  color: var(--color-text);
}

.header-tagline-sub {
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 14.17px;
  color: var(--color-muted);
}

.header-email {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1.67px;
}

.header-email-address {
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 24px;
  white-space: nowrap;
  color: var(--color-text);
  border-bottom: 1px solid rgba(16, 17, 18, 0.1);
  transition: color 0.2s ease;
}

.header-email-address:hover {
  color: var(--color-blue);
  transition: none;
}

.header-email-link {
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 14.17px;
  line-height: 1.3;
  color: var(--color-text);
  border-bottom: 1px solid rgba(16, 17, 18, 0.1);
  transition: color 0.2s ease;
}

.header-email-link:hover {
  color: var(--color-blue);
  transition: none;
}

.header-contact {
  grid-column: 20/-1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 4px;
}

.header-hours {
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 24px;
  color: var(--color-text);
}

.header-social-group {
  display: flex;
  align-items: center;
  gap: 13.33px;
}

.header-social-label {
  font-size: 12.5px;
  color: var(--color-text);
}

.header-social {
  display: flex;
  align-items: center;
  gap: 13.33px;
}

.header-social a {
  display: flex;
}

.header-social img {
  width: 23.33px;
  height: 23.33px;
  display: block;
}

.menu-row {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #359FE7;
}

.menu-row-inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

.main-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  font-size: 18.33px;
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  color: #ffffff;
}

.main-nav a.mobile-nav-extra-item,
.main-nav p.mobile-nav-extra-item {
  display: none;
}

.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 10px;
  transition: color 0.2s ease;
}

.main-nav a:not(.mobile-nav-extra-item):not([href="/zapravka-kartridgey/"])::after {
  content: "";
  position: absolute;
  top: 14.17px;
  bottom: 14.17px;
  right: -1px;
  width: 1px;
  background: #ffffff;
}

.main-nav a:hover,
.main-nav a.is-active {
  background-color: #105FBD;
  color: #ffffff;
  transition: none;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 3.33px;
}

.main-nav-divider {
  display: none;
}

.nav-item img {
  width: 13.33px;
  height: 13.33px;
}

.phone {
  font-family: var(--font-heading), sans-serif;
  font-weight: 500;
  font-size: 21px;
  letter-spacing: 0;
  line-height: 29px;
  white-space: nowrap;
}

/* ===== Mobile menu toggle (hidden on desktop) ===== */
.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .header-inner {
    gap: 30px;
  }
  .phone {
    display: revert;
    margin-left: auto;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    padding: 0;
    flex-shrink: 0;
  }
  .menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #2D9FE3;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .header-inner {
    position: static;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    white-space: normal;
    background: #fff;
    color: var(--color-text);
    padding: 0 16px 0;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    max-height: 85vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav a {
    justify-content: flex-start;
    text-align: left;
    padding: 12px 0;
    line-height: 1.4;
    border-bottom: none;
    font-size: 16px;
    transition: none;
  }
  .main-nav .nav-item {
    padding: 12px 16px;
  }
  .main-nav a[href="#photo-print"] {
    margin-top: 0;
  }
  .main-nav a.mobile-nav-extra-item {
    display: block;
    font-family: var(--font-body), sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--color-text);
  }
  .main-nav p.mobile-nav-extra-item {
    display: block;
    font-family: var(--font-body), sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--color-text);
  }
  .main-nav a.mobile-nav-phone-group {
    padding-bottom: 12px;
  }
  .main-nav .mobile-nav-hours {
    display: inline-block;
    margin-top: 2px;
    font-size: 16px;
    font-weight: 400;
  }
  .main-nav-divider {
    display: none;
  }
  .main-nav-divider:not(.main-nav-divider-top),
  .main-nav-divider-top {
    display: block;
    height: 1px;
    margin: 0;
    background: #D9D9D9;
  }
  .main-nav a.mobile-nav-map-link {
    padding: 12px 16px;
  }
  .main-nav a.mobile-nav-map-link .nav-arrow-menu {
    top: 0;
  }
  .main-nav a.nav-corporate,
  .main-nav a.nav-payment,
  .main-nav a.nav-bonus,
  .main-nav a.mobile-nav-extra-item:last-child {
    font-size: 16px;
  }
  .main-nav a:hover {
    background: #EDF7FE;
    color: #2F57BB;
  }
  .site-header:has(.main-nav.is-open) {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-search {
    display: none;
  }
  .logo-desktop {
    display: none;
  }
  .logo-mobile {
    display: block;
    width: 100%;
    aspect-ratio: 203/46;
    height: auto;
    margin-bottom: 12px;
  }
  .header-phone-icon img {
    width: 32px;
    height: 32px;
    margin-right: 2px;
    transform-origin: 50% 20%;
    animation: phone-swing 2.5s ease-in-out infinite;
  }
  .header-inner {
    width: calc(100% - 32px);
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: start;
    -moz-column-gap: 12px;
    column-gap: 12px;
    row-gap: 0;
  }
  .header-top,
  .menu-row,
  .menu-row-inner {
    display: contents;
  }
  .menu-toggle {
    width: 32px;
    height: 32px;
    grid-column: 1/3;
    grid-row: 1;
    justify-self: center;
  }
  .header-phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    grid-column: 11/13;
    grid-row: 1;
    justify-self: center;
  }
  .header-social-group {
    grid-column: 1/-1;
    grid-row: 2;
    justify-self: center;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }
  .main-nav {
    position: static;
    box-shadow: none;
    margin-inline: -16px;
    padding-inline: 0;
    grid-column: 1/-1;
    grid-row: 3;
  }
  .header-mobile-nav {
    display: flex;
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    background: #359FE7;
    grid-column: 1/-1;
    grid-row: 5;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(16, 17, 18, 0.12);
  }
  .header-mobile-nav-item {
    flex: 1;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 8px;
    font-family: var(--font-body), sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #ffffff;
  }
  .header-mobile-nav-item.is-active {
    background-color: #105FBD;
    color: #ffffff;
  }
  .header-mobile-nav-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    right: 0;
    width: 0.5px;
    background: #ffffff;
  }
  .footer-columns {
    width: calc(100% - 32px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  .offices-column,
  .footer-legal-column,
  .footer-contact-socials {
    display: none;
  }
  .footer-contact-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .footer-contact-line,
  .footer-phone-line {
    margin-bottom: 0;
  }
  .footer-phone-email-row {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  .footer-phone-dot {
    display: inline;
    opacity: 0.5;
  }
  .footer-copyright {
    margin-bottom: 20px;
  }
  .footer-contact-heading {
    display: none;
  }
  .footer-contact-line,
  .offices-list a,
  .footer-copyright,
  .footer-phone-line {
    font-size: 18px;
    line-height: 1.4;
  }
  .footer-phone-line {
    font-weight: 400;
    text-decoration: none;
    border-bottom: none;
  }
  .footer-phone-line,
  .footer-contact-line a[href^="mailto:"] {
    white-space: nowrap;
  }
  .site-footer {
    margin-top: var(--large);
    padding-top: 0;
    background: none;
  }
  .header-brand {
    width: 100%;
    padding-inline: 8px;
    grid-column: 3/11;
    grid-row: 1;
    justify-self: center;
  }
  .header-mobile-divider {
    display: none;
  }
  .header-mobile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    grid-column: 1/-1;
    grid-row: 4;
    padding: 0;
  }
  .header-mobile-text {
    width: 100%;
    font-family: var(--font-body), sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-text);
    background: #EAF7FE;
    border-radius: 0;
    padding: 12px;
    margin-top: 0;
    margin-bottom: 0;
  }
  .header-mobile-title {
    display: none;
    width: calc(66.667vw - 20px);
    margin-top: 8px;
    margin-inline: auto;
    text-align: center;
    grid-column: 1/-1;
    grid-row: 2;
    font-family: var(--font-heading), sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #EF7F1A;
  }
  .header-tagline,
  .header-contact {
    display: none;
  }
  @keyframes phone-swing {
    0%, 60%, 100% {
      transform: rotate(0deg);
    }
    65% {
      transform: rotate(-15deg);
    }
    70% {
      transform: rotate(12deg);
    }
    75% {
      transform: rotate(-10deg);
    }
    80% {
      transform: rotate(6deg);
    }
    85% {
      transform: rotate(-3deg);
    }
    90% {
      transform: rotate(0deg);
    }
  }
}
@media (max-width: 480px) {
  .header-social-group {
    flex-wrap: wrap;
    justify-content: center;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 340px) {
  .footer-phone-email-row {
    flex-direction: column;
    gap: 8px;
  }
  .footer-phone-dot {
    display: none;
  }
}
@media (max-width: 319.98px) {
  .header-mobile-info,
  .header-mobile-nav {
    width: 320px;
    left: 50%;
    margin-left: -160px;
  }
}
/* ===== Footer ===== */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 13.33px;
  margin-top: var(--large);
  padding-top: var(--large);
  padding-bottom: 0;
  background: #F5F5F5;
  font-size: 15px;
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
}

/* ===== Footer columns / offices ===== */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16.67px;
  padding-bottom: var(--large);
}

.footer-phone-dot {
  display: none;
}

@media (max-width: 768px) {
  .footer-phone-dot {
    display: inline;
    opacity: 0.5;
  }
}
.footer-contact-heading,
.footer-legal-heading {
  font-family: var(--font-heading), sans-serif;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 5.83px;
}

.footer-contact-heading {
  margin-bottom: 5px;
}

.footer-contact-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.footer-social-icon img {
  width: 24px;
  height: 24px;
  display: block;
  transition: transform 0.2s ease;
}

.footer-social-icon:hover img {
  transform: scale(1.15);
}

.footer-contact-line {
  font-size: 15px;
  line-height: 20.83px;
  margin-bottom: 5.83px;
}

.footer-contact-line a {
  color: var(--color-text);
  border-bottom: 1px solid rgba(16, 17, 18, 0.1);
  transition: color 0.2s ease;
}

.footer-phone-line a {
  border-bottom: none;
}

.footer-contact-line a:hover {
  color: var(--color-blue);
  border-bottom-color: rgba(22, 119, 255, 0.1);
  transition: none;
}

.footer-copyright {
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 5.83px;
}

@media (max-width: 768px) {
  .footer-copyright {
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.4;
  }
}
.mobile-map-banner {
  display: none;
}

.offices-list a.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 3.33px;
  border-bottom: none;
  font-weight: 500;
}

.footer-map-link-text {
  border-bottom: 1px solid rgba(16, 17, 18, 0.1);
  transition: color 0.2s ease;
}

.footer-map-link:hover .footer-map-link-text {
  border-bottom-color: rgba(22, 119, 255, 0.1);
  transition: none;
}

.footer-map-pin {
  flex-shrink: 0;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.footer-map-link:hover .footer-map-pin {
  color: var(--color-blue);
}

.footer-map-thumb {
  display: none;
}

.offices-city {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 5.83px;
}

.offices-city-second {
  margin-top: 16.67px;
}

.offices-list {
  display: flex;
  flex-direction: column;
  gap: 7.5px;
  list-style: none;
}

.offices-list a {
  font-size: 15px;
  color: var(--color-text);
  border-bottom: 1px solid rgba(16, 17, 18, 0.1);
  transition: color 0.2s ease;
}

.offices-list a:hover {
  color: var(--color-blue);
  border-bottom-color: rgba(22, 119, 255, 0.1);
  transition: none;
}

/* ===== Adaptive / mobile вЂ” desktop styles above are untouched ===== */
/* ===== 769вЂ“1233: РґРµСЃРєС‚РѕРї Р·Р°С„РёРєСЃРёСЂРѕРІР°РЅ РЅР° РїРѕР»РЅРѕР№ С€РёСЂРёРЅРµ (1233.33px =
   РєРѕРЅС‚РµР№РЅРµСЂ 1200px + РїРѕР»СЏ), РЅРёРєР°РєРѕРіРѕ СЃР¶Р°С‚РёСЏ вЂ” С‚РѕР»СЊРєРѕ РіРѕСЂРёР·РѕРЅС‚Р°Р»СЊРЅС‹Р№
   СЃРєСЂРѕР»Р». Р’С‹С€Рµ 1233.33px РѕРєРЅРѕ СѓР¶Рµ СЃР°РјРѕ РІРјРµС‰Р°РµС‚ РїРѕР»РЅСѓСЋ С€РёСЂРёРЅСѓ, РїРѕСЌС‚РѕРјСѓ
   РјРµРґРёР°-Р·Р°РїСЂРѕСЃ РІС‹РєР»СЋС‡Р°РµС‚СЃСЏ Рё .menu-row РІРѕР·РІСЂР°С‰Р°РµС‚СЃСЏ Рє РѕР±С‹С‡РЅРѕРјСѓ 100vw,
   СЂР°СЃС‚СЏРіРёРІР°СЏСЃСЊ РѕС‚ РєСЂР°СЏ РґРѕ РєСЂР°СЏ РЅР°СЃС‚РѕСЏС‰РµРіРѕ РѕРєРЅР°. ===== */
@media (min-width: 769px) and (max-width: 1233.32px) {
  html, body {
    min-width: 1233.33px;
    overflow-x: auto;
  }
  /* .menu-row РѕР±С‹С‡РЅРѕ СЂР°СЃС‚СЏРіРёРІР°РµС‚СЃСЏ С‡РµСЂРµР· 100vw/-50vw, РЅРѕ vw РІСЃРµРіРґР°
     СЃС‡РёС‚Р°РµС‚СЃСЏ РѕС‚ СЂРµР°Р»СЊРЅРѕРіРѕ РѕРєРЅР° Р±СЂР°СѓР·РµСЂР°, Р° РЅРµ РѕС‚ Р·Р°С„РёРєСЃРёСЂРѕРІР°РЅРЅРѕР№
     С€РёСЂРёРЅС‹ body вЂ” Р±РµР· СЌС‚РѕР№ РїРµСЂРµРѕРїСЂРµРґРµР»С‘РЅРЅРѕР№ С€РёСЂРёРЅС‹ СЃРёРЅСЏСЏ РїРѕР»РѕСЃР°
     РјРµРЅСЋ СЃР¶РёРјР°Р»Р°СЃСЊ Р±С‹ РІРјРµСЃС‚Рµ СЃ РѕРєРЅРѕРј, Р° РЅРµ СЃ РѕСЃС‚Р°Р»СЊРЅРѕР№ СЃС‚СЂР°РЅРёС†РµР№. */
  .menu-row {
    width: 1233.33px;
    left: 50%;
    margin-left: -616.67px;
  }
}
/* ===== 768 Рё СѓР¶Рµ: РЅР°СЃС‚РѕСЏС‰Р°СЏ РјРѕР±РёР»СЊРЅР°СЏ РІРµСЂСЃРёСЏ, Р±СѓСЂРіРµСЂ-РјРµРЅСЋ ===== */
@media (max-width: 768px) {
  main {
    margin-top: 0;
  }
  .header-inner {
    gap: 30px;
  }
  .phone {
    display: revert;
    margin-left: auto;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    padding: 0;
    flex-shrink: 0;
  }
  .menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #2D9FE3;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .header-inner {
    position: static;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    white-space: normal;
    background: #fff;
    color: var(--color-text);
    padding: 0 16px 0;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    max-height: 85vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav a {
    justify-content: flex-start;
    text-align: left;
    padding: 12px 0;
    line-height: 1.2;
    border-bottom: none;
    font-size: 16px;
    transition: none;
  }
  .main-nav .nav-item {
    padding: 12px 16px;
  }
  .main-nav a[href="#photo-print"] {
    margin-top: 0;
  }
  .main-nav a.mobile-nav-extra-item {
    display: block;
    font-family: var(--font-body), sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--color-text);
  }
  .main-nav p.mobile-nav-extra-item {
    display: block;
    font-family: var(--font-body), sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--color-text);
  }
  .main-nav a.mobile-nav-phone-group {
    padding-bottom: 12px;
  }
  .main-nav .mobile-nav-hours {
    display: inline-block;
    margin-top: 2px;
    font-size: 16px;
    font-weight: 400;
  }
  .main-nav-divider {
    display: none;
  }
  .main-nav-divider:not(.main-nav-divider-top),
  .main-nav-divider-top {
    display: block;
    height: 1px;
    margin: 0;
    background: #D9D9D9;
  }
  .main-nav a.mobile-nav-map-link {
    padding: 12px 16px;
  }
  .main-nav a.mobile-nav-map-link .nav-arrow-menu {
    top: 0;
  }
  .main-nav a.nav-corporate,
  .main-nav a.nav-payment,
  .main-nav a.nav-bonus,
  .main-nav a.mobile-nav-extra-item:last-child {
    font-size: 16px;
  }
  .main-nav a:hover {
    background: #EDF7FE;
    color: #2F57BB;
  }
  .site-header:has(.main-nav.is-open) {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
/* ===== РќР°СЃС‚РѕСЏС‰РёР№ РјРѕР±РёР»СЊРЅС‹Р№ ===== */
@media (max-width: 768px) {
  .container {
    width: calc(100% - 32px);
  }
  .header-tagline,
  .header-contact {
    display: none;
  }
  .site-search {
    display: none;
  }
  .logo-desktop {
    display: none;
  }
  .about-heading-desktop {
    display: none;
  }
  .about-heading-mobile {
    display: block;
  }
  .about-header-note-desktop {
    display: none;
  }
  .about-header-note-mobile {
    display: block;
  }
  .logo-mobile {
    display: block;
    width: 100%;
    aspect-ratio: 203/46;
    height: auto;
    margin-bottom: 12px;
  }
  .header-phone-icon img {
    width: 32px;
    height: 32px;
    transform-origin: 50% 20%;
    animation: phone-swing 2.5s ease-in-out infinite;
  }
  @keyframes phone-swing {
    0%, 60%, 100% {
      transform: rotate(0deg);
    }
    65% {
      transform: rotate(-15deg);
    }
    70% {
      transform: rotate(12deg);
    }
    75% {
      transform: rotate(-10deg);
    }
    80% {
      transform: rotate(6deg);
    }
    85% {
      transform: rotate(-3deg);
    }
    90% {
      transform: rotate(0deg);
    }
  }
  /* РџРµСЂРІР°СЏ СЃС‚СЂРѕРєР°: Р±СѓСЂРіРµСЂ (2 РєРѕР»РѕРЅРєРё) вЂ” Р»РѕРіРѕ (8 РєРѕР»РѕРЅРѕРє) вЂ” РёРєРѕРЅРєР° С‚РµР»РµС„РѕРЅР° (2 РєРѕР»РѕРЅРєРё), РїРѕ 12-РєРѕР»РѕРЅРѕС‡РЅРѕР№ СЃРµС‚РєРµ. */
  .header-inner {
    width: calc(100% - 32px);
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: start;
    -moz-column-gap: 12px;
    column-gap: 12px;
    row-gap: 0;
  }
  .header-top,
  .menu-row,
  .menu-row-inner {
    display: contents;
  }
  .menu-toggle {
    width: 32px;
    height: 32px;
    grid-column: 1/3;
    grid-row: 1;
    justify-self: center;
  }
  .header-brand {
    width: 100%;
    padding-inline: 8px;
    grid-column: 3/11;
    grid-row: 1;
    justify-self: center;
  }
  .header-phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    grid-column: 11/13;
    grid-row: 1;
    justify-self: center;
  }
  .header-social-group {
    grid-column: 1/-1;
    grid-row: 2;
    justify-self: center;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }
  .header-mobile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    grid-column: 1/-1;
    grid-row: 4;
    padding: 0;
  }
  .header-mobile-title {
    display: none;
    width: calc(66.667vw - 20px);
    margin-top: 8px;
    margin-inline: auto;
    text-align: center;
    grid-column: 1/-1;
    grid-row: 2;
    font-family: var(--font-heading), sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #EF7F1A;
  }
  .header-mobile-divider {
    display: none;
  }
  .header-mobile-text {
    width: 100%;
    font-family: var(--font-body), sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-text);
    background: #EAF7FE;
    border-radius: 0;
    padding: 12px;
    margin-top: 0;
    margin-bottom: 0;
  }
  .main-nav {
    position: static;
    box-shadow: none;
    margin-inline: -16px;
    padding-inline: 0;
    grid-column: 1/-1;
    grid-row: 3;
  }
  .header-mobile-nav {
    display: flex;
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    background: #359FE7;
    grid-column: 1/-1;
    grid-row: 5;
  }
  .header-mobile-nav-item {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 8px;
    font-family: var(--font-body), sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #ffffff;
  }
  .header-mobile-nav-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    right: 0;
    width: 0.5px;
    background: #ffffff;
  }
  .header-mobile-nav-item.is-active {
    color: #ffffff;
  }
  .about-section {
    width: 100%;
  }
  .about-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding-inline: 16px;
  }
  .about-header-socials {
    justify-content: center;
  }
  .about-columns {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-inline: 16px;
  }
  .about-columns > .about-column:nth-child(4) {
    display: none;
  }
  .about-column h4 br {
    display: none;
  }
  .about-column {
    padding: 20px 16px;
  }
  .about-column h4,
  .about-column h4 strong {
    font-size: 18px;
  }
  .about-column .nowrap {
    white-space: normal;
  }
  .about-heading,
  .about-header-note {
    font-size: 22px;
  }
  .about-heading {
    font-weight: 500;
  }
  .about-header-note {
    font-weight: 400;
  }
  .about-header {
    margin-top: 16px;
    margin-bottom: 20px;
    gap: 12px;
  }
  .hot-deals-header {
    margin-top: 24px;
    margin-bottom: 16px;
  }
  .hot-deals-heading {
    font-size: 22px;
    font-weight: 500;
  }
  /* Hot deals: СЃС‚Р°С‚РёС‡РЅР°СЏ СЃРµС‚РєР° 2x2, СЂР°СЃС‚СЏРЅСѓС‚Р° РІ РєСЂР°СЏ СЌРєСЂР°РЅР° */
  .hot-deals {
    width: 100%;
    margin-bottom: 0;
  }
  .hot-deals-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--color-border);
    border-top: 1px solid var(--color-border);
  }
  .hot-deals-track > .hot-deals-card:nth-child(5) {
    display: none;
  }
  .hot-deals-card {
    width: 100%;
    gap: 4px;
    padding: 10px 16px;
    border-radius: 0;
    box-shadow: none;
  }
  .hot-deals-photo {
    width: 100%;
    aspect-ratio: 1/1;
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
    margin-bottom: -4px;
  }
  .hot-deals-name {
    margin-bottom: 0;
  }
  .hot-deals-name,
  .hot-deals-price {
    font-size: 16px;
  }
  .hot-deals-order-link {
    font-size: 18px;
    text-decoration: none;
  }
  .service-strip-item {
    padding: 28px 16px 24px;
  }
  .service-strip-item .btn {
    width: auto;
    align-self: center;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .service-strip-illustration {
    width: 100px;
    height: 100px;
  }
  .service-strip-item-photo:hover .service-strip-photo-full,
  .service-strip-illustration:hover,
  .about-social-item:hover .about-social-icon img,
  .about-social-item:hover .about-social-icon svg,
  .hot-deals-card:hover .hot-deals-photo,
  .footer-social-icon:hover img {
    transform: none;
  }
  /* Р¤СѓС‚РµСЂ: СЃСЃС‹Р»РєР° РЅР° РєР°СЂС‚Сѓ РѕС„РёСЃРѕРІ РІС‹РЅРµСЃРµРЅР° РЅР°СЂСѓР¶Сѓ, С‚СѓС‚ С‚РѕР»СЊРєРѕ РєРѕРЅС‚Р°РєС‚С‹ */
  .footer-columns {
    width: calc(100% - 32px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding-bottom: 0;
  }
  .offices-column,
  .footer-legal-column,
  .footer-contact-socials {
    display: none;
  }
  .footer-contact-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .footer-contact-line,
  .footer-phone-line {
    margin-bottom: 0;
  }
  .footer-phone-email-row {
    display: flex;
    justify-content: center;
    margin-top: 24px;
  }
  .footer-phone-dot {
    display: inline;
    opacity: 0.5;
  }
  .footer-copyright {
    margin-bottom: 16px;
  }
  .footer-contact-heading {
    display: none;
  }
  .footer-contact-line,
  .offices-list a,
  .footer-copyright,
  .footer-phone-line {
    font-size: 18px;
    line-height: 1.4;
  }
  .footer-phone-line {
    font-weight: 400;
    text-decoration: none;
    border-bottom: none;
  }
  .site-footer {
    margin-top: 0;
    padding-top: 0;
    background: none;
  }
  .mobile-map-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 16px;
    background: #EAF7FE;
  }
  .mobile-map-banner-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 23px;
    font-weight: 400;
    color: var(--color-text);
  }
  .mobile-map-banner-link span {
    border-bottom: 1px solid rgba(16, 17, 18, 0.1);
  }
  .mobile-map-banner-icon {
    flex-shrink: 0;
  }
  .mobile-map-banner-note {
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-text);
  }
}
/* ===== РЎРѕРІСЃРµРј СѓР·РєРёР№ СЌРєСЂР°РЅ ===== */
@media (max-width: 480px) {
  .header-social-group {
    flex-wrap: wrap;
    justify-content: center;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ===== РќРёР¶Рµ 320: С„РёРєСЃР°С†РёСЏ РЅР° 320px, РґР°Р»СЊС€Рµ вЂ” РіРѕСЂРёР·РѕРЅС‚Р°Р»СЊРЅС‹Р№ СЃРєСЂРѕР»Р» ===== */
@media (max-width: 319.98px) {
  html, body {
    min-width: 320px;
    overflow-x: auto;
  }
  /* .header-mobile-info Рё .header-mobile-nav СЂР°СЃС‚СЏРіРёРІР°СЋС‚СЃСЏ С‡РµСЂРµР·
     100vw/-50vw, РєРѕС‚РѕСЂС‹Р№ СЃС‡РёС‚Р°РµС‚СЃСЏ РѕС‚ СЂРµР°Р»СЊРЅРѕРіРѕ РѕРєРЅР°, Р° РЅРµ РѕС‚
     Р·Р°С„РёРєСЃРёСЂРѕРІР°РЅРЅРѕР№ С€РёСЂРёРЅС‹ body вЂ” РїРµСЂРµРѕРїСЂРµРґРµР»СЏРµРј РЅР° С„РёРєСЃРёСЂРѕРІР°РЅРЅС‹Рµ
     320px/-160px, С‡С‚РѕР±С‹ РѕРЅРё РЅРµ СЃР¶РёРјР°Р»РёСЃСЊ РѕС‚РґРµР»СЊРЅРѕ РѕС‚ СЃС‚СЂР°РЅРёС†С‹. */
  .header-mobile-info,
  .header-mobile-nav {
    width: 320px;
    left: 50%;
    margin-left: -160px;
  }
}
.hero-top-nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16.67px;
  border-radius: 8px 8px 0 0;
  background: #D3EFFC;
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .hero-top-nav-item {
    justify-content: center;
    text-align: center;
    border-radius: 10px;
  }
}
.hero-top-nav-item.is-active {
  background: #359FE7;
  color: #ffffff;
}

.hero-top-nav-item.tab-bounce {
  animation: tab-bounce 0.6s ease-in-out;
  transform-origin: bottom center;
}

.hero-top-nav-item:hover {
  background: #359FE7;
  color: #ffffff;
  transition: none;
}

.hero-top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6.67px;
  margin-top: 24px;
}

.hero-top-nav-heading {
  display: none;
}

@media (max-width: 768px) {
  .hero-top-nav-heading {
    display: block;
    grid-column: 1/-1;
    order: -1;
    text-align: center;
    font-family: var(--font-heading), sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: 0;
    margin: 0;
  }
}
.hero-top-nav-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.hero-top-nav-item.is-active {
  background: #359FE7;
  color: #ffffff;
}

.hero-top-nav-item.tab-bounce {
  animation: tab-bounce 0.6s ease-in-out;
  transform-origin: bottom center;
}

.hero-top-nav-item:hover {
  background: #359FE7;
  color: #ffffff;
  transition: none;
}

.hero-upload-btn:hover,
.hero-upload-btn:active {
  background: #ffffff;
  color: var(--color-text);
}

.hero-photo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.hero-photo-title-desktop {
  margin-top: var(--large);
  margin-bottom: 0;
}

.hero-photo-block {
  position: relative;
  grid-column: 1/25;
  background: #359FE7;
  border-radius: 0 10px 10px 10px;
  display: flex;
  flex-direction: column;
}

.hero-photo-grid {
  align-self: stretch;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.hero-photo-grid-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  color: #ffffff;
  cursor: pointer;
  z-index: 5;
}

.hero-photo-grid-arrow svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.hero-photo-grid-arrow-next {
  right: 8px;
}

.hero-photo-grid-arrow-prev {
  left: 8px;
}

.hero-photo-grid-arrow[hidden] {
  display: none;
}

.hero-photo-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-width: 0;
  gap: 0;
}

.hero-photo-grid-wrap {
  position: relative;
  align-self: stretch;
  min-width: 0;
}

.hero-photo-grid-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}

.hero-photo-grid-item {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: auto;
  aspect-ratio: 208/156;
  border-radius: 8px;
  overflow: hidden;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  display: block;
  transition: transform 0.2s ease;
}

.hero-photo-grid-item:hover {
  transform: scale(1.03);
}

.hero-photo-grid-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}

@media (max-width: 1233.32px) {
  .hero-photo-grid-item {
    flex: 1 1 0;
    min-width: 0;
    height: auto;
    aspect-ratio: 208/156;
  }
}
.hero-photo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.hero-photo-title {
  align-self: center;
  text-align: center;
  font-family: var(--font-heading), sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.4;
  color: #ffffff;
  margin-top: 28px;
  margin-bottom: 28px;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

.hero-photo-title-desktop {
  margin-top: var(--large);
  margin-bottom: 0;
}

.hero-photo-title-mobile {
  display: none;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(16, 17, 18, 0.85);
}

.photo-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #101112;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
}

.photo-lightbox-arrow:hover {
  background: #ffffff;
}

.photo-lightbox-arrow[hidden] {
  display: none;
}

.photo-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.photo-lightbox-close svg {
  width: 18px;
  height: 18px;
}

.photo-lightbox-close:hover {
  background: #359FE7;
  color: #ffffff;
}

.photo-lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  -o-object-fit: contain;
  object-fit: contain;
  border-radius: 4px;
}

.photo-lightbox-next {
  right: 24px;
}

.photo-lightbox-prev {
  left: 24px;
}

.photo-lightbox[hidden] {
  display: none;
}

@media (max-width: 768px) {
  .hero-photo-title {
    margin-top: 16px;
    font-size: 28px;
  }
  .hero-photo-title-desktop {
    display: none;
  }
  .hero-photo-title-mobile {
    display: block;
    margin-top: var(--medium);
    margin-bottom: 0;
  }
  .order-form-intro {
    display: none;
  }
}
/* ===== Order form (format / paper / borders) ===== */
.order-form-intro {
  align-self: center;
  text-align: center;
  margin-top: 0;
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 17.67px;
  color: #ffffff;
  margin-bottom: 32px;
  max-width: 100%;
}

.order-form-selects {
  align-self: stretch;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.order-form-field {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6.67px;
  min-width: 200px;
}

.order-form-field-select {
  flex: 0 0 auto;
  width: 240px;
  min-width: 0;
}

.order-form-field-select label {
  text-align: left;
}

.order-form-field-select .custom-select-option {
  text-align: left;
}

.order-form-field-compact {
  flex: 0 0 auto;
  width: 240px;
  min-width: 0;
}

.order-form-field-compact label {
  text-align: left;
}

.order-form-field-compact .order-form-radio-group {
  width: 100%;
}

/* На мобильном поля формата/бумаги/полей растягиваются на всю ширину
   хероблока вместо узких компактных 240px-чипов. */
@media (max-width: 768px) {
  .order-form-field-select,
  .order-form-field-compact {
    width: 100%;
    max-width: none;
  }
  .order-form-intro {
    margin-bottom: 8px;
    font-size: 18px;
  }
  .order-form-selects {
    gap: 16px;
  }
}
.order-form-field label {
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #ffffff;
}

.field-hint-wrap {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
  margin-left: 8px;
  top: -1px;
}

.field-hint-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.field-hint-popover {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  padding: 10px 12px;
  background: #ffffff;
  color: var(--color-text);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(16, 17, 18, 0.2);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  display: none;
  z-index: 40;
}

.field-hint-wrap.is-open .field-hint-popover,
.field-hint-wrap:hover .field-hint-popover {
  display: block;
}

.field-hint-popover-wide {
  width: 300px;
}

.field-hint-popover-wide p {
  margin-bottom: 8px;
}

.field-hint-popover-wide p:last-child {
  margin-bottom: 0;
}

.field-hint-popover-wide p strong {
  font-weight: 700;
}

/* На телефоне подсказка центрировалась относительно крошечной кнопки
   "?" и на узких полях вылезала за край экрана. Переносим точку
   отсчёта на весь .order-form-field (теперь на мобильном на всю
   ширину) — так подсказка центрируется в пределах экрана. */
@media (max-width: 768px) {
  .order-form-field {
    position: relative;
  }
  .field-hint-wrap {
    position: static;
  }
  .field-hint-popover {
    max-width: calc(100vw - 64px);
  }
  .field-hint-popover-wide {
    width: calc(100vw - 64px);
  }
}
.term-hint-wrap {
  margin: 0;
  top: 0;
  vertical-align: baseline;
}

.term-hint-btn {
  display: inline;
  width: auto;
  height: auto;
  padding: 0;
  color: var(--color-text);
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  border-bottom: none;
  background-image: repeating-linear-gradient(to right, rgba(16, 17, 18, 0.1) 0 2px, transparent 2px 4px);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 calc(100% - 3px);
  transition: color 0.2s ease;
}

.term-hint-btn:hover {
  color: var(--color-blue);
  background-image: repeating-linear-gradient(to right, rgba(22, 119, 255, 0.1) 0 2px, transparent 2px 4px);
  transition: none;
}

.term-hint-popover {
  left: 0;
  transform: none;
  width: 300px;
  max-width: 80vw;
  padding: 14px 16px;
}

.term-hint-popover p {
  margin-bottom: 8px;
}

.term-hint-popover p:last-child {
  margin-bottom: 0;
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  height: 48px;
  padding: 0 40px 0 16px;
  border: none;
  border-radius: 10px;
  font-family: var(--font-body), sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--color-text);
  text-align: left;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23101112' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}

.custom-select-value {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-list {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  z-index: 30;
  margin: 0;
  padding: 2px;
  list-style: none;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(16, 17, 18, 0.22);
  display: none;
  flex-direction: column;
  gap: 0;
}

.custom-select.is-open .custom-select-list {
  display: flex;
}

.custom-select-option {
  padding: 10px 12px;
  border-radius: 8px;
  font-family: var(--font-body), sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--color-text);
  cursor: pointer;
  transition: none;
}

.custom-select-option:hover {
  border-radius: 10px;
  background: #D3EFFC;
  color: var(--color-text);
}

.custom-select-option.is-selected {
  border-radius: 9px;
  background: #359FE7;
  color: #ffffff;
  font-weight: 500;
}

/* Все выпадающие списки (формат, оплата, офисы...) на мобильном — строки покрупнее, легче попасть пальцем. */
@media (max-width: 768px) {
  .custom-select-option {
    padding: 14px 12px;
    font-size: 16px;
  }
}
.order-form-radio-group {
  display: flex;
  gap: 2px;
  width: 100%;
  height: 48px;
  padding: 2px;
  background: #ffffff;
  border-radius: 10px;
}

.order-form-radio-group-wrap {
  height: auto;
  flex-wrap: nowrap;
}

.order-form-radio {
  position: relative;
  display: block;
  flex: 1;
  cursor: pointer;
}

.order-form-radio-group-wrap .order-form-radio {
  flex: 0 0 auto;
}

.order-form-radio-group-wrap .order-form-radio span {
  height: 36px;
  padding: 0 13.33px;
  font-size: 13.33px;
}

.order-form-radio input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.order-form-radio span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 18px;
  border-radius: 6px;
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-body), sans-serif;
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
}

.order-form-radio input:hover + span {
  border-radius: 7px;
  background: #359FE7;
  color: #ffffff;
}

.order-form-radio input:checked + span {
  border-radius: 7px;
  background: #359FE7;
  color: #ffffff;
}

.order-form-radio input:checked:hover + span {
  background: #359FE7;
}

.order-form-radio input:focus-visible + span {
  outline: 2px solid #359FE7;
  outline-offset: 2px;
}

/* Размер холста — переключатели как у «Бумаги» в pechat-photo:
   белый трек с сегментами, выбранный — синий. Сегменты переносятся
   на несколько строк; при выборе «Другой» ниже появляются поля
   ручного ввода длины и ширины. */
.order-form-field-sizes {
  flex: 1 1 100%;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
}

.order-form-field-sizes > label,
.custom-size-col label {
  align-self: flex-start;
  text-align: left;
}

.order-form-radio-group-sizes {
  height: auto;
  flex-wrap: wrap;
}

/* По 3 сегмента в ряд (basis 33.33% → 3 строки по 3). */
.order-form-radio-group-sizes .order-form-radio {
  flex: 1 0 calc(33.333% - 2px);
  min-width: 0;
}

/* height: auto вместо фиксированных 48px — с ценой в подписи текст
   часто переносится на 2 строки. */
.order-form-radio-group-sizes .order-form-radio span {
  height: auto;
  min-height: 44px;
  padding: 6px 14px;
  font-size: 15px;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

@media (max-width: 768px) {
  .order-form-radio-group-sizes .order-form-radio {
    flex-basis: calc(50% - 2px);
  }
  .order-form-radio-group-sizes .order-form-radio span {
    padding: 6px 10px;
    font-size: 18px;
  }
  .hero-photo-text .order-form-field-sizes {
    margin: 0;
    max-width: none;
  }
  .hero-photo-text .custom-size-field {
    gap: 16px;
  }
  .hero-photo-text #customSizeField input {
    font-size: 18px;
  }
}
.custom-size-field {
  flex-direction: row;
  gap: 8px;
}

.custom-size-field[hidden] {
  display: none;
}

.custom-size-col {
  display: flex;
  flex-direction: column;
  gap: 6.67px;
  flex: 1 1 0;
  min-width: 0;
}

.custom-size-col.is-shaking {
  animation: order-checkout-shake 0.4s ease;
}

#customSizeField input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: none;
  border-radius: 10px;
  font-family: var(--font-body), sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--color-text);
  background-color: #ffffff;
}

#customSizeField input::-moz-placeholder {
  color: #9aa3ab;
  font-weight: 400;
}

#customSizeField input::placeholder {
  color: #9aa3ab;
  font-weight: 400;
}

#customSizeField input:focus {
  outline: 2px solid #359FE7;
  outline-offset: 0;
}

#customSizeField .custom-size-col.is-invalid input {
  background: #FFE5E5;
}

.order-summary {
  width: 100%;
  max-width: 760px;
  margin: var(--large) auto 0;
  padding: 20px;
  background: #D3EFFC;
  border-radius: 12px;
}

.order-summary-note {
  margin-top: 10px;
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--color-text);
  text-align: center;
}

.order-summary-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-family: var(--font-body), sans-serif;
  table-layout: auto;
}

.order-summary-table tbody td {
  font-weight: 400;
  font-size: 18px;
  color: var(--color-text);
  padding-top: 14px;
  white-space: nowrap;
}

.order-summary-table tbody td.order-summary-table-total {
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text);
}

.order-summary-table th,
.order-summary-table td {
  padding: 6px 14px;
  text-align: center;
}

.order-summary-table thead th {
  font-weight: 400;
  font-size: 15px;
  color: var(--color-text);
  padding-bottom: 14px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  white-space: normal;
}

.order-summary-table thead th.order-summary-table-total-header {
  font-weight: 700;
  color: var(--color-text);
}

.order-summary-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.order-checkout-section {
  margin-top: 0;
  margin-bottom: var(--large);
}

.order-checkout {
  padding: var(--large);
  background: #359FE7;
  border-radius: 10px;
}

.order-checkout-heading {
  font-family: var(--font-heading), sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.4;
  color: #ffffff;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
}

/* На 768px и уже блок "Оформление заказа" растягивается на всю
   ширину экрана (full-bleed, как хероблок), а заголовок — того же
   размера, что и заголовок хероблока. */
@media (max-width: 768px) {
  .order-checkout-section.container {
    width: 100vw;
    margin-right: 0;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    order: 4;
  }
  .order-checkout {
    padding: var(--large);
    border-radius: 0;
  }
  .order-checkout-heading {
    font-size: 28px;
  }
}
.order-checkout-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  justify-content: center;
  max-width: 760px;
  gap: var(--large);
  margin: var(--large) auto 0;
}

.order-checkout-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.order-checkout-field[hidden] {
  display: none;
}

.order-checkout-field-wide {
  grid-column: 1/-1;
}

.order-checkout-field-2col {
  grid-column: span 2;
}

/* Способ получения + адрес самовывоза/доставки — одинаковая ширина
   полей, а не 1 колонка + 2 (как задаёт .order-checkout-field-2col). */
.order-checkout-row {
  grid-column: 1/-1;
  display: flex;
  gap: 24px;
}

.order-checkout-row > .order-checkout-field {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}

.order-checkout-field label {
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #ffffff;
}

.order-checkout-label-optional {
  color: rgba(255, 255, 255, 0.6);
}

.order-checkout-field input[type=text],
.order-checkout-field input[type=tel] {
  font-family: var(--font-body), sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  background: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  height: 44px;
}

#checkoutPhone::-moz-placeholder {
  color: var(--color-text);
  opacity: 1;
}

#checkoutPhone::placeholder {
  color: var(--color-text);
  opacity: 1;
}

#checkoutName,
#checkoutPhone,
#checkoutCourierAddress,
#checkoutComment {
  height: 48px;
}

.order-checkout-field input:focus {
  outline: none;
  box-shadow: none;
}

.order-checkout-field .custom-select-trigger:focus {
  outline: none;
  box-shadow: none;
}

.order-checkout-field.is-invalid input {
  background: #FFE5E5;
}

.order-checkout-field.is-shaking {
  animation: order-checkout-shake 0.4s ease;
}

@keyframes order-checkout-shake {
  10%, 90% {
    transform: translateX(-1px);
  }
  20%, 80% {
    transform: translateX(2px);
  }
  30%, 50%, 70% {
    transform: translateX(-4px);
  }
  40%, 60% {
    transform: translateX(4px);
  }
}
.order-checkout-hint {
  font-family: var(--font-body), sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: #ffffff;
}

.order-checkout-delivery-note {
  margin: var(--large) auto 0;
  max-width: 760px;
  font-family: var(--font-body), sans-serif;
  font-size: 15px;
  line-height: 1.4;
  color: #ffffff;
  text-align: center;
}

.order-checkout-price {
  margin-top: 20px;
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--color-text);
  text-align: center;
}

.order-checkout-price + .order-checkout-price {
  margin-top: 4px;
}

.order-checkout-price-strong {
  font-weight: 700;
}

.order-checkout-submit,
.hero-upload-btn.order-checkout-submit {
  display: flex;
  margin: var(--large) auto 0;
}

.order-checkout-submit:hover,
.order-checkout-submit:active {
  background: #000000;
  color: #ffffff;
}

@media (max-width: 768px) {
  .order-summary {
    margin: var(--large) 0 0 0;
  }
  .order-checkout-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--large);
  }
  .order-checkout-field,
  .order-checkout-field-wide,
  .order-checkout-field-2col {
    grid-column: 1/-1;
    flex-basis: 100%;
    width: 100%;
    min-width: 0;
  }
  .order-checkout-row {
    flex-direction: column;
    gap: var(--large);
  }
  .order-checkout-submit {
    margin-top: var(--large);
  }
  .order-form-field label,
  .order-checkout-field label {
    font-size: 18px;
  }
  .order-checkout-hint {
    font-size: 15px;
  }
  .order-checkout-delivery-note {
    font-size: 18px;
  }
  .order-form-radio span,
  .custom-select-trigger,
  .order-checkout-field input[type=text],
  .order-checkout-field input[type=tel] {
    font-size: 18px;
  }
  .custom-select-trigger {
    height: 48px;
  }
  .order-summary-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(6, auto);
    align-items: center;
    min-width: 0;
    width: 100%;
  }
  .order-summary-table tbody td:nth-child(1) {
    grid-row: 1;
    grid-column: 2;
    padding-top: 8px;
  }
  .order-summary-table tbody td:nth-child(2) {
    grid-row: 2;
    grid-column: 2;
    padding-top: 8px;
  }
  .order-summary-table tbody td:nth-child(3) {
    grid-row: 3;
    grid-column: 2;
    padding-top: 8px;
  }
  .order-summary-table tbody td:nth-child(4) {
    grid-row: 4;
    grid-column: 2;
    padding-top: 8px;
  }
  .order-summary-table tbody td:nth-child(5) {
    grid-row: 5;
    grid-column: 2;
    padding-top: 8px;
  }
  .order-summary-table tbody td:nth-child(6) {
    grid-row: 6;
    grid-column: 2;
    padding-top: 8px;
  }
  .order-summary-table th {
    white-space: nowrap;
  }
  .order-summary-table th br {
    display: none;
  }
  .order-summary-table th,
  .order-summary-table td {
    text-align: left;
    padding: 8px 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: none;
    white-space: normal;
  }
  .order-summary-table td {
    text-align: right;
  }
  .order-summary-table thead th {
    box-shadow: none;
    white-space: nowrap;
  }
  .order-summary-table thead th:nth-child(1) {
    grid-row: 1;
    grid-column: 1;
  }
  .order-summary-table thead th:nth-child(2) {
    grid-row: 2;
    grid-column: 1;
  }
  .order-summary-table thead th:nth-child(3) {
    grid-row: 3;
    grid-column: 1;
  }
  .order-summary-table thead th:nth-child(4) {
    grid-row: 4;
    grid-column: 1;
  }
  .order-summary-table thead th:nth-child(5) {
    grid-row: 5;
    grid-column: 1;
  }
  .order-summary-table thead th:nth-child(6) {
    grid-row: 6;
    grid-column: 1;
  }
  .order-summary-table thead,
  .order-summary-table tbody,
  .order-summary-table tr {
    display: contents;
  }
}
.payment-result-backdrop {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #D3EFFC;
  border-radius: 10px;
  padding: 24px;
}

.payment-result-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.payment-result-btn {
  margin: 0 auto;
  padding: 13.33px 33.33px;
  font-size: 16.67px;
  border-radius: 999px;
}

.payment-result-btn:hover,
.payment-result-btn:active {
  background: #1e1e1e;
  color: #ffffff;
}

.payment-result-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 8px 24px rgba(16, 17, 18, 0.08);
}

.payment-result-card-success {
  box-shadow: none;
}

.payment-result-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-result-icon svg {
  width: 30px;
  height: 30px;
}

.payment-result-icon-error {
  background: #FFE5E5;
  color: #FF3B3B;
}

.payment-result-icon-success {
  background: #22C55E;
  color: #E3F9EC;
}

.payment-result-main {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding-top: 24px;
}

.payment-result-text {
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.payment-result-title {
  font-family: var(--font-heading), sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: 12px;
}

.payment-result-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

@media (max-width: 768px) {
  .payment-result-backdrop {
    background: none;
    padding: 0;
  }
  .payment-result-card-error {
    box-shadow: none;
  }
  .payment-result-btn {
    align-self: stretch;
    width: 100%;
    font-size: 18px;
  }
}
/* ===== Service strip (5 cells above the hero heading, full-bleed width) ===== */
.service-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

.service-strip-arrow {
  display: none;
}

.service-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8.33px;
  padding: 35px 16.67px 26.67px;
  color: #fff;
  cursor: pointer;
}

.service-strip-item-1 {
  background: none;
}

.service-strip-item-photo {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  min-height: 283.33px;
  padding: 0 0 15px;
}

.service-strip-item-1.service-strip-item-photo {
  border-radius: 0 0 0 10px;
}

.service-strip-item-5.service-strip-item-photo {
  border-radius: 0 0 10px 0;
}

.service-strip-photo-full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.3s ease;
}

.service-strip-item-photo:hover .service-strip-photo-full,
.service-strip-photo-full.is-menu-hover {
  transform: scale(1.06);
}

.service-strip-item.service-strip-item-photo .btn {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.service-strip-item-photo .btn.btn-yellow {
  background: #FFC831;
  color: var(--color-text);
}

.service-strip-item-photo .btn.btn-orange {
  background: #FF9F1C;
  color: var(--color-text);
}

.service-strip-item-photo .btn:hover {
  background: #ffffff;
  color: var(--color-text);
  transition: none;
}

.service-strip-item-2 {
  background: none;
}

.service-strip-item-3 {
  background: none;
}

.service-strip-item-4 {
  background: none;
}

.service-strip-item-5 {
  background: none;
}

.service-strip-illustration {
  width: 106.67px;
  height: 106.67px;
  -o-object-fit: contain;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.service-strip-illustration:hover {
  transform: scale(1.06);
}

.service-strip-item h3 {
  font-family: var(--font-heading), sans-serif;
  font-weight: 600;
  font-size: 18.33px;
  letter-spacing: 0;
  margin-top: 8.33px;
}

.service-strip-item .btn {
  margin-top: 8.33px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .service-strip-item .btn {
    width: 208.33px;
  }
}
.service-strip-item p {
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 13.33px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .service-strip-wrapper {
    position: relative;
  }
  .service-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .service-strip-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 0;
    color: #ffffff;
    z-index: 5;
  }
  .service-strip-arrow svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
  }
  .service-strip-arrow-prev {
    left: 8px;
  }
  .service-strip-arrow-next {
    right: 8px;
  }
  .service-strip::-webkit-scrollbar {
    display: none;
  }
  .service-strip-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }
  .service-strip-item-1.service-strip-item-photo,
  .service-strip-item-2.service-strip-item-photo,
  .service-strip-item-3.service-strip-item-photo {
    border-radius: 0;
    min-height: 225px;
  }
  .service-strip-item-4,
  .service-strip-item-5 {
    display: none;
  }
  .service-strip-item h3 {
    font-size: 21px;
    line-height: 1.3;
  }
  .service-strip-item p {
    font-size: 15px;
  }
  .service-strip-item-photo .btn.btn-yellow {
    position: relative;
    overflow: hidden;
  }
  .service-strip-item-photo .btn.btn-yellow::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    animation: btn-shine 6s ease-in-out infinite;
    pointer-events: none;
  }
  @keyframes btn-shine {
    0% {
      left: -150%;
    }
    25% {
      left: 150%;
    }
    100% {
      left: 150%;
    }
  }
}
/* ===== About section ===== */
.about-grid {
  margin-bottom: 0;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.about-header {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 0 16.67px;
  align-items: center;
  margin-top: var(--large);
  margin-bottom: var(--large);
}

.about-heading {
  grid-column: 1/10;
  text-align: center;
  font-family: var(--font-heading), sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
}

.about-header-socials {
  grid-column: 10/16;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}

.about-social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.33px;
}

.about-social-label {
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 11.67px;
  color: var(--color-text);
  border-bottom: 1px solid rgba(16, 17, 18, 0.1);
  transition: color 0.2s ease;
}

.about-social-label:hover {
  color: var(--color-blue);
  border-bottom-color: rgba(22, 119, 255, 0.1);
  transition: none;
}

.about-header-note {
  grid-column: 16/-1;
  font-family: var(--font-heading), sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--color-text);
  text-align: center;
}

.about-social-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 1.67px;
  margin-right: 1.67px;
  vertical-align: middle;
}

.about-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 51.67px;
  height: 51.67px;
}

.about-social-icon img,
.about-social-icon svg {
  width: 46.67px;
  height: 46.67px;
  display: block;
  transition: transform 0.2s ease;
}

.about-social-item:hover .about-social-icon img,
.about-social-item:hover .about-social-icon svg {
  transform: scale(1.15);
}

.about-social-icon-internet {
  color: var(--color-blue);
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.about-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 26.67px 6.67px;
  border-radius: 10px;
  text-align: center;
  background: #EAF7FE;
  min-width: 0;
}

.about-column-center {
  justify-content: center;
}

.about-column h4 {
  font-family: var(--font-heading), sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0;
  line-height: calc(1.3em + 1px);
}

.about-column h4 strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
}

.nowrap {
  white-space: nowrap;
}

.about-text p {
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 12.5px;
  color: var(--color-text);
  line-height: 1.5;
}

.about-text p a {
  border-bottom: 1px solid rgba(16, 17, 18, 0.1);
  transition: color 0.2s ease;
}

.about-text p a:hover {
  color: var(--color-blue);
  border-bottom-color: rgba(22, 119, 255, 0.1);
  transition: none;
}

@media (max-width: 768px) {
  .about-heading-desktop {
    display: none;
  }
  .about-heading-mobile {
    display: block;
  }
  .about-header-note-desktop {
    display: none;
  }
  .about-header-note-mobile {
    display: block;
  }
  .about-section {
    width: 100%;
  }
  .about-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding-inline: 16px;
  }
  .about-header-socials {
    justify-content: center;
  }
  .about-columns {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-inline: 16px;
  }
  .about-columns > .about-column:nth-child(4) {
    display: none;
  }
  .about-column h4 br {
    display: none;
  }
  .about-column {
    padding: 20px 16px;
  }
  .about-column h4,
  .about-column h4 strong {
    font-size: 18px;
  }
  .about-column .nowrap {
    white-space: normal;
  }
  .about-heading,
  .about-header-note {
    font-size: 22px;
  }
  .about-heading {
    font-weight: 400;
  }
  .about-header-note {
    font-weight: 400;
  }
  .about-header {
    margin-top: 16px;
    margin-bottom: 20px;
    gap: 12px;
  }
}
/* ===== Hot deals carousel ===== */
.hot-deals {
  margin-bottom: 0;
}

.hot-deals-header {
  text-align: center;
  margin-top: var(--large);
  margin-bottom: var(--medium);
}

.hot-deals-heading {
  font-family: var(--font-heading), sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: 0;
}

.hot-deals-carousel {
  position: relative;
}

.hot-deals-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.hot-deals-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  text-align: left;
  gap: 6.67px;
  padding: 16.67px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 16.67px rgba(16, 17, 18, 0.14);
  cursor: pointer;
}

.hot-deals-photo {
  width: 100%;
  aspect-ratio: 1/1;
  height: auto;
  align-self: stretch;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 6.67px;
  margin-bottom: 10px;
  transition: transform 0.25s ease;
}

.hot-deals-card:hover .hot-deals-photo {
  transform: scale(1.06);
}

.hot-deals-price-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 3.33px;
}

.hot-deals-order-link {
  align-self: flex-start;
  font-family: var(--font-body), sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-blue);
  text-decoration: underline;
  text-decoration-color: rgba(16, 17, 18, 0.1);
  text-decoration-thickness: 1px;
  text-underline-offset: 3.33px;
  transition: color 0.2s ease;
}

.hot-deals-order-link:hover {
  color: #105FBD;
  text-decoration-color: rgba(22, 119, 255, 0.1);
  transition: none;
}

.hot-deals-price {
  font-family: var(--font-heading), sans-serif;
  font-weight: 600;
  font-size: 18.33px;
  color: #FF3B8D;
}

.hot-deals-name {
  font-family: var(--font-body), sans-serif;
  font-weight: 500;
  font-size: 16.67px;
  line-height: 1.3;
  text-align: left;
  margin-bottom: -3.33px;
  min-height: 1em;
}

@media (max-width: 768px) {
  .hot-deals-header {
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .hot-deals-heading {
    font-size: 22px;
    font-weight: 600;
  }
  /* Hot deals: СЃС‚Р°С‚РёС‡РЅР°СЏ СЃРµС‚РєР° 2x2, СЂР°СЃС‚СЏРЅСѓС‚Р° РІ РєСЂР°СЏ СЌРєСЂР°РЅР° */
  .hot-deals {
    width: 100%;
    margin-bottom: 0;
  }
  .hot-deals-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--color-border);
    border-top: 1px solid var(--color-border);
  }
  .hot-deals-order-link {
    font-size: 18px;
    text-decoration: none;
  }
  .hot-deals-card {
    width: 100%;
    min-width: 0;
    gap: 4px;
    padding: 10px 16px;
    border-radius: 0;
    box-shadow: none;
  }
  .hot-deals-track > .hot-deals-card:nth-child(5) {
    display: none;
  }
}
.contacts-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.3;
  color: var(--color-text);
  margin: 24px 0 16px;
}

.contacts-layout {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  align-items: stretch;
  -moz-column-gap: 0;
  column-gap: 0;
  margin-top: 0;
  margin-bottom: 32px;
}

.contacts-addresses {
  grid-column: 18/25;
  display: flex;
  flex-direction: column;
  background: #EAF7FE;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  overflow: hidden;
}

.contacts-city-heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text);
  padding: 16px 24px 8px 24px;
  background: #EAF7FE;
}

.contacts-city-heading:not(:first-child) {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.contacts-office {
  padding: 16px 24px;
  background: #EAF7FE;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.contacts-office:hover {
  background: #D3EFFC;
}

.contacts-office.is-active {
  background: #359FE7;
}

.contacts-office.is-active .contacts-office-address,
.contacts-office.is-active .contacts-office-hours,
.contacts-office.is-active .contacts-office-contact,
.contacts-office.is-active .contacts-office-contact a {
  color: #ffffff;
}

.contacts-office.is-active .contacts-office-contact a[href^="mailto:"] {
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.contacts-office.is-active .contacts-office-contact a:hover {
  color: #F1C410;
  border-bottom-color: rgba(241, 196, 16, 0.4);
}

.contacts-office-address {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: 2px;
}

.contacts-office-hours {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-blue);
  margin-bottom: 2px;
}

.contacts-office-contact {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: 0px;
}

.contacts-office-contact a {
  color: var(--color-text);
}

.contacts-office-contact a[href^="mailto:"] {
  border-bottom: 1px solid rgba(16, 17, 18, 0.1);
  transition: color 0.2s ease;
}

.contacts-office-contact a[href^="mailto:"]:hover {
  color: var(--color-blue);
  border-bottom-color: rgba(22, 119, 255, 0.1);
  transition: none;
}

.contacts-map {
  grid-column: 1/18;
  align-self: stretch;
  border-top-left-radius: 0;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  overflow: hidden;
  position: relative;
}

.contacts-map iframe {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.contacts-map.contacts-map--point iframe {
  height: calc(100% + 160px);
}

@media (max-width: 768px) {
  .contacts-heading {
    font-size: 28px;
    margin-top: 24px;
  }
  .contacts-layout {
    grid-template-columns: 1fr;
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-top: 0;
    margin-bottom: 0px;
    gap: 0;
  }
  .contacts-addresses {
    grid-column: auto;
    border-radius: 0;
    order: 1;
  }
  .contacts-city-heading {
    padding: 16px 16px 8px 16px;
  }
  .contacts-map {
    grid-column: auto;
    align-self: auto;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 0;
    order: 2;
  }
  .contacts-office {
    padding: 16px;
  }
}
.info-layout {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  align-items: start;
  -moz-column-gap: 16.67px;
  column-gap: 16.67px;
  margin-top: 24px;
  margin-bottom: 24px;
  padding-bottom: 0;
}

.info-page {
  grid-column: 1/17;
}

.info-sidebar, .info-layout > div {
  grid-column: 18/25;
}

.info-page {
  text-align: left;
}

.info-sidebar {
  background: #EAF7FE;
  border-radius: 10px;
  padding: 24px;
}

.info-sidebar-heading {
  font-family: var(--font-heading), sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--color-text);
  margin: 0 0 12px;
}

.info-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-sidebar-list a {
  font-family: var(--font-body), sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.info-sidebar-list a:hover {
  color: var(--color-blue);
}

.info-sidebar-list a.is-active {
  color: var(--color-text);
  font-weight: 700;
}

.info-page h1 {
  font-family: var(--font-heading), sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.3;
  color: var(--color-text);
  margin: 0 0 16px;
}

.info-page h2 {
  font-family: var(--font-heading), sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
  color: var(--color-text);
  margin: 24px 0 12px;
}

.info-page h3 {
  font-family: var(--font-heading), sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  color: var(--color-text);
  margin: 20px 0 8px;
}

.info-page p {
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0 0 16px;
}

.info-page > *:last-child {
  margin-bottom: 0;
}

.info-page ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.info-page li {
  font-family: var(--font-body), sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .info-layout {
    grid-template-columns: 1fr;
    margin-top: 24px;
    margin-bottom: 0px;
    gap: 32px;
  }
  .info-page {
    grid-column: auto;
  }
  .info-sidebar {
    display: none;
  }
  .info-page h1 {
    font-size: 28px;
  }
  .info-page h2 {
    font-size: 20px;
    margin-top: 20px;
  }
  .info-page h3 {
    font-size: 17px;
    margin-top: 17px;
  }
}
.pricing-heading {
  font-family: var(--font-heading), sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.4;
  color: var(--color-text);
  margin-top: var(--large);
  margin-bottom: var(--large);
  text-align: center;
}

@media (max-width: 768px) {
  .pricing-heading {
    font-size: 22px;
    font-weight: 400;
    scroll-margin-top: 16px;
    margin-top: var(--medium);
    margin-bottom: var(--medium);
  }
}
.pricing-heading-socials {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
  margin-left: 8px;
}

@media (max-width: 768px) {
  .pricing-heading-socials {
    #margin-left: 8px;
  }
}
.pricing-heading-socials .footer-social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-heading-socials .footer-social-icon img {
  width: 29px;
  height: 29px;
}
/*# sourceMappingURL=style.css.map */

/* End */


/* Start:/local/templates/mainTpl/css/order-discount.css?1792612151256*/
/* One mobile line break for online-order discount headings across the site. */
.pricing-heading .mn-discount-mobile-break {
    display: none;
}

@media (max-width: 768px) {
    .pricing-heading .mn-discount-mobile-break {
        display: block;
    }
}

/* End */


/* Start:/local/js/micronet/canvas/dist/app.bundle.css?179260843340942*/
/* Общие блоки галереи и оформления заказа — по assets/shared-hero-order.css
   макета. Раскладка страницы — в style.css шаблона компонента. */

/* ===== Тост «Загружено N фото» ===== */
.photo-upload-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E3F9EC;
    color: #16803C;
    padding: 10px 18px;
    border-radius: 999px;
    font-family: var(--font-body), sans-serif;
    font-weight: 500;
    font-size: 15px;
    transform: translateX(120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.photo-upload-toast.is-visible {
    transform: translateX(0);
    opacity: 1;
}

.photo-gallery-badge-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: #22C55E;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-gallery-badge-icon svg {
    width: 12px;
    height: 12px;
}

/* ===== Плитка фото ===== */
.photo-gallery-tile {
    position: relative;
    width: 100%;
}

.photo-gallery-tile-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.photo-gallery-format-frame {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.photo-gallery-tile:hover .photo-gallery-format-frame {
    transform: scale(1.03);
}

.photo-gallery-format-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.photo-gallery-format-frame img.is-loaded {
    opacity: 1;
}

.photo-gallery-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-gallery-spinner::after {
    content: '';
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid rgba(53, 159, 231, 0.15);
    border-top-color: #359FE7;
    animation: photo-gallery-spin 0.7s linear infinite;
}

.photo-gallery-tile-photo.is-loaded .photo-gallery-spinner {
    display: none;
}

@keyframes photo-gallery-spin {
    to {
        transform: rotate(360deg);
    }
}

.photo-gallery-remove {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #359FE7;
    padding: 0;
}

.photo-gallery-remove svg {
    width: 16px;
    height: 16px;
}

.photo-gallery-remove:hover {
    background: #359FE7;
    color: #ffffff;
}

.photo-gallery-quality {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
    font-family: var(--font-body), sans-serif;
    font-weight: 500;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
    color: var(--color-text);
}

.photo-gallery-quality:empty {
    display: none;
}

.photo-gallery-quality[data-level="excellent"],
.photo-gallery-quality[data-level="good"] {
    color: #15803D;
}

.photo-gallery-quality[data-level="low"],
.photo-gallery-quality[data-level="bad"] {
    color: #DC2626;
}

.mobile-break {
    display: none;
}

@media (max-width: 768px) {
    .photo-gallery-add {
        height: 260px;
    }
}

/* ===== Итоги заказа ===== */
/* Внутри голубого .photo-gallery итоги белые, иначе два голубых блока
   сливаются в один без границы. */
.photo-gallery .order-summary {
    background: #ffffff;
}

/* order-summary-rows — мобильная замена order-summary-table: единый div
   на label+value гарантирует border-bottom на всю ширину строки.
   .order-summary-desktop-only/.order-summary-mobile-only переключают,
   какой из двух вариантов виден. */
.order-summary-mobile-only {
    display: none;
}

.order-summary-rows {
    width: 100%;
}

.order-summary-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.075);
    font-family: var(--font-body), sans-serif;
}

.order-summary-row:first-child {
    padding-top: 0;
}

.order-summary-row-label {
    font-weight: 400;
    font-size: 18px;
    color: var(--color-text);
}

.order-summary-row-value {
    font-weight: 400;
    font-size: 18px;
    color: var(--color-text);
    white-space: nowrap;
    text-align: right;
}

.order-summary-row-total .order-summary-row-label {
    font-weight: 700;
    font-size: 18px;
}

.order-summary-row-total .order-summary-row-value {
    font-weight: 700;
}

/* ===== Оформление заказа ===== */
.order-checkout-delivery-note {
    margin: var(--large) auto 0;
    max-width: 760px;
    font-family: var(--font-body), sans-serif;
    font-size: 15px;
    line-height: 1.4;
    color: #ffffff;
    text-align: center;
}

@media (max-width: 768px) {
    .mobile-break {
        display: inline;
    }

    .order-summary-desktop-only {
        display: none;
    }

    .order-summary-mobile-only {
        display: block;
    }

    .order-summary-row-total {
        padding-bottom: 0;
        border-bottom: none;
    }

    .order-summary-note {
        text-align: left;
        margin-top: 20px;
    }

    .order-checkout-delivery-note {
        font-size: 18px;
    }
}


/* Миниатюры и корректное завершение предпросмотра без поддержки формата браузером. */
.page-canvas .canvas-preview-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 14px;
    box-sizing: border-box;
    border-radius: inherit;
    background: #f5f7f8;
    color: #66717b;
    text-align: center;
    cursor: default;
}
.page-canvas .canvas-preview-placeholder svg { width: 40px; height: 40px; flex-shrink: 0; }
.page-canvas .canvas-preview-file { max-width: 100%; max-height: 2.7em; overflow: hidden; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 14px; line-height: 1.35; color: #101112; }
.page-canvas .canvas-preview-status { font-size: 12px; line-height: 1.4; }
.page-canvas .canvas-lightbox-unavailable { max-width: 480px; margin: 60px 30px; color: #fff; text-align: center; line-height: 1.5; }
.page-canvas .photo-gallery-qty-btn:disabled { opacity: .4; cursor: default; }

/* ===== Фото на холсте 2: конструктор картин (слева настройки, справа 3D) ===== */
.canvas-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 0;
}

.canvas-item {
  width: 100%;
  flex: none;
  align-self: stretch;
}

/* Между картинами — пунктирная линия на всю ширину, отступ 24px до и после.
   Через background-image, а не border-style: dashed — так можно задать
   шаг пунктира шире, чем фиксированный браузерный. */
.canvas-item:not(:first-child) {
  position: relative;
  margin-top: 24px;
  padding-top: 24px;
}

/* Пунктир во всю ширину синего блока — выходит за отступы колонки через
   отрицательные margin (bleed), как меню/хедер на мобильном. */
.canvas-item:not(:first-child)::before,
.canvas-add::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(-1 * var(--large));
  right: calc(-1 * var(--large));
  height: 1px;
  background-image: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.3) 0 6px, transparent 6px 12px);
}

.canvas-item-head {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  min-height: 32px;
}

.canvas-item-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.4;
  color: #ffffff;
}

.canvas-item-title svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Удаление картины — кнопка с текстом, справа от заголовка «Картина N». */
.canvas-item-delete {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: none;
  border-radius: 10px;
  background: #ffffff;
  color: #359FE7;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  outline: none;
}

.canvas-item-delete:hover {
  background: #D3EFFC;
  color: #359FE7;
}

.canvas-item-delete[hidden] {
  display: none;
}

.canvas-item-body {
  display: grid;
  /* Сетка 12 колонок: 3D — 9 колонок, настройки — 3. */
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.canvas-item-body > .canvas-viewer {
  grid-column: 4 / 13;
  grid-row: 1;
}

.canvas-item-body > .canvas-controls {
  grid-column: 1 / 4;
  grid-row: 1;
}

/* --- правая колонка: заголовок, количество, размер, кадр (3D — слева) --- */
.canvas-controls {
  order: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  gap: 24px;
}

/* «Загрузить фото» — в колонке настроек под «Настроить кадр», та же кнопка, что на вкладке «Фотографии»
   (.btn-yellow .hero-upload-btn), под ней «Убрать фото». */
/* Плитка «Загрузить изображение» — как на «Бессмертном полку» (.photo-gallery-add). */
/* Ширина — как у поля «Количество»: две из трёх колонок чипов (gap 8px). */
.canvas-upload-tile {
  position: relative;
  width: calc((100% - 16px) * 2 / 3 + 8px);
  align-self: flex-start;
}

.canvas-upload {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  border: none;
  background: #ffffff;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  text-align: center;
  line-height: 1.4;
  cursor: pointer;
}

/* С фото — как на «Бессмертном полку»: без белой плитки, только снимок, крестик над углом. */
.canvas-upload-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.canvas-upload-tile.has-photo .canvas-upload-icon,
.canvas-upload-tile.has-photo .canvas-upload-text {
  visibility: hidden;
}

.canvas-upload-remove[hidden],
.canvas-upload-thumb[hidden] {
  display: none;
}

/* Плитка — в двух колонках из трёх (как «Количество»), статус качества — в третьей. */
.canvas-upload-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}

.canvas-upload-row > .canvas-upload-tile {
  grid-column: span 2;
  width: auto;
}

/* Статус — плашкой поверх низа фото, без отступов; фото не сдвигается. */
.canvas-upload-tile > .canvas-upload-quality[data-level] {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  padding: 6px 8px;
  border-radius: 0 0 10px 10px;
  font-size: 12px;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.canvas-upload-quality[data-level="excellent"],
.canvas-upload-quality[data-level="good"] {
  background: #E3F6EA;
  color: #1E9E57;
}

.canvas-upload-quality[data-level="low"],
.canvas-upload-quality[data-level="bad"] {
  background: #FDE4E4;
  color: #D93636;
}

.canvas-upload:focus,
.canvas-upload:focus-visible,
.canvas-upload-remove:focus,
.canvas-upload-remove:focus-visible {
  outline: none;
  box-shadow: none;
}

.canvas-upload-quality,
.canvas-upload-quality[data-level] {
  margin-top: 0;
  justify-content: flex-start;
  text-align: left;
  /* Переносы только в местах мягких дефисов из JS (выбран-ного, рекомен-дуется). */
  hyphens: manual;
  -webkit-hyphens: manual;
  overflow-wrap: anywhere;
}

/* Крестик: в покое голубой, при наведении белый. */
.canvas-upload-remove {
  background: #D3EFFC;
  color: #359FE7;
}

.canvas-upload-remove:hover {
  background: #ffffff;
  color: #359FE7;
}

.canvas-upload-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #EAF7FE;
  color: #359FE7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.canvas-upload-icon svg {
  width: 24px;
  height: 24px;
}

.canvas-upload:hover .canvas-upload-icon {
  background: #359FE7;
  color: #ffffff;
}

.canvas-upload-row .hero-upload-btn {
  align-self: stretch;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  cursor: pointer;
}

.canvas-upload-clear {
  align-self: center;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 14px;
  color: #ffffff;
  text-decoration: underline;
  cursor: pointer;
}

.canvas-upload-clear[hidden] {
  display: none;
}

.canvas-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

/* Количество — по ширине двух колонок чипов размеров, в третьей — цена картины. */
.canvas-qty-price {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
}

.canvas-qty-price > .canvas-row {
  grid-column: span 2;
}

.canvas-qty-price > .canvas-item-price {
  justify-content: flex-end;
}

.canvas-item-price {
  display: flex;
  align-items: center;
  height: 48px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  white-space: nowrap;
}

.canvas-row-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.canvas-row-pair .canvas-row {
  min-width: 0;
}

.canvas-row-pair select.canvas-field {
  padding-left: 10px;
  padding-right: 32px;
  text-overflow: ellipsis;
}

.canvas-row-label {
  font-family: var(--font-body);
  font-size: 16px;
  text-align: left;
  line-height: 1.4;
  color: #ffffff;
}

.canvas-field {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: none;
  border-radius: 10px;
  background: #ffffff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-text);
  box-sizing: border-box;
  outline: none;
}

/* Подпись «см» справа внутри поля ширины/высоты. */
.canvas-field-unit-wrap {
  position: relative;
  display: block;
}

.canvas-field-unit-wrap .canvas-field {
  padding-right: 38px;
}

.canvas-field-unit {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--color-muted);
  pointer-events: none;
}

.canvas-qty-input {
  outline: none;
}

select.canvas-field {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101112' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  cursor: pointer;
}

.canvas-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 48px;
  padding: 6px;
  border-radius: 10px;
  background: #ffffff;
}

.canvas-qty-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #EAF7FE;
  color: #359FE7;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  outline: none;
}

.canvas-qty-btn:not(:disabled):hover {
  background: #359FE7;
  color: #EAF7FE;
}

.canvas-qty-btn svg {
  width: 20px;
  height: 20px;
}

.canvas-qty-btn:disabled {
  color: #359FE7;
  opacity: 0.35;
  cursor: default;
}

.canvas-qty-input {
  width: 100%;
  min-width: 0;
  border: none;
  background: none;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-text);
  -moz-appearance: textfield;
}

.canvas-qty-input:focus {
  outline: none;
}

.canvas-qty-input::-webkit-outer-spin-button,
.canvas-qty-input::-webkit-inner-spin-button,
.canvas-field::-webkit-outer-spin-button,
.canvas-field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.canvas-field[type="number"] {
  -moz-appearance: textfield;
}

/* --- правая колонка: 3D-превью холста --- */
.canvas-viewer {
  position: relative;
  /* Пропорции фрейма — как в эталоне (≈1038×752 на десктопе). */
  aspect-ratio: 1038 / 752;
  border-radius: 12px;
  background: radial-gradient(circle, #FFFFFF 0%, #EAF7FE 35%, #D3EFFC 65%, #BEE5FA 100%);
  overflow: hidden;
}

.canvas-tools .canvas-rotate-btn {
  display: none;
}

.canvas-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
  outline: none;
}

.canvas-gl:active {
  cursor: grabbing;
}


/* Как переключатель "Способ получения"/размера транспаранта (.order-form-radio-group). */
/* Как «Настроить кадр» (.canvas-crop-btn): та же высота, скругления, шрифт. */
.canvas-view-switch {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
}

.canvas-view-switch button {
  height: 36px;
  padding: 0 14px;
  border: none;
  border-radius: 10px;
  background: #ffffff;
  color: #359FE7;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}

.canvas-view-switch button:hover {
  background: #359FE7;
  color: #ffffff;
}

.canvas-view-switch button.is-active,
.canvas-view-switch button.is-active:hover {
  background: #359FE7;
  color: #ffffff;
}

/* Кнопки сохранения, полного экрана и зума — наши, как счётчик и переключатель. */
.canvas-tools {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
}

.canvas-zoom {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.canvas-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #EAF7FE;
  color: #359FE7;
  cursor: pointer;
}

.canvas-icon-btn[hidden] {
  display: none;
}

.canvas-icon-btn:hover {
  background: #359FE7;
  color: #ffffff;
}

.canvas-icon-btn svg {
  width: 20px;
  height: 20px;
}

.canvas-hint[hidden] {
  display: none;
}

.canvas-hint {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 56px;
  font-family: var(--font-body);
  font-size: 13px;
  text-align: center;
  color: rgba(16, 17, 18, 0.5);
  pointer-events: none;
}

.canvas-viewer:fullscreen {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
}

/* --- кнопка «Добавить картину» на линии --- */
.canvas-add {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  width: 100%;
  margin-top: 24px;
  padding-top: 24px;
}

.canvas-add-btn {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: none;
  border-radius: 10px;
  background: #ffffff;
  color: #359FE7;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}

.canvas-add-btn svg {
  width: 18px;
  height: 18px;
}

.canvas-add-btn:hover {
  background: #D3EFFC;
  color: #359FE7;
}


@media (max-width: 768px) {
  .canvas-item-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .canvas-item-body > .canvas-viewer,
  .canvas-item-body > .canvas-controls {
    grid-column: auto;
    grid-row: auto;
  }

  /* На телефоне: заголовок, 3D-превью, затем настройки. */
  .canvas-controls {
    display: contents;
  }

  .canvas-item-head {
    order: -2;
    margin-bottom: 0;
  }

  .canvas-upload-row {
    order: -1;
  }

  .canvas-upload-tile {
    max-width: 220px;
    margin: 0 auto;
  }

  .canvas-upload-row {
    display: flex;
    flex-direction: column;
  }

  .canvas-upload-row > .canvas-upload-tile {
    width: 100%;
  }

  .canvas-upload-quality {
    justify-content: center;
    text-align: center;
  }

  .canvas-viewer {
    aspect-ratio: 1 / 1;
  }
}

/* На голубом фоне фрейма плашки и кнопки — белые, иначе сливаются. */
.canvas-viewer .canvas-icon-btn {
  background: #ffffff;
}

.canvas-viewer .canvas-icon-btn:hover {
  background: #359FE7;
}

/* --- «Размер, см»: Ширина ⇄ Высота, готовые размеры по 3 в ряд --- */
.canvas-size-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}


.canvas-size-inputs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
  align-items: end;
  gap: 8px;
}

.canvas-size-swap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: none;
  color: #ffffff;
  cursor: pointer;
}

.canvas-size-swap svg {
  width: 22px;
  height: 22px;
}

.canvas-size-swap:hover {
  opacity: 0.7;
}

.canvas-size-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.canvas-size-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 6px;
  border: none;
  border-radius: 10px;
  background: #ffffff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--color-text);
  white-space: nowrap;
  cursor: pointer;
}

.canvas-size-chip:hover {
  background: #EAF7FE;
}

.canvas-size-chip.is-active {
  background: #101112;
  color: #ffffff;
}


/* --- «Настроить кадр» — в левом верхнем углу 3D, как кнопки фрейма --- */
.canvas-crop-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: none;
  border-radius: 10px;
  background: #ffffff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: #359FE7;
  cursor: pointer;
}

.canvas-crop-btn svg {
  width: 20px;
  height: 20px;
}

.canvas-crop-btn:hover {
  background: #359FE7;
  color: #ffffff;
}

/* --- окно «Настройте кадр» (общая site-modal). Селектор с .site-modal-card
   нужен, чтобы перебить text-align:center оттуда — shared-modal.css
   подключается через footer.html, то есть позже этого файла в каскаде. */
.site-modal-card.canvas-crop-card {
  max-width: 720px;
  padding: 24px;
  text-align: left;
}

.canvas-crop-card .site-modal-title {
  margin-bottom: 12px;
}

.canvas-crop-wrap {
  position: relative;
  height: calc(min(49vh, 420px) + 69px);
  margin-bottom: 20px;
  border-radius: 12px;
  background: #EAF7FE;
  overflow: hidden;
}

.canvas-crop-canvas {
  display: block;
  width: 100%;
  height: calc(100% - 53px);
  touch-action: none;
  cursor: grab;
}

.canvas-crop-canvas:active {
  cursor: grabbing;
}

.canvas-crop-hint {
  margin: 0 0 20px;
  font-size: 16px;
  color: var(--color-text);
}

.canvas-crop-scale {
  display: flex;
  position: absolute;
  left: 24px;
  bottom: 17px;
  right: 24px;
  align-items: center;
  height: 36px;
}

.order-summary-table-sum td {
  border-top: 1px solid rgba(16, 17, 18, 0.1);
}

.canvas-crop-card :focus {
  outline: none;
}

/* Ползунок масштаба — тонкая голубая дорожка вместо системной, в стиле сайта.
   Толще трек и крупнее «ручка» с обводкой и тенью — на самостоятельный
   слайдер, а не системный контрол. */
.canvas-crop-scale input {
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(#359FE7, #359FE7) 0 / var(--fill, 0%) 100% no-repeat, #ffffff;
  cursor: pointer;
}

.canvas-crop-scale input::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  background: #359FE7;
  box-shadow: 0 2px 8px rgba(53, 159, 231, 0.45);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.canvas-crop-scale input::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: #359FE7;
  box-shadow: 0 2px 8px rgba(53, 159, 231, 0.45);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.canvas-crop-scale input::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: #359FE7;
}

.canvas-crop-scale input::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: #ffffff;
}

.canvas-crop-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.canvas-crop-center {
  position: absolute;
  top: 16px;
  right: 16px;
  height: 36px;
  padding: 0 14px;
  border: none;
  border-radius: 10px;
  background: #ffffff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  color: #359FE7;
  cursor: pointer;
}

.canvas-crop-center:hover {
  background: #359FE7;
  color: #ffffff;
}

.canvas-crop-done {
  height: 48px;
  padding: 0 40px;
  border-radius: 999px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .canvas-crop-btn-extra {
    display: none;
  }

  .canvas-tools .canvas-rotate-btn {
    display: flex;
  }

  .canvas-add {
    margin-top: 16px;
    padding-top: 16px;
  }

  .canvas-viewer .canvas-rotate-btn:not(.is-active):hover {
    background: #ffffff;
    color: #359FE7;
  }

  .canvas-rotate-btn.is-active,
  .canvas-rotate-btn.is-active:hover {
    background: #359FE7;
    color: #ffffff;
  }

  /* Пока «3D» не включена, холст не ловит касания — страница листается пальцем. */
  .canvas-viewer:not(.is-rotate) .canvas-gl {
    pointer-events: none;
    touch-action: auto;
  }

  .canvas-size-chips {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .canvas-crop-card {
    padding: 24px 16px;
  }
}

/* Нажатие — как у .btn (см. shared-blocks.css): кнопка слегка опускается.
   Кнопки «Количество» (±) сюда не входят — там клик меняет текст соседних
   элементов, и лишний transform на двух кнопках сразу выглядел как сдвиг. */
.canvas-view-switch button,
.canvas-icon-btn,
.canvas-add-btn,
.canvas-size-swap,
.canvas-size-chip,
.canvas-crop-btn {
  transition: transform 0.15s ease;
}

.canvas-view-switch button:active,
.canvas-icon-btn:active,
.canvas-add-btn:active,
.canvas-size-swap:active,
.canvas-size-chip:active,
.canvas-crop-btn:active {
  transform: translateY(1.67px);
}

/* Без системной обводки-фокуса на кнопках конструктора. */
.canvas-qty-btn,
.canvas-view-switch button,
.canvas-icon-btn,
.canvas-add-btn,
.canvas-size-swap,
.canvas-size-chip,
.canvas-crop-btn,
.canvas-crop-center,
.canvas-crop-done {
  outline: none;
}

/* Плавное появление новой картины в списке — просто прозрачность, без
   переезда отдельных кнопок (сбивало визуально их позицию на время анимации). */
.canvas-item {
  animation: canvasItemIn 0.3s ease;
}

@keyframes canvasItemIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Пока фото не загружено, плитка «Загрузить изображение» периодически подрагивает —
   привлекает внимание. С фото, при наведении и при reduced-motion — стоит. */
@keyframes canvas-upload-nudge {
  0%, 82%, 100% { transform: translateX(0); }
  85% { transform: translateX(-4px); }
  88% { transform: translateX(4px); }
  91% { transform: translateX(-3px); }
  94% { transform: translateX(3px); }
  97% { transform: translateX(-1px); }
}

.canvas-upload-tile:not(.has-photo) .canvas-upload {
  animation: canvas-upload-nudge 3.5s ease-in-out infinite;
}

.canvas-upload-tile:not(.has-photo) .canvas-upload:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .canvas-upload-tile .canvas-upload {
    animation: none;
  }
}

/* Десктоп: колонка настроек не выше 3D-фрейма. Высоту строки задаёт фрейм
   (contain: size — настройки в расчёт не идут), а плитка «Загрузить изображение»
   забирает всё оставшееся место по высоте, оставаясь квадратной. */
@media (min-width: 769px) {
  .canvas-item-body > .canvas-controls {
    contain: size;
    align-self: stretch;
    justify-content: space-between;
  }

  .canvas-controls > .canvas-upload-row {
    display: flex;
    flex: 1 1 0;
    min-height: 0;
  }

  .canvas-upload-row > .canvas-upload-tile {
    height: 100%;
    width: auto;
    max-width: 100%;
    aspect-ratio: 1 / 1;
  }

  .canvas-upload-tile > .canvas-upload {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }
}

/* Подпись над чипами: от неё до чипов 8px, как у остальных подписей (gap блока — 12px). */
.canvas-size-chips-label {
  margin-top: 12px; /* 12px gap + 12px = 24px — как между плиткой загрузки и «Шириной» */
  margin-bottom: -4px;
}

/* «Итого» — одна колонка (третья), «Количество» — две. */
.canvas-qty-price > .canvas-price-row {
  grid-column: span 1;
  padding-left: 8px; /* 8px gap + 8px = 16px от поля количества */
}

.canvas-price-row .canvas-item-price {
  justify-content: flex-start;
  height: auto;
}

/* «Итого» и сумма — один блок без отступа, по центру высоты поля количества. */
.canvas-qty-price > .canvas-price-row {
  align-self: end;
  height: 48px;
  gap: 0;
  justify-content: center;
}

.canvas-price-row .canvas-row-label {
  line-height: 1.2;
}


/* Заголовок каждого холста — над всем блоком, как бывший заголовок раздела;
   «Удалить» — справа от него. */
.canvas-item > .canvas-item-head {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.canvas-item > .canvas-item-head .canvas-item-title {
  font-size: 32px;
  margin: 0;
}

.canvas-item > .canvas-item-head {
  position: relative;
}

/* Заголовок — по центру, «Удалить» — в правом углу строки. */
.canvas-item > .canvas-item-head .canvas-item-delete {
  height: 36px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .canvas-item > .canvas-item-head .canvas-item-delete {
    position: static;
    transform: none;
  }
}

@media (max-width: 768px) {
  .canvas-item > .canvas-item-head {
    margin-bottom: 16px;
  }

  .canvas-item > .canvas-item-head .canvas-item-title {
    font-size: 24px;
  }
}

/* «Популярные размеры»: по 3 в строке на всю ширину колонки настроек. */
.canvas-size-chips {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

/* «Количество» — ровно половина ширины ряда, «Итого» — через 20px. */
@media (min-width: 769px) {
  .canvas-qty-price {
    grid-template-columns: 1fr 1fr;
    column-gap: 0; /* количество — ровно половина ряда */
  }

  .canvas-qty-price > .canvas-price-row {
    padding-left: 20px;
  }

  .canvas-qty-price > .canvas-row,
  .canvas-qty-price > .canvas-price-row {
    grid-column: auto;
  }
}

/* «Удалить» холст: на десктопе — текст, на ≤768 — иконка корзины справа от заголовка. */
.canvas-item-delete-icon {
  display: none;
}

@media (max-width: 768px) {
  .canvas-item > .canvas-item-head {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .canvas-item > .canvas-item-head .canvas-item-delete {
    flex-shrink: 0;
    width: 36px;
    padding: 0;
    justify-content: center;
  }

  .canvas-item-delete-text {
    display: none;
  }

  .canvas-item-delete-icon {
    display: flex;
  }

  .canvas-item-delete-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* ≤768: «Количество» — тоже ровно половина ширины, «Стоимость» — через 20px. */
@media (max-width: 768px) {
  .canvas-qty-price {
    grid-template-columns: 1fr 1fr;
    column-gap: 0;
  }

  .canvas-qty-price > .canvas-row,
  .canvas-qty-price > .canvas-price-row {
    grid-column: auto;
  }

  .canvas-qty-price > .canvas-price-row {
    padding-left: 20px;
  }
}

/* ≤768: «Удалить» — текстовая кнопка над заголовком, справа (вместо иконки корзины). */
@media (max-width: 768px) {
  .canvas-item > .canvas-item-head {
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .canvas-item > .canvas-item-head .canvas-item-delete {
    align-self: flex-end;
    width: auto;
    padding: 0 14px;
  }

  .canvas-item-delete-text {
    display: inline;
  }

  .canvas-item-delete-icon {
    display: none;
  }
}

/* ≤768: «Удалить» и «Добавить ещё один холст» — по центру. */
@media (max-width: 768px) {
  .canvas-item > .canvas-item-head .canvas-item-delete {
    align-self: center;
  }

  .canvas-add {
    justify-content: center;
  }
}

/* ≤768 (итог): заголовок слева, корзина справа в той же строке. */
@media (max-width: 768px) {
  .canvas-item > .canvas-item-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .canvas-item > .canvas-item-head .canvas-item-title {
    text-align: left;
    align-self: center;
  }

  .canvas-item > .canvas-item-head .canvas-item-delete {
    align-self: center;
    width: 36px;
    padding: 0;
    justify-content: center;
  }

  .canvas-item-delete-text {
    display: none;
  }

  .canvas-item-delete-icon {
    display: flex;
  }
}

/* ≤768: один холст (кнопки удаления нет) — заголовок по центру. */
@media (max-width: 768px) {
  .canvas-item > .canvas-item-head:has(.canvas-item-delete[hidden]) {
    justify-content: center;
  }

  .canvas-item > .canvas-item-head:has(.canvas-item-delete[hidden]) .canvas-item-title {
    text-align: center;
  }
}

/* ≤768: корзина — в правом верхнем углу, заголовок не заезжает под неё. */
@media (max-width: 768px) {
  .canvas-item > .canvas-item-head .canvas-item-delete {
    position: absolute;
    top: 0;
    right: 0;
    transform: none;
  }

  .canvas-item > .canvas-item-head:has(.canvas-item-delete:not([hidden])) .canvas-item-title {
    padding-right: 48px;
  }
}

/* ≤768: в «Популярных размерах» без квадратных 30×30, 50×50, 80×80 — 6 кнопок. */
@media (max-width: 768px) {
  .canvas-size-chip[data-size="30x30"],
  .canvas-size-chip[data-size="50x50"],
  .canvas-size-chip[data-size="80x80"] {
    display: none;
  }
}


/* Integration with the current Bitrix template; gallery and checkout retain their own styles. */
.page-canvas .canvas-constructor .hero-photo-text{width:100%;max-width:none;min-width:0;display:flex;flex-direction:column;align-items:stretch;padding-bottom:24px}
.page-canvas .canvas-constructor .canvas-item-title{margin:0}
.page-canvas .canvas-size-inputs>.canvas-row{min-width:0}
.page-canvas .canvas-upload-text{white-space:normal;max-width:100px}
.page-canvas .canvas-upload.has-image>.canvas-upload-text,.page-canvas .canvas-upload.has-image>.canvas-upload-icon{visibility:hidden}
.canvas-viewer-placeholder{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}
.page-canvas .canvas-upload-retry{border:0;background:transparent;cursor:pointer;width:100%;padding:0;white-space:normal}
.page-canvas .canvas-item button:disabled{opacity:.55;cursor:default}
.page-canvas .canvas-item .is-invalid input{border-color:#e44b4b!important;box-shadow:0 0 0 1px #e44b4b}
.page-canvas .canvas-item .is-shaking{animation:canvas-invalid-shake .3s linear}
@keyframes canvas-invalid-shake{25%,75%{transform:translateX(-3px)}50%{transform:translateX(3px)}}
.page-canvas .canvas-item :focus-visible,.page-canvas .canvas-add-btn:focus-visible,.canvas-crop-modal :focus-visible{outline:2px solid #ffd029;outline-offset:3px}
.canvas-crop-modal{position:fixed;inset:0;z-index:15000;display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto;font-family:var(--font-body),sans-serif}
.canvas-crop-modal .site-modal-overlay{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.canvas-crop-modal .canvas-crop-card{position:relative;max-height:calc(100dvh - 32px);overflow:auto;background:#fff;border-radius:16px;width:min(800px,100%);padding:24px;box-sizing:border-box}
.canvas-crop-modal .site-modal-close{position:absolute;top:14px;right:14px;background:transparent;border:0;width:28px;height:28px;cursor:pointer}
.canvas-crop-modal .site-modal-title{margin:0 32px 8px 0;font-size:24px;color:#101112}
.canvas-crop-modal .site-modal-close svg{width:24px;height:24px}
body.site-modal-open{overflow:hidden}
@media(max-width:768px){.page-canvas .canvas-constructor .hero-photo-text{padding-bottom:0}.canvas-crop-modal .canvas-crop-card{padding:24px 16px}}
@media(prefers-reduced-motion:reduce){.page-canvas .canvas-item .is-shaking{animation:none}.page-canvas .canvas-item button{transition:none}}
.page-canvas .canvas-page-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.page-canvas .canvas-constructor .canvas-list{margin-top:24px}
.page-canvas .canvas-summary-section{margin-top:0;margin-bottom:0;background:#fff;text-align:center}
.page-canvas .canvas-summary-section .gift-select-panel-body{padding:var(--large,24px);background:#D3EFFC;border-radius:0 0 10px 10px}
.page-canvas .canvas-summary-section .gift-select-panel-heading{margin:0;font:600 32px/1.4 var(--font-heading),sans-serif;color:var(--color-text)}
.page-canvas .canvas-summary-section .gift-select-panel-note{font:400 18px/1.4 var(--font-body),sans-serif;color:var(--color-text);text-align:center;margin:8px 0 0}
.page-canvas .canvas-summary-section .order-summary{background:#fff}
@media(max-width:768px){.page-canvas .canvas-summary-section{order:2}.page-canvas .canvas-summary-section.container{width:100vw;margin-right:0;position:relative;left:50%;margin-left:-50vw}.page-canvas .canvas-summary-section .gift-select-panel-body{border-radius:0}.page-canvas .canvas-summary-section .gift-select-panel-heading{font-size:28px}.page-canvas .canvas-summary-section .gift-select-panel-note{font-size:16px}}

.canvas-summary-section .order-summary-table .order-summary-table-sum td {
  font-weight: 700;
}

/* End */
/* /local/templates/mainTpl/assets/css/style.css?179076568680213 */
/* /local/templates/mainTpl/css/order-discount.css?1792612151256 */
/* /local/js/micronet/canvas/dist/app.bundle.css?179260843340942 */
