/* 2.13: remove native floats and fixed content widths rather than clip the page. */
html.av-page body#main .av-header,
html.av-page body#main .av-main,
html.av-page body#main .av-layout,
html.av-page body#main #content {min-width:0!important;box-sizing:border-box!important}
html.av-page body#main #content>h1 img,
html.av-page body#main #content>p img {max-width:100%!important;height:auto!important}
html.av-page body#main #content .av-product-a .right_info>.info_item {display:block!important;float:none!important;width:100%!important;min-width:0!important;box-sizing:border-box!important}
html.av-page body#main #content .av-product-a .middle_info {display:flow-root!important;float:none!important;clear:both!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
html.av-page body#main #content .av-product-a .av-product-delivery {display:block!important;float:none!important;clear:both!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
html.av-page body#main #content .av-product-a .av-product-delivery>div {display:flex!important;float:none!important;width:100%!important;box-sizing:border-box!important;min-width:0!important}
html.av-page body#main #content .av-product-a .av-product-delivery>div p {flex:1;min-width:0!important;overflow-wrap:anywhere}
html.av-page body#main #content .av-product-a .av-product-delivery svg {flex-shrink:0!important}
/* Selecting extra quantity uses the existing Add2Basket button, not a replacement API. */
html.av-page body#main #content :is(.catalog_block.grid-list,.av-product-a) .counter_wrapp.av-repeat-cart .counter_block {display:flex!important}
html.av-page body#main #content :is(.catalog_block.grid-list,.av-product-a) .counter_wrapp.av-repeat-cart .button_block.wide {grid-column:auto!important}
html.av-page body#main #content :is(.catalog_block.grid-list,.av-product-a) .counter_wrapp.av-repeat-cart .button_block .to-cart {display:flex!important;align-items:center!important;justify-content:center!important}
html.av-page body#main #content :is(.catalog_block.grid-list,.av-product-a) .counter_wrapp.av-repeat-cart .button_block .in-cart {min-height:24px!important;height:auto!important;padding:4px 0!important;margin:3px 0 0!important;font-size:12px!important;line-height:18px!important;background:transparent!important;border:0!important;color:var(--av-green)!important;box-shadow:none!important}
html.av-page body#main #content .catalog_block.grid-list .counter_wrapp .button_block {min-height:70px!important}
html.av-page body#main #content .catalog_block.grid-list .counter_block .minus,
html.av-page body#main #content .catalog_block.grid-list .counter_block .plus {display:flex!important;align-items:center!important;justify-content:center!important;color:var(--av-muted)!important;font-size:19px!important;line-height:1!important;text-indent:0!important;opacity:1!important}
html.av-page body#main #content .av-product-a .counter_wrapp .button_block {min-height:80px!important}
/* Three independent delivery services, in the checkout visual system. */
html.av-page body#main #content .av-delivery-screen [hidden] {display:none!important}
html.av-page body#main #content .av-delivery-screen {display:grid;gap:20px;width:100%;min-width:0}
html.av-page body#main #content .av-delivery-screen :is(section,.av-delivery-methods>section) {background:#fff;border:1px solid var(--av-line);border-radius:12px;padding:24px;min-width:0;box-sizing:border-box}
html.av-page body#main #content .av-delivery-screen h2 {font-size:23px!important;line-height:31px!important;font-weight:600!important;margin:0 0 12px!important;color:var(--av-ink)!important}
html.av-page body#main #content .av-delivery-screen p {font-size:14px!important;line-height:22px!important;color:var(--av-muted)!important;margin:0 0 10px!important;overflow-wrap:anywhere}
html.av-page body#main #content .av-delivery-screen p:last-child {margin-bottom:0!important}
html.av-page body#main #content .av-delivery-screen a {display:inline-flex;align-items:center;gap:8px;font-size:14px;line-height:22px;text-decoration:none;color:var(--av-green)}
html.av-page body#main #content .av-delivery-screen a svg {width:18px;height:18px}
html.av-page body#main #content .av-delivery-hero {display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px;align-items:center}
html.av-page body#main #content .av-delivery-hero:not(.av-delivery-has-image) {grid-template-columns:minmax(0,1fr)}
html.av-page body#main #content .av-delivery-hero h2 {font-size:30px!important;line-height:38px!important}
html.av-page body#main #content .av-delivery-hero-image {min-width:0;aspect-ratio:3/2;overflow:hidden;border-radius:8px}
html.av-page body#main #content .av-delivery-hero-image img {width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important;display:block!important;margin:0!important}
html.av-page body#main #content .av-delivery-methods {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
html.av-page body#main #content .av-delivery-methods h2 {font-size:19px!important;line-height:27px!important;min-height:54px}
html.av-page body#main #content .av-delivery-icon {display:flex;align-items:center;justify-content:center;width:52px;height:52px;background:var(--av-soft);color:var(--av-green);border-radius:50%;margin-bottom:16px}
html.av-page body#main #content .av-delivery-icon svg {width:26px;height:26px}
html.av-page body#main #content .av-delivery-price {display:block;font-size:26px;line-height:34px;font-weight:700;color:var(--av-ink);margin:0 0 12px}
html.av-page body#main #content .av-delivery-price-text {font-size:20px;line-height:28px}
html.av-page body#main #content .av-delivery-screen .av-delivery-free {color:var(--av-green)!important;font-weight:600}
html.av-page body#main #content .av-delivery-screen .av-delivery-courier-note {background:var(--av-soft)}
html.av-page body#main #content .av-delivery-details {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px}
html.av-page body#main #content .av-delivery-screen dl {margin:16px 0}
html.av-page body#main #content .av-delivery-screen dl>div {border-top:1px solid var(--av-line);padding:12px 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:12px}
html.av-page body#main #content .av-delivery-screen dt {font-size:14px;line-height:22px;font-weight:600;margin:0}
html.av-page body#main #content .av-delivery-screen dd {font-size:14px;line-height:22px;color:var(--av-muted);margin:0}
html.av-page body#main #content .av-delivery-help {display:flex;align-items:center;justify-content:space-between;gap:20px}
html.av-page body#main #content .av-delivery-help .av-button {min-height:46px!important;padding:11px 20px!important;font-size:14px!important;line-height:22px!important;white-space:normal!important;flex-shrink:0;box-shadow:none!important}
@media(max-width:900px){
 html.av-page body#main #content .av-product-a .item_main_info {grid-template-columns:minmax(0,1fr)!important}
 html.av-page body#main #content .av-product-a .item_main_info>.right_info,
 html.av-page body#main #content .av-product-a .item_main_info>.img_wrapper {min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important}
 html.av-page body#main #content .av-product-a .top_info .article {text-align:left!important;float:none!important;clear:both!important;width:auto!important}
 html.av-page body#main #content .av-product-a .av-product-title {overflow-wrap:anywhere;max-width:100%!important}
 html.av-page body#main #content .av-delivery-methods {grid-template-columns:minmax(0,1fr)}
 html.av-page body#main #content .av-delivery-methods h2 {min-height:0}
}
@media(max-width:760px){
 html.av-page body#main .av-nav-links {width:100%!important;min-width:0!important;max-width:100%!important;flex-basis:100%!important;overflow-x:auto}
 html.av-page body#main .av-header-top {min-width:0!important}
 html.av-page body#main #content .av-product-a .counter_wrapp,
 html.av-page body#main #content .catalog_block.grid-list .counter_wrapp:not(.ce_cmp_visible) {grid-template-columns:minmax(0,1fr)!important}
 html.av-page body#main #content .av-product-a .counter_wrapp .counter_block {grid-column:1!important;width:100%!important}
 html.av-page body#main #content .av-product-a .counter_wrapp .button_block {grid-column:1!important;width:100%!important}
 html.av-page body#main #content :is(.catalog_block.grid-list,.av-product-a) .counter_wrapp.av-repeat-cart .button_block.wide {grid-column:1!important}
 html.av-page body#main #content .av-product-a .av-product-delivery {margin-top:16px!important;padding:16px!important}
 html.av-page body#main #content .av-product-a .av-product-delivery h2 {font-size:19px!important;line-height:27px!important;overflow-wrap:normal}
 html.av-page body#main #content .av-delivery-screen section {padding:18px}
 html.av-page body#main #content .av-delivery-hero,
 html.av-page body#main #content .av-delivery-hero.av-delivery-has-image,
 html.av-page body#main #content .av-delivery-details {grid-template-columns:minmax(0,1fr)}
 html.av-page body#main #content .av-delivery-hero h2 {font-size:24px!important;line-height:32px!important}
 html.av-page body#main #content .av-delivery-screen dl>div {grid-template-columns:minmax(0,1fr);gap:5px}
 html.av-page body#main #content .av-delivery-help {align-items:flex-start;flex-direction:column;gap:14px}
}
