@media (max-width:768px){
:root{--ae-red:#e31e24;--ae-text:#171717;--ae-muted:#6b7280;--ae-border:#e5e7eb;--ae-bg:#f7f7f8;--ae-white:#fff;--ae-safe-bottom:env(safe-area-inset-bottom,0px)}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;background:var(--ae-bg)}
body{margin:0!important;padding:0 0 calc(72px + var(--ae-safe-bottom))!important;min-width:0!important;width:100%!important;overflow-x:hidden!important;background:var(--ae-bg)!important;color:var(--ae-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:16px!important;line-height:1.45!important}
body.ae-mobile-open{overflow:hidden!important}
#ae-mobile-header{position:sticky;top:0;z-index:2147483000;display:grid;grid-template-columns:48px 1fr 48px;align-items:center;min-height:58px;padding:4px 8px;background:var(--ae-white);border-bottom:1px solid var(--ae-border)}
.ae-mobile-icon{display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;border:0;border-radius:12px;background:transparent;color:var(--ae-text);text-decoration:none;cursor:pointer}
.ae-mobile-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ae-mobile-logo{display:block;text-align:center;font-size:21px;line-height:1;font-weight:900;letter-spacing:-.8px;text-decoration:none;color:var(--ae-text)}
.ae-mobile-logo span{color:var(--ae-red)}
#ae-mobile-home{width:100%;max-width:720px;margin:0 auto;padding:12px;box-sizing:border-box}
.ae-mobile-search{position:relative;margin:0 0 14px}
.ae-mobile-search input{width:100%;height:52px;padding:0 50px 0 16px;border:1px solid #d9dce1;border-radius:15px;outline:none;background:#fff;color:var(--ae-text);font:inherit;font-size:16px;box-sizing:border-box}
.ae-mobile-search input:focus{border-color:var(--ae-red);box-shadow:0 0 0 3px rgba(227,30,36,.12)}
.ae-mobile-search button{position:absolute;top:4px;right:4px;width:44px;height:44px;border:0;border-radius:12px;background:var(--ae-red);color:#fff}
.ae-mobile-search button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2}
.ae-mobile-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 16px}
.ae-mobile-action{display:flex;min-height:72px;flex-direction:column;justify-content:center;padding:14px;border:1px solid var(--ae-border);border-radius:15px;background:#fff;color:var(--ae-text);text-decoration:none;box-sizing:border-box}
.ae-mobile-action strong{margin-bottom:3px}.ae-mobile-action small{color:var(--ae-muted)}
.ae-mobile-action-primary{grid-column:1/-1;background:var(--ae-red);border-color:var(--ae-red);color:#fff}
.ae-mobile-action-primary small{color:rgba(255,255,255,.85)}
#ae-mobile-drawer-backdrop{position:fixed;z-index:2147483001;inset:0;display:none;background:rgba(0,0,0,.42)}
#ae-mobile-drawer{position:fixed;z-index:2147483002;top:0;bottom:0;left:0;width:min(86vw,340px);padding:18px;background:#fff;transform:translateX(-105%);transition:transform .22s ease;box-shadow:8px 0 30px rgba(0,0,0,.16);box-sizing:border-box}
body.ae-mobile-open #ae-mobile-drawer{transform:translateX(0)}
body.ae-mobile-open #ae-mobile-drawer-backdrop{display:block}
.ae-mobile-drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.ae-mobile-menu-link{display:block;padding:15px 4px;border-bottom:1px solid var(--ae-border);color:var(--ae-text);text-decoration:none;font-weight:600}
#ae-mobile-bottom{position:fixed;z-index:2147482999;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,1fr);min-height:calc(62px + var(--ae-safe-bottom));padding:5px 4px var(--ae-safe-bottom);background:rgba(255,255,255,.97);border-top:1px solid var(--ae-border)}
#ae-mobile-bottom a{display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:10px;color:#374151;text-decoration:none;font-size:11px}
#ae-mobile-bottom svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body img{max-width:100%!important;height:auto}table{max-width:100%!important}input,select,textarea,button{max-width:100%;font-size:16px!important}
}
@media (min-width:769px){#ae-mobile-header,#ae-mobile-home,#ae-mobile-drawer,#ae-mobile-drawer-backdrop,#ae-mobile-bottom{display:none!important}}

/* AUTOERA MOBILE V2 — CLEAN HOME PATCH */
@media (max-width:768px){
  body.ae-mobile-home-page > .ae-mobile-legacy-home {
    display:none !important;
  }

  body.ae-mobile-home-page {
    background:#f7f7f8 !important;
  }

  body.ae-mobile-home-page #ae-mobile-home {
    min-height:calc(100vh - 130px);
  }

  #ae-mobile-home .ae-mobile-intro {
    margin:18px 0 14px;
  }

  #ae-mobile-home .ae-mobile-intro h1 {
    margin:0 0 6px;
    font-size:24px;
    line-height:1.2;
    color:#171717;
  }

  #ae-mobile-home .ae-mobile-intro p {
    margin:0;
    color:#6b7280;
    font-size:15px;
  }

  #ae-mobile-home .ae-mobile-help {
    margin-top:14px;
    padding:14px;
    border:1px solid #e5e7eb;
    border-radius:15px;
    background:#fff;
  }

  #ae-mobile-home .ae-mobile-help strong {
    display:block;
    margin-bottom:4px;
  }

  #ae-mobile-home .ae-mobile-help a {
    color:#e31e24;
    font-weight:700;
    text-decoration:none;
  }

  #ae-mobile-bottom a:last-child {
    color:#e31e24;
  }
}

