/* ============================================================
   BUNDLE.CSS — СОБРАННЫЙ ФАЙЛ, РУКАМИ НЕ ПРАВИТЬ.
   Исходники: fonts.css, main.css, sections.css, components.css
   Пересборка: python build-css.py
   ============================================================ */


/* ===== fonts.css ===== */
/* =========================================================
   ШРИФТЫ — локальные копии.
   Раньше грузились с fonts.googleapis.com: чужой сервер,
   который в России часто отвечает медленно, а до его ответа
   текст на странице не показывается. Здесь только нужные
   наборы символов — кириллица и латиница.
   Файл собран скриптом, руками не правится.
   ========================================================= */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-400-italic-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-400-italic-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-400-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-600-italic-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-600-italic-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-600-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-600-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-300-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-300-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-400-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-500-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-600-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-700-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Montserrat-400-italic-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Montserrat-400-italic-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Montserrat-400-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Montserrat-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/Montserrat-300-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/Montserrat-300-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/Montserrat-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/Montserrat-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Montserrat-400-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Montserrat-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Montserrat-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Montserrat-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Montserrat-500-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Montserrat-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Montserrat-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Montserrat-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Montserrat-600-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Montserrat-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Montserrat-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Montserrat-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Montserrat-700-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Montserrat-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Montserrat-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Montserrat-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ===== main.css ===== */
/* =========================================
   MAIN.CSS — Variables, Reset, Base, Buttons
   ========================================= */

/* --- Custom Properties --- */
:root {
  --bg:           #0A0A0A;
  --bg-2:         #111111;
  --bg-3:         #1A1A1A;
  --bg-4:         #222222;
  --gold:         #C9A84C;
  --gold-light:   #E8C87A;
  --gold-dark:    #8B6914;
  --gold-subtle:  rgba(201, 168, 76, 0.08);
  --gold-border:  rgba(201, 168, 76, 0.25);
  --red:          #8B1A1A;
  --text:         #F5F5F0;
  --text-muted:   #9A9A94;
  --text-dim:     #555550;
  --border:       #2A2A2A;
  --border-light: #333333;

  --font-serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-sans:  'Montserrat', system-ui, -apple-system, sans-serif;

  --container:      1280px;
  --container-wide: 1440px;

  --ease-out:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-expo:   cubic-bezier(0.19, 1, 0.22, 1);

  --radius-sm: 2px;
  --radius:    4px;
  --radius-lg: 8px;

  --z-cookie:  1000;
  --z-nav:     900;
  --z-overlay: 800;
  --z-modal:   1100;
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;

  /* Якорные ссылки в шапке («О нас», «Доставка», «Контакты») ведут к секции,
     а шапка приклеена к верху экрана и накрывает её заголовок. Раньше отступ
     подставлял Lenis (scrollTo с offset -90); библиотеку убрали ради 12 КБ и
     ради того, чтобы не перехватывать колесо мыши — теперь то же самое делает
     браузер сам. Значение = высота шапки (1.5rem + 1.5rem + строка) с запасом. */
  scroll-padding-top: 6rem;
}

/* Кому анимации противопоказаны, тому и мгновенный перескок к якорю лучше
   плавной прокрутки: она в этом режиме вызывает то же головокружение. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

input,
textarea,
select {
  font-family: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.section-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 3.5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 480px;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad {
  padding: 8rem 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.25rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.28s var(--ease-out),
              color 0.28s var(--ease-out),
              border-color 0.28s var(--ease-out),
              transform 0.28s var(--ease-out),
              box-shadow 0.28s var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover::after {
  opacity: 1;
}

.btn--primary {
  background: var(--gold);
  color: #000000;
}

.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.25);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  padding: 0.75rem 1.75rem;
}

.btn--ghost:hover {
  background: var(--gold-subtle);
  border-color: var(--gold);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.65rem;
}

/* --- Decorative Gold Line --- */
.gold-line {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 2rem;
}

/* --- Color Utilities --- */
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--text-muted); }
.text-serif  { font-family: var(--font-serif); }
.bg-2        { background-color: var(--bg-2); }
.bg-3        { background-color: var(--bg-3); }

/* .scroll-reveal is a GSAP marker only — no CSS hidden state.
   GSAP uses onEnter callback so elements are visible by default. */

/* --- Media queries breakpoints --- */
@media (max-width: 1024px) {
  .section-pad { padding: 6rem 0; }
}

@media (max-width: 768px) {
  .section-pad { padding: 4rem 0; }
  .container   { padding: 0 1.25rem; }
}

@media (max-width: 480px) {
  .section-pad { padding: 3rem 0; }
}

/* ---- Деттерент от копирования ФОТО (см. js/protect.js) ----
   Раньше выделение было запрещено на всём body. Из-за этого покупатель
   не мог выделить и скопировать телефон, адрес, артикул или название
   изделия — ни мышью, ни долгим нажатием на телефоне. Контент это всё
   равно не защищало, а оформить заказ мешало. Теперь блокировка снята
   с текста и оставлена только на картинках. */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;   /* iOS: long-press «Сохранить фото» */
}


/* ===== sections.css ===== */
/* =========================================
   SECTIONS.CSS — Per-section styles
   ========================================= */

/* ---- HERO (Editorial Split) ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 2rem;
  gap: 0;
  min-height: 100svh;
}

/* Left column */
.hero__content {
  padding: 8rem 4rem 8rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero__label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  opacity: 0;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 7vw, 8.5rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 2.5rem;
  width: 100%;
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .line--gold {
  color: var(--gold);
}

.hero__title .line-inner {
  display: block;
  transform: translateY(110%);
}

.hero__desc {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 400px;
  margin-bottom: 3rem;
  opacity: 0;
}

.hero__cta {
  display: flex;
  gap: 2.25rem;
  flex-wrap: wrap;
  opacity: 0;
}

/* Right column */
.hero__image {
  position: relative;
  height: 100svh;
  overflow: hidden;
}

.hero__image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.4) contrast(1.1);
  transform: scale(1.05);
  transform-origin: center;
}

.hero__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    var(--bg) 0%,
    rgba(10, 10, 10, 0.45) 35%,
    rgba(10, 10, 10, 0.05) 70%,
    transparent 100%
  );
  z-index: 1;
}

/* Decorative gold vertical line on hero */
.hero__accent-line {
  display: none; /* скрыто — убрали правый столбец под фото/3D */
  position: absolute;
  left: 50%;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-border), transparent);
  transform: scaleY(0);
  transform-origin: top;
  z-index: 3;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 4;
  opacity: 0;
}

.hero__scroll-text {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

/* Hero responsive */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .hero__image {
    display: none;
  }

  .hero__content {
    padding: 8rem 0 6rem;
    min-height: 100svh;
  }

  .hero__accent-line { display: none; }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: clamp(3rem, 10vw, 5rem);
  }

  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    width: 100%;
  }
}

/* ---- MARQUEE ---- */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
  padding: 1.25rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.marquee-content span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 1.5rem;
}

.marquee-content .marquee-dot {
  color: var(--gold);
  padding: 0;
  font-size: 0.9rem;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- CATALOG PREVIEW ---- */
.catalog-section {
  padding: 8rem 0;
}

.catalog-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 2rem;
}

