
.cart-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 4px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(var(--color-brand-rgb, 220, 59, 99), 0.07);
  border: 1px solid rgba(var(--color-brand-rgb, 220, 59, 99), 0.22);
  color: var(--color-text);
  font-size: 15px;
  line-height: 22px;
  letter-spacing: -0.01em;
}

.cart-notice::before {
  content: '!';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  text-align: center;
}

.cart-notice--live {
  animation: thebox-notice-in 0.28s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes thebox-notice-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cart-notice--live { animation: none; }
}

.thebox-toast {
  position: fixed;
  left: 50%;
  bottom: 110px;
  z-index: 1200;
  transform: translateX(-50%);
  max-width: min(92vw, 560px);
  padding: 14px 24px;
  border-radius: 15px;
  background: var(--color-text);
  color: #fff;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: -0.02em;
  text-align: center;
  box-shadow: 0 12px 32px rgba(var(--color-text-rgb), 0.18);
  animation: thebox-toast-in 0.24s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.thebox-toast--ok   { background: var(--color-brand); }
.thebox-toast--wait { background: var(--color-text); opacity: 0.85; }

@keyframes thebox-toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .thebox-toast { animation: none; }
}

.thebox-buy-error {
  flex-basis: 100%;
  margin: 12px 0 0;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(var(--color-brand-rgb, 220, 59, 99), 0.08);
  color: var(--color-brand);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.01em;
}

