/* Styles for shop_page CMS content (Shop → Настройки → Страницы):
   "О магазине" (about/), "Страница доставки" (delivery/), "Информация об оплате"
   (payment-rules/). Originally inline <style> blocks inside each page's rich-text
   content — moved here because an inline <style> in <body> is invalid HTML5 and
   was flagged by the W3C validator on every one of these pages. */

.pflame-page-content__title {
  display: none;
}

/* ---- about/ ---- */
.brand-list {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 70px;
  padding: 0 16px;
}
.brand-list__item {
  width: fit-content;
  display: flex;
  height: 40px;
  align-items: center;
  max-width: 200px;
}
.brand-list__item img {
  width: auto;
  max-width: 100%;
  height: 100%;
}
.about-page__content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 32px;
  gap: 40px;
  border-radius: 20px;
  background: #F3F4F7;
  margin-top: 20px;
}
.about-page__content * {
  margin: 0;
}
.about-page__content h2 {
  color: #171717;
  font-family: Montserrat;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
.about-page__content p {
  color: #171717;
  font-family: Montserrat;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.about-page__col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-page__img-container {
  position: relative;
  width: 100%;
  height: 317px;
  border-radius: 20px;
  overflow: hidden;
}
.about-page__img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about-page__title {
  position: absolute;
  left: 32px;
  bottom: 32px;
  z-index: 1;
  color: #FFF;
  font-family: Montserrat;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 156%;
}
@media (max-width: 768px) {
  .about-page__content {
    padding: 16px;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .brand-list {
    margin-top: 40px;
  }
  .about-page__content h2 {
    font-size: 1rem;
  }
  .about-page__img-container {
    height: auto;
    border-radius: 0;
    overflow: visible;
  }
  .about-page__img-container img {
    display: block;
    height: 220px;
    border-radius: 20px;
  }
}
@media (max-width: 1220px) {
  .about-page__title {
    font-size: 24px;
  }
}
@media (max-width: 768px) {
  .about-page__title {
    position: static;
    display: block;
    margin-top: 16px;
    color: #171717;
    line-height: normal;
  }
}

/* ---- delivery/ ---- */
.app-delivery {
  font-family: 'Montserrat', sans-serif;
}
.app-delivery__container {
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
}
.app-delivery__block {
  border-radius: 20px;
  background-color: #F3F4F7;
  padding: 32px 20px;
}
.app-delivery__title {
  color: #171717;
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 4px;
}
.app-delivery__info {
  display: grid;
  grid-template-columns: 1fr 434px;
  gap: 16px;
}
.app-delivery__copy {
  color: #171717;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  max-width: 80%;
}
.app-delivery__copy--muted {
  opacity: 0.4;
}
.app-delivery__subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #171717;
  margin-bottom: 4px;
}
.app-delivery__phone {
  padding: 4px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #171717;
  font-size: 20px;
  font-weight: 700;
  border-radius: 20px;
  background-color: #fff;
  border: 1px solid #E9E9E9;
}
.app-delivery__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.app-delivery__card {
  border-radius: 20px;
  border: 1px solid #E9E9E9;
  background-color: #fff;
  padding: 20px;
}
.app-delivery__card-title {
  color: #171717;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}
.app-delivery__card-text {
  color: #171717;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
}
.app-delivery__card-list {
  list-style: disc;
  color: #171717;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 16px;
}
.app-delivery__payment {
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 20px;
}
.app-delivery__payment-title {
  color: #171717;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 4px;
  margin-top: 24px;
}
.app-delivery__payment-text {
  color: #171717;
  font-size: 14px;
  font-weight: 400;
}
.app-delivery__payment-subtitle {
  margin-top: 20px;
  color: #171717;
  font-size: 16px;
  font-weight: 600;
}
.app-delivery__payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.app-delivery__payment-method {
  padding: 12px;
  border-radius: 20px;
  border: 1px solid #E9E9E9;
  width: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.app-delivery__payment-method--cash {
  background-color: #F3F4F7;
}
.app-delivery__payment-method--mir {
  background-color: #D7DFF9;
}
.app-delivery__payment-method--sbp {
  background-color: #FFE9DE;
}
.app-delivery__payment-method-title {
  display: block;
  color: #171717;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}
.app-delivery__payment-method-caption {
  display: block;
  color: #171717;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  margin-top: 4px;
}
.app-delivery__payment-method-label {
  display: block;
  color: #171717;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  margin-top: 4px;
}
.app-delivery__payment-method-icon {
  display: block;
  margin-left: auto;
  margin-right: auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.app-delivery__payment-method-icon--mir {
  width: 56px;
  height: 20px;
  background-image: url('/wa-data/public/site/themes/pflame2026v2/assets/logo/i-pay.svg');
}
.app-delivery__payment-method-icon--sbp {
  width: 56px;
  height: 30px;
  background-image: url('/wa-data/public/site/themes/pflame2026v2/assets/logo/spb.svg');
}
@media (max-width: 1179px) {
  .app-delivery__info {
    grid-template-columns: 1fr;
  }
  .app-delivery__copy {
    max-width: none;
  }
  .app-delivery__cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .app-delivery__container {
    padding-top: 0;
  }
  .app-delivery__block {
    padding: var(--space-16);
  }
  .app-delivery__title {
    margin: 0 0 var(--space-16);
    font-size: 24px;
    line-height: normal;
  }
  .app-delivery__copy {
    margin: 0 0 var(--space-12);
  }
  .app-delivery__subtitle {
    margin: 0 0 var(--space-8);
  }
  .app-delivery__phone {
    font-size: 18px;
  }
  .app-delivery__cards {
    gap: var(--space-8);
    margin-top: var(--space-16);
  }
  .app-delivery__card {
    padding: var(--space-16);
  }
  .app-delivery__card-title {
    margin: 0 0 var(--space-8);
    line-height: normal;
  }
  .app-delivery__card-text {
    margin: 0 0 var(--space-12);
  }
  .app-delivery__card-list {
    margin: 0;
  }
  .app-delivery__payment {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
  }
  .app-delivery__payment-title {
    margin: 36px 0 var(--space-12);
    font-size: 24px;
    line-height: normal;
  }
  .app-delivery__payment-methods {
    flex-direction: column;
    align-items: center;
  }
  .app-delivery__payment-method {
    width: 100%;
    max-width: 400px;
  }
}

/* ---- payment-rules/ ---- */
.payment-title {
  color: #171717;
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 4px;
}
/* Разделы — как заголовки разделов оферты (Figma 7437:26788) */
.payment-title:not(:first-child) {
  margin: var(--space-32) 0 var(--space-16);
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  text-transform: uppercase;
}
.payment-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-24);
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.payment-table th,
.payment-table td {
  padding: 10px var(--space-12);
  border: 1px solid var(--color-header-3);
  text-align: left;
  vertical-align: top;
}
@media (min-width: 768px) {
  .payment-table {
    display: table;
    font-size: 14px;
  }
  .payment-table th,
  .payment-table td {
    padding: 12px var(--space-16);
  }
}
@media (max-width: 1220px) {
  .payment-title {
    font-size: 24px;
  }
}
@media (max-width: 767px) {
  .payment-title {
    line-height: normal;
    margin-bottom: var(--space-20);
  }
  .payment-title:not(:first-child) {
    margin: var(--space-24) 0 var(--space-16);
    font-size: 1rem;
    line-height: 22px;
  }
  .payment-table {
    font-size: 12px;
    line-height: 16px;
  }
}

/* ---- kontakty/ (Figma 7977:30441) ---- */
.pflame-contacts {
  display: grid;
  grid-template-columns: 326px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  font-family: 'Montserrat', sans-serif;
  color: #171717;
}
.pflame-contacts__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pflame-contacts__title {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  line-height: normal;
}
.pflame-contacts__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pflame-contacts__label {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}
.pflame-contacts__card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  border: 1px solid #e9e9e9;
  border-radius: 20px;
}
.pflame-contacts__row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.pflame-contacts__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
}
.pflame-contacts__icon img {
  display: block;
}
.pflame-contacts__value {
  min-width: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  overflow-wrap: anywhere;
}
.pflame-contacts__address {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: normal;
}
.pflame-contacts__address-city {
  font-size: 20px;
  font-weight: 600;
}
.pflame-contacts__address-note {
  font-size: 14px;
  font-weight: 500;
}
.pflame-contacts__messengers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pflame-contacts__messenger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(222, 229, 235, 0.3);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  color: #171717;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.pflame-contacts__messenger:hover {
  background: rgba(222, 229, 235, 0.6);
}
.pflame-contacts__messenger img {
  display: block;
  flex-shrink: 0;
}
.pflame-contacts__map {
  display: block;
  aspect-ratio: 1014 / 476;
  border-radius: 20px;
  overflow: hidden;
}
.pflame-contacts__map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 1179px) {
  .pflame-contacts {
    grid-template-columns: minmax(0, 1fr);
  }
  .pflame-contacts__card,
  .pflame-contacts__messengers {
    max-width: 480px;
  }
}
/* Figma 8023:31190 (320) */
@media (max-width: 767px) {
  .pflame-contacts {
    gap: 40px;
  }
  .pflame-contacts__title {
    font-size: 24px;
  }
  .pflame-contacts__card,
  .pflame-contacts__messengers {
    max-width: none;
  }
  .pflame-contacts__map {
    aspect-ratio: 304 / 476;
  }
}
@media (max-width: 359px) {
  .pflame-contacts__card {
    padding: 16px;
  }
  .pflame-contacts__value,
  .pflame-contacts__address-city {
    font-size: 18px;
  }
}
</content>
