/* Phone fixes for the home page, header menu and footer. Inline styles on the home page need !important. */

/* Menu: the logo is an svg too and got the icons' outline; Flatsome's button padding left the X about 2 px wide */
.pech-offcanvas .pech-oc-head > a svg{stroke:none}
.pech-oc-close,.pech-cd-close{padding:0 !important;min-width:0;margin:0}
.pech-oc-close svg,.pech-cd-close svg{flex:none}
/* „Пазарувай по повод“: the icon sits with the text on its left, not alone in the middle */
.pech-grid-occ .pech-ico{align-self:flex-start}

@media (max-width:640px){
  /* „Пазарувай по повод“: a long word made the first column wider and the second card ran past the margin */
  .pech-grid-occ{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
  .pech-grid-occ > a{padding:16px !important;min-height:0 !important;border-radius:18px !important;gap:14px}
  .pech-grid-occ > a:first-child{padding:24px 20px !important;min-height:210px !important}
  .pech-grid-occ > a:not(:first-child) h3{font-size:16px !important;margin-bottom:4px}
  .pech-grid-occ > a:first-child h3{font-size:26px !important}
  .pech-grid-occ > a span[style*="font-size:13px"]{font-size:12.5px !important;line-height:1.35;display:block}

  /* „Как да поръчам“: the desktop padding left the text about 150 px wide */
  #kak .pech-wrap > div{padding:28px 14px 14px !important;border-radius:22px !important}
  #kak .pech-wrap > div > div:first-child{margin-bottom:20px !important}
  #kak h2{font-size:26px !important}
  #kak .pech-grid-3{gap:10px}
  #kak .pech-grid-3 > div{padding:20px 18px !important}
  #kak .pech-grid-3 .pech-ico{width:48px !important;height:48px !important;border-radius:13px !important}
  #kak .pech-grid-3 h3{margin:12px 0 6px !important}

  /* The chat bubble covered the copyright and payment lines at the end of the page */
  footer > div:last-child > .pech-wrap{padding-bottom:84px !important}
}

/* Two columns like the category pages: one column made the home page about 7 000 px long */
@media (max-width:420px){
  .pech-grid-4,.pech-grid-prod{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 12px}
  .pech-tile--feature{grid-column:1 / -1}
  .pech-tile .pech-lbl{font-size:15px;line-height:1.25}
  .pech-tile .pech-sub{font-size:12.5px;line-height:1.35}
  .pech-grid-prod .pech-vpcard-media{padding:12px}
  .pech-grid-prod .pech-vpcard-title{font-size:14px}
  .pech-grid-prod .pech-unit{white-space:normal}
  .pech-grid-prod .pech-vpcard-fav{transform:scale(.85);transform-origin:top right}
}
