/*
 * Московская Тортовня — light visual refresh.
 * Loaded after the exported Tilda and legacy project styles so the existing
 * catalogue, account and administration behaviour can remain untouched.
 */

:root {
  --mt-ink: #3b2b31;
  --mt-muted: #76676c;
  --mt-paper: #fffaf8;
  --mt-surface: rgba(255, 255, 255, 0.91);
  --mt-surface-solid: #ffffff;
  --mt-line: rgba(120, 82, 96, 0.16);
  --mt-rose: #ad5878;
  --mt-rose-strong: #8f4260;
  --mt-rose-soft: #f3dce5;
  --mt-mint: #cfe8dd;
  --mt-peach: #fae9df;
  --mt-shadow: 0 22px 60px rgba(92, 59, 72, 0.12);
}

/* Individual cake requests */
.t2c-custom-order-promo {
  position: relative;
  isolation: isolate;
  padding: clamp(72px, 8vw, 118px) 24px;
  background:
    linear-gradient(90deg, rgba(43, 24, 33, .78), rgba(72, 39, 51, .58)),
    url("../images/homepage-unified-cake-background-2026.webp") center / cover no-repeat;
}

.t2c-custom-order-promo__wrap {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  overflow: hidden;
  border: 1px solid rgba(241, 192, 211, .22);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(64, 36, 48, .97), rgba(48, 27, 37, .95));
  box-shadow: 0 30px 80px rgba(25, 11, 18, .3);
}

.t2c-custom-order-promo__copy {
  padding: clamp(42px, 5vw, 76px);
}

.t2c-custom-order-promo__copy h2 {
  max-width: 720px;
  margin: 10px 0 18px;
  color: #fff7f5;
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: .98;
  letter-spacing: -.045em;
}

.t2c-custom-order-promo__copy > p:not(.t2c-kicker) {
  max-width: 680px;
  margin: 0;
  color: #d9c8ce;
  font-size: 17px;
  line-height: 1.65;
}

.t2c-custom-order-promo__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.t2c-custom-order-promo__steps li {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(242, 187, 209, .18);
  border-radius: 16px;
  background: rgba(255, 242, 246, .045);
}

.t2c-custom-order-promo__steps b {
  display: block;
  margin-bottom: 20px;
  color: #df8fb4;
  font-size: 12px;
  letter-spacing: .12em;
}

.t2c-custom-order-promo__steps strong,
.t2c-custom-order-promo__steps small {
  display: block;
}

