/* PICCOLI Mobile Fixes 1.3.0 */

/* 1) Стрелки на картичките – скриени (сликите се менуваат со лизгање) */
.pcf-hidden-arrow{display:none!important}
.pcf-swipe{touch-action:pan-y}

/* 2) Прозорец за слика – без стрелки и броење, клик на сликата зумира */
.pc-photo-dialog .pc-photo-previous,
.pc-photo-dialog .pc-photo-next,
.pc-photo-dialog .pc-photo-counter{display:none!important}
.pc-photo-dialog>img,.pc-dialogphoto{cursor:zoom-in}
.pcf-zoomwrap{position:relative;width:100%;height:100%;overflow:hidden;-webkit-overflow-scrolling:touch;border-radius:12px}
.pcf-zoomwrap>img{display:block;width:100%;height:100%;object-fit:contain;cursor:zoom-in}
.pcf-zoomwrap.pcf-zoomed{overflow:auto}
.pcf-zoomwrap.pcf-zoomed>img{width:240%;height:auto;max-width:none;max-height:none;object-fit:initial;cursor:zoom-out}
.pc-photo-dialog{padding:52px 14px 14px}
@media(max-width:600px){.pc-photo-dialog{padding:52px 10px 10px}}

/* 3) Копче X – без круг, рамка и сенка */
.pc-photo-close,.pc-dialogclose,.pc-guideclose,.pcf-close{
  border:0!important;box-shadow:none!important;outline:0!important;background:transparent!important;
  -webkit-tap-highlight-color:transparent}
.pc-photo-close:focus,.pc-photo-close:focus-visible,
.pc-dialogclose:focus,.pc-dialogclose:focus-visible,
.pc-guideclose:focus,.pc-guideclose:focus-visible,
.pcf-close:focus,.pcf-close:focus-visible{outline:0!important;box-shadow:none!important;border:0!important}
.pc-photo-dialog .pc-photo-close{width:40px;height:40px;font-size:30px}

/* 4) Мени за телефон – помали Јазик / Валута */
.pcf-prefs{display:flex!important;flex-wrap:wrap;gap:10px!important;align-items:flex-end}
.pcf-pref-label{font-size:12px!important;line-height:1.2!important;margin:0 0 4px!important}
select.pcf-pref{
  font-size:16px!important;/* <16px на iPhone прави зум */
  height:38px!important;min-height:0!important;line-height:1.2!important;
  padding:0 28px 0 10px!important;width:auto!important;min-width:0!important;max-width:150px!important;
  border-radius:10px!important}

/* 1.0.1: „Назад“ без стрелка */
html body.single-product nav.woocommerce-breadcrumb > a:last-of-type::before{content:"Назад"!important}
/* 1.0.1: без рамка/круг по клик на иконите во заглавјето и менито */
html body .pcl-icon:focus,html body .pcl-icon:focus-visible,html body .pcl-icon:active{outline:0!important;box-shadow:none!important}
html body .pcf-hidden-arrow{display:none!important}
.pcf-zoomwrap{height:100%;display:flex;align-items:center;justify-content:center}
.pcf-zoomwrap.pcf-zoomed{display:block}

/* 1.2.0: боички за сите бои на моделот */
.pcf-swatches{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:10px 0 4px;min-height:18px}
.pcf-swatch{display:inline-block;width:16px;height:16px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12);flex:0 0 auto;text-decoration:none!important}
.pcf-swatch.is-light{box-shadow:inset 0 0 0 1px rgba(104,74,57,.35)}
.pcf-swatch.is-current{outline:2px solid #684a39;outline-offset:2px}
a.pcf-swatch{position:relative}
a.pcf-swatch::after{content:"";position:absolute;inset:-8px}/* поголема површина за допир */
.pcf-swatch-name{font-size:12px;color:#796b60;margin-left:2px}
.pcf-swatches.pcf-single{margin:12px 0}
.pcf-swatches.pcf-single .pcf-swatch{width:22px;height:22px}
li.product[data-pcf-sw] .pcl-card-colors{display:none!important}

/* 1.3.0: кошничка на телефон – вкупната цена на артиклот под количината, не преку името */
@media (max-width: 767px){
html body table.wc-block-cart-items .wc-block-cart-items__row td.wc-block-cart-item__total{grid-row:2 !important;grid-column:2 !important;justify-self:start !important;text-align:left !important;font-weight:700}
}