/* AUTOERA MOBILE V2 — LANGUAGE SWITCHER */
@media (max-width:768px){
  #ae-mobile-header{
    grid-template-columns:48px 1fr 92px;
  }

  .ae-mobile-header-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:2px;
  }

  #ae-mobile-language-button{
    width:42px;
    height:40px;
    padding:0;
    border:1px solid #e5e7eb;
    border-radius:11px;
    background:#fff;
    color:#171717;
    font-size:13px !important;
    font-weight:800;
    line-height:1;
  }

  #ae-mobile-language-menu{
    position:fixed;
    z-index:2147483003;
    top:66px;
    right:10px;
    display:none;
    width:154px;
    padding:7px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    background:#fff;
    box-shadow:0 12px 30px rgba(0,0,0,.16);
  }

  body.ae-language-open #ae-mobile-language-menu{
    display:block;
  }

  #ae-mobile-language-menu a{
    display:flex;
    align-items:center;
    gap:9px;
    padding:11px 10px;
    border-radius:10px;
    color:#171717;
    text-decoration:none;
    font-size:14px;
    font-weight:700;
  }

  #ae-mobile-language-menu a:active{
    background:#f3f4f6;
  }

  #ae-mobile-language-menu .ae-lang-flag{
    width:24px;
    text-align:center;
    font-size:18px;
  }

  #ae-mobile-language-menu .ae-lang-active{
    background:#fef0f1;
    color:#e31e24;
  }

  .ae-mobile-menu-languages{
    margin-top:18px;
    padding-top:12px;
    border-top:1px solid #e5e7eb;
  }

  .ae-mobile-menu-languages strong{
    display:block;
    margin-bottom:7px;
    color:#6b7280;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.04em;
  }

  .ae-mobile-menu-languages a{
    display:inline-flex;
    margin:0 5px 5px 0;
    padding:9px 11px;
    border:1px solid #e5e7eb;
    border-radius:10px;
    color:#171717;
    text-decoration:none;
    font-weight:700;
  }
}

