/* Наш погребок — mobile product page v26. Loaded only up to 760px. */

.vv-mobile-product-only{display:block!important}
.vv-desktop-product-title,.vv-desktop-product-nav{display:none!important}

#js-product-page{
  width:calc(100vw - 12px)!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw + 6px)!important;
  margin-right:calc(50% - 50vw + 6px)!important;
  padding:8px 0 96px!important;
  color:#111813!important;
}

.vv-mobile-product-breadcrumb{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  margin:0 4px 10px!important;
  padding:0 3px!important;
  overflow-x:auto!important;
  color:#707a87!important;
  font-size:12px!important;
  line-height:1!important;
  white-space:nowrap!important;
  scrollbar-width:none!important;
}
.vv-mobile-product-breadcrumb::-webkit-scrollbar{display:none!important}
.vv-mobile-product-breadcrumb a{color:#667183!important}
.vv-mobile-product-breadcrumb span{color:#a0a8b0!important}

.product-media-purchase{
  display:block!important;
  margin:0!important;
  padding:0!important;
}
.product-media-purchase>.col,
.product-media,.product-purchase{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
}

/* Gallery */
.product-media{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
}
.product-media .img-main{order:1!important;margin:0!important;border-radius:16px!important;overflow:hidden!important;background:#f5f4f0!important}
.product-media .img-thumbs{order:2!important;margin:0!important;padding:0 2px!important}
.product-media .img-main .product-gallery,
.product-media .img-main figure{margin:0!important;padding:0!important;width:100%!important}
.product-media .img-main .image{
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  aspect-ratio:1.48/1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  background:#f5f4f0!important;
}
.product-media .img-main .image>a{width:100%!important;height:100%!important;display:flex!important}
.product-media .img-main img,
.product-media #product-image{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
}
.product-media .img-thumbs .more-images{margin:0!important}
.product-media .img-thumbs .image{
  border:2px solid transparent!important;
  border-radius:11px!important;
  overflow:hidden!important;
  background:#f6f5f1!important;
}
.product-media .img-thumbs .image.selected{border-color:#1aa13a!important;box-shadow:none!important}
.product-media .img-thumbs img{width:100%!important;height:62px!important;object-fit:cover!important}
.product-media .bx-wrapper{margin:0!important;max-width:100%!important;box-shadow:none!important;border:0!important;background:transparent!important}
.product-media .bx-viewport{height:66px!important;box-shadow:none!important;border:0!important;background:transparent!important}
.product-media .bx-controls-direction a{width:34px!important;height:34px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 5px 16px rgba(0,0,0,.12)!important}

/* Title */
.vv-mobile-product-heading{margin:13px 2px 2px!important}
.vv-mobile-product-heading__row{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important}
.vv-mobile-product-heading h1{flex:1 1 auto!important;min-width:0!important;margin:0!important;font-size:23px!important;line-height:1.08!important;letter-spacing:-.55px!important;font-weight:850!important;color:#11151a!important;display:flex!important;align-items:flex-start!important;flex-wrap:wrap!important;gap:8px 8px!important}
.vv-mobile-product-title-text{display:inline!important}
.vv-mobile-product-discount{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:5px 8px!important;border-radius:9px!important;background:#ffe7e9!important;color:#df3143!important;font-size:10px!important;line-height:1!important;font-weight:800!important;vertical-align:middle!important;transform:translateY(2px)!important}
.vv-mobile-product-status{
  flex:0 0 auto!important;
  padding:7px 10px!important;
  border-radius:999px!important;
  background:#e9f8e7!important;
  color:#168832!important;
  font-size:10.5px!important;
  font-weight:800!important;
  line-height:1!important;
}

.product-purchase .cart{margin:0!important;padding:0!important}
.vv-desktop-product-box-panel{display:none!important}
.vv-product-cart-form{display:flex!important;flex-direction:column!important;margin:0!important}

/* Price */
.vv-product-cart-form>.wa-mb-16{display:none!important}
.vv-product-cart-form>.add2cart.js-top{
  order:1!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  margin:5px 2px 9px!important;
  min-height:46px!important;
}
.vv-product-cart-form .s-price,
.vv-product-cart-form .s-price .price,
.vv-product-cart-form .s-price-wrapper>.s-price{
  color:#080d13!important;
  font-size:31px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:-.7px!important;
}
.vv-product-cart-form .s-price .currency,
.vv-product-cart-form .s-price-wrapper .currency{font-size:inherit!important;font-weight:inherit!important}
.vv-product-cart-form .s-compare-price,
.vv-product-cart-form .compare-at-price{
  color:#87909b!important;
  font-size:16px!important;
  line-height:1!important;
  margin-left:4px!important;
  text-decoration-thickness:1px!important;
}
.vv-product-cart-form>.wa-mb-16 .badge{border-radius:10px!important;padding:6px 9px!important;font-size:10px!important}
.vv-product-cart-form>.wa-mb-16 .badge.low-price{background:#ffe6e7!important;color:#e22735!important}
.vv-product-cart-form>.s-product-desc{display:none!important}

.vv-mobile-product-meta{order:2!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;margin:2px 2px 8px!important}
.vv-mobile-product-meta__chip{display:inline-flex!important;align-items:center!important;gap:4px!important;padding:7px 10px!important;border-radius:999px!important;background:#f7f7f4!important;border:1px solid #e7e8e3!important;color:#49564c!important;font-size:11px!important;line-height:1!important;font-weight:600!important}
.vv-mobile-product-meta__chip strong{font-weight:800!important;color:#202820!important}
.vv-mobile-product-meta__chip--stock.is-instock{background:#eef9ee!important;border-color:#ddf0df!important;color:#1a8532!important;font-weight:800!important}
.vv-mobile-product-meta__chip--stock.is-out{background:#fff0f0!important;border-color:#f3dddd!important;color:#cf3740!important;font-weight:800!important}

/* Group progress — variant 2 */
 .vv-mobile-box-progress{
  order:4!important;
  margin:2px 0 8px!important;
  padding:11px!important;
  border:1px solid #e1e8df!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 5px 18px rgba(38,66,31,.035)!important;
}
.vv-mobile-box-progress__top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-bottom:9px!important}
.vv-mobile-box-progress__box{display:flex!important;align-items:center!important;gap:7px!important;font-size:12px!important;color:#202820!important}
.vv-mobile-box-progress__box strong{font-size:14px!important;color:#111813!important}
.vv-mobile-box-icon{
  width:31px!important;height:31px!important;display:grid!important;place-items:center!important;
  border-radius:9px!important;background:#e7f7e7!important;color:#169638!important;font-size:16px!important;font-weight:900!important
}
.vv-mobile-joint-badge{padding:6px 9px!important;border-radius:999px!important;background:#eaf8ea!important;color:#168b32!important;font-size:9px!important;font-weight:800!important;white-space:nowrap!important}
.vv-mobile-box-progress__line{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:8px!important;font-size:12px!important;color:#273027!important}
.vv-mobile-box-progress__line b{font-size:16px!important;color:#53616e!important}
.vv-mobile-box-progress__track{height:9px!important;margin:7px 0 9px!important;border-radius:999px!important;background:#e7ece8!important;overflow:hidden!important}
.vv-mobile-box-progress__track>span{display:block!important;height:100%!important;border-radius:inherit!important;background:linear-gradient(90deg,#159b37,#4bbb50)!important}
.vv-mobile-box-progress__note{display:flex!important;align-items:center!important;gap:8px!important;padding:8px 9px!important;border-radius:11px!important;background:linear-gradient(90deg,#edf9ee,#f4fbf1)!important}
.vv-mobile-trend-icon{width:31px!important;height:31px!important;display:grid!important;place-items:center!important;flex:0 0 31px!important;border-radius:9px!important;background:#dff4e2!important;color:#15963a!important;font-size:20px!important;font-weight:900!important}
.vv-mobile-box-progress__note div{min-width:0!important;display:flex!important;flex-direction:column!important;gap:1px!important}
.vv-mobile-box-progress__note strong{font-size:11px!important;color:#223025!important}
.vv-mobile-box-progress__note small{font-size:9px!important;line-height:1.2!important;color:#718078!important}

 .vv-mobile-product-benefits{
  order:5!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:6px!important;
  margin:0 0 8px!important;
}
.vv-mobile-product-benefits>div{min-width:0!important;display:flex!important;align-items:flex-start!important;gap:7px!important;padding:8px 6px!important;border:1px solid #e6e9e4!important;border-radius:13px!important;background:#fff!important}
.vv-mobile-product-benefits b{width:28px!important;height:28px!important;flex:0 0 28px!important;display:grid!important;place-items:center!important;border-radius:9px!important;background:#e6f7e7!important;color:#169638!important;font-size:13px!important}
.vv-mobile-product-benefits span{min-width:0!important;display:flex!important;flex-direction:column!important;gap:1px!important}
.vv-mobile-product-benefits strong{font-size:9px!important;line-height:1.12!important;color:#1e2920!important}
.vv-mobile-product-benefits small{font-size:7.5px!important;line-height:1.15!important;color:#7a857c!important}

/* SKU options stay readable */
.vv-product-cart-form>.options,
.vv-product-cart-form>.skus,
.vv-product-cart-form>div[itemprop="offers"]{order:5!important}
.vv-product-cart-form>.stocks{display:none!important}
.vv-product-cart-form>.services{order:6!important}

/* Sticky buy bar */
.vv-product-cart-form>.purchase{
  order:8!important;
  position:fixed!important;
  z-index:70!important;
  left:8px!important;
  right:8px!important;
  bottom:calc(env(safe-area-inset-bottom) + 7px)!important;
  margin:0!important;
  padding:8px!important;
  border:1px solid #e1e6df!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 -7px 26px rgba(20,45,17,.12)!important;
  backdrop-filter:blur(13px)!important;
}
.vv-product-cart-form>.purchase>.add2cart{
  display:grid!important;
  grid-template-columns:112px minmax(0,1fr)!important;
  gap:8px!important;
  align-items:stretch!important;
}
.vv-product-cart-form .quantity-wrapper{
  display:grid!important;
  grid-template-columns:36px 40px 36px!important;
  width:112px!important;
  min-width:112px!important;
  height:46px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #dde3dc!important;
  border-radius:12px!important;
  overflow:hidden!important;
  background:#fff!important;
}
.vv-product-cart-form .quantity-wrapper>.wa-flex:first-child{display:none!important}
.vv-product-cart-form .quantity-wrapper>.wa-flex:last-child{display:contents!important}
.vv-product-cart-form .quantity-wrapper .volume-buttons,
.vv-product-cart-form .quantity-wrapper .s-field-wrapper{display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;width:auto!important;height:46px!important}
.vv-product-cart-form .quantity-wrapper .increase-volume{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important;color:#131b14!important;font-size:22px!important;line-height:1!important}
.vv-product-cart-form .quantity-wrapper .s-field-wrapper{border-left:1px solid #e5e8e3!important;border-right:1px solid #e5e8e3!important}
.vv-product-cart-form .quantity-wrapper input{width:100%!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;background:#fff!important;text-align:center!important;font-size:15px!important;font-weight:800!important;box-shadow:none!important}
.vv-product-cart-form>.purchase>.add2cart>button[type="submit"]{
  width:100%!important;min-width:0!important;height:46px!important;margin:0!important;padding:0 12px!important;border:0!important;border-radius:12px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(180deg,#2fb43d,#15942e)!important;color:#fff!important;font-size:16px!important;font-weight:850!important;white-space:nowrap!important
}
.vv-product-cart-form>.purchase>.add2cart>button[type="submit"]:before{content:'🛒';margin-right:9px;font-size:17px}
.vv-product-cart-form>.purchase .gotocart-btn{height:46px!important;border-radius:12px!important}
.vv-product-cart-form>.purchase .pickup-button-wrapper{grid-column:1/-1!important}

/* Information area */
.product-info{margin-top:2px!important;padding:0 2px!important}
.vv-mobile-product-tabs{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  margin:0 0 8px!important;
  border-radius:13px!important;
  overflow:hidden!important;
  background:#f3f4f3!important;
}
.vv-mobile-product-tabs a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:0 7px!important;color:#1b2420!important;font-size:12px!important;font-weight:650!important}
.vv-mobile-product-tabs a.is-active{background:linear-gradient(180deg,#2fb43d,#15942e)!important;color:#fff!important;border-radius:13px!important}
.product-info>.description,
.product-info>.s-features-section,
.vv-mobile-delivery{
  margin:0 0 10px!important;
  padding:12px!important;
  border:1px solid #e5e8e4!important;
  border-radius:14px!important;
  background:#fff!important;
}
.product-info>.description h3,
.product-info>.s-features-section h3,
.vv-mobile-delivery h3{margin:0 0 7px!important;font-size:16px!important;line-height:1.15!important}
.product-info--wrapper,.vv-mobile-delivery p{font-size:12px!important;line-height:1.45!important;color:#56625b!important}
.product-info .features{display:block!important;margin:0!important;padding:0!important}
.product-info .features li{width:100%!important;display:flex!important;gap:8px!important;padding:7px 0!important;border-bottom:1px solid #eef0ed!important;font-size:11px!important}
.product-info .features li:last-child{border-bottom:0!important}
.product-info .feature-dot-divider{display:none!important}
.product-info .features .name{color:#6f796f!important}
.product-info .features .value{margin-left:auto!important;color:#1d251e!important;text-align:right!important}
.vv-mobile-delivery{display:block!important}
.product-info>p.tags,
.product-info>p:not(.tags){font-size:11px!important}
.product-info .reviews{margin-top:18px!important}

@media(max-width:390px){
  #js-product-page{width:calc(100vw - 8px)!important;margin-left:calc(50% - 50vw + 4px)!important;margin-right:calc(50% - 50vw + 4px)!important}
  .vv-mobile-product-heading h1{font-size:21px!important}
  .vv-product-cart-form .s-price,.vv-product-cart-form .s-price .price{font-size:28px!important}
  .vv-mobile-product-benefits{gap:5px!important}
  .vv-mobile-product-benefits>div{padding:8px 5px!important;gap:5px!important}
  .vv-mobile-product-benefits b{width:25px!important;height:25px!important;flex-basis:25px!important;font-size:12px!important}
  .vv-mobile-product-benefits strong{font-size:8.8px!important}
  .vv-mobile-product-benefits small{font-size:7.4px!important}
  .vv-product-cart-form>.purchase>.add2cart{grid-template-columns:104px minmax(0,1fr)!important;gap:7px!important}
  .vv-product-cart-form .quantity-wrapper{grid-template-columns:33px 38px 33px!important;width:104px!important;min-width:104px!important}
  .vv-product-cart-form>.purchase>.add2cart>button[type="submit"]{font-size:15px!important}
}

@media(max-width:390px){
  .vv-mobile-product-discount{padding:4px 7px!important;font-size:9.5px!important}
  .vv-mobile-product-meta{gap:6px!important;margin-bottom:7px!important}
  .vv-mobile-product-meta__chip{padding:6px 9px!important;font-size:10.5px!important}
}


/* ===== v29 correction patch: compact product card ===== */

/* The theme already prints its own breadcrumb above the product page.
   Hide it on mobile product pages so only the compact product breadcrumb remains. */
.breadcrumbs,
.s-breadcrumbs,
.wa-breadcrumbs { display:none!important; }

/* Keep discount badge literally at the end of the product name. */
.vv-mobile-product-heading{
  margin:11px 4px 2px!important;
}
.vv-mobile-product-heading__row{
  display:block!important;
}
.vv-mobile-product-heading h1{
  display:block!important;
  margin:0!important;
  font-size:22px!important;
  line-height:1.08!important;
  letter-spacing:-.45px!important;
  font-weight:850!important;
}
.vv-mobile-product-title-text{
  display:inline!important;
}
.vv-mobile-product-discount{
  display:inline-flex!important;
  margin-left:6px!important;
  padding:4px 8px!important;
  border-radius:8px!important;
  vertical-align:2px!important;
  transform:none!important;
  white-space:nowrap!important;
  font-size:9.5px!important;
  line-height:1!important;
}
.vv-mobile-product-status{
  display:none!important;
}

/* Price closer to the title. */
.vv-product-cart-form>.add2cart.js-top{
  margin:7px 4px 7px!important;
  min-height:38px!important;
  gap:8px!important;
}
.vv-product-cart-form .s-price,
.vv-product-cart-form .s-price .price,
.vv-product-cart-form .s-price-wrapper>.s-price{
  font-size:29px!important;
}
.vv-product-cart-form .s-compare-price,
.vv-product-cart-form .compare-at-price{
  font-size:15px!important;
}

/* Article + stock use the space where the old discount badge used to be. */
.vv-mobile-product-meta{
  margin:0 4px 8px!important;
  gap:7px!important;
}
.vv-mobile-product-meta__chip{
  min-height:29px!important;
  padding:6px 10px!important;
  border-radius:10px!important;
  font-size:10.5px!important;
}

/* Hide the original raw SKU line and original stock block.
   Inputs/meta remain in the form and keep Shop-Script logic working. */
.vv-product-cart-form>div[itemprop="offers"]{
  display:none!important;
}
.vv-product-cart-form>.stocks{
  display:none!important;
}

/* Slightly denser benefit cards. */
.vv-mobile-product-benefits{
  gap:6px!important;
  margin:0 4px 8px!important;
}
.vv-mobile-product-benefits>div{
  min-height:60px!important;
  padding:8px 6px!important;
  gap:6px!important;
  border-radius:12px!important;
}
.vv-mobile-product-benefits b{
  width:25px!important;
  height:25px!important;
  flex-basis:25px!important;
  font-size:11px!important;
  border-radius:8px!important;
}
.vv-mobile-product-benefits strong{
  font-size:8.8px!important;
  line-height:1.08!important;
}
.vv-mobile-product-benefits small{
  margin-top:2px!important;
  font-size:7.4px!important;
  line-height:1.1!important;
}

/* Compact tabs and information card. */
.product-info{
  margin-top:0!important;
  padding:0 4px!important;
}
.vv-mobile-product-tabs{
  margin:0 0 8px!important;
  min-height:44px!important;
}
.vv-mobile-product-tabs a{
  min-height:44px!important;
  font-size:11.5px!important;
}
.product-info>.description,
.product-info>.s-features-section,
.vv-mobile-delivery{
  margin:0 0 8px!important;
  padding:12px 13px!important;
}
.product-info>.description h3,
.product-info>.s-features-section h3,
.vv-mobile-delivery h3{
  margin:0 0 8px!important;
  font-size:15px!important;
}
.product-info--wrapper{
  margin:0!important;
  padding:0!important;
  min-height:0!important;
}
.product-info--wrapper>*:first-child{
  margin-top:0!important;
}
.product-info--wrapper p{
  margin:0 0 8px!important;
}
.product-info--wrapper p:last-child{
  margin-bottom:0!important;
}

/* Robust quantity selector: prevent − 1 + from collapsing together. */
.vv-product-cart-form .quantity-wrapper{
  display:block!important;
  width:128px!important;
  min-width:128px!important;
  height:46px!important;
  padding:0!important;
}
.vv-product-cart-form .quantity-wrapper>.wa-flex:first-child{
  display:none!important;
}
.vv-product-cart-form .quantity-wrapper>.wa-flex:last-child{
  display:grid!important;
  grid-template-columns:40px 48px 40px!important;
  width:128px!important;
  height:46px!important;
  margin:0!important;
  padding:0!important;
  gap:0!important;
  align-items:stretch!important;
}
.vv-product-cart-form .quantity-wrapper .volume-buttons,
.vv-product-cart-form .quantity-wrapper .s-field-wrapper{
  width:100%!important;
  min-width:0!important;
  height:46px!important;
  margin:0!important;
  padding:0!important;
}
.vv-product-cart-form .quantity-wrapper .s-field-wrapper{
  border-left:1px solid #e3e7e2!important;
  border-right:1px solid #e3e7e2!important;
}
.vv-product-cart-form .quantity-wrapper .increase-volume,
.vv-product-cart-form .quantity-wrapper input{
  width:100%!important;
  height:46px!important;
  margin:0!important;
  padding:0!important;
  text-align:center!important;
}
.vv-product-cart-form>.purchase>.add2cart{
  grid-template-columns:128px minmax(0,1fr)!important;
  gap:8px!important;
}

@media(max-width:390px){
  .vv-mobile-product-heading h1{font-size:21px!important}
  .vv-mobile-product-discount{font-size:9px!important;padding:4px 7px!important}
  .vv-product-cart-form>.purchase>.add2cart{grid-template-columns:120px minmax(0,1fr)!important}
  .vv-product-cart-form .quantity-wrapper{width:120px!important;min-width:120px!important}
  .vv-product-cart-form .quantity-wrapper>.wa-flex:last-child{grid-template-columns:38px 44px 38px!important;width:120px!important}
}
