/**
 * Single product + catalog archive styles.
 */

/* Shared content zone: max 1200px */
body.single-product .breadcrumbs-section .main-container,
body.single-product .stat .main-container,
body.fazzh-product-catalog .breadcrumbs-section .main-container,
body.fazzh-product-catalog .stat .main-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 1. Breadcrumbs and title — left aligned */
body.single-product .breadcrumbs-section__wrapper {
  justify-content: flex-start;
  text-align: left;
}

body.single-product .stat__title {
  text-align: left;
  /* 2. Title size */
  font-size: 32px;
  line-height: 32px;
  /* Gap breadcrumbs → h1 */
  margin-top: 68px;
  max-width: 714px;
}

/* 3. Product description / instruction typography */
body.single-product .woocommerce-Tabs-panel--description,
body.single-product .woocommerce-Tabs-panel--instruction {
  font-family: "HelveticaNeueCyr", sans-serif;
}

body.single-product .woocommerce-Tabs-panel--description h2,
body.single-product .stat__content .woocommerce-Tabs-panel--description h2,
body.single-product .woocommerce-Tabs-panel--instruction h2,
body.single-product .stat__content .woocommerce-Tabs-panel--instruction h2 {
  font-family: "Exo 2", sans-serif;
  font-style: italic;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 28px;
}

/* Product tabs navigation */
body.single-product .woocommerce-tabs {
  clear: both;
  margin-top: 2rem;
}

body.single-product .woocommerce-tabs ul.tabs.wc-tabs,
body.single-product .stat__content .woocommerce-tabs ul.tabs.wc-tabs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
  overflow: visible;
  position: relative;
}

body.single-product .woocommerce-tabs ul.tabs.wc-tabs::before,
body.single-product .woocommerce-tabs ul.tabs.wc-tabs::after {
  display: none !important;
  content: none !important;
}

body.single-product .woocommerce-tabs ul.tabs.wc-tabs li,
body.single-product .stat__content .woocommerce-tabs ul.tabs.wc-tabs li {
  display: block;
  float: none;
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 1px dashed #808080;
  border-radius: 5px;
  background-color: #fff;
  color: #000;
}

body.single-product .stat__content .woocommerce-tabs ul.tabs.wc-tabs li::before,
body.single-product .stat__content .woocommerce-tabs ul.tabs.wc-tabs li::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
}

body.single-product .woocommerce-tabs ul.tabs.wc-tabs li::before,
body.single-product .woocommerce-tabs ul.tabs.wc-tabs li::after {
  display: none !important;
  content: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.single-product .woocommerce-tabs ul.tabs.wc-tabs li a {
  display: block;
  padding: 10px 40px;
  border: 0;
  background: transparent;
  color: #000;
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.2;
  text-decoration: none;
  text-shadow: none;
}

body.single-product .woocommerce-tabs ul.tabs.wc-tabs li a:hover,
body.single-product .woocommerce-tabs ul.tabs.wc-tabs li a:focus {
  color: #000;
  text-decoration: none;
}

body.single-product .woocommerce-tabs ul.tabs.wc-tabs li.active {
  z-index: 2;
  border-color: #2B2B2B;
  border-style: solid;
  background-color: #2B2B2B;
  color: #fff;
}

body.single-product .woocommerce-tabs ul.tabs.wc-tabs li.active a,
body.single-product .woocommerce-tabs ul.tabs.wc-tabs li.active a:hover,
body.single-product .woocommerce-tabs ul.tabs.wc-tabs li.active a:focus {
  color: #fff;
}

/* A. Product gallery: thumbs left, vertical column */
/* Shift ~7.5% (~90px at 1200px) from summary to images */
body.single-product div.product div.images,
body.single-product div.product div.images.woocommerce-product-gallery {
  width: 55.5%;
}

body.single-product div.product div.summary {
  width: 40.5%;
}

body.single-product div.product div.images.woocommerce-product-gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 30px;
}

body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  margin: 0;
  order: 2;
}

body.single-product .woocommerce-product-gallery .flex-viewport {
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
  order: 2;
}

