/* ============================================================
   Бутон — витрина цветочного магазина
   ============================================================ */

:root {
  --sf-bg: #fffaf7;
  --sf-surface: #ffffff;
  --sf-ink: #2b1a21;
  --sf-muted: #8a7378;
  --sf-line: #f1e2e1;
  --sf-line-strong: #e5d0d1;

  --sf-rose: #c65a74;
  --sf-rose-deep: #a9475f;
  --sf-rose-soft: #fbe9ed;

  --sf-green: #5f8a6b;
  --sf-green-deep: #41684f;
  --sf-green-soft: #eaf3ec;

  --sf-cream: #fdf3ec;

  --sf-radius: 24px;
  --sf-shadow: 0 18px 44px -34px rgba(70, 35, 45, 0.55);
  --sf-shadow-lift: 0 24px 50px -30px rgba(70, 35, 45, 0.4);

  --sf-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sf-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body.sf {
  margin: 0;
  padding-bottom: 92px;
  background: var(--sf-bg);
  color: var(--sf-ink);
  font-family: var(--sf-font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--sf-serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--sf-rose);
  outline-offset: 2px;
}

.sf-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.sf-shell {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

.sf-page {
  overflow-x: hidden;
}

.sf-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sf-rose);
}

.sf-lead {
  max-width: 46ch;
  margin-top: 14px;
  font-size: 15px;
  color: var(--sf-muted);
}

/* ---------- предпросмотр ---------- */

.sf-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 16px;
  background: #2a1420;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.72);
}

.sf-preview-bar a {
  color: #f4b6cb;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- шапка ---------- */

.sf-header {
  padding: 14px 0;
}

.sf-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sf-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--sf-rose);
}

.sf-brand__mark {
  width: 26px;
  height: 26px;
  flex: none;
}

.sf-brand__name {
  overflow: hidden;
  font-family: var(--sf-serif);
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--sf-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sf-header__aside {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.sf-hours {
  display: none;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--sf-muted);
}

.sf-hours .sf-icon {
  width: 14px;
  height: 14px;
  color: var(--sf-green);
}

.sf-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--sf-rose);
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 10px 20px -14px rgba(198, 90, 116, 0.9);
  transition: background-color 0.16s ease;
}

.sf-phone span {
  white-space: nowrap;
}

.sf-phone .sf-icon {
  width: 15px;
  height: 15px;
  color: #fff;
}

.sf-phone:hover {
  background: var(--sf-rose-deep);
}

/* ---------- заголовок ---------- */

.sf-intro {
  padding: 16px 0 8px;
}

.sf-intro h1 {
  margin-top: 10px;
  font-size: clamp(34px, 8vw, 54px);
  line-height: 1.02;
}

.sf-intro h1 em {
  font-style: normal;
  color: var(--sf-rose);
}

.sf-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
}

.sf-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--sf-muted);
}

.sf-meta__item .sf-icon {
  width: 15px;
  height: 15px;
  color: var(--sf-green);
}

/* ---------- главное фото ---------- */

.sf-hero {
  margin-top: 16px;
}

.sf-hero__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  background: var(--sf-cream);
  box-shadow: var(--sf-shadow);
}

.sf-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-hero__card {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px -18px rgba(70, 35, 45, 0.8);
}

.sf-hero__eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sf-green);
}

.sf-hero__card strong {
  font-family: var(--sf-serif);
  font-size: 15px;
  font-weight: 600;
}

.sf-hero__price {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sf-rose);
}

/* ---------- описание ---------- */

.sf-about {
  margin-top: 16px;
}

.sf-card {
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  background: var(--sf-surface);
  box-shadow: var(--sf-shadow);
}

.sf-about__card {
  padding: 20px;
}

.sf-about__card h2 {
  font-size: 22px;
}

.sf-about__card p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--sf-muted);
}

.sf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.sf-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid #e6efe4;
  border-radius: 999px;
  background: #f8fbf5;
  font-size: 12px;
  color: var(--sf-green-deep);
}

.sf-chip .sf-icon {
  width: 14px;
  height: 14px;
}

/* ---------- секции ---------- */

.sf-section {
  margin-top: 44px;
}

.sf-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.sf-head h2 {
  margin-top: 6px;
  font-size: clamp(24px, 4.4vw, 32px);
}

.sf-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 3px;
  font-size: 11.5px;
  color: var(--sf-muted);
  white-space: nowrap;
}