.catalog-section__header-text {
  max-width: 480px;
}

/* Bento Grid — 3 cols, grid-auto-flow: dense, zero empty cells */
.catalog-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 1.5px;
  background: var(--border);
}

.catalog-card {
  background: var(--bg-2);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: background 0.3s var(--ease-out);
}

.catalog-card:hover {
  background: var(--bg-3);
}

/* Row 1: Card1 span-2, Card2 span-1 row-2 */
.catalog-card:nth-child(1) {
  grid-column: span 2;
}

.catalog-card:nth-child(2) {
  grid-column: span 1;
  grid-row: span 2;
}

/* Row 2: Card3, Card4 fill col1+col2 (Card2 still occupies col3) */
/* Row 3: Card5 col1, Card6 col2-3 */
.catalog-card:nth-child(6) {
  grid-column: span 2;
}

/* Card Image */
.catalog-card__image {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.catalog-card:nth-child(1) .catalog-card__image,
.catalog-card:nth-child(6) .catalog-card__image {
  aspect-ratio: 16 / 8;
}

.catalog-card:nth-child(2) .catalog-card__image {
  flex: 1;
  min-height: 200px;
}

.catalog-card:nth-child(3) .catalog-card__image,
.catalog-card:nth-child(4) .catalog-card__image,
.catalog-card:nth-child(5) .catalog-card__image {
  aspect-ratio: 4 / 3;
}

.catalog-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Витрина на главной — тоже товар, цвет не приглушаем (см. .catalog-grid-item__image img) */
  filter: contrast(1.05);
  transition: transform 0.7s var(--ease-expo),
              filter 0.5s var(--ease-out);
}

.catalog-card:hover .catalog-card__image img {
  transform: scale(1.06);
  filter: contrast(1.1) brightness(1.03);
}

.catalog-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 50%);
  z-index: 1;
}

/* Card Body */
.catalog-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.catalog-card__cat {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.catalog-card__name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.catalog-card__price {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 1rem;
}

.catalog-card__arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  opacity: 0;
  transform: translate(4px, -4px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out), border-color 0.3s;
}

.catalog-card:hover .catalog-card__arrow {
  opacity: 1;
  transform: translate(0, 0);
  border-color: var(--gold);
  color: var(--gold);
}

/* Catalog footer */
.catalog-section__footer {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

/* Catalog Responsive */
@media (max-width: 1024px) {
  .catalog-section__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-card:nth-child(1) { grid-column: span 2; }
  .catalog-card:nth-child(2) { grid-column: span 1; grid-row: span 1; }
  .catalog-card:nth-child(6) { grid-column: span 1; }
}

@media (max-width: 640px) {
  .catalog-bento {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .catalog-card:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ---- ABOUT ---- */
.about-section {
  padding: 8rem 0;
  overflow: hidden;
}

.about-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Left col — pinned via GSAP */
.about-section__left {
  position: sticky;
  top: 8rem;
}

.about-section__left .section-eyebrow {
  margin-bottom: 1.5rem;
}

.about-section__left .section-title {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  margin-bottom: 1.5rem;
}

.about-section__left p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.about-section__left .gold-line {
  margin: 2rem 0;
}

/* Right col — scrollable images */
.about-section__right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-image-block {
  position: relative;
  overflow: hidden;
}

.about-image-block img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.1);
  transition: filter 0.5s;
}

.about-image-block:hover img {
  filter: grayscale(0.1) contrast(1.15);
}

.about-image-caption {
  padding: 1.5rem 0 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-image-caption__text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
}

.about-image-caption__num {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 600;
}

.about-stat {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 1rem;
}

.about-stat__item {
  background: var(--bg-2);
  padding: 2rem 1.5rem;
}

.about-stat__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.about-stat__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* About Responsive */
@media (max-width: 1024px) {
  .about-section__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-section__left {
    position: static;
  }
}

/* ---- PROCESS ---- */
.process-section {
  padding: 8rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-section__header {
  text-align: center;
  margin-bottom: 5rem;
}

.process-section__header .section-title {
  margin-bottom: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--border);
}

.process-step {
  background: var(--bg-2);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-expo);
}

.process-step.is-active::before,
.process-step:hover::before {
  transform: scaleX(1);
}

.process-step__num {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--border-light);
  margin-bottom: 2rem;
  display: block;
  transition: color 0.3s;
}

.process-step:hover .process-step__num {
  color: var(--gold-dark);
}

.process-step__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
}

.process-step__desc {
  font-size: 0.825rem;
  line-height: 1.75;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- DELIVERY ---- */
.delivery-section {
  padding: 8rem 0;
}

.delivery-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.delivery-section__text .section-desc {
  max-width: 100%;
  margin-bottom: 2.5rem;
}

.delivery-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.delivery-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.delivery-item__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.delivery-item__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.delivery-item__body {}

.delivery-item__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.delivery-item__desc {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Delivery info cards */
.delivery-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.delivery-card {
  background: var(--bg-2);
  padding: 2.5rem 2rem;
}

.delivery-card__value {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.delivery-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.delivery-card__desc {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-dim);
}

@media (max-width: 1024px) {
  .delivery-section__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .delivery-cards {
    grid-template-columns: 1fr;
  }
}

/* ---- REVIEWS ---- */
.reviews-section {
  padding: 8rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.reviews-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.reviews-track-wrap {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 1.5px;
  transition: transform 0.6s var(--ease-in-out);
  background: var(--border);
}

.review-card {
  flex: 0 0 calc(33.333% - 1px);
  min-width: calc(33.333% - 1px);
  background: var(--bg-3);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-card__stars {
  display: flex;
  gap: 0.25rem;
}

.review-card__star {
  width: 12px;
  height: 12px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.review-card__text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
  font-style: italic;
  flex: 1;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.review-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.5);
}

.review-card__name {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text);
}

.review-card__meta {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

/* Carousel controls */
.reviews-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviews-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.reviews-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-subtle);
}

.reviews-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

@media (max-width: 1024px) {
  .review-card {
    flex: 0 0 calc(50% - 0.75px);
    min-width: calc(50% - 0.75px);
  }
}

@media (max-width: 640px) {
  .review-card {
    flex: 0 0 calc(100% - 0px);
    min-width: 100%;
  }

  .reviews-section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

/* ---- ORDER FORM ---- */
.order-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.order-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.order-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.order-section__info .section-desc {
  max-width: 100%;
  margin-bottom: 3rem;
}

.order-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.order-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.order-feature__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

.order-feature__text {
  font-size: 0.825rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Form */
.order-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 3rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-label .required {
  color: var(--gold);
  margin-left: 0.25rem;
}

.form-input,
.form-textarea,
.form-select {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--gold);
  background: var(--bg-4);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%23666660' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option {
  background: var(--bg-3);
  color: var(--text);
}

/* Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  cursor: pointer;
}

.form-check__input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--bg-3);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  margin-top: 0.15rem;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}

.form-check__input:checked {
  background: var(--gold);
  border-color: var(--gold);
}

.form-check__input:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 5px;
  width: 5px;
  height: 8px;
  border-right: 1.5px solid #000;
  border-bottom: 1.5px solid #000;
  transform: rotate(45deg);
}

.form-check__label {
  font-size: 0.75rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.form-check__label a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-submit-note {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.form-message {
  padding: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.05em;
  display: none;
}

.form-message--success {
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--gold-border);
  color: var(--gold);
}

.form-message--error {
  background: rgba(139, 26, 26, 0.15);
  border: 1px solid rgba(139, 26, 26, 0.4);
  color: #E87070;
}

@media (max-width: 1024px) {
  .order-section__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .order-form {
    padding: 1.75rem;
  }
}

/* ---- CONTACTS ---- */
.contacts-section {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
}

.contacts-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contacts-item {}

.contacts-item__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.contacts-item__value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
}

.contacts-item__value a:hover {
  color: var(--gold);
  transition: color 0.2s;
}

.contacts-item__sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.contacts-socials {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.contacts-social {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}

.contacts-social:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.contacts-social svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Map */
.contacts-map {
  aspect-ratio: 4/3;
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.contacts-map:hover {
  border-color: var(--gold);
}

.contacts-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
}

.contacts-map__pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: rgba(10,10,10,0.90);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.55rem 0.85rem;
  pointer-events: none;
  z-index: 2;
}

.contacts-map__pin svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}

