/* Common */
aside.primary-sidebar .sidebar-inner-wrap {
  padding: 20px;
  border: 1px solid var(--global-palette6);
  border-radius: 20px;
}

.single-product.content-vertical-padding-hide .kadence-breadcrumbs {
  padding: 1em 0;
}

.kadence-breadcrumbs {
  white-space: nowrap;
  overflow: auto;
}

.woocommerce form .form-row,
.woocommerce-page form .form-row {
  width: 100%;
}

.add_to_cart_button.ajax_add_to_cart {
  padding: 18px 0;
}

@media (max-width: 767px) {
  .site-branding {
    padding: 0px 0px 0px 16px;
  }

  .site-main-header-wrap .site-header-row-container-inner > .site-container {
    padding: 0px 16px 0px 0px;
  }

  .site-container {
    padding: 0 16px;
  }
}

.site-header-item
  .header-cart-wrap
  .header-cart-inner-wrap
  .header-cart-button {
  height: 38px;
  padding: 0 15px;
  border-radius: 30px;
  background-color: var(--global-palette1);
}

.site-header-item .header-cart-wrap .header-cart-inner-wrap svg {
  fill: var(--global-palette9);
}

.site-header-item
  .header-cart-wrap
  .header-cart-inner-wrap
  .header-cart-button
  .header-cart-total {
  margin-left: 2px;
  font-size: 12px;
  background-color: unset;
}

/* Index Page */
.index-page__products .kt-blocks-info-box-media {
  border-radius: 20px;
}

.index-page__popular-items .wc-block-grid__product-title {
  height: 52px;
}

.site-main .wc-block-grid__products li.entry {
  border-start-start-radius: 30px;  /* top-left */
  border-start-end-radius: 30px;    /* top-right */
  border-end-start-radius: 0;       /* bottom-left */
  border-end-end-radius: 0;         /* bottom-right */
}

@media screen and (min-width: 1025px) {
  .index-page__products .kt-blocks-info-box-media {
    border-radius: 30px;
  }
}
@media screen and (max-width: 767px) {
  .site-main .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner .kb-gallery-item-link .kb-gal-image-radius,
  .site-main .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner .kb-gallery-item-link img {
    border-radius: unset;
  }
  .site-main .slick-prev,
  .site-main .slick-next {
    display: none;
  }
  .site-main .kb-gallery-ul .kt-blocks-carousel .splide__pagination {
    bottom: -12.5px;
  }
}
@media screen and (max-width: 480px) {
  .index-page__popular-items .wc-block-grid__product-title {
    height: 73px;
    margin-bottom: 0;
  }
}
@media screen and (max-width: 375px) {
  .feautures-main .features-main__item .kt-inside-inner-col {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    gap: 10px;
  }
  .feautures-main .features-main__item h2.wp-block-kadence-advancedheading {
    font-size: 14px;
  }
}

/* Contact Page */
.contacts-form .wp-block-contact-form-7-contact-form-selector {
  max-width: 750px;
  margin: 0 auto;
}

.contacts-form .kt-inside-inner-col {
  background: transparent;
}

/* Catalog */
@media screen and (max-width: 1025px) {
  .has-sidebar .content-container {
    display: grid;
  }

  .has-left-sidebar #main {
    order: 2;
  }

  .has-left-sidebar #secondary {
    order: 3;
  }
}

@media screen and (min-width: 1025px) {
  .has-sidebar .content-container {
    grid-gap: 20px var(--global-xl-spacing);
  }

  .has-left-sidebar #main,
  .has-left-sidebar #secondary {
    grid-row: 2;
  }
}

/* Footer */
.widget_nav_menu .menu-item > a {
  display: inline;
}

/* Forms */
form.wpcf7-form input {
  width: 100%;
  height: 78px;
  padding: 30px 15px;
  border-radius: 8px;
  border: solid 1px #dbdee5;
  background-color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #7e889a;
  margin-bottom: 25px;
}

form.wpcf7-form textarea {
  min-width: 100%;
  min-height: 150px;
  max-height: 300px;
  padding: 30px 15px;
  border-radius: 8px;
  border: solid 1px #dbdee5;
  background-color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #7e889a;
  margin-bottom: 25px;
}

form.wpcf7-form input[type="submit"] {
  width: 100%;
  height: 60px;
  padding: 0;
  background-color: var(--global-palette3);
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 3.2px;
  color: #fff;
  text-transform: uppercase;
  margin: 15px 0 0;
  cursor: pointer;
  transition: all cubic-bezier(0.2, 1.03, 0.71, 1.05) 0.4s;
  border: solid 1px transparent;
  border-radius: 35px;
  letter-spacing: 0.1em;
}

