/* ===== RESET ===== */
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
/* Общие стили для всех заголовков */
h1, h2, h3, h4, h5, h6 {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-weight: 400;
    
}

/* Размеры и межстрочные интервалы для desktop */
h1 { font-size: 80px; line-height: 1.1; }
h2 { font-size: 65px; line-height: 1.2; }
h3 { font-size: 50px; line-height: 1.3; }
h4 { font-size: 18px; line-height: 1.5; }
h5 { font-size: 16px; line-height: 1.5; }
h6 { font-size: 14px; line-height: 1.5; }

/* Адаптивные стили для планшетов (до 1023px) */
@media (max-width: 1023px) {
    h1 { font-size: 60px; }
    h2 { font-size: 40px; }
    h3 { font-size: 35px; }
    h4 { font-size: 16px; }
    h5 { font-size: 14px; }
    h6 { font-size: 13px; }
}

/* Адаптивные стили для узких планшетов / больших телефонов (до 900px) */
@media (max-width: 900px) {
    h4 { font-size: 15px; }
}

/* Адаптивные стили для мобильных (до 767px) */
@media (max-width: 767px) {
    h1 { font-size: 45px; }
    h2 { font-size: 30px; }
    h3 { font-size: 25px; }
    h4 { font-size: 14px; }
    h5 { font-size: 13px; }
    h6 { font-size: 12px; }
}

.s-main-wrapper {
    display: grid;
    grid-template-rows: auto 1fr auto; /* шапка | контент | футер */
    min-height: 100vh; /* растягиваем на весь экран */
}

/* ===== ULTRA LUX GOLD (SAFE) ===== */
:root {
    --gold: #8c7442;        /* black / antique gold */
    --gold-light: #b39a63;  /* мягкий блик */
    --gold-dark: #5f4c2a;   /* тень */
}

/* ===== BASE TRANSITIONS ===== */
a,
.icon-svg,
.sh-burger span {
    transition: all .3s ease;
}

.s-main-wrapper {
    position: relative;
}

/* ===== HEADER ===== */
.site-header {
    width: 100%;
    position: absolute;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 999999;
}

/* ===== INNER ===== */
.sh-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 12px 20px;
    display: grid;
    grid-template-columns: auto auto 1fr auto auto;
    align-items: center;
    gap: 24px;
}

/* ===== LOGO ===== */
.sh-logo {
    position: relative;
    z-index: 2;
}

.sh-logo img {
    display: block;
    height: 30px;
}

.sh-logo a:hover img {
    filter:
        drop-shadow(0 4px 10px rgba(0,0,0,.2))
        drop-shadow(0 0 6px rgba(140,116,66,.45));
}

/* ===== INFO ===== */
.sh-info {
    font-size: 18px;
    line-height: 1.25;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* ===== PHONE ===== */
.sh-phone {
    display: inline-block;
    margin-top: 2px;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.sh-phone:hover {
    color: var(--gold);
}

/* ===== MOBILE PHONE ===== */
.sh-phone-mobile {
    display: none;
}

.sh-phone-mobile a {
    color: #000;
    text-decoration: none;
}

.sh-phone-mobile a:hover {
    color: var(--gold);
}

/* ===== MENU ===== */
.sh-menu {
    display: flex;
    gap: 24px;
    justify-self: end;
}

.sh-menu a {
    font-size: 18px;
    text-decoration: none;
    color: #2e2e2e;
    font-weight: 600;
    position: relative;
    font-family: 'Playfair Display', serif;
}

.sh-menu a:hover {
    color: var(--gold);
}

.sh-menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--gold-light),
        transparent
    );
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform .35s ease;
}

.sh-menu a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* ===== ACTIONS ===== */
.sh-actions {
    display: flex;
    gap: 24px;
    justify-self: end;
}

/* ===== ICONS ===== */
.icon-btn {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #000;
    stroke-width: 1.75;
}

.icon-btn:hover .icon-svg {
    stroke: var(--gold);
    filter: drop-shadow(0 0 3px rgba(140,116,66,.4));
}

/* ===== BURGER ===== */
.sh-burger {
    display: none;
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    position: relative;
    cursor: pointer;
    justify-self: end;
}