/* AUTOERA MOBILE V2 — PRODUCT CARD */
@media (max-width:768px){
  body.ae-mobile-product-page{
    background:#f7f7f8 !important;
    padding-bottom:150px !important;
  }

  body.ae-mobile-product-page .aeru31-product-table{
    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:12px !important;
    border:0 !important;
    background:transparent !important;
    box-sizing:border-box !important;
  }

  body.ae-mobile-product-page .aeru31-product-table tbody,
  body.ae-mobile-product-page .aeru31-product-table tr{
    display:block !important;
    width:100% !important;
  }

  body.ae-mobile-product-page .aeru31-product-table td{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    padding:0 !important;
    border:0 !important;
    box-sizing:border-box !important;
  }

  body.ae-mobile-product-page .aeru31-image-cell,
  body.ae-mobile-product-page .aeru31-info-cell,
  body.ae-mobile-product-page .aeru31-service-cell,
  body.ae-mobile-product-page .aeru31-buy-cell{
    margin:0 0 12px !important;
    padding:14px !important;
    border:1px solid #e5e7eb !important;
    border-radius:16px !important;
    background:#fff !important;
  }

  body.ae-mobile-product-page .aeru31-image-cell{
    min-height:260px;
    text-align:center !important;
  }

  body.ae-mobile-product-page .aeru31-image-cell img{
    display:block;
    max-width:100% !important;
    max-height:360px !important;
    width:auto !important;
    height:auto !important;
    margin:0 auto !important;
    object-fit:contain;
  }

  body.ae-mobile-product-page .aeru31-info-cell{
    font-size:16px !important;
  }

  body.ae-mobile-product-page .aeru31-info-cell *{
    max-width:100% !important;
    box-sizing:border-box !important;
  }

  body.ae-mobile-product-page .aeru31-info-cell select,
  body.ae-mobile-product-page .aeru31-info-cell input[type="text"],
  body.ae-mobile-product-page .aeru31-info-cell input[type="number"]{
    width:100% !important;
    min-height:46px !important;
    padding:10px 12px !important;
    border:1px solid #d7dbe1 !important;
    border-radius:12px !important;
    background:#fff !important;
  }

  body.ae-mobile-product-page .aeru31-service-cell{
    color:#374151 !important;
    line-height:1.5 !important;
  }

  body.ae-mobile-product-page .aeru31-actions-row{
    display:block !important;
  }

  body.ae-mobile-product-page .aeru31-back-cell,
  body.ae-mobile-product-page .aeru31-actions-spacer{
    display:none !important;
  }

  body.ae-mobile-product-page .aeru31-buy-cell{
    position:relative;
  }

  body.ae-mobile-product-page .aeru31-buy-cell input[type="submit"],
  body.ae-mobile-product-page .aeru31-buy-cell input[type="button"],
  body.ae-mobile-product-page .aeru31-buy-cell button,
  body.ae-mobile-product-page .aeru31-buy-cell a[href*="cart"]{
    display:flex !important;
    width:100% !important;
    min-height:54px !important;
    align-items:center !important;
    justify-content:center !important;
    padding:12px 16px !important;
    border:0 !important;
    border-radius:14px !important;
    background:#e31e24 !important;
    color:#fff !important;
    font-size:18px !important;
    font-weight:800 !important;
    text-align:center !important;
    text-decoration:none !important;
    box-shadow:none !important;
    cursor:pointer !important;
  }

  body.ae-mobile-product-page table:not(.aeru31-product-table){
    width:100% !important;
    max-width:100% !important;
  }

  body.ae-mobile-product-page table:not(.aeru31-product-table) td{
    max-width:100% !important;
    box-sizing:border-box !important;
  }

  body.ae-mobile-product-page .ae-product-quick-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin:12px;
  }

  body.ae-mobile-product-page .ae-product-quick-actions a{
    display:flex;
    min-height:52px;
    align-items:center;
    justify-content:center;
    padding:10px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    background:#fff;
    color:#171717;
    text-decoration:none;
    font-weight:700;
    box-sizing:border-box;
  }

  body.ae-mobile-product-page #ae-product-sticky-buy{
    position:fixed;
    z-index:2147482998;
    left:10px;
    right:10px;
    bottom:76px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px;
    border:1px solid #e5e7eb;
    border-radius:16px;
    background:rgba(255,255,255,.97);
    box-shadow:0 10px 30px rgba(0,0,0,.16);
  }

  body.ae-mobile-product-page #ae-product-sticky-buy button{
    width:100%;
    min-height:52px;
    border:0;
    border-radius:13px;
    background:#e31e24;
    color:#fff;
    font-size:17px !important;
    font-weight:800;
  }

  body.ae-mobile-product-page .ae-product-sticky-price{
    flex:0 0 auto;
    max-width:42%;
    color:#171717;
    font-weight:900;
    font-size:17px;
    line-height:1.2;
  }

  body.ae-mobile-product-page .ae-product-title-mobile{
    margin:12px;
    padding:14px;
    border:1px solid #e5e7eb;
    border-radius:16px;
    background:#fff;
  }

  body.ae-mobile-product-page .ae-product-title-mobile h1{
    margin:0;
    color:#171717;
    font-size:22px;
    line-height:1.25;
  }
}

