/* 서식척척 엑셀 자동화 — 상품 상세·주문서·허브 카드 버튼 (excel/product/*, excel/order/, excel/index.html). 코어 xl.css 는 건드리지 않음. */
.xl-shop-top{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:18px;align-items:start;margin:8px 0 6px}
.xl-shop-top h1{margin:4px 0 6px}
.xl-shop-ic{font-size:34px;line-height:1}
.xl-shop-badges{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}
.xl-shop-badges span{background:#eef1fd;color:#1f37a0;border-radius:99px;padding:3px 10px;font-size:13px}
.xl-shop-badges span.wait{background:#fff4e0;color:#b36200}
.xl-pricebox{background:#fff;border:2px solid var(--brand,#2b4acb);border-radius:16px;padding:16px 18px;box-shadow:0 10px 30px -18px rgba(43,74,203,.45)}
.xl-pricebox .pname{font-weight:700;font-size:15px;margin:0 0 4px}
.xl-pricebox .amt{font-size:32px;font-weight:800;color:var(--brand-d,#1f37a0);letter-spacing:-.02em;line-height:1.2}
.xl-pricebox .amt small{font-size:14px;font-weight:600;color:var(--sub,#5b6275);margin-left:4px}
.xl-pricebox ul{list-style:none;margin:10px 0 12px;padding:0;font-size:14px;line-height:1.7}
.xl-pricebox li::before{content:"✓ ";color:#2f9e44;font-weight:700}
.xl-buy{display:flex;flex-direction:column;gap:8px}
.xl-buy .btn{width:100%;justify-content:center;font-size:16px;padding:13px 18px}
.btn[disabled],.btn[aria-disabled="true"]{opacity:.5;cursor:not-allowed;pointer-events:none}
.xl-buy .xl-hint{text-align:center}
.xl-shop-sec{margin:26px 0 8px;font-size:20px;scroll-margin-top:80px}
a.btn{text-decoration:none}
.xl-steps{list-style:none;counter-reset:st;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.xl-steps li{counter-increment:st;background:#fff;border:1px solid var(--line,#e4e0d6);border-radius:12px;padding:10px 10px 10px 12px;font-size:13.5px;line-height:1.5}
.xl-steps li::before{content:counter(st);display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--brand,#2b4acb);color:#fff;font-size:12px;font-weight:700;margin-right:6px}
.xl-steps li b{font-size:14px}
.xl-steps-t{font-weight:700;font-size:15px;margin:14px 0 0}
.xl-kv th{width:150px;white-space:nowrap}
.xl-cmp td:nth-child(2),.xl-cmp td:nth-child(3),.xl-cmp th:nth-child(2),.xl-cmp th:nth-child(3){text-align:center;white-space:nowrap}
.xl-cmp td.y{color:#2f9e44;font-weight:700}
.xl-cmp td.p{color:var(--brand-d,#1f37a0);font-weight:700;background:#f7f8fe}
.xl-feat{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;margin:8px 0 12px;padding:0;list-style:none}
.xl-feat li{background:#fff;border:1px solid var(--line,#e4e0d6);border-radius:12px;padding:10px 12px;font-size:14px;line-height:1.55}
.xl-feat li b{display:block;font-size:15px;margin-bottom:2px}
.xl-refund{background:#fff;border:1px solid var(--line,#e4e0d6);border-radius:14px;padding:14px 16px}
.xl-refund ul{margin:6px 0 8px 20px;padding:0;font-size:14.5px;line-height:1.7}
.xl-sticky{display:none}
/* 주문서 */
.xl-order{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:18px;align-items:start}
.xl-order fieldset{border:1px solid var(--line,#e4e0d6);border-radius:14px;padding:14px 16px 10px;margin:0 0 14px;background:#fff;min-width:0}
.xl-order legend{font-weight:800;font-size:16px;padding:0 6px}
.xl-opts{display:grid;gap:8px}
.xl-opt{display:flex;gap:10px;align-items:flex-start;border:1px solid #d9d5ca;border-radius:12px;padding:10px 12px;cursor:pointer;background:#fff}
.xl-opt:hover{border-color:var(--brand,#2b4acb)}
.xl-opt input{margin-top:4px;width:18px;height:18px;flex:none;accent-color:var(--brand,#2b4acb)}
.xl-opt .t{flex:1;min-width:0}
.xl-opt .t b{display:block;font-size:15px}
.xl-opt .t span{display:block;font-size:13px;color:var(--sub,#5b6275);line-height:1.5}
.xl-opt .pr{font-weight:800;white-space:nowrap;color:var(--brand-d,#1f37a0)}
.xl-opt.on{border-color:var(--brand,#2b4acb);background:#f5f7fe;box-shadow:0 0 0 1px var(--brand,#2b4acb) inset}
.xl-agree .chk{font-size:14px;line-height:1.6;margin:8px 0}
.xl-agree .chk input{width:18px;height:18px;flex:none;margin-top:3px;accent-color:var(--brand,#2b4acb)}
.xl-agree .all{font-weight:800;border-bottom:1px solid #eee9de;padding-bottom:8px}
.xl-agree details{margin:0 0 6px 26px;font-size:13px;color:var(--sub,#5b6275)}
.xl-agree details table{font-size:12.5px;margin-top:4px}
.xl-summary{position:sticky;top:76px;background:#fff;border:2px solid var(--brand,#2b4acb);border-radius:16px;padding:16px 18px}
.xl-summary h2{font-size:17px;margin:0 0 8px}
.xl-summary table{width:100%;font-size:14px;border-collapse:collapse}
.xl-summary th{text-align:left;font-weight:500;color:var(--sub,#5b6275);padding:4px 0;vertical-align:top;white-space:nowrap;padding-right:10px}
.xl-summary td{text-align:right;padding:4px 0}
.xl-summary tr.tot th,.xl-summary tr.tot td{border-top:1px solid #eee9de;padding-top:10px;font-size:16px;color:var(--ink,#1f2433);font-weight:800}
.xl-summary tr.tot td{font-size:24px;color:var(--brand-d,#1f37a0)}
.xl-pg{display:flex;align-items:center;gap:8px;border:2px solid #fee500;background:#fffde6;border-radius:12px;padding:10px 12px;font-weight:700;margin:10px 0}
.xl-pg i{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#fee500;color:#191600;font-style:normal;font-size:13px;font-weight:900}
.xl-paybtn{width:100%;justify-content:center;font-size:18px;padding:15px 18px;margin-top:6px}
.xl-paybtn:disabled{opacity:.45;cursor:not-allowed}
.xl-need{font-size:13px;color:#c92a2a;margin:6px 0 0;min-height:1em}
.xl-order .fld .err{color:#c92a2a;font-size:12.5px;margin-top:3px;min-height:1em}
.xl-order .fld input.bad{border-color:#e03131;outline-color:#ffc9c9}
.xl-omodal-back{position:fixed;inset:0;background:rgba(20,24,36,.5);z-index:120;display:flex;align-items:center;justify-content:center;padding:16px}
.xl-omodal{background:#fff;border-radius:16px;box-shadow:0 18px 50px rgba(0,0,0,.3);width:min(480px,100%);padding:20px 20px 16px}
.xl-omodal h2{font-size:19px;margin:0 0 8px}
.xl-omodal p{margin:6px 0;line-height:1.65}
.xl-omodal table{width:100%;font-size:14px;margin:10px 0;border-collapse:collapse}
.xl-omodal th,.xl-omodal td{border:1px solid #eee9de;padding:6px 8px;text-align:left}
.xl-omodal th{background:#f5f3ee;font-weight:600;width:96px}
.xl-omodal .bar{justify-content:flex-end;margin:12px 0 0}
/* 허브 카드 버튼 */
.xl-hub-card .xl-more{display:inline-flex;align-self:flex-start;align-items:center;gap:4px;background:var(--brand,#2b4acb);color:#fff;border-radius:9px;padding:7px 13px;font-weight:700;font-size:14px;margin-top:4px}
.xl-hub-card:hover .xl-more{background:var(--brand-d,#1f37a0)}
.xl-hub-card .xl-amt{font-size:20px;font-weight:800;color:var(--ink,#1f2433)}
.xl-hub-card .xl-amt small{font-size:12.5px;font-weight:500;color:var(--sub,#5b6275);margin-left:4px}
@media (max-width:760px){
  .xl-shop-top,.xl-order{grid-template-columns:1fr}
  .xl-summary{position:static}
  .xl-kv th{width:96px;white-space:normal}
  .xl-pricebox .amt{font-size:28px}
  .xl-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .xl-sticky{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:60;gap:8px;align-items:center;background:#fff;border-top:1px solid var(--line,#e4e0d6);padding:10px 14px calc(10px + env(safe-area-inset-bottom))}
  .xl-sticky b{flex:1;font-size:17px}
  .xl-sticky .btn{padding:11px 20px}
  body.has-xl-sticky{padding-bottom:70px}
}
