/* ANB Lab final mobile/catalog polish. Loaded AFTER all original theme styles.
   Presentation-only except the gallery's visual layout. No checkout endpoint edits. */
body.anblab-theme { overflow-x:hidden; }
body.anblab-theme .anb-product-page,
body.anblab-theme .anb-category-page,
body.anblab-theme #checkout-cart,
body.anblab-theme #anb-onepage { min-width:0; }

/* Product gallery: square main image and a dedicated vertical thumbnail rail.
   A single .thumbnails parent retains the OpenCart/Magnific lightbox gallery. */
body.anblab-theme #product-product .anb-product-gallery .anb-gallery-shell {
  display:grid!important;grid-template-columns:minmax(0,1fr) 88px;gap:12px;
  align-items:stretch;margin:0!important;padding:0!important;list-style:none;
  width:100%;min-width:0;overflow:visible;
}
body.anblab-theme #product-product .anb-gallery-main {min-width:0;align-self:start;}
body.anblab-theme #product-product .anb-gallery-main>.thumbnail {
  display:flex!important;align-items:center;justify-content:center;
  width:100%!important;height:auto!important;aspect-ratio:1 / 1;
  max-height:none!important;margin:0!important;padding:11px!important;
  overflow:hidden;border:1px solid #dae6f5;border-radius:20px;
  background:#fff;box-shadow:0 8px 25px rgba(25,60,100,.045);
}
body.anblab-theme #product-product .anb-gallery-main img {
  display:block!important;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;border-radius:13px!important;
}
body.anblab-theme #product-product .anb-gallery-rail {
  min-width:0;min-height:0;max-height:min(520px,40vw);
  display:flex;flex-direction:column;align-items:stretch;gap:9px;
  overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
  scrollbar-width:thin;scrollbar-color:#b2cae5 transparent;padding:1px 2px 1px 0;
}
body.anblab-theme #product-product .anb-gallery-rail .thumbnail {
  display:flex!important;flex:0 0 auto;align-items:center;justify-content:center;
  width:100%!important;height:auto!important;aspect-ratio:1 / 1;
  padding:4px!important;margin:0!important;background:#fff;
  border:1px solid #dce8f7;border-radius:12px;overflow:hidden;box-shadow:none;
}
body.anblab-theme #product-product .anb-gallery-rail .thumbnail img {
  width:100%!important;height:100%!important;object-fit:contain!important;
  border-radius:8px!important;max-width:100%!important;max-height:100%!important;
}
body.anblab-theme #product-product .anb-gallery-rail .thumbnail:hover {border-color:#84ade3;}
/* Handle catalog assets with only supplementary images and no main image. */
body.anblab-theme #product-product .anb-gallery-shell:not(:has(.anb-gallery-main)) {display:block!important;}
body.anblab-theme #product-product .anb-gallery-shell:not(:has(.anb-gallery-main)) .anb-gallery-rail {
  display:grid;grid-template-columns:repeat(auto-fill,minmax(85px,1fr));max-height:none;
}

/* Subcategory square photos: never stretch their embedded white canvas to a rectangle. */
body.anblab-theme #product-category .anb-subcategory-card .anb-subcategory-media {
  display:flex!important;align-items:center!important;justify-content:center!important;
  min-width:0;overflow:hidden!important;
  background:linear-gradient(145deg,#eff6ff,#e7f1ff)!important;
}
body.anblab-theme #product-category .anb-subcategory-media img {
  display:block!important;flex:0 1 auto!important;
  width:auto!important;height:auto!important;
  max-width:min(88%,210px)!important;max-height:88%!important;
  aspect-ratio:1/1;object-fit:contain!important;
  padding:0!important;box-shadow:none!important;
  background:transparent!important;border:0!important;border-radius:13px!important;
}
/* All category thumbnail images have rounded corners on desktop AND mobile. */
body.anblab-theme #product-category .anb-catalog-products .product-thumb .image {
  border-radius:14px;overflow:hidden!important;
}
body.anblab-theme #product-category .anb-catalog-products .product-thumb .image a {
  border-radius:12px;overflow:hidden!important;
}
body.anblab-theme #product-category .anb-catalog-products .product-thumb .image img,
body.anblab-theme #product-category .anb-catalog-products .product-thumb img.img-responsive {
  border-radius:12px!important;display:block;max-width:100%!important;
}

