/* CSS Document */
/* Mobile <=768px */
@media(max-width:768px){
  .header-row{
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-col{
    align-self: flex-start;
    margin-left:0 !important; /* 手机取消左负边距，不再往左叠logo */
  }
  
/* 给logo容器单独改成居中 */
.logo-col {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .logo-col img {
    max-width: 100%;
    height: auto;
    display:block;
  }

  .menu-toggle{
    display:block;
  }

  .nav-menu{
    display:none;
    flex-direction:column;
    position:static;
    background:#334664;
    max-width:100%;
    z-index:999;
    padding:8px;
    margin-top:4px;
  }

  .nav-menu.open{
    display:flex;
  }

  .topnav2{
    width:100%;
  }

  .anylinkcss{
    position:static;
    box-shadow:none;
    border:none;
    background:#f8f8f8;
    min-width:auto;
  }
  .anylinkcss ul{
    display:block;
	  list-style:none;
	  display:grid;
	  grid-template-columns: repeat(3, 1fr);
	  gap:4px;
	  padding:10px;
	}
	
	.anylinkcss li a{
	  display:block;
	  padding:6px 12px;
	  color:#333;
	  text-decoration:none;
	  white-space:nowrap;
	}
  .top-left, .top-right{
    width:100%;
    text-align:center;
  }

  .top-right{
    margin-top:6px;
  }

  .search-col{
    width:100%;
    text-align:left;
    margin-top:10px;
  }
  #laptopadapter{
    margin:4px auto;
    padding:4px 10px;
    font-size:14px;
  }
/* main*/

  #adapter_content{
    padding:8px 10px;
  }
  .banner-wrap{
    height:110px;
    margin-bottom:12px;
  }
  /* Why Shop 4列 → 2列 */
  .features-grid{
    grid-template-columns: repeat(2, 1fr);
    gap:12px;
  }
  .card{
    padding:16px 12px;
  }
  .card .icon{
    font-size:28px;
  }
  /* Brand卡片 4列 → 2列 */
  .brand-grid{
    gap:12px;
  }
  .brand-card{
    flex: 1 1 calc((100% - 24px) / 2);
    min-width:130px;
  }
  .section-title1{
    font-size:19px;
  }
  .section-title{
    font-size:16px;
  }
  .wholesale{
    padding:14px 10px;
  }
  .wholesale ul{
    text-align:left;
  }
/*=========== foot ===========*/
    .footer-row{
        flex-direction:column;
        gap:24px;
    }
    .footer-col, .footer-col.mid{
        flex: unset;
        width:100%;
    }
/*=========== end foot =========== */  
.partno ul{
    grid-template-columns: repeat(2, 1fr);
  }

.list_models {
    height: 260px;
  }


/* 产品图片显示 */
.topdown1 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

/*===battery==*/
.spec-row {
     flex-direction: column;
}
.spec-label {
     width: 100%;
     padding-bottom: 4px;
}
.spec-value {
     padding-top: 4px;
}

/*==========产品对比=========*/
.itemcompare {
    padding: 14px;
  }
  .differ-disc {
    font-size:14px;
    padding:10px 12px;
  }
  .show-diff {
    gap:16px;
  }
  .diff-info {
    flex: 0 0 100%;
    max-width: 320px;
    /* 移动端关掉上浮，避免触摸晃动 */
    transform: none !important;
  }
  .diff-info:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transform: none;
  }
  /* 缩小卡片内文字，你原来写死很大 */
  .diff-info div[style*="font-size:32px"] {
    font-size: 22px !important;
  }
  .diff-info div[style*="font-size:22px"] {
    font-size: 18px !important;
  }
  /* 图片自动适配，不会撑超屏幕 */
  .diff-info img {
    max-width: 100% !important;
    width: auto !important;
  }
/*==========end 产品对比=========*/

/*=======buy now ==========*/
.price{
     display: none !important;
 }
.gstinclude {
        display: none !important;
    }
.form-desktop {
     display: none !important;
} 
/* 启用底部悬浮表单 */
.buy-fixed-bottom {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        border-top: 0px solid #6494c7; /* 浅蓝，比#0b4b9c淡很多 */
        padding: 12px 16px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
        box-shadow: 0 -2px 8px rgba(0,0,0,0.05); /* 阴影也变淡 */
        z-index: 99;
        margin: 0;
    }
    .buy-bar-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }	
    .buy-price {
        font-size: 20px;
        font-weight: 700;
        color: #0b4b9c;
        white-space: nowrap;
    }			

/* 给页面底部预留空间，防止内容被悬浮按钮挡住 */
 body {
        padding-bottom: 90px !important;
}
    /* 购物图按钮自适应，不会超出屏幕 */
.buy-fixed-bottom input[type="image"] {
        max-width: 220px;
        height: auto;
}
/*======= en buy now ==========*/


   }
/* 超小屏 <480px 改成单列 */
@media(max-width:480px){
  .features-grid{
    grid-template-columns: 1fr;
  }
  .brand-card{
    flex:1 1 100%;
  }
  .banner-wrap{
    height:90px;
  }
}
