/* Product photos keep their complete 3:4 content; no cover/cropping. */
#zylo-page .js-product-single .zylo-product-gallery .t-slds__items-wrapper .t-slds__bgimg-contain{background-size:contain!important;background-position:center!important;padding-bottom:133.333333%!important}
/* Thumbnails can be square or portrait at different widths; keep the full photo. */
#zylo-page .zylo-product-gallery .t-slds__thumbsbullet .t-slds__bgimg{background-size:contain!important;background-position:center!important}
#zylo-page .zylo-product-video__stage{position:relative;width:100%;aspect-ratio:3/4;background:#f7f5f3;overflow:hidden}
#zylo-page .zylo-product-video__play{position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;border:0;background:#f7f5f3;cursor:pointer;color:#fff}
#zylo-page .zylo-product-video__play[hidden]{display:none!important}
#zylo-page .zylo-product-video__poster{display:block;width:100%;height:100%;object-fit:contain}
#zylo-page .zylo-product-video__play-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#292524e8;font:23px Arial;text-indent:3px;box-shadow:0 4px 18px #0002}
#zylo-page .zylo-product-video__caption{position:absolute;bottom:0;left:0;right:0;padding:28px 16px 16px;background:linear-gradient(transparent,#000b);font:500 14px/1.5 Raleway,Arial,sans-serif;text-align:left}
#zylo-page .zylo-product-video__iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#f7f5f3}
#zylo-page .zylo-product-video__status{position:absolute;z-index:2;inset:auto 12px 12px;margin:0;padding:8px 12px;background:#fffc;border-radius:8px;color:#39312c;font:13px/1.4 Arial;pointer-events:none}
#zylo-page .zylo-product-video__status:empty{display:none}
#zylo-page .zylo-product-video__note{display:block;margin-top:2px;font-size:12px;font-weight:400;opacity:.88}
#zylo-page .zylo-product-video-thumb{position:relative;overflow:hidden}
#zylo-page .zylo-product-video-thumb img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#f7f5f3}
#zylo-page .zylo-product-video-thumb__icon{position:absolute;inset:0;display:grid;place-items:center;background:#0002;color:#fff;font:18px Arial;text-shadow:0 1px 5px #000}
#zylo-page .zylo-product-video-thumb__label{position:absolute;bottom:0;left:0;right:0;background:#292524d9;color:#fff;text-align:center;font:10px/1.5 Arial}
@media(max-width:640px){
  /* Remove the nested Tilda column gutters from media only. Text retains its
     original padding and the image uses the actual container, never 100vw. */
  #zylo-page .js-product-single>.t744__col_first{padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box}
  #zylo-page .js-product-single .t-slds.zylo-product-gallery{width:100%!important;max-width:100%!important;margin:0!important}
  #zylo-page .zylo-product-gallery .t-slds__wrapper,#zylo-page .zylo-product-gallery .t-slds__imgwrapper{max-width:none!important;width:100%!important;margin:0!important;padding-left:0!important;padding-right:0!important}
  #zylo-page .zylo-product-gallery .t-slds__thumbsbullet-wrapper{display:flex!important;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:8px;width:100%;min-width:0;margin:0!important;padding:12px!important;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-padding-inline:12px}
  #zylo-page .zylo-product-gallery .t-slds__thumbsbullet-wrapper::-webkit-scrollbar{display:none}
  #zylo-page .zylo-product-gallery .t-slds__thumbsbullet{box-sizing:border-box;position:relative;flex:0 0 72px;width:72px!important;height:94px;margin:0!important;padding:3px;border:2px solid #eee8e3;border-radius:12px;background:#f7f5f3;overflow:hidden;outline:none;transition:border-color .18s ease,background-color .18s ease}
  #zylo-page .zylo-product-gallery .t-slds__thumbsbullet .t-slds__bgimg{width:100%;height:100%;padding-bottom:0!important;background-size:contain!important;background-position:center;border-radius:7px}
  #zylo-page .zylo-product-gallery .t-slds__thumbsbullet-border{display:none!important}
  #zylo-page .zylo-product-gallery .t-slds__thumbsbullet[aria-pressed="true"]{border-color:#965e50;background:#f1e6df;outline:none}
  #zylo-page .zylo-product-gallery .t-slds__thumbsbullet:focus-visible{outline:2px solid #533d34;outline-offset:2px}
  #zylo-page .zylo-product-gallery .zylo-product-video-thumb img{height:100%;aspect-ratio:auto;border-radius:7px}
  #zylo-page .zylo-product-gallery .zylo-product-video-thumb__label{bottom:3px;left:3px;right:3px;border-radius:0 0 7px 7px;font-size:10px;line-height:1.6}
  #zylo-page .zylo-product-gallery .zylo-product-video-thumb__icon{inset:3px;border-radius:7px}
}
/* Tablet and desktop thumbnails: one selection ring drawn over the photo. The
   legacy outline, Tilda's fading border and hover opacity used to animate
   against each other, so the frame jumped on every switch. */