/* Product description: prevent legacy pasted rich text forcing tiny, compressed fonts. */
body.anblab-theme #product-product #tab-description {
  font-size:14px!important;line-height:1.8!important;letter-spacing:normal!important;
  overflow-wrap:break-word;word-spacing:normal;
}
body.anblab-theme #product-product #tab-description :is(p,li,span,strong,b,em,div) {
  font-size:inherit!important;letter-spacing:normal!important;
  word-spacing:normal!important;line-height:inherit!important;
}
body.anblab-theme #product-product #tab-description p,
body.anblab-theme #product-product #tab-description ul {margin-bottom:13px;}
body.anblab-theme #product-product #tab-description :is(h1,h2,h3,h4) {
  letter-spacing:-.02em!important;line-height:1.4!important;margin:20px 0 12px;
}
body.anblab-theme #product-product #tab-description h1 {font-size:23px!important;}
body.anblab-theme #product-product #tab-description h2 {font-size:20px!important;}
body.anblab-theme #product-product #tab-description h3 {font-size:17px!important;}
body.anblab-theme #product-product #tab-description h4 {font-size:15px!important;}
body.anblab-theme #product-product #tab-description :is(h1,h2,h3,h4) span {font-size:inherit!important;}
body.anblab-theme #product-product #tab-description :is(sub,sup) {font-size:75%!important;line-height:0!important;}

