.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:30px 0}.shop-grid>.panel{display:flex;flex-direction:column;gap:14px;margin:0}.shop-grid .button{margin-top:auto}button:disabled{cursor:not-allowed;opacity:.65}.header nav{flex-wrap:wrap}.page-heading h1{line-height:1.25}.panel{min-width:0}@media(max-width:760px){.shop-grid{grid-template-columns:1fr}.header{align-items:flex-start}.header nav{font-size:13px;gap:12px}.wrap{overflow-wrap:anywhere}}

/* Product listings remain informational; no order controls or checkout links. */
.products-section{margin:38px 0 58px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.product-card{min-width:0;background:#111d2a;border:1px solid rgba(255,255,255,.14);border-radius:16px;overflow:hidden}.product-card a{display:block;color:inherit;text-decoration:none;height:100%}.product-card a:hover,.product-card a:focus-visible{outline:2px solid #e7cea0;outline-offset:2px}.product-image{display:block;width:100%;height:300px;object-fit:cover;object-position:center 35%;background:#07111f}.product-image.artwork{object-fit:contain;object-position:center;height:250px}.product-card-body{padding:20px}.product-card h3{font-size:1.1rem;line-height:1.5;margin:8px 0 15px}.product-price,.detail-price{font-size:1.4rem;font-weight:700;color:#e7cea0}.product-price small,.detail-price small{font-size:.7rem;color:inherit}.product-detail{padding-top:25px;padding-bottom:70px}.product-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;margin-top:26px}.detail-image{width:100%;max-height:700px;object-fit:contain;background:#07111f;border-radius:16px}.product-description h1{font-size:clamp(1.65rem,3vw,2.4rem);line-height:1.35}.product-description h2{font-size:1.1rem;margin-top:30px}.product-spec{margin:26px 0}.product-spec div{display:grid;grid-template-columns:8em minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.14)}.product-spec dt{color:#b9c7d1}.product-spec dd{margin:0}.sample-note{font-size:.85rem;color:#c2c9d0}.product-description p{line-height:1.85}@media(max-width:760px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-image{height:240px}.product-image.artwork{height:165px}.product-card-body{padding:14px}.product-card h3{font-size:.97rem}.product-layout{grid-template-columns:1fr;gap:22px}.detail-image{max-height:520px}.product-spec div{grid-template-columns:7em minmax(0,1fr)} }@media(max-width:360px){.product-grid{grid-template-columns:1fr}.product-image{height:300px}}

/* Artist selection */
.shop-artists-section{margin:40px 0 60px}.shop-artists-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:26px}.shop-artist{overflow:hidden;background:#111d2a;border:1px solid color-mix(in srgb,var(--artist-color) 45%,transparent);border-radius:16px}.shop-artist>img{display:block;width:100%;height:280px;object-fit:cover;object-position:center 25%;background:#07111f}.shop-artist-body{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:20px}.shop-artist-body h2{margin:0;color:var(--artist-color);font-size:1.35rem}.shop-artist-body p{margin:0 0 8px;color:#c2c9d0}.shop-artist-body .button{margin-top:auto}.shop-back{margin-top:20px}.shop-empty{margin:35px 0 65px}.shop-empty p{margin-bottom:24px}@media(max-width:760px){.shop-artists-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shop-artist>img{height:210px}.shop-artist-body{padding:14px}.shop-artist-body .button{width:100%;font-size:.85rem}}@media(max-width:400px){.shop-artists-grid{grid-template-columns:1fr}.shop-artist>img{height:280px}}
.photo-set-preview,.photo-set-detail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.photo-set-preview img,.photo-set-detail img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}.photo-set-preview{background:#07111f}.photo-set-detail{border-radius:12px;overflow:hidden}
.shop-filter{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:28px 0 34px}.shop-filter span{color:#b9c7d1;font-size:.9rem;margin-right:5px}.shop-filter a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 13px;border:1px solid rgba(179,200,215,.4);border-radius:5px;color:#eaf2f8;text-decoration:none;font-size:.9rem}.shop-filter a:hover,.shop-filter a:focus-visible{border-color:#e7cea0}.shop-filter a[aria-current=page]{border-color:#e7cea0;background:#26313b;color:#e7cea0}@media(max-width:400px){.shop-filter{gap:7px}.shop-filter span{width:100%}.shop-filter a{font-size:.82rem;padding:7px 10px}}
.purchase-panel { margin: 1.5rem 0; padding: 1.2rem; border: 1px solid rgba(185,199,226,.3); border-radius: 1rem; }
.purchase-panel h2 { margin-top: 0; }
.purchase-consent { display: block; margin: 1rem 0; }
.purchase-panel button { padding: .8rem 1.2rem; border-radius: .5rem; cursor: pointer; }
.purchase-panel button:disabled { cursor: not-allowed; opacity: .6; }
.order-item { padding: 1.2rem 0; border-bottom: 1px solid rgba(185,199,226,.3); }
.order-item h2 { margin-bottom: .5rem; }
.notice[hidden] { display: none; }

/* 購入確認：2段階表示。決済と認証の判定は既存のまま。 */
.purchase-panel{margin:1.8rem 0;padding:0;border:0;border-radius:0}
.purchase-panel>h2{font-size:1.25rem;margin:0 0 .65rem}
.purchase-panel [data-shop-identity-guidance]{font-size:.95rem;color:#d4e1ea;margin:.5rem 0 1rem;line-height:1.75}
.purchase-panel [data-purchase-status]{padding:.8rem 1rem;margin:0 0 1rem;background:#10283a;border-left:3px solid #6bd9e2;border-radius:.25rem;color:#e6f4f7;overflow-wrap:anywhere}
.purchase-panel [data-purchase-form][hidden]{display:none}
.purchase-step{background:#102234;border:1px solid #35556b;border-radius:14px;padding:1.15rem;margin:0 0 .85rem}
.product-description .purchase-step h3{display:flex;align-items:center;gap:.7rem;margin:0 0 1rem;font-size:1.05rem;line-height:1.5;color:#f4f8ff}
.purchase-step-number{display:inline-flex;flex:0 0 2rem;width:2rem;height:2rem;align-items:center;justify-content:center;border-radius:50%;background:#70dce4;color:#061723;font-size:.8rem;font-weight:800}
.purchase-panel .purchase-consent{display:flex;align-items:flex-start;gap:.75rem;margin:0;padding:1rem;background:#172f42;border:1px solid #35556b;border-radius:9px;color:#f4f8ff;line-height:1.6;cursor:pointer}
.purchase-consent input[type=checkbox]{appearance:auto;flex:0 0 auto;width:1.3rem;height:1.3rem;margin:.15rem 0 0;accent-color:#68dbe4}
.purchase-consent span{min-width:0}
.purchase-panel a{color:#75dce7;text-decoration:underline;text-underline-offset:3px}
.purchase-total{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin:.2rem 0 .8rem;color:#d6e4ed}
.purchase-total strong{font-size:1.6rem;color:#ead0a0}
.purchase-panel button{display:block;width:100%;min-height:3.4rem;padding:.9rem 1.1rem;border:1px solid #79e5ea;border-radius:9px;background:#67d8e0;color:#071927;font-size:1.05rem;font-weight:700;cursor:pointer}
.purchase-panel button:hover:not(:disabled){background:#a0edf0}
.purchase-panel button:disabled{background:#283c4c;color:#becbd4;border-color:#536a79;opacity:1;cursor:not-allowed}
.purchase-panel :is(button,input,a):focus-visible{outline:3px solid #f6d28d;outline-offset:3px}
@media(max-width:480px){.purchase-step{padding:1rem}.purchase-panel .purchase-consent{padding:.8rem}.product-description .purchase-step h3{font-size:1rem}}

/* One purchase card based on the approved reference. */
.checkout-card{padding:clamp(1.2rem,2.2vw,2rem);border:1px solid #17bddb;border-radius:16px;background:#061a2b}
.checkout-card .eyebrow{margin:0 0 .5rem;color:#64e1ec;letter-spacing:.14em}
.checkout-card h1{margin:.25rem 0 .8rem;font-size:clamp(1.55rem,3vw,2.35rem)}
.checkout-card .detail-price{border-top:1px solid #344c5d;padding-top:.8rem;margin:.4rem 0 1.1rem;color:#f2c67c;font-size:2.35rem;line-height:1.2}
.checkout-card .detail-price small{font-size:.85rem}
.checkout-card .purchase-panel{margin:0}
.purchase-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.purchase-consent-box{padding:1.1rem;border:1px solid #20bdda;border-radius:12px;background:#092035}
.checkout-card .purchase-consent{padding:0;background:none;border:0;border-radius:0;font-size:1rem;font-weight:700}
.checkout-card .purchase-terms-note{margin:.55rem 0 .5rem 2.05rem;color:#c8d6e2;font-size:.88rem;line-height:1.6}
.checkout-card .purchase-policy-links{display:flex;flex-wrap:wrap;gap:.6rem 1.6rem;margin:.5rem 0 0 2.05rem;font-size:.92rem}
.checkout-card .purchase-panel button{margin-top:1rem;min-height:3.7rem;background:#27c6d8;border:0;color:#041d28}
.checkout-card .purchase-panel button:disabled{background:#255a6e;color:#c0d2dc;opacity:.8;cursor:not-allowed}
.checkout-card .purchase-delivery-note{margin:.8rem 0 0;color:#d4e1ea;font-size:.9rem;line-height:1.75;overflow-wrap:anywhere}
.checkout-card .purchase-history{border-top:1px solid #385365;margin-top:1.15rem;padding-top:.9rem}
.checkout-card .purchase-history>p:first-child{margin:0 0 .5rem;font-weight:700}
.checkout-card .purchase-history [data-shop-identity-guidance]{margin:0;color:#cedbe3;font-size:.88rem}
.product-layout .product-spec{margin-top:2rem}
@media(max-width:760px){.product-layout>div:first-child,.product-layout>.product-description{display:contents}.product-layout>div:first-child>:not(.product-spec){order:0}.product-layout .checkout-card{order:1}.product-layout .product-spec{order:2}.product-layout>.product-description>:not(.checkout-card){order:3}.checkout-card{padding:1.1rem}.checkout-card .detail-price{font-size:2rem}.purchase-consent-box{padding:.95rem}.checkout-card .purchase-policy-links,.checkout-card .purchase-terms-note{margin-left:0}}

/* Clear receipt guidance without additional email steps. */
.receipt-steps{padding:1.1rem;border:1px solid #27c6d8;border-radius:12px;background:#092035;line-height:1.8}
.order-item{margin:1rem 0;padding:1.2rem;border:1px solid #385365;border-radius:12px;background:#061a2b}
.download-button{display:inline-block;padding:1rem 1.4rem;border-radius:10px;background:#27c6d8;color:#041d28!important;font-weight:700;text-decoration:none!important}
.download-button:focus-visible{outline:3px solid #f6d28d;outline-offset:3px}