.contacts-map__pin-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contacts-map__pin-text strong {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.contacts-map__pin-text span {
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: rgba(212,175,83,0.7);
  line-height: 1;
}

.contacts-map__pin-tail {
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid var(--gold);
}

.contacts-map__overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10,10,10,0.82);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.45rem 1rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.contacts-map__overlay svg {
  width: 13px;
  height: 13px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .contacts-section__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* =========================================
   IMAGE GRADIENTS — offline-safe backgrounds
   Replace picsum.photos (geo-blocked in RU).
   When real photos added, set background-image
   on these elements — gradient stays as fallback.
   ========================================= */

/* ---- Hero image background ---- */
.hero__img-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 68% 32%, rgba(201, 168, 76, 0.11) 0%, transparent 52%),
    radial-gradient(ellipse at 28% 72%, rgba(180, 80, 18, 0.09) 0%, transparent 44%),
    radial-gradient(ellipse at 50% 90%, rgba(8, 8, 8, 0.6) 0%, transparent 40%),
    linear-gradient(158deg,
      #1d1208 0%,
      #110d04 22%,
      #0a0a08 50%,
      #0d1020 80%,
      #09090d 100%
    );
}

/* ---- Catalog bento card image gradients ---- */
/* Card 1 — Ножи (warm steel, ember tones) */
.catalog-card:nth-child(1) .catalog-card__image {
  background:
    radial-gradient(ellipse at 38% 55%, rgba(180, 100, 14, 0.13) 0%, transparent 52%),
    linear-gradient(148deg, #1e1205 0%, #130e03 52%, #0c0b00 100%);
}

/* Card 2 — Гравюры (cool silver, precision) */
.catalog-card:nth-child(2) .catalog-card__image {
  background:
    radial-gradient(ellipse at 60% 38%, rgba(120, 145, 185, 0.09) 0%, transparent 50%),
    linear-gradient(142deg, #090e1c 0%, #0c1222 52%, #070b14 100%);
}

/* Card 3 — Сувенирное оружие (deep power) */
.catalog-card:nth-child(3) .catalog-card__image {
  background:
    radial-gradient(ellipse at 45% 58%, rgba(139, 26, 26, 0.13) 0%, transparent 52%),
    linear-gradient(145deg, #1c0808 0%, #100404 52%, #0a0303 100%);
}

/* Card 4 — Подарочные наборы (warm luxury) */
.catalog-card:nth-child(4) .catalog-card__image {
  background:
    radial-gradient(ellipse at 42% 50%, rgba(201, 168, 76, 0.1) 0%, transparent 54%),
    linear-gradient(138deg, #1c1503 0%, #160f02 52%, #0c0a00 100%);
}

/* Card 5 — Корпоративные (premium neutral) */
.catalog-card:nth-child(5) .catalog-card__image {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(190, 185, 165, 0.07) 0%, transparent 50%),
    linear-gradient(140deg, #141312 0%, #0e0e0d 52%, #0a0a09 100%);
}

/* Card 6 — Меч Варяг (historic darkness) */
.catalog-card:nth-child(6) .catalog-card__image {
  background:
    radial-gradient(ellipse at 30% 48%, rgba(201, 168, 76, 0.08) 0%, transparent 46%),
    radial-gradient(ellipse at 70% 60%, rgba(100, 80, 180, 0.06) 0%, transparent 42%),
    linear-gradient(152deg, #0e0e14 0%, #0a0a10 50%, #060608 100%);
}

/* ---- About section image backgrounds ---- */
.about-img-bg {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  transition: filter 0.5s;
}

.about-image-block:hover .about-img-bg {
  filter: brightness(1.08);
}

.about-img-bg--1 {
  background:
    /* craftsman.jpg лежал пустой заглушкой; на главной этот блок и так
       перекрыт из redesign.css тем же макро-снимком гравировки */
    url('../images/about/engraving-macro.webp') center/cover no-repeat,
    radial-gradient(ellipse at 35% 45%, rgba(201, 120, 25, 0.12) 0%, transparent 50%),
    linear-gradient(143deg, #1e1208 0%, #120d04 50%, #0c0c08 100%);
}

/* Фото для блоков 2 и 3 взяты из каталога: прежние blade-steel.jpg и
   gold-engraving.jpg лежали на сервере пустыми заглушками по 10 байт, и
   вместо фотографии показывался голый градиент. Подписи в index.html
   приведены к тому, что реально на снимке. Когда появятся собственные
   фото мастерской — заменить пути здесь. */
.about-img-bg--2 {
  background:
    url('../images/catalog/product-33-6a48423313d89.webp') center/cover no-repeat,
    radial-gradient(ellipse at 55% 42%, rgba(150, 155, 170, 0.09) 0%, transparent 50%),
    linear-gradient(138deg, #0c1018 0%, #0e1220 52%, #080810 100%);
}

.about-img-bg--3 {
  background:
    url('../images/catalog/product-93-6a4f85749f179.webp') center/cover no-repeat,
    radial-gradient(ellipse at 48% 52%, rgba(201, 168, 76, 0.13) 0%, transparent 52%),
    radial-gradient(ellipse at 22% 68%, rgba(180, 90, 15, 0.08) 0%, transparent 40%),
    linear-gradient(148deg, #1c1505 0%, #120f03 50%, #0c0900 100%);
}

/* ---- Review avatars (CSS initials, no img) ---- */
.review-avatar-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--bg-3);
  letter-spacing: 0.05em;
}

/* Category-specific gradient fallbacks for catalog.html page */
.img-cat--knives {
  background:
    radial-gradient(ellipse at 38% 52%, rgba(180, 100, 14, 0.12) 0%, transparent 50%),
    linear-gradient(148deg, #1e1205 0%, #130e03 52%, #0c0b00 100%);
}
.img-cat--engravings {
  background:
    radial-gradient(ellipse at 60% 38%, rgba(120, 145, 185, 0.09) 0%, transparent 50%),
    linear-gradient(142deg, #090e1c 0%, #0c1222 52%, #070b14 100%);
}
.img-cat--weapons {
  background:
    radial-gradient(ellipse at 45% 58%, rgba(139, 26, 26, 0.12) 0%, transparent 50%),
    linear-gradient(145deg, #1c0808 0%, #100404 52%, #0a0303 100%);
}
.img-cat--gifts {
  background:
    radial-gradient(ellipse at 42% 50%, rgba(201, 168, 76, 0.1) 0%, transparent 52%),
    linear-gradient(138deg, #1c1503 0%, #160f02 52%, #0c0a00 100%);
}
.img-cat--corporate {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(190, 185, 165, 0.07) 0%, transparent 50%),
    linear-gradient(140deg, #141312 0%, #0e0e0d 52%, #0a0a09 100%);
}
.img-cat--jewelry {
  background:
    radial-gradient(ellipse at 55% 45%, rgba(150, 80, 180, 0.09) 0%, transparent 50%),
    linear-gradient(140deg, #0f0a1a 0%, #0c0815 52%, #080510 100%);
}

/* catalog.html grid item image — uses CSS var for real photo fallback */
.catalog-grid-item__image {
  background-size: cover !important;
  background-position: center !important;
}

/* =========================================
   PRODUCT PAGE (product.html)
   ========================================= */

/* Loading state */
.product-loading {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
}

.product-loading__inner {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

.product-loading__line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
  animation: product-load 1.4s ease-in-out infinite;
}

@keyframes product-load {
  0%, 100% { width: 20px; opacity: 0.3; }
  50%       { width: 48px; opacity: 1;   }
}

/* Breadcrumb */
.product-breadcrumb {
  padding: 6rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
}

.product-breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.product-breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.product-breadcrumb a:hover {
  color: var(--gold);
}

.product-breadcrumb__sep {
  color: var(--text-dim);
}

.product-breadcrumb__current {
  color: var(--text);
}

/* Hero: carousel + info */
.product-hero {
  padding: 4rem 0 6rem;
}

.product-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 4rem;
  align-items: start;
  max-width: var(--container-wide);
}

/* Carousel */
.product-carousel__main {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
}

.product-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
  display: flex;
  align-items: flex-end;
}

.product-carousel__slide.is-active {
  opacity: 1;
}

.product-carousel__slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-out);
}

.product-carousel__slide.is-active .product-carousel__slide-bg {
  transform: scale(1);
}

.product-carousel__slide { cursor: zoom-in; }

/* ---- LIGHTBOX ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.93);
  cursor: zoom-out;
}
.lightbox__img-wrap {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  user-select: none;
  transition: opacity 0.18s;
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.2s;
}
.lightbox__close:hover { background: rgba(255,255,255,0.18); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.2s, opacity 0.2s;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.2); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__nav[disabled] { opacity: 0.2; pointer-events: none; }
.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.product-carousel__slide-label {
  position: relative;
  z-index: 2;
  padding: 0.5rem 0.875rem;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.product-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.875rem;
}

.product-carousel__btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}

.product-carousel__btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.product-carousel__btn svg {
  width: 16px;
  height: 16px;
}

.product-carousel__counter {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.product-carousel__counter-sep {
  margin: 0 0.3rem;
  color: var(--text-dim);
}

.product-carousel__thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.625rem;
}

.product-carousel__thumb {
  flex: 1;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.2s, border-color 0.2s;
}

.product-carousel__thumb.is-active,
.product-carousel__thumb:hover {
  opacity: 1;
  border-color: var(--gold);
}

.product-carousel__thumb-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* Info panel */
.product-info {
  padding-top: 0.5rem;
}

.product-info__name {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.8vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 0.875rem;
}

.product-info__price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.product-info__desc {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  white-space: pre-line;
}

.product-info__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 2rem;
}

.product-info__tag {
  display: inline-block;
  padding: 0.28rem 0.75rem;
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.product-info__features {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  margin-bottom: 2rem;
}

.product-info__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
}

.product-info__feature-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 0.48rem;
}

.product-info__feature span {
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.product-info__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Order section */
.product-order {
  border-top: 1px solid var(--border);
}

.product-order__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.product-order__item-name {
  display: block;
}

.product-order__contacts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.product-order__contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.product-order__contact-label {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.product-order__contact-value {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text);
  transition: color 0.2s;
}

.product-order__contact-value:hover {
  color: var(--gold);
}

.product-order__messengers {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

/* Delivery radio */
.product-delivery-opts {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.product-delivery-opt {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
}

.product-delivery-opt input[type="radio"] {
  display: none;
}

.product-delivery-opt__box {
  width: 18px;
  height: 18px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s;
}

.product-delivery-opt input[type="radio"]:checked ~ .product-delivery-opt__box {
  border-color: var(--gold);
}

.product-delivery-opt input[type="radio"]:checked ~ .product-delivery-opt__box::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.product-delivery-opt__label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .product-hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .product-order__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .product-breadcrumb { padding-top: 5rem; }
  .product-hero { padding: 2.5rem 0 4rem; }
  .product-info__cta { flex-direction: column; }
  .product-info__cta .btn { width: 100%; justify-content: center; }
}


/* ===== components.css ===== */
/* =========================================
   COMPONENTS.CSS — Navbar, Footer, Cookie, Catalog Page
   ========================================= */

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 1.5rem 2.5rem;
  transition: background 0.4s var(--ease-out),
              padding 0.4s var(--ease-out),
              transform 0.4s var(--ease-out),
              border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.navbar.is-scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1rem 2.5rem;
  border-bottom-color: var(--border);
}

.navbar.is-hidden {
  transform: translateY(-100%);
}

/* Logo */
.navbar__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.15rem;
}

.navbar__logo-main {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text);
}

.navbar__logo-sub {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Right group: cart + cta + burger */
.navbar__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Nav links */
.navbar__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.navbar__link {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.navbar__link:hover {
  color: var(--text);
}

.navbar__link:hover::after {
  width: 100%;
}

/* CTA button in nav */
.navbar__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.5rem;
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.25s, border-color 0.25s;
}

.navbar__cta:hover {
  background: var(--gold-subtle);
  border-color: var(--gold);
}

/* Mobile menu toggle */
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  cursor: pointer;
  padding: 4px 0;
}

.navbar__burger-line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--text);
  transition: all 0.3s var(--ease-out);
}

.navbar__burger.is-open .navbar__burger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.navbar__burger.is-open .navbar__burger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}

.navbar__burger.is-open .navbar__burger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile nav */
.navbar__mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: calc(var(--z-nav) - 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.75rem;
  /* отступ сверху клиренсит шапку — «Каталог» больше не уходит под логотип */
  padding: 6.5rem 1.5rem 2.5rem;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}

.navbar__mobile.is-open {
  opacity: 1;
  pointer-events: auto;
}

.navbar__mobile-link {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 400;
  color: var(--text);
  transition: color 0.2s;
}

.navbar__mobile-link:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .navbar__nav {
    display: none;
  }

  .navbar__cta {
    display: none;
  }

  .navbar__burger {
    display: flex;
  }

  /* Меню и CTA скрыты → оставляем 2 столбца: лого слева, иконки прижаты вправо */
  .navbar {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 1.25rem 1.25rem;
  }

  .navbar.is-scrolled {
    padding: 0.875rem 1.25rem;
  }

  .navbar__mobile-link {
    font-size: 2.4rem;
  }
}