/* A compact cart-added toast, not an oversized green full-width bar. */
body.anblab-theme .alert.anb-add-toast {
  position:fixed!important;z-index:5005!important;top:112px!important;right:18px!important;left:auto!important;
  max-width:min(425px,calc(100vw - 28px))!important;width:max-content!important;
  box-sizing:border-box!important;margin:0!important;padding:13px 43px 13px 16px!important;
  border:1px solid #bfe5d4!important;border-radius:15px!important;
  background:#f0fbf5!important;color:#245f4a!important;
  box-shadow:0 15px 40px rgba(20,53,83,.16)!important;
  font-size:13px!important;line-height:1.5!important;overflow-wrap:anywhere;
}
body.anblab-theme .alert.anb-add-toast .close {
  float:none!important;position:absolute!important;right:10px!important;top:8px!important;
  width:28px!important;height:28px!important;opacity:1!important;
  display:flex;align-items:center;justify-content:center;
  margin:0!important;padding:0!important;border-radius:8px!important;
  color:#366d56!important;font-size:21px!important;line-height:1!important;
  background:rgba(33,108,74,.07)!important;
}
body.anblab-theme .alert.anb-add-toast a {color:#176a52!important;font-weight:750;}

/* The mini-cart must stay styled even if older mobile OpenCart CSS overrides it. */
body.anblab-theme .anb-header-cart #cart.anb-mini-cart {position:relative;}
body.anblab-theme .anb-header-cart #cart.anb-mini-cart>ul.dropdown-menu {
  position:absolute!important;right:0!important;left:auto!important;top:100%!important;
  display:none;width:min(375px,calc(100vw - 20px))!important;
  min-width:0!important;max-width:calc(100vw - 20px)!important;
  padding:0!important;margin:9px 0 0!important;
  border:1px solid #dbe7f5!important;border-radius:17px!important;
  box-shadow:0 17px 40px rgba(21,51,86,.2)!important;background:#fff!important;
  list-style:none!important;z-index:5100!important;white-space:normal!important;
}
body.anblab-theme .anb-header-cart #cart.anb-mini-cart.open>ul.dropdown-menu {display:block!important;}
body.anblab-theme #cart.anb-mini-cart .dropdown-menu>li {display:block!important;float:none!important;width:100%!important;margin:0!important;padding:0!important;}
body.anblab-theme #cart.anb-mini-cart .anb-mini-content {width:100%;padding:14px!important;box-sizing:border-box;background:#fff;border-radius:17px;font-size:12px;color:#253f60;}
body.anblab-theme #cart.anb-mini-cart .anb-mini-title {display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px;font-weight:800;}
body.anblab-theme #cart.anb-mini-cart .anb-mini-title strong {font-size:16px;color:#183459;}
body.anblab-theme #cart.anb-mini-cart .anb-mini-title span {color:#7590ac;font-size:11px;}
body.anblab-theme #cart.anb-mini-cart .anb-mini-products{display:flex;flex-direction:column;gap:10px;max-height:35vh;overflow-y:auto;}
body.anblab-theme #cart.anb-mini-cart .anb-mini-product{display:grid;grid-template-columns:55px minmax(0,1fr) 30px;gap:10px;align-items:start;padding:8px 0;border-bottom:1px solid #e8eef7;}
body.anblab-theme #cart.anb-mini-cart .anb-mini-img{display:block;width:55px;height:55px;border-radius:10px;background:#f4f7fd;overflow:hidden;}
body.anblab-theme #cart.anb-mini-cart .anb-mini-img img{display:block;width:100%;height:100%;object-fit:contain;border-radius:9px;}
body.anblab-theme #cart.anb-mini-cart .anb-mini-details{display:flex;flex-direction:column;gap:4px;min-width:0;}
body.anblab-theme #cart.anb-mini-cart .anb-mini-name{color:#163f73!important;font-size:12px;font-weight:750;line-height:1.45;text-decoration:none;overflow-wrap:anywhere;}
body.anblab-theme #cart.anb-mini-cart .anb-mini-price{color:#1557b6;font-weight:800;font-size:12px;}
body.anblab-theme #cart.anb-mini-cart .anb-mini-remove{display:flex;align-items:center;justify-content:center;width:29px;height:29px;border:0;border-radius:9px;background:#f1f5fb;color:#8b5360;}
body.anblab-theme #cart.anb-mini-cart .anb-mini-totals{display:flex;flex-direction:column;padding:12px 0;gap:8px;}
body.anblab-theme #cart.anb-mini-cart .anb-mini-total{display:flex;justify-content:space-between;gap:10px;color:#6b8098;}
body.anblab-theme #cart.anb-mini-cart .anb-mini-grand{border-top:1px solid #e4ebf5;padding-top:12px;font-size:15px;font-weight:850;color:#193f76;}
body.anblab-theme #cart.anb-mini-cart .anb-mini-total strong{color:#1559b7;white-space:nowrap;}
body.anblab-theme #cart.anb-mini-cart .anb-mini-actions{display:flex!important;flex-direction:column!important;gap:8px;}
body.anblab-theme #cart.anb-mini-cart .anb-mini-actions>a{
  display:flex!important;align-items:center;justify-content:center;gap:7px;
  min-height:40px!important;padding:10px!important;border:1px solid #d7e5f6!important;
  border-radius:10px!important;background:#f5f9ff!important;color:#1555a8!important;
  font-size:12px!important;font-weight:750!important;text-decoration:none!important;line-height:1.25!important;
}
body.anblab-theme #cart.anb-mini-cart .anb-mini-actions>a.anb-mini-checkout{background:#1559b7!important;border-color:#1559b7!important;color:#fff!important;}
body.anblab-theme #cart.anb-mini-cart .anb-mini-empty{text-align:center;padding:22px 10px;color:#627c9b;}

