/*
Theme Name: Melligri
Theme URI: https://melligri.com/
Author: Melligri Team
Author URI: https://melligri.com/
Description: Melligri WordPress Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: melligri
*/

/* Local fonts start */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter/Inter-VariableFont_slnt,wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter/Inter-VariableFont_slnt,wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}


@font-face {
  font-family: "Golos Text VF";
  src: url("../fonts/Golos/Golos Text_VF.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Golos Text";
  src: url("../fonts/Golos/Golos Text_Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Golos Text";
  src: url("../fonts/Golos/Golos Text_Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Golos Text";
  src: url("../fonts/Golos/Golos Text_Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Cyrl";
  src: url("../fonts/Museo Cyrl/Museo Cyrl 100.otf") format("opentype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Cyrl";
  src: url("../fonts/Museo Cyrl/Museo Cyrl 100 Italic.otf") format("opentype");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Museo Cyrl";
  src: url("../fonts/Museo Cyrl/Museo Cyrl 300.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Cyrl";
  src: url("../fonts/Museo Cyrl/Museo Cyrl 300 Italic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Museo Cyrl";
  src: url("../fonts/Museo Cyrl/Museo Cyrl 500.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Cyrl";
  src: url("../fonts/Museo Cyrl/Museo Cyrl 500 Italic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Museo Cyrl";
  src: url("../fonts/Museo Cyrl/Museo Cyrl 700.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Cyrl";
  src: url("../fonts/Museo Cyrl/Museo Cyrl 700 Italic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Museo Cyrl";
  src: url("../fonts/Museo Cyrl/Museo Cyrl 900.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Cyrl";
  src: url("../fonts/Museo Cyrl/Museo Cyrl 900 Italic.otf") format("opentype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
/* Local fonts end */

/*--------- Home page styles start-------- */
:root {
  --color-dark: #17192a;
  --color-dark-2: #1a1c31;
  --color-white: #ffffff;
  --color-accent: #50d6e3;
  --color-accent-hover: #3fc7d4;
  --color-muted: rgba(255, 255, 255, 0.85);
  --color-muted-2: rgba(255, 255, 255, 0.65);
  --color-border: rgba(255, 255, 255, 0.35);
  --color-border-2: rgba(255, 255, 255, 0.18);
  --color-dot: rgba(255, 255, 255, 0.45);
  --color-dot-active: #ddc8b7;
  --color-search-bg: #e8e8f1;
  --topbar-height: 36px;
  --nav-height: 78px;
  --brands-height: 43px;
  --container-width: 1320px;
  --container-padding: 24px;
  --transition: 0.25s ease;
  --radius-pill: 999px;
  --mobile-panel-width: 320px;
}


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

html {
  scroll-padding-top: var(--nav-height);
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Golos Text", sans-serif;
  font-weight: 400;
  color: #111111;
  background-color: #f5f5f5;
  overflow-x: clip;
}

body.is-lock {
  overflow: hidden;
}

body.body--locked {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  font-family: "Golos Text VF";
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "Golos Text VF";
}

span {
  font-family: "Golos Text VF";
}

p,
h1,
h2 {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Golos Text VF";
}

p {
  font-family: "Golos Text VF";
  font-size: 18px;
}

.container {
  width: 100%;
  max-width: calc(var(--container-width) + (var(--container-padding) * 2));
  margin: 0 auto;
  padding-right: var(--container-padding);
  padding-left: var(--container-padding);
}


/* Header section start */
.header {
  display: contents;
  color: var(--color-white);
}

.header__test-banner {
  position: relative;
  z-index: 21;
  width: 100%;
  background: linear-gradient(90deg, #1a5fb4 0%, #2f7fd9 100%);
}

.header__test-banner-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 0;
}

.header__test-banner-text {
  margin: 0;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0.02em;
}


.header__topbar {
  position: relative;
  z-index: 20;
  width: 100%;
  min-height: var(--topbar-height);
  background: black;
}

.header__topbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--topbar-height);
}

.header__topbar-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.header__topbar-link,
.header__topbar-label {
  font-size: 12px;
  line-height: 1.2;
  color: var(--color-white);
  white-space: nowrap;
}

.header__topbar-text {
  color: #50d6e3;
  font-size: 12px;
}

.header__topbar-link {
  transition: opacity var(--transition);
}

.header__topbar-link:hover {
  opacity: 0.75;
}

.header__topbar-link--accent {
  color: var(--color-accent);
  font-weight: 500;
}

.header__topbar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background-color: var(--color-white);
  color: #1b1d30;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  transition: transform var(--transition), opacity var(--transition);
}

.header__topbar-button:hover {
  transform: translateY(-1px);
  background: #3fc7d4;
}

.header__hero {
  display: contents;
}

.header__nav {
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  min-height: var(--nav-height);
  background-color: rgba(0, 0, 0, 0);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

/* After hero slider — opaque black nav so links stay readable */
.header--transparent.header--scrolled .header__nav,
.page-home .header.header--scrolled .header__nav {
  background-color: #1e1f26;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* Solid white header for inner pages */
.header__topbar--solid,
.header--solid .header__topbar {
  background: #1a1a1a;
}

.header--solid .header__nav {
  background-color: #ffffff;
  border-bottom: none;
  box-shadow: none;
}

.header--solid .header__menu-link {
  color: #1a1a1a;
}

.header--solid .header__menu-link:hover {
  background-color: #3fc7d4;
  color: #ffffff;
  font-weight: 700;
}

.header--solid .header__action {
  color: #1a1a1a;
}

.header--solid .header__action:hover {
  color: #3fc7d4;
}

.header--solid .header__burger-line {
  background-color: #1a1a1a;
}

.header--solid .header__logo-img {
  filter: brightness(0) saturate(100%);
}

.header__nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 0;
  gap: 24px;
  min-height: var(--nav-height);
}

.header__logo {
  flex-shrink: 0;
  padding-left: 7px;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
}

.header__logo-img {
  display: block;
  width: 170px;
  height: auto;
  transition: filter 0.25s ease;
}

.header--transparent.header--scrolled .header__logo-img,
.page-home .header.header--scrolled .header__logo-img {
  filter: brightness(0) invert(1);
}

.header__nav.black .header__logo-img {
  filter: brightness(0) saturate(100%);
}

.header__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 35px;
}

.header__menu-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 24px;
  border-radius: 50px;
  color: var(--color-white);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.header__menu-link:hover {
  background-color: #3fc7d4;
  color: #ffffff;
  font-weight: 700;
}

.header__menu-link--active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 1px;
  background-color: var(--color-white);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  transition: color var(--transition), opacity var(--transition);
  position: relative;
  color: var(--color-white);
}

.header__badge,
.header__action-badge,
.mobile-menu__action-badge {
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background-color: #1a1a2e;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
}

[data-cart-count]:not(:empty):not([data-cart-count="0"]) {
  display: inline-flex;
}

.header__action:hover {
  color: #3fc7d4;
}

.header__action--cart,
.mobile-menu__action--cart {
  position: relative;
}

.header__action--desktop {
  display: inline-flex;
}

.header__burger.black .header__burger-line {
  background-color: #1a1a1a;
}

.header__burger {
  display: none;
  position: relative;
  width: 32px;
  height: 24px;
}

.header__burger-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background-color: var(--color-white);
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}

.header__burger-line:nth-child(1) {
  top: 2px;
}

.header__burger-line:nth-child(2) {
  top: 11px;
}

.header__burger-line:nth-child(3) {
  top: 20px;
}

.header__burger.is-active .header__burger-line:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}

.header__burger.is-active .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header__burger.is-active .header__burger-line:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
}

.header__icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-slider {
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin-top: calc(var(--nav-height) * -1);
}

.header-slider__track {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.header-slider__slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.header-slider__slide--active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header-slider__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.header-slider__media--video {
  background-color: #111111;
  transform: translateZ(0);
  isolation: isolate;
}

.header-slider__video,
.header-slider__image {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}

.header-slider__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(8, 9, 15, 0.16) 0%,
      rgba(12, 12, 20, 0.18) 24%,
      rgba(12, 12, 20, 0.28) 55%,
      rgba(12, 12, 20, 0.44) 100%
    );
}

.header-slider__container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: calc(100vh - var(--brands-height));
  padding-top: var(--nav-height);
  padding-bottom: 108px;
  box-sizing: border-box;
}

.header-slider__content {
  max-width: 838px;
  text-align: center;
}

.header-slider__title {
  margin-bottom: 18px;
  font-family: "Inter", sans-serif;
  font-size: clamp(40px, 5.5vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.header-slider__title-italic,
.header-slider__title em {
  font-style: italic;
  font-weight: 300;
  font-family: "Museo Cyrl";
}

.header-slider__text {
  max-width: 425px;
  margin: 0 auto 34px;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.28;
  font-style: normal;
  text-align: center;
  text-wrap: pretty;
}

.header-slider__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.header-slider__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  min-width: 210px;
  min-height: 56px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-size: 18px;
  line-height: 1;
  transition: transform var(--transition), background-color var(--transition), opacity var(--transition);
}

.header-slider__button:hover {
  transform: translateY(-1px);
}

.header-slider__button--transparent {
  border: 1px solid var(--color-border);
  color: var(--color-white);
  background-color: transparent;
}

.header-slider__button--transparent:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.header-slider__button--accent {
  background-color: var(--color-accent);
  color: #ffffff;
  font-weight: 500;
}

.header-slider__button--accent:hover {
  background-color: var(--color-accent-hover);
}

.header-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  transform: translateY(-50%);
  transition: background-color var(--transition), opacity var(--transition);
}

.header-slider__arrow:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.header-slider__arrow--prev {
  left: 24px;
}

.header-slider__arrow--next {
  right: 24px;
}

.header-slider__arrow-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-slider__pagination {
  position: absolute;
  right: 0;
  bottom: 56px;
  left: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.header-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-dot);
  transition: transform var(--transition), background-color var(--transition);
}

.header-slider__dot:hover {
  transform: scale(1.08);
}

.header-slider__dot--active {
  background-color: var(--color-dot-active);
}
.header-slider:not(.header-slider--ready) .header-slider__slide {
  transition: none;
}

.header-slider__slide:not(.header-slider__slide--active) .header-slider__video {
  visibility: hidden;
}

.page-home .header__nav {
  background-color: rgba(0, 0, 0, 0);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}


.header__brands {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 6;
  min-height: var(--brands-height);
  background-color: var(--color-accent);
}

.header__brands--black {
  background-color: #1a1a1a;
}

.header__brands--black .header__brands-text,
.header__brands--black .header__brands-link {
  color: #ffffff;
}

.header__brands-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  min-height: var(--brands-height);
  text-align: center;
}

.header__brands-text,
.header__brands-link {
  color: #153038;
  font-family: "Golos Text VF", "Golos Text", sans-serif;
  font-size: 20px;
  line-height: 24px;
}

.header__brands-list {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
}

.mobile-menu.is-open {
  pointer-events: auto;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(7, 8, 13, 0.54);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.is-open .mobile-menu__overlay {
  opacity: 1;
}

.mobile-menu__panel {
  position: relative;
  z-index: 1;
  width: min(100%, var(--mobile-panel-width));
  height: 100%;
  padding: 28px 18px 26px;
  background-color: var(--color-dark-2);
  color: var(--color-white);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.mobile-menu__logo {
  width: 150px;
  height: 150px;
}

.mobile-menu__logo-icon {
  width: 44px;
  height: 44px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.mobile-menu__close {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.mobile-menu__close-line {
  position: absolute;
  top: 13px;
  left: 3px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--color-white);
}

.mobile-menu__close-line:first-child {
  transform: rotate(45deg);
}

.mobile-menu__close-line:last-child {
  transform: rotate(-45deg);
}

.mobile-menu__nav {
  margin-bottom: 20px;
}

.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu__item {
  border-bottom: 1px solid transparent;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding: 2px 0;
}

.mobile-menu__link-text {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.mobile-menu__link-arrow {
  font-size: 35px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.85);
}

.mobile-menu__event {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
}

.mobile-menu__event-title {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--color-accent);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.mobile-menu__event-label {
  margin-bottom: 10px;
  color: var(--color-muted);
  font-size: 11px;
  line-height: 1.3;
}

.mobile-menu__event-text {
  display: inline-block;
  color: var(--color-white);
  font-size: 12px;
  line-height: 1.25;
}

.mobile-menu__search {
  margin-top: 22px;
}

.mobile-menu__search-field {
  position: relative;
  display: block;
}

.mobile-menu__search-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: #8587a0;
}

.mobile-menu__search-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-menu__search-input {
  width: 100%;
  height: 30px;
  padding: 0 16px 0 34px;
  border: none;
  border-radius: var(--radius-pill);
  background-color: var(--color-search-bg);
  color: #1e2033;
  outline: none;
  font-size: 13px;
}

.mobile-menu__search-input::placeholder {
  color: #8e90a7;
}

.mobile-menu__actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 320px;
  padding-top: 24px;
}

.mobile-menu__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  position: relative;
  color: var(--color-white);
}

.mobile-menu__action-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Page-specific styles for index.html */
.page-home .header__brands {
  position: relative;
  right: auto;
  bottom: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-home .header__brands-container {
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header section end */


/* Second section start */
.products {
  padding: 40px 0 56px;
  background-color: #ffffff;
}

.products__container {
  max-width: calc(var(--container-width) + (var(--container-padding) * 2));
  margin: 0 auto;
  padding-right: var(--container-padding);
  padding-left: var(--container-padding);
}

.products__header {
  margin-bottom: 40px;
}

.tabs {
  display: flex;
  gap: 90px;
}

.tabs__btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 32px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: -0.011em;
  cursor: pointer;
  transition: color 0.3s ease;
}

.tabs__btn--active {
  color: #1a1a1a;
  font-weight: 500;
}

.tabs__btn:not(.tabs__btn--active) {
  color: #9195ad;
  font-weight: 500;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.tab-pane--active {
  display: block;
}

/* Prevent full-width card flash before Swiper initializes */
.products__slider:not(.swiper-initialized),
.catalog-board__slider:not(.swiper-initialized) {
  overflow: hidden;
}

.products__slider:not(.swiper-initialized) .swiper-wrapper,
.catalog-board__slider:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
}

.products__slider:not(.swiper-initialized) .swiper-slide,
.catalog-board__slider:not(.swiper-initialized) .swiper-slide {
  flex: 0 0 100%;
  min-width: 0;
}

@media (min-width: 480px) {
  .products__slider:not(.swiper-initialized) .swiper-slide,
  .catalog-board__slider:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 calc((100% - 16px) / 2);
  }
}

@media (min-width: 768px) {
  .products__slider:not(.swiper-initialized) .swiper-slide,
  .catalog-board__slider:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 calc((100% - 40px) / 3);
  }
}

@media (min-width: 1024px) {
  .products__slider:not(.swiper-initialized) .swiper-slide,
  .catalog-board__slider:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 calc((100% - 72px) / 4);
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
}

.slider-controls__progress.swiper-pagination-progressbar {
  position: relative;
  flex-grow: 1;
  max-width: 80%;
  height: 1px;
  background-color: #e5e7eb;
  border-radius: 2px;
  margin: 0; 
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background-color: #1e1e2b; 
  border-radius: 2px;
}

.slider-controls__arrows {
  display: flex;
  gap: 16px;
  margin-left: 24px;
}

.slider-controls__arrow {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.slider-controls__arrow:hover:not(.swiper-button-disabled) {
  color: #000000; 
  transform: scale(1.1);
}

.slider-controls__arrow.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: #1e1e2b !important;
}

/* Home — ХІТ-ПРОДУКТИ / НОВИНКИ (page-home) */
.page-home .products > .container {
  max-width: calc(var(--container-width) + (var(--container-padding) * 2));
  padding-right: var(--container-padding);
  padding-left: var(--container-padding);
}

.page-home .products__header {
  margin-bottom: 32px;
}

.page-home .products__slider {
  overflow: hidden;
}

.page-home .products__slider.swiper-initialized .swiper-slide {
  width: auto;
  height: auto;
}

.page-home .products__slider.swiper-initialized .product-card,
.page-home .products__slider.swiper-initialized .product-card__inner {
  width: 100%;
  max-width: none;
}

.page-home .products__slider.swiper-initialized .product-card__inner {
  height: auto;
  aspect-ratio: 304 / 362;
}

.page-home .products .tabs {
  gap: clamp(32px, 8vw, 90px);
}

.page-home .products .tabs__btn {
  font-family: "Golos Text", sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.page-home .products .tabs__btn--active {
  color: #1a1a1a;
}

.page-home .products .tabs__btn:not(.tabs__btn--active) {
  color: #8c96ab;
  font-weight: 400;
}

/* Картки ХІТ / НОВИНКИ — ті самі стилі, що й у .catalog-board (блок «ПРОДУКТИ» нижче) */

.page-home .products .slider-controls {
  margin-top: 32px;
  gap: 24px;
}

.page-home .products .slider-controls__progress.swiper-pagination-progressbar {
  flex: 1;
  max-width: none;
  height: 1px;
  background-color: #e5e7eb;
}

.page-home .products .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background-color: #1e1e2b !important;
}

.page-home .products .slider-controls__arrows {
  flex-shrink: 0;
  margin-left: 0;
  gap: 12px;
}

.page-home .products .slider-controls__arrow {
  padding: 4px;
  color: #1a1a1a;
}

.page-home .products .slider-controls__arrow img {
  width: 28px;
  height: auto;
  display: block;
}

@media (min-width: 1024px) {
  .page-home .products__slider:not(.swiper-initialized) .swiper-slide,
  .page-home .catalog-board__slider:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 calc((100% - 96px) / 4);
  }
}

/* Second section end */


/* Third section start */
.about-section {
    padding: 60px 20px;
    background: #fff;
}

.about-section__container {
    max-width: calc(var(--container-width) + (var(--container-padding) * 2));
    margin: 0 auto;
    padding-right: var(--container-padding);
    padding-left: var(--container-padding);
}

.about-section__header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin-bottom: 40px;
}

.about-section__label {
    font-weight: 500;
    font-size: 36px;
    line-height: 46.8px;
    letter-spacing: -0.828px;
    color: #1d1e2b;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.about-section__title {
    font-weight: 400;
    font-size: 32px;
    line-height: 41.6px;
    letter-spacing: -0.736px;
    color: #1d1e2b;
    text-transform: uppercase;
}

.about-section__media {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 40px;
    overflow: hidden;
    border-radius: 24px;
}

.about-section__media--video {
  position: relative;
  width: 100%;
  margin: 0 auto 40px;
  border-radius: 16px;
  overflow: hidden;
  height: auto;
}

.about-section__media--fullwidth {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
}

.about-section__media--fullwidth .about-section__video-wrapper {
  padding-bottom: 0;
  height: clamp(420px, 52vw, 760px);
}

.about-section__media--fullwidth .about-section__video--local {
  width: 100%;
  height: clamp(420px, 52vw, 760px);
  max-height: none;
  border-radius: 0;
  object-fit: cover;
}

.about-section__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-section__play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.about-section__play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.about-section__play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 4px;
}

.about-section__footer {
	padding: 50px 0;
    display: flex;
    flex-direction: column-reverse;
}

.about-section__text {
    font-size: 16px;
    margin-bottom: 20px;
    color: #333;
}

.about-section__btn {
    display: inline-block;
    padding: 12px 40px;
    border: 1px solid var(--color-dark);
    border-radius: 50px;
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    text-align: center;
    width: 100%; 
    transition: background 0.3s, color 0.3s;
    order: 3;
    margin-top: 20px;
}

.about-section__btn:hover {
    background: #52DEE5;
    border: 1px solid #52DEE5;
    color: #fff;
}
/* Third section end */

/* Fourth section start */
.catalog-board {
    --cb-text: #000;
    --cb-border: #e6e6e6;
    --cb-cyan: #5ce1e6;
    --cb-white: #fff;
    --cb-transition: all 0.3s ease;
    
    background: #fff;
    padding: 60px 20px;
    overflow: hidden;
    color: var(--cb-text);
}

.catalog-board__container {
    max-width: calc(var(--container-width) + (var(--container-padding) * 2));
    margin: 0 auto;
    padding-right: var(--container-padding);
    padding-left: var(--container-padding);
}

.catalog-board__title {
    text-align: center;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.023em;
    color: #000000;
    margin-bottom: 40px;
}

.catalog-board__tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.catalog-board__tab {
    padding: 10px 24px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    border-radius: 30px;
    color: var(--cb-text);
    transition: var(--cb-transition);
}

.catalog-board__tab:hover {
    color: var(--cb-cyan);
}

.catalog-board__tab--active {
    background-color: var(--cb-cyan);
    color: var(--cb-white);
}

.catalog-board__tab--active:hover {
    color: var(--cb-white);
}

.catalog-board__pane {
    display: none;
    animation: cbFadeIn 0.4s ease;
}

.catalog-board__pane--active {
    display: block;
}

@keyframes cbFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.catalog-board__slider {
    overflow: hidden;
    padding-bottom: 20px;
}

.catalog-board__slider.swiper-initialized .swiper-slide {
    width: auto;
    height: auto;
}

.catalog-board__slider.swiper-initialized .product-card,
.catalog-board__slider.swiper-initialized .product-card__inner {
    width: 100%;
    max-width: none;
}

.catalog-board__slider.swiper-initialized .product-card__inner {
    height: auto;
    aspect-ratio: 304 / 362;
}

.catalog-board__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    gap: 20px;
}

.catalog-board__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border: 1px solid var(--cb-text);
    border-radius: 30px;
    text-decoration: none;
    color: var(--cb-text);
    font-weight: 500;
    transition: var(--cb-transition);
    white-space: nowrap;
}

.catalog-board__btn:hover {
    background: #52DEE5;
    border: 1px solid #52DEE5;
    color: #fff;
}

.catalog-board__controls {
    display: flex;
    align-items: center;
    flex-grow: 1;
    /*max-width: 600px;*/
    gap: 30px;
}

.catalog-board__progress-wrapper {
    position: relative;
    flex-grow: 1;
    height: 3px;
    background-color: var(--cb-border);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}
.catalog-board__progress.swiper-scrollbar {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.catalog-board__progress .swiper-scrollbar-drag {
    background-color: #000 !important;
    border-radius: 3px !important;
    height: 100% !important;
    transition: transform 0.1s ease;
}

.catalog-board__nav {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.catalog-board__arrow {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--cb-transition);
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
}

.catalog-board__arrow::after {
    display: none !important;
} 

.catalog-board__arrow.swiper-button-disabled {
    opacity: 0.3 !important;
    cursor: not-allowed;
}

.catalog-board__arrow img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* Fourth section end */


/* Fiveth section start */
.seminars {
    padding: 80px 20px;
    overflow: hidden;
    background: #fff;
}

.seminars__container {
    max-width: calc(var(--container-width) + (var(--container-padding) * 2));
    margin: 0 auto;
    padding-right: var(--container-padding);
    padding-left: var(--container-padding);
}

.seminars__header {
    margin-bottom: 0;
}

.seminars__title {
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 54px;
    letter-spacing: -0.011em;
    text-transform: uppercase;
    color: #000000;
    margin: 0;
}

.seminars__intro {
    font-family: "Museo Cyrl", serif;
    font-size: 24px;
    line-height: 1.45;
    font-weight: 300;
    font-style: italic;
    color: #1d1e2b;
    margin: 0;
}

.seminars__intro--mobile {
    display: none;
}

.seminars__intro--desktop {
    display: none;
}

.seminars__slider {
    margin-bottom: 60px;
    overflow: hidden;
    width: 100%;
    height: auto !important;
}

.seminars__slider.swiper,
.seminars__slider .swiper-wrapper {
    height: auto !important;
    align-items: flex-start !important;
}

.seminars__slider .swiper-slide,
.seminars__slider .seminar-card-slide {
    align-self: flex-start !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

.seminar-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    height: 520px;
    transition: var(--transition);
}

.seminar-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.seminar-card__top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.seminar-card__badge {
    background: #ffffff;
    color: #1e1e2b;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #d9d9d9;
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.seminar-card__btn-go {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #1e1e2b;
    background-color: #ffffff;
    color: #1e1e2b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    text-decoration: none;
}

.seminar-card__btn-go img,
.blog-card__btn img {
    width: 25px;
    height: 25px;
    display: block;
}

.seminar-card__btn-go:hover {
    background: #52dee5;
    border-color: #52dee5;
    color: #fff;
}

.seminar-card--completed .seminar-card__btn-go {
    border-color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.seminar-card--completed .seminar-card__btn-go:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.seminar-card--completed .seminar-card__btn-go img {
    filter: brightness(0) invert(1);
}

.seminar-card__content {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 24px;
    border-radius: 24px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    align-self: stretch;
    box-sizing: border-box;
}

.seminar-card__tags {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.seminar-card__tag {
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
}

.seminar-card__tag--fill {
    color: #1d1e2b;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.seminar-card__tag--outline {
    flex-shrink: 0;
    padding: 6px 14px;
    border: 1px solid #1e1e2b;
    border-radius: 999px;
    color: #1e1e2b;
    white-space: nowrap;
}

.seminar-card-slide--template-1 .seminar-card__tags {
    justify-content: flex-start;
    align-items: flex-start;
}

.seminar-card-slide--template-1 .seminar-card__tag--outline {
    order: 1;
}

.seminar-card-slide--template-1 .seminar-card__tag--fill {
    order: 2;
    flex: 0 1 auto;
    min-width: 0;
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
    color: #1d1e2b;
}

.seminar-card-slide--template-1 .seminar-card__tag--outline,
.seminar-card-slide--template-2 .seminar-card__tag--outline {
    margin-left: 0;
}

.seminar-card-slide--template-2 .seminar-card__tags {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.seminar-card-slide--template-2 .seminar-card__tag--fill {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22.4px;
    color: #1d1e2b;
}

.seminar-card-slide--template-2 .seminar-card__tag--outline {
    order: 2;
    margin-left: auto;
}

.seminar-card__name {
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 28.8px;
    color: #1d1e2b;
    margin: 0;
}

.seminars__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.seminars__btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 32px;
    border: 1px solid #1e1e2b;
    border-radius: 999px;
    color: #1e1e2b;
    background: #ffffff;
    text-decoration: none;
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.seminars__btn[hidden] {
    display: none;
}

.seminars__btn:hover {
    background: #52dee5;
    color: #ffffff;
    border-color: #52dee5;
}

.seminars__controls {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-grow: 1;
    max-width: 1000px;
}

.swiper-pagination.seminars__pagination.swiper-pagination-progressbar {
    position: relative;
    flex-grow: 1; 
    height: 2px;
    background: var(--border-color); 
    width: auto;
    left: auto;
    top: auto;
    --swiper-pagination-color: var(--text-main); 
}

.seminars__nav {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.seminars__arrow {
    background: transparent;
    border: none;
    color: #8C8C8C;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.seminars__arrow:hover:not(.swiper-button-disabled) {
    color: var(--text-main);
}

.seminars__arrow.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.seminars--page {
    padding-top: 48px;
    padding-bottom: 96px;
}

.seminars__header--page {
    display: block;
    margin-bottom: 40px;
}

.seminars-page__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
}

.seminars-page__grid .seminar-card-slide {
    height: 100%;
}

.seminars-page__grid .seminar-card {
    height: 520px;
}

.seminars-page__empty {
    margin: 0;
    font-size: 18px;
    color: var(--text-muted);
}

.seminars__btn:disabled,
.seminars__btn.seminars__btn--exhausted {
    opacity: 0.55;
    cursor: default;
}

.seminars__btn:disabled:hover,
.seminars__btn.seminars__btn--exhausted:hover {
    background: #ffffff;
    color: #1e1e2b;
    border-color: #1e1e2b;
}
/* Fiveth section end */



/* Sixth section start */
.access-section {
	background: #ffffff;
}

.access-section--home {
    background-color: #f7f9fc;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.page-template-page-catalog .access-section {
	background: #ffffff;
}

.access-section__container {
    display: flex;
    flex-direction: column;
}

.access-section__content {
    padding: 40px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.access-section__subtitle {
    font-style: italic;
    font-size: 32px;
    line-height: 1.5;
    letter-spacing: -0.011em;
    color: #1A1A1A;
    margin-bottom: 12px;
    font-family: "Museo Cyrl";
    font-weight: 300;
}

.access-section__title {
    font-size: 48px;
    font-weight: 600;
    color: #5EE1E5;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: -0.023em;
    margin-bottom: 24px;
}

.access-section__list {
    list-style: none;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 32px;
}

.access-section__item {
    font-size: 24px;
    font-style: normal;
    color: #1A1A1A;
    line-height: 1.5;
    letter-spacing: -0.011em;
    margin-bottom: 6px;
    text-transform: lowercase;
}

.access-section__item-num {
    font-style: italic;
    font-family: "Museo Cyrl", serif;
    font-weight: 300;
    text-transform: none;
}

.access-section__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 320px;
    max-width: 360px;
    min-height: 58px;
    background-color: #5EE1E5;
    color: #1E1E2B;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: -0.022em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 48px;
    border-radius: 36px;
    text-align: center;
    align-self: flex-start;
    box-sizing: border-box;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.access-section__button:hover {
    color: #1E1E2B;
    box-shadow: 0 4px 15px rgba(82, 222, 229, 0.4);
}

.access-section__image-wrapper {
    width: 100%;
    height: 400px; 
}

.access-section__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
    display: block;
}

/* Home-only: same card pattern as .find-specialist */
.access-section--home .access-section__container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-radius: 60px;
    overflow: hidden;
    background: #f7f9fc;
}

.access-section--home .access-section__content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    border-radius: 0;
}

.access-section--home .access-section__image-wrapper {
    flex: 1;
    min-height: 500px;
    overflow: hidden;
    border-radius: 0;
    position: relative;
    align-self: stretch;
}

.access-section--home .access-section__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 10%;
}
/* Sixth section end */


/* Seventh section start */
.reviews {
    color: #111;
    padding: 120px 0;
    overflow: hidden; 
    background: #fff;
}

.reviews__container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.reviews__title {
    font-size: 36px;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.5;
    letter-spacing: -0.011em;
    color: #000000;
}

.reviews__slider {
    margin-bottom: 40px;
}

.reviews__slider .swiper-wrapper {
    align-items: flex-start;
}

.reviews__slide {
    height: auto;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
}

.review-card {
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 20px;
    padding: 30px 45px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    height: auto;
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.review-card__name {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.review-card__stars {
    display: flex;
    gap: 4px;
}

.review-card__star {
    width: 16px;
    height: 16px;
    display: block;
}

.review-card__badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    align-self: flex-start;
}

.review-card__badge--patient {
    border: 1px solid #111;
    color: #111;
}

.review-card__badge--doctor {
    background-color: #58E0D7;
    color: #111;
    border: 1px solid transparent;
}

.review-card__video {
    width: 100%;
    margin: 0 0 18px;
}

.review-card__video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: #0f1117;
}

.review-card__video-el--youtube {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.review-card__video-el--local {
    display: block;
    width: 100%;
    max-height: 280px;
    border-radius: 14px;
    background: #0f1117;
    object-fit: contain;
}

.review-card--video .review-card__text {
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.review-card__text {
    font-size: 16px;
    line-height: 1.5;
    color: #4A4A4A;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 4; 
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-card__toggle-btn {
    background: none;
    border: none;
    color: #58E0D7; 
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    display: block;
    visibility: hidden;
    pointer-events: none;
    min-height: 24px;
    align-self: flex-start;
    transition: color 0.3s;
}

.review-card__toggle-btn.is-visible {
    visibility: visible;
    pointer-events: auto;
}

.review-card__toggle-btn:hover {
    color: #3baba3;
}

.review-card--expanded {
    height: auto;
    min-height: 0;
}

.review-card--expanded .review-card__text {
    -webkit-line-clamp: unset; 
    line-clamp: unset;
    overflow: visible;
    min-height: 0;
}

.reviews__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.reviews__progress-wrapper {
    flex-grow: 1;
    position: relative;
    height: 1px;
    max-width: 1000px;
}

.reviews__progress.swiper-pagination-progressbar {
    background: #E0E0E0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.reviews__progress .swiper-pagination-progressbar-fill {
    background: #111; 
}

.reviews__nav {
    display: flex;
    gap: 16px;
}

.reviews__arrow {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    width: 48px;
    height: 48px;
    transition: opacity 0.3s;
}

.reviews__arrow:hover {
    opacity: 0.6;
}

.reviews__arrow.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
}

.reviews__arrow::after {
    display: none; 
}

.reviews__arrow.swiper-button-prev,
.reviews__arrow.swiper-button-next {
    position: static;
    margin: 0;
}

.reviews__arrow img {
    width: 30px; 
    height: auto;
    display: block;
}
/* Seventh section end */


/* Eighth section start  */
.brand-life {
  color: #111;
  padding: 60px 0;
  overflow: hidden;
  background: #fff;
}

.brand-life__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.brand-life__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.brand-life__title {
  font-family: "Golos Text VF", "Golos Text", sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.011em;
  margin: 0;
  color: #000000;
  white-space: nowrap;
}

.brand-life__subtitle {
  font-family: "Museo Cyrl";
  font-size: 24px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: -0.023em;
  color: #1d1e2b;
  margin: 0;
  padding: 10px 0;
  max-width: 550px;
  text-align: left;
}

.brand-life__group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.brand-life__item {
  display: flex;
  flex-direction: column;
}

.brand-life__image-wrap {
  width: 100%;
  aspect-ratio: auto;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 16px;
}

.brand-life__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-life__author {
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}

.brand-life__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 60px;
}

.brand-life__socials {
  display: flex;
  gap: 16px;
}

.brand-life__btn {
  display: inline-flex;
  border: 1px solid #111;
  border-radius: 40px;
  padding: 12px 35px;
  font-size: 14px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
}

.brand-life__btn:hover {
  border: 1px solid #fff;
  background: #50d6e3;
}

.brand-life__progress-wrapper {
  flex-grow: 1;
  position: relative;
  height: 1px;
  max-width: 1000px;
}

.brand-life__progress.swiper-pagination-progressbar {
  background: #E0E0E0;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.brand-life__progress .swiper-pagination-progressbar-fill {
  background: #111;
}

.brand-life__nav {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  column-gap: 16px;
}

.brand-life__pagination {
  display: inline-block;
  font-size: 20px;
  color: #7f8497;
  min-width: 52px;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
}

.brand-life__arrow {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
}

.brand-life__arrow img {
  width: 30px;
  height: auto;
  display: block;
}

.brand-life__arrow::after { display: none; }
.brand-life__arrow.swiper-button-prev,
.brand-life__arrow.swiper-button-next { position: static; margin: 0; }
.brand-life__arrow.swiper-button-disabled { opacity: 0.3; }

.brand-life--home .brand-life__nav {
  display: flex;
  gap: 16px;
}
/* Eighth section end  */


/* Nineth section start  */
.blog {
    display: block;
    padding: 120px 20px;
    background-color: #ffffff;
}

.blog__header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 40px;
}

.blog__title {
    flex: 0 0 auto;
    margin: 0;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.011em;
    text-transform: uppercase;
    color: #000000;
}

.blog__desc {
    flex: 0 1 42%;
    margin: 0 0 0 auto;
    font-family: "Museo Cyrl", serif;
    font-size: 24px;
    font-weight: 300;
    font-style: italic;
    color: #1d1e2b;
    line-height: 1.3;
    max-width: 520px;
}

.blog__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.blog__column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog__column--right {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.blog__footer {
    margin-top: 40px;
}

.blog__read-more {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid #1a1a1a;
    border-radius: 999px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    background: #fff;
    transition: all 0.3s ease;
}

.blog__read-more:hover {
    background-color: #50d6e3;
    border: 1px solid #50d6e3;
    color: #ffffff;
}

.blog-card {
    position: relative;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.blog-card__top,
.blog-card__bottom {
    position: relative;
    z-index: 2;
}

.blog-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.blog-card__bottom {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    margin-top: auto;
}

.blog-card__tag {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #1a1a1a;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1.2;
    background-color: #fff;
    color: #1a1a1a;
}

.blog-card__actions {
    display: flex;
    gap: 8px;
}

.blog-card__btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #1a1a1a;
    /*background-color: #fff;*/
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-card__btn:hover {
    background: #52dee5;
    border-color: #52dee5;
    color: #fff;
}

.blog-card__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.28;
    color: #1a1a1a;
}

.blog-card__title-main,
.blog-card__title-sub {
    display: block;
}

.blog-card__title-main {
    font-weight: 700;
}

.blog-card__title-sub {
    margin-top: 4px;
    font-weight: 400;
}

/* Left column: image cards with bottom gradient */
.blog-card--small {
    height: 365px;
    justify-content: space-between;
    background-color: #f4f4f4;
}

.blog-card--small::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 58%;
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.82) 28%,
        rgba(255, 255, 255, 0.35) 58%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.blog-card--small .blog-card__bottom {
    padding: 0 2px 2px;
    max-width: 92%;
    background: transparent;
    border-radius: 0;
}

.blog-card--small:hover,
.blog-card--large:hover {
    border-color: #4a90e2;
}

/* Right column: title on top, image below */
.blog-card--large {
    flex: 1;
    height: 100%;
    min-height: 0;
    padding: 20px;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
}

.blog-card--large .blog-card__image {
    /*position: relative; */
    order: 3;
    top: auto;
    /* left: auto; */
    flex: 1 1 0;
    width: 100%;
    /* height: auto; */
    min-height: 0;
    margin-top: 20px;
    /* border-radius: 16px; */
    /* object-fit: cover; */
    /* object-position: center bottom; */
}

.blog-card--large .blog-card__top {
    order: 1;
    flex-shrink: 0;
}

.blog-card--large .blog-card__bottom {
    order: 2;
    margin-top: 18px;
    margin-bottom: 0;
    max-width: 100%;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.blog-card__title--large {
    margin-top: 0;
    font-size: 26px;
    line-height: 1.24;
    max-width: none;
}
/* Nineth section end  */


/* Tenth section start */
:root {
  --accent-color: #5ee1e5;
  --text-dark: #333333;
  --bg-light: #f7f9fc;
  --white: #ffffff;
}

.find-specialist {
  background-color: var(--bg-light);
}

.product-page .find-specialist {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}


.find-specialist__container {
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 60px;
  display: flex;
  overflow: hidden; 
  align-items: stretch;
}

.find-specialist__content {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.find-specialist__title {
  color: var(--accent-color);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
  text-transform: uppercase;
  font-family: "Golos Text VF";
}

.find-specialist__info {
  margin-bottom: 40px;
  max-width: 550px;
}

.find-specialist__text {
  font-family: 'Golos Text VF';
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 25px;
  font-weight: 400;
}

.find-specialist__text--accent {
  font-family: 'Museo Cyrl';
  margin-bottom: 0;
  font-weight: 300;
  font-style: italic;
  font-size: 24px;
}

.find-specialist__button {
  font-family: 'Golos Text VF';
  width: fit-content;
  background-color: var(--accent-color);
  color: var(--text-dark);
  border: none;
  padding: 10px 60px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.3s ease;
  text-transform: uppercase;
}

.find-specialist__button:hover {
  opacity: 0.8;
}

.find-specialist__image-wrapper {
  flex: 1;
  min-height: 500px;
}

.find-specialist__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
  border-top-left-radius: 60px;
  border-bottom-left-radius: 60px;
}
/* Tenth section end */

/* Specialist modal start */
.specialist-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

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

.specialist-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 30, 30, 0.72);
  cursor: pointer;
}

.specialist-modal__card {
  position: relative;
  z-index: 1;
  width: min(92vw, 760px);
  background: #fff;
  border-radius: 40px;
  padding: 48px 56px;
}

.specialist-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s;
}