/* ---- FOOTER ---- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.footer__main {
  padding: 5rem 0 3rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.footer__brand {}

.footer__brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.15rem;
  margin-bottom: 1.5rem;
}

.footer__brand-logo-main {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text);
}

.footer__brand-logo-sub {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer__brand-desc {
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 280px;
  margin-bottom: 2rem;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
}

.footer__social {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: border-color 0.2s, color 0.2s;
}

.footer__social:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer__social svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer__col-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer__link {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__link:hover {
  color: var(--gold);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.footer__legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer__legal-link {
  font-size: 0.72rem;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer__legal-link:hover {
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer__brand {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__brand {
    grid-column: span 1;
  }
}

/* ---- COOKIE CONSENT ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-cookie);
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.45s var(--ease-expo);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner__text {
  flex: 1;
  min-width: 260px;
}

.cookie-banner__text p {
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.cookie-banner__text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.875rem;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 1.25rem;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    flex: 1;
    justify-content: center;
  }
}

/* ---- CATALOG PAGE ---- */
.catalog-page {
  padding-top: 8rem;
  min-height: 100vh;
}

.catalog-page__header {
  padding: 3rem 0 4rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4rem;
}

.catalog-page__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
}

.catalog-page__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 480px;
}

/* Search & Filter bar */
/* =========================================
   ПАНЕЛЬ ФИЛЬТРОВ КАТАЛОГА
   ========================================= */
