/* ==================== Fonts ==================== */

/* google-sans-flex-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Google Sans Flex';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/google-sans-flex-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* google-sans-flex-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Google Sans Flex';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/google-sans-flex-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* google-sans-flex-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Google Sans Flex';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/google-sans-flex-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* google-sans-flex-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Google Sans Flex';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/google-sans-flex-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ==================== All ==================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  MARGIN:0 auto;
}

body {
  margin: 0;
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
  background: #FFFFFF;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

button,
input,
select,
textarea {
  font-family: inherit;
  background: transparent;
  border: unset;
  outline: unset;
  border-radius: 0;
}

button {
  padding: 0;
  cursor: pointer;
}

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

p {
  margin-block: 0;
}

p + * {
  margin-top: 1em;
}

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

:root {
  --color-primary: #3B7FEF;
  --color-text: #1A1D21;
  --color-secondary: #606772;
  --color-border: #DADCE0;
  --color-dark-grey: #6F6F6F;
  --color-white: #FFFFFF;
  --color-grey: #6F6F6F;

}

li {
  list-style: none;
  display: block;
}
ul,
ol {
  margin: 0;
}

h1,h2,h3,h4,h5,h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}
h1,h2 {
  font-size: 52px;
}
h3 {
  font-size: 32px;
}
ul {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
main {
  display: flex;
  flex-direction: column;
  gap: 100px 0;
}
@media (max-width: 768px) {
  h1, h2 {
    font-size: 36px
  }

  main {
    gap: 70px 0;
  }
}
@media (max-width:520px) {
  h1, h2 {
    font-size: 28px
  }

  main {
    gap: 50px 0;
  }

  body {
    font-size: 14px;
  }
}
/* ==================== Inputs ==================== */
input[type=checkbox],
input[type=radio] {
  accent-color: var( --color-text);
  cursor: pointer;
  border: 1px solid var( --color-text);
  margin: 0;
}

input[type=checkbox]:disabled,
input[type=radio]:disabled {
  opacity: .7;
  cursor: not-allowed;
}

input[type=checkbox]:checked,
input[type=radio]:checked {
  border-color: var( --color-text);
  background-color: var( --color-text);
  accent-color: var(--color-text);
}

input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: var( --color-text);
  cursor: pointer;
  font-size: 20px;
}

input[type=radio] {
  width: 18px;
  height: 18px;
  accent-color: var( --color-text);
  cursor: pointer;
  font-size: 18px;
}

/* ==================== Pagination and loadmore ==================== */

.pagination {
  margin-top: 32px;
  gap: 0 16px;
  display: flex;
  justify-content: center;
  flex-direction: row;
}

.pagination li > * {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  
  color: var(--color-dark-grey);
  font-size: 14px;
  line-height: 1.1;
  width: 36px;
  height: 36px;
}

.pagination li.:not(.next) > *,
.pagination li:not(.prev) > * {
  border: 1px solid var(--color-border);
}

.pagination li > *:not(span) {
  cursor: pointer;
}

.pagination li:hover > *,
.pagination li.active > * {
  background-color: var(--color-dark-grey);
  color: var(--color-white);
}

.pagination__next svg,
.pagination__prev svg {
  scale: .8;
  transform: translateX(2px);
}
/* ==================== Components ==================== */

body.has-promo-bar {
  padding-top: 136px;
}

.main-btn {
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  border: 0;
  height: 45px;
  border-radius: 60px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  text-align: center;
}
.main-btn.has-icon,
.main-btn.has-arrow {
  align-items: center;
  gap: 0 8px;
}
.main-btn.has-arrow svg {
  scale: .8;
  transform: translateX(2px);
}
.main-btn.black {
  background: #1A1D21;
  color: #FFFFFF;
}

.main-btn.white {
  background-color: var(--color-white);
  color: var(--color-text);
}

.main-btn.blue {
  background: #0059D8;
  color: #FFFFFF;
}

.main-btn.only-border {
  background: transparent;
  border: 1px solid transparent;

}
.main-btn.blue.only-border {
  color: #0059D8;
  border-color: #0059D8;
}

.main-btn.black.only-border {
  color: #1A1C1D;
  border-color: #1A1C1D;
}

.container {
  padding: 0 40px;
}



.logo {
  display: block;
}
.section-title {
  margin-bottom: 45px;
  text-align: center;
  font-size: 42px;
}
.sec-nav-group {
  margin-bottom: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between
}
.sec-nav-group__section-title {
  margin-bottom: 0!important;
}

@media (max-width: 1336px) {
  .container {
    padding: 0 20px;
  }
}
@media (max-width: 1080px) {
  body.has-promo-bar {
    padding-top: 110px;
  }
}

@media (max-width:768px) {
  .main-btn {
    font-size: 14px;
    height: 42px;
    border-radius: 24px;
  }

}

@media (max-width:520px) {
  .main-btn {
    height: 36px;
  }
  
}

/* Breadcrumbs
	========================================================================== */
.breadcrumb {
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
}
.breadcrumb li > * {
    display: flex;
    font-size: 14px;
    color: #1A1C1D;
    font-weight: 500;
    line-height: 1.1;
    align-items: center;
}

.breadcrumb li:last-child > * {
    color: #999999;
}

.breadcrumb li:not(:last-child) > *:after {
    content: '>';
    margin: 0 8px;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
}

/* Columns
	========================================================================== */
section:not(.pinfo-sec):not(.faq-sec):not(.checkout-sec):not(.cart-sec) .columns {
    display: flex;
}
section .main-column {
    flex: 1 1 auto;
}
section .column-left {
    flex: 440px;
    max-width: 440px;
    padding-right: 100px;
}

@media (max-width: 1080px) {
  section .column-left {
    padding-right: 40px;
  }
}

@media (max-width: 768px) {
  section:not(.pinfo-sec):not(.faq-sec):not(.checkout-sec):not(.cart-sec) .columns {
    flex-direction: column;
  }
  

  section .column-left {
    order: 0;
    padding-right: 0;
    flex: auto;
    width: 100%;
    max-width: 100%;
  }

  section .main-column {
    order: 2;
  }
}

/* FAQ section
	========================================================================== */
.faq-sec__columns {
  display: grid;
  gap: 0 40px;
  grid-template-columns: repeat(2,1fr);
}
.faq-sec__list {
  flex-direction: column;
  gap:  0;
}

.faq-sec .list__item {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #F8F9FA;
  border-radius: 15px;
}
.faq-sec .list__item.active {
  gap: 16px 0;
}
.faq-sec .list .item__question {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  font-size: 18px;
  margin: 0;
  cursor: pointer;
}
.faq-sec .list .item.active .question svg {
  transform: scale(1,-1);
}
.faq-sec .list .item__answer {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  
}

.faq-sec .list .item.active .answer {
  max-height: 600px;
  visibility: visible;
  transition: max-height .5s ease-in-out;
  
}

@media (max-width: 768px) {
  
  .faq-sec__columns {
    gap: 12px 0;
    grid-template-columns: 1fr;
  }
}

/* Selects/inputs
	========================================================================== */