.specialist-modal__close svg {
  width: 14px;
  height: 14px;
  color: #6b7280;
}

.specialist-modal__close:hover {
  border-color: #1a1a1a;
}

.specialist-modal__title {
  margin: 0;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
  color: #1a1a1a;
}

.specialist-modal__subtitle {
  margin: 10px 0 0;
  font-size: 15px;
  color: #000;
}

.specialist-modal__form {
  margin-top: 32px;
}

.specialist-modal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.specialist-modal__field {
  display: block;
}

.specialist-modal__field--full {
  margin-top: 20px;
}

.specialist-modal__input {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid #d1d5db;
  padding: 10px 0;
  font-size: 15px;
  color: #1a1a1a;
  background: transparent;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.specialist-modal__input:focus {
  border-bottom-color: #8de6ef;
}

.specialist-modal__input::placeholder {
  color: #a0a6ba;
}

.specialist-modal__phone-wrap {
  display: flex;
  align-items: center;
  border-bottom: 1.5px solid #d1d5db;
  transition: border-color 0.2s;
}

.specialist-modal__phone-wrap:focus-within {
  border-bottom-color: #8de6ef;
}

.specialist-modal__phone-prefix {
  font-size: 15px;
  color: #1a1a1a;
  white-space: nowrap;
  padding: 10px 6px 10px 0;
}

.specialist-modal__input--phone {
  border: none;
  padding-left: 0;
}

.specialist-modal__input--phone:focus {
  border-bottom-color: transparent;
}

.specialist-modal__actions {
  margin-top: 32px;
  display: flex;
  justify-content: flex-end;
}

.specialist-modal__submit {
  min-width: 280px;
  height: 50px;
  border: none;
  border-radius: 999px;
  background: #8de6ef;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 0.2s;
}

.specialist-modal__submit:hover {
  opacity: 0.8;
}
/* Contact Form 7 inside specialist modal */
.specialist-modal .wpcf7 {
  margin: 0;
}

.specialist-modal .wpcf7-form {
  margin: 0;
}

.specialist-modal .wpcf7-form p {
  margin: 0;
}

.specialist-modal .wpcf7-form .specialist-modal__field--full {
  margin-top: 20px;
}

.specialist-modal .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #d63638;
  margin-top: 6px;
}

.specialist-modal .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
}

.specialist-modal .wpcf7-spinner {
  margin-left: 12px;
}


.melligri-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.specialist-modal__turnstile {
  margin: 0 0 16px;
}

.specialist-modal__turnstile .wpcf7-turnstile,
.specialist-modal__turnstile .cf-turnstile {
  display: flex;
  justify-content: center;
}
.specialist-modal__cf7-missing {
  margin: 0;
  font-size: 14px;
  color: #5c5c5c;
}



/* Thanks modal */
.specialist-modal__card--thanks {
  width: min(92vw, 820px);
  padding: 0;
  overflow: hidden;
  border-radius: 40px;
}

.specialist-modal__thanks-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 340px;
}

.specialist-modal__thanks-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 48px 40px;
  background: #f7f7f8;
}

.specialist-modal__thanks-text .specialist-modal__title {
  color: #1a1a1a;
}

.specialist-modal__thanks-text .specialist-modal__subtitle {
  margin-top: 12px;
}

.specialist-modal__thanks-image {
  position: relative;
  overflow: hidden;
  border-radius: 0 40px 40px 48px;
}

.specialist-modal__thanks-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.specialist-modal__field--error .specialist-modal__input {
  border-bottom-color: #e74c3c;
}

.specialist-modal__error-text {
  font-size: 12px;
  color: #e74c3c;
  margin-top: 4px;
}
/* Specialist modal end */

/* Eleventh section start */
:root {
  --faq-text: #1d1e2b;
  --faq-border: #dadce5;
  --faq-transition: all 0.3s ease;
}

.faq {
  background: #fff;
  padding: 120px 20px;
  color: var(--faq-text);
}

.faq__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 0;
}

.faq__title {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.011em;
  color: #1d1e2b;
  margin: 0;
  text-transform: uppercase;
}

.faq__subtitle {
  font-family: "Museo Cyrl";
  font-style: italic;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.011em;
  color: #1d1e2b;
  margin: 0;
  max-width: 420px;
  text-align: right;
}

.faq__item {
  border-bottom: 1px solid var(--faq-border);
}

.faq__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq__question {
  font-family: "Golos Text VF";
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.011em;
  color: #1d1e2b;
  max-width: 90%;
}

.faq__icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background-color: #1d1e2b;
  transition: var(--faq-transition);
}