/* Core cart page and single-page checkout: safeguard against legacy mobile CSS. */
body.anblab-theme #checkout-cart .anb-cart-head{background:transparent!important;border:0!important;padding:0!important;margin:20px 0 22px!important;color:#19385d!important;}
body.anblab-theme #checkout-cart .anb-cart-head>span{display:block;font-size:11px;color:#165ab7;}
body.anblab-theme #checkout-cart .anb-cart-head h1{font-size:clamp(27px,7vw,37px)!important;line-height:1.25!important;margin:8px 0!important;color:#183456!important;}
body.anblab-theme #checkout-cart .anb-cart-head p{font-size:13px!important;color:#68809b!important;}
body.anblab-theme #checkout-cart .anb-cart-layout{display:grid!important;grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr);gap:18px;align-items:start;}
body.anblab-theme #checkout-cart .anb-cart-list,body.anblab-theme #checkout-cart .anb-cart-summary{min-width:0;box-sizing:border-box;}
body.anblab-theme #checkout-cart .anb-cart-list form{display:flex;flex-direction:column;gap:12px;}
body.anblab-theme #checkout-cart .anb-cart-item{display:grid!important;grid-template-columns:85px minmax(0,1fr) auto;align-items:start;gap:12px;padding:14px!important;border:1px solid #dce8f6;border-radius:17px;background:#fff;box-shadow:0 8px 20px rgba(24,55,99,.045);}
body.anblab-theme #checkout-cart .anb-cart-img{display:flex;align-items:center;justify-content:center;width:85px;height:85px;border-radius:11px;background:#f8fbff;overflow:hidden;}
body.anblab-theme #checkout-cart .anb-cart-img img{width:100%;height:100%;object-fit:contain;border-radius:9px;}
body.anblab-theme #checkout-cart .anb-cart-item-body{display:flex;flex-direction:column;gap:7px;min-width:0;}
body.anblab-theme #checkout-cart .anb-cart-name{font-size:14px;font-weight:750;line-height:1.5;color:#174a87;overflow-wrap:anywhere;}
body.anblab-theme #checkout-cart .anb-cart-item-price{display:flex;flex-direction:column;align-items:flex-end;gap:5px;color:#1659b7;white-space:normal;}
body.anblab-theme #checkout-cart .anb-cart-item-price strong{font-size:18px;line-height:1.3;}
body.anblab-theme #checkout-cart .anb-cart-item-price small{font-size:11px;color:#7086a0;}
body.anblab-theme #checkout-cart .anb-cart-item-foot{display:flex!important;flex-wrap:wrap;align-items:end;gap:8px;margin-top:6px;}
body.anblab-theme #checkout-cart .anb-cart-item-foot label{display:flex;flex-direction:column;gap:4px;margin:0;font-size:11px;font-weight:600;}
body.anblab-theme #checkout-cart .anb-cart-item-foot input{width:73px!important;max-width:100%;height:36px!important;margin:0!important;padding:7px!important;border:1px solid #cfdef2!important;border-radius:9px!important;text-align:center;background:#f6faff;}
body.anblab-theme #checkout-cart .anb-cart-item-foot button{display:flex;align-items:center;gap:5px;justify-content:center;min-height:36px;padding:8px 10px;background:#eff5fd;border:1px solid #d8e5f5;border-radius:9px;font-size:12px;color:#1559b7;}
body.anblab-theme #checkout-cart .anb-cart-item-foot .anb-cart-delete{background:#fff2f4;color:#b14f61;border-color:#f0dce2;}
body.anblab-theme #checkout-cart .anb-cart-summary{position:sticky;top:18px;border:1px solid #dce8f6;background:#fff;border-radius:18px;padding:19px;box-shadow:0 12px 27px rgba(24,55,99,.06);}
body.anblab-theme #checkout-cart .anb-cart-summary h2{font-size:21px!important;margin:0 0 15px!important;}
body.anblab-theme #checkout-cart .anb-cart-totals>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;font-size:13px;}
body.anblab-theme #checkout-cart .anb-cart-totals>div b{color:#1559b7;white-space:nowrap;}
body.anblab-theme #checkout-cart .anb-cart-checkout,body.anblab-theme #checkout-cart .anb-cart-continue{
  display:flex!important;align-items:center;justify-content:center;gap:8px;
  min-height:43px;padding:11px!important;border-radius:10px!important;
  font-size:13px!important;font-weight:800!important;text-decoration:none!important;
}
body.anblab-theme #checkout-cart .anb-cart-checkout{background:#1558b7!important;color:#fff!important;border:1px solid #1558b7!important;}
body.anblab-theme #checkout-cart .anb-cart-continue{background:#f1f6ff!important;color:#1455b4!important;border:1px solid #d5e4f7!important;margin-top:9px;}
body.anblab-theme #checkout-cart .anb-cart-extras{background:#fff;border:1px solid #dbe7f5;border-radius:12px;padding:13px 15px;margin-top:12px;}
body.anblab-theme #checkout-cart .anb-cart-extras summary{font-size:13px;color:#1559b6;cursor:pointer;font-weight:750;}