.filters {
  margin-bottom: 3rem;
}

/* ---- Поиск ---- */
.filters__search {
  position: relative;
  margin-bottom: 1.75rem;
}

.filters__search svg {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--text-dim);
  fill: none;
  stroke-width: 1.5;
  pointer-events: none;
  transition: stroke 0.25s;
}

.filters__search-input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  padding: 1.1rem 1.5rem 1.1rem 3.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.filters__search-input::placeholder { color: var(--text-dim); }

.filters__search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 0 24px rgba(201, 168, 76, 0.28);
}

.filters__search:focus-within svg { stroke: var(--gold); }

/* ---- Общий вид кнопки-пилюли ---- */
.filter-btn,
.facet-btn {
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--text-muted);
  font-family: var(--font-sans);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.25s, color 0.25s, background 0.25s, box-shadow 0.25s;
}

.filter-btn:hover,
.facet-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.35);
}

/* Выбранное значение — золотая заливка */
.filter-btn.is-active,
.facet-btn.is-active {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border-color: var(--gold-light);
  color: #1A1405;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.35);
}

/* Категории — крупнее, они главные */
.catalog-filters {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.filter-btn {
  padding: 0.75rem 1.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---- Ряд фильтров: подпись слева, кнопки справа ---- */
.catalog-facet {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}

.catalog-facet[hidden] { display: none; }

.catalog-facet__label {
  flex: 0 0 9rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.catalog-facet__btns {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  flex: 1;
}

.facet-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

/* Сочетание, при котором не остаётся ни одного товара */
.facet-btn.is-disabled,
.filter-btn.is-disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
  border-color: var(--border);
}

/* ---- Ряд с ценой ---- */
.catalog-facet--price {
  gap: 1.25rem;
  flex-wrap: wrap;
}

.price-slider {
  position: relative;
  flex: 1 1 320px;
  height: 40px;
  min-width: 240px;
}

.price-slider__track {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bg-4);
  border-radius: 999px;
}

.price-slider__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 999px;
}

/* Два ползунка лежат друг на друге: события ловят только «бегунки» */
.price-slider__input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 28px;
  margin: 0;
  background: none;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
}

.price-slider__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border: none;
  cursor: grab;
  pointer-events: auto;
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.5);
}

.price-slider__input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: grab;
  pointer-events: auto;
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.5);
}

.price-slider__input::-moz-range-track { background: none; }

.price-slider__scale {
  position: absolute;
  top: 26px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* Поля «от», «до» и сортировка — с подписью над рамкой */
.price-field {
  position: relative;
  flex: 0 0 auto;
}

.price-field__label {
  position: absolute;
  top: -0.45rem;
  left: 0.8rem;
  padding: 0 0.35rem;
  background: var(--bg);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.price-field__input,
.price-field__select {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.price-field__input {
  width: 8.5rem;
  -moz-appearance: textfield;
}

.price-field__input::-webkit-outer-spin-button,
.price-field__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.price-field__input::placeholder { color: var(--text-dim); }

.price-field__select {
  cursor: pointer;
  min-width: 12rem;
}

.price-field__input:focus,
.price-field__select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(201, 168, 76, 0.25);
}

/* ---- Активные фильтры ---- */
.catalog-facet--active { border-bottom: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}

.chip:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.16);
}

.chip__x {
  font-size: 0.9rem;
  line-height: 1;
  opacity: 0.75;
}

/* Текст только для читалок экрана — визуально скрыт */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.filters__reset {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  cursor: pointer;
  border-bottom: 1px solid var(--gold-border);
  padding-bottom: 2px;
  transition: border-color 0.25s;
}

.filters__reset:hover { border-bottom-color: var(--gold); }

/* ---- Мобильные ---- */
@media (max-width: 700px) {
  .catalog-facet {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .catalog-facet__label { flex: none; }

  .filters__search-input { padding: 0.95rem 1.25rem 0.95rem 3rem; }

  .filter-btn { padding: 0.6rem 1.1rem; font-size: 0.64rem; }

  .facet-btn { padding: 0.5rem 1rem; font-size: 0.72rem; }

  .price-field__input { width: 100%; }

  .price-field,
  .price-slider { width: 100%; flex: 1 1 100%; }

  .filters__reset { margin-left: 0; }
}
/* Catalog grid on catalog page */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  margin-bottom: 4rem;
}

.catalog-grid-item {
  background: var(--bg-2);
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s;
}

.catalog-grid-item:hover {
  background: var(--bg-3);
}

.catalog-grid-item__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

/* Товар показываем в родном цвете: золочение, серебрение и полированная сталь —
   это то, за что платят. Прежнее grayscale(0.35) съедало разницу между золотом
   и никелем, а на телефоне наведения нет, и цвет не возвращался вообще. */
.catalog-grid-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05);
  transition: transform 0.6s var(--ease-expo), filter 0.4s;
}

.catalog-grid-item:hover .catalog-grid-item__image img {
  transform: scale(1.06);
  filter: contrast(1.1) brightness(1.03);
}

.catalog-grid-item__body {
  padding: 1.5rem;
}

