.direct-quantity-row{container:direct-period / inline-size;min-width:0;cursor:default}
.direct-inline-editor{--quantity-cell:44px;display:grid;grid-template-columns:repeat(3,var(--quantity-cell));align-items:center;max-width:100%;height:44px;border:1px solid var(--field-border);border-radius:8px;background:var(--surface)}
.direct-inline-editor button{width:var(--quantity-cell);height:42px;min-height:0;min-width:0;padding:0;border:0;border-radius:7px;background:transparent;color:var(--accent);font-size:22px;cursor:pointer}
.direct-inline-editor button:disabled{opacity:.35;cursor:default}
html.store-untitled .direct-inline-editor .input{width:var(--quantity-cell);min-width:0;height:42px;min-height:0;padding:0 2px;border:0;border-radius:4px;background:transparent;box-shadow:none;text-align:center;font-size:16px;appearance:textfield}
.direct-inline-editor input::-webkit-inner-spin-button,.direct-inline-editor input::-webkit-outer-spin-button{appearance:none;margin:0}
.direct-inline-editor :is(input,button):focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
@container direct-period (max-width:340px){
  html.store-untitled .direct-catalog .direct-quantity-row>div:first-child{display:flex;flex-direction:column;align-items:flex-start;gap:0;line-height:1.2}
}
@media(min-width:701px) and (max-width:1599px){
  html.store-untitled .direct-catalog .direct-product-summary{display:flex;align-items:center;min-height:0}
  html.store-untitled .direct-catalog .direct-product-total{align-self:auto}
  html.store-untitled .direct-catalog .direct-quantity-row>div:first-child{align-items:center}
  html.store-untitled .direct-catalog .direct-period-controls{width:100%;min-height:44px}
}
@media(min-width:701px) and (max-width:1179px){
  html.store-untitled .catalog-shelf.direct-catalog .catalog-purchase-card{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;gap:10px 16px;padding:12px 16px!important}
  html.store-untitled .catalog-shelf.direct-catalog .catalog-card-identity{grid-column:1/-1;grid-row:1;min-height:56px;gap:12px}
  html.store-untitled .catalog-shelf.direct-catalog .catalog-card-identity>img{width:44px;height:52px}
  html.store-untitled .direct-catalog .direct-quantity-list{grid-column:1/-1;grid-row:2;gap:6px}
  html.store-untitled .direct-catalog .direct-contact-panel{grid-column:1;grid-row:3;align-self:center}
  html.store-untitled .direct-catalog .direct-product-summary{grid-column:2;grid-row:3;justify-content:flex-end;min-height:44px;padding:0}
  html.store-untitled .direct-catalog .direct-product-total{flex-direction:row;align-items:center;gap:10px;width:auto}
}
@media(min-width:701px) and (max-width:900px){.direct-inline-editor{--quantity-cell:36px}}
