
#yunassie-home-solutions-v5{
  --c1:#b36f7a;
  --c1-dark:#8f5360;
  --c1-soft:#fbf4f5;
  --c2:#c57a56;
  --c2-dark:#9d5c3e;
  --c2-soft:#fcf5f0;
  --c3:#617e91;
  --c3-dark:#466579;
  --c3-soft:#f3f7f9;
  --c4:#688578;
  --c4-dark:#4f6c60;
  --c4-soft:#f3f7f5;
  --dark:#202124;
  --text:#68696b;
  width:100%;
  max-width:100%;
  margin:0 auto;
  padding:72px 30px 88px;
  background:#fff;
  color:var(--dark);
  font-family:Arial,Helvetica,sans-serif;
  box-sizing:border-box;
  overflow:hidden;
}

#yunassie-home-solutions-v5 *,
#yunassie-home-solutions-v5 *:before,
#yunassie-home-solutions-v5 *:after{
  box-sizing:border-box;
}

#yunassie-home-solutions-v5 a{
  text-decoration:none!important;
}

#yunassie-home-solutions-v5 .yhsv5-container{
  width:100%;
  max-width:1450px;
  margin:0 auto!important;
  padding:0;
  position:relative;
}

#yunassie-home-solutions-v5 .yhsv5-eyebrow{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  margin:0 auto 14px;
  color:#777276;
  font-size:10px;
  font-weight:700;
  letter-spacing:3px;
}

#yunassie-home-solutions-v5 .yhsv5-eyebrow span{
  width:38px;
  height:1px;
  background:linear-gradient(
    90deg,transparent,var(--c1),
    var(--c3),transparent
  );
}

#yunassie-home-solutions-v5 .yhsv5-heading{
  max-width:900px;
  margin:0 auto 43px;
  text-align:center;
}

#yunassie-home-solutions-v5 .yhsv5-heading h2{
  margin:0;
  color:#222326;
  font-size:clamp(37px,3.5vw,52px);
  line-height:1.12;
  letter-spacing:-1.5px;
  font-weight:400;
}

#yunassie-home-solutions-v5 .yhsv5-heading p{
  max-width:650px;
  margin:15px auto 0;
  color:#707174;
  font-size:14px;
  line-height:1.7;
}

/* ===== PC 四列 ===== */

#yunassie-home-solutions-v5 .yhsv5-grid{
  width:100%;
  max-width:1450px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:17px;
  margin:0 auto!important;
  padding:0;
}

#yunassie-home-solutions-v5 .yhsv5-card{
  --accent:#777;
  --accent-dark:#555;
  --accent-soft:#fafafa;
  position:relative;
  min-width:0;
  min-height:515px;
  padding:29px 25px 25px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:#fff;
  border:1px solid #e8e8e9;
  border-radius:18px;
  box-shadow:0 10px 34px rgba(20,20,20,.045);
  color:var(--dark);
  transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease,
    background .35s ease;
}

#yunassie-home-solutions-v5 .yhsv5-card-01{
  --accent:var(--c1);
  --accent-dark:var(--c1-dark);
  --accent-soft:var(--c1-soft);
  border:2px solid var(--c1);
  background:linear-gradient(
    150deg,#fff 0%,#fff 48%,#fbf1f3 100%
  );
  box-shadow:0 17px 46px rgba(179,111,122,.14);
  transform:translateY(-5px);
}

#yunassie-home-solutions-v5 .yhsv5-card-02{
  --accent:var(--c2);
  --accent-dark:var(--c2-dark);
  --accent-soft:var(--c2-soft);
}

#yunassie-home-solutions-v5 .yhsv5-card-03{
  --accent:var(--c3);
  --accent-dark:var(--c3-dark);
  --accent-soft:var(--c3-soft);
}

#yunassie-home-solutions-v5 .yhsv5-card-04{
  --accent:var(--c4);
  --accent-dark:var(--c4-dark);
  --accent-soft:var(--c4-soft);
}