.catalog-grid-item__cat {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.catalog-grid-item__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.catalog-grid-item__desc {
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--text-dim);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-grid-item__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.catalog-grid-item__price {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* No results */
.catalog-no-results {
  grid-column: span 3;
  padding: 5rem 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-dim);
  background: var(--bg-2);
}

@media (max-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-no-results {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-no-results {
    grid-column: span 1;
  }
}

/* ---- PRIVACY PAGE ---- */
.privacy-page {
  padding-top: 8rem;
  min-height: 100vh;
}

.privacy-page__header {
  padding: 3rem 0 4rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4rem;
}

.privacy-content {
  max-width: 760px;
  padding-bottom: 6rem;
}

.privacy-content h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--text);
  margin: 3rem 0 1rem;
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.privacy-content ul {
  margin: 1rem 0 1rem 1.5rem;
  list-style: disc;
}

.privacy-content li {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.privacy-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-updated {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 3rem;
}

/* ---- CATALOG CARD OVERLAY LINK (index.html bento) ---- */
.catalog-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.catalog-card__arrow {
  z-index: 3;
}

/* ---- PRODUCT MODAL ---- */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.product-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: pointer;
}

.product-modal__panel {
  position: relative;
  z-index: 1;
  background: var(--bg-2);
  border: 1px solid var(--border-light);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(28px) scale(0.97);
  transition: transform 0.35s var(--ease-expo);
}

.product-modal.is-open .product-modal__panel {
  transform: translateY(0) scale(1);
}

.product-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: border-color 0.2s, color 0.2s;
}

.product-modal__close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.product-modal__close svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.product-modal__image {
  width: 100%;
  aspect-ratio: 16 / 7;
  flex-shrink: 0;
}

.product-modal__body {
  padding: 2rem 2.5rem 2.5rem;
}

.product-modal__cat {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.product-modal__name {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.08;
  margin: 0 0 1.25rem;
}

.product-modal__desc {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.product-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 2rem;
}

.product-modal__tag {
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.product-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.product-modal__price {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}

@media (max-width: 600px) {
  .product-modal {
    padding: 0;
    align-items: flex-end;
  }

  .product-modal__panel {
    max-width: 100%;
    max-height: 85vh;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-radius: 0;
  }

  .product-modal__body {
    padding: 1.5rem 1.5rem 2rem;
  }
}

/* =========================================
   CART — navbar icon + drawer
   ========================================= */

/* Navbar cart button */
.navbar__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}

.navbar__cart:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Значок стал ссылкой на cart.html (раньше открывал выдвижную панель) */
.navbar__cart {
  background: none;
  text-decoration: none;
  cursor: pointer;
}

/* Подсветка, когда покупатель уже на странице корзины */
.navbar__cart.is-current {
  border-color: var(--gold);
  color: var(--gold);
}

.cart-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 18px;
  height: 18px;
  background: var(--gold);
  color: #000;
  font-size: 0.58rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}

/* Выдвижная панель корзины удалена: оформление переехало на cart.html.
   В панели шириной ~460 px не помещалась форма заказа, а сумма упиралась
   в край. Стили страницы — ниже, в разделе «СТРАНИЦА КОРЗИНЫ». */

/* Cart grid item actions */
.catalog-grid-item__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Modal footer flex wrap */
.product-modal__footer-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .catalog-grid-item__actions { flex-direction: column; align-items: flex-end; }
}

/* =========================================
   ЗАЩИТА ФОТО — гасим «Умную камеру / Поиск по картинке» Яндекс.Браузера
   Прозрачный слой поверх фото: курсор «висит» над контейнером, а не над
   самой картинкой, поэтому браузер не показывает свою панель поиска.
   Клики/листание/модалки не ломаются — обработчики ловят событие через
   closest() на контейнере. Бонус: правый клик целит в div, а не в <img>.
   ========================================= */
.lightbox__img-wrap,
.catalog-grid-item__image,
.catalog-card__image {
  position: relative;
}
.lightbox__img-wrap::after,
.catalog-grid-item__image::after,
.catalog-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: auto;
  background: transparent;
}
/* pointer-events:none у закрытого .lightbox на псевдоэлемент не действует —
   auto выше перебивает его. Без этого правила слой остаётся висеть над
   центром страницы (z-index 9999) и съедает все клики после первого показа. */
.lightbox:not(.is-open) .lightbox__img-wrap::after {
  pointer-events: none;
}

/* ---- Артикул + характеристики товара (Артикул/Смысловая основа/Материалы/Покрытие/Вставки) ---- */
.catalog-grid-item__article{
  display:block;font-size:.66rem;letter-spacing:.08em;color:var(--text-muted);
  margin:-.15rem 0 .4rem;text-transform:uppercase;
}
.product-info__article{
  font-size:.8rem;letter-spacing:.06em;color:var(--text-muted);margin:.3rem 0 1.3rem;
}
.product-info__specs{margin:0 0 1.6rem;border-top:1px solid var(--border)}
.product-info__specs .spec-row{
  display:grid;grid-template-columns:168px 1fr;gap:1.2rem;
  padding:.7rem 0;border-bottom:1px solid var(--border);
}
.product-info__specs dt{
  font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;
  color:var(--gold);font-weight:600;margin:0;
}
.product-info__specs dd{margin:0;color:var(--text);font-size:.92rem;line-height:1.55;white-space:pre-line}
.product-info__desc-block{margin:0 0 1.4rem}
.product-info__desc-label{
  display:block;font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;
  color:var(--gold);font-weight:600;margin-bottom:.5rem;
}
@media(max-width:560px){.product-info__specs .spec-row{grid-template-columns:1fr;gap:.2rem}}

/* =========================================================
   СТРАНИЦА «ЗАЯВКА ПРИНЯТА»
   Показывается после отправки формы. Служит и подтверждением
   для клиента, и целью в Яндекс.Метрике (цель по адресу).
   ========================================================= */
.thanks-page {
  padding: 10rem 0 6rem;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.thanks-card {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.thanks-card__mark {
  width: 68px;
  height: 68px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  background: var(--gold-subtle);
}

.thanks-card__mark svg { width: 30px; height: 30px; }

.thanks-card .section-eyebrow,
.thanks-card .gold-line { margin-left: auto; margin-right: auto; }

.thanks-card__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  margin: 1.25rem 0 1.5rem;
}

.thanks-card__text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 auto;
}

.thanks-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  margin: 3rem 0;
}

.thanks-step {
  background: var(--bg-2);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.thanks-step__num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold);
}

.thanks-step__text {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.thanks-card__urgent {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.thanks-card__urgent a {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold);
  text-decoration: none;
}

.thanks-card__urgent a:hover { color: var(--gold-light); }

.thanks-card__hours {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.thanks-card__socials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.thanks-card__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .thanks-page { padding: 8rem 0 4rem; }
  .thanks-steps { grid-template-columns: 1fr; }
  .thanks-card__actions .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   СТРАНИЦА «НЕ НАЙДЕНО» (404.html)
   Показывается при опечатке в адресе или по устаревшей ссылке.
   Задача — не потерять человека: дать поиск, каталог и телефон.
   ========================================================= */
.error-page {
  padding: 10rem 0 6rem;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.error-card {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.error-card__code {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--gold);
  opacity: 0.22;
  margin-bottom: -0.5rem;
}

.error-card .section-eyebrow,
.error-card .gold-line { margin-left: auto; margin-right: auto; }

.error-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  margin: 1.25rem 0 1.25rem;
}

.error-card__text {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 auto 2.5rem;
}

/* Поиск ведёт в каталог: там уже есть разбор ?q= из адреса */
.error-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 34rem;
  margin: 0 auto 2rem;
}

.error-search svg {
  position: absolute;
  left: 1rem;
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  pointer-events: none;
}

.error-search__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.9rem 1rem 0.9rem 2.9rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color 0.25s;
}

