:root {
  --black-olive: #202513;
  --citrine: #c8c21c;
  --selective-yellow: #ffb109;
  --white: #ffffff;
  --background-color: #f9f9f7;
  --light-gray-text: #b0afa8;
  --border-color: #e1dfd4;
  --input-bg: #f2f1ea;
  --group-bg: #fffdf5;
}

@font-face {
    font-family: 'Nunito';
    src: url('fonts/Nunito-Light.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('fonts/Nunito-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('fonts/Nunito-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.font-200 {
    font-family: 'Nunito', sans-serif;
    font-weight: 200;
}

.font-400 {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
}

.font-700 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}


html {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  color: var(--black-olive);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 1rem;
  background-color: var(--background-color);
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle fill='%23e1dfd4' cx='10' cy='10' r='1.5'/%3E%3C/svg%3E");
  background-size: 20px 20px;
}

.card {
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(32, 37, 19, 0.09);
  overflow: hidden;
  width: 100%;
  max-width: 1000px;
  border: 1px solid var(--border-color);
}

.card__header {
  position: relative;
  background-color: var(--white);
  padding: 1rem 1rem 0 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card__logo {
  max-width: 31.25rem;
  width: 100%;
  height: auto;
  display: block;
}

.card__super-title {
  position: absolute;
  top: 0.8rem;
  right: 1.5rem;
  font-size: 1.1rem;
  color: var(--light-gray-text);
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card__body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.item-group,
.item-pcsoup {
  padding: 1rem 0;
  border-bottom: 1px dashed var(--border-color);
}

.item-group:last-child,
.item-pcsoup:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.link-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.link-item__info {
  margin: 0;
  text-align: left;
}

.link-item__title {
  font-size: 1.1rem;
  margin: 0 0 0.2rem 0;
  color: var(--black-olive);
}

.section-title {
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.group-title {
  font-size: 1.25rem;
}

.product-title {
  font-size: 1.02rem;
}

.link-item__description {
  font-size: 1rem;
  margin: 0;
  color: var(--black-olive);
}

.link-item__button {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--black-olive);
  background-color: var(--selective-yellow);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 3px 0 rgba(32, 37, 19, 0.08);
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.link-item__button:hover,
.link-item__button:focus {
  background-color: var(--citrine);
  color: var(--black-olive);
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(32, 37, 19, 0.18);
  outline: none;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.85rem;
  margin-bottom: 0.5rem;
}

.contact-box {
  flex: 1 1 5px;
}

.contact-box__label {
  display: block;
  font-size: 0.9rem;
  margin: 0 0 0.4rem 0;
  color: var(--black-olive);
}

.contact-box__value {
  width: 100%;
}

.contact-box__input {
  font-size: 0.9rem;
  color: var(--black-olive);
  background-color: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem;
  width: 100%;
  text-align: left;
  outline-color: var(--citrine);
}

.contact-box__link {
  display: block;
  font-size: 0.9rem;
  color: var(--black-olive);
  background-color: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem;
  text-decoration: none;
  word-break: break-all;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.contact-box__link:hover,
.contact-box__link:focus {
  border-color: var(--citrine);
  background-color: #faf8e8;
  box-shadow: 0 4px 10px rgba(32, 37, 19, 0.16);
  outline: none;
}

.info-link {
  margin-top: 0.55rem;
  text-align: left;
}

.info-link a {
  font-size: 0.9rem;
  color: var(--citrine);
  text-decoration: none;
  transition: color 0.18s ease, text-decoration 0.18s ease;
}

.info-link a:hover {
  color: var(--black-olive);
  text-decoration: underline;
}

.ready-product-list .item-pcsoup {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.ready-product-list .product-title {
  font-size: 1.02rem;
}

.ready-product-list .link-item__description {
  font-size: 0.9rem;
}

.price-old {
  text-decoration: line-through;
  opacity: 0.6;
  margin-right: 8px;
  display: inline-block;
  font-size: 0.9rem;
}

.price-current {
  display: inline-block;
  font-size: 0.95rem;
}

.preorder-section-header .section-title {
  font-size: 1.4rem;
}

.preorder-group {
  background-color: var(--group-bg);
  border-radius: 14px;
  border: 1px solid var(--border-color);
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
}

.preorder-group__head {
  margin-bottom: 0.35rem;
}

.preorder-group__images {
  display: flex;
  flex-direction:column;
  flex-wrap:wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.preorder-group__image-slot {
  flex: 1 1 0;
  max-width: 50%;
}

.preorder-group__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  object-fit: cover;
  display: block;
  background-color: #f5f4ec;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.preorder-group__image:hover {
  box-shadow: 0 8px 18px rgba(32, 37, 19, 0.18);
  border-color: var(--citrine);
}

.preorder-group__placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background-color: #f5f4ec;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--light-gray-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.preorder-group__products {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.1rem;
}

.preorder-product {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--border-color);
}

.preorder-product:first-child {
  border-top-style: solid;
}

.preorder-product__info {
  flex: 1 1 auto;
}

.preorder-product__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.preorder-product__price {
  text-align: right;
}

.preorder-product__price span {
  display: inline-block;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .card__body {
    padding: 1.1rem 1.1rem 1.25rem;
  }

  .card__header {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .card__super-title {
    font-size: 0.9rem;
    right: 1rem;
  }

  .link-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .link-item__info {
    margin-bottom: 0.5rem;
  }

  .link-item__button {
    align-self: stretch;
  }

  .preorder-group {
    padding: 0.9rem 0.85rem 1rem;
  }

  .preorder-group__images {
    flex-wrap: wrap;
  }

  .preorder-group__image-slot {
    max-width: 100%;
  }

  .preorder-product {
    flex-direction: column;
    align-items: flex-start;
  }

  .preorder-product__footer {
    width: 100%;
    justify-content: flex-start;
    margin-top: 0.25rem;
  }

  .preorder-product__price {
    text-align: left;
  }
}






@media (min-width: 576px) {
  /* стили для экранов от 576px и выше */
}


@media (min-width: 768px) {
  .preorder-group__images {
  display: flex;
  flex-direction:row;
  gap: 0.75rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}
}


@media (min-width: 992px) {
  /* стили для экранов от 992px и выше */
}


@media (min-width: 1200px) {
  /* стили для экранов от 1200px и выше */
}


@media (min-width: 1400px) {
  /* стили для экранов от 1400px и выше */
}



.color-red {color:red; font-size:1.5rem;line-height:1;}
.rules-info {text-decoration: underline dotted;
  text-underline-offset: 4px;
  color: #a25757;} 
  
  
  .rules-title {text-decoration: underline dotted;text-underline-offset: 4px;}
  .pt-1 {padding-top:0.5rem;}
  .pt-2 {padding-top:1rem;}
  
  .uline {text-decoration: underline dotted;text-underline-offset: 4px;}