.select-group {
  position: relative;
}
.select-group__button {
  display: flex;
  align-items: center;
  gap: 0 12px;
  height: 35px;
  padding: 0 16px;
  min-width: 160px;
  cursor: pointer;
}
.select-group__icon {
  transition: transform .2s;
  flex-shrink: 0;
  transform: scale(1.2);
  width: 20px;
  height: 20px;
}
.select-group.open .select-group__icon {
  transform: scale(1.2) rotate(180deg);
}
.select-group__select-list {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  list-style: none;
  margin: 0;
  padding: 6px;
  z-index: 200;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  min-width: 100%;
}
.select-group.open .select-group__select-list {
  display: block;
}
.select-list__item {
  list-style: none;
}
.select-list__link {
  display: flex;
  align-items: center;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.select-list__link:hover {
  background: #f5f5f5;
  color: var(--color-primary);
}
/* Cart modal/section
	========================================================================== */

.modal-close-wrapper {
	position: fixed;
	inset: 0;
	z-index: 9998;
	background: rgba(0, 0, 0, .45);
	cursor: pointer;
}

.close-cart-modal-wrapper {
	position: fixed;
	z-index: 1111;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	background: rgba(0,0,0,.7);
}

.cart-modal-wrapper {
	position: fixed;
	visibility: hidden;
	overflow-y: auto;
	opacity: 0;
	z-index: -11111;
	max-width: 0;
	width: 100%;
	max-height: 0;
	left: 50%;
	top:50%;
	transform: translate(-50%,-50%);
	transition: opacity .5s;
	background: #FFFFFF;
	border-bottom: 1px solid #EDEDED;
}

.cart-modal-wrapper::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 20;
	background: rgba(255, 255, 255, .68);
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s;
}

.cart-modal-wrapper::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 21;
	width: 42px;
	height: 42px;
	margin: -21px 0 0 -21px;
	border: 3px solid rgba(22, 110, 255, .2);
	border-top-color: #166EFF;
	border-radius: 50%;
	opacity: 0;
	pointer-events: none;
	animation: cart-modal-loader-spin .8s linear infinite;
	transition: opacity .2s;
}

.cart-modal-wrapper.loading::before,
.cart-modal-wrapper.loading::after {
	opacity: 1;
}

@keyframes cart-modal-loader-spin {
	to {
		transform: rotate(360deg);
	}
}

.cart-modal-wrapper.open {
	visibility: visible;
	opacity: 1;
	z-index: 11111;
	max-width: 840px;
	min-height: 80vh;
	max-height: calc(100vh - 140px);
}

.cart-modal-wrapper__close-btn {
	position: absolute;
	right: 24px;
	top: 24px;
}

.cart-modal-wrapper__main-block {
	padding: 40px 72px;
}

.cart-modal-wrapper__title {
	margin-bottom: 24px;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 500;
	color: #131313;
}

.cart-modal-wrapper__cart-block,
.cart-modal-wrapper .cart-block {
	display: flex;
	flex-direction: column;
	gap: 24px 0;
}

.cart-modal-wrapper__products-list {
	display: flex;
	flex-direction: column;
}

.cart-modal-wrapper .products-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cart-modal-wrapper__product-item {
	padding: 20px 0;
  display: flex;
  flex-direction: column;
	position: relative;
}

.cart-modal-wrapper .product-item__about-group {
  display: grid;
	grid-gap: 0 24px;
	grid-template-columns: 90px 1fr;
}

.cart-modal-wrapper .product-item__thumb-column {
	display: block;
	position: relative;
}

.cart-modal-wrapper .product-item__wishlist-btn {
	position: absolute;
	z-index: 1;
	right: 6px;
	top: 6px;
}


.cart-modal-wrapper .product-item__thumbnail {
	display: flex;
  align-items: center;
  justify-content: center;
	padding: 3px;
  border-radius: 12px;
  overflow: hidden;
  height: fit-content;
  border: 1px solid var(--color-border);
}