.error-search__input:focus {
  outline: none;
  border-color: var(--gold-border);
}

.error-card__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.error-card__help {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.error-card__help a {
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}

.error-card__help a:hover { color: var(--gold-light); }

@media (max-width: 600px) {
  .error-page { padding: 8rem 0 4rem; }
  .error-search { flex-direction: column; }
  .error-search svg { top: 1.1rem; }
  .error-search__input { width: 100%; }
  .error-search .btn { width: 100%; justify-content: center; }
  .error-card__actions .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   ПОХОЖИЕ ИЗДЕЛИЯ (внизу карточки товара)
   Раньше с карточки вели только «Весь каталог» и форма заявки:
   если изделие не подошло, человек уходил. Здесь он видит
   несколько близких вариантов, не начиная поиск заново.
   ========================================================= */
.similar-section { border-top: 1px solid var(--border); }
.similar-section[hidden] { display: none; }

.similar-section__header { margin-bottom: 2.5rem; }

.similar-section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: var(--text);
  margin-top: 1rem;
}

/* Четыре в ряд: блок вспомогательный, карточки мельче каталожных */
.similar-section .catalog-grid { grid-template-columns: repeat(4, 1fr); }

.similar-section .catalog-grid-item__body { padding: 1.1rem; }
.similar-section .catalog-grid-item__name { font-size: 1rem; }

/* Фото и название — ссылки на изделие */
.similar-card__link { display: block; }
.similar-section .catalog-grid-item__name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s;
}
.similar-section .catalog-grid-item__name a:hover { color: var(--gold); }

.similar-section .catalog-grid-item__footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

@media (max-width: 1024px) {
  .similar-section .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .similar-section .catalog-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   ИЗБРАННОЕ
   Сердечко в углу фото карточки. Подарок за десятки тысяч
   выбирают неделями и сравнивают варианты — список отложенного
   избавляет от необходимости держать вкладки открытыми.
   ========================================================= */
.wish-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.25s, transform 0.25s var(--ease-out), background 0.25s;
}

.wish-btn svg { width: 20px; height: 20px; flex: 0 0 auto; }

.wish-btn:hover { color: var(--gold); }

/* Отложенное — залитое золотом сердце */
.wish-btn.is-active { color: var(--gold); }
.wish-btn.is-active svg { fill: currentColor; }

/* Вариант «в углу фото» — для карточек каталога и избранного */
.wish-btn--corner {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  /* Выше защитного слоя над фото (.catalog-grid-item__image::after, z-index 5).
     Тот слой ловит все клики по картинке, чтобы Яндекс.Браузер не предлагал
     «Поиск по картинке». При z-index ниже 5 сердечко оказывалось под ним:
     нажатие уходило в слой, а каталог принимал его за клик по карточке
     и открывал окно товара. */
  z-index: 6;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(245, 245, 240, 0.85);
}

.wish-btn--corner:hover {
  background: rgba(10, 10, 10, 0.8);
  transform: scale(1.08);
}

.wish-btn--corner.is-active { background: rgba(10, 10, 10, 0.75); }

/* Вариант «кнопка с текстом» — на странице товара */
.wish-btn--wide {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border-light);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wish-btn--wide:hover { border-color: var(--gold); }
.wish-btn--wide.is-active { border-color: var(--gold-border); }

/* Значок избранного в шапке (рядом с корзиной) */
.navbar__fav .wish-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gold);
  color: #000;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1;
}

/* ---- Шапка страницы избранного ---- */
.fav-page__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.fav-tools {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.fav-tools[hidden] { display: none; }

.fav-clear {
  background: none;
  border: none;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.25s;
}

.fav-clear:hover { color: var(--red); }

@media (max-width: 600px) {
  .fav-page__header { gap: 1.5rem; }
  .fav-tools { width: 100%; justify-content: space-between; }
}

/* =========================================================
   СТРАНИЦА КОРЗИНЫ (cart.html)
   Раньше корзина жила в выдвижной панели ~460 px: форма туда
   не помещалась, сумма упиралась в край, всё превращалось в
   длинную простыню. Теперь две колонки — слева изделия,
   справа итог и форма.
   ========================================================= */
.cart-page { padding: 9rem 0 5rem; min-height: 70vh; }

.cart-page__header { margin-bottom: 3rem; }

.cart-page__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 400;
  color: var(--text);
  margin-top: 1rem;
}

/* Страница оформления шире обычной: на широком экране контейнер 1280 px
   оставлял справа пустое поле, а форма ужималась до 384 px — в поле адреса
   не помещался даже текст-подсказка. */
.cart-page .container { max-width: var(--container-wide); }

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30rem;
  gap: 3rem;
  align-items: start;
}

/* На средних экранах столько под форму не отдать — левой колонке
   не останется места на фото и название. */
@media (max-width: 1400px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr) 26rem; gap: 2.5rem; }
}

.cart-layout[hidden] { display: none; }

/* ---- Позиция ---- */
.cart-list {
  display: flex;
  flex-direction: column;
  gap: 1.5px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cart-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.25rem 1.25rem 0;
  background: var(--bg-2);
}

.cart-row.is-gone { opacity: 0.75; }

.cart-row__pic {
  display: block;
  width: 7.5rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-3);
}

.cart-row__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-expo);
}

.cart-row__pic:hover img { transform: scale(1.05); }
.cart-row__pic-empty { display: block; width: 100%; height: 100%; }

.cart-row__info { min-width: 0; }

.cart-row__art {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.cart-row__name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--text);
  text-decoration: none;
  transition: color 0.25s;
}

.cart-row__name:hover { color: var(--gold); }

.cart-row__unit {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cart-row__gone {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  line-height: 1.45;
  color: var(--gold);
}

/* ---- Количество ---- */
.cart-row__qty {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 0.2rem;
}

.cart-qty-btn {
  width: 1.9rem;
  height: 1.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--text-muted);
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cart-qty-btn:hover { background: var(--bg-4); color: var(--gold); }

.cart-qty__num {
  min-width: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.cart-row__sum {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  text-align: right;
  min-width: 7rem;
}

.cart-row__remove {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.25s;
}

.cart-row__remove:hover { color: var(--red); }
.cart-row__remove svg { width: 16px; height: 16px; }

.cart-continue {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s;
}

.cart-continue:hover { color: var(--gold); }

/* ---- Правая колонка ---- */
.cart-layout__side {
  position: sticky;
  top: 6.5rem;   /* под шапкой */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-form-block {
  padding: 1.75rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
}

.cart-form-block__lead {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0.75rem 0 1.5rem;
}

.cart-help {
  padding: 1.25rem 1.75rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  text-align: center;
}

.cart-help__label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.cart-help__phone {
  display: block;
  margin: 0.5rem 0 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--gold);
  text-decoration: none;
}

.cart-help__phone:hover { color: var(--gold-light); }
.cart-help__hours { font-size: 0.7rem; color: var(--text-dim); }

/* ---- Пустая корзина ---- */
.cart-blank {
  max-width: 30rem;
  margin: 0 auto;
  padding: 4rem 1rem 5rem;
  text-align: center;
}

.cart-blank[hidden] { display: none; }
.cart-blank svg { width: 54px; height: 54px; color: var(--text-dim); }

.cart-blank__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--text);
  margin: 1.5rem 0 0.75rem;
}