body.anblab-theme #anb-onepage .anb-op-head{display:flex!important;align-items:flex-end;justify-content:space-between;gap:14px;margin:20px 0 23px;}
body.anblab-theme #anb-onepage .anb-op-head h1{font-size:clamp(28px,4vw,38px)!important;line-height:1.25;margin:7px 0 8px;color:#17355c;}
body.anblab-theme #anb-onepage .anb-op-head p{font-size:13px;color:#687f9a;margin:0;}
body.anblab-theme #anb-onepage .anb-op-layout{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(275px,.8fr);gap:20px;align-items:start;}
body.anblab-theme #anb-onepage .anb-op-fields{display:flex!important;flex-direction:column;gap:17px;min-width:0;}
body.anblab-theme #anb-onepage .anb-op-card{display:block!important;min-width:0!important;border:1px solid #dce8f6!important;border-radius:19px!important;padding:22px!important;background:#fff!important;box-shadow:0 10px 28px rgba(23,55,98,.045)!important;}
body.anblab-theme #anb-onepage .anb-op-section-title{display:flex!important;align-items:center;gap:12px;margin:0 0 20px;}
body.anblab-theme #anb-onepage .anb-op-icon{display:flex!important;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;color:#1759b4;background:#eff5ff;border-radius:12px;font-size:17px;}
body.anblab-theme #anb-onepage .anb-op-section-title h2{font-size:20px!important;margin:0 0 2px!important;line-height:1.3!important;color:#17375c!important;letter-spacing:-.02em;}
body.anblab-theme #anb-onepage .anb-op-section-title p{font-size:12px;line-height:1.5;color:#758ba4;margin:0;}
body.anblab-theme #anb-onepage .anb-op-pair{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-bottom:12px;}
body.anblab-theme #anb-onepage .anb-op-pair label{display:flex!important;flex-direction:column;min-width:0;font-size:12px;font-weight:750;color:#21466e;}
body.anblab-theme #anb-onepage .anb-op-pair label>input,
body.anblab-theme #anb-onepage .anb-op-np select,
body.anblab-theme #anb-onepage textarea{
  display:block!important;box-sizing:border-box!important;float:none!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  min-height:44px!important;height:auto;border:1px solid #d2e0f3!important;
  background:#f5f9ff!important;color:#233f62!important;border-radius:11px!important;
  padding:10px 12px!important;margin:7px 0 0!important;
  font-size:14px!important;line-height:1.45!important;box-shadow:none!important;
}
body.anblab-theme #anb-onepage textarea{min-height:90px!important;resize:vertical;}
body.anblab-theme #anb-onepage .anb-op-np label{display:block;font-size:12px;font-weight:750;color:#2c4d70;margin:0;}
body.anblab-theme #anb-onepage .anb-op-np .form-group{margin:0 0 15px;}
body.anblab-theme #anb-onepage .anb-op-payment{
  display:flex!important;align-items:center!important;gap:12px;
  padding:14px 15px!important;margin:0 0 9px!important;
  background:#f5f9ff!important;border:1px solid #d9e6f6!important;
  border-radius:11px!important;font-size:14px;color:#1b3e68;cursor:pointer;
}
body.anblab-theme #anb-onepage .anb-op-payment:has(input:checked){background:#eaf3ff!important;border-color:#8eb8ef!important;}
body.anblab-theme #anb-onepage .anb-op-payment>input[type=radio]{position:static!important;float:none!important;display:block!important;flex:0 0 17px;width:17px!important;height:17px!important;margin:0!important;accent-color:#1558b8;}
body.anblab-theme #anb-onepage .anb-op-payment>span{font-weight:700;min-width:0;}
body.anblab-theme #anb-onepage .anb-op-payment>i{margin-left:auto;color:#6695ce;}
body.anblab-theme #anb-onepage .anb-op-order .anb-op-product{display:grid!important;grid-template-columns:57px minmax(0,1fr) auto;gap:10px;align-items:start;border-bottom:1px solid #e8eef6;padding:11px 0;}
body.anblab-theme #anb-onepage .anb-op-product img{display:block;width:57px;height:57px;object-fit:contain;border-radius:10px;}
body.anblab-theme #anb-onepage .anb-op-product>div{display:flex;flex-direction:column;gap:4px;min-width:0;}
body.anblab-theme #anb-onepage .anb-op-product a{font-size:12px;font-weight:750;color:#1b4778;overflow-wrap:anywhere;line-height:1.45;}
body.anblab-theme #anb-onepage .anb-op-product strong{font-size:12px;color:#1658b7;white-space:nowrap;}
body.anblab-theme #anb-onepage .anb-op-totals{padding:14px 0;border-bottom:1px solid #e4ecf7;}
body.anblab-theme #anb-onepage .anb-op-totals>div{display:flex;justify-content:space-between;gap:13px;margin-bottom:8px;font-size:12px;}
body.anblab-theme #anb-onepage .anb-op-totals b{color:#1658b7;white-space:nowrap;}
body.anblab-theme #anb-onepage .anb-op-totals .anb-op-grand{font-size:17px;font-weight:800;color:#193657;}
body.anblab-theme #anb-onepage .anb-op-agreement{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:9px;margin:0!important;padding:17px 0!important;font-size:12px;line-height:1.6;color:#415e7e;cursor:pointer;}
body.anblab-theme #anb-onepage .anb-op-agreement input[type=checkbox]{position:static!important;flex:0 0 18px;width:18px!important;height:18px!important;margin:2px 0 0!important;accent-color:#155ab8;}
body.anblab-theme #anb-onepage #anb-op-submit{display:flex!important;align-items:center;justify-content:center;gap:9px;min-height:48px!important;width:100%!important;background:#1759b7!important;color:#fff!important;border:0!important;border-radius:11px!important;font-weight:800;font-size:13px!important;}
body.anblab-theme #anb-onepage .anb-op-safe{text-align:center;font-size:11px;color:#738ba5;margin:11px 0 0;}
/* Native OpenCart confirmation is still present for BACS/COD click handlers,
   but should never flash its legacy table in the modern summary. */
