/*
Theme Name: Blocksy Child Theme
Theme URI: https://creativethemes.com/blocksy/
Description: Child theme styles for Pnipodzad.ru
Author: Pnipodzad
Template: blocksy
Version: 0.2.0
Text Domain: blocksy-child
*/

:root {
  --pnipodzad-ink: #28251f;
  --pnipodzad-muted: #69665e;
  --pnipodzad-green: #496b42;
  --pnipodzad-green-dark: #324c30;
  --pnipodzad-cream: #f7f5f0;
  --pnipodzad-paper: #fffefa;
  --pnipodzad-line: #e6e0d5;
  --pnipodzad-wood: #a96c3f;
}

/* Shared editorial / boutique-store tone */
body {
  color: var(--pnipodzad-ink);
  background: var(--pnipodzad-paper);
}

.ct-header [data-row="middle"] {
  border-bottom: 1px solid var(--pnipodzad-line);
}

.ct-header .site-title,
.ct-header .site-logo-container {
  letter-spacing: -0.035em;
}

.ct-header a[href*="/checkout/"],
.ct-header a[href*="/my-account/"] {
  display: none !important;
}

.ct-header [data-id="menu"] > ul > li > a,
.ct-header .ct-header-cart a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.home #main,
.home .site-main,
.home .entry-content {
  padding-block-start: 0 !important;
  margin-block-start: 0 !important;
}

.home .ct-container-full[data-content="normal"] {
  padding-top: 0 !important;
}

/* Homepage: spacious two-column hero, inspired by editorial WoodMart layouts. */
.home .entry-header {
  display: none;
}

.home .entry-content {
  padding-top: 0;
}

.pnipodzad-home-hero,
.pnipodzad-home-intro,
.pnipodzad-home-benefits,
.pnipodzad-home-catalog,
.pnipodzad-home-contact {
  width: min(100% - 48px, 1320px);
  margin-inline: auto;
}

.pnipodzad-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  align-items: stretch;
  min-height: 570px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--pnipodzad-cream);
}

.pnipodzad-home-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(34px, 5vw, 70px);
}

.pnipodzad-eyebrow {
  margin: 0 0 15px !important;
  color: var(--pnipodzad-green);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.pnipodzad-home-hero h1 {
  max-width: 660px;
  margin: 0 0 22px;
  color: var(--pnipodzad-ink);
  font-size: clamp(2.6rem, 4.2vw, 4.25rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.pnipodzad-home-hero__lead {
  max-width: 540px;
  margin: 0;
  color: var(--pnipodzad-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.7;
}

.pnipodzad-home-hero__actions,
.pnipodzad-home-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 27px;
}

.pnipodzad-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.pnipodzad-button:hover {
  transform: translateY(-2px);
}

.pnipodzad-button--primary {
  background: var(--pnipodzad-green);
  color: #fff !important;
}

.pnipodzad-button--primary:hover {
  background: var(--pnipodzad-green-dark);
}

.pnipodzad-button--secondary {
  border-color: #cfc8bc;
  color: var(--pnipodzad-ink) !important;
}

.pnipodzad-home-hero__note {
  margin: 25px 0 0;
  color: #817b70;
  font-size: 12px;
  line-height: 1.5;
}

.pnipodzad-home-hero__visual {
  position: relative;
  min-height: 570px;
  margin: 0;
  overflow: hidden;
  background-color: #33261f;
  background-image: url("https://pnipodzad.ru/wp-content/uploads/2026/10/v2.jpg");
  background-position: center 46%;
  background-size: cover;
}

.pnipodzad-home-hero__visual::after {
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, rgb(24 18 14 / 54%));
  content: "";
  pointer-events: none;
}

.pnipodzad-home-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
  object-position: center 46%;
}

.pnipodzad-home-hero__visual figcaption {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 25px;
  left: 28px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pnipodzad-home-intro {
  max-width: 900px;
  padding: clamp(66px, 9vw, 112px) 24px 54px;
  text-align: center;
}

.pnipodzad-home-intro h2,
.pnipodzad-home-catalog h2,
.pnipodzad-home-contact h2 {
  margin: 0 0 18px;
  color: var(--pnipodzad-ink);
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.pnipodzad-home-intro > p:not(.pnipodzad-eyebrow) {
  max-width: 760px;
  margin: 0 auto 14px;
  color: var(--pnipodzad-muted);
  font-size: 16px;
  line-height: 1.8;
}

.pnipodzad-home-intro .pnipodzad-home-qualification {
  margin-top: 18px !important;
  font-size: 12px !important;
}

.pnipodzad-home-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--pnipodzad-line);
  border: 1px solid var(--pnipodzad-line);
}

.pnipodzad-home-benefits article {
  padding: 28px 30px;
  background: #fff;
}

.pnipodzad-benefit-number {
  display: inline-block;
  margin-bottom: 17px;
  color: var(--pnipodzad-wood);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.pnipodzad-home-benefits h3 {
  margin: 0 0 9px;
  color: var(--pnipodzad-ink);
  font-size: 17px;
  font-weight: 650;
}

.pnipodzad-home-benefits p {
  margin: 0;
  color: var(--pnipodzad-muted);
  font-size: 13px;
  line-height: 1.7;
}

.pnipodzad-home-catalog {
  padding-top: clamp(70px, 9vw, 112px);
  padding-bottom: clamp(64px, 8vw, 96px);
}

.pnipodzad-home-catalog__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.pnipodzad-home-catalog__heading p {
  max-width: 350px;
  margin: 0 0 18px;
  color: var(--pnipodzad-muted);
  font-size: 14px;
  line-height: 1.65;
}

.pnipodzad-home-catalog ul.products {
  gap: 28px 22px;
  margin-top: 0 !important;
}

.pnipodzad-home-catalog ul.products li.product {
  overflow: hidden;
  padding: 0 0 18px;
  border: 1px solid var(--pnipodzad-line);
  border-radius: 4px;
  background: #fff;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.pnipodzad-home-catalog ul.products li.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgb(40 37 31 / 9%);
}

.pnipodzad-home-catalog ul.products li.product .ct-media-container,
.pnipodzad-home-catalog ul.products li.product .woocommerce-LoopProduct-link > img {
  border-radius: 0;
}

.pnipodzad-home-catalog ul.products li.product .woocommerce-loop-product__title,
.pnipodzad-home-catalog ul.products li.product .price,
.pnipodzad-home-catalog ul.products li.product .pnipodzad-catalog-specs,
.pnipodzad-home-catalog ul.products li.product .button,
.pnipodzad-home-catalog ul.products li.product .product-categories {
  margin-right: 18px !important;
  margin-left: 18px !important;
}

.pnipodzad-home-catalog ul.products li.product .woocommerce-loop-product__title {
  margin-top: 16px !important;
  color: var(--pnipodzad-ink);
  font-size: 16px;
  font-weight: 650;
}

.pnipodzad-home-catalog .pnipodzad-catalog-specs {
  background: #f8f6f1;
  border-radius: 3px;
  font-size: 12px;
}

.pnipodzad-home-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 64px;
  padding: clamp(30px, 5vw, 56px);
  background: var(--pnipodzad-green-dark);
  color: #fff;
}

.pnipodzad-home-contact .pnipodzad-eyebrow,
.pnipodzad-home-contact h2,
.pnipodzad-home-contact p:not(.pnipodzad-eyebrow) {
  color: #fff;
}

.pnipodzad-home-contact h2 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
}