.faq__icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq__icon::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.faq__item--active .faq__icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq__content { 
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq__item--active .faq__content {
  width: 65%;
  max-height: 200px;
}

.faq__answer {
  font-family: "Golos Text VF";
  font-size: 20px;
  /*font-weight: 400;*/
  padding-bottom: 24px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  color: #1d1e2b;
}
/* Eleventh section end */


/* Twelfth section start */
.contacts {
  color: #1d1e2b;
  padding: 120px 0 132px;
  background-color: #ffffff;
}

.contacts__title {
  margin: 0 0 131px;
  font-family: "Golos Text VF", "Golos Text", sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 50.4px;
  letter-spacing: -0.023em;
  text-transform: none;
  color: #1d1e2b;
}

.contacts__phones {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 46px;
}

.contacts__phones .contacts__link {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.175;
  letter-spacing: 0;
  color: #1d1e2b;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.contacts__phones .contacts__link:hover {
  opacity: 0.7;
}

.contacts__details {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.contacts__link--email {
  flex: 0 1 auto;
  font-family: "Golos Text VF", "Golos Text", sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 38.4px;
  letter-spacing: 0;
  color: #1d1e2b;
  text-decoration: underline;
  text-underline-offset: 7px;
  transition: opacity 0.2s ease;
}

.contacts__link--email:hover {
  opacity: 0.7;
}

.contacts__address {
  flex: 0 0 auto;
  max-width: 331px;
  margin: 0 0 0 auto;
  padding: 0;
  font-family: "Museo Cyrl", serif;
  font-size: 24px;
  font-weight: 300;
  font-style: italic;
  line-height: 28.8px;
  letter-spacing: 0;
  color: #1d1e2b;
  text-align: right;
}
/* Twelfth section end */


/*--------- Home page styles end-------------- */

/*--------- Catalog page styles start -------- */

/* Breadcrumbs start */
.breadcrumbs {
  padding: 16px 0;
  background: #fff;
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.breadcrumbs__item {
  font-family: "Golos Text VF", "Golos Text", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #9195ad;
}

.breadcrumbs__link {
  color: #1e1e2b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs__link:hover {
  color: #5ba8b8;
}

.breadcrumbs__separator {
  color: #9195ad;
  font-size: 14px;
}

.breadcrumbs__item--current {
  color: #9195ad;
}
/* Breadcrumbs end */


/* Catalog Second section start */
.page-template-page-catalog {
    --catalog-text: #1e1e2b;
    --catalog-text-muted: #55596f;
    --catalog-text-light: #9195ad;
    --catalog-border: #f0f0f0;
    --catalog-border-strong: #dadce5;
    --catalog-accent: #5ee1e5;
    --catalog-accent-hover: #4dd4d8;
    --catalog-checkbox-border: #9195ad;
    --catalog-search-border: #7b7f97;
}

.catalog-hero {
  width: 100%;
}

.catalog-hero__banner {
  position: relative;
  width: 100%;
  height: 355px;
  overflow: hidden;
}

.catalog-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.catalog-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.catalog-hero__container {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.catalog-hero__title {
  font-family: "Museo Cyrl", "Merriweather", serif;
  font-size: 48px;
  font-weight: 300;
  font-style: italic;
  color: #1e1e2b;
  margin: 0;
}

.white {
  background: #fff;
}

.black {
  color:#000;
}

.top {
  padding-top: 20px;
  display: block;
}

.catalog-page {
    padding: 0 0 80px;
    background: #fff;
    font-family: "Golos Text", sans-serif;
}

.catalog-page__container {
    max-width: calc(var(--container-width) + (var(--container-padding) * 2));
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 329px minmax(0, 1fr);
    gap: 0 30px;
    align-items: start;
}

.catalog-page__sidebar {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0 0 24px;
    position: sticky;
    top: 20px;
}

.catalog-filters {
    background: #fff;
    border-radius: 12px;
    padding: 24px 26px 20px;
    box-sizing: border-box;
}

.catalog-page__filter-topbar-wrap {
    width: 100%;
    background: #fff;
    position: relative;
    z-index: 4;
}

.catalog-page__filter-topbar-wrap > .container {
    display: block;
}

.catalog-page__filter-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
    width: 100%;
    margin: 0;
    padding: 20px 0 22px;
    max-width: 100%;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    z-index: 3;
    box-sizing: border-box;
    border-bottom: 0;
}

.catalog-page__filter-top-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--catalog-text, #1e1e2b);
}

.catalog-page__filter-top-label {
    display: inline-flex;
}

.catalog-page__filter-top-item svg {
    width: 20px;
    height: 20px;
    color: var(--catalog-text, #1e1e2b);
    flex-shrink: 0;
}

.catalog-page__filter-top-item--clear input {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    margin: 0;
    border: 1px solid var(--catalog-checkbox-border, #9195ad);
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.catalog-page__filter-top-item--clear input:checked {
    background: var(--catalog-accent, #5ee1e5);
    border-color: var(--catalog-accent, #5ee1e5);
}

.catalog-page__filter-top-item--clear input:checked::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 8px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.catalog-page__filter-top-item--sort {
    margin-left: 0;
}

.catalog-page__filter-top-item--sort select {
    border: 0;
    background: transparent;
    font-size: 14px;
    color: #303649;
    padding-right: 14px;
    cursor: pointer;
    appearance: none;
}

.catalog-page__sort-dropdown {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 1;
}

.catalog-page__sort-dropdown.is-open {
    z-index: 60;
}

.catalog-page__sort-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--catalog-text, #1e1e2b);
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
}

.catalog-page__sort-trigger-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--catalog-text, #1e1e2b);
    transition: transform 0.2s ease;
}

.catalog-page__sort-dropdown.is-open .catalog-page__sort-trigger-icon {
    transform: rotate(180deg);
}

.catalog-page__filter-topbar-wrap.is-sort-open {
    z-index: 50;
}

.catalog-page__sort-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    width: max-content;
    min-width: 300px;
    max-width: min(360px, calc(100vw - 32px));
    margin: 0;
    background: #fff;
    border: 1px solid var(--catalog-border-strong, #dadce5);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(30, 30, 43, 0.1);
    z-index: 70;
    padding: 8px;
    box-sizing: border-box;
}

.catalog-page__sort-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.catalog-page__sort-menu-list li {
    margin: 0;
    padding: 0;
}

.catalog-page__sort-option {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 10px 12px;
    border-radius: 8px;
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--catalog-text, #1e1e2b);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.catalog-page__sort-option:hover {
    background: rgba(30, 30, 43, 0.04);
}

.catalog-page__sort-option.is-active {
    background: rgba(94, 225, 229, 0.16);
    color: var(--catalog-text, #1e1e2b);
}

.catalog-page__filter-top-item--clear {
    cursor: pointer;
    user-select: none;
}

.catalog-page__sidebar-head {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 8px;
}

.catalog-page__filter-close {
    display: none;
    border: 0;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
}

.catalog-page__mobile-title,
.catalog-mobile-filter {
    display: none;
}

.catalog-page__mobile-back {
    display: none;
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    color: #68708a;
    font-size: 50px;
    cursor: pointer;
    margin: 0 0 20px 0;
}

.catalog-mobile-filter__list {
    display: grid;
}

.catalog-mobile-filter {
    flex-direction: column;
}

.catalog-mobile-filter__row {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #b9bfce;
    background: transparent;
    min-height: 52px;
    padding: 0 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 22px;
    color: #2c3141;
    cursor: pointer;
    text-align: left;
}

.catalog-mobile-filter__arrow {
    font-size: 25px;
    color: #7b8398;
}

.catalog-page__filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(48, 52, 66, 0.58);
    z-index: 119;
    pointer-events: none;
}

.catalog-page__filter-overlay--visible {
    display: block;
    pointer-events: auto;
}

.catalog-mobile-filter__actions,
.catalog-mobile-filter__controls {
    margin-top: 34px;
    display: grid;
    gap: 10px;
}

.catalog-mobile-filter__apply,
.catalog-mobile-filter__reset {
    border: 0;
    border-radius: 999px;
    min-height: 48px;
    font-size: 15px;
    cursor: pointer;
    width: 100%;
}

.catalog-mobile-filter__apply {
    background: #1f2237;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.catalog-mobile-filter__reset {
    background: #d8dce8;
    color: #2b3040;
    font-size: 16px;
}

.catalog-mobile-filter__row--plain {
    justify-content: flex-start;
}

.catalog-filter {
    border-top: 0;
    margin: 0;
    /* Keep divider close to last option (raised), not under the next title */
    padding: 0 0 12px;
    border-bottom: 1px solid var(--catalog-border-strong, #dadce5);
}

/* Gap under the divider so the next section title does not sit on the line */
.catalog-filter + .catalog-filter {
    padding-top: 20px;
}

.catalog-filter:last-of-type {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.catalog-filter > .catalog-filter__option:last-child,
.catalog-filter > .catalog-filter__group:last-child,
.catalog-filter > .catalog-filter__scroll:last-child {
    margin-bottom: 0;
}

.catalog-filter__title {
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--catalog-text, #1e1e2b);
}

.catalog-filter__subtitle {
    margin: -8px 0 16px;
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--catalog-text, #1e1e2b);
}

.catalog-filter__option {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0 18px;
    margin-bottom: 14px;
    cursor: pointer;
}

.catalog-filter__option--hidden,
.catalog-filter__option[hidden] {
    display: none !important;
}

.catalog-filter__option--all {
    margin-bottom: 14px;
}

.catalog-filter__checkbox {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    margin: 0;
    border: 1px solid var(--catalog-checkbox-border, #9195ad);
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.catalog-filter__checkbox:checked {
    background: var(--catalog-accent, #5ee1e5);
    border-color: var(--catalog-accent, #5ee1e5);
}

.catalog-filter__checkbox:checked::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 8px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.catalog-filter__label {
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--catalog-text-muted, #55596f);
}

.catalog-filter__count {
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--catalog-text-light, #9195ad);
    text-align: right;
    min-width: 28px;
}

.catalog-filter__group {
    margin-top: 6px;
    padding-top: 4px;
}

.catalog-filter__group-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--catalog-text, #1e1e2b);
    cursor: pointer;
}

.catalog-filter__group-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    font-size: 0;
    line-height: 0;
    color: transparent;
    position: relative;
}

.catalog-filter__group-icon::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 8px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid var(--catalog-text-light, #9195ad);
    border-bottom: 1.5px solid var(--catalog-text-light, #9195ad);
    transform: rotate(45deg);
    transition: transform 0.2s ease, top 0.2s ease;
}

.catalog-filter__group--open .catalog-filter__group-icon::before,
.catalog-filter__group-toggle[aria-expanded="true"] .catalog-filter__group-icon::before {
    top: 10px;
    transform: rotate(-135deg);
}

.catalog-filter--composition .catalog-filter__title {
    font-size: 20px;
    margin-bottom: 10px;
}

.catalog-filter--composition .catalog-filter__search-wrap {
    margin-bottom: 8px;
}

.catalog-filter--composition .catalog-filter__option {
    margin-bottom: 8px;
}

.catalog-filter--composition .catalog-filter__scroll {
    max-height: 190px;
}

.catalog-filters > .catalog-filter__reset {
    margin-top: 8px;
}

.catalog-filter__muted {
    font-size: 16px;
    font-weight: 400;
    color: var(--catalog-text-muted, #55596f);
}

.catalog-filter__search-wrap {
    margin: 0 0 14px;
}

.catalog-filter__search {
    width: 100%;
    height: 44px;
    border: 1px solid var(--catalog-search-border, #7b7f97);
    border-radius: 12px;
    background: #fff;
    padding: 0 14px;
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    font-size: 14px;
    color: var(--catalog-text, #1e1e2b);
}

.catalog-filter__scroll {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 6px;
}

.catalog-filter__reset {
    width: 100%;
    margin-top: 12px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid var(--catalog-border-strong, #dadce5);
    background: #fff;
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--catalog-text-muted, #55596f);
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.catalog-filter__reset:hover {
    border-color: var(--catalog-accent, #5ee1e5);
    color: var(--catalog-text, #1e1e2b);
    background: rgba(94, 225, 229, 0.08);
}

.catalog-page__content {
    min-width: 0;
}

.catalog-page__toolbar {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.catalog-page__filter-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid #d3d8e5;
    border-radius: 999px;
    background: #fff;
    color: #2f3241;
    padding: 10px 14px;
    cursor: pointer;
}

.catalog-page__result,
.catalog-page__sort-label {
    font-size: 14px;
    color: #60657a;
}

.catalog-page__sort {
    border: 1px solid #d3d8e5;
    border-radius: 999px;
    background: #fff;
    color: #2f3241;
    font-size: 13px;
    padding: 9px 14px;
}

.catalog-page__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row dense;
    grid-auto-rows: auto;
    align-items: start;
    justify-items: stretch;
    column-gap: 24px;
    row-gap: 12px;
    width: 100%;
}

.catalog-page__grid > .product-card {
    min-width: 0;
    width: 100%;
    height: auto;
    gap: 8px;
    display: flex;
    flex-direction: column;
}

.catalog-page__grid > .product-card .product-card__meta {
    min-height: 28px;
}


/* Product card face label */
.product-card__face-slot {
    display: flex;
    align-items: flex-end;
    min-height: 21px;
    margin: 0;
    padding-left: 4px;
    flex-shrink: 0;
}

.catalog-page__grid > .product-card .product-card__face-slot {
    min-height: 0;
    height: auto;
    flex: 0 0 auto;
}

.catalog-page__grid > .product-card .product-card__face-slot:empty {
    display: none;
}

.product-card__face-slot .product-card__category {
    display: block;
    font-size: 13px;
    line-height: 1.2;
    color: #4b5563;
    margin: 0;
}

/* Product card — homepage НОВИНКИ / ХІТ-ПРОДУКТИ (catalog uses the same) */
.product-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: auto;
    background: #fff;
    box-sizing: border-box;
}

.product-card[data-product-url]:not([data-product-url=""]) {
    cursor: pointer !important;
}

.product-card[data-product-url]:not([data-product-url=""]) .product-card__wishlist,
.product-card[data-product-url]:not([data-product-url=""]) .product-card__star,
.product-card[data-product-url]:not([data-product-url=""]) .product-card__tag,
.product-card[data-product-url]:not([data-product-url=""]) .product-card__cart-btn,
.product-card[data-product-url]:not([data-product-url=""]) .product-card__btn {
    cursor: pointer;
}

.products__slider .swiper-slide > .product-card,
.similar-products__slider .swiper-slide > .product-card,
.recently-viewed__slider .swiper-slide > .product-card {
    height: 100%;
}

.product-card__inner {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.product-card__inner:hover,
.product-card.product-card--active .product-card__inner {
    border-color: #5ba8b8;
}

.product-card__wishlist {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 15;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: #5ba8b8;
    transition: color 0.3s;
}

.product-card__wishlist svg {
    width: 24px;
    height: 24px;
    transition: fill 0.3s, stroke 0.3s;
}

.product-card__wishlist--active {
    color: #9195AD !important;
}

.product-card__wishlist--active svg {
    fill: #9195AD !important;
    stroke: #9195AD !important;
}

/* У обраному на білому фоні — #9195AD; на hover/active картки (бірюзовий overlay) — біле */
.product-card__inner:hover .product-card__wishlist--active,
.product-card.product-card--active .product-card__wishlist--active {
    color: #fff !important;
}

.product-card__inner:hover .product-card__wishlist--active svg,
.product-card.product-card--active .product-card__wishlist--active svg {
    fill: #fff !important;
    stroke: #fff !important;
}

.product-card__inner:hover .product-card__wishlist:not(.product-card__wishlist--active) {
    color: #fff;
}

.product-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 15;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #1a1a1a;
    border-radius: 999px;
    padding: 4px 12px;
    font-family: "Golos Text", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    color: #1a1a1a;
    transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}

.product-card__inner:hover .product-card__badge,
.product-card.product-card--active .product-card__badge {
    color: #fff;
    border-color: #fff;
}

.product-card__image {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    pointer-events: none;
}

.product-card__image img,
.product-card__img {
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
}

/* Overlay that appears on hover/active */
.product-card__overlay-top,
.product-card__overlay-title {
    display: none;
}

.product-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 24px;
    box-sizing: border-box;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-card__inner:hover .product-card__overlay,
.product-card.product-card--active .product-card__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background-color: #5ba8b8de;
}

.product-card__info {
    margin-top: 30px;
    margin-bottom: auto;
}

.product-card__desc {
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
    margin: 32px 0 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.product-card__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}
.product-card__overlay-price {
    display: none;
}

@media (min-width: 769px) {
    .product-card__overlay-price {
        display: block;
        margin: 0;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.3;
        color: #fff;
    }
}



.product-card__stars {
    display: flex;
    gap: 4px;
}

.product-card__stars svg {
    width: 16px;
    height: 16px;
    fill: #fff;
    opacity: 0.5;
    transition: opacity 0.2s;
    cursor: pointer;
}

.product-card__stars .product-card__star--active {
    opacity: 1;
}

.product-card__volumes {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.product-card__volume {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    font: inherit;
}

.product-card__volume--selected {
    background: #fff;
    color: #5ba8b8;
    border: 1px solid #fff;
}

.product-card__volume--outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.product-card__volume--outline:hover {
    border-color: #fff;
}

.product-card__tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.product-card__tag {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.product-card__tag--selected {
    background: #fff;
    color: #5ba8b8;
    border: 1px solid #fff;
}

.product-card__tag--outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.product-card__tag--outline:hover {
    border-color: #fff;
}

.product-card__cart-btn,
.product-card__btn {
    width: 100%;
    padding: 12px;
    border-radius: 24px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    background: #fff;
    color: #1a1a1a;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.product-card__cart-btn:hover,
.product-card__btn:hover {
    background: #eef1f6;
}

.product-card__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.product-card__meta .product-card__title,
.product-card__title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  margin-left: 4px;
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
}

/* Home: ХІТ-ПРОДУКТИ, НОВИНКИ, ПРОДУКТИ — card image frame like Figma */
.products .swiper-slide,
.catalog-board .swiper-slide {
  width: 304px;
  height: auto;
}

.products .product-card,
.catalog-board .product-card,
.similar-products .product-card,
.recently-viewed .product-card {
  width: 304px;
  max-width: 100%;
  gap: 10px;
  cursor: pointer;
}

.products .product-card__inner,
.catalog-board .product-card__inner,
.similar-products .product-card__inner,
.recently-viewed .product-card__inner {
  width: 304px;
  height: 362px;
  max-width: 100%;
  aspect-ratio: auto;
  flex: 0 0 auto;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: #fff;
}

.products .product-card__meta,
.catalog-board .product-card__meta,
.similar-products .product-card__meta,
.recently-viewed .product-card__meta {
  cursor: pointer;
}

.products .product-card__inner:hover,
.products .product-card.product-card--active .product-card__inner,
.catalog-board .product-card__inner:hover,
.catalog-board .product-card.product-card--active .product-card__inner,
.similar-products .product-card__inner:hover,
.similar-products .product-card.product-card--active .product-card__inner,
.recently-viewed .product-card__inner:hover,
.recently-viewed .product-card.product-card--active .product-card__inner {
  border-color: #5ba8b8;
}

.products .product-card__image,
.catalog-board .product-card__image,
.similar-products .product-card__image,
.recently-viewed .product-card__image {
  padding: 24px;
  box-sizing: border-box;
}

.products .product-card__image img,
.products .product-card__img,
.catalog-board .product-card__image img,
.catalog-board .product-card__img,
.similar-products .product-card__image img,
.similar-products .product-card__img,
.recently-viewed .product-card__image img,
.recently-viewed .product-card__img {
  max-width: 58%;
  max-height: 58%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.products .product-card__wishlist,
.catalog-board .product-card__wishlist,
.similar-products .product-card__wishlist,
.recently-viewed .product-card__wishlist {
  color: #5ba8b8;
}

.products .product-card__meta .product-card__title,
.products .product-card__title,
.catalog-board .product-card__meta .product-card__title,
.catalog-board .product-card__title,
.similar-products .product-card__meta .product-card__title,
.similar-products .product-card__title,
.recently-viewed .product-card__meta .product-card__title,
.recently-viewed .product-card__title {
  font-weight: 500;
  line-height: 1.35;
}

/* Home card hover — Figma overlay state */
.products .product-card__overlay,
.catalog-board .product-card__overlay,
.similar-products .product-card__overlay,
.recently-viewed .product-card__overlay {
  padding: 20px;
  gap: 0;
  justify-content: flex-start;
  background-color: transparent;
  pointer-events: none;
}

.products .product-card__inner:hover .product-card__overlay,
.products .product-card.product-card--active .product-card__overlay,
.catalog-board .product-card__inner:hover .product-card__overlay,
.catalog-board .product-card.product-card--active .product-card__overlay,
.similar-products .product-card__inner:hover .product-card__overlay,
.similar-products .product-card.product-card--active .product-card__overlay,
.recently-viewed .product-card__inner:hover .product-card__overlay,
.recently-viewed .product-card.product-card--active .product-card__overlay {
  background-color: rgba(95, 177, 185, 0.94);
  pointer-events: auto;
}

.products .product-card__inner:hover .product-card__image,
.products .product-card.product-card--active .product-card__image,
.catalog-board .product-card__inner:hover .product-card__image,
.catalog-board .product-card.product-card--active .product-card__image,
.similar-products .product-card__inner:hover .product-card__image,
.similar-products .product-card.product-card--active .product-card__image,
.recently-viewed .product-card__inner:hover .product-card__image,
.recently-viewed .product-card.product-card--active .product-card__image {
  opacity: 1;
}

.products .product-card__inner:hover .product-card__badge,
.products .product-card.product-card--active .product-card__badge,
.catalog-board .product-card__inner:hover .product-card__badge,
.catalog-board .product-card.product-card--active .product-card__badge,
.similar-products .product-card__inner:hover .product-card__badge,
.similar-products .product-card.product-card--active .product-card__badge,
.recently-viewed .product-card__inner:hover .product-card__badge,
.recently-viewed .product-card.product-card--active .product-card__badge {
  opacity: 0;
  visibility: hidden;
}

.products .product-card__info,
.catalog-board .product-card__info,
.similar-products .product-card__info,
.recently-viewed .product-card__info {
  margin: 0;
  flex: 0 0 auto;
}

.products .product-card__desc,
.catalog-board .product-card__desc,
.similar-products .product-card__desc,
.recently-viewed .product-card__desc {
  margin: 0;
  padding-right: 32px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
  color: #fff;
}

.products .product-card__actions,
.catalog-board .product-card__actions,
.similar-products .product-card__actions,
.recently-viewed .product-card__actions {
  margin-top: auto;
  gap: 10px;
  width: 100%;
}

.products .product-card__overlay-price,
.catalog-board .product-card__overlay-price,
.similar-products .product-card__overlay-price,
.recently-viewed .product-card__overlay-price {
  display: block !important;
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
}

.products .product-card__stars,
.catalog-board .product-card__stars,
.similar-products .product-card__stars,
.recently-viewed .product-card__stars {
  gap: 8px;
  margin-bottom: 14px;
}

.products .product-card__inner:hover .product-card__stars svg,
.products .product-card.product-card--active .product-card__stars svg,
.catalog-board .product-card__inner:hover .product-card__stars svg,
.catalog-board .product-card.product-card--active .product-card__stars svg,
.similar-products .product-card__inner:hover .product-card__stars svg,
.similar-products .product-card.product-card--active .product-card__stars svg,
.recently-viewed .product-card__inner:hover .product-card__stars svg,
.recently-viewed .product-card.product-card--active .product-card__stars svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.products .product-card__inner:hover .product-card__stars svg.product-card__star--active,
.products .product-card.product-card--active .product-card__stars svg.product-card__star--active,
.catalog-board .product-card__inner:hover .product-card__stars svg.product-card__star--active,
.catalog-board .product-card.product-card--active .product-card__stars svg.product-card__star--active,
.similar-products .product-card__inner:hover .product-card__stars svg.product-card__star--active,
.similar-products .product-card.product-card--active .product-card__stars svg.product-card__star--active,
.recently-viewed .product-card__inner:hover .product-card__stars svg.product-card__star--active,
.recently-viewed .product-card.product-card--active .product-card__stars svg.product-card__star--active {
  opacity: 1;
}

.products .product-card__inner:hover .product-card__stars svg:not(.product-card__star--active),
.products .product-card.product-card--active .product-card__stars svg:not(.product-card__star--active),
.catalog-board .product-card__inner:hover .product-card__stars svg:not(.product-card__star--active),
.catalog-board .product-card.product-card--active .product-card__stars svg:not(.product-card__star--active),
.similar-products .product-card__inner:hover .product-card__stars svg:not(.product-card__star--active),
.similar-products .product-card.product-card--active .product-card__stars svg:not(.product-card__star--active),
.recently-viewed .product-card__inner:hover .product-card__stars svg:not(.product-card__star--active),
.recently-viewed .product-card.product-card--active .product-card__stars svg:not(.product-card__star--active) {
  opacity: 0.35;
}

.products .product-card__tags,
.catalog-board .product-card__tags,
.similar-products .product-card__tags,
.recently-viewed .product-card__tags {
  gap: 8px;
}

.products .product-card__tag,
.catalog-board .product-card__tag,
.similar-products .product-card__tag,
.recently-viewed .product-card__tag {
  font-size: 14px;
  line-height: 1.2;
  padding: 7px 14px;
  border-radius: 999px;
}

.products .product-card__tag--selected,
.catalog-board .product-card__tag--selected,
.similar-products .product-card__tag--selected,
.recently-viewed .product-card__tag--selected {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #fff;
}

.products .product-card__tag--outline,
.catalog-board .product-card__tag--outline,
.similar-products .product-card__tag--outline,
.recently-viewed .product-card__tag--outline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.products .product-card__cart-btn,
.products .product-card__btn,
.catalog-board .product-card__cart-btn,
.catalog-board .product-card__btn,
.similar-products .product-card__cart-btn,
.similar-products .product-card__btn,
.recently-viewed .product-card__cart-btn,
.recently-viewed .product-card__btn {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 18px;
  line-height: 1.2;
  background: #fff;
  color: #1a1a1a;
}

.products .product-card__cart-btn:hover,
.products .product-card__btn:hover,
.catalog-board .product-card__cart-btn:hover,
.catalog-board .product-card__btn:hover,
.similar-products .product-card__cart-btn:hover,
.similar-products .product-card__btn:hover,
.recently-viewed .product-card__cart-btn:hover,
.recently-viewed .product-card__btn:hover {
  background: #f3f5f8;
  color: #1a1a1a;
}

.products .product-card__inner:hover .product-card__wishlist,
.products .product-card.product-card--active .product-card__wishlist,
.catalog-board .product-card__inner:hover .product-card__wishlist,
.catalog-board .product-card.product-card--active .product-card__wishlist,
.similar-products .product-card__inner:hover .product-card__wishlist,
.similar-products .product-card.product-card--active .product-card__wishlist,
.recently-viewed .product-card__inner:hover .product-card__wishlist,
.recently-viewed .product-card.product-card--active .product-card__wishlist {
  color: #fff;
  z-index: 20;
}

.product-card__price {
  flex: 0 0 auto;
  max-width: 42%;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}

.product-card--has-price .product-card__meta {
  align-items: baseline;
}


/* Catalog — large cards: grid placement only */
.catalog-page__grid .product-card--large-right {
    grid-column: 2 / span 2;
    grid-row: span 2;
    min-height: 0;
}

.catalog-page__grid .product-card--large-left {
    grid-column: 1 / span 2;
    grid-row: span 2;
    min-height: 0;
}

.catalog-page__grid .product-card--large-right .product-card__inner,
.catalog-page__grid .product-card--large-left .product-card__inner {
    aspect-ratio: auto;
    width: 100%;
}

.catalog-page__grid > .product-card .product-card__image img,
.catalog-page__grid > .product-card .product-card__img {
    max-width: 58%;
    max-height: 58%;
}

/* Catalog — large cards: overlay layout (title + desc top, actions bottom) */
.catalog-page__grid .product-card--large-left .product-card__overlay,
.catalog-page__grid .product-card--large-right .product-card__overlay {
    padding: 20px;
    gap: 0;
    justify-content: flex-start;
    overflow: hidden;
    background-color: transparent;
    pointer-events: none;
}

.catalog-page__grid .product-card--large-left .product-card__inner:hover .product-card__overlay,
.catalog-page__grid .product-card--large-left.product-card--active .product-card__overlay,
.catalog-page__grid .product-card--large-right .product-card__inner:hover .product-card__overlay,
.catalog-page__grid .product-card--large-right.product-card--active .product-card__overlay {
    background-color: rgba(95, 177, 185, 0.94);
    pointer-events: auto;
}

.catalog-page__grid .product-card--large-left .product-card__inner:hover .product-card__image,
.catalog-page__grid .product-card--large-left.product-card--active .product-card__image,
.catalog-page__grid .product-card--large-right .product-card__inner:hover .product-card__image,
.catalog-page__grid .product-card--large-right.product-card--active .product-card__image {
    opacity: 1;
}

.catalog-page__grid .product-card--large-left .product-card__inner:hover .product-card__badge,
.catalog-page__grid .product-card--large-left.product-card--active .product-card__badge,
.catalog-page__grid .product-card--large-right .product-card__inner:hover .product-card__badge,
.catalog-page__grid .product-card--large-right.product-card--active .product-card__badge {
    opacity: 0;
    visibility: hidden;
}

.catalog-page__grid .product-card--large-left .product-card__inner:hover .product-card__wishlist,
.catalog-page__grid .product-card--large-left.product-card--active .product-card__wishlist,
.catalog-page__grid .product-card--large-right .product-card__inner:hover .product-card__wishlist,
.catalog-page__grid .product-card--large-right.product-card--active .product-card__wishlist {
    color: #fff;
    z-index: 20;
}

.catalog-page__grid .product-card--large-left .product-card__overlay-top,
.catalog-page__grid .product-card--large-right .product-card__overlay-top,
.catalog-page__grid .product-card--large-left .product-card__overlay-title,
.catalog-page__grid .product-card--large-right .product-card__overlay-title {
    display: block;
}

.catalog-page__grid .product-card--large-left .product-card__overlay-title,
.catalog-page__grid .product-card--large-right .product-card__overlay-title {
    margin: 0 0 8px;
    padding-right: 40px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25;
    color: #fff;
}

.catalog-page__grid .product-card--large-left .product-card__info,
.catalog-page__grid .product-card--large-right .product-card__info {
    margin-top: 0;
    margin-bottom: auto;
    flex: 0 0 auto;
    min-height: 0;
}

.catalog-page__grid .product-card--large-left .product-card__desc,
.catalog-page__grid .product-card--large-right .product-card__desc {
    margin: 0;
    padding-right: 32px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    color: #fff;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.catalog-page__grid .product-card--large-left .product-card__actions,
.catalog-page__grid .product-card--large-right .product-card__actions {
    flex-shrink: 0;
    width: 100%;
    margin-top: auto;
    gap: 10px;
    display: flex;
    flex-direction: column;
}

.catalog-page__grid .product-card--large-left .product-card__overlay-price,
.catalog-page__grid .product-card--large-right .product-card__overlay-price {
    display: block !important;
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
}

.catalog-page__grid .product-card--large-left .product-card__stars,
.catalog-page__grid .product-card--large-right .product-card__stars {
    gap: 8px;
    margin: 0 0 14px;
}

.catalog-page__grid .product-card--large-left .product-card__inner:hover .product-card__stars svg,
.catalog-page__grid .product-card--large-left.product-card--active .product-card__stars svg,
.catalog-page__grid .product-card--large-right .product-card__inner:hover .product-card__stars svg,
.catalog-page__grid .product-card--large-right.product-card--active .product-card__stars svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.catalog-page__grid .product-card--large-left .product-card__inner:hover .product-card__stars svg.product-card__star--active,
.catalog-page__grid .product-card--large-left.product-card--active .product-card__stars svg.product-card__star--active,
.catalog-page__grid .product-card--large-right .product-card__inner:hover .product-card__stars svg.product-card__star--active,
.catalog-page__grid .product-card--large-right.product-card--active .product-card__stars svg.product-card__star--active {
    opacity: 1;
}

.catalog-page__grid .product-card--large-left .product-card__inner:hover .product-card__stars svg:not(.product-card__star--active),
.catalog-page__grid .product-card--large-left.product-card--active .product-card__stars svg:not(.product-card__star--active),
.catalog-page__grid .product-card--large-right .product-card__inner:hover .product-card__stars svg:not(.product-card__star--active),
.catalog-page__grid .product-card--large-right.product-card--active .product-card__stars svg:not(.product-card__star--active) {
    opacity: 0.35;
}

.catalog-page__grid .product-card--large-left .product-card__stars svg,
.catalog-page__grid .product-card--large-right .product-card__stars svg {
    width: 24px;
    height: 24px;
}

.catalog-page__grid .product-card--large-left .product-card__tags,
.catalog-page__grid .product-card--large-right .product-card__tags {
    gap: 8px;
    margin: 0 0 14px;
}

.catalog-page__grid .product-card--large-left .product-card__tag,
.catalog-page__grid .product-card--large-right .product-card__tag {
    font-size: 14px;
    line-height: 1.2;
    padding: 7px 14px;
    border-radius: 999px;
}

.catalog-page__grid .product-card--large-left .product-card__tag--selected,
.catalog-page__grid .product-card--large-right .product-card__tag--selected {
    background: rgba(255, 255, 255, 0.35);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.catalog-page__grid .product-card--large-left .product-card__tag--outline,
.catalog-page__grid .product-card--large-right .product-card__tag--outline {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #fff;
}

.catalog-page__grid .product-card--large-left .product-card__cart-btn,
.catalog-page__grid .product-card--large-left .product-card__btn,
.catalog-page__grid .product-card--large-right .product-card__cart-btn,
.catalog-page__grid .product-card--large-right .product-card__btn {
    margin-top: 0;
    min-height: 48px;
    padding: 12px 20px;
    font-size: 18px;
    line-height: 1.2;
    border-radius: 999px;
    background: #fff;
    color: #1a1a1a;
    width: 100%;
}

.catalog-page__grid .product-card--large-left .product-card__cart-btn:hover,
.catalog-page__grid .product-card--large-left .product-card__btn:hover,
.catalog-page__grid .product-card--large-right .product-card__cart-btn:hover,
.catalog-page__grid .product-card--large-right .product-card__btn:hover {
    background: #f3f5f8;
    color: #1a1a1a;
}

/* Catalog — small cards: title + desc in overlay on hover */
.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__overlay-top,
.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__overlay-title {
    display: block;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__overlay-title {
    margin: 25px 0;
    padding-right: 32px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__info {
    margin-top: 6px;
    margin-bottom: auto;
    flex: 0 0 auto;
    min-height: 0;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #fff;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__inner:has(.product-card__badge) .product-card__desc {
    margin-top: 28px;
}

@media (min-width: 992px) {
    .catalog-page__grid {
        --catalog-sm-inner: 350px;
        --catalog-card-gap: 8px;
        --catalog-meta-h: 48px;
        --catalog-row-gap: 8px;
        /* One grid row = one small card (frame + title). Large spans exactly 2 rows
           so the side column always fits 2 small cards (same bottom level). */
        --catalog-row-h: calc(
            var(--catalog-sm-inner) + var(--catalog-card-gap) + var(--catalog-meta-h)
        );
        --catalog-lg-inner: calc(
            2 * var(--catalog-row-h) + var(--catalog-row-gap)
            - var(--catalog-card-gap) - var(--catalog-meta-h)
        );
        column-gap: 32px;
        row-gap: var(--catalog-row-gap);
        grid-auto-rows: var(--catalog-row-h);
        align-items: stretch;
    }

    .catalog-page__grid > .product-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        gap: var(--catalog-card-gap);
        box-sizing: border-box;
    }

    .catalog-page__grid > .product-card .product-card__face-slot {
        flex: 0 0 auto;
        height: auto;
        min-height: 0;
    }

    .catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__inner {
        flex: 0 0 var(--catalog-sm-inner);
        width: 100%;
        height: var(--catalog-sm-inner);
        min-height: var(--catalog-sm-inner);
        max-height: var(--catalog-sm-inner);
        aspect-ratio: auto;
    }

    .catalog-page__grid .product-card--large-left,
    .catalog-page__grid .product-card--large-right {
        height: auto;
        min-height: 0;
    }

    .catalog-page__grid .product-card--large-left .product-card__inner,
    .catalog-page__grid .product-card--large-right .product-card__inner {
        flex: 0 0 var(--catalog-lg-inner);
        width: 100%;
        height: var(--catalog-lg-inner);
        min-height: var(--catalog-lg-inner);
        max-height: var(--catalog-lg-inner);
        aspect-ratio: auto;
    }

    .catalog-page__grid > .product-card .product-card__meta {
        flex: 0 0 var(--catalog-meta-h);
        min-height: var(--catalog-meta-h);
        height: var(--catalog-meta-h);
        align-items: flex-start;
    }

    .catalog-page__grid > .product-card .product-card__meta .product-card__title,
    .catalog-page__grid > .product-card .product-card__title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.35;
        color: #1a1a1a;
    }

    .catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__image img,
    .catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__img {
        max-width: 70%;
        max-height: 70%;
    }

    .catalog-page__grid .product-card--large-left .product-card__image img,
    .catalog-page__grid .product-card--large-left .product-card__img,
    .catalog-page__grid .product-card--large-right .product-card__image img,
    .catalog-page__grid .product-card--large-right .product-card__img {
        max-width: 55%;
        max-height: 55%;
    }

    .catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__meta .product-card__title {
        line-height: 1.35;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }
}

.catalog-page__footer {
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.catalog-page__load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--catalog-text, #1e1e2b);
    border-radius: 60px;
    min-width: 229px;
    min-height: 50px;
    padding: 16px 18px;
    background: #fff;
    color: var(--catalog-text, #1e1e2b);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.022em;
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.catalog-page__load-more:hover {
    background: var(--catalog-accent, #5ee1e5);
    border-color: var(--catalog-accent, #5ee1e5);
    color: #fff;
}

.catalog-page__pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.catalog-page__page-numbers {
    display: flex;
    align-items: center;
    gap: 12px;
}

.catalog-page__page-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #1f2230;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.catalog-page__page-btn:hover:not(:disabled) {
    opacity: 0.65;
}

.catalog-page__page-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.catalog-page__page-btn img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}

.catalog-page__page-number {
    border: 0;
    background: transparent;
    color: #828282;
    cursor: pointer;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 400;
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    padding: 2px 4px;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.catalog-page__page-number:hover {
    color: var(--catalog-text, #1e1e2b);
}

.catalog-page__page-number--active {
    color: var(--catalog-text, #1e1e2b);
    font-weight: 400;
}

.catalog-page__empty {
    grid-column: 1 / -1;
    border: 1px dashed #d5d9e3;
    border-radius: 18px;
    padding: 28px;
    text-align: center;
    color: #60657a;
}

.page-template-page-catalog .catalog-hero__title {
    color: #1e1e2b;
}

.page-template-page-catalog .catalog-page__content {
    padding-top: 0;
}

.page-template-page-catalog .catalog-page__grid > .product-card .product-card__inner {
    border-radius: 24px;
    border-color: var(--catalog-border-strong, #dadce5);
}

.page-template-page-catalog .catalog-page__grid > .product-card .product-card__inner:hover,
.page-template-page-catalog .catalog-page__grid > .product-card.product-card--active .product-card__inner {
    border-color: var(--catalog-accent, #5ee1e5);
}

.page-template-page-catalog .catalog-page__grid > .product-card .product-card__meta .product-card__title,
.page-template-page-catalog .catalog-page__grid > .product-card .product-card__title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--catalog-text, #1e1e2b);
}

.page-template-page-catalog .recently-viewed {
    padding: 80px 0;
}

.page-template-page-catalog .recently-viewed__container {
    max-width: calc(var(--container-width) + (var(--container-padding) * 2));
    padding: 0 var(--container-padding);
}

.page-template-page-catalog .recently-viewed__title {
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--catalog-text, #1e1e2b);
    text-transform: none;
}

.page-template-page-catalog .recently-viewed__header {
    margin-bottom: 40px;
}

.page-template-page-catalog .brand-life {
    padding: 80px 0;
}

.page-template-page-catalog .brand-life__subtitle {
    font-family: "Museo Cyrl";
    font-size: 24px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
    letter-spacing: -0.023em;
    color: var(--catalog-text, #1e1e2b);
}

.page-template-page-catalog .catalog-page__empty {
    border-color: var(--catalog-border-strong, #dadce5);
    color: var(--catalog-text-muted, #55596f);
}

.page-template-page-catalog .access-section--catalog {
    padding: 80px 0 0;
}

.page-template-page-catalog .access-section--catalog .access-section__content {
    padding-bottom: 0;
}

.page-template-page-catalog .access-section--catalog .access-section__image-wrapper {
    border-radius: 60px;
    overflow: hidden;
}

.page-template-page-catalog .access-section--catalog .access-section__image {
    border-radius: 60px;
}

/* Catalog Second section end */

/* Product page styles start */
.product-page {
    padding: 40px 0 80px;
    background: #fff;
}

.product-page__container,
.similar-products__container,
.recently-viewed__container {
    width: 100%;
    max-width: calc(var(--container-width) + (var(--container-padding) * 2));
    margin: 0 auto;
    padding-right: var(--container-padding);
    padding-left: var(--container-padding);
    box-sizing: border-box;
    overflow: visible;
}

.product {
    display: grid;
    grid-template-columns: minmax(320px, 500px) minmax(0, 1fr);
    gap: 40px;
    margin-bottom: 72px;
    max-width: 1180px;
    align-items: start;
}

.product__gallery {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    min-width: 0;
    max-width: 500px;
}

.product__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: #fff;
    border: 1px solid #cfd3df;
    color: #1f2237;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.product__slider {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid #e2e5ee;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    height: 450px;
}

.product__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 38px 34px;
    min-height: 520px;
    text-align: center;
}

.product__image {
    display: block;
    max-width: 100%;
    max-height: 350px;
    margin: 0 auto;
    object-fit: contain;
}

.product__thumbs {
    padding: 0;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
}

.product__thumb {
    width: 100%;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
    flex-shrink: 0;
    background: #fff;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.25s ease;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e5ee;
}

.product__thumb.swiper-slide-thumb-active {
    opacity: 1;
    border-color: #cfd3df;
    box-shadow: 0 8px 20px rgba(31, 34, 48, 0.04);
}

.product__thumb:hover {
    opacity: 0.8;
}

.product__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.product__info {
    position: relative;
    padding-top: 10px;
    min-width: 0;
}

.product__rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.product__stars {
    display: flex;
    gap: 4px;
}

.product__star {
    width: 18px;
    height: 18px;
    color: #8fdbe2;
}

.product__star--filled {
    color: #39a2b1;
}

.product__rating-text {
    font-size: 13px;
    color: #7f8497;
}

.product__wishlist {
    position: absolute;
    top: 0;
    right: 0;
    padding: 8px;
    color: #7f8497;
    transition: 0.25s ease;
}

.product__wishlist:hover {
    color: #1f2237;
}

.product__wishlist-icon {
    width: 24px;
    height: 24px;
}

.product__title {
    font-size: 34px;
    font-weight: 500;
    color: #1f2237;
    margin-bottom: 16px;
    line-height: 1.2;
}

.product__description {
    font-size: 15px;
    line-height: 1.6;
    color: #60657a;
    margin-bottom: 20px;
    max-width: 560px;
}

.product__availability {
    color: #8a8fa5;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
}

.product__price-note {
    font-size: 13px;
    color: #3a3d4f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.product__price {
    font-size: 28px;
    font-weight: 700;
    color: #1a2056;
    margin-bottom: 20px;
}

.product__doctor-block,
.product__buyer-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product__quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cfd3df;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 24px;
}

.product__quantity-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2237;
    transition: 0.25s ease;
}

.product__quantity-btn:hover {
    background: #f7f8fb;
}

.product__quantity-btn svg {
    width: 16px;
    height: 16px;
}

.product__quantity-input {
    width: 50px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    background: transparent;
    appearance: textfield;
    -moz-appearance: textfield;
}

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

.product__btn {
    display: block;
    width: 100%;
    max-width: 300px;
    padding: 16px 32px;
    background: #202033;
    color: #fff;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    transition: 0.25s ease;
    margin-bottom: 48px;
}

.product__btn:hover {
    background: #2a2e46;
    transform: translateY(-2px);
}

.product__btn--added,
.product__btn--added:hover {
    background: #3a7a6e;
    transform: none;
    cursor: default;
}

.product-tabs {
    margin-top: 12px;
}

.product-tabs__header {
    display: flex;
    gap: 34px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e2e5ee;
}

.product-tabs__tab {
    padding: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    color: #7f8497;
    transition: 0.25s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-tabs__tab:hover {
    color: #1f2237;
}

.product-tabs__tab--active {
    color: #1f2237;
}

.product-tabs__tab--active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1f2237;
}

.product-tabs__icon {
    display: none;
    font-size: 20px;
    font-weight: 300;
    color: #7f8497;
}

.product-tabs__content {
    max-width: 600px;
}

.product-tabs__panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.product-tabs__panel--active {
    display: block;
}

.product-tabs__panel h3 {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.45;
    color: #1f2237;
}

.product-tabs__panel p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.55;
    color: #60657a;
}

.product-tabs__panel ul {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.product-tabs__panel li {
    position: relative;
    padding: 6px 0 6px 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #60657a;
}

.product-tabs__panel li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #7f8497;
}

.product-tabs__title {
    font-size: 14px;
    font-weight: 700;
    color: #1f2237;
    margin-bottom: 14px;
}

.product-tabs__list {
    list-style: none;
}

.product-tabs__item {
    position: relative;
    padding: 6px 0 6px 16px;
    font-size: 14px;
    color: #60657a;
}

.product-tabs__item::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #7f8497;
}

.product-reviews {
    margin-top: 40px;
    margin-bottom: 40px;
}

.product-reviews__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-reviews__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.product-reviews__title {
    font-size: 36px;
    line-height: 1;
    font-weight: 500;
    color: #1f2237;
}

.product-reviews__actions {
    display: flex;
    gap: 24px;
    margin-right: 17%;
}

.product-reviews__action-btn {
    min-width: 238px;
    min-height: 46px;
    padding: 10px 28px;
    border-radius: 30px;
    border: 1px solid #1f2237;
    background: #fff;
    color: #1f2237;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.product-reviews__action-btn:hover {
    background: #f7f8fb;
}

.product-reviews__layout {
    display: grid;
    grid-template-columns: 500px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.product-reviews__sidebar {
    position: sticky;
    top: 24px;
}

.product-reviews__rating-box {
    margin-bottom: 28px;
}

.product-reviews__rating-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.product-reviews__rating-star {
    font-size: 28px;
    color: #9ddfea;
    line-height: 1;
}

.product-reviews__rating-value {
    font-size: 34px;
    font-weight: 700;
    color: #1f2237;
}

.product-reviews__rating-bars {
    display: grid;
    gap: 12px;
}

.product-reviews__rating-row {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.product-reviews__rating-label {
    font-size: 18px;
    color: #1f2237;
}

.product-reviews__rating-track {
    height: 17px;
    background: #f0f1f5;
    border-radius: 999px;
    overflow: hidden;
}

.product-reviews__rating-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #9ddfea;
}

.product-reviews__gallery-title {
    font-size: 36px;
    line-height: 1;
    font-weight: 500;
    color: #1f2237;
    margin-bottom: 20px;
}

.product-reviews__gallery {
    width: 100%;
    max-width: 520px;
}

.review-photo-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 154px;
    gap: 16px;
    align-items: start;
    width: 100%;
}

.review-photo-block__main,
.review-photo-block__thumb {
    border: 1px solid #d8deea;
    background: #fff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.review-photo-block__main-wrap {
    position: relative;
    width: 100%;
}

.review-photo-block__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 14px rgba(31, 34, 55, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    cursor: pointer;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.review-photo-block__nav img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.review-photo-block__nav:hover {
    box-shadow: 0 6px 18px rgba(31, 34, 55, 0.18);
}

.review-photo-block__nav--prev {
    left: 12px;
}

.review-photo-block__nav--next {
    right: 12px;
}

.review-photo-block__main {
    width: 100%;
    height: 326px;
    border-radius: 28px;
    overflow: hidden;
    cursor: pointer;
    padding: 26px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-photo-block__thumbs {
    width: 154px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
}

.review-photo-block__thumb {
    width: 100%;
    height: 155px;
    border-radius: 22px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-sizing: border-box;
}

.review-photo-block__thumb.is-active,
.review-photo-block__main:hover,
.review-photo-block__thumb:hover {
    border-color: #9ddfea;
    box-shadow: 0 6px 16px rgba(157, 223, 234, 0.15);
}

.review-photo-block__main-image,
.review-photo-block__thumb-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin: 0 auto;
}

.review-photo-block__main-image {
    max-width: 220px;
    max-height: 236px;
}

.review-photo-block__thumb-image {
    max-width: 58px;
    max-height: 66px;
}

.review-photo-block--single {
    grid-template-columns: minmax(0, 415px);
}

.review-photo-block__thumbs--single .review-photo-block__thumb:only-child {
    height: 155px;
}

.review-photo-viewer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    isolation: isolate;
}

.review-photo-viewer--open {
    pointer-events: auto;
    opacity: 1;
}

.review-photo-viewer__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(31, 34, 55, 0.76);
}

.review-photo-viewer__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #1f2237;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
}

.review-photo-viewer__close svg {
    width: 20px;
    height: 20px;
}


.review-photo-viewer__nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 24px rgba(17, 22, 40, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    cursor: pointer;
}

.review-photo-viewer__nav img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.review-photo-viewer__nav--prev {
    left: max(24px, calc(50% - 430px));
}

.review-photo-viewer__nav--next {
    right: max(24px, calc(50% - 430px));
}

.review-photo-viewer__image-button {
    position: relative;
    z-index: 1;
    cursor: default;
    width: min(90vw, 760px);
    height: min(84vh, 760px);
    border: 0;
    background: #ffffff;
    border-radius: 28px;
    padding: 28px;
    box-sizing: border-box;
    box-shadow: 0 24px 70px rgba(17, 22, 40, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.review-photo-viewer__image {
    max-width: 100%;
    max-height: min(84vh, 760px);
    object-fit: contain;
}

.product-reviews__list {
    display: flex;
    flex-direction: column;
}

.product-review-card {
    padding: 18px 0 18px;
    border: 0;
    border-bottom: 1px solid #d8deea;
    border-radius: 0;
    max-height: none;
}

.product-review-card:first-child {
    padding-top: 0;
}

.product-review-card__top {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 22px;
}

.product-review-card__avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover;
}

.product-review-card__content {
    min-width: 0;
}

.product-review-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.product-review-card__stars {
    display: flex;
    gap: 8px;
    color: #9ddfea;
    font-size: 34px;
    line-height: 1;
}

.product-review-card__date {
    font-size: 16px;
    color: #a3abc3;
    white-space: nowrap;
}

.product-review-card__name {
    font-size: 18px;
    font-weight: 700;
    color: #1f2237;
    margin-bottom: 16px;
}

.product-review-card__text {
    font-size: 16px;
    line-height: 1.45;
    color: #36394c;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-review-card.review-card--expanded .product-review-card__text {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
}

.product-review-card__toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin-bottom: 16px;
    color: #7fbac6;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.product-review-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-top: 2px;
}

.product-review-card__tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 14px;
    border: 0;
    border-radius: 999px;
    background: #caf4fb;
    color: #1f2237;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
}

/* Similar Products section */
.similar-products {
    margin-top: 80px;
    margin-bottom: 60px;
    background: #fff;
}

.similar-products__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.similar-products__title {
    margin: 0;
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.011em;
    color: #000000;
    text-transform: none;
}

.similar-products__nav {
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    justify-content: end;
    column-gap: 16px;
}

.similar-products__pagination {
    display: inline-block;
    font-size: 20px;
    color: #7f8497;
    min-width: 52px;
    text-align: center;
    white-space: nowrap;
    line-height: 1;
}

.similar-products__btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #1f2237;
    transition: opacity 0.25s ease;
}

.similar-products__btn:hover {
    opacity: 0.65;
}

.similar-products__btn img {
    width: 30px;
    height: auto;
    display: block;
}

.similar-products__slider,
.similar-products__slider.swiper {
    overflow: hidden;
    padding-bottom: 50px;
    margin-bottom: -50px;
}

.similar-products__slider .swiper-wrapper {
    overflow: visible;
}

.similar-products .swiper {
    overflow: hidden;
    padding-bottom: 50px;
    margin-bottom: -50px;
}

.similar-products__controls {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: 'progress nav';
    align-items: center;
    gap: 20px;
    margin-top: 24px;
}

.similar-products__progress-wrapper {
    display: none;
}

.similar-products__slider {
    width: 100%;
    min-width: 0;
}

.similar-products__slider .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.similar-products__slider .swiper-slide > .product-card {
    width: 100%;
    max-width: 100%;
}

/* Similar / recently-viewed — match homepage ПРОДУКТИ cards */
@media (min-width: 769px) {
    .similar-products .product-card,
    .recently-viewed .product-card {
        width: 100%;
        max-width: 304px;
        height: auto;
        background: transparent;
        border: none;
        border-radius: 0;
        overflow: visible;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .similar-products .product-card__inner,
    .recently-viewed .product-card__inner {
        display: flex;
        width: 100%;
        max-width: 304px;
        height: 362px;
        min-height: 362px;
        aspect-ratio: auto;
        border: 1px solid #e5e7eb;
        border-radius: 20px;
        background: #fff;
        overflow: hidden;
    }

    .similar-products .product-card__overlay,
    .recently-viewed .product-card__overlay {
        display: flex;
    }

    .similar-products .product-card__meta,
    .recently-viewed .product-card__meta {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 8px 12px;
        padding: 12px 4px;
    }
}

@media (min-width: 769px) {
    .similar-products__container {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "title nav"
            "slider slider";
        row-gap: 30px;
        column-gap: 20px;
        align-items: center;
    }

    .similar-products__header {
        grid-area: title;
        margin-bottom: 0;
    }

    .similar-products__controls {
        grid-area: nav;
        margin-top: 0;
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .similar-products__slider {
        grid-area: slider;
        width: 100%;
        min-width: 0;
    }

    .similar-products__btn {
        width: 40px;
        height: 40px;
        border: none;
        border-radius: 0;
        background: transparent;
    }
}


/* Recently Viewed section */
.recently-viewed {
    background: #fff;
}

.recently-viewed__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.recently-viewed__title {
    margin: 0;
    font-family: "Golos Text VF", "Golos Text", sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.011em;
    color: #000000;
    text-transform: none;
}

.recently-viewed__nav {
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    justify-content: end;
    column-gap: 16px;
}

.recently-viewed__pagination {
    display: inline-block;
    font-size: 20px;
    color: #7f8497;
    min-width: 52px;
    text-align: center;
    white-space: nowrap;
    line-height: 1;
}

.recently-viewed__btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #1f2237;
    transition: opacity 0.25s ease;
}

.recently-viewed__btn:hover {
    opacity: 0.65;
}

.recently-viewed__btn img {
    width: 30px;
    height: auto;
    display: block;
}

.recently-viewed__slider,
.recently-viewed__slider.swiper {
    overflow: hidden;
    padding-bottom: 50px;
    margin-bottom: -50px;
}

.recently-viewed__slider .swiper-wrapper {
    overflow: visible;
}

.recently-viewed .swiper {
    overflow: hidden;
    padding-bottom: 50px;
    margin-bottom: -50px;
}

.product-section-empty {
    margin: 0;
    padding: 32px 24px;
    border-radius: 24px;
    background: #f8f9fb;
    color: #7f8497;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}


.cart-drawer {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 1200;
}

.cart-drawer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(31, 34, 48, 0.18);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-drawer--open {
    pointer-events: auto;
}

.cart-drawer--open::before {
    opacity: 1;
}

.cart-drawer__overlay {
    position: absolute;
    inset: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.cart-drawer__panel {
    position: relative;
    width: min(100%, 420px);
    height: 100%;
    background: #fff;
    padding: 112px 22px 28px;
    box-sizing: border-box;
    box-shadow: -18px 0 50px rgba(20, 24, 40, 0.08);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.cart-drawer--open .cart-drawer__panel {
    transform: translateX(0);
}

.cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.cart-drawer__tabs {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.cart-drawer__tab {
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    color: #979cb2;
    cursor: pointer;
}

.cart-drawer__tab--active {
    color: #1f2237;
}

.cart-drawer__content {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
}

.cart-drawer__section {
    display: none;
    flex-direction: column;
    min-height: 100%;
}

.cart-drawer__section--active {
    display: flex;
}

.cart-drawer__title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-drawer__title {
    font-size: 26px;
    line-height: 1;
    font-weight: 700;
    color: #1f2237;
}

.cart-drawer__count {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #cfd3df;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #5e6479;
}

.cart-drawer__close {
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #8a8fa5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cart-drawer__close svg {
    width: 20px;
    height: 20px;
}

.cart-drawer__message {
    font-size: 16px;
    line-height: 1.45;
    color: #3a3d4f;
    margin-bottom: 38px;
}

.cart-drawer__item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
    padding: 18px 0 14px;
    border-top: 1px solid #e7e9f0;
    border-bottom: 1px solid #e7e9f0;
}

.cart-drawer__item-media {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-drawer__item-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-drawer__item-content {
    min-width: 0;
}

.cart-drawer__item-meta {
    min-width: 0;
}

.cart-drawer__item-top,
.cart-drawer__item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cart-drawer__item-top {
    margin-bottom: 14px;
}

.cart-drawer__item-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2237;
}

.cart-drawer__item-code {
    font-size: 14px;
    color: #8a8fa5;
    margin-top: 8px;
    margin-bottom: 8px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cart-drawer__item-price {
    font-size: 18px;
    font-weight: 500;
    color: #1f2237;
    white-space: nowrap;
}

.cart-drawer__quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cfd3df;
    border-radius: 24px;
    overflow: hidden;
}

.cart-drawer__quantity-btn {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2237;
    cursor: pointer;
}

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

.cart-drawer__quantity-input {
    width: 38px;
    height: 36px;
    border: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #1f2237;
    background: transparent;
    appearance: textfield;
    -moz-appearance: textfield;
}

.cart-drawer__quantity-input::-webkit-outer-spin-button,
.cart-drawer__quantity-input::-webkit-inner-spin-button {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
}

.cart-drawer__remove {
    border: 0;
    background: transparent;
    color: #8a8fa5;
    font-size: 13px;
    cursor: pointer;
}

.cart-drawer__footer {
    margin-top: auto;
    padding-top: 28px;
}

.cart-drawer__saved-card {
    display: flex;
    gap: 18px;
    border-top: 1px solid #e7e9f0;
    border-bottom: 1px solid #e7e9f0;
    padding: 18px 0;
}

.cart-drawer__saved-content {
    min-width: 0;
}

.cart-drawer__saved-actions {
    margin-top: auto;
    padding-top: 24px;
}

.cart-drawer__item-media--saved {
    width: 92px;
    height: 92px;
    border: 1px solid #e2e5ee;
    border-radius: 18px;
}

.cart-drawer__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.cart-drawer__summary-label,
.cart-drawer__summary-value {
    font-size: 18px;
    font-weight: 700;
    color: #1f2237;
}

.cart-drawer__note {
    font-size: 14px;
    line-height: 1.45;
    color: #6a7084;
    margin-bottom: 18px;
}

.cart-drawer__agreement {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    cursor: pointer;
}

.cart-drawer__agreement-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cart-drawer__agreement-box {
    width: 18px;
    height: 18px;
    border: 1px solid #cfd3df;
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.cart-drawer__agreement-input:checked + .cart-drawer__agreement-box::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #202033;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cart-drawer__agreement-input:checked + .cart-drawer__agreement-box {
    border-color: #202033;
}

.cart-drawer__agreement-text {
    font-size: 14px;
    color: #3a3d4f;
}

.cart-drawer__secondary-btn,
.cart-drawer__primary-btn {
    width: 100%;
    min-height: 46px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.cart-drawer__secondary-btn {
    border: 1px solid #1f2237;
    background: #fff;
    color: #1f2237;
    margin-bottom: 12px;
}

.cart-drawer__primary-btn {
    border: 1px solid #202033;
    background: #202033;
    color: #fff;
}

.cart-drawer__primary-btn:disabled {
    background: #c8cddc;
    border-color: #c8cddc;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 1;
}

.cart-page-template .product,
.cart-page-template .product-reviews,
.cart-page-template .similar-products,
.cart-page-template .cart-drawer,
.cart-page-template .brand-life {
    display: none;
}

.cart-page-template .product-page {
    padding: 34px 0 80px;
}

.cart-page-section {
    max-width: 1400px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.cart-page-section__header {
    margin-bottom: 44px;
}

.cart-page-section__title-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 42px;
}

.cart-page-section__title {
    font-size: 54px;
    line-height: 1;
    font-weight: 700;
    color: #1f2237;
}

.cart-page-section__count {
    width: 36px;
    height: 36px;
    border: 1px solid #b8bfd3;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #5f6478;
}

.cart-page-section__message {
    font-size: 18px;
    line-height: 1.45;
    color: #3b4053;
}

.cart-page-section__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 60px;
    align-items: start;
}

.cart-page-section__content {
    border-top: 1px solid #cdd3e3;
}

.cart-page-item {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    padding: 24px 0 18px;
    border-bottom: 1px solid #cdd3e3;
}

.cart-page-item__media {
    width: 126px;
    height: 126px;
    border: 1px solid #d4daea;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
}

.cart-page-item__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-page-item__top,
.cart-page-item__bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.cart-page-item__top {
    margin-bottom: 34px;
}

.cart-page-item__meta {
    min-width: 0;
    max-width: 560px;
}

.cart-page-item__title {
    font-size: 19px;
    line-height: 1.25;
    font-weight: 700;
    color: #1f2237;
    margin-bottom: 18px;
}

.cart-page-item__description {
    font-size: 16px;
    line-height: 1.45;
    color: #45495c;
    margin-bottom: 18px;
}

.cart-page-item__code {
    font-size: 16px;
    line-height: 1;
    color: #9aa1bf;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cart-page-item__remove {
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 16px;
    line-height: 1;
    color: #a6acc3;
    cursor: pointer;
    white-space: nowrap;
}

.cart-page-item__quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #aeb6d0;
    border-radius: 14px;
    overflow: hidden;
    min-height: 42px;
}

.cart-page-item__quantity-btn {
    width: 40px;
    height: 42px;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1f2237;
    cursor: pointer;
}

.cart-page-item__quantity-btn svg {
    width: 16px;
    height: 16px;
}

.cart-page-item__quantity-input {
    width: 46px;
    height: 42px;
    border: 0;
    background: transparent;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #1f2237;
    appearance: textfield;
    -moz-appearance: textfield;
}

.cart-page-item__quantity-input::-webkit-outer-spin-button,
.cart-page-item__quantity-input::-webkit-inner-spin-button {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
}

.cart-page-item__price {
    font-size: 19px;
    line-height: 1;
    font-weight: 700;
    color: #1f2237;
    white-space: nowrap;
    margin-top: 7px;
}

.cart-page-summary {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.cart-page-summary__card {
    border: 1px solid #cdd3e3;
    border-radius: 22px;
    padding: 24px;
    background: #ffffff;
}

.cart-page-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cart-page-summary__row--top {
    margin-bottom: 20px;
}

.cart-page-summary__row--total {
    margin-bottom: 22px;
}

.cart-page-summary__label,
.cart-page-summary__value {
    font-size: 18px;
    line-height: 1.2;
    color: #202033;
}

.cart-page-summary__value,
.cart-page-summary__value--total {
    white-space: nowrap;
}

.cart-page-summary__label--strong,
.cart-page-summary__value--strong,
.cart-page-summary__label--total,
.cart-page-summary__value--total {
    font-weight: 800;
}

.cart-page-summary__note {
    max-width: 270px;
    padding-bottom: 26px;
    margin: 0 0 26px;
    border-bottom: 1px solid #cfd4df;
    font-size: 12px;
    line-height: 1.25;
    color: #9aa1bf;
}

.cart-page-summary__promo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 142px;
    gap: 18px;
    margin-bottom: 56px;
}

.cart-page-summary__promo-input,
.cart-page-summary__promo-btn,
.cart-page-summary__checkout,
.cart-page-summary__continue {
    min-height: 42px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
}

.cart-page-summary__promo-input {
    border: 1px solid #aeb6d0;
    background: #fff;
    padding: 0 18px;
    color: #202033;
}

.cart-page-summary__promo-input::placeholder {
    color: #9aa1bf;
}

.cart-page-summary__promo-btn {
    border: 0;
    background: #9aa1bf;
    color: #fff;
    cursor: pointer;
}

.cart-page-summary__checkout {
    width: 100%;
    border: 0;
    background: #202033;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
}

.cart-page-summary__checkout-link {
    display: block;
    text-decoration: none;
}

.cart-page-summary__continue {
    width: 100%;
    border: 1px solid #cdd3e3;
    background: #fff;
    color: #1f2237;
    cursor: pointer;
}

/* Cart page mockup refinements */
.cart-page-section {
    padding-top: 12px;
}

.cart-page-section__header {
    margin-bottom: 38px;
}

.cart-page-section__title-wrap {
    gap: 14px;
    margin-bottom: 30px;
}

.cart-page-section__title {
    font-size: 48px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #1f2237;
}

.cart-page-section__count {
    width: 30px;
    height: 30px;
    font-size: 16px;
    font-weight: 400;
    color: #5f6478;
    transform: translateY(-8px);
}

.cart-page-section__message {
    font-size: 16px;
    font-weight: 400;
    color: #1f2237;
}

.cart-page-section__layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 58px;
}

.cart-page-section__content {
    border-top-color: #d8dde8;
}

.cart-page-item {
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 36px;
    padding: 24px 0 24px;
    border-bottom-color: #d8dde8;
}

.cart-page-item__media {
    border-color: #dfe3ec;
    border-radius: 20px;
    padding: 16px;
    background: #fff;
}

.cart-page-item__media img,
.cart-page-item__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-page-item__top {
    margin-bottom: 28px;
}

.cart-page-item__title {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 500;
    color: #1f2237;
}

.cart-page-item__title a {
    color: inherit;
    text-decoration: none;
    text-transform: uppercase;
}

.cart-page-item__description {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 400;
    color: #1f2237;
}

.cart-page-item__code {
    font-size: 15px;
    font-weight: 400;
    color: #8f96ad;
}

.cart-page-item__remove {
    font-size: 14px;
    font-weight: 400;
    color: #b1b7c8;
}

.cart-page-item__quantity {
    min-height: 40px;
    border-color: #d4daea;
    border-radius: 14px;
}

.cart-page-item__quantity-btn {
    width: 38px;
    height: 40px;
    font-size: 16px;
    font-weight: 400;
}

.cart-page-item__quantity-input {
    width: 42px;
    height: 40px;
    padding: 0;
    font-size: 15px;
    font-weight: 400;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

.cart-page-item__price {
    margin-top: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #1f2237;
}

.cart-page-summary {
    gap: 22px;
}

.cart-page-summary__card {
    border-color: #dfe3ec;
    border-radius: 22px;
    padding: 24px;
}

.cart-page-summary__row--top {
    margin-bottom: 18px;
}

.cart-page-summary__label,
.cart-page-summary__value {
    font-size: 16px;
    font-weight: 500;
    color: #1f2237;
}

.cart-page-summary__label--strong,
.cart-page-summary__value--strong,
.cart-page-summary__label--total,
.cart-page-summary__value--total {
    font-weight: 500;
}

.cart-page-summary__note {
    max-width: none;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom-color: #dfe3ec;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    color: #9aa1bf;
}

.cart-page-summary__promo {
    grid-template-columns: minmax(0, 1fr) 136px;
    gap: 14px;
    margin-bottom: 28px;
}

.cart-page-summary__promo-input,
.cart-page-summary__promo-btn,
.cart-page-summary__checkout,
.cart-page-summary__continue {
    min-height: 42px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
}

.cart-page-summary__promo-input {
    border-color: #d4daea;
    padding: 0 16px;
    font-weight: 500;
}

.cart-page-summary__promo-btn {
    background: #8d8cab;
}

.cart-page-summary__row--total {
    padding-top: 0;
    margin-bottom: 22px;
    border-top: 0;
}

.cart-page-summary__label--total,
.cart-page-summary__value--total {
    font-size: 17px;
}

.cart-page-summary__checkout {
    background: #1f2237;
    letter-spacing: 0;
}

.cart-page-summary__continue {
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: #dfe3ec;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

/* Checkout Section Styles */
.checkout-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* Steps Navigation */
.checkout-steps {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.checkout-step {
    display: flex;
    align-items: center;
}

.checkout-step__badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: #1f2237;
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
}

.checkout-step__badge--outline {
    background: transparent;
    border: 1px solid #d4daea;
    color: #9aa1bf;
}

.checkout-step__divider {
    width: 60px;
    height: 1px;
    background: #d4daea;
}

/* Checkout Layout */
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 60px;
    align-items: start;
}

/* Checkout Header */
.checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.checkout-title {
    font-size: 40px;
    font-weight: 500;
    color: #1f2237;
    line-height: 1;
}

.checkout-login {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-login__text {
    font-size: 14px;
    color: #5f6478;
}

.checkout-login__btn {
    padding: 8px 20px;
    border: 1px solid #1f2237;
    border-radius: 30px;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: #1f2237;
    cursor: pointer;
}

/* Checkout Form */
.checkout-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.checkout-form__field {
    position: relative;
}

.checkout-form__label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1f2237;
    margin-bottom: 8px;
}

.checkout-form__input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #d4daea;
    border-radius: 12px;
    font-size: 15px;
    color: #1f2237;
    background: #fff;
    transition: border-color 0.2s;
}

.checkout-form__input:focus {
    outline: none;
    border-color: #5ba8b8;
}

.checkout-form__input::placeholder {
    color: #9aa1bf;
}

.checkout-form__input--error {
    border-color: #e74c3c;
}

.checkout-form__error {
    display: none;
    font-size: 12px;
    color: #e74c3c;
    margin-top: 6px;
}

.checkout-form__field--error .checkout-form__error {
    display: block;
}

.checkout-form__field--error .checkout-form__input {
    border-color: #e74c3c;
}

/* Phone Input */
.checkout-form__phone {
    display: flex;
    align-items: center;
    border: 1px solid #d4daea;
    border-radius: 12px;
    overflow: hidden;
}

.checkout-form__phone-prefix {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    background: #f5f6f8;
    border-right: 1px solid #d4daea;
    font-size: 14px;
    font-weight: 500;
    color: #1f2237;
    height: 46px;
    cursor: pointer;
}

.checkout-form__input--phone {
    border: none;
    border-radius: 0;
    flex: 1;
}

/* Form Actions */
.checkout-form__actions {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.checkout-form__btn {
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.checkout-form__btn--back {
    border: 1px solid #1f2237;
    background: transparent;
    color: #1f2237;
}

.checkout-form__btn--back:hover {
    background: #f5f6f8;
}

.checkout-form__btn--submit {
    border: none;
    background: #1f2237;
    color: #fff;
}

.checkout-form__btn--submit:hover {
    background: #2a2e46;
}

/* Delivery specific */
.delivery-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.delivery-methods__btn {
    padding: 12px 18px;
    border: 1px solid #d4daea;
    border-radius: 14px;
    background: #fff;
    color: #1f2237;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.delivery-methods__btn:hover {
    border-color: #8d8cab;
    color: #1f2237;
}

.delivery-methods__btn--active {
    background: #8d8cab;
    border-color: #8d8cab;
    color: #fff;
    box-shadow: 0 6px 12px rgba(141, 140, 171, 0.24);
}

.delivery-hint {
    margin: 8px 0 20px;
    color: #1f2237;
    font-size: 14px;
}

.checkout-form__select {
    position: relative;
}

.checkout-form__select select {
    width: 100%;
    height: 52px;
    padding: 0 42px 0 16px;
    border: 1px solid #d4daea;
    border-radius: 12px;
    background: #fff;
    font-size: 15px;
    color: #1f2237;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.checkout-form__select::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    width: 12px;
    height: 7px;
    margin-top: -3.5px;
    background: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239AA1BF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    pointer-events: none;
}

.checkout-form__select select:focus {
    outline: none;
    border-color: #8d8cab;
}

.checkout-form__select select::placeholder {
    color: #9aa1bf;
}

.checkout-form__field--error .checkout-form__select select {
    border-color: #e74c3c;
}

.delivery-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 8px;
}

.delivery-payments__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    border-radius: 14px;
    border: 1px solid #1f2237;
    background: #fff;
    color: #1f2237;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.delivery-payments__btn span {
    font-weight: 500;
    font-size: 13px;
    color: #5f6478;
}

.delivery-payments__btn:hover {
    border-color: #8d8cab;
}

.delivery-payments__btn--active {
    background: #8d8cab;
    border-color: #8d8cab;
    color: #fff;
    box-shadow: 0 6px 12px rgba(141, 140, 171, 0.24);
}

.delivery-payments__btn--active span {
    color: #fff;
}

.is-hidden {
    display: none !important;
}

/* Checkout success */
.checkout-content--success {
    max-width: 720px;
}

.order-success {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.order-success__title {
    font-size: 28px;
    font-weight: 800;
    color: #1f2237;
}

.order-success__lead {
    font-size: 18px;
    font-weight: 700;
    color: #1f2237;
}

.order-success__lead span {
    font-weight: 800;
}

.order-success__text {
    font-size: 15px;
    color: #1f2237;
    line-height: 1.6;
}

.order-success__note {
    font-size: 14px;
    color: #5f6478;
    font-style: italic;
}

.checkout-content--success .checkout-form__actions {
    margin-top: 24px;
}

/* Checkout Summary */
.checkout-summary {
    border: 1px solid #e1e5ef;
    border-radius: 24px;
    padding: 32px;
}

.checkout-summary__title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2237;
    margin-bottom: 24px;
}

.checkout-summary__items {
    max-height: 320px;
    overflow-y: auto;
    margin-bottom: 24px;
    padding-right: 8px;
}

.checkout-summary__items::-webkit-scrollbar {
    width: 6px;
}

.checkout-summary__items::-webkit-scrollbar-track {
    background: #f5f6f8;
    border-radius: 3px;
}

.checkout-summary__items::-webkit-scrollbar-thumb {
    background: #d4daea;
    border-radius: 3px;
}

.checkout-summary__item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 16px;
    align-items: start;
    padding-bottom: 16px;
    border-bottom: 1px solid #e1e5ef;
    margin-bottom: 16px;
}

.checkout-summary__item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.checkout-summary__item-media {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-summary__item-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.checkout-summary__item-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2237;
    margin-bottom: 8px;
}

.checkout-summary__item-remove {
    font-size: 12px;
    color: #9aa1bf;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

.checkout-summary__item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.checkout-summary__quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d4daea;
    border-radius: 24px;
    overflow: hidden;
}

.checkout-summary__quantity-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1f2237;
}

.checkout-summary__quantity-btn svg {
    width: 14px;
    height: 14px;
}

.checkout-summary__quantity-input {
    width: 40px;
    height: 36px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #1f2237;
}

.checkout-summary__item-price {
    font-size: 16px;
    font-weight: 700;
    color: #1f2237;
}

.checkout-summary__promo {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.checkout-summary__promo-input {
    flex: 1;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #d4daea;
    border-radius: 12px;
    font-size: 14px;
    color: #1f2237;
}

.checkout-summary__promo-input::placeholder {
    color: #9aa1bf;
}

.checkout-summary__promo-btn {
    padding: 0 24px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: #9aa1bf;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.checkout-summary__divider {
    height: 1px;
    background: #e1e5ef;
    margin: 16px 0;
}

.checkout-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.checkout-summary__row--total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e1e5ef;
}

.checkout-summary__label {
    font-size: 14px;
    color: #5f6478;
}

.checkout-summary__value {
    font-size: 14px;
    font-weight: 600;
    color: #1f2237;
}

.checkout-summary__label--total,
.checkout-summary__value--total {
    font-size: 16px;
    font-weight: 700;
    color: #1f2237;
}

.checkout-summary__delivery {
    margin: 16px 0;
}

.checkout-summary__delivery-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #1f2237;
    margin-bottom: 8px;
}

.checkout-summary__delivery-text {
    font-size: 12px;
    line-height: 1.5;
    color: #9aa1bf;
    padding-left: 24px;
}

.checkout-summary__empty {
    text-align: center;
    padding: 40px 20px;
    color: #9aa1bf;
    font-size: 14px;
}

/* Checkout mockup refinements */
.checkout-section--order-ui,
.checkout-section--delivery,
.checkout-section--success-page {
    padding-top: 24px;
}

.checkout-section--order-ui .checkout-layout,
.checkout-section--delivery .checkout-layout,
.checkout-section--success-page .checkout-layout {
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 72px;
}

.checkout-section--order-ui .checkout-steps,
.checkout-section--delivery .checkout-steps,
.checkout-section--success-page .checkout-steps {
    gap: 22px;
    margin-bottom: 52px;
}

.checkout-section--order-ui .checkout-step__badge,
.checkout-section--delivery .checkout-step__badge,
.checkout-section--success-page .checkout-step__badge {
    padding: 0;
    background: transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: #9aa1bf;
}

.checkout-section--order-ui .checkout-step.checkout-step--active .checkout-step__badge,
.checkout-section--delivery .checkout-step.checkout-step--active .checkout-step__badge,
.checkout-section--success-page .checkout-step.checkout-step--active .checkout-step__badge {
    padding: 9px 26px;
    border: 1px solid #1f2237;
    color: #1f2237;
    background: #fff;
}

.checkout-section--order-ui .checkout-step__badge--outline,
.checkout-section--delivery .checkout-step__badge--outline,
.checkout-section--success-page .checkout-step__badge--outline {
    border: none;
    color: #9aa1bf;
}

.checkout-section--order-ui .checkout-step__divider,
.checkout-section--delivery .checkout-step__divider,
.checkout-section--success-page .checkout-step__divider {
    width: 52px;
}

.checkout-section--order-ui .checkout-header,
.checkout-section--delivery .checkout-header,
.checkout-section--success-page .checkout-header {
    margin-bottom: 42px;
}

.checkout-section--order-ui .checkout-title,
.checkout-section--delivery .checkout-title,
.checkout-section--success-page .checkout-title {
    font-size: 56px;
    line-height: 0.95;
}

.checkout-section--success-page .checkout-content--success {
    max-width: 760px;
}

.checkout-section--success-page .order-success {
    gap: 14px;
    margin-bottom: 56px;
}

.checkout-section--success-page .order-success__title {
    font-size: 48px;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.checkout-section--success-page .order-success__lead {
    font-size: 32px;
    line-height: 1.08;
    max-width: 620px;
}

.checkout-section--success-page .order-success__text,
.checkout-section--success-page .order-success__note {
    max-width: 620px;
    font-size: 18px;
    line-height: 1.45;
}

.checkout-section--order-ui .checkout-summary,
.checkout-section--delivery .checkout-summary,
.checkout-section--success-page .checkout-summary {
    border: none;
    border-left: 1px solid #d8dde8;
    border-radius: 0;
    padding: 0 0 0 48px;
}

.checkout-section--order-ui .checkout-summary__title,
.checkout-section--delivery .checkout-summary__title,
.checkout-section--success-page .checkout-summary__title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 28px;
}

.checkout-section--order-ui .checkout-summary__items,
.checkout-section--delivery .checkout-summary__items,
.checkout-section--success-page .checkout-summary__items {
    max-height: none;
    overflow: visible;
    margin-bottom: 28px;
    padding-right: 0;
}

.checkout-section--order-ui .checkout-summary__item,
.checkout-section--delivery .checkout-summary__item,
.checkout-section--success-page .checkout-summary__item {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 18px 20px;
    align-items: center;
    padding: 18px 0;
    margin-bottom: 0;
}

.checkout-section--order-ui .checkout-summary__item-media,
.checkout-section--delivery .checkout-summary__item-media,
.checkout-section--success-page .checkout-summary__item-media {
    width: 76px;
    height: 76px;
    border-radius: 0;
    background: transparent;
}

.checkout-summary__item-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.checkout-summary__item-thumb-img,
.checkout-summary__item-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.checkout-section--order-ui .checkout-summary__item-info {
    min-width: 0;
}

.checkout-section--order-ui .checkout-summary__item-head {
    align-items: center;
}

.checkout-section--order-ui .checkout-summary__quantity-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    padding: 0;
}

.checkout-section--order-ui .checkout-summary__quantity-input::-webkit-outer-spin-button,
.checkout-section--order-ui .checkout-summary__quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.checkout-section--order-ui .checkout-summary__promo-input {
    min-width: 0;
}

.checkout-section--order-ui .checkout-summary__promo-btn {
    min-width: 176px;
    letter-spacing: 0;
}

.checkout-section--order-ui .checkout-summary__item-title,
.checkout-section--delivery .checkout-summary__item-title,
.checkout-section--success-page .checkout-summary__item-title {
    margin-bottom: 0;
    font-size: 21px;
    line-height: 1.2;
    text-transform: uppercase;
}

.checkout-section--order-ui .checkout-summary__item-controls,
.checkout-section--delivery .checkout-summary__item-controls,
.checkout-section--success-page .checkout-summary__item-controls {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.checkout-section--order-ui .checkout-summary__item-remove,
.checkout-section--delivery .checkout-summary__item-remove,
.checkout-section--success-page .checkout-summary__item-remove {
    font-size: 14px;
    color: #b4bac9;
    text-decoration: none;
}

.checkout-summary__item-remove--static {
    cursor: default;
}

.checkout-section--order-ui .checkout-summary__quantity,
.checkout-section--delivery .checkout-summary__quantity,
.checkout-section--success-page .checkout-summary__quantity {
    border-color: #1f2237;
    border-radius: 14px;
}

.checkout-section--order-ui .checkout-summary__quantity-btn,
.checkout-section--delivery .checkout-summary__quantity-btn,
.checkout-section--success-page .checkout-summary__quantity-btn {
    width: 42px;
    height: 38px;
}

.checkout-section--order-ui .checkout-summary__quantity-input,
.checkout-section--delivery .checkout-summary__quantity-input,
.checkout-section--success-page .checkout-summary__quantity-input {
    width: 44px;
    height: 38px;
    font-size: 16px;
    font-weight: 500;
}

.checkout-summary__quantity--readonly .checkout-summary__quantity-btn {
    cursor: default;
    opacity: 0.65;
}

.checkout-section--order-ui .checkout-summary__item-price,
.checkout-section--delivery .checkout-summary__item-price,
.checkout-section--success-page .checkout-summary__item-price {
    font-size: 34px;
    line-height: 1;
    white-space: nowrap;
}

.checkout-section--order-ui .checkout-summary__promo,
.checkout-section--delivery .checkout-summary__promo,
.checkout-section--success-page .checkout-summary__promo {
    gap: 16px;
    margin-bottom: 28px;
}

.checkout-section--order-ui .checkout-summary__promo-input,
.checkout-section--delivery .checkout-summary__promo-input,
.checkout-section--success-page .checkout-summary__promo-input {
    height: 54px;
    border-radius: 14px;
}

.checkout-section--order-ui .checkout-summary__promo-btn,
.checkout-section--delivery .checkout-summary__promo-btn,
.checkout-section--success-page .checkout-summary__promo-btn {
    height: 54px;
    padding: 0 28px;
    border-radius: 14px;
    background: #8d8cab;
    font-size: 16px;
}

.checkout-section--order-ui .checkout-summary__divider,
.checkout-section--delivery .checkout-summary__divider,
.checkout-section--success-page .checkout-summary__divider,
.checkout-section--order-ui .checkout-summary__row--total,
.checkout-section--delivery .checkout-summary__row--total,
.checkout-section--success-page .checkout-summary__row--total {
    border-color: #d8dde8;
}

.checkout-section--order-ui .checkout-summary__row,
.checkout-section--delivery .checkout-summary__row,
.checkout-section--success-page .checkout-summary__row {
    margin-bottom: 18px;
}

.checkout-section--order-ui .checkout-summary__label,
.checkout-section--success-page .checkout-summary__label,
.checkout-section--delivery .checkout-summary__label,
.checkout-section--order-ui .checkout-summary__value,
.checkout-section--success-page .checkout-summary__value,
.checkout-section--delivery .checkout-summary__value {
    font-size: 18px;
}

.checkout-section--order-ui .checkout-summary__label--total,
.checkout-section--order-ui .checkout-summary__value--total,
.checkout-section--delivery .checkout-summary__label--total,
.checkout-section--delivery .checkout-summary__value--total,
.checkout-section--success-page .checkout-summary__label--total,
.checkout-section--success-page .checkout-summary__value--total {
    font-size: 22px;
}

.checkout-section--order-ui .checkout-summary__delivery-text,
.checkout-section--delivery .checkout-summary__delivery-text,
.checkout-section--success-page .checkout-summary__delivery-text {
    padding-left: 22px;
    max-width: 340px;
}

.checkout-section--delivery .delivery-methods__btn,
.checkout-section--delivery .delivery-payments__btn {
    min-height: 50px;
    border-radius: 14px;
}

.checkout-section--delivery .checkout-form__actions {
    margin-top: 52px;
}

.checkout-section--delivery .checkout-form__btn--back {
    min-width: 176px;
}

.checkout-section--delivery .checkout-form__btn--submit,
.checkout-section--success-page .checkout-form__btn--back {
    min-width: 252px;
}

.checkout-section--delivery .checkout-content--delivery {
    max-width: 760px;
}

.checkout-section--delivery .checkout-header--delivery {
    align-items: flex-start;
    margin-bottom: 36px;
}

.checkout-section--delivery .checkout-login {
    margin-top: 4px;
}

.checkout-section--delivery .delivery-methods {
    gap: 14px;
    margin-bottom: 14px;
}

.checkout-section--delivery .delivery-methods__btn {
    min-width: 170px;
    min-height: 56px;
    padding: 16px 24px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.1;
    letter-spacing: 0.01em;
    justify-content: center;
    text-align: center;
}

.checkout-section--delivery .delivery-methods__btn:first-child {
    min-width: 220px;
}

.checkout-section--delivery .delivery-methods__btn:nth-child(2) {
    min-width: 205px;
}

.checkout-section--delivery .delivery-methods__btn:nth-child(3) {
    min-width: 150px;
}

.checkout-section--delivery .delivery-hint {
    margin: 0 0 22px;
    font-size: 18px;
    line-height: 1.35;
}

.checkout-section--delivery .checkout-form__label {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.checkout-section--delivery .checkout-form__field,
.checkout-section--delivery .checkout-form__row {
    margin-bottom: 20px;
}

.checkout-section--delivery .checkout-form__input,
.checkout-section--delivery .checkout-form__select select {
    height: 56px;
    padding-left: 18px;
    padding-right: 48px;
    border-radius: 14px;
    font-size: 16px;
}

.checkout-section--delivery .delivery-payments {
    gap: 14px;
    margin: 28px 0 0;
}

.checkout-section--delivery .delivery-payments__btn {
    position: relative;
    justify-content: center;
    text-align: center;
    gap: 6px;
    min-height: 56px;
    padding: 16px 22px;
    border-width: 1.5px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.1;
}

.checkout-section--delivery .delivery-payments__btn input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.checkout-section--delivery .delivery-payments__btn-main {
    font-weight: 700;
}

.checkout-section--delivery .delivery-payments__btn-note {
    font-size: 13px;
    font-weight: 500;
    color: #5f6478;
}

.checkout-section--delivery .delivery-payments__btn--active .delivery-payments__btn-note {
    color: #fff;
}

.checkout-section--delivery .checkout-form__actions {
    gap: 18px;
    margin-top: 54px;
}

.checkout-section--delivery .checkout-form__btn {
    min-height: 60px;
    padding: 18px 30px;
    border-radius: 999px;
    font-size: 15px;
    letter-spacing: 0.01em;
}

.checkout-section--delivery .checkout-form__btn--back {
    min-width: 190px;
}

.checkout-section--delivery .checkout-form__btn--submit {
    min-width: 246px;
    background: #000;
}

.checkout-section--delivery .checkout-form__btn--submit:hover {
    background: #161616;
}

.checkout-section--delivery .checkout-summary {
    padding-left: 54px;
}

.checkout-section--delivery .checkout-summary__item-title {
    font-size: 18px;
}

.checkout-section--delivery .checkout-summary__item-price {
    font-size: 28px;
}

.checkout-section--delivery .checkout-summary__promo {
    gap: 14px;
}

.checkout-section--delivery .checkout-summary__promo-input {
    flex: 0 1 220px;
}

.checkout-section--delivery .checkout-summary__promo-btn {
    min-width: 176px;
}

.cart-drawer__secondary-btn:hover {
    background: #f7f8fb;
}

.cart-drawer__primary-btn:hover {
    background: #2a2e46;
}

.cart-drawer__primary-btn:disabled:hover {
    background: #c8cddc;
}

/* Shared product-card styles are used in similar/recently-viewed sections */

/* Product page mockup alignment */
.product-page .product {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
    gap: 28px;
    margin: 58px 0 72px;
}

.product-page .product__gallery {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 28px;
}

.product-page .product__slider {
    width: 100%;
    max-width: 100%;
    height: 560px;
    border-radius: 26px;
    border-color: #e0e2ea;
    box-sizing: border-box;
}

.product-page .product__slide {
    min-height: 560px;
    padding: 46px 52px;
}

.product-page .product__image {
    max-height: 390px;
    max-width: 76%;
}

.product-page .product__badge {
    top: 28px;
    left: 28px;
    min-width: 51px;
    min-height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 13px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    background: #fff;
    border-color: #1f2237;
}

.product-page .product__thumbs {
    width: 100%;
    max-width: none;
}

.product-page .product__thumb {
    height: 136px;
    padding: 18px;
    border-radius: 18px;
    opacity: 1;
    border-color: #e0e2ea;
    box-shadow: none;
}

.product-page .product__thumb-img {
    max-width: 86px;
    margin: auto;
}

.product-page .product__info {
    padding-top: 0;
    width: 100%;
    max-width: none;
}

.product-page .product__meta-head {
    position: relative;
    margin-bottom: 28px;
}

.product-page .product__meta-head .product__rating {
    margin-bottom: 0;
}

.product-page .product__meta-head .product__wishlist {
    top: 0;
    right: 0;
}

.product-page .product__gallery-progress {
    display: none;
}

.product-page .product__rating {
    gap: 18px;
    margin-bottom: 28px;
}

.product-page .product__stars {
    gap: 7px;
}

.product-page .product__star {
    width: 21px;
    height: 21px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #8fdce5;
}

.product-page .product__rating-text {
    font-size: 14px;
    line-height: 1.3;
    color: #a3a7b7;
}

.product-page .product__wishlist {
    top: 0;
    right: 0;
    color: #9ea3ba;
}

.product-page .product__wishlist-icon {
    width: 26px;
    height: 26px;
}

.product-page .product__title {
    margin-bottom: 14px;
    font-size: 36px;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #202235;
    text-transform: uppercase;
}

.product-page .product__description {
    max-width: 560px;
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 1.55;
    color: #303344;
}

.product-page .product__availability {
    margin-bottom: 76px;
    font-size: 14px;
    font-weight: 400;
    color: #b5b8c7;
}

.product-page .product__price-note {
    margin-bottom: 32px;
    font-size: 13px;
    line-height: 1.35;
    letter-spacing: 0;
    color: #202235;
}

.product__volumes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.product__volume {
  min-height: 36px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #1a1a1a;
  background: transparent;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.product__volume--selected,
.product__volume:hover {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.product-page .product__price {
    margin-bottom: 32px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;
    color: #202235;
}

.product-page .product__price .woocommerce-Price-amount {
    font-weight: inherit;
    color: inherit;
}

.product-page .product__doctor-block .product__form.cart {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.product-page .product__quantity {
    height: 48px;
    margin-bottom: 32px;
    border-color: #bfc3d0;
    border-radius: 999px;
    background: #fff;
}

.product-page .product__quantity-btn {
    width: 52px;
    height: 48px;
    background: transparent;
}

.product-page .product__quantity-input {
    width: 44px;
    height: 48px;
    font-size: 16px;
    font-weight: 500;
    color: #202235;
}

.product-page .product__btn {
    max-width: 266px;
    min-height: 54px;
    margin-bottom: 68px;
    padding: 15px 30px;
    border-radius: 999px;
    background: #202030;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

.product-page .product__btn:hover {
    background: #2c2d42;
    transform: none;
}

.product-page .product-tabs {
    margin-top: 38px;
}

.product-page .product-tabs__header {
    gap: 52px;
    margin-bottom: 30px;
    border-bottom: 0;
}

.product-page .product-tabs__tab {
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #a0a4b3;
    cursor: pointer;
}

.product-page .product-tabs__tab--active {
    color: #202235;
    font-weight: 500;
}

.product-page .product-tabs__tab--active::after {
    display: none;
}

.product-page .product-tabs__content {
    max-width: 560px;
}

.product-page .product-tabs__panel {
    display: none;
    font-size: 14px;
    line-height: 1.45;
    color: #202235;
}

.product-page .product-tabs__panel--active {
    display: block;
}

.product-page .product-tabs__panel[hidden] {
    display: none !important;
}

.product-page .product-tabs__panel .product-tabs__rich {
    color: #202235;
    font-size: 14px;
    line-height: 1.45;
}

.product-page .product-tabs__panel .product-tabs__rich > *:first-child {
    margin-top: 0;
}

.product-page .product-tabs__panel .product-tabs__rich h1,
.product-page .product-tabs__panel .product-tabs__rich h2,
.product-page .product-tabs__panel .product-tabs__rich h3,
.product-page .product-tabs__panel .product-tabs__rich h4,
.product-page .product-tabs__panel .product-tabs__rich h5,
.product-page .product-tabs__panel .product-tabs__rich h6 {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    color: #202235;
}

.product-page .product-tabs__panel .product-tabs__rich p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.45;
    color: #202235;
}

.product-page .product-tabs__panel .product-tabs__rich strong,
.product-page .product-tabs__panel .product-tabs__rich b {
    font-weight: 700;
    color: inherit;
}

.product-page .product-tabs__panel .product-tabs__rich em,
.product-page .product-tabs__panel .product-tabs__rich i {
    font-style: italic;
}

.product-page .product-tabs__panel .product-tabs__rich ul,
.product-page .product-tabs__panel .product-tabs__rich ol {
    margin: 0 0 16px !important;
    padding: 0 0 0 22px !important;
    list-style-position: outside !important;
}

.product-page .product-tabs__panel .product-tabs__rich ul {
    list-style-type: disc !important;
}

.product-page .product-tabs__panel .product-tabs__rich ol {
    list-style-type: decimal !important;
}

.product-page .product-tabs__panel .product-tabs__rich li {
    position: static;
    display: list-item !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    font-size: 14px;
    line-height: 1.45;
    color: #202235;
    list-style: inherit !important;
}

.product-page .product-tabs__panel .product-tabs__rich li::before,
.product-page .product-tabs__panel .product-tabs__rich li::after {
    content: none !important;
    display: none !important;
}

.product-page .product-tabs__panel .product-tabs__rich a {
    color: inherit;
    text-decoration: underline;
}

.product-page .product-tabs__panel ul,
.product-page .product-tabs__panel ol {
    margin: 0 0 16px;
    padding: 0 0 0 22px;
    list-style-position: outside;
}

.product-page .product-tabs__panel ul {
    list-style-type: disc;
}

.product-page .product-tabs__panel ol {
    list-style-type: decimal;
}

.product-page .product-tabs__panel li {
    position: static;
    display: list-item;
    margin: 0 0 6px;
    padding: 0;
    list-style: inherit;
}

.product-page .product-tabs__panel li::before,
.product-page .product-tabs__panel li::after {
    content: none !important;
    display: none !important;
}

.product-page .product-tabs__panel a {
    color: inherit;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .product-page .product {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-top: 32px;
        gap: 32px;
    }

    .product-page .product__info {
        max-width: 100%;
    }

    .product-page .product__availability {
        margin-bottom: 36px;
    }
}

@media (max-width: 575px) {
    .product-page .product {
        margin-top: 24px;
    }

    .product-page .product__slider {
        height: 340px;
        border-radius: 22px;
    }

    .product-page .product__slide {
        min-height: 340px;
        padding: 28px;
    }

    .product-page .product__image {
        max-height: 250px;
    }

    .product-page .product__thumb {
        height: 94px;
    }

    .product-page .product-tabs__header {
        gap: 22px;
        overflow-x: auto;
        padding-bottom: 4px;
    }
}

/* Product page styles end */


/*--------- Catalog page styles end -------- */



/* Footer section start */
.footer { 
  background-color: #1e1f26; 
  color: #ffffff; 
  border-radius: 40px 40px 0 0; 
  padding: 60px 0 30px; 
}

.footer-container { 
  max-width: 1400px; 
  margin: 0 auto; 
  padding: 0 20px; 
}

.footer-brand {
    margin-left: -2%;
}

.footer-top { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  margin-bottom: 50px; 
  flex-wrap: wrap; 
  gap: 30px; 
}

.logo { 
  font-size: 36px; 
  font-weight: 700; 
  letter-spacing: 1px; 
  margin: 0 0 15px 0; 
}

.footer__logo-img {
  display: block;
  width: 320px;
  height: auto;
  margin: 0 0 0px 0;
}

.footer__logo-img--mobile {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 150px;
  margin: 0 auto;
  object-fit: contain;
}
.social-icons { 
  display: flex; 
  gap: 30px;
  justify-content: space-evenly; 
}

.social-icons a { 
  color: #ffffff; 
  transition: color 0.3s ease; 
}

.social-icons a:hover { 
  color: #5ce1e6; 
}

.footer-newsletter p { 
  margin: 0 0 15px 0; 
  font-size: 16px; 
}

.newsletter-form { 
  display: flex; 
  gap: 15px; 
}

.newsletter-form input { 
  padding: 15px 20px; 
  border-radius: 25px; 
  border: none; 
  outline: none; 
  width: 350px; 
  font-size: 14px; 
}

.newsletter-form button { 
  background-color: #5ce1e6; 
  color: #1e1f26; 
  padding: 15px 30px; 
  border-radius: 25px; 
  border: none; 
  font-weight: 600; 
  font-size: 14px; 
  cursor: pointer; 
  transition: background-color 0.3s; 

}
.newsletter-form button:hover { 
  background-color: #4ac7cc; 
}

.footer-links { 
  display: flex; 
  justify-content: space-between; 
  margin-bottom: 50px; 
  flex-wrap: wrap; 
  gap: 20px; 

}
.link-column h4 { 
  font-size: 14px; 
  font-weight: 500; 
  margin: 0 0 20px 0; 
  color: #ffffff; 
}

.link-column h4 a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.link-column h4 a:hover {
  opacity: 0.8;
}

.link-column ul { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
}

.link-column li { 
  margin-bottom: 12px; 
}

.link-column a { 
  color: #a0a3b1; 
  text-decoration: none; 
  font-size: 13px; 
  transition: color 0.3s ease; 
}

.link-column a:hover { 
  color: #ffffff; 
}

.footer-bottom { 
  border-top: 1px solid #3c3e4c; 
  padding-top: 25px; 
  text-align: center; 
}
.footer-bottom p { 
  margin: 0; 
  color: #838592; 
  font-size: 13px; 
}

.chevron { 
  display: none; 
}

.accordion-header { 
  cursor: default; 
}

.footer-deco-icon { 
  display: none; 
} 
/* Footer section end */

/* Account registration page start */
.account-registration-page {
  --reg-bg: #e9e9e9;
  --reg-dark: #202336;
  --reg-brand: #111a4d;
  --reg-accent: #86dbe4;
  --reg-form-gap: 24px;
  --reg-field-gap: 8px;
  --reg-form-offset: 36px;
  color: var(--reg-dark);
  background: var(--reg-bg);
}

/* /register-doctor/ — окремі змінні (не впливають на register-buyer) */
.register-doctor-page {
  --reg-back-left: 40px;
  --reg-content-padding-top: 96px;
  --reg-content-padding-bottom: 64px;
  --reg-head-gap: 24px;
}

/* /register-buyer/ — окремі змінні (не впливають на register-doctor) */
.register-buyer-page {
  --reg-back-left: 40px;
  --reg-content-padding-top: 96px;
  --reg-content-padding-bottom: 64px;
  --reg-head-gap: 24px;
}

.account-registration__page-head {
  width: 100%;
}

[data-register-step1-page] {
  background: #fff;
}

@media (min-width: 992px) {
  [data-register-step1-page] .account-registration {
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
  }

  [data-register-step1-page] .account-registration__visual {
    min-height: 100vh;
    padding: 36px 40px 78px 24px;
    justify-content: space-between;
    background: url('../img/bg_regestration.png') center/cover no-repeat;
  }

  [data-register-step1-page] .account-registration__brand {
    max-width: 420px;
    margin-top: auto;
  }

  [data-register-step1-page] .account-registration__bottom-logo {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    width: min(100%, 380px);
    height: auto;
    margin: 0 0 14px -38px;
    color: #16214a;
  }

  [data-register-step1-page] .account-registration__brand-text {
    margin: -36px 0 0;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 400;
    color: #1c1d39;
  }

  [data-register-step1-page] .account-registration__content {
    min-height: 100vh;
    padding: 96px 48px 48px;
    align-items: center;
    justify-content: center;
  }

  [data-register-step1-page] .account-registration__content-inner {
    width: 100%;
    max-width: 560px;
    min-height: auto;
    margin: 0 auto;
    align-items: center;
  }

  [data-register-step1-page] .account-registration__title {
    font-size: 36px;
    font-weight: 500;
    color: #1e1e2b;
  }

  [data-register-step1-page] .account-registration__subtitle {
    margin: 12px 0 0;
    font-size: 20px;
    line-height: 1.35;
    color: #000;
    font-family: "Golos Text VF", "Golos Text", sans-serif;
  }

  [data-register-step1-page] .account-registration__symbol-wrap {
    margin-top: 36px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  [data-register-step1-page] .account-registration__symbol {
    width: 190px;
    height: auto;
    margin: 0;
    display: block;
  }

  [data-register-step1-page] .account-registration__symbol path,
  [data-register-step1-page] .account-registration__symbol polygon,
  [data-register-step1-page] .account-registration__symbol rect {
    fill: var(--reg-accent);
  }

  [data-register-step1-page] .account-registration__question {
    font-weight: 400;
    font-size: 24px;
  }

  [data-register-step1-page] .account-registration__actions {
    margin-top: 32px;
    width: min(100%, 420px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  [data-register-step1-page] .account-registration__btn,
  [data-register-step1-page] .account-registration__btn--secondary {
    height: 50px;
    border: 1.5px solid var(--reg-accent);
    border-radius: 10px;
    background: #fff;
    color: #23273a;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  [data-register-step1-page] .account-registration__btn:hover,
  [data-register-step1-page] .account-registration__btn--secondary:hover {
    background: var(--reg-accent);
    color: #23273a;
  }

  [data-register-step1-page] .account-registration__login-link--bottom {
    margin-top: 72px;
  }
}

/* Step 1 — symbol color (mobile + desktop) */
[data-register-step1-page] .account-registration__symbol path,
[data-register-step1-page] .account-registration__symbol polygon,
[data-register-step1-page] .account-registration__symbol rect {
  fill: var(--reg-accent);
}

@media (min-width: 992px) {
  .account-registration-page .footer {
    display: none;
  }
}

.account-registration {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 48% 52%;
}

.account-registration__visual {
  position: relative;
  height: 100%;
  min-height: 0;
  background: url('../img/bg_regestration.png') center/cover no-repeat;
  padding: 36px 40px 78px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.account-registration__login-link {
  font-size: 13px;
  line-height: 1.35;
  color: #86dbe4;
  text-decoration: none;
}

.account-registration__login-link a {
  text-decoration: underline;
}

.account-registration__login-link a:hover {
  text-decoration: none;
}

.account-registration__login-link--top {
  margin: 0;
  font-size: 14px;
  color: #fff;
}

.account-registration__login-link--top a {
  color: #86dbe4;
  text-decoration: underline;
}

.account-registration__login-link--top a:hover {
  text-decoration: none;
}

.account-registration__brand {
  max-width: 420px;
  margin-top: auto;
}

.register-doctor-page .account-registration__visual {
  padding: 24px 34px 74px 24px;
}

.register-doctor-page .account-registration__top-logo,
[data-lost-password-page] .account-registration__top-logo {
  position: absolute;
  top: 0%;
  left: 3%;
  display: block;
  width: 130px;
  height: auto;
  color: rgba(255, 255, 255, 0.72);
}

.register-doctor-page .account-registration__top-logo path,
[data-lost-password-page] .account-registration__top-logo path {
  fill: currentColor;
}

.account-registration__status {
  margin: 12px 0 0;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400;
  text-align: center;
  color: #86dbe4;
}

.account-registration__status + .account-registration__form,
.account-registration__status + .account-registration__error {
  margin-top: 28px;
}

.account-registration__home-link {
  margin: 20px 0 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
  color: #1c1d39;
}

.account-registration__home-link a {
  color: inherit;
  text-decoration: underline;
}

.account-registration__home-link a:hover {
  text-decoration: none;
}

[data-lost-password-page] .account-registration__error {
  margin: 16px 0 0;
  text-align: center;
  color: #c33;
  font-size: 14px;
}

[data-lost-password-page] .account-registration__error + .account-registration__form {
  margin-top: 16px;
}

[data-lost-password-page] .account-registration__input[readonly] {
  background: #f7f8fa;
  color: #1c1d39;
}

@media (min-width: 992px) {
  .account-registration__visual {
    padding: 24px 34px 74px 24px;
  }

  .account-registration__bottom-logo path,
  .account-registration__bottom-logo polygon,
  .account-registration__bottom-logo rect {
    fill: currentColor;
  }

  .account-registration__brand-text {
    margin: -36px 0 0;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 400;
    color: #1c1d39;
  }
	
}

.account-registration__bottom-logo {
  position: static;
  width: min(100%, 380px);
  height: auto;
  margin: 0 0 14px -38px;
  color: #16214a;
}

.account-registration__logo {
  display: block;
  width: min(100%, 380px);
  height: auto;
  margin: 0 0 14px;
  color: #16214a;
}

.account-registration__brand-text {
  margin: -36px 0 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 400;
  color: #1c1d39;
}

.register-doctor-page .account-registration__brand-text {
  margin: -36px 0 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 400;
  color: #1c1d39;
}

.account-registration__content {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #fff;
  padding: 96px 40px 64px;
}

.account-registration__content-inner {
  width: min(100%, 640px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.account-registration__content-inner .account-registration__form {
  align-self: center;
  width: min(100%, 480px);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.account-registration__title {
  margin: 0;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.08;
  color: #1e1e2b;
}

.account-registration__subtitle {
  margin: 12px 0 0;
  font-size: 20px;
  line-height: 1.35;
  color: #000;
  font-family: "Golos Text VF", "Golos Text", sans-serif;
}

.account-registration__error {
  margin: 16px 0 0;
  color: #e74c3c;
  font-weight: 500;
  line-height: 1.4;
}

.account-registration__error + .account-registration__form {
  margin-top: 20px;
}

.account-registration__error a {
  color: inherit;
  text-decoration: underline;
}

.account-registration__error a:hover {
  text-decoration: none;
}

@media (min-width: 992px) {
  /* Keep left image same height on all registration pages */
  .account-registration {
    height: 100vh;
    overflow: hidden;
  }

  .account-registration__visual,
  .account-registration__content {
    height: 100vh;
  }

  /* Long forms scroll on the right only; keep top padding so content isn't stuck to the edge */
  .account-registration__content {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    align-items: center;
    justify-content: flex-start;
    padding-top: 96px;
    padding-bottom: 64px;
  }

  .account-registration__content-inner {
    width: min(100%, 480px);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .account-registration__title,
  .account-registration__subtitle {
    text-align: center;
    width: 100%;
  }

  .account-registration__question {
    text-align: center;
    width: 100%;
  }

  .account-registration__actions {
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .account-registration__login-link--bottom {
    margin-top: 32px;
    text-align: center;
    width: 100%;
  }

  /* Login form is short — center vertically on PC */
  [data-login-page] .account-registration__content {
    align-items: center;
    justify-content: center;
    padding-top: 140px;
    padding-bottom: 96px;
  }

  [data-login-page] .account-registration__content-inner {
    align-items: center;
  }

  [data-register-step1-page] .account-registration__content {
    align-items: center;
    justify-content: center;
  }

  [data-register-step1-page] .account-registration__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 420px;
  }

  .register-doctor-page .account-registration__content,
  .register-buyer-page .account-registration__content {
    flex-direction: column;
    align-items: stretch;
    padding-top: var(--reg-content-padding-top);
    padding-bottom: var(--reg-content-padding-bottom);
  }

  .register-doctor-page .account-registration__page-head,
  .register-buyer-page .account-registration__page-head {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    flex-shrink: 0;
    width: 100%;
    padding: 0 var(--reg-back-left) var(--reg-head-gap);
    box-sizing: border-box;
    column-gap: 16px;
  }

  .register-doctor-page .account-registration__page-head > .account-registration__back,
  .register-buyer-page .account-registration__page-head > .account-registration__back {
    position: static;
    top: auto;
    left: auto;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
    margin: 0;
  }

  .register-doctor-page .account-registration__page-head > .account-registration__title,
  .register-buyer-page .account-registration__page-head > .account-registration__title {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    width: auto;
    max-width: 100%;
    margin: 0;
  }

  .register-doctor-page .account-registration__page-head > .account-registration__subtitle,
  .register-buyer-page .account-registration__page-head > .account-registration__subtitle {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    margin: 12px 0 0;
    width: 100%;
    text-align: center;
  }

  .register-doctor-page .account-registration__content-inner,
  .register-buyer-page .account-registration__content-inner {
    margin-left: auto;
    margin-right: auto;
  }
}

.account-registration__symbol {
  width: 190px;
  height: auto;
  margin: 44px 0 0;
}

.account-registration__question {
  margin: 38px 0 0;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 400;
  color: #23273a;
}

.account-registration__back {
  position: absolute;
  top: 95px;
  left: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 16px;
  border: 1px solid #7a7f94;
  border-radius: 999px;
  color: #2c2f43;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.account-registration__back svg {
  width: 14px;
  height: 14px;
}

.account-registration__actions {
  margin-top: 36px;
  width: 60%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.account-registration__btn {
  height: 50px;
  border: 1.5px solid var(--reg-accent);
  border-radius: 10px;
  background: transparent;
  color: #23273a;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.account-registration__btn:hover {
  background: var(--reg-accent);
}

.account-registration__btn--outline {
  border-color: #c8ccd8;
}

.account-registration__btn--outline:hover {
  border-color: var(--reg-accent);
  background: transparent;
  color: #23273a;
}

.account-registration__login-link--bottom {
  margin-top: 32px;
  font-size: 14px;
  color: #adb2c3;
}

.account-registration__login-link--bottom a {
  color: #86dbe4;
  text-decoration: none;
}

.account-registration__login-link--bottom a:hover {
  text-decoration: underline;
}

.account-registration__form {
  margin-top: var(--reg-form-offset);
  width: min(100%, 480px);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: var(--reg-form-gap);
  text-align: left;
}

.account-registration__field {
  display: flex;
  flex-direction: column;
  gap: var(--reg-field-gap);
  width: 100%;
  margin: 0;
}

.account-registration__field--error .account-registration__input {
  border-color: #e74c3c;
}

.account-registration__error-text {
  font-size: 12px;
  color: #e74c3c;
  margin: 0;
}

.account-registration__label {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #23273a;
}

.account-registration__input {
  width: 100%;
  height: 44px;
  border: 1.4px solid #c8ccd8;
  border-radius: 10px;
  background: #fff;
  padding: 0 16px;
  font-size: 14px;
  color: #23273a;
  outline: none;
  transition: border-color 0.2s;
}

.account-registration__input:focus {
  border-color: var(--reg-accent);
}

.account-registration__input::placeholder {
  color: #9ba1b6;
}

.account-registration__password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.account-registration__input--password {
  padding-right: 44px;
}

.account-registration__eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #9ba1b6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-registration__eye svg {
  width: 20px;
  height: 20px;
}

.account-registration__eye:hover {
  color: #23273a;
}

.account-registration__strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.account-registration__strength-track {
  flex: 1;
  height: 4px;
  background: #e8eaf0;
  border-radius: 2px;
  overflow: hidden;
}

.account-registration__strength-bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 2px;
  background: #ccc;
  transition: width 0.3s ease, background 0.3s ease;
}

.account-registration__strength-label {
  font-size: 11px;
  font-weight: 600;
  min-width: 60px;
}

.account-registration__hint {
  display: block;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #8f95a9;
}

/* Password match indicator */
.account-registration__match {
  display: block;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  min-height: 18px;
}

.account-registration__match--match {
  color: #2ecc71;
}

.account-registration__match--match::before {
  content: "✓ ";
}

.account-registration__match--mismatch {
  color: #e74c3c;
}

.account-registration__match--mismatch::before {
  content: "✗ ";
}

.account-registration__forgot-row {
  display: flex;
  justify-content: flex-end;
  margin: -4px 0 8px;
}

.account-registration__forgot {
  font-size: 13px;
  color: #000;
  text-decoration: none;
}

.account-registration__forgot:hover {
  text-decoration: underline;
}

.account-registration__agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding-top: 4px;
  text-align: left;
  cursor: pointer;
}

.account-registration__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.account-registration__checkbox-custom {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid #acb2c8;
  border-radius: 6px;
  background: transparent;
  position: relative;
  transition: background-color 0.2s, border-color 0.2s;
}

.account-registration__checkbox:checked + .account-registration__checkbox-custom {
  background: var(--reg-accent);
  border-color: var(--reg-accent);
}

.account-registration__checkbox:checked + .account-registration__checkbox-custom::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 7px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.account-registration__agree-text {
  font-size: 13px;
  line-height: 1.4;
  color: #8b90a5;
  padding-top: 2px;
}

.account-registration__agree-text a {
  color: inherit;
  text-decoration: underline;
}

.account-registration__agree-text a:hover {
  color: #5c6078;
}

.account-registration__submit {
  width: 100%;
  height: 50px;
  margin: 0;
  border: none;
  border-radius: 999px;
  background: #1c1f35;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: opacity 0.2s;
}

.account-registration__submit:hover {
  opacity: 0.85;
}

.account-registration__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Phone input with prefix */
.account-registration__phone-wrap {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 44px;
  border: 1.4px solid #c8ccd8;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.account-registration__phone-wrap:focus-within {
  border-color: var(--reg-accent);
}

.account-registration__phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #9AD9E2;
  color: #000;
  font-size: 14px;
  border-right: 1px solid #c8ccd8;



  align-items: center;

}

.account-registration__input--phone {
  flex: 1;
  border: none;
  border-radius: 0;
  padding-left: 14px;
}

/* File upload */
.account-registration__upload-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  border: 1.4px solid #c8ccd8;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s;
}

.account-registration__upload-wrap:hover {
  border-color: var(--reg-accent);
}

.account-registration__file {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.account-registration__upload-text {
  flex: 1;
  padding: 0 16px;
  font-size: 14px;
  color: #9ba1b6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-registration__upload-text--selected {
  color: #23273a;
}

.account-registration__upload-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 100%;
  color: #7ae6ef;
}

.account-registration__upload-icon svg {
  width: 20px;
  height: 20px;
}

/* Label hint */
.account-registration__label-hint {
  font-weight: 400;
  color: #8f95a9;
}

.register-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.register-success__icon {
  width: 80px;
  height: 80px;
  margin-bottom: 28px;
}

.register-success__text {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: #5c6078;
  max-width: 340px;
}

.register-success__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  margin-top: 36px;
  border: none;
  border-radius: 10px;
  background: var(--reg-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: opacity 0.2s;
}

.register-success__btn:hover {
  opacity: 0.85;
}

.register-success__link {
  margin-top: 16px;
  font-size: 13px;
  color: #86dbe4;
  text-decoration: underline;
}

.register-success__link:hover {
  text-decoration: none;
}
/* Account registration page end */

/* Doctor registration page start */
.doctor-registration-page {
  --doctor-bg: #efeff2;
  --doctor-ink: #1f2234;
  --doctor-muted: #8f95a9;
  --doctor-line: #acb2c8;
  --doctor-accent: #8de6ef;
  background: var(--doctor-bg);
  color: var(--doctor-ink);
  margin: 0;
  overflow-x: hidden;
}

.doctor-registration-page .footer {
  display: none;
}

.doctor-registration {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 48% 52%;
}

.doctor-registration__visual {
  position: relative;
  height: 100%;
  min-height: 0;
  background: url('../img/bg_regestration.png') center/cover no-repeat;
  padding: 36px 40px 78px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.doctor-registration__top-logo {
  position: absolute;
  top: 36px;
  left: 20px;
  display: block;
  width: 120px;
  height: auto;
}

.doctor-registration__top-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.doctor-registration__brand {
  max-width: 420px;
}

.doctor-registration__logo {
  margin: 0;
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  color: #1a2056;
}

.doctor-registration__brand-text {
  margin: 12px 0 0;
  font-size: 30px;
  line-height: 1.08;
  font-weight: 500;
  color: #1a2056;
}

.doctor-registration__content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--doctor-bg);
  padding: 40px;
}

.doctor-registration__inner {
  width: min(100%, 340px);
}

.doctor-registration__back {
  position: absolute;
  top: 38px;
  left: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 16px;
  border: 1px solid #7a7f94;
  border-radius: 999px;
  color: #2c2f43;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.doctor-registration__back svg {
  width: 14px;
  height: 14px;
}

.doctor-registration__title {
  margin: 0;
  text-align: center;
  font-size: 38px;
  line-height: 1.08;
  font-weight: 700;
  color: #242739;
}

.doctor-registration__subtitle {
  margin: 12px 0 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.35;
  color: #5c6078;
}

.doctor-registration__form {
  margin-top: 54px;
}

.doctor-registration__field {
  display: block;
}

.doctor-registration__field + .doctor-registration__field {
  margin-top: 16px;
}

.doctor-registration__label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  color: #232639;
}

.doctor-registration__label small {
  font-size: 12px;
  color: #9ba1b6;
}

.doctor-registration__label-hint {
  font-size: 12px;
  font-weight: 400;
  color: #9ba1b6;
}

.doctor-registration__hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #9ba1b6;
}

.doctor-registration__input,
.doctor-registration__upload-wrap {
  width: 100%;
  height: 44px;
  border: 1.4px solid var(--doctor-line);
  border-radius: 10px;
  background: #fff;
}

.doctor-registration__input {
  padding: 0 14px;
  font-size: 14px;
  color: var(--doctor-ink);
}

.doctor-registration__input::placeholder {
  color: #a0a6ba;
}

.doctor-registration__input:focus,
.doctor-registration__file:focus-visible + .doctor-registration__upload-text {
  outline: none;
}

.doctor-registration__phone-wrap {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 44px;
  border: 1.4px solid var(--doctor-line);
  border-radius: 10px;
  overflow: hidden;
}

.doctor-registration__phone-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 0 10px;
  background: #dfe2ea;
  border-right: 1px solid #c3c8d8;
  font-size: 14px;
  color: #2a2f44;
}

.doctor-registration__input--phone {
  height: 100%;
  border: 0;
  border-radius: 0;
  padding-left: 14px;
}

.doctor-registration__upload-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 16px;
}

.doctor-registration__file {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.doctor-registration__upload-text {
  font-size: 14px;
  color: #a0a6ba;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: calc(100% - 30px);
}

.doctor-registration__upload-icon {
  width: 18px;
  height: 18px;
  color: #5fd9e8;
}

.doctor-registration__upload-icon svg {
  width: 100%;
  height: 100%;
}

.doctor-registration__submit {
  margin-top: 64px;
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 999px;
  background: #1c1f35;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.doctor-registration__login {
  margin: 38px 0 0;
  text-align: center;
  font-size: 12px;
  color: #adb2c3;
}

.doctor-registration__login a {
  color: var(--doctor-accent);
  text-decoration: none;
}

.doctor-registration__login a:hover {
  text-decoration: underline;
}

.doctor-registration__error {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #e74c3c;
  line-height: 1.3;
}

.doctor-registration__field--error .doctor-registration__input,
.doctor-registration__field--error .doctor-registration__phone-wrap,
.doctor-registration__field--error .doctor-registration__upload-wrap {
  border-color: #e74c3c;
}

/* OCR Verification styles */
.doctor-registration__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.doctor-registration__verify {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: #5c6078;
  font-size: 14px;
}

.doctor-registration__verify-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #e0e2ea;
  border-top-color: #3ab4bf;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.doctor-registration__verify-text {
  margin: 0;
}

/* OCR error block (different from field error) */
[data-verify-error].doctor-registration__error {
  margin: 16px 0;
  padding: 12px 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  font-size: 13px;
  color: #dc2626;
}

[data-verify-error] .doctor-registration__error-text {
  margin: 0;
  line-height: 1.4;
}
/* Doctor registration page end */

/* Price request modal start */
.price-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.price-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 48, 0.55);
  backdrop-filter: blur(3px);
  cursor: pointer;
}

.price-modal__box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 20px;
  padding: 48px 40px 40px;
  width: min(90vw, 420px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 20px 60px rgba(20, 24, 48, 0.18);
}

.price-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  color: #adb2c3;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.price-modal__close:hover {
  color: #23273a;
  background: #f2f3f6;
}

.price-modal__close svg {
  width: 20px;
  height: 20px;
}

.price-modal__icon {
  margin-bottom: 20px;
}

.price-modal__icon img {
  width: 140px;
  height: auto;
  display: block;
}

.price-modal__title {
  font-size: 22px;
  font-weight: 700;
  color: #1a2056;
  line-height: 1.25;
  margin: 0 0 12px;
}

.price-modal__text {
  font-size: 15px;
  color: #5c6078;
  line-height: 1.55;
  margin: 0 0 28px;
}

.price-modal__btn {
  display: block;
  width: 100%;
  height: 50px;
  background: #8de6ef;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #1a2056;
  text-decoration: none;
  line-height: 50px;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-bottom: 12px;
}

.price-modal__btn:hover {
  opacity: 0.85;
}

.price-modal__link {
  background: none;
  border: none;
  font-size: 13px;
  color: #adb2c3;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.price-modal__link:hover {
  color: #5c6078;
}
/* Price request modal end */

/* Login page start */
.login-page {
  --login-bg: #efeff2;
  --login-ink: #1f2234;
  --login-line: #acb2c8;
  --login-accent: #8de6ef;
  background: var(--login-bg);
  color: var(--login-ink);
  margin: 0;
  overflow-x: hidden;
}

.login-page .footer {
  display: none;
}

.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 48% 52%;
}

.login__visual {
  position: relative;
  height: 100%;
  min-height: 0;
  background: url('../img/bg_regestration.png') center/cover no-repeat;
  padding: 36px 40px 78px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.login__top-logo {
  position: absolute;
  top: 36px;
  left: 20px;
  display: block;
  width: 120px;
  height: auto;
}

.login__top-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.login__brand {
  max-width: 420px;
}

.login__logo {
  margin: 0;
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  color: #1a2056;
}

.login__brand-text {
  margin: 12px 0 0;
  font-size: 30px;
  line-height: 1.08;
  font-weight: 500;
  color: #1a2056;
}

.login__content {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--login-bg);
  padding: 40px;
}

.login__inner {
  width: min(100%, 340px);
}

.login__title {
  margin: 0;
  text-align: center;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
  font-style: italic;
  color: #242739;
}

.login__subtitle {
  margin: 12px 0 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.35;
  color: #5c6078;
}

.login__form {
  margin-top: 40px;
}

.login__field {
  display: block;
}

.login__field + .login__field {
  margin-top: 14px;
}

.login__label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  color: #232639;
}

.login__input {
  width: 100%;
  height: 44px;
  border: 1.4px solid var(--login-line);
  border-radius: 10px;
  background: transparent;
  padding: 0 14px;
  font-size: 14px;
  color: var(--login-ink);
}

.login__input::placeholder {
  color: #a0a6ba;
}

.login__input:focus {
  outline: none;
}

.login__password-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
}

.login__input--password {
  padding-right: 44px;
}

.login__eye {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.login__eye-icon {
  width: 20px;
  height: 20px;
  color: #8f95a9;
}

.login__forgot-row {
  margin-top: 8px;
  text-align: right;
}

.login__forgot {
  font-size: 12px;
  color: #5c6078;
  text-decoration: none;
}

.login__forgot:hover {
  text-decoration: underline;
}

.login__agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
  cursor: pointer;
}

.login__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.login__checkbox-custom {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--login-line);
  border-radius: 6px;
  background: transparent;
  position: relative;
  transition: background-color 0.2s, border-color 0.2s;
}

.login__checkbox:checked + .login__checkbox-custom {
  background: var(--login-accent);
  border-color: var(--login-accent);
}

.login__checkbox:checked + .login__checkbox-custom::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 7px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.login__agree-text {
  font-size: 13px;
  line-height: 1.4;
  color: #5c6078;
  padding-top: 2px;
}

.login__submit {
  margin-top: 32px;
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 999px;
  background: #1c1f35;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.login__register {
  margin: 38px 0 0;
  text-align: center;
  font-size: 12px;
  color: #adb2c3;
}

.login__register a {
  color: var(--login-accent);
  text-decoration: none;
}

.login__register a:hover {
  text-decoration: underline;
}

.login__error {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #e74c3c;
  line-height: 1.3;
}

.login__field--error .login__input,
.login__field--error .login__password-wrap .login__input {
  border-color: #e74c3c;
}
/* Login page end */

/* Signup page start */
.signup-page {
  --signup-bg: #efeff2;
  --signup-ink: #1f2234;
  --signup-muted: #8f95a9;
  --signup-line: #acb2c8;
  --signup-accent: #8de6ef;
  background: var(--signup-bg);
  color: var(--signup-ink);
  margin: 0;
  overflow-x: hidden;
}

.signup-page .footer {
  display: none;
}

.signup {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 48% 52%;
}

.signup__visual {
  position: relative;
  height: 100%;
  min-height: 0;
  background: url('../img/bg_regestration.png') center/cover no-repeat;
  padding: 36px 40px 78px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.signup__top-logo {
  position: absolute;
  top: 36px;
  left: 20px;
  display: block;
  width: 120px;
  height: auto;
}

.signup__top-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.signup__brand {
  max-width: 420px;
}

.signup__logo {
  margin: 0;
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  color: #1a2056;
}

.signup__brand-text {
  margin: 12px 0 0;
  font-size: 30px;
  line-height: 1.08;
  font-weight: 500;
  color: #1a2056;
}

.signup__content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--signup-bg);
  padding: 40px;
}

.signup__inner {
  width: min(100%, 380px);
}

.signup__back {
  position: absolute;
  top: 38px;
  left: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 16px;
  border: 1px solid #7a7f94;
  border-radius: 999px;
  color: #2c2f43;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.signup__back svg {
  width: 14px;
  height: 14px;
}

.signup__title {
  margin: 0;
  text-align: center;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
  font-style: italic;
  color: #242739;
}

.signup__subtitle {
  margin: 10px 0 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.35;
  color: #5c6078;
}

.signup__form {
  margin-top: 30px;
}

.signup__field {
  display: block;
}

.signup__field + .signup__field {
  margin-top: 12px;
}

.signup__label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  color: #232639;
}

.signup__input {
  width: 100%;
  height: 44px;
  border: 1.4px solid var(--signup-line);
  border-radius: 10px;
  background: transparent;
  padding: 0 14px;
  font-size: 14px;
  color: var(--signup-ink);
}

.signup__input::placeholder {
  color: #a0a6ba;
}

.signup__input:focus {
  outline: none;
}

.signup__phone-wrap {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 44px;
  border: 1.4px solid var(--signup-line);
  border-radius: 10px;
  overflow: hidden;
}

.signup__phone-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  padding: 0 10px;
  background: #dfe2ea;
  border-right: 1px solid #c3c8d8;
  font-size: 14px;
  color: #2a2f44;
}

.signup__input--phone {
  height: 100%;
  border: 0;
  border-radius: 0;
  padding-left: 14px;
}

.signup__password-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
}

.signup__input--password {
  padding-right: 44px;
}

.signup__eye {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.signup__eye-icon {
  width: 20px;
  height: 20px;
  color: #8f95a9;
}

.signup__hint {
  display: block;
  font-size: 11px;
  color: #8f95a9;
  margin-top: 5px;
  line-height: 1.4;
}

.signup__strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
}

.signup__strength-track {
  flex: 1;
  height: 4px;
  background: #e8eaf0;
  border-radius: 4px;
  overflow: hidden;
}

.signup__strength-bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: #ccc;
  transition: width 0.3s ease, background 0.3s ease;
}

.signup__strength-label {
  font-size: 11px;
  font-weight: 600;
  min-width: 60px;
  text-align: right;
  transition: color 0.3s ease;
}

.signup__forgot-row {
  margin-top: 8px;
  text-align: right;
}

.signup__forgot {
  font-size: 12px;
  color: #5c6078;
  text-decoration: none;
}

.signup__forgot:hover {
  text-decoration: underline;
}

.signup__agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  cursor: pointer;
}

.signup__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.signup__checkbox-custom {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--signup-line);
  border-radius: 6px;
  background: transparent;
  position: relative;
  transition: background-color 0.2s, border-color 0.2s;
}

.signup__checkbox:checked + .signup__checkbox-custom {
  background: var(--signup-accent);
  border-color: var(--signup-accent);
}

.signup__checkbox:checked + .signup__checkbox-custom::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 7px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.signup__agree-text {
  font-size: 13px;
  line-height: 1.4;
  color: #5c6078;
  padding-top: 2px;
}

.signup__submit {
  margin-top: 28px;
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 999px;
  background: #1c1f35;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.signup__login-link {
  margin: 32px 0 0;
  text-align: center;
  font-size: 12px;
  color: #adb2c3;
}

.signup__login-link a {
  color: var(--signup-accent);
  text-decoration: none;
}

.signup__login-link a:hover {
  text-decoration: underline;
}

.signup__error {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #e74c3c;
  line-height: 1.3;
}

.signup__field--error .signup__input,
.signup__field--error .signup__phone-wrap,
.signup__field--error .signup__password-wrap .signup__input {
  border-color: #e74c3c;
}
/* Signup page end */

/* Cabinet page start */
.cabinet-page .breadcrumbs {
  padding: 8px 0 0;
}

.cabinet-page .breadcrumbs__list {
  padding-left: 0;
}

.cabinet {
  padding: 48px 0 80px;
  min-height: 60vh;
  background: #fff;
}

.cabinet__container {
  width: 100%;
}

.cabinet__mobile-title {
  display: none;
}

.cabinet__mobile-tabs {
  display: none;
}

.cabinet__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: flex-start;
}

.cabinet__title {
  margin: 0 0 48px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: #1a1e2e;
  text-transform: uppercase;
}

.cabinet__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cabinet__nav-link {
  display: block;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #1a1e2e;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}

.cabinet__nav-link:hover {
  background: #f0f0f4;
}

.cabinet__nav-link--active {
  background: #8de6ef;
  color: #fff;
  font-weight: 600;
}

.cabinet__nav-link--active:hover {
  background: #8de6ef;
  color: #fff;
}

/* Orders */
.cabinet__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cabinet-order {
  border-top: 1px solid #e6e6e6;
  padding: 28px 0 8px;
}

.cabinet-order:first-child,
.cabinet-order:first-of-type {
  border-top: none;
  padding-top: 0;
}

.cabinet-order + .cabinet-order {
  margin-top: 0;
}

.cabinet-order__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.cabinet-order__date {
  font-size: 13px;
  font-weight: 400;
  color: #7a7a7a;
  white-space: nowrap;
}

.cabinet-order__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.cabinet-order__status--processing {
  background: #b5b5b5;
  color: #fff;
}

.cabinet-order__status--shipping {
  background: #8de6ef;
  color: #1a1e2e;
}

.cabinet-order__status--delivered {
  background: #1a1e2e;
  color: #fff;
}

.cabinet-order__status--cancelled {
  background: #fde8e8;
  color: #c0392b;
}

.cabinet-order__repeat {
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
  color: #1a1e2e;
  text-decoration: underline;
  text-underline-offset: 3px;
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.cabinet-order__repeat:hover {
  opacity: 0.7;
  background: transparent;
}

.cabinet-order__items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cabinet-order__item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto auto auto;
  align-items: center;
  column-gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #efefef;
}

.cabinet-order__item:last-child {
  border-bottom: none;
}

.cabinet-order__img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  align-self: center;
}

.cabinet-order__img--placeholder {
  background: #f5f5f5;
  border-radius: 8px;
}

.cabinet-order__info {
  min-width: 0;
  align-self: center;
}

.cabinet-order__name {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1e2e;
  line-height: 1.25;
}

.cabinet-order__desc {
  margin: 0;
  font-size: 12px;
  color: #7a7a7a;
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
}

.cabinet-order__qty-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 88px;
  height: 36px;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}

.cabinet-order__qty-btn {
  width: 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: #1a1e2e;
  cursor: pointer;
  padding: 0;
}

.cabinet-order__qty {
  min-width: 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #1a1e2e;
}

.cabinet-order__price {
  font-size: 16px;
  font-weight: 700;
  color: #1a1e2e;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 96px;
  text-align: right;
}

.cabinet-order__price .woocommerce-Price-amount,
.cabinet-order__price .amount {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.cabinet-order__delete {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #1a1e2e;
  flex-shrink: 0;
  transition: opacity 0.2s;
  padding: 0;
}

.cabinet-order__delete:hover {
  opacity: 0.55;
  color: #1a1e2e;
}

.cabinet-order__delete svg {
  width: 22px;
  height: 22px;
}
.cabinet-order__media-link {
  display: block;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.cabinet-order__name-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.cabinet-order__name-link:hover .cabinet-order__name {
  color: #52dee5;
}

.cabinet-order__media-link:hover .cabinet-order__img {
  opacity: 0.85;
}



.cabinet__content--hidden {
  display: none;
}

.cabinet__section-title {
  font-size: 20px;
  font-weight: 500;
  color: #1a1e2e;
  margin: 0 0 24px;
}

/* Certificates */
.cabinet-cert__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e4e6ef;
  border-radius: 12px;
  margin-bottom: 12px;
}

.cabinet-cert__icon {
  width: 40px;
  height: 40px;
  background: #e8f9fb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #3ab4bf;
}

.cabinet-cert__icon svg {
  width: 20px;
  height: 20px;
}

.cabinet-cert__name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1e2e;
  margin: 0 0 4px;
}

.cabinet-cert__status {
  font-size: 12px;
  margin: 0;
}

.cabinet-cert__status--pending {
  color: #e6a817;
}

.cabinet-cert__status--approved {
  color: #27ae60;
}

.cabinet-cert__upload {
  margin-top: 20px;
}

.cabinet-cert__upload-label {
  font-size: 13px;
  color: #5c6078;
  margin: 0 0 10px;
}

.cabinet-cert__upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1.5px dashed #acb2c8;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #3a3d4f;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.cabinet-cert__upload-btn:hover {
  border-color: #3ab4bf;
  color: #3ab4bf;
}

.cabinet-cert__upload-btn svg {
  width: 18px;
  height: 18px;
}

.cabinet-cert__upload-hint {
  font-size: 11px;
  color: #adb2c3;
  margin: 8px 0 0;
}

/* Profile */
.cabinet-profile {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
}

.cabinet-profile__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cabinet-profile__label {
  font-size: 13px;
  font-weight: 600;
  color: #5c6078;
}

.cabinet-profile__input {
  height: 46px;
  border: 1.5px solid #dde0ed;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  color: #1a1e2e;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.cabinet-profile__input:focus {
  border-color: #8de6ef;
}

.cabinet-profile__save {
  margin-top: 8px;
  height: 48px;
  background: #8de6ef;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #1a2056;
  cursor: pointer;
  transition: opacity 0.2s;
}

.cabinet-profile__save:hover {
  opacity: 0.85;
}
/* Pending doctor approval notice */
.cabinet-pending-notice {
  margin-bottom: 20px;
  padding: 14px 18px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 10px;
}

.cabinet-pending-notice p {
  margin: 0;
  font-size: 14px;
  color: #92400e;
  line-height: 1.4;
}

.cabinet__empty {
  padding: 48px 24px;
  text-align: center;
  border: 1px dashed #dde0ed;
  border-radius: 12px;
  background: #fafbfd;
}

.cabinet__empty p {
  margin: 0 0 20px;
  font-size: 16px;
  color: #5c6078;
}

.cabinet__empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  background: #8de6ef;
  color: #1a2056;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.cabinet__empty-btn:hover {
  opacity: 0.85;
}

.cabinet__doctor-summary {
  padding: 20px 24px;
  border: 1px solid #e4e6ef;
  border-radius: 12px;
  background: #fafbfd;
}

.cabinet__doctor-summary .cabinet__section-title {
  margin-bottom: 16px;
}

.cabinet__doctor-summary--pending {
  background: #fffbeb;
  border-color: #fcd34d;
}

.cabinet__doctor-summary--approved {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.cabinet__doctor-summary--rejected {
  background: #fef2f2;
  border-color: #fecaca;
}

.cabinet-profile__doctor {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cabinet-profile__subtitle {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1a1e2e;
}

.cabinet-profile__status {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cabinet-profile__status p {
  margin: 0;
  font-size: 14px;
  color: #5c6078;
  line-height: 1.5;
}

.cabinet-profile__status-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.cabinet-profile__status-badge--pending {
  background: #fff3cd;
  color: #92400e;
}

.cabinet-profile__status-badge--approved {
  background: #c6f0d6;
  color: #1a6b3a;
}

.cabinet-profile__status-badge--rejected {
  background: #fde8e8;
  color: #c0392b;
}

.cabinet-profile__note {
  padding: 14px 16px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e4e6ef;
}

.cabinet-profile__note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #1a1e2e;
}

.cabinet-profile__note p {
  margin: 0;
  font-size: 14px;
  color: #5c6078;
  line-height: 1.5;
}

.cabinet-profile__diploma {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cabinet-profile__diploma p {
  margin: 0;
  font-size: 14px;
  color: #5c6078;
}

.cabinet-profile__download {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 8px 16px;
  border: 1px solid #c4c8d8;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #1a1e2e;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.cabinet-profile__download:hover {
  background: #f0f0f4;
  border-color: #1a1e2e;
}

.cabinet-profile__no-doc {
  margin: 0;
  font-size: 14px;
  color: #9ba1b6;
}
/* Cabinet page end */

/* ============================================================
   Certificates page
   ============================================================ */
.certificates-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.certificates-header .cabinet__section-title {
  margin: 0;
}

.certificates-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid #c4c8d8;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1e2e;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}

.certificates-add-btn:hover {
  border-color: #3ab4bf;
  color: #3ab4bf;
}

.certificates-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.certificate-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e0e2ea;
  border-radius: 12px;
  position: relative;
}

.certificate-card__thumb {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: #f0f1f5;
}

.certificate-card__info {
  flex: 1;
  min-width: 0;
}

.certificate-card__title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: #1a1e2e;
  line-height: 1.35;
}

.certificate-card__dates {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.certificate-card__dates p {
  margin: 0;
  font-size: 13px;
  color: #6b7089;
}

.certificate-card__dates span {
  color: #1a1e2e;
  font-weight: 500;
}

.certificate-card__actions {
  position: relative;
  flex-shrink: 0;
  align-self: center;
}

.certificate-card__menu-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e0e2ea;
  border-radius: 8px;
  color: #8b92a8;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.certificate-card__menu-btn:hover {
  background: #8b92a8;
  color: #fff;
  border-color: #8b92a8;
}

.certificate-card__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 150px;
  background: #fff;
  border: 1px solid #e0e2ea;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  z-index: 20;
  overflow: hidden;
}

.cert-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: #1a1e2e;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.cert-dropdown__item:hover {
  background: #f5f6f8;
}

.cert-dropdown__item--danger {
  color: #dc2626;
}

.cert-dropdown__item--danger:hover {
  background: #fef2f2;
}
/* Certificate modals */
.cert-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-modal[hidden] { display: none; }

.cert-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 30, 46, 0.55);
}

