
#shop-demo{max-width:1100px;margin:auto;padding:20px 24px 72px;color:#403331}
#shop-demo *{box-sizing:border-box}#shop-demo h1,#shop-demo h2{font-family:'Yu Mincho',serif;font-weight:400}
#shop-demo h1{font-size:32px;margin:0}#shop-demo h2{font-size:26px;margin:0 0 22px}
#shop-demo .demo-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
#shop-demo .demo-note{padding:16px 20px;background:#fff6de;border:1px solid #e6d9b8;border-radius:6px;font-size:14px;margin-bottom:28px}
#shop-demo button{background:#72524f;color:#fff;border:1px solid #72524f;border-radius:5px;padding:12px 18px;font-size:14px;cursor:pointer;line-height:1.5}
#shop-demo button:hover{background:#523c3a}#shop-demo button:focus-visible{outline:3px solid #b65031;outline-offset:3px}
#shop-demo button:disabled{opacity:.45;cursor:not-allowed}
#shop-demo .demo-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
#shop-demo .demo-product{display:flex;flex-direction:column;background:#fff;border:1px solid #e7ded8;border-radius:8px;padding:18px;text-align:center;min-width:0}
#shop-demo .demo-product img{width:100%;aspect-ratio:1;object-fit:contain;margin:0 auto}
#shop-demo .demo-product h2{font-family:inherit;font-size:16px;font-weight:700;line-height:1.7;margin:16px 0;min-height:0}
#shop-demo .demo-price{font-size:24px;margin:auto 0 20px;padding-top:12px;color:#72524f}#shop-demo small{font-size:12px}
#shop-demo .demo-product button{margin-top:auto;width:100%}
#shop-demo .demo-cart{margin-top:40px;padding:28px;background:#faf7f3;border:1px solid #e7ded8;border-radius:8px;scroll-margin-top:24px}
#shop-demo .demo-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:20px;align-items:center;padding:20px 0;border-bottom:1px solid #ded4cc}
#shop-demo .demo-qty{display:flex;align-items:center;gap:12px}#shop-demo .demo-qty button{padding:5px 12px;background:#fff;color:#72524f}
#shop-demo .demo-remove{background:transparent;color:#8c3c32;border:0;padding:8px}
#shop-demo .demo-summary{max-width:420px;margin:24px 0 0 auto}#shop-demo .demo-summary>div{display:flex;justify-content:space-between;gap:16px;padding:12px 0}
#shop-demo .demo-total{font-size:23px;border-top:2px solid #72524f}#shop-demo .demo-muted{font-size:13px;color:#706560;line-height:1.9}
#shop-demo #demo-checkout{width:100%;margin-top:16px;font-size:17px}#demo-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);width:max-content;background:#403331;color:#fff;padding:14px 22px;border-radius:6px;z-index:10000}
#demo-confirm{border:0;border-radius:10px;padding:28px;max-width:520px;width:calc(100% - 32px);color:#403331}#demo-confirm::backdrop{background:#0007}#demo-confirm button{padding:12px 24px;background:#72524f;color:#fff;border:0;border-radius:5px}
@media(max-width:760px){#shop-demo{padding:16px 16px 48px}#shop-demo .demo-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#shop-demo .demo-product{padding:12px}#shop-demo .demo-product h2{font-size:14px;min-height:0}#shop-demo .demo-product button{padding:12px 4px;font-size:12px}#shop-demo .demo-cart{padding:18px}#shop-demo .demo-line{grid-template-columns:minmax(0,1fr) auto;gap:12px}#shop-demo .demo-heading{align-items:flex-start}#shop-demo h1{font-size:27px}#shop-demo .demo-heading button{padding:10px;font-size:12px}}
#shop-demo .demo-description{font-size:14px;line-height:1.9;text-align:left;margin:0;color:#60534e;}
#shop-demo .demo-purchase{margin-top:0;display:grid;gap:14px}
#shop-demo .demo-purchase label{display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px}
#shop-demo .demo-purchase input{width:76px;min-width:0;padding:9px 8px;border:1px solid #bca9a0;border-radius:5px;background:#fff;color:#403331;font:inherit;text-align:center;box-shadow:none}
#shop-demo .demo-purchase input:focus-visible{outline:3px solid #b65031;outline-offset:2px}
#shop-demo .demo-product-size{font-size:.85em;font-weight:400;}
/* Share each row's image, title, description, price and purchase tracks. */
#shop-demo .demo-product{display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:0}
#shop-demo .demo-product h2{align-content:center;margin:0;padding:16px 0;min-height:3.4em}
#shop-demo .demo-price{margin:0 0 20px;align-self:end}
#shop-demo .demo-shipping{margin-top:40px;padding:28px;background:#fff;border:1px solid #e7ded8;border-radius:8px}
#shop-demo .demo-shipping-table{width:100%;border-collapse:collapse;margin:20px 0 0;font-size:14px;table-layout:fixed}
#shop-demo .demo-shipping-table th,#shop-demo .demo-shipping-table td{padding:14px 12px;border:1px solid #e7ded8;text-align:left;vertical-align:middle;overflow-wrap:anywhere;background:#fff}
#shop-demo .demo-shipping-table thead th{background:#72524f;color:#fff;font-weight:600}
#shop-demo .demo-shipping-table th:first-child{width:18%}
#shop-demo .demo-shipping-table th:last-child{width:26%}
#shop-demo .demo-shipping-table td:last-child{text-align:right;white-space:nowrap}
#demo-order-sheet{display:none}
#shop-demo .demo-summary>.demo-order-options{display:block;padding:0;margin-top:24px}
#shop-demo .demo-order-options h3{font-size:18px;margin:0 0 16px}
#shop-demo .demo-order-option{padding:18px;margin-bottom:16px;background:#fff;border:1px solid #e7ded8;border-radius:6px}
#shop-demo .demo-order-option h4{font-size:16px;margin:0 0 10px;font-weight:700}
#shop-demo .demo-order-option button{width:100%;margin-top:10px}
#shop-demo .demo-order-option p{margin:10px 0 0}
#demo-confirm table{width:100%;font-size:13px;border-collapse:collapse}
#demo-confirm th,#demo-confirm td{padding:8px;border:1px solid #ddd;text-align:left}
#demo-confirm{max-height:90vh;overflow:auto}
#demo-confirm fieldset{border:1px solid #ded4cc;padding:16px;margin:18px 0;min-width:0}
#demo-confirm fieldset[hidden]{display:none}
#demo-confirm legend{font-weight:700;font-size:16px}
#demo-confirm .order-input{display:grid;gap:5px;margin:12px 0;font-size:14px}
#demo-confirm .order-input input,#demo-confirm textarea{width:100%;box-sizing:border-box;border:1px solid #bca9a0;border-radius:4px;padding:10px;background:#fff;color:#403331;font:inherit}
#demo-confirm .order-input select{width:100%;min-width:0;padding:10px;border:1px solid #bca9a0;border-radius:4px;background:#fff;color:#403331;font:inherit}
#demo-order-totals{border-top:1px solid #ded4cc;padding:12px 0;margin:16px 0}
#demo-confirm button{margin:5px 4px 5px 0;max-width:100%}
#demo-email-draft textarea{width:100%;font-size:14px}
#demo-confirm .order-same{display:flex;gap:8px;align-items:center;font-size:14px}
#demo-confirm .order-same input{width:18px;height:18px;flex-shrink:0}
#demo-order-sheet .order-field{overflow-wrap:anywhere;white-space:pre-wrap}
@media print{
 @page{size:A4 portrait;margin:15mm}
 body{background:#fff!important;color:#000!important;font-family:'Yu Gothic',sans-serif!important;font-size:10pt!important}
 body>*:not(#demo-order-sheet){display:none!important}
 #demo-order-sheet{display:block!important;width:100%;line-height:1.6}
 #demo-order-sheet h1{font-size:20pt;margin:0 0 8mm}
 #demo-order-sheet h2{font-size:13pt;margin:7mm 0 2mm}
 #demo-order-sheet p{margin:2mm 0}
 #demo-order-sheet .order-contact{font-size:16pt;font-weight:bold}
 #demo-order-sheet table{width:100%;border-collapse:collapse;margin-top:5mm;table-layout:fixed}
 #demo-order-sheet th,#demo-order-sheet td{border:1px solid #555;padding:3mm 2mm;text-align:right;overflow-wrap:anywhere;background:#fff!important}
 #demo-order-sheet th:first-child,#demo-order-sheet td:first-child{width:49%;text-align:left}
 #demo-order-sheet tr{break-inside:avoid}
 #demo-order-sheet thead{display:table-header-group}
 #demo-order-sheet .order-subtotal{text-align:right;font-size:13pt;font-weight:bold;margin-top:4mm}
 #demo-order-sheet .order-field{border-bottom:1px solid #888;min-height:10mm;padding:2mm 0;break-inside:avoid}
 #demo-order-sheet .order-notes{min-height:15mm}
}
@media(max-width:760px){#shop-demo .demo-shipping{padding:18px}#shop-demo .demo-shipping-table{font-size:12px}#shop-demo .demo-shipping-table th,#shop-demo .demo-shipping-table td{padding:12px 7px}#shop-demo .demo-shipping-table th:first-child{width:20%}#shop-demo .demo-shipping-table th:last-child{width:30%}}