.wpcf7-form-control-wrap:has(.wpcf7-not-valid-tip) input {
  margin-bottom: 0;
}

.wpcf7 form .wpcf7-response-output {
  margin: 0;
}

form.wpcf7-form .wpcf7-spinner {
  display: none;
}

form.wpcf7-form > p {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  form.wpcf7-form input {
    height: 50px;
    padding: 25px 15px;
    margin-bottom: 20px;
  }
}

/* Modal */
.modal-request {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-request.open {
  display: flex;
}

.modal-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
}

.modal-block {
  max-width: 600px;
  width: 100%;
  padding: 40px;
  position: relative;
  background-color: var(--global-palette8);
  border-radius: 20px;
}

.modal-close {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 30px;
  right: 30px;
  cursor: pointer;
}

.modal-name {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 15px;
  text-transform: none;
}

.modal-description {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.modalCookie {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: space-between;
  column-gap: 30px;
  background-color: var(--global-palette8);
  max-width: 930px;
  padding: 25px;
  border-radius: 12px;
  width: 100%;
}

.modalCookie__text {
  max-width: 573px;
  width: 100%;
  color: #152f50;
  font-size: 14px;
  line-height: 130%;
}

.modalCookie__button {
  height: 50px;
  width: 100%;
  max-width: 277px;
  padding: 8px 20px;
  color: #fff;
  background-color: var(--global-palette3);
  border: none;
  border-radius: 8px;
  font-family: "OpenSans", Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 110%;
  text-transform: uppercase;
  border-radius: 40px;
  box-shadow: 0px 0px 0px -7px rgba(0,0,0,0);
}

@media (max-width: 768px) {
  .modalCookie {
    column-gap: 20px;
    max-width: 690px;
    bottom: 0;
  }

  .modalCookie__text {
    font-size: 12px;
    max-width: 423px;
  }

  .modalCookie__button {
    max-width: 197px;
  }

  .modal-block {
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    border-radius: 0;
  }

  .modal-close {
    width: 26px;
    height: 26px;
    right: 10px;
    top: 10px;
  }

  .modal-name {
    font-size: 34px;
  }

  .modal-description {
    font-size: 16px;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .modal-description {
    display: flex;
    flex-direction: column;
  }
  .modalCookie {
    max-width: 288px;
    row-gap: 16px;
    flex-direction: column;
  }

  .modalCookie__text {
    line-height: 150%;
    text-align: center;
  }

  .modalCookie__button {
    max-width: 100%;
    font-size: 10px;
  }
}

/* Catalog Item */
.site-main .products li.entry {
  border-start-start-radius: 30px;  /* top-left */
  border-start-end-radius: 30px;    /* top-right */
  border-end-start-radius: 0;       /* bottom-left */
  border-end-end-radius: 0;         /* bottom-right */
}

@media (max-width: 480px) {
  .wapo-total-order {
    display: block;
  }

  .wapo-total-order th,
  .wapo-total-order td {
    display: block;
    width: 100%;
    text-align: left;
    padding: 5px 0;
    box-sizing: border-box;
  }
}

/* Catalog Element */
.woocommerce div.product form.cart .button.single_add_to_cart_button,
.woocommerce a.button.checkout-button, /* Basket button */
#payment #place_order /* Order button */ {
  border-radius: 30px 30px 30px 30px;
  border: 2px none transparent;
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  float: none;
  padding: 18px 0;
  height: 50px;
  width: 100%;
  max-width: 255px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-area,
.content-vertical-padding-hide .content-area {
  margin-top: 20px;
}

.woocommerce .single-product-extras {
  margin: 20px 0;
}

.single-product-extras strong,
.woocommerce-terms-and-conditions-wrapper, /* Order text */ 
.wc_payment_methods /* Order text */  {
  font-weight: 400;
  font-size: 14px;
}

.woocommerce ul.products.woo-archive-btn-button .product-action-wrap .button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
}
.woocommerce div.product form.cart div.quantity {
  margin-top: 6px;
  margin-bottom: 20px;
}

/* Mobile indentation */
@media (max-width: 767px) {
  .content-wrap .entry-content-wrap,
  .kt-blocks-info-box-link-wrap,
  .kt-row-layout-inner,
  .content-width-fullwidth .content-container.site-container,
  .index-page__products,
  .need-padding-mobile {
    padding-left: 16px;
    padding-right: 16px;
  }

  .no-padding-mobile .kt-row-column-wrap.kb-theme-content-width,
  .wp-block-kadence-rowlayout .kt-row-column-wrap.kb-theme-content-width {
    padding-left: 0;
    padding-right: 0;
  }
  .entry-content .wp-block-kadence-advancedgallery {
    margin-left: 0;
    margin-right: 0;
  }
}