.sh-burger span {
    position: absolute;
    left: 7px;
    width: 20px;
    height: 2px;
    background: #2e2e2e;
}

.sh-burger:hover span {
    background: var(--gold);
}

.sh-burger span:nth-child(1) { top: 10px; }
.sh-burger span:nth-child(2) { top: 16px; }
.sh-burger span:nth-child(3) { top: 22px; }

.sh-burger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 16px;
    background: var(--gold);
}

.sh-burger.active span:nth-child(2) {
    opacity: 0;
}

.sh-burger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 16px;
    background: var(--gold);
}

/* ===== DESKTOP — BIG LOGO ===== */
@media (min-width:1025px) {
    .sh-logo img {
        height: 70px;
        margin: -12px 0;
        transform: scale(1.08);
        transform-origin: left center;
        filter: drop-shadow(0 4px 8px rgba(0,0,0,.15));
        transition: transform .25s ease, filter .25s ease;
    }

    .sh-logo a:hover img {
        transform: scale(1.12);
    }
}

/* ===== TABLET & MOBILE ===== */
@media (max-width:1024px) {

    .sh-inner {
        grid-template-columns: auto 1fr auto;
    }

    .sh-info {
        display: none;
    }

    .sh-logo img {
        height: 34px;
        margin: -6px 0;
        transform: scale(1.15);
    }

    .sh-phone-mobile {
        display: block;
        grid-column: 2;
        text-align: center;
    }

    .sh-phone-mobile a {
        font-size: 18px;
        font-weight: 700;
        white-space: nowrap;
    }

    .sh-menu {
        position: absolute;
        left: 16px;
        right: 0px;
        top: 100%;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        flex-direction: column;
        padding: 18px;
        display: none;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,.08);
        gap: 16px;
    }

    .sh-menu.open {
        display: flex;
        
    }

    .sh-actions {
        width: 100%;
        justify-content: center;
        padding-top: 14px;
        border-top: 1px solid rgba(0,0,0,.08);
    }

    .sh-burger {
        display: block;
        grid-column: 3;
    }
}

/* ===== SMALL MOBILE ===== */
@media (max-width:600px) {
    .sh-inner {
        padding: 15px 12px;
        gap: 12px;
    }

    .sh-logo img {
        height: 45px;
        margin: -8px 0;
        transform: scale(1.2);
    }
}
.site-footer {
    position: relative;
    background: url("../img/footer_bg.webp") center 30% / cover no-repeat;
    padding: 80px 0 30px;
    color: #000;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        #ffffff 0%,
        rgba(255,255,255,0.95) 15%,
        rgba(255,255,255,0.7) 35%,
        rgba(255,255,255,0.3) 60%,
        rgba(255,255,255,0) 100%
    );
}

/* ========================= FOOTER — DESKTOP ========================= */

.footer-inner {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 0.3fr 2.5fr;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.footer-logo img {
  max-width: 250px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .footer-logo img:hover {
    transform: scale(1.06);
  }
}

.footer-text {
  font-size: 14px;
  line-height: 1.6;
  font-family: 'Playfair Display', serif;
}

.footer-bottom {
  margin-top: auto;
  margin-top: 24px;
  font-size: 13px;
}

.footer-contacts h4,
.footer-menu h4,
.footer-socials h4 {
  font-size: 18px;
  /*font-family: 'Playfair Display', serif;
  margin: 18px 0 10px;*/
}

.footer-contacts p,
.footer-contacts a {
  font-size: 14px;
  line-height: 1.6;
  color: #000;
  text-decoration: none;
  display: block;
  font-family: 'Playfair Display', serif;
}

.footer-menu a {
  font-size: 14px;
  line-height: 1.6;
  color: #000;
  text-decoration: none;
  display: block;
  width: fit-content;
  margin-bottom: 6px;
  font-weight: 400;
  position: relative;
  transition: color 0.25s ease;
  font-family: 'Playfair Display', serif;
}

.footer-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-light),
    transparent
  );
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  .footer-menu a:hover {
    color: var(--gold);
  }

  .footer-menu a:hover::after {
    transform: scaleX(1);
  }
}