/* Split layout box (image left + fields right) */
.cert-modal__box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  width: min(100%, 700px);
  margin: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  max-height: calc(100vh - 32px);
}

/* Close button — absolute top-right */
.cert-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e0e2ea;
  border-radius: 50%;
  color: #5c6078;
  cursor: pointer;
  transition: background 0.2s;
}

.cert-modal__close:hover { background: #f0f1f5; }

/* Left: image preview panel */
.cert-modal__preview {
  flex: 0 0 45%;
  background: #f0f1f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cert-modal__preview-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

/* Right: fields panel */
.cert-modal__side {
  flex: 1;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.cert-modal__side--confirm {
  justify-content: center;
  gap: 0;
}

/* Mode label (РЕДАГУВАННЯ / ВИДАЛЕННЯ / ДОДАВАННЯ) */
.cert-modal__mode-label {
  margin: 0 0 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #9ba1b6;
  text-transform: uppercase;
}

.cert-modal__form { display: flex; flex-direction: column; gap: 16px; }

.cert-modal__field { display: flex; flex-direction: column; gap: 6px; }

.cert-modal__label {
  font-size: 13px;
  font-weight: 600;
  color: #6b7089;
}

.cert-modal__input {
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid #e0e2ea;
  border-radius: 10px;
  font-size: 15px;
  color: #1a1e2e;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s;
}

.cert-modal__input:focus {
  outline: none;
  border-color: #3ab4bf;
}

/* Replace photo button */
.cert-modal__replace {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 16px;
  background: #fff;
  border: 1.5px solid #e0e2ea;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1e2e;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.cert-modal__replace:hover {
  background: #f0f1f5;
  border-color: #3ab4bf;
}

.cert-modal__file {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.cert-modal__error {
  margin: 0;
  font-size: 13px;
  color: #dc2626;
}

.cert-modal__submit {
  margin-top: 8px;
  height: 52px;
  background: #3ab4bf;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.cert-modal__submit:hover { opacity: 0.88; }

/* Confirm (delete) modal */
.cert-modal__confirm-text {
  margin: 0 0 32px;
  font-size: 17px;
  font-weight: 600;
  color: #1a1e2e;
  line-height: 1.4;
}

.cert-modal__confirm-btns {
  display: flex;
  gap: 12px;
}

.cert-modal__btn {
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
  flex: 1;
}

.cert-modal__btn--delete {
  background: #3d4260;
  color: #fff;
}

.cert-modal__btn--cancel {
  background: #3ab4bf;
  color: #fff;
}

.cert-modal__btn:hover { opacity: 0.88; }

.cert-empty {
  margin: 40px 0;
  text-align: center;
  font-size: 15px;
  color: #9ba1b6;
}
/* Certificates page end */

/* ============================================================
   Profile page
   ============================================================ */
.profile__section-heading {
  margin: 0 0 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #9ba1b6;
  text-transform: uppercase;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e2ea;
}

.profile__fields {
  display: flex;
  flex-direction: column;
}

.profile__field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #e0e2ea;
}

.profile__field-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.profile__field-label {
  font-size: 14px;
  font-weight: 500;
  color: #1a1e2e;
}

.profile__field-value {
  font-size: 15px;
  font-weight: 400;
  color: #1a1e2e;
}

.profile__field-value--empty {
  color: #1a1e2e;
  font-size: 15px;
  min-height: 1.2em;
}

.profile__field-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #f0f1f5;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1e2e;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.profile__field-btn:hover {
  background: #e0e2ea;
  color: #1a1e2e;
}

.profile__field-btn--add {
  background: transparent;
  color: #3ab4bf;
  padding: 8px 0;
}

.profile__field-btn--add:hover {
  background: transparent;
  color: #2a9aa5;
}

/* Newsletter */
.profile__newsletter {
  padding-top: 28px;
}

.profile__newsletter-title {
  margin: 50px 0px;
  font-size: 15px;
  font-weight: 500;
  color: #1a1e2e;
}

.profile__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  cursor: pointer;
}

.profile__checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.profile__checkbox-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid #c4c8d8;
  border-radius: 5px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  margin-top: 1px;
}

.profile__checkbox input:checked + .profile__checkbox-box {
  background: #3ab4bf;
  border-color: #3ab4bf;
}

.profile__checkbox input:checked + .profile__checkbox-box::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

.profile__checkbox-label {
  font-size: 14px;
  color: #3d4260;
  line-height: 1.45;
}

/* Profile edit modal */
.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-modal--hidden { display: none !important; }

.profile-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 30, 46, 0.45);
}

