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

body a {
  text-decoration: none;
}

/* Подключаем шрифт */
@font-face{
    font-family: "Swansea";
    src: url("/fonts/SwanseaBoldItalic-p3Dv.ttf") format("truetype");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
  }

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

  @font-face{
    font-family: "CourierPrime";
    src: url("/fonts/courier-prime/courier-prime-italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
  }

  @font-face{
    font-family: "CourierPrime";
    src: url("/fonts/courier-prime/courier-prime-bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face{
    font-family: "CourierPrime";
    src: url("/fonts/courier-prime/courier-prime-bold-italic.ttf") format("truetype");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
  }
  
  /* Настройки */
  :root{
    --side-letter-size: 117px;
    --side-letter-opacity: 1;
    --side-letter-color: #000000;
    --side-letter-padding-top: 16px;
    --side-letter-padding-right: 26px;
    --side-letter-padding-bottom: 16px;
    --side-letter-padding-left: 16px;
  }
  
  .side-letters{
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    font-family: "Swansea", system-ui, -apple-system, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .side-letters .sl{
    position: absolute;
    font-weight: 700;
    font-style: italic;
    font-size: var(--side-letter-size);
    line-height: 1;
    color: var(--side-letter-color);
    opacity: var(--side-letter-opacity);
    letter-spacing: 0;
  }
  
  /* Расположение по углам */
  .sl--tl{ top: var(--side-letter-padding-top); left: var(--side-letter-padding-left); }
  .sl--tr{ top: var(--side-letter-padding-top); right: var(--side-letter-padding-right); }
  .sl--bl{ bottom: var(--side-letter-padding-bottom); left: var(--side-letter-padding-left); }
  .sl--br{ bottom: var(--side-letter-padding-bottom); right: var(--side-letter-padding-right); }
  
  /* Скрываем на мобилках */
  @media (max-width: 768px){
    .side-letters{ display: none; }
  }

  /* Стили для шапки */
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    width: 100%;
  }

  .site-header-logo {
    display: flex;
    align-items: center;
  }

  .site-header-title {
    font-family: "CourierPrime", system-ui, -apple-system, Arial, sans-serif;
    font-size: 18px;
    line-height: 24px;
    color: #212121;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }

  .site-header-phones {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
  }

  .header-phone-link {
    font-family: "CourierPrime", system-ui, -apple-system, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #212121;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
    letter-spacing: 0.3px;
    position: relative;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .header-phone-link .phone-icon {
    flex-shrink: 0;
    fill: currentColor;
    transition: fill 0.2s ease;
  }

  .header-phone-link:hover {
    color: #000000;
    opacity: 1;
  }

  .header-phone-link:hover .phone-icon {
    fill: #000000;
  }

  .header-phone-link:active {
    opacity: 0.8;
  }

  @media (max-width: 768px) {
    .site-header {
      flex-direction: column;
      gap: 15px;
      padding: 15px 0;
      align-items: flex-start;
    }

    .site-header-title {
      font-size: 16px;
    }

    .site-header-phones {
      gap: 20px;
      width: 100%;
      justify-content: flex-start;
    }

    .header-phone-link {
      font-size: 14px;
    }
  }

  .collection-list-shortcut {
    margin-bottom: 40px;
  }

  .collection-list-shortcut a {
    text-decoration: none;
    color: #000000;
    display: block;
    width: 100px;
    margin: 0 20px;
  }

  .collection-list-shortcut a .collection-list-shortcut-circle {
    width: 100px;
    height: 100px;
    padding: 10px;
    border-radius: 50px;
    -webkit-transform: none !important;
    transform: none !important;
    background: #0000000a;
  }

  .collection-list-shortcut a .collection-list-shortcut-circle-title {
    text-align: center;
    font-size: 15px;
    line-height: 18px;
    margin: 18px -12px 0;
    text-decoration: none;
    color: #000000;
    font-family: "CourierPrime", system-ui, -apple-system, Arial, sans-serif;
  }

  .collection-list-shortcut a .collection-list-shortcut-circle .img {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .collection-list-shortcut a:first-of-type .collection-list-shortcut-circle .img{
    background-size: cover;
  }

  main.wrapper-main-content {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    min-height: 100vh;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 120px;
  }

  /* Обертка для контента с ограничением ширины */
  .content-wrapper {
    max-width: 80%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 20px;
    padding-left: 20px;
  }

  .collection-heading {
    margin: 0 0 24px;
  }


  .collection-heading-text {
    margin: 0 0 40px;
  }

  .collection-heading .collection-heading-text p {
    font-family: CourierPrime, Courier, monospace;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
    margin: 0 auto;
    max-width: 700px;
    color: #000000de;
    letter-spacing: 0;
  }

  .main-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  .collection-heading .main-top .filters.left a {
    margin-right: 16px;
    font-family: "CourierPrime", system-ui, -apple-system, Arial, sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: #212121;
    text-decoration: none;
  }

  .collection-heading .main-top .filters.left a:last-child {
      margin-right: 0;
  }

  .btn-filters.active span.label {
    text-decoration: underline;
  }

  .main-top-title {
    position: relative;
    top: 5px;
    display: inline-block;
    vertical-align: middle;
    font-family: Baton, sans-serif;
    font-weight: 500;
    font-size: 24px;
    letter-spacing: 1.4px;
    font-style: italic;
    margin: 0;
    text-transform: uppercase;
    font-family: "CourierPrime", system-ui, -apple-system, Arial, sans-serif;
}

.collection-heading .main-top .filters.right {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.collection-heading .main-top .filters {
  text-align: left;
  width: 250px;
  white-space: nowrap;
}

.main-top .layout {
  display: flex;
  justify-content: flex-end;
}

svg {
  max-width: 100%;
  max-height: 100%;
}

.main-top .layout a:first-child {
  margin-right: 16px;
}

.main-top .layout a {
  width: 24px;
  height: 24px;
}

.filters.right p {
  font-family: "CourierPrime", system-ui, -apple-system, Arial, sans-serif;
  font-size: 13px;
  line-height: 13px;
  color: #212121;
  letter-spacing: 0;
  margin-bottom: 0;
}

.collection-heading .main-top .filters.right .layout {
  margin-left: 16px;
  flex: 0;
}

.main-top .layout a.active svg path {
  stroke: #1a1a1a;
}

.container.collection-list {
  width: 100%;
}

.container {
  max-width: 1600px;
  width: 80%;
}

.container.collection-list>.row {
  display: flex;
  flex-wrap: wrap;
}

.collection-list .product-item {
  margin: 0;
  padding: 0;
  height: 100%;
}

.product-item>.product-item-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  padding-bottom: 28px;
}

.product-item-image .pad-ratio-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.product-item-image {
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.product-item-image:before {
  content: '';
  display: block;
  padding-top: 133.335%;
}

.product-item-image img {
  width: 100%;
}


@media (min-width: 1400px){
  .container.collection-list {
    max-width: 100% !important;
  }
}

.collection-v2 .product-infos .product-title {
  line-height: 16px !important;
  font-size: 14px !important;
  margin-bottom: 0 !important;
  font-family: "CourierPrime";
  font-style: italic;
  color: #212121;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none !important;
}

.jauge .jauge-text {
  min-height: auto;
  line-height: unset;
  margin-top: 10px;
}

.collection-v2 .reveal {
  position: absolute;
  bottom: 0;
}


.collection-v2 .reveal:hover img.hidden {
  z-index: 10;
}

.reveal .hidden {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 2;
}

.reveal:hover .hidden {
  z-index: 100000;
  opacity: 1;
  background-color: #fcf0ea !important;
}

.product-item-image .text-hover {
  position: absolute;
  z-index: 15;
  top: 15px;
  left: 4px;
  right: 4px;
  text-align: center;
  pointer-events: none;
}

.product-item .product-infos {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  height: auto;
  padding-bottom: 0;
}

.collection-v2 .product-item .product-infos .product-description {
  display: none;
  margin-bottom: 0;
}

.money {
  font-family: "CourierPrime";
  font-weight: 400;
  font-size: 13px;
  line-height: 16px;
  color: #212121;
  text-decoration: none !important;
  margin-top: 10px;
  text-transform: uppercase;
}

.collection-v2 .product-item .product-infos .text-hover.n2 {
  position: static;
  display: none;
}

.product-item-image .text-hover.n1{
  font-family: "CourierPrime";
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  line-height: 16px;
  color: #212121;
  text-decoration: none !important;
  letter-spacing: 1.26px;
}

.main-content.type-large .products-section {
  width: 16.666666666666667%;
}

/* Popup для обратной связи */
.contact-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.contact-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.contact-popup {
  background-color: #ffffff;
  border-radius: 8px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.contact-popup-overlay.active .contact-popup {
  transform: scale(1);
}

.contact-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: #212121;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  z-index: 1;
  font-family: "CourierPrime", system-ui, -apple-system, Arial, sans-serif;
}

.contact-popup-close:hover {
  color: #000000;
}

.contact-popup-content {
  padding: 40px 30px;
}

.contact-popup-title {
  font-family: "CourierPrime", system-ui, -apple-system, Arial, sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 24px;
  line-height: 1.2;
  color: #212121;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin: 0 0 10px 0;
}

.contact-popup-subtitle {
  font-family: "CourierPrime", system-ui, -apple-system, Arial, sans-serif;
  font-size: 13px;
  line-height: 18px;
  color: #212121;
  margin: 0 0 30px 0;
  opacity: 0.8;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: "CourierPrime", system-ui, -apple-system, Arial, sans-serif;
  font-size: 13px;
  line-height: 18px;
  color: #212121;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  font-family: "CourierPrime", system-ui, -apple-system, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #212121;
  padding: 12px 15px;
  border: 1px solid #0000001a;
  border-radius: 4px;
  background-color: #ffffff;
  transition: border-color 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #212121;
}

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

.contact-submit-btn {
  font-family: "CourierPrime", system-ui, -apple-system, Arial, sans-serif;
  font-size: 13px;
  line-height: 18px;
  color: #ffffff;
  background-color: #212121;
  border: 1px solid #212121;
  padding: 14px 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  margin-top: 10px;
  border-radius: 4px;
}

.contact-submit-btn:hover {
  background-color: #000000;
  border-color: #000000;
}

.contact-submit-btn:active {
  transform: translateY(1px);
}

@media (max-width: 768px) {
  .contact-popup {
    max-width: 100%;
    margin: 10px;
  }

  .contact-popup-content {
    padding: 30px 20px;
  }

  .contact-popup-title {
    font-size: 20px;
    padding-right: 40px;
  }
}

/* Стили для блока преимуществ */
.advantages-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
  background-color: #f9f9f9;
  border-top: 1px solid #0000001a;
  border-bottom: 1px solid #0000001a;
}

.advantages-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 10%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  align-items: start;
  box-sizing: border-box;
}

.advantage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.advantage-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #212121;
  margin-bottom: 24px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.advantage-item:hover .advantage-icon {
  transform: scale(1.1);
  color: #000000;
}

.advantage-title {
  font-family: "CourierPrime", system-ui, -apple-system, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: #212121;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 12px 0;
}

.advantage-description {
  font-family: "CourierPrime", system-ui, -apple-system, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #212121;
  opacity: 0.8;
  margin: 0;
  max-width: 280px;
}

@media (max-width: 968px) {
  .advantages-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .advantages-section {
    padding: 60px 0;
  }

  .advantages-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 5%;
  }

  .advantage-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
  }

  .advantage-title {
    font-size: 16px;
  }

  .advantage-description {
    font-size: 13px;
    max-width: 100%;
  }
}

/* Стили для блока обратной связи */
.contact-section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.contact-section-container {
  max-width: 80%;
  width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-section-title {
  font-family: "CourierPrime", system-ui, -apple-system, Arial, sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 28px;
  line-height: 1.2;
  color: #212121;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin: 0 0 40px 0;
  text-align: center;
}

.contact-section-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 40px 0;
  }

  .contact-section-container {
    padding: 0 15px;
  }

  .contact-section-title {
    font-size: 24px;
    margin: 0 0 30px 0;
  }
}