/* ========================= SOCIALS ========================= */

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.social-links a,
.social-links svg {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a {
  transition: transform 0.25s ease;
}

@media (hover: hover) {
  .social-links a:hover {
    transform: scale(1.12);
  }
}

/* ========================= MAP ========================= */

.footer-map {
  margin-top: 20px;
}

.footer-map iframe {
  width: 100%;
  height: 400px;
  border-radius: 16px;
}

.footer-map-title {
  font-size: 16px;
  margin-bottom: 12px;
}

/* ========================= MOBILE — FINAL ========================= */

@media (max-width: 900px) {

  .footer-inner {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    gap: 0;
  }

  .footer-inner > * {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .site-footer {
    padding: 0;
  }

  /* ORDER */
  .footer-contacts { order: 1; }
  .footer-map      { order: 2; }
  .footer-menu     { order: 3; }
  .footer-brand    { order: 4; }

  /* SECTIONS */
  .footer-contacts,
  .footer-brand {
    padding: 14px 0;
    border-top: 1px solid var(--gold-light);
    text-align: start;
  }

  .footer-contacts h4,
  .footer-menu h4,
  .footer-socials h4 {
    /*font-size: 18px;*/
    margin: 0 0 12px;
    padding-top: 14px;
  }

  .footer-contacts p,
  .footer-contacts a,
  .footer-menu a {
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
  }

  /* MENU */
  .footer-menu {
    padding: 14px 0;
    border-top: 0;
  }

  .footer-menu a {
    width: max-content;
  }

  .footer-menu a::after {
    display: none;
  }

  /* SOCIALS */
  .social-links {
    justify-content: start;
    gap: 16px;
    margin-top: 12px;
    padding-bottom: 14px;
  }

  .social-links a,
  .social-links svg {
    width: 44px;
    height: 44px;
  }

  /* MAP */
  .footer-map {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-top: 0;
  }

  .footer-map-title {
    font-size: 20px;
    text-align: center;
    margin: 24px 20px 16px;
  }

  .footer-map iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 400px;
    border: none;
  }

  /* BRAND */
  .footer-brand {
    align-items: center;
  }

  .footer-logo img {
    margin-bottom: 16px;
  }

  .footer-bottom {
    margin-top: 16px;
    font-size: 13px;
    text-align: center;
  }
}
/* ================================
   PAGE HERO
================================ */

.s-page-hero {
    position: relative;
    width: 100%;
    min-height: 800px;
    display: flex;
    align-items: flex-end;
    overflow: hidden; /* чтобы картинка не выходила за блок */
}

.s-page-hero__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* сохранит пропорции и покрытие блока */
    object-position: center 75%; /* как было в background-position */
    z-index: -1; /* чтобы контент можно было ставить поверх картинки */
}



/* контейнер заголовка */
.s-page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px 40px;
    width: 100%;
    text-align: center;
}

/* заголовок */
.s-page-title {
    color: #000;
    margin: 0;
}

/* ================================
   PAGE CONTENT
================================ */

.s-text-wrapper {
    
    margin: 0px auto 0;
}

.s-user-content {
    padding: 0 24px;
}

/* ================================
   TABLET
================================ */

@media (max-width: 1024px) {
    .s-page-hero {
        min-height: 70vh;
    }

    .s-page-hero__inner {
        padding: 0 20px 32px;
    }

    .s-page-title {
       
    }

    .s-text-wrapper {
        margin-top: 0px;
    }
}

/* ================================
   MOBILE
================================ */

@media (max-width: 767px) {
    .s-page-hero {
        min-height: 60vh;
    }

    .s-page-hero__inner {
        padding: 0 16px 24px;
    }

    .s-page-title {
    }

    .s-text-wrapper {
        margin-top: 0px;
    }

    .s-user-content {
        padding: 0 16px;
    }
}

.content-wrapper {
    display: flex;
    justify-content: center;
}

