/*!
Theme Name: Lapland shop Theme
Author: Lapland shop Theme
Version: 1.0.0
*/

/* Fonts */
@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("fonts/DMMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("fonts/DMMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

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

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

ul,
li {
  list-style: none;
}

button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

.container {
  position: relative;
  width: 100%;
  max-width: 1650px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

.container--inner {
  max-width: 1204px;
}

*::-webkit-scrollbar {
  -webkit-appearance: none;
  cursor: default;
}

*::-webkit-scrollbar:vertical {
  width: 4px;
  cursor: default;
}

*::-webkit-scrollbar:horizontal {
  height: 4px;
  cursor: default;
}

*::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background-color: var(--main-color);
  cursor: default;
}

*::-webkit-scrollbar-track {
  border-radius: 6px;
  background-color: #efefef;
  cursor: default;
}

html {
  scroll-behavior: smooth;
}

:root {
  --main-color: #e1641a;
  --ink: #233549;
  --muted: #777f87;
  --line: #d1d6da;
  --paper: #f4f6f7;
  --paper-dark: #e9edef;
  --white: #ffffff;
}

body {
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

button,
input,
select {
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
}

.mono,
.eyebrow,
.product-card__article,
.badge,
.footer {
  font-family: "DM Mono", monospace;
}

.eyebrow {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.section-title {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
}

.text-link {
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 600;
}

.button,
.woocommerce-checkout .page-content #payment #place_order,
.woocommerce-account .page-content .woocommerce .button,
.cart-sidebar .woocommerce-mini-cart__buttons .button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  transition: background-color .2s ease;
}

.button:hover,
.woocommerce-checkout .page-content #payment #place_order:hover,
.woocommerce-account .page-content .woocommerce .button:hover,
.cart-sidebar .woocommerce-mini-cart__buttons .button:hover {
  background: var(--main-color);
  color: var(--white);
}

/* Header */
.header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 250, 251, .96);
}

.admin-bar .header {
  top: 32px;
}

.header__inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 28px;
}

.logo {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 700;
}

.logo__mark {
  display: inline-flex;
  width: 38px;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
}

.header__caption {
  padding-left: 25px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px; 
  text-transform: uppercase;
  letter-spacing: .11em;
}

