/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.site-header .header-inner,
.site-footer .footer-inner
{
  max-width: 1439px;
}
@media (min-width: 576px) {
  body:not([class*=elementor-page-]) .site-main {
    max-width: 99%;
  }

}

@media (min-width: 768px) {
  body:not([class*=elementor-page-]) .site-main {
    max-width: 99%;
  }
}

@media (min-width: 992px) {
  body:not([class*=elementor-page-]) .site-main {
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  body:not([class*=elementor-page-]) .site-main {
    max-width: 100%;
  }

}

body:not([class*=elementor-page-]) .site-main {
  max-width: 1639px;
}

main#content {
  min-height: calc(100vh - 225px);
}

.header-with-line-row {
  position: relative;
  /* umożliwia absolutne pozycjonowanie pseudoelementów */
  min-height: 300px;
  /* przykładowa wysokość */
  overflow: visible;
  /* pozwala wystawać pseudoelementom poza header */
}

.header-with-line {
  position: relative;
  /* umożliwia absolutne pozycjonowanie pseudoelementów */
  min-height: 300px;
  /* przykładowa wysokość */
  overflow: hidden;
  /* pozwala wystawać pseudoelementom poza header */
}

/* Pseudoelementy BEFORE i AFTER */
.header-with-line-row::before,
.header-with-line-row::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  /* rozciąga pseudoelement na całą wysokość elementu */
  width: 935px;
  /* przykładowa szerokość linii */
  height: 469px;
  background-image: url('https://wp-dude.com/emsbodytec2/wp-content/themes/ems-bodytec/img/linia-header.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* lub cover, auto – zależnie od potrzeb */
}

/* Lewa linia (normalnie) */
.header-with-line-row::before {
  left: -936px;
  z-index: -1;
  margin-top: -70px;
}

/* Prawa linia (odwrócona) */
.header-with-line-row::after {
  right: -537px;
  z-index: 1;

  transform-origin: center;
  /* środek jako punkt obrotu */
}