.content-block {
    max-width: 1300px;
    width: 100%;
    padding: 20px;
    color: #333;
    text-align: left; /* текст слева */
    font-family: "Playfair Display", serif;
}

 
.content-block h2 {
    /* H2
    font-style: italic;
    font-size: 65px;
    font-weight: 400;
    line-height: 1.2;*/
    margin: 0 0 20px;
}

 
.content-block h3 {/* H3
    font-style: italic;
    font-size: 28px;
    font-weight: 500;
    margin: 30px 0 15px;*/
}


.content-block h4 {/* H4 
    
    font-size: 27px;
    line-height: 1.7;
    font-style: italic;
    font-weight: 300;
    font-family: "Playfair Display", serif;*/
    margin: 0;
}

/* UL и P */
.content-block ul,
.content-block p {
    margin: 0;
    font-size: 25px;
    line-height: 1.7;
    font-style: italic;
    font-family: "Playfair Display", serif;
    padding: 0 0 40px 0;
}

/* UL отступ слева для маркеров */
.content-block ul {
    padding-left: 20px;
}

/* Блоки с картинкой и текстом */
.menu-item {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.menu-item .menu-image img {
    max-width: 640px;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.menu-item .menu-text {
    flex: 1;
    text-align: left; /* текст слева */
}

/* Шахматное расположение картинок */
.menu-item.reverse {
    flex-direction: row-reverse;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .content-block ul,
    .content-block p {
        font-size: 20px;
    }
    .menu-item {margin-bottom: 10px;}
    .menu-item, .menu-item.reverse {
        flex-direction: column;
    }
    .menu-item .menu-image img,
    .menu-item.reverse .menu-image img {
        margin: 0 auto 20px; /* только картинки центрированы */
    }
    .menu-item .menu-text {
        text-align: left; /* текст остаётся слева */
    }
}
/* =========================================
   QR PAGE — ФОТО РЯДОМ С H2
   ========================================= */

.qr-section {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 80px 0;
}

.qr-section.reverse {
    flex-direction: row-reverse;
}

.qr-section-image {
    flex: 1;
}

.qr-section-image img {
    width: 100%;
    max-width: 640px;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.qr-section-content {
    flex: 1;
    text-align: left; /* текст слева */
}

.qr-section-content h2 {
    margin: 0 0 25px;
}

/* Отступы для текста внутри QR блоков */
.qr-section-content p,
.qr-section-content ul {
    padding-bottom: 20px;
}

/* =========================================
   АДАПТИВ
   ========================================= */

@media (max-width: 1024px) {

    .qr-section,
    .qr-section.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .qr-section-image img {
        max-width: 100%;
        margin: 0 auto 20px;
    }

    .qr-section-content {
        text-align: left;
    }
}
.wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

/* Фильтры */
.tabs {
  margin-bottom: 20px;
}

.tabs a {
    display: inline-block;
    padding: 14px 26px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.75);

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.45),
        rgba(0,0,0,.15)
    ), #2e2e2e;

    border: 1px solid rgba(255,255,255,0.08);
    transition: all .35s ease;
}

/* Hover */

.tabs a:hover {
    color: #fff;
    border-color: var(--gold);
    box-shadow:
        0 0 0 1px var(--gold-dark),
        0 4px 14px rgba(140,116,66,.25);

    background: linear-gradient(
        to bottom,
        var(--gold-light),
        var(--gold-dark)
    );
}

/* Active */

.tabs a.active,
.tabs a[aria-selected="true"] {
    color: #fff;
    background: linear-gradient(
        to bottom,
        var(--gold-light),
        var(--gold)
    );

    border-color: var(--gold);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.25),
        0 0 12px rgba(140,116,66,.35);
}
/* Grid галерея */
.portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 20px;
}

.portfolio-item figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 0;
  transition: all 0.3s ease;
}

.portfolio-item img {
  width: 100%;
  display: block;
  transition: all 0.3s ease;
}

.portfolio-item:hover img {
  opacity: 0.3;
  transform: scale(1.05);
}

.portfolio-item h3 {
  position: absolute;
  bottom: 100%;
  width: 100%;
  text-align: center;
  color: #fff;
  margin: 0;
  padding: 0.5em 0;
  text-transform: uppercase;
}

