/* UI 2.4: isolated corrections to native Aspro states. */
html.av-page body#main #content .av-product-question {margin:18px 0 18px!important}
html.av-page body#main #content .av-product-question:not([open])>.av-question-content {display:none!important}
html.av-page body#main #content .av-product-question[open]>.av-question-content {display:grid!important}
html.av-page body#main #content .av-product-a .item_slider:not(.flex) {display:block!important;width:100%!important;max-width:none!important;height:auto!important;padding:0!important}
html.av-page body#main #content .av-product-a .item_slider:not(.flex)>.slides {display:block!important;width:100%!important;max-width:none!important;line-height:normal!important;padding:0!important}
html.av-page body#main #content .av-product-a .item_slider:not(.flex)>.slides>ul {display:block!important;width:100%!important;height:100%!important;max-width:none!important;padding:0!important;margin:0!important}
html.av-page body#main #content .av-product-a .item_slider:not(.flex)>.slides>ul>li {width:100%!important;max-width:none!important;height:100%!important;padding:0!important;margin:0!important}
html.av-page body#main #content .av-product-a .item_slider:not(.flex)>.slides>ul>li>a {display:flex!important;width:100%!important;height:100%!important;max-width:none!important;align-items:center!important;justify-content:center!important}
html.av-page body#main #content .av-product-a .item_slider:not(.flex)>.slides>ul>li img {width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
html.av-page body#main #content .av-product-a .item_slider:not(.flex)>.wrapp_thumbs {display:block!important;height:auto!important;min-height:88px!important;padding:0!important;overflow:visible!important;margin:16px 0 0!important}
html.av-page body#main #content .av-product-a .av-photo-thumbs {display:block!important;position:static!important;width:100%!important;max-width:none!important;height:100px!important;min-height:100px!important;overflow-x:auto!important;overflow-y:hidden!important;border:0!important;border-radius:0!important;background:none!important;padding:0 0 12px!important;margin:0!important;scrollbar-width:thin}
html.av-page body#main #content .av-product-a .av-photo-thumbs>.slides_block {display:flex!important;align-items:stretch!important;width:max-content!important;max-width:none!important;height:88px!important;min-height:88px!important;gap:12px!important;padding:0!important;margin:0!important;transform:none!important;list-style:none!important}
html.av-page body#main #content .av-product-a .av-photo-thumbs>.slides_block>li {display:block!important;flex:0 0 88px!important;width:88px!important;min-width:88px!important;height:88px!important;min-height:88px!important;padding:6px!important;margin:0!important;border:1px solid var(--av-line)!important;border-radius:8px!important;float:none!important;overflow:hidden!important;cursor:pointer;box-sizing:border-box!important}
html.av-page body#main #content .av-product-a .av-photo-thumbs>.slides_block>li.current {border-color:var(--av-green)!important}
html.av-page body#main #content .av-product-a .av-photo-thumbs>.slides_block>li>span {display:flex!important;align-items:center!important;justify-content:center!important;position:static!important;width:100%!important;height:100%!important;line-height:normal!important}
html.av-page body#main #content .av-product-a .av-photo-thumbs>.slides_block>li img {display:block!important;width:100%!important;height:100%!important;max-width:74px!important;max-height:74px!important;object-fit:contain!important;position:static!important;margin:auto!important}
html.av-page body#main #content .av-product-sharing .av-share-disclosure {position:relative;display:block;margin:0;padding:0;border:0;background:none}
html.av-page body#main #content .av-product-sharing summary {display:flex;align-items:center;gap:6px;min-height:32px;padding:5px 10px;border:1px solid var(--av-line);border-radius:7px;background:#fff;color:var(--av-ink);font-size:12px!important;line-height:20px!important;cursor:pointer;list-style:none}
html.av-page body#main #content .av-product-sharing summary::-webkit-details-marker {display:none}
html.av-page body#main #content .av-product-sharing summary::before {content:'';width:16px;height:16px;flex:0 0 16px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23172640' stroke-width='1.8'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.5 10.5 7-4M8.5 13.5l7 4'/%3E%3C/svg%3E")}
html.av-page body#main #content .av-product-sharing details:not([open])>.av-share-options {display:none!important}
html.av-page body#main #content .av-product-sharing .av-share-options {position:absolute;left:0;top:calc(100% + 6px);z-index:20;width:230px;padding:12px;border:1px solid var(--av-line);border-radius:8px;box-shadow:0 8px 24px #17264015;background:#fff}
html.av-page body#main #content .av-product-sharing .share_wrapp,html.av-page body#main #content .av-product-sharing .ya-share2 {display:block!important;position:static!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;opacity:1!important;visibility:visible!important;background:none!important;border:0!important;box-shadow:none!important}
html.av-page body#main #content .av-product-sharing .share_wrapp>.text,html.av-page body#main #content .av-product-sharing .share_wrapp::before,html.av-page body#main #content .av-product-sharing .share_wrapp::after {display:none!important;content:none!important}
html.av-page body#main #content .av-product-sharing .ya-share2__list {display:flex!important;flex-wrap:wrap!important;gap:8px;margin:0!important;padding:0!important}
html.av-page body#main #content .av-product-sharing .ya-share2__item {display:block!important;margin:0!important;float:none!important}
/* Reserve the total row before the first quantity change. Native slideUp must
   win over the old site's !important display:flex rule on arbitrary children. */
html.av-page body#main #content .catalog_block.grid-list .counter_wrapp:not(.ce_cmp_visible) {grid-template-rows:42px 24px!important;row-gap:6px!important;min-height:72px!important;align-content:start!important}
html.av-page body#main #content .catalog_block.grid-list .counter_wrapp>.counter_block {grid-row:1!important}
html.av-page body#main #content .catalog_block.grid-list .counter_wrapp>.button_block {grid-row:1!important}
html.av-page body#main #content .catalog_block.grid-list .counter_wrapp>.total_summ {display:block!important;grid-column:1/-1!important;grid-row:2!important;position:static!important;inset:auto!important;float:none!important;height:24px!important;min-height:24px!important;width:100%!important;max-width:none!important;line-height:20px!important;padding:2px 0!important;margin:0!important;font-size:12px!important;text-align:left!important;justify-content:flex-start!important;overflow:hidden!important;box-sizing:border-box!important}
html.av-page body#main #content .catalog_block.grid-list .counter_wrapp>.total_summ>div {display:flex!important;align-items:baseline;flex-wrap:nowrap;gap:4px;line-height:20px!important;font-size:12px!important;white-space:nowrap}
html.av-page body#main #content .catalog_block.grid-list .counter_wrapp>.total_summ span {font-size:12px!important;line-height:20px!important;white-space:nowrap;position:static!important;flex-shrink:0}
html.av-page body#main #content .catalog_block.grid-list .counter_wrapp>.total_summ[style*="display:none"],html.av-page body#main #content .catalog_block.grid-list .counter_wrapp>.total_summ[style*="display: none"] {display:none!important}
@media(max-width:760px){
 html.av-page body#main #content .catalog_block.grid-list .counter_wrapp:not(.ce_cmp_visible) {grid-template-rows:42px 42px 24px!important;min-height:120px!important}
 html.av-page body#main #content .catalog_block.grid-list .counter_wrapp>.button_block {grid-row:2!important}
 html.av-page body#main #content .catalog_block.grid-list .counter_wrapp>.total_summ {grid-row:3!important;font-size:11px!important}
 html.av-page body#main #content .catalog_block.grid-list .counter_wrapp>.total_summ>div,html.av-page body#main #content .catalog_block.grid-list .counter_wrapp>.total_summ span {font-size:11px!important}
}