.cart-modal-wrapper .product-item__thumbnail:not(.img-loaded) {
	background: linear-gradient(90deg, #f0f0f0 25%, #e4e4e4 50%, #f0f0f0 75%);
	background-size: 200% 100%;
	animation: cart-thumb-shimmer 1.2s ease-in-out infinite;
}

@keyframes cart-thumb-shimmer {
	0%   { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

.cart-modal-wrapper .product-item__img {
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: cover;
}

.cart-modal-wrapper .img {
	display: block;
	max-width: 100%;
	height: auto;
}

.cart-modal-wrapper .product-item__info-column {
	align-items: flex-start;
  justify-content: space-between;
	gap: 20px 0;
	display: flex;
  flex-direction: column;

}

.cart-modal-wrapper .info-column {
	min-width: 0;
}

.cart-modal-wrapper .product-item__info-group {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	height: 100%;
	gap: 10px 0;
}

.cart-modal-wrapper .product-item__text-group {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.cart-modal-wrapper .text-group {
	min-width: 0;
}

.cart-modal-wrapper  .product-item__bottom-group {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	align-items: center;
	justify-content: space-between;
}

.cart-modal-wrapper .bottom-group {
	width: 100%;
}

.cart-modal-wrapper .product-item__price-group {
	width: max-content;
	justify-content: flex-end;
	gap: 0 10px;
	align-items: center;
	display: flex;
}

.cart-modal-wrapper .price-group {
	display: flex;
}

.cart-modal-wrapper .product-item__name {
	text-transform: uppercase;
	font-weight: 500;
	color: #131313;
	font-size: .9em;
}

.cart-modal-wrapper .name a {
	color: inherit;
	text-decoration: none;
}

.cart-modal-wrapper .options {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 4px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.cart-modal-wrapper .options__text {
	display: block;
	font-size: 12px;
	line-height: 16px;
	color: #919191;
}

.cart-modal-wrapper .product-item__descr {
	font-family: 'Fixel Text';
	color: #131313;
	font-size: .9em;
}


.cart-modal-wrapper .product-item__sub-name {
	margin-top: 4px;
	font-size: 12px;
	line-height: 17px;
	color: #919191;
}

.cart-modal-wrapper .product-item__services,
.cart-sec .product-item__services {
	width: 100%;
	margin-top: 12px;
	padding-top: 12px;
	padding-bottom: 0;
}

.cart-modal-wrapper .services__toggle-btn,
.cart-sec .services__toggle-btn {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: #131313;
	cursor: pointer;
}

.cart-modal-wrapper .services__toggle-btn span,
.cart-sec .services__toggle-btn span {
	font-size: 14px;
	line-height: 18px;
	font-weight: 500;
}

.cart-modal-wrapper .services:not(.hidden) .toggle-btn svg,
.cart-sec .services:not(.hidden) .toggle-btn svg {
	transform: scale(1,-1);
}

.cart-modal-wrapper .services__checkboxes-list,
.cart-sec .services__checkboxes-list {
	display: flex;
	flex-direction: column;
	gap: 8px 0;
	margin-top: 10px;
  max-height: 300px;
  overflow-y: auto;
  visibility: visible;
  transition: max-height .4s ease-in-out;
}

.cart-modal-wrapper .services.hidden .chckboxes-list,
.cart-sec .services.hidden .chckboxes-list {
  max-height: 0;
  visibility: hidden;
  overflow: hidden;
}

.cart-modal-wrapper .checkboxes-list__checkbox,
.cart-sec .checkboxes-list__checkbox {
	display: flex;
	align-items: center;
	gap: 0 12px;
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #D9D9D9;
	border-radius: 10px;
	cursor: pointer;
}

.cart-modal-wrapper .checkboxes-list__checkbox.checked,
.cart-sec .checkboxes-list__checkbox.checked {
	border-color: #131313;
}

.cart-modal-wrapper .checkboxes-list__checkbox.include,
.cart-sec .checkboxes-list__checkbox.include {
	cursor: default;
	background: #F7F7F7;
}

.cart-modal-wrapper .checkbox__text,
.cart-modal-wrapper .checkbox__price,
.cart-sec .checkbox__text,
.cart-sec .checkbox__price {
	display: block;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.1;
	color: #131313;
}

.cart-modal-wrapper .checkbox__text,
.cart-sec .checkbox__text {
	flex: 1 1 auto;
}

.cart-modal-wrapper .checkbox__price,
.cart-sec .checkbox__price {
	flex: 0 0 auto;
	margin-left: auto;
}

.cart-modal-wrapper .checkboxes-list__checkbox.include .checkbox__price,
.cart-sec .checkboxes-list__checkbox.include .checkbox__price {
	font-weight: 600;
	color: var(--color-primary);
}

.cart-modal-wrapper .product-item .price-group__price {
	font-size: .95em;
}

.cart-modal-wrapper .price-group__price,
.cart-modal-wrapper .price-group__new {
	display: block;
	font-size: .95em;
	font-weight: 500;
	line-height: 1.2;
	color: #131313;
}

.cart-modal-wrapper .price-group__old {
	display: block;
	font-size: .85em;
	line-height: 1.2;
	color: #919191;
	text-decoration: line-through;
}

.cart-sec__right-column {
	height: fit-content;
}

.cart-modal-wrapper__total-group {
	padding-top: 20px;
	border-top: 1px solid #131313;
}

.cart-modal-wrapper__total-list {
	display: flex;
	flex-direction: column;
	gap: 10px 0;
}


.cart-modal-wrapper .total-list__item {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.cart-modal-wrapper .total-list .item__name,
.cart-modal-wrapper .total-list .item__value {
	display: block;
}

.cart-modal-wrapper .total-list .item__value,
.cart-modal-wrapper .total-list .item__name {
	font-size: 1em;
	color: #131313;
}

.cart-modal-wrapper .total-list .item__value {
	font-weight: 500;
}

.cart-modal-wrapper .total-list .item.sub_total .value {
	color: #919191;
}

.cart-modal-wrapper .product-item__quantity-group {
	padding: 0;
	border: unset;
}

.cart-modal-wrapper .quantity-group {
	display: inline-grid;
	grid-template-columns: 36px 46px 36px;
	align-items: center;
	min-height: 36px;
	border: 1px solid #D9D9D9;
}

.cart-modal-wrapper .quantity-group__minus-btn,
.cart-modal-wrapper .quantity-group__plus-btn,
.cart-modal-wrapper .minus-btn,
.cart-modal-wrapper .plus-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #131313;
	cursor: pointer;
}

.cart-modal-wrapper .quantity-group__input {
	width: 46px;
	height: 36px;
	border: 0;
	text-align: center;
	font-size: 14px;
	color: #131313;
	background: transparent;
}

.cart-modal-wrapper .quantity-group__input::-webkit-outer-spin-button,
.cart-modal-wrapper .quantity-group__input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.cart-modal-wrapper .product-item__remove-btn,
.cart-modal-wrapper .remove-btn {
	position: absolute;
	right: 0;
	top: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #919191;
	cursor: pointer;
}

.cart-modal-wrapper .product-item__remove-btn:hover,
.cart-modal-wrapper .remove-btn:hover {
	color: #131313;
}

.cart-modal-wrapper__free-delivery-group {
	display: flex;
	flex-direction: column;
	gap: 8px 0;
}

.cart-modal-wrapper .free-delivery-group__text {
	font-size: .9em;
	font-weight: 500;
	display: block;
	color: #131313;
}

.cart-modal-wrapper .free-delivery-group__text strong {
	font-size: inherit;
	color: var(--color-primary);
	font-weight: 500;
	line-height: inline-block;
}

.cart-modal-wrapper .free-delivery-group__line-group {
	display: grid;
	align-items: center;
	grid-gap: 0 16px;
	grid-template-columns: 1fr max-content;
}

.cart-modal-wrapper .line-group__line {
	display: block;
	position: relative;
	width: 100%;
	background: #E3E3E3;
	height: 10px;
}

.cart-modal-wrapper .line-group__line span {
	background: var(--color-primary);
	z-index: 1;
	position: absolute;
	left: 0;
	top: 0;
	height: 10px;
	width: 100%;
	display: block;
}

.cart-modal-wrapper .line-group__total {
	display: block;
	font-size: .9em;
	font-weight: 500;
	color: #131313;
}

.cart-modal-wrapper .line-group__end,
.cart-modal-wrapper .end {
	display: block;
	font-size: 12px;
	line-height: 16px;
	color: #131313;
	white-space: nowrap;
}

.cart-modal-wrapper__buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	align-items: center;
	margin-top: 24px;
}

.cart-sec__btn {
	max-width: 450px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 24px;
}

.cart-sec .btn {
	max-width: 100%;
	width: 100%;
}
.cart-modal-wrapper__cont-btn {
	display: flex;
	align-items: center;
	gap:0 12px;
	width: fit-content;
	padding: 16px 0;
}
.cart-modal-wrapper__cont-btn span {
	font-family: 'Fixel Text';
	line-height: 1.1;
	font-size: 14px;
	font-weight: 500;
	color: #131313;
}
.cart-modal-wrapper__cont-btn:not(:hover) svg {
	color: var(--color-primary);
}

.cart-modal-wrapper__btn {
	width: 100%;
}

.cart-modal-wrapper__empty {
	margin: 32px 0;
	font-size: 16px;
	line-height: 1.4;
	color: #131313;
	text-align: center;
}
@media (max-width: 768px) {
  .cart-modal-wrapper__main-block {
    padding: 36px;
  }

  .cart-modal-wrapper__cont-btn {
    padding: auto;
  }
}
@media (max-width: 520px) {
  .cart-modal-wrapper {
    top: 0;
    left: 0;
    transform: unset;
    min-height: 100vh;
  }
}
/* ==================== Cart page ==================== */

.cart-sec {
	padding: 40px 0 80px;
}

.cart-sec__page-title {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 32px;
	color: var(--color-text);
}

.cart-sec__cont-btn {
	display: inline-flex;
	align-items: center;
	gap: 0 8px;
	margin-bottom: 24px;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-secondary);
	text-decoration: none;
	transition: color .15s;
}

.cart-sec__cont-btn:hover {
	color: var(--color-text);
}

.cart-sec__cont-btn svg {
	color: var(--color-primary);
}

.cart-sec__alert {
	margin-bottom: 20px;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
}

.cart-sec__columns {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 0 40px;
	align-items: start;
}

.cart-sec .products-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cart-sec .product-item {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 0 24px;
	position: relative;
	padding: 24px 0;
	border-bottom: 1px solid #EDEDED;
}

.cart-sec .product-item__thumb-column {
	display: block;
}

.cart-sec .product-item__thumbnail {
	display: block;
	padding: 8px;
	border: 1px solid #EDEDED;
	border-radius: 8px;
}

.cart-sec .product-item__img {
	display: block;
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: cover;
}

.cart-sec .product-item__info-column {
	display: flex;
	flex-direction: column;
	gap: 16px 0;
	min-width: 0;
}

.cart-sec .product-item__info-group {
	display: flex;
	flex-direction: column;
	gap: 12px 0;
}

.cart-sec .product-item__text-group {
	display: flex;
	flex-direction: column;
	gap: 6px 0;
	padding-right: 40px;
}

.cart-sec .product-item__name {
	font-size: 15px;
	font-weight: 500;
	color: #131313;
}

.cart-sec .product-item__name a {
	color: inherit;
	text-decoration: none;
}

.cart-sec .product-item__name a:hover {
	color: var(--color-primary);
}

.cart-sec .product-item__options {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cart-sec .options__text {
	font-size: 13px;
	color: #919191;
}

.cart-sec .product-item__bottom-group {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.cart-sec .quantity-group {
	display: inline-grid;
	grid-template-columns: 36px 46px 36px;
	align-items: center;
	min-height: 36px;
	border: 1px solid #D9D9D9;
}

.cart-sec .quantity-group__minus-btn,
.cart-sec .quantity-group__plus-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #131313;
	cursor: pointer;
}

.cart-sec .quantity-group__input {
	width: 46px;
	height: 36px;
	border: 0;
	text-align: center;
	font-size: 14px;
	color: #131313;
	background: transparent;
}

.cart-sec .quantity-group__input::-webkit-outer-spin-button,
.cart-sec .quantity-group__input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.cart-sec .price-group__price {
	font-size: 16px;
	font-weight: 600;
	color: #131313;
}

.cart-sec .product-item__remove-btn {
	position: absolute;
	right: 0;
	top: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #919191;
	cursor: pointer;
}

.cart-sec .product-item__remove-btn:hover {
	color: #131313;
}

.cart-sec__right-column {
	position: sticky;
	top: 20px;
}

/* ==================== Total group (global — cart + checkout) ==================== */

.total-group {
	background: #fff;
	border: 1.5px solid var(--color-border);
	border-radius: 16px;
	padding: 20px;
	margin-bottom: 12px;
}

.total-group .order-title {
	margin-bottom: 14px;
	font-size: 16px;
	font-weight: 700;
	color: var(--color-text);
}

.total-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.total-list .item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 9px 0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 14px;
}

.total-list .item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.total-list .item__name {
	color: var(--color-secondary);
	font-weight: 400;
}

.total-list .item__value {
	font-weight: 600;
	color: var(--color-text);
}

.total-list .total {
	font-size: 16px;
	padding-top: 12px;
	margin-top: 4px;
	border-top: 2px solid var(--color-border);
	border-bottom: none;
}

.total-list .total .item__name,
.total-list .total .item__value {
	color: var(--color-text);
	font-weight: 700;
}

@media (max-width: 1080px) {
	.cart-sec__columns {
		grid-template-columns: 1fr 280px;
		gap: 0 24px;
	}
}

@media (max-width: 768px) {
	.cart-sec__columns {
		grid-template-columns: 1fr;
		gap: 32px 0;
	}

	.cart-sec .product-item {
		grid-template-columns: 100px 1fr;
		gap: 0 16px;
	}

	.cart-sec__right-column {
		position: static;
		padding: 24px !important;
	}
}

/* ==================== Slider ==================== */
.slider {
  position: relative;
}

.slider.has-arrows:not(.disabled) {
  padding-left: 110px;
  padding-right: 110px;
}

.slider-prev,
.slider-next {
  border-radius: 50%;
  top: 50%;
  position: absolute;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
}

.slider-prev svg,
.slider-next svg {
  display: block;
}

.slider-prev {
  left: 0;
}
.slider-next {
  right: 0;
}

.swiper-slide {
  height: auto;
}

.swiper-scrollbar {
  bottom: 0!important;
}

.swiper-button-disabled {
  display: none;
}

.swiper-scrollbar {
  position: relative;
  height: 3px;
  background: #CFCECE;
  
}

.swiper-scrollbar-drag {
  background: #1A1C1D;
  border-radius: 2px;
  height: 100%;
  cursor: grab;
}

@media (max-width: 1200px) {
  .slider.has-arrows:not(.disabled) {
    padding-left: 60px;
    padding-right: 60px;
  }

  .slider-prev, 
  .slider-next {
    width: 38px;
    height: 38px
  }
}

@media (max-width: 768px) {
  .slider.has-arrows:not(.disabled) {
    padding: 0;
  }
  .slider-prev, 
  .slider-next {
    display:none;
  }
}

/* ==================== Promo Top Line ==================== */

.promo-top-line {
  background: #0059D8;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.promo-top-line__main-block {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-top-line__text {
  color: #FFFFFF;
  font-size: .95em;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}
.promo-top-line__text a {
  text-decoration: underline;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  font-size: inherit;
}

@media (max-width:520px) {
  .promo-top-line__text {
    font-size .8em;
  }
}



/* ==================== TOP NAV ==================== */


.top-nav {
  position: absolute;
  top: 0;
  width: 100%;
  left: 0;
}

.top-nav.clone {
  position: fixed;
  visibility: hidden;
  top: -100px;
}

.promo-top-line + .top-nav:not(.fixed) {
  top: 50px;
}

.top-nav__main-block {
  height: 86px;
  display: flex;
  gap:0 15px;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.top-nav__logo-img {
  mix-blend-mode: multiply;
  height: 60px;
  object-fit: cover;
}
.top-nav__menu {
  flex-wrap: nowrap;
  overflow-x: auto;
  flex-direction: row;
  gap: 0 16px;
}
.top-nav__menu > li {
  min-width: max-content;
}
.top-nav__menu > li a {
  padding: 8px;
  font-size: 15px;
}

.top-nav__menu > li:hover a {
  color: var(--color-primary)
}

.top-nav__contacts-group {
  display: flex;
  gap: 0 14px;
  align-items: center;
}

.top-nav .contacts-group__btn {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-nav .contacts-group__btn:hover svg {
  color: var(--color-primary);
}

.top-nav .contacts-group__btn.logged {
  flex-direction: column;
  cursor: pointer;
  gap: 0;
  justify-content: flex-start;
}
.top-nav .contacts-group__btn.logged svg {
  min-height: 24px;
}
.top-nav .contacts-group__btn.logged span {
  margin-top: 2px;
  font-size: 13px;
  opacity: .5;
}

.top-nav .contacts-group__btn.logged:hover span {
  opacity: 1;
}

.top-nav .count {
  border-radius: 50%;
  right: -6px;
  top: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 10px;
  font-weight: 500;
  color: #FFFFFF;
  background: #0059D8;
  position: absolute;
}

.top-nav .count.hidden { display: none; }
@media (max-width: 1336px) {
  .top-nav__contacts-group,
  .top-nav__menu {
    gap: 0 8px;
  }

  .top-nav .contacts-group__btn {
    width: 20px;
    height: 20px;
  }

  .top-nav__menu > li a {
    font-size: 14px;
    padding: 4px;
  }


}

@media (max-width: 1080px) {
  .top-nav__logo-img {
    max-width: 120px;
  }

  .top-nav__main-block {
    height: 60px;
  }

  .top-nav__menu > li a {
    font-size: 13px;
  }
}
@media (max-width: 768px) {
  .top-nav__main-block {
    justify-content: space-between;
  }
  .top-nav__contacts-group {
    margin-left: auto;
  }
  .top-nav .contacts-group .wishlist-btn,
  .top-nav .contacts-group .login-btn {
    display: none;
  }
  .top-nav__logo-img,
  .top-nav__logo {
    margin-left: auto;
  }
  .top-nav__logo-img {
    max-width: 180px;
  }
}
/* ==================== LANG SWITCHER ==================== */

.lang-switcher {
  position: relative;
}

.lang-switcher__current {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 0 6px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: background .15s;
  text-transform: uppercase;
}

.lang-switcher__current:hover {
  background: rgba(255,255,255,.12);
}

.lang-switcher__icon {
  transition: transform .2s;
  opacity: .7;
}

.lang-switcher.open .lang-switcher__icon {
  transform: rotate(180deg);
}

.lang-switcher__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  list-style: none;
  margin: 0;
  padding: 6px;
  z-index: 200;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  min-width: 130px;
}

.lang-switcher.open .lang-switcher__dropdown {
  display: block;
}

.lang-switcher .dropdown__item {
  list-style: none;
}

.lang-switcher .dropdown__link {
  display: flex;
  align-items: center;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}

.lang-switcher .dropdown__link:hover {
  background: #f5f5f5;
  color: var(--color-primary);
}
@media (max-width: 1080px) {
  .lang-switcher__current {
    font-size: 13px;
    padding: 4px;
  }
}

/* burger lang-switcher */
.actions-group__lang {
  display: none;
}

.burger-lang {
  display: flex;
  gap: 6px;
  padding: 10px 0 4px;
}
.burger-lang__item {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-secondary);
  padding: 4px 10px;
  border-radius: 8px;
  border: 1.5px solid var(--color-border);
  transition: color .15s, border-color .15s;
  letter-spacing: .04em;
}
.burger-lang__item:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.burger-lang__item.active {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: #f0f4ff;
}

@media (max-width: 520px) {
  .top-nav .lang-switcher {
    display: none;
  }
  .actions-group__lang {
    display: block;
    margin: 0 8px
  }
}

/* ==================== BRANDS SCROLLBAR ==================== */
.brands__scrollbar-track {
  position: relative;
  height: 3px;
  background: rgba(0,0,0,.1);
  border-radius: 2px;
  margin-top: 24px;
}

.brands__scrollbar-drag {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: currentColor;
  border-radius: 2px;
  cursor: grab;
  transition: width 0.2s;
}

.brands__scrollbar {
  position: relative;
  height: 3px;
  background: rgba(0,0,0,.1);
  border-radius: 2px;
  margin-top: 24px;
}

.brands__scrollbar-drag {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: currentColor;
  border-radius: 2px;
  cursor: grab;
}

.brands__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.brands__track::-webkit-scrollbar { display: none; }

.brands__slide {
  scroll-snap-align: start;
  flex-shrink: 0;
}

.brands__track { cursor: grab; }
.brands__track:active { cursor: grabbing; }



/* ==================== Stickers ==================== */
.stickers > * {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  height: 26px;
  padding: 0 12px;
  border-radius: 30px;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 500;
}

.stickers__percent {
  background-color: #E0584D;
  color: var(--color-white);
}
.stickers__condition {
  background-color: #B8B8B8;
  color: var(--color-white);
}
.stickers__bestseller {
  background-color: #FFC784;
  color: #583000;
}
.stickers__new {
  background-color: #CFE4FF;
  color: #0043A6;
}


/* ==================== Payments ==================== */
.payments {
  display: flex;
  gap: 0 14px;
  margin-top: 8px;
}

.payments .payment {
  width: 32px;
  height: 32px;
  display: flex;
  background: #FFFFFF;
  border: 1px solid #6F6F6F;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
}

.payments .payment img {
  width: 24px;
  aspect-ratio: 1/1;
  object-fit: contain;
}

@media (max-width:520px) {
  .payments {
    gap: 0 8px;
  }
}

/* ==================== Reviews section ==================== */

.reviews-sec .swiper {
  overflow: hidden;
}

.reviews-sec .swiper-slide {
  display: flex;
  flex-direction: column;
  gap: 20px 0;
  padding: 8px 20px 20px;
  background: #F9F9F9;
  border-radius: 16px;
  box-sizing: border-box;
}

.reviews-sec .swiper-slide__product-info {
  display: grid;
  gap: 0 12px;
  align-items: center;
  grid-template-columns: 90px 1fr;
  padding: 8px 0;
  border-bottom: .5px solid #DDDDDD;
}
.reviews-sec .swiper-slide__thumb {
  background-color: var(--color-white);
  width: 100%;
  padding: 8px;
}
.reviews-sec .swiper-slide__img {
  aspect-ratio: 1/1;
  object-position: center;
  object-fit: contain;
}
.reviews-sec .swiper-slide__about-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px 0;
}
.reviews-sec .swiper-slide__title {
  font-size: 15px;
  line-height: 1.1;
}
.reviews-sec .swiper-slide__review-info {
  display: flex;
  flex-direction: column;
  gap: 7px 0;
}
.reviews-sec .swiper-slide__name {
  font-size: 16px;
  font-weight: 600;
  display: block;
}
.reviews-sec .swiper-slide__rating-columns {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.reviews-sec .swiper-slide__date {
  display: block;
  font-size: 12px;
  line-height: 1.1;
  color: var(--color-grey);
}
.reviews-sec .swiper-slide__content {
  font-size: 14px;
  color: var(--color-dark-grey);
}
.reviews-sec .swiper-slide__read-more {
  color: var(--color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px 0px;
  border-bottom: 1px solid var(--color-primary);
}


.reviews-sec .swiper-slide__rating-group {
  display: flex;
  align-items: center;
  gap: 0 4px;
  margin-top: 12px;
}

.reviews-sec .swiper-slide__rating-group * {
  font-size: 14px;
  color: #131313;
}

.reviews-sec .swiper-slide__rating-list {
  flex-direction: row;
  gap: 0 3px;
}

.reviews-sec .swiper-slide__rating-list li:not(.active) {
  color: #DDDDDD;
}

.reviews-sec .swiper-slide__rating-count {
  font-size: 14px;
  line-height: inherit;
  color: #696969;
}

.reviews-sec .swiper-pagination {
  display: none;
}

@media (max-width: 520px) {
  .swiper-pagination-bullet {
    margin: 0 3px;
  }
  .reviews-sec .swiper-pagination {
    margin-top: 7px;
    display: block;
    position: unset;
    transform: unset;
  }

  .swiper-pagination-bullet-active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
  }
}
/* ==================== Products section ==================== */

.products-sec .swiper {
  overflow: hidden;
}

/* ==================== Loadmore Card ==================== */
.loadmore-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px 0;
  justify-content: center;
  height: 100%;
  width: 100%;
  border: 1px solid #6F6F6F;
  border-radius: 16px;
}

.loadmore-card__icon {
  width: 90px;
  aspect-ratio: 1/1;
}

.loadmore-card:hover .icon {
  transform: rotate(180deg);
  color: var(--color-primary);
}


.loadmore-card__text {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.1;
  text-align: center;
  display: block;
  color: var(--color-grey);
}

/* ==================== Product Card ==================== */
.products-swiper .swiper-slide {
  height: auto;
}
.product-card {
  display: flex;
  flex-direction: column;
  gap: 24px 0;
}

.product-card__top-group {
  padding: 12px;
  background: #F9F9F9;
  border-radius: 16px;
  position: relative;
  min-height: 260px;
}

.product-card__thumb {
  width: 100%;
  display: block;
  padding: 12px 0;
}

.product-card__img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}



.product-card__wishlist-btn,
.product-card__stickers {
  position: absolute;
  top: 12px;
  width: 100%;
  
}
.product-card__wishlist-btn.in-wishlist use:nth-child(1),
.product-card__wishlist-btn use:nth-child(2) {
  display: none;
}

.product-card__wishlist-btn use:nth-child(2) {
  fill: currentColor;
  color: var(--color-text);
}

.product-card__wishlist-btn.in-wishlist use:nth-child(2) {
  display: block;
}

.product-card__stickers {
  display: flex;
  flex-direction: column;
  gap: 8px 0;
  left: 12px;
  width: fit-content;
}

.product-card__wishlist-btn {
  width: 24px;
  height: 24px;
  right: 12px;
}

.product-card__info-column {
  display: flex;
  flex-direction: column;
}

.product-card__name {
  display: block;
  font-size: 16px;
  line-height: 1.1;
}

.product-card__name * {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.product-card__rating-group {
  display: flex;
  align-items: center;
  gap: 0 4px;
  margin-top: 12px;
}

.product-card__rating-group * {
  font-size: 14px;
  color: #131313;
}

.product-card__rating-list {
  flex-direction: row;
  gap: 0 3px;
}

.product-card__rating-list li:not(.active) {
  color: #DDDDDD;
}

.product-card__rating-count {
  font-size: 14px;
  line-height: inherit;
  color: #696969;
}


.product-card__payments {
  display: flex;
  gap: 0 10px;
  align-items: center;
}
.product-card__btn-wrapper {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
} 
.product-card__cart-btn {
  align-items: center;
  justify-content: center;
  gap: 0 10px;
  height: 36px;
  padding: 0 25px;
}

.product-card__cart-btn svg {
  transform: scale(.7) translateX(7px);
}

.product-card__colors {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.product-card .colors__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.product-card .colors__item.active,
.product-card .colors__item:hover {
  border: 1px solid #0059D8;
}

.product-card .colors__swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--color-dark-grey);
  cursor: pointer;
}
.product-card__price-group {
  margin-top: 24px;
}

@media (max-width:520px) {
  .product-card .colors__item {
    width: 16px;
    height: 16px;
  }
  .product-card .colors__swatch {
    width: 10px;
    height: 10px;
  }

  .product-card__colors {
    gap: 4px;
  }


  .product-card__top-group {
    min-height: auto;
  }
}

/* ==================== Prices ==================== */
.price-group {
  display: flex;
  flex-direction: column;
  gap: 8px 0;
  margin-top: 8px;
  margin-bottom: 24px;
}

.price-group__price, 
.price-group__new,
.price-group__old {
  display: block;
  line-height: 1.1;
}

.price-group__price,
.price-group__new {
  font-weight: 600;
  font-size: 20px;
  line-height: 25px;
  color: #2D2D2D;
}

.price-group__old {
  text-decoration: line-through;
  color: #BDBDBD;
  font-size: 14px;
}
.price-group__percent {
  width: max-content;
  padding: 0 8px;
  height: 20px;
  background: #E0584D;
  border-radius: 30px;
  display: flex;
  align-items: center;
  color: #FFEBE8;
  text-align: center;
  font-size: 12px;
  text-decoration: unset;
}
.price-group__value {
  text-decoration: line-through;
}
.price-group__old.has-percent {
  display: flex;
  align-items: center;
  gap:0 12px;
  text-decoration: unset;
}


/* ==================== Footer ==================== */

.footer {
  margin-top: 110px;
  background: #ECF1F5;
}

.footer * {
  color: #201F1F;
}

.footer__columns {
  padding: 60px 0;
  display: grid;
  gap: 0 60px;
  grid-template-columns: 180px 1fr;
}


.footer__logo {
  width: 100%;
}

.footer__logo-img {
  mix-blend-mode: multiply;
}

.footer__menu-columns {
  display: flex;
  gap: 0 30px;
  justify-content: space-between;
}
.footer__menu-column {
  display: flex;
  flex-direction: column;
  flex: 220px;
  gap: 30px 0;
}

.footer__menu-title {
  font-size: 18px;
  line-height: 1.1;
}
.footer__menu {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer__menu li {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.footer__menu li a {
  font-size: 15px;
  line-height: 1.1;
  font-weight: 600px;
  display: block;
}

.footer__menu li:hover a {
  color: var(--color-primary);
}

.footer__menu li span {
  display: block;
  margin-top: 6px;
  font-size: 15px;
}
@media (max-width: 1200px) {
  .footer__columns {
    gap: 40px 0;
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .footer__columns {
    gap: 24px 0;
  }
  .footer__menu-column {
    flex: auto;
    gap: 0;
  }
}
/* ==================== Product price ranges ==================== */
.product-price-ranges {
  margin: 40px 0;
}

.product-price-ranges__main-block {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, #faf6f4 0%, #f1f7fb 100%);
}

.product-price-ranges__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.product-price-ranges__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
}

.product-price-ranges__group {
  color: #606772;
  font-size: 13px;
  line-height: 1.2;
}

.product-price-ranges__row-title {
  color: #131313;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.product-price-ranges__range {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #131313;
  font-size: 18px;
  font-weight: 700;
}




/* ==================== Benefits section ==================== */

.benefits-sec__list {
    display: grid;
    gap: 34px;
    grid-template-columns: repeat(4,1fr);
}
.benefits-sec .list__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px 0;
    padding: 24px 16px 32px;
    background: #F8F9FA;
    border-radius: 30px;
}
.benefits-sec .item__text {
    display: flex;
    flex-direction: column;
    gap: 16px 0;
}
.benefits-sec .item__title {
    text-align: center;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 600;
    color: #2D2D2D;
}
.benefits-sec .item__descr {
    font-size: .9em;
    color: #2D2D2D;
    line-height: 1.1;
    text-align: center;
}

@media (max-width: 1080px) {
  .benefits-sec__list {
    gap: 24px;
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 520px) {
  .benefits-sec__list {
    gap: 24px 0;
    grid-template-columns: 1fr
  }
}

/* ==================== Subscribe section ==================== */

.subscription-sec__main-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F8F9FA;
    padding: 90px 0;
    border-radius: 20px;
}
.subscription-sec__section-title {
  margin-bottom: 20px;
}
.subscription-sec__subtitle {
    display: block;
    text-align: center;
} 
.subscription-sec__form {
    margin-top: 45px;
    max-width: 600px;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.05);
    border-radius: 40px;
    position: relative;
}
.subscription-sec .form__field-wrapper {
    display: grid;
    grid-template-columns: 1fr max-content;
    gap: 0 16px
}

.subscription-sec .form__input {
    padding: 0 24px;
    height: 50px;
    display: flex;
    align-items: center;
    width: 100%;
}
.subscription-sec .form__btn {
    padding: 0 24px;
    height: 50px;
    border-radius: 24px;
}
.subscription-sec .form__message {
    display: none;
    position: absolute;
    left: 24px;
    bottom: -20px;
    font-size: 13px;
    line-height: 1.1;
}

.subscription-sec .form__message.error {
    color: #FF0000;
}
.subscription-sec .form__message.success {
    color: #00AA00;
}

.subscription-sec .form__message.error,
.subscription-sec .form__message.success {
    display: block;
}

@media (max-width: 768px) {
  .subscription-sec__main-block {
    padding: 32px 24px;
  }
  
  .subscription-sec__form {
    background: unset;
    border-radius: unset;
    box-shadow: unset;
  }
}

@media (max-width:520px) {
  .subscription-sec__main-block {
    padding: 24px;
  }
}

/* ==================== Search Modal ==================== */

.modal-close-wrapper {
  cursor: pointer;
  z-index: 1111;
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(19, 19, 19, 0.6);
}

.modal-wrapper {
  position: fixed;
  z-index: 11111;
  max-width: 420px;
  width: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.login-modal__title {
  font-size: 24px;
  margin-bottom: 24px;
}

.modal-wrapper__search-form {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 0 10px;
  width: 100%;
}

.modal-wrapper .search-form__icon {
  min-width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.modal-wrapper .search-form__search-input {
  display: flex;
  width: 100%;
  padding: 0;
  font-size: inherit;
  border: none;
  outline: none;
  background: transparent;
}

@media (max-width: 768px) {
  .modal-wrapper .search-form__search-input {
    font-size: 16px;
  }
}

.modal-wrapper__close-btn {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Search modal layout */
.search-modal {
  transform: translateX(-50%);
  top: 136px;
  max-width: 100%;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 11111;
}

.modal-wrapper__main-block {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
}

.search-modal .container {
  width: 100%;
}

.search-modal .main-block {
  padding: 0;
  background: transparent;
  width: 100%;
  gap: 0;
}

.search-modal .main-block > * {
  background: #fff;
  padding-left: 24px;
  padding-right: 24px;
}
@media (max-width: 1080px) {
  .search-modal {
    top: 110px;
  }
}
@media (max-width: 520px) {
  .search-modal {
    top: 12px;
    left: 0;
    transform: unset;
  }
  .search-modal .search-form {
    padding: 8px 12px;
  }
  .search-modal .search-form__search-input::placeholder {
    font-size: 0;
  }
}

/* Search results */
.modal-wrapper__search-results-wrapper {
  position: relative;
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.modal-wrapper__search-group + .modal-wrapper__search-group {
  margin-top: 24px;
}

.modal-wrapper__search-group.products-group {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.modal-wrapper .search-group__title {
  font-size: 1em;
  font-weight: 500;
  color: var(--color-secondary);
  display: block;
  margin-bottom: 15px;
}

.modal-wrapper__search-results {
  flex-direction: column;
  overflow-y: auto;
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-wrapper__search-results.search-chips {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 140px;
  overflow-y: auto;
  flex-shrink: 0;
}

.modal-wrapper__search-results.products {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 450px;
  overflow-y: auto;
}

@media (max-width: 520px) {
  .modal-wrapper__search-results-wrapper {
    max-height: calc(100vh - 130px);
    max-height: calc(100dvh - 130px);
  }
  .modal-wrapper__search-results.search-chips {
    flex-wrap: nowrap;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    overscroll-behavior-x: contain;
  }
  .modal-wrapper__search-results.search-chips::-webkit-scrollbar { display: none; }
  .modal-wrapper__search-results.products {
    max-height: none;
  }
}

@media (max-width: 767px), (max-height: 800px) {
  .modal-wrapper__search-group.products-group { flex: 0 0 auto; }
  .modal-wrapper__search-results.products {
    flex: none;
    max-height: 320px;
    overflow-y: auto;
  }
}

/* Category chips */
.modal-wrapper .search-chips > li { list-style: none; }

.modal-wrapper .search-chips > li > a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  font-size: .9em;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 20px;
  transition: border-color .15s, background-color .15s;
}

.modal-wrapper .search-chips > li > a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Product items */
.modal-wrapper .search-results__item-product {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 70px 1fr;
  padding: 8px;
  border-top: 1px solid var(--color-border);
}

.modal-wrapper .search-results .item-product__thumb {
  display: block;
}

.modal-wrapper .search-results .item-product__img {
  max-width: 100%;
  width: 100%;
  border-radius: 8px;
}

.modal-wrapper .search-results .item-product__main-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px 0;
}

.modal-wrapper .search-results .item-product__title-group {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.modal-wrapper .search-results .item-product__name {
  font-size: .9em;
  color: var(--color-text);
  line-height: 1.3;
}

.modal-wrapper .search-results .item-product__title-group:hover .item-product__name {
  color: var(--color-primary);
}

.modal-wrapper .item-product__price {
  display: flex;
  gap: 0 10px;
  font-size: .9em;
  font-weight: 600;
  line-height: 1.1;
  margin-top: 4px;
}

.modal-wrapper .item-product__price ins {
  color: #e53935;
  text-decoration: none;
}

.modal-wrapper .item-product__price del {
  font-weight: 400;
  color: var(--color-secondary);
}

/* Show all link */
.search-show-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 8px 18px;
  border: 1px solid var(--color-text);
  color: var(--color-text);
  font-size: .85em;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 20px;
  transition: background-color .15s, color .15s;
  align-self: flex-start;
}

.search-show-all:hover {
  background: var(--color-text);
  color: #fff;
}

.search-show-all__count {
  font-weight: 400;
  opacity: .7;
}

@media (max-width: 520px) {
  .modal-wrapper .search-results__item-product {
    grid-template-columns: 80px 1fr;
  }
}

/* ==================== Login modal
========================================================================== */
#login-modal.modal-wrapper {
  max-width: 480px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none;
}

.modal-wrapper__overlay {
  position: fixed;
  inset: 0;
  background: rgba(19,19,19,.55);
  z-index: 0;
  cursor: pointer;
}

.login-modal-block {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  padding: 40px 40px 32px;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  flex-direction: column;
  gap: 0;
}

#login-modal .modal-wrapper__close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: #F8F9FA;
  border-radius: 50%;
  color: var(--color-text);
  transition: background .15s;
}
#login-modal .modal-wrapper__close-btn:hover {
  background: var(--color-border);
}

/* Tabs */
.modal-tabs {
  display: flex;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 28px;
  gap: 0;
}
.modal-tabs__btn {
  flex: 1;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-secondary);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .15s, border-color .15s;
  text-align: center;
}
.modal-tabs__btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.modal-tabs__btn:hover {
  color: var(--color-text);
}

/* Form */
.login-modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px 0;
}
.login-modal__form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px 0;
}
.login-modal__submit-btn {
  width: 100%;
  margin-top: 4px;
}