.profile-modal__box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px 28px;
  width: min(100%, 380px);
  margin: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  text-align: center;
}

.profile-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f1f5;
  border: none;
  border-radius: 50%;
  color: #5c6078;
  cursor: pointer;
  transition: background 0.2s;
}

.profile-modal__close:hover { background: #e0e2ea; }

/* Mode label e.g. ЗМІНИТИ НОМЕР ТЕЛЕФОНУ */
.profile-modal__mode {
  margin: 0 0 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #9ba1b6;
  text-transform: uppercase;
}

.profile-modal__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.profile-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-modal__label {
  font-size: 13px;
  font-weight: 600;
  color: #1a1e2e;
}

.profile-modal__input {
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid #e0e2ea;
  border-radius: 10px;
  font-size: 15px;
  color: #1a1e2e;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.profile-modal__input:focus {
  outline: none;
  border-color: #3ab4bf;
}

.profile-modal__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.profile-modal__input-wrap .profile-modal__input {
  flex: 1;
}

.profile-modal__input-wrap:has(.profile-modal__eye:not([hidden])) .profile-modal__input {
  padding-right: 44px;
}

.profile-modal__eye {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #7b82a0;
  display: flex;
  align-items: center;
  line-height: 1;
}

.profile-modal__eye:hover { color: #3ab4bf; }

/* Phone input with prefix */
.profile-modal__phone-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid #e0e2ea;
  border-radius: 10px;
  overflow: hidden;
  height: 48px;
  transition: border-color 0.2s;
}

.profile-modal__phone-wrap:focus-within { border-color: #3ab4bf; }

.profile-modal__phone-prefix {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1e2e;
  background: #f5f6f8;
  border-right: 1px solid #e0e2ea;
  height: 100%;
  white-space: nowrap;
  flex-shrink: 0;
}

.profile-modal__phone-input {
  flex: 1;
  height: 100%;
  padding: 0 14px;
  border: none;
  outline: none;
  font-size: 15px;
  color: #1a1e2e;
  font-family: inherit;
  background: transparent;
}

.profile-modal__hint {
  margin: -6px 0 0;
  font-size: 12px;
  color: #7b82a0;
  line-height: 1.4;
}

.profile-modal__error {
  margin: 0;
  font-size: 13px;
  color: #dc2626;
  text-align: center;
}

/* Two buttons row */
.profile-modal__btns {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.profile-modal__btn {
  flex: 1;
  height: 50px;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: inherit;
}

.profile-modal__btn--cancel {
  background: #3d4260;
  color: #fff;
}

.profile-modal__btn--save {
  background: #3ab4bf;
  color: #fff;
}

.profile-modal__btn:hover { opacity: 0.88; }

.profile-modal__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
/* Profile page end */

/* ============================================================
   Discounts page start
   Used on: discounts.html
   ============================================================ */

.discounts__heading {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #9ba1b6;
  text-transform: uppercase;
}

/* Status card */
.discounts__card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border: 1.5px solid #e0e2ea;
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 36px;
}

.discounts__card-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.discounts__tier {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  color: #1a1e2e;
}

.discounts__personal {
  margin: 0;
  font-size: 15px;
  color: #1a1e2e;
}

.discounts__personal span {
  font-weight: 700;
}

.discounts__card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 220px;
}

.discounts__turnover {
  margin: 0;
  font-size: 14px;
  color: #1a1e2e;
  text-align: right;
}

.discounts__progress-wrap {
  width: 100%;
}

.discounts__progress-bar {
  width: 100%;
  height: 8px;
  background: #1a1e2e;
  border-radius: 99px;
  overflow: hidden;
}

.discounts__progress-fill {
  height: 100%;
  background: #3ab4bf;
  border-radius: 99px;
  transition: width 0.4s ease;
}

.discounts__status {
  margin: 0;
  font-size: 13px;
  color: #1a1e2e;
  text-align: right;
}

.discounts__status strong {
  font-weight: 700;
}

/* Personal offers list */
.discounts__offers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.discounts__offer-item {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: #1a1e2e;
}

.discounts__offer-item::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #3ab4bf;
  font-size: 18px;
  line-height: 1.1;
}

