/*
Theme Name: Chachar 2022
Theme URI: https://posunemevasvys.cz
Author: 4Works
Author URI: https://posunemevasvys.cz
Description: Kompletní šablona pro zobrazování webu a systému chachar
Version: 1.0
License: Nešiřitelné
Tags: chachar, šablona, food, system, jídlo
Text Domain: chachartheme
*/
.address-spans,
.checkout-step__delivery .custom-group-inline {
  position: relative;
}

.cart-address-alert {
  display: inline;
  position: absolute;
  top: 55px;
  padding: 1rem;
  z-index: 99999;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.checkout-step__delivery .custom-group-inline .cart-address-alert {
  top: 70px;
  left: 0;
}

@media (max-width: 500px) {
  .checkout-step__delivery .custom-group-inline .cart-address-alert {
    top: 95px;
  }
}

a.agree-btn {
  padding: 8px 17px;
  background: var(--chachar);
  border-radius: 0.75rem;
  display: block;
  max-width: max-content;
  color: white !important;
  margin-top: 0.75rem;
  cursor: pointer;
}

.config-bottom-part::-webkit-scrollbar {
  width: 15px;
}

.product-wrapper.js-dim-choose,
[data="login-btn"] {
  cursor: pointer;
}

/*o -nas */
.about_us_wrapper .button {
  padding: 10px;
}
img {
  max-width: 100%;
}

div#obsah {
  overflow: hidden;
}

.gray.patterned {
  background-image: url(/wp-content/uploads/2023/08/bg-pattern.svg);
  background-repeat: no-repeat;
  background-size: cover;
}

#pizza-od-chachara {
  animation: float ease-in 2.6s infinite;
  right: 0;
}

#ily {
  right: 0;
  bottom: 5rem;
}

.about_us_grid > p {
  margin-bottom: 0;
}

img#salam {
  margin-top: -3rem;
}

#syr-kousek {
  max-width: 10rem;
  bottom: 0rem;
  right: 5rem;
  z-index: 2;
  animation: float ease-in 3.6s infinite;
}

#rajce {
  bottom: 3rem;
  right: 15rem;
}

#paprika {
  bottom: 5rem;
  right: 3rem;
}

#salam-chachar {
  max-width: 16rem;
  right: 1rem;
  bottom: 0;
  z-index: 2;
}
img#pizza {
  right: -2rem;
}

svg#shape2 {
  max-width: 30rem;
  left: 4rem;
  top: -2rem;
  position: absolute;
  transform: rotate(-15deg);
}

.kariera_wrapper #pozice {
  padding: 1.75rem;
}

.img-pozice img {
  height: 100%;
}
/* respo */
@media (min-width: 540px) {
  .justify p:not(.disclaimer),
  .justify li {
    text-align: justify;
  }
}
@media (max-width: 1700px) {
  #pizza-v-krabici {
    left: -13rem;
  }
}

@media (max-width: 1500px) {
  #pizza-v-krabici {
    display: none;
  }
  svg#shape2 {
    left: -3rem;
  }
}

@media (max-width: 1100px) {
  .about_us_grid .grid-item {
    margin-bottom: 100px;
  }

  #chachar-shape,
  #shape2,
  #syr-kousek {
    display: none;
  }
  img#pizza {
    right: -9rem;
  }

  .kariera_wrapper h1 {
    font-size: 42px !important;
  }
}

@media (max-width: 1099px) {
  #eidam-syr-img,
  #rajce,
  #paprika,
  #salam-chachar {
    display: none;
  }
  .mob-mb {
    margin-bottom: 0 !important;
  }

  .mob-mt {
    margin-top: 0 !important;
  }
  section.about_us_grid.last > div {
    margin: 1rem !important;
  }
  .about_us_wrapper .menu {
    margin-top: 0;
  }

  .pozice_grid p {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .kariera_wrapper .pozice_grid button {
    max-width: max-content;
  }

  .pozice_grid {
    text-align: center;
  }
}

@media (max-width: 991px) {
  .kariera_wrapper .pozice {
    max-width: 100% !important;
    width: 100% !important;
  }

  .kariera_wrapper .pozice br {
    display: none;
  }

  .img-pozice img {
    display: none;
  }

  .about_us_wrapper .button,
  .kariera_wrapper .button_pozice {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .about_us_wrapper h1 {
    font-size: 3.25rem;
    padding-bottom: 2rem;
  }
  #ily {
    display: none;
  }
  #pizza-od-chachara {
    bottom: -4rem;
  }
}

/*kariera*/

.kariera_wrapper .pozice {
  max-width: 50%;
  right: 1.25rem;
  top: 0;
  width: 100%;
  padding: 0 1.25rem;
}

.img-pozice {
  max-width: 50%;
  padding: 1.25rem;
}

