.rms-hero { display:grid; grid-template-columns:1.15fr 1fr; align-items:center; background:#f3f0ec; gap:32px; padding:clamp(24px,5vw,64px); }
.rms-hero h1 { margin:0 0 18px; }
.rms-hero img { width:100%; max-height:320px; object-fit:scale-down; }
.ff-source-gallery.rms-gallery a img, .gf-collection.ff-hub-card.rms-card .ff-hub-photo img,
.rms-product .ff-decor-photo img { object-fit:scale-down; }
.ff-source-gallery.rms-gallery a img { width:auto; max-width:100%; }
.rms-card .ff-hub-photo, .rms-product .ff-decor-photo { background:#f8f6f3; }
.rms-gallery a { justify-items:center; }
.rms-controls { display:flex; flex-wrap:wrap; gap:18px; margin-bottom:24px; font-weight:700; }
.rms-controls label { flex:1 1 230px; min-width:0; }
.rms-controls input, .rms-controls select { margin-top:6px; }
.rms-product[hidden], .rms-count:empty { display:none !important; }
.rms-orders { overflow-x:auto; }
.rms-orders table { margin:0; }
.rms-orders td:last-child { white-space:nowrap; }
.rms-orders a { font-weight:700; text-decoration:underline; }
#rms-poptavka-form select { width:100%; max-width:100%; min-width:0; text-overflow:ellipsis; }
@media(max-width:650px) { .rms-hero { grid-template-columns:1fr; } .rms-hero img { max-height:210px; } }
