body.home {
  background: #f3f4fb;
}

body.home .site-header,
body.home .site-footer,
body.blog .site-header,
body.blog .site-footer {
  display: none;
}

body.home .wp-site-blocks,
body.blog .wp-site-blocks {
  padding: 0;
  background: #f3f4fb;
}

body.home .wp-site-blocks > *,
body.blog .wp-site-blocks > * {
  margin-block-start: 0;
}

body.home .wp-block-post-content,
body.blog .wp-block-post-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body.home main.wp-block-group,
body.blog main.wp-block-group,
body.home .entry-content.wp-block-post-content.has-global-padding.is-layout-constrained.wp-block-post-content-is-layout-constrained,
body.blog .entry-content.wp-block-post-content.has-global-padding.is-layout-constrained.wp-block-post-content-is-layout-constrained {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-block-start: 0 !important;
}

body.home .entry-content.wp-block-post-content.has-global-padding.is-layout-constrained.wp-block-post-content-is-layout-constrained > .noya-homepage,
body.blog .entry-content.wp-block-post-content.has-global-padding.is-layout-constrained.wp-block-post-content-is-layout-constrained > .noya-homepage {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.noya-wrap {
  width: min(1500px, calc(100% - 36px));
  margin: 0 auto;
}

.noya-homepage {
  color: #161616;
  font-family: Arial, sans-serif;
}

.noya-homepage__header {
  background: #fff;
  margin-top: 0;
  padding-top: 0;
}

.noya-header-row {
  display: grid;
  grid-template-columns: 220px minmax(320px, 650px) 140px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 0 18px;
}

.noya-brand img {
  max-width: 155px;
  height: auto;
  display: block;
}

.noya-search {
  display: flex;
  align-items: stretch;
  border: 2px solid #ff6b35;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.noya-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0 16px;
  height: 46px;
  font-size: 14px;
  color: #555;
}

.noya-search button {
  width: 74px;
  border: 0;
  background: #ff6b35;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.noya-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100px;
  height: 46px;
  margin-left: auto;
  border: 1px solid #ff6b35;
  border-radius: 6px;
  color: #ff6b35;
  background: #fff;
  text-decoration: none;
}

.noya-cart__count {
  position: absolute;
  top: -4px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ff6b35;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.noya-cart strong {
  font-size: 13px;
  font-weight: 700;
}

.noya-primary-nav {
  background: #0b5a6b;
}

.noya-primary-nav__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  min-height: 44px;
}

.noya-primary-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.noya-homepage__main {
  padding: 20px 0 0;
}

.noya-hero img {
  display: block;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.noya-products {
  padding: 24px 0 60px;
}

.noya-section-title {
  margin-bottom: 36px;
  padding: 18px 22px;
  background: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.noya-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.noya-live-products .woocommerce {
  width: 100%;
}

.noya-live-products ul.products {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.noya-live-products ul.products::before,
.noya-live-products ul.products::after {
  display: none !important;
}

.noya-live-products ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 10px 10px 18px;
  background: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.noya-live-products ul.products li.product .woocommerce-LoopProduct-link {
  display: block;
  color: inherit;
  text-decoration: none;
  position: relative;
}

.noya-live-products ul.products li.product img {
  display: block;
  width: 100% !important;
  margin: 0 0 16px !important;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  background: #fafafa;
}

.noya-live-products ul.products li.product .onsale {
  left: auto !important;
  top: 8px !important;
  right: 8px !important;
  min-height: 0 !important;
  line-height: 1.1 !important;
  margin: 0 !important;
  padding: 3px 8px !important;
  border-radius: 3px !important;
  background: #ff1d10 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.noya-live-products ul.products li.product .woocommerce-loop-product__title {
  min-height: 52px;
  margin: 0 0 10px !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1.35;
  font-weight: 400 !important;
  color: #161616;
}

.noya-live-products ul.products li.product .price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 16px !important;
  color: #ff6b35 !important;
  flex-wrap: wrap;
}

.noya-live-products ul.products li.product .price ins,
.noya-live-products ul.products li.product .price > .amount {
  color: #ff6b35 !important;
  text-decoration: none;
}

.noya-live-products ul.products li.product .price ins .amount,
.noya-live-products ul.products li.product .price > .amount {
  font-size: 18px;
  font-weight: 700;
}

.noya-live-products ul.products li.product .price del,
.noya-live-products ul.products li.product .price del .amount {
  color: #777 !important;
  font-size: 14px;
}

.noya-live-products ul.products li.product .button,
.noya-live-products ul.products li.product .added_to_cart {
  display: block;
  width: 100%;
  margin: auto 0 0 !important;
  padding: 11px 12px;
  border: 0;
  border-radius: 4px;
  background: #ff6b35 !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.noya-live-products ul.products li.product .button.loading::after,
.noya-live-products ul.products li.product .button.added::after {
  display: none !important;
}

.noya-live-products ul.products li.product .star-rating,
.noya-live-products ul.products li.product .added_to_cart {
  display: none !important;
}

.noya-card {
  padding: 10px 10px 18px;
  background: #fff;
  text-align: center;
}

.noya-card__image-wrap {
  position: relative;
  display: block;
  margin-bottom: 16px;
  overflow: hidden;
  background: #fafafa;
}

.noya-card__image-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
}

.noya-sale {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  padding: 3px 8px;
  border-radius: 3px;
  background: #ff1d10;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.noya-card h3 {
  min-height: 52px;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 400;
}

.noya-card h3 a {
  color: inherit;
  text-decoration: none;
}

.noya-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 16px;
}

.noya-price span {
  color: #ff6b35;
  font-size: 18px;
  font-weight: 700;
}

.noya-price del {
  color: #777;
  font-size: 14px;
}

.noya-btn {
  display: block;
  padding: 11px 12px;
  border-radius: 4px;
  background: #ff6b35;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.noya-footer {
  padding: 0 0 40px;
  background: #fff;
  text-align: center;
}

.noya-footer__line {
  height: 1px;
  margin-bottom: 26px;
  background: #ddd;
}

.noya-footer p {
  margin: 0;
  color: #7d7d7d;
  font-size: 13px;
}

.noya-footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 36px;
}

.noya-footer__links a,
.noya-footer__links span {
  color: #ff6b35;
  font-size: 15px;
  text-decoration: none;
}

@media (max-width: 1200px) {
  .noya-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .noya-live-products ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .noya-header-row {
    grid-template-columns: 1fr;
  }

  .noya-brand img {
    margin: 0 auto;
  }

  .noya-cart {
    margin: 0 auto;
  }

  .noya-primary-nav__inner {
    flex-wrap: wrap;
    gap: 14px 24px;
    padding: 12px 0;
  }

  .noya-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .noya-live-products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .noya-wrap {
    width: min(calc(100% - 24px), 1500px);
  }

  .noya-homepage__main {
    padding-top: 14px;
  }

  .noya-search input {
    padding: 0 12px;
  }

  .noya-search button {
    width: 64px;
    font-size: 13px;
  }

  .noya-product-grid {
    grid-template-columns: 1fr;
  }

  .noya-live-products ul.products {
    grid-template-columns: 1fr;
  }

  .noya-section-title {
    font-size: 21px;
  }

  .noya-card {
    padding: 8px 8px 14px;
  }
}