.chachar_voucher {
  max-width: 600px;
  margin: 0 auto;
  /*border: 1px solid #000;*/
  border-radius: 25px;
  padding: 25px;
}

.chachar_voucher .input-wrapper,
.chachar_voucher label {
  margin: 0;
}

/* p.chachar_voucher_input input {
  min-height: 62px;
  padding: 10px;
  border: 1px solid silver;
  border-radius: 10px;
} */

.gift-ucet-data {
  border-radius: 25px;
  background-color: #fff;
  padding-top: 25px;
  box-shadow: 0px 16px 26px #00000029;
}

.gift-ucet-data:before {
  content: "";
  background: url("/pdf/kluk.png");
  position: absolute;
  left: 30px;
  width: 150px;
  height: 150px;
  background-size: contain;
  background-repeat: no-repeat;
  top: -110px;
  z-index: 99999999 !important;
}

.points-to-gift-list:before {
  content: "";
  background: url("/pdf/kasparek.png");
  position: absolute;
  right: 30px;
  width: 150px;
  height: 150px;
  background-size: contain;
  background-repeat: no-repeat;
  top: -120px;
  z-index: 99999999 !important;
}

.chachar_voucher_step {
  color: var(--chachar);
  font-weight: 700;
  font-size: 18px;
}

.chachar_voucher_input input {
  width: 100%;
}

.chachar_voucher_radio,
.chachar_voucher_input input {
  margin-bottom: 15px;
}

.pin-wrapper {
  border: 1px solid silver;
  text-align: center;
}
.pin-wrapper p {
  text-align: center;
  margin-bottom: 0;
}
.chachar_voucher_input input {
  padding: 10px;
  border: 1px solid silver;
  border-radius: 10px;
  margin-bottom: 15px;
  min-height: 62px;
}

.chachar_voucher_radio .input-wrapper input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  width: 18px;
  height: 18px;
  padding: 3px;
  background-clip: content-box;
  border: 2px solid #c6c6c7;
  background-color: #e7e6e700;
  border-radius: 50% !important;
  margin-bottom: 4px;
}

.chachar_voucher_radio .input-wrapper input[type="radio"]:checked {
  background-color: #e9672b;
}

.chachar_voucher_radio .input-wrapper {
  position: relative;
  display: block;
  margin-top: 10px;
}

.chachar_voucher_kluk {
  height: 150px;
  margin-top: -150px;
}

.voucher_line {
  display: flex;
  margin-top: 20px;
  align-items: center;
  padding-bottom: 12px;
}
.voucher_line:nth-of-type(4) {
  align-items: flex-start;
}

.voucher_line .voucher_circle {
  display: inline-block;
  background: var(--chachar);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 25px;
  text-align: center;
  font-size: 22px;
  line-height: 50px;
  position: relative;
}

.voucher_line .voucher_line_content {
  display: inline-block;
  padding-left: 10px;
  width: calc(100% - 60px);
  margin-left: 8px;
}
.voucher_line_content p {
  margin: 0;
}
.page-id-4485 .obsah_prodej_poukazu,
.page-id-158 .obsah_prodej_poukazu {
  padding-top: 50px;
  background: url("/pdf/pattern2.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: right;
}

div#obsah.obsah_prodej_poukazu {
  min-height: calc(100vh - 64px);
}

.page-id-158 #obsah section {
  padding-left: 32px !important;
  padding-right: 32px !important;
}

.page-id-86 h2,
.page-id-86 h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 1rem;
}

.page-id-86 h3 {
  font-size: 1.25rem;
}

.obsah_prodej_poukazu > a,
.page-id-86 #obsah.obsah_prodej_poukazu section {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: block;
}

.page-id-86 #obsah section {
  padding-top: 1.5rem;
}

.obsah_prodej_poukazu h1 {
  position: relative;
  max-width: max-content;
}

.obsah_prodej_poukazu .pizzavoucherlogotop::before {
  left: unset;
  right: -90px;
  top: 0;
}

.voucher_branches a {
  color: #d01f33;
  margin: 0 0.5rem;
}
.voucher_branches {
  margin-top: 1.5rem;
}

.voucher_branches a:first-of-type {
  margin-left: 0;
}

.row.frmujucet .row {
  justify-content: space-between;
}
.pizzavoucherlogo {
  font-weight: 700 !important;
  color: #000 !important;
  position: relative;
  bottom: 100px;
}

.pizzavoucherlogo span {
  font-weight: 700;
  color: var(--chachar);
}

.pizzavoucherlogo::before {
  content: "";
  position: absolute;
  background: url(/wp-content/uploads/2023/08/iloveeidam.png) center center
    no-repeat;
  background-size: contain;
  right: 100px;
  bottom: -80px;
  width: 80px;
  height: 80px;
  transform: rotateZ(-20deg);
  animation: eidampulse 3s infinite forwards;
}