#yunassie-home-solutions-v5 .yhsv5-card:before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background:var(--accent);
}

#yunassie-home-solutions-v5 .yhsv5-card:hover{
  transform:translateY(-8px);
  border-color:var(--accent);
  box-shadow:0 22px 54px rgba(30,30,30,.10);
  background:linear-gradient(
    150deg,#fff 0%,#fff 62%,
    var(--accent-soft) 100%
  );
}

#yunassie-home-solutions-v5 .yhsv5-card-01:hover{
  transform:translateY(-10px) scale(1.008);
}

#yunassie-home-solutions-v5 .yhsv5-number{
  position:absolute;
  top:25px;
  right:25px;
  color:var(--accent);
  font-size:10px;
  font-weight:700;
  letter-spacing:1.5px;
  opacity:.65;
}

#yunassie-home-solutions-v5 .yhsv5-icon{
  width:62px;
  height:62px;
  margin-bottom:21px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  color:var(--accent-dark);
  transition:transform .32s ease,color .32s ease;
}

#yunassie-home-solutions-v5 .yhsv5-icon svg{
  width:52px;
  height:52px;
  display:block;
  overflow:visible;
}

#yunassie-home-solutions-v5 .yhsv5-icon svg *{
  vector-effect:non-scaling-stroke;
}

#yunassie-home-solutions-v5 .yhsv5-card:hover .yhsv5-icon{
  transform:translateY(-3px);
  color:var(--accent);
}

#yunassie-home-solutions-v5 .yhsv5-identity{
  margin-bottom:9px;
  color:var(--accent-dark);
  font-size:9px;
  font-weight:800;
  letter-spacing:1.25px;
  text-transform:uppercase;
}

#yunassie-home-solutions-v5 .yhsv5-card h3{
  margin:0 0 9px;
  color:#222326;
  font-size:23px;
  line-height:1.25;
  font-weight:500;
  letter-spacing:-.4px;
}

#yunassie-home-solutions-v5 .yhsv5-moq{
  min-height:20px;
  margin-bottom:17px;
  color:var(--accent);
  font-size:9px;
  line-height:1.5;
  font-weight:800;
  letter-spacing:1.2px;
  text-transform:uppercase;
}

#yunassie-home-solutions-v5 .yhsv5-desc{
  min-height:105px;
  margin:0 0 16px;
  color:#66686a;
  font-size:12px;
  line-height:1.7;
}

#yunassie-home-solutions-v5 .yhsv5-list{
  list-style:none;
  padding:0;
  margin:0 0 22px;
}

#yunassie-home-solutions-v5 .yhsv5-list li{
  position:relative;
  padding:5px 0 5px 25px;
  color:#57595b;
  font-size:11px;
  line-height:1.45;
}

#yunassie-home-solutions-v5 .yhsv5-list li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:5px;
  width:17px;
  height:17px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--accent-soft);
  color:var(--accent-dark);
  font-size:9px;
  font-weight:800;
}

#yunassie-home-solutions-v5 .yhsv5-button{
  width:100%;
  min-height:57px;
  margin-top:auto;
  padding:0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-radius:8px;
  border:1px solid var(--accent-dark);
  background:var(--accent-dark);
  color:#fff!important;
  font-size:9px;
  font-weight:800;
  letter-spacing:.85px;
  box-shadow:0 9px 22px rgba(0,0,0,.09);
  transition:transform .28s ease,box-shadow .28s ease;
}

#yunassie-home-solutions-v5 .yhsv5-button b{
  font-size:18px;
  font-weight:400;
}

#yunassie-home-solutions-v5 .yhsv5-button:hover{
  transform:translateY(-2px);
  box-shadow:0 13px 27px rgba(0,0,0,.14);
}

#yunassie-home-solutions-v5 .yhsv5-shop-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  margin-top:auto;
}

