@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Mulish:wght@200..1000&display=swap");
*,
*::before,
*::after {
  font-family: "Mulish", sans-serif !important;
}

/* ============================================================
   TYPE SCALE — single source of truth for text hierarchy.
   Fewer sizes, clear levels. See each token's intended use.
   ============================================================ */
:root {
  --fs-caption: 14px; /* grey service text: captions, category tags, old struck price, review count */
  --fs-body: 18px; /* body copy, product names, button text */
  --fs-subhead: 24px; /* subheadings + category-nav names (higher nav level) */
  --fs-subhead-lg: 30px; /* larger subheadings */
  --fs-heading: 40px; /* section titles */
  --fs-hero: 56px; /* large hero titles */
  --lh-body: 1.4; /* body ~140% so text isn't cramped */
  --lh-heading: 1.15; /* headings ~115% */
  --fw-body: 400; /* product names, body */
  --fw-strong: 600; /* category names, prices, important elements */
}

/* Comfortable default line-height for all copy (was unset → cramped ~1.2) */
body {
  line-height: var(--lh-body);
}

/* Headings & subheadings ride tighter (~115%) so large text isn't loose */
.slider__header_title,
.cases_title,
.cases_item_title,
.reviews_title,
.blog-home_header__title,
.blog-home_items__item_title,
.instagram_header__title,
.subscribe-form_title,
.tabs-home_title,
.about-home_info__title,
.product__title,
.description_product__title,
.checkout_header__title,
.header_basket__title,
.modal_title,
.item_title {
  line-height: var(--lh-heading);
}

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

a {
  text-decoration: none;
  /* site-wide default link color — kills browser-blue links in any content
     area; rules that set their own link color still win (no !important) */
  color: #141414;
}

.description_product a {
  text-decoration: none;
  color: #000 !important;
  font-weight: 700;
}

.post-text a {
  text-decoration: none;
  color: #000 !important;
  font-weight: 700;
}

.swal2-icon.swal2-success {
  border-color: #141414;
}

.swal2-icon.swal2-success [class^=swal2-success-line] {
  background-color: #141414;
}

.swal2-icon.swal2-success .swal2-success-ring {
  border-color: #141414;
}

body.open_modal {
  overflow: hidden;
}

.section {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
@media (min-width: 1121px) and (max-width: 1612px) {
  .section {
    padding: 0 20px;
  }
}
@media (max-width: 1120px) {
  .section {
    padding: 0 15px;
  }
}
.section.header {
  padding: 23px 15px;
  position: relative;
  z-index: 10;
}
@media (min-width: 1121px) and (max-width: 1612px) {
  .section.header {
    padding: 23px 15px;
  }
}
@media (max-width: 1120px) {
  .section.header {
    padding: 18px 12px;
  }
}
.section.distance {
  margin-top: 90px;
}
@media (max-width: 768px) {
  .section.distance {
    margin-top: 50px;
  }
}
.section.distance:first-child {
  margin-top: 80px;
}
@media (max-width: 768px) {
  .section.distance:first-child {
    margin-top: 40px;
  }
}
.section.tabs {
  position: relative;
  z-index: 2;
}
.section.kits {
  padding-top: 72px;
  padding-bottom: 80px;
  background: #ECECEC;
  margin-top: -72px;
}
@media (max-width: 1330px) {
  .section.kits {
    padding-top: 36px;
    padding-bottom: 40px;
    margin-top: -36px;
  }
}
@media (max-width: 1240px) {
  .section.kits {
    padding-top: 10px;
    padding-bottom: 40px;
    margin-top: -10px;
  }
}
@media (max-width: 1200px) {
  .section.kits {
    padding-top: 40px;
    padding-bottom: 40px;
    margin-top: 50px;
  }
}
.section.blog {
  padding-bottom: 70px;
}
@media (max-width: 768px) {
  .section.blog {
    padding-bottom: 20px;
  }
}
.section.subscribe {
  background: #ECECEC;
  margin-top: 90px;
}
@media (max-width: 1120px) {
  .section.subscribe {
    margin-top: 50px;
  }
}
.section.copyright {
  background: #ECECEC;
}

.container {
  width: 100%;
  max-width: 1612px;
  position: relative;
  z-index: 0;
}

/* category card layout */
.category_home_slider .category_link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

/* image wrapper — responsive; keeps the design's ~297:364 ratio at any slide
   width (fixes the old fixed 297px that overflowed the ~105px mobile slide) */
.category_home_slider .category_link img {
  width: 100%;
  height: auto;
  aspect-ratio: 297 / 364;
  object-fit: cover;
  display: block;
}

/* category name — higher nav level, stronger than product names (desktop) */
.category_home_slider .category_link .title {
  margin-top: 12px;
  font-size: var(--fs-subhead);
  font-weight: var(--fw-strong);
  line-height: var(--lh-heading);
  text-align: center;
}

/* mobile — match Figma Mob_Startpage: card title 16px/300, tighter spacing */
@media (max-width: 767px) {
  .category_home_slider .category_link .title {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 300;
    line-height: 20px;
  }
}
em {
  font-style: normal !important;
}

/* ============================================================
   Thank-you page — order details list (was unstyled browser default,
   looked broken on mobile after the order message)
   ============================================================ */
.woocommerce ul.order_details.woocommerce-order-overview,
ul.woocommerce-order-overview {
  list-style: none;
  margin: 30px 0;
  padding: 20px;
  background: #F1F1F1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px 30px;
}
.woocommerce ul.order_details.woocommerce-order-overview li,
ul.woocommerce-order-overview li {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  border: none;
  font-size: var(--fs-caption);
  font-weight: 300;
  color: #141414;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-wrap: anywhere;
}
.woocommerce ul.order_details.woocommerce-order-overview li strong,
ul.woocommerce-order-overview li strong {
  font-size: var(--fs-body);
  font-weight: 600;
}
/* mobile: 2 items per row (2x2 grid) instead of one squeezed line */
@media (max-width: 767px) {
  .woocommerce ul.order_details.woocommerce-order-overview,
  ul.woocommerce-order-overview {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 15px;
  }
}

/* ============================================================
   Orders paused (Налаштування → Загальні → «Замовлення на сайті»)
   Browsing works; every purchase action is hidden. Server-side
   AJAX guards block ordering even if a button is force-shown.
   ============================================================ */
body.orders-paused .add_to_cart,
body.orders-paused .add_to_cart_button,
body.orders-paused .buy-variation-btn,
body.orders-paused .btn_add,
body.orders-paused .open_checkout,
body.orders-paused #create_order {
  display: none !important;
}