.pizzavoucherlogotop {
  font-weight: 700 !important;
  color: #000 !important;
  margin-left: 30px;
}

.pizzavoucherlogotop span {
  font-weight: 700;
  color: var(--chachar);
  cursor: pointer;
}

.pizzavoucherlogotop::before {
  content: "";
  position: absolute;
  background: url(/wp-content/uploads/2023/08/iloveeidam.png) center center
    no-repeat;
  background-size: contain;
  left: 300px;
  top: 80px;
  width: 80px;
  height: 80px;
  transform: rotateZ(-20deg);
  animation: eidampulse 3s infinite forwards;
}

.page-id-158 .obsah_prodej_poukazu p {
  background-color: #fff;
}

.darovat_jidlo {
  font-weight: 700;
  color: var(--chachar);
}

@media (max-width: 1200px) {
  .points-to-gift-list {
    height: 100%;
    display: flex;
    align-items: center;
  }

  .chachar_voucher {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 991px) {
  .page-id-4485 .obsah_prodej_poukazu,
  .page-id-158 .obsah_prodej_poukazu {
    background: none;
  }

  .gift-ucet-data {
    margin-top: 150px;
  }
  .voucher_line:nth-of-type(1) {
    align-items: flex-start;
  }

  .voucher_branches a {
    font-size: 16px;
    margin-left: 0;
    margin-right: 1.25rem;
  }
  .voucher_branches {
    font-size: 0;
  }
}
@media (max-width: 640px) {
  .page.page-id-4485 #obsah.obsah_prodej_poukazu section,
  .page.page-id-158 #obsah.obsah_prodej_poukazu > section,
  .page.page-id-86 #obsah.obsah_prodej_poukazu section {
    padding: 35px 16px !important;
  }
  .obsah_prodej_poukazu .pizzavoucherlogotop::before {
    left: unset;
    right: -50px;
    top: 24px;
    width: 40px;
    height: 40px;
  }
}

.category_banner_desktop {
  display: block;
}
.category_banner_mobil {
  display: none;
}

@media (max-width: 1200px) {
  .category_banner_desktop {
    display: none;
  }
  .category_banner_mobil {
    display: block;
  }
}

footer .copyright-content svg {
  max-width: 60px;
  position: relative;
  bottom: 1px;
}

.vypis_ostatnich_pobocek {
  padding-top: 3.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background: url("/wp-content/themes/chacharcz/assets/img/hp_background.svg");
  &::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f8f8f8 1%, #f8f8f8f0);
    content: "";
    z-index: 1;
  }
  h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    img {
      margin-right: 0.25rem;
    }
  }

  > div.pobocky {
    position: relative;
    z-index: 2;
    background: white;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    -webkit-box-shadow: 0px 10px 60px 0px rgb(0 0 0 / 6%);
    -moz-box-shadow: 0px 10px 60px 0px rgba(0, 0, 0, 0.06);
    box-shadow: 0px 10px 60px 0px rgb(0 0 0 / 6%);
    border-radius: 33px;
    padding: 1rem 1rem 1.25rem;
    max-width: 1400px;
    margin: 2.25rem 1.25rem 5.25rem;
    width: calc(100% - 2.5rem);
    @media (max-width: 1024px) {
      grid-template-columns: repeat(3, 1fr);
    }

    @media (max-width: 800px) {
      grid-template-columns: repeat(2, 1fr);
      padding: 1.25rem;
      margin: 1.25rem 1.25rem 3.25rem;
    }

    @media (max-width: 640px) {
      padding: 1rem;
      .vypis_ostatnich_pobocek_polozka {
        margin: 0;
      }
    }

    @media (max-width: 480px) {
      grid-template-columns: repeat(1, 1fr);
      .vypis_ostatnich_pobocek_polozka {
        text-align: center;
        div {
          justify-content: center;
        }
      }
    }
  }
}