/* Password toggle */
.form-group__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.form-group__input-wrap .form-group__input {
  width: 100%;
  padding-right: 44px;
}
.input-password-wrap__toggle {
  position: absolute;
  right: 12px;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  transition: color .15s;
}
.input-password-wrap__toggle:hover {
  color: var(--color-text);
}

/* Footer links in login form */
.login-modal__form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -4px;
}
.login-modal__link {
  font-size: 13px;
  color: var(--color-secondary);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color .15s, text-decoration-color .15s;
  cursor: pointer;
}
.login-modal__link:hover {
  color: var(--color-primary);
  text-decoration-color: var(--color-primary);
}
.login-modal__back-link {
  display: inline-flex;
  align-items: center;
  gap: 0 6px;
  font-size: 13px;
  color: var(--color-secondary);
  margin-top: 16px;
  cursor: pointer;
  transition: color .15s;
}
.login-modal__back-link:hover {
  color: var(--color-primary);
}

/* Agree */
.login-modal__agree-label {
  display: flex;
  align-items: flex-start;
  gap: 0 10px;
  font-size: 13px;
  color: var(--color-secondary);
  line-height: 1.4;
  cursor: pointer;
}
.login-modal__agree-checkbox {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--color-primary);
}
.login-modal__agree-label a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Hint */
.login-modal__hint {
  font-size: 14px;
  color: var(--color-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Results */
.login-modal__result {
  min-height: 0;
}
.login-modal__error {
  display: block;
  font-size: 13px;
  color: #e53935;
  padding: 8px 12px;
  background: #fdecea;
  border-radius: 6px;
}
.login-modal__success {
  display: block;
  font-size: 13px;
  color: #2e7d32;
  padding: 8px 12px;
  background: #e8f5e9;
  border-radius: 6px;
}

/* Policy text */
#login-modal .policy-text {
  font-size: 12px;
  color: var(--color-secondary);
  line-height: 1.4;
  text-align: center;
  margin-top: -4px;
}
#login-modal .policy-text a {
  color: var(--color-primary);
}

