
/* aronga simple UX */
.top-menu__account,
.top-menu__wishlist,
.top-menu__compare,
.header-cart,
.uni-header__cart,
#cart,
.fly-menu__account,
.fly-menu__wishlist,
.fly-menu__compare,
.fly-menu__cart,
#form-currency,
#form-language {
  display: none !important;
}

.category-wall__item {
  transition: transform .15s ease, box-shadow .15s ease;
}
.category-wall__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* seller button */
.top-menu__links a[href*="information_id=4"],
.top-links a[href*="information_id=4"] {
  display: inline-block !important;
  background: #e91e63 !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
}
.top-menu__links a[href*="information_id=4"]:hover {
  background: #c2185b !important;
  color: #fff !important;
}

/* ===== MOBILE NORMALIZE ===== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
img, video, iframe {
  max-width: 100%;
  height: auto;
}
.aronga-seller iframe,
.contact-page iframe,
iframe[title*="АРОНГА"],
iframe[src*="yandex.ru/map"] {
  max-width: 100% !important;
  width: 100% !important;
}

@media (max-width: 991px) {
  body {
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  /* catalog drawer must not be clipped */
  .menu, #menu, .menu-wrapper, .header-menu, .menu1, .menu2 {
    z-index: 10050 !important;
    overflow: visible !important;
    max-height: none !important;
  }
  #menu.menu {
    visibility: visible;
  }
  .menu-open,
  .header-menu__btn,
  button.menu-open,
  button.header-menu__btn {
    display: inline-flex !important;
    align-items: center;
    pointer-events: auto !important;
    z-index: 10051 !important;
    opacity: 1 !important;
  }
  /* when menu opens, UniShop adds classes — ensure overlay works */
  body.menu-open,
  body.menu-opened,
  html.menu-open {
    overflow: hidden !important;
  }


  /* bigger tap targets */
  a, button, .btn, .uni-href, .category-wall__title a,
  .product-thumb__name a, .top-menu__btn {
    min-height: 44px;
  }
  .btn, .btn-primary, .btn-default {
    min-height: 48px !important;
    padding: 12px 18px !important;
    font-size: 16px !important;
    border-radius: 8px !important;
  }

  /* seller button: full-width friendly in top menu */
  .top-menu__links {
    width: 100%;
    padding: 6px 0 10px !important;
  }
  .top-menu__links a[href*="information_id=4"],
  .top-links a[href*="information_id=4"] {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 17px !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    box-sizing: border-box;
  }

  /* hide empty wishlist/compare wrappers leftovers */
  .top-menu__buttons {
    display: none !important;
  }

  /* header phone: big and tappable */
  .header-phones a,
  .header-phone a,
  a[href^="tel:"] {
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
  }

  /* teasers: one column, large cards */
  .category-wall {
    margin: 0 0 16px !important;
  }
  .category-wall .heading,
  .heading {
    font-size: 22px !important;
    text-align: center !important;
    margin: 12px 0 16px !important;
  }
  .category-wall__item {
    /* disabled — use .aronga-cars grid */
    width: auto !important;
    margin: 0 0 14px !important;
    padding: 10px !important;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
  }
  .category-wall__image {
    display: block !important;
    margin-bottom: 8px !important;
  }
  .category-wall__image img {
    width: 100% !important;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px !important;
  }
  .category-wall__title,
  .category-wall__title a {
    font-size: 20px !important;
    font-weight: 700 !important;
    text-align: center !important;
    display: block !important;
    padding: 8px 4px 4px !important;
  }
  .category-wall__ul.child-empty {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  /* home text banners: stack cleanly */
  .home-banner .col-xs-12 {
    margin-bottom: 10px;
  }
  .home-banner__item {
    min-height: 0 !important;
    padding: 14px !important;
    border-radius: 10px;
  }

  /* catalog / product lists */
  .product-thumb {
    margin-bottom: 14px !important;
  }
  .product-thumb__name,
  .product-thumb__name a {
    font-size: 16px !important;
    line-height: 1.35 !important;
  }
  .product-thumb__price,
  .price {
    font-size: 18px !important;
    font-weight: 700 !important;
  }

  /* filterpro: don't crush page */
  #filterpro_box,
  .filterpro,
  .option_box {
    font-size: 15px !important;
  }
  #filterpro_box .option_name {
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 10px 0 !important;
  }
  #filterpro input[type="checkbox"],
  #filterpro label {
    min-height: 40px;
    font-size: 15px !important;
  }

  /* fly contacts: keep clear of edges, larger hit area */
  .fly-block__contacts {
    z-index: 9999 !important;
  }
  .fly-block__contacts-icons {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
  }
  .fly-block__contacts-icon,
  .fly-block__contacts-icons i {
    font-size: 22px !important;
  }
  .fly-block__contacts-items a,
  .fly-block__contacts-item {
    width: 48px !important;
    height: 48px !important;
    font-size: 18px !important;
  }

  /* seller page readability */
  .aronga-seller {
    font-size: 17px !important;
    padding: 0 4px;
  }
  .aronga-seller a[href^="tel:"] {
    display: inline-block !important;
    margin: 8px 0 12px !important;
    font-size: 26px !important;
  }

  /* footer: less dense */
  footer, .footer {
    font-size: 14px !important;
  }
  .footer h5, footer h5 {
    font-size: 16px !important;
    margin-top: 16px !important;
  }

  /* search: taller */
  .header-search input,
  .header-search .form-control,
  #search input {
    min-height: 46px !important;
    font-size: 16px !important;
  }
}

