:root {
  --t2c-ink: #222222;
  --t2c-muted: #6f6a64;
  --t2c-line: #eadfce;
  --t2c-cream: #eee8da;
  --t2c-cream-soft: #fbf6eb;
  --t2c-mint: #aed5c3;
  --t2c-pink: #e8b1d8;
  --t2c-blue: #dceef1;
  --t2c-shadow: 0 18px 45px rgba(34, 34, 34, 0.12);
  --t2c-font: "Inter", "Segoe UI", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

.t2c-single-page {
  background: #ffffff;
  color: var(--t2c-ink);
  font-family: var(--t2c-font);
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-variant-numeric: tabular-nums lining-nums;
  margin: 0;
}

.t2c-site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--t2c-line);
  box-sizing: border-box;
  display: grid;
  gap: 24px;
  grid-template-columns: auto minmax(0, 1fr);
  left: 0;
  min-height: 82px;
  padding: 12px clamp(16px, 4vw, 54px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 80;
}

body.t2c-single-page .t2c-site-header {
  padding-right: clamp(16px, 4vw, 54px);
}

.t2c-site-logo {
  align-items: center;
  display: inline-flex;
  height: 58px;
  justify-content: center;
  width: 86px;
}

.t2c-site-logo img {
  display: block;
  max-height: 58px;
  max-width: 86px;
}