/* AUTOERA MOBILE V2 — PRODUCT SHELL */
@media (max-width:768px){
  body.ae-product-shell-active{
    background:#f7f7f8 !important;
    padding-bottom:150px !important;
  }

  body.ae-product-shell-active > .ae-product-legacy{
    display:none !important;
  }

  body.ae-product-shell-active #ae-product-sticky-buy,
  body.ae-product-shell-active .ae-product-title-mobile,
  body.ae-product-shell-active .ae-product-quick-actions{
    display:none !important;
  }

  #ae-mobile-product-shell{
    width:100%;
    max-width:720px;
    margin:0 auto;
    padding:12px;
    box-sizing:border-box;
  }

  .aeps-card{
    margin-bottom:12px;
    padding:14px;
    border:1px solid #e5e7eb;
    border-radius:16px;
    background:#fff;
    box-sizing:border-box;
  }

  .aeps-title{
    margin:0;
    color:#171717;
    font-size:23px;
    line-height:1.25;
    font-weight:850;
  }

  .aeps-image{
    display:flex;
    min-height:300px;
    align-items:center;
    justify-content:center;
    overflow:hidden;
  }

  .aeps-image img{
    display:block;
    max-width:100%;
    max-height:380px;
    width:auto;
    height:auto;
    object-fit:contain;
  }

  .aeps-price{
    margin:0 0 8px;
    color:#e31e24;
    font-size:30px;
    line-height:1.1;
    font-weight:900;
  }

  .aeps-old-price{
    margin-right:8px;
    color:#6b7280;
    font-size:16px;
    text-decoration:line-through;
  }

  .aeps-status{
    display:inline-flex;
    align-items:center;
    gap:7px;
    margin-top:5px;
    padding:8px 10px;
    border-radius:11px;
    background:#ecfdf3;
    color:#067647;
    font-size:14px;
    font-weight:800;
  }

  .aeps-meta{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    margin-top:12px;
  }

  .aeps-meta-row{
    display:flex;
    justify-content:space-between;
    gap:15px;
    padding-bottom:8px;
    border-bottom:1px solid #eef0f3;
    font-size:14px;
  }

  .aeps-meta-row:last-child{
    padding-bottom:0;
    border-bottom:0;
  }

  .aeps-meta-row span:first-child{
    color:#6b7280;
  }

  .aeps-meta-row strong{
    text-align:right;
  }

  .aeps-qty-row{
    display:grid;
    grid-template-columns:52px 1fr 52px;
    gap:8px;
    margin:12px 0;
  }

  .aeps-qty-row button,
  .aeps-qty-row input{
    height:50px;
    border:1px solid #d7dbe1;
    border-radius:13px;
    background:#fff;
    color:#171717;
    text-align:center;
    font-size:18px !important;
    font-weight:800;
    box-sizing:border-box;
  }

  .aeps-buy{
    display:flex;
    width:100%;
    min-height:56px;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:14px;
    background:#e31e24;
    color:#fff;
    font-size:18px !important;
    font-weight:850;
  }

  .aeps-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .aeps-actions a{
    display:flex;
    min-height:52px;
    align-items:center;
    justify-content:center;
    padding:10px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    background:#fff;
    color:#171717;
    text-align:center;
    text-decoration:none;
    font-size:14px;
    font-weight:750;
    box-sizing:border-box;
  }

  .aeps-section-title{
    margin:0 0 10px;
    font-size:18px;
    line-height:1.25;
  }

  .aeps-description{
    color:#374151;
    font-size:15px;
    line-height:1.55;
    white-space:pre-line;
  }

  #aeps-fixed-buy{
    position:fixed;
    z-index:2147482998;
    left:10px;
    right:10px;
    bottom:76px;
    display:grid;
    grid-template-columns:auto 1fr;
    align-items:center;
    gap:10px;
    padding:9px;
    border:1px solid #e5e7eb;
    border-radius:16px;
    background:rgba(255,255,255,.97);
    box-shadow:0 10px 30px rgba(0,0,0,.17);
    box-sizing:border-box;
  }

  #aeps-fixed-buy .aeps-fixed-price{
    max-width:135px;
    padding-left:4px;
    color:#171717;
    font-size:17px;
    line-height:1.15;
    font-weight:900;
  }

  #aeps-fixed-buy button{
    min-height:52px;
    border:0;
    border-radius:13px;
    background:#e31e24;
    color:#fff;
    font-size:17px !important;
    font-weight:850;
  }
}

