.commerce-page{display:grid;gap:28px}.commerce-alert{display:flex;gap:10px;align-items:flex-start;padding:14px 16px;border:1px solid var(--border);border-radius:14px;background:var(--card,rgba(127,127,127,.05));font-size:13px}.commerce-alert strong{white-space:nowrap}.commerce-alert.danger{border-color:rgba(220,70,70,.28);background:rgba(220,70,70,.06)}.commerce-alert.sandbox{border-color:rgba(113,96,255,.25);background:rgba(113,96,255,.07)}
.commerce-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.commerce-summary-grid .ui-card{display:grid;gap:5px}.commerce-summary-grid small,.commerce-summary-grid span{color:var(--muted);font-size:12px}.commerce-summary-grid strong{font-size:28px;line-height:1}.section-heading-row{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-top:4px}.section-heading-row h2{margin:4px 0 0;font-size:22px}
.commerce-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.commerce-product-card{display:flex;flex-direction:column;gap:12px;padding:18px;border:1px solid var(--border);border-radius:18px;background:var(--card-strong);box-shadow:var(--shadow-sm,0 4px 18px rgba(0,0,0,.04))}.commerce-product-card.selected{outline:2px solid var(--primary);outline-offset:1px}.commerce-product-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px}.commerce-product-card h3{margin:0;font-size:18px}.commerce-product-card>p{margin:0;color:var(--muted);font-size:13px;line-height:1.55;flex:1}.commerce-price{display:grid;gap:3px;padding-top:12px;border-top:1px solid var(--border)}.commerce-price small,.commerce-price span{font-size:11px;color:var(--muted)}.commerce-price strong{font-size:20px}.commerce-product-actions{display:flex;gap:8px;align-items:center}.commerce-product-actions form{margin-left:auto}.commerce-product-actions button{font:inherit;border:0;cursor:pointer}
.commerce-list{display:grid;border:1px solid var(--border);border-radius:16px;overflow:hidden;background:var(--card-strong)}.commerce-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;border-bottom:1px solid var(--border)}.commerce-row:last-child{border-bottom:0}.commerce-row>div:first-child{display:grid;gap:4px}.commerce-row small{color:var(--muted);font-size:12px}.commerce-row-actions{display:flex!important;flex-direction:row!important;align-items:center;gap:8px}.commerce-row-actions form{display:inline}.compact{padding:7px 10px!important;font-size:12px!important}.commerce-empty{padding:22px;color:var(--muted);text-align:center;font-size:13px}.catalog-commerce-meta{display:grid;gap:2px;margin:10px 0 2px}.catalog-commerce-meta strong{font-size:17px}.catalog-commerce-meta small{font-size:11px;color:var(--muted)}
.owned-template-choice{display:flex;align-items:center;gap:16px;border:1px solid var(--border);border-radius:16px;padding:12px}.owned-template-choice .theme-mini-cover{width:120px;min-width:120px;height:76px;border-radius:12px}.owned-template-choice>div:last-child{display:grid;gap:4px}.owned-template-choice span{color:var(--muted);font-size:12px}.owned-template-choice a{font-size:12px;color:var(--primary)}
@media(max-width:980px){.commerce-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.commerce-summary-grid,.commerce-product-grid{grid-template-columns:1fr}.commerce-row{align-items:flex-start;flex-direction:column}.commerce-row-actions{width:100%;justify-content:space-between}.section-heading-row{align-items:flex-start}.commerce-alert{display:grid}.commerce-product-actions{flex-wrap:wrap}.commerce-product-actions form{margin-left:0}.owned-template-choice{align-items:flex-start}.owned-template-choice .theme-mini-cover{width:92px;min-width:92px;height:68px}}
.soft-action.disabled{opacity:.55;pointer-events:none;cursor:not-allowed}