.pnipodzad-home-contact p:not(.pnipodzad-eyebrow) {
  margin: 0;
  color: rgb(255 255 255 / 78%);
  font-size: 14px;
  line-height: 1.6;
}

.pnipodzad-home-contact__actions {
  flex-shrink: 0;
  margin-top: 0;
}

.pnipodzad-button--light {
  background: #fff;
  color: var(--pnipodzad-green-dark) !important;
}

.pnipodzad-button--outline {
  border-color: rgb(255 255 255 / 55%);
  color: #fff !important;
}

@media (max-width: 900px) {
  .pnipodzad-home-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    min-height: 480px;
  }
  .pnipodzad-home-hero__visual,
  .pnipodzad-home-hero__visual img {
    min-height: 480px;
  }
}

@media (max-width: 680px) {
  .pnipodzad-home-hero,
  .pnipodzad-home-intro,
  .pnipodzad-home-benefits,
  .pnipodzad-home-catalog,
  .pnipodzad-home-contact {
    width: min(100% - 28px, 1320px);
  }
  .pnipodzad-home-hero {
    grid-template-columns: 1fr;
    margin-top: 12px;
  }
  .pnipodzad-home-hero__copy {
    padding: 34px 25px 30px;
  }
  .pnipodzad-home-hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.7rem);
  }
  .pnipodzad-home-hero__visual,
  .pnipodzad-home-hero__visual img {
    min-height: 360px;
    height: 360px;
  }
  .pnipodzad-home-intro {
    padding: 60px 10px 38px;
  }
  .pnipodzad-home-benefits {
    grid-template-columns: 1fr;
  }
  .pnipodzad-home-benefits article {
    padding: 22px;
  }
  .pnipodzad-home-catalog__heading,
  .pnipodzad-home-contact {
    align-items: flex-start;
    flex-direction: column;
  }
  .pnipodzad-home-catalog__heading {
    gap: 0;
  }
  .pnipodzad-home-catalog__heading p {
    margin: 0;
  }
  .pnipodzad-home-contact__actions {
    flex-wrap: wrap;
  }
  .pnipodzad-home-catalog ul.products {
    gap: 16px 10px;
  }
  .pnipodzad-home-catalog ul.products li.product .woocommerce-loop-product__title,
  .pnipodzad-home-catalog ul.products li.product .price,
  .pnipodzad-home-catalog ul.products li.product .pnipodzad-catalog-specs,
  .pnipodzad-home-catalog ul.products li.product .button,
  .pnipodzad-home-catalog ul.products li.product .product-categories {
    margin-right: 11px !important;
    margin-left: 11px !important;
  }
}