/* Alt link — "Або увійдіть за номером телефону" */
.login-modal__alt-link {
  display: flex;
  align-items: center;
  gap: 0 10px;
  width: 100%;
  margin-top: 20px;
  font-size: 13px;
  color: var(--color-secondary);
  cursor: pointer;
  transition: color .15s;
}
.login-modal__alt-link::before,
.login-modal__alt-link::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}
.login-modal__alt-link:hover {
  color: var(--color-primary);
}

/* Policy text */
.login-modal__policy {
  font-size: 12px;
  color: var(--color-secondary);
  line-height: 1.4;
  text-align: center;
  margin-top: 12px;
}
.login-modal__policy a {
  color: var(--color-primary);
}

/* Sent hint */
.login-modal__sent-hint {
  font-size: 14px;
  color: var(--color-secondary);
  margin-bottom: 16px;
  line-height: 1.4;
}

@media (max-width: 520px) {
  .login-modal-block {
    padding: 28px 20px 24px;
    max-height: 100vh;
  }
}

/* ==================== BURGER BUTTON ==================== */
.burger-btn {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}
.burger-btn__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

/* ==================== BURGER MENU PANEL ==================== */
.burger-menu-wrapper {
  background: #fff;
  position: fixed;
  z-index: 11110;
  top: 0;
  left: -340px;
  width: 320px;
  height: 100%;
  overflow-y: auto;
  visibility: hidden;
  transition: left .3s ease, visibility .3s;
  box-shadow: 4px 0 32px rgba(0,0,0,.12);
}
.burger-menu-wrapper.open {
  left: 0;
  visibility: visible;
}
.burger-menu-wrapper__main-block {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.burger-menu-wrapper__top-group {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.burger-menu-wrapper__top-group .logo img {
  display: block;
}
.burger-menu-wrapper__close-btn {
  color: var(--color-secondary);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  transition: background .15s, color .15s;
}
.burger-menu-wrapper__close-btn:hover {
  background: #f0f4ff;
  color: var(--color-primary);
}
.burger-menu-wrapper__menu-group {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}
.burger-menu-wrapper__menu-group ul {
  display: flex;
  flex-direction: column;
}
.burger-menu-wrapper__menu-group ul li a {
  display: block;
  padding: 12px 20px;
  font-size: 15px;
  color: var(--color-text);
  font-weight: 500;
  border-radius: 10px;
  margin: 0 8px;
  transition: color .15s, background .15s;
}
.burger-menu-wrapper__menu-group ul li a:hover {
  background: #f0f4ff;
  color: var(--color-primary);
}
.burger-menu-wrapper__actions-group {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  margin-top: auto;
  border-top: 1px solid var(--color-border);
}
.burger-menu-wrapper__actions-group .actions-group__btn {
  display: flex;
  align-items: center;
  gap: 0 12px;
  padding: 12px 20px;
  font-size: 15px;
  color: var(--color-text);
  width: 100%;
  text-align: left;
  border-radius: 10px;
  margin: 0 8px;
  width: calc(100% - 16px);
  transition: color .15s, background .15s;
}
.burger-menu-wrapper__actions-group .actions-group__btn:hover {
  background: #f0f4ff;
  color: var(--color-primary);
}

/* Overlay */
#burger-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 11109;
}
body.menu-open {
  overflow: hidden;
}

/* ==================== ADAPTIVE — GLOBAL ==================== */
@media (max-width: 1080px) {
  .container {
    padding: 0 24px;
  }
  .section-title {
    font-size: 34px;
    margin-bottom: 32px;
  }
}

@media (max-width: 768px) {
  /* Nav */
  .top-nav__menu { display: none !important; }
  .burger-btn { display: flex; }
  .top-nav__main-block { height: 64px; }

  /* Hide account text label */
  .top-nav .login-btn span { display: none; }

  /* Container */
  .container { padding: 0 16px; }

  /* Section title */
  .section-title {
    font-size: 26px;
    margin-bottom: 24px;
  }

  /* Section padding */
  .section { padding: 40px 0; }

  /* Product card grid — global */
  .product-grid {
    gap: 16px;
  }

  /* Footer */
  .footer__menu-columns {
    flex-direction: column;
    gap: 0;
  }
  .footer__menu-column {
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .footer__menu-title {
    cursor: pointer;
    padding: 14px 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .footer__menu-title::after {
    content: '+';
    font-size: 22px;
    line-height: 1;
    transition: transform .2s;
  }
  .footer__menu-title.open::after {
    transform: rotate(45deg);
  }
  .footer__menu { display: none; }
  .footer__menu.open { display: flex; padding-bottom: 12px; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .top-nav__contacts-group { gap: 0 10px; }
}

/* ==================== Additional responsive fixes ==================== */

@media (max-width: 1080px) {
  .section-title {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  /* Cart modal */
  .cart-modal-wrapper__main-block {
    padding: 24px 20px;
  }
  .cart-modal-wrapper__buttons {
    display: flex;
    flex-direction: column;
    gap: 10px 0;
    align-items: center;
    margin-top: 0;
  }

  /* Subscription form */
  .subscription-sec .form__field-wrapper {
    grid-template-columns: 1fr;
    gap: 10px 0;
  }
  .subscription-sec .form__btn {
    width: 100%;
    border-radius: 24px;
  }

  /* sec-nav-group */
  .sec-nav-group {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
  }

  /* h3 */
  h3 { font-size: 24px; }
}

@media (max-width: 520px) {
  /* Cart modal: single-column on small phones */
  .cart-modal-wrapper.open {
    max-height: 100vh;
    height: 100%;
  }

  /* Subscription section */
  .subscription-sec__form {
    border-radius: 16px;
  }

  .subscription-sec .form__btn {
    height: 40px;
  }

  .subscription-sec .form__input {
    border-radius: 24px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.05);
    height: 40px;
    background: #fff;
  }

  /* h3 */
  h3 { font-size: 20px; }

  /* Promo top line */
  .promo-top-line__text {
    font-size: 13px;
    padding: 0 8px;
  }
  .promo-top-line__text a {
    font-size: inherit;
  }
}

@media (max-width: 480px) {
  /* Cart page product item */
  .cart-sec .product-item {
    grid-template-columns: 80px 1fr;
    gap: 0 12px;
  }

  /* Cart page title */
  .cart-sec__page-title {
    font-size: 24px;
  }

  /* Section title */
  .section-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  /* Footer */
  .footer {
    margin-top: 60px;
  }
  .footer__columns {
    padding: 32px 0;
  }
}

/* ==================== Scroll to top ==================== */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(59,127,239,.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s;
  z-index: 900;
}
.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: #2b6fdf;
}
@media (max-width: 768px) {
  .scroll-top-btn {
    bottom: 20px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* ==================== Checkout success ==================== */
.checkout-success {
  padding-bottom: 80px;
}
.success-sec {
  padding-top: 60px;
}
.success-sec__main-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 560px;
  margin: 0 auto;
}
.sucess-sec__logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.success-sec__text-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.success-sec__page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}
.success-sec__descr {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-secondary);
}
.success-sec__descr a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.success-sec__descr a:hover {
  text-decoration: none;
}
.success-sec__btn {
  min-width: 200px;
}

@media (max-width: 576px) {
  .success-sec {
    padding-top: 40px;
  }
  .success-sec__page-title {
    font-size: 24px;
  }
  .success-sec__btn {
    width: 100%;
  }
}

/* Parts modal */
.parts-modal { position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center; }
.parts-modal[hidden] { display:none; }
.parts-modal__overlay { position:absolute; inset:0; background:rgba(0,0,0,.5); }
.parts-modal__window { position:relative; background:#fff; border-radius:16px; padding:32px; width:min(480px,92vw); max-height:90vh; overflow-y:auto; }
.parts-modal__close-btn { position:absolute; top:16px; right:16px; background:none; border:none; cursor:pointer; color:#222; padding:4px; }
.parts-modal__title { font-size:20px; font-weight:700; margin:0 0 20px; }
.parts-modal__tabs { display:flex; gap:8px; margin-bottom:20px; }
.tabs__btn { flex:1; padding:8px; border:2px solid #ddd; border-radius:8px; background:none; cursor:pointer; font-size:14px; font-weight:500; transition:.2s; }
.tabs__btn.active { border-color:#1a1a1a; background:#1a1a1a; color:#fff; }
.bank-block { display:flex; flex-direction:column; gap:16px; }
.bank-block.hidden { display:none; }
.bank-block__months-row { display:flex; flex-direction:column; gap:8px; }
.bank-block__label { font-size:13px; color:#666; }
.bank-block__slider-wrap { display:flex; align-items:center; gap:12px; }
.bank-block__slider { flex:1; accent-color:#1a1a1a; }
.bank-block__months-val { font-weight:700; font-size:16px; min-width:28px; text-align:center; }
.bank-block__result { display:flex; justify-content:space-between; align-items:center; background:#f5f5f5; border-radius:10px; padding:14px 16px; }
.bank-block__result-label { font-size:14px; color:#444; }
.bank-block__monthly { font-size:22px; font-weight:700; color:#1a1a1a; }
.parts-modal__actions { margin-top:16px; }
.parts-modal__checkout-btn { width:100%; }