@media(min-width:641px){
  #zylo-page .js-product-single .zylo-gallery .t-slds__thumbsbullet{position:relative;overflow:hidden;border-radius:8px;opacity:1!important;outline:none!important;transition:none!important}
  #zylo-page .js-product-single .zylo-gallery .t-slds__thumbsbullet .t-slds__bgimg,#zylo-page .js-product-single .zylo-gallery .zylo-product-video-thumb img{border-radius:8px}
  #zylo-page .js-product-single .zylo-gallery .t-slds__thumbsbullet-border{display:none!important}
  #zylo-page .js-product-single .zylo-gallery .t-slds__thumbsbullet::after{content:"";position:absolute;inset:0;z-index:2;border-radius:8px;box-shadow:inset 0 0 0 1px rgb(41 37 36 / 8%);pointer-events:none;transition:box-shadow .15s ease}
  #zylo-page .js-product-single .zylo-gallery .t-slds__thumbsbullet[aria-pressed="true"]::after{box-shadow:inset 0 0 0 2px #965e50,inset 0 0 0 4px #fff}
  #zylo-page .js-product-single .zylo-gallery .t-slds__thumbsbullet:focus-visible::after{box-shadow:inset 0 0 0 3px #292524,inset 0 0 0 5px #fff}
  #zylo-page .js-product-single .zylo-gallery .zylo-product-video-thumb__label{border-radius:0 0 8px 8px}
}
/* Tablets and narrow desktops: one swipeable row of 3:4 thumbnails, like phones.
   Centred wrapping used to leave a lone thumbnail on a second row (9 + 1, 5 + 5 + 1). */
