/* Shared product framing and alignment across shopping and order screens. */
.replica-store .rep-product-photo{display:block;position:relative;flex:none;width:100%;aspect-ratio:1;overflow:hidden;isolation:isolate;background:#fff;border-radius:var(--rep-radius-sm);line-height:0}
.replica-store .rep-product-photo>img{display:block;width:100%;height:100%;max-width:none;aspect-ratio:1;object-fit:contain;object-position:center;background:transparent;padding:0;border-radius:0;mix-blend-mode:normal;filter:none;transform:translate(var(--card-image-x,0%),var(--card-image-y,0%)) scale(var(--card-image-scale,.94));transform-origin:center}
.rep-photo-placeholder{display:grid;place-items:center;height:100%;font-size:11px;line-height:1;color:#808080}
.replica-store .rep-image-open{display:block;width:100%;padding:0;border-radius:var(--rep-radius-lg);overflow:hidden}
.replica-store .rep-image-open>.rep-product-photo{border-radius:inherit}
.replica-store .rep-thumbnails button{flex:none;min-width:0;width:70px;height:70px}
.replica-store .rep-thumbnails .rep-product-photo{height:100%}
.replica-store .rep-category-photo>.rep-product-photo{width:100px;height:100px;aspect-ratio:1}
.replica-store .rep-cart-line{grid-template-columns:96px minmax(0,1fr) auto;align-items:start}
.replica-store .rep-cart-line>a:first-child{display:block;width:96px;border-radius:var(--rep-radius-sm);overflow:hidden}
.replica-store .rep-cart-line>div{min-width:0}
.replica-store .rep-cart-line>b{white-space:nowrap;font-variant-numeric:tabular-nums}
.replica-store .rep-checkout-item{display:grid;grid-template-columns:80px minmax(0,1fr) auto;align-items:center;gap:18px;padding:16px 0}
.replica-store .rep-checkout-item>.rep-product-photo{width:80px;height:80px}
.replica-store .rep-order-item-copy{min-width:0;overflow-wrap:anywhere;line-height:1.5}
.replica-store .rep-order-item-price{justify-self:end;white-space:nowrap;font-variant-numeric:tabular-nums}
.replica-store .rep-checkout-summary>h2{margin:0 0 12px;line-height:1.3}
.replica-store .bank-price-label{display:inline-flex;align-items:center;min-height:32px;margin:0 0 8px;padding:7px 12px;border-radius:var(--rep-radius-sm);line-height:1.4}
.replica-store .rep-checkout-summary>p:last-child{margin-bottom:0}
.replica-store .rep-admin-product>.rep-product-photo{width:56px;height:56px}
.replica-store .rep-admin-images .rep-product-photo{width:90px;height:90px}
/* Keep the existing soft UI consistent on the less visited forms and states. */
.replica-store .rep-newsletter input,.replica-store .rep-admin-tools>input,
.replica-store .rep-admin input:not([type=checkbox]):not([type=radio]):not([type=file]),
.replica-store .rep-admin select,.replica-store .rep-admin textarea{border-radius:var(--rep-radius-sm)}
.replica-store .rep-badge{border-radius:6px}
.replica-store .bank-pickup-code,.replica-store .bank-store-settings,
.replica-store .bank-admin-confirm,.replica-store .rep-admin-panel,
.replica-store .rep-admin-stats>div,.replica-store .rep-admin-login>div{border-radius:var(--rep-radius)}
.replica-store .rep-admin-sidebar button{border-radius:var(--rep-radius-sm)}
.replica-store .rep-checkout-grid>*{min-width:0}
@media(max-width:1100px){.replica-store .rep-checkout-grid{gap:32px}.replica-store .rep-checkout-summary{padding:24px}.replica-store .rep-checkout-item{gap:12px}}
@media(max-width:767px){
 .replica-store .rep-checkout-summary{padding:20px}
 .replica-store .rep-checkout-item{grid-template-columns:68px minmax(0,1fr);gap:4px 14px;padding:14px 0}
 .replica-store .rep-checkout-item>.rep-product-photo{width:68px;height:68px;grid-row:span 2}
 .replica-store .rep-order-item-copy{align-self:end}
 .replica-store .rep-order-item-price{grid-column:2;justify-self:start;align-self:start;font-weight:600}
 .replica-store .rep-cart-line{grid-template-columns:76px minmax(0,1fr);gap:14px}
 .replica-store .rep-cart-line>a:first-child{width:76px}
 .replica-store .rep-thumbnails button{width:58px;height:58px}
 .replica-store .rep-category-photo>.rep-product-photo{width:86px;height:86px}
 .replica-store .rep-order-link{overflow-wrap:anywhere}
 .replica-store .bank-store-card>a{display:inline-flex;margin:8px 16px 0 0}
}