.sf-hint .sf-icon {
  width: 14px;
  height: 14px;
  color: var(--sf-rose);
}

/* ---------- галерея ---------- */

.sf-gallery__track {
  display: flex;
  gap: 12px;
  margin: 14px -16px 0;
  padding: 4px 16px 10px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.sf-gallery__track::-webkit-scrollbar {
  display: none;
}

.sf-gallery__item {
  flex: 0 0 200px;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  background: var(--sf-cream);
  scroll-snap-align: start;
  box-shadow: 0 16px 30px -28px rgba(70, 35, 45, 0.7);
}

.sf-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- товары ---------- */

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

.sf-product {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 8px;
  border: 1px solid var(--sf-line);
  border-radius: 18px;
  background: var(--sf-surface);
  color: inherit;
  box-shadow: 0 14px 30px -30px rgba(70, 35, 45, 0.6);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.sf-product:hover {
  border-color: var(--sf-line-strong);
  box-shadow: var(--sf-shadow-lift);
  transform: translateY(-2px);
}

.sf-product:hover .sf-open {
  background: var(--sf-rose);
  color: #fff;
}

.sf-product__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 13px;
  background: var(--sf-cream);
}

.sf-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-product__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--sf-rose);
}

.sf-product__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
  padding: 0 3px 3px;
}

.sf-product__body h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 35px;
  font-family: var(--sf-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sf-product:hover .sf-product__title {
  color: var(--sf-rose);
}

.sf-product__desc {
  display: -webkit-box;
  overflow: hidden;
  min-height: 34px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--sf-muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sf-open {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: none;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--sf-rose-soft);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--sf-rose);
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.sf-open .sf-icon {
  width: 11px;
  height: 11px;
}

.sf-open:hover {
  background: var(--sf-rose);
  color: #fff;
}

.sf-product__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
}

.sf-price {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.sf-add {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--sf-rose-soft);
  color: var(--sf-rose);
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.sf-add .sf-icon {
  width: 16px;
  height: 16px;
}

.sf-add:hover {
  background: var(--sf-rose);
  color: #fff;
}

.sf-add:active {
  transform: scale(0.94);
}

.sf-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 18px;
  padding: 13px 22px;
  border: 1px solid var(--sf-line-strong);
  border-radius: 999px;
  background: var(--sf-surface);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.sf-more .sf-icon {
  width: 16px;
  height: 16px;
  color: var(--sf-rose);
}

.sf-more:hover {
  border-color: var(--sf-rose);
  background: var(--sf-rose-soft);
}

/* ---------- шаги ---------- */

.sf-steps__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.sf-step {
  padding: 16px;
  border: 1px solid var(--sf-line);
  border-radius: 20px;
  background: var(--sf-surface);
  box-shadow: var(--sf-shadow);
}

.sf-step__num {
  font-family: var(--sf-serif);
  font-size: 22px;
  color: var(--sf-rose);
  opacity: 0.85;
}

.sf-step h3 {
  margin-top: 6px;
  font-family: var(--sf-font);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0;
}

.sf-step p {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--sf-muted);
}

/* ---------- заявка ---------- */

.sf-request__card {
  padding: 22px 18px;
  border: 1px solid #f3dfe3;
  border-radius: 26px;
  background: linear-gradient(165deg, #ffffff 0%, #fdf1f4 100%);
  box-shadow: var(--sf-shadow-lift);
}

.sf-request__head h2 {
  margin-top: 6px;
  font-size: clamp(24px, 4.4vw, 30px);
}

.sf-request__head p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--sf-muted);
}

.sf-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.sf-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.sf-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sf-field__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--sf-ink);
}

.sf-input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--sf-line-strong);
  border-radius: 14px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--sf-ink);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.sf-input::placeholder {
  color: #b9a5a8;
}

.sf-input:focus {
  outline: none;
  border-color: var(--sf-rose);
  box-shadow: 0 0 0 4px rgba(198, 90, 116, 0.12);
}

.sf-textarea {
  height: auto;
  min-height: 104px;
  padding: 12px 14px;
  line-height: 1.45;
  resize: vertical;
}

.sf-field--error .sf-input {
  border-color: #d5504d;
}

.sf-field__error {
  font-size: 11.5px;
  color: #b42318;
}

.sf-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 2px 0;
}