/* Add purchase form */
.discounts__add-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.discounts__add-input {
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid #e0e2ea;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #1a1e2e;
  outline: none;
  transition: border-color 0.2s;
  flex: 1;
  min-width: 140px;
}

.discounts__add-input:focus { border-color: #3ab4bf; }

.discounts__add-input--amount { max-width: 140px; }

.discounts__add-btn {
  height: 44px;
  padding: 0 22px;
  background: #3ab4bf;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.discounts__add-btn:hover { opacity: 0.88; }

/* Purchase history */
.discounts__history {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.discounts__history-empty {
  margin: 0;
  font-size: 14px;
  color: #9ba1b6;
}

.discounts__history-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1.5px solid #e0e2ea;
  border-radius: 10px;
  font-size: 14px;
  color: #1a1e2e;
}

.discounts__history-date {
  color: #9ba1b6;
  white-space: nowrap;
  flex-shrink: 0;
}

.discounts__history-desc {
  flex: 1;
}

.discounts__history-amount {
  font-weight: 700;
  color: #3ab4bf;
  white-space: nowrap;
  flex-shrink: 0;
}

.discounts__history-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}

.discounts__history-status--completed {
  background: #e8faf5;
  color: #1a9e70;
}

.discounts__history-status--cart {
  background: #fef3e2;
  color: #b97a00;
}

/* ============================================================
   Discounts page end
   ============================================================ */

/* ============================================================
   Saved page start
   Used on: saved.html
   ============================================================ */

.saved__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.saved__empty {
  font-size: 15px;
  color: #9ba1b6;
  padding: 40px 0;
}

/* Saved product card */
.saved-card {
  border: 1.5px solid #e0e2ea;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  position: relative;
  transition: box-shadow 0.2s;
}

.saved-card:hover {
  box-shadow: 0 4px 20px rgba(58, 180, 191, 0.12);
}

.saved-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.saved-card__badge {
  font-size: 11px;
  font-weight: 600;
  border: 1.5px solid #1a1e2e;
  border-radius: 99px;
  padding: 2px 10px;
  color: #1a1e2e;
  line-height: 1.4;
}

.saved-card__wish {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #3ab4bf;
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.saved-card__wish:hover { opacity: 0.75; }

.saved-card__wish svg {
  width: 22px;
  height: 22px;
}

.saved-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
}

.saved-card__image img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
}

