:root {
  --unit: calc(10 / 14.4 * 1vw);
}

@media (max-width: 1199px) {
  :root {
    --unit: calc(10 / 3.73 * 1vw);
  }
}

html {
  font-size: var(--unit);
  font-family:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji" !important;
}


.order-confirmation-block {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem;
  background-color: #ffffff;
  font-family:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji" !important;
  border-bottom: solid 1px #e7e7e7;
}

.order-confirmation__container {
  max-width: 76.8rem;
  width: 100%;
  text-align: center;
}

.order-confirmation__icon {
  width: 6.4rem;
  height: 6.4rem;
  margin: 0 auto 2.4rem;
  background-color: #ecfdf5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-confirmation__icon svg {
  width: 3.2rem;
  height: 3.2rem;
}

.order-confirmation__title {
  font-size: 4.8rem;
  font-weight: 500;
  color: #111827;
  margin: 0 0 1.6rem;
  line-height: 1.2;
  font-family:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji" !important;
}

.order-confirmation__text {
  font-size: 1.8rem;
  color: #6b7280;
  margin: 0 auto 3.2rem;
  line-height: 1.6;
  max-width: 62.5rem;
  font-family:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji" !important;
}

.order-confirmation__button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 2.4rem;
  background-color: #111827;
  color: #ffffff;
  text-decoration: none;
  border-radius: 3rem;
  font-size: 1.4rem;
  font-weight: 400;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji" !important;
}

.order-confirmation__button span {
  font-family:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji" !important;
}

.order-confirmation__button:hover {
  background-color: #1f2937;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.15);
  font-family:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji" !important;
}

a:hover {
  color: #ffffff;
}

.order-confirmation__button svg {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

@media (max-width: 1200px) {
  .order-confirmation-block {
    padding: 4rem 1.5rem;
    min-height: 38rem;
  }

  .order-confirmation__container {
    max-width: 100%;
  }

  .order-confirmation__icon {
    width: 7rem;
    height: 7rem;
    margin-bottom: 2.5rem;
  }

  .order-confirmation__icon svg {
    width: 3.5rem;
    height: 3.5rem;
  }

  .order-confirmation__title {
    font-size: 3.2rem;
    margin-bottom: 1.6rem;
    line-height: 1;
  }

  .order-confirmation__text {
    font-size: 1.5rem;
    margin-bottom: 3.5rem;
    line-height: 1.5;
  }

  .order-confirmation__button {
    padding: 1.2rem 2.4rem;
    font-size: 1.4rem;
    width: 100%;
    justify-content: center;
    border-radius: 3rem;
    max-width: 27.6rem;
  }
}

/*------------------------*/

.recommended-products {
  padding: 6.4rem 0 6.4rem;
  max-width: 122rem;
  margin: 0 auto;
  background-color: #fff;
}

@media (max-width: 1199px) {
  .recommended-products {
    padding: 3rem 1.5rem;
    width: 100%;
  }
}

.rec-products__header {
  margin-bottom: 3rem;
  text-align: left;
  max-width: 122rem;
  margin: 0rem auto 2rem;
}

@media (max-width: 1199px) {
  .rec-products__header {
    margin-bottom: 2.5rem;
  }
}

.rec-products__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #f3f4f6;
  border-radius: 2rem;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: #111827;
}

.rec-products__tag svg {
  width: 1.4rem;
  height: 1.4rem;
}

.rec-products__title {
  font-size: 3rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #111827;
  line-height: 1.2;
  font-family:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji" !important;
}

.rec-products__subtitle {
  font-size: 1.4rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
}


.rec-products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  align-items: start;
  padding-top: 4rem;
}

.category-group {
  margin-bottom: 2.4rem;
  overflow: visible;
}

.category-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 2rem;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.category-header:hover {
  background: #f3f4f6;
}

.category-header__title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #111827;
}

.category-header__icon {
  width: 2.4rem;
  height: 2.4rem;
  transition: transform 0.3s ease;
  color: #6b7280;
}

.category-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding-top: 0 !important;
}

.category-group.is-open .category-content {
  max-height: 100%;
  opacity: 1;
  /* padding-top: 2.4rem !important; */
  margin-bottom: 4rem;
  overflow: visible;
}

.category-group.is-open .category-header__icon {
  transform: rotate(180deg);
}

.product-card {
  background: #ffffff;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgb(0 0 0 / 12%);
  display: flex;
  flex-direction: column;
  border: 1px solid #f3f4f6;
  align-self: start;
  height: auto;
}

.product-card__image-wrap {
  position: relative;
  background: #f9fafb;
  overflow: hidden;
}

.product-card__img {
  width: 100%;
  height: 100%;0%; */
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-card__badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: #ef4444;
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 1.5rem;
  font-size: 1.6rem;
  font-weight: 400;
  z-index: 1;
  width: max-content;
}

.product-card__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.product-card__name {
  font-size: 2.6rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: #111827;
  line-height: 1.3;
  font-family:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji" !important;
}

.product-card__price {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-current {
  font-size: 3rem;
  font-weight: 600;
  color: #111827;
  font-family:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji" !important;
}

.price-old {
  font-size: 1.6rem;
  color: #9ca3af;
  text-decoration: line-through;
  font-family:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji" !important;
}

.product-card__actions {
  display: flex;
  gap: 1rem;
  margin-top: auto;
  align-items: center;
}

.btn-toggle {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 3rem;
  background: transparent;
  color: #111827;
  font-size: 1.4rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 4.4rem;
}

.btn-toggle:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.btn-toggle .icon-arrow {
  width: 2.8rem;
  height: 2.8rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.btn-cart {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  background: #111827;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
button.btn-cart svg {
  width: 1.6rem;
  height: 1.6rem;
}

.btn-cart:hover {
  background: #1f2937;
  transform: translateY(-2px);
}

.btn-cart .icon-cart {
  width: 2rem;
  height: 2rem;
}

.product-card__desc {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  visibility: hidden;
}

.product-card.is-open .product-card__desc {
  max-height: max-content;
  opacity: 1;
  visibility: visible;
  margin-top: 1.5rem;
}

.product-card__desc p  {
  padding-top: 1.5rem;
  margin: 0;
  font-size: 1.5rem;
  color: #020202;
  line-height: 1.6;
  border-top: 1px solid #f3f4f6;
  font-family:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji" !important;
}


.product-card__desc ul li  {
  padding-top: 0.5rem;
  font-size: 1.5rem;
  line-height: 1.2;
  font-family:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji" !important;
}


.product-card__desc p strong {
      font-size: 1.9rem;
    font-weight:700;
  line-height:2rem;
}

.product-card.is-open .btn-toggle .icon-arrow {
  transform: rotate(180deg);
}

@media (max-width: 1199px) {
  .rec-products__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
  }

  .product-card {
    align-self: start;
  }
  
  .rec-products__title {
    font-size: 2.6rem;
  }

  .product-card__body {
    padding: 1.5rem;
  }

  .btn-toggle {
    padding: 0.9rem 1.2rem;
    font-size: 1.8rem;
    min-height: 4rem;
  }

  .btn-cart {
    width: 4rem;
    height: 4rem;
  }
}
