.patch-product{container-type:inline-size}
.patch-product:has(.sticker-preorder-badge) .product-button{font-size:clamp(11px,6.5cqi,15px);padding-inline:5px;white-space:nowrap}
.patch-product .sticker-art:has(.sticker-preorder-badge){position:relative;display:block;aspect-ratio:1;min-height:0}
.patch-product .sticker-art:has(.sticker-preorder-badge) img{position:absolute;left:0;bottom:0;min-height:0;width:100%;height:calc(100% - clamp(24px,calc(86px - 40%),40px));aspect-ratio:auto;object-fit:contain;object-position:center bottom}
.patch-product[data-sticker-product="bpc-majin-buu"] .sticker-art img{left:-11%;width:122%;max-width:none;height:calc(100% - clamp(0px,calc(105px - 50%),46px))}
.patch-product .sticker-art .sticker-preorder-badge{position:absolute;top:0;left:0;z-index:1;margin:0}
.sticker-detail-art:has(.sticker-preorder-badge:not([hidden])){display:flex;flex-direction:column;align-items:stretch;aspect-ratio:auto;max-height:none}
.sticker-detail-art:has(.sticker-preorder-badge:not([hidden])) img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;flex:none}
.sticker-preorder-badge{position:static;order:-1;flex:0 0 auto;align-self:flex-start;margin:0 0 4px;box-sizing:border-box;width:50px;height:50px;border-radius:50%;border:1px solid #f5f1e5;background:rgb(44 73 56 / .78);color:#fff;box-shadow:0 1px 3px rgb(22 43 29 / .2),inset 0 0 0 1px rgb(245 241 229 / .35);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:3px 2px;text-align:center;font-size:7.5px;line-height:1.1;transform:rotate(-30deg);transform-origin:center;pointer-events:none}
.sticker-preorder-badge strong{font-size:9px;font-weight:700;text-transform:none;white-space:nowrap;letter-spacing:0}
.sticker-preorder-badge[hidden]{display:none}
.sticker-detail-art .sticker-preorder-badge{width:60px;height:60px;font-size:8.5px;gap:1px}
.sticker-detail-art .sticker-preorder-badge strong{font-size:11px}
.patch-product h2 a{color:inherit;text-decoration:none}
.patch-product h2 a:hover{text-decoration:underline}
.patch-product .sticker-art:focus-visible,.patch-product h2 a:focus-visible{outline:3px solid #a58b45;outline-offset:3px}
.sticker-detail{margin:auto;box-sizing:border-box;width:min(1040px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:40px;border:1px solid #d7dbd2;border-radius:14px;background:#fff;color:#252d26;overflow:auto}
.sticker-detail::backdrop{background:rgb(20 31 23 / .65)}
.sticker-detail-close{position:absolute;right:12px;top:10px;width:36px;height:36px;border:1px solid #d7dbd2;border-radius:50%;background:#f6f5ef;color:#2c4938;font-size:26px;line-height:1;cursor:pointer}
.sticker-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;align-items:center}
.sticker-detail-art{aspect-ratio:1;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#f7f6f0;overflow:hidden;padding:16px}
.sticker-detail-art img{width:100%;height:100%;object-fit:contain;min-width:0;min-height:0}
.sticker-detail[data-product="hello-kitty-camouflage-bow"] .sticker-detail-art img{transform:rotate(3.5deg)}
.sticker-detail[data-product="fourth-recruit-training-battalion"] .sticker-detail-art img{transform:rotate(3deg)}
.sticker-detail-eyebrow{font-size:11px;font-weight:700;letter-spacing:.15em;color:#5d633d;margin:0 0 10px}
.sticker-detail h1,.sticker-detail h2{font-size:clamp(26px,2.7vw,36px);line-height:1.15;font-weight:700;margin:0 0 8px;text-transform:uppercase;overflow-wrap:anywhere}
.sticker-detail-branch{font-size:14px;letter-spacing:.06em;margin:0 0 20px;color:#62665f}
.sticker-detail-meta{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;font-size:11px;color:#62665f;overflow-wrap:anywhere}
#sticker-detail-stock{color:#2c4938;font-weight:700}
.sticker-detail-price{font-weight:700;font-size:25px;margin:18px 0}
.sticker-detail-size{display:flex;align-items:center;gap:16px;font-size:13px;margin:0 0 22px}
.sticker-detail-size strong{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:38px;border:1px solid #2c4938;border-radius:5px;color:#2c4938;background:#f7f8f4}
.sticker-detail-buy{display:flex;gap:12px;align-items:stretch}
.sticker-quantity{display:flex;border:1px solid #c4cbbf;border-radius:6px;overflow:hidden;flex-shrink:0}
.sticker-quantity button{width:32px;border:0;background:#f6f5ef;color:#2c4938;font-size:20px;cursor:pointer}
.sticker-quantity button:disabled{color:#aeb5ab;cursor:default}
.sticker-quantity input{border:0;width:38px;min-width:0;padding:8px 2px;text-align:center;background:#fff;color:#252d26;font:inherit;appearance:textfield;-moz-appearance:textfield}
.sticker-quantity input::-webkit-inner-spin-button,.sticker-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.sticker-detail .product-button{flex:1;min-height:46px;padding:10px 14px;border:1px solid #213b2b;border-radius:6px;background:#2c4938;color:#fff;font:inherit;font-size:14px;font-weight:600;box-shadow:0 2px 0 #172c1e;cursor:pointer}
.sticker-detail .product-button:hover{background:#213b2b}
.sticker-detail .product-button:disabled{opacity:.6;cursor:wait}
.sticker-detail button:focus-visible,.sticker-detail input:focus-visible{outline:3px solid #a58b45;outline-offset:2px}
.sticker-detail [role=status]{font-size:13px;line-height:1.5;margin:10px 0 0}
.sticker-detail [role=status]:empty{display:none}
.sticker-fulfillment{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px;padding-top:20px;border-top:1px solid #d7dbd2}
.sticker-fulfillment div{border:1px solid #d7dbd2;border-radius:6px;padding:12px;font-size:13px}
.sticker-fulfillment strong,.sticker-fulfillment span{display:block}
.sticker-fulfillment span{font-size:11px;line-height:1.5;color:#62665f;margin-top:5px}
@media(max-width:700px){.sticker-detail{padding:42px 20px 24px}.sticker-detail-layout{grid-template-columns:1fr;gap:24px}.sticker-detail-art{max-height:40dvh;aspect-ratio:auto}.sticker-detail-art img{height:35dvh}.sticker-detail-buy{flex-wrap:wrap}.sticker-detail .product-button{min-width:130px}}

.sticker-product-page{width:100%;max-height:none;margin:16px 0 40px;padding:28px;overflow:visible}
.sticker-product-page .sticker-detail-art{background:#fff;border:1px solid #e0e4dc;max-height:none}
.sticker-product-page .sticker-detail-art img{height:auto;max-height:480px;aspect-ratio:1;object-fit:contain}
.sticker-product-page .sticker-detail-size{margin-bottom:12px}
.sticker-detail-finish{display:flex;align-items:center;gap:16px;font-size:13px;margin-bottom:22px}
.sticker-detail-finish strong{font-weight:600}
.sticker-detail-ship{font-size:14px;line-height:1.5;color:#2c4938;margin:0 0 20px;font-weight:600}
.sticker-back-link{display:inline-flex;min-height:44px;align-items:center;color:#2c4938;font-weight:600;text-underline-offset:4px}
@media(max-width:700px){.sticker-product-page{padding:18px;margin-top:8px}.sticker-product-page .sticker-detail-art img{max-height:380px}.sticker-product-page .sticker-detail-buy{flex-wrap:nowrap}.sticker-product-page .product-button{min-width:0}.sticker-product-page .sticker-detail-layout{gap:24px}.sticker-detail-meta{font-size:10px}}

/* Keep the artwork visible while bringing purchase choices onto a phone screen. */
@media(max-width:650px){
 .sticker-detail{padding:44px 14px 18px;max-height:calc(100dvh - 24px)}
 .sticker-detail-close{width:44px;height:44px;top:6px;right:8px}
 .sticker-detail-layout{gap:14px}
 .sticker-detail-art{padding:10px;max-height:260px}
 .sticker-detail-art img{height:auto;max-height:240px;object-fit:contain}
 .sticker-detail-eyebrow{margin-bottom:6px}
 .sticker-detail h1,.sticker-detail h2{font-size:24px;line-height:1.2;margin-bottom:6px}
 .sticker-detail-branch{margin-bottom:10px}
 .sticker-detail-price{font-size:23px;margin:10px 0}
 .sticker-detail-size{margin-bottom:10px;gap:10px}
 .sticker-detail-finish{margin-bottom:10px;gap:10px}
 .sticker-detail-ship{margin-bottom:12px}
 .sticker-detail-buy{gap:8px}
 .sticker-quantity button{width:44px;min-height:44px}
 .sticker-quantity input{width:30px;font-size:16px}
 .sticker-detail .product-button{min-height:44px;padding:10px}
 .sticker-fulfillment{margin-top:14px;padding-top:12px;gap:8px}
 .sticker-fulfillment div{padding:9px}
 .sticker-product-page{padding:12px;margin:8px 0 24px;max-height:none}
 .sticker-product-page .sticker-detail-layout{gap:14px}
 .sticker-product-page .sticker-detail-art{max-height:none}
 .sticker-product-page .sticker-detail-art img{max-height:240px}
 .sticker-detail-art:has(.sticker-preorder-badge:not([hidden])) img{height:auto;max-height:240px;aspect-ratio:1}
 .sticker-detail-art .sticker-preorder-badge{width:48px;height:48px;margin-bottom:0}
}
