/* V158 — Homepage product cards selected V4 Light Modern direction.
   Scoped only to homepage product/category area. Header and footer are untouched. */
.shop-home .home-category-chips{gap:10px;padding:2px 0 20px}
.shop-home .home-category-chips button{
  border:1px solid #d7e4ef;border-radius:999px;padding:11px 17px;
  background:linear-gradient(145deg,#fff,#f3f8fc);color:#263e55;
  box-shadow:0 3px 10px rgba(16,58,94,.045);font-weight:750;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease
}
.shop-home .home-category-chips button:hover{transform:translateY(-2px);border-color:#7cb9e7;box-shadow:0 8px 18px rgba(20,111,185,.10)}
.shop-home .home-category-chips button.active{
  color:#f7fbff;border-color:#137bc0;
  background:linear-gradient(135deg,#0a2a49,#1265a0 70%,#168ed0);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 7px 18px rgba(0,115,190,.18)
}
.shop-home .home-product-grid{gap:clamp(12px,1.7vw,20px)}
.shop-home .home-product-card{
  display:flex;flex-direction:column;min-width:0;position:relative;overflow:hidden;
  border:1px solid #d9e6f0;border-radius:24px;
  background:linear-gradient(160deg,#fff 0%,#fbfdff 56%,#f1f7fc 100%);
  box-shadow:0 9px 26px rgba(12,49,82,.07);
  transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease
}
.shop-home .home-product-card:hover{
  transform:translateY(-4px);border-color:#83bde8;
  box-shadow:0 18px 38px rgba(10,78,132,.13),0 0 0 1px rgba(43,153,224,.08)
}
.shop-home .home-product-image{
  height:clamp(190px,22vw,270px)!important;min-height:0!important;
  margin:9px 9px 0;padding:12px;border-radius:19px;
  background:radial-gradient(ellipse at 50% 38%,#fff 0%,#f3f8fc 64%,#e7f0f8 100%)!important;
  border:1px solid #e6eef5;display:flex;align-items:center;justify-content:center
}
.shop-home .home-product-image img{
  display:block;width:100%;height:100%;object-fit:contain;padding:5px;
  filter:drop-shadow(0 8px 13px rgba(19,49,75,.10));
  transition:transform .35s ease,filter .35s ease
}
.shop-home .home-product-card:hover .home-product-image img{transform:scale(1.045);filter:drop-shadow(0 12px 17px rgba(16,82,136,.15))}
.shop-home .home-favorite{
  top:17px;right:17px;width:42px;height:42px;border:1px solid #b9d8ed;
  border-radius:14px;background:rgba(250,253,255,.94);color:#155b91;
  box-shadow:0 5px 14px rgba(17,68,109,.09);backdrop-filter:blur(8px);
  transition:transform .2s ease,background .2s ease,border-color .2s ease
}
.shop-home .home-favorite:hover{transform:translateY(-2px);background:#eaf6ff;border-color:#62afe4}
.shop-home .home-favorite svg{width:22px;height:22px}
.shop-home .home-product-info{display:flex;flex-direction:column;flex:1;padding:15px 16px 17px}
.shop-home .home-product-info .product-category{align-self:flex-start;margin:0 0 10px;padding:6px 11px;border-radius:999px;border:1px solid #c6deef;background:#edf7ff;color:#285b80!important;font-size:11px;font-weight:800}
.shop-home .home-installment{margin:0 0 8px;color:#39749d;font-size:11px;font-weight:750}
.shop-home .home-price-row{order:2;display:flex;align-items:baseline;flex-wrap:wrap;gap:7px;min-height:0;margin:8px 0 10px}
.shop-home .home-price-row .product-price{color:#123e63!important;font-size:clamp(16px,1.45vw,21px);font-weight:850;letter-spacing:-.035em}
.shop-home .home-price-row .home-old-price{color:#8a9cac;font-size:11px}
.shop-home .home-discount-badge{padding:3px 7px;border-radius:7px;background:#fff0f2;color:#b3455b;font-size:10px;font-weight:800}
.shop-home .home-product-info h3{order:1;margin:0;color:#1d2d3b;font-size:clamp(14px,1.3vw,18px);line-height:1.4;letter-spacing:-.02em;min-height:0}
.shop-home .home-stock-line{order:3;align-self:flex-start;display:flex;align-items:center;gap:7px;margin:0 0 12px;padding:6px 10px;border:1px solid #dce9f1;border-radius:999px;background:#f6fbff;color:#627d91;font-size:11px;font-weight:700}
.shop-home .home-stock-dot{width:7px;height:7px;flex:0 0 7px}
.shop-home .home-stock-dot.in-stock{background:#23a66b;box-shadow:0 0 0 3px rgba(35,166,107,.10)}
.shop-home .home-stock-dot.out-stock{background:#d56c82;box-shadow:0 0 0 3px rgba(213,108,130,.10)}
.shop-home .home-product-actions{order:4;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:auto;padding-top:2px}
.shop-home .home-product-actions .home-product-open{
  min-width:0;justify-content:center;gap:7px;margin:0;padding:11px 10px;
  border:1px solid #b9d8ed;border-radius:13px;background:linear-gradient(145deg,#fff,#f2f8fd);
  color:#175887;font-size:11px;font-weight:800;text-decoration:none;white-space:nowrap;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease
}
.shop-home .home-product-actions .home-product-open:hover{transform:translateY(-2px);border-color:#64b0e4;box-shadow:0 7px 16px rgba(20,108,174,.10)}
.shop-home .home-product-actions button{
  min-width:0;min-height:42px;padding:10px 11px;border:1px solid #178bd0;border-radius:13px;
  background:linear-gradient(135deg,#0878ba,#12528a 70%,#0a3c68);color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 6px 14px rgba(8,89,150,.16);
  font-size:11px;font-weight:800;transition:transform .2s ease,filter .2s ease,box-shadow .2s ease
}
.shop-home .home-product-actions button:hover{transform:translateY(-2px);filter:brightness(1.08);box-shadow:0 9px 18px rgba(8,89,150,.20)}
.shop-home .home-product-actions button:disabled{border-color:#d4e1eb;background:linear-gradient(145deg,#e9eff4,#dfe8ef);color:#7d8e9b;box-shadow:none;transform:none}
.shop-home .home-empty-products{border:1px dashed #b8d5e9;border-radius:22px;background:linear-gradient(145deg,#fff,#f3f9fe)}
@media(max-width:760px){
 .shop-home .home-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .shop-home .home-product-card{border-radius:19px}
 .shop-home .home-product-image{height:clamp(145px,37vw,220px)!important;margin:7px 7px 0;padding:8px;border-radius:15px}
 .shop-home .home-product-info{padding:11px 11px 12px}
 .shop-home .home-product-info .product-category{font-size:10px;padding:5px 9px;margin-bottom:8px}
 .shop-home .home-product-info h3{font-size:13px;line-height:1.35}
 .shop-home .home-price-row .product-price{font-size:clamp(14px,3.6vw,18px)}
 .shop-home .home-stock-line{font-size:10px;padding:5px 8px}
 .shop-home .home-product-actions{grid-template-columns:1fr;gap:7px}
 .shop-home .home-product-actions .home-product-open{order:2}
 .shop-home .home-product-actions button{order:1}
 .shop-home .home-favorite{width:36px;height:36px;right:12px;top:12px;border-radius:12px}
}
@media(max-width:390px){
 .shop-home .home-product-grid{grid-template-columns:1fr}
 .shop-home .home-product-image{height:210px!important}
 .shop-home .home-product-actions{grid-template-columns:1fr 1fr}
}
@media(prefers-reduced-motion:reduce){
 .shop-home .home-product-card,.shop-home .home-product-image img,.shop-home .home-favorite,
 .shop-home .home-product-actions button,.shop-home .home-product-actions .home-product-open{transition:none!important;transform:none!important}
}

/* V152 — Product photo frame refinement only (homepage card image well). */
.shop-home .home-product-image{
  position:relative;isolation:isolate;overflow:hidden;
  background:linear-gradient(145deg,#eaf4fc 0%,#dcebf7 48%,#d2e4f3 100%)!important;
  border:1px solid #c4dced!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.96),
             inset 0 -9px 18px rgba(47,105,153,.075),
             0 7px 17px rgba(26,83,128,.055);
  transition:background .35s ease,border-color .35s ease,box-shadow .35s ease
}
.shop-home .home-product-image::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;border-radius:inherit;
  background:linear-gradient(125deg,rgba(255,255,255,.52) 0%,rgba(255,255,255,.10) 34%,transparent 58%,rgba(86,151,202,.08) 100%);
  opacity:.8;transition:opacity .35s ease
}
.shop-home .home-product-image::after{
  content:"";position:absolute;top:-45%;left:-65%;z-index:0;width:42%;height:190%;pointer-events:none;
  transform:rotate(23deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.34),transparent);
  opacity:0;transition:transform .75s ease,opacity .35s ease
}
.shop-home .home-product-image img{position:relative;z-index:1}
.shop-home .home-product-card:hover .home-product-image{
  border-color:#9fc8e5!important;
  background:linear-gradient(145deg,#e4f1fb 0%,#d4e7f6 48%,#c8def0 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.98),inset 0 -10px 20px rgba(37,94,145,.09),0 10px 22px rgba(24,91,145,.10)
}
.shop-home .home-product-card:hover .home-product-image::before{opacity:1}
.shop-home .home-product-card:hover .home-product-image::after{opacity:1;transform:translateX(370%) rotate(23deg)}
@media(prefers-reduced-motion:reduce){
 .shop-home .home-product-image,.shop-home .home-product-image::before,.shop-home .home-product-image::after{transition:none!important}
 .shop-home .home-product-image::after{display:none}
}


/* V158 refinement: clean, legible Light Modern presentation. */
.shop-home .home-product-card{background:linear-gradient(155deg,#fff 0%,#fbfdff 62%,#edf6fc 100%)!important}
.shop-home .home-product-image{background:linear-gradient(145deg,#f8fbfe 0%,#e9f2f9 100%)!important;border-color:#d9e8f3!important}
.shop-home .home-product-image::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;border:1px solid rgba(255,255,255,.65)}
.shop-home .home-product-info h3{color:#1d2d3b!important}
.shop-home .home-price-row .product-price{color:#164f7a!important}
.shop-home .home-product-actions button:not(:disabled){background:linear-gradient(135deg,#1595d7 0%,#0876b8 52%,#124e83 100%)!important}
.shop-home .home-product-actions .home-product-open{background:linear-gradient(145deg,#fff,#f1f8fd)!important}
.shop-home .home-stock-line{background:#f5fbff!important}
@media(max-width:760px){
 .shop-home .home-product-info{padding:12px 11px 13px}
 .shop-home .home-product-actions{grid-template-columns:1fr 1fr}
 .shop-home .home-product-actions button{min-height:44px}
}
@media(prefers-reduced-motion:reduce){
 .shop-home .home-product-card,.shop-home .home-product-image img,
 .shop-home .home-favorite,.shop-home .home-product-actions button,
 .shop-home .home-product-actions .home-product-open{transition:none!important}
}
