
.site-copy-mobile-gallery{display:none}
.site-copy-section .site-copy-mobile-gallery{scrollbar-width:none}
.site-copy-section .site-copy-mobile-gallery::-webkit-scrollbar{display:none}
@media(min-width:768px){
.site-copy-section .site-copy-has-gallery>.site-copy-desktop-frame{display:none!important}
.site-copy-section .site-copy-mobile-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;height:100%;width:100%;min-width:0}
.site-copy-section .site-copy-mobile-gallery>a{display:block;flex:0 0 100%;height:100%;width:100%;min-width:0;scroll-snap-align:start}
}
@media(max-width:767px){.site-copy-section .ost_inf_tov:not(.site-copy-ozon-tile) .site-copy-mobile-gallery img{aspect-ratio:1}}

@media(min-width:768px){
.site-copy-section .site-copy-product-column .image_td_uv img{display:block;width:100%!important;height:auto!important;aspect-ratio:1;object-fit:contain!important}
.site-copy-section .site-copy-product-column .im_srt img{content:url("https://art-jeweller.ru/components/shop/images/shop_arrow.gif");width:16px;height:16px}
}
@media(max-width:767px){
.site-copy-section .com_inshop_items>#zag_str{display:block!important}
.site-copy-section .com_inshop_items .mobile_filter_link{display:block!important}


.site-copy-section .com_inshop_items .shop_items_sort{display:flex!important;flex-wrap:wrap;justify-content:center;gap:8px}
.site-copy-section .site-copy-product-column{flex:0 0 100%!important;max-width:100%!important;width:100%!important}
.site-copy-section .site-copy-ozon-tile .desc,
.site-copy-section .site-copy-ozon-tile .is_atr:not(:has(.is_akc)),
.site-copy-section .site-copy-ozon-tile .razm{display:none!important}
.site-copy-section .site-copy-has-gallery>.site-copy-desktop-frame{display:none!important}
.site-copy-section .site-copy-mobile-gallery{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;width:100%;max-width:100%;gap:0}
.site-copy-section .site-copy-mobile-gallery>a{display:block!important;flex:0 0 100%;width:100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
.site-copy-section .site-copy-mobile-gallery img{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;aspect-ratio:3/4;object-fit:contain!important;background:#fff}
.site-copy-section .ost_inf_tov .image_td_uv{height:auto!important;max-height:none!important;overflow:hidden;padding:0!important}
.site-copy-section .ost_inf_tov .price_tov1{font-weight:700;color:#59432d}
}

.aj-gallery-host{position:relative}
.aj-gallery-arrows{position:absolute;inset:0;z-index:8;pointer-events:none}
.aj-gallery-arrow{position:absolute;top:50%;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;transform:translateY(-50%);border:1px solid rgba(255,253,249,.64);border-radius:50%;color:rgba(42,37,32,.92);background:linear-gradient(150deg,rgba(255,253,249,.36),rgba(255,253,249,.07) 58%,rgba(123,113,99,.13)),rgba(210,204,194,.24);box-shadow:inset 0 1px 1px rgba(255,253,249,.63),inset 0 -1px 1px rgba(72,61,48,.09),0 2px 9px rgba(46,38,29,.14);-webkit-backdrop-filter:blur(7px) saturate(1.12);backdrop-filter:blur(7px) saturate(1.12);pointer-events:auto;cursor:pointer;touch-action:manipulation;opacity:1;transition:opacity .15s ease}
.aj-gallery-arrow-previous{left:10px}
.aj-gallery-arrow-next{right:10px}
.aj-gallery-arrow svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 0 rgba(255,253,249,.6));pointer-events:none}
.aj-gallery-arrow:disabled{opacity:.28;pointer-events:none;cursor:default}
.aj-gallery-arrows.is-quiet .aj-gallery-arrow{opacity:0;pointer-events:none}
.aj-gallery-arrow:focus-visible{outline:2px solid rgba(96,71,40,.92);outline-offset:3px}
.aj-catalog-gallery-overlay{position:absolute;pointer-events:none;z-index:8;margin:0!important;padding:0!important}
@media(prefers-reduced-motion:reduce){.aj-gallery-arrow{transition:none}}

.mobile-gallery.aj-glass-enrolled + .mobile-gallery-count{display:none!important}

@media(min-width:768px){
 #catalog .preview-tile .mobile-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;width:100%;height:var(--gallery-cover-height,250px);margin:0;padding:0;touch-action:pan-x pan-y}
 #catalog .preview-tile .mobile-gallery::-webkit-scrollbar{display:none}
 #catalog .preview-tile .mobile-gallery>img{display:block;flex:0 0 100%;min-width:100%;width:100%;height:100%;max-height:none;object-fit:contain;scroll-snap-align:start;scroll-snap-stop:always;margin:0;user-select:none}
}

.aj-gallery-host .aj-gallery-arrows>button.aj-gallery-arrow{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;padding:0!important;border-radius:50%!important;aspect-ratio:1}
.mobile-gallery.aj-glass-enrolled,.site-copy-mobile-gallery.aj-glass-enrolled{touch-action:pan-y pinch-zoom!important;overflow-x:hidden!important;scroll-snap-type:none!important;scroll-behavior:auto!important}
.aj-catalog-gallery-overlay .aj-gallery-arrow{touch-action:pan-y pinch-zoom}

/* Catalog media fills the tile; navigation has its own row below the complete frame. */
.aj-catalog-gallery-overlay .aj-gallery-arrow-previous{left:0}
.aj-catalog-gallery-overlay .aj-gallery-arrow-next{right:0}
@media(min-width:768px) and (hover:hover) and (pointer:fine){
 .aj-catalog-gallery-overlay .aj-gallery-arrows .aj-gallery-arrow{opacity:0;pointer-events:none;transition:opacity .2s ease,translate .2s ease}
 .aj-catalog-gallery-overlay .aj-gallery-arrow-previous{translate:-10px 0}
 .aj-catalog-gallery-overlay .aj-gallery-arrow-next{translate:10px 0}
 .aj-catalog-gallery-overlay:is(.is-hovered,.has-keyboard-focus,:has(.aj-gallery-arrow:focus-visible)) .aj-gallery-arrow{opacity:1;translate:none;pointer-events:auto}
 .aj-catalog-gallery-overlay:is(.is-hovered,.has-keyboard-focus,:has(.aj-gallery-arrow:focus-visible)) .aj-gallery-arrow:disabled{opacity:.28;pointer-events:none}
 @media(prefers-reduced-motion:reduce){
  .aj-catalog-gallery-overlay .aj-gallery-arrows .aj-gallery-arrow{transition:none;translate:none}
 }
}
.site-copy-section .site-copy-product-column{display:flex}
.site-copy-section .site-copy-product-column>.ost_inf_tov{display:grid;grid-template-rows:30px auto 72px 64px 94px;align-content:start;justify-content:normal;gap:0;width:100%;min-width:0;padding:10px;box-sizing:border-box}
.site-copy-section .site-copy-product-column .ost_inf_tov>.is_atr{display:block!important;position:relative!important;inset:auto!important;margin:0!important;min-height:30px;width:100%;z-index:1}
.site-copy-section .site-copy-product-column .is_akc{font-size:clamp(10px,1.05vw,16px);line-height:22px;white-space:normal;text-align:center}
.site-copy-section .site-copy-product-column .image_td_uv{position:relative;padding:0 0 52px!important;height:auto!important;max-height:none!important;overflow:visible}
.site-copy-section .site-copy-product-column .image_td_uv>a{display:block;width:100%}
.site-copy-section .site-copy-product-column .image_td_uv img{display:block;width:100%!important;height:100%!important;max-width:100%!important;max-height:none!important;aspect-ratio:3/4;object-fit:contain!important;margin:0!important}
.site-copy-section .site-copy-product-column .site-copy-mobile-gallery{display:flex;width:100%;height:auto!important;aspect-ratio:3/4}
.site-copy-section .site-copy-product-column .site-copy-mobile-gallery>a{height:100%;min-width:100%;flex:0 0 100%}
.site-copy-section .site-copy-product-column .ost_inf_tov>.desc{display:flex!important;align-items:flex-start;height:auto;margin:8px 0 0;min-width:0}
.site-copy-section .site-copy-product-column .desc p{height:auto;max-height:64px;margin:0;line-height:20px;-webkit-line-clamp:3}
.site-copy-section .site-copy-product-column .ost_inf_tov>.price_tov{display:flex!important;flex-wrap:wrap;align-content:center;align-items:center;gap:2px 6px;height:auto;margin:0;line-height:24px}
.site-copy-section .site-copy-product-column .price_tov .im_srt{display:none}
.site-copy-section .site-copy-product-column .price_tov .price_tov1{height:auto;white-space:normal;text-align:center}
.site-copy-section .site-copy-product-column .ost_inf_tov>.but_add{display:flex;flex-direction:column;justify-content:space-between;height:94px;min-width:0}
.site-copy-section .site-copy-product-column .but_add .razm{min-height:36px;height:auto;margin:0}
.site-copy-section .site-copy-product-column .but_add .but_vkorz{margin:8px 0 0;height:37px;flex:0 0 37px}
.site-copy-section .site-copy-product-column .but_vkorz a{display:block;box-sizing:border-box;max-width:100%;text-align:center}
#catalog .preview-tile>.mobile-gallery{height:auto!important;aspect-ratio:3/4;margin-bottom:52px}
#catalog .preview-tile>.mobile-gallery>img{height:100%!important;aspect-ratio:3/4;object-fit:contain}
#catalog .preview-tile>img:not([hidden]){aspect-ratio:3/4;object-fit:contain;margin-bottom:52px}
@media(max-width:767px){
 .site-copy-section .site-copy-product-column .is_akc{font-size:15px}
 .site-copy-section .site-copy-product-column .ost_inf_tov>.but_add .razm{display:block!important}
}

.site-copy-section .site-copy-product-column .but_vkorz form{margin:0}
.site-copy-section .site-copy-product-column .but_add>:has(.but_vkorz){display:flex;flex-direction:column;justify-content:space-between;height:100%;margin:0}

@media(max-width:767px){
 .site-copy-section .site-copy-product-column>.ost_inf_tov{grid-template-rows:none;grid-auto-rows:auto;row-gap:12px}
 .site-copy-section .site-copy-product-column .ost_inf_tov>.is_atr:empty{display:none!important}
 .site-copy-section .site-copy-product-column .ost_inf_tov>.is_atr:not(:has(*)){display:none!important}
 .site-copy-section .site-copy-product-column .ost_inf_tov>.is_atr{min-height:0}
 .site-copy-section .site-copy-product-column .ost_inf_tov>.desc{margin:0}
 .site-copy-section .site-copy-product-column .desc p{max-height:none;-webkit-line-clamp:unset}
 .site-copy-section .site-copy-product-column .ost_inf_tov>.price_tov{min-height:0;height:auto}
 .site-copy-section .site-copy-product-column .ost_inf_tov>.but_add{height:auto}
 .site-copy-section .site-copy-product-column .but_add>:has(.but_vkorz){height:auto}
 .site-copy-section .site-copy-product-column .but_add .razm{min-height:0}
 .site-copy-section .site-copy-product-column .but_add .razm:not(:has(.quest)){display:none!important}
 .site-copy-section .site-copy-product-column .but_add .but_vkorz{margin:12px 0 0}
 .site-copy-section .site-copy-product-column .but_add>.but_vkorz:first-child{margin-top:0}
 .site-copy-section .site-copy-product-column .but_add:has(>.razm:not(:has(.quest)))>.but_vkorz{margin-top:0}
 .site-copy-section .site-copy-product-column .image_td_uv:not(:has(.site-copy-mobile-gallery)){padding-bottom:0!important}
 .site-copy-section .mobile_filter_link a{min-height:44px;display:inline-flex;align-items:center;gap:8px}
}

.site-copy-section .site-copy-product-column.site-copy-square-media .site-copy-mobile-gallery,
.site-copy-section .site-copy-product-column.site-copy-square-media .image_td_uv>a>img{aspect-ratio:1}

body.aj-native-pdp .image_td { min-width: 0; box-sizing: border-box; }
body.aj-native-pdp .one-product__slider-win a.main-img { display: block; }
body.aj-native-pdp .shop_detail_item #gallery .one-product__slider-win a.main-img img {
  display: block; width: 100%; max-width: min(100%, 500px); height: auto;
  aspect-ratio: auto; margin-inline: auto; padding: 0;
}