/* AUTOERA MOBILE V2 — REAL AQUA PRODUCT LAYOUT */
@media (max-width:768px){

  /* Убираем старую десктопную шапку и верхнее меню только на карточке товара */
  body.ae-mobile-product-page .aqu_top,
  body.ae-mobile-product-page .aqu_wave,
  body.ae-mobile-product-page #container_topbar_left,
  body.ae-mobile-product-page #container_topbar,
  body.ae-mobile-product-page #container_topbar_right {
    display:none !important;
  }

  /* Главный контейнер Aqua больше не имеет фиксированной десктопной ширины */
  body.ae-mobile-product-page .aqu_main {
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
    background:#f7f7f8 !important;
  }

  body.ae-mobile-product-page .aqu_main_table,
  body.ae-mobile-product-page .aqu_main_table > tbody,
  body.ae-mobile-product-page .aqu_main_table > tbody > tr {
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
  }

  /* Полностью убираем левый старый сайдбар */
  body.ae-mobile-product-page #container_left_sidebar {
    display:none !important;
    width:0 !important;
    min-width:0 !important;
    max-width:0 !important;
    padding:0 !important;
    margin:0 !important;
    overflow:hidden !important;
  }

  /* Любая оставшаяся ячейка основной таблицы становится единственной колонкой */
  body.ae-mobile-product-page .aqu_main_table > tbody > tr > td:not(#container_left_sidebar) {
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    float:none !important;
    box-sizing:border-box !important;
  }

  body.ae-mobile-product-page .aqu_main_table table {
    max-width:100% !important;
  }

  /* Убираем старую горизонтальную навигацию над товаром */
  body.ae-mobile-product-page .aqu_main_table .cpt_auxpages_navigation,
  body.ae-mobile-product-page .aqu_main_table .horizontal,
  body.ae-mobile-product-page a[href*="printable"],
  body.ae-mobile-product-page a[onclick*="history.back"] {
    display:none !important;
  }

  /* Карточка товара */
  body.ae-mobile-product-page .aeru31-product-table {
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
    padding:12px !important;
    box-sizing:border-box !important;
  }

  body.ae-mobile-product-page .aeru31-product-table > tbody,
  body.ae-mobile-product-page .aeru31-product-table > tbody > tr {
    display:block !important;
    width:100% !important;
  }

  body.ae-mobile-product-page .aeru31-product-table td {
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    float:none !important;
    box-sizing:border-box !important;
  }

  body.ae-mobile-product-page .aeru31-image-cell,
  body.ae-mobile-product-page .aeru31-info-cell,
  body.ae-mobile-product-page .aeru31-service-cell,
  body.ae-mobile-product-page .aeru31-buy-cell {
    width:auto !important;
    margin:0 0 12px !important;
    padding:14px !important;
    border:1px solid #e5e7eb !important;
    border-radius:16px !important;
    background:#fff !important;
  }

  body.ae-mobile-product-page .aeru31-image-cell {
    min-height:300px !important;
    text-align:center !important;
  }

  body.ae-mobile-product-page .aeru31-image-cell img {
    display:block !important;
    width:auto !important;
    max-width:100% !important;
    height:auto !important;
    max-height:390px !important;
    margin:0 auto !important;
    object-fit:contain !important;
  }

  body.ae-mobile-product-page .aeru31-info-cell {
    overflow-wrap:anywhere !important;
    word-break:normal !important;
  }

  body.ae-mobile-product-page .aeru31-info-cell > * {
    max-width:100% !important;
  }

  body.ae-mobile-product-page .aeru31-actions-row {
    display:block !important;
  }

  body.ae-mobile-product-page .aeru31-back-cell,
  body.ae-mobile-product-page .aeru31-actions-spacer {
    display:none !important;
  }

  body.ae-mobile-product-page .aeru31-buy-cell input[type="submit"],
  body.ae-mobile-product-page .aeru31-buy-cell input[type="button"],
  body.ae-mobile-product-page .aeru31-buy-cell button {
    display:block !important;
    width:100% !important;
    min-height:56px !important;
    border:0 !important;
    border-radius:14px !important;
    background:#e31e24 !important;
    color:#fff !important;
    font-size:18px !important;
    font-weight:800 !important;
  }

  /* Описание и связанные товары тоже занимают полную ширину */
  body.ae-mobile-product-page .aqu_main_table > tbody > tr > td:not(#container_left_sidebar) > table {
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 12px !important;
    box-sizing:border-box !important;
  }

  body.ae-mobile-product-page .aqu_main_table > tbody > tr > td:not(#container_left_sidebar) > table > tbody,
  body.ae-mobile-product-page .aqu_main_table > tbody > tr > td:not(#container_left_sidebar) > table > tbody > tr,
  body.ae-mobile-product-page .aqu_main_table > tbody > tr > td:not(#container_left_sidebar) > table > tbody > tr > td {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }

  /* Не используем неудачный отдельный shell: оставляем настоящую Shop-Script карточку */
  body.ae-mobile-product-page #ae-mobile-product-shell,
  body.ae-mobile-product-page #aeps-fixed-buy {
    display:none !important;
  }
}

/* AUTOERA MOBILE V2 — PRODUCT POLISH */
@media (max-width:768px){

  /* Убираем старую иконную навигацию и служебные элементы над товаром */
  body.ae-mobile-product-page #container_top_left,
  body.ae-mobile-product-page #container_top,
  body.ae-mobile-product-page #container_top_right,
  body.ae-mobile-product-page .aqu_top_bar,
  body.ae-mobile-product-page .aqu_main_table a[href*="printable"],
  body.ae-mobile-product-page .aqu_main_table a[href*="index.php"]:has(img[src*="home-page"]),
  body.ae-mobile-product-page .aqu_main_table img[src*="home-page.jpg"]{
    display:none !important;
  }

  /* Синие декоративные полосы старой темы над товаром */
  body.ae-mobile-product-page .aqu_main_table .background2:empty,
  body.ae-mobile-product-page .aqu_main_table .background2:has(+ br),
  body.ae-mobile-product-page .aqu_main_table td > .background2:empty{
    display:none !important;
  }

  /* Убираем первый старый дублирующий заголовок, оставляя карточный */
  body.ae-mobile-product-page .aqu_main_table > tbody > tr > td:not(#container_left_sidebar) > table:first-of-type{
    display:none !important;
  }

  body.ae-mobile-product-page .ae-product-title-mobile{
    margin:12px !important;
    padding:14px !important;
    border:1px solid #e5e7eb !important;
    border-radius:16px !important;
    background:#fff !important;
  }

  body.ae-mobile-product-page .ae-product-title-mobile h1{
    margin:0 !important;
    font-size:22px !important;
    line-height:1.25 !important;
  }

  body.ae-mobile-product-page .aeru31-image-cell{
    min-height:340px !important;
    padding:18px !important;
  }

  body.ae-mobile-product-page .aeru31-image-cell img{
    max-height:420px !important;
  }

  /* Чтобы нижняя кнопка не закрывала изображение и описание */
  body.ae-mobile-product-page .aeru31-product-table{
    padding-bottom:110px !important;
  }

  body.ae-mobile-product-page #ae-product-sticky-buy{
    left:12px !important;
    right:12px !important;
    bottom:82px !important;
    padding:9px !important;
    border-radius:16px !important;
  }

  body.ae-mobile-product-page #ae-product-sticky-buy .ae-product-sticky-price{
    max-width:120px !important;
    font-size:16px !important;
  }

  body.ae-mobile-product-page #ae-product-sticky-buy button{
    min-height:54px !important;
  }

  /* Скрываем старую плавающую кнопку Jivo на мобильной карточке */
  body.ae-mobile-product-page jdiv,
  body.ae-mobile-product-page [class*="jivo"],
  body.ae-mobile-product-page [id*="jivo"]{
    display:none !important;
  }
}