.sf-upload__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border: 1px dashed var(--sf-line-strong);
  border-radius: 12px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.sf-upload__button .sf-icon {
  width: 16px;
  height: 16px;
  color: var(--sf-rose);
}

.sf-upload__button:hover {
  border-color: var(--sf-rose);
  color: var(--sf-rose);
}

.sf-upload__hint {
  flex: 1;
  min-width: 160px;
  font-size: 11.5px;
  color: var(--sf-muted);
}

.sf-upload__preview {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 13px;
  overflow: visible;
}

.sf-upload__preview img {
  width: 100%;
  height: 100%;
  border-radius: 13px;
  object-fit: cover;
}

.sf-upload__remove {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--sf-line);
  border-radius: 50%;
  background: #fff;
  color: var(--sf-muted);
  cursor: pointer;
}

.sf-upload__remove .sf-icon {
  width: 12px;
  height: 12px;
}

.sf-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  border: 0;
  border-radius: 14px;
  background: var(--sf-rose);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 16px 30px -18px rgba(198, 90, 116, 0.9);
  transition: background-color 0.16s ease;
}

.sf-submit .sf-icon {
  width: 17px;
  height: 17px;
}

.sf-submit:hover {
  background: var(--sf-rose-deep);
}

.sf-submit:disabled {
  opacity: 0.5;
  cursor: default;
  box-shadow: none;
}

.sf-form__note {
  font-size: 11px;
  color: var(--sf-muted);
  text-align: center;
}

.sf-success,
.sf-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 12.5px;
}

.sf-success {
  border: 1px solid #cfe6d6;
  background: var(--sf-green-soft);
  color: #2d5a3d;
}

.sf-error {
  border: 1px solid #f3cdc9;
  background: #fdecea;
  color: #8f1d15;
}

.sf-success .sf-icon,
.sf-error .sf-icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
}

.sf-success div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sf-success strong {
  font-size: 13px;
}

.sf-success span {
  font-size: 12px;
  color: #3f6b4f;
}

/* ---------- доставка ---------- */

.sf-delivery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}

.sf-delivery__card {
  padding: 20px;
}

.sf-delivery__lead {
  font-size: 13.5px;
  color: var(--sf-muted);
}

.sf-facts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.sf-facts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sf-facts .sf-icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--sf-green);
}

.sf-facts div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sf-facts strong {
  font-size: 12.5px;
}

.sf-facts span {
  font-size: 12.5px;
  color: var(--sf-muted);
}

.sf-map {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  background: #eef4e7;
  box-shadow: var(--sf-shadow);
}

.sf-map__frame {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
}

.sf-map__placeholder {
  position: relative;
  height: 100%;
  min-height: 240px;
}

.sf-map__art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-map__label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 26px -22px rgba(70, 35, 45, 0.7);
}

.sf-map__label strong {
  font-size: 12px;
  font-weight: 600;
}

.sf-map__label a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sf-rose);
  white-space: nowrap;
}

.sf-map__label .sf-icon {
  width: 13px;
  height: 13px;
}

/* ---------- соцсети ---------- */

.sf-socials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.sf-social {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--sf-line);
  border-radius: 18px;
  background: var(--sf-surface);
  box-shadow: var(--sf-shadow);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.sf-social:hover {
  transform: translateY(-2px);
  box-shadow: var(--sf-shadow-lift);
}

.sf-social__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sf-social__icon .sf-icon {
  width: 19px;
  height: 19px;
}

.sf-social__icon--vk {
  background: #eaf0f8;
  color: #4a76a8;
}

.sf-social__icon--max {
  background: #efe9fb;
  color: #6b4fd8;
  font-size: 9.5px;
}

.sf-social__icon--tg {
  background: #e6f3fb;
  color: #2a8bc4;
}

.sf-social__icon--phone {
  background: var(--sf-green-soft);
  color: var(--sf-green-deep);
}

.sf-social__label {
  font-size: 13px;
  font-weight: 600;
}

.sf-social__hint {
  font-size: 11px;
  color: var(--sf-muted);
}

/* ---------- подвал ---------- */

.sf-footer {
  margin-top: 48px;
  padding: 26px 0 22px;
  border-top: 1px solid var(--sf-line);
  background: #f9efe9;
}

.sf-footer__top {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sf-footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.sf-footer__brand p {
  margin-top: 2px;
  font-size: 12px;
  color: var(--sf-muted);
}

.sf-footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.sf-footer__col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  color: var(--sf-muted);
}