#yunassie-home-solutions-v5 .yhsv5-sample-btn{
  min-height:61px;
  padding:10px 14px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  border-radius:8px;
  background:var(--c1-dark);
  border:1px solid var(--c1-dark);
  color:#fff!important;
  box-shadow:0 9px 22px rgba(143,83,96,.17);
  transition:transform .28s ease,box-shadow .28s ease;
}

#yunassie-home-solutions-v5 .yhsv5-sample-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 13px 27px rgba(143,83,96,.25);
}

#yunassie-home-solutions-v5 .yhsv5-shop-actions strong{
  display:block;
  margin-bottom:3px;
  color:inherit;
  font-size:10px;
  line-height:1.25;
  font-weight:800;
  letter-spacing:.5px;
}

#yunassie-home-solutions-v5 .yhsv5-shop-actions small{
  color:inherit;
  opacity:.8;
  font-size:9px;
  line-height:1.3;
}

#yunassie-home-solutions-v5
.yhsv5-card-04 .yhsv5-button{
  animation:yhsv5DistributorBreath 2.2s ease-in-out infinite;
}

@keyframes yhsv5DistributorBreath{
  0%,100%{
    transform:scale(1);
    box-shadow:0 9px 22px rgba(79,108,96,.16);
  }
  50%{
    transform:scale(1.015);
    box-shadow:0 14px 30px rgba(79,108,96,.30);
  }
}

#yunassie-home-solutions-v5 .yhsv5-mobile-more{
  display:none;
}

/* ===== 平板两列 ===== */

@media(min-width:651px) and (max-width:1100px){
  #yunassie-home-solutions-v5 .yhsv5-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  #yunassie-home-solutions-v5 .yhsv5-card{
    min-height:485px;
  }

  #yunassie-home-solutions-v5 .yhsv5-card-01{
    transform:none;
  }
}

/* ==========================================
   V7 手机端田字格尺寸修复
   核心：两列等宽、两行等高、取消特殊放大
========================================== */

