/* ============================================================
   section4.css —— 第 4 屏 推荐产品
   产品卡 / 规格网格 / 操作按钮
   ============================================================ */

.products {display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.product {border:1px solid transparent;border-radius:var(--r);overflow:hidden;background:var(--soft);transition:.25s}
.product:hover {transform:translateY(-6px);border-color:var(--o)}
.pimg {height:295px;padding:32px;display:flex;align-items:center;justify-content:center;position:relative;background:linear-gradient(145deg,#fff,#e8e5e1)}
.pimg img {width:88%;height:88%;object-fit:contain;filter:drop-shadow(0 17px 22px #1e1b2138)}
.pimg small {position:absolute;left:18px;top:16px;color:var(--muted)}
.pbody {padding:26px}
.pbody p {font-size:11px;min-height:54px}
.spec {display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);padding-top:15px}
.spec small {display:block;color:var(--muted)}
.product p {font-size:12px}
.pimg small {display:block;line-height:1.4;letter-spacing:.05em}
.pimg small {letter-spacing:.05em}
.pbody h3 {margin-bottom:12px;line-height:1.3}
.pbody p {margin-bottom:18px;line-height:1.65}
.spec small {line-height:1.4;letter-spacing:0}
.spec b {line-height:1.35;letter-spacing:0}
.products-section .view-all-products {text-decoration: none;}
.products-section {min-height:844px;height:auto;padding:96px 0;background:#fff;overflow:visible}
.products-section>.shell {height:auto;display:flex;flex-direction:column;justify-content:center;gap:36px}
.products-section .product-head {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;flex:0 0 auto;gap:48px;margin:0}
.products-section .product-head-copy {min-width:0}
.products-section .product-head .eye {margin:0 0 14px;color:var(--o);font-size:12px;font-weight:600;line-height:1.45;letter-spacing:.06em;text-transform:uppercase}
.products-section .product-head h2 {margin:0;font-size:46px;font-weight:600;line-height:1.08;letter-spacing:0;color:var(--ink)}
.products-section .view-all-products {align-self:end;min-width:188px;min-height:0;height:42px;padding:0 0 10px;justify-content:center;gap:14px;background:transparent;border:0;border-bottom:1px solid rgba(30,27,33,.38);border-radius:0;color:var(--ink);font-size:14px;font-weight:600;line-height:1}
.products-section .view-all-products:hover {transform:none;background:transparent;border-bottom-color:var(--ink);color:var(--ink)}
.products-section .view-all-products:focus-visible {transform:none;background:transparent;border-bottom-color:var(--ink);color:var(--ink)}
.products-section .products {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;min-height:0}
.products-section .product {display:flex;min-width:0;height:548px;flex-direction:column;border:1px solid rgba(30,27,33,.14);border-radius:var(--r);overflow:hidden;background:#fff;color:var(--ink);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.products-section .product:hover {transform:translateY(-4px);border-color:rgba(248,120,63,.62);box-shadow:0 18px 38px rgba(30,27,33,.08)}
.products-section .product:focus-within {transform:translateY(-4px);border-color:rgba(248,120,63,.62);box-shadow:0 18px 38px rgba(30,27,33,.08)}
.products-section .pimg {position:relative;display:flex;flex:0 0 260px;align-items:center;justify-content:center;height:230px;padding:30px;border-bottom:1px solid rgba(30,27,33,.14);background:#fff;overflow:hidden}
.products-section .pimg small {position:absolute;z-index:1;top:18px;left:20px;color:var(--muted);font-size:12px;font-weight:500;line-height:1.3;letter-spacing:.04em}
.products-section .pimg img {width:88%;height:88%;object-fit:contain;filter:drop-shadow(0 15px 20px rgba(30,27,33,.18));transition:transform .3s ease}
.products-section .product:hover .pimg img {transform:scale(1.03)}
.products-section .product:focus-within .pimg img {transform:scale(1.03)}
.products-section .pbody {display:flex;flex:1;min-height:0;flex-direction:column;padding:28px 24px 24px;background:#fff}
.products-section .pbody h3 {margin:0 0 10px;font-size:18px;font-weight:600;line-height:1.3;letter-spacing:0;color:var(--ink)}
.products-section .pbody>p {min-height:46px;margin:0;color:var(--muted);font-size:13px;line-height:1.6}
.products-section .spec {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px;margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
.products-section .spec div {min-width:0}
.products-section .spec small {display:block;margin-bottom:5px;color:var(--muted);font-size:12px;font-weight:400;line-height:1.35}
.products-section .spec b {display:block;color:var(--ink);font-size:13px;font-weight:600;line-height:1.35;letter-spacing:0;overflow-wrap:anywhere}
.products-section .product-actions {display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-top:0;padding-top:24px}
.products-section .model-link {min-width:0;padding:0 0 8px;border:0;border-bottom:1px solid rgba(248,120,63,.42);border-radius:0;background:transparent;color:var(--o);font-family:inherit;font-size:13px;font-weight:600;line-height:1;text-decoration:none;cursor:pointer}
.products-section .model-link:hover {border-bottom-color:var(--o);color:var(--o)}
.products-section .model-link:focus-visible {border-bottom-color:var(--o);color:var(--o)}
.products-section .quote-btn {flex:0 0 auto;height:42px;padding:0 22px;border:1px solid var(--o);border-radius:var(--r);background:var(--o);color:#fff;font-family:inherit;font-size:13px;font-weight:600;line-height:1;cursor:pointer;transition:transform .2s ease,background .2s ease}
.products-section .quote-btn:hover {transform:translateY(-2px);background:#e96730;color:#fff}
.products-section .quote-btn:focus-visible {transform:translateY(-2px);background:#e96730;color:#fff}
@media(max-width:1180px) {
  .products {grid-template-columns:1fr 1fr}
}
@media(max-width:820px) {
  .products {grid-template-columns:1fr}
  .pbody h3 {line-height:1.32}
  .products-section {height:auto;padding:48px 0;overflow:visible}
  .products-section>.shell {height:auto;display:flex;gap:30px}
  .products-section .product-head {min-height:0;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:20px}
  .products-section .product-head .eye {margin-bottom:12px}
  .products-section .product-head h2 {font-size:46px;line-height:1.1}
  .products-section .view-all-products {align-self:flex-start;flex:0 0 42px;min-width:188px;height:42px}
  .products-section .products {grid-template-columns:1fr;gap:18px}
  .products-section .product {height:600px}
  .products-section .pimg {flex-basis:220px;height:220px;padding:26px}
  .products-section .pbody {padding:24px 20px 22px}
  .products-section .pbody h3 {font-size:18px}
  .products-section .product-actions {padding-top:22px}
}
@media(max-width:1180px) and (min-width:821px) {
  .products-section {height:auto;padding:56px 0;overflow:visible}
  .products-section>.shell {height:auto;display:flex;gap:34px}
  .products-section .product-head {min-height:190px}
  .products-section .products {grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  .products-section .product {height:590px}
  .products-section .pimg {flex-basis:220px;height:220px}
}