.saved-card__title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1e2e;
  margin: 0;
  line-height: 1.3;
}

.saved-card__desc {
  font-size: 12px;
  color: #7b82a0;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.saved-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 8px;
}

.saved-card__price {
  font-size: 14px;
  font-weight: 700;
  color: #1a1e2e;
  white-space: nowrap;
}

.saved-card__volume {
  font-size: 12px;
  color: #9ba1b6;
  white-space: nowrap;
}

.saved-card__btn {
  width: 100%;
  padding: 12px 16px;
  background: #1a1e2e;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s;
  text-align: center;
}

.saved-card__btn:hover { opacity: 0.85; }

/* ============================================================
   Saved page end
   ============================================================ */

/* ============================================================
   Toast notification
   ============================================================ */
.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1f2230;
  color: #fff;
  padding: 14px 20px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  box-shadow: 0 8px 32px rgba(20, 24, 48, 0.22);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  max-width: 320px;
}

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

.toast__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #5ba8b8;
}

.toast__text {
  flex: 1;
  line-height: 1.3;
}
/* ============================================================
   Toast notification end
   ============================================================ */
   

/*--------- Home page styles start-------------- */

/* About video / legal pages start */

/* ========== About Section Video Styles ========== */
.about-section__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.about-section__video--youtube {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.about-section__video--local {
  width: 100%;
  max-height: 600px;
  border-radius: 16px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .about-section__media--video:not(.about-section__media--fullwidth) {
    border-radius: 12px;
  }

  .about-section__media--fullwidth .about-section__video-wrapper,
  .about-section__media--fullwidth .about-section__video--local {
    height: clamp(240px, 56vw, 420px);
  }
  
  .about-section__video--local {
    max-height: 400px;
  }
}
/* ========== About Section Video End ========== */

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== Privacy Policy Page Styles ========== */
/* section. only — WP also puts .privacy-policy on <body> (page slug);
   overflow on body breaks position:sticky for the header nav. */
section.privacy-policy {
  background-color: #ffffff;
  overflow-x: hidden;
  padding-bottom: 0;
}

.privacy-policy .breadcrumbs {
  padding-left: 0;
  padding-right: 0;
  background: transparent;
}

.privacy-policy .breadcrumbs__list {
  padding-left: 0;
  margin-left: 0;
}

.privacy-policy__container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
  position: relative;
  padding-top: 40px;
}

