/* =========================
   ABOUT HERO
   ========================= */
.wp-block-image.cg-about-hero img{
  display:block;
  width:100%;
  height:900px;
  object-fit:cover;
  object-position:center;
}

/* =========================
   ABOUT FEATURES
   ========================= */
.cg-about-features{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  align-items:center;
  gap:18px;
  padding:8px 0;
}

.cg-about-features__item{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-width:0;
  text-align:left;
}

.cg-about-features__icon{
  display:block;
  flex:0 0 auto;
  object-fit:contain;
}

.cg-about-features__icon--home{
  width:30px;
  height:30px;
}

.cg-about-features__icon--truck{
  width:36px;
  height:36px;
}

.cg-about-features__icon--award{
  width:38px;
  height:38px;
}

.cg-about-features__icon--clock{
  width:32px;
  height:32px;
}

.cg-about-features__icon--cart{
  width:28px;
  height:28px;
}

.cg-about-features__text{
  font-size:14px;
  line-height:1.3;
  font-weight:600;
  color:#222;
}

/* =========================
   ABOUT PARTNERS
   ========================= */
.cg-partners-wrap{
  margin-top:8px;
  margin-bottom:0;
}

.cg-partners.wp-block-columns{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:space-between;
  gap:26px !important;
}

.cg-partners.wp-block-columns > .wp-block-column{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:1 1 0;
  min-width:0;
}

.cg-partners .wp-block-image{
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 !important;
  width:100%;
  min-height:88px;
  text-align:center;
  position:relative;
  overflow:hidden;
  border-radius:8px;
  transition:background .25s ease;
}

.cg-logo{ width:100%; }

.cg-logo img{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  max-height:60px;
  margin:0 auto;
  object-fit:contain;
  object-position:center;
  transition:transform .3s ease, filter .3s ease, opacity .3s ease;
  filter:grayscale(100%);
  opacity:.8;
}

.cg-logo--chasov img{ max-height:58px; }
.cg-logo--panda img{ max-height:100px; }
.cg-logo--instyle img{ max-height:52px; }
.cg-logo--aqua img{ max-height:56px; }
.cg-logo--sanatate img{ max-height:58px; }

.cg-partners .wp-block-column{
  transition:transform .25s ease, box-shadow .25s ease;
  border-radius:8px;
}

.cg-partners .wp-block-column:hover{ transform:translateY(-4px); }

.cg-partners .wp-block-column:hover .cg-logo img{
  transform:scale(1.05);
  filter:grayscale(0%);
  opacity:1;
}

.cg-partners .wp-block-column:hover .wp-block-image{ background:rgba(0,0,0,.03); }

/* =========================
   SALE BADGE
   ========================= */
.onsale{ display:none; }

.cg-sale-slider .ct-woo-badge-new,
.single-product .ct-woo-badge-new,
.post-type-archive-product .ct-woo-badge-new,
.tax-product_cat .ct-woo-badge-new,
.tax-product_tag .ct-woo-badge-new,
.tax-product_brand .ct-woo-badge-new,
.woocommerce-shop .ct-woo-badge-new,
.woocommerce.archive .ct-woo-badge-new{
  color:transparent !important;
  text-indent:-9999px !important;
  overflow:hidden !important;
  width:50px !important;
  height:50px !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:0;
  background:none !important;
  box-shadow:none !important;
}

.cg-sale-slider .ct-woo-badge-new::before,
.cg-sale-slider .ct-woo-badge-new::after,
.single-product .ct-woo-badge-new::before,
.single-product .ct-woo-badge-new::after,
.post-type-archive-product .ct-woo-badge-new::before,
.post-type-archive-product .ct-woo-badge-new::after,
.tax-product_cat .ct-woo-badge-new::before,
.tax-product_cat .ct-woo-badge-new::after,
.tax-product_tag .ct-woo-badge-new::before,
.tax-product_tag .ct-woo-badge-new::after,
.tax-product_brand .ct-woo-badge-new::before,
.tax-product_brand .ct-woo-badge-new::after,
.woocommerce-shop .ct-woo-badge-new::before,
.woocommerce-shop .ct-woo-badge-new::after,
.woocommerce.archive .ct-woo-badge-new::before,
.woocommerce.archive .ct-woo-badge-new::after{
  content:"" !important;
  display:block !important;
}

.cg-sale-slider .ct-woo-badge-new::before,
.single-product .ct-woo-badge-new::before,
.post-type-archive-product .ct-woo-badge-new::before,
.tax-product_cat .ct-woo-badge-new::before,
.tax-product_tag .ct-woo-badge-new::before,
.tax-product_brand .ct-woo-badge-new::before,
.woocommerce-shop .ct-woo-badge-new::before,
.woocommerce.archive .ct-woo-badge-new::before{ display:none !important; }

.cg-sale-slider .ct-woo-badge-new::after,
.single-product .ct-woo-badge-new::after,
.post-type-archive-product .ct-woo-badge-new::after,
.tax-product_cat .ct-woo-badge-new::after,
.tax-product_tag .ct-woo-badge-new::after,
.tax-product_brand .ct-woo-badge-new::after,
.woocommerce-shop .ct-woo-badge-new::after,
.woocommerce.archive .ct-woo-badge-new::after{
  width:100% !important;
  height:100% !important;
  background-image:url('/wp-content/uploads/nou.svg');
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
}

/* =========================
   CONTACT FORM
   ========================= */