@media(min-width:641px) and (max-width:1199px){
  #zylo-page .js-product-single .zylo-product-gallery .t-slds__thumbsbullet-wrapper{display:flex!important;flex-wrap:nowrap;justify-content:flex-start;gap:8px;width:100%;max-width:100%;margin:0!important;padding:10px 0 0!important;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;scroll-snap-type:x proximity;text-align:left}
  #zylo-page .js-product-single .zylo-product-gallery .t-slds__thumbsbullet-wrapper::-webkit-scrollbar{display:none}
  #zylo-page .js-product-single .zylo-product-gallery .t-slds__thumbsbullet{flex:0 0 60px;width:60px!important;height:80px!important;margin:0!important;scroll-snap-align:start}
  #zylo-page .js-product-single .zylo-product-gallery .t-slds__thumbsbullet .t-slds__bgimg{height:100%;padding-bottom:0!important;background-size:contain!important;background-position:center}
  #zylo-page .js-product-single .zylo-product-gallery .zylo-product-video-thumb img{height:100%;aspect-ratio:auto;object-fit:contain}
}
@media(min-width:641px) and (hover:hover){#zylo-page .js-product-single .zylo-gallery .t-slds__thumbsbullet:not([aria-pressed="true"]):hover::after{box-shadow:inset 0 0 0 2px #d6c5bd}}
/* Wide screens: the thumbnail column is exactly as tall as the photo and holds six
   whole 3:4 thumbnails (the files are 3:4); further ones scroll without a visible
   scrollbar, whose arrow showed as a grey triangle; scrolling stops on whole
   thumbnails. Edge fades mark more photos. */
@media(min-width:1200px){
  #zylo-page .js-product-single .zylo-gallery .t-slds__thumbsbullet-wrapper{bottom:0!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;scrollbar-width:none;scroll-snap-type:y mandatory;container-type:size}
  #zylo-page .js-product-single .zylo-gallery .t-slds__thumbsbullet-wrapper::-webkit-scrollbar{display:none}
  #zylo-page .js-product-single .zylo-gallery .t-slds__thumbsbullet{flex:0 0 auto!important;aspect-ratio:3/4;height:auto;scroll-snap-align:start}
  @supports(height:1cqh){#zylo-page .js-product-single .zylo-gallery .t-slds__thumbsbullet{aspect-ratio:auto;height:calc((100cqh - 40px) / 6)}}
  #zylo-page .js-product-single .zylo-gallery .t-slds__thumbsbullet .t-slds__bgimg{height:100%;padding-bottom:0!important}
  #zylo-page .js-product-single .zylo-gallery .zylo-product-video-thumb img{height:100%;aspect-ratio:auto;object-fit:contain}
  #zylo-page .js-product-single .zylo-gallery .zylo-rail-after{-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 32px),transparent)}
  #zylo-page .js-product-single .zylo-gallery .zylo-rail-before{-webkit-mask-image:linear-gradient(0deg,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(0deg,#000 calc(100% - 32px),transparent)}
  #zylo-page .js-product-single .zylo-gallery .zylo-rail-before.zylo-rail-after{-webkit-mask-image:linear-gradient(180deg,transparent,#000 32px,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(180deg,transparent,#000 32px,#000 calc(100% - 32px),transparent)}
}
/* Two-column product: the photo column stays in view while the longer info column
   (colour, reviews, description) scrolls past, so no empty space opens under it. */
@media(min-width:961px) and (min-height:640px){
  /* The bottom margin stops the photos short of the next section's heading. */
  #zylo-page .js-product-single>.t744__col_first{position:sticky;top:calc(var(--zylo-header-height,90px) + 16px);align-self:flex-start;margin-bottom:56px}
}
/* Price: the price and the saving pill share one baseline, the Wildberries price sits
   beneath, both from the left edge (it used to hang beside the price on two lines). */
#zylo-page .js-product-single .t744__price-wrapper:has(>.zylo-price-comparison:not([hidden])){display:flex!important;flex-wrap:wrap;align-items:baseline!important;gap:4px 12px}
#zylo-page .js-product-single .t744__price-wrapper>.t744__price{order:1;margin-right:0!important}
#zylo-page .js-product-single .t744__price-wrapper>.zylo-price-comparison:not([hidden]){display:contents}
#zylo-page .js-product-single .t744__price-wrapper>.zylo-price-comparison .zylo-price-comparison-saving{order:2;padding:3px 10px;border-radius:999px;background:#f3e8e3;color:#75584b;font-size:13px;font-weight:600;line-height:1.4;white-space:nowrap}
#zylo-page .js-product-single .t744__price-wrapper>.zylo-price-comparison .zylo-price-comparison-reference{order:3;flex:0 0 100%;display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px;color:#827771;line-height:1.4}
#zylo-page .js-product-single .t744__price-wrapper>.zylo-price-comparison .zylo-price-comparison-amount{font-size:15px}
#zylo-page .js-product-single .t744__price-wrapper>.zylo-price-comparison .zylo-price-comparison-label{font-size:13px}
/* Specifications: Tilda forced the table to 640/960 px inside a side-scrolling box,
   so values were cut off on phones and tablets. The table now fits its column. */
@media(max-width:960px){
  #zylo-page .t431__mobilescroll .t431__table-wrapper{min-width:0!important}
  #zylo-page .t431__mobilescroll .t431__wrapper-for-mobile{overflow-x:visible}
  #zylo-page .t431__mobilescroll .t431__table{width:100%!important}
  #zylo-page .t431__mobilescroll .t431__td:last-child{width:auto!important;padding-left:16px;text-align:right}
}
@media(max-width:400px){#zylo-page .zylo-product-gallery .t-slds__thumbsbullet{flex-basis:64px;width:64px!important;height:84px}}
@media(prefers-reduced-motion:reduce){#zylo-page .zylo-product-gallery .t-slds__thumbsbullet,#zylo-page .zylo-gallery .t-slds__thumbsbullet::after{transition:none}}
/* The SKU line shows an internal slug ("Артикул: styler-gold"); buyers need the name, rating and price. */
#zylo-page .js-product-single .js-store-prod-sku{display:none}
#zylo-page .js-product-single .t744__title_small:not(:has(> :not(.js-store-prod-sku))){display:none}
