/* UX-03/04 : contrôles compacts ; les règles de choix restent dans le module. */
.lgd-store { position: relative; font-size: .9375rem; line-height: 1.5; overflow-wrap: anywhere; }
.lgd-store p { margin: .5rem 0; }
.lgd-store button, .lgd-store select { min-height: 44px; }
.lgd-store #lgd-geo-trigger { display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-inline: auto; cursor: pointer; list-style: none;
  color: #40564f; border-radius: 50%; }
.lgd-store #lgd-geo-trigger::-webkit-details-marker { display: none; }
.lgd-store #lgd-geo-trigger:hover, .lgd-store #lgd-choice[open] > summary { background: #edf2ef; }
.lgd-store #lgd-manual { display: block; min-height: 24px; padding: 0 .15rem;
  border: 0; background: transparent; color: #52605b; font-size: .75rem; text-decoration: underline; }
.lgd-store .lgd-choice-panel { position: absolute; z-index: 1050; top: 100%; left: 0;
  font-size: .9375rem; line-height: 1.5;
  width: min(32rem, calc(100vw - 2rem)); max-height: min(38rem, 70dvh);
  overflow-y: auto; overscroll-behavior: contain; padding: 1rem;
  background: #fff; border: 1px solid #dce1e3; border-radius: .4rem; box-shadow: 0 8px 24px #25343c26; }
.lgd-choice-panel h2 { margin: .2rem 3rem 1rem 0; font-size: 1.15rem; }
.lgd-store #lgd-choice-close { position: absolute; top: .4rem; right: .5rem; width: 44px;
  border: 0; background: transparent; font-size: 1.6rem; }
.lgd-choice-panel .lgd-store__identity, .lgd-choice-panel .lgd-store__address { display: block; }
.lgd-store .lgd-choice-form { display: grid; gap: .6rem; padding-block: .75rem; margin-top: .75rem; border-top: 1px solid #dce1e3; }
.lgd-choice-form select { width: 100%; max-width: 100%; padding: .4rem; }
.lgd-store button:not(#lgd-manual):not(#lgd-choice-close) { padding: .45rem .7rem; max-width: 100%; }
.lgd-store .lgd-remember { font-size: .875rem; }
.lgd-store .lgd-geo-notice { font-size: .8125rem; color: #52605b; }
.lgd-store-alternatives summary { cursor: pointer; padding-block: .5rem; }
.lgd-store .lgd-no-memory { display: block; padding-block: .4rem; }
.lgd-store .lgd-general { display: block; margin-top: .75rem; }
.lgd-store :focus-visible { outline: 3px solid #075c79; outline-offset: 2px; }

/* UX-08 : identité issue du contexte actif, visible hors du panneau. */
.lgd-store__line { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .35rem;
  font-size: .75rem; line-height: 1.4; color: #52605b; }
.lgd-context-row .lgd-store__line > .lgd-store__identity,
.lgd-context-row .lgd-store__line > .lgd-store__address { display: inline; margin: 0; }
.lgd-store__line > .lgd-store__identity { color: #40564f; }
.lgd-store__line #lgd-manual { min-height: 44px; font-size: inherit; }
.lgd-store__actions { display: inline-flex; align-items: center; gap: .35rem; flex: 0 0 auto; }
.lgd-store__actions > details { flex: 0 0 44px; }