.cart-blank__text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .cart-layout { grid-template-columns: 1fr; gap: 2rem; }
  .cart-layout__side { position: static; }
}

@media (max-width: 700px) {
  .cart-page { padding: 7.5rem 0 3rem; }

  /* Пять колонок в 360 px не помещаются: фото слева, справа название,
     под ними количество и сумма отдельной строкой. */
  .cart-row {
    grid-template-columns: 5.5rem minmax(0, 1fr) auto;
    grid-template-areas:
      "pic info remove"
      "pic qty  sum";
    gap: 0.75rem 1rem;
    padding: 1rem 1rem 1rem 0;
  }
  .cart-row__pic    { grid-area: pic; width: 5.5rem; }
  .cart-row__info   { grid-area: info; }
  .cart-row__remove { grid-area: remove; align-self: start; }
  .cart-row__qty    { grid-area: qty; justify-self: start; }
  .cart-row__sum    { grid-area: sum; text-align: right; min-width: 0; }
  .cart-row__name   { font-size: 1rem; }
  .cart-form-block  { padding: 1.25rem; }
}

/* =========================================================
   ИТОГ В КОРЗИНЕ
   Цена окончательная только после согласования (гравировка,
   комплектация, доставка), поэтому сумма подписана как
   предварительная — обещать точную нельзя.
   ========================================================= */
.cart-total {
  padding: 1.5rem 1.75rem;
  background: var(--bg-2);
  border: 1px solid var(--gold-border);
}

.cart-total__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.cart-total__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.cart-total__value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}

.cart-total__note {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* =========================================================
   ДОГРУЗКА КАТАЛОГА ПОРЦИЯМИ
   Сетка .catalog-grid — это CSS-грид, поэтому кнопка вынесена
   за её пределы: внутри она заняла бы ячейку товара.
   ========================================================= */
.catalog-more {
  display: flex;
  justify-content: center;
  margin: -2.5rem 0 4rem;   /* подтягиваем под сетку: у неё свой нижний отступ */
}

.catalog-more[hidden] { display: none; }

.catalog-more .btn svg { margin-left: 0.5rem; }

/* =========================================================
   СВОРАЧИВАЕМАЯ ПАНЕЛЬ ФИЛЬТРОВ (только узкие экраны)
   На телефоне семь рядов кнопок + ползунок цены занимали два-три
   экрана прокрутки до первого товара. Прячем их за кнопку «Фильтры»,
   как в маркетплейсах. Поиск и строка активных фильтров остаются
   на виду всегда: искать и понимать, что выбрано, нужно сразу.
   ========================================================= */
.filters__toggle { display: none; }

@media (max-width: 700px) {
  .filters__toggle {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    margin-top: 1rem;
    padding: 0.85rem 1.1rem;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    background: var(--bg-2);
    border: 1px solid var(--gold-border);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
  }

  .filters__toggle:hover { border-color: var(--gold); }

  .filters__toggle svg { width: 18px; height: 18px; flex: 0 0 auto; }
  .filters__toggle-text { flex: 1 1 auto; text-align: left; }

  /* сколько фильтров сейчас применено — видно, не раскрывая панель */
  .filters__toggle-count {
    flex: 0 0 auto;
    min-width: 1.35rem;
    padding: 0.1rem 0.4rem;
    font-size: 0.7rem;
    line-height: 1.35rem;
    text-align: center;
    color: #000;
    background: var(--gold);
    border-radius: 999px;
  }
  .filters__toggle-count[hidden] { display: none; }

  .filters__toggle-chevron { transition: transform 0.3s var(--ease-out); }
  .filters__toggle[aria-expanded="true"] .filters__toggle-chevron { transform: rotate(180deg); }

  /* Свёрнуто по умолчанию. Не display:none — так остаётся анимация,
     а раскрытая панель не «прыгает». */
  .filters__body {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s var(--ease-out), opacity 0.3s, margin 0.3s;
  }

  .filters__body.is-open {
    max-height: 220vh;   /* с запасом: рядов может стать больше */
    opacity: 1;
  }

  /* у последнего ряда убираем линию — она дублирует край панели */
  .filters__body .catalog-facet:last-child { border-bottom: none; }
}

@media (prefers-reduced-motion: reduce) {
  .filters__body { transition: none; }
  .filters__toggle-chevron { transition: none; }
}

/* =========================================================
   КНОПКА «НАВЕРХ»
   Переехала сюда из redesign.css: тот подключён только к главной,
   а нужнее всего кнопка в каталоге — там 119 товаров и пролистать
   обратно к фильтрам было нечем. Плавность взята из main.css
   (--ease-out/--ease-expo), потому что --ease-soft и --ease-spring
   объявлены в redesign.css и на других страницах недоступны.
   ========================================================= */
.fx-totop {
  position: fixed; right: 1.5rem; bottom: 1.5rem;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.3);
  background: rgba(14,14,14,0.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--gold); z-index: var(--z-nav); cursor: pointer;
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-expo),
              background .3s, color .3s, border-color .3s;
}
.fx-totop.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fx-totop:hover { background: var(--gold); border-color: var(--gold); color: #000; transform: translateY(-3px) scale(1.06); }
.fx-totop svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  .fx-totop { transition: opacity .3s linear; transform: none; }
  .fx-totop.is-visible { transform: none; }
  .fx-totop:hover { transform: none; }
}

/* =========================================================
   УВЕДОМЛЕНИЕ «ДОБАВЛЕНО В КОРЗИНУ»
   Раньше добавление товара сразу распахивало корзину и сбивало
   просмотр каталога: чтобы отложить второе изделие, покупателю
   приходилось закрывать панель и заново искать место в списке.
   Теперь показываем короткое уведомление, а корзину открываем
   только если он сам этого захочет.
   ========================================================= */
.cart-toast {
  position: fixed;
  /* правее — место кнопки «наверх» (48px + отступы), иначе они наезжают */
  right: 5.25rem;
  bottom: 1.5rem;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: min(24rem, calc(100vw - 3rem));
  padding: 0.9rem 1.1rem;
  background: rgba(17, 17, 17, 0.92);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.4s var(--ease-expo);
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cart-toast__check {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  color: var(--gold);
}

.cart-toast__check svg { width: 14px; height: 14px; }

.cart-toast__text { flex: 1 1 auto; min-width: 0; }

.cart-toast__title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}

.cart-toast__name {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-toast__open {
  flex: 0 0 auto;
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: none;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.cart-toast__open:hover { background: var(--gold); color: #000; }

@media (max-width: 600px) {
  .cart-toast {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-toast { transition: opacity 0.2s linear; transform: none; }
  .cart-toast.is-visible { transform: none; }
}