body.single-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs,
body.single-product .woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  order: 1;
  width: auto !important;
  max-width: 77px;
  margin: 0;
  padding: 0;
  overflow: visible;
  list-style: none;
  gap: 8px;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  float: none !important;
  clear: none !important;
  width: 65px !important;
  margin: 0;
  padding: 5px;
  list-style: none;
  border: 1px solid transparent;
  box-sizing: content-box;
  background: #fff;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li:has(img.flex-active) {
  border-color: #D52613;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
  display: block;
  width: 65px;
  height: auto;
  max-width: 100%;
  margin: 0;
  opacity: 1 !important;
  cursor: pointer;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
body.single-product .woocommerce-product-gallery .flex-control-thumbs li img:hover {
  opacity: 1 !important;
}

/* Fallback if :has() unsupported — border on active img */
@supports not selector(:has(*)) {
  body.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    outline: 1px solid #D52613;
    outline-offset: 5px;
  }
}

@media screen and (max-width: 768px) {
  body.single-product div.product div.images,
  body.single-product div.product div.images.woocommerce-product-gallery,
  body.single-product div.product div.summary {
    width: 100%;
  }

  body.single-product div.product div.images.woocommerce-product-gallery {
    flex-direction: column;
    gap: 16px;
  }

  body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
  body.single-product .woocommerce-product-gallery .flex-viewport {
    order: 1;
    width: 100% !important;
  }

  body.single-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs,
  body.single-product .woocommerce-product-gallery .flex-control-thumbs {
    flex-direction: row;
    flex-wrap: wrap;
    order: 2;
    width: 100% !important;
    max-width: none;
    gap: 8px;
  }

  body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
    width: auto !important;
    height: 65px;
    padding: 5px;
  }

  body.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
    width: auto;
    height: 65px;
    max-width: none;
    object-fit: contain;
  }
}

body.single-product .stat__content .woocommerce-Tabs-panel--description p,
body.single-product .stat__content .woocommerce-Tabs-panel--instruction p {
  font-family: "HelveticaNeueCyr", sans-serif;
  margin-top: 0 !important;
  margin-bottom: 60px !important;
}

/* 4. Hide category in product meta (fallback) */
body.single-product .product_meta .posted_in {
  display: none;
}

/* SKU row */
body.single-product .product_meta--sku-only {
  margin-top: 0;
  margin-bottom: 1rem;
}

body.single-product .product_meta--sku-only .sku_wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #A2A2A2;
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

body.single-product .product_meta--sku-only .sku {
  color: #A2A2A2;
}

body.single-product .fazzh-sku-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #A2A2A2;
  cursor: pointer;
  line-height: 0;
  transition: color 0.2s ease, opacity 0.2s ease;
}

body.single-product .fazzh-sku-copy:hover,
body.single-product .fazzh-sku-copy:focus {
  color: #666;
  outline: none;
}

body.single-product .fazzh-sku-copy.is-copied {
  color: #67D513;
}

body.single-product .fazzh-sku-copy__icon {
  display: block;
  width: 14px;
  height: 14px;
}

/* Summary card (price / sku / cart block) */
body.single-product .summary.entry-summary {
  border: 1px solid #E2E2E2;
  border-radius: 10px;
  padding-top: 30px;
  padding-bottom: 30px;
  box-sizing: border-box;
}

body.single-product .summary.entry-summary > * {
  margin-left: 36px;
  margin-right: 36px;
}

/* Short description after SKU */
body.single-product .summary .woocommerce-product-details__short-description {
  margin-top: 0;
  margin-bottom: 46px;
  color: #000;
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 18px;
  line-height: 1.4;
}

body.single-product .summary .woocommerce-product-details__short-description p {
  margin: 0 !important;
  font-size: 18px;
  line-height: 1.4;
}

/* 5. Price + deal badge row */
body.single-product .fazzh-product-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  margin-top: 0;
  margin-bottom: calc(1rem + 34px);
}

body.single-product .stat__content .fazzh-product-price-row .price {
  margin: 0 !important;
}

