/* Kabul Roma — peso personalizzato. Scoped to .krw / .krw-alt; loaded only on vetrina storefront routes. */
.seg .krw-alt{position:relative;z-index:1;min-height:44px;padding:0 10px;border:0;background:none;font:inherit;font-size:12px;font-weight:700;color:inherit;white-space:nowrap;cursor:pointer;border-radius:inherit}
.seg .krw-alt:focus-visible,.krw .krw-use:focus-visible,.krw .krw-in:focus-visible{outline:2px solid var(--blue,#1d3a8a);outline-offset:2px}
/* Sizing: the panel is a flex/grid child of the modal's .info, so every level opts out of min-content sizing
   (min-width:0, minmax(0,1fr)); the text input has an intrinsic ~20ch width, so it gets width:100% + flex-basis 0. */
.krw{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;min-width:0;max-width:100%;box-sizing:border-box;margin:12px 0 4px;padding:12px;border-radius:16px;background:var(--card,rgba(118,118,128,.08))}
.krw>*{min-width:0}
.krw-l{font-weight:700;font-size:14px}
.krw-row{display:flex;gap:8px;align-items:stretch;min-width:0;max-width:100%}
.krw-in{flex:1 1 0;width:100%;min-width:0;box-sizing:border-box;min-height:48px;padding:0 14px;font-size:16px;font-weight:700;border:1px solid var(--line,rgba(60,60,67,.29));border-radius:12px;background:var(--bg,#fff);color:inherit}
.krw-in[aria-invalid="true"]{border-color:var(--pom,#c8102e)}
.krw .krw-use{flex:0 0 auto;box-sizing:border-box;max-width:100%;min-height:48px;min-width:44px;white-space:nowrap}
.krw-h,.krw-s,.krw-e,.krw-n{overflow-wrap:anywhere}
/* Phones: input and confirm button stacked, full width, 48px each. */
@media (max-width:480px){
  .krw-row{flex-direction:column}
  .krw-in{flex:0 0 auto}
  .krw .krw-use{width:100%;white-space:normal}
}
.krw .krw-use:disabled{opacity:.5;cursor:not-allowed}
.krw-n{margin:0;font-size:13px;font-weight:600;color:var(--ink,inherit)}
.krw-n:empty{display:none}
.krw-h,.krw-s,.krw-e{margin:0;font-size:13px;line-height:1.35}
.krw-h{color:var(--muted,#6b6b70)}
.krw-s:empty,.krw-e:empty{display:none}
.krw-e{color:var(--pom,#c8102e);font-weight:600}
.krw[aria-busy="true"] .krw-s{opacity:.7}
[dir="rtl"] .krw-h .num{unicode-bidi:isolate}
@media (prefers-reduced-motion:reduce){.krw *,.seg .krw-alt{transition:none!important;animation:none!important}}