.vypis_ostatnich_pobocek_polozka {
  /* display: inline-block;
    width: calc(25% - 30px); */
  padding: 30px 30px 36px;
  position: relative;
  border-bottom: 1px solid #ededed;
  border-right: 1px solid #ededed;
  @media (min-width: 1025px) {
    &:nth-last-child(-n + 4) {
      border-bottom: 0;
    }
    &:nth-child(4n) {
      border-right: 0;
    }
  }

  @media (min-width: 801px) and (max-width: 1024px) {
    &:nth-last-child(-n + 3) {
      border-bottom: 0;
    }
    &:nth-child(3n) {
      border-right: 0;
    }
  }

  @media (min-width: 481px) and (max-width: 800px) {
    &:nth-last-child(-n + 2) {
      border-bottom: 0;
    }
    &:nth-child(2n) {
      border-right: 0;
    }
  }
  @media (max-width: 480px) {
    border-right: 0;
    &:last-child {
      border-bottom: 0;
    }
  }
  &::before {
    content: "";
    width: 30%;
    height: 140%;
    position: absolute;
    right: 10px;
    bottom: -20%;
    background: url(/wp-content/themes/chacharcz/ikony/pobocka.svg) no-repeat;
    background-position: right;
    opacity: 0.15;
  }
  a {
    color: var(--cerna);
    text-decoration: underline;
  }

  a.pobocka_nazev {
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    display: block;
    margin-bottom: 0.25rem;
    color: var(--cerna);
  }

  div {
    display: flex;
    align-items: start;
    padding: 0.025em 0;
  }
  i {
    min-width: 1.5rem;
    padding: 4px 8px 4px 0px;
    color: var(--chachar);
  }

  @media (max-width: 800px) {
    div {
      font-size: 0.875rem;
    }
    i {
      min-width: 1.25rem;
      padding: 4px 6px 4px 0px;
    }
  }
}

@media (max-width: 800px) {
  .vypis_ostatnich_pobocek h2 {
    font-size: 1.25rem;
    margin-bottom: 0;
    img {
      width: 28px;
      height: 28px;
    }
  }
}

.headerRozcestnik {
  .ostatni_pobocky_polozky {
    right: 15px;
  }
  .container-header {
    justify-content: space-between;
  }
  .address-col {
    flex: 1;
    max-width: 100%;
  }
  .header-wrapper a {
    margin: 0 !important;
  }
  @media (max-width: 1199px) {
    .logo-col {
      max-width: max-content !important;
    }
    .address-col {
      flex: 1;
      max-width: 100%;
      max-width: max-content !important;
      margin-right: 0;
    }

    .phone-col {
      display: none;
    }

    .header-wrapper a {
      min-width: max-content;
    }
  }

  @media (max-width: 767px) {
    .custom-logo {
      max-height: 60px;
    }
  }

  @media (min-width: 576px) and (max-width: 767px) {
    .custom-logo {
      max-height: 60px;
    }
    a[title="Zákaznická podpora"] {
      display: none;
    }
  }
}

.product-price, .jiz-v-kosiku-wrap {
        margin: 0.25rem 0 ;
    }

.jiz-v-kosiku-wrap {
  margin-left: auto;
}

#koupit-znovu-move-container {
  .koupit-znovu-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
  h3.koupit-znovu-title {
    font-weight: 700;
    margin: 1.75rem 0;
  }

  .product-image-wrapper {
    max-width: 7rem;
    height: 100%;
    background: white;
    padding: 0.5rem;
    align-items: center;
    display: flex;

    
  }
  .product-info-wrapper {
    padding-bottom: 24px !important;
  }

  .product-wrapper {
    flex-direction: row;
  }

  .product-types {
    position: unset;
    left: unset;
    bottom: unset;
    margin-top: 0.25rem;
    
  }
  .product-price {
    display: flex;
    align-items: flex-end;
  }

  .product-title h2 {
    margin-bottom: 0.5rem;
  }

  @media (max-width:1500px) {
    .product-info-wrapper {
      padding: 16px!important;
      padding-left:6px!important;
      min-height: unset;
    }

    .product-wrapper:hover {
    background: inherit;
    color:inherit;
    .product-info-text, .svg-atc-fill {
    color: inherit;
    } 
    }
  }

  @media (max-width:1360px) {
    .koupit-znovu-wrapper {
    grid-template-columns: repeat(2, 1fr);
    }
    
  }


  @media (max-width:991px) {
    .koupit-znovu-wrapper {
    grid-template-columns: repeat(1, 1fr);
    }

    .product-types {
      margin-top: 0.33rem;
      .product-price, .jiz-v-kosiku-wrap {
        margin: 0.25rem 0 ;
      }
    }

     .product-image-wrapper {
    max-width: 5.75rem;
    
  }
  }
  @media (max-width: 580px) {
    .product-title h2 {
        min-height: unset;
    }
  }
}

@media (max-width:991px) {
  .product-types {
      
    }
}


/*ooprava dlazdice */

@media (max-width:767px) {

  .product-info-wrapper {
    flex:1
  }

      .product-types {
        margin-top: auto;
        padding-top: 20px;
    }

}

.cart-banner-desktop, .cart-banner-mobile {
    margin-bottom: 15px;
}

.cart-banner-mobile {
    display: none;
}

.js-highlight-wrapper.promo-section, .js-highlight-wrapper.isic-section {
    margin-bottom: 10px !important;
}

@media (max-width: 1200px) {
    .cart-banner-desktop {
        display: none;
    }
    .cart-banner-mobile {
        display: block;
    }
}