body.single-product .summary .price,
body.single-product .summary .price .woocommerce-Price-amount,
body.single-product .summary .price .amount {
  font-family: "Exo 2", sans-serif;
  font-size: 34px;
  font-style: italic;
  font-weight: 800;
  line-height: 1.2;
  color: #000;
}

body.single-product .fazzh-product-deal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3A6E13;
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
}

body.single-product .fazzh-product-deal__dot {
  display: block;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #67D513;
}

body.single-product .fazzh-product-deal__text {
  position: relative;
  top: 1px;
}

/* Add to cart form (simple + variable / pack) */
body.single-product .summary form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 0;
  margin-bottom: 0;
}

/* Variable form: keep qty + button in one row; variations table hidden by pack plugin */
body.single-product .summary form.variations_form.cart {
  flex-direction: column;
  align-items: stretch;
}

body.single-product .summary form.variations_form.cart .single_variation_wrap {
  width: 100%;
}

body.single-product .summary form.variations_form.cart .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

body.single-product .summary form.cart .quantity {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  height: 58px;
  min-width: 120px;
  margin: 0;
  padding: 0 4px;
  border: 1px solid #E2E2E2;
  border-radius: 4px;
  background: #fff;
  float: none;
}

body.single-product .summary form.cart .quantity .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

body.single-product .summary form.cart .quantity .qty {
  box-sizing: border-box;
  width: 3rem;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 58px;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

body.single-product .summary form.cart .quantity .qty::-webkit-outer-spin-button,
body.single-product .summary form.cart .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body.single-product .summary form.cart .fazzh-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  cursor: pointer;
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  user-select: none;
}

body.single-product .summary form.cart .fazzh-qty-btn:hover,
body.single-product .summary form.cart .fazzh-qty-btn:focus {
  color: #D52613;
  outline: none;
}

body.single-product .summary form.cart .single_add_to_cart_button.button.alt,
body.single-product .summary form.cart .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  box-sizing: border-box;
  min-height: 58px;
  height: 58px;
  margin: 0;
  padding: 0 24px;
  border: 0;
  border-radius: 4px;
  background-color: #D52613 !important;
  color: #fff !important;
  font-family: "HelveticaNeueCyr", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  font-style: normal !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  letter-spacing: normal;
  cursor: pointer;
}

body.single-product .summary form.cart .single_add_to_cart_button:hover,
body.single-product .summary form.cart .single_add_to_cart_button:focus {
  background-color: #b81f10 !important;
  color: #fff !important;
}

/* Marketplace links under add-to-cart */
body.single-product .fazzh-product-markets {
  box-sizing: border-box;
  margin-top: 28px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  padding: 24px 36px 0;
  border-top: 1px solid #E2E2E2;
}

body.single-product .fazzh-product-markets__title {
  margin: 0 0 16px;
  color: #000;
  font-family: "Exo 2", sans-serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

body.single-product .fazzh-product-markets__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}

body.single-product .fazzh-product-markets__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #000;
  text-decoration: none;
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
}

body.single-product .fazzh-product-markets__link:hover,
body.single-product .fazzh-product-markets__link:focus {
  color: #D52613;
  outline: none;
}

body.single-product .fazzh-product-markets__icon {
  display: block;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

body.single-product .fazzh-product-markets__name {
  display: inline-block;
}

/* Recommend also (under tabs) */
body.single-product .fazzh-recommend {
  clear: both;
  margin-top: 64px;
  margin-bottom: 40px;
}

body.single-product .fazzh-recommend__title {
  margin: 0 0 28px;
  color: #000;
  font-family: "Exo 2", sans-serif;
  font-size: 34px;
  font-style: italic;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

body.single-product .fazzh-recommend__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 317px));
  gap: 28px 40px;
  align-items: start;
}

body.single-product .fazzh-recommend__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 317px;
  color: #000;
  text-decoration: none;
}

body.single-product .fazzh-recommend__card:hover .fazzh-recommend__name,
body.single-product .fazzh-recommend__card:focus .fazzh-recommend__name {
  color: #D52613;
  outline: none;
}

body.single-product .fazzh-recommend__media {
  display: block;
  box-sizing: border-box;
  width: 317px;
  height: 290px;
  margin: 0 0 16px;
  overflow: hidden;
  border: 1px solid #E2E2E2;
  border-radius: 10px;
  background: #fff;
}