.portfolio-item figcaption {
  position: absolute;
  width: 100%;
  top: 100%;
  left: 0;
  text-align: center;
  transition: all 0.2s ease-in-out;
}

.portfolio-item:hover figcaption {
  top: 50%;
  margin-top: -25px;
}
/* =====================================================
   PROFILE PAGE — FULL CSS (FINAL)
===================================================== */

/* Отступ после hero */
.s-profile-wrapper {
    margin-top: 80px;
}

/* =====================================================
   HEADER
===================================================== */

.page-header-wrapper {
    margin-bottom: 40px;
}

.page-header {
    margin: 0;
}

/* =====================================================
   SUCCESS MESSAGE
===================================================== */

.hint-wrapper.is-success {
    padding: 18px 24px;
    margin-bottom: 40px;
    border: 1px solid var(--gold-light);
    background: linear-gradient(
        to bottom,
        rgba(140,116,66,.08),
        rgba(140,116,66,.02)
    );
    font-family: "Playfair Display", serif;
    font-size: 18px;
    font-style: italic;
    border-radius: 8px;
}

/* =====================================================
   PROFILE DATA (VIEW MODE)
===================================================== */

.wa-form {
    max-width: 720px;
}

.wa-field {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.wa-name {
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 6px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.wa-value {
    font-size: 22px;
    font-style: italic;
    font-family: "Playfair Display", serif;
    color: #000;
}

/* Email */

.wa-value a.inline {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-style: italic;
    color: #000;
    text-decoration: none;
    position: relative;
    transition: color .3s ease;
}

.wa-value a.inline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--gold-light),
        transparent
    );
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .35s ease;
}

.wa-value a.inline:hover {
    color: var(--gold);
}

.wa-value a.inline:hover::after {
    transform: scaleX(1);
}

/* =====================================================
   EDIT MODE
===================================================== */

#wa-my-info-edit-wrapper input:not([type="button"]):not([type="submit"]),
#wa-my-info-edit-wrapper select,
#wa-my-info-edit-wrapper textarea {

    width: 100%;
    padding: 14px 16px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,.15);

    font-family: "Playfair Display", serif;
    font-size: 18px;

    background: #fff;
    transition: all .25s ease;
}

#wa-my-info-edit-wrapper input:focus,
#wa-my-info-edit-wrapper select:focus,
#wa-my-info-edit-wrapper textarea:focus {

    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(140,116,66,.15);
}

/* =====================================================
   BUTTONS — EXACT LIKE .tabs a
===================================================== */

#wa-my-info-edit,
#wa-my-info-wrapper .button-block input[type="submit"],
#wa-my-info-wrapper .button-block input[type="button"] {

    display: inline-block;
    padding: 14px 26px;              /* ТОЧНО как .tabs a */
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.2;
    height: auto;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.45),
            rgba(0,0,0,.15)
        ),
        #2e2e2e;

    color: rgba(255,255,255,0.75);
    border: 1px solid rgba(255,255,255,0.08);

    cursor: pointer;
    transition: all .35s ease;
}

/* Hover */

#wa-my-info-edit:hover,
#wa-my-info-wrapper .button-block input[type="submit"]:hover,
#wa-my-info-wrapper .button-block input[type="button"]:hover {

    color: #fff;
    border-color: var(--gold);

    box-shadow:
        0 0 0 1px var(--gold-dark),
        0 4px 14px rgba(140,116,66,.25);

    background:
        linear-gradient(
            to bottom,
            var(--gold-light),
            var(--gold-dark)
        );
}

/* =====================================================
   SOCIAL ACCOUNTS
===================================================== */

.section-header {
    margin: 80px 0 30px;
}

.auth-type-wrapper {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.auth-item {
    padding: 12px 20px;
    border: 1px solid rgba(0,0,0,.1);
    background: #fff;
    transition: all .3s ease;
}

.auth-item img {
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
}

.auth-item span,
.auth-item a {
    font-family: "Playfair Display", serif;
    font-size: 18px;
    text-decoration: none;
    color: #000;
}

.auth-item:hover {
    border-color: var(--gold);
    box-shadow: 0 6px 16px rgba(140,116,66,.15);
}

/* =====================================================
   ADAPTIVE
===================================================== */

@media (max-width: 900px) {

    .wa-form {
        max-width: 100%;
    }

    .wa-value {
        font-size: 18px;
    }

    #wa-my-info-edit,
    #wa-my-info-wrapper .button-block input {
        width: 100%;
        text-align: center;
    }

    .auth-type-wrapper {
        flex-direction: column;
    }
}
.is-hidden {
    display: none;
}
/* =====================================================
   PROFILE FORM BUTTONS (Save / Cancel)
===================================================== */