@media (max-width: 575px) {
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .category-wall__image img {
    max-height: 180px;
  }
  /* catalog menu button larger */
  .menu-open, .btn-menu, .mobile-menu-btn, [class*="menu-open"] {
    min-width: 48px !important;
    min-height: 48px !important;
  }
}


/* MOBILE CATALOG FIX — UniShop keeps .menu-wrapper.new {display:none} even on phones */
@media (max-width: 991px) {
  header .menu-wrapper.new,
  .menu-wrapper.new {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    z-index: 10070 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: #fff !important;
    transition: left ease-in-out .15s !important;
  }
  header .menu-wrapper.new.show,
  .menu-wrapper.new.show,
  .menu-wrapper.show {
    left: 0 !important;
    display: block !important;
    box-shadow: 0 0 10px rgba(0,0,0,.2);
  }
  .menu-wrapper.new .menu__collapse {
    width: 100% !important;
  }
  .menu-open,
  button.menu-open {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 10071 !important;
  }
  body.scroll-disabled {
    overflow: hidden !important;
  }
}
/* product card: keep qty + cart visible */
.product-thumb .button-group,
.product-thumb .btn-cart,
.product-thumb button[onclick*="cart.add"],
.product-thumb .cart,
.product-thumb__cart,
.product-thumb .qty-switch,
.product-thumb input[name="quantity"],
.product-thumb input.qty-input {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* hide wishlist/compare on cards */
.product-thumb button[onclick*="wishlist.add"],
.product-thumb button[onclick*="compare.add"],
.product-thumb a[href*="wishlist"],
.product-thumb a[href*="compare"] {
  display: none !important;
}

/* make card image clickable for lightbox when present */
.product-thumb .image a {
  cursor: zoom-in;
}

/* === ARONGA CLIENT QA FIXES === */

/* Hide circled "water": stock filter leftovers, rating sort noise icons if any */
.product-thumb__wishlist,
.product-thumb__compare,
.product-page__wishlist-btn,
.product-page__compare-btn,
.wishlist,
.compare,
a[href*="account/wishlist"],
a[href*="product/compare"] {
  display: none !important;
}

/* Hide model/sku clutter on cards if present as secondary noise */
.product-thumb__model,
.product-thumb__description,
.product-thumb .rating,
.product-thumb__rating,
.uni-attributes,
.product-thumb .option {
  display: none !important;
}

/* Keep qty + cart visible and stacked like live cards */
.product-thumb__cart,
.product-thumb__cart.cart {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  visibility: visible !important;
  opacity: 1 !important;
}
.product-thumb .qty-switch,
.product-thumb__cart .qty-switch {
  display: inline-flex !important;
  visibility: visible !important;
}
.product-thumb__add-to-cart,
.product-thumb button.add_to_cart {
  display: inline-flex !important;
  visibility: visible !important;
}

/* Product image zoom cursor */
.product-thumb__image a {
  cursor: zoom-in;
}

/* Wide displays: stretch container */
@media (min-width: 1400px) {
  .container {
    width: 100% !important;
    max-width: 1600px !important;
  }
}
@media (min-width: 1800px) {
  .container {
    max-width: 1760px !important;
  }
}

/* Subcategory tiles: show images when available */
.category-list .image img,
.category-page .category-list img,
.uni-category-list img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