.wpforms-container{ margin:34px 0 0 !important; }

.wpforms-container .wpforms-form{ max-width:100%; }

.wpforms-container .wpforms-field{ padding:0 0 18px !important; }

.wpforms-container .wpforms-field-label{
  margin-bottom:8px !important;
  font-size:15px !important;
  line-height:1.3 !important;
  font-weight:600 !important;
  color:#222 !important;
}

.wpforms-container .wpforms-field-label-inline,
.wpforms-container .wpforms-field-sublabel{
  color:#8a8f98 !important;
  font-size:13px !important;
}

.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container input[type="number"],
.wpforms-container textarea,
.wpforms-container select{
  width:100% !important;
  min-height:48px !important;
  padding:12px 14px !important;
  border:1px solid #d9dfe8 !important;
  border-radius:8px !important;
  background:#fff !important;
  box-shadow:none !important;
  font-size:15px !important;
  line-height:1.4 !important;
  color:#222 !important;
  transition:border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.wpforms-container textarea{
  min-height:140px !important;
  resize:vertical !important;
}

.wpforms-container input[type="text"]:focus,
.wpforms-container input[type="email"]:focus,
.wpforms-container input[type="tel"]:focus,
.wpforms-container input[type="number"]:focus,
.wpforms-container textarea:focus,
.wpforms-container select:focus{
  border-color:#2f3b8f !important;
  box-shadow:0 0 0 3px rgba(47, 59, 143, .08) !important;
  outline:none !important;
}

.wpforms-container ::placeholder{
  color:#8a8f98 !important;
  opacity:1 !important;
}

.wpforms-container .wpforms-required-label{ color:#cc2f2f !important; }

.wpforms-container .wpforms-submit-container{ padding-top:4px !important; }

.wpforms-container button[type="submit"],
.wpforms-container .wpforms-submit{
  min-height:46px !important;
  padding:12px 22px !important;
  border:0 !important;
  border-radius:8px !important;
  background:#2f3b8f !important;
  color:#fff !important;
  font-size:15px !important;
  line-height:1.2 !important;
  font-weight:600 !important;
  box-shadow:none !important;
  transition:background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.wpforms-container button[type="submit"]:hover,
.wpforms-container .wpforms-submit:hover{
  background:#fff !important;
  color:#000 !important;
  border:1px solid #000 !important;
  transform:translateY(-1px);
}

.wpforms-container button[type="submit"]:focus,
.wpforms-container .wpforms-submit:focus{
  outline:none !important;
  box-shadow:0 0 0 3px rgba(47, 59, 143, .12) !important;
}

.wpforms-container .wpforms-error{ font-size:13px !important; }

.wpforms-container .wpforms-confirmation-container,
.wpforms-container .wpforms-error-container{ border-radius:8px !important; }

@media (max-width:1024px){
  .cg-about-features{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:16px;
  }

  .cg-about-features__item{ justify-content:flex-start; }

  .cg-partners.wp-block-columns{
    flex-wrap:wrap;
    justify-content:center;
    gap:24px !important;
  }

  .cg-partners.wp-block-columns > .wp-block-column{ flex:0 1 calc(33.333% - 16px); }
  .cg-partners .wp-block-image{ min-height:76px; }
  .cg-logo img{ max-height:50px; }
  .cg-logo--panda img{ max-height:100px; }
}

@media (max-width:767px){
  .wp-block-image.cg-about-hero img{ height:420px; }

  .cg-about-features{
    grid-template-columns:1fr;
    gap:10px;
    padding:2px 0;
  }

  .cg-about-features__item{
    justify-content:flex-start;
    gap:10px;
  }

  .cg-about-features__text{
    font-size:13px;
    line-height:1.25;
  }

  .cg-about-features__icon--home{
    width:26px;
    height:26px;
  }

  .cg-about-features__icon--truck{
    width:30px;
    height:30px;
  }

  .cg-about-features__icon--award{
    width:32px;
    height:32px;
  }

  .cg-about-features__icon--clock{
    width:28px;
    height:28px;
  }

  .cg-about-features__icon--cart{
    width:24px;
    height:24px;
  }

  .cg-partners.wp-block-columns > .wp-block-column{ flex:0 1 calc(50% - 12px); }
  .cg-partners{ gap:18px !important; }
  .cg-partners .wp-block-image{ min-height:64px; }
  .cg-logo img{ max-height:42px; }
  .cg-logo--panda img{ max-height:70px; }
  .cg-logo--instyle img{ max-height:38px; }
  .cg-logo--aqua img{ max-height:40px; }
  .cg-logo--sanatate img{ max-height:42px; }

  .wpforms-container{ margin-top:28px !important; }
  .wpforms-container .wpforms-field{ padding-bottom:16px !important; }

  .wpforms-container .wpforms-field-label,
  .wpforms-container input[type="text"],
  .wpforms-container input[type="email"],
  .wpforms-container input[type="tel"],
  .wpforms-container input[type="number"],
  .wpforms-container textarea,
  .wpforms-container select,
  .wpforms-container button[type="submit"],
  .wpforms-container .wpforms-submit{ font-size:14px !important; }

  .wpforms-container textarea{ min-height:120px !important; }
}

@media (max-width:767px){
  .cg-partners .wp-block-column:hover{ transform:none; }
  .cg-logo img{
    filter:none;
    opacity:1;
  }
}
