.native-unicorn-product{position:relative}
/* Each template owns its product cover label and purchase form styling. */
.product-cover-badge{position:absolute;top:8px;right:8px;z-index:4;display:inline-flex;align-items:center;justify-content:center;max-width:calc(100% - 16px);padding:4px 9px;border-radius:7px;background:rgba(255,255,255,.94);box-shadow:0 2px 9px rgba(12,24,40,.14);color:#b73d30;font-size:11px;font-weight:700;line-height:1.3;white-space:nowrap;pointer-events:none}
.product-cover-badge--new{color:#2563b6}.product-cover-badge--recommend{color:#6848a7}.product-cover-badge--limited{color:#a45412}
.product-extra-fields{display:grid;width:100%;gap:12px;margin:10px 0;padding:0;border:0;background:transparent;color:inherit;box-sizing:border-box}
.product-extra-field{min-width:0;margin:0}.product-extra-field label{display:block;margin:0 0 6px}.product-extra-field em{font-style:normal;color:#b73436}
.product-extra-field input,.product-extra-field textarea{display:block;width:100%;max-width:100%;box-sizing:border-box}.product-extra-field textarea{min-height:76px;resize:vertical}.product-extra-field input::placeholder,.product-extra-field textarea::placeholder{font-size:13px}
.product-extra-field input:focus-visible,.product-extra-field textarea:focus-visible{outline:2px solid var(--c1,#4a6ee0);outline-offset:1px}
@media(max-width:640px){.product-cover-badge{top:6px;right:6px;padding:3px 7px;font-size:10px;border-radius:6px}.product-extra-fields{gap:10px;margin:8px 0}}

/* Product detail cover. */
.col-md-4{position:relative}

/* Submitted values are kept with the order, independent of later product edits. */
.order-extra-answers{width:min(760px,calc(100% - 32px));margin:16px auto 36px;padding:16px 18px;border:1px solid var(--border,var(--line,#e1e5eb));border-radius:12px;background:var(--card,var(--bg2,#fff));color:var(--text,var(--ink,#263142));box-sizing:border-box}
.order-extra-answers dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}.order-extra-answers dl>div{min-width:0}.order-extra-answers dt{margin:0 0 4px;font-size:12px;opacity:.65}.order-extra-answers dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}
@media(max-width:640px){.order-extra-answers{margin:12px auto 28px;padding:12px 14px}.order-extra-answers dl{grid-template-columns:minmax(0,1fr);gap:10px}}
@media(min-width:768px){.theme-unicorn .buy-form .product-extra-field .form-control{font-size:14px;line-height:21px}}

/* Keep the catalog cover dominant while the facts remain easy to scan. */
.theme-unicorn .native-unicorn-product.product-card{border-radius:12px;overflow:hidden}
.catalog-card-cover{position:relative;width:100%;aspect-ratio:1;flex:none;overflow:hidden;background:#eef2f5}
.theme-unicorn .native-unicorn-product .catalog-card-cover .card-img-top{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover}
.catalog-cover-hot{position:absolute;top:8px;right:8px;z-index:4;padding:4px 9px;border-radius:7px;background:rgba(255,255,255,.94);box-shadow:0 2px 9px rgba(12,24,40,.14);color:#b73d30;font-size:11px;font-weight:700;line-height:1.3}
.catalog-cover-facts{position:absolute;right:0;bottom:0;left:0;display:flex;justify-content:space-between;align-items:end;gap:5px;padding:22px 10px 9px;background:linear-gradient(transparent,rgba(11,20,32,.68));color:#fff;font-size:11px;line-height:1.3;text-shadow:0 1px 2px #0008}
.catalog-cover-facts span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.theme-unicorn .native-unicorn-product .card-body{width:100%;box-sizing:border-box;padding:10px 12px 11px;flex:1 1 auto}
.theme-unicorn .native-unicorn-product .card-title{min-height:0;margin:0 0 8px;font-size:13px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.theme-unicorn .native-unicorn-product .catalog-card-bottom{margin-top:auto;padding-top:0;gap:5px;flex-wrap:nowrap}
.theme-unicorn .native-unicorn-product .catalog-card-price{min-width:0;font-family:Arial,"PingFang SC",sans-serif;font-size:16px;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap}
.theme-unicorn .native-unicorn-product .catalog-card-bottom .btn{margin:0;min-height:36px;display:inline-flex;align-items:center;justify-content:center;flex:none;padding:5px 9px;font-size:12px;line-height:1.2}
.theme-unicorn .native-unicorn-product .product-spec-start{display:block;margin:2px 0 0!important;font-size:10px!important;line-height:1.2}
@media(max-width:575px){.theme-unicorn .native-unicorn-product.product-card{border-radius:10px}.catalog-cover-facts{padding:18px 6px 7px;font-size:10px}.catalog-cover-hot{top:6px;right:6px;padding:3px 7px;font-size:10px}.theme-unicorn .native-unicorn-product .card-body{padding:8px 9px 9px}.theme-unicorn .native-unicorn-product .catalog-card-price{font-size:15px}.theme-unicorn .native-unicorn-product .catalog-card-bottom .btn{min-height:36px;padding:4px 7px;font-size:11px}}

/* The currency sign and changing amount share a stable baseline. */
.theme-unicorn #displayUnitPrice,.theme-unicorn #inlineTotalPrice{display:inline-flex;align-items:baseline;vertical-align:baseline;gap:2px;font-family:Arial,"PingFang SC",sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap}
.theme-unicorn #displayUnitPrice .unicorn-money-symbol,.theme-unicorn #inlineTotalPrice .unicorn-money-symbol{font-size:.72em;line-height:1}
.theme-unicorn #displayUnitPrice .unicorn-money-digits,.theme-unicorn #inlineTotalPrice .unicorn-money-digits{font-size:1em;line-height:1}
.theme-unicorn .native-total{align-items:baseline}

/* Product detail: fill the artwork column and keep checkout in one clear row. */
.theme-unicorn .good-card .col-md-4{display:flex;align-items:flex-start;justify-content:center;padding:10px}
.theme-unicorn .good-card .unicorn-product-art{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:8px}
.theme-unicorn .native-checkout-action{display:flex;align-items:center;flex-wrap:wrap;gap:12px 40px;border-top:1px solid #e7ecf2;margin:10px 0 0;padding:14px 0 2px}
.theme-unicorn .native-checkout-action .native-total{border:0;margin:0;padding:0;flex:none}
.theme-unicorn .native-checkout-action #submitBtn{width:auto;margin:0;min-height:44px;padding:9px 24px;flex:none}
@media(max-width:767px){.theme-unicorn .good-card .col-md-4{padding:12px}.theme-unicorn .good-card .unicorn-product-art{max-width:280px;max-height:280px}.theme-unicorn .native-checkout-action{gap:12px 20px}.theme-unicorn .native-checkout-action #submitBtn{width:auto;padding:9px 18px}}