/* The breadcrumb names the product visually. Keep its main heading for navigation by screen reader. */
body.aj-native-pdp #zag_str {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
body.aj-native-pdp #pathway .pathway,
body.aj-native-pdp #pathway .pathway .pathwaylink {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.4;
  font-weight: 600;
  color: #42362d;
}
body.aj-native-pdp #pathway #crumb-title {
  font-weight: 700;
  color: #30251e;
}
body.aj-native-pdp #pathway .pathway { overflow-wrap: break-word; }

/* Place product navigation beside the thumbnails so specifications on the full image stay readable. */
:is(.one-product__slider,.original-photos).aj-gallery-host {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
}
:is(.one-product__slider,.original-photos).aj-gallery-host > :is(.one-product__slider-win,.original-main-frame) {
  grid-area: 1 / 1 / 2 / -1;
  width: 100%;
  min-width: 0;
}
:is(.one-product__slider,.original-photos).aj-gallery-host > :is(.one-product__slider-controll,.original-photo-thumbs) {
  grid-area: 2 / 2;
  width: 100%;
  min-width: 0;
}
:is(.one-product__slider,.original-photos).aj-gallery-host > .aj-gallery-arrows {
  position: relative;
  inset: auto;
  grid-area: 2 / 1 / 3 / -1;
  width: 100%;
  height: 44px;
}
:is(.one-product__slider,.original-photos).aj-gallery-host > .aj-gallery-arrows > .aj-gallery-arrow-previous { left: 0; }
:is(.one-product__slider,.original-photos).aj-gallery-host > .aj-gallery-arrows > .aj-gallery-arrow-next { right: 0; }

.fancybox-container .fancybox-inner.aj-product-zoom { position: absolute; }
.aj-product-zoom > .fancybox-navigation { display: none; }
.aj-product-zoom > .aj-gallery-arrows { z-index: 99996; }

.aj-native-pdp .one-product__slider-win img,.aj-native-pdp .one-product__slider-controll img{object-fit:contain!important}.aj-native-pdp .one-product__slider-win .slick-arrow{display:none!important}

.aj-await-first-photo .one-product__slider,.aj-await-first-photo .one-product__slider *{visibility:hidden!important}