.privacy-policy__content {
  max-width: 800px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.privacy-policy__title {
  font-family: "Golos Text VF", "Golos Text", sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 54px;
  letter-spacing: -0.011em;
  color: #000000;
  margin: 0 0 40px;
}

.privacy-policy__text {
  font-family: "Golos Text VF", "Golos Text", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #1e1e2b;
  padding: 0;
}

.privacy-policy__text h1,
.privacy-policy__text h1 strong,
.privacy-policy__text h2,
.privacy-policy__text h2 strong {
  font-family: "Golos Text VF", "Golos Text", sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 54px;
  letter-spacing: -0.011em;
  color: #000000;
  margin: 0 0 40px;
}

.privacy-policy__text h3,
.privacy-policy__text h3 strong {
  font-family: "Golos Text VF", "Golos Text", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: #1e1e2b;
  margin: 32px 0 16px;
}

.privacy-policy__text p {
  margin: 0 0 16px;
}

.privacy-policy__text ul,
.privacy-policy__text ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

.privacy-policy__text li {
  margin-bottom: 8px;
}

.privacy-policy__text a {
  color: #1e1e2b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-policy__text a:hover {
  color: #5ba8b8;
}

.privacy-policy__image {
  position: absolute;
  top: -1%;
  left: 50%;
  z-index: 10;
  pointer-events: none;
  width: 100%;
}

.privacy-policy__img {
  height: auto;
  border-radius: 20px;
}

/* ========== Delivery & Ordering Info Page ========== */
/* section. only — avoid body.delivery-ordering overflow issues */
section.delivery-ordering {
  position: relative;
  background-color: #ffffff;
  background-image: var(--do-spiral);
  background-repeat: no-repeat;
  background-position: right -6% top 0;
  background-size: min(56vw, 720px) auto;
  overflow-x: hidden;
  padding-bottom: 80px;
  color: #1d1e2b;
}

.delivery-ordering .breadcrumbs {
  position: relative;
  z-index: 1;
  padding-left: 0;
  padding-right: 0;
  background: transparent;
}

.delivery-ordering .breadcrumbs__list {
  padding-left: 0;
  margin-left: 0;
}

.delivery-ordering__container {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding-top: 40px;
}

.delivery-ordering__content {
  max-width: 860px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.delivery-ordering__header {
  margin-bottom: 48px;
}

.delivery-ordering__title {
  font-family: "Golos Text VF", "Golos Text", sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.011em;
  color: #000000;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.delivery-ordering__intro {
  font-family: "Golos Text VF", "Golos Text", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.011em;
  color: #1d1e2b;
  max-width: 720px;
}

.delivery-ordering__intro p {
  margin: 0 0 12px;
}

.delivery-ordering__intro p:last-child {
  margin-bottom: 0;
}

.delivery-ordering .faq {
  padding: 0;
  background: transparent;
}

.delivery-ordering .faq__item:first-child {
  border-top: 1px solid var(--faq-border, #dadce5);
}

.delivery-ordering .faq__question {
  text-transform: uppercase;
}

.delivery-ordering .faq__item--active .faq__content {
  width: 100%;
  max-width: 720px;
}

.delivery-ordering__answer {
  font-family: "Golos Text VF", "Golos Text", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.011em;
  color: #1d1e2b;
  padding-bottom: 28px;
}

.delivery-ordering__answer p {
  margin: 0 0 12px;
}

.delivery-ordering__answer p:last-child {
  margin-bottom: 0;
}

.delivery-ordering__answer ul,
.delivery-ordering__answer ol {
  margin: 0 0 12px;
  padding-left: 22px;
}

.delivery-ordering__answer ol {
  list-style: decimal;
}

.delivery-ordering__answer ul {
  list-style: disc;
}

.delivery-ordering__answer li {
  margin-bottom: 8px;
}

.delivery-ordering__answer li:last-child {
  margin-bottom: 0;
}

.delivery-ordering__answer strong {
  font-weight: 500;
}

.delivery-ordering__answer a {
  color: #1e1e2b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.delivery-ordering__answer a:hover {
  color: #5ba8b8;
}

/* ========== Seminar Card Description ========== */
.seminar-card__desc {
    font-size: 14px;
    line-height: 1.4;
    color: #666;
    margin: 8px 0;
    padding: 0 16px;
}

.seminar-card__content .seminar-card__desc {
    margin-top: -4px;
    margin-bottom: 12px;
}
/* ========== Seminar Card Description End ========== */

/* ============================================================
   Hidden prices for non-doctors
   ============================================================ */
.price--hidden {
    font-size: 14px;
    color: #666;
    font-style: italic;
    display: inline-block;
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 8px;
    border: 1px solid #ddd;
}
/* ============================================================
   Hidden prices end
   ============================================================ */

.profile__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile__field-input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  font-size: 15px;
  color: #1a1e2e;
  font-family: inherit;
}

.profile__field-input:focus {
  outline: none;
}

.profile__field-input--empty {
  color: #9ba1b6;
}

.profile__save {
  align-self: flex-start;
  min-width: 220px;
  height: 50px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  background: #3ab4bf;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.profile__save:hover {
  opacity: 0.88;
}

.profile__doctor-block {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #e0e2ea;
}

.cabinet__success {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 14px;
}

.saved__loading {
  grid-column: 1 / -1;
  font-size: 15px;
  color: #9ba1b6;
}

.saved-card__price .woocommerce-Price-amount,
.saved-card__price .amount {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.certificate-card__status--pending { color: #e6a817; }
.certificate-card__status--approved { color: #27ae60; }
.certificate-card__status--rejected { color: #c0392b; }

.certificate-card__thumb--doc {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f1f5;
}

.certificate-card__thumb--doc svg {
  width: 32px;
  height: 32px;
  color: #3ab4bf;
}

.certificates-upload {
  margin-top: 24px;
}

.certificates-upload__hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: #9ba1b6;
}

.certificates-upload__msg {
  margin: 10px 0 0;
  font-size: 14px;
}

.certificates-upload__msg--success { color: #27ae60; }
.certificates-upload__msg--error { color: #e74c3c; }

.cert-dropdown__item {
  display: block;
  width: 100%;
  text-align: left;
  text-decoration: none;
}

.price-modal__panel[hidden] { display: none !important; }
.price-modal__btn--outline { background: transparent; color: #1a1a1a; border: 1px solid #1a1a1a; margin-top: 8px; }

/* Components moved from media.css (base styles only) */

/* === Header Slider - Force white text === */
/* Header Slider - Force white text (from header.php) */
.header-slider,
.header-slider__title,
.header-slider__text,
.header-slider__slide {
  color: #ffffff !important;
}

.header-slider__button--transparent {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

.header-slider__button--accent {
  color: #112a31 !important;
}

/* === WordPress Menu - Remove dots === */
.header__menu,
.mobile-menu__list,
.footer-links ul,
.footer-links .accordion-content,
.menu,
.nav-menu {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.header__menu li,
.mobile-menu__list li,
.footer-links ul li,
.footer-links .accordion-content li,
.menu li,
.nav-menu li {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.menu-primary-container,
.menu-mobile-container,
.menu-footer-container {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.menu-primary-container li,
.menu-mobile-container li,
.menu-footer-container li {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* === Search Modal === */
/* Search Modal */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.search-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.search-modal__content {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.search-modal[aria-hidden="false"] .search-modal__content {
  transform: translateY(0);
}

.search-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #666;
  transition: color 0.3s ease;
}

.search-modal__close:hover {
  color: #333;
}

.search-modal__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-modal__form .search-form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-modal__form .search-field {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  font-size: 16px;
  font-family: 'Manrope', sans-serif;
  transition: border-color 0.3s ease;
}

.search-modal__form .search-field:focus {
  outline: none;
  border-color: #58E0D7;
}

.search-modal__form .search-submit {
  padding: 16px 32px;
  background: #58E0D7;
  color: #112a31;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-modal__form .search-submit:hover {
  background: #3baba3;
}

/* === Side Cart === */
/* Side Cart */
.side-cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.side-cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.side-cart {
  position: fixed;
  top: 0;
  right: -450px;
  width: 420px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.side-cart.active {
  right: 0;
}

.side-cart__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}

.side-cart__title {
  font-size: 24px;
  font-weight: 500;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.side-cart__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #1a1a2e;
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 500;
}

.side-cart__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #666;
  transition: color 0.2s;
}

.side-cart__close:hover {
  color: #1a1a2e;
}

.side-cart__content {
  flex: 1;
  overflow-y: auto;
  padding: 20px 30px;
}

.side-cart__empty {
  text-align: center;
  padding: 40px 20px;
}

.side-cart__empty p {
  color: #666;
  margin-bottom: 20px;
}

.side-cart__empty-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #1a1a2e;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  transition: background 0.2s;
}

.side-cart__empty-btn:hover {
  background: #2a2a4e;
}

.side-cart__success {
  text-align: center;
  padding: 30px 20px;
}

.side-cart__success-icon {
  width: 60px;
  height: 60px;
  background: #10b981;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.side-cart__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-cart__item {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.side-cart__item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.side-cart__item-details {
  flex: 1;
  min-width: 0;
}

.side-cart__item-name {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 8px 0;
  line-height: 1.4;
  text-decoration: none;
  color: inherit;
}

.side-cart__item-price {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 12px 0;
}

.side-cart__item-quantity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.side-cart__qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
}

.side-cart__qty-btn:hover {
  border-color: #1a1a2e;
  background: #f5f5f5;
}

.side-cart__qty-input {
  width: 40px;
  text-align: center;
  border: none;
  font-size: 14px;
  font-weight: 500;
}

.side-cart__item-remove {
  margin-left: auto;
  align-self: flex-start;
  color: #999;
  cursor: pointer;
  font-size: 13px;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 0;
}

.side-cart__item-remove:hover {
  color: #ef4444;
}

.side-cart__footer {
  padding: 24px 30px;
  border-top: 1px solid #e5e5e5;
  background: #fafafa;
}

.side-cart__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  margin-bottom: 12px;
}

.side-cart__subtotal-value {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
}

.side-cart__notice {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 16px;
}

.side-cart__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 16px;
  cursor: pointer;
}

.side-cart__checkbox input {
  width: 18px;
  height: 18px;
  accent-color: #1a1a2e;
}
.side-cart__terms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 16px;
}

.side-cart__terms .side-cart__checkbox {
  margin-bottom: 0;
  flex: 1 1 auto;
}

.side-cart__policy-link {
  font-size: 13px;
  color: #1a1a2e;
  text-decoration: underline;
  white-space: nowrap;
}

.side-cart__policy-link:hover {
  opacity: 0.75;
}


.side-cart__btn {
  display: block;
  width: 100%;
  padding: 16px;
  text-align: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 12px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.side-cart__btn--continue {
  background: #fff;
  color: #1a1a2e;
  border: 2px solid #1a1a2e;
}

.side-cart__btn--continue:hover {
  background: #1a1a2e;
  color: #fff;
}

.side-cart__btn--checkout {
  background: #1a1a2e;
  color: #fff;
}

.side-cart__btn--checkout:hover {
  background: #2a2a4e;
}
.side-cart__btn--checkout.is-disabled,
.side-cart__btn--checkout[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.side-cart__btn--checkout.is-disabled:hover,
.side-cart__btn--checkout[aria-disabled="true"]:hover {
  background: #1a1a2e;
}

/* === Cabinet Saved Products === */
.cabinet-saved {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.cabinet-saved__loading,
.cabinet-saved__empty {
  grid-column: 1/-1;
  color: #999;
  font-size: 14px;
}

.cabinet-saved__item {
  position: relative;
  border: 1px solid #e8eaf0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.cabinet-saved__remove {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  font-size: 16px;
  cursor: pointer;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.cabinet-saved__remove:hover {
  color: #e74c3c;
}

.cabinet-saved__img-link {
  display: block;
}

.cabinet-saved__img {
  max-width: 200px;
  height: 300px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.cabinet-saved__info {
  padding: 12px;
}

.cabinet-saved__title {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}

.cabinet-saved__title:hover {
  text-decoration: underline;
}

.cabinet-saved__price {
  font-size: 13px;
  color: #555;
  margin: 0;
}

/* === Interactive Rating === */
/* Interactive Rating */
.product__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.product__stars {
  display: flex;
  gap: 2px;
}

.product__star {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 20px;
  height: 20px;
  color: #ddd;
  transition: color 0.2s ease, transform 0.1s ease;
}

.product__star svg {
  width: 100%;
  height: 100%;
}

.product__star:hover {
  transform: scale(1.1);
}

.product__star--filled {
  color: #f5c518;
}

.product__star--hover {
  color: #ffd700 !important;
}

.product__star--active {
  animation: starPulse 0.3s ease;
}

.product__star--user-rated {
  color: #4a7c59;
}

.product__star:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.product__star--user-rated.product__star--filled {
  color: #4a7c59;
}

.product__rating-login {
  font-size: 12px;
  color: #666;
}

.product__rating-login a {
  color: #4a7c59;
  text-decoration: underline;
}

@keyframes starPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* === Review Form === */
/* Review Form (from single-product.php) */
.review-form { padding: 24px 0; }
.review-form__title { font-size: 18px; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; }
.review-form__field { margin-bottom: 16px; }
.review-form__label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #555; text-transform: uppercase; letter-spacing: 0.5px; }
.review-form__stars-wrap { margin-bottom: 20px; }
.review-form__stars { display: flex; gap: 6px; margin-top: 8px; }
.review-form__star { font-size: 32px; cursor: pointer; color: #ddd; transition: color 0.15s; line-height: 1; }
.review-form__star.active,
.review-form__star.hover { color: #f5a623; }
.review-form__textarea,
.review-form__input { width: 100%; padding: 12px 16px; border: 1px solid #d7dce7; border-radius: 8px; font-size: 14px; font-family: inherit; resize: vertical; outline: none; transition: border-color 0.2s; }
.review-form__textarea:focus,
.review-form__input:focus { border-color: #1a1a2e; }
.review-form__submit { margin-top: 8px; }



/* Personal checkout step mockup refinements */
.checkout-section--personal {
    padding-top: 18px;
}

.checkout-section--personal .checkout-steps {
    gap: 18px;
    margin-bottom: 58px;
}

.checkout-section--personal .checkout-step__badge {
    font-size: 15px;
    line-height: 1;
}

.checkout-section--personal .checkout-step.checkout-step--active .checkout-step__badge {
    padding: 9px 24px;
}

.checkout-section--personal .checkout-step__divider {
    width: 54px;
}

.checkout-section--personal .checkout-layout {
    grid-template-columns: minmax(0, 1fr) 382px;
    gap: 58px;
}

.checkout-section--personal .checkout-content {
    max-width: 650px;
}

.checkout-section--personal .checkout-header {
    align-items: flex-start;
    margin-bottom: 42px;
}

.checkout-section--personal .checkout-title {
    font-size: 40px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.checkout-section--personal .checkout-login {
    margin-top: 2px;
}

.checkout-section--personal .checkout-login__text {
    font-size: 13px;
}

.checkout-section--personal .checkout-login__btn {
    padding: 8px 22px;
    font-size: 13px;
}

.checkout-section--personal .checkout-form__row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.checkout-section--personal .checkout-form__label {
    margin-bottom: 9px;
    font-size: 14px;
    font-weight: 600;
}

.checkout-section--personal .checkout-form__input,
.checkout-section--personal .checkout-form__phone {
    height: 44px;
    border-color: #d4daea;
    border-radius: 10px;
    font-size: 14px;
}

.checkout-section--personal .checkout-form__input {
    padding: 0 14px;
}

.checkout-section--personal .checkout-form__phone-prefix {
    height: 42px;
    min-width: 68px;
    padding: 0 10px;
    font-size: 13px;
    background: #f7f8fb;
}

.checkout-section--personal .checkout-form__actions {
    gap: 16px;
    margin-top: 188px;
}

.checkout-section--personal .checkout-form__btn {
    min-height: 48px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
}

.checkout-section--personal .checkout-form__btn--back {
    min-width: 174px;
}

.checkout-section--personal .checkout-form__btn--submit {
    min-width: 238px;
    background: #000;
}

.checkout-section--personal .checkout-form__btn--submit:hover {
    background: #161616;
}

.checkout-section--personal .checkout-summary {
    padding-left: 52px;
}

.checkout-section--personal .checkout-summary__title {
    margin-bottom: 62px;
    font-size: 22px;
    line-height: 1.1;
}

.checkout-section--personal .checkout-summary__items {
    margin-bottom: 34px;
}

.checkout-section--personal .checkout-summary__item {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 16px 18px;
    padding: 0 0 28px;
    border-bottom-color: #d8dde8;
}

.checkout-section--personal .checkout-summary__item-media {
    width: 62px;
    height: 62px;
}

.checkout-section--personal .checkout-summary__item-head {
    align-items: center;
}

.checkout-section--personal .checkout-summary__item-title {
    font-size: 17px;
    line-height: 1.2;
}

.checkout-section--personal .checkout-summary__item-remove {
    font-size: 13px;
    white-space: nowrap;
}

.checkout-section--personal .checkout-summary__item-controls {
    gap: 14px;
}

.checkout-section--personal .checkout-summary__quantity {
    border-color: #1f2237;
    border-radius: 12px;
}

.checkout-section--personal .checkout-summary__quantity-btn {
    width: 34px;
    height: 34px;
}

.checkout-section--personal .checkout-summary__quantity-input {
    width: 32px;
    height: 34px;
    font-size: 14px;
}

.checkout-section--personal .checkout-summary__item-price {
    font-size: 28px;
    line-height: 1;
    white-space: nowrap;
}

.checkout-section--personal .checkout-summary__promo {
    gap: 14px;
    margin-bottom: 24px;
}

.checkout-section--personal .checkout-summary__promo-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 50px;
    border-radius: 12px;
    font-size: 14px;
}

.checkout-section--personal .checkout-summary__promo-btn {
    flex: 0 0 154px;
    min-width: 154px;
    height: 50px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 14px;
    background: #8d8cab;
}

.checkout-section--personal .checkout-summary__divider {
    margin: 18px 0;
    background: #d8dde8;
}

.checkout-section--personal .checkout-summary__row {
    gap: 16px;
    margin-bottom: 15px;
}

.checkout-section--personal .checkout-summary__label,
.checkout-section--personal .checkout-summary__value {
    font-size: 14px;
}

.checkout-section--personal .checkout-summary__value,
.checkout-section--personal .checkout-summary__value--total {
    white-space: nowrap;
    text-align: right;
}

.checkout-section--personal .checkout-summary__delivery {
    margin: 12px 0 20px;
}

.checkout-section--personal .checkout-summary__delivery-label {
    margin-bottom: 6px;
    font-size: 14px;
}

.checkout-section--personal .checkout-summary__delivery-text {
    max-width: 260px;
    padding-left: 24px;
    font-size: 12px;
    line-height: 1.35;
}

.checkout-section--personal .checkout-summary__row--total {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 18px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #d8dde8;
}

.checkout-section--personal .checkout-summary__label--total,
.checkout-section--personal .checkout-summary__value--total {
    font-size: 17px;
    line-height: 1.2;
    font-weight: 700;
}

.checkout-section--personal .checkout-summary__label--total {
    max-width: 230px;
}


/* Checkout summary product photo refinement */
.checkout-section--order-ui .checkout-summary__item-media,
.checkout-section--delivery .checkout-summary__item-media,
.checkout-section--success-page .checkout-summary__item-media,
.checkout-section--personal .checkout-summary__item-media {
    width: 72px;
    height: 82px;
    overflow: visible;
    background: transparent;
    border-radius: 0;
    align-self: start;
}

.checkout-section--order-ui .checkout-summary__item-thumb-img,
.checkout-section--order-ui .checkout-summary__item-media img,
.checkout-section--delivery .checkout-summary__item-thumb-img,
.checkout-section--delivery .checkout-summary__item-media img,
.checkout-section--success-page .checkout-summary__item-thumb-img,
.checkout-section--success-page .checkout-summary__item-media img,
.checkout-section--personal .checkout-summary__item-thumb-img,
.checkout-section--personal .checkout-summary__item-media img {
    width: auto;
    height: auto;
    max-width: 56px;
    max-height: 76px;
    margin: 0 auto;
    object-fit: contain;
}

.checkout-section--personal .checkout-summary__item,
.checkout-section--delivery .checkout-summary__item,
.checkout-section--success-page .checkout-summary__item {
    grid-template-columns: 72px minmax(0, 1fr);
}

.checkout-section--personal .checkout-summary__item-controls,
.checkout-section--delivery .checkout-summary__item-controls,
.checkout-section--success-page .checkout-summary__item-controls {
    grid-column: 2;
}


/* Checkout summary exact compact product row */
.checkout-section--order-ui .checkout-summary__title,
.checkout-section--delivery .checkout-summary__title,
.checkout-section--success-page .checkout-summary__title,
.checkout-section--personal .checkout-summary__title {
    margin-bottom: 36px;
}

.checkout-section--order-ui .checkout-summary__items,
.checkout-section--delivery .checkout-summary__items,
.checkout-section--success-page .checkout-summary__items,
.checkout-section--personal .checkout-summary__items {
    border-top: 1px solid #d8dde8;
    margin-bottom: 28px;
}

.checkout-section--order-ui .checkout-summary__item,
.checkout-section--delivery .checkout-summary__item,
.checkout-section--success-page .checkout-summary__item,
.checkout-section--personal .checkout-summary__item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 22px;
    row-gap: 14px;
    align-items: center;
    padding: 18px 0 22px;
    border-bottom: 1px solid #d8dde8;
}

.checkout-section--order-ui .checkout-summary__item-media,
.checkout-section--delivery .checkout-summary__item-media,
.checkout-section--success-page .checkout-summary__item-media,
.checkout-section--personal .checkout-summary__item-media {
    grid-column: 1;
    grid-row: 2;
    width: 56px;
    height: 58px;
    align-self: center;
    justify-self: center;
}

.checkout-section--order-ui .checkout-summary__item-thumb-img,
.checkout-section--order-ui .checkout-summary__item-media img,
.checkout-section--delivery .checkout-summary__item-thumb-img,
.checkout-section--delivery .checkout-summary__item-media img,
.checkout-section--success-page .checkout-summary__item-thumb-img,
.checkout-section--success-page .checkout-summary__item-media img,
.checkout-section--personal .checkout-summary__item-thumb-img,
.checkout-section--personal .checkout-summary__item-media img {
    max-width: 40px;
    max-height: 54px;
}

.checkout-section--order-ui .checkout-summary__item-info,
.checkout-section--delivery .checkout-summary__item-info,
.checkout-section--success-page .checkout-summary__item-info,
.checkout-section--personal .checkout-summary__item-info {
    grid-column: 2 / 4;
    grid-row: 1;
}

.checkout-section--order-ui .checkout-summary__item-head,
.checkout-section--delivery .checkout-summary__item-head,
.checkout-section--success-page .checkout-summary__item-head,
.checkout-section--personal .checkout-summary__item-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.checkout-section--order-ui .checkout-summary__item-title,
.checkout-section--delivery .checkout-summary__item-title,
.checkout-section--success-page .checkout-summary__item-title,
.checkout-section--personal .checkout-summary__item-title {
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout-section--order-ui .checkout-summary__item-remove,
.checkout-section--delivery .checkout-summary__item-remove,
.checkout-section--success-page .checkout-summary__item-remove,
.checkout-section--personal .checkout-summary__item-remove {
    font-size: 11px;
    line-height: 1;
    color: #b4bac9;
}

.checkout-section--order-ui .checkout-summary__item-controls,
.checkout-section--delivery .checkout-summary__item-controls,
.checkout-section--success-page .checkout-summary__item-controls,
.checkout-section--personal .checkout-summary__item-controls {
    grid-column: 2 / 4;
    grid-row: 2;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
}

.checkout-section--order-ui .checkout-summary__quantity,
.checkout-section--delivery .checkout-summary__quantity,
.checkout-section--success-page .checkout-summary__quantity,
.checkout-section--personal .checkout-summary__quantity {
    min-width: 78px;
    border-color: #1f2237;
    border-radius: 10px;
}

.checkout-section--order-ui .checkout-summary__quantity-btn,
.checkout-section--delivery .checkout-summary__quantity-btn,
.checkout-section--success-page .checkout-summary__quantity-btn,
.checkout-section--personal .checkout-summary__quantity-btn {
    width: 26px;
    height: 28px;
}

.checkout-section--order-ui .checkout-summary__quantity-input,
.checkout-section--delivery .checkout-summary__quantity-input,
.checkout-section--success-page .checkout-summary__quantity-input,
.checkout-section--personal .checkout-summary__quantity-input {
    width: 26px;
    height: 28px;
    font-size: 13px;
}

.checkout-section--order-ui .checkout-summary__item-price,
.checkout-section--delivery .checkout-summary__item-price,
.checkout-section--success-page .checkout-summary__item-price,
.checkout-section--personal .checkout-summary__item-price {
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    text-align: right;
}

.checkout-section--order-ui .checkout-summary__promo,
.checkout-section--delivery .checkout-summary__promo,
.checkout-section--success-page .checkout-summary__promo,
.checkout-section--personal .checkout-summary__promo {
    gap: 18px;
    margin-bottom: 28px;
}

.checkout-section--order-ui .checkout-summary__promo-input,
.checkout-section--delivery .checkout-summary__promo-input,
.checkout-section--success-page .checkout-summary__promo-input,
.checkout-section--personal .checkout-summary__promo-input {
    height: 40px;
    border-radius: 10px;
    font-size: 13px;
}

.checkout-section--order-ui .checkout-summary__promo-btn,
.checkout-section--delivery .checkout-summary__promo-btn,
.checkout-section--success-page .checkout-summary__promo-btn,
.checkout-section--personal .checkout-summary__promo-btn {
    height: 40px;
    min-width: 128px;
    border-radius: 10px;
    font-size: 13px;
}


/* Checkout summary delivery row cleanup */
.checkout-section--order-ui .checkout-summary__delivery,
.checkout-section--delivery .checkout-summary__delivery,
.checkout-section--success-page .checkout-summary__delivery,
.checkout-section--personal .checkout-summary__delivery {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    column-gap: 14px;
    margin: 12px 0 18px;
}

.checkout-section--order-ui .checkout-summary__delivery-label,
.checkout-section--delivery .checkout-summary__delivery-label,
.checkout-section--success-page .checkout-summary__delivery-label,
.checkout-section--personal .checkout-summary__delivery-label {
    margin-bottom: 0;
    white-space: nowrap;
}

.checkout-section--order-ui .checkout-summary__delivery-text,
.checkout-section--delivery .checkout-summary__delivery-text,
.checkout-section--success-page .checkout-summary__delivery-text,
.checkout-section--personal .checkout-summary__delivery-text {
    max-width: 230px;
    padding-left: 0;
    margin: 0;
}

.checkout-section--order-ui .checkout-summary__row--total,
.checkout-section--delivery .checkout-summary__row--total,
.checkout-section--success-page .checkout-summary__row--total,
.checkout-section--personal .checkout-summary__row--total {
    border-top: 0;
    padding-top: 0;
}


/* Delivery page final mockup alignment */
.checkout-section--delivery {
    padding-top: 8px;
}

.checkout-section--delivery .checkout-steps {
    gap: 22px;
    margin-bottom: 58px;
}

.checkout-section--delivery .checkout-step__badge {
    font-size: 15px;
    line-height: 1;
}

.checkout-section--delivery .checkout-step.checkout-step--active .checkout-step__badge {
    padding: 9px 24px;
    border-color: #1f2237;
}

.checkout-section--delivery .checkout-step__divider {
    width: 54px;
}

.checkout-section--delivery .checkout-layout {
    grid-template-columns: minmax(0, 1fr) 382px;
    gap: 58px;
}

.checkout-section--delivery .checkout-content--delivery {
    max-width: 590px;
}

.checkout-section--delivery .checkout-header--delivery {
    align-items: flex-start;
    margin-bottom: 34px;
}

.checkout-section--delivery .checkout-title {
    font-size: 36px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.checkout-section--delivery .checkout-login {
    margin-top: 2px;
}

.checkout-section--delivery .checkout-login__text {
    font-size: 13px;
}

.checkout-section--delivery .checkout-login__btn {
    padding: 8px 22px;
    font-size: 13px;
}

.checkout-section--delivery .delivery-methods {
    display: grid;
    grid-template-columns: 220px 204px 146px;
    gap: 14px;
    margin-bottom: 22px;
}

.checkout-section--delivery .delivery-methods__btn,
.checkout-section--delivery .delivery-methods__btn:first-child,
.checkout-section--delivery .delivery-methods__btn:nth-child(2),
.checkout-section--delivery .delivery-methods__btn:nth-child(3) {
    min-width: 0;
    width: 100%;
    min-height: 44px;
    padding: 12px 16px;
    border: 1px solid #1f2237;
    border-radius: 10px;
    box-shadow: none;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
}

.checkout-section--delivery .delivery-methods__btn--active {
    border-color: #8d8cab;
    background: #8d8cab;
    color: #fff;
}

.checkout-section--delivery .delivery-hint {
    margin: 0 0 22px;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 400;
}

.checkout-section--delivery .checkout-form__field,
.checkout-section--delivery .checkout-form__row {
    max-width: 436px;
    margin-bottom: 16px;
}

.checkout-section--delivery .checkout-form__label {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.checkout-section--delivery .checkout-form__input,
.checkout-section--delivery .checkout-form__select select {
    height: 44px;
    border-color: #1f2237;
    border-radius: 9px;
    padding: 0 44px 0 12px;
    font-size: 14px;
    color: #1f2237;
}

.checkout-section--delivery .checkout-form__input::placeholder,
.checkout-section--delivery .checkout-form__select select:invalid {
    color: #9aa1bf;
}

.checkout-section--delivery .checkout-form__select::after {
    right: 14px;
}

.checkout-section--delivery .delivery-payments {
    display: flex;
    gap: 14px;
    margin: 34px 0 0;
}

.checkout-section--delivery .delivery-payments__btn {
    min-height: 44px;
    min-width: 238px;
    padding: 12px 16px;
    border: 1px solid #1f2237;
    border-radius: 10px;
    box-shadow: none;
    font-size: 13px;
    line-height: 1.1;
}

.checkout-section--delivery .delivery-payments__btn:first-child {
    min-width: 238px;
}

.checkout-section--delivery .delivery-payments__btn:nth-child(2) {
    min-width: 220px;
}

.checkout-section--delivery .delivery-payments__btn--active {
    border-color: #8d8cab;
    background: #8d8cab;
    color: #fff;
}

.checkout-section--delivery .delivery-payments__btn-note {
    font-size: 11px;
}

.checkout-section--delivery .checkout-form__actions {
    gap: 16px;
    margin-top: 54px;
}

.checkout-section--delivery .checkout-form__btn {
    min-height: 48px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.checkout-section--delivery .checkout-form__btn--back {
    min-width: 174px;
}

.checkout-section--delivery .checkout-form__btn--submit {
    min-width: 238px;
    background: #000;
}

.checkout-section--delivery .checkout-summary {
    padding-left: 52px;
}

.checkout-section--delivery .checkout-summary__title {
    margin-bottom: 36px;
    font-size: 22px;
}

.checkout-section--delivery .checkout-summary__promo-input {
    flex: 1 1 auto;
}

.checkout-section--delivery .checkout-summary__promo-btn {
    min-width: 128px;
}


/* Delivery field width and summary total weight tuning */
.checkout-section--delivery .checkout-form__field,
.checkout-section--delivery .checkout-form__row {
    max-width: 520px;
}

.checkout-section--order-ui .checkout-summary__label--total,
.checkout-section--order-ui .checkout-summary__value--total,
.checkout-section--delivery .checkout-summary__label--total,
.checkout-section--delivery .checkout-summary__value--total,
.checkout-section--success-page .checkout-summary__label--total,
.checkout-section--success-page .checkout-summary__value--total,
.checkout-section--personal .checkout-summary__label--total,
.checkout-section--personal .checkout-summary__value--total {
    font-weight: 600;
}

.checkout-section--delivery .checkout-summary__label--total,
.checkout-section--delivery .checkout-summary__value--total {
    font-size: 15px;
    line-height: 1.25;
}


/* Delivery method tabs width tuning */
.checkout-section--delivery .delivery-methods {
    grid-template-columns: 236px 220px 160px;
}


/* Personal checkout fields width tuning */
.checkout-section--personal .checkout-content {
    max-width: 720px;
}

.checkout-section--personal .checkout-form__row {
    gap: 20px;
}


/* Checkout success page final mockup alignment */
.checkout-section--success-page {
    padding-top: 8px;
}

.checkout-section--success-page .checkout-steps {
    gap: 22px;
    margin-bottom: 58px;
}

.checkout-section--success-page .checkout-step__badge {
    font-size: 15px;
    line-height: 1;
}

.checkout-section--success-page .checkout-step.checkout-step--active .checkout-step__badge {
    padding: 9px 24px;
    border-color: #1f2237;
}

.checkout-section--success-page .checkout-step__divider {
    width: 54px;
}

.checkout-section--success-page .checkout-layout {
    grid-template-columns: minmax(0, 1fr) 382px;
    gap: 58px;
}

.checkout-section--success-page .checkout-content--success {
    max-width: 620px;
}

.checkout-section--success-page .checkout-header--success {
    align-items: flex-start;
    margin-bottom: 92px;
}

.checkout-section--success-page .checkout-title {
    font-size: 36px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.checkout-section--success-page .checkout-login {
    margin-top: 2px;
}

.checkout-section--success-page .checkout-login__text {
    font-size: 13px;
}

.checkout-section--success-page .checkout-login__btn {
    padding: 8px 22px;
    font-size: 13px;
}

.checkout-section--success-page .order-success {
    gap: 0;
    margin-bottom: 76px;
}

.checkout-section--success-page .order-success__title {
    margin-bottom: 14px;
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.checkout-section--success-page .order-success__lead {
    margin-bottom: 18px;
    max-width: none;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
}

.checkout-section--success-page .order-success__text {
    max-width: 560px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 400;
}

.checkout-section--success-page .order-success__note {
    max-width: none;
    margin-top: 2px;
    font-size: 15px;
    line-height: 1.4;
    font-style: italic;
    color: #5f6478;
}

.checkout-section--success-page .checkout-content--success .checkout-form__actions {
    margin-top: 0;
}

.checkout-section--success-page .checkout-form__btn {
    min-height: 48px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.checkout-section--success-page .checkout-form__btn--back {
    min-width: 176px;
}

.checkout-section--success-page .checkout-summary {
    padding-left: 52px;
}

.checkout-section--success-page .checkout-summary__title {
    margin-bottom: 36px;
    font-size: 22px;
}

.checkout-section--success-page .checkout-summary__promo-input {
    flex: 1 1 auto;
}

.checkout-section--success-page .checkout-summary__promo-btn {
    min-width: 128px;
}


/* Unified checkout summary total and success heading weight */
.checkout-section--order-ui .checkout-summary__row--total,
.checkout-section--personal .checkout-summary__row--total,
.checkout-section--delivery .checkout-summary__row--total,
.checkout-section--success-page .checkout-summary__row--total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.checkout-section--order-ui .checkout-summary__label--total,
.checkout-section--personal .checkout-summary__label--total,
.checkout-section--delivery .checkout-summary__label--total,
.checkout-section--success-page .checkout-summary__label--total,
.checkout-section--order-ui .checkout-summary__value--total,
.checkout-section--personal .checkout-summary__value--total,
.checkout-section--delivery .checkout-summary__value--total,
.checkout-section--success-page .checkout-summary__value--total {
    max-width: none;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
}

.checkout-section--success-page .order-success__title {
    font-weight: 600;
}


/* Delivery form fields full width */
.checkout-section--delivery .checkout-form__field,
.checkout-section--delivery .checkout-form__row {
    width: 100%;
    max-width: 100%;
}


/* Cart page terms agreement */
.cart-page-summary__terms {
    margin: 0 0 18px;
}

.cart-page-summary__agreement {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.cart-page-summary__agreement-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cart-page-summary__agreement-box {
    width: 18px;
    height: 18px;
    border: 1px solid #9aa1bf;
    border-radius: 3px;
    flex-shrink: 0;
    position: relative;
}

.cart-page-summary__agreement-input:checked + .cart-page-summary__agreement-box {
    border-color: #1f2237;
}

.cart-page-summary__agreement-input:checked + .cart-page-summary__agreement-box::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #1f2237;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cart-page-summary__agreement-text,
.cart-page-summary__policy {
    font-size: 13px;
    line-height: 1.35;
    color: #1f2237;
}

.cart-page-summary__policy {
    display: inline-block;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cart-page-summary__checkout-link.is-disabled {
    pointer-events: none;
}

.cart-page-summary__checkout:disabled,
.cart-page-summary__checkout-link.is-disabled .cart-page-summary__checkout {
    background: #9d9da8;
    color: #fff;
    cursor: not-allowed;
}


/* Privacy policy/offerta heading weight tuning */
.privacy-policy__text h3,
.privacy-policy__text h3 strong {
  font-weight: 500;
}


/* 404 page start */
.error-404-page {
  --error-404-ink: #55596f;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: calc(100vh - var(--topbar-height) - var(--nav-height) - var(--brands-height));
  padding: 95px 24px 365px;
  background: #ffffff;
}

.error-404-page__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 720px;
  text-align: center;
}

.error-404-page__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 32px;
}

.error-404-page__icon-img {
  display: block;
  width: 127px;
  height: 127px;
}

.error-404-page__title {
  margin: 0;
  font-family: "Golos Text VF", "Golos Text", sans-serif;
  font-size: 54px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--error-404-ink);
}

.error-404-page__text {
  margin: 20px 0 0;
  max-width: 400px;
  font-family: "Museo Cyrl", serif;
  font-size: 26px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: #000;
}

.error-404-page__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 52px;
  margin-top: 36px;
  padding: 0 32px;
  border: 1px solid #000;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #000;
  font-family: "Golos Text VF", "Golos Text", sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.error-404-page__btn:hover {
  background: #000;
  border-color: #000;
  color: #ffffff;
}
/* 404 page end */

.seminar-card__btn-go {
    text-decoration: none;
}

.blog__batches {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog__read-more[hidden] {
    display: none !important;
}

button.blog__read-more {
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.seminars__loaded {
    display: none;
}

.seminars__loaded--visible {
    display: block;
}

@media (min-width: 992px) {
    .seminars__loaded--visible {
        margin-bottom: 60px;
    }

    .seminars__loaded-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
        align-items: end;
    }

    .seminars__loaded-item.seminar-card-slide--template-1,
    .seminars__loaded-item.seminar-card-slide--template-2 {
        min-height: 630px;
        display: flex;
        flex-direction: column;
    }

    .seminars__loaded-item.seminar-card-slide--template-2 {
        gap: 0;
    }

    .seminars__loaded-item.seminar-card-slide--template-1 .seminar-card,
    .seminars__loaded-item.seminar-card-slide--template-2 .seminar-card {
        width: 100%;
        max-width: 100%;
        margin-top: auto;
    }

    .seminars__loaded-item.seminar-card-slide--template-1 .seminar-card {
        height: 630px;
    }

    .seminars__loaded-item.seminar-card-slide--template-2 .seminar-card {
        height: 453px;
    }

    .seminars__loaded-item.seminar-card-slide--template-2 .seminars__intro--desktop {
        max-width: 100%;
        font-family: "Museo Cyrl", serif;
        font-size: 24px;
        line-height: 1.45;
        font-weight: 300;
        font-style: italic;
        color: #1d1e2b;
        margin: 0;
        min-height: 0;
        max-height: none;
        overflow: visible;
        display: block;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        flex: 0 0 auto;
    }
}

@media (max-width: 991px) {
    .seminars__loaded {
        display: none !important;
    }
}

.seminars__btn:disabled:hover,
.seminars__btn.seminars__btn--exhausted:hover {
    background: transparent;
    color: #000;
    border-color: #000;
}

.blog__read-more:disabled,
.blog__read-more--exhausted {
    opacity: 0.55;
    cursor: default;
}

.blog__read-more:disabled:hover,
.blog__read-more--exhausted:hover {
    background: #fff;
    color: #1a1a1a;
    border-color: #1a1a1a;
}

/* Product-specific visual correction: HYAMAX PLLA image appears too small in cards */
.product-card[data-product-url*="hyamax-plla"] .product-card__image img,
.product-card[data-product-url*="hyamax-plla"] .product-card__img {
    max-width: 72% !important;
    max-height: 72% !important;
}

/* Unified product-card look across all sections (except large catalog cards) */
.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__inner,
.similar-products .product-card__inner,
.recently-viewed .product-card__inner {
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #fff;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__inner:hover,
.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right).product-card--active .product-card__inner,
.similar-products .product-card__inner:hover,
.similar-products .product-card.product-card--active .product-card__inner,
.recently-viewed .product-card__inner:hover,
.recently-viewed .product-card.product-card--active .product-card__inner {
    border-color: #5ba8b8;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__image,
.similar-products .product-card__image,
.recently-viewed .product-card__image {
    padding: 24px;
    box-sizing: border-box;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__image img,
.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__img,
.similar-products .product-card__image img,
.similar-products .product-card__img,
.recently-viewed .product-card__image img,
.recently-viewed .product-card__img {
    max-width: 58%;
    max-height: 58%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__overlay,
.similar-products .product-card__overlay,
.recently-viewed .product-card__overlay {
    padding: 20px;
    gap: 0;
    justify-content: flex-start;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__overlay-top,
.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__overlay-title,
.similar-products .product-card__overlay-top,
.similar-products .product-card__overlay-title,
.recently-viewed .product-card__overlay-top,
.recently-viewed .product-card__overlay-title {
    display: none;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__desc,
.similar-products .product-card__desc,
.recently-viewed .product-card__desc {
    margin: 0;
    padding-right: 32px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 400;
    color: #fff;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__inner:has(.product-card__badge) .product-card__desc,
.similar-products .product-card__inner:has(.product-card__badge) .product-card__desc,
.recently-viewed .product-card__inner:has(.product-card__badge) .product-card__desc {
    margin-top: 28px;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__overlay-price,
.similar-products .product-card__overlay-price,
.recently-viewed .product-card__overlay-price {
    display: block !important;
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__stars,
.similar-products .product-card__stars,
.recently-viewed .product-card__stars {
    gap: 8px;
    margin-bottom: 14px;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__inner:hover .product-card__stars svg,
.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right).product-card--active .product-card__stars svg,
.similar-products .product-card__inner:hover .product-card__stars svg,
.similar-products .product-card.product-card--active .product-card__stars svg,
.recently-viewed .product-card__inner:hover .product-card__stars svg,
.recently-viewed .product-card.product-card--active .product-card__stars svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__inner:hover .product-card__stars svg.product-card__star--active,
.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right).product-card--active .product-card__stars svg.product-card__star--active,
.similar-products .product-card__inner:hover .product-card__stars svg.product-card__star--active,
.similar-products .product-card.product-card--active .product-card__stars svg.product-card__star--active,
.recently-viewed .product-card__inner:hover .product-card__stars svg.product-card__star--active,
.recently-viewed .product-card.product-card--active .product-card__stars svg.product-card__star--active {
    opacity: 1;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__inner:hover .product-card__stars svg:not(.product-card__star--active),
.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right).product-card--active .product-card__stars svg:not(.product-card__star--active),
.similar-products .product-card__inner:hover .product-card__stars svg:not(.product-card__star--active),
.similar-products .product-card.product-card--active .product-card__stars svg:not(.product-card__star--active),
.recently-viewed .product-card__inner:hover .product-card__stars svg:not(.product-card__star--active),
.recently-viewed .product-card.product-card--active .product-card__stars svg:not(.product-card__star--active) {
    opacity: 0.35;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__tag,
.similar-products .product-card__tag,
.recently-viewed .product-card__tag {
    font-size: 14px;
    line-height: 1.2;
    padding: 7px 14px;
    border-radius: 999px;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__cart-btn,
.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__btn,
.similar-products .product-card__cart-btn,
.similar-products .product-card__btn,
.recently-viewed .product-card__cart-btn,
.recently-viewed .product-card__btn {
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 18px;
    line-height: 1.2;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__wishlist,
.similar-products .product-card__wishlist,
.recently-viewed .product-card__wishlist {
    color: #5ba8b8;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__meta .product-card__title,
.similar-products .product-card__meta .product-card__title,
.recently-viewed .product-card__meta .product-card__title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    color: #1a1a1a;
}

/* Catalog regular cards: strict 1:1 hover style with homepage cards */
.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__overlay {
    background-color: transparent !important;
    pointer-events: none !important;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__inner:hover .product-card__overlay,
.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right).product-card--active .product-card__overlay {
    background-color: rgba(95, 177, 185, 0.94) !important;
    pointer-events: auto !important;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__inner:hover .product-card__image,
.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right).product-card--active .product-card__image {
    opacity: 1 !important;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__inner:hover .product-card__badge,
.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right).product-card--active .product-card__badge {
    opacity: 0 !important;
    visibility: hidden !important;
}

.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right) .product-card__inner:hover .product-card__wishlist,
.catalog-page__grid > .product-card:not(.product-card--large-left):not(.product-card--large-right).product-card--active .product-card__wishlist {
    color: #fff !important;
    z-index: 20 !important;
}

/* Catalog large cards: hover like mockup (solid teal overlay) */
.catalog-page__grid .product-card--large-left .product-card__inner:hover .product-card__overlay,
.catalog-page__grid .product-card--large-left.product-card--active .product-card__overlay,
.catalog-page__grid .product-card--large-right .product-card__inner:hover .product-card__overlay,
.catalog-page__grid .product-card--large-right.product-card--active .product-card__overlay {
    background-color: rgba(95, 177, 185, 0.94) !important;
    pointer-events: auto !important;
}

.catalog-page__grid .product-card--large-left .product-card__inner:hover .product-card__image,
.catalog-page__grid .product-card--large-left.product-card--active .product-card__image,
.catalog-page__grid .product-card--large-right .product-card__inner:hover .product-card__image,
.catalog-page__grid .product-card--large-right.product-card--active .product-card__image {
    opacity: 1 !important;
}

.catalog-page__grid .product-card--large-left .product-card__inner:hover .product-card__wishlist,
.catalog-page__grid .product-card--large-left.product-card--active .product-card__wishlist,
.catalog-page__grid .product-card--large-right .product-card__inner:hover .product-card__wishlist,
.catalog-page__grid .product-card--large-right.product-card--active .product-card__wishlist {
    color: #fff !important;
    z-index: 20 !important;
}

/* Force similar + recently-viewed cards to match ПРОДУКТИ (homepage) */
.similar-products .product-card__inner,
.recently-viewed .product-card__inner {
    display: flex !important;
    position: relative !important;
    width: 100% !important;
    max-width: 304px !important;
    height: 362px !important;
    min-height: 362px !important;
    aspect-ratio: auto !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 20px !important;
    background: #fff !important;
    overflow: hidden !important;
}

.similar-products .product-card,
.recently-viewed .product-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 304px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    grid-template-columns: unset !important;
    grid-template-rows: unset !important;
    grid-template-areas: unset !important;
}

.similar-products .product-card__image,
.recently-viewed .product-card__image {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 24px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    grid-area: unset !important;
}

.similar-products .product-card__image img,
.similar-products .product-card__img,
.recently-viewed .product-card__image img,
.recently-viewed .product-card__img {
    max-width: 58% !important;
    max-height: 58% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.similar-products .product-card__overlay,
.recently-viewed .product-card__overlay {
    display: flex !important;
    position: absolute !important;
    inset: 0 !important;
    opacity: 0;
    visibility: hidden;
    padding: 20px !important;
    background-color: transparent !important;
    pointer-events: none !important;
}

.similar-products .product-card__inner:hover .product-card__overlay,
.similar-products .product-card.product-card--active .product-card__overlay,
.recently-viewed .product-card__inner:hover .product-card__overlay,
.recently-viewed .product-card.product-card--active .product-card__overlay {
    opacity: 1 !important;
    visibility: visible !important;
    background-color: rgba(95, 177, 185, 0.94) !important;
    pointer-events: auto !important;
}

.similar-products .product-card__actions,
.recently-viewed .product-card__actions {
    display: flex !important;
}

.similar-products .product-card__wishlist,
.recently-viewed .product-card__wishlist {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: none !important;
    color: #5ba8b8 !important;
    grid-area: unset !important;
    justify-self: unset !important;
    align-self: unset !important;
}

.similar-products .product-card__inner:hover .product-card__wishlist,
.similar-products .product-card.product-card--active .product-card__wishlist,
.recently-viewed .product-card__inner:hover .product-card__wishlist,
.recently-viewed .product-card.product-card--active .product-card__wishlist {
    color: #fff !important;
}

.similar-products .product-card__badge,
.recently-viewed .product-card__badge {
    position: absolute !important;
    top: 16px !important;
    left: 16px !important;
    margin: 0 !important;
    grid-area: unset !important;
    z-index: 5 !important;
}

.similar-products .product-card__inner:hover .product-card__badge,
.similar-products .product-card.product-card--active .product-card__badge,
.recently-viewed .product-card__inner:hover .product-card__badge,
.recently-viewed .product-card.product-card--active .product-card__badge {
    opacity: 0 !important;
    visibility: hidden !important;
}

.similar-products .product-card__meta,
.recently-viewed .product-card__meta {
    display: flex !important;
    position: relative !important;
    grid-area: unset !important;
}

.similar-products .product-card__meta .product-card__title,
.recently-viewed .product-card__meta .product-card__title {
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    color: #1a1a1a !important;
}

.similar-products .product-card__price,
.recently-viewed .product-card__price {
    display: block !important;
}

@media (max-width: 768px) {
    .similar-products .product-card,
    .recently-viewed .product-card {
        max-width: 100% !important;
    }

    .similar-products .product-card__inner,
    .recently-viewed .product-card__inner {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 304 / 362 !important;
    }

    .similar-products .product-card__image,
    .recently-viewed .product-card__image {
        padding: 18px !important;
    }

    .similar-products .product-card__image img,
    .similar-products .product-card__img,
    .recently-viewed .product-card__image img,
    .recently-viewed .product-card__img {
        max-width: 62% !important;
        max-height: 62% !important;
    }

    .similar-products .product-card__overlay,
    .recently-viewed .product-card__overlay {
        padding: 16px !important;
    }

    .similar-products .product-card__desc,
    .recently-viewed .product-card__desc {
        font-size: 12px !important;
        padding-right: 28px !important;
    }

    .similar-products .product-card__cart-btn,
    .similar-products .product-card__btn,
    .recently-viewed .product-card__cart-btn,
    .recently-viewed .product-card__btn {
        min-height: 44px !important;
        font-size: 14px !important;
    }

    .similar-products .product-card__meta .product-card__title,
    .recently-viewed .product-card__meta .product-card__title {
        font-size: 14px !important;
    }
}