.t2c-site-nav {
  align-items: center;
  display: flex;
  gap: clamp(16px, 2.2vw, 38px);
  justify-content: center;
  left: 50vw;
  max-width: calc(100vw - 430px);
  min-width: 0;
  overflow-x: auto;
  padding: 6px 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.t2c-site-nav a {
  color: var(--t2c-ink);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.t2c-site-nav a:hover,
.t2c-site-nav a:focus-visible {
  color: #b129d0;
  outline: none;
}

.t2c-single-hero {
  align-items: end;
  background: #f7f1e5;
  display: grid;
  min-height: calc(100vh - 82px);
  overflow: hidden;
  position: relative;
}

.t2c-single-hero__media {
  inset: 0;
  position: absolute;
}

.t2c-single-hero__media::after {
  background: linear-gradient(90deg, rgba(34, 34, 34, 0.72), rgba(34, 34, 34, 0.12) 62%, rgba(255, 255, 255, 0));
  content: "";
  inset: 0;
  position: absolute;
}

.t2c-single-hero__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.t2c-single-hero__content {
  box-sizing: border-box;
  color: #ffffff;
  max-width: 720px;
  padding: clamp(72px, 11vw, 132px) clamp(18px, 7vw, 96px);
  position: relative;
  z-index: 1;
}

.t2c-single-hero__content p,
.t2c-single-hero__content h1,
.t2c-single-hero__content span {
  margin: 0;
}

.t2c-single-hero__content p {
  font-size: 14px;
  letter-spacing: 0;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.t2c-single-hero__content h1 {
  font-size: clamp(52px, 9vw, 112px);
  font-weight: 500;
  line-height: 0.98;
}

.t2c-single-hero__content span {
  display: block;
  font-size: clamp(18px, 2.1vw, 26px);
  line-height: 1.45;
  margin-top: 22px;
  max-width: 640px;
}

.t2c-single-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.t2c-single-hero__actions a,
.t2c-contacts__actions a {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 16px;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  text-decoration: none;
}

.t2c-single-hero__actions a:first-child,
.t2c-contacts__actions a:first-child {
  background: var(--t2c-pink);
  color: var(--t2c-ink);
}

.t2c-single-hero__actions a:last-child {
  background: #ffffff;
  color: var(--t2c-ink);
}

.t2c-single-section {
  box-sizing: border-box;
  padding: 96px 20px;
}

.t2c-single-wrap {
  margin: 0 auto;
  max-width: 1200px;
}

.t2c-single-section h2 {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
}

.t2c-single-lead {
  color: var(--t2c-muted);
  font-size: 18px;
  line-height: 1.55;
  margin: 18px 0 0;
  max-width: 720px;
}

.t2c-fillings {
  background: #ffffff;
}

.t2c-fillings-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.t2c-fillings-grid article {
  background: var(--t2c-cream-soft);
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  overflow: hidden;
}

.t2c-fillings-grid img {
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  width: 100%;
}

.t2c-fillings-grid h3,
.t2c-fillings-grid p {
  margin: 0;
}

.t2c-fillings-grid h3 {
  font-size: 20px;
  font-weight: 500;
  padding: 18px 18px 0;
}

.t2c-fillings-grid p {
  color: var(--t2c-muted);
  font-size: 15px;
  line-height: 1.45;
  padding: 10px 18px 18px;
}

.t2c-catalog--desserts {
  background: linear-gradient(180deg, #f7fbfb 0%, #ffffff 100%);
}

.t2c-contacts {
  background: var(--t2c-cream-soft);
}

.t2c-contacts__grid {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
}

.t2c-contacts__actions {
  display: grid;
  gap: 12px;
}

.t2c-contacts__actions a {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  color: var(--t2c-ink);
}

.t2c-single-footer {
  align-items: center;
  background: #333333;
  box-sizing: border-box;
  color: #ffffff;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 76px;
  padding: 22px clamp(18px, 4vw, 54px);
}

.t2c-single-footer a {
  color: #ffffff;
  text-decoration: none;
}

.t2c-catalog {
  color: var(--t2c-ink);
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f1 100%);
  font-family: var(--t2c-font);
  overflow-x: hidden;
  padding: 120px 20px 72px;
}

.t2c-catalog * {
  box-sizing: border-box;
}

.t2c-catalog button,
.t2c-catalog input,
.t2c-catalog select,
.t2c-catalog textarea {
  font-family: inherit;
}

.t2c-wrap {
  margin: 0 auto;
  max-width: 1200px;
  min-width: 0;
}

.t2c-heading {
  align-items: end;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 28px;
}

.t2c-kicker {
  color: var(--t2c-muted);
  font-size: 14px;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.t2c-title {
  font-size: 42px;
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
}

.t2c-lead {
  color: var(--t2c-muted);
  font-size: 18px;
  line-height: 1.55;
  margin: 16px 0 0;
  max-width: 660px;
}

.t2c-counter {
  background: var(--t2c-cream);
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  color: var(--t2c-ink);
  font-size: 15px;
  padding: 13px 16px;
  white-space: nowrap;
}

.t2c-toolbar {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 0 0 26px;
  min-width: 0;
}

.t2c-filter-row {
  display: flex;
  gap: 10px;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 2px;
}

.t2c-filter,
.t2c-sort {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  color: var(--t2c-ink);
  font-size: 15px;
  min-height: 44px;
}

.t2c-filter {
  cursor: pointer;
  flex: 0 0 auto;
  padding: 0 16px;
}

.t2c-filter.is-active {
  background: var(--t2c-pink);
  border-color: var(--t2c-pink);
}

.t2c-sort {
  cursor: pointer;
  padding: 0 42px 0 14px;
}

.t2c-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: 230px minmax(0, 1fr);
  min-width: 0;
}

.t2c-side {
  border-right: 1px solid var(--t2c-line);
  min-width: 0;
  padding-right: 24px;
}

.t2c-side-title {
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 18px;
}

.t2c-side-list {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.t2c-side-btn {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--t2c-ink);
  cursor: pointer;
  font-size: 16px;
  line-height: 1.35;
  padding: 10px 12px;
  text-align: left;
}

.t2c-side-btn.is-active,
.t2c-side-btn:hover,
.t2c-side-btn:focus-visible {
  background: var(--t2c-cream);
  outline: none;
}

.t2c-grid {
  display: grid;
  gap: 26px 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
}

.t2c-empty {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  color: var(--t2c-muted);
  font-size: 16px;
  grid-column: 1 / -1;
  padding: 28px;
  text-align: center;
}

.t2c-card {
  min-width: 0;
}

.t2c-card-media {
  aspect-ratio: 4 / 5;
  background: var(--t2c-cream);
  border-radius: 8px;
  margin: 0 0 14px;
  overflow: hidden;
  position: relative;
}

.t2c-card-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.t2c-badge,
.t2c-heart {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(234, 223, 206, 0.8);
  border-radius: 8px;
  display: inline-flex;
  min-height: 30px;
  position: absolute;
}

.t2c-badge {
  font-size: 12px;
  left: 10px;
  padding: 0 10px;
  top: 10px;
}

.t2c-heart {
  color: #333333;
  font-size: 21px;
  justify-content: center;
  right: 10px;
  top: 10px;
  width: 34px;
}

.t2c-card-price {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 8px;
}

.t2c-card-title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 10px;
}

.t2c-card-meta {
  align-items: center;
  color: var(--t2c-muted);
  display: flex;
  font-size: 14px;
  gap: 10px;
  justify-content: space-between;
  margin: 0 0 12px;
}

.t2c-rating {
  color: var(--t2c-ink);
}

.t2c-order-btn,
.t2c-primary,
.t2c-secondary,
.t2c-file-btn {
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 500;
  justify-content: center;
  min-height: 44px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.t2c-order-btn,
.t2c-primary {
  background: var(--t2c-pink);
  border: 1px solid var(--t2c-pink);
  color: #222222 !important;
  width: 100%;
}

.t2c-order-btn:hover,
.t2c-order-btn:focus-visible,
.t2c-primary:hover,
.t2c-primary:focus-visible {
  background: #333333;
  border-color: #333333;
  color: #ffffff !important;
  outline: none;
}

.t2c-secondary,
.t2c-file-btn {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  color: var(--t2c-ink);
}

.t2c-secondary:hover,
.t2c-secondary:focus-visible,
.t2c-file-btn:hover,
.t2c-file-btn:focus-visible {
  background: var(--t2c-cream);
  outline: none;
}

.t2c-modal {
  align-items: center;
  background: rgba(34, 34, 34, 0.38);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 100000;
}

.t2c-modal.is-open {
  display: flex;
}

.t2c-dialog {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: var(--t2c-shadow);
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(340px, 1.15fr);
  max-height: calc(100vh - 48px);
  max-width: 1100px;
  overflow: auto;
  position: relative;
  width: 100%;
}

.t2c-close {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  font-size: 28px;
  height: 42px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 42px;
  z-index: 2;
}

.t2c-close:hover,
.t2c-close:focus-visible {
  background: var(--t2c-cream);
  outline: none;
}

.t2c-modal-media {
  background: var(--t2c-cream-soft);
  min-height: 100%;
  padding: 26px;
}

.t2c-modal-media img {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.t2c-stock {
  background: var(--t2c-cream);
  border-radius: 8px;
  font-size: 14px;
  margin-top: 16px;
  padding: 12px 14px;
  text-align: center;
}

.t2c-modal-body {
  padding: 34px 34px 30px;
}

.t2c-modal-top {
  padding-right: 54px;
}

.t2c-modal-title {
  color: #b129d0;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.22;
  margin: 0 0 12px;
}

.t2c-modal-sub {
  color: var(--t2c-muted);
  font-size: 15px;
  line-height: 1.45;
  margin: 0 0 22px;
}

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

.t2c-field {
  display: grid;
  gap: 8px;
}

.t2c-label {
  font-size: 16px;
  font-weight: 500;
}

.t2c-select,
.t2c-textarea {
  background: #ffffff;
  border: 1px solid #333333;
  border-radius: 8px;
  color: var(--t2c-ink);
  font-size: 15px;
  min-height: 44px;
  padding: 0 14px;
  width: 100%;
}

.t2c-textarea {
  line-height: 1.45;
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
}

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

.t2c-option {
  align-items: center;
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
}

.t2c-option input {
  accent-color: #b129d0;
  height: 17px;
  width: 17px;
}

.t2c-option span {
  font-size: 14px;
  line-height: 1.25;
}

.t2c-order-row {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: 150px minmax(0, 1fr);
}

.t2c-stepper {
  align-items: center;
  border: 1px solid #333333;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  min-height: 44px;
  overflow: hidden;
}

.t2c-stepper button {
  background: #ffffff;
  border: 0;
  cursor: pointer;
  font-size: 24px;
  height: 44px;
}

.t2c-stepper button:hover,
.t2c-stepper button:focus-visible {
  background: var(--t2c-cream);
  outline: none;
}

.t2c-stepper output {
  font-size: 16px;
  text-align: center;
}

.t2c-file-btn {
  min-height: 44px;
  padding: 0 16px;
  width: 100%;
}

.t2c-about {
  border-top: 1px solid var(--t2c-line);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
  padding-top: 20px;
}

.t2c-about h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 8px;
}

.t2c-about p {
  color: var(--t2c-muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.t2c-summary {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(34, 34, 34, 0.08);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 220px;
  margin-top: 24px;
  padding: 18px;
}

.t2c-price-label {
  color: var(--t2c-muted);
  font-size: 14px;
  margin: 0 0 5px;
}

.t2c-total {
  font-size: 32px;
  font-weight: 500;
  margin: 0;
}

.t2c-note {
  color: var(--t2c-muted);
  font-size: 13px;
  line-height: 1.35;
  margin: 6px 0 0;
}

.t2c-lock {
  color: var(--t2c-muted);
  font-size: 13px;
  margin: 7px 0 0;
}

body.t2c-modal-open {
  overflow: hidden;
}

.t2c-admin-open {
  background: #ffffff;
  border: 1px solid #222222;
  border-radius: 8px;
  color: #222222;
  cursor: pointer;
  font-family: var(--t2c-font);
  font-size: 13px;
  font-weight: 500;
  min-height: 38px;
  padding: 0 13px;
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 100002;
}

.t2c-admin-open:hover,
.t2c-admin-open:focus-visible {
  background: #333333;
  color: #ffffff;
  outline: none;
}

body.t2c-single-page .t2c-admin-open {
  right: 18px;
  top: 27px;
}

.t2c-admin {
  align-items: center;
  background: rgba(34, 34, 34, 0.42);
  display: none;
  font-family: var(--t2c-font);
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 100003;
}

.t2c-admin.is-open {
  display: flex;
}

.t2c-admin * {
  box-sizing: border-box;
}

.t2c-admin button,
.t2c-admin input,
.t2c-admin select,
.t2c-admin textarea {
  font-family: inherit;
}

.t2c-admin__dialog {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--t2c-shadow);
  color: #222222;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: min(820px, calc(100vh - 44px));
  max-height: calc(100vh - 44px);
  max-width: 1240px;
  overflow: hidden;
  width: 100%;
}

.t2c-admin__head {
  align-items: center;
  border-bottom: 1px solid var(--t2c-line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 20px 24px;
}

.t2c-admin__kicker {
  color: var(--t2c-muted);
  font-size: 13px;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.t2c-admin__head h2 {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

.t2c-admin__close {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  font-size: 28px;
  height: 42px;
  justify-content: center;
  line-height: 1;
  width: 42px;
}

.t2c-admin__close:hover,
.t2c-admin__close:focus-visible {
  background: var(--t2c-cream);
  outline: none;
}

.t2c-admin__layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 0;
}

.t2c-admin__nav {
  align-content: start;
  background: var(--t2c-cream-soft);
  border-right: 1px solid var(--t2c-line);
  display: grid;
  gap: 12px;
  grid-template-rows: auto auto;
  padding: 20px 14px;
}

.t2c-admin__nav > p {
  color: var(--t2c-muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  margin: 0;
  padding: 0 10px;
  text-transform: uppercase;
}

.t2c-admin__tabs {
  align-content: start;
  display: grid;
  gap: 7px;
}

.t2c-admin__tabs button,
.t2c-admin__catalog-tabs button {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  min-height: 42px;
  padding: 0 16px;
}

.t2c-admin__tabs button {
  align-items: center;
  background: transparent;
  border-color: transparent;
  display: flex;
  justify-content: flex-start;
  text-align: left;
}

.t2c-admin__tabs button.is-active,
.t2c-admin__catalog-tabs button.is-active {
  background: var(--t2c-pink);
  border-color: var(--t2c-pink);
}

.t2c-admin__tabs button.is-active {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 6px 14px rgba(177, 41, 208, 0.08);
  color: #b129d0;
  font-weight: 600;
}

.t2c-admin__workspace {
  min-height: 0;
  overflow: auto;
}

.t2c-admin__catalog-tabs {
  background: var(--t2c-cream-soft);
  border-bottom: 1px solid var(--t2c-line);
  display: flex;
  gap: 10px;
  padding: 12px 24px;
}

.t2c-admin__catalog-tabs[hidden],
.t2c-admin__section[hidden],
.t2c-admin__main[hidden] {
  display: none;
}

.t2c-admin__section {
  padding: 24px;
}

.t2c-admin-section-head {
  border-bottom: 1px solid var(--t2c-line);
  margin-bottom: 20px;
  padding-bottom: 18px;
}

.t2c-admin-section-head p,
.t2c-admin-section-head h3,
.t2c-admin-section-head span {
  margin: 0;
}

.t2c-admin-section-head p,
.t2c-admin-section-head span {
  color: var(--t2c-muted);
  font-size: 13px;
}

.t2c-admin-section-head p {
  margin-bottom: 4px;
  text-transform: uppercase;
}

.t2c-admin-section-head h3 {
  color: #b129d0;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 6px;
}

.t2c-admin-promo-form {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 150px auto;
}

.t2c-admin-promo-form .t2c-admin__save {
  min-height: 44px;
}

.t2c-admin-promo-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.t2c-admin-promo-list article {
  align-items: center;
  background: var(--t2c-cream-soft);
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  padding: 13px 14px;
}

.t2c-admin-promo-list article div {
  display: grid;
  gap: 4px;
}

.t2c-admin-promo-list article span,
.t2c-admin-promo-list article small {
  color: var(--t2c-muted);
  font-size: 13px;
}

.t2c-admin-promo-list article small {
  line-height: 1.4;
}

.t2c-admin-promo-list button {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 50%;
  color: var(--t2c-muted);
  cursor: pointer;
  font-size: 20px;
  height: 34px;
  line-height: 1;
  width: 34px;
}

.t2c-admin-users-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
}

.t2c-admin-users-list {
  display: grid;
  gap: 8px;
  max-height: 480px;
  overflow: auto;
}

.t2c-admin-users-table {
  border: 1px solid var(--t2c-line);
  border-radius: 10px;
  overflow: hidden;
}

.t2c-admin-users-table__head,
.t2c-admin-user-row {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 62px minmax(140px, 1fr) 120px minmax(180px, 1.1fr) 100px;
  text-align: left;
}

.t2c-admin-users-table__head {
  background: var(--t2c-cream-soft);
  color: var(--t2c-muted);
  font-size: 12px;
  padding: 13px 16px;
  text-transform: uppercase;
}

.t2c-admin-user-row {
  background: #ffffff;
  border: 0;
  border-top: 1px solid var(--t2c-line);
  color: #222222;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  min-height: 54px;
  padding: 10px 16px;
  width: 100%;
}

.t2c-admin-user-row b {
  font-size: 14px;
  overflow-wrap: anywhere;
}

.t2c-admin-user-row > span:not(:first-child) {
  color: var(--t2c-muted);
  overflow-wrap: anywhere;
}

.t2c-admin-user-row:hover,
.t2c-admin-user-row:focus-visible,
.t2c-admin-user-row.is-active {
  background: var(--t2c-cream-soft);
  outline: none;
}

.t2c-admin-user-row.is-active {
  box-shadow: inset 3px 0 0 #b129d0;
}

.t2c-admin-user-row .t2c-admin-user-status {
  color: #348a4a;
  font-weight: 600;
}

.t2c-admin-user-modal {
  align-items: center;
  background: rgba(32, 29, 30, 0.58);
  backdrop-filter: blur(3px);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 100006;
}

.t2c-admin-user-modal.is-open {
  display: flex;
}

.t2c-admin-user-modal__dialog {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 14px;
  box-shadow: var(--t2c-shadow);
  color: #222222;
  max-height: calc(100vh - 44px);
  max-width: 600px;
  overflow: auto;
  width: 100%;
}

.t2c-admin-user-modal__dialog header {
  align-items: center;
  border-bottom: 1px solid var(--t2c-line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 20px;
}

.t2c-admin-user-modal__identity {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.t2c-admin-user-modal__identity > div {
  align-items: center;
  background: #b129d0;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(177, 41, 208, 0.25);
  color: #ffffff;
  display: flex;
  flex: 0 0 58px;
  font-size: 11px;
  font-weight: 700;
  height: 58px;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
  text-align: center;
}

.t2c-admin-user-modal__identity p {
  margin: 0;
  min-width: 0;
}

.t2c-admin-user-modal__identity b,
.t2c-admin-user-modal__identity span {
  display: block;
  overflow-wrap: anywhere;
}

.t2c-admin-user-modal__identity b {
  font-size: 18px;
}

.t2c-admin-user-modal__identity span {
  color: var(--t2c-muted);
  font-size: 13px;
  margin-top: 3px;
}

.t2c-admin-user-modal__dialog header button {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  color: #222222;
  cursor: pointer;
  flex: 0 0 40px;
  font-size: 22px;
  height: 40px;
  line-height: 1;
  padding: 0;
}

.t2c-admin-user-modal__body {
  padding: 8px 20px 20px;
}

.t2c-admin-user-modal__body > div {
  align-items: center;
  border-bottom: 1px solid var(--t2c-line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 0;
}

.t2c-admin-user-modal__body > div:last-child {
  border-bottom: 0;
}

.t2c-admin-user-modal__body span {
  color: var(--t2c-muted);
  font-size: 13px;
}

.t2c-admin-user-modal__body b {
  font-size: 14px;
  overflow-wrap: anywhere;
  text-align: right;
}

.t2c-admin-user-modal__status {
  color: #348a4a;
}

.t2c-admin-user {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 4px;
  padding: 12px;
  text-align: left;
}

.t2c-admin-user span {
  color: var(--t2c-muted);
  font-size: 13px;
}

.t2c-admin-user.is-active,
.t2c-admin-user:hover,
.t2c-admin-user:focus-visible {
  background: var(--t2c-cream-soft);
  border-color: #b129d0;
  outline: none;
}

.t2c-admin-user-card {
  border: 1px solid var(--t2c-line);
  border-radius: 10px;
  margin-top: 18px;
  overflow: hidden;
}

.t2c-admin-user-card h4 {
  background: var(--t2c-cream-soft);
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  padding: 16px;
}

.t2c-admin-user-card > div {
  align-items: center;
  border-top: 1px solid var(--t2c-line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 13px 16px;
}

.t2c-admin-user-card span {
  color: var(--t2c-muted);
  font-size: 13px;
}

.t2c-admin-user-card b {
  font-size: 14px;
  overflow-wrap: anywhere;
  text-align: right;
}

.t2c-admin-empty {
  color: var(--t2c-muted);
  font-size: 14px;
  margin: 0;
}

.t2c-admin__main {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-width: 0;
}

.t2c-admin__side {
  background: var(--t2c-cream-soft);
  border-right: 1px solid var(--t2c-line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 18px;
}

.t2c-admin__new,
.t2c-admin__reset,
.t2c-admin__save,
.t2c-admin__delete {
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  min-height: 44px;
  padding: 0 16px;
}

.t2c-admin__new,
.t2c-admin__save {
  background: var(--t2c-pink);
  border: 1px solid var(--t2c-pink);
  color: #222222;
}

.t2c-admin__reset,
.t2c-admin__delete {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  color: #222222;
}

.t2c-admin__delete:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.t2c-admin__products {
  display: grid;
  gap: 8px;
  max-height: 520px;
  overflow: auto;
}

.t2c-admin__product {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  color: #222222;
  cursor: pointer;
  display: grid;
  gap: 5px;
  padding: 12px;
  text-align: left;
}

.t2c-admin__product.is-active {
  border-color: #b129d0;
  box-shadow: 0 0 0 2px rgba(177, 41, 208, 0.12);
}

.t2c-admin__product span {
  font-size: 14px;
  font-weight: 500;
}

.t2c-admin__product small {
  color: var(--t2c-muted);
  font-size: 12px;
}

.t2c-admin__form {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 20px 24px 24px;
}

.t2c-admin__status {
  background: var(--t2c-cream);
  border-radius: 8px;
  padding: 12px 14px;
}

.t2c-admin__status label {
  align-items: center;
  display: flex;
  gap: 9px;
}

.t2c-admin__photo-row,
.t2c-admin__split,
.t2c-admin__actions {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
}

.t2c-admin__preview {
  aspect-ratio: 1 / 1;
  background: var(--t2c-cream);
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  overflow: hidden;
}

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

.t2c-admin__photo-controls {
  display: grid;
  gap: 14px;
}

.t2c-admin__field {
  display: grid;
  gap: 7px;
}

.t2c-admin__field span {
  font-size: 14px;
  font-weight: 500;
}

.t2c-admin__field input,
.t2c-admin__field select,
.t2c-admin__field textarea {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  color: #222222;
  font-size: 15px;
  min-height: 42px;
  padding: 10px 12px;
  width: 100%;
}

.t2c-admin__field textarea {
  line-height: 1.45;
  resize: vertical;
}

.t2c-admin__hint {
  color: var(--t2c-muted);
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
}

.t2c-admin-change-notice {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 232, 242, 0.2);
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(27, 10, 18, 0.18);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  padding: 11px 13px;
  position: sticky;
  top: 10px;
  z-index: 3;
}

.t2c-admin-change-notice.is-pending {
  background: rgba(153, 72, 108, 0.9);
  color: #ffffff;
}

.t2c-admin-change-notice.is-success {
  background: rgba(72, 132, 100, 0.9);
  color: #ffffff;
}

.t2c-card-actions {
  display: grid;
  gap: 8px;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
}

.t2c-card-media > span.t2c-heart {
  display: none;
}

.t2c-card-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(234, 223, 206, 0.9);
  border-radius: 50%;
  color: #333333;
  cursor: pointer;
  display: flex;
  height: 36px;
  justify-content: center;
  padding: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  width: 36px;
}

.t2c-card-icon svg {
  display: block;
  fill: currentColor;
  height: 21px;
  width: 21px;
}

.t2c-card-icon:hover,
.t2c-card-icon:focus-visible {
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(34, 34, 34, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.t2c-fav-btn.is-active {
  background: #f6d1ef;
  border-color: #d65bc5;
  color: #b129d0;
}

.t2c-cart-btn.is-active {
  background: #b129d0;
  border-color: #b129d0;
  color: #ffffff;
}

.t2c-card-icon.is-bouncing {
  animation: t2c-pop 0.34s ease;
}

@keyframes t2c-pop {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.18);
  }

  100% {
    transform: scale(1);
  }
}

.t2c-profile-open {
  align-items: center;
  background: #ffffff;
  border: 1px solid #222222;
  border-radius: 8px;
  color: #222222;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--t2c-font);
  font-size: 13px;
  font-weight: 500;
  gap: 7px;
  min-height: 38px;
  padding: 0 13px;
  position: fixed;
  right: 94px;
  top: 18px;
  z-index: 100002;
}

.t2c-profile-open svg {
  fill: currentColor;
  height: 17px;
  width: 17px;
}

.t2c-profile-open b {
  align-items: center;
  background: var(--t2c-pink);
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  height: 19px;
  justify-content: center;
  min-width: 19px;
  padding: 0 6px;
}

.t2c-profile-open:hover,
.t2c-profile-open:focus-visible {
  background: #333333;
  color: #ffffff;
  outline: none;
}

body.t2c-single-page .t2c-profile-open {
  right: 96px;
  top: 27px;
}

.t2c-profile {
  align-items: center;
  background: rgba(34, 34, 34, 0.42);
  display: none;
  font-family: var(--t2c-font);
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 100004;
}

.t2c-profile.is-open {
  display: flex;
}

.t2c-profile * {
  box-sizing: border-box;
}

.t2c-profile button,
.t2c-profile input,
.t2c-profile textarea {
  font-family: inherit;
}

.t2c-profile__dialog {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--t2c-shadow);
  color: #222222;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: min(820px, calc(100vh - 44px));
  max-height: calc(100vh - 44px);
  max-width: 1240px;
  overflow: auto;
  width: 100%;
}

.t2c-profile__dialog.is-auth {
  height: auto;
  max-width: 580px;
}

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

.t2c-profile__dialog.is-auth .t2c-profile__main {
  overflow: visible;
}

.t2c-profile__head {
  align-items: center;
  border-bottom: 1px solid var(--t2c-line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 20px 24px;
}

.t2c-profile__shell {
  display: grid;
  grid-template-columns: minmax(230px, 0.31fr) minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
}

.t2c-profile__sidebar {
  align-content: start;
  background: #ffffff;
  border-right: 1px solid var(--t2c-line);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  padding: 24px 18px 18px;
}

.t2c-profile__sidebar[hidden] {
  display: none;
}

.t2c-profile__main {
  min-height: 0;
  overflow: auto;
}

.t2c-profile-user {
  align-items: center;
  background: var(--t2c-cream-soft);
  border: 1px solid var(--t2c-line);
  border-radius: 12px;
  display: flex;
  gap: 12px;
  min-width: 0;
  padding: 16px;
}

.t2c-profile-avatar {
  align-items: center;
  background: #b129d0;
  border: 4px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(177, 41, 208, 0.2);
  color: #ffffff;
  display: flex;
  flex: 0 0 64px;
  font-size: 12px;
  font-weight: 600;
  height: 64px;
  justify-content: center;
  line-height: 1.15;
  overflow-wrap: anywhere;
  padding: 6px;
  text-align: center;
  width: 64px;
}

.t2c-profile-user p,
.t2c-profile-user span {
  display: block;
  margin: 0;
}

.t2c-profile-user p {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.t2c-profile-user span {
  color: var(--t2c-muted);
  font-size: 13px;
  margin-top: 3px;
}

.t2c-profile-nav {
  align-content: start;
  background: var(--t2c-cream-soft);
  border: 1px solid var(--t2c-line);
  border-radius: 12px;
  display: grid;
  gap: 7px;
  padding: 9px;
}

.t2c-profile-nav button,
.t2c-profile-logout,
.t2c-profile-side-back {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #222222;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  gap: 10px;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 12px;
  text-align: left;
  transition: background-color 0.2s ease, color 0.2s ease;
  width: 100%;
}

.t2c-profile-nav button:hover,
.t2c-profile-nav button:focus-visible,
.t2c-profile-nav button.is-active {
  background: #ffffff;
  color: #b129d0;
  outline: none;
}

.t2c-profile-nav button.is-active {
  box-shadow: 0 8px 18px rgba(177, 41, 208, 0.08);
  font-weight: 600;
}

.t2c-profile-nav b {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 999px;
  color: #222222;
  font-size: 12px;
  font-weight: 500;
  min-width: 24px;
  padding: 3px 7px;
  text-align: center;
}

.t2c-profile-nav button.is-active b {
  border-color: transparent;
  color: #b129d0;
}

.t2c-profile-logout {
  background: #ffffff;
  border: 1px solid #e6bdc6;
  border-radius: 9px;
  color: #a24256;
  justify-content: center;
  padding: 0 12px;
}

.t2c-profile-logout:hover,
.t2c-profile-logout:focus-visible {
  background: #fff6f7;
  color: #a24256;
  outline: none;
}

.t2c-profile-sidebar__footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.t2c-profile-side-back {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 9px;
  color: #222222;
  justify-content: center;
}

.t2c-profile-side-back:hover,
.t2c-profile-side-back:focus-visible {
  background: var(--t2c-cream-soft);
  border-color: #e3c7e8;
  color: #b129d0;
  outline: none;
}

.t2c-profile__kicker {
  color: var(--t2c-muted);
  font-size: 13px;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.t2c-profile__head h2 {
  color: #b129d0;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

.t2c-profile__close,
.t2c-profile-back {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  color: #222222;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
}

.t2c-profile__close {
  font-size: 28px;
  height: 42px;
  line-height: 1;
  width: 42px;
}

.t2c-profile-back {
  font-size: 14px;
  min-height: 38px;
  padding: 0 14px;
  width: fit-content;
}

.t2c-profile__close:hover,
.t2c-profile__close:focus-visible,
.t2c-profile-back:hover,
.t2c-profile-back:focus-visible {
  background: var(--t2c-cream);
  outline: none;
}

.t2c-profile__content {
  align-content: start;
  display: grid;
  gap: 18px;
  min-height: 100%;
  padding: 32px;
}

.t2c-profile__notice {
  background: var(--t2c-cream-soft);
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  color: #222222;
  font-size: 14px;
  margin: 0;
  padding: 12px 14px;
}

.t2c-auth-tabs {
  display: flex;
  gap: 10px;
}

.t2c-auth-tabs button,
.t2c-profile-primary,
.t2c-profile-secondary,
.t2c-profile-actions button,
.t2c-profile-item__actions button,
.t2c-cart-summary button,
.t2c-promo button {
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  min-height: 44px;
  padding: 0 16px;
}

.t2c-auth-tabs button {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
}

.t2c-auth-tabs button.is-active,
.t2c-profile-primary,
.t2c-cart-summary button {
  background: var(--t2c-pink);
  border: 1px solid var(--t2c-pink);
  color: #222222;
}

.t2c-profile-secondary,
.t2c-profile-item__actions button,
.t2c-promo button {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  color: #222222;
}

.t2c-profile-form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.t2c-profile-form label {
  display: grid;
  gap: 7px;
}

.t2c-profile-form span {
  font-size: 14px;
  font-weight: 500;
}

.t2c-profile-form input,
.t2c-profile-form textarea,
.t2c-profile-form select,
.t2c-promo input {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  color: #222222;
  font-size: 15px;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.t2c-profile-form textarea {
  line-height: 1.45;
  resize: vertical;
}

.t2c-profile-muted {
  color: var(--t2c-muted);
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
}

.t2c-auth-options {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.t2c-profile-form .t2c-auth-remember {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
}

.t2c-auth-remember input {
  accent-color: #b129d0;
  height: 16px;
  margin: 0;
  min-height: 0;
  padding: 0;
  width: 16px;
}

.t2c-profile-form .t2c-auth-remember span {
  font-size: 13px;
  font-weight: 400;
}

.t2c-auth-options button,
.t2c-auth-link {
  background: transparent;
  border: 0;
  color: #b129d0;
  cursor: pointer;
  font-size: 13px;
  padding: 0;
  text-align: right;
}

.t2c-auth-options button:hover,
.t2c-auth-options button:focus-visible,
.t2c-auth-link:hover,
.t2c-auth-link:focus-visible {
  color: #7c168f;
  outline: none;
  text-decoration: underline;
}

.t2c-profile-card {
  background: var(--t2c-cream-soft);
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  padding: 20px;
}

.t2c-profile-card p,
.t2c-profile-card h3 {
  margin: 0;
}

.t2c-profile-card p {
  color: var(--t2c-muted);
  font-size: 14px;
}

.t2c-profile-card h3 {
  font-size: 24px;
  font-weight: 500;
  margin: 6px 0;
}

.t2c-profile-card span {
  color: var(--t2c-muted);
  font-size: 14px;
}

.t2c-account-intro {
  border-bottom: 1px solid var(--t2c-line);
  padding-bottom: 20px;
}

.t2c-account-intro h3,
.t2c-account-intro p {
  margin: 0;
}

.t2c-account-intro h3 {
  color: #b129d0;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  margin: 4px 0 9px;
}

.t2c-account-intro > p:not(.t2c-account-kicker) {
  color: var(--t2c-muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 620px;
}

.t2c-account-kicker {
  color: var(--t2c-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.t2c-profile-card--details {
  background: #ffffff;
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  padding: 0;
}

.t2c-profile-card--details > div {
  border-bottom: 1px solid var(--t2c-line);
  display: grid;
  grid-template-columns: minmax(150px, 0.65fr) minmax(0, 1fr);
  gap: 5px;
  min-height: 58px;
  padding: 15px 20px;
}

.t2c-profile-card--details > div:last-child {
  border-bottom: 0;
}

.t2c-profile-card--details span {
  align-self: center;
  color: var(--t2c-muted);
  font-size: 12px;
}

.t2c-profile-card--details b {
  align-self: center;
  justify-self: end;
  font-size: 15px;
  font-weight: 500;
  overflow-wrap: anywhere;
  text-align: right;
}

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

.t2c-account-products {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.t2c-account-product {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 12px;
  cursor: pointer;
  display: grid;
  gap: 0 16px;
  grid-template-columns: 148px minmax(0, 1fr);
  overflow: hidden;
  padding: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.t2c-account-product:hover,
.t2c-account-product:focus-visible {
  border-color: #e3c7e8;
  box-shadow: 0 10px 24px rgba(177, 41, 208, 0.1);
  outline: none;
  transform: translateY(-2px);
}

.t2c-account-product > img {
  align-self: start;
  aspect-ratio: 1 / 1;
  background: var(--t2c-cream-soft);
  border: 1px solid var(--t2c-line);
  border-radius: 10px;
  box-shadow: 0 5px 14px rgba(34, 34, 34, 0.07);
  height: 148px;
  object-fit: cover;
  width: 100%;
}

.t2c-account-product__body {
  align-content: start;
  display: grid;
  gap: 6px;
  padding: 8px 0 11px;
}

.t2c-account-product__body p,
.t2c-account-product__body h3,
.t2c-account-product__body span {
  margin: 0;
}

.t2c-account-product__body p {
  color: var(--t2c-muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.t2c-account-product__body h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.28;
}

.t2c-account-product__body span {
  color: #b129d0;
  font-size: 14px;
  font-weight: 600;
}

.t2c-account-product__actions {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 12px 0 0;
}

.t2c-account-product__actions button {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 7px;
  color: #222222;
  cursor: pointer;
  font-size: 13px;
  min-height: 38px;
  padding: 0 8px;
}

.t2c-account-product__actions button:last-child {
  background: var(--t2c-pink);
  border-color: var(--t2c-pink);
}

.t2c-profile-item img,
.t2c-cart-item img {
  background: var(--t2c-cream-soft);
  border: 1px solid var(--t2c-line);
  box-shadow: 0 4px 10px rgba(34, 34, 34, 0.06);
}

.t2c-profile-actions button {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  color: #222222;
  display: flex;
  justify-content: space-between;
  text-align: left;
}

.t2c-profile-actions button b {
  background: var(--t2c-pink);
  border-radius: 999px;
  min-width: 28px;
  padding: 4px 8px;
  text-align: center;
}

.t2c-profile-list {
  display: grid;
  gap: 12px;
}

.t2c-profile-item {
  align-items: center;
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  padding: 12px;
}

.t2c-profile-item[data-profile-product],
.t2c-cart-item[data-profile-product] {
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.t2c-profile-item[data-profile-product]:hover,
.t2c-profile-item[data-profile-product]:focus-visible,
.t2c-cart-item[data-profile-product]:hover,
.t2c-cart-item[data-profile-product]:focus-visible {
  background: var(--t2c-cream-soft);
  border-color: #e3c7e8;
  outline: none;
}

.t2c-profile-item img,
.t2c-cart-item img {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.t2c-profile-item h3,
.t2c-cart-item h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 6px;
}

.t2c-profile-item p,
.t2c-cart-item p {
  color: var(--t2c-muted);
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
}

.t2c-profile-item__actions {
  display: grid;
  gap: 8px;
}

.t2c-profile-remove {
  align-items: center;
  border-radius: 50% !important;
  display: flex;
  font-size: 22px !important;
  height: 42px;
  justify-content: center;
  line-height: 1;
  min-height: 42px !important;
  padding: 0 !important;
  width: 42px;
}

.t2c-profile-empty {
  background: var(--t2c-cream-soft);
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  color: var(--t2c-muted);
  padding: 24px;
  text-align: center;
}

.t2c-cart-layout {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) 320px;
  min-width: 0;
}

.t2c-cart-list {
  display: grid;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
}

.t2c-cart-item {
  align-items: start;
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 10px;
  display: grid;
  gap: 12px;
  grid-template-areas:
    "image main price remove"
    "image quantity total total";
  grid-template-columns: 82px minmax(0, 1fr) 94px 34px;
  min-width: 0;
  padding: 14px;
}

.t2c-cart-item > img {
  grid-area: image;
}

.t2c-cart-item__main {
  grid-area: main;
  min-width: 0;
}

.t2c-cart-item__price {
  grid-area: price;
  justify-self: end;
  white-space: nowrap;
}

.t2c-cart-qty {
  grid-area: quantity;
  justify-self: start;
  width: 104px;
}

.t2c-cart-item__total {
  grid-area: total;
  justify-self: end;
  white-space: nowrap;
}

.t2c-cart-remove {
  grid-area: remove;
}

.t2c-cart-item__price,
.t2c-cart-item__total {
  font-size: 16px;
  font-weight: 500;
  text-align: right;
}

.t2c-cart-qty {
  border: 1px solid #333333;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  min-height: 38px;
  overflow: hidden;
}

.t2c-cart-qty button {
  background: #ffffff;
  border: 0;
  cursor: pointer;
  font-size: 22px;
}

.t2c-cart-qty span {
  align-items: center;
  display: flex;
  justify-content: center;
}

.t2c-cart-edit {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  color: #222222;
  cursor: pointer;
  font-size: 13px;
  margin-top: 8px;
  min-height: 34px;
  padding: 0 12px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.t2c-cart-edit:hover,
.t2c-cart-edit:focus-visible {
  background: var(--t2c-pink);
  border-color: var(--t2c-pink);
  outline: none;
}

.t2c-cart-edit-form {
  display: grid;
  gap: 18px;
}

.t2c-cart-edit-head {
  align-items: center;
  background: var(--t2c-cream-soft);
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: 96px minmax(0, 1fr);
  padding: 14px;
}

.t2c-cart-edit-head img {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.t2c-cart-edit-head p,
.t2c-cart-edit-head h3,
.t2c-cart-edit-head span {
  margin: 0;
}

.t2c-cart-edit-head p,
.t2c-cart-edit-head span {
  color: var(--t2c-muted);
  font-size: 13px;
  line-height: 1.35;
}

.t2c-cart-edit-head p {
  text-transform: uppercase;
}

.t2c-cart-edit-head h3 {
  color: #b129d0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  margin: 5px 0;
}

.t2c-cart-edit-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.t2c-cart-edit-grid label {
  display: grid;
  gap: 7px;
}

.t2c-cart-edit-grid span,
.t2c-cart-edit-options h4 {
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}

.t2c-cart-edit-grid select,
.t2c-cart-edit-grid input {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  color: #222222;
  font-size: 15px;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.t2c-cart-edit-options {
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.t2c-edit-option {
  align-items: center;
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
}

.t2c-edit-option input {
  accent-color: #b129d0;
  height: 17px;
  width: 17px;
}

.t2c-edit-option span,
.t2c-cart-edit-options p {
  color: var(--t2c-muted);
  font-size: 14px;
  line-height: 1.35;
  margin: 0;
}

.t2c-cart-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.t2c-cart-remove {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 50%;
  color: var(--t2c-muted);
  cursor: pointer;
  font-size: 22px;
  height: 32px;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  width: 32px;
}

.t2c-cart-remove:hover,
.t2c-cart-remove:focus-visible,
.t2c-profile-remove:hover,
.t2c-profile-remove:focus-visible {
  background: #b129d0;
  border-color: #b129d0;
  color: #ffffff;
  outline: none;
  transform: scale(1.05);
}

.t2c-profile-product {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr);
}

.t2c-profile-product__media {
  background: var(--t2c-cream-soft);
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  overflow: hidden;
}

.t2c-profile-product__media img {
  aspect-ratio: 4 / 5;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.t2c-profile-product__body {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.t2c-profile-product__tag,
.t2c-profile-product__desc {
  color: var(--t2c-muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.t2c-profile-product__tag {
  text-transform: uppercase;
}

.t2c-profile-product h3 {
  color: #b129d0;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

.t2c-profile-product__price {
  font-size: 26px;
  font-weight: 500;
  margin: 0;
}

.t2c-profile-product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.t2c-profile-product__info section {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  padding: 14px;
}

.t2c-profile-product__info h4 {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 10px;
}

.t2c-profile-product__info ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.t2c-profile-product__info li {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.t2c-profile-product__info li span,
.t2c-profile-product__info p {
  color: var(--t2c-muted);
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
}

.t2c-profile-product__info li b {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.t2c-cart-side {
  display: grid;
  gap: 18px;
}

.t2c-cart-summary,
.t2c-promo {
  background: #ffffff;
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  box-shadow: var(--t2c-shadow);
  display: grid;
  gap: 18px;
  padding: 24px;
}

.t2c-cart-summary h3 {
  color: #b129d0;
  font-size: 22px;
  font-weight: 500;
  margin: 0;
  text-transform: uppercase;
}

.t2c-cart-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.t2c-cart-row span {
  font-size: 16px;
  text-transform: uppercase;
}

.t2c-cart-row strong {
  font-size: 30px;
  font-weight: 500;
}

.t2c-cart-row b {
  color: #b129d0;
  font-weight: 500;
}

.t2c-promo label {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 92px minmax(0, 1fr);
}

.t2c-checkout-total {
  align-items: center;
  background: var(--t2c-cream-soft);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
}

.t2c-checkout-total strong {
  font-size: 24px;
  font-weight: 500;
}

.t2c-delivery-map {
  background: #ffffff;
  color: var(--t2c-ink);
  font-family: var(--t2c-font);
  padding: 34px 20px 28px;
}

.t2c-delivery-map__inner {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 420px;
  margin: 0 auto;
  max-width: 1160px;
}

.t2c-delivery-map__copy p {
  color: var(--t2c-muted);
  font-size: 14px;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.t2c-delivery-map__copy h2 {
  color: #b129d0;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

.t2c-delivery-map__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.t2c-delivery-map__legend span {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  gap: 8px;
}

.t2c-delivery-map__legend i {
  border-radius: 50%;
  display: block;
  height: 13px;
  width: 13px;
}

.t2c-delivery-map__legend span:first-child i {
  background: #b129d0;
}

.t2c-delivery-map__legend span:last-child i {
  background: var(--t2c-mint);
}

.t2c-mini-map {
  aspect-ratio: 420 / 250;
  background: linear-gradient(135deg, #fdf7ef 0%, #e7f5f3 100%);
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(34, 34, 34, 0.08);
  overflow: hidden;
  position: relative;
}

.t2c-mini-map__region {
  background: rgba(174, 213, 195, 0.86);
  border: 2px solid rgba(85, 150, 122, 0.32);
  border-radius: 42% 58% 48% 52%;
  height: 188px;
  left: 43px;
  position: absolute;
  top: 31px;
  transform: rotate(-6deg);
  width: 326px;
}

.t2c-mini-map__city {
  background: #b129d0;
  border: 8px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(177, 41, 208, 0.2);
  height: 58px;
  left: 180px;
  position: absolute;
  top: 95px;
  width: 58px;
  z-index: 2;
}

.t2c-mini-map svg {
  fill: none;
  height: 100%;
  inset: 0;
  position: absolute;
  stroke: rgba(255, 255, 255, 0.72);
  stroke-linecap: round;
  stroke-width: 7;
  width: 100%;
  z-index: 1;
}

.t2c-mini-map__label {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--t2c-line);
  border-radius: 8px;
  font-size: 13px;
  padding: 7px 9px;
  position: absolute;
  z-index: 3;
}

.t2c-mini-map__label--city {
  left: 238px;
  top: 105px;
}

.t2c-mini-map__label--region {
  left: 38px;
  top: 30px;
}

@media screen and (max-width: 1100px) {
  .t2c-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 900px) {
  .t2c-catalog {
    padding: 96px 18px 54px;
  }

  .t2c-heading,
  .t2c-layout,
  .t2c-dialog,
  .t2c-summary {
    grid-template-columns: 1fr;
  }

  .t2c-counter {
    justify-self: start;
  }

  .t2c-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .t2c-side {
    border-right: 0;
    border-bottom: 1px solid var(--t2c-line);
    padding: 0 0 18px;
  }

  .t2c-side-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
  }

  .t2c-side-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }

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

  .t2c-modal-media img {
    aspect-ratio: 16 / 11;
  }

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

  .t2c-modal-title {
    font-size: 25px;
  }

  .t2c-admin__main,
  .t2c-admin__photo-row,
  .t2c-admin__split,
  .t2c-admin__actions {
    grid-template-columns: 1fr;
  }

  .t2c-admin__side {
    border-right: 0;
    border-bottom: 1px solid var(--t2c-line);
  }

  .t2c-admin__products {
    max-height: 280px;
  }
}

@media screen and (max-width: 640px) {
  .t2c-title {
    font-size: 32px;
  }

  .t2c-lead {
    font-size: 16px;
  }

  .t2c-grid,
  .t2c-options,
  .t2c-order-row,
  .t2c-about {
    grid-template-columns: 1fr;
  }

  .t2c-modal {
    padding: 10px;
  }

  .t2c-close {
    right: 12px;
    top: 12px;
  }

  .t2c-admin {
    padding: 10px;
  }

  .t2c-admin-open {
    right: 12px;
    top: 12px;
  }

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

  .t2c-admin__tabs {
    overflow-x: auto;
  }
}

@media screen and (max-width: 900px) {
  .t2c-site-header,
  .t2c-contacts__grid,
  .t2c-fillings-grid {
    grid-template-columns: 1fr;
  }

  body.t2c-single-page .t2c-site-header {
    padding-right: clamp(16px, 4vw, 28px);
  }

  .t2c-site-logo {
    justify-self: center;
  }

  .t2c-site-nav {
    justify-content: flex-start;
    left: auto;
    max-width: 100%;
    position: static;
    top: auto;
    transform: none;
    width: 100%;
  }

  body.t2c-single-page .t2c-profile-open {
    right: 96px;
    top: 104px;
  }

  body.t2c-single-page .t2c-admin-open {
    right: 16px;
    top: 104px;
  }

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

  .t2c-profile__dialog {
    max-width: 680px;
  }

  .t2c-profile-actions,
  .t2c-cart-layout,
  .t2c-profile-product,
  .t2c-cart-edit-grid,
  .t2c-delivery-map__inner {
    grid-template-columns: 1fr;
  }

  .t2c-cart-item {
    align-items: start;
    grid-template-areas:
      "image main remove"
      "image price price"
      "image quantity quantity"
      "image total total";
    grid-template-columns: 82px minmax(0, 1fr) 34px;
  }

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

  .t2c-cart-remove {
    grid-column: auto;
    grid-row: auto;
  }

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

  .t2c-profile-item__actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .t2c-profile-product__media img {
    aspect-ratio: 16 / 11;
  }

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

  .t2c-delivery-map__inner {
    gap: 20px;
  }
}

@media screen and (max-width: 640px) {
  .t2c-site-header {
    gap: 10px;
    padding: 10px 14px;
  }

  body.t2c-single-page .t2c-site-header {
    padding-right: 14px;
  }

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

  body.t2c-single-page .t2c-profile-open {
    right: 94px;
    top: 100px;
  }

  body.t2c-single-page .t2c-admin-open {
    right: 14px;
    top: 100px;
  }

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

  .t2c-single-hero__media::after {
    background: linear-gradient(180deg, rgba(34, 34, 34, 0.25), rgba(34, 34, 34, 0.78));
  }

  .t2c-single-hero__content {
    padding: 88px 18px 54px;
  }

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

  .t2c-single-section {
    padding: 72px 16px;
  }

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

  .t2c-single-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .t2c-profile-open {
    right: 12px;
    top: 58px;
  }

  .t2c-profile {
    padding: 10px;
  }

  .t2c-profile__head,
  .t2c-profile__content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .t2c-auth-tabs,
  .t2c-profile-item__actions {
    flex-direction: column;
    display: grid;
    grid-template-columns: 1fr;
  }

  .t2c-promo label {
    grid-template-columns: 1fr;
  }

  .t2c-delivery-map {
    padding: 72px 16px 24px;
  }

  .t2c-delivery-map__copy h2 {
    font-size: 25px;
  }

  .t2c-mini-map__label {
    font-size: 12px;
  }
}

@media screen and (max-width: 900px) {
  .t2c-profile__dialog {
    height: min(820px, calc(100vh - 44px));
    max-width: 760px;
  }

  .t2c-profile__shell {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .t2c-profile__sidebar {
    align-items: center;
    border-bottom: 1px solid var(--t2c-line);
    border-right: 0;
    gap: 14px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto;
    padding: 14px 18px;
  }

  .t2c-profile-nav {
    display: flex;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
  }

  .t2c-profile-nav button {
    flex: 0 0 auto;
    min-height: 38px;
    white-space: nowrap;
  }

  .t2c-profile-logout {
    border-left: 1px solid var(--t2c-line);
    border-top: 0;
    min-height: 38px;
    padding: 0 0 0 14px;
    white-space: nowrap;
    width: auto;
  }

  .t2c-profile__main {
    overflow: visible;
  }

  .t2c-account-products {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 640px) {
  .t2c-profile__dialog {
    border-radius: 12px;
    height: calc(100vh - 20px);
  }

  .t2c-profile__head {
    padding-bottom: 14px;
    padding-top: 14px;
  }

  .t2c-profile__head h2 {
    font-size: 24px;
  }

  .t2c-profile__sidebar {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
    padding: 14px 16px 10px;
  }

  .t2c-profile-user {
    display: none;
  }

  .t2c-profile-logout {
    border-left: 0;
    border-top: 1px solid var(--t2c-line);
    min-height: 36px;
    padding: 10px 0 0;
  }

  .t2c-profile__content {
    padding: 22px 16px;
  }

  .t2c-account-intro h3 {
    font-size: 24px;
  }

  .t2c-profile-card--details {
    grid-template-columns: 1fr;
  }

  .t2c-profile-card--details > div,
  .t2c-profile-card--details > div:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--t2c-line);
  }

  .t2c-profile-card--details > div:last-child {
    border-bottom: 0;
  }

  .t2c-profile-card--details > div:nth-child(odd) {
    border-right: 0;
  }

  .t2c-account-product {
    gap: 0 12px;
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .t2c-account-product > img {
    height: 108px;
    min-height: 0;
  }
}

@media screen and (max-width: 900px) {
  .t2c-profile-logout {
    border: 1px solid #e6bdc6;
    padding: 0 12px;
  }

  .t2c-profile-sidebar__footer {
    display: flex;
    gap: 8px;
    margin-top: 0;
  }

  .t2c-profile-side-back,
  .t2c-profile-logout {
    min-height: 38px;
    white-space: nowrap;
    width: auto;
  }
}

@media screen and (max-width: 640px) {
  .t2c-profile-logout {
    border: 1px solid #e6bdc6;
    padding: 0 12px;
  }

  .t2c-profile-sidebar__footer {
    justify-content: space-between;
  }

  .t2c-profile-card--details > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .t2c-profile-card--details b {
    justify-self: start;
    text-align: left;
  }
}

@media screen and (max-width: 760px) {
  .t2c-admin__tabs,
  .t2c-admin__catalog-tabs {
    overflow-x: auto;
    padding-left: 16px;
    padding-right: 16px;
  }

  .t2c-admin__tabs button,
  .t2c-admin__catalog-tabs button {
    flex: 0 0 auto;
  }

  .t2c-admin__section {
    padding: 18px 16px;
  }

  .t2c-admin-promo-form,
  .t2c-admin-users-layout {
    grid-template-columns: 1fr;
  }

  .t2c-admin-user-card > div {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }

  .t2c-admin-user-card b {
    text-align: left;
  }

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

  .t2c-admin-user-row {
    gap: 10px;
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .t2c-admin-user-row > span:nth-of-type(n + 3) {
    display: none;
  }
}

/* Profile action is part of the header so it follows the same right gutter. */
body.t2c-single-page .t2c-profile-open {
  align-self: center;
  justify-self: end;
  position: static;
  right: auto;
  top: auto;
  z-index: auto;
}

@media screen and (max-width: 900px) {
  body.t2c-single-page .t2c-profile-open {
    position: absolute;
    right: clamp(14px, 4vw, 28px);
    top: 20px;
  }
}

@media screen and (max-width: 640px) {
  body.t2c-single-page .t2c-profile-open {
    right: 14px;
    top: 20px;
  }
}

@media screen and (max-width: 900px) {
  .t2c-admin__dialog {
    height: min(820px, calc(100vh - 44px));
    max-width: 760px;
  }

  .t2c-admin__layout {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .t2c-admin__nav {
    align-items: center;
    border-bottom: 1px solid var(--t2c-line);
    border-right: 0;
    display: flex;
    gap: 12px;
    padding: 12px 16px;
  }

  .t2c-admin__nav > p {
    flex: 0 0 auto;
    padding: 0;
  }

  .t2c-admin__tabs {
    display: flex;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
  }

  .t2c-admin__tabs button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .t2c-admin__workspace {
    overflow: visible;
  }
}

@media screen and (max-width: 640px) {
  .t2c-admin__dialog {
    border-radius: 12px;
    height: calc(100vh - 20px);
  }

  .t2c-admin__nav > p {
    display: none;
  }
}

/* Floating navigation bar for the main catalogue sections. */
.t2c-site-header,
body.t2c-single-page .t2c-site-header {
  backdrop-filter: blur(14px);
  background: rgba(34, 26, 28, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(24, 17, 18, 0.2);
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  left: 50%;
  max-width: 1100px;
  min-height: 64px;
  padding: 7px 12px 7px 18px;
  position: fixed;
  right: auto;
  top: 18px;
  transform: translateX(-50%);
  width: calc(100% - 40px);
}

.t2c-site-logo {
  height: 48px;
  width: 82px;
}

.t2c-site-logo img {
  filter: none;
  max-height: 48px;
  max-width: 82px;
}

.t2c-site-nav {
  gap: clamp(14px, 2vw, 30px);
  justify-content: center;
  left: auto;
  max-width: none;
  padding: 0;
  position: static;
  top: auto;
  transform: none;
}

.t2c-site-nav a {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
}

.t2c-site-nav a:hover,
.t2c-site-nav a:focus-visible {
  color: #f3bddd;
}

body.t2c-single-page .t2c-profile-open {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #ffffff;
  min-height: 42px;
  padding: 0 14px;
}

body.t2c-single-page .t2c-profile-open:hover,
body.t2c-single-page .t2c-profile-open:focus-visible {
  background: #ffffff;
  color: #33262a;
}

.t2c-single-hero {
  align-items: center;
  min-height: 100vh;
}

.t2c-single-hero__media::after {
  background: linear-gradient(90deg, rgba(37, 24, 22, 0.78) 0%, rgba(43, 29, 27, 0.48) 48%, rgba(43, 29, 27, 0.08) 100%);
}

.t2c-single-hero__actions {
  gap: 14px;
}

.t2c-single-hero__actions a {
  border: 1px solid transparent;
  border-radius: 17px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  min-height: 54px;
  padding: 0 28px;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.t2c-single-hero__actions a:first-child {
  background: #a84e74;
  box-shadow: 0 10px 24px rgba(123, 45, 79, 0.34);
  color: #ffffff;
}

.t2c-single-hero__actions a:last-child {
  background: rgba(34, 26, 28, 0.34);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.t2c-single-hero__actions a:hover,
.t2c-single-hero__actions a:focus-visible {
  transform: translateY(-2px);
}

.t2c-single-hero__actions a:last-child:hover,
.t2c-single-hero__actions a:last-child:focus-visible {
  background: rgba(34, 26, 28, 0.62);
  border-color: rgba(255, 255, 255, 0.6);
}

@media screen and (max-width: 900px) {
  .t2c-site-header,
  body.t2c-single-page .t2c-site-header {
    border-radius: 22px;
    gap: 10px;
    grid-template-columns: 60px minmax(0, 1fr) auto;
    min-height: 60px;
    padding: 6px 8px 6px 12px;
    top: 12px;
    width: calc(100% - 28px);
  }

  .t2c-site-logo {
    height: 42px;
    justify-self: auto;
    width: 60px;
  }

  .t2c-site-logo img {
    max-height: 42px;
    max-width: 60px;
  }

  .t2c-site-nav {
    gap: 16px;
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
  }

  .t2c-site-nav a {
    flex: 0 0 auto;
    font-size: 13px;
  }

  body.t2c-single-page .t2c-profile-open {
    align-self: center;
    justify-self: end;
    position: static;
  }
}

@media screen and (max-width: 640px) {
  .t2c-site-header,
  body.t2c-single-page .t2c-site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .t2c-site-nav {
    gap: 14px;
  }

  body.t2c-single-page .t2c-profile-open {
    min-height: 38px;
    padding: 0 10px;
  }

  body.t2c-single-page .t2c-profile-open span {
    display: none;
  }
}

/* The catalogue sections use their own subdued confectionery backdrops. */
.t2c-catalog--cakes,
.t2c-catalog--desserts,
.t2c-fillings {
  background-color: #1a1213;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.t2c-catalog--cakes {
  background-image: linear-gradient(rgba(22, 15, 16, 0.62), rgba(22, 15, 16, 0.72)), url("../images/take2cake-catalog-cakes-bg.png");
}

.t2c-fillings {
  background-image: linear-gradient(rgba(22, 15, 16, 0.62), rgba(22, 15, 16, 0.72)), url("../images/take2cake-fillings-bg.png");
}

.t2c-catalog--desserts {
  background-image: linear-gradient(rgba(22, 15, 16, 0.64), rgba(22, 15, 16, 0.74)), url("../images/take2cake-desserts-bg.png");
}

.t2c-catalog--cakes .t2c-wrap,
.t2c-catalog--desserts .t2c-wrap,
.t2c-fillings .t2c-single-wrap {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  box-shadow: 0 22px 52px rgba(15, 9, 10, 0.26);
  box-sizing: border-box;
  padding: clamp(28px, 4vw, 58px);
}

.t2c-contacts {
  background: radial-gradient(circle at top, #302124 0%, #151214 52%, #101012 100%);
  color: #f8f4f5;
  padding: 116px 20px 42px;
}

.t2c-contacts .t2c-kicker,
.t2c-contacts .t2c-single-lead {
  color: rgba(248, 244, 245, 0.66);
}

.t2c-contacts .t2c-single-section h2,
.t2c-contacts h2 {
  color: #ffffff;
}

.t2c-contacts__actions a {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  border-radius: 15px;
  color: #ffffff;
  font-weight: 600;
}

.t2c-contacts__actions a:first-child {
  background: #a84e74;
  border-color: #a84e74;
  box-shadow: 0 10px 26px rgba(123, 45, 79, 0.28);
}

.t2c-contacts__actions a:hover,
.t2c-contacts__actions a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.54);
  outline: none;
}

.t2c-contacts__actions a:first-child:hover,
.t2c-contacts__actions a:first-child:focus-visible {
  background: #bd6289;
  border-color: #bd6289;
}

.t2c-contacts__links {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(220px, 1.45fr) repeat(2, minmax(150px, 1fr));
  margin-top: 82px;
  padding: 34px 0 42px;
}

.t2c-contacts__links > div {
  align-content: start;
  display: grid;
  gap: 12px;
}

.t2c-contacts__links b {
  color: #ffffff;
  font-size: 14px;
}

.t2c-contacts__links a,
.t2c-contacts__links span {
  color: rgba(248, 244, 245, 0.56);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
}

.t2c-contacts__links a:hover,
.t2c-contacts__links a:focus-visible {
  color: #f3bddd;
  outline: none;
}

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

.t2c-contacts__brand img {
  align-self: center;
  grid-row: span 2;
  height: 48px;
  object-fit: contain;
  width: 62px;
}

.t2c-contacts__brand span {
  max-width: 210px;
}

.t2c-single-footer {
  background: #101012;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(248, 244, 245, 0.5);
  padding-left: max(18px, calc((100vw - 1200px) / 2));
  padding-right: max(18px, calc((100vw - 1200px) / 2));
}

.t2c-single-footer a {
  color: rgba(248, 244, 245, 0.7);
}

.t2c-single-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
}

.t2c-single-footer > :last-child {
  justify-self: end;
}

.t2c-single-footer__developer {
  color: rgba(248, 244, 245, 0.64);
  justify-self: center;
  text-align: center;
}

.t2c-single-footer__developer a {
  color: #6f9dff;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.t2c-single-footer__developer a:hover,
.t2c-single-footer__developer a:focus-visible {
  color: #a9c4ff;
  text-shadow: 0 0 14px rgba(111, 157, 255, 0.48);
}

@media screen and (max-width: 900px) {
  .t2c-single-footer {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .t2c-single-footer > :last-child,
  .t2c-single-footer__developer {
    justify-self: center;
  }

  .t2c-catalog--cakes .t2c-wrap,
  .t2c-catalog--desserts .t2c-wrap,
  .t2c-fillings .t2c-single-wrap {
    border-radius: 18px;
    padding: 28px;
  }

  .t2c-contacts__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .t2c-contacts__brand {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 640px) {
  .t2c-catalog--cakes .t2c-wrap,
  .t2c-catalog--desserts .t2c-wrap,
  .t2c-fillings .t2c-single-wrap {
    border-radius: 14px;
    padding: 22px 18px;
  }

  .t2c-contacts {
    padding: 78px 18px 30px;
  }

  .t2c-contacts__links {
    gap: 28px;
    grid-template-columns: 1fr;
    margin-top: 56px;
  }

  .t2c-contacts__brand {
    grid-column: auto;
  }
}

/* Frosted glass surfaces keep the catalogue readable without hiding its backdrop. */
.t2c-catalog--cakes .t2c-wrap,
.t2c-catalog--desserts .t2c-wrap,
.t2c-fillings .t2c-single-wrap {
  backdrop-filter: blur(20px) saturate(118%);
  background: rgba(26, 19, 21, 0.66);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.t2c-catalog--cakes .t2c-kicker,
.t2c-catalog--desserts .t2c-kicker,
.t2c-fillings .t2c-kicker,
.t2c-catalog--cakes .t2c-lead,
.t2c-catalog--desserts .t2c-lead,
.t2c-fillings .t2c-single-lead {
  color: rgba(255, 248, 249, 0.7);
}

.t2c-catalog--cakes .t2c-title,
.t2c-catalog--desserts .t2c-title,
.t2c-fillings h2 {
  color: #ffffff;
}

.t2c-catalog--cakes .t2c-counter,
.t2c-catalog--desserts .t2c-counter,
.t2c-catalog--cakes .t2c-filter,
.t2c-catalog--desserts .t2c-filter,
.t2c-catalog--cakes .t2c-sort,
.t2c-catalog--desserts .t2c-sort {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.t2c-catalog--cakes .t2c-filter.is-active,
.t2c-catalog--desserts .t2c-filter.is-active {
  background: #a84e74;
  border-color: #a84e74;
}

.t2c-catalog--cakes .t2c-sort option,
.t2c-catalog--desserts .t2c-sort option {
  background: #2b2022;
  color: #ffffff;
}

.t2c-catalog--cakes .t2c-side,
.t2c-catalog--desserts .t2c-side {
  border-color: rgba(255, 255, 255, 0.16);
}

.t2c-catalog--cakes .t2c-side-title,
.t2c-catalog--desserts .t2c-side-title,
.t2c-catalog--cakes .t2c-side-btn,
.t2c-catalog--desserts .t2c-side-btn {
  color: #ffffff;
}

.t2c-catalog--cakes .t2c-side-btn.is-active,
.t2c-catalog--cakes .t2c-side-btn:hover,
.t2c-catalog--cakes .t2c-side-btn:focus-visible,
.t2c-catalog--desserts .t2c-side-btn.is-active,
.t2c-catalog--desserts .t2c-side-btn:hover,
.t2c-catalog--desserts .t2c-side-btn:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.t2c-catalog--cakes .t2c-card,
.t2c-catalog--desserts .t2c-card {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  box-shadow: 0 12px 28px rgba(8, 5, 6, 0.18);
  padding: 10px;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.t2c-catalog--cakes .t2c-card:hover,
.t2c-catalog--cakes .t2c-card:focus-within,
.t2c-catalog--desserts .t2c-card:hover,
.t2c-catalog--desserts .t2c-card:focus-within {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(244, 183, 215, 0.52);
  box-shadow: 0 18px 34px rgba(8, 5, 6, 0.28), 0 0 24px rgba(188, 77, 127, 0.18);
  transform: translateY(-5px);
}

.t2c-catalog--cakes .t2c-card-media,
.t2c-catalog--desserts .t2c-card-media {
  border-radius: 11px;
}

.t2c-catalog--cakes .t2c-card-media img,
.t2c-catalog--desserts .t2c-card-media img {
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 320ms ease;
}

.t2c-catalog--cakes .t2c-card:hover .t2c-card-media img,
.t2c-catalog--cakes .t2c-card:focus-within .t2c-card-media img,
.t2c-catalog--desserts .t2c-card:hover .t2c-card-media img,
.t2c-catalog--desserts .t2c-card:focus-within .t2c-card-media img {
  filter: saturate(1.05) brightness(1.035);
  transform: scale(1.045);
}

.t2c-catalog--cakes .t2c-card-price,
.t2c-catalog--desserts .t2c-card-price,
.t2c-catalog--cakes .t2c-card-title,
.t2c-catalog--desserts .t2c-card-title,
.t2c-catalog--cakes .t2c-rating,
.t2c-catalog--desserts .t2c-rating {
  color: #ffffff;
}

.t2c-catalog--cakes .t2c-card-meta,
.t2c-catalog--desserts .t2c-card-meta {
  color: rgba(255, 248, 249, 0.68);
}

.t2c-catalog--cakes .t2c-order-btn,
.t2c-catalog--desserts .t2c-order-btn {
  background: rgba(231, 164, 211, 0.92);
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 11px;
}

.t2c-catalog--cakes .t2c-order-btn:hover,
.t2c-catalog--cakes .t2c-order-btn:focus-visible,
.t2c-catalog--desserts .t2c-order-btn:hover,
.t2c-catalog--desserts .t2c-order-btn:focus-visible {
  background: #bd6289;
  border-color: #bd6289;
  color: #ffffff !important;
}

/* Glass controls placed over the product photos. */
.t2c-catalog--cakes .t2c-card .t2c-badge,
.t2c-catalog--desserts .t2c-card .t2c-badge {
  backdrop-filter: blur(12px) saturate(125%);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  background: rgba(51, 30, 37, 0.58);
  border-color: rgba(255, 241, 246, 0.36);
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(19, 8, 12, 0.2);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.t2c-catalog--cakes .t2c-card .t2c-card-icon,
.t2c-catalog--desserts .t2c-card .t2c-card-icon {
  backdrop-filter: blur(12px) saturate(125%);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  background: rgba(51, 30, 37, 0.6);
  border-color: rgba(255, 241, 246, 0.36);
  box-shadow: 0 6px 16px rgba(19, 8, 12, 0.2);
  color: #ffffff;
}

.t2c-catalog--cakes .t2c-card .t2c-card-icon:hover,
.t2c-catalog--cakes .t2c-card .t2c-card-icon:focus-visible,
.t2c-catalog--desserts .t2c-card .t2c-card-icon:hover,
.t2c-catalog--desserts .t2c-card .t2c-card-icon:focus-visible {
  background: rgba(124, 52, 82, 0.78);
  border-color: rgba(255, 241, 246, 0.58);
  box-shadow: 0 8px 20px rgba(19, 8, 12, 0.32);
  color: #ffffff;
}

.t2c-catalog--cakes .t2c-card .t2c-fav-btn.is-active,
.t2c-catalog--desserts .t2c-card .t2c-fav-btn.is-active,
.t2c-catalog--cakes .t2c-card .t2c-cart-btn.is-active,
.t2c-catalog--desserts .t2c-card .t2c-cart-btn.is-active {
  background: rgba(168, 78, 116, 0.88);
  border-color: rgba(255, 222, 238, 0.54);
  color: #ffffff;
}

.t2c-fillings-grid article {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  box-shadow: 0 12px 28px rgba(8, 5, 6, 0.18);
}

.t2c-fillings-grid h3 {
  color: #ffffff;
}

.t2c-fillings-grid p {
  color: rgba(255, 248, 249, 0.7);
}

@media screen and (max-width: 640px) {
  .t2c-catalog--cakes .t2c-wrap,
  .t2c-catalog--desserts .t2c-wrap,
  .t2c-fillings .t2c-single-wrap {
    backdrop-filter: blur(14px);
  }
}

/* Delivery block and interactive map follow the same glass treatment. */
.t2c-delivery-map {
  background: radial-gradient(circle at 78% 22%, #4a3030 0%, #241719 42%, #140f10 100%);
  color: #ffffff;
  padding: 86px 20px;
}

.t2c-delivery-map__inner {
  backdrop-filter: blur(18px) saturate(116%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  box-shadow: 0 22px 52px rgba(7, 4, 5, 0.26);
  gap: 44px;
  max-width: 1200px;
  padding: clamp(24px, 4vw, 48px);
}

.t2c-delivery-map__copy p {
  color: rgba(255, 247, 248, 0.62);
}

.t2c-delivery-map__copy h2 {
  color: #ffffff;
  font-size: clamp(28px, 3vw, 42px);
}

.t2c-delivery-map__legend {
  gap: 10px;
}

.t2c-delivery-map__legend span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 250, 251, 0.82);
  padding: 8px 12px;
}

.t2c-delivery-map__legend span:first-child i {
  background: #d9709e;
}

.t2c-delivery-map__legend span:last-child i {
  background: #a8d7c4;
}

.t2c-yandex-map {
  background: #201719;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(7, 4, 5, 0.28);
  height: 330px;
  overflow: hidden;
  position: relative;
}

.t2c-yandex-map iframe {
  border: 0;
  filter: saturate(0.74) brightness(0.84) contrast(1.05);
  height: 100%;
  width: 100%;
}

.t2c-yandex-map::after {
  background: linear-gradient(180deg, rgba(30, 19, 21, 0.18), transparent 32%, rgba(30, 19, 21, 0.12));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.t2c-yandex-map a {
  background: rgba(30, 19, 21, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  bottom: 14px;
  color: #ffffff;
  font-size: 13px;
  left: 14px;
  padding: 9px 12px;
  position: absolute;
  text-decoration: none;
  z-index: 1;
}

.t2c-yandex-map a:hover,
.t2c-yandex-map a:focus-visible {
  background: #a84e74;
  border-color: #a84e74;
  outline: none;
}

/* A compact bar keeps the logo, navigation and profile visually grouped. */
.t2c-site-header,
body.t2c-single-page .t2c-site-header {
  gap: 24px;
  grid-template-columns: auto auto auto;
  justify-content: center;
  max-width: 1000px;
}

.t2c-site-nav {
  flex: 0 0 auto;
  gap: 20px;
}

@media screen and (max-width: 900px) {
  .t2c-delivery-map {
    padding: 72px 18px;
  }

  .t2c-delivery-map__inner {
    gap: 28px;
  }

  .t2c-site-header,
  body.t2c-single-page .t2c-site-header {
    gap: 8px;
    grid-template-columns: 60px minmax(0, 1fr) auto;
    justify-content: initial;
  }

  .t2c-site-nav {
    gap: 14px;
  }
}

@media screen and (max-width: 640px) {
  .t2c-delivery-map {
    padding: 54px 14px;
  }

  .t2c-delivery-map__inner {
    border-radius: 16px;
    padding: 20px;
  }

  .t2c-yandex-map {
    height: 270px;
  }
}

/* Each section fades into the same dark shade at its edges, so the backdrops do not meet with a hard line. */
.t2c-delivery-map,
.t2c-catalog--cakes,
.t2c-fillings,
.t2c-catalog--desserts,
.t2c-contacts {
  isolation: isolate;
  position: relative;
}

.t2c-delivery-map {
  background-image:
    linear-gradient(to bottom, #101012 0, rgba(16, 16, 18, 0.78) 58px, transparent 174px),
    linear-gradient(to top, #101012 0, rgba(16, 16, 18, 0.74) 62px, transparent 174px),
    radial-gradient(circle at 78% 22%, #4a3030 0%, #241719 42%, #140f10 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, cover;
}

.t2c-catalog--cakes {
  background-image:
    linear-gradient(to bottom, #101012 0, rgba(16, 16, 18, 0.78) 58px, transparent 174px),
    linear-gradient(to top, #101012 0, rgba(16, 16, 18, 0.74) 62px, transparent 174px),
    linear-gradient(rgba(22, 15, 16, 0.62), rgba(22, 15, 16, 0.72)),
    url("../images/take2cake-catalog-cakes-bg.png");
  background-size: 100% 100%, 100% 100%, 100% 100%, cover;
}

.t2c-fillings {
  background-image:
    linear-gradient(to bottom, #101012 0, rgba(16, 16, 18, 0.78) 58px, transparent 174px),
    linear-gradient(to top, #101012 0, rgba(16, 16, 18, 0.74) 62px, transparent 174px),
    linear-gradient(rgba(22, 15, 16, 0.62), rgba(22, 15, 16, 0.72)),
    url("../images/take2cake-fillings-bg.png");
  background-size: 100% 100%, 100% 100%, 100% 100%, cover;
}

.t2c-catalog--desserts {
  background-image:
    linear-gradient(to bottom, #101012 0, rgba(16, 16, 18, 0.78) 58px, transparent 174px),
    linear-gradient(to top, #101012 0, rgba(16, 16, 18, 0.74) 62px, transparent 174px),
    linear-gradient(rgba(22, 15, 16, 0.64), rgba(22, 15, 16, 0.74)),
    url("../images/take2cake-desserts-bg.png");
  background-size: 100% 100%, 100% 100%, 100% 100%, cover;
}

.t2c-contacts {
  background-image:
    linear-gradient(to bottom, #101012 0, rgba(16, 16, 18, 0.8) 58px, transparent 174px),
    linear-gradient(to top, #101012 0, rgba(16, 16, 18, 0.76) 62px, transparent 174px),
    radial-gradient(circle at top, #302124 0%, #151214 52%, #101012 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, cover;
}

/* The photo on the home screen fades into the delivery section instead of stopping on a hard edge. */
.t2c-single-hero {
  background: #101012;
}

.t2c-single-hero__media::after {
  background:
    linear-gradient(to bottom, transparent 52%, rgba(16, 16, 18, 0.42) 75%, #101012 100%),
    linear-gradient(90deg, rgba(37, 24, 22, 0.78) 0%, rgba(43, 29, 27, 0.48) 48%, rgba(43, 29, 27, 0.08) 100%);
}

/* On wide screens the bar wraps its content instead of leaving empty side areas. */
@media screen and (min-width: 901px) {
  .t2c-site-header,
  body.t2c-single-page .t2c-site-header {
    gap: 34px;
    max-width: calc(100% - 40px);
    width: fit-content;
  }

  .t2c-site-nav {
    gap: 24px;
  }
}

@media screen and (max-width: 640px) {
  .t2c-single-hero__media::after {
    background: linear-gradient(to bottom, rgba(34, 26, 28, 0.2), rgba(34, 26, 28, 0.62) 58%, #101012 100%);
  }
}

/* Keep navigation neutral: soft white normally, pure white on interaction. */
.t2c-site-nav a,
.t2c-site-nav a:visited {
  color: #f4f1f2;
  opacity: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
}

.t2c-site-nav a:hover,
.t2c-site-nav a:focus-visible {
  color: #ffffff;
}

/* Profile, cart and administration share the same dark frosted-glass treatment as the site. */
.t2c-profile,
.t2c-admin,
.t2c-admin-user-modal {
  background: rgba(8, 6, 8, 0.7);
  backdrop-filter: blur(12px) saturate(112%);
  -webkit-backdrop-filter: blur(12px) saturate(112%);
}

.t2c-profile__dialog,
.t2c-admin__dialog,
.t2c-admin-user-modal__dialog {
  backdrop-filter: blur(24px) saturate(118%);
  -webkit-backdrop-filter: blur(24px) saturate(118%);
  background: rgba(28, 20, 24, 0.88);
  border: 1px solid rgba(255, 244, 248, 0.2);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.46);
  color: #ffffff;
}

.t2c-profile__head,
.t2c-admin__head,
.t2c-admin-user-modal__dialog header {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 244, 248, 0.14);
}

.t2c-profile__sidebar,
.t2c-admin__nav,
.t2c-admin__side,
.t2c-admin__catalog-tabs {
  background: rgba(16, 11, 14, 0.46);
  border-color: rgba(255, 244, 248, 0.14);
}

.t2c-profile__main,
.t2c-admin__workspace,
.t2c-admin__form {
  color: #ffffff;
}

.t2c-profile-user,
.t2c-profile-nav,
.t2c-profile-card,
.t2c-profile-card--details,
.t2c-profile__notice,
.t2c-profile-empty,
.t2c-profile-actions button,
.t2c-profile-item,
.t2c-account-product,
.t2c-cart-item,
.t2c-cart-summary,
.t2c-promo,
.t2c-cart-edit-head,
.t2c-cart-edit-options,
.t2c-edit-option,
.t2c-profile-product__media,
.t2c-profile-product__info section,
.t2c-admin-promo-list article,
.t2c-admin-users-table,
.t2c-admin-user-row,
.t2c-admin-user,
.t2c-admin-user-card,
.t2c-admin__product,
.t2c-admin__status,
.t2c-admin__preview {
  backdrop-filter: blur(14px) saturate(112%);
  -webkit-backdrop-filter: blur(14px) saturate(112%);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 244, 248, 0.16);
  color: #ffffff;
}

.t2c-profile__notice {
  animation: t2c-profile-notice-in 180ms ease-out both;
}

.t2c-profile__notice.is-hiding {
  animation: t2c-profile-notice-out 240ms ease-in both;
  pointer-events: none;
}

@keyframes t2c-profile-notice-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes t2c-profile-notice-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-5px);
  }
}

.t2c-profile-user span,
.t2c-profile-muted,
.t2c-profile-card p,
.t2c-profile-card span,
.t2c-profile-item p,
.t2c-cart-item p,
.t2c-profile-product__tag,
.t2c-profile-product__desc,
.t2c-profile-product__info li span,
.t2c-profile-product__info p,
.t2c-cart-edit-head p,
.t2c-cart-edit-head span,
.t2c-edit-option span,
.t2c-cart-edit-options p,
.t2c-admin__kicker,
.t2c-admin__nav > p,
.t2c-admin-section-head p,
.t2c-admin-section-head span,
.t2c-admin-promo-list article span,
.t2c-admin-promo-list article small,
.t2c-admin-users-table__head,
.t2c-admin-user-row > span:not(:first-child),
.t2c-admin-user span,
.t2c-admin-user-card span,
.t2c-admin__product small,
.t2c-admin__hint,
.t2c-admin-user-modal__identity span,
.t2c-admin-user-modal__body span {
  color: rgba(255, 246, 248, 0.66);
}

.t2c-profile__kicker,
.t2c-account-kicker,
.t2c-profile-card--details span {
  color: rgba(255, 246, 248, 0.58);
}

.t2c-profile__head,
.t2c-profile__head h2,
.t2c-profile__content,
.t2c-profile-form label,
.t2c-profile-card--details b,
.t2c-profile-item h3,
.t2c-cart-item h3,
.t2c-cart-item__price,
.t2c-cart-item__total,
.t2c-profile-product__price,
.t2c-profile-product__info li b,
.t2c-cart-edit-grid span,
.t2c-cart-edit-options h4,
.t2c-admin__head,
.t2c-admin__head h2,
.t2c-admin-section-head,
.t2c-admin-user-row,
.t2c-admin-user-card,
.t2c-admin-user-modal__dialog,
.t2c-admin__field,
.t2c-admin__product {
  color: #ffffff;
}

.t2c-account-intro,
.t2c-profile-card--details > div,
.t2c-admin-section-head,
.t2c-admin-user-row,
.t2c-admin-user-card > div,
.t2c-admin-user-modal__body > div {
  border-color: rgba(255, 244, 248, 0.14);
}

.t2c-profile-nav button,
.t2c-profile-side-back,
.t2c-profile-logout,
.t2c-profile__close,
.t2c-profile-back,
.t2c-profile-secondary,
.t2c-profile-item__actions button,
.t2c-promo button,
.t2c-cart-edit,
.t2c-cart-remove,
.t2c-admin__tabs button,
.t2c-admin__catalog-tabs button,
.t2c-admin__reset,
.t2c-admin__delete,
.t2c-admin-promo-list button,
.t2c-admin-user-modal__dialog header button {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 244, 248, 0.2);
  color: #ffffff;
}

.t2c-profile-nav button:hover,
.t2c-profile-nav button:focus-visible,
.t2c-profile-nav button.is-active,
.t2c-profile-side-back:hover,
.t2c-profile-side-back:focus-visible,
.t2c-profile-secondary:hover,
.t2c-profile-secondary:focus-visible,
.t2c-profile-item__actions button:hover,
.t2c-profile-item__actions button:focus-visible,
.t2c-promo button:hover,
.t2c-promo button:focus-visible,
.t2c-cart-edit:hover,
.t2c-cart-edit:focus-visible,
.t2c-admin__tabs button.is-active,
.t2c-admin__catalog-tabs button.is-active,
.t2c-admin__product.is-active,
.t2c-admin__product:hover,
.t2c-admin__product:focus-visible {
  background: rgba(168, 78, 116, 0.7);
  border-color: rgba(255, 221, 237, 0.46);
  box-shadow: 0 8px 20px rgba(9, 4, 7, 0.24);
  color: #ffffff;
}

.t2c-profile-primary,
.t2c-auth-tabs button.is-active,
.t2c-cart-summary button,
.t2c-admin__new,
.t2c-admin__save {
  background: linear-gradient(135deg, #bd5e8a, #8d3b61);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(92, 30, 58, 0.35);
  color: #ffffff;
}

.t2c-profile-form input,
.t2c-profile-form textarea,
.t2c-profile-form select,
.t2c-promo input,
.t2c-cart-edit-grid select,
.t2c-cart-edit-grid input,
.t2c-admin__field input,
.t2c-admin__field select,
.t2c-admin__field textarea {
  background: rgba(8, 6, 8, 0.35);
  border-color: rgba(255, 244, 248, 0.2);
  color: #ffffff;
}

.t2c-profile-form select option,
.t2c-cart-edit-grid select option,
.t2c-admin__field select option {
  background: #281c21;
  color: #ffffff;
}

.t2c-profile-avatar,
.t2c-admin-user-modal__identity > div {
  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);
}

.t2c-profile__head h2,
.t2c-account-intro h3,
.t2c-profile-product h3,
.t2c-cart-edit-head h3,
.t2c-admin-section-head h3 {
  color: #f3bddd;
}

/* Header profile action matches the primary cake-selection button. */
body.t2c-single-page .t2c-profile-open {
  background: linear-gradient(135deg, #bd5e8a, #8d3b61);
  border-color: transparent;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(92, 30, 58, 0.35);
  color: #ffffff;
}

body.t2c-single-page .t2c-profile-open b {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

body.t2c-single-page .t2c-profile-open.is-guest {
  justify-content: center;
}

body.t2c-single-page .t2c-profile-open.is-guest [data-t2c-profile-count] {
  display: none !important;
}

body.t2c-single-page .t2c-profile-open:hover,
body.t2c-single-page .t2c-profile-open:focus-visible {
  background: linear-gradient(135deg, #cc6f9c, #a44670);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Profile opening motion: a soft overlay fade followed by the glass panel settling into place. */
.t2c-profile.is-open {
  animation: t2c-profile-overlay-in 220ms ease-out both;
}

.t2c-profile.is-open .t2c-profile__dialog {
  animation: t2c-profile-dialog-in 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.t2c-profile.is-open .t2c-profile__sidebar,
.t2c-profile.is-open .t2c-profile__main {
  animation: t2c-profile-content-in 360ms 70ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes t2c-profile-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes t2c-profile-dialog-in {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.975);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes t2c-profile-content-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .t2c-profile.is-open,
  .t2c-profile.is-open .t2c-profile__dialog,
  .t2c-profile.is-open .t2c-profile__sidebar,
  .t2c-profile.is-open .t2c-profile__main {
    animation: none;
  }
}

/* Product actions remain glassy inside the account instead of returning to white. */
.t2c-profile .t2c-account-product__actions button,
.t2c-profile .t2c-profile-item__actions button,
.t2c-profile .t2c-cart-qty button,
.t2c-profile .t2c-cart-edit {
  backdrop-filter: blur(12px) saturate(112%);
  -webkit-backdrop-filter: blur(12px) saturate(112%);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 244, 248, 0.2);
  color: #ffffff;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.t2c-profile .t2c-account-product__actions button:last-child {
  background: linear-gradient(135deg, rgba(189, 94, 138, 0.96), rgba(141, 59, 97, 0.96));
  border-color: transparent;
  box-shadow: 0 7px 16px rgba(92, 30, 58, 0.28);
  color: #ffffff;
}

.t2c-profile .t2c-account-product__actions button:hover,
.t2c-profile .t2c-account-product__actions button:focus-visible,
.t2c-profile .t2c-profile-item__actions button:hover,
.t2c-profile .t2c-profile-item__actions button:focus-visible,
.t2c-profile .t2c-cart-qty button:hover,
.t2c-profile .t2c-cart-qty button:focus-visible,
.t2c-profile .t2c-cart-edit:hover,
.t2c-profile .t2c-cart-edit:focus-visible {
  background: rgba(153, 74, 108, 0.5);
  border-color: rgba(255, 221, 237, 0.42);
  box-shadow: 0 0 18px rgba(199, 92, 148, 0.2);
  color: #ffffff;
  outline: none;
  transform: translateY(-1px);
}

.t2c-profile .t2c-account-product__actions button:last-child:hover,
.t2c-profile .t2c-account-product__actions button:last-child:focus-visible {
  background: linear-gradient(135deg, #cc6f9c, #a44670);
  box-shadow: 0 0 22px rgba(205, 95, 153, 0.3);
}

.t2c-profile .t2c-profile-item[data-profile-product]:hover,
.t2c-profile .t2c-profile-item[data-profile-product]:focus-visible,
.t2c-profile .t2c-cart-item[data-profile-product]:hover,
.t2c-profile .t2c-cart-item[data-profile-product]:focus-visible,
.t2c-profile .t2c-profile-item:hover,
.t2c-profile .t2c-cart-item:hover {
  background: rgba(133, 67, 97, 0.2);
  border-color: rgba(255, 213, 234, 0.3);
  box-shadow: 0 0 20px rgba(194, 84, 140, 0.16), 0 12px 28px rgba(8, 4, 6, 0.2);
}

/* Admin controls, lists and scrollbars use the same quiet dark glass rather than white browser defaults. */
.t2c-admin__close,
.t2c-admin__back-profile {
  backdrop-filter: blur(12px) saturate(112%);
  -webkit-backdrop-filter: blur(12px) saturate(112%);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 244, 248, 0.2);
  border-radius: 10px;
  color: #ffffff;
  cursor: pointer;
}

.t2c-admin__close:hover,
.t2c-admin__close:focus-visible,
.t2c-admin__back-profile:hover,
.t2c-admin__back-profile:focus-visible {
  background: rgba(153, 74, 108, 0.52);
  border-color: rgba(255, 221, 237, 0.44);
  box-shadow: 0 0 18px rgba(199, 92, 148, 0.2);
  color: #ffffff;
  outline: none;
}

.t2c-admin__nav {
  display: flex;
  flex-direction: column;
}

.t2c-admin__nav-footer {
  margin-top: auto;
  padding-top: 14px;
}

.t2c-admin__back-profile {
  min-height: 42px;
  padding: 0 14px;
  width: 100%;
}

.t2c-admin-users-table__head,
.t2c-admin-user-card h4 {
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 246, 248, 0.68);
}

.t2c-admin-users-table__head {
  border-bottom: 1px solid rgba(255, 244, 248, 0.14);
}

.t2c-admin__products,
.t2c-admin__workspace,
.t2c-admin-users-list {
  padding-right: 7px;
  scrollbar-color: rgba(202, 102, 154, 0.68) rgba(255, 255, 255, 0.055);
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.t2c-admin__products::-webkit-scrollbar,
.t2c-admin__workspace::-webkit-scrollbar,
.t2c-admin-users-list::-webkit-scrollbar {
  height: 9px;
  width: 9px;
}

.t2c-admin__products::-webkit-scrollbar-track,
.t2c-admin__workspace::-webkit-scrollbar-track,
.t2c-admin-users-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.055);
  border-radius: 999px;
}

.t2c-admin__products::-webkit-scrollbar-thumb,
.t2c-admin__workspace::-webkit-scrollbar-thumb,
.t2c-admin-users-list::-webkit-scrollbar-thumb {
  background: rgba(202, 102, 154, 0.68);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 999px;
}

.t2c-admin__products::-webkit-scrollbar-thumb:hover,
.t2c-admin__workspace::-webkit-scrollbar-thumb:hover,
.t2c-admin-users-list::-webkit-scrollbar-thumb:hover {
  background-color: rgba(225, 133, 180, 0.84);
}

.t2c-admin__product {
  min-width: 0;
  width: 100%;
}

.t2c-admin__field input[type="file"]::file-selector-button,
.t2c-admin__field input[type="file"]::-webkit-file-upload-button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 244, 248, 0.22);
  border-radius: 7px;
  color: #ffffff;
  cursor: pointer;
  margin-right: 10px;
  padding: 6px 9px;
}

/* Favorites keep their actions together as one horizontal control bar. */
.t2c-profile .t2c-profile-item__actions {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 42px;
  width: min(100%, 208px);
}

.t2c-profile .t2c-profile-item__actions > button:first-child {
  min-width: 0;
}

.t2c-profile .t2c-profile-remove {
  border-radius: 10px !important;
  height: 42px;
  min-height: 42px !important;
  width: 42px;
}

@media screen and (max-width: 900px) {
  .t2c-profile .t2c-profile-item__actions {
    width: 100%;
  }
}

/* User rows in the admin list get a restrained rose glow instead of a white hover state. */
.t2c-admin .t2c-admin-user-row:hover,
.t2c-admin .t2c-admin-user-row:focus-visible,
.t2c-admin .t2c-admin-user-row.is-active {
  background: rgba(143, 68, 103, 0.28);
  border-color: rgba(255, 215, 235, 0.24);
  box-shadow: inset 3px 0 0 rgba(229, 129, 179, 0.9), 0 0 20px rgba(197, 82, 140, 0.16);
  color: #ffffff;
  outline: none;
}

.t2c-admin .t2c-admin-user-row:hover > span:not(:first-child),
.t2c-admin .t2c-admin-user-row:focus-visible > span:not(:first-child),
.t2c-admin .t2c-admin-user-row.is-active > span:not(:first-child) {
  color: rgba(255, 246, 248, 0.8);
}

/* A short motion makes switches between profile sections feel continuous. */
.t2c-profile__content.is-view-entering {
  animation: t2c-profile-view-in 250ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes t2c-profile-view-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .t2c-profile__content.is-view-entering {
    animation: none;
  }
}

/* Checkout total keeps the same subdued glass surface as the rest of the account. */
.t2c-profile .t2c-checkout-total {
  backdrop-filter: blur(14px) saturate(112%);
  -webkit-backdrop-filter: blur(14px) saturate(112%);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 221, 237, 0.24);
  box-shadow: 0 0 20px rgba(184, 76, 131, 0.12);
  color: rgba(255, 246, 248, 0.72);
}

.t2c-profile .t2c-checkout-total strong {
  color: #f3bddd;
  text-shadow: 0 0 14px rgba(218, 114, 170, 0.22);
}

/* Checkout summary stays visible to the right of the delivery form. */
.t2c-profile .t2c-checkout-form {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 280px);
  max-width: 920px;
}

.t2c-checkout-fields,
.t2c-checkout-aside {
  display: grid;
  gap: 14px;
}

.t2c-checkout-aside {
  position: sticky;
  top: 16px;
}

.t2c-profile .t2c-checkout-promo {
  gap: 12px;
  padding: 16px;
}

.t2c-profile .t2c-checkout-promo label {
  grid-template-columns: 1fr;
}

@media (max-width: 760px) {
  .t2c-profile .t2c-checkout-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .t2c-checkout-aside {
    position: static;
  }
}

/* Standalone all-products catalogue. */
body.t2c-market-page {
  background: #101012;
  color: #fff7fa;
  min-width: 320px;
}

.t2c-market-page .t2c-site-nav a.is-active {
  color: #f3bddd;
}

.t2c-market {
  background:
    linear-gradient(to bottom, rgba(16, 16, 18, 0.75) 0, rgba(16, 16, 18, 0.9) 260px, #101012 760px),
    url("../images/take2cake-catalog-cakes-bg.png") center top / cover fixed;
  box-sizing: border-box;
  min-height: calc(100vh - 76px);
  padding: 158px max(18px, calc((100vw - 1200px) / 2)) 90px;
}

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

.t2c-market__intro {
  margin: 0 auto 30px;
  max-width: 700px;
  text-align: center;
}

.t2c-market__kicker {
  color: rgba(244, 211, 229, 0.7);
  font-size: 13px;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.t2c-market__intro h1 {
  color: #ffffff;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0;
}

.t2c-market__intro > p:last-child {
  color: rgba(255, 245, 249, 0.7);
  font-size: 17px;
  line-height: 1.55;
  margin: 18px auto 0;
  max-width: 590px;
}

.t2c-market__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 34px;
}

.t2c-market__tab,
.t2c-market-card__bottom button,
.t2c-market__filters button,
.t2c-market__sort select,
.t2c-market__price-values input {
  font: inherit;
}

.t2c-market__tab {
  background: rgba(22, 18, 20, 0.66);
  border: 1px solid rgba(255, 244, 248, 0.16);
  border-radius: 13px;
  color: rgba(255, 248, 250, 0.76);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  min-height: 44px;
  padding: 0 20px;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.t2c-market__tab:hover,
.t2c-market__tab:focus-visible {
  border-color: rgba(244, 183, 216, 0.56);
  color: #ffffff;
  outline: none;
  transform: translateY(-1px);
}

.t2c-market__tab.is-active {
  background: linear-gradient(135deg, #b8507c, #853858);
  border-color: rgba(255, 218, 237, 0.46);
  box-shadow: 0 10px 22px rgba(165, 62, 109, 0.28);
  color: #ffffff;
}

.t2c-market__surface {
  backdrop-filter: blur(20px) saturate(116%);
  -webkit-backdrop-filter: blur(20px) saturate(116%);
  background: rgba(26, 19, 22, 0.78);
  border: 1px solid rgba(255, 244, 248, 0.18);
  border-radius: 24px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  margin: 0 auto;
  max-width: 1200px;
  padding: clamp(20px, 3vw, 36px);
}

.t2c-market__toolbar {
  align-items: center;
  border-bottom: 1px solid rgba(255, 244, 248, 0.14);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 22px;
}

.t2c-market__summary {
  color: rgba(255, 247, 249, 0.68);
  font-size: 15px;
}

.t2c-market__summary b {
  color: #f3bddd;
  font-size: 18px;
  margin-left: 4px;
}

.t2c-market__sort {
  align-items: center;
  color: rgba(255, 247, 249, 0.68);
  display: flex;
  font-size: 14px;
  gap: 10px;
}

.t2c-market__sort select {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 244, 248, 0.22);
  border-radius: 10px;
  color: #fff7fa;
  cursor: pointer;
  min-height: 42px;
  padding: 0 34px 0 12px;
}

.t2c-market__sort option {
  background: #241a1e;
  color: #fff7fa;
}

.t2c-market__layout {
  align-items: start;
  display: grid;
  gap: clamp(22px, 3.2vw, 40px);
  grid-template-columns: 225px minmax(0, 1fr);
}

.t2c-market__filters {
  border-right: 1px solid rgba(255, 244, 248, 0.14);
  display: grid;
  gap: 28px;
  padding-right: clamp(18px, 2.6vw, 32px);
}

.t2c-market__filters section {
  min-width: 0;
}

.t2c-market__filters h2 {
  color: #fff7fa;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 14px;
}

.t2c-market__categories {
  display: grid;
  gap: 6px;
}

.t2c-market__categories button {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: rgba(255, 247, 249, 0.78);
  cursor: pointer;
  display: flex;
  font-size: 14px;
  gap: 8px;
  justify-content: space-between;
  min-height: 40px;
  padding: 8px 10px;
  text-align: left;
  transition: background 170ms ease, border-color 170ms ease, box-shadow 170ms ease, color 170ms ease;
}

.t2c-market__categories button small {
  color: rgba(255, 247, 249, 0.42);
  font-size: 11px;
}

.t2c-market__categories button:hover,
.t2c-market__categories button:focus-visible,
.t2c-market__categories button.is-active {
  background: rgba(183, 80, 124, 0.18);
  border-color: rgba(244, 183, 216, 0.22);
  box-shadow: 0 6px 16px rgba(155, 57, 101, 0.12);
  color: #ffffff;
  outline: none;
}

.t2c-market__filter-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.t2c-market__filter-heading h2 {
  margin: 0;
}

.t2c-market__filter-heading button {
  background: transparent;
  border: 0;
  color: #df8db9;
  cursor: pointer;
  font-size: 12px;
  padding: 3px;
}

.t2c-market__filter-heading button:hover,
.t2c-market__filter-heading button:focus-visible {
  color: #ffffff;
  outline: none;
}

.t2c-market__price-values {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  margin: 14px 0 20px;
}

.t2c-market__price-values label {
  color: rgba(255, 247, 249, 0.5);
  display: grid;
  font-size: 12px;
  gap: 6px;
}

.t2c-market__price-values input {
  appearance: textfield;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 244, 248, 0.2);
  border-radius: 9px;
  color: #fff7fa;
  min-height: 40px;
  outline: none;
  padding: 0 9px;
  width: 100%;
}

.t2c-market__price-values input:focus {
  border-color: rgba(239, 160, 202, 0.7);
  box-shadow: 0 0 0 3px rgba(183, 80, 124, 0.16);
}

.t2c-market__range {
  height: 26px;
  position: relative;
}

.t2c-market__range-track {
  background: linear-gradient(to right, rgba(255,255,255,.16) 0 var(--range-start), #c95989 var(--range-start) var(--range-end), rgba(255,255,255,.16) var(--range-end) 100%);
  border-radius: 999px;
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 10px;
}

.t2c-market__range input[type="range"] {
  appearance: none;
  background: transparent;
  height: 26px;
  left: 0;
  margin: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100%;
}

.t2c-market__range input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  background: #f4bddb;
  border: 3px solid #6f2f4d;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(210, 93, 143, 0.2), 0 5px 12px rgba(0, 0, 0, 0.28);
  cursor: grab;
  height: 18px;
  pointer-events: auto;
  width: 18px;
}

.t2c-market__range input[type="range"]::-moz-range-thumb {
  background: #f4bddb;
  border: 3px solid #6f2f4d;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(210, 93, 143, 0.2), 0 5px 12px rgba(0, 0, 0, 0.28);
  cursor: grab;
  height: 14px;
  pointer-events: auto;
  width: 14px;
}

.t2c-market__price-filter > p {
  color: rgba(255, 247, 249, 0.52);
  font-size: 12px;
  line-height: 1.45;
  margin: 8px 0 0;
}

.t2c-market__price-filter > p b {
  color: rgba(255, 247, 249, 0.8);
  font-weight: 600;
}

.t2c-market__grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.t2c-market-card {
  backdrop-filter: blur(12px) saturate(112%);
  -webkit-backdrop-filter: blur(12px) saturate(112%);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 244, 248, 0.16);
  border-radius: 16px;
  min-width: 0;
  overflow: hidden;
  transition: border-color 190ms ease, box-shadow 190ms ease, transform 190ms ease;
}

.t2c-market-card:hover {
  border-color: rgba(243, 181, 214, 0.4);
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.2), 0 0 22px rgba(178, 69, 117, 0.12);
  transform: translateY(-3px);
}

.t2c-market-card__media {
  aspect-ratio: 1 / .9;
  overflow: hidden;
  position: relative;
}

.t2c-market-card__media::after {
  background: linear-gradient(to top, rgba(14, 10, 12, 0.3), transparent 45%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.t2c-market-card__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
  width: 100%;
}

.t2c-market-card:hover .t2c-market-card__media img {
  transform: scale(1.035);
}

.t2c-market-card__tag {
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  background: rgba(32, 23, 27, 0.58);
  border: 1px solid rgba(255, 244, 248, 0.26);
  border-radius: 9px;
  color: #fff9fb;
  font-size: 11px;
  left: 12px;
  padding: 7px 9px;
  position: absolute;
  top: 12px;
  z-index: 1;
}

.t2c-market-card__actions {
  display: grid;
  gap: 7px;
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
}

.t2c-market-card__actions button {
  align-items: center;
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  background: rgba(28, 21, 24, 0.6);
  border: 1px solid rgba(255, 244, 248, 0.27);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  height: 37px;
  justify-content: center;
  padding: 0;
  transition: background 170ms ease, box-shadow 170ms ease, transform 170ms ease;
  width: 37px;
}

.t2c-market-card__actions button:hover,
.t2c-market-card__actions button:focus-visible,
.t2c-market-card__actions button.is-active {
  background: rgba(177, 62, 116, 0.88);
  box-shadow: 0 0 15px rgba(209, 87, 145, 0.36);
  outline: none;
  transform: scale(1.05);
}

.t2c-market-card__actions svg {
  fill: currentColor;
  height: 18px;
  width: 18px;
}

.t2c-market-card__body {
  padding: 16px;
}

.t2c-market-card__type {
  color: rgba(255, 239, 246, 0.48);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .07em;
  margin: 0 0 7px;
  text-transform: uppercase;
}

.t2c-market-card h2 {
  color: #fff9fb;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  min-height: 44px;
}

.t2c-market-card__meta {
  color: rgba(255, 247, 249, 0.58);
  display: flex;
  font-size: 12px;
  gap: 8px;
  justify-content: space-between;
  margin: 12px 0 16px;
}

.t2c-market-card__bottom {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.t2c-market-card__bottom strong {
  color: #f2bcda;
  font-size: 18px;
  white-space: nowrap;
}

.t2c-market-card__bottom button {
  background: linear-gradient(135deg, #b74f7d, #8b385b);
  border: 1px solid rgba(255, 218, 237, 0.28);
  border-radius: 10px;
  color: #ffffff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  min-height: 38px;
  padding: 0 12px;
  transition: box-shadow 170ms ease, transform 170ms ease;
}

.t2c-market-card__bottom button:hover,
.t2c-market-card__bottom button:focus-visible {
  box-shadow: 0 8px 16px rgba(177, 62, 116, 0.35);
  outline: none;
  transform: translateY(-1px);
}

.t2c-market__empty {
  background: rgba(255, 255, 255, 0.055);
  border: 1px dashed rgba(255, 244, 248, 0.2);
  border-radius: 14px;
  color: rgba(255, 247, 249, 0.7);
  grid-column: 1 / -1;
  padding: 44px 24px;
  text-align: center;
}

@media screen and (max-width: 980px) {
  .t2c-market__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 760px) {
  .t2c-market {
    background-attachment: scroll;
    padding-top: 128px;
  }

  .t2c-market__surface {
    border-radius: 18px;
  }

  .t2c-market__toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .t2c-market__sort {
    justify-content: space-between;
  }

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

  .t2c-market__filters {
    border-bottom: 1px solid rgba(255, 244, 248, 0.14);
    border-right: 0;
    padding: 0 0 22px;
  }

  .t2c-market__categories {
    display: flex;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .t2c-market__categories button {
    flex: 0 0 auto;
  }
}

@media screen and (max-width: 540px) {
  .t2c-market {
    padding-left: 12px;
    padding-right: 12px;
  }

  .t2c-market__intro h1 {
    font-size: 36px;
  }

  .t2c-market__tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 2px 3px;
    flex-wrap: nowrap;
  }

  .t2c-market__tab {
    flex: 0 0 auto;
  }

  .t2c-market__surface {
    padding: 16px;
  }

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

/* About section between delivery and the catalogue. */
.t2c-about-section {
  background:
    linear-gradient(to bottom, #101012 0, rgba(16, 16, 18, 0.9) 11%, rgba(16, 16, 18, 0.86) 89%, #101012 100%),
    radial-gradient(circle at 88% 44%, rgba(177, 86, 127, 0.2), transparent 35%);
  padding: 0;
  position: relative;
  isolation: isolate;
}

.t2c-about-section *,
.t2c-about-section *::before,
.t2c-about-section *::after {
  box-sizing: border-box;
}

.t2c-about-section::before {
  background: url("../images/take2cake-hero-cake-2026.png") right center / auto 100% no-repeat;
  content: "";
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.t2c-about-section::after {
  background: linear-gradient(to bottom, rgba(16, 16, 18, 0.82) 0%, rgba(16, 16, 18, 0.34) 4%, transparent 10%, transparent 92%, rgba(16, 16, 18, 0.34) 97%, rgba(16, 16, 18, 0.82) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.t2c-about__inner {
  align-items: stretch;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  margin: 0 auto;
  max-width: none;
  min-height: 680px;
  position: relative;
  z-index: 1;
}

.t2c-about__content {
  align-self: center;
  background: linear-gradient(90deg, rgba(16, 16, 18, 0.96), rgba(24, 17, 20, 0.89));
  min-height: 100%;
  min-width: 0;
  padding: 94px clamp(36px, 8vw, 150px) 94px max(24px, calc((100vw - 1200px) / 2));
  position: relative;
  z-index: 1;
}

.t2c-about-section .t2c-kicker {
  color: rgba(245, 202, 227, 0.7);
  font-size: 13px;
  letter-spacing: 0.07em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.t2c-about__content > h2 {
  color: #ffffff;
  font-size: clamp(31px, 4vw, 49px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0;
  max-width: 710px;
}

.t2c-about__lead {
  color: rgba(255, 246, 249, 0.7);
  font-size: 17px;
  line-height: 1.58;
  margin: 18px 0 0;
  max-width: 650px;
}

.t2c-about__features {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.t2c-about__features article {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 244, 248, 0.11);
  border-radius: 14px;
  min-width: 0;
  padding: 18px;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.t2c-about__features article:hover {
  background: rgba(169, 75, 116, 0.16);
  border-color: rgba(243, 182, 216, 0.26);
  box-shadow: 0 10px 22px rgba(146, 49, 93, 0.13);
  transform: translateY(-2px);
}

.t2c-about__icon {
  align-items: center;
  background: rgba(181, 76, 122, 0.2);
  border: 1px solid rgba(245, 190, 220, 0.26);
  border-radius: 11px;
  color: #f2b8d7;
  display: flex;
  height: 42px;
  justify-content: center;
  margin-bottom: 15px;
  width: 42px;
}

.t2c-about__icon svg {
  fill: none;
  height: 25px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 25px;
}

.t2c-about__features h3 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 8px;
}

.t2c-about__features p {
  color: rgba(255, 246, 249, 0.62);
  font-size: 13px;
  line-height: 1.52;
  margin: 0;
}

.t2c-about__order {
  align-items: center;
  background: linear-gradient(135deg, #ba527f, #863754);
  border: 1px solid rgba(255, 220, 239, 0.34);
  border-radius: 12px;
  box-shadow: 0 11px 24px rgba(157, 53, 99, 0.28);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  gap: 12px;
  margin-top: 28px;
  min-height: 50px;
  padding: 0 22px;
  transition: box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.t2c-about__order span {
  font-size: 19px;
  line-height: 1;
  transition: transform 180ms ease;
}

.t2c-about__order:hover,
.t2c-about__order:focus-visible {
  background: linear-gradient(135deg, #c35b89, #94405f);
  box-shadow: 0 14px 28px rgba(184, 68, 119, 0.4);
  outline: none;
  transform: translateY(-2px);
}

.t2c-about__order:hover span,
.t2c-about__order:focus-visible span {
  transform: translateX(3px);
}

.t2c-about__visual {
  align-self: stretch;
  margin: 0;
  min-height: 680px;
  overflow: hidden;
  position: relative;
}

.t2c-about__visual::after {
  background: linear-gradient(to top, rgba(15, 11, 13, 0.82), rgba(15, 11, 13, 0.04) 62%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.t2c-about__visual img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.t2c-about__visual figcaption {
  bottom: 22px;
  color: rgba(255, 248, 250, 0.9);
  font-size: 14px;
  font-weight: 600;
  left: 22px;
  position: absolute;
  z-index: 3;
}

@media screen and (max-width: 900px) {
  .t2c-about-section {
    padding: 0;
  }

  .t2c-about__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .t2c-about__content {
    min-height: 0;
    padding: 72px max(24px, calc((100vw - 720px) / 2));
  }

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

  .t2c-about__visual img {
    object-position: center 46%;
  }
}

@media screen and (max-width: 560px) {
  .t2c-about-section {
    padding: 0;
  }

  .t2c-about__inner {
    padding: 0;
  }

  .t2c-about__content {
    padding: 56px 22px;
  }

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

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

/* Fixed social contact launcher, kept out of the way while the profile is open. */
.t2c-contact-float {
  bottom: clamp(18px, 3vw, 30px);
  color: #ffffff;
  font-family: var(--t2c-font);
  position: fixed;
  right: clamp(18px, 3vw, 30px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  z-index: 1000;
}

.t2c-contact-float summary {
  align-items: center;
  background: linear-gradient(135deg, rgba(189, 94, 138, 0.96), rgba(141, 59, 97, 0.96));
  border: 1px solid rgba(255, 235, 244, 0.28);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(92, 30, 58, 0.34);
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 9px;
  list-style: none;
  min-height: 48px;
  padding: 0 15px 0 12px;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  user-select: none;
}

.t2c-contact-float:hover summary,
.t2c-contact-float summary:focus-visible,
.t2c-contact-float[open] summary {
  background: linear-gradient(135deg, #cb6e9d, #a34670);
  box-shadow: 0 16px 34px rgba(117, 40, 77, 0.46);
  transform: translateY(-2px);
}

.t2c-contact-float summary::-webkit-details-marker {
  display: none;
}

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

.t2c-contact-float__bubble,
.t2c-contact-float__icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  display: inline-flex;
  flex: 0 0 auto;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.t2c-contact-float summary i {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  margin-left: 2px;
  transition: transform 180ms ease;
}

.t2c-contact-float[open] summary i {
  transform: rotate(45deg);
}

.t2c-contact-float summary:hover .t2c-contact-float__bubble {
  animation: t2c-contact-pulse 700ms ease-in-out infinite alternate;
}

.t2c-contact-float__links {
  -webkit-backdrop-filter: blur(16px) saturate(118%);
  backdrop-filter: blur(16px) saturate(118%);
  background: rgba(36, 26, 31, 0.94);
  border: 1px solid rgba(255, 238, 246, 0.18);
  border-radius: 15px;
  bottom: calc(100% + 10px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
  display: grid;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  right: 0;
  transform: translateY(8px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  visibility: hidden;
  width: 248px;
}

.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: t2c-contact-menu-in 280ms cubic-bezier(0.16, 0.84, 0.32, 1) both;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.t2c-contact-float.is-closing .t2c-contact-float__links {
  animation: t2c-contact-menu-out 220ms cubic-bezier(0.4, 0, 1, 1) both;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.97);
  visibility: visible;
}

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

.t2c-contact-float.is-closing .t2c-contact-float__links a:nth-child(2) {
  animation-delay: 25ms;
}

.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: t2c-contact-link-in 260ms cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.t2c-contact-float:hover .t2c-contact-float__links a:nth-child(2),
.t2c-contact-float:focus-within .t2c-contact-float__links a:nth-child(2),
.t2c-contact-float[open] .t2c-contact-float__links a:nth-child(2) {
  animation-delay: 55ms;
}

.t2c-contact-float__links a {
  align-items: center;
  color: #ffffff;
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr auto;
  min-height: 62px;
  padding: 10px 12px;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.t2c-contact-float__links a + a {
  border-top: 1px solid rgba(255, 238, 246, 0.12);
}

.t2c-contact-float__links a:hover,
.t2c-contact-float__links a:focus-visible {
  background: rgba(190, 94, 139, 0.2);
  outline: none;
  transform: translateX(-3px);
}

.t2c-contact-float__icon {
  background: #2876e8;
  border: 0;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.t2c-contact-float__icon--telegram {
  background: #2aabee;
  transform: none;
}

.t2c-contact-float__icon--telegram svg {
  fill: #ffffff;
  height: 17px;
  transform: translateX(1px);
  width: 17px;
}

.t2c-contact-float__links a:hover .t2c-contact-float__icon,
.t2c-contact-float__links a:focus-visible .t2c-contact-float__icon {
  box-shadow: 0 0 0 5px rgba(241, 183, 215, 0.1);
  transform: scale(1.08);
}

.t2c-contact-float__links a:hover .t2c-contact-float__icon--telegram,
.t2c-contact-float__links a:focus-visible .t2c-contact-float__icon--telegram {
  transform: scale(1.08);
}

.t2c-contact-float__links b,
.t2c-contact-float__links small {
  display: block;
}

.t2c-contact-float__links b {
  font-size: 14px;
}

.t2c-contact-float__links small {
  color: rgba(255, 246, 249, 0.66);
  font-size: 11px;
  margin-top: 3px;
}

.t2c-contact-float__links em {
  color: #f1b7d7;
  font-size: 16px;
  font-style: normal;
}

body.t2c-modal-open .t2c-contact-float {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  visibility: hidden;
}

@keyframes t2c-contact-link-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes t2c-contact-menu-in {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.9);
  }
  68% {
    opacity: 1;
    transform: translateY(-2px) scale(1.015);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes t2c-contact-menu-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
}

@keyframes t2c-contact-link-out {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(7px);
  }
}

@keyframes t2c-contact-pulse {
  from {
    transform: rotate(0) scale(1);
  }
  to {
    transform: rotate(10deg) scale(1.08);
  }
}

@media screen and (max-width: 560px) {
  .t2c-contact-float {
    bottom: 16px;
    right: 16px;
  }

  .t2c-contact-float summary {
    min-height: 44px;
  }
}

/* Password reveal control inside authentication fields. */
.t2c-password-field {
  position: relative;
}

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

.t2c-password-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 244, 248, 0.2);
  border-radius: 8px;
  color: #f3bddd;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  min-height: 30px;
  padding: 0 9px;
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.t2c-password-toggle:hover,
.t2c-password-toggle:focus-visible {
  background: rgba(190, 94, 139, 0.24);
  border-color: rgba(243, 189, 221, 0.48);
  box-shadow: 0 0 18px rgba(189, 94, 138, 0.22);
  color: #ffffff;
  outline: none;
  transform: translateY(-50%) scale(1.03);
}

/* Finished orders and the delivery contact card inside the customer profile. */
.t2c-orders {
  display: grid;
  gap: 12px;
}

.t2c-order-card,
.t2c-order-delivery {
  -webkit-backdrop-filter: blur(14px) saturate(112%);
  backdrop-filter: blur(14px) saturate(112%);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 244, 248, 0.16);
  border-radius: 12px;
  color: #ffffff;
}

.t2c-order-card {
  overflow: hidden;
}

.t2c-order-card__head {
  align-items: center;
  background: rgba(189, 94, 138, 0.14);
  border-bottom: 1px solid rgba(255, 244, 248, 0.13);
  display: flex;
  justify-content: space-between;
  padding: 13px 15px;
}

.t2c-order-card__head span {
  background: rgba(166, 77, 120, 0.78);
  border: 1px solid rgba(255, 226, 239, 0.28);
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
}

.t2c-order-card__head strong {
  color: #f3bddd;
  font-size: 18px;
}

.t2c-order-card__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.t2c-order-card__details > div {
  align-items: center;
  border-bottom: 1px solid rgba(255, 244, 248, 0.11);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  min-height: 48px;
  padding: 9px 15px;
}

.t2c-order-card__details > div:nth-child(odd) {
  border-right: 1px solid rgba(255, 244, 248, 0.11);
}

.t2c-order-card__details span,
.t2c-order-delivery > div > p,
.t2c-order-delivery > div > span {
  color: rgba(255, 246, 248, 0.64);
  font-size: 12px;
}

.t2c-order-card__details b {
  font-size: 13px;
  text-align: right;
}

.t2c-order-card__details > .t2c-order-card__address {
  border-right: 0;
  grid-column: 1 / -1;
}

.t2c-order-card__address b {
  overflow-wrap: anywhere;
}

.t2c-order-card__items {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.t2c-order-card__items li {
  align-items: center;
  border-bottom: 1px solid rgba(255, 244, 248, 0.1);
  color: rgba(255, 246, 248, 0.82);
  display: flex;
  font-size: 13px;
  gap: 14px;
  justify-content: space-between;
  padding: 10px 15px;
}

.t2c-order-card__items li:last-child {
  border-bottom: 0;
}

.t2c-order-card__items span {
  overflow-wrap: anywhere;
}

.t2c-order-card__items b {
  color: #f3bddd;
  flex: 0 0 auto;
}

.t2c-order-delivery {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 16px;
  padding: 18px;
}

.t2c-order-delivery > div > p {
  margin: 0 0 5px;
  text-transform: uppercase;
}

.t2c-order-delivery h4 {
  color: #f3bddd;
  font-size: 18px;
  margin: 0 0 6px;
}

.t2c-order-delivery > div > span {
  display: block;
  line-height: 1.45;
  max-width: 450px;
}

.t2c-order-delivery__actions {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(3, auto);
}

.t2c-order-delivery__actions a {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 244, 248, 0.2);
  border-radius: 9px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 12px;
  text-decoration: none;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.t2c-order-delivery__actions a:hover,
.t2c-order-delivery__actions a:focus-visible {
  background: rgba(166, 77, 120, 0.7);
  box-shadow: 0 8px 20px rgba(92, 30, 58, 0.26);
  outline: none;
  transform: translateY(-1px);
}

.t2c-profile-actions button b {
  background: #a64d78;
  box-shadow: 0 3px 8px rgba(82, 27, 53, 0.32);
  color: #ffffff;
}

/* Admin order overview: local orders with customer profile details. */
.t2c-admin-orders {
  display: grid;
  gap: 12px;
}

.t2c-admin-order {
  -webkit-backdrop-filter: blur(14px) saturate(112%);
  backdrop-filter: blur(14px) saturate(112%);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 244, 248, 0.17);
  border-radius: 13px;
  box-shadow: 0 12px 26px rgba(8, 4, 6, 0.15);
  overflow: hidden;
}

.t2c-admin-order > header {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 244, 248, 0.13);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 14px 16px;
}

.t2c-admin-order > header p,
.t2c-admin-order > header h4 {
  margin: 0;
}

.t2c-admin-order > header p,
.t2c-admin-order__profile span,
.t2c-admin-order__items > p {
  color: rgba(255, 246, 248, 0.62);
  font-size: 12px;
}

.t2c-admin-order > header p {
  margin-bottom: 4px;
}

.t2c-admin-order > header h4 {
  color: #ffffff;
  font-size: 16px;
}

.t2c-admin-order > header strong {
  color: #f2b5d6;
  font-size: 17px;
  white-space: nowrap;
}

.t2c-admin-order__profile {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.t2c-admin-order__profile > div {
  border-bottom: 1px solid rgba(255, 244, 248, 0.11);
  border-right: 1px solid rgba(255, 244, 248, 0.11);
  display: grid;
  gap: 5px;
  min-height: 66px;
  padding: 11px 16px;
}

.t2c-admin-order__profile > div:nth-child(3n) {
  border-right: 0;
}

.t2c-admin-order__profile b,
.t2c-admin-order__items li b {
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.t2c-admin-order__items {
  padding: 12px 16px 14px;
}

.t2c-admin-order__items > p {
  margin: 0 0 9px;
  text-transform: uppercase;
}

.t2c-admin-order__items ul {
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.t2c-admin-order__items li {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 244, 248, 0.11);
  border-radius: 8px;
  color: rgba(255, 246, 248, 0.79);
  display: flex;
  font-size: 13px;
  gap: 14px;
  justify-content: space-between;
  padding: 9px 11px;
}

.t2c-admin-order__items li span {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media screen and (max-width: 820px) {
  .t2c-admin-order__profile {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .t2c-admin-order__profile > div:nth-child(3n) {
    border-right: 1px solid rgba(255, 244, 248, 0.11);
  }

  .t2c-admin-order__profile > div:nth-child(2n) {
    border-right: 0;
  }
}

@media screen and (max-width: 520px) {
  .t2c-admin-order > header,
  .t2c-admin-order__items li {
    align-items: flex-start;
    flex-direction: column;
  }

  .t2c-admin-order__profile {
    grid-template-columns: 1fr;
  }

  .t2c-admin-order__profile > div,
  .t2c-admin-order__profile > div:nth-child(3n) {
    border-right: 0;
  }
}

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

  .t2c-order-card__details > div:nth-child(odd) {
    border-right: 0;
  }

  .t2c-order-delivery {
    grid-template-columns: 1fr;
  }

  .t2c-order-delivery__actions {
    grid-template-columns: 1fr;
  }
}