.sf-footer__col strong {
  margin-bottom: 2px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sf-ink);
}

.sf-footer__col a:hover {
  color: var(--sf-rose);
}

.sf-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--sf-line);
  font-size: 11px;
  color: var(--sf-muted);
}

.sf-footer__bottom a {
  color: var(--sf-green-deep);
  font-weight: 600;
}

/* ---------- нижнее меню ---------- */

.sf-tabbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: center;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--sf-line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 -18px 40px -30px rgba(70, 35, 45, 0.5);
}

.sf-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 0;
  border-radius: 12px;
  background: none;
  font-size: 10.5px;
  color: var(--sf-muted);
  cursor: pointer;
}

.sf-tab .sf-icon {
  width: 21px;
  height: 21px;
}

.sf-tab--call {
  flex-direction: row;
  justify-content: center;
  gap: 7px;
  padding: 12px 10px;
  border-radius: 14px;
  background: var(--sf-rose);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 14px 26px -14px rgba(198, 90, 116, 0.9);
  transform: translateY(-4px);
}

.sf-tab--call .sf-icon {
  width: 18px;
  height: 18px;
}

.sf-tab__badge {
  position: absolute;
  top: -1px;
  right: calc(50% - 24px);
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--sf-rose);
  font-size: 9.5px;
  font-weight: 700;
  color: #fff;
}

.sf-tab__badge[hidden] {
  display: none;
}

/* ---------- корзина ---------- */

.sf-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sf-sheet[hidden] {
  display: none;
}

.sf-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 26, 33, 0.45);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.sf-sheet__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 82vh;
  padding: 18px 16px calc(16px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  background: #fff;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 -30px 60px -30px rgba(43, 26, 33, 0.5);
}

.sf-sheet.is-open .sf-sheet__backdrop {
  opacity: 1;
}

.sf-sheet.is-open .sf-sheet__panel {
  transform: none;
}

.sf-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
}

.sf-sheet__head h2 {
  font-size: 22px;
}

.sf-sheet__close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--sf-line);
  border-radius: 50%;
  background: #fff;
  color: var(--sf-muted);
  cursor: pointer;
}

.sf-sheet__close .sf-icon {
  width: 16px;
  height: 16px;
}

.sf-sheet__body {
  flex: 1;
  overflow-y: auto;
  padding: 4px 0;
}

.sf-sheet__foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--sf-line);
}

.sf-sheet__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--sf-muted);
}

.sf-sheet__total strong {
  font-family: var(--sf-serif);
  font-size: 20px;
  color: var(--sf-ink);
}

.sf-cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--sf-line);
}

.sf-cart-item:last-child {
  border-bottom: 0;
}

.sf-cart-item__media {
  flex: none;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--sf-cream);
}

.sf-cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-cart-item__info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sf-cart-item__title {
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sf-cart-item__price {
  font-size: 12px;
  color: var(--sf-muted);
}

.sf-cart-item__qty {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

.sf-qty {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--sf-line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--sf-ink);
  cursor: pointer;
}

.sf-qty .sf-icon {
  width: 13px;
  height: 13px;
}

.sf-qty--plus {
  border-color: transparent;
  background: var(--sf-rose-soft);
  color: var(--sf-rose);
}

.sf-cart-item__count {
  min-width: 14px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.sf-cart-item__remove {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--sf-muted);
  cursor: pointer;
}

.sf-cart-item__remove:hover {
  background: #fdecea;
  color: #b42318;
}

.sf-cart-item__remove .sf-icon {
  width: 14px;
  height: 14px;
}

.sf-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px 10px;
  text-align: center;
}

.sf-cart-empty .sf-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
  color: var(--sf-rose);
  opacity: 0.7;
}

.sf-cart-empty strong {
  font-family: var(--sf-serif);
  font-size: 17px;
  font-weight: 600;
}

.sf-cart-empty span {
  font-size: 12.5px;
  color: var(--sf-muted);
}

/* ---------- тост ---------- */

.sf-toast {
  position: fixed;
  bottom: 96px;
  left: 50%;
  z-index: 70;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(43, 26, 33, 0.94);
  font-size: 12.5px;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sf-toast[hidden] {
  display: none;
}

.sf-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- каталог ---------- */

.sf-catalog-page {
  margin-top: 8px;
}

.sf-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 12.5px;
  color: var(--sf-muted);
}

