/* AppVault V3: listing 3 cột thoáng, ứng dụng liên quan nhiều thông tin và menu ổn định. */

/* HOME: Tiêu đề gọn trên 1 dòng, chỉ cụm từ khóa màu cam. */
body.av-superprof-v2 .avsp-home-hero .av-hero-title{
  display:block;width:100%;max-width:100%;white-space:nowrap;
  font-size:clamp(19px,3.35vw,44px)!important;
  line-height:1.25!important;letter-spacing:-.045em!important;
  margin:12px auto 20px!important;
}
body.av-superprof-v2 .avsp-home-hero .av-hero-title span{
  display:inline!important;color:#f36c21!important;-webkit-text-fill-color:#f36c21!important;
  background:none!important;white-space:nowrap;
}

/* DESKTOP MENU: chữ dễ đọc; caret CSS sắc nét thay FontAwesome bị lỗi màu. */
body.av-superprof-v2 .av-nav-list>.av-menu-item>.av-menu-link{
  font-size:14px!important;font-weight:600;line-height:1.45;
  padding:16px 11px;gap:8px;
}
body.av-superprof-v2 .av-dropdown-menu .av-menu-link{
  font-size:13.5px!important;line-height:1.5;padding:12px 13px;
  color:#333;display:flex;justify-content:space-between;gap:15px;
}
body.av-superprof-v2 .av-dropdown-menu .av-menu-link:hover,
body.av-superprof-v2 .av-dropdown-menu .av-menu-item.active>.av-menu-link{background:#f6f7f9;color:#222}
body.av-superprof-v2 .avsp-desktop-nav .av-menu-arrow{
  flex:none;position:relative;display:inline-flex;align-items:center;
  justify-content:center;width:14px;height:14px;margin:0 0 0 1px;
  color:#4b5563!important;font-size:0!important;line-height:1;
  transform:none!important;transition:none!important;
}
body.av-superprof-v2 .avsp-desktop-nav .av-menu-arrow:before{
  content:"";display:block;width:6px;height:6px;
  border-right:1.8px solid #4b5563;border-bottom:1.8px solid #4b5563;
  transform:translateY(-2px) rotate(45deg);background:none!important;
}
body.av-superprof-v2 .avsp-desktop-nav .av-dropdown-menu .av-menu-arrow:before{
  transform:translateX(-2px) rotate(-45deg);
}
body.av-superprof-v2 .avsp-desktop-nav .av-dropdown-menu{
  min-width:235px;transform:translateY(0);transition:opacity .18s ease,visibility .18s ease;
  border-radius:14px;padding:8px;
}
body.av-superprof-v2 .avsp-desktop-nav .av-dropdown-menu .av-dropdown-menu{
  top:-8px;left:calc(100% - 2px);transform:none;
}
body.av-superprof-v2 .avsp-desktop-nav .av-menu-item:hover>.av-dropdown-menu,
body.av-superprof-v2 .avsp-desktop-nav .av-menu-item:focus-within>.av-dropdown-menu{
  transform:none;opacity:1;visibility:visible;pointer-events:auto;
}
body.av-superprof-v2 .avsp-desktop-nav .av-menu-item{list-style:none}
body.av-superprof-v2 .av-mobile-nav-list .av-menu-link{font-size:15px;font-weight:600}
body.av-superprof-v2 .av-mobile-nav-list .has-children>.av-menu-link .av-menu-arrow{display:none!important}
body.av-superprof-v2 .av-mobile-nav-list .has-children>.av-menu-link:after{color:#333!important}

/* ARCHIVE: 3 thẻ listing / hàng, ảnh nhận diện phía trái và text phía phải. */
body.av-superprof-v2 .avsp-listing-body{padding-top:48px}
body.av-superprof-v2 .avsp-archive-grid{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:22px!important;align-items:stretch;
}
body.av-superprof-v2 .avsp-archive-grid>.avsp-listing-card{
  display:grid!important;grid-template-columns:99px minmax(0,1fr);
  column-gap:18px;align-content:stretch;align-items:start;
  width:100%;min-width:0;min-height:265px;padding:21px;
  border:1px solid #e8e9ed!important;border-radius:22px;
  background:#fff;box-shadow:0 3px 18px rgba(20,35,50,.045)!important;
  transition:box-shadow .2s,border-color .2s,transform .2s;
}
body.av-superprof-v2 .avsp-archive-grid>.avsp-listing-card:hover{
  border-color:#ffc8b2!important;box-shadow:0 10px 30px rgba(35,40,50,.09)!important;
  transform:translateY(-2px);
}
body.av-superprof-v2 .avsp-archive-grid .avsp-product-cover{
  width:99px;max-width:100%;aspect-ratio:1;border-radius:17px;
  background:#f6f7f9;box-shadow:none;
}
body.av-superprof-v2 .avsp-archive-grid .avsp-cover-image{
  width:100%;height:100%;object-fit:contain;background:#f6f7f9;
}
body.av-superprof-v2 .avsp-archive-grid .avsp-cover-fallback{
  background:#f5f6f8!important;
}
body.av-superprof-v2 .avsp-archive-grid .avsp-cover-dots,
body.av-superprof-v2 .avsp-archive-grid .avsp-cover-overlay{display:none!important}
body.av-superprof-v2 .avsp-archive-grid .avsp-icon-large,
body.av-superprof-v2 .avsp-archive-grid .avsp-icon-large img{max-height:72px;max-width:72px;filter:none}
body.av-superprof-v2 .avsp-archive-grid .avsp-icon-large .av-icon{
  width:68px!important;height:68px!important;border-radius:14px!important;
}
body.av-superprof-v2 .avsp-archive-grid .avsp-product-content{
  display:flex;flex-direction:column;align-items:stretch;min-width:0;
  min-height:220px;padding:0;
}
body.av-superprof-v2 .avsp-archive-grid .avsp-card-meta{
  justify-content:space-between;align-items:center;gap:8px;margin:1px 0 8px;
}
body.av-superprof-v2 .avsp-archive-grid .avsp-type-label{
  color:#b94b21;background:#fff2e8;border-radius:6px;
  padding:4px 7px;font-size:10px;line-height:1.3;max-width:148px;overflow:hidden;text-overflow:ellipsis;
}
body.av-superprof-v2 .avsp-archive-grid .avsp-rating{
  font-size:11px;white-space:nowrap;gap:4px;
}
body.av-superprof-v2 .avsp-archive-grid .avsp-rating small{display:none}
body.av-superprof-v2 .avsp-archive-grid .avsp-listing-name{
  display:block;font-size:17px!important;line-height:1.34!important;
  letter-spacing:-.02em!important;margin:0 0 7px;
  overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
}
body.av-superprof-v2 .avsp-archive-grid .avsp-listing-name a{
  color:#17191f;font-weight:600;
}
body.av-superprof-v2 .avsp-archive-grid .avsp-listing-name a:hover{color:#e75d26}
body.av-superprof-v2 .avsp-archive-grid .avsp-card-heading{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  min-height:0;margin:0 0 12px;line-height:1.5;color:#62676f;font-size:12.5px;font-weight:400;
}
body.av-superprof-v2 .avsp-archive-grid .avsp-card-traits{
  display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 12px;
}
body.av-superprof-v2 .avsp-archive-grid .avsp-trait{
  max-width:100%;font-size:10.5px;color:#586270;background:#f6f7f9;
  border-radius:6px;padding:4px 7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
body.av-superprof-v2 .avsp-archive-grid .avsp-trait i{margin-right:3px;color:#86909d}
body.av-superprof-v2 .avsp-archive-grid .avsp-card-bottom{
  margin-top:auto;padding-top:11px;border-top:1px solid #f0f0f0;gap:8px;
}
body.av-superprof-v2 .avsp-archive-grid .avsp-card-price{
  font-size:12.5px;max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
body.av-superprof-v2 .avsp-archive-grid .avsp-vote{
  height:30px;min-width:0;padding:5px 9px;font-size:11px;
}
body.av-superprof-v2 .avsp-archive-grid .avsp-card-detail-link{
  display:flex;align-items:center;justify-content:space-between;gap:7px;
  width:100%;color:#db5725;font-size:11.5px;font-weight:600;margin:12px 0 0;
}
body.av-superprof-v2 .avsp-archive-grid .avsp-card-detail-link span{font-size:16px}

/* Những class bổ sung chỉ hiển thị trên archive, không thay đổi card trang chủ. */
body.av-superprof-v2 .avsp-listing-name,
body.av-superprof-v2 .avsp-card-traits,
body.av-superprof-v2 .avsp-card-detail-link{display:none}
body.av-superprof-v2 .avsp-archive-grid .avsp-listing-name{display:-webkit-box}
body.av-superprof-v2 .avsp-archive-grid .avsp-card-traits{display:flex}
body.av-superprof-v2 .avsp-archive-grid .avsp-card-detail-link{display:flex}

/* RELATED: 2 thẻ lớn/hàng, chỉ số thật và nhãn rõ người dùng sắp mở trang chi tiết. */
body.av-superprof-v2 .av-related-grid2{gap:17px;align-items:stretch}
body.av-superprof-v2 a.av-related-card.avsp-related-large{
  display:grid!important;grid-template-columns:73px minmax(0,1fr);
  column-gap:16px;align-items:start;min-height:198px;width:100%;
  border:1px solid #e8e9ed!important;border-radius:20px;
  padding:19px!important;background:#fff!important;
  box-shadow:0 4px 16px rgba(20,35,50,.045)!important;
  color:#252525!important;transition:transform .2s,box-shadow .2s,border-color .2s;
}
body.av-superprof-v2 a.av-related-card.avsp-related-large:hover{
  border-color:#f8b899!important;box-shadow:0 9px 28px rgba(20,35,50,.085)!important;
  transform:translateY(-2px);
}
body.av-superprof-v2 .avsp-related-large .av-rc-icon{
  width:73px;height:73px;display:flex;align-items:center;justify-content:center;
  background:#f6f7f9;border-radius:16px;overflow:hidden;
}
body.av-superprof-v2 .avsp-related-large .av-rc-icon .av-icon{
  width:64px!important;height:64px!important;border-radius:13px!important;font-size:24px!important;
}
body.av-superprof-v2 .avsp-related-large .av-rc-icon img{max-width:100%;max-height:100%;object-fit:contain}
body.av-superprof-v2 .avsp-related-large .av-rc-info{
  display:flex;flex-direction:column;align-items:flex-start;min-height:164px;gap:9px;
  width:100%;min-width:0;
}
body.av-superprof-v2 .avsp-related-large .av-rc-name{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  white-space:normal;overflow:hidden;text-overflow:ellipsis;
  font-size:16px;font-weight:600;line-height:1.35;color:#191b22;
  margin:0;width:100%;
}
body.av-superprof-v2 .avsp-related-large .av-rc-description{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;color:#69717b;font-size:12px;line-height:1.55;
}
body.av-superprof-v2 .avsp-related-large .av-rc-traits{
  display:flex;flex-wrap:wrap;gap:5px;max-width:100%;
}
body.av-superprof-v2 .avsp-related-large .av-rc-trait{
  max-width:100%;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:#57616c;background:#f5f6f8;padding:4px 7px;border-radius:5px;
  font-size:10.5px;font-weight:500;line-height:1.4;
}
body.av-superprof-v2 .avsp-related-large .av-rc-meta{
  width:100%;display:flex;gap:7px 12px;flex-wrap:wrap;
  align-items:center;margin:0;
}
body.av-superprof-v2 .avsp-related-large .av-rc-rating,
body.av-superprof-v2 .avsp-related-large .av-rc-votes{font-size:11px;font-weight:600;color:#515966}
body.av-superprof-v2 .avsp-related-large .av-rc-rating i{color:#f5ab24}
body.av-superprof-v2 .avsp-related-large .av-rc-rating small{font-size:10px;font-weight:400;color:#737a84}
body.av-superprof-v2 .avsp-related-large .av-rc-price{
  max-width:100%;font-size:11px;color:#b7532b;background:#fff3eb;
  border-radius:6px;padding:4px 7px;font-weight:600;
}
body.av-superprof-v2 .avsp-related-large .av-rc-more{
  display:flex;justify-content:space-between;align-items:center;gap:8px;
  width:100%;margin-top:auto;padding-top:10px;border-top:1px solid #eee;
  font-size:11.5px;font-weight:600;color:#d45827;
}
body.av-superprof-v2 .avsp-related-large .av-rc-more span{font-size:16px}

@media(max-width:1180px) and (min-width:991px){
 body.av-superprof-v2 .avsp-header-inner{gap:12px;padding:0 18px}
 body.av-superprof-v2 .avsp-header-search{flex-basis:185px;min-width:120px}
 body.av-superprof-v2 .av-nav-list>.av-menu-item>.av-menu-link{font-size:13px!important;padding:15px 7px}
 body.av-superprof-v2 .avsp-header-actions{gap:9px}
}
@media(max-width:1100px){
 body.av-superprof-v2 .avsp-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:680px){
 body.av-superprof-v2 .avsp-home-hero .av-hero-title{
  font-size:clamp(17px,4.35vw,30px)!important;letter-spacing:-.048em!important;
 }
 body.av-superprof-v2 .avsp-archive-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;
 }
 body.av-superprof-v2 .avsp-archive-grid>.avsp-listing-card{
  display:flex!important;flex-direction:column;gap:9px;min-height:285px;
  padding:13px;border-radius:17px;
 }
 body.av-superprof-v2 .avsp-archive-grid .avsp-product-cover{width:68px;height:68px;flex:none;border-radius:13px}
 body.av-superprof-v2 .avsp-archive-grid .avsp-icon-large .av-icon{width:48px!important;height:48px!important;border-radius:11px!important}
 body.av-superprof-v2 .avsp-archive-grid .avsp-icon-large img{max-width:50px;max-height:50px}
 body.av-superprof-v2 .avsp-archive-grid .avsp-product-content{min-height:0;flex:1;width:100%}
 body.av-superprof-v2 .avsp-archive-grid .avsp-card-meta{margin:0 0 5px}
 body.av-superprof-v2 .avsp-archive-grid .avsp-type-label{font-size:9px;max-width:100px}
 body.av-superprof-v2 .avsp-archive-grid .avsp-rating strong{font-size:11px}
 body.av-superprof-v2 .avsp-archive-grid .avsp-listing-name{font-size:14px!important;margin:0 0 6px}
 body.av-superprof-v2 .avsp-archive-grid .avsp-card-heading{font-size:11px;margin:0 0 8px}
 body.av-superprof-v2 .avsp-archive-grid .avsp-trait{font-size:9px;max-width:100%;padding:3px 5px}
 body.av-superprof-v2 .avsp-archive-grid .avsp-card-traits{margin:0 0 8px;gap:4px}
 body.av-superprof-v2 .avsp-archive-grid .avsp-card-bottom{gap:4px}
 body.av-superprof-v2 .avsp-archive-grid .avsp-card-price{font-size:11px}
 body.av-superprof-v2 .avsp-archive-grid .avsp-vote{height:27px;padding:4px 7px;font-size:10px}
 body.av-superprof-v2 .avsp-archive-grid .avsp-card-detail-link{font-size:10px;gap:3px;margin-top:9px}
 body.av-superprof-v2 .av-related-grid2{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body.av-superprof-v2 a.av-related-card.avsp-related-large{
  display:flex!important;flex-direction:column;gap:10px;padding:13px!important;
  min-height:278px;border-radius:17px;
 }
 body.av-superprof-v2 .avsp-related-large .av-rc-icon{width:58px;height:58px;border-radius:13px}
 body.av-superprof-v2 .avsp-related-large .av-rc-icon .av-icon{width:52px!important;height:52px!important;font-size:20px!important}
 body.av-superprof-v2 .avsp-related-large .av-rc-info{min-height:0;flex:1;gap:7px}
 body.av-superprof-v2 .avsp-related-large .av-rc-name{font-size:13px}
 body.av-superprof-v2 .avsp-related-large .av-rc-description{font-size:10.5px}
 body.av-superprof-v2 .avsp-related-large .av-rc-trait{font-size:9px}
 body.av-superprof-v2 .avsp-related-large .av-rc-rating,body.av-superprof-v2 .avsp-related-large .av-rc-votes{font-size:10px}
 body.av-superprof-v2 .avsp-related-large .av-rc-rating small{display:none}
 body.av-superprof-v2 .avsp-related-large .av-rc-more{font-size:10px;line-height:1.4}
}
@media(max-width:360px){
 body.av-superprof-v2 .avsp-home-hero .av-hero-title{font-size:16px!important}
 body.av-superprof-v2 .avsp-archive-grid>.avsp-listing-card{padding:11px}
}