@media(max-width:650px){

  #yunassie-home-solutions-v5{
    width:100%!important;
    padding:27px 0 31px!important;
    overflow:hidden!important;
  }

  #yunassie-home-solutions-v5 .yhsv5-container{
    display:block!important;
    width:calc(100% - 32px)!important;
    max-width:430px!important;
    min-width:0!important;
    margin:0 auto!important;
    padding:0!important;
  }

  #yunassie-home-solutions-v5 .yhsv5-eyebrow{
    justify-content:center;
    margin-bottom:9px;
    font-size:9px;
    letter-spacing:1.8px;
  }

  #yunassie-home-solutions-v5 .yhsv5-eyebrow span{
    width:22px;
  }

  #yunassie-home-solutions-v5 .yhsv5-heading{
    margin-bottom:19px;
    text-align:center;
  }

  #yunassie-home-solutions-v5 .yhsv5-heading h2{
    font-size:clamp(23px,6.5vw,29px)!important;
    line-height:1.2!important;
    letter-spacing:-.6px!important;
  }

  #yunassie-home-solutions-v5 .yhsv5-heading p{
    margin-top:9px;
    font-size:11px;
    line-height:1.55;
  }

  /* 两列严格各占50%可用空间 */
  #yunassie-home-solutions-v5 .yhsv5-grid{
    display:grid!important;
    grid-template-columns:
      minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-rows:
      166px 166px!important;
    grid-auto-columns:minmax(0,1fr)!important;
    grid-auto-flow:row!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    align-items:stretch!important;
    justify-items:stretch!important;
    justify-content:stretch!important;
  }

  /* 四张卡片完全统一尺寸 */
  #yunassie-home-solutions-v5 .yhsv5-grid
  > .yhsv5-card{
    display:flex!important;
    flex-direction:column!important;
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:166px!important;
    min-height:166px!important;
    max-height:166px!important;
    margin:0!important;
    padding:16px 11px 12px!important;
    border:1px solid var(--accent)!important;
    border-radius:13px!important;
    box-shadow:0 5px 17px rgba(0,0,0,.045)!important;
    transform:none!important;
    scale:1!important;
    flex:none!important;
    grid-column:auto!important;
    grid-row:auto!important;
    align-self:stretch!important;
    justify-self:stretch!important;
    overflow:hidden!important;
    cursor:pointer;
    touch-action:manipulation;
  }

  #yunassie-home-solutions-v5 .yhsv5-card-01{
    background:var(--c1-soft)!important;
  }

  #yunassie-home-solutions-v5 .yhsv5-card-02{
    background:var(--c2-soft)!important;
  }

  #yunassie-home-solutions-v5 .yhsv5-card-03{
    background:var(--c3-soft)!important;
  }

  #yunassie-home-solutions-v5 .yhsv5-card-04{
    background:var(--c4-soft)!important;
  }

  #yunassie-home-solutions-v5 .yhsv5-grid
  > .yhsv5-card:hover,
  #yunassie-home-solutions-v5 .yhsv5-grid
  > .yhsv5-card:active{
    transform:none!important;
    scale:1!important;
  }

  #yunassie-home-solutions-v5 .yhsv5-number{
    top:12px;
    right:12px;
    font-size:9px;
  }

  #yunassie-home-solutions-v5 .yhsv5-icon{
    flex:0 0 42px;
    width:42px;
    height:42px;
    margin-bottom:9px;
  }

  #yunassie-home-solutions-v5 .yhsv5-icon svg{
    width:38px;
    height:38px;
  }

  #yunassie-home-solutions-v5 .yhsv5-identity{
    display:none!important;
  }

  #yunassie-home-solutions-v5 .yhsv5-card h3{
    width:100%;
    max-width:100%;
    min-width:0;
    margin:0 0 6px;
    font-size:clamp(13px,3.6vw,16px);
    line-height:1.22;
    font-weight:600;
    letter-spacing:-.2px;
    overflow-wrap:break-word;
  }

  #yunassie-home-solutions-v5 .yhsv5-moq{
    min-height:0;
    margin:0;
    font-size:9px;
    letter-spacing:.35px;
  }

  /* 手机隐藏详细内容，点击弹窗显示 */
  #yunassie-home-solutions-v5 .yhsv5-desc,
  #yunassie-home-solutions-v5 .yhsv5-list,
  #yunassie-home-solutions-v5 .yhsv5-shop-actions,
  #yunassie-home-solutions-v5 .yhsv5-button{
    display:none!important;
  }

  #yunassie-home-solutions-v5 .yhsv5-mobile-more{
    display:flex!important;
    align-items:center;
    gap:4px;
    margin-top:auto;
    color:var(--accent-dark);
    font-size:9px;
    font-weight:700;
    letter-spacing:.15px;
  }

  #yunassie-home-solutions-v5 .yhsv5-mobile-more:after{
    content:"↗";
    font-size:13px;
  }

  #yunassie-home-solutions-v5 .yhsv5-card:focus-visible{
    outline:2px solid var(--accent-dark);
    outline-offset:2px;
  }
}

@media(max-width:360px){
  #yunassie-home-solutions-v5 .yhsv5-container{
    width:calc(100% - 24px)!important;
  }

  #yunassie-home-solutions-v5 .yhsv5-grid{
    grid-template-rows:164px 164px!important;
    gap:8px!important;
  }

  #yunassie-home-solutions-v5 .yhsv5-grid
  > .yhsv5-card{
    height:164px!important;
    min-height:164px!important;
    max-height:164px!important;
    padding:14px 9px 11px!important;
  }

  #yunassie-home-solutions-v5 .yhsv5-card h3{
    font-size:13px;
  }
}

/* ===== 手机端完整详情弹窗 ===== */

.yhsv6-modal{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(18,20,24,.60);
  font-family:Arial,Helvetica,sans-serif;
  box-sizing:border-box;
}

.yhsv6-modal.is-open{
  display:flex!important;
}