.thebox-extra-lock {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.thebox-extra-lock__note {
  margin: 0;
  max-width: 42em;
  font-size: 15px;
  line-height: 22px;
  letter-spacing: -0.02em;
  color: var(--color-text, #1a1a1a);
}

.thebox-extra-lock__btn {
  padding: 10px 22px;
  border: 1px solid var(--color-accent, #dc3b63);
  border-radius: 999px;
  background: transparent;
  color: var(--color-accent, #dc3b63);
  font-size: 15px;
  line-height: 20px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.thebox-extra-lock__btn:hover,
.thebox-extra-lock__btn:focus-visible {
  background: var(--color-accent, #dc3b63);
  color: #fff;
}

.cart-item--blocked .cart-item__img-wrap {
  position: relative;
  border-radius: 8px;
  box-shadow: 0 0 0 2px var(--color-accent, #dc3b63);
}

.cart-item--blocked .cart-item__colors {
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(220, 59, 99, 0.12);
}

.header__cart-badge,
.header__like-badge {
  transform: translate(7px, -7px);
}

.lightbox__stage { padding: 20px 0; }

.lightbox__frame {
  width: auto;
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.lightbox__img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 134px);
  max-height: calc(100dvh - 134px);
  object-fit: contain;
}

@media (max-width: 767.98px) {
  .lightbox__img {
    max-height: calc(100vh - 130px);
    max-height: calc(100dvh - 130px);
  }
}

html.js-reveal [data-reveal-stagger]:not([data-reveal-ready]) > *:not([data-reveal-skip]) {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  html.js-reveal [data-reveal-stagger] > * { opacity: 1; }
}

html.js-reveal .page-catalog [data-reveal],
html.js-reveal .page-marketplace [data-reveal],
html.js-reveal .page-liked [data-reveal],
html.js-reveal .page-search [data-reveal],
html.js-reveal .page-catalog [data-reveal].is-in,
html.js-reveal .page-marketplace [data-reveal].is-in,
html.js-reveal .page-liked [data-reveal].is-in,
html.js-reveal .page-search [data-reveal].is-in {
  opacity: 1; animation: none; translate: none; scale: none; rotate: none;
}
html.js-reveal .page-catalog [data-reveal-stagger] > *,
html.js-reveal .page-marketplace [data-reveal-stagger] > *,
html.js-reveal .page-liked [data-reveal-stagger] > *,
html.js-reveal .page-search [data-reveal-stagger] > * {
  opacity: 1; animation: none; translate: none; scale: none; rotate: none;
}

@media (hover: hover) {
  .product-card__photo {
    will-change: auto;
    transform-style: flat;
    -webkit-transform-style: flat;
    transform: scale(1) rotate(0deg);
    -webkit-transform: scale(1) rotate(0deg);
  }
  .product-card:hover .product-card__photo {
    transform: scale(1.09) rotate(0deg);
    -webkit-transform: scale(1.09) rotate(0deg);
  }
}

.product-card[data-photos="1"] .product-card__nav {
  display: none;
}

.search-card__soldout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--color-bg-warm);
  padding: 5px 10px;
  border-radius: 33px;
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 20px;
  color: var(--color-brand);
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.search-card__soldout-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.liked-card__soldout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--color-bg-warm);
  padding: 5px 10px;
  border-radius: 33px;
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 20px;
  color: var(--color-brand);
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.liked-card__soldout-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.product-inside__card-soldout {
  grid-area: add;
  align-self: start;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--color-bg-warm);
  padding: 5px 10px;
  border-radius: 33px;
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 20px;
  color: var(--color-brand);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.product-inside__card-soldout-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.cart-group__header {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.ctor-first { pointer-events: none; }
.ctor-first > [data-first] { display: none; }
html:not([data-ctor-first]) .ctor-first > [data-first="1"],
html[data-ctor-first="1"] .ctor-first > [data-first="1"],
html[data-ctor-first="2"] .ctor-first > [data-first="2"] { display: block; }
html[data-ctor-first="1"] #constructorApp,
html[data-ctor-first="2"] #constructorApp {
  height: 0;
  overflow: hidden;
  visibility: hidden;
}
#constructorApp.ctor-first-swap .ctor-step1,
#constructorApp.ctor-first-swap .ctor-step2,
#constructorApp.ctor-first-swap .ctor-bar { animation-duration: 0s; }
.ctor-first .ctor-chip[data-color] { display: none; }
html[data-ctor-color="cream"] .ctor-first .ctor-chip[data-color="cream"],
html[data-ctor-color="black"] .ctor-first .ctor-chip[data-color="black"] { display: block; }

@media (min-width: 1280px) {
  .product__item .product__item-name {
    width: auto;
    flex: 0 1 auto;
    min-width: 0;
  }
}

.page-catalog .seo-block__text,
.page-marketplace .seo-block__text,
.page-home .seo-block__text,
.page-corporate-clients .seo-block__text {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.seo-block__text h3 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 24px 0 8px;
}
.seo-block__text ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.seo-block__text ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: -0.02em;
}
.seo-block__text ul li:last-child { margin-bottom: 0; }
.seo-block__text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--color-brand);
  border-radius: 50%;
}
@media (min-width: 1314px) {
  .seo-block__text ul li::before { top: 7px; }
}
.seo-block__text > *:last-child { margin-bottom: 0; }
@media (min-width: 1314px) {
  .seo-block__text h3,
  .seo-block__text ul li {
    font-size: 17px;
    line-height: 24px;
    letter-spacing: -0.34px;
  }
}


.info-bar,
.cookie-bar__ok { background: #DB345D; }
.cookie-bar__text a,
.product__contents-count,
.product__color-opt input:checked ~ .product__color-name,
.product__color-opt:hover .product__color-name,
.cart-empty__accent,
.liked-empty__accent,
.text-brand { color: #DB345D; }
.filter-seg__pill,
.filter-seg:not(.is-pill-set) .filter-seg__btn.is-active { background: #DB345D; }
.product__avail-pill span,
.search-card__soldout { color: #D92C57; }

.about-contact__label,
.case-card__label,
.case-info__label,
.ctor-extra__hint,
.filter-reset { opacity: 0.6; }
.product__desc-title { color: rgba(var(--color-text-rgb), 0.6); }
.postcard-modal__sign-count {
  flex: 0 0 auto;
  align-self: flex-end;
  margin-top: 4px;
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 20px;
  letter-spacing: -0.02em;
  color: var(--color-text);
  opacity: 0.4;
  pointer-events: none;
}
.postcard-modal__sign-count-val { color: var(--color-brand); }

@media (max-width: 767.98px) {
  .postcard-modal__sign-box { height: 124px; }
}
@media (max-width: 1023.98px) {
  .product__img-wrap .product__avail-pill {
    width: auto;
    padding-left: 8px;
  }
}

@media (max-width: 767.98px) {
  .filter-panel { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 1024px) {
  body:has(.mobile-nav.is-open) .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
  }
}
@media (max-width: 480px) {
  .checkout-form .checkout-form__row--date {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}
@media (max-width: 359.98px) {
  .checkout-form .checkout-form__row--date {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.cc-hero__btn { margin-top: 32px; }

.ctor-hero__step,
.ctor-first .ctor-hero__title {
  font-family: var(--font-italic);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.ctor-first .ctor-hero__title { font-size: var(--fs-page-h1); line-height: var(--lh-page-h1); }
.ctor-hero__step {
  font-size: 18px;
  line-height: 24px;
  color: var(--color-bg-warm);
  margin-bottom: 12px;
}
