/* 상품 카드 공통 (메인·목록·상세 연관상품) — index.html 인라인과 동일 규격 */
.prods{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.pd{background:var(--card);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;transition:.2s;display:flex;flex-direction:column;min-width:0}
.pd:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(36,31,25,.09)}
.pd .ph{display:block;aspect-ratio:4/3;position:relative;overflow:hidden;background:#eee}
.pd .ph img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.pd:hover .ph img{transform:scale(1.05)}
.pd .flag{position:absolute;left:12px;top:12px;display:flex;gap:5px}
.pd .flag i{font-style:normal;font-size:10.5px;font-weight:800;padding:4px 9px;border-radius:6px;color:#fff;background:var(--ink)}
.pd .flag i.f-new{background:var(--green)}.pd .flag i.f-best{background:var(--chili)}.pd .flag i.f-biz{background:var(--biz)}.pd .flag i.f-frz{background:#3b7ea1}
.pd .body{padding:16px 18px 18px;display:flex;flex-direction:column;flex:1}
.pd .cat-s{font-size:11.5px;color:var(--mut);margin-bottom:4px}
.pd .nm{font-size:15px;font-weight:700;line-height:1.4;margin-bottom:12px;min-height:42px}
.pd .prices{display:grid;gap:5px;padding:12px 0;border-top:1px dashed var(--line);border-bottom:1px dashed var(--line);margin-bottom:12px}
.pd .pr{display:flex;justify-content:space-between;align-items:baseline;font-size:12.5px}
.pd .pr .l{color:var(--mut)}
.pd .pr .v{font-size:17px;font-weight:800;letter-spacing:-.02em}
.pd .pr .v small{font-size:11px;font-weight:600;color:var(--mut);margin-left:2px}
.pd .pr.biz .l{color:var(--biz);font-weight:700}
.pd .pr.biz .lock{font-size:12px;color:var(--biz);font-weight:700;display:inline-flex;align-items:center;gap:5px;background:var(--biz-bg);padding:3px 10px;border-radius:999px}
.pd .pr.biz .lock svg{width:12px;height:12px}
.pd .pr .na{color:var(--mut);font-size:12.5px;font-weight:600}
.pd .buy{display:flex;gap:6px;margin-top:auto}
.pd .stepper{display:flex;border:1px solid var(--line);border-radius:9px;overflow:hidden}
.pd .stepper button{width:30px;height:38px;border:0;background:#fff;font-size:15px;color:var(--ink2)}
.pd .stepper input{width:38px;text-align:center;border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);font-size:13px;font-weight:700}
.pd .addcart{flex:1;height:40px;border:0;background:var(--ink);color:#fff;border-radius:9px;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:6px}
.pd .addcart:hover{background:var(--cur-d)}
.pd .addcart.q{background:var(--biz)}
.pd .addcart svg{width:15px;height:15px}
@media (max-width:1280px){.prods{grid-template-columns:repeat(3,1fr)}}
@media (max-width:1024px){
  .prods{grid-template-columns:repeat(2,1fr);gap:10px}
  .pd .body{padding:12px 12px 12px}
  .pd .cat-s{font-size:10.5px}.pd .nm{font-size:13.5px;min-height:38px;margin-bottom:8px}
  .pd .prices{padding:8px 0;margin-bottom:8px;gap:3px}
  .pd .pr{font-size:11.5px;flex-wrap:wrap;gap:2px 6px}.pd .pr .v{font-size:15px}
  .pd .pr.biz .lock{font-size:11px;padding:2px 8px}.pd .pr .na{font-size:11.5px}
  .pd .flag i{font-size:9.5px;padding:3px 7px}
  .pd .buy{flex-direction:column;gap:6px}
  .pd .stepper{width:100%}.pd .stepper input{flex:1}.pd .stepper button{width:36px;height:32px}
  .pd .addcart{flex:0 0 auto;height:36px}
}