body.single-product .fazzh-recommend__img {
  display: block;
  width: 317px;
  height: 290px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

body.single-product .fazzh-recommend__price {
  display: block;
  margin: 0 0 8px;
  color: #000;
  font-family: "Exo 2", sans-serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

body.single-product .fazzh-recommend__name {
  display: block;
  color: #000;
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  transition: color 0.15s ease;
}

/* ===== Product catalog (categories / shop) ===== */
body.fazzh-product-catalog .breadcrumbs-section__wrapper {
  justify-content: flex-start;
  text-align: left;
}

body.fazzh-product-catalog .stat__title {
  text-align: left;
  font-size: 32px;
  line-height: 32px;
  margin-top: 68px;
  max-width: 714px;
}

body.fazzh-product-catalog .woocommerce-ordering,
body.fazzh-product-catalog .woocommerce-result-count {
  display: none !important;
}

body.fazzh-product-catalog ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 317px));
  gap: 28px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  clear: both;
}

body.fazzh-product-catalog ul.products::before,
body.fazzh-product-catalog ul.products::after {
  display: none !important;
  content: none !important;
}

body.fazzh-product-catalog ul.products li.product {
  float: none !important;
  width: auto !important;
  max-width: 317px;
  margin: 0 !important;
  padding: 0 !important;
  clear: none !important;
  position: static;
}

/* Theme list bullets (.stat__content ul li::after) — not for product cards */
body.fazzh-product-catalog .stat__content ul.products li.product::after,
body.fazzh-product-catalog ul.products li.product::after {
  display: none !important;
  content: none !important;
}

body.fazzh-product-catalog ul.products li.product .woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 317px;
  color: #000;
  text-decoration: none;
}

body.fazzh-product-catalog ul.products li.product .woocommerce-LoopProduct-link:hover .fazzh-catalog-card__name,
body.fazzh-product-catalog ul.products li.product .woocommerce-LoopProduct-link:focus .fazzh-catalog-card__name {
  color: #D52613;
  outline: none;
}

body.fazzh-product-catalog .fazzh-catalog-card__media {
  display: block;
  box-sizing: border-box;
  width: 317px;
  height: 290px;
  margin: 0 0 16px;
  overflow: hidden;
  border: 1px solid #E2E2E2;
  border-radius: 10px;
  background: #fff;
}

