
/* === AutoStyle final UX fix 5 === */
:root{--as-card-h:430px;--as-card-img:166px;--as-green:#28e11a;--as-dark:#070a12;--as-line:#e6ebf2}
.product-card,.catalog-card,.favorite-card,.related-card{display:flex!important;flex-direction:column!important;height:var(--as-card-h)!important;min-height:var(--as-card-h)!important;max-height:var(--as-card-h)!important;overflow:hidden!important;border-radius:20px!important}
.product-card-link,.catalog-card-link{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;text-decoration:none!important;color:inherit!important}
.product-img,.catalog-card-photo,.related-img{height:var(--as-card-img)!important;min-height:var(--as-card-img)!important;max-height:var(--as-card-img)!important;aspect-ratio:1/1!important;background:#f4f6f8!important;border-radius:16px!important;display:grid!important;place-items:center!important;overflow:hidden!important;margin-bottom:10px!important}
.product-img img,.catalog-card-photo img,.related-img img{width:100%!important;height:100%!important;object-fit:contain!important;display:block!important}
.product-title,.catalog-card h3,.catalog-card-body h3{font-size:16px!important;line-height:1.12!important;font-weight:950!important;display:block!important;min-height:54px!important;max-height:72px!important;overflow:hidden!important;margin:0 0 7px!important;word-break:break-word!important}
.product-group,.catalog-card-category{font-size:12px!important;line-height:1.15!important;min-height:30px!important;max-height:34px!important;overflow:hidden!important;color:#667085!important;margin-bottom:6px!important}
.product-card-price-area,.catalog-card-price-area{margin-top:auto!important;min-height:88px!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;gap:4px!important}
.price-row-card{display:flex!important;align-items:baseline!important;gap:8px!important;min-height:28px!important;flex-wrap:wrap!important}
.price,.price-current,.catalog-card-price{font-size:24px!important;line-height:1!important;font-weight:950!important;white-space:nowrap!important;color:#070a12!important}
.old-price{font-size:13px!important;color:#98a2b3!important;text-decoration:line-through!important;font-weight:900!important}
.installment-badge,.catalog-installment-badge{min-height:18px!important;display:block!important;font-size:12px!important;line-height:1.15!important;color:#078a17!important;font-weight:950!important;background:transparent!important;padding:0!important;margin:0!important}
.catalog-card-stock{min-height:18px!important;font-size:12px!important;line-height:1.15!important;color:#078a17!important;font-weight:950!important;margin:0!important}
.cart,.catalog-cart-btn,.related-cart{height:46px!important;min-height:46px!important;margin-top:10px!important;width:100%!important;border-radius:14px!important;flex:0 0 auto!important;align-self:stretch!important;background:#050814!important;color:#fff!important;font-weight:950!important}
.fav-btn{z-index:5!important;right:14px!important;top:14px!important;width:36px!important;height:36px!important;display:grid!important;place-items:center!important;border-radius:50%!important}
.fav-btn.active{background:var(--as-green)!important;color:#061006!important}
.products,.carousel-products,.catalog-grid,#favoritesGrid{align-items:stretch!important}.carousel-products .product-card{min-width:220px!important;max-width:220px!important}
.favorites-page .catalog-grid,#favoritesGrid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))!important}.favorites-page .catalog-card{height:405px!important;min-height:405px!important;max-height:405px!important}.favorites-page .catalog-card-photo{height:145px!important;min-height:145px!important;max-height:145px!important}.favorites-page .catalog-card h3{font-size:15px!important;min-height:52px!important;max-height:64px!important}
.product-page .product-layout{align-items:start!important}.product-info-clean h1{line-height:1.1!important}.product-buy-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:18px!important;align-items:end!important}.product-price-row{display:grid!important;grid-template-columns:auto 1fr!important;gap:8px 14px!important;align-items:end!important}.product-installment-inline{grid-column:1/-1!important;display:inline-flex!important;width:max-content!important;max-width:100%!important;background:#e7fbe5!important;color:#078a17!important;border-radius:999px!important;padding:7px 11px!important;font-weight:900!important;gap:7px!important}.product-stock-ok{width:max-content!important}.product-actions{display:flex!important;gap:10px!important;align-items:center!important;flex-wrap:wrap!important}.product-actions button{min-width:190px!important}.product-category-pill a,.product-breadcrumbs a,.product-breadcrumbs .cat-link{color:inherit!important;text-decoration:none!important}.product-category-pill a:hover,.product-breadcrumbs .cat-link:hover{text-decoration:underline!important}.product-block.description-collapsed p{max-height:0!important;overflow:hidden!important;margin:0!important}.product-block.description-open p{max-height:none!important}.product-desc-toggle{border:0;background:#f1f4f8;border-radius:999px;padding:9px 12px;font-weight:950;cursor:pointer;margin-left:auto}.product-block-head{display:flex;align-items:center;gap:12px;margin-bottom:8px}.product-block-head h2{margin:0!important}
/* footer */
.footer{padding:22px 0!important;background:#111720!important;color:#fff!important;margin-top:34px!important}.footer-inner{max-width:1180px!important;margin:0 auto!important;padding:0 24px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}.footer-group h3{font-size:15px!important;margin:0 0 8px!important;color:#fff!important}.footer-group a{display:block!important;color:#cbd5e1!important;text-decoration:none!important;font-size:13px!important;margin:5px 0!important}.footer-copy{max-width:1180px;margin:16px auto 0;padding:12px 24px 0;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#9ca3af;font-size:13px;font-weight:800}.footer-copy a{color:#28e11a;text-decoration:none}
/* catalog menu responsive */
.catalog-filters{position:sticky;top:86px;max-height:calc(100vh - 96px);overflow:auto}.cat-tree-grid{display:grid!important;grid-template-columns:minmax(96px,.9fr) minmax(110px,1.1fr)!important;min-width:0!important}.cat-tree-parent,.cat-tree-child{width:100%!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:13px!important}.cat-tree-parents,.cat-tree-children{max-height:360px!important;overflow:auto!important}.filters{overflow:hidden!important}.filters input,.filters select{max-width:100%!important}
@media(max-width:1180px){.catalog-page{grid-template-columns:300px 1fr!important}.catalog-grid{grid-template-columns:repeat(auto-fill,minmax(205px,1fr))!important}:root{--as-card-h:418px;--as-card-img:154px}.cat-tree-grid{grid-template-columns:1fr!important}.cat-tree-col-child{border-top:1px solid var(--as-line)!important}}
@media(max-width:900px){.catalog-page{display:block!important}.catalog-filters{position:static!important;max-height:none!important;margin:0 16px 18px!important}.catalog-grid{padding:0 16px!important}.footer-inner{grid-template-columns:1fr!important}.product-buy-card{grid-template-columns:1fr!important}.product-actions button{width:100%!important}}
/* mobile fixes */
body.mobile-page .m-section:first-of-type .m-section-head h2{font-size:24px!important}body.mobile-page .m-section:first-of-type .m-see{display:none!important}.m-card{display:flex!important;flex-direction:column!important;min-height:330px!important}.m-card-title{min-height:46px!important;max-height:58px!important;overflow:hidden!important}.m-card .m-price{margin-top:auto!important}.m-card .m-cart{margin-top:8px!important}.m-desc.m-collapsed p{display:none!important}.m-desc-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.m-desc-toggle{border:0;border-radius:999px;background:#f1f4f8;padding:9px 12px;font-weight:950}.m-profile-card,.m-auth-box,.m-profile-pane{border-radius:24px!important}.m-profile-tabs{padding-bottom:10px!important}.m-profile-tabs a{background:#fff!important;box-shadow:0 8px 20px rgba(15,23,42,.06)!important}.m-profile-pane{display:block!important}.m-profile-pane .m-input{height:50px!important}.m-auth-box{background:#fff!important;border:1px solid #e5e7eb!important;box-shadow:var(--shadow)!important}
.m-breadcrumb a,.m-tag{text-decoration:none;color:inherit}.m-breadcrumb a:hover,.m-tag:hover{text-decoration:underline}.profile-fav-card{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;padding:12px!important;border:1px solid #e5e7eb!important;border-radius:18px!important;background:#fff!important;text-decoration:none!important;color:#111827!important;box-shadow:0 8px 22px rgba(15,23,42,.06)!important}.profile-fav-card>div{width:76px!important;height:76px!important;border-radius:14px!important;background:#f3f5f7!important;display:grid!important;place-items:center!important;overflow:hidden!important}.profile-fav-card img{width:100%!important;height:100%!important;object-fit:contain!important}.profile-fav-card span{min-width:0!important;display:grid!important;gap:3px!important}.profile-fav-card b{font-size:14px!important;line-height:1.14!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}.profile-fav-card small{color:#667085!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.profile-fav-card em{font-style:normal!important;font-size:18px!important;font-weight:950!important;color:#050814!important}.profile-favorites-grid,#profileFavorites{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))!important;gap:12px!important}
@media(max-width:620px){.profile-favorites-grid,#profileFavorites{grid-template-columns:1fr!important}}