.sf-back .sf-icon {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
}

.sf-back:hover {
  color: var(--sf-rose);
}

.sf-products--all {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sf-catalog-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 22px;
  text-align: center;
}

.sf-catalog-cta p {
  font-size: 13px;
  color: var(--sf-muted);
}

.sf-catalog-cta .sf-more {
  width: auto;
  margin-top: 8px;
}

/* ---------- кнопки и категории ---------- */

.sf-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.sf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.sf-button .sf-icon {
  width: 16px;
  height: 16px;
}

.sf-button--primary {
  background: var(--sf-rose);
  color: #fff;
  box-shadow: 0 14px 26px -16px rgba(198, 90, 116, 0.9);
}

.sf-button--primary:hover {
  background: var(--sf-rose-deep);
}

.sf-button--outline {
  border-color: var(--sf-line-strong);
  background: var(--sf-surface);
  color: var(--sf-ink);
}

.sf-button--outline:hover {
  border-color: var(--sf-rose);
  color: var(--sf-rose);
}

.sf-more--filled {
  border-color: var(--sf-rose);
  background: var(--sf-rose);
  color: #fff;
  box-shadow: 0 16px 30px -18px rgba(198, 90, 116, 0.9);
}

.sf-more--filled .sf-icon {
  color: #fff;
}

.sf-more--filled:hover {
  border-color: var(--sf-rose-deep);
  background: var(--sf-rose-deep);
  color: #fff;
}

.sf-categories {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.sf-categories::-webkit-scrollbar {
  display: none;
}

.sf-category {
  flex: none;
  padding: 8px 14px;
  border: 1px solid var(--sf-line-strong);
  border-radius: 999px;
  background: var(--sf-surface);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sf-muted);
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.sf-category:hover {
  border-color: var(--sf-rose);
  color: var(--sf-rose);
}

.sf-category.is-active {
  border-color: var(--sf-rose);
  background: var(--sf-rose);
  color: #fff;
}

/* ---------- карточка товара ---------- */

.sf-product__media {
  display: block;
}

.sf-hero__card:hover strong {
  color: var(--sf-rose);
}

.sf-field__label em {
  font-style: normal;
  font-weight: 400;
  color: var(--sf-muted);
}

/* ---------- страница товара ---------- */

.sf-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 16px;
}

.sf-detail__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  background: var(--sf-cream);
  box-shadow: var(--sf-shadow);
}

.sf-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-detail__info h1 {
  margin-top: 8px;
  font-size: clamp(30px, 5vw, 44px);
}

.sf-detail__price {
  margin-top: 10px;
  font-family: var(--sf-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--sf-rose);
}

.sf-detail__desc {
  margin-top: 12px;
  max-width: 60ch;
  font-size: 14.5px;
  color: var(--sf-muted);
}

.sf-order {
  margin-top: 26px;
  padding: 22px 18px;
  border: 1px solid #f3dfe3;
  border-radius: 26px;
  background: linear-gradient(165deg, #ffffff 0%, #fdf1f4 100%);
  box-shadow: var(--sf-shadow-lift);
}

.sf-order__head h2 {
  margin-top: 6px;
  font-size: clamp(24px, 4.4vw, 30px);
}

.sf-order__head p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--sf-muted);
}

.sf-order .sf-form {
  max-width: none;
  margin-top: 18px;
}

/* ---------- спасибо ---------- */

.sf-thanks__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 34px 16px 10px;
  text-align: center;
}

.sf-thanks__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sf-green-soft);
  color: var(--sf-green-deep);
}

.sf-thanks__icon .sf-icon {
  width: 28px;
  height: 28px;
}

.sf-thanks h1 {
  font-size: clamp(34px, 6vw, 52px);
}

.sf-thanks p {
  max-width: 52ch;
  font-size: 14.5px;
  color: var(--sf-muted);
}

.sf-thanks__card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 10px 16px 10px 10px;
  border: 1px solid var(--sf-line);
  border-radius: 16px;
  background: var(--sf-surface);
  box-shadow: var(--sf-shadow);
  text-align: left;
}

.sf-thanks__card img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}

.sf-thanks__card div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sf-thanks__card strong {
  font-size: 14px;
}

.sf-thanks__card span {
  font-size: 13px;
  font-weight: 600;
  color: var(--sf-rose);
}