/* AUTOERA MOBILE V2 — SEARCH RESULTS */
@media (max-width:768px){
  body.ae-mobile-search-results{
    background:#f7f7f8 !important;
    padding-bottom:82px !important;
  }

  body.ae-mobile-search-results .aqu_top,
  body.ae-mobile-search-results .aqu_wave,
  body.ae-mobile-search-results #container_left_sidebar,
  body.ae-mobile-search-results #container_topbar_left,
  body.ae-mobile-search-results #container_topbar,
  body.ae-mobile-search-results #container_topbar_right{
    display:none !important;
  }

  body.ae-mobile-search-results .aqu_main,
  body.ae-mobile-search-results .aqu_main_table,
  body.ae-mobile-search-results .aqu_main_table > tbody,
  body.ae-mobile-search-results .aqu_main_table > tbody > tr{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    background:#f7f7f8 !important;
  }

  body.ae-mobile-search-results .aqu_main_table > tbody > tr > td:not(#container_left_sidebar){
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
    padding:12px !important;
    float:none !important;
    box-sizing:border-box !important;
  }

  body.ae-mobile-search-results .product_brief,
  body.ae-mobile-search-results [class*="product_brief"]{
    display:grid !important;
    grid-template-columns:110px 1fr !important;
    gap:12px !important;
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 0 12px !important;
    padding:12px !important;
    border:1px solid #e1e5ea !important;
    border-radius:16px !important;
    background:#fff !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
  }

  body.ae-mobile-search-results .product_brief img,
  body.ae-mobile-search-results [class*="product_brief"] img{
    display:block !important;
    max-width:100px !important;
    max-height:130px !important;
    width:auto !important;
    height:auto !important;
    margin:0 auto !important;
    object-fit:contain !important;
  }

  body.ae-mobile-search-results .product_brief table,
  body.ae-mobile-search-results .product_brief tbody,
  body.ae-mobile-search-results .product_brief tr,
  body.ae-mobile-search-results .product_brief td,
  body.ae-mobile-search-results [class*="product_brief"] table,
  body.ae-mobile-search-results [class*="product_brief"] tbody,
  body.ae-mobile-search-results [class*="product_brief"] tr,
  body.ae-mobile-search-results [class*="product_brief"] td{
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }

  body.ae-mobile-search-results .product_brief a,
  body.ae-mobile-search-results [class*="product_brief"] a{
    overflow-wrap:anywhere !important;
  }

  body.ae-mobile-search-results .product_brief input[type="submit"],
  body.ae-mobile-search-results .product_brief input[type="button"],
  body.ae-mobile-search-results .product_brief button,
  body.ae-mobile-search-results [class*="product_brief"] input[type="submit"],
  body.ae-mobile-search-results [class*="product_brief"] input[type="button"],
  body.ae-mobile-search-results [class*="product_brief"] button{
    min-height:42px !important;
    padding:9px 12px !important;
    border:0 !important;
    border-radius:11px !important;
    background:#e31e24 !important;
    color:#fff !important;
    font-weight:800 !important;
  }

  #ae-search-results-title{
    margin:0 0 12px;
    padding:14px;
    border:1px solid #e1e5ea;
    border-radius:16px;
    background:#fff;
  }

  #ae-search-results-title h1{
    margin:0 0 4px;
    font-size:21px;
    line-height:1.25;
  }

  #ae-search-results-title p{
    margin:0;
    color:#6b7280;
    font-size:14px;
  }

  body.ae-mobile-search-results jdiv,
  body.ae-mobile-search-results [class*="jivo"],
  body.ae-mobile-search-results [id*="jivo"]{
    display:none !important;
  }
}