.header-with-line-row {
  background-image: url('https://wp-dude.com/emsbodytec2/wp-content/themes/ems-bodytec/img/Rectangle 1.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right center;
  position: relative;
}

.header-with-line-row1 {
  z-index: 2;
  max-width: 800px;
}



/* Pseudoelement, który będzie linią */
.horizontal-line::after {
  content: "";
  position: absolute;
  right: 0px;
  top: 0%;
  width: 969px;
  height: 99px;
  background: url('https://wp-dude.com/emsbodytec2/wp-content/themes/ems-bodytec/img/vertical-line.svg') no-repeat top right;

  @media (max-width: 969px) {
    display: none;
  }
}

.horizontal-line {
  overflow: visible;
}



.grw-controls .grw-btns svg {
  background-color: black;
  border-radius: 20px;
}

.wp-gr .rpi-dot.active {
  background-color: #131313 !important;
}

@media screen and (max-width: 980px) {
  .background-column {
    display: none !important;
  }

  .et_section_specialty .not-background-column {
    width: 100% !important;
  }

  .entry-content div.header-section {
    background-position: right 3% top !important;
  }

  #sb_instagram .sb_instagram_header p,
  .sb_instagram_header p {
    display: none;
  }
}


.ems-packages {

  margin: 0 auto;
}


/* Kontener na kafelki w układzie grid */
.ems-packages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* --- ELEMENTY: .ems-package (kafelek) --- */
/* Podstawowy styl pojedynczego pakietu */
.ems-package {
  border-radius: 8px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #fff;
  letter-spacing: 2px;
}

.ems-package__heading {
  font-size: 20px;
  margin-bottom: 20px;

}

.ems-package__price {
  font-size: 35px;
  font-weight: bold;
  color: #c6ff00;
  /* neonowy akcent */
  margin-bottom: 5px;
}

.ems-package__price-info {
  font-size: 15px;
  color: #ccc;
  margin-bottom: 20px;
}

.ems-package__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.ems-package__list-item {
  margin-bottom: 5px;
  line-height: 2;
  font-size: 12px;
}

/* Przycisk w kafelku */
.ems-package__button {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  background-color: #c6ff00;
  color: #000;
  font-weight: bold;
  padding: 12px 18px;
  border-radius: 20px;
  transition: background 0.3s, transform 0.2s;
  margin-top: auto;
  /* „dociąga” przycisk do dołu kafelka */
}

.ems-package__button:hover {
  background-color: #b2eb00;
  transform: translateY(-2px);
}

/* --- MODYFIKATORY (np. różne warianty kafelków) --- */
/* Trening wdrożeniowy: ciemnoszare tło */
.ems-package--intro {
  background-color: #4f4f4f;
}

/* Członkostwo: czarne tło */
.ems-package--membership {
  background-color: #1a1a1a;
}

/* Najlepszy pakiet: wyróżniona plakietka w rogu */
.ems-package--best-plan {
  position: relative;
}

.ems-package--best-plan::before {
  content: "Best Plan";
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #c6ff00;
  color: #000;
  font-weight: bold;
  padding: 6px 10px;
  font-size: 0.8rem;
  border-radius: 4px;
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 500px) {
  .ems-packages__title {
    font-size: 1.8rem;
  }

  .ems-packages__subtitle {
    font-size: 1rem;
  }

  .ems-package__price {
    font-size: 1.6rem;
  }
}

.wp-gr .rpi-dot {
  background-color: var(--slider-dot-color, #4f4e4e) !important;
  width: 24px !important;
}

.faq-answer {
  display: none;
  margin-left: 10px;
  color: #fff;
}

.faq-title {
  color: #DBFF00;
  cursor: pointer;
  margin: 10px 0;
  transform: scale(1.05);
}

.faq-section {
  margin: 20px 0;
  font-size: 15px;
}


.custom-form .wpcf7-submit {
  width: 100%;
}

.custom-form .wpcf7-textarea {
  height: 140px !important;
}

.custom-form {
  display: flex;
  flex-direction: column;

  font-family: Arial, sans-serif;
  color: #ffffff;
}

.custom-form p {
  margin: 0px;
}

.custom-form input,
.custom-form .privacy-policy,
.custom-form textarea,
.custom-form label {
  background-color: #1c1c1c;
  border: 1px solid #333333;
  padding: 10px;
  color: #ffffff;
  font-size: 16px;
  width: 100%;
  margin: 10px 0;
}

.custom-form input::placeholder,
.custom-form textarea::placeholder,
label.privacy-policy {
  color: #777777;
}

.custom-form textarea {
  resize: none;
  min-height: 100px;
}

.custom-form .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 5px 0;
}

.custom-form .checkbox-group span {
  flex-basis: 100%;
  font-size: 14px;

}

.custom-form .checkbox-group,
.custom-form .privacy-policy {
  color: #898989 !important;
}

.custom-form .privacy-policy {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.custom-form .privacy-policy input {
  margin-right: 10px;
}

.custom-form [type="submit"] {
  background-color: #898989 !important;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  color: #ffffff !important;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.custom-form [type="submit"]:hover {
  background-color: #c0df01 !important;
  color: #000;
}



.wpcf7-form-control.wpcf7-radio span {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.wpcf7-form-control.wpcf7-radio span {
  padding-left: 5px !important;
}

.wpcf7-form-control.wpcf7-radio {
  display: flex;
  flex-direction: row;
}

label.privacy-policy .wpcf7-form-control-wrap .wpcf7-checkbox .wpcf7-list-item {
  display: flex;
  align-items: center
}

.custom-form .privacy-policy input {
  height: 20px;
  width: 20px;

}

.site-footer .footer-inner .copyright {
  padding-top: 30px;
  width: 100%;
}







@media (min-width: 768px) {
  .product .row {
    display: flex;
    min-height: 550px;
    gap: 0 40px;
  }

  .row .col-md-5 {
    width: 40%;
  }

  .row .col-md-7 {
    width: 60%;
  }
}

@media (max-width: 767px) {
  .product .row {
    display: flex;
    flex-direction: column;
    gap: 40px 0;
  }

  .row .col-md-5,
  .row .col-md-7 {
    width: 100%;
  }
}

.product .row .product-description {
  display: flex;
  justify-content: center;
  flex-direction: column;
  color: #000;
  align-items: center;
  gap: 20px;
  height: 550px;
  background-color: #ddff00e7;
}

.product.row .product-description div {

  background-color: red;
}

.product .row .woocommerce-Price-amount {
  font-size: 40px;
}

.product .row .product-content {
  position: relative;
}

.horizontal-line2::after {
  content: "";
  position: absolute;
  right: 103%;
  top: 10px;
  width: 969px;
  height: 99px;
  background: url('https://wp-dude.com/emsbodytec2/wp-content/themes/ems-bodytec/img/vertical-line.svg') no-repeat top right;

  @media (max-width: 969px) {
    display: none;
  }
}

.horizontal-line2 {
  overflow: visible;
}

.row .product-content p {
  margin: 30px 0;
}

.product .related-products {
  padding-top: 40px;
}

.single-product .product .button.single_add_to_cart_button,
.single-product .product .button {
  background-color: #FFFFFF;
  font-size: 19px;
  font-weight: 500;
  color: #000;
  border-radius: 50px;
  padding: 12px 24px;
  text-align: center;

}

.single-product .product-description .add-to-cart-button .payu-mini-installments-widget a {
  color: #000 !important;

}

.payu-mini-installments-widget{
  padding-bottom: 40px !important;
  display: block;
}

.related.products .payu-mini-installments-widget {
  display: none;
}



.woocommerce .related.products li.product a img

{
  max-width:100px;
}
.woocommerce .related.products H2
{
  padding: 30px 0;
}