/* Контейнер кнопок */
#wa-my-info-edit-wrapper .button-block .wa-value {
    display: flex;
    gap: 15px;              /* расстояние между кнопками */
    align-items: center;
}

/* Кнопка Save */
#wa-my-info-edit-wrapper input[type="submit"] {
    min-width: 140px;
}

/* Кнопка Cancel */
#wa-my-info-cancel {
    min-width: 140px;
}
/* =====================================================
   LOGIN PAGE STYLING
===================================================== */

/* Центрируем форму */
.s-login-page .wa-form {
    max-width: 420px;
    margin: 0 auto;
}

/* Поля */
.s-login-page .wa-field {
    margin-bottom: 18px;
}

.s-login-page .wa-field .wa-value input[type="text"],
.s-login-page .wa-field .wa-value input[type="password"],
.s-login-page .wa-field .wa-value input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s ease;
}

.s-login-page .wa-field .wa-value input:focus {
    border-color: #999;
    outline: none;
}

/* Блок кнопок */
.s-login-page .wa-field:last-child .wa-value {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 10px;
}

/* Кнопка Вход */
.s-login-page input[type="submit"] {
    min-width: 140px;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    background: #222;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.s-login-page input[type="submit"]:hover {
    opacity: 0.85;
}

/* Ссылки (Забыли пароль и т.п.) */
.s-login-page .wa-value a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
}

.s-login-page .wa-value a:hover {
    text-decoration: underline;
}

/* OAuth кнопки */
.s-login-page .auth-type-wrapper {
    margin-top: 20px;
}

.s-login-page .auth-item {
    margin-bottom: 10px;
}
/* =====================================================
   SIGNUP LINK — в стиле .wa-value a.inline
===================================================== */

.s-login-page a[data-type="signup"] {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-style: italic;
    color: #000;
    text-decoration: none;
    position: relative;
    transition: color .3s ease;
}

.s-login-page a[data-type="signup"]::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--gold-light),
        transparent
    );
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .35s ease;
}

.s-login-page a[data-type="signup"]:hover {
    color: var(--gold);
}

.s-login-page a[data-type="signup"]:hover::after {
    transform: scaleX(1);
}
/* =====================================================
   FORGOT PASSWORD LINK — стиль как inline, без изменения размера
===================================================== */

.s-login-page a[data-type="forgotpassword"] {
    color: #000;
    text-decoration: none;
    position: relative;
    transition: color .3s ease;
}

.s-login-page a[data-type="forgotpassword"]::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--gold-light),
        transparent
    );
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .35s ease;
}

.s-login-page a[data-type="forgotpassword"]:hover {
    color: var(--gold);
}

.s-login-page a[data-type="forgotpassword"]:hover::after {
    transform: scaleX(1);
}
/* =====================================================
   LOGIN FORM WIDTH — FIX (PRO)
===================================================== */

/* главный контейнер полей логина */
.s-login-page .wa-login-form-fields {
    max-width: 420px;   /* можешь поставить 480 или 520 если нужно */
    margin: 0 auto;
    width: 100%;
}

/* чтобы форма не растягивалась */
.s-login-page .wa-login-form-fields .wa-form {
    max-width: 100%;
}

/* подстраховка для внутренних блоков */
.s-login-page .wa-login-form-fields .wa-field {
    width: 100%;
}
/* Обязательный стиль для Swiper */
.swiper-container {
  width: 100%;
  overflow: hidden; /* прячем лишние слайды */
}

.swiper-slide img {
  width: 100%;
  display: block;
}

/* Опционально: чтобы слайды не растягивались по высоте */
.swiper-slide {
  height: auto;
}