.nav {
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav a {
  transition: color .2s ease;
}

.nav a:hover,
.nav .current-menu-item > a,
.nav .current-menu-ancestor > a,
.nav .current_page_item > a {
  color: var(--main-color);
}

.header__search {
  display: flex;
  width: min(280px, 23vw);
  align-items: center;
  border-bottom: 1px solid #aeb6bc;
}

.header__search input {
  width: 100%;
  padding: 9px 4px;
  font-size: 12px;
}

.header__search button {
  padding: 6px;
  font-size: 18px;
}

.header__search-toggle {
  position: relative;
  display: none;
  width: 38px;
  aspect-ratio: 1;
  flex: none;
  border: 1px solid var(--line);
  background: transparent;
}

.header__search-toggle::before {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 11px;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.header__search-toggle::after {
  position: absolute;
  top: 23px;
  left: 23px;
  width: 7px;
  height: 2px;
  background: var(--ink);
  content: "";
  transform: rotate(45deg);
  transform-origin: left center;
}

.header__search-toggle:focus-visible {
  border-color: var(--main-color);
}

.header__burger {
  position: relative;
  display: none;
  width: 38px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  cursor: pointer;
}

.header__burger:focus-visible {
  border-color: var(--main-color);
}

.header__burger span,
.header__burger span::before,
.header__burger span::after {
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: top .3s ease, bottom .3s ease, transform .3s ease, background-color .2s ease;
}

.header__burger span {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.header__burger span::before,
.header__burger span::after {
  left: 0;
  content: "";
}

.header__burger span::before {
  top: -7px;
}

.header__burger span::after {
  bottom: -7px;
}

.header__burger.is-active span {
  background: transparent;
}

.header__burger.is-active span::before {
  top: 0;
  transform: rotate(45deg);
}

.header__burger.is-active span::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* Promo banner */
.promo {
  display: grid;
  width: 100%;
  max-width: 1920px;
  margin-right: auto;
  margin-left: auto;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, minmax(230px, auto));
  border-bottom: 1px solid var(--line);
}

.promo__item {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 28px;
  border-right: 1px solid var(--paper);
  background: #dfe9dc;
  color: var(--promo-text-color, inherit);
}

.promo__item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  padding: 38px;
}

.promo__item:nth-child(2) {
  grid-column: span 2;
}

.promo__item:last-child {
  color: var(--promo-text-color, var(--white));
}

.promo__image,
.promo__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.promo__image {
  object-fit: cover;
  opacity: .48;
  transition: transform .6s ease;
}

.promo__shade {
  background: linear-gradient(135deg, rgba(240, 243, 241, .95), rgba(240, 243, 241, .12));
}

.promo__content,
.promo__link {
  position: relative;
}

.promo__title {
  max-width: 540px;
  margin-top: 18px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.05;
}

.promo__item:first-child .promo__title {
  font-size: 52px;
}

.promo__text {
  max-width: 300px;
  margin-top: 14px;
  color: var(--promo-text-color, #4f5c66);
  font-size: 16px;
}

.promo__item:last-child .promo__text,
.promo__item:last-child .eyebrow {
  color: var(--promo-text-color, #c8d0d7);
}

.promo__item .eyebrow {
  color: var(--promo-text-color, var(--muted));
}

.promo__link {
  align-self: flex-start;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  transition: border-color .25s ease, transform .25s ease;
}

.promo__item:hover .promo__link,
.promo__item:focus-visible .promo__link {
  border-color: transparent;
  transform: translateX(5px);
}

.promo__item:hover .promo__image,
.promo__item:focus-visible .promo__image {
  transform: scale(1.05);
}

.promo__item:focus-visible {
  box-shadow: inset 0 0 0 2px var(--main-color);
}

/* Catalog */
.shop {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 285px;
}

.catalog-sidebar,
.cart-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  padding-top: 36px;
}

.catalog-sidebar {
  padding-right: 22px;
  border-right: 1px solid var(--line);
}

/* Collapsible catalog categories */
.catalog-categories > summary {
  list-style: none;
  cursor: default;
}

.catalog-categories > summary::-webkit-details-marker {
  display: none;
}

.category-list {
  margin-top: 14px;
}

.category-list a {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #e0e4e7;
  color: #626d75;
  text-align: left;
  font-size: 14px;
}

.category-list a:hover,
.category-list a.is-active {
  color: var(--ink); 
}

.category-list span {
  color: #989fa5;
  font: 11px "DM Mono", monospace;
}

.download-price {
  display: block;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}

.download-price__title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.download-price__title span {
  transition: transform .25s ease;
}

.download-price:hover .download-price__title span {
  transform: translateX(4px);
}

.download-price small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

.catalog {
  min-width: 0;
  padding: 36px 30px 60px;
}

.catalog__title-row,
.catalog__meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.catalog__title-row {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.catalog__title-row > div {
  min-width: 0;
}

.catalog__title {
  margin-top: 10px;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.catalog__sort {
  flex: none;
  padding: 8px 10px;
  border: 1px solid #b9c0c5;
  font-size: 11px;
}

.catalog__meta {
  margin: 18px 0;
  color: var(--muted);
  font-size: 11px;
}

.catalog__meta strong {
  color: var(--ink);
}

/* Shop and category archives */
.catalog--archive .woocommerce-ordering {
  margin: 0;
}

.catalog--archive .woocommerce-ordering select {
  min-width: 210px;
  padding: 8px 32px 8px 10px;
  border: 1px solid #b9c0c5;
  background: var(--paper);
  font-size: 11px;
}

.catalog__description {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.woocommerce .products.products--catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 12px;
  margin: 0;
}

.woocommerce .products.products--catalog::before,
.woocommerce .products.products--catalog::after {
  display: none;
}

.woocommerce .products.products--catalog .product-card {
  float: none;
  width: auto;
  margin: 0;
}

.product-card__price del {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.product-card__price ins {
  text-decoration: none;
}

.product-card__actions {
  margin-top: 11px;
}

/* Product card quantity */
.product-card__quantity,
.cart-quantity {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  min-height: 42px;
  margin-bottom: 6px;
  border: 1px solid var(--line);
}

.product-card__quantity .quantity,
.cart-quantity .quantity {
  display: flex;
  min-width: 0;
}

.woocommerce .product-card__quantity .quantity .qty,
.woocommerce .cart-quantity .quantity .qty {
  width: 100%;
  min-width: 0;
  border: 0;
  text-align: center;
  font-size: 14px;
  appearance: textfield;
}

.product-card__quantity .qty::-webkit-inner-spin-button,
.product-card__quantity .qty::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.product-card__quantity .quantity__button,
.cart-quantity .quantity__button {
  width: auto;
}

.product-card__quantity .quantity__button:disabled,
.cart-quantity .quantity__button:disabled {
  color: var(--muted);
  background: none;
  cursor: default;
}

.product-card__quantity :focus-visible,
.cart-quantity :focus-visible {
  outline: 2px solid var(--main-color);
  outline-offset: -2px;
}

/* Cart table quantity */
.cart-quantity {
  width: 140px;
  max-width: 100%;
  margin: 0 0 0 auto;
}

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

/* Guest catalog access */
.price-login-link {
  display: inline-block;
  color: var(--main-color);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.price-login-link:hover {
  color: var(--ink);
}

/* Product card purchase */
.woocommerce .products .product-card .product-card__actions .button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 9px 12px;
  border-radius: 0;
  background: var(--ink);
  color: var(--white);
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.woocommerce .products .product-card .product-card__actions .button:hover {
  background: var(--main-color);
  color: var(--white);
}

.woocommerce .product-card__actions .added_to_cart {
  display: block;
  margin-top: 8px;
  color: var(--main-color);
  font-size: 11px;
  font-weight: 600;
}

.catalog--archive .woocommerce-pagination {
  margin-top: 45px;
}

.catalog--archive .woocommerce-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 0;
}

.catalog--archive .woocommerce-pagination ul.page-numbers li {
  border: 0;
}

.catalog--archive .woocommerce-pagination .page-numbers a,
.catalog--archive .woocommerce-pagination .page-numbers span {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
}

.catalog--archive .woocommerce-pagination .page-numbers .current,
.catalog--archive .woocommerce-pagination .page-numbers a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.catalog-empty {
  padding: 70px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.catalog-empty h2 {
  font-size: 24px;
  font-weight: 500;
}

.catalog-empty p {
  margin-top: 8px;
  color: var(--muted);
}

.catalog-empty .text-link {
  display: inline-block;
  margin-top: 16px;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 12px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-card__picture {
  flex-shrink: 0;
  position: relative;
  display: block;
  aspect-ratio: .9;
  overflow: hidden;
  background: #e4e8ea;
}

.product-card__picture img,
.woocommerce ul.products li.product .product-card__picture img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform .35s ease;
}

.product-card:hover .product-card__picture img {
  transform: scale(1.035);
}

.badge {
  display: inline-block;
  padding: 4px 6px;
  border: 1px solid #c8ced2;
  color: #626b72;
  background: rgba(255, 255, 255, .88);
  font-size: 11px;
  text-transform: uppercase;
}

.product-card__picture .badge {
  position: absolute;
  top: 8px;
  left: 8px;
  max-width: calc(100% - 16px);
  overflow-wrap: anywhere;
}

/* Custom product label */
.badge--label {
  border-color: var(--main-color);
  background: var(--main-color);
  color: var(--white);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 11px;
}

/* Keep the purchase area aligned at the bottom of each grid row. */
.product-card__purchase {
  margin-top: auto;
  padding-top: 10px;
}

.product-card__top,
.product-card__total,
.product-card__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-card__article {
  color: #8a9298;
  font-size: 10px;
}

.product-card__title {
  min-height: 42px;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 500;
}

.product-card__note {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.product-card__price {
  margin-top: 0;
  padding: 6px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font: 12px/1.5 "DM Mono", monospace;
}

.product-card__price b {
  color: var(--main-color);
  font-size: 14px;
  font-weight: 500;
}

.product-card__total {
  margin-top: 11px;
}

.counter {
  display: inline-flex;
  min-width: 92px;
  height: 32px;
  align-items: center;
  border: 1px solid #b9c0c5;
}

.counter button {
  width: 31px;
  align-self: stretch;
  font-size: 17px;
}

.counter button:hover {
  background: var(--paper-dark);
}

.counter span {
  flex: 1;
  text-align: center;
  font: 10px "DM Mono", monospace;
}

.product-card__sum {
  text-align: right;
  font-size: 10px;
}

.product-card__sum span {
  display: block;
  color: var(--muted);
}

.load-more {
  display: block;
  text-align: center;
  width: 100%;
  margin-top: 38px;
  padding: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.catalog-section {
  margin-top: 60px;
}

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

.load-more:disabled {
  cursor: wait;
  opacity: .6;
}

/* Brands */
.brands-page {
  padding: 40px 0 60px;
}

.brands-all {
  display: inline-block;
  margin-top: 20px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand-group {
  display: flex;
  min-height: 145px;
  gap: 18px;
  padding: 20px 16px;
  border-right: 1px solid var(--line);
}

.brand-group:nth-child(4n) {
  border-right: 0;
}

.brand-group:nth-child(n+5) {
  border-top: 1px solid var(--line);
}

.brand-group__letter {
  color: var(--main-color);
  font-size: 30px;
}

.brand-group ul {
  color: #58636c;
  font-size: 11px;
  line-height: 1.9;
}

.brand-group a:hover {
  color: var(--main-color);
}

/* Recommended product grids */
.woocommerce .products.products--catalog.products--recommended {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
}

.recommended-empty {
  margin-top: 24px;
  color: var(--muted);
}

.recommended-page {
  padding: 40px 0 60px;
}

.recommended-page h1 {
  margin-bottom: 28px;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.blog-card__image {
  display: block;
  aspect-ratio: 1.55;
  overflow: hidden;
  background: var(--paper-dark);
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.blog-card:hover img {
  transform: scale(1.03);
}

.blog-card .eyebrow {
  margin-top: 13px;
}

.blog-card h3 {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
}

.blog-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* Blog article */
.blog-article {
  padding: 40px 0 60px;
}

.blog-article__head {
  margin-bottom: 28px;
}

.blog-article__head h1 {
  margin-top: 12px;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.blog-article__image {
  margin-bottom: 32px;
}

.blog-article__image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.blog-article__content {
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.blog-article__content > * + * {
  margin-top: 16px;
}

.blog-article__content :is(h2, h3, h4, h5, h6) {
  margin: 32px 0 16px;
  font-weight: 500;
  line-height: 1.35;
}

.blog-article__content h2 { font-size: 28px; }
.blog-article__content h3 { font-size: 24px; }
.blog-article__content h4 { font-size: 20px; }
.blog-article__content :is(h5, h6) { font-size: 18px; }

.blog-article__content :is(ul, ol) {
  padding-left: 24px;
}

.blog-article__content ul > li { list-style: disc; }
.blog-article__content ol > li { list-style: decimal; }
.blog-article__content li::marker { color: var(--main-color); }
.blog-article__content li :is(ul, ol) { margin-top: 12px; }
.blog-article__content li + li { margin-top: 8px; }

.blog-article__content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-article__content a:hover,
.blog-article__navigation a:hover {
  color: var(--main-color);
}

.blog-article__content blockquote {
  padding: 20px 24px;
  border-left: 3px solid var(--main-color);
  background: var(--paper-dark);
}

.blog-article__content :is(figcaption, cite) {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.blog-article__content .wp-block-table,
.blog-article__content pre {
  overflow-x: auto;
}

.blog-article__content table {
  width: 100%;
  border-collapse: collapse;
}

.blog-article__content :is(th, td) {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.blog-article__content th {
  background: var(--paper-dark);
}

.blog-article__content pre {
  padding: 20px;
  background: var(--paper-dark);
}

.blog-article__content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

.blog-article__navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.blog-article__navigation a {
  display: grid;
  gap: 10px;
  font-size: 18px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  transition: color .2s;
}

.blog-article__next {
  grid-column: 2;
  text-align: right;
}

/* Blog page */
.blog-page { 
  padding: 55px 0 70px;
}
 

.blog-page__head h1 {
  margin-top: 10px;
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
}

.blog-page .blog-grid {
  margin-top: 36px;
}

.navigation.pagination {
  margin-top: 45px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

a.page-numbers,
span.page-numbers {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
}

span.page-numbers.current,
a.page-numbers:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

/* Company intro */
.company-intro {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 40px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 2px solid var(--ink);
}

.company-intro h2 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.company-intro__text {
  color: #5d6870;
  line-height: 1.8;
}

.company-intro__text p + p {
  margin-top: 12px;
}

/* Product page */
.product-page {
  padding: 38px 0 70px;
}

.product-page__back {
  display: inline-block;
}

.product-view {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 55px;
  margin-top: 28px;
}

.product-view__main-image {
  position: relative;
  display: block;
  aspect-ratio: 1.05;
  overflow: hidden;
  background: var(--paper-dark);
}

.product-view__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-view__stock {
  position: absolute;
  top: 16px;
  left: 16px;
}

.product-view__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.product-view__thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e2e6e8;
}

.product-view__thumb.is-active {
  border: 2px solid var(--ink);
}

.product-view__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-view__top,
.product-view__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.product-view__title {
  margin-top: 18px;
  font-size: 46px;
  font-weight: 500;
  line-height: 1.05;
}

.product-view__manufacturer {
  margin-top: 12px;
  color: var(--muted);
}

.product-view__description {
  margin-top: 24px;
  color: #5f6971;
  line-height: 1.8;
}

.product-view__description p + p {
  margin-top: 12px;
}

.product-view__price {
  margin-top: 26px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-view__price b {
  color: var(--main-color);
  font-size: 18px;
  font-weight: 500;
}

.product-view__price del {
  margin-right: 8px;
  color: var(--muted);
}

.product-view__price ins {
  text-decoration: none;
}

.product-view__actions {
  margin-top: 22px;
}

.product-view__actions form.cart {
  display: flex;
  align-items: center;
  gap: 14px;
}

.product-view__actions .stock {
  display: none;
}

.product-view__actions .quantity {
  display: inline-flex;
  min-height: 42px;
  align-items: stretch;
  border: 1px solid #b9c0c5;
}

.product-view__actions .qty {
  width: 46px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  text-align: center;
  font: 10px "DM Mono", monospace;
  appearance: textfield;
}

.product-view__actions .qty::-webkit-inner-spin-button,
.product-view__actions .qty::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.quantity__button {
  width: 34px;
  font-size: 17px;
}

.quantity__button:hover {
  background: var(--paper-dark);
}

.woocommerce .product-view__actions form.cart button.single_add_to_cart_button {
  min-height: 42px;
  padding: 10px 20px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
}

.woocommerce .product-view__actions form.cart button.single_add_to_cart_button:hover {
  background: var(--main-color);
}

.product-view__order-note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
}

.product-view__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.product-view__facts span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.product-description {
  display: grid;
  grid-template-columns: minmax(180px, .45fr) 1fr;
  gap: 35px;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.product-description h2 {
  font-size: 28px;
  font-weight: 500;
}

.product-description__text {
  grid-column: 2;
  color: #5f6971;
  line-height: 1.8;
}

.product-description__text p + p {
  margin-top: 12px;
}

/* Customer discount */
.customer-discount-active .wc-block-components-product-price del {
  display: none;
}

.customer-discount {
  display: inline-block;
  color: var(--muted);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}

/* Cart */
.cart-sidebar {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.cart-sidebar__head,
.cart-sidebar__item,
.cart-sidebar__result {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cart-sidebar__head {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.cart-sidebar__head h2 {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 500;
}

.cart-sidebar__items {
  border-bottom: 1px solid var(--line);
}

.cart-sidebar__item {
  padding: 16px 0;
  border-bottom: 1px solid #e0e4e7;
  font-size: 11px;
}

.cart-sidebar__item:last-child {
  border-bottom: 0;
}

.cart-sidebar__item b {
  display: block;
  margin-top: 3px;
}

.cart-sidebar__result {
  padding: 18px 0;
  font-size: 16px;
}

.cart-sidebar .woocommerce-mini-cart__buttons .button {
  width: 100%;
  border-radius: 0;
  line-height: 1.4;
}

/* WooCommerce sidebar cart */
.cart-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(100dvh - 106px);
}

.cart-sidebar__head,
.cart-sidebar .woocommerce-mini-cart__total,
.cart-sidebar .woocommerce-mini-cart__buttons {
  flex-shrink: 0;
}

.cart-sidebar .widget_shopping_cart_content {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.cart-sidebar ul.woocommerce-mini-cart {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
}

.cart-sidebar ul.woocommerce-mini-cart li.woocommerce-mini-cart-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.cart-sidebar .woocommerce-mini-cart .woocommerce-mini-cart-item::before,
.cart-sidebar .woocommerce-mini-cart .woocommerce-mini-cart-item::after {
  content: none;
}

.cart-sidebar .woocommerce-mini-cart .sidebar-cart__image img {
  float: none;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin: 0;
  filter: grayscale(1);
}

.cart-sidebar .woocommerce-mini-cart .sidebar-cart__name {
  display: block;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.cart-sidebar .woocommerce-mini-cart-item .quantity {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.cart-sidebar .woocommerce-mini-cart-item a.remove {
  display: grid;
  place-items: center;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 0;
  color: var(--muted) !important;
  background: none;
  font-size: 14px;
  font-weight: 400;
  transition: color .2s;
}

.cart-sidebar .woocommerce-mini-cart-item a.remove:hover {
  color: var(--main-color) !important;
  background: none;
}

.cart-sidebar .woocommerce-mini-cart__total,
.cart-sidebar .woocommerce-mini-cart__empty-message {
  padding: 18px 0;
}

.cart-sidebar .woocommerce-mini-cart__buttons {
  display: grid;
  gap: 8px;
}

/* Cart drawer */
.cart-drawer__toggle {
  position: fixed;
  z-index: 30;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 52px;
  aspect-ratio: 1;
  background: var(--ink);
  color: var(--white);
  border: 0;
  transition: background-color .2s ease;
}

.cart-drawer__toggle:hover {
  background: var(--main-color);
}

.cart-drawer__toggle:focus-visible {
  outline: 2px solid var(--main-color);
  outline-offset: -4px;
}

/* Lucide shopping-cart icon */
.cart-drawer__icon {
  width: 24px;
  aspect-ratio: 1;
  background: currentColor;
  mask: url("img/shopping-cart.svg") center / contain no-repeat;
}

body.cart-drawer-open {
  overflow: hidden;
}

.cart-drawer {
  --drawer-duration: .55s;
  --drawer-easing: cubic-bezier(.4, 0, .2, 1);
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: hidden;
}

.cart-drawer::backdrop {
  background: rgb(0 0 0 / 0%);
  transition: background-color var(--drawer-duration) var(--drawer-easing);
}

.cart-drawer.is-open::backdrop {
  background: rgb(0 0 0 / 35%);
}

.cart-drawer__panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(420px, 100%);
  height: 100%;
  margin-left: auto;
  padding: 24px;
  background: var(--paper);
  overflow: hidden;
  transform: translateX(100%);
}

.cart-drawer.is-open .cart-drawer__panel {
  transform: translateX(0);
}

.cart-drawer__close {
  flex-shrink: 0;
  display: block;
  margin-left: auto;
  padding: 4px 8px;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.cart-drawer .cart-sidebar {
  flex: 1;
  max-height: none;
  position: static;
  padding: 0;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .cart-drawer__panel,
  .cart-drawer::backdrop {
    transition: none;
  }
}

/* About page: hero and company copy */
.about-hero {
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
  background: #e3e9e8;
}

.about-hero__inner,
.about-copy,
.about-work {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
}

.about-hero__inner {
  align-items: end;
}

.about-hero h1 {
  margin-top: 18px;
  font-size: 68px;
  font-weight: 500;
  line-height: .98;
  overflow-wrap: anywhere;
}

.about-hero__text,
.about-copy__text {
  color: #58656d;
  line-height: 1.85;
}

.about-page {
  padding: 60px 0 80px;
}

.about-copy {
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.about-copy h2 {
  font-size: 30px;
  font-weight: 500;
}

.about-copy__text p + p {
  margin-top: 16px;
}

/* About page: statistics */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 26px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-size: 38px;
  font-weight: 500;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

/* About page: workflow and manager */
.about-work {
  margin-top: 60px;
}

.steps {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.step h3 {
  font-size: 16px;
  font-weight: 600;
}

.step p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.manager-callout {
  padding: 30px;
  color: var(--white);
  background: var(--ink);
}

.manager-callout h2 {
  margin-top: 14px;
  font-size: 27px;
  font-weight: 500;
}

.manager-callout p {
  margin-top: 14px;
  color: #cbd2d7;
}

.manager-callout .button {
  margin-top: 24px;
  border-color: var(--white);
  text-align: center;
}

/* Footer */
.footer {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* WooCommerce success notices */
.woocommerce-message {
  border-top-color: var(--main-color);
}

.woocommerce-message::before {
  color: var(--main-color);
}

/* Price page heading and layout */
.price-page {
  padding: 40px 0 60px;
}

.price-page__heading h1 {
  margin: 12px 0;
  font-size: 32px;
}

.price-page__heading > p:last-child,
.price-page__date {
  color: var(--muted);
  font-size: 14px;
}

.price-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
  margin-top: 36px;
  align-items: start;
}

/* Price table */
.price-page__table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.price-table th,
.price-table td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.price-table th {
  background: var(--paper-dark);
  color: var(--muted);
  font: 11px "DM Mono", monospace;
  text-transform: uppercase;
}

.price-table td:first-child {
  font: 11px "DM Mono", monospace;
}

.price-table th:last-child,
.price-table td:last-child {
  text-align: right;
}

.price-table td:last-child {
  color: var(--main-color);
}

.price-table a:hover {
  color: var(--main-color);
}

.price-page__empty {
  padding-top: 20px;
}

/* Price download sidebar */
.price-page__download {
  position: sticky;
  top: 90px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper-dark);
}

.price-page__download h2 {
  margin: 12px 0 20px;
  font-size: 22px;
  font-weight: 500;
}

.price-page__download .button {
  width: 100%;
  border-radius: 0;
}

.price-page__date {
  margin-top: 16px;
  font-size: 12px;
}

/* Price download format selector */
.price-download__formats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
  border: 0;
}

.price-download__formats label {
  display: grid;
  cursor: pointer;
}

.price-download__formats input {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.price-download__formats span {
  grid-area: 1 / 1;
  padding: 10px;
  border: 1px solid var(--line);
  text-align: center;
  pointer-events: none;
  transition: background-color .2s, color .2s;
}

.price-download__formats input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.price-download__formats input:focus-visible + span {
  outline: 2px solid var(--main-color);
  outline-offset: 2px;
}

/* Checkout columns: customer details and order review. */
.checkout-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px;
  align-items: start;
}

.checkout-layout h3 {
  margin-bottom: 16px;
  font-size: 18px;
}

/* Checkout confirmation button */
.woocommerce-checkout .page-content #payment #place_order {
  float: none;
  width: auto;
  margin: 16px 0 0;
  border-radius: 0;
  font-size: 15px;
  line-height: 1.4;
}

.woocommerce-checkout .page-content #payment #place_order:focus-visible {
  outline: 2px solid var(--main-color);
  outline-offset: 3px;
}

/* Checkout summary: hide subtotal, keep the final total. */
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart-subtotal {
  display: none;
}

/* Checkout country: keep the value for order processing. */
.woocommerce-checkout #billing_country_field,
.woocommerce-checkout #shipping_country_field {
  display: none !important;
}

/* Checkout and account page spacing */
.woocommerce-checkout .page-content,
.woocommerce-account .page-content {
  padding: 40px 0 60px;
}

.woocommerce-checkout .content > h1,
.woocommerce-account .content > h1 {
  margin-bottom: 28px;
}

/* Account form buttons */
.woocommerce-account .page-content .woocommerce .button {
  border-radius: 0;
  font-size: 15px;
  line-height: 1.4;
}

.woocommerce-account .page-content .woocommerce .button:focus-visible {
  outline: 2px solid var(--main-color);
  outline-offset: 3px;
}

/* Account tabs */
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content {
  float: none;
  width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 12px 0;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  transition: color .2s, border-color .2s;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  color: var(--main-color);
  border-bottom-color: var(--main-color);
}

.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible {
  outline: 2px solid var(--main-color);
  outline-offset: 3px;
}

/* Account profile overview */
.account-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 50px;
}

.account-profile__heading {
  margin-bottom: 24px;
}

.account-profile__heading h1 {
  margin-top: 18px;
}

.account-profile__subtitle {
  margin-top: 12px;
  color: var(--muted);
}

.account-profile__section + .account-profile__section {
  margin-top: 34px;
}

.account-profile__section h2 {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}

.account-profile__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.account-profile__fields dt {
  color: var(--muted);
  font: 11px "DM Mono", monospace;
  text-transform: uppercase;
}

.account-profile__fields dd {
  margin: 8px 0 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.account-profile__aside {
  align-self: start;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper-dark);
}

.account-profile__aside h2 {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 500;
}

.account-profile__discount {
  margin-top: 12px;
  color: var(--main-color);
  font-size: 28px;
}

/* Cart page */
.woocommerce-cart .page-content {
  padding-top: 40px;
}

.breadcrumbs {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.breadcrumbs a:hover {
  color: var(--main-color);
}

.woocommerce-cart .content > h1 {
  margin-bottom: 28px;
}

.woocommerce-cart .cart-collaterals,
.woocommerce-cart .cart-collaterals .cart_totals {
  width: 100%;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  float: none;
}

.woocommerce-cart td.product-quantity .cart-quantity {
  margin-right: auto;
  margin-left: auto;
}

.woocommerce-cart th.product-quantity {
  text-align: center;
}

.woocommerce-cart table.cart td.actions {
  display: none;
}

.woocommerce-cart .cart_totals > h2 {
  display: none;
}

.woocommerce-cart .cart_totals table.shop_table {
  width: min(560px, 100%);
  margin: 24px auto 0;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.woocommerce-cart .cart_totals table.shop_table tr:not(.cart-subtotal) {
  display: none;
}

.woocommerce-cart .cart_totals .cart-subtotal th,
.woocommerce-cart .cart_totals .cart-subtotal td {
  padding: 20px 0;
  border: 0;
  background: transparent;
  font-size: 16px;
}

.woocommerce-cart .cart_totals .cart-subtotal th {
  width: 50%;
  padding-right: 32px;
  font-weight: 400;
  text-align: right;
}

.woocommerce-cart .cart_totals .cart-subtotal td {
  width: 50%;
  padding-left: 32px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.woocommerce-cart .wc-proceed-to-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px 0 60px;
}

.woocommerce-cart .wc-proceed-to-checkout::before,
.woocommerce-cart .wc-proceed-to-checkout::after {
  display: none;
}

.woocommerce-cart .woocommerce .wc-proceed-to-checkout .cart-actions__catalog,
.woocommerce-cart .woocommerce .wc-proceed-to-checkout .checkout-button {
  width: auto;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  transition: color .2s ease, background-color .2s ease;
}

.woocommerce-cart .wc-proceed-to-checkout .cart-actions__catalog {
  background: transparent;
  color: var(--ink);
}

.woocommerce-cart .woocommerce .wc-proceed-to-checkout .checkout-button {
  background: #000;
  color: #fff;
}

.woocommerce-cart .woocommerce .wc-proceed-to-checkout .cart-actions__catalog:hover,
.woocommerce-cart .woocommerce .wc-proceed-to-checkout .checkout-button:hover {
  border-color: var(--main-color);
  background: var(--main-color);
  color: #fff;
}

.woocommerce-cart .wc-proceed-to-checkout .cart-actions__catalog:focus-visible,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:focus-visible {
  outline: 2px solid var(--main-color);
  outline-offset: 3px;
}
/* Cart page end */


.modal:not(.fancybox-content) {
    display: none;
}

.modal {
    padding: 72px 64px; 
    color: var(--white);
    background: var(--ink);
    max-width: 580px;
}
.modal .button { 
    border-color: var(--white);
    text-align: center;
    cursor: pointer;
    font-family: "Manrope";
    font-weight: 400;
}

.modal-title {
    margin-bottom: 10px;
    font-size: 27px;
    font-weight: 500;
}

.modal-title + p {
    margin-bottom: 24px;
    color: #cbd2d7; 
}

.form__field {
    font-size: 16px; 
    height: 42px;
    width: 100%; 
    padding: 12px 16px;
    color: #000;
    background: #FFFFFF;
    border: 1px solid rgba(0,0,0, 0.3);  
    transition: all .15s;
    outline: none;
    font-family: "Manrope";
}
 
.form__field.error { 
    border: 1px solid red!important;
}
   
.form__field:focus, .form__field:hover,
.modal .form__field:focus, .modal .form__field:hover {
    border: 1px solid var(--main-color);
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-check-label span {
    line-height: 1.5;
}

.form-check-label span a {
    color: var(--main-color);
    text-decoration: underline;
}

.form-check-label span a:hover { 
    text-decoration: none;
}

.form-check-label span i { 
    color: red;
}

.form-check span {
    display: block;
    position: relative;
    padding-left: 32px; 
}  

.form-check-label .form-check-input {
    position: absolute;
    opacity: 0;
}

.form-check-label span:before, .form-check-label span:after {
    content: '';
    position: absolute; 
    left: 0;
    top: 4px;
    transition: 0.15s ease-in-out;
    cursor: pointer; 
}

.form-check-label span:before {
    width: 22px;
    height: 22px;
    background: transparent;
    border: 1px solid #B5B8BC;
    border-radius: 4px;
}

.form-check-input[type=checkbox] + span:after {
    width: 10px;
    height: 5px;
    margin: 8px 0 0 9px;
    border-style: solid;
    border-color: #fff;
    border-width: 0 0 2px 2px;
    opacity: 0;
    transform: rotate(-45deg) translateY(-50%);
}

.form-check-input:checked + span:after {
    opacity: 1;
}

.form-check-input:checked + span::before {
    border: 1px solid var(--main-color);
    background: var(--main-color);
}