.yhsv6-modal *,
.yhsv6-modal *:before,
.yhsv6-modal *:after{
  box-sizing:border-box;
}

.yhsv6-dialog{
  position:relative;
  width:100%;
  max-width:460px;
  max-height:calc(100vh - 36px);
  max-height:calc(100dvh - 36px);
  overflow-y:auto;
  overscroll-behavior:contain;
  background:#fff;
  border-radius:20px;
  box-shadow:0 25px 70px rgba(0,0,0,.23);
  -webkit-overflow-scrolling:touch;
}

.yhsv6-dialog:before{
  content:"";
  display:block;
  width:100%;
  height:5px;
  background:var(--modal-accent,#b36f7a);
}

.yhsv6-dialog-inner{
  padding:28px 25px 26px;
}

.yhsv6-close{
  position:absolute;
  top:15px;
  right:15px;
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f5f5f5;
  border:0;
  border-radius:50%;
  color:#333;
  font-size:24px;
  line-height:1;
  cursor:pointer;
  z-index:2;
}

.yhsv6-modal-icon{
  width:52px;
  height:52px;
  margin-bottom:15px;
  color:var(--modal-accent,#b36f7a);
}

.yhsv6-modal-icon svg{
  width:100%;
  height:100%;
}

.yhsv6-modal-identity{
  margin-bottom:8px;
  color:var(--modal-accent,#b36f7a);
  font-size:10px;
  font-weight:800;
  letter-spacing:1.1px;
}

.yhsv6-modal-title{
  margin:0 45px 9px 0;
  font-size:26px;
  line-height:1.2;
  font-weight:600;
  color:#222326;
}

.yhsv6-modal-moq{
  display:inline-block;
  margin-bottom:19px;
  padding:7px 12px;
  background:var(--modal-soft,#fbf4f5);
  border-radius:20px;
  color:var(--modal-accent,#b36f7a);
  font-size:10px;
  font-weight:800;
  letter-spacing:.7px;
}

.yhsv6-modal-desc{
  margin:0 0 19px;
  color:#66686a;
  font-size:13px;
  line-height:1.8;
}

.yhsv6-modal-list{
  list-style:none;
  margin:0 0 24px;
  padding:17px 0 7px;
  border-top:1px solid #ededed;
}

.yhsv6-modal-list li{
  position:relative;
  padding:0 0 12px 27px;
  color:#4d5053;
  font-size:12px;
  line-height:1.5;
}

.yhsv6-modal-list li:before{
  content:"✓";
  position:absolute;
  top:0;
  left:0;
  width:19px;
  height:19px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--modal-soft,#fbf4f5);
  color:var(--modal-accent,#b36f7a);
  font-size:10px;
  font-weight:800;
}

.yhsv6-modal-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.yhsv6-modal-actions a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-height:53px;
  padding:13px 17px;
  background:var(--modal-accent,#b36f7a);
  border-radius:9px;
  color:#fff!important;
  font-size:11px;
  font-weight:800;
  letter-spacing:.6px;
  text-decoration:none!important;
}

.yhsv6-modal-actions a:after{
  content:"→";
  font-size:20px;
  font-weight:400;
}

.yhsv6-modal-actions a:active{
  opacity:.85;
}

@media(max-width:650px){
  .yhsv6-dialog-inner{
    padding:25px 22px 23px;
  }

  .yhsv6-modal-title{
    font-size:24px;
  }
}

@media(prefers-reduced-motion:reduce){
  #yunassie-home-solutions-v5 *,
  .yhsv6-modal *{
    animation:none!important;
    transition:none!important;
  }
}

@media(min-width:1101px){
  #yunassie-home-solutions-v5{
    padding-left:30px!important;
    padding-right:30px!important;
  }

  #yunassie-home-solutions-v5 .yhsv5-container,
  #yunassie-home-solutions-v5 .yhsv5-grid{
    width:100%!important;
    max-width:1450px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  #yunassie-home-solutions-v5 .yhsv5-grid{
    gap:17px!important;
  }
}