.t2c-custom-order-promo__steps strong { color: #fff4f2; font-size: 14px; }
.t2c-custom-order-promo__steps small { margin-top: 6px; color: #cbb8bf; font-size: 12px; line-height: 1.45; }

.t2c-custom-order-promo__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.t2c-custom-order-promo__actions button {
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #c55389, #a84072);
  box-shadow: 0 14px 34px rgba(184, 70, 121, .24);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.t2c-custom-order-promo__actions button:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 18px 38px rgba(184, 70, 121, .34); }
.t2c-custom-order-promo__actions button:focus-visible { outline: 3px solid rgba(255, 205, 226, .88); outline-offset: 3px; }
.t2c-custom-order-promo__actions small { max-width: 230px; color: #bca9b1; line-height: 1.4; }

.t2c-custom-order-promo__visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.t2c-custom-order-promo__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(48, 27, 37, .34), transparent 42%), linear-gradient(0deg, rgba(42, 22, 32, .8), transparent 46%);
  pointer-events: none;
}

.t2c-custom-order-promo__visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.t2c-custom-order-promo__visual > div {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 28px;
  left: 28px;
  padding: 19px 20px;
  border: 1px solid rgba(255, 226, 237, .25);
  border-radius: 16px;
  background: rgba(52, 28, 39, .78);
  box-shadow: 0 16px 36px rgba(20, 8, 14, .28);
  backdrop-filter: blur(12px);
}

.t2c-custom-order-promo__visual b,
.t2c-custom-order-promo__visual span { display: block; }
.t2c-custom-order-promo__visual b { color: #fff6f4; font-size: 17px; }
.t2c-custom-order-promo__visual span { margin-top: 6px; color: #d8c2ca; font-size: 13px; line-height: 1.45; }

.t2c-custom-order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
}

.t2c-custom-order-form,
.t2c-custom-order-aside,
.t2c-custom-order-history {
  border: 1px solid rgba(238, 183, 206, .2);
  border-radius: 18px;
  background: rgba(84, 47, 62, .5);
  box-shadow: 0 18px 42px rgba(27, 12, 19, .14);
}

.t2c-custom-order-form { padding: 22px; }
.t2c-custom-order-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.t2c-custom-order-form__grid label { display: grid; gap: 7px; min-width: 0; }
.t2c-custom-order-form__grid label.is-wide { grid-column: 1 / -1; }
.t2c-custom-order-form__grid label > span { color: #dccbd1; font-size: 13px; font-weight: 700; }
.t2c-custom-order-form input,
.t2c-custom-order-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(239, 192, 211, .25);
  border-radius: 12px;
  color: #fff7f5;
  background: rgba(28, 15, 22, .65);
  font: inherit;
  font-size: 15px;
}
.t2c-custom-order-form input { min-height: 46px; padding: 0 13px; }
.t2c-custom-order-form textarea { resize: vertical; min-height: 128px; padding: 12px 13px; line-height: 1.55; }
.t2c-custom-order-form input::placeholder,
.t2c-custom-order-form textarea::placeholder { color: #a88e98; opacity: 1; }
.t2c-custom-order-form input:focus,
.t2c-custom-order-form textarea:focus { border-color: #dd82ad; outline: 3px solid rgba(221, 130, 173, .17); }

.t2c-custom-order-upload {
  margin-top: 18px;
  padding: 18px;
  border: 1px dashed rgba(236, 175, 201, .32);
  border-radius: 14px;
  background: rgba(37, 19, 27, .28);
}
.t2c-custom-order-upload > div:first-child { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.t2c-custom-order-upload b { color: #fff2f0; }
.t2c-custom-order-upload span { color: #c8b3bb; font-size: 12px; }
.t2c-custom-order-upload > label { display: flex; align-items: center; gap: 12px; width: fit-content; min-height: 42px; padding: 0 14px; border-radius: 11px; color: #fff; background: #8d4667; cursor: pointer; }
.t2c-custom-order-upload > label input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.t2c-custom-order-upload > label span { color: #fff; font-weight: 800; }
.t2c-custom-order-upload > label em { color: #f4d8e4; font-size: 12px; font-style: normal; }
.t2c-custom-order-upload > label:focus-within { outline: 3px solid rgba(240, 166, 200, .32); outline-offset: 2px; }
.t2c-custom-order-upload__previews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.t2c-custom-order-file { position: relative; min-width: 0; overflow: hidden; border-radius: 11px; background: rgba(29, 14, 21, .58); }
.t2c-custom-order-file img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.t2c-custom-order-file span { display: block; overflow: hidden; padding: 8px 10px; color: #d7c4cb; text-overflow: ellipsis; white-space: nowrap; }
.t2c-custom-order-file button { position: absolute; top: 7px; right: 7px; display: grid; width: 28px; height: 28px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; background: rgba(43, 22, 31, .84); font-size: 20px; line-height: 1; cursor: pointer; }

.t2c-custom-order-consent { display: flex; align-items: flex-start; gap: 10px; margin: 17px 0; color: #cfbbc3; font-size: 12px; line-height: 1.5; }
.t2c-custom-order-consent input { flex: 0 0 auto; width: 17px; min-height: 17px; margin-top: 1px; accent-color: #c55389; }
.t2c-custom-order-consent a { color: #f1b5d0; }
.t2c-custom-order-submit { width: 100%; }

.t2c-custom-order-aside { position: sticky; top: 0; padding: 22px; }
.t2c-custom-order-aside > p { margin: 0 0 18px; color: #edb2cd; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.t2c-custom-order-aside ol { display: grid; gap: 17px; margin: 0; padding: 0; list-style: none; }
.t2c-custom-order-aside li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; color: #f5e7e7; font-size: 13px; line-height: 1.4; }
.t2c-custom-order-aside li b { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: #fff; background: #b64e7e; }
.t2c-custom-order-aside small { display: block; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(238, 183, 206, .16); color: #bfaab2; line-height: 1.5; }

.t2c-custom-order-history { margin-top: 18px; padding: 22px; }
.t2c-custom-order-history__title p { margin: 0; color: #c998ad; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.t2c-custom-order-history__title h4 { margin: 5px 0 16px; color: #f3bed6; font-size: 20px; }
.t2c-custom-order-history__empty { padding: 18px; border: 1px dashed rgba(233, 178, 201, .25); border-radius: 12px; color: #cbb7be; }
.t2c-custom-order-history__item { padding: 18px; border: 1px solid rgba(235, 182, 204, .18); border-radius: 14px; background: rgba(42, 22, 31, .38); }
.t2c-custom-order-history__item + .t2c-custom-order-history__item { margin-top: 12px; }
.t2c-custom-order-history__head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.t2c-custom-order-history__head b,
.t2c-custom-order-history__head span { display: block; }
.t2c-custom-order-history__head b { color: #fff2f0; }
.t2c-custom-order-history__head span { margin-top: 4px; color: #bfaab2; font-size: 12px; }
.t2c-custom-order-history__head em { padding: 6px 10px; border-radius: 999px; color: #f7d9e6; background: rgba(190, 76, 128, .25); font-size: 11px; font-style: normal; font-weight: 800; }
.t2c-custom-order-history__item dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 16px 0; overflow: hidden; border-radius: 10px; background: rgba(236, 188, 208, .12); }
.t2c-custom-order-history__item dl > div { padding: 11px; background: #472b37; }
.t2c-custom-order-history__item dt { color: #bfaab2; font-size: 11px; }
.t2c-custom-order-history__item dd { margin: 4px 0 0; color: #f7e9e9; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.t2c-custom-order-history__item > p { margin: 0; color: #d3c0c7; line-height: 1.55; white-space: pre-wrap; }
.t2c-custom-order-history__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 150px)); gap: 9px; margin-top: 14px; }
.t2c-custom-order-history__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }

@media (max-width: 980px) {
  .t2c-custom-order-promo__wrap { grid-template-columns: 1fr; }
  .t2c-custom-order-promo__visual { min-height: 440px; order: -1; }
  .t2c-custom-order-layout { grid-template-columns: 1fr; }
  .t2c-custom-order-aside { position: static; }
}

@media (max-width: 680px) {
  .t2c-custom-order-promo { padding: 46px 14px; }
  .t2c-custom-order-promo__wrap { border-radius: 20px; }
  .t2c-custom-order-promo__visual { min-height: 310px; }
  .t2c-custom-order-promo__visual > div { right: 14px; bottom: 14px; left: 14px; }
  .t2c-custom-order-promo__copy { padding: 28px 20px 32px; }
  .t2c-custom-order-promo__copy h2 { font-size: clamp(34px, 11vw, 48px); }
  .t2c-custom-order-promo__steps { grid-template-columns: 1fr; }
  .t2c-custom-order-promo__steps li { display: grid; grid-template-columns: 38px 1fr; gap: 8px; }
  .t2c-custom-order-promo__steps b { margin: 2px 0 0; }
  .t2c-custom-order-promo__actions { align-items: stretch; flex-direction: column; }
  .t2c-custom-order-promo__actions button { width: 100%; }
  .t2c-custom-order-form { padding: 16px; }
  .t2c-custom-order-form__grid { grid-template-columns: 1fr; }
  .t2c-custom-order-form__grid label.is-wide { grid-column: auto; }
  .t2c-custom-order-upload > div:first-child { align-items: flex-start; flex-direction: column; }
  .t2c-custom-order-upload > label { width: 100%; box-sizing: border-box; justify-content: space-between; }
  .t2c-custom-order-upload__previews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t2c-custom-order-history__item dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t2c-custom-order-history__photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body.t2c-single-page,
body.t2c-market-page,
body.t2c-legal-page,
body.t-body {
  background: var(--mt-paper);
  color: var(--mt-ink);
}

body.t2c-single-page {
  min-width: 320px;
  overflow-x: clip;
}

.t2c-single-hero__actions a,
.t2c-contacts__actions a,
.t2c-about__order,
.t2c-market-card__bottom button,
.t2c-order-btn,
.t2c-primary {
  box-sizing: border-box;
  max-width: 100%;
}

::selection {
  background: var(--mt-rose-soft);
  color: var(--mt-ink);
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(173, 88, 120, 0.3);
  outline-offset: 3px;
}

/* Navigation */
.t2c-site-header,
body.t2c-single-page .t2c-site-header,
body.t2c-single-page .t2c-site-header:has(.t2c-profile-open:not(.is-guest)) {
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
  background: rgba(255, 252, 250, 0.9);
  border: 1px solid rgba(142, 99, 114, 0.14);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(82, 50, 62, 0.1);
  color: var(--mt-ink);
  min-height: 70px;
  top: 14px;
  transition: background-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.t2c-site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 38px rgba(82, 50, 62, 0.15);
}

.t2c-site-logo {
  height: 46px;
  width: 65px;
}

.t2c-site-logo img {
  filter: brightness(1.08) saturate(0.86) drop-shadow(0 5px 10px rgba(160, 89, 116, 0.13));
  max-height: 45px;
  max-width: 65px;
}

.t2c-site-nav a,
.t2c-market-page .t2c-site-nav a,
body.t2c-single-page .t2c-site-nav a {
  color: #57464c;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.035em;
  position: relative;
}

.t2c-site-nav a::after {
  background: var(--mt-rose);
  border-radius: 999px;
  bottom: -8px;
  content: "";
  height: 2px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) scaleX(0);
  transition: transform 180ms ease;
  width: 70%;
}

.t2c-site-nav a:hover,
.t2c-site-nav a:focus-visible,
.t2c-site-nav a.is-active,
.t2c-market-page .t2c-site-nav a.is-active {
  color: var(--mt-rose-strong);
}

.t2c-site-nav a:hover::after,
.t2c-site-nav a:focus-visible::after,
.t2c-site-nav a.is-active::after {
  transform: translateX(-50%) scaleX(1);
}

.t2c-site-nav {
  -ms-overflow-style: none;
  scrollbar-color: transparent transparent;
  scrollbar-width: none;
}

.t2c-site-nav::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}

body.t2c-single-page .t2c-profile-open,
body.t2c-single-page .t2c-admin-open {
  background: var(--mt-rose-soft);
  border-color: rgba(142, 66, 96, 0.18);
  box-shadow: none;
  color: var(--mt-rose-strong);
}

body.t2c-single-page .t2c-profile-open b,
.t2c-profile-actions button b {
  background: var(--mt-rose);
  box-shadow: none;
  color: #fff;
}

/* Home hero: the original PNG is gently brightened in place. */
.t2c-single-hero {
  background: #f8eee8;
  min-height: clamp(640px, calc(100svh - 24px), 940px);
}

.t2c-single-hero__media img {
  filter: brightness(1.14) saturate(0.86) contrast(0.92);
  transform: scale(1.015);
}

.t2c-single-hero__media::after {
  background:
    linear-gradient(to bottom, transparent 62%, rgba(255, 250, 248, 0.8) 90%, var(--mt-paper) 100%),
    linear-gradient(90deg, rgba(255, 250, 248, 0.97) 0%, rgba(255, 250, 248, 0.88) 34%, rgba(255, 250, 248, 0.35) 61%, rgba(255, 250, 248, 0.02) 100%);
}

.t2c-single-hero__content {
  color: var(--mt-ink);
  max-width: 810px;
  padding-bottom: clamp(92px, 12vw, 150px);
}

.t2c-single-hero__content p {
  color: var(--mt-rose-strong);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.t2c-single-hero__content h1 {
  font-size: clamp(50px, 7.6vw, 104px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.96;
  max-width: 780px;
}

.t2c-single-hero__content > span {
  color: #64545a;
  font-size: clamp(17px, 1.8vw, 23px);
  max-width: 620px;
}

.t2c-single-hero__actions a,
.t2c-contacts__actions a,
.t2c-about__order,
.t2c-market-card__bottom button,
.t2c-order-btn,
.t2c-primary {
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.t2c-single-hero__actions a:first-child,
.t2c-contacts__actions a:first-child,
.t2c-about__order,
.t2c-market-card__bottom button,
.t2c-order-btn,
.t2c-primary,
.t2c-modal .t2c-primary {
  background: linear-gradient(135deg, #bd6888, var(--mt-rose-strong));
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(143, 66, 96, 0.2);
  color: #fff !important;
}

.t2c-single-hero__actions a:last-child {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--mt-line);
  color: var(--mt-ink);
}

.t2c-single-hero__actions a:hover,
.t2c-single-hero__actions a:focus-visible,
.t2c-about__order:hover,
.t2c-about__order:focus-visible,
.t2c-order-btn:hover,
.t2c-order-btn:focus-visible,
.t2c-primary:hover,
.t2c-primary:focus-visible {
  box-shadow: 0 14px 30px rgba(143, 66, 96, 0.26);
  transform: translateY(-2px);
}

/* Shared light surfaces */
.t2c-delivery-map,
.t2c-about-section,
.t2c-catalog--cakes,
.t2c-fillings,
.t2c-catalog--desserts,
.t2c-contacts {
  background-color: var(--mt-paper);
  color: var(--mt-ink);
}

.t2c-delivery-map {
  background-image:
    radial-gradient(circle at 82% 22%, rgba(207, 232, 221, 0.72), transparent 30%),
    radial-gradient(circle at 12% 76%, rgba(243, 220, 229, 0.7), transparent 34%),
    linear-gradient(180deg, #fffaf8, #fffdfc);
  padding: clamp(64px, 8vw, 104px) 20px;
}

.t2c-delivery-map__inner {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--mt-line);
  box-shadow: var(--mt-shadow);
  gap: clamp(28px, 4vw, 52px);
}

.t2c-delivery-map__copy h2,
.t2c-delivery-map__copy p,
.t2c-delivery-map__note,
.t2c-delivery-map__legend span {
  color: var(--mt-ink) !important;
}

.t2c-delivery-map__copy > p:first-child,
.t2c-kicker,
.t2c-market__kicker,
.t2c-legal-card__kicker {
  color: var(--mt-rose-strong) !important;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.t2c-delivery-map__legend span {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--mt-line);
}

.t2c-yandex-map {
  background: #f6f0ed;
  border-color: var(--mt-line);
  box-shadow: 0 18px 40px rgba(84, 58, 66, 0.12);
  height: clamp(300px, 31vw, 390px);
}

.t2c-yandex-map iframe,
.t2c-delivery-map.is-map-loading .t2c-yandex-map iframe {
  filter: saturate(0.78) brightness(1.08) contrast(0.93);
}

.t2c-yandex-map::after {
  background: linear-gradient(180deg, rgba(255,255,255,.12), transparent 48%, rgba(255,250,248,.18));
}

.t2c-yandex-map a {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--mt-line);
  color: var(--mt-ink);
}

/* About */
.t2c-about-section {
  background-image: linear-gradient(135deg, #f8eee9 0%, #fffaf8 55%, #f4ebe6 100%);
}

.t2c-about-section::before {
  filter: brightness(1.2) saturate(0.72);
  opacity: 0.055;
}

.t2c-about-section::after {
  background: linear-gradient(to bottom, rgba(255,250,248,.9), transparent 10%, transparent 90%, rgba(255,250,248,.9));
}

.t2c-about__inner {
  min-height: clamp(600px, 64vw, 760px);
}

.t2c-about__content {
  background: rgba(255, 250, 248, 0.9);
  padding-bottom: clamp(64px, 8vw, 100px);
  padding-top: clamp(64px, 8vw, 100px);
}

.t2c-about__content > h2,
.t2c-about__features h3 {
  color: var(--mt-ink);
}

.t2c-about__lead,
.t2c-about__features p {
  color: var(--mt-muted);
}

.t2c-about__features article {
  background: rgba(255, 255, 255, 0.68);
  border-color: var(--mt-line);
  box-shadow: 0 10px 28px rgba(90, 57, 69, 0.06);
}

.t2c-about__features article:hover {
  background: #fff;
  border-color: rgba(173, 88, 120, 0.3);
  box-shadow: 0 16px 34px rgba(90, 57, 69, 0.11);
}

.t2c-about__icon {
  background: var(--mt-rose-soft);
  border-color: rgba(173, 88, 120, 0.18);
  color: var(--mt-rose-strong);
}

.t2c-about__visual {
  min-height: 600px;
}

.t2c-about__visual img {
  filter: brightness(1.1) saturate(0.83) contrast(0.92);
}

.t2c-about__visual::after {
  background: linear-gradient(90deg, rgba(255,250,248,.86), transparent 20%), linear-gradient(to top, rgba(255,250,248,.35), transparent 46%);
}

/* Home catalogues and fillings */
.t2c-catalog--cakes,
.t2c-fillings,
.t2c-catalog--desserts {
  background-position: center;
  background-size: cover;
}

.t2c-catalog--cakes {
  background-image: linear-gradient(rgba(255,250,248,.8), rgba(255,250,248,.93)), url("../images/take2cake-catalog-cakes-bg.png");
}

.t2c-fillings {
  background-image: linear-gradient(rgba(255,250,248,.82), rgba(255,250,248,.94)), url("../images/take2cake-fillings-bg.png");
}

.t2c-catalog--desserts {
  background-image: linear-gradient(rgba(255,250,248,.82), rgba(255,250,248,.94)), url("../images/take2cake-desserts-bg.png");
}

.t2c-catalog--cakes .t2c-wrap,
.t2c-catalog--desserts .t2c-wrap,
.t2c-fillings .t2c-single-wrap {
  -webkit-backdrop-filter: blur(22px) saturate(112%);
  backdrop-filter: blur(22px) saturate(112%);
  background: rgba(255, 255, 255, 0.83);
  border-color: rgba(130, 88, 103, 0.14);
  box-shadow: var(--mt-shadow);
  color: var(--mt-ink);
}

.t2c-catalog--cakes :where(.t2c-title, .t2c-card-price, .t2c-card-title, .t2c-rating, .t2c-side-title, .t2c-side-btn),
.t2c-catalog--desserts :where(.t2c-title, .t2c-card-price, .t2c-card-title, .t2c-rating, .t2c-side-title, .t2c-side-btn),
.t2c-fillings :where(h2, h3) {
  color: var(--mt-ink);
}

.t2c-catalog--cakes :where(.t2c-kicker, .t2c-lead, .t2c-card-meta),
.t2c-catalog--desserts :where(.t2c-kicker, .t2c-lead, .t2c-card-meta),
.t2c-fillings :where(.t2c-kicker, .t2c-single-lead, .t2c-fillings-grid p) {
  color: var(--mt-muted);
}

.t2c-catalog--cakes :where(.t2c-counter, .t2c-filter, .t2c-sort),
.t2c-catalog--desserts :where(.t2c-counter, .t2c-filter, .t2c-sort) {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--mt-line);
  color: var(--mt-ink);
}

.t2c-catalog--cakes .t2c-filter.is-active,
.t2c-catalog--desserts .t2c-filter.is-active,
.t2c-catalog--cakes .t2c-side-btn.is-active,
.t2c-catalog--desserts .t2c-side-btn.is-active {
  background: var(--mt-rose-soft);
  border-color: rgba(173, 88, 120, 0.18);
  color: var(--mt-rose-strong);
}

.t2c-catalog--cakes .t2c-side,
.t2c-catalog--desserts .t2c-side {
  border-color: var(--mt-line);
}

.t2c-catalog--cakes .t2c-card,
.t2c-catalog--desserts .t2c-card,
.t2c-fillings-grid article {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--mt-line);
  box-shadow: 0 12px 32px rgba(87, 55, 67, 0.08);
}

.t2c-catalog--cakes .t2c-card:hover,
.t2c-catalog--desserts .t2c-card:hover,
.t2c-fillings-grid article:hover {
  background: #fff;
  border-color: rgba(173, 88, 120, 0.28);
  box-shadow: 0 18px 38px rgba(87, 55, 67, 0.14);
}

.t2c-catalog--cakes .t2c-card .t2c-badge,
.t2c-catalog--desserts .t2c-card .t2c-badge,
.t2c-catalog--cakes .t2c-card .t2c-card-icon,
.t2c-catalog--desserts .t2c-card .t2c-card-icon {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(116, 78, 92, 0.18);
  box-shadow: 0 6px 18px rgba(71, 44, 54, 0.12);
  color: var(--mt-ink);
  text-shadow: none;
}

/* Standalone catalogue */
body.t2c-market-page {
  color: var(--mt-ink);
}

.t2c-market {
  background:
    linear-gradient(to bottom, rgba(255,250,248,.72), rgba(255,250,248,.95) 700px),
    url("../images/take2cake-catalog-cakes-bg.png") center top / cover fixed;
  padding-top: 142px;
}

.t2c-market__intro h1,
.t2c-market__intro > p:last-child,
.t2c-market__summary,
.t2c-market__sort,
.t2c-market__filters h2,
.t2c-market__categories button,
.t2c-market__price-filter > p,
.t2c-market-card h2,
.t2c-market-card__meta,
.t2c-market-card__type,
.t2c-market-card__bottom strong {
  color: var(--mt-ink);
}

.t2c-market__intro > p:last-child,
.t2c-market__summary,
.t2c-market__sort,
.t2c-market-card__meta,
.t2c-market-card__type,
.t2c-market__price-filter > p {
  color: var(--mt-muted);
}

.t2c-market__surface {
  background: rgba(255, 255, 255, 0.84);
  border-color: var(--mt-line);
  box-shadow: var(--mt-shadow);
}

.t2c-market__toolbar,
.t2c-market__filters {
  border-color: var(--mt-line);
}

.t2c-market__tab,
.t2c-market__sort select,
.t2c-market__price-values input,
.t2c-market__categories button {
  background: rgba(255, 255, 255, 0.76);
  border-color: var(--mt-line);
  color: var(--mt-ink);
}

.t2c-market__tab.is-active,
.t2c-market__categories button.is-active {
  background: var(--mt-rose-soft);
  border-color: rgba(173, 88, 120, 0.24);
  box-shadow: none;
  color: var(--mt-rose-strong);
}

.t2c-market-card {
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--mt-line);
  box-shadow: 0 12px 30px rgba(87, 55, 67, 0.08);
}

.t2c-market-card:hover,
.t2c-market-card:focus-visible {
  border-color: rgba(173, 88, 120, 0.28);
  box-shadow: 0 18px 38px rgba(87, 55, 67, 0.14);
}

.t2c-market-card__actions button,
.t2c-market-card__tag {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(116, 78, 92, 0.2);
  color: var(--mt-ink);
}

/* Contacts, legal pages and footer */
.t2c-contacts {
  background-image:
    radial-gradient(circle at 12% 18%, rgba(243, 220, 229, .65), transparent 32%),
    radial-gradient(circle at 88% 70%, rgba(207, 232, 221, .55), transparent 30%),
    linear-gradient(180deg, #fffaf8, #f8f1ed);
}

.t2c-contacts :where(h2, b, a, span),
.t2c-contacts .t2c-kicker,
.t2c-contacts .t2c-single-lead {
  color: var(--mt-ink);
}

.t2c-contacts__actions a,
.t2c-contacts__links {
  border-color: var(--mt-line);
}

.t2c-contacts__actions a {
  background: rgba(255, 255, 255, 0.7);
}

.t2c-contacts__links a,
.t2c-contacts__links span,
.t2c-contacts__brand span {
  color: var(--mt-muted);
}

.t2c-contacts__brand img {
  filter: brightness(1.08) saturate(.82);
}

.t2c-legal-page {
  background:
    radial-gradient(circle at 10% 12%, rgba(243, 220, 229, .7), transparent 32%),
    radial-gradient(circle at 90% 25%, rgba(207, 232, 221, .58), transparent 34%),
    var(--mt-paper);
  color: var(--mt-ink);
}

.t2c-legal-main {
  padding-top: 132px;
}

.t2c-legal-card {
  background: rgba(255, 255, 255, .86);
  border-color: var(--mt-line);
  box-shadow: var(--mt-shadow);
}

.t2c-legal-card :where(h1, h2, p, li, a) {
  color: var(--mt-ink);
}

.t2c-legal-card h1 {
  color: var(--mt-rose-strong);
}

.t2c-legal-card h2 {
  color: var(--mt-ink);
}

.t2c-legal-card p,
.t2c-legal-card li,
.t2c-legal-card__meta,
.t2c-legal-note {
  color: var(--mt-muted) !important;
}

.t2c-legal-note {
  background: var(--mt-peach);
  border-color: var(--mt-line);
}

.t2c-single-footer {
  background: #f3eae6;
  border-color: var(--mt-line);
  color: var(--mt-muted);
}

.t2c-single-footer :where(a, .t2c-single-footer__developer, .t2c-single-footer__legal a) {
  color: var(--mt-muted);
}

.t2c-single-footer a:hover,
.t2c-single-footer a:focus-visible,
.t2c-single-footer__legal a:hover,
.t2c-single-footer__legal a:focus-visible {
  color: var(--mt-rose-strong);
}

/* Account, checkout, admin and product details */
.t2c-profile,
.t2c-admin,
.t2c-modal,
.t2c-admin-user-modal {
  background: rgba(75, 52, 61, 0.28);
}

.t2c-profile__dialog,
.t2c-admin__dialog,
.t2c-modal .t2c-dialog,
.t2c-admin-user-modal__dialog {
  background: rgba(255, 252, 250, 0.97);
  border-color: var(--mt-line);
  box-shadow: 0 30px 80px rgba(63, 42, 50, 0.2);
  color: var(--mt-ink);
}

.t2c-profile :where(h2, h3, h4, b, strong, label, button),
.t2c-admin :where(h2, h3, h4, b, strong, label, button),
.t2c-modal :where(.t2c-modal-body, .t2c-modal-title, .t2c-about, .t2c-about h3, label, strong) {
  color: var(--mt-ink);
}

.t2c-profile :where(p, span, small),
.t2c-admin :where(p, span, small),
.t2c-modal :where(.t2c-modal-sub, .t2c-about p, .t2c-muted) {
  color: var(--mt-muted);
}

.t2c-profile__sidebar,
.t2c-profile-card,
.t2c-profile-item,
.t2c-cart-item,
.t2c-cart-side,
.t2c-cart-summary,
.t2c-checkout-fulfillment,
.t2c-order-card,
.t2c-admin__nav,
.t2c-admin__section,
.t2c-admin__product,
.t2c-admin-order,
.t2c-admin-order > header,
.t2c-admin-user-modal__body > div,
.t2c-modal .t2c-stock,
.t2c-modal .t2c-option,
.t2c-modal .t2c-stepper,
.t2c-modal .t2c-file-btn,
.t2c-modal .t2c-summary {
  background: rgba(255, 255, 255, .72);
  border-color: var(--mt-line);
  color: var(--mt-ink);
}

.t2c-profile input,
.t2c-profile select,
.t2c-profile textarea,
.t2c-admin input,
.t2c-admin select,
.t2c-admin textarea,
.t2c-modal .t2c-select,
.t2c-modal .t2c-textarea,
.t2c-modal input[type="text"],
.t2c-modal input[type="number"],
.t2c-checkout-delivery-address input {
  background: #fff;
  border-color: rgba(120, 82, 96, .22);
  color: var(--mt-ink);
}

.t2c-modal .t2c-select option,
.t2c-admin select option {
  background: #fff;
  color: var(--mt-ink);
}

.t2c-profile-nav button.is-active,
.t2c-admin__tabs button.is-active,
.t2c-admin__catalog-tabs button.is-active,
.t2c-checkout-fulfillment__choices button.is-active {
  background: var(--mt-rose-soft);
  border-color: rgba(173, 88, 120, .24);
  box-shadow: none;
  color: var(--mt-rose-strong);
}

.t2c-modal .t2c-close,
.t2c-profile__close,
.t2c-admin__close {
  background: #fff;
  border-color: var(--mt-line);
  color: var(--mt-ink);
}

.t2c-profile .t2c-profile__head h2,
.t2c-profile .t2c-profile-product h3,
.t2c-profile .t2c-profile-product__price,
.t2c-modal .t2c-modal-title,
.t2c-modal .t2c-price {
  color: var(--mt-rose-strong);
}

.t2c-profile .t2c-profile-primary {
  color: #fff !important;
}

.t2c-profile .t2c-profile-product__info section {
  background: #fbf5f2;
  border-color: var(--mt-line);
  box-shadow: none;
}

.t2c-profile .t2c-profile-product__info :where(h4, ul, li, li span, li b, p) {
  color: var(--mt-ink) !important;
}

.t2c-profile .t2c-profile-product__info li b {
  color: var(--mt-rose-strong) !important;
}

/* Legacy Tilda exports get the same brighter base without rewriting their data. */
body.t-body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

body.t-body #allrecords,
body.t-body .t-records {
  background-color: transparent;
}

body.t-body .t-bgimg {
  filter: brightness(1.08) saturate(.86) contrast(.94);
}

body.t-body .t-btn {
  border-radius: 999px !important;
  transition: transform 180ms ease, box-shadow 180ms ease !important;
}

body.t-body .t-btn:hover,
body.t-body .t-btn:focus-visible {
  box-shadow: 0 12px 28px rgba(143, 66, 96, .2) !important;
  transform: translateY(-2px);
}

body.t-body img:not(.t-bgimg) {
  transition: filter 240ms ease, transform 240ms ease;
}

body.t-body .t454__logowrapper2 > div {
  align-items: center;
  display: flex !important;
  gap: 9px;
  justify-content: center;
}

body.t-body .t454__logowrapper2 > div::after {
  color: var(--mt-ink);
  content: "Московская\AТортовня";
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.08;
  text-align: left;
  white-space: pre;
}

body.t-body .t454__imglogo,
body.t-body .t454__imglogomobile {
  filter: brightness(1.08) saturate(.85);
  max-width: 52px !important;
  width: 52px !important;
}

body.t-body .tmenu-mobile__burgerlogo {
  align-items: center;
  color: var(--mt-ink);
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 9px;
}

body.t-body .tmenu-mobile__burgerlogo::after {
  content: "Московская Тортовня";
}

body.t-body .tmenu-mobile__imglogo {
  filter: brightness(1.08) saturate(.85);
  margin: 0 !important;
  max-width: 48px !important;
  width: 48px !important;
}

/* Reveal motion added by moskovskaya-tortovnya-motion.js. */
.mt-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms cubic-bezier(.2,.72,.2,1), transform 620ms cubic-bezier(.2,.72,.2,1);
}

.mt-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.mt-reveal:nth-child(2) { transition-delay: 50ms; }
.mt-reveal:nth-child(3) { transition-delay: 100ms; }
.mt-reveal:nth-child(4) { transition-delay: 150ms; }

@media screen and (max-width: 980px) {
  .t2c-site-header,
  body.t2c-single-page .t2c-site-header {
    border-radius: 15px;
    max-width: calc(100vw - 24px);
    top: 10px;
    width: calc(100% - 24px);
  }

  .t2c-site-nav {
    gap: 16px;
    max-width: none;
  }

  .t2c-single-hero__content {
    max-width: 66%;
    padding-left: 34px;
    padding-right: 24px;
  }

  .t2c-market {
    background-attachment: scroll;
  }
}

@media screen and (max-width: 760px) {
  html { scroll-padding-top: 86px; }

  .t2c-site-header,
  body.t2c-single-page .t2c-site-header {
    min-height: 62px;
  }

  .t2c-site-logo,
  .t2c-site-logo img {
    height: 40px;
    max-height: 40px;
    width: 51px;
  }

  .t2c-single-hero {
    align-items: end;
    min-height: 720px;
  }

  .t2c-single-hero__media img {
    object-position: 68% center;
  }

  .t2c-single-hero__media::after {
    background:
      linear-gradient(to bottom, rgba(255,250,248,.08) 0%, rgba(255,250,248,.28) 34%, rgba(255,250,248,.93) 70%, var(--mt-paper) 100%),
      linear-gradient(90deg, rgba(255,250,248,.3), rgba(255,250,248,.04));
  }

  .t2c-single-hero__content {
    max-width: 100%;
    padding: 340px 20px 72px;
  }

  .t2c-single-hero__content h1 {
    font-size: clamp(43px, 12.5vw, 66px);
  }

  .t2c-single-hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .t2c-about__visual {
    min-height: 360px;
  }

  .t2c-market {
    padding-top: 112px;
  }
}

/* Profile contacts */
.t2c-profile-contacts {
  background: linear-gradient(145deg, rgba(75, 43, 57, 0.92), rgba(48, 30, 38, 0.96));
  border: 1px solid rgba(255, 222, 231, 0.16);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(12, 6, 9, 0.24);
  padding: clamp(18px, 3vw, 28px);
}

.t2c-profile-contacts__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.t2c-profile-contacts__grid article,
.t2c-profile-contacts__address {
  background: rgba(255, 239, 244, 0.045);
  border: 1px solid rgba(255, 222, 231, 0.14);
  border-radius: 12px;
  min-width: 0;
  padding: 16px;
}

.t2c-profile-contacts :where(span, small) {
  color: rgba(248, 230, 235, 0.72);
  display: block;
}

.t2c-profile-contacts span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.t2c-profile-contacts :where(a, b) {
  color: #fff4f1;
  display: block;
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.t2c-profile-contacts small {
  font-size: 12px;
  line-height: 1.4;
  margin-top: 6px;
}

.t2c-profile-contacts__grid a:hover,
.t2c-profile-contacts__grid a:focus-visible {
  color: #ffc7da;
  outline: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.t2c-profile-contacts__address {
  margin-top: 12px;
}

.t2c-profile-contacts__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.t2c-profile-contacts__actions a {
  align-items: center;
  background: #bd537f;
  border: 1px solid rgba(255, 222, 231, 0.22);
  border-radius: 10px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.t2c-profile-contacts__actions a:not(:first-child) {
  background: rgba(255, 239, 244, 0.075);
}

.t2c-profile-contacts__actions a:hover,
.t2c-profile-contacts__actions a:focus-visible {
  background: #c9618c;
  box-shadow: 0 8px 22px rgba(183, 69, 116, 0.2);
  outline: none;
  transform: translateY(-1px);
}

@media screen and (max-width: 640px) {
  .t2c-profile-contacts__grid {
    grid-template-columns: 1fr;
  }

  .t2c-profile-contacts__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .t2c-profile-contacts__actions a {
    width: 100%;
  }
}

@media screen and (max-width: 520px) {
  .t2c-site-nav {
    justify-content: flex-start;
    padding-left: 4px;
    padding-right: 4px;
  }

  .t2c-site-nav a {
    font-size: 11px;
  }

  .t2c-single-hero {
    min-height: 660px;
  }

  .t2c-single-hero__content {
    padding-top: 300px;
  }

  .t2c-single-hero__actions {
    grid-template-columns: 1fr;
  }

  .t2c-single-hero__actions a {
    width: 100%;
  }

  .t2c-delivery-map,
  .t2c-catalog,
  .t2c-single-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .t2c-delivery-map__inner,
  .t2c-market__surface,
  .t2c-catalog--cakes .t2c-wrap,
  .t2c-catalog--desserts .t2c-wrap,
  .t2c-fillings .t2c-single-wrap,
  .t2c-legal-card {
    border-radius: 16px;
  }

  .t2c-about__content {
    padding: 50px 18px;
  }

  .t2c-about__visual {
    min-height: 290px;
  }
}

/*
 * Restrained deep palette correction.
 * Keeps the photographic warmth of the source material and uses light tones
 * as accents instead of turning every surface into white paper.
 */
:root {
  --mt-ink: #f8eee9;
  --mt-muted: #cdbbc1;
  --mt-paper: #1e1418;
  --mt-surface: rgba(45, 29, 36, 0.91);
  --mt-surface-solid: #302027;
  --mt-line: rgba(255, 231, 222, 0.15);
  --mt-rose: #d889a7;
  --mt-rose-strong: #f0aec4;
  --mt-rose-soft: rgba(216, 137, 167, 0.17);
  --mt-mint: #9bbdae;
  --mt-peach: rgba(181, 112, 91, 0.18);
  --mt-shadow: 0 24px 64px rgba(10, 5, 7, 0.34);
}

body.t2c-single-page,
body.t2c-market-page,
body.t2c-legal-page,
body.t-body {
  background: var(--mt-paper);
  color: var(--mt-ink);
}

::selection {
  background: #d889a7;
  color: #21161a;
}

:where(a, button, input, select, textarea):focus-visible {
  outline-color: #f3b6ca;
  box-shadow: 0 0 0 5px rgba(216, 137, 167, 0.16);
}

/* Deep glass navigation */
.t2c-site-header,
body.t2c-single-page .t2c-site-header,
body.t2c-single-page .t2c-site-header:has(.t2c-profile-open:not(.is-guest)) {
  background: rgba(35, 23, 28, 0.9);
  border-color: rgba(255, 234, 225, 0.14);
  box-shadow: 0 15px 42px rgba(8, 4, 6, 0.32);
  color: var(--mt-ink);
}

.t2c-site-header.is-scrolled {
  background: rgba(29, 19, 23, 0.97);
  box-shadow: 0 18px 46px rgba(8, 4, 6, 0.42);
}

.t2c-site-nav a,
.t2c-market-page .t2c-site-nav a,
body.t2c-single-page .t2c-site-nav a {
  color: #eadde0;
}

.t2c-site-nav a:hover,
.t2c-site-nav a:focus-visible,
.t2c-market-page .t2c-site-nav a.is-active {
  color: #ffd0df;
}

body.t2c-single-page .t2c-profile-open,
body.t2c-single-page .t2c-admin-open {
  background: rgba(216, 137, 167, 0.14);
  border-color: rgba(240, 174, 196, 0.28);
  color: #ffd1df;
}

body.t2c-single-page .t2c-profile-open:hover,
body.t2c-single-page .t2c-profile-open:focus-visible,
body.t2c-single-page .t2c-admin-open:hover,
body.t2c-single-page .t2c-admin-open:focus-visible {
  background: rgba(216, 137, 167, 0.26);
  border-color: rgba(255, 210, 224, 0.46);
}

/* Hero: image remains rich, with a dark reading layer rather than a white veil. */
.t2c-single-hero {
  background: #1e1418;
}

.t2c-single-hero__media img {
  filter: brightness(0.88) saturate(0.94) contrast(1.05);
}

.t2c-single-hero__media::after {
  background:
    linear-gradient(to bottom, rgba(25, 15, 19, 0.06) 52%, rgba(27, 17, 21, 0.72) 88%, var(--mt-paper) 100%),
    linear-gradient(90deg, rgba(29, 18, 23, 0.97) 0%, rgba(33, 21, 26, 0.88) 34%, rgba(33, 21, 26, 0.38) 62%, rgba(33, 21, 26, 0.06) 100%);
}

.t2c-single-hero__content,
.t2c-single-hero__content h1 {
  color: #fff8f4;
  text-shadow: 0 3px 24px rgba(10, 5, 7, 0.34);
}

.t2c-single-hero__content p {
  color: #f3b6ca;
}

.t2c-single-hero__content > span {
  color: #e7d8dc;
}

.t2c-single-hero__actions a:first-child,
.t2c-contacts__actions a:first-child,
.t2c-about__order,
.t2c-market-card__bottom button,
.t2c-order-btn,
.t2c-primary,
.t2c-modal .t2c-primary {
  background: linear-gradient(135deg, #cf6f94, #91405f);
  border: 1px solid rgba(255, 224, 233, 0.16);
  box-shadow: 0 12px 30px rgba(8, 4, 6, 0.32), inset 0 1px rgba(255, 255, 255, 0.12);
  color: #fff !important;
}

.t2c-single-hero__actions a:first-child:hover,
.t2c-single-hero__actions a:first-child:focus-visible,
.t2c-contacts__actions a:first-child:hover,
.t2c-contacts__actions a:first-child:focus-visible,
.t2c-about__order:hover,
.t2c-about__order:focus-visible,
.t2c-market-card__bottom button:hover,
.t2c-market-card__bottom button:focus-visible,
.t2c-order-btn:hover,
.t2c-order-btn:focus-visible,
.t2c-primary:hover,
.t2c-primary:focus-visible {
  background: linear-gradient(135deg, #df82a4, #a84d70);
  box-shadow: 0 16px 38px rgba(8, 4, 6, 0.42), 0 0 0 1px rgba(255, 210, 224, 0.16);
}

.t2c-single-hero__actions a:last-child,
.t2c-contacts__actions a:not(:first-child) {
  background: rgba(42, 27, 34, 0.76);
  border-color: rgba(255, 231, 222, 0.26);
  box-shadow: 0 10px 28px rgba(8, 4, 6, 0.22);
  color: #fff4f0;
}

.t2c-single-hero__actions a:last-child:hover,
.t2c-single-hero__actions a:last-child:focus-visible,
.t2c-contacts__actions a:not(:first-child):hover,
.t2c-contacts__actions a:not(:first-child):focus-visible {
  background: rgba(68, 43, 54, 0.94);
  border-color: rgba(255, 208, 223, 0.48);
  color: #fff;
}

/* Layered home sections */
.t2c-delivery-map,
.t2c-about-section,
.t2c-catalog--cakes,
.t2c-fillings,
.t2c-catalog--desserts,
.t2c-contacts {
  background-color: var(--mt-paper);
  color: var(--mt-ink);
}

.t2c-delivery-map {
  background: #1e1418;
  contain: paint;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.t2c-delivery-map__backdrop {
  filter: saturate(0.88) contrast(1.02);
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.t2c-delivery-map::before {
  background:
    linear-gradient(90deg, rgba(46, 25, 34, 0.4), rgba(55, 31, 41, 0.24) 54%, rgba(45, 24, 33, 0.34)),
    linear-gradient(180deg, rgba(45, 25, 33, 0.16), rgba(48, 26, 35, 0.34));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.t2c-delivery-map__inner,
.t2c-catalog--cakes .t2c-wrap,
.t2c-catalog--desserts .t2c-wrap,
.t2c-fillings .t2c-single-wrap {
  background: rgba(44, 28, 35, 0.9);
  border-color: var(--mt-line);
  box-shadow: var(--mt-shadow), inset 0 1px rgba(255, 255, 255, 0.04);
  color: var(--mt-ink);
}

.t2c-delivery-map__inner {
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  background: linear-gradient(135deg, rgba(52, 31, 40, 0.9), rgba(64, 38, 49, 0.82));
  position: relative;
  z-index: 2;
}

.t2c-delivery-map__copy h2,
.t2c-delivery-map__copy p,
.t2c-delivery-map__note,
.t2c-delivery-map__legend span {
  color: var(--mt-ink) !important;
}

.t2c-delivery-map__legend span,
.t2c-yandex-map a {
  background: rgba(55, 36, 44, 0.92);
  border-color: var(--mt-line);
  color: #f8eee9;
}

.t2c-yandex-map {
  background: #34252a;
  border-color: rgba(255, 231, 222, 0.18);
  box-shadow: 0 20px 48px rgba(8, 4, 6, 0.34);
}

.t2c-yandex-map iframe,
.t2c-delivery-map.is-map-loading .t2c-yandex-map iframe {
  filter: saturate(0.78) brightness(0.86) contrast(1.06);
}

.t2c-yandex-map::after {
  background: linear-gradient(180deg, rgba(31, 20, 25, 0.16), transparent 48%, rgba(31, 20, 25, 0.28));
}

.t2c-about-section {
  background-image: linear-gradient(135deg, #25181e 0%, #1e1418 54%, #2c1c22 100%);
}

.t2c-about-section::before {
  filter: brightness(0.76) saturate(0.76);
  opacity: 0.13;
}

.t2c-about-section::after {
  background: linear-gradient(to bottom, rgba(33, 22, 26, 0.9), transparent 12%, transparent 88%, rgba(33, 22, 26, 0.92));
}

.t2c-about__content {
  background: rgba(36, 23, 29, 0.94);
  box-shadow: 18px 0 60px rgba(8, 4, 6, 0.2);
}

.t2c-about__content > h2,
.t2c-about__features h3 {
  color: #fff5f1;
}

.t2c-about__lead,
.t2c-about__features p {
  color: var(--mt-muted);
}

.t2c-about__features article,
.t2c-catalog--cakes .t2c-card,
.t2c-catalog--desserts .t2c-card,
.t2c-fillings-grid article {
  background: rgba(58, 37, 46, 0.8);
  border-color: var(--mt-line);
  box-shadow: 0 14px 34px rgba(8, 4, 6, 0.22), inset 0 1px rgba(255, 255, 255, 0.035);
}

.t2c-about__features article:hover,
.t2c-catalog--cakes .t2c-card:hover,
.t2c-catalog--desserts .t2c-card:hover,
.t2c-fillings-grid article:hover {
  background: rgba(76, 49, 60, 0.94);
  border-color: rgba(240, 174, 196, 0.38);
  box-shadow: 0 20px 42px rgba(8, 4, 6, 0.34);
}

.t2c-about__icon {
  background: rgba(216, 137, 167, 0.16);
  border-color: rgba(240, 174, 196, 0.26);
  color: #f4b7cb;
}

.t2c-about__visual img {
  filter: brightness(0.88) saturate(0.9) contrast(1.04);
}

.t2c-about__visual::after {
  background: linear-gradient(90deg, rgba(39, 25, 31, 0.88), transparent 24%), linear-gradient(to top, rgba(33, 22, 26, 0.36), transparent 48%);
}

.t2c-catalog--cakes {
  background-image: linear-gradient(rgba(29, 18, 23, 0.7), rgba(33, 22, 26, 0.9)), url("../images/take2cake-catalog-cakes-bg.png");
}

.t2c-fillings {
  background-image: linear-gradient(rgba(29, 18, 23, 0.72), rgba(33, 22, 26, 0.92)), url("../images/take2cake-fillings-bg.png");
}

.t2c-catalog--desserts {
  background-image: linear-gradient(rgba(29, 18, 23, 0.72), rgba(33, 22, 26, 0.92)), url("../images/take2cake-desserts-bg.png");
}

.t2c-catalog--cakes :where(.t2c-title, .t2c-card-price, .t2c-card-title, .t2c-rating, .t2c-side-title, .t2c-side-btn),
.t2c-catalog--desserts :where(.t2c-title, .t2c-card-price, .t2c-card-title, .t2c-rating, .t2c-side-title, .t2c-side-btn),
.t2c-fillings :where(h2, h3) {
  color: #fff5f1;
}

.t2c-catalog--cakes :where(.t2c-kicker, .t2c-lead, .t2c-card-meta),
.t2c-catalog--desserts :where(.t2c-kicker, .t2c-lead, .t2c-card-meta),
.t2c-fillings :where(.t2c-kicker, .t2c-single-lead, .t2c-fillings-grid p) {
  color: var(--mt-muted);
}

.t2c-catalog--cakes :where(.t2c-counter, .t2c-filter, .t2c-sort),
.t2c-catalog--desserts :where(.t2c-counter, .t2c-filter, .t2c-sort) {
  background: rgba(65, 43, 52, 0.78);
  border-color: var(--mt-line);
  color: #f8eee9;
}

.t2c-catalog--cakes .t2c-filter:hover,
.t2c-catalog--cakes .t2c-filter:focus-visible,
.t2c-catalog--desserts .t2c-filter:hover,
.t2c-catalog--desserts .t2c-filter:focus-visible,
.t2c-catalog--cakes .t2c-side-btn:hover,
.t2c-catalog--desserts .t2c-side-btn:hover {
  background: rgba(216, 137, 167, 0.18);
  color: #ffd1df;
}

.t2c-catalog--cakes .t2c-filter.is-active,
.t2c-catalog--desserts .t2c-filter.is-active,
.t2c-catalog--cakes .t2c-side-btn.is-active,
.t2c-catalog--desserts .t2c-side-btn.is-active {
  background: rgba(216, 137, 167, 0.25);
  border-color: rgba(240, 174, 196, 0.34);
  color: #ffd6e2;
}

.t2c-catalog--cakes .t2c-card .t2c-badge,
.t2c-catalog--desserts .t2c-card .t2c-badge,
.t2c-catalog--cakes .t2c-card .t2c-card-icon,
.t2c-catalog--desserts .t2c-card .t2c-card-icon {
  background: rgba(38, 24, 30, 0.9);
  border-color: rgba(255, 231, 222, 0.18);
  box-shadow: 0 8px 22px rgba(8, 4, 6, 0.28);
  color: #fff5f1;
}

/* Standalone catalogue */
.t2c-market {
  background:
    linear-gradient(to bottom, rgba(29, 18, 23, 0.64), rgba(33, 22, 26, 0.96) 720px),
    url("../images/take2cake-catalog-cakes-bg.png") center top / cover fixed;
}

.t2c-market__intro h1,
.t2c-market__filters h2,
.t2c-market__categories button,
.t2c-market-card h2,
.t2c-market-card__bottom strong {
  color: #fff5f1;
}

.t2c-market__intro > p:last-child,
.t2c-market__summary,
.t2c-market__sort,
.t2c-market-card__meta,
.t2c-market-card__type,
.t2c-market__price-filter > p {
  color: var(--mt-muted);
}

.t2c-market__surface {
  background: rgba(43, 27, 34, 0.93);
  border-color: var(--mt-line);
  box-shadow: var(--mt-shadow), inset 0 1px rgba(255, 255, 255, 0.035);
}

.t2c-market__toolbar,
.t2c-market__filters {
  border-color: var(--mt-line);
}

.t2c-market__tab,
.t2c-market__sort select,
.t2c-market__price-values input,
.t2c-market__categories button {
  background: rgba(62, 41, 50, 0.86);
  border-color: var(--mt-line);
  color: #f8eee9;
}

.t2c-market__tab:hover,
.t2c-market__tab:focus-visible,
.t2c-market__categories button:hover,
.t2c-market__categories button:focus-visible {
  background: rgba(81, 51, 63, 0.96);
  border-color: rgba(240, 174, 196, 0.34);
  color: #fff;
}

.t2c-market__tab.is-active,
.t2c-market__categories button.is-active {
  background: rgba(216, 137, 167, 0.25);
  border-color: rgba(240, 174, 196, 0.36);
  color: #ffd6e2;
}

.t2c-market-card {
  background: rgba(56, 35, 44, 0.92);
  border-color: var(--mt-line);
  box-shadow: 0 14px 34px rgba(8, 4, 6, 0.25);
}

.t2c-market-card:hover,
.t2c-market-card:focus-visible {
  background: rgba(70, 45, 55, 0.97);
  border-color: rgba(240, 174, 196, 0.38);
  box-shadow: 0 21px 44px rgba(8, 4, 6, 0.38);
}

.t2c-market-card__actions button,
.t2c-market-card__tag {
  background: rgba(37, 23, 29, 0.88);
  border-color: rgba(255, 231, 222, 0.18);
  color: #fff4ef;
}

.t2c-market-card__actions button:hover,
.t2c-market-card__actions button:focus-visible {
  background: rgba(216, 137, 167, 0.22);
  border-color: rgba(240, 174, 196, 0.42);
  color: #fff;
}

/* Contacts, legal content and footer */
.t2c-contacts {
  background-image:
    radial-gradient(circle at 12% 18%, rgba(171, 89, 121, 0.18), transparent 34%),
    radial-gradient(circle at 88% 70%, rgba(104, 139, 122, 0.14), transparent 32%),
    linear-gradient(180deg, #1e1418, #27191f);
}

.t2c-contacts :where(h2, b, a, span),
.t2c-contacts .t2c-kicker,
.t2c-contacts .t2c-single-lead {
  color: #f8eee9;
}

.t2c-contacts__actions a,
.t2c-contacts__links {
  border-color: var(--mt-line);
}

.t2c-contacts__links a,
.t2c-contacts__links span,
.t2c-contacts__brand span {
  color: var(--mt-muted);
}

.t2c-contacts__links a:hover,
.t2c-contacts__links a:focus-visible {
  color: #ffd0df;
}

.t2c-legal-page {
  background:
    radial-gradient(circle at 10% 12%, rgba(171, 89, 121, 0.18), transparent 34%),
    radial-gradient(circle at 90% 25%, rgba(104, 139, 122, 0.13), transparent 36%),
    var(--mt-paper);
  color: var(--mt-ink);
}

.t2c-legal-card {
  background: rgba(44, 28, 35, 0.95);
  border-color: var(--mt-line);
  box-shadow: var(--mt-shadow), inset 0 1px rgba(255, 255, 255, 0.035);
}

.t2c-legal-card :where(h1, h2, p, li, a) {
  color: #f8eee9;
}

.t2c-legal-card h1,
.t2c-legal-card a {
  color: #f2afc5;
}

.t2c-legal-card h2 {
  color: #fff5f1;
}

.t2c-legal-card p,
.t2c-legal-card li,
.t2c-legal-card__meta,
.t2c-legal-note {
  color: var(--mt-muted) !important;
}

.t2c-legal-card a:hover,
.t2c-legal-card a:focus-visible {
  color: #ffd4e1;
}

.t2c-legal-note {
  background: rgba(181, 112, 91, 0.14);
  border-color: rgba(233, 173, 153, 0.2);
}

.t2c-single-footer {
  background: #1b1115;
  border-color: var(--mt-line);
  color: #bdaab0;
}

.t2c-single-footer :where(a, .t2c-single-footer__developer, .t2c-single-footer__legal a) {
  color: #bdaab0;
}

.t2c-single-footer a:hover,
.t2c-single-footer a:focus-visible,
.t2c-single-footer__legal a:hover,
.t2c-single-footer__legal a:focus-visible {
  color: #ffd0df;
}

.mt-legacy-legal {
  align-items: center;
  background: #1b1115;
  border-top: 1px solid var(--mt-line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  padding: 20px max(18px, calc((100vw - 1160px) / 2));
  position: relative;
  z-index: 3;
}

.mt-legacy-legal a {
  color: #c9b5bc;
  font: 600 12px/1.4 Inter, Arial, sans-serif;
  text-decoration: none;
}

.mt-legacy-legal a:hover,
.mt-legacy-legal a:focus-visible {
  color: #ffd0df;
  outline: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media screen and (max-width: 640px) {
  .mt-legacy-legal {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
    text-align: center;
  }
}

/* Customer dashboard: compact order activity using the administration tokens. */
.t2c-profile__dialog:not(.is-auth) .t2c-order-activity {
  background: var(--account-panel);
  border: 1px solid var(--account-line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(8, 4, 6, 0.15);
  box-sizing: border-box;
  display: grid;
  gap: 12px;
  max-width: 100%;
  min-width: 0;
  padding: 15px;
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__head {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  min-width: 0;
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__head > div {
  min-width: 0;
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__head p {
  color: rgba(255, 246, 248, 0.58) !important;
  font-size: 11px;
  letter-spacing: 0.08em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__head h4 {
  color: #f3bddd;
  font-size: 17px;
  line-height: 1.25;
  margin: 0;
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__head > button {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 244, 248, 0.2);
  border-radius: 8px;
  color: #f8eee9;
  cursor: pointer;
  flex: 0 0 auto;
  font: 600 12px/1 var(--t2c-font);
  min-height: 34px;
  padding: 0 11px;
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__head > button:hover,
.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__head > button:focus-visible {
  background: rgba(216, 137, 167, 0.14);
  border-color: rgba(240, 174, 196, 0.32);
  color: #ffd1df;
  outline: none;
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__list {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__item {
  align-items: center;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 244, 248, 0.16);
  border-radius: 8px;
  box-sizing: border-box;
  color: var(--account-text);
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) minmax(92px, auto) auto;
  max-width: 100%;
  min-height: 56px;
  min-width: 0;
  padding: 9px 11px;
  text-align: left;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__item:hover,
.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__item:focus-visible {
  background: var(--account-panel-hover);
  border-color: rgba(240, 174, 196, 0.32);
  box-shadow: 0 8px 20px rgba(9, 4, 7, 0.24);
  outline: none;
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__identity {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__identity b,
.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__identity small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__identity b {
  color: #f8eee9;
  font-size: 13px;
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__identity small {
  color: var(--account-muted);
  font-size: 11px;
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__status {
  border: 1px solid rgba(255, 226, 239, 0.25);
  border-radius: 999px;
  box-sizing: border-box;
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  justify-self: end;
  line-height: 1.2;
  max-width: 190px;
  overflow-wrap: anywhere;
  padding: 6px 9px;
  text-align: center;
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__status.is-new {
  background: rgba(216, 137, 167, 0.24);
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__status.is-cooking {
  background: rgba(190, 132, 82, 0.34);
  border-color: rgba(244, 200, 154, 0.3);
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__status.is-ready {
  background: rgba(82, 151, 116, 0.36);
  border-color: rgba(163, 225, 190, 0.28);
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__status.is-transit {
  background: rgba(82, 126, 170, 0.38);
  border-color: rgba(167, 207, 242, 0.28);
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__status.is-complete {
  background: rgba(91, 139, 116, 0.32);
  border-color: rgba(177, 220, 198, 0.26);
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__item > i {
  color: #f3bddd;
  font-size: 16px;
  font-style: normal;
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__state {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px dashed rgba(255, 244, 248, 0.16);
  border-radius: 8px;
  color: var(--account-muted);
  display: flex;
  font-size: 12px;
  gap: 9px;
  line-height: 1.45;
  min-height: 54px;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 10px 12px;
}

.t2c-profile__dialog:not(.is-auth) .t2c-order-activity__state.is-loading > i {
  animation: mt-order-activity-spin 800ms linear infinite;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  border-top-color: #d889a7;
  flex: 0 0 auto;
  height: 14px;
  width: 14px;
}

@keyframes mt-order-activity-spin {
  to { transform: rotate(1turn); }
}

@media screen and (max-width: 640px) {
  .t2c-profile__dialog:not(.is-auth) .t2c-order-activity {
    padding: 12px;
  }

  .t2c-profile__dialog:not(.is-auth) .t2c-order-activity__item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .t2c-profile__dialog:not(.is-auth) .t2c-order-activity__status {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    max-width: 100%;
    text-align: left;
  }

  .t2c-profile__dialog:not(.is-auth) .t2c-order-activity__item > i {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media screen and (max-width: 420px) {
  .t2c-profile__dialog:not(.is-auth) .t2c-order-activity__head {
    align-items: start;
  }

  .t2c-profile__dialog:not(.is-auth) .t2c-order-activity__head h4 {
    font-size: 15px;
  }

  .t2c-profile__dialog:not(.is-auth) .t2c-order-activity__head > button {
    font-size: 11px;
    padding: 0 9px;
  }
}

/* Contact launcher: reveal and interaction motion stays inside each final box. */
.t2c-contact-float {
  max-width: calc(100vw - 32px);
}

.t2c-contact-float:hover summary,
.t2c-contact-float summary:focus-visible,
.t2c-contact-float[open] summary {
  transform: none;
}

.t2c-contact-float summary:focus-visible {
  outline-offset: -3px;
}

.t2c-contact-float__links {
  box-sizing: border-box;
  clip-path: inset(100% 0 0 0 round 15px);
  max-width: calc(100vw - 32px);
  transform: none;
  transform-origin: initial;
  width: 248px;
  will-change: clip-path, opacity;
}

.t2c-contact-float:hover .t2c-contact-float__links,
.t2c-contact-float:focus-within .t2c-contact-float__links,
.t2c-contact-float[open] .t2c-contact-float__links {
  animation: mt-contact-menu-in 240ms cubic-bezier(0.2, 0.72, 0.3, 1) both;
  transform: none;
}

.t2c-contact-float.is-closing .t2c-contact-float__links {
  animation: mt-contact-menu-out 210ms cubic-bezier(0.4, 0, 0.7, 1) both;
  transform: none;
}

.t2c-contact-float:hover .t2c-contact-float__links a,
.t2c-contact-float:focus-within .t2c-contact-float__links a,
.t2c-contact-float[open] .t2c-contact-float__links a {
  animation: mt-contact-link-in 190ms ease both;
}

.t2c-contact-float.is-closing .t2c-contact-float__links a {
  animation: mt-contact-link-out 150ms ease both;
}

.t2c-contact-float__links a:hover,
.t2c-contact-float__links a:focus-visible {
  transform: none;
}

@keyframes mt-contact-menu-in {
  from {
    clip-path: inset(100% 0 0 0 round 15px);
    opacity: 0;
  }
  to {
    clip-path: inset(0 0 0 0 round 15px);
    opacity: 1;
  }
}

@keyframes mt-contact-menu-out {
  from {
    clip-path: inset(0 0 0 0 round 15px);
    opacity: 1;
  }
  to {
    clip-path: inset(100% 0 0 0 round 15px);
    opacity: 0;
  }
}

@keyframes mt-contact-link-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes mt-contact-link-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Product, profile, checkout and admin layers */
.t2c-profile,
.t2c-admin,
.t2c-modal,
.t2c-admin-user-modal {
  background: rgba(12, 7, 9, 0.72);
}

.t2c-profile__dialog,
.t2c-admin__dialog,
.t2c-modal .t2c-dialog,
.t2c-admin-user-modal__dialog {
  background: #2b1b22;
  border-color: rgba(255, 231, 222, 0.16);
  box-shadow: 0 34px 90px rgba(6, 3, 4, 0.56);
  color: var(--mt-ink);
}

.t2c-profile :where(h2, h3, h4, b, strong, label, button),
.t2c-admin :where(h2, h3, h4, b, strong, label, button),
.t2c-modal :where(.t2c-modal-body, .t2c-modal-title, .t2c-about, .t2c-about h3, label, strong) {
  color: #f8eee9;
}

.t2c-profile :where(p, span, small),
.t2c-admin :where(p, span, small),
.t2c-modal :where(.t2c-modal-sub, .t2c-about p, .t2c-muted) {
  color: var(--mt-muted);
}

.t2c-profile__sidebar,
.t2c-profile-card,
.t2c-profile-item,
.t2c-cart-item,
.t2c-cart-side,
.t2c-cart-summary,
.t2c-checkout-fulfillment,
.t2c-order-card,
.t2c-admin__nav,
.t2c-admin__section,
.t2c-admin__product,
.t2c-admin-order,
.t2c-admin-order > header,
.t2c-admin-user-modal__body > div,
.t2c-modal .t2c-stock,
.t2c-modal .t2c-option,
.t2c-modal .t2c-stepper,
.t2c-modal .t2c-file-btn,
.t2c-modal .t2c-summary,
.t2c-profile .t2c-profile-product__info section {
  background: rgba(63, 41, 50, 0.82);
  border-color: var(--mt-line);
  box-shadow: 0 10px 28px rgba(8, 4, 6, 0.15);
  color: var(--mt-ink);
}

.t2c-modal .t2c-option:hover,
.t2c-modal .t2c-option:focus-within,
.t2c-profile-item:hover,
.t2c-admin__product:hover {
  background: rgba(79, 50, 62, 0.96);
  border-color: rgba(240, 174, 196, 0.32);
}

.t2c-profile input,
.t2c-profile select,
.t2c-profile textarea,
.t2c-admin input,
.t2c-admin select,
.t2c-admin textarea,
.t2c-modal .t2c-select,
.t2c-modal .t2c-textarea,
.t2c-modal input[type="text"],
.t2c-modal input[type="number"],
.t2c-checkout-delivery-address input {
  background: #21161a;
  border-color: rgba(255, 231, 222, 0.2);
  color: #fff5f1;
}

.t2c-profile input::placeholder,
.t2c-profile textarea::placeholder,
.t2c-admin input::placeholder,
.t2c-admin textarea::placeholder,
.t2c-modal input::placeholder,
.t2c-modal textarea::placeholder {
  color: #9f8d93;
  opacity: 1;
}

.t2c-modal .t2c-select option,
.t2c-admin select option,
.t2c-profile select option {
  background: #2e1e25;
  color: #fff5f1;
}

.t2c-profile-nav button,
.t2c-admin__tabs button,
.t2c-admin__catalog-tabs button,
.t2c-checkout-fulfillment__choices button {
  color: #d8c8cd;
}

.t2c-profile-nav button:hover,
.t2c-profile-nav button:focus-visible,
.t2c-admin__tabs button:hover,
.t2c-admin__tabs button:focus-visible,
.t2c-admin__catalog-tabs button:hover,
.t2c-admin__catalog-tabs button:focus-visible,
.t2c-checkout-fulfillment__choices button:hover,
.t2c-checkout-fulfillment__choices button:focus-visible {
  background: rgba(216, 137, 167, 0.14);
  color: #ffd1df;
}

.t2c-profile-nav button.is-active,
.t2c-admin__tabs button.is-active,
.t2c-admin__catalog-tabs button.is-active,
.t2c-checkout-fulfillment__choices button.is-active {
  background: rgba(216, 137, 167, 0.24);
  border-color: rgba(240, 174, 196, 0.32);
  color: #ffd7e3;
}

.t2c-modal .t2c-close,
.t2c-profile__close,
.t2c-admin__close {
  background: rgba(68, 43, 53, 0.94);
  border-color: var(--mt-line);
  color: #fff5f1;
}

.t2c-modal .t2c-close:hover,
.t2c-modal .t2c-close:focus-visible,
.t2c-profile__close:hover,
.t2c-profile__close:focus-visible,
.t2c-admin__close:hover,
.t2c-admin__close:focus-visible {
  background: rgba(216, 137, 167, 0.24);
  color: #fff;
}

.t2c-profile .t2c-profile__head h2,
.t2c-profile .t2c-profile-product h3,
.t2c-profile .t2c-profile-product__price,
.t2c-modal .t2c-modal-title,
.t2c-modal .t2c-price,
.t2c-profile .t2c-profile-product__info li b {
  color: #f2afc5 !important;
}

.t2c-profile .t2c-profile-product__info :where(h4, ul, li, li span, p) {
  color: #f8eee9 !important;
}

/* Legacy Tilda pages: keep their photography, add a coherent deep foundation. */
body.t-body {
  background: #1e1418 !important;
}

body.t-body #allrecords,
body.t-body .t-records,
body.t-body #allrecords > .r {
  background-color: #1e1418;
}

body.t-body .t-bgimg {
  filter: brightness(0.88) saturate(0.9) contrast(1.04);
}

body.t-body .t454,
body.t-body .tmenu-mobile,
body.t-body .tmenu-mobile_positionfixed {
  background-color: rgba(31, 20, 25, 0.96) !important;
  box-shadow: 0 12px 36px rgba(8, 4, 6, 0.34);
}

body.t-body .t454__list_item a,
body.t-body .tmenu-mobile__burgerlogo,
body.t-body .t454__logowrapper2 > div::after {
  color: #f8eee9 !important;
}

body.t-body .t454__list_item a:hover,
body.t-body .t454__list_item a:focus-visible {
  color: #ffd0df !important;
}

body.t-body .t-btn,
body.t-body .t-submit,
body.t-body .t-form__submit button {
  background-color: #9d496b !important;
  border-color: rgba(255, 223, 233, 0.24) !important;
  box-shadow: 0 11px 28px rgba(8, 4, 6, 0.28) !important;
  color: #fff !important;
}

body.t-body .t-btn:hover,
body.t-body .t-btn:focus-visible,
body.t-body .t-submit:hover,
body.t-body .t-submit:focus-visible,
body.t-body .t-form__submit button:hover,
body.t-body .t-form__submit button:focus-visible {
  background-color: #b65b7e !important;
  border-color: rgba(255, 223, 233, 0.44) !important;
  box-shadow: 0 15px 34px rgba(8, 4, 6, 0.4) !important;
}

body.t-body .t2c-profile-open,
body.t-body .t2c-admin-open {
  background: rgba(65, 42, 51, 0.94) !important;
  border-color: rgba(255, 231, 222, 0.2) !important;
  box-shadow: 0 10px 28px rgba(8, 4, 6, 0.28) !important;
  color: #fff4ef !important;
}

body.t-body .t2c-profile-open:hover,
body.t-body .t2c-profile-open:focus-visible,
body.t-body .t2c-admin-open:hover,
body.t-body .t2c-admin-open:focus-visible {
  background: rgba(157, 73, 107, 0.96) !important;
  border-color: rgba(255, 210, 224, 0.42) !important;
  color: #fff !important;
}

body.t-body .t-card__col,
body.t-body .t814__blocktext,
body.t-body .t-store__card__wrap_txt-and-opts,
body.t-body .t-store__card__textwrapper {
  box-shadow: 0 16px 38px rgba(8, 4, 6, 0.25);
}

@media screen and (max-width: 760px) {
  .t2c-single-hero__media::after {
    background:
      linear-gradient(to bottom, rgba(24, 14, 18, 0.04) 0%, rgba(28, 17, 22, 0.25) 36%, rgba(30, 19, 24, 0.9) 72%, var(--mt-paper) 100%),
      linear-gradient(90deg, rgba(29, 18, 23, 0.32), rgba(29, 18, 23, 0.04));
  }

  .t2c-single-hero__content {
    text-shadow: 0 3px 22px rgba(8, 4, 6, 0.5);
  }

  .t2c-about__content {
    box-shadow: 0 -18px 46px rgba(8, 4, 6, 0.2);
  }
}

/* Targeted catalogue actions and authentication contrast polish. */
.t2c-card-actions,
.t2c-market-card__actions {
  gap: 8px;
  right: 12px;
  top: 12px;
}

.t2c-card-icon,
.t2c-market-card__actions button {
  align-items: center;
  -webkit-backdrop-filter: blur(15px) saturate(118%);
  backdrop-filter: blur(15px) saturate(118%);
  background: rgba(28, 17, 22, 0.82);
  border: 1px solid rgba(255, 235, 228, 0.28);
  border-radius: 999px;
  box-shadow: 0 7px 20px rgba(7, 3, 5, 0.34), inset 0 1px rgba(255, 255, 255, 0.07);
  color: #fff8f4;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  padding: 0;
  transition: background-color 170ms ease, border-color 170ms ease, box-shadow 170ms ease, color 170ms ease, transform 170ms ease;
  width: 42px;
}

.t2c-card-icon .t2c-action-icon,
.t2c-market-card__actions .t2c-action-icon {
  display: block;
  fill: none !important;
  height: 20px;
  overflow: visible;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
  width: 20px;
}

.t2c-card-icon .t2c-action-icon--bag,
.t2c-market-card__actions .t2c-action-icon--bag {
  height: 21px;
  width: 21px;
}

.t2c-card-icon:hover,
.t2c-card-icon:focus-visible,
.t2c-market-card__actions button:hover,
.t2c-market-card__actions button:focus-visible {
  background: rgba(81, 45, 59, 0.96);
  border-color: rgba(255, 207, 222, 0.62);
  box-shadow: 0 9px 24px rgba(7, 3, 5, 0.42), 0 0 0 3px rgba(216, 137, 167, 0.15);
  color: #fff;
  outline: none;
  transform: translateY(-1px) scale(1.04);
}

.t2c-card-icon.is-active,
.t2c-market-card__actions button.is-active,
.t2c-card-icon[aria-pressed="true"],
.t2c-market-card__actions button[aria-pressed="true"] {
  background: linear-gradient(145deg, #c85f88, #8f3f5e);
  border-color: rgba(255, 224, 233, 0.56);
  box-shadow: 0 9px 24px rgba(79, 23, 48, 0.42), inset 0 1px rgba(255, 255, 255, 0.14);
  color: #fff;
}

.t2c-card-icon.is-active .t2c-action-icon--heart path,
.t2c-market-card__actions button.is-active .t2c-action-icon--heart path,
.t2c-card-icon[aria-pressed="true"] .t2c-action-icon--heart path,
.t2c-market-card__actions button[aria-pressed="true"] .t2c-action-icon--heart path {
  fill: currentColor;
}

.t2c-card-icon:active,
.t2c-market-card__actions button:active {
  box-shadow: 0 4px 13px rgba(7, 3, 5, 0.38);
  transform: scale(0.94);
}

/* Authentication tabs, fields and actions keep strong contrast in every state. */
.t2c-profile__dialog.is-auth {
  background: #2b1b22;
  border-color: rgba(255, 230, 222, 0.19);
  box-shadow: 0 34px 90px rgba(5, 2, 4, 0.58);
}

.t2c-profile .t2c-auth-tabs {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(92px, 0.72fr) minmax(160px, 1.28fr);
  padding: 0;
}

.t2c-profile .t2c-auth-tabs button {
  background: #3a252e;
  border: 1px solid rgba(255, 231, 222, 0.18);
  border-radius: 9px;
  box-shadow: none;
  color: #f5e8ec !important;
  font-weight: 700;
  min-width: 0;
  transition: background-color 170ms ease, border-color 170ms ease, box-shadow 170ms ease, color 170ms ease, transform 170ms ease;
}

.t2c-profile .t2c-auth-tabs button:hover,
.t2c-profile .t2c-auth-tabs button:focus-visible {
  background: #50313e;
  border-color: rgba(255, 205, 221, 0.48);
  box-shadow: 0 0 0 3px rgba(216, 137, 167, 0.14);
  color: #fff !important;
  outline: none;
}

.t2c-profile .t2c-auth-tabs button.is-active {
  background: linear-gradient(135deg, #c7658c, #91405f);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(73, 22, 44, 0.34), inset 0 1px rgba(255, 255, 255, 0.12);
  color: #fff !important;
}

.t2c-profile .t2c-profile-form > label > span,
.t2c-profile .t2c-auth-remember span,
.t2c-profile .t2c-register-consents span {
  color: #f7ebee !important;
}

.t2c-profile .t2c-profile-form input:not([type="checkbox"]),
.t2c-profile .t2c-profile-form textarea,
.t2c-profile .t2c-profile-form select {
  background: #181014;
  border: 1px solid rgba(255, 231, 222, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  caret-color: #f3b6ca;
  color: #fff8f4;
  min-height: 46px;
  transition: background-color 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.t2c-profile .t2c-profile-form input:not([type="checkbox"]):hover,
.t2c-profile .t2c-profile-form textarea:hover,
.t2c-profile .t2c-profile-form select:hover {
  border-color: rgba(255, 207, 222, 0.46);
}

.t2c-profile .t2c-profile-form input:not([type="checkbox"]):focus,
.t2c-profile .t2c-profile-form textarea:focus,
.t2c-profile .t2c-profile-form select:focus {
  background: #1c1116;
  border-color: #d889a7;
  box-shadow: 0 0 0 4px rgba(216, 137, 167, 0.16);
  outline: none;
}

.t2c-profile .t2c-profile-form input::placeholder,
.t2c-profile .t2c-profile-form textarea::placeholder {
  color: #a8939a;
  opacity: 1;
}

.t2c-profile .t2c-profile-form input:-webkit-autofill,
.t2c-profile .t2c-profile-form input:-webkit-autofill:hover,
.t2c-profile .t2c-profile-form input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #181014 inset !important;
  -webkit-text-fill-color: #fff8f4 !important;
  border-color: rgba(255, 207, 222, 0.42) !important;
  caret-color: #f3b6ca !important;
  transition: background-color 9999s ease-out 0s;
}

.t2c-profile .t2c-password-field input {
  padding-right: 110px !important;
}

.t2c-profile .t2c-password-toggle {
  background: #49303a;
  border: 1px solid rgba(255, 220, 231, 0.34);
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(7, 3, 5, 0.25);
  color: #fff5f1 !important;
  font-size: 12px;
  font-weight: 800;
  min-height: 32px;
  min-width: 90px;
}

.t2c-profile .t2c-password-toggle:hover,
.t2c-profile .t2c-password-toggle:focus-visible,
.t2c-profile .t2c-password-toggle[aria-pressed="true"] {
  background: #a64c70;
  border-color: rgba(255, 225, 234, 0.62);
  box-shadow: 0 0 0 3px rgba(216, 137, 167, 0.16), 0 6px 16px rgba(67, 19, 40, 0.28);
  color: #fff !important;
  outline: none;
}

.t2c-profile .t2c-auth-options button,
.t2c-profile .t2c-auth-link,
.t2c-profile .t2c-register-consents a {
  color: #f3b3ca !important;
  font-weight: 650;
  text-decoration-color: rgba(243, 179, 202, 0.48);
  text-underline-offset: 3px;
}

.t2c-profile .t2c-auth-options button:hover,
.t2c-profile .t2c-auth-options button:focus-visible,
.t2c-profile .t2c-auth-link:hover,
.t2c-profile .t2c-auth-link:focus-visible,
.t2c-profile .t2c-register-consents a:hover,
.t2c-profile .t2c-register-consents a:focus-visible {
  color: #fff0f5 !important;
  outline: none;
  text-decoration: underline;
}

.t2c-profile .t2c-profile-primary {
  background: linear-gradient(135deg, #cb688f, #934160) !important;
  border: 1px solid rgba(255, 222, 232, 0.18) !important;
  box-shadow: 0 11px 25px rgba(68, 18, 39, 0.38), inset 0 1px rgba(255, 255, 255, 0.13) !important;
  color: #fff !important;
  font-weight: 800;
  min-height: 46px;
}

.t2c-profile .t2c-profile-primary:hover,
.t2c-profile .t2c-profile-primary:focus-visible {
  background: linear-gradient(135deg, #dc7b9e, #aa4e70) !important;
  border-color: rgba(255, 225, 234, 0.38) !important;
  box-shadow: 0 14px 31px rgba(68, 18, 39, 0.48), 0 0 0 4px rgba(216, 137, 167, 0.14) !important;
  color: #fff !important;
  outline: none;
  transform: translateY(-1px);
}

.t2c-profile .t2c-profile-form input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  background: #181014;
  border: 1.5px solid rgba(255, 225, 234, 0.48);
  border-radius: 5px;
  box-sizing: border-box;
  display: grid;
  flex: 0 0 18px;
  height: 18px;
  margin: 0;
  min-height: 18px;
  padding: 0;
  place-content: center;
  width: 18px;
}

.t2c-profile .t2c-profile-form input[type="checkbox"]::before {
  background: #fff;
  clip-path: polygon(14% 44%, 0 59%, 39% 100%, 100% 21%, 84% 8%, 37% 70%);
  content: "";
  height: 10px;
  transform: scale(0);
  transition: transform 120ms ease;
  width: 10px;
}

.t2c-profile .t2c-profile-form input[type="checkbox"]:checked {
  background: #b85179;
  border-color: #e9a2bc;
  box-shadow: 0 0 0 3px rgba(216, 137, 167, 0.12);
}

.t2c-profile .t2c-profile-form input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.t2c-profile .t2c-profile-form input[type="checkbox"]:focus-visible {
  border-color: #ffd0df;
  box-shadow: 0 0 0 4px rgba(216, 137, 167, 0.2);
  outline: none;
}

@media screen and (max-width: 520px) {
  .t2c-card-icon,
  .t2c-market-card__actions button {
    height: 40px;
    width: 40px;
  }

  .t2c-profile .t2c-auth-tabs {
    grid-template-columns: minmax(82px, 0.68fr) minmax(145px, 1.32fr);
  }

  .t2c-profile .t2c-auth-tabs button {
    font-size: 12px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .t2c-profile .t2c-password-toggle {
    min-width: 82px;
    padding-left: 7px;
    padding-right: 7px;
  }

  .t2c-profile .t2c-password-field input {
    padding-right: 100px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .mt-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Logged-in account: reuse the administration design-system tokens exactly. */
.t2c-profile__dialog:not(.is-auth) {
  --account-bg: #2b1b22;
  --account-panel: rgba(63, 41, 50, 0.82);
  --account-panel-raised: rgba(255, 255, 255, 0.065);
  --account-panel-hover: rgba(79, 50, 62, 0.96);
  --account-line: rgba(255, 231, 222, 0.15);
  --account-line-strong: rgba(240, 174, 196, 0.32);
  --account-text: #f8eee9;
  --account-muted: rgba(255, 246, 248, 0.66);
  --account-accent: #d889a7;
  background: var(--account-bg);
  border-color: rgba(255, 231, 222, 0.16);
  border-radius: 16px;
  box-shadow: 0 34px 90px rgba(6, 3, 4, 0.56);
  color: var(--account-text);
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile__head {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--account-line);
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile__head h2 {
  color: var(--account-text) !important;
  text-shadow: none;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile__kicker,
.t2c-profile__dialog:not(.is-auth) .t2c-account-kicker {
  color: rgba(255, 246, 248, 0.58) !important;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile__shell,
.t2c-profile__dialog:not(.is-auth) .t2c-profile__main {
  background: var(--account-bg);
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile__sidebar {
  background: var(--account-panel);
  border-color: var(--account-line);
  box-shadow: 0 10px 28px rgba(8, 4, 6, 0.15);
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile-user {
  background: var(--account-panel-raised);
  border-color: var(--account-line);
  border-radius: 8px;
  box-shadow: none;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile-user p {
  color: var(--account-text);
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile-user span {
  color: var(--account-muted);
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile-avatar {
  background: linear-gradient(135deg, #cc62a0, #932f63);
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 22px rgba(85, 18, 52, 0.42);
  color: #fff;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile-nav {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile-nav button {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 244, 248, 0.2);
  border-radius: 8px;
  color: #ded8de;
  font-weight: 400;
  transition: background-color 170ms ease, border-color 170ms ease, box-shadow 170ms ease, color 170ms ease, transform 170ms ease;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile-nav button:hover,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-nav button:focus-visible {
  background: rgba(216, 137, 167, 0.14);
  border-color: rgba(240, 174, 196, 0.28);
  box-shadow: none;
  color: #ffd1df;
  outline: none;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile-nav button.is-active {
  background: rgba(216, 137, 167, 0.24);
  border-color: var(--account-line-strong);
  box-shadow: none;
  color: #ffd7e3;
  font-weight: 600;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile-nav b {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 244, 248, 0.16);
  color: #f8eee9;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile-nav button.is-active b {
  background: rgba(216, 137, 167, 0.32);
  border-color: rgba(255, 221, 237, 0.42);
  color: #fff;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile__content {
  color: var(--account-text);
}

.t2c-profile__dialog:not(.is-auth) .t2c-account-intro {
  border-color: var(--account-line);
}

.t2c-profile__dialog:not(.is-auth) .t2c-account-intro h3 {
  color: #f3bddd;
  text-shadow: none;
}

.t2c-profile__dialog:not(.is-auth) .t2c-account-intro > p:not(.t2c-account-kicker),
.t2c-profile__dialog:not(.is-auth) .t2c-profile-card p,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-card span,
.t2c-profile__dialog:not(.is-auth) .t2c-account-product__body p,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-item p,
.t2c-profile__dialog:not(.is-auth) .t2c-cart-item p,
.t2c-profile__dialog:not(.is-auth) .t2c-order-card p,
.t2c-profile__dialog:not(.is-auth) .t2c-order-card span {
  color: var(--account-muted) !important;
}

.t2c-profile__dialog:not(.is-auth) :where(
  .t2c-profile-card,
  .t2c-account-product,
  .t2c-profile-actions button,
  .t2c-profile-item,
  .t2c-cart-item,
  .t2c-cart-side,
  .t2c-cart-summary,
  .t2c-order-card,
  .t2c-promo,
  .t2c-profile-empty
) {
  background: var(--account-panel);
  border-color: var(--account-line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(8, 4, 6, 0.15);
  color: var(--account-text);
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile-card--details > div,
.t2c-profile__dialog:not(.is-auth) .t2c-cart-item,
.t2c-profile__dialog:not(.is-auth) .t2c-order-card > * {
  border-color: var(--account-line);
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile-card--details b,
.t2c-profile__dialog:not(.is-auth) .t2c-account-product__body h3,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-item h3,
.t2c-profile__dialog:not(.is-auth) .t2c-cart-item h3,
.t2c-profile__dialog:not(.is-auth) .t2c-order-card :where(h3, h4, b, strong) {
  color: var(--account-text);
}

.t2c-profile__dialog:not(.is-auth) .t2c-account-product__body > span,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-product__price,
.t2c-profile__dialog:not(.is-auth) .t2c-cart-item__price,
.t2c-profile__dialog:not(.is-auth) .t2c-cart-item__total {
  color: #f3bddd !important;
  text-shadow: none;
}

.t2c-profile__dialog:not(.is-auth) .t2c-account-product:hover,
.t2c-profile__dialog:not(.is-auth) .t2c-account-product:focus-visible,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-item[data-profile-product]:hover,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-item[data-profile-product]:focus-visible,
.t2c-profile__dialog:not(.is-auth) .t2c-cart-item[data-profile-product]:hover,
.t2c-profile__dialog:not(.is-auth) .t2c-cart-item[data-profile-product]:focus-visible {
  background: var(--account-panel-hover);
  border-color: rgba(240, 174, 196, 0.32);
  box-shadow: 0 8px 20px rgba(9, 4, 7, 0.24);
  outline: none;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile-actions button,
.t2c-profile__dialog:not(.is-auth) .t2c-account-product__actions button,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-item__actions button,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-secondary,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-side-back,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-logout,
.t2c-profile__dialog:not(.is-auth) .t2c-profile__close,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-back {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 244, 248, 0.2);
  border-radius: 8px;
  color: #f8eee9;
}

.t2c-profile__dialog:not(.is-auth) .t2c-account-product__actions button:last-child,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-actions button b {
  background: linear-gradient(135deg, #bd5e8a, #8d3b61);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(92, 30, 58, 0.35);
  color: #fff;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile-actions button:hover,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-actions button:focus-visible,
.t2c-profile__dialog:not(.is-auth) .t2c-account-product__actions button:hover,
.t2c-profile__dialog:not(.is-auth) .t2c-account-product__actions button:focus-visible,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-item__actions button:hover,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-item__actions button:focus-visible,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-secondary:hover,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-secondary:focus-visible,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-side-back:hover,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-side-back:focus-visible,
.t2c-profile__dialog:not(.is-auth) .t2c-profile__close:hover,
.t2c-profile__dialog:not(.is-auth) .t2c-profile__close:focus-visible,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-back:hover,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-back:focus-visible {
  background: rgba(216, 137, 167, 0.14);
  border-color: rgba(240, 174, 196, 0.32);
  box-shadow: none;
  color: #ffd1df;
  outline: none;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile-logout:hover,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-logout:focus-visible {
  background: rgba(216, 137, 167, 0.14);
  border-color: rgba(240, 174, 196, 0.32);
  box-shadow: none;
  color: #ffd1df;
  outline: none;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile-primary {
  background: linear-gradient(135deg, #bd5e8a, #8d3b61) !important;
  border-color: transparent !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 22px rgba(92, 30, 58, 0.35) !important;
  color: #fff !important;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile__close {
  border-radius: 10px;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile-primary:hover,
.t2c-profile__dialog:not(.is-auth) .t2c-profile-primary:focus-visible {
  background: linear-gradient(135deg, #cc6a99, #9b466e) !important;
  border-color: rgba(255, 221, 237, 0.32) !important;
  box-shadow: 0 12px 26px rgba(137, 47, 88, 0.45) !important;
  color: #fff !important;
  outline: none;
}

@media screen and (max-width: 900px) {
  .t2c-profile__dialog:not(.is-auth) .t2c-profile__sidebar {
    border-color: var(--account-line);
    box-shadow: 0 10px 28px rgba(8, 4, 6, 0.15);
  }

  .t2c-profile__dialog:not(.is-auth) .t2c-profile-nav {
    scrollbar-color: rgba(196, 125, 145, 0.35) transparent;
  }
}

@media screen and (max-width: 640px) {
  .t2c-profile__dialog:not(.is-auth) .t2c-profile__sidebar {
    background: var(--account-panel);
  }

  .t2c-profile__dialog:not(.is-auth) .t2c-profile-nav {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    padding: 7px;
    width: 100%;
  }

  .t2c-profile__dialog:not(.is-auth) .t2c-profile-nav button {
    font-size: 12px;
    min-height: 42px;
    padding: 7px 10px;
    white-space: normal;
  }

  .t2c-profile__dialog:not(.is-auth) .t2c-profile__content {
    background: var(--account-bg);
  }
}

/* Profile depth: a calm dimmed backdrop and layered wine-plum surfaces. */
.t2c-profile {
  background:
    radial-gradient(circle at 16% 18%, rgba(183, 77, 122, 0.16), transparent 34%),
    radial-gradient(circle at 86% 82%, rgba(109, 49, 78, 0.2), transparent 36%),
    linear-gradient(rgba(8, 4, 7, 0.78), rgba(12, 6, 9, 0.86));
  backdrop-filter: blur(18px) saturate(90%);
  -webkit-backdrop-filter: blur(18px) saturate(90%);
}

.t2c-profile__dialog:not(.is-auth) {
  border-color: rgba(255, 226, 238, 0.19);
  box-shadow:
    0 38px 100px rgba(3, 1, 2, 0.68),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset;
  isolation: isolate;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile__head {
  background:
    linear-gradient(105deg, rgba(107, 55, 78, 0.3), rgba(50, 30, 39, 0.88)),
    var(--account-bg);
  box-shadow: 0 12px 30px rgba(5, 2, 4, 0.12);
  position: relative;
  z-index: 3;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile__shell {
  background:
    radial-gradient(ellipse at 68% 8%, rgba(188, 91, 132, 0.11), transparent 43%),
    radial-gradient(ellipse at 92% 92%, rgba(124, 58, 88, 0.13), transparent 42%),
    linear-gradient(135deg, #2d1c24 0%, #25171d 54%, #2b1a22 100%);
  position: relative;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile__sidebar {
  background:
    linear-gradient(180deg, rgba(73, 46, 58, 0.96), rgba(50, 31, 40, 0.98));
  box-shadow:
    14px 0 34px rgba(7, 3, 5, 0.15),
    -1px 0 0 rgba(255, 255, 255, 0.025) inset;
  position: relative;
  z-index: 2;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile__main {
  background: transparent !important;
  position: relative;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile__main::before {
  background:
    radial-gradient(circle at 18% 12%, rgba(215, 125, 161, 0.085), transparent 34%),
    radial-gradient(circle at 88% 76%, rgba(130, 66, 94, 0.12), transparent 36%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile__content {
  background: transparent !important;
  position: relative;
  z-index: 1;
}

.t2c-profile__dialog:not(.is-auth) .t2c-account-intro {
  background:
    linear-gradient(135deg, rgba(79, 48, 61, 0.8), rgba(54, 33, 42, 0.72));
  border: 1px solid var(--account-line);
  border-radius: 12px;
  box-shadow:
    0 16px 34px rgba(6, 3, 5, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.035) inset;
  padding: 20px 22px;
}

.t2c-profile__dialog:not(.is-auth) :where(
  .t2c-profile-card,
  .t2c-account-product,
  .t2c-profile-actions button,
  .t2c-profile-item,
  .t2c-cart-item,
  .t2c-cart-side,
  .t2c-cart-summary,
  .t2c-order-card,
  .t2c-promo,
  .t2c-profile-empty
) {
  background:
    linear-gradient(145deg, rgba(72, 44, 56, 0.94), rgba(53, 32, 41, 0.92));
  border-color: rgba(255, 226, 238, 0.16);
  box-shadow:
    0 14px 30px rgba(6, 3, 5, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.025) inset;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile-card--details > div {
  background: rgba(255, 255, 255, 0.012);
  transition: background-color 170ms ease;
}

.t2c-profile__dialog:not(.is-auth) .t2c-profile-card--details > div:hover {
  background: rgba(216, 137, 167, 0.055);
}

@media screen and (max-width: 900px) {
  .t2c-profile__dialog:not(.is-auth) .t2c-profile__sidebar {
    align-items: stretch;
    display: grid;
    grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr) auto;
    box-shadow: 0 14px 30px rgba(7, 3, 5, 0.16);
  }

  .t2c-profile__dialog:not(.is-auth) .t2c-profile-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding: 7px;
    width: 100%;
  }

  .t2c-profile__dialog:not(.is-auth) .t2c-profile-nav button {
    font-size: 12px;
    min-width: 0;
    white-space: normal;
  }

  .t2c-profile__dialog:not(.is-auth) .t2c-profile-sidebar__footer,
  .t2c-profile__dialog:not(.is-auth) .t2c-profile-logout {
    align-self: stretch;
    height: 100%;
  }
}

@media screen and (max-width: 640px) {
  .t2c-profile {
    backdrop-filter: blur(12px) saturate(90%);
    -webkit-backdrop-filter: blur(12px) saturate(90%);
  }

  .t2c-profile__dialog:not(.is-auth) .t2c-account-intro {
    padding: 17px 18px;
  }

  .t2c-profile__dialog:not(.is-auth) .t2c-profile__sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .t2c-profile__dialog:not(.is-auth) .t2c-profile-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .t2c-profile__dialog:not(.is-auth) .t2c-profile-sidebar__footer,
  .t2c-profile__dialog:not(.is-auth) .t2c-profile-logout {
    height: auto;
  }

  .t2c-profile__dialog:not(.is-auth) :where(
    .t2c-profile-card,
    .t2c-profile-actions button,
    .t2c-profile-item,
    .t2c-cart-item,
    .t2c-order-card
  ) {
    box-shadow: 0 10px 22px rgba(6, 3, 5, 0.17);
  }
}

/* Administration depth: mirror the layered profile design without reducing density. */
.t2c-admin {
  background:
    radial-gradient(circle at 15% 18%, rgba(183, 77, 122, 0.15), transparent 34%),
    radial-gradient(circle at 86% 82%, rgba(109, 49, 78, 0.19), transparent 36%),
    linear-gradient(rgba(8, 4, 7, 0.79), rgba(12, 6, 9, 0.87));
  backdrop-filter: blur(18px) saturate(90%);
  -webkit-backdrop-filter: blur(18px) saturate(90%);
}

.t2c-admin__dialog {
  --admin-bg: #2b1a22;
  --admin-panel: rgba(65, 40, 51, 0.9);
  --admin-panel-deep: rgba(46, 27, 35, 0.94);
  --admin-raised: rgba(255, 255, 255, 0.055);
  --admin-line: rgba(255, 226, 238, 0.16);
  --admin-line-strong: rgba(240, 174, 196, 0.34);
  --admin-text: #f8eee9;
  --admin-muted: rgba(255, 246, 248, 0.66);
  background:
    radial-gradient(ellipse at 72% 0%, rgba(188, 91, 132, 0.1), transparent 42%),
    linear-gradient(135deg, #2d1c24 0%, #25171d 54%, #2b1a22 100%);
  border: 1px solid rgba(255, 226, 238, 0.19);
  box-shadow:
    0 38px 100px rgba(3, 1, 2, 0.68),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset;
  color: var(--admin-text);
  isolation: isolate;
}

.t2c-admin__head {
  background:
    linear-gradient(105deg, rgba(107, 55, 78, 0.3), rgba(50, 30, 39, 0.88)),
    var(--admin-bg);
  border-color: var(--admin-line);
  box-shadow: 0 12px 30px rgba(5, 2, 4, 0.13);
  position: relative;
  z-index: 4;
}

.t2c-admin__layout {
  background:
    radial-gradient(ellipse at 76% 12%, rgba(207, 111, 150, 0.075), transparent 40%),
    linear-gradient(135deg, #2d1c24, #25171d 58%, #2b1a22);
}

.t2c-admin__nav {
  background: linear-gradient(180deg, rgba(73, 46, 58, 0.97), rgba(50, 31, 40, 0.99));
  border-color: var(--admin-line);
  box-shadow:
    14px 0 34px rgba(7, 3, 5, 0.16),
    -1px 0 0 rgba(255, 255, 255, 0.025) inset;
  position: relative;
  z-index: 3;
}

.t2c-admin__tabs button,
.t2c-admin__catalog-tabs button {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 235, 242, 0.17);
  color: #e7dde1;
  transition: background-color 170ms ease, border-color 170ms ease, box-shadow 170ms ease, color 170ms ease, transform 170ms ease;
}

.t2c-admin__tabs button:hover,
.t2c-admin__tabs button:focus-visible,
.t2c-admin__catalog-tabs button:hover,
.t2c-admin__catalog-tabs button:focus-visible {
  background: rgba(216, 137, 167, 0.14);
  border-color: rgba(240, 174, 196, 0.3);
  box-shadow: 0 8px 18px rgba(7, 3, 5, 0.16);
  color: #ffd1df;
  outline: none;
}

.t2c-admin__tabs button.is-active,
.t2c-admin__catalog-tabs button.is-active {
  background: linear-gradient(135deg, rgba(181, 83, 124, 0.58), rgba(126, 55, 85, 0.58));
  border-color: var(--admin-line-strong);
  box-shadow:
    0 12px 24px rgba(37, 12, 24, 0.27),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
  color: #fff0f6;
}

.t2c-admin__workspace {
  background:
    radial-gradient(circle at 88% 22%, rgba(196, 99, 139, 0.065), transparent 35%),
    linear-gradient(145deg, rgba(42, 25, 33, 0.7), rgba(34, 20, 27, 0.82));
}

.t2c-admin__catalog-tabs {
  background: linear-gradient(105deg, rgba(65, 39, 50, 0.9), rgba(45, 27, 35, 0.94));
  border-color: var(--admin-line);
  box-shadow: 0 12px 26px rgba(7, 3, 5, 0.14);
  position: sticky;
  top: 0;
  z-index: 3;
}

.t2c-admin__main {
  background: transparent;
}

.t2c-admin__side {
  background: linear-gradient(180deg, rgba(67, 41, 52, 0.94), rgba(47, 28, 36, 0.97));
  border-color: var(--admin-line);
  box-shadow: 12px 0 28px rgba(7, 3, 5, 0.15);
  position: relative;
  z-index: 2;
}

.t2c-admin__form,
.t2c-admin__section {
  background: transparent;
}

.t2c-admin__product,
.t2c-admin__status,
.t2c-admin__preview,
.t2c-admin-promo-list article,
.t2c-admin-users-table,
.t2c-admin-user-row,
.t2c-admin-user-card,
.t2c-admin-order,
.t2c-billing-card,
.t2c-billing-panel {
  background: linear-gradient(145deg, rgba(72, 44, 56, 0.94), rgba(53, 32, 41, 0.92));
  border-color: var(--admin-line);
  box-shadow:
    0 14px 30px rgba(6, 3, 5, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.025) inset;
  color: var(--admin-text);
}

.t2c-admin__product:hover,
.t2c-admin__product:focus-visible,
.t2c-admin-user-row:hover,
.t2c-admin-user-row:focus-visible {
  background: linear-gradient(145deg, rgba(87, 51, 66, 0.98), rgba(61, 36, 47, 0.96));
  border-color: rgba(240, 174, 196, 0.31);
  box-shadow: 0 12px 26px rgba(7, 3, 5, 0.25);
  outline: none;
}

.t2c-admin__product.is-active,
.t2c-admin-user-row.is-active {
  background: linear-gradient(135deg, rgba(169, 77, 115, 0.54), rgba(111, 49, 75, 0.58));
  border-color: var(--admin-line-strong);
  box-shadow:
    0 14px 28px rgba(37, 12, 24, 0.28),
    0 0 0 1px rgba(255, 226, 238, 0.055) inset;
}

.t2c-admin-section-head {
  background: linear-gradient(135deg, rgba(77, 46, 59, 0.76), rgba(52, 31, 40, 0.69));
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  box-shadow: 0 15px 32px rgba(6, 3, 5, 0.18);
  padding: 18px 20px;
}

.t2c-admin__field input,
.t2c-admin__field select,
.t2c-admin__field textarea {
  background: rgba(18, 10, 14, 0.6);
  border-color: rgba(255, 231, 240, 0.18);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02) inset;
  color: var(--admin-text);
}

.t2c-admin__field input:hover,
.t2c-admin__field select:hover,
.t2c-admin__field textarea:hover {
  border-color: rgba(240, 174, 196, 0.28);
}

.t2c-admin__field input:focus,
.t2c-admin__field select:focus,
.t2c-admin__field textarea:focus {
  border-color: rgba(240, 174, 196, 0.48);
  box-shadow:
    0 0 0 3px rgba(216, 137, 167, 0.11),
    0 1px 0 rgba(255, 255, 255, 0.025) inset;
  outline: none;
}

.t2c-admin__new,
.t2c-admin__save {
  background: linear-gradient(135deg, #bd5e8a, #8d3b61);
  border-color: transparent;
  box-shadow: 0 11px 24px rgba(92, 30, 58, 0.34);
  color: #fff;
}

.t2c-admin__new:hover,
.t2c-admin__new:focus-visible,
.t2c-admin__save:hover,
.t2c-admin__save:focus-visible {
  background: linear-gradient(135deg, #cc6a99, #9b466e);
  border-color: rgba(255, 221, 237, 0.32);
  box-shadow: 0 13px 28px rgba(137, 47, 88, 0.43);
  color: #fff;
  outline: none;
}

@media screen and (max-width: 900px) {
  .t2c-admin__nav {
    box-shadow: 0 14px 30px rgba(7, 3, 5, 0.16);
  }

  .t2c-admin__tabs {
    scrollbar-color: rgba(196, 125, 145, 0.36) transparent;
  }
}

@media screen and (max-width: 640px) {
  .t2c-admin {
    backdrop-filter: blur(12px) saturate(90%);
    -webkit-backdrop-filter: blur(12px) saturate(90%);
  }

  .t2c-admin__section,
  .t2c-admin__form {
    padding-left: 16px;
    padding-right: 16px;
  }

  .t2c-admin-section-head {
    padding: 16px;
  }
}

/* Exact optical centering for the profile icon and all account counters. */
.t2c-profile-open > svg {
  align-self: center;
  display: block;
  flex: 0 0 17px;
  height: 17px;
  margin: 0;
  transform: translateY(-1.25px);
  width: 17px;
}

.t2c-profile-open > span {
  align-items: center;
  display: inline-flex;
  line-height: 1;
}

body.t2c-single-page .t2c-profile-open [data-t2c-profile-count],
.t2c-profile-open [data-t2c-profile-count] {
  align-items: center;
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 22px;
  font-variant-numeric: tabular-nums;
  height: 22px;
  justify-content: center;
  line-height: 1;
  min-width: 22px;
  padding: 0;
  text-align: center;
  vertical-align: middle;
}

/* Unified mid-tone home imagery and static delivery-zone illustration */
.t2c-delivery-map::before {
  background: linear-gradient(90deg, rgba(45, 27, 35, 0.42), rgba(57, 34, 44, 0.28) 54%, rgba(43, 26, 33, 0.4));
}

.t2c-delivery-map__backdrop {
  filter: brightness(0.84) saturate(0.82) contrast(1.02);
}

.t2c-delivery-zone-visual {
  align-self: center;
  aspect-ratio: 9 / 7;
  background: rgba(37, 24, 30, 0.58);
  border: 1px solid rgba(255, 229, 220, 0.2);
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(8, 4, 6, 0.3);
  margin: 0;
  max-width: 100%;
  overflow: hidden;
}

.t2c-delivery-zone-visual img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.t2c-catalog--cakes,
.t2c-fillings,
.t2c-catalog--desserts,
.t2c-about-section,
.t2c-contacts {
  background-image:
    linear-gradient(rgba(40, 25, 32, 0.68), rgba(37, 23, 29, 0.8)),
    url("../images/homepage-unified-cake-background-2026.webp");
  background-position: center;
  background-size: cover;
}

.t2c-fillings,
.t2c-contacts {
  background-position: center 42%;
}

.t2c-catalog--desserts {
  background-position: center 68%;
}

@media screen and (max-width: 760px) {
  .t2c-delivery-zone-visual {
    border-radius: 16px;
    width: 100%;
  }

  .t2c-catalog--cakes,
  .t2c-fillings,
  .t2c-catalog--desserts,
  .t2c-about-section,
  .t2c-contacts {
    background-attachment: scroll;
    background-position: center;
  }
}

/* Delivery page */
body.t2c-delivery-page {
  background:
    radial-gradient(circle at 8% 22%, rgba(176, 78, 118, 0.16), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(120, 74, 88, 0.14), transparent 30%),
    #160d12;
  color: #f8eef2;
}

.t2c-delivery-main {
  box-sizing: border-box;
  display: grid;
  gap: 24px;
  margin: 0 auto;
  max-width: 1220px;
  padding: 148px 24px 78px;
  width: 100%;
}

.t2c-delivery-hero,
.t2c-delivery-option,
.t2c-delivery-process,
.t2c-delivery-note,
.t2c-delivery-contact {
  border: 1px solid rgba(232, 178, 201, 0.2);
  box-shadow: 0 24px 70px rgba(5, 1, 3, 0.24);
}

.t2c-delivery-hero {
  background:
    linear-gradient(110deg, rgba(67, 34, 48, 0.96), rgba(47, 27, 36, 0.9)),
    radial-gradient(circle at 85% 20%, rgba(215, 127, 164, 0.22), transparent 34%);
  border-radius: 28px;
  overflow: hidden;
  padding: clamp(34px, 6vw, 76px);
  position: relative;
}

.t2c-delivery-hero::after {
  background: radial-gradient(circle, rgba(234, 164, 194, 0.28), transparent 66%);
  border-radius: 50%;
  content: "";
  height: 340px;
  pointer-events: none;
  position: absolute;
  right: -95px;
  top: -140px;
  width: 340px;
}

.t2c-delivery-kicker {
  color: #e8a6c1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.t2c-delivery-hero h1,
.t2c-delivery-process h2,
.t2c-delivery-note h2,
.t2c-delivery-contact h2 {
  color: #fff7fa;
  letter-spacing: -0.035em;
  margin: 0;
}

.t2c-delivery-hero h1 {
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
}

.t2c-delivery-hero > p:not(.t2c-delivery-kicker) {
  color: #dac8cf;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
  margin: 24px 0 0;
  max-width: 760px;
}

.t2c-delivery-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.t2c-delivery-hero__chips span {
  background: rgba(255, 243, 248, 0.08);
  border: 1px solid rgba(238, 180, 204, 0.24);
  border-radius: 999px;
  color: #f4dce6;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
}

.t2c-delivery-options {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.t2c-delivery-option {
  background: linear-gradient(145deg, rgba(62, 36, 47, 0.96), rgba(48, 29, 37, 0.96));
  border-radius: 24px;
  min-width: 0;
  padding: clamp(26px, 4vw, 44px);
}

.t2c-delivery-option--pickup {
  background: linear-gradient(145deg, rgba(73, 39, 54, 0.98), rgba(52, 31, 40, 0.96));
}

.t2c-delivery-option__number {
  color: #d87fa5;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 28px;
}

.t2c-delivery-option h2 {
  color: #fff5f8;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.08;
  margin: 0 0 18px;
}

.t2c-delivery-option > p:not(.t2c-delivery-option__number, .t2c-delivery-option__accent),
.t2c-delivery-option li,
.t2c-delivery-option address {
  color: #d5c2ca;
  font-size: 15px;
  line-height: 1.65;
}

.t2c-delivery-option ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding-left: 20px;
}

.t2c-delivery-option address {
  background: rgba(19, 10, 14, 0.22);
  border: 1px solid rgba(235, 181, 203, 0.16);
  border-radius: 16px;
  font-style: normal;
  margin-top: 24px;
  padding: 18px;
}

.t2c-delivery-option__accent {
  color: #efb4cd;
  font-weight: 800;
  margin: 18px 0 0;
}

.t2c-delivery-process {
  background: rgba(49, 29, 38, 0.92);
  border-radius: 24px;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
  padding: clamp(28px, 5vw, 54px);
}

.t2c-delivery-process h2,
.t2c-delivery-note h2,
.t2c-delivery-contact h2 {
  font-size: clamp(25px, 3.4vw, 38px);
  line-height: 1.12;
}

.t2c-delivery-process ol {
  counter-reset: delivery-step;
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.t2c-delivery-process li {
  align-items: start;
  background: rgba(255, 246, 250, 0.045);
  border: 1px solid rgba(231, 176, 199, 0.14);
  border-radius: 16px;
  counter-increment: delivery-step;
  display: grid;
  gap: 4px 14px;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 18px;
}

.t2c-delivery-process li::before {
  align-items: center;
  background: #bd547f;
  border-radius: 50%;
  color: #fff;
  content: counter(delivery-step);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  grid-row: 1 / span 2;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.t2c-delivery-process li b { color: #f8e9ef; font-size: 15px; }
.t2c-delivery-process li span { color: #cbb7c0; font-size: 14px; line-height: 1.5; }

.t2c-delivery-note,
.t2c-delivery-contact {
  align-items: center;
  border-radius: 24px;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(28px, 5vw, 48px);
}

.t2c-delivery-note {
  background: linear-gradient(120deg, rgba(112, 48, 74, 0.95), rgba(65, 34, 47, 0.96));
}

.t2c-delivery-note p:not(.t2c-delivery-kicker),
.t2c-delivery-contact p:not(.t2c-delivery-kicker) {
  color: #dbc7d0;
  line-height: 1.6;
  margin: 14px 0 0;
  max-width: 720px;
}

.t2c-delivery-note__actions,
.t2c-delivery-contact > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.t2c-delivery-note__actions a,
.t2c-delivery-contact a {
  background: #c25b87;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 13px 17px;
  text-decoration: none;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.t2c-delivery-note__actions a + a,
.t2c-delivery-contact a:not(:first-child) {
  background: rgba(255, 246, 250, 0.07);
  border-color: rgba(239, 190, 210, 0.24);
}

.t2c-delivery-note__actions a:hover,
.t2c-delivery-contact a:hover {
  background: #d36d98;
  box-shadow: 0 12px 28px rgba(9, 2, 5, 0.24);
  transform: translateY(-1px);
}

.t2c-delivery-note__actions a:focus-visible,
.t2c-delivery-contact a:focus-visible {
  outline: 2px solid #ffd7e7;
  outline-offset: 3px;
}

.t2c-delivery-contact {
  background: rgba(45, 27, 35, 0.88);
}

@media screen and (max-width: 820px) {
  .t2c-delivery-main { padding: 122px 14px 54px; }
  .t2c-delivery-options,
  .t2c-delivery-process,
  .t2c-delivery-note,
  .t2c-delivery-contact { grid-template-columns: minmax(0, 1fr); }
  .t2c-delivery-note__actions,
  .t2c-delivery-contact > div:last-child { justify-content: flex-start; }
}

@media screen and (max-width: 520px) {
  .t2c-delivery-main { gap: 14px; padding-left: 10px; padding-right: 10px; }
  .t2c-delivery-hero,
  .t2c-delivery-option,
  .t2c-delivery-process,
  .t2c-delivery-note,
  .t2c-delivery-contact { border-radius: 19px; padding: 22px 18px; }
  .t2c-delivery-hero h1 { font-size: 42px; }
  .t2c-delivery-hero__chips { gap: 7px; }
  .t2c-delivery-hero__chips span { font-size: 12px; padding: 8px 11px; }
  .t2c-delivery-note__actions,
  .t2c-delivery-contact > div:last-child { align-items: stretch; flex-direction: column; }
  .t2c-delivery-note__actions a,
  .t2c-delivery-contact a { box-sizing: border-box; text-align: center; width: 100%; }
}

/* Keep the products title and its short instruction on one visual line. */
.t2c-account-intro .t2c-account-products-heading {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: 0;
}

.t2c-account-intro .t2c-account-products-heading span {
  color: var(--t2c-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
}

@media screen and (max-width: 560px) {
  .t2c-account-intro .t2c-account-products-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .t2c-account-intro .t2c-account-products-heading span {
    font-size: 13px;
  }
}

@media screen and (max-width: 640px) {
  .t2c-delivery-map__backdrop {
    object-position: 68% center;
  }

  .t2c-delivery-map::before {
    background: linear-gradient(180deg, rgba(46, 25, 34, 0.46), rgba(48, 26, 36, 0.58));
  }

  .t2c-delivery-map__inner {
    background: rgba(52, 31, 40, 0.88);
  }
}

html.t2c-modal-open,
body.t2c-modal-open {
  height: 100%;
  overflow: hidden !important;
  overscroll-behavior: none;
}

.t2c-profile.is-open,
.t2c-admin.is-open {
  overscroll-behavior: contain;
  touch-action: none;
}

.t2c-profile__dialog,
.t2c-profile__main,
.t2c-admin__workspace,
.t2c-admin-users-list,
.t2c-admin__products,
.t2c-admin-user-modal,
.t2c-admin-user-modal__dialog,
.t2c-payment-modal,
.t2c-payment-modal__card {
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.t2c-cart-restore-notice {
  align-items: center;
  background: linear-gradient(135deg, rgba(113, 49, 78, 0.92), rgba(67, 34, 51, 0.96));
  border: 1px solid rgba(244, 169, 204, 0.32);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(13, 5, 9, 0.24);
  color: #fff8fb;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 14px 14px 14px 16px;
}

.t2c-cart-restore-notice > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.t2c-cart-restore-notice b {
  color: #ffd3e7;
  font-size: 14px;
  line-height: 1.35;
}

.t2c-cart-restore-notice span {
  color: rgba(255, 248, 251, 0.8);
  font-size: 13px;
  line-height: 1.45;
}

.t2c-cart-restore-notice > button:not(.t2c-cart-restore-notice__close) {
  background: linear-gradient(135deg, #c95f8f, #b84d7e);
  border: 0;
  border-radius: 9px;
  box-shadow: 0 5px 13px rgba(29, 9, 18, 0.2);
  color: #fff !important;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  min-height: 38px;
  outline: none;
  padding: 0 14px;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.t2c-cart-restore-notice > button:not(.t2c-cart-restore-notice__close):hover {
  background: linear-gradient(135deg, #d66e9e, #c55587);
  box-shadow: 0 9px 20px rgba(32, 10, 20, 0.3);
  transform: translateY(-1px);
}

.t2c-cart-restore-notice > button:not(.t2c-cart-restore-notice__close):focus-visible {
  background: linear-gradient(135deg, #d36a9a, #bd4f80);
  box-shadow: 0 7px 18px rgba(32, 10, 20, 0.28), inset 0 0 0 2px rgba(255, 231, 242, 0.68);
}

.t2c-cart-restore-notice > button:not(.t2c-cart-restore-notice__close):active {
  box-shadow: 0 3px 9px rgba(29, 9, 18, 0.22);
  transform: translateY(0);
}

.t2c-cart-restore-notice__close {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 241, 247, 0.2);
  border-radius: 8px;
  color: rgba(255, 248, 251, 0.8);
  cursor: pointer;
  display: inline-flex;
  font-size: 0;
  height: 34px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: relative;
  width: 34px;
}

.t2c-cart-restore-notice__close::before,
.t2c-cart-restore-notice__close::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  height: 2px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 12px;
}

.t2c-cart-restore-notice__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.t2c-cart-restore-notice__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.t2c-cart-restore-notice__close:hover,
.t2c-cart-restore-notice__close:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 241, 247, 0.44);
  color: #fff;
  outline: none;
}

@media screen and (max-width: 640px) {
  .t2c-cart-restore-notice {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .t2c-cart-restore-notice > div {
    grid-column: 1;
  }

  .t2c-cart-restore-notice > button:not(.t2c-cart-restore-notice__close) {
    grid-column: 1;
    justify-self: start;
  }

  .t2c-cart-restore-notice__close {
    grid-column: 2;
    grid-row: 1;
  }
}

/* Keep the responsive hero picture sized exactly like the original media box. */
.t2c-single-hero__media picture {
  display: block;
  height: 100%;
  width: 100%;
}

/* Compact catalog previews on the home page. */
.t2c-catalog[data-t2c-preview] .t2c-heading {
  grid-template-columns: minmax(0, 1fr);
}

.t2c-catalog[data-t2c-preview] .t2c-counter,
.t2c-catalog[data-t2c-preview] .t2c-toolbar {
  display: none;
}

.t2c-catalog[data-t2c-preview] .t2c-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: 230px minmax(0, 1fr);
}

.t2c-catalog[data-t2c-preview] .t2c-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.t2c-catalog-preview__footer {
  display: grid;
  gap: 14px;
}

.t2c-catalog-preview__link {
  align-items: center;
  background: linear-gradient(135deg, #c35b8b, #a84072);
  border: 1px solid rgba(255, 220, 236, 0.38);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(14, 5, 10, 0.24);
  color: #fffafc !important;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  width: 100%;
}

.t2c-catalog-preview__note {
  color: rgba(255, 241, 247, 0.68);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.t2c-catalog-preview__link:hover,
.t2c-catalog-preview__link:focus-visible {
  background: linear-gradient(135deg, #d16b99, #b44879);
  border-color: rgba(255, 236, 245, 0.72);
  box-shadow: 0 15px 34px rgba(14, 5, 10, 0.32);
  outline: 3px solid rgba(238, 150, 190, 0.26);
  outline-offset: 3px;
  transform: translateY(-1px);
}

.t2c-catalog-preview__link:active {
  box-shadow: 0 8px 20px rgba(14, 5, 10, 0.22);
  transform: translateY(0);
}

@media screen and (max-width: 900px) {
  .t2c-catalog[data-t2c-preview] .t2c-layout {
    grid-template-areas:
      "products"
      "catalog-link";
    grid-template-columns: minmax(0, 1fr);
  }

  .t2c-catalog[data-t2c-preview] .t2c-grid {
    grid-area: products;
  }

  .t2c-catalog[data-t2c-preview] .t2c-catalog-preview__side {
    border-bottom: 0;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    grid-area: catalog-link;
    margin-top: 4px;
    padding: 24px 0 0;
  }

  .t2c-catalog-preview__footer {
    max-width: 360px;
  }

  .t2c-catalog[data-t2c-preview] .t2c-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 640px) {
  .t2c-catalog[data-t2c-preview] .t2c-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .t2c-catalog-preview__footer {
    max-width: none;
  }
}

/* Site-wide responsive hardening: no page or overlay may escape the viewport. */
html,
body {
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

:where(
  .t2c-wrap,
  .t2c-single-wrap,
  .t2c-market__surface,
  .t2c-profile__dialog,
  .t2c-profile__shell,
  .t2c-profile__main,
  .t2c-profile__content,
  .t2c-admin__dialog,
  .t2c-admin__layout,
  .t2c-admin__workspace,
  .t2c-modal .t2c-dialog,
  .t2c-legal-card
) {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

:where(
  .t2c-profile,
  .t2c-admin,
  .t2c-modal,
  .t2c-admin-user-modal,
  .t2c-payment-modal
) {
  max-width: 100vw;
  overflow-x: clip;
}

:where(
  .t2c-card,
  .t2c-market-card,
  .t2c-profile-item,
  .t2c-cart-item,
  .t2c-order-card,
  .t2c-admin-order,
  .t2c-admin-user-row,
  .t2c-legal-card
) :where(h1, h2, h3, h4, p, span, b, a) {
  overflow-wrap: anywhere;
}

@media screen and (max-width: 900px) {
  .t2c-profile,
  .t2c-admin,
  .t2c-modal,
  .t2c-admin-user-modal,
  .t2c-payment-modal {
    padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  }

  .t2c-profile__dialog,
  .t2c-admin__dialog {
    height: calc(100dvh - 16px);
    max-height: calc(100dvh - 16px);
    width: 100%;
  }

  .t2c-profile__shell,
  .t2c-admin__layout {
    min-height: 0;
    overscroll-behavior: contain;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .t2c-profile__main,
  .t2c-admin__workspace {
    min-height: 0;
    min-width: 0;
    overflow: visible;
  }

  .t2c-modal .t2c-dialog,
  .t2c-admin-user-modal__dialog,
  .t2c-payment-modal__card {
    max-height: calc(100dvh - 16px);
    overscroll-behavior: contain;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
  }
}

@media screen and (max-width: 640px) {
  html {
    scroll-padding-top: 122px;
  }

  .t2c-site-header,
  body.t2c-single-page .t2c-site-header,
  body.t2c-single-page .t2c-site-header:has(.t2c-profile-open:not(.is-guest)) {
    box-sizing: border-box;
    column-gap: 8px;
    grid-template-columns: 45px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    max-width: calc(100vw - 16px);
    min-height: 0;
    padding: 7px 8px 8px;
    row-gap: 5px;
    top: 8px;
    width: calc(100% - 16px);
  }

  .t2c-site-logo,
  .t2c-site-logo img {
    grid-column: 1;
    grid-row: 1;
    height: 36px;
    max-height: 36px;
    max-width: 45px;
    width: 45px;
  }

  .t2c-site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 11px;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    max-width: 100%;
    overflow: visible;
    padding: 2px 1px 0;
    width: 100%;
  }

  .t2c-site-nav a {
    flex: 0 0 auto;
    font-size: 11px;
    line-height: 1.25;
    padding: 3px 0;
    white-space: nowrap;
  }

  body.t2c-single-page .t2c-profile-open,
  .t2c-profile-open {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    min-height: 38px;
    padding: 0 9px;
    position: static;
  }

  .t2c-single-hero {
    min-height: max(660px, 100svh);
  }

  .t2c-single-hero__content {
    max-width: 100%;
    padding: 284px 18px 54px;
    width: 100%;
  }

  .t2c-single-hero__content h1 {
    font-size: clamp(39px, 13.5vw, 56px);
    letter-spacing: -0.045em;
    line-height: 0.94;
    overflow-wrap: normal;
  }

  .t2c-single-hero__content p,
  .t2c-single-lead,
  .t2c-lead {
    font-size: 15px;
    line-height: 1.55;
  }

  .t2c-single-hero__actions,
  .t2c-contacts__actions,
  .t2c-profile-actions,
  .t2c-admin__actions,
  .t2c-admin__photo-row,
  .t2c-admin__split,
  .t2c-checkout-form,
  .t2c-checkout-review__main,
  .t2c-checkout-address__row,
  .t2c-payment-methods {
    grid-template-columns: minmax(0, 1fr);
  }

  .t2c-single-hero__actions > *,
  .t2c-contacts__actions > *,
  .t2c-profile-actions > *,
  .t2c-admin__actions > * {
    min-width: 0;
    width: 100%;
  }

  .t2c-market,
  .t2c-catalog,
  .t2c-contacts,
  .t2c-delivery-map,
  .t2c-single-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .t2c-market {
    padding-top: 130px;
  }

  .t2c-market__surface,
  .t2c-catalog--cakes .t2c-wrap,
  .t2c-catalog--desserts .t2c-wrap,
  .t2c-fillings .t2c-single-wrap {
    border-radius: 16px;
    padding: 15px;
  }

  .t2c-market__grid,
  .t2c-grid,
  .t2c-fillings-grid,
  .t2c-about__features,
  .t2c-contacts__grid,
  .t2c-contacts__links {
    grid-template-columns: minmax(0, 1fr);
  }

  .t2c-market__intro h1,
  .t2c-title {
    font-size: clamp(30px, 10vw, 40px);
    line-height: 1.05;
  }

  .t2c-market__toolbar,
  .t2c-market__sort,
  .t2c-toolbar {
    align-items: stretch;
    min-width: 0;
    width: 100%;
  }

  .t2c-market__sort select,
  .t2c-toolbar select,
  .t2c-toolbar input {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .t2c-card img,
  .t2c-market-card img,
  .t2c-modal-media img,
  .t2c-profile-product__media img {
    height: auto;
    max-width: 100%;
    object-fit: cover;
  }

  .t2c-modal .t2c-dialog {
    border-radius: 14px;
    grid-template-columns: minmax(0, 1fr);
  }

  .t2c-modal-media {
    padding: 10px;
  }

  .t2c-modal-media img {
    aspect-ratio: 4 / 3;
    max-height: 34dvh;
  }

  .t2c-modal-body {
    padding: 18px 15px 20px;
  }

  .t2c-modal-title {
    font-size: 23px;
    line-height: 1.12;
    padding-right: 34px;
  }

  .t2c-profile__head,
  .t2c-admin__head {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 13px 14px;
    position: sticky;
    top: 0;
    z-index: 6;
  }

  .t2c-profile__head h2,
  .t2c-admin__head h2 {
    font-size: clamp(20px, 6.4vw, 26px);
    line-height: 1.12;
    padding-right: 48px;
  }

  .t2c-profile__sidebar,
  .t2c-admin__nav {
    min-width: 0;
    padding: 10px 12px;
  }

  .t2c-profile__dialog:not(.is-auth) .t2c-profile-nav,
  .t2c-profile-nav {
    gap: 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    overflow: visible;
    padding: 6px;
    width: 100%;
  }

  .t2c-profile__dialog:not(.is-auth) .t2c-profile-nav button,
  .t2c-profile-nav button {
    box-sizing: border-box;
    font-size: 11px;
    min-height: 40px;
    min-width: 0;
    padding: 7px 8px;
    white-space: normal;
  }

  .t2c-profile-sidebar__footer {
    flex-wrap: wrap;
  }

  .t2c-profile-side-back,
  .t2c-profile-logout {
    flex: 1 1 130px;
    justify-content: center;
    min-width: 0;
  }

  .t2c-profile__content,
  .t2c-admin__section,
  .t2c-admin__form {
    padding: 16px 12px;
  }

  .t2c-account-intro,
  .t2c-profile-card,
  .t2c-cart-summary,
  .t2c-promo,
  .t2c-checkout-delivery,
  .t2c-checkout-review__details,
  .t2c-checkout-review__aside {
    padding: 15px;
  }

  .t2c-account-intro h3 {
    font-size: clamp(21px, 7vw, 28px);
    overflow-wrap: anywhere;
  }

  .t2c-profile-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .t2c-profile-item__actions {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) 42px;
    width: 100%;
  }

  .t2c-cart-item {
    gap: 10px;
    grid-template-areas:
      "image main remove"
      "price price price"
      "quantity quantity quantity"
      "total total total";
    grid-template-columns: 68px minmax(0, 1fr) 34px;
    padding: 11px;
  }

  .t2c-cart-item__price,
  .t2c-cart-item__total,
  .t2c-cart-qty {
    justify-self: stretch;
    text-align: left;
  }

  .t2c-checkout-map {
    height: min(280px, 42dvh);
  }

  .t2c-payment-modal__actions,
  .t2c-checkout-review__actions,
  .t2c-order-delivery__actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .t2c-admin__catalog-tabs,
  .t2c-admin__tabs,
  .t2c-market__tabs,
  .t2c-market__categories {
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .t2c-admin__catalog-tabs {
    align-items: stretch;
    flex-wrap: wrap;
    gap: 7px;
    padding: 10px 12px;
  }

  .t2c-admin__catalog-tabs button,
  .t2c-admin__section-actions,
  .t2c-admin__section-actions button {
    min-width: 0;
  }

  .t2c-admin__section-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: 0;
    width: 100%;
  }

  .t2c-admin-users-table {
    border-radius: 10px;
    overflow: visible;
  }

  .t2c-admin-users-table__head {
    display: none;
  }

  .t2c-admin-user-row {
    align-items: start;
    gap: 5px 10px;
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 12px;
    text-align: left;
  }

  .t2c-admin-user-row > :nth-child(n + 3) {
    grid-column: 2;
  }

  .t2c-admin-user-row > span:first-child {
    grid-row: 1 / span 4;
  }

  .t2c-admin-user-modal__dialog {
    border-radius: 14px;
  }

  .t2c-admin-user-modal__dialog header {
    padding: 14px;
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .t2c-admin-user-modal__body,
  .t2c-admin-user-orders {
    padding-left: 14px;
    padding-right: 14px;
  }

  .t2c-admin-user-modal__body > div {
    gap: 4px;
    grid-template-columns: minmax(0, 1fr);
  }

  .t2c-admin-user-modal__body b {
    justify-self: start;
    max-width: 100%;
    overflow-wrap: anywhere;
    text-align: left;
  }

  .t2c-billing-tabs {
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .t2c-billing-tabs button {
    flex: 0 0 auto;
    min-width: 104px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .t2c-contact-float {
    bottom: max(12px, env(safe-area-inset-bottom));
    max-width: calc(100vw - 24px);
    right: max(12px, env(safe-area-inset-right));
  }

  .t2c-contact-float summary,
  .t2c-contact-float__links {
    box-sizing: border-box;
    max-width: calc(100vw - 24px);
  }

  .t2c-contact-float__links {
    min-width: min(286px, calc(100vw - 24px));
  }

  .t2c-legal-main {
    padding: 126px 10px 40px;
  }

  .t2c-legal-card {
    padding: 22px 16px;
  }

  .t2c-legal-card h1 {
    font-size: clamp(27px, 9vw, 38px);
    line-height: 1.08;
  }

  .t2c-single-footer,
  .t2c-single-footer__bottom {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .t2c-single-footer__legal,
  .t2c-single-footer__top {
    align-items: center;
    flex-direction: column;
    justify-self: stretch;
  }

  /* Mobile must never depend on scroll observers to reveal essential content. */
  .mt-reveal,
  .mt-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  body.t-body :where(img, video, iframe) {
    max-width: 100%;
  }

  body.t-body .t-container,
  body.t-body .t-container_flex,
  body.t-body .t-col {
    box-sizing: border-box;
    max-width: 100%;
  }

  body.t-body .t-btn,
  body.t-body .t-submit,
  body.t-body .t-form__submit button {
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
  }
}

@media screen and (max-width: 380px) {
  .t2c-site-nav {
    gap: 2px 8px;
  }

  .t2c-site-nav a {
    font-size: 10px;
  }

  .t2c-single-hero__content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .t2c-auth-tabs {
    grid-template-columns: minmax(0, 1fr);
  }

  .t2c-profile .t2c-password-field input {
    padding-right: 88px !important;
  }

  .t2c-profile .t2c-password-toggle {
    font-size: 10px;
    min-width: 72px;
  }
}

/* Minimal delivery-page treatment: flatter surfaces and quieter hierarchy. */
body.t2c-delivery-page {
  background: #160d12;
}

.t2c-delivery-main {
  gap: 14px;
  max-width: 1120px;
  padding-bottom: 58px;
  padding-top: 132px;
}

.t2c-delivery-hero,
.t2c-delivery-option,
.t2c-delivery-process,
.t2c-delivery-note,
.t2c-delivery-contact {
  border-color: rgba(231, 185, 203, 0.14);
  box-shadow: none;
}

.t2c-delivery-hero {
  background: #321d26;
  border-radius: 18px;
  padding: clamp(30px, 5vw, 48px);
}

.t2c-delivery-hero::after {
  display: none;
}

.t2c-delivery-hero h1 {
  font-size: clamp(40px, 6vw, 62px);
  letter-spacing: -0.045em;
}

.t2c-delivery-hero > p:not(.t2c-delivery-kicker) {
  font-size: 16px;
  line-height: 1.55;
  margin-top: 16px;
  max-width: 690px;
}

.t2c-delivery-hero__chips {
  margin-top: 20px;
}

.t2c-delivery-hero__chips span {
  background: transparent;
  border-color: rgba(236, 193, 210, 0.2);
  font-size: 12px;
  padding: 7px 11px;
}

.t2c-delivery-options {
  gap: 14px;
}

.t2c-delivery-option,
.t2c-delivery-option--pickup {
  background: #2b1921;
  border-radius: 16px;
  padding: clamp(24px, 3.5vw, 34px);
}

.t2c-delivery-option__number {
  margin-bottom: 18px;
}

.t2c-delivery-option h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 14px;
}

.t2c-delivery-option > p:not(.t2c-delivery-option__number, .t2c-delivery-option__accent),
.t2c-delivery-option li,
.t2c-delivery-option address {
  font-size: 14px;
  line-height: 1.55;
}

.t2c-delivery-option ul {
  gap: 9px;
  margin-top: 18px;
}

.t2c-delivery-option address {
  background: transparent;
  border: 0;
  border-left: 2px solid rgba(214, 110, 151, 0.52);
  border-radius: 0;
  margin-top: 18px;
  padding: 2px 0 2px 14px;
}

.t2c-delivery-process {
  background: #28171e;
  border-radius: 16px;
  gap: 28px;
  padding: clamp(26px, 4vw, 38px);
}

.t2c-delivery-process h2,
.t2c-delivery-note h2,
.t2c-delivery-contact h2 {
  font-size: clamp(24px, 3vw, 32px);
}

.t2c-delivery-process ol {
  gap: 0;
}

.t2c-delivery-process li {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(231, 185, 203, 0.12);
  border-radius: 0;
  padding: 14px 0;
}

.t2c-delivery-process li:first-child {
  padding-top: 0;
}

.t2c-delivery-process li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.t2c-delivery-process li::before {
  background: #a94d72;
  height: 28px;
  width: 28px;
}

.t2c-delivery-note,
.t2c-delivery-contact {
  background: #2c1922;
  border-radius: 16px;
  gap: 24px;
  padding: clamp(24px, 4vw, 34px);
}

.t2c-delivery-note p:not(.t2c-delivery-kicker),
.t2c-delivery-contact p:not(.t2c-delivery-kicker) {
  font-size: 14px;
  line-height: 1.55;
  margin-top: 10px;
}

.t2c-delivery-note__actions a,
.t2c-delivery-contact a {
  border-radius: 9px;
  font-size: 13px;
  padding: 11px 14px;
}

.t2c-delivery-note__actions a:hover,
.t2c-delivery-contact a:hover {
  box-shadow: none;
}

@media screen and (max-width: 820px) {
  .t2c-delivery-main {
    padding-top: 118px;
  }
}

@media screen and (max-width: 520px) {
  .t2c-delivery-main {
    gap: 10px;
    padding-left: 9px;
    padding-right: 9px;
  }

  .t2c-delivery-hero,
  .t2c-delivery-option,
  .t2c-delivery-process,
  .t2c-delivery-note,
  .t2c-delivery-contact {
    border-radius: 14px;
    padding: 21px 17px;
  }
}

.t2c-profile-nav b {
  align-items: center;
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 24px;
  font-variant-numeric: tabular-nums;
  height: 24px;
  justify-content: center;
  line-height: 1;
  min-width: 24px;
  padding: 0;
  text-align: center;
  vertical-align: middle;
}

.t2c-profile-actions button b {
  align-items: center;
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 28px;
  font-variant-numeric: tabular-nums;
  height: 28px;
  justify-content: center;
  line-height: 1;
  min-width: 28px;
  padding: 0;
  text-align: center;
  vertical-align: middle;
}

/* Final lighter coordinated hero photograph */
.t2c-single-hero__media img {
  filter: brightness(0.94) saturate(0.88) contrast(1.01);
}

.t2c-single-hero__media::after {
  background:
    linear-gradient(to bottom, rgba(36, 21, 27, 0.02) 50%, rgba(35, 21, 27, 0.54) 86%, var(--mt-paper) 100%),
    linear-gradient(90deg, rgba(42, 24, 32, 0.84) 0%, rgba(48, 29, 37, 0.74) 36%, rgba(48, 29, 37, 0.25) 64%, rgba(48, 29, 37, 0.03) 100%);
}

@media screen and (max-width: 760px) {
  .t2c-single-hero__media img {
    filter: brightness(0.9) saturate(0.88) contrast(1.02);
    object-position: 54% center;
  }

  .t2c-single-hero__media::after {
    background:
      linear-gradient(to bottom, rgba(43, 25, 32, 0.12) 0%, rgba(45, 27, 35, 0.3) 34%, rgba(39, 23, 30, 0.88) 73%, var(--mt-paper) 100%),
      linear-gradient(90deg, rgba(42, 24, 32, 0.3), rgba(42, 24, 32, 0.06));
  }
}

/* Final softer, lighter About section aligned with adjacent imagery */
.t2c-about-section {
  background-image:
    linear-gradient(135deg, rgba(74, 45, 57, 0.54), rgba(49, 31, 39, 0.68)),
    url("../images/homepage-unified-cake-background-2026.webp");
  background-position: center 48%;
  background-size: cover;
}

.t2c-about-section::before {
  filter: brightness(1.02) saturate(0.84);
  opacity: 0.055;
}

.t2c-about-section::after {
  background: linear-gradient(to bottom, rgba(44, 27, 34, 0.34), transparent 13%, transparent 87%, rgba(42, 26, 33, 0.42));
}

.t2c-about__content {
  background: linear-gradient(110deg, rgba(72, 44, 55, 0.88), rgba(54, 34, 42, 0.82));
  box-shadow: 18px 0 52px rgba(18, 9, 13, 0.13);
}

.t2c-about__features article {
  background: rgba(103, 65, 80, 0.56);
  border-color: rgba(255, 220, 231, 0.2);
  box-shadow: 0 12px 28px rgba(17, 8, 12, 0.14), inset 0 1px rgba(255, 255, 255, 0.045);
}

.t2c-about__features article:hover {
  background: rgba(119, 72, 90, 0.7);
  border-color: rgba(247, 181, 205, 0.34);
  box-shadow: 0 17px 34px rgba(17, 8, 12, 0.2);
}

.t2c-about__lead,
.t2c-about__features p {
  color: rgba(250, 230, 236, 0.78);
}

.t2c-about__visual img {
  filter: brightness(0.98) saturate(0.86) contrast(1.01);
}

.t2c-about__visual::after {
  background: linear-gradient(90deg, rgba(57, 35, 44, 0.58), transparent 28%), linear-gradient(to top, rgba(48, 30, 38, 0.2), transparent 50%);
}

@media screen and (max-width: 900px) {
  .t2c-about__content {
    background: linear-gradient(155deg, rgba(73, 44, 56, 0.9), rgba(50, 31, 39, 0.86));
    box-shadow: none;
  }
}

/* Keep the desktop hero equal to the visible browser viewport at every zoom level. */
@media screen and (min-width: 761px) {
  .t2c-single-hero {
    min-height: 100vh;
    min-height: 100svh;
  }
}

/* Softer warm glass navigation that remains distinct from the hero photograph. */
.t2c-site-header,
body.t2c-single-page .t2c-site-header,
body.t2c-single-page .t2c-site-header:has(.t2c-profile-open:not(.is-guest)) {
  background: rgba(73, 46, 57, 0.84);
  border-color: rgba(255, 223, 233, 0.22);
  box-shadow: 0 14px 38px rgba(19, 9, 13, 0.24), inset 0 1px rgba(255, 255, 255, 0.045);
}

.t2c-site-header.is-scrolled {
  background: rgba(64, 40, 50, 0.94);
  border-color: rgba(255, 223, 233, 0.2);
  box-shadow: 0 16px 42px rgba(16, 7, 11, 0.3);
}

/* Geometrically centered numeric badges in profile navigation and shortcuts. */
.t2c-profile-nav .t2c-count-badge,
.t2c-profile-actions .t2c-count-badge {
  align-items: center;
  box-sizing: border-box;
  display: grid;
  flex: 0 0 24px;
  height: 24px;
  justify-items: center;
  line-height: 0;
  min-width: 24px;
  padding: 0;
  width: 24px;
}

.t2c-profile-actions .t2c-count-badge {
  flex-basis: 28px;
  height: 28px;
  min-width: 28px;
  width: 28px;
}

.t2c-count-badge > span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  margin: 0;
  padding: 0;
  transform: translateY(0.5px);
}

/* Refined navigation: warm wine glass without the muddy violet cast. */
.t2c-site-header,
body.t2c-single-page .t2c-site-header,
body.t2c-single-page .t2c-site-header:has(.t2c-profile-open:not(.is-guest)) {
  -webkit-backdrop-filter: blur(20px) saturate(112%);
  backdrop-filter: blur(20px) saturate(112%);
  background: linear-gradient(135deg, rgba(53, 33, 41, 0.92), rgba(37, 24, 30, 0.9));
  border-color: rgba(247, 205, 219, 0.17);
  box-shadow: 0 11px 30px rgba(17, 8, 12, 0.26), inset 0 1px rgba(255, 255, 255, 0.035);
}

.t2c-site-header.is-scrolled {
  background: linear-gradient(135deg, rgba(48, 30, 37, 0.97), rgba(33, 21, 27, 0.96));
  border-color: rgba(247, 205, 219, 0.16);
  box-shadow: 0 13px 34px rgba(15, 7, 10, 0.32);
}

/* Exact icon/text alignment inside the profile and sign-in control. */
body.t2c-single-page .t2c-profile-open,
.t2c-profile-open {
  align-items: center;
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  justify-content: center;
  line-height: 1;
  padding-bottom: 0;
  padding-top: 0;
}

.t2c-profile-open > svg {
  align-self: center;
  display: block;
  height: 17px;
  justify-self: center;
  margin: 0;
  overflow: visible;
  transform: translateY(-1px);
  width: 17px;
}

.t2c-profile-open > span {
  align-items: center;
  align-self: center;
  display: grid;
  font-size: 14px;
  height: 16px;
  justify-items: center;
  line-height: 16px;
  margin: 0;
  padding: 0;
  transform: translateY(1.5px);
}