body.anblab-theme #anb-onepage #anb-op-payment-confirm.anb-op-native-hidden{
  position:absolute!important;width:1px!important;height:1px!important;
  left:-10000px!important;top:auto!important;
  overflow:hidden!important;clip-path:inset(50%);padding:0!important;
  margin:0!important;border:0!important;
}
body.anblab-theme #anb-onepage #anb-op-payment-confirm:not(.anb-op-native-hidden):not([hidden]){
  margin-top:16px;max-width:100%;overflow-x:auto;
}
body.anblab-theme #anb-onepage .anb-op-order:has(#anb-op-payment-confirm.anb-op-native-hidden)::after{
  content:'Оформлюємо замовлення…';display:block;text-align:center;
  font-size:12px;font-weight:700;margin-top:10px;color:#1659b5;
}
@media(max-width:1100px){
  body.anblab-theme #product-product .anb-product-gallery .anb-gallery-shell{grid-template-columns:minmax(0,1fr) 75px;gap:8px;}
}
@media(max-width:900px){
  body.anblab-theme #checkout-cart .anb-cart-layout,
  body.anblab-theme #anb-onepage .anb-op-layout{grid-template-columns:minmax(0,1fr)!important;}
  body.anblab-theme #checkout-cart .anb-cart-summary,
  body.anblab-theme #anb-onepage .anb-op-summary{position:static!important;width:100%;}
}
@media(max-width:767px){
  body.anblab-theme #product-product .anb-product-gallery .anb-gallery-shell{
    display:flex!important;flex-direction:column!important;gap:9px;
  }
  body.anblab-theme #product-product .anb-gallery-shell>.anb-gallery-main,
  body.anblab-theme #product-product .anb-gallery-shell>.anb-gallery-rail{
    flex:0 0 auto!important;width:100%!important;max-width:100%!important;min-width:0!important;
  }
  body.anblab-theme #product-product .anb-gallery-shell>.anb-gallery-main{overflow:hidden;}
  body.anblab-theme #product-product .anb-gallery-main>.thumbnail{
    max-width:100%!important;box-sizing:border-box!important;
    padding:6px!important;border-radius:17px!important;aspect-ratio:1 / 1!important;
    max-height:none!important;
  }
  body.anblab-theme #product-product .anb-gallery-main img{border-radius:12px!important;}
  body.anblab-theme #product-product .anb-gallery-rail{
    display:flex!important;flex-direction:row!important;gap:8px;
    overflow-x:auto!important;overflow-y:hidden!important;
    max-height:95px!important;padding-bottom:5px;scroll-snap-type:x proximity;
  }
  body.anblab-theme #product-product .anb-gallery-rail .thumbnail{
    flex:0 0 77px!important;width:77px!important;height:77px!important;aspect-ratio:1/1;
    padding:4px!important;scroll-snap-align:start;
  }
  body.anblab-theme #product-product .anb-gallery-rail .thumbnail img{border-radius:7px!important;}
  body.anblab-theme #product-category .anb-subcategory-media img{
    width:auto!important;height:auto!important;max-width:min(88%,175px)!important;
    max-height:90%!important;aspect-ratio:1/1;border-radius:12px!important;
  }
  body.anblab-theme #product-category .anb-catalog-products .product-thumb .image,
  body.anblab-theme #product-category .anb-catalog-products .product-thumb .image a{
    overflow:hidden!important;border-radius:12px!important;
  }
  body.anblab-theme #product-category .anb-catalog-products .product-thumb .image img{border-radius:12px!important;}
  body.anblab-theme .alert.anb-add-toast{top:140px!important;right:12px!important;width:calc(100vw - 24px)!important;max-width:420px!important;}
  body.anblab-theme #checkout-cart .anb-cart-layout,
  body.anblab-theme #anb-onepage .anb-op-layout{display:flex!important;flex-direction:column!important;gap:13px;}
  body.anblab-theme #checkout-cart .anb-cart-list,
  body.anblab-theme #checkout-cart .anb-cart-summary,
  body.anblab-theme #anb-onepage .anb-op-fields,
  body.anblab-theme #anb-onepage .anb-op-summary{width:100%!important;min-width:0;position:static;}
  body.anblab-theme #checkout-cart .anb-cart-item{grid-template-columns:70px minmax(0,1fr)!important;padding:12px!important;gap:10px;}
  body.anblab-theme #checkout-cart .anb-cart-img{width:70px;height:70px;}
  body.anblab-theme #checkout-cart .anb-cart-item-price{grid-column:2;align-items:flex-start;}
  body.anblab-theme #checkout-cart .anb-cart-item-foot{gap:7px;}
  body.anblab-theme #checkout-cart .anb-cart-item-foot button{font-size:12px;}
  body.anblab-theme #checkout-cart .anb-cart-summary{padding:17px;}
  body.anblab-theme #anb-onepage .anb-op-card{padding:17px!important;border-radius:16px!important;}
  body.anblab-theme #anb-onepage .anb-op-head{flex-direction:column!important;align-items:flex-start!important;gap:9px;}
  body.anblab-theme #anb-onepage .anb-op-head h1{font-size:29px!important;}
  body.anblab-theme #anb-onepage .anb-op-section-title h2{font-size:18px!important;}
  body.anblab-theme #anb-onepage .anb-op-pair{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;}
  body.anblab-theme #anb-onepage .anb-op-product{grid-template-columns:49px minmax(0,1fr)!important;}
  body.anblab-theme #anb-onepage .anb-op-product strong{grid-column:2;}
  body.anblab-theme #anb-onepage .anb-op-product img{width:49px;height:49px;}
  body.anblab-theme #cart.anb-mini-cart>ul.dropdown-menu{
    right:0!important;left:auto!important;top:calc(100% + 6px)!important;
    width:calc(100vw - 24px)!important;max-width:360px!important;
    padding:0!important;margin:0!important;transform:none!important;
  }
  body.anblab-theme #cart.anb-mini-cart .anb-mini-content{padding:13px!important;}
  body.anblab-theme #cart.anb-mini-cart .anb-mini-actions a{white-space:normal!important;}
}
@media(max-width:430px){
  body.anblab-theme #anb-onepage .anb-op-pair{grid-template-columns:minmax(0,1fr)!important;gap:3px!important;}
  body.anblab-theme #anb-onepage .anb-op-card{padding:16px!important;}
  body.anblab-theme #anb-onepage .anb-op-head h1{font-size:27px!important;}
  body.anblab-theme #anb-onepage .anb-op-product strong{white-space:normal;}
  body.anblab-theme #checkout-cart .anb-cart-name{font-size:13px;}
  body.anblab-theme #product-category .anb-subcategory-media img{max-width:90%!important;}
}