body.fazzh-product-catalog .fazzh-catalog-card__img {
  display: block;
  width: 317px;
  height: 290px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

body.fazzh-product-catalog .fazzh-catalog-card__price {
  display: block;
  margin: 0 0 8px;
  color: #000;
  font-family: "Exo 2", sans-serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

body.fazzh-product-catalog .fazzh-catalog-card__name {
  display: block;
  color: #000;
  font-family: "HelveticaNeueCyr", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  transition: color 0.15s ease;
}

/* Hide leftover default loop bits if any */
body.fazzh-product-catalog ul.products li.product .button,
body.fazzh-product-catalog ul.products li.product .added_to_cart,
body.fazzh-product-catalog ul.products li.product .onsale,
body.fazzh-product-catalog ul.products li.product .price {
  display: none !important;
}

@media screen and (max-width: 991px) {
  body.single-product .breadcrumbs-section .main-container,
  body.single-product .stat .main-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  body.single-product .stat__title {
    margin-top: 40px;
    font-size: 28px;
    line-height: 28px;
    max-width: 100%;
  }

  body.single-product .woocommerce-Tabs-panel--description h2,
  body.single-product .stat__content .woocommerce-Tabs-panel--description h2,
  body.single-product .woocommerce-Tabs-panel--instruction h2,
  body.single-product .stat__content .woocommerce-Tabs-panel--instruction h2 {
    font-size: 28px;
  }

  body.single-product .summary .price,
  body.single-product .summary .price .woocommerce-Price-amount,
  body.single-product .summary .price .amount {
    font-size: 28px;
  }

  body.single-product .fazzh-product-price-row {
    gap: 16px 32px;
  }

  body.single-product .fazzh-product-markets {
    padding-left: 20px;
    padding-right: 20px;
  }

  body.single-product .summary.entry-summary > * {
    margin-left: 20px;
    margin-right: 20px;
  }

  body.single-product .fazzh-recommend__title {
    font-size: 28px;
  }

  body.single-product .fazzh-recommend__list {
    grid-template-columns: 1fr;
  }

  body.single-product .fazzh-recommend__media,
  body.single-product .fazzh-recommend__img {
    width: 100%;
    max-width: 317px;
  }

  body.fazzh-product-catalog .breadcrumbs-section .main-container,
  body.fazzh-product-catalog .stat .main-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  body.fazzh-product-catalog .stat__title {
    margin-top: 40px;
    font-size: 28px;
    line-height: 28px;
    max-width: 100%;
  }

  body.fazzh-product-catalog ul.products {
    grid-template-columns: 1fr;
  }

  body.fazzh-product-catalog .fazzh-catalog-card__media,
  body.fazzh-product-catalog .fazzh-catalog-card__img {
    width: 100%;
    max-width: 317px;
  }
}

/* -------------------------------------------------------------------------
   Cart (WooCommerce Blocks)
   ------------------------------------------------------------------------- */

body.woocommerce-cart .wc-block-cart a.wc-block-components-product-name,
body.woocommerce-cart .wc-block-cart .wc-block-components-product-name {
  color: #000;
  text-decoration: none;
}

body.woocommerce-cart .wc-block-cart a.wc-block-components-product-name:hover,
body.woocommerce-cart .wc-block-cart a.wc-block-components-product-name:focus {
  color: #000;
  text-decoration: underline;
}

/* Hide variation meta («Фасовка: …») under product name */
body.woocommerce-cart .wc-block-cart .wc-block-components-product-details {
  display: none !important;
}

/* Keep only the total amount; hide «Предполагаемый итог» */
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  display: none !important;
}

body.woocommerce-cart .wc-block-components-totals-footer-item {
  font-family: "Exo 2", sans-serif;
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
  font-family: "Exo 2", sans-serif;
  font-style: italic;
  font-weight: 800;
  color: #000;
}

/* -------------------------------------------------------------------------
   Checkout (WooCommerce Blocks)
   ------------------------------------------------------------------------- */

body.woocommerce-checkout .breadcrumbs-section .main-container,
body.woocommerce-checkout .stat .main-container {
  max-width: 1200px;
}

/* Section titles: Контактная информация, Адрес доставки, … */
body.woocommerce-checkout .wc-block-components-checkout-step__title {
  font-weight: 700 !important;
}

/* Hide «Использовать этот адрес для выставления счетов» + separate billing form */
body.woocommerce-checkout .wc-block-checkout__use-address-for-billing,
body.woocommerce-checkout .wp-block-woocommerce-checkout-billing-address-block {
  display: none !important;
}

/* Country locked to RU in WooCommerce settings — hide the select */
body.woocommerce-checkout .wc-block-components-address-form__country,
body.woocommerce-checkout .wc-block-components-country-input {
  display: none !important;
}

/* Product list removed from page content; keep CSS fallback */
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-cart-items-block,
body.woocommerce-checkout .wc-block-components-order-summary {
  display: none !important;
}

/* Hide «Детали заказа» heading in the right column */
body.woocommerce-checkout .wc-block-components-checkout-order-summary__title-text {
  display: none !important;
}

/* Keep only the total amount; hide «Итого» */
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  display: none !important;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
  font-family: "Exo 2", sans-serif;
  font-style: italic;
  font-weight: 800;
  color: #000;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout button.wc-block-components-checkout-place-order-button {
  background-color: #D52613 !important;
  border-color: #D52613 !important;
  color: #fff !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:focus,
body.woocommerce-checkout button.wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout button.wc-block-components-checkout-place-order-button:focus {
  background-color: #b81f10 !important;
  border-color: #b81f10 !important;
  color: #fff !important;
}

@media screen and (max-width: 991px) {
  body.woocommerce-checkout .breadcrumbs-section .main-container,
  body.woocommerce-checkout .stat .main-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}
