:root{--ink:#201520;--navy:#183345;--cream:#ffffdf;--line:#e2e4df}
*{box-sizing:border-box}
body{margin:0;color:var(--ink);font-family:"Yu Gothic UI",Meiryo,sans-serif;background:#f5f4ef}
.demo-page{max-width:1050px;margin:auto;padding:42px 24px}.demo-label{font-size:12px;letter-spacing:.12em;color:#68727a}
.product-card{display:grid;grid-template-columns:1fr 1fr;gap:52px;background:#fff;padding:42px;border-radius:16px;box-shadow:0 10px 35px #18334514}
.product-image{display:grid;place-items:center;min-height:420px;background:#f0eee6;color:#85837c}.product-copy{align-self:center}
.shop-name{font-size:11px;letter-spacing:.2em}.product-copy h1{font-size:30px;margin:10px 0}.price{font-size:22px}.price small{font-size:12px}
.description{line-height:1.9;color:#5d6265}.setup-error{padding:10px 12px;background:#fff0ed;color:#883b31;font-size:12px}
.stock-button{width:100%;min-height:54px;margin-top:24px;border:0;border-radius:4px;background:var(--navy);color:#fff;font-family:inherit;font-size:16px;font-weight:700;cursor:pointer}
.stock-button:hover{opacity:.9}.stock-button:disabled{opacity:.45;cursor:not-allowed}.modal[hidden]{display:none}
.modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px}.modal-backdrop{position:absolute;inset:0;background:#0008}
.modal-panel{position:relative;width:min(620px,100%);height:min(760px,92vh);background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 24px 70px #0005}
.modal-header{height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 18px 0 24px;background:var(--cream);border-bottom:1px solid var(--line)}
.modal-header h2{margin:0;font-size:18px}.close-button{width:44px;height:44px;border:0;background:transparent;font-size:29px;cursor:pointer;color:var(--ink)}
iframe{display:block;width:100%;height:calc(100% - 62px);border:0}.modal-open{overflow:hidden}
@media(max-width:700px){.demo-page{padding:20px 14px}.product-card{grid-template-columns:1fr;padding:20px;gap:25px}.product-image{min-height:250px}.modal{padding:0}.modal-panel{width:100%;height:100%;border-radius:0}}