.sf-thanks__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.sf-empty-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 40px 16px;
  text-align: center;
}

.sf-empty-page h3 {
  font-size: 20px;
}

.sf-empty-page p {
  font-size: 13.5px;
  color: var(--sf-muted);
}

/* ---------- планшет и десктоп ---------- */

@media (min-width: 560px) {
  .sf-form__row {
    grid-template-columns: 1fr 1fr;
  }

  .sf-hours {
    display: inline-flex;
  }

  .sf-socials__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 900px) {
  body.sf {
    padding-bottom: 104px;
  }

  .sf-shell {
    width: min(1120px, 100% - 64px);
  }

  .sf-intro {
    padding: 34px 0 10px;
  }

  .sf-intro h1 {
    font-size: clamp(44px, 5.2vw, 62px);
  }

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

  .sf-intro__actions {
    margin-top: 26px;
  }

  .sf-button {
    padding: 14px 26px;
    font-size: 15px;
  }

  .sf-categories {
    flex-wrap: wrap;
    overflow: visible;
    margin-top: 18px;
  }

  .sf-detail {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 22px;
  }

  .sf-detail__media {
    aspect-ratio: 4 / 5;
  }

  .sf-order {
    max-width: 720px;
    margin: 36px auto 0;
    padding: 32px;
  }

  .sf-hero {
    margin-top: 22px;
  }

  .sf-hero__frame {
    aspect-ratio: 16 / 9;
    border-radius: 30px;
  }

  .sf-hero__card {
    left: 24px;
    bottom: 24px;
    padding: 12px 18px;
  }

  .sf-about {
    margin-top: 20px;
  }

  .sf-about__card {
    padding: 26px 28px;
  }

  .sf-section {
    margin-top: 64px;
  }

  .sf-gallery__track {
    gap: 16px;
    margin: 18px 0 0;
    padding: 4px 0 12px;
  }

  .sf-gallery__item {
    flex-basis: 236px;
    border-radius: 22px;
  }

  .sf-products {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 18px;
  }

  .sf-products--all {
    grid-template-columns: repeat(5, 1fr);
  }

  .sf-product {
    padding: 9px;
    border-radius: 20px;
  }

  .sf-product__body h3 {
    font-size: 13.5px;
  }

  .sf-price {
    font-size: 14px;
  }

  .sf-open {
    padding: 7px 11px;
    font-size: 11.5px;
  }

  .sf-more {
    width: fit-content;
    margin-inline: auto;
    padding-inline: 28px;
  }

  .sf-steps__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 20px;
  }

  .sf-step {
    padding: 20px;
  }

  .sf-request__card {
    padding: 34px;
    border-radius: 30px;
  }

  .sf-request__head {
    max-width: 620px;
    margin-inline: auto;
    text-align: center;
  }

  .sf-request__head p {
    font-size: 14px;
  }

  .sf-form {
    max-width: 620px;
    gap: 14px;
    margin: 26px auto 0;
  }

  .sf-success,
  .sf-error {
    max-width: 620px;
    margin-inline: auto;
  }

  .sf-delivery__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 16px;
    margin-top: 18px;
  }

  .sf-delivery__card {
    padding: 26px;
  }

  .sf-map {
    min-height: 100%;
  }

  .sf-map__placeholder {
    min-height: 100%;
  }

  .sf-map__art {
    position: absolute;
    inset: 0;
  }

  .sf-footer {
    margin-top: 72px;
    padding: 34px 0 24px;
  }

  .sf-footer__top {
    flex-direction: row;
    justify-content: space-between;
    gap: 48px;
  }

  .sf-footer__cols {
    gap: 64px;
  }

  .sf-tabbar {
    right: auto;
    bottom: 18px;
    left: 50%;
    width: min(520px, calc(100% - 32px));
    padding: 10px 12px;
    border: 1px solid var(--sf-line);
    border-radius: 22px;
    transform: translateX(-50%);
    box-shadow: 0 24px 50px -24px rgba(60, 25, 35, 0.45);
  }

  .sf-tab--call {
    padding: 11px 10px;
    transform: none;
  }

  .sf-toast {
    bottom: 104px;
  }

  .sf-sheet {
    align-items: center;
    padding: 20px;
  }

  .sf-sheet__panel {
    width: min(460px, 100%);
    max-height: 76vh;
    border-radius: 24px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
