/* Outlet App: banner di installazione. Colori in linea con il sito (nero/bianco). */

.outlet-app-price {
  display: flex;
  flex-wrap: nowrap; /* una riga sola: testo a sinistra, pulsante a destra */
  align-items: center;
  gap: 8px 12px;
  margin: -4px 0 16px;
  padding: 10px 12px;
  border: 1px solid #000;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.3;
}
.outlet-app-price[hidden] { display: none; }
.outlet-app-price__text { flex: 1 1 auto; min-width: 0; }
/* Il pulsante resta piccolo anche se il tema stila i bottoni della scheda prodotto (maiuscole, spaziatura, padding grandi). */
.outlet-app-price .outlet-app-price__btn {
  flex: 0 0 auto;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 6px 12px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
  border-radius: 999px !important;
}
.outlet-app-price__text .woocommerce-Price-amount { font-weight: 700; }
.outlet-app-price__badge {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.outlet-app-price__btn,
.outlet-app-card button,
.outlet-app-bar__btn {
  margin: 0;
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.outlet-app-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 20px;
  padding: 14px;
  border: 1px solid #000;
  border-radius: 10px;
  background: #fff;
}
.outlet-app-card img { flex: none; border-radius: 10px; }
.outlet-app-card strong { display: block; font-size: 16px; }
.outlet-app-card p { margin: 4px 0 10px; font-size: 14px; line-height: 1.4; }
.outlet-app-card p.outlet-app-card__alt { margin: 10px 0 0; font-size: 13px; color: #666; }
.outlet-app-card__alt a, .outlet-app-sheet__note a { color: inherit; text-decoration: underline; }

.outlet-app-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.outlet-app-bar__text { flex: 1; }
.outlet-app-bar__alt { display: block; margin-top: 1px; font-size: 12px; font-weight: 400; opacity: .85; }
.outlet-app-bar__alt a { color: inherit; text-decoration: underline; }
.outlet-app-bar .outlet-app-bar__btn {
  padding: 5px 14px;
  background: #fff;
  color: #000;
  font-size: 13px;
}
.outlet-app-bar__close {
  flex: none;
  margin: 0;
  padding: 0 2px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.outlet-app-sheet {
  position: fixed;
  inset: 0;
  z-index: 2147483000; /* sopra la chat */
  display: flex;
  align-items: flex-end;
  background: rgba(0, 0, 0, 0.45);
}
.outlet-app-sheet__panel {
  position: relative;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  border-radius: 16px 16px 0 0;
  background: #fff;
  color: #000;
  text-align: left;
}
.outlet-app-sheet__panel img { display: block; margin-bottom: 12px; border-radius: 12px; }
.outlet-app-sheet__panel h3 { margin: 0 0 12px; font-size: 20px; }
.outlet-app-sheet__body ol { margin: 0 0 12px 20px; padding: 0; }
.outlet-app-sheet__body li { margin-bottom: 8px; font-size: 16px; line-height: 1.4; }
.outlet-app-sheet__body p { font-size: 15px; line-height: 1.4; }
.outlet-app-share { vertical-align: -3px; }
.outlet-app-sheet__close {
  position: absolute;
  top: 12px;
  right: 14px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #000;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* Prezzi scontati dentro l'app */
.outlet-app-was { opacity: 0.55; font-size: 0.85em; text-decoration: line-through; }
.outlet-app-was del, .outlet-app-was ins { text-decoration: none; }
/* Prezzo e badge restano interi; il badge va a capo nelle colonne strette (iPhone SE). */
.outlet-app-now { white-space: normal; }
.outlet-app-now .woocommerce-Price-amount, .outlet-app-now .outlet-app-price__badge { white-space: nowrap; }
.outlet-app-now .woocommerce-Price-amount { font-weight: 700; }
.outlet-app-now .outlet-app-price__badge { vertical-align: 1px; }

/* Spiegazione notifiche */
.outlet-app-benefits { margin: 0 0 20px; padding: 0; list-style: none; }
.outlet-app-benefits li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.4;
}
.outlet-app-sheet__primary,
.outlet-app-sheet__secondary {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  padding: 14px;
  border: 0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}
.outlet-app-sheet__primary { background: #000; color: #fff; }
.outlet-app-sheet__secondary {
  width: auto !important;
  margin: 12px auto 0 !important;
  padding: 4px 8px !important;
  background: none;
  color: #999;
  font-size: 13px !important;
  font-weight: 400 !important;
  text-decoration: underline;
}
.outlet-app-sheet__note { margin: 8px 0 0; color: #666; font-size: 13px !important; text-align: center; }
a.outlet-app-sheet__primary { box-sizing: border-box; text-align: center; text-decoration: none !important; color: #fff !important; }
a.outlet-app-sheet__secondary { display: block; text-align: center; color: #999 !important; }
.outlet-app-sheet__primary[hidden], .outlet-app-sheet__secondary[hidden] { display: none; }
.outlet-app-sheet__tech { margin: 14px 0 0; color: #aaa; font-size: 11px !important; text-align: center; }

/* Pagina con le indicazioni per installare l'app (shortcode [outlet_app_install], install-page.php) */
.outlet-guide { max-width: 480px; margin: 0 0 40px; text-align: left; }
.outlet-guide__icon { display: block; margin: 0 0 18px; border-radius: 16px; }
.outlet-guide .outlet-app-benefits li { margin-left: 0; }
.outlet-guide__title { margin: 28px 0 12px; font-size: 22px; line-height: 1.25; }
.outlet-guide__steps p { margin: 0 0 14px; font-size: 16px; line-height: 1.45; }
.outlet-guide__subtitle { margin: 26px 0 12px; font-size: 18px; line-height: 1.3; }
.outlet-guide__list { margin: 0 0 20px; padding: 0; list-style: none; counter-reset: outlet-step; }
.outlet-guide__list li {
  position: relative;
  min-height: 30px;
  margin: 0 0 14px;
  padding: 3px 0 0 44px;
  font-size: 17px;
  line-height: 1.4;
  counter-increment: outlet-step;
}
.outlet-guide__list li::before {
  content: counter(outlet-step);
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--outlet-accent, #000);
  color: var(--outlet-on-accent, #fff);
  font-size: 15px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
}
.outlet-guide__art { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 4px 0 22px; }
.outlet-guide__art svg { display: block; width: 100%; height: auto; }
.outlet-guide__list li.is-done { color: #888; }
.outlet-guide__list li.is-done::before { content: '✓'; }
.outlet-guide .outlet-app-sheet__primary { margin-top: 4px; }
.outlet-guide .outlet-app-sheet__note { margin: 4px 0 0; }

/* Pulsante della chat in basso a destra (solo sito). La chat aperta gli si mette sopra. */
.outlet-chat-fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #000;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease;
}
@media (hover: hover) {
  .outlet-chat-fab:hover { transform: scale(1.06); }
}
.outlet-chat-fab:active { transform: scale(.94); }
.outlet-chat-fab:focus { outline: none; box-shadow: 0 4px 16px rgba(0, 0, 0, .2); }
.outlet-chat-fab:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
.outlet-chat-fab svg { width: 26px; height: 26px; }
.outlet-chat-fab .outlet-chat-item__dot { top: 4px; right: 4px; }
.outlet-app-standalone .outlet-chat-fab,
.outlet-filter-open .outlet-chat-fab { display: none; }
@media (min-width: 668px) {
  .outlet-chat-fab { right: 20px; bottom: 20px; width: 60px; height: 60px; }
}
@media print {
  .outlet-chat-fab { display: none; }
}
.outlet-chat-item__dot {
  position: absolute;
  top: 2px;
  right: -4px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #e0245e;
}
.outlet-chat-item__dot[hidden] { display: none; }

/* Popup regalo di Omnisend: non nell'app e non nella pagina di accesso */
.outlet-app-standalone #omnisend-forms-container,
body.woocommerce-account #omnisend-forms-container { display: none !important; }

/* Accesso con codice (pagina "Mitt konto" per chi non ha fatto l'accesso, includes/login.php).
   Telefono: riquadro e sotto i vantaggi del conto; computer: uno accanto all'altro. */
.outlet-login,
.outlet-acc,
.outlet-profile {
  --oa-line: #ebe7e1;
  --oa-soft: #f7f5f2;
  --oa-muted: #736d66;
  --oa-ink: #111;
}
.outlet-login { display: grid; gap: 22px; max-width: 440px; margin: 8px auto 40px; color: var(--oa-ink); }
.outlet-login__card { padding: 26px 20px 20px; border: 1px solid var(--oa-line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .05); }
.outlet-login__icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--outlet-accent, #111); color: var(--outlet-on-accent, #fff); }
.outlet-login__icon svg { width: 24px; height: 24px; }
.outlet-login h2 { margin: 16px 0 6px; font-size: 24px; line-height: 1.2; letter-spacing: -.01em; text-transform: none; font-weight: 700; }
.outlet-login__intro { margin: 0 0 20px; color: var(--oa-muted); font-size: 15px; line-height: 1.5; }
.outlet-login.is-code .outlet-login__intro { display: none; }
.outlet-login__step p { margin: 0 0 16px; color: var(--oa-muted); font-size: 15px; line-height: 1.5; }
.outlet-login__step p strong { color: var(--oa-ink); }
.outlet-login label { display: block; margin: 0 0 6px; color: var(--oa-ink); font-size: 14px; font-weight: 600; }
.outlet-login input[type="email"] {
  width: 100%;
  height: 52px;
  margin: 0 0 12px;
  padding: 0 14px;
  border: 1px solid #d9d4cc;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  font-size: 17px; /* sotto i 16px iPhone ingrandisce la pagina */
}
.outlet-login input[type="email"]:focus { border-color: var(--outlet-ink, #111); outline: 0; box-shadow: 0 0 0 3px rgba(0, 0, 0, .06); }
/* Codice: sei caselle disegnate; sotto c'è un solo campo vero (trasparente), così iPhone propone il codice dalla mail. */
.outlet-code { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 0 0 14px; }
.outlet-code span { display: flex; align-items: center; justify-content: center; height: 56px; border: 1px solid #d9d4cc; border-radius: 12px; background: #fff; font-size: 24px; font-weight: 700; }
.outlet-code span.is-active { border-color: var(--outlet-ink, #111); box-shadow: 0 0 0 3px rgba(0, 0, 0, .06); }
.outlet-login .outlet-code input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: transparent;
  caret-color: transparent;
  font-size: 16px;
  letter-spacing: 0;
}
.outlet-code input::selection { background: transparent; }
.outlet-login__step button[type="submit"] {
  display: block;
  width: 100%;
  min-height: 52px;
  margin: 0 0 12px;
  padding: 14px;
  border: 0;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0;
}
.outlet-login__step button[disabled] { opacity: 0.5; }
.outlet-login__links { display: flex; justify-content: center; gap: 18px; margin: 4px 0 0 !important; }
.outlet-login__link {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: none;
  letter-spacing: 0;
  min-height: 0;
  cursor: pointer;
}
.outlet-login__message { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #eef7ee; font-size: 14px; }
.outlet-login__message.is-error { background: #fdecec; color: #a00; }
.outlet-login__message[hidden], .outlet-login-classic[hidden], .outlet-login__step[hidden] { display: none; }
.outlet-login__privacy { margin: 6px 0 0; color: var(--oa-muted); font-size: 12.5px; text-align: center; }
.outlet-login__privacy a { color: inherit; text-decoration: underline; }
.outlet-login__alt { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--oa-line); text-align: center; }
.outlet-login.is-busy { cursor: progress; }
.outlet-login__perks { margin: 0; padding: 0 6px; }
.outlet-login__perks h3 { margin: 0 0 16px; font-size: 17px; text-transform: none; letter-spacing: 0; font-weight: 700; }
.outlet-login__perks ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.outlet-login__perks li { display: flex; align-items: center; gap: 14px; margin: 0; }
.outlet-login__perks svg { flex: none; width: 22px; height: 22px; padding: 11px; box-sizing: content-box; border-radius: 14px; background: var(--oa-soft); }
.outlet-login__perks b { display: block; font-size: 15px; line-height: 1.3; }
.outlet-login__perks small { display: block; color: var(--oa-muted); font-size: 13.5px; line-height: 1.35; }
@media (min-width: 850px) {
  .outlet-login { grid-template-columns: minmax(0, 440px) minmax(0, 360px); justify-content: center; align-items: center; gap: 48px; max-width: none; margin: 24px auto 56px; }
  .outlet-login__card { padding: 34px 32px 26px; }
  .outlet-login__perks { padding: 32px; border-radius: 20px; background: var(--oa-soft); }
  .outlet-login__perks svg { background: #fff; }
}
/* Modulo classico con password (sotto "Logga in med lösenord"): stessa larghezza. */
.outlet-login-classic { max-width: 900px; margin: 0 auto 40px; }

/* ---------- Aspetto "da app": solo con l'app installata (classe su <html>) ---------- */

.outlet-app-standalone body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }


/* Pannelli laterali del tema (mini-carrello): finiscono sopra la barra in basso, così "Kassan" si vede. */
.outlet-app-standalone .off-canvas .mfp-content { bottom: calc(58px + env(safe-area-inset-bottom)); height: auto; }
.outlet-app-standalone .off-canvas .cart-popup-inner--sticky { min-height: calc(100vh - 58px - env(safe-area-inset-bottom)); min-height: calc(100lvh - 58px - env(safe-area-inset-bottom)); }
/* Taglia e altre scelte del prodotto (plugin WCPA) nel mini-carrello, nel carrello e alla cassa: su una
   riga sotto il nome ("Storlek: 39 EU"). Il plugin le mette in colonna e il valore, schiacciato, andava a
   capo ("39" / "EU"). !important: il CSS del plugin e del tema arriva dopo il nostro. */
ul.wcpa_cart_meta { display: block !important; margin: 3px 0 0 !important; padding: 0 !important; list-style: none !important; color: #736d66; font-size: 13px; line-height: 1.35; }
ul.wcpa_cart_meta li.wcpa_cart_meta_item { display: block !important; width: auto !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
ul.wcpa_cart_meta .wcpa_cart_meta_item-label,
ul.wcpa_cart_meta .wcpa_cart_meta_item-value,
ul.wcpa_cart_meta .wcpa_cart_meta_item-value p { display: inline !important; width: auto !important; min-width: 0 !important; max-width: none !important; margin: 0 !important; padding: 0 !important; color: inherit !important; font-size: inherit !important; font-weight: 400 !important; line-height: inherit !important; white-space: normal !important; }
ul.wcpa_cart_meta .wcpa_cart_meta_item-value { margin-left: 4px !important; }

/* Mini-carrello, app e sito: codice sconto (includes/minicart.php). 16px: l'iPhone non ingrandisce la pagina. */
.outlet-mini-coupon { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.outlet-mini-coupon input[name="coupon_code"] { flex: 1; min-width: 0; height: 42px; margin: 0; font-size: 16px; }
.outlet-mini-coupon button[type="submit"] { flex: none; height: 42px; min-height: 0; margin: 0; padding: 0 16px; line-height: 1; }
.outlet-mini-coupon.is-busy { opacity: .5; pointer-events: none; }
.outlet-mini-coupon__msg { flex-basis: 100%; margin: 0; color: #2e7d32; font-size: 13px; line-height: 1.4; }
.outlet-mini-coupon__msg.is-error { color: #c62828; }
.outlet-mini-coupon__msg[hidden] { display: none; }
.widget_shopping_cart .outlet-mini-discount, .widget_shopping_cart .outlet-mini-total { margin-top: 0; border-top: 0; }
.widget_shopping_cart .outlet-mini-discount strong { font-weight: 400; }
.outlet-mini-coupon__remove { min-height: 0; margin: 0 0 0 6px; padding: 0 4px; border: 0; background: none; color: #999; font-size: 16px; font-weight: 400; line-height: 1; cursor: pointer; }
/* Prezzo app nel carrello e nel mini-carrello (chi ha lo sconto app). */
.outlet-cart-price .outlet-app-was { margin-right: 4px; }

/* In alto resta il logo: menu, cerca, profilo e carrello sono nella barra in basso. */
.outlet-app-standalone #masthead .mobile-nav .nav-icon,
.outlet-app-standalone #masthead .mobile-nav .cart-item,
.outlet-app-standalone #header .header-search,
.outlet-app-standalone #header .account-item,
.outlet-app-standalone #top-link { display: none !important; }

/* Ancorata dall'ALTO all'altezza fissa dello schermo (100lvh, non cambia con la tastiera):
   su iPhone le barre con "bottom: 0" restavano a metà schermo dopo la tastiera, con i tocchi spostati.
   Nascosta fuori dall'app; le regole base sono anche nel <head> (outlet_app_print_splash). */
.outlet-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  top: calc(100vh - 58px - env(safe-area-inset-bottom));
  top: calc(100lvh - 58px - env(safe-area-inset-bottom));
  bottom: auto;
  height: calc(58px + env(safe-area-inset-bottom));
  box-sizing: border-box;
  z-index: 9999;
  display: none;
  justify-content: space-around;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  border-top: 1px solid #e7e7e7;
  /* Bianco pieno, senza sfocatura: su iPhone la sfocatura ricalcolata a ogni scroll fa scattare la barra. */
  background: #fff;
}
.outlet-app-standalone .outlet-tabbar { display: flex; }
.outlet-tabbar__tab {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 4px 0;
  border: 0;
  background: none;
  color: #8a8a8a;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  min-height: 0;
  box-shadow: none;
}
.outlet-tabbar__tab svg { width: 23px; height: 23px; }
/* Tocco: risposta immediata (niente attesa per il doppio tocco, niente riquadro grigio di iOS). */
.outlet-tabbar__tab { touch-action: manipulation; -webkit-tap-highlight-color: transparent; cursor: pointer; }
.outlet-tabbar__tab:active { opacity: .5; }
/* Dopo il tocco il pulsante resta "selezionato": niente riquadro grigio del tema (solo con la tastiera). */
.outlet-tabbar__tab:focus { outline: none; background: none; box-shadow: none; }
.outlet-tabbar__tab:focus-visible { outline: 2px solid #111; outline-offset: -2px; }
/* Anteprima dei messaggi non letti di Chatwoot (disattivata, ma per esempio un messaggio automatico
   può mostrarla): nell'app sopra la barra, non sopra i suoi pulsanti. */
.outlet-app-standalone .woot-widget-holder.has-unread-view { bottom: calc(64px + env(safe-area-inset-bottom)) !important; }
/* Chat toccata mentre carica: l'icona pulsa finché si apre. */
.outlet-tabbar__tab.is-waiting svg, .outlet-chat-fab.is-waiting svg { animation: outlet-wait 1s ease-in-out infinite; }
@keyframes outlet-wait { 50% { opacity: .25; } }
.outlet-tabbar__tab.is-on { color: #111; font-weight: 700; }
.outlet-tabbar__tab.is-on svg { stroke-width: 2.4; }
.outlet-tabbar__badge {
  position: absolute;
  top: 0;
  left: calc(50% + 4px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.outlet-tabbar__badge[hidden] { display: none; }
.outlet-tabbar .outlet-chat-item__dot {
  position: absolute;
  top: 2px;
  left: calc(50% + 6px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e0342f;
}
.outlet-tabbar .outlet-chat-item__dot[hidden] { display: none; }

/* Pannello Utforska */
.outlet-explore {
  position: fixed;
  inset: 0 0 calc(64px + env(safe-area-inset-bottom)) 0;
  z-index: 9998;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: calc(8px + env(safe-area-inset-top)) 16px 24px;
  background: #fff;
}
.outlet-explore[hidden] { display: none; }
.outlet-explore-open body { overflow: hidden; }
/* Sito (fuori dall'app): i pannelli si aprono dalle icone Cerca e Profilo dell'header (outlet-nav.js).
   Telefono: tutto schermo (non c'è la barra in basso); computer: a destra, con la pagina scurita. */
html:not(.outlet-app-standalone) .outlet-explore { bottom: 0; }
.outlet-explore-shade { display: none; position: fixed; inset: 0; z-index: 9997; background: rgba(0, 0, 0, .4); }
@media (min-width: 850px) {
  html:not(.outlet-app-standalone) .outlet-explore { left: auto; width: 440px; padding: 20px 24px 28px; box-shadow: -10px 0 40px rgba(0, 0, 0, .14); }
  .outlet-explore-open .outlet-explore-shade { display: block; }
}
.outlet-explore__head { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 12px; }
.outlet-explore__head b { font-size: 20px; }
.outlet-explore__close { margin: 0; padding: 0 6px; border: 0; background: none; color: #111; font-size: 28px; line-height: 1; min-height: 0; }
.outlet-explore__search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 12px;
  border-radius: 12px;
  background: #f5f5f3;
  color: #6b6b6b;
}
.outlet-explore__search svg { flex: none; width: 18px; height: 18px; }
.outlet-explore__search input[type="search"] {
  flex: 1;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 16px; /* 16px: iPhone non ingrandisce la pagina */
}
.outlet-explore__title { margin: 22px 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.outlet-explore__cats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.outlet-explore__cat {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 76px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5f5f3;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.outlet-explore__cat em { position: absolute; top: 9px; right: 11px; color: #6b6b6b; font-size: 11px; font-style: normal; font-weight: 500; }
.outlet-explore__cat.is-dark { background: #111; color: #fff; }
.outlet-explore__cat.is-dark em { color: #bbb; }
/* Con la foto: prodotto a destra (il fondo bianco della foto sparisce nel grigio), numero e nome a sinistra. */
.outlet-explore__cat.has-img img { position: absolute; top: 6px; right: 6px; width: 64px; height: 64px; max-width: none; object-fit: contain; mix-blend-mode: multiply; }
.outlet-explore__cat.has-img em { right: auto; left: 12px; }
.outlet-explore__cat span { position: relative; z-index: 1; }
.outlet-explore__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.outlet-explore__chip { padding: 8px 13px; border: 1px solid #e0e0e0; border-radius: 20px; color: #111; font-size: 13px; font-weight: 500; text-decoration: none; }
.outlet-explore__seasons { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.outlet-explore__season {
  position: relative;
  display: flex;
  flex: none;
  align-items: flex-end;
  width: 140px;
  height: 92px;
  padding: 10px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(160deg, #d9d3c7, #9d9382);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.outlet-explore__season img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* Velo scuro in basso: il nome si legge anche su foto chiare (prodotti su fondo bianco). */
.outlet-explore__season.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0) 65%); }
.outlet-explore__season span { position: relative; z-index: 1; }

/* Ricerca istantanea in Utforska (outlet-nav.js, includes/search.php) */
.outlet-explore.is-searching > :not(.outlet-explore__head):not(.outlet-explore__search):not(.outlet-search) { display: none !important; }
.outlet-explore__search input[type="search"]:focus { outline: none; box-shadow: none; }
.outlet-search:empty { display: none; }
.outlet-search { padding-bottom: 8px; }
.outlet-search__title { margin: 18px 0 6px; color: #111; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.outlet-search__row,
.outlet-search__product { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f2f2f2; color: #111 !important; text-decoration: none !important; -webkit-tap-highlight-color: transparent; }
.outlet-search__row:active, .outlet-search__product:active { opacity: .55; }
.outlet-search__name { flex: 1; font-size: 15px; font-weight: 600; }
.outlet-search__row em { color: #8a8a8a; font-size: 12px; font-style: normal; white-space: nowrap; }
.outlet-search__product img, .outlet-search__noimg { flex: none; width: 52px; height: 52px; border-radius: 8px; background: #f5f5f3; object-fit: contain; mix-blend-mode: multiply; }
.outlet-search__product b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.outlet-search__product small { display: block; margin-top: 2px; color: #6b6b6b; font-size: 13px; }
.outlet-search__none { margin: 6px 0; color: #6b6b6b; font-size: 14px; }
.outlet-search__wait i { display: block; height: 52px; margin: 8px 0; border-radius: 8px; background: linear-gradient(90deg, #f5f5f3 25%, #ececea 50%, #f5f5f3 75%) 0 0 / 200% 100%; animation: outlet-shimmer 1.2s linear infinite; }
@keyframes outlet-shimmer { to { background-position: -200% 0; } }
.outlet-search__all { display: block; width: 100%; min-height: 0; margin: 14px 0 0; padding: 13px; border: 1px solid #111; border-radius: 999px; background: #fff; color: #111; font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none; cursor: pointer; }

/* Pannello Profil (si apre subito dalla barra dell'app) */
.outlet-profile-panel .outlet-profile { display: block; }
.outlet-profile-panel__wait { height: 220px; margin-top: 14px; border-radius: 14px; background: linear-gradient(90deg, #f5f5f3 25%, #ececea 50%, #f5f5f3 75%) 0 0 / 200% 100%; animation: outlet-shimmer 1.2s linear infinite; }

/* ---------- Mitt konto, sito e app (includes/account.php, templates/) ---------- */

/* Menu, titolo e bacheca del tema: li sostituiscono i nostri. Flatsome: fascia "Mein Konto",
   colonna a sinistra con avatar e voci, riquadri della bacheca. */
.outlet-account-home .my-account-header,
.outlet-account-sub .my-account-header,
.outlet-account-guest .my-account-header,
.outlet-account-home .account-user,
.outlet-account-sub .account-user,
.outlet-account-home .account-nav,
.outlet-account-sub .account-nav,
.outlet-account-home .woocommerce-MyAccount-navigation,
.outlet-account-sub .woocommerce-MyAccount-navigation,
.outlet-account-home .dashboard-links { display: none !important; }
/* La colonna del menu di Flatsome resta vuota: il contenuto prende tutta la larghezza. */
.outlet-account-home .col:has(.account-nav):not(:has(.outlet-acc)),
.outlet-account-sub .col:has(.account-nav):not(:has(.outlet-acc)) { display: none; }
.outlet-account-home .col:has(.account-nav):not(:has(.outlet-acc)) ~ .col,
.outlet-account-sub .col:has(.account-nav):not(:has(.outlet-acc)) ~ .col { flex-basis: 100%; max-width: 100%; border-left: 0; }
/* WooCommerce e Storefront: il contenuto è a destra del menu (che ora non c'è). */
body.outlet-account-home .woocommerce-MyAccount-content,
body.outlet-account-sub .woocommerce-MyAccount-content { float: none; width: auto; max-width: none; margin: 0; padding: 0; }
.outlet-app-standalone .woocommerce-account .page-title { display: none !important; }
/* Storefront e temi simili: il titolo della pagina farebbe doppio con il nostro. */
.outlet-account-home .entry-header,
.outlet-account-sub .entry-header { display: none; }

.outlet-acc { max-width: 1080px; margin: 0 auto; color: var(--oa-ink); }
.outlet-acc__side { display: none; }
.outlet-acc__main { min-width: 0; }
.outlet-acc a, .outlet-profile a { text-decoration: none !important; }

/* Pagine interne: "‹ Profil" e titolo. */
.outlet-acc__head { margin: 4px 0 18px; }
.outlet-acc__back { display: inline-block; margin: 0 0 6px; color: var(--oa-muted) !important; font-size: 14px; font-weight: 600; }
.outlet-acc__head h1 { margin: 0; color: var(--oa-ink); font-size: 26px; line-height: 1.2; letter-spacing: -.01em; text-transform: none; font-weight: 700; }

/* Profilo */
.outlet-profile { display: block; color: var(--oa-ink); }
.outlet-profile__hello { display: flex; align-items: center; gap: 14px; margin: 4px 0 16px; }
.outlet-profile__hello b { display: block; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; }
.outlet-profile__hello span { display: block; overflow: hidden; color: var(--oa-muted); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.outlet-profile__hello > div { min-width: 0; }
.outlet-profile__avatar {
  display: flex !important;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #111;
  color: #fff !important;
  font-size: 21px !important;
  font-weight: 700;
}
.outlet-profile__perk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  background: #111;
  background-image: radial-gradient(circle at 100% 0, rgba(255, 255, 255, .35), transparent 60%);
  color: #fff;
}
.outlet-profile__perk small { display: block; font-size: 13px; line-height: 1.35; opacity: .8; }
.outlet-profile__perk b { display: block; margin: 2px 0; font-size: 26px; line-height: 1.15; letter-spacing: -.01em; }
.outlet-profile__pill { flex: none; margin: 0; padding: 7px 14px; border: 0; border-radius: 20px; background: #fff; color: #111; font-size: 13px; font-weight: 700; line-height: 1.3; min-height: 0; text-transform: none; letter-spacing: .02em; cursor: pointer; }
.outlet-profile__desk { display: none !important; }
/* Computer: l'app si installa dal telefono. */
@media (hover: hover) and (pointer: fine) {
  .outlet-profile__pill--install { display: none; }
  .outlet-profile__desk { display: block !important; max-width: 150px; text-align: right; }
}
.outlet-profile__section { margin-top: 24px; }
.outlet-profile__title { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 10px; }
.outlet-profile__title h3 { margin: 0; color: var(--oa-ink); font-size: 17px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.outlet-profile__title a { flex: none; color: var(--oa-muted) !important; font-size: 14px; font-weight: 600; white-space: nowrap; }
.outlet-profile__list { margin-top: 24px; overflow: hidden; border: 1px solid var(--oa-line); border-radius: 18px; background: #fff; }
.outlet-profile__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid var(--oa-line);
  border-radius: 0;
  background: #fff;
  color: var(--oa-ink) !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  min-height: 0;
  cursor: pointer;
}
.outlet-profile__row:last-child { border-bottom: 0; }
.outlet-profile__row > svg { flex: none; width: 21px; height: 21px; padding: 10px; box-sizing: content-box; border-radius: 12px; background: var(--oa-soft); }
.outlet-profile__label { flex: 1; min-width: 0; }
.outlet-profile__label small { display: block; margin-top: 2px; overflow: hidden; color: var(--oa-muted); font-size: 13px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.outlet-profile__go { flex: none; width: 8px; height: 8px; margin-right: 4px; border-top: 2px solid #c4beb6; border-right: 2px solid #c4beb6; transform: rotate(45deg); }
.outlet-profile__state { flex: none; font-size: 12px; font-weight: 700; }
.outlet-profile__state:empty,
.outlet-profile__state:not(:empty) + .outlet-profile__go { display: none; }
.outlet-profile__state.is-on { color: #1f7a4d; }
.outlet-profile__state.is-off { color: #c0392b; }
.outlet-profile__logout { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 8px; padding: 13px; border: 1px solid var(--oa-line); border-radius: 999px; color: var(--oa-muted) !important; font-size: 15px; font-weight: 600; }
.outlet-profile__logout svg { width: 18px; height: 18px; }

/* Ordini: scheda (profilo ed elenco), stato, tappe, foto */
.outlet-order { display: block; padding: 16px; border: 1px solid var(--oa-line); border-radius: 18px; background: #fff; color: var(--oa-ink) !important; transition: border-color .15s, box-shadow .15s; }
.outlet-order:hover { border-color: #d9d3ca; box-shadow: 0 6px 20px rgba(0, 0, 0, .06); }
.outlet-order__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.outlet-order__top b { font-size: 16px; }
.outlet-order__meta { display: block; margin-top: 2px; color: var(--oa-muted); font-size: 13px; }
.outlet-order-head .outlet-order__meta { margin: 0; font-size: 14px; }
.outlet-thumbs { display: flex; gap: 8px; margin: 14px 0; }
.outlet-thumb { display: flex; flex: none; align-items: center; justify-content: center; width: 56px; height: 56px; overflow: hidden; border-radius: 10px; background: var(--oa-soft); }
.outlet-thumb img { width: 100% !important; height: 100% !important; margin: 0 !important; object-fit: cover; mix-blend-mode: multiply; }
.outlet-thumb--more { color: var(--oa-muted); font-size: 14px; font-weight: 700; }
.outlet-order__foot { display: flex; align-items: baseline; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--oa-line); color: var(--oa-muted); font-size: 14px; }
.outlet-order__foot b { color: var(--oa-ink); font-size: 16px; }
.outlet-status { flex: none; padding: 4px 10px; border-radius: 20px; background: #f0eeea; color: #4a4640; font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.outlet-status.is-completed { background: #e6f4ea; color: #1d6b40; }
.outlet-status.is-processing,
.outlet-status.is-on-hold { background: #fdf1dc; color: #8a5a00; }
.outlet-status.is-pending,
.outlet-status.is-failed { background: #fdecea; color: #a3261b; }
.outlet-steps { display: flex; max-width: 460px; margin: 2px 0 14px; padding: 0; list-style: none; }
.outlet-steps li { position: relative; flex: 1; margin: 0; padding-top: 20px; color: var(--oa-muted); font-size: 12px; line-height: 1.3; text-align: center; }
.outlet-steps li::before { content: ''; position: absolute; top: 5px; left: -50%; width: 100%; height: 2px; background: #e3dfd8; }
.outlet-steps li:first-child::before { display: none; }
.outlet-steps i { position: absolute; top: 0; left: 50%; z-index: 1; width: 12px; height: 12px; margin-left: -6px; box-sizing: border-box; border: 2px solid #d6d1ca; border-radius: 50%; background: #fff; }
.outlet-steps .is-done,
.outlet-steps .is-now { color: var(--oa-ink); font-weight: 600; }
.outlet-steps .is-done::before,
.outlet-steps .is-now::before { background: #111; }
.outlet-steps .is-done i { border-color: #111; background: #111; }
.outlet-steps .is-now i { border-color: #111; }
.outlet-steps .is-now i::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; background: var(--outlet-accent, #111); opacity: .35; animation: outlet-step 1.6s ease-out infinite; }
@keyframes outlet-step { from { transform: scale(.6); opacity: .5; } to { transform: scale(1.3); opacity: 0; } }
.outlet-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 28px 20px; border: 1px dashed #ddd6cc; border-radius: 18px; text-align: center; }
.outlet-empty svg { width: 28px; height: 28px; margin-bottom: 8px; padding: 14px; box-sizing: content-box; border-radius: 50%; background: var(--oa-soft); }
.outlet-empty b { font-size: 16px; }
.outlet-empty span { max-width: 320px; color: var(--oa-muted); font-size: 14px; line-height: 1.45; }
.outlet-empty__btn { margin-top: 12px; padding: 12px 24px; border-radius: 999px; background: #111; color: #fff !important; font-size: 15px; font-weight: 700; }

/* Elenco ordini */
.outlet-orders { display: grid; gap: 12px; }
.outlet-orders__item { display: flex; flex-direction: column; }
.outlet-orders__item .outlet-order { flex: 1; }
.outlet-orders__actions { display: flex; gap: 8px; margin-top: 8px; }
.outlet-orders__actions .button { flex: 1; min-height: 0; margin: 0 !important; padding: 10px 14px; border: 1px solid var(--oa-line); border-radius: 999px; background: #fff; color: var(--oa-ink); font-size: 14px; font-weight: 600; line-height: 1.3; text-align: center; text-transform: none; letter-spacing: 0; }
.outlet-orders__actions .button.pay { border-color: #111; background: #111; color: #fff; }
.outlet-orders__pages { display: flex; justify-content: space-between; margin-top: 18px; }
.outlet-orders__pages a { padding: 10px 18px; border: 1px solid var(--oa-line); border-radius: 999px; color: var(--oa-ink) !important; font-size: 14px; font-weight: 600; }
.outlet-orders__pages a:only-child { margin-left: auto; }

/* Dettaglio ordine: in alto stato e aggiornamenti, poi le parti di WooCommerce come schede. */
.outlet-order-head { margin: 0 0 14px; padding: 16px 16px 4px; border: 1px solid var(--oa-line); border-radius: 18px; }
.outlet-order-head .outlet-steps { margin-top: 18px; }
.outlet-order-head:not(:has(.outlet-steps)) { padding-bottom: 16px; }
.outlet-updates { margin: 0 0 14px; padding: 16px; border-radius: 18px; background: var(--oa-soft); }
.outlet-updates h2 { margin: 0 0 12px; font-size: 16px; text-transform: none; letter-spacing: 0; font-weight: 700; }
.outlet-updates ol { margin: 0; padding: 0; list-style: none; }
.outlet-updates li { position: relative; margin: 0 0 0 5px; padding: 0 0 14px 18px; border-left: 2px solid #e1dcd4; }
.outlet-updates li:last-child { padding-bottom: 0; border-left-color: transparent; }
.outlet-updates li::before { content: ''; position: absolute; top: 3px; left: -6px; width: 10px; height: 10px; border-radius: 50%; background: #111; }
.outlet-updates time { display: block; margin-bottom: 2px; color: var(--oa-muted); font-size: 12.5px; }
.outlet-updates p { margin: 0; font-size: 14.5px; line-height: 1.45; word-break: break-word; }
.outlet-acc .woocommerce-order-details,
.outlet-acc .woocommerce-customer-details { margin: 0 0 14px; }
.outlet-acc .woocommerce-order-details__title,
.outlet-acc .woocommerce-column__title,
.outlet-acc .woocommerce-customer-details h2 { margin: 22px 0 10px; font-size: 16px; text-transform: none; letter-spacing: 0; font-weight: 700; }
.outlet-acc table.woocommerce-table--order-details { width: 100%; margin: 0; overflow: hidden; border: 1px solid var(--oa-line); border-collapse: separate; border-spacing: 0; border-radius: 18px; }
.outlet-acc .woocommerce-table--order-details th,
.outlet-acc .woocommerce-table--order-details td { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--oa-line); background: #fff; font-size: 14.5px; line-height: 1.4; vertical-align: top; }
.outlet-acc .woocommerce-table--order-details thead th { padding-top: 10px; padding-bottom: 10px; background: var(--oa-soft); color: var(--oa-muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.outlet-acc .woocommerce-table--order-details td.product-name { overflow: hidden; }
.outlet-acc .woocommerce-table--order-details td.product-name .outlet-thumb { float: left; margin: 0 12px 0 0; }
.outlet-acc .woocommerce-table--order-details td.product-name a { color: var(--oa-ink) !important; font-weight: 600; }
.outlet-acc .woocommerce-table--order-details .product-quantity { color: var(--oa-muted); font-weight: 400; }
.outlet-acc .woocommerce-table--order-details .wc-item-meta { margin: 4px 0 0; padding: 0; color: var(--oa-muted); font-size: 13px; list-style: none; }
.outlet-acc .woocommerce-table--order-details .wc-item-meta p { display: inline; margin: 0; }
.outlet-acc .woocommerce-table--order-details td.product-total,
.outlet-acc .woocommerce-table--order-details tfoot td { text-align: right; white-space: nowrap; }
.outlet-acc .woocommerce-table--order-details tfoot th { color: var(--oa-muted); font-weight: 400; }
.outlet-acc .woocommerce-table--order-details tfoot tr:last-child th,
.outlet-acc .woocommerce-table--order-details tfoot tr:last-child td { border-bottom: 0; }
.outlet-acc .woocommerce-table--order-details tfoot tr:nth-last-child(2) th,
.outlet-acc .woocommerce-table--order-details tfoot tr:nth-last-child(2) td { color: var(--oa-ink); font-size: 16px; font-weight: 700; }
.outlet-acc .woocommerce-table--order-details tfoot tr:has(+ tr:last-child th:empty) th { color: var(--oa-ink); }
.outlet-acc .order-again { margin: 14px 0 0; }
.outlet-acc .woocommerce-customer-details .col2-set,
.outlet-acc .woocommerce-columns--addresses { display: grid; gap: 12px; margin: 0; }
.outlet-acc .woocommerce-customer-details .col2-set::before,
.outlet-acc .woocommerce-customer-details .col2-set::after { display: none; }
.outlet-acc .woocommerce-customer-details .col2-set > .col-1,
.outlet-acc .woocommerce-customer-details .col2-set > .col-2,
.outlet-acc .woocommerce-column { float: none; width: auto; max-width: none; margin: 0; padding: 0; }
.outlet-acc .woocommerce-column .woocommerce-column__title { margin-top: 8px; }
.outlet-acc .woocommerce-customer-details address { margin: 0; padding: 14px 16px; border: 1px solid var(--oa-line); border-radius: 18px; color: var(--oa-ink); font-style: normal; font-size: 14.5px; line-height: 1.6; }
.outlet-acc .woocommerce-customer-details address p { margin: 4px 0 0; }

/* Indirizzi */
.outlet-acc .woocommerce-MyAccount-content > p:first-child,
.outlet-acc__main > p:first-of-type { color: var(--oa-muted); font-size: 14.5px; }
.outlet-acc .woocommerce-Addresses { display: grid; gap: 12px; margin: 0; }
.outlet-acc .woocommerce-Addresses::before,
.outlet-acc .woocommerce-Addresses::after { display: none; }
.outlet-acc .woocommerce-Address { float: none !important; width: auto !important; max-width: none; margin: 0 !important; padding: 16px; border: 1px solid var(--oa-line); border-radius: 18px; }
.outlet-acc .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; padding: 0; border: 0; }
.outlet-acc .woocommerce-Address-title::before,
.outlet-acc .woocommerce-Address-title::after { display: none; }
.outlet-acc .woocommerce-Address-title h2,
.outlet-acc .woocommerce-Address-title h3 { margin: 0; font-size: 16px; text-transform: none; letter-spacing: 0; font-weight: 700; }
.outlet-acc .woocommerce-Address-title .edit { float: none; flex: none; padding: 6px 12px; border: 1px solid var(--oa-line); border-radius: 999px; color: var(--oa-ink) !important; font-size: 13px; font-weight: 600; }
.outlet-acc .woocommerce-Address address { margin: 0; color: var(--oa-muted); font-style: normal; font-size: 14.5px; line-height: 1.6; }

/* Moduli (dati del conto, indirizzi) */
.outlet-acc__main form.woocommerce-EditAccountForm,
.outlet-acc__main form:has(.woocommerce-address-fields) { max-width: 640px; }
.outlet-acc__main form .input-text,
.outlet-acc__main form select { min-height: 48px; border-radius: 12px; font-size: 16px; }
.outlet-acc__main form textarea.input-text { min-height: 90px; }
.outlet-acc__main form label { font-size: 14px; font-weight: 600; }
.outlet-acc__main fieldset { margin: 18px 0; padding: 16px; border: 1px solid var(--oa-line); border-radius: 18px; }
.outlet-acc__main fieldset legend { width: auto; margin: 0; padding: 0 6px; border: 0; color: var(--oa-ink); font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.outlet-acc__main form em { color: var(--oa-muted); font-size: 13px; font-style: normal; }
/* Avvisi di WooCommerce dentro il conto (es. "Bekräfta e-postadress"), come una scheda. */
.outlet-acc__main .woocommerce-info,
.outlet-acc__main .woocommerce-message,
.outlet-acc__main .woocommerce-error { margin: 0 0 14px; padding: 14px 16px; border: 0; border-radius: 16px; background: var(--oa-soft); color: var(--oa-ink); font-size: 14.5px; line-height: 1.45; }
.outlet-acc__main .woocommerce-error { background: #fdecec; }
.outlet-acc__main .woocommerce-info .button,
.outlet-acc__main .woocommerce-message .button { float: right; min-height: 0; margin: 0 0 6px 12px; padding: 7px 14px; border-radius: 999px; font-size: 13px; line-height: 1.3; letter-spacing: 0; text-transform: none; }
.outlet-acc__main form button[type="submit"],
.outlet-acc__main .order-again .button {
  min-height: 50px;
  margin: 8px 0 0;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}
@media (max-width: 849px) {
  .outlet-acc__main form button[type="submit"] { width: 100%; }
}

/* Computer: menu a sinistra, contenuto a destra; schede in colonne. */
@media (min-width: 850px) {
  .outlet-acc { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: start; gap: 48px; padding: 16px 0 48px; }
  .outlet-acc__side { position: sticky; top: 110px; display: block; }
  .outlet-acc__me { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 0 4px 18px; border-bottom: 1px solid var(--oa-line); }
  .outlet-acc__me .outlet-profile__avatar { width: 44px; height: 44px; font-size: 17px !important; }
  .outlet-acc__me > div { min-width: 0; }
  .outlet-acc__me b { display: block; overflow: hidden; font-size: 15px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
  .outlet-acc__me span { display: block; overflow: hidden; color: var(--oa-muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
  .outlet-acc__nav a,
  .outlet-acc__nav button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0 0 2px;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    background: none;
    color: var(--oa-ink) !important;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    min-height: 0;
    cursor: pointer;
  }
  .outlet-acc__nav svg { flex: none; width: 20px; height: 20px; }
  .outlet-acc__nav a:hover,
  .outlet-acc__nav button:hover { background: var(--oa-soft); }
  .outlet-acc__nav a.is-on { background: var(--oa-soft); font-weight: 700; box-shadow: inset 3px 0 0 var(--outlet-accent, #111); }
  .outlet-acc__nav .outlet-profile__logout { justify-content: flex-start; margin-top: 12px; padding: 10px 12px; border: 0; border-radius: 12px; color: var(--oa-muted) !important; font-weight: 500; }
  .outlet-acc__back.is-profile { display: none; }
  .outlet-acc__head { margin-top: 0; }
  .outlet-acc__head h1 { font-size: 30px; }
  .outlet-acc .outlet-profile__hello { margin-top: 0; }
  .outlet-acc .outlet-profile__hello .outlet-profile__avatar { display: none !important; }
  .outlet-acc .outlet-profile__hello b { font-size: 30px; }
  .outlet-acc .outlet-profile__perk { padding: 22px 24px; }
  .outlet-acc .outlet-profile__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; overflow: visible; border: 0; border-radius: 0; background: none; }
  .outlet-acc .outlet-profile__row { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; border: 1px solid var(--oa-line); border-radius: 18px; transition: border-color .15s, box-shadow .15s; }
  .outlet-acc .outlet-profile__row:last-child { border-bottom: 1px solid var(--oa-line); }
  .outlet-acc .outlet-profile__row:hover { border-color: #d9d3ca; box-shadow: 0 6px 20px rgba(0, 0, 0, .06); }
  .outlet-acc .outlet-profile__label { width: 100%; }
  .outlet-acc .outlet-profile__go { display: none; }
  .outlet-acc .outlet-profile__state { position: absolute; top: 18px; right: 18px; }
  .outlet-acc .outlet-profile > .outlet-profile__logout { display: none; }
  .outlet-orders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outlet-thumb { width: 64px; height: 64px; }
  .outlet-acc .woocommerce-Addresses,
  .outlet-acc .woocommerce-customer-details .col2-set,
  .outlet-acc .woocommerce-columns--addresses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.outlet-explore a, .outlet-tabbar a { text-decoration: none !important; }

/* ---------- Kassan, sito e app (includes/checkout.php) ----------
   Solo aspetto: campi e pagamenti sono quelli di WooCommerce, del tema (Flatsome) e dei plugin. */
.woocommerce-checkout {
  --oa-line: #ebe7e1;
  --oa-soft: #f7f5f2;
  --oa-muted: #736d66;
  --oa-ink: #111;
}
/* Titolo (Flatsome: Varukorg › Kassan › Ordern komplett) più leggero. */
.woocommerce-checkout .checkout-breadcrumbs { font-size: 16px; letter-spacing: .08em; }
.woocommerce-checkout .checkout-breadcrumbs a:not(.current) { opacity: .45; }
/* "Återkommande kund?", "Har en kupong?" e avviso degli sconti: righe morbide invece del testo centrato. */
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout #awdr_checkout_promotion_messages .woocommerce-message { margin: 0 0 8px; padding: 0; border: 0; background: none; }
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before { display: none; }
.woocommerce-checkout .woocommerce-form-login-toggle .message-container,
.woocommerce-checkout .woocommerce-form-coupon-toggle .message-container,
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info:not(:has(.message-container)),
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info:not(:has(.message-container)) {
  display: block;
  max-width: none;
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--oa-soft);
  color: var(--oa-muted);
  font-size: 14.5px;
  line-height: 1.45;
  text-align: left !important;
}
.woocommerce-checkout .woocommerce-form-login-toggle a,
.woocommerce-checkout .woocommerce-form-coupon-toggle a { color: var(--oa-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-checkout #awdr_checkout_promotion_messages .message-container { max-width: none; margin: 0; padding: 10px 16px; border-radius: 14px; background: #e6f4ea; color: #1d6b40; font-size: 14px; text-align: left !important; }
.woocommerce-checkout form.checkout_coupon { margin: 0 0 12px; padding: 12px; border: 1px dashed #d9d4cc; border-radius: 14px; }
.woocommerce-checkout form.checkout_coupon .input-text { min-height: 48px; border-radius: 12px; font-size: 16px; }
.woocommerce-checkout form.checkout_coupon .button { min-height: 48px; margin: 0; border-radius: 12px; text-transform: none; letter-spacing: 0; }

/* Riepilogo in alto (solo telefono): tocco = si apre lì sotto. */
.outlet-co-sum-wrap { margin: 4px 0 20px; }
.outlet-co-sum { display: block; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--oa-line); border-radius: 16px; background: var(--oa-soft); color: var(--oa-ink); }
.outlet-co-sum[hidden] { display: none; }
.outlet-co-sum__head { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 0; margin: 0; padding: 10px 14px; border: 0; border-radius: 0; background: none; color: var(--oa-ink); font: inherit; letter-spacing: 0; text-align: left; text-transform: none; cursor: pointer; }
.outlet-co-sum .outlet-thumbs { margin: 0; gap: 6px; }
.outlet-co-sum .outlet-thumb { position: relative; width: 44px; height: 44px; overflow: visible; background: #fff; }
.outlet-co-sum .outlet-thumb img { border-radius: 10px; }
.outlet-co-sum__text { flex: 1; min-width: 0; }
.outlet-co-sum__text b { display: block; font-size: 15px; line-height: 1.25; }
.outlet-co-sum__text small { display: block; color: var(--oa-muted); font-size: 13px; font-weight: 400; }
.outlet-co-sum__total { flex: none; font-size: 16px; white-space: nowrap; }
.outlet-co-sum__total::after { content: ''; display: inline-block; width: 7px; height: 7px; margin: 0 2px 3px 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .5; transition: transform .2s; }
.outlet-co-sum__body { display: none; padding: 4px 14px 14px; border-top: 1px solid var(--oa-line); background: #fff; }
.outlet-co-sum-wrap.is-open .outlet-co-sum__body { display: block; }
.outlet-co-sum-wrap.is-open .outlet-co-sum__head .outlet-thumbs { display: none; }
.outlet-co-sum-wrap.is-open .outlet-co-sum__total::after { margin-bottom: -1px; transform: rotate(-135deg); }
.outlet-co-sum__items { margin: 0; padding: 0; list-style: none; }
.outlet-co-sum__items li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--oa-line); font-size: 14.5px; line-height: 1.35; }
.outlet-co-sum__items .outlet-thumb { width: 56px; height: 56px; background: var(--oa-soft); }
.outlet-co-sum__items .outlet-thumb i { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 10px; background: var(--oa-ink); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; line-height: 20px; text-align: center; }
.outlet-co-sum__name { flex: 1; min-width: 0; font-weight: 600; }
.outlet-co-sum__name small { display: block; margin-top: 2px; color: var(--oa-muted); font-size: 13px; font-weight: 400; }
.outlet-co-sum__items b { flex: none; white-space: nowrap; }
.outlet-co-sum__rows p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 8px 0 0; color: var(--oa-muted); font-size: 14.5px; }
.outlet-co-sum__rows p span:last-child { color: var(--oa-ink); white-space: nowrap; }
.outlet-co-sum__rows .is-discount span:last-child { color: #1d6b40; }
.outlet-co-sum__rows .is-total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--oa-line); color: var(--oa-ink); font-size: 17px; font-weight: 700; }

/* Titoli e campi. 16px: sotto, l'iPhone ingrandisce la pagina quando si tocca un campo. */
form.checkout .woocommerce-billing-fields { padding-top: 0; border-top: 0; } /* Flatsome: linea grigia sopra */
/* .woocommerce-checkout davanti: le regole del tema arrivano dopo le nostre nel file unico di LiteSpeed. */
.woocommerce-checkout form.checkout h3 { margin: 4px 0 14px; color: var(--oa-ink); font-size: 18px; font-weight: 700; letter-spacing: 0; text-transform: none; }
form.checkout #order_review_heading { scroll-margin-top: 110px; }
form.checkout .form-row { margin-bottom: 14px; }
form.checkout .form-row label { margin-bottom: 6px; color: var(--oa-ink); font-size: 14px; font-weight: 600; }
form.checkout .form-row .required { color: #b3261e; text-decoration: none; }
form.checkout .input-text,
form.checkout select {
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #d9d4cc;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: none;
  color: var(--oa-ink);
  font-size: 16px;
}
form.checkout textarea.input-text { min-height: 96px; padding: 12px 14px; line-height: 1.45; }
form.checkout .input-text:focus,
form.checkout select:focus { border-color: var(--outlet-ink, #111); outline: 0; box-shadow: 0 0 0 3px rgba(0, 0, 0, .06); }
form.checkout .select2-container .select2-selection--single { display: flex; align-items: center; height: 50px; border: 1px solid #d9d4cc; border-radius: 12px; background-color: #fff; }
form.checkout .select2-container .select2-selection--single .select2-selection__rendered { padding-left: 14px; color: var(--oa-ink); font-size: 16px; line-height: 48px; }
form.checkout .select2-container .select2-selection--single .select2-selection__arrow { top: 0; right: 8px; height: 48px; }
/* Nome e cognome affiancati anche sul telefono. */
@media (min-width: 360px) {
  form.checkout .form-row-first,
  form.checkout .form-row-last { width: calc(50% - 6px); }
  form.checkout .form-row-first { float: left; clear: left; }
  form.checkout .form-row-last { float: right; clear: none; }
}
form.checkout input[type="checkbox"] { width: 20px; height: 20px; margin: 0 8px 0 0; vertical-align: -4px; accent-color: var(--outlet-accent, #111); }
form.checkout .woocommerce-form__label-for-checkbox,
form.checkout .form-row .checkbox { font-weight: 500; }

/* "Din beställning": scheda morbida (Flatsome: riquadro con bordo nero), ferma accanto ai campi sul computer. */
form.checkout .col-inner.has-border { padding: 22px 20px; border: 1px solid var(--oa-line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .05); }
form.checkout .woocommerce-checkout-review-order-table { margin: 0; border: 0; }
form.checkout .woocommerce-checkout-review-order-table thead { display: none; }
form.checkout .woocommerce-checkout-review-order-table th,
form.checkout .woocommerce-checkout-review-order-table td { padding: 12px 0; border: 0; border-bottom: 1px solid var(--oa-line); background: none; color: var(--oa-ink); font-size: 14.5px; line-height: 1.4; vertical-align: top; }
form.checkout .woocommerce-checkout-review-order-table td.product-total,
form.checkout .woocommerce-checkout-review-order-table tfoot td { text-align: right; white-space: nowrap; }
form.checkout .woocommerce-checkout-review-order-table td.product-name { padding-right: 10px; }
form.checkout .sa-fw-checkout-product { display: inline-flex; align-items: center; gap: 12px; vertical-align: middle; }
form.checkout .sa-fw-checkout-product__thumbnail { flex: none; width: 56px !important; height: 56px !important; margin: 0 !important; border-radius: 10px; background: var(--oa-soft); object-fit: cover; mix-blend-mode: multiply; }
form.checkout .sa-fw-checkout-product__name { color: var(--oa-ink); font-weight: 600; }
form.checkout .product-name .product-quantity { color: var(--oa-muted); font-weight: 400; }
form.checkout td.product-name:has(.sa-fw-checkout-product__thumbnail) { position: relative; font-size: 0; }
form.checkout td.product-name:has(.sa-fw-checkout-product__thumbnail) > *:not(.outlet-co-qty) { font-size: 13px; } /* altro aggiunto dai plugin */
form.checkout td.product-name:has(.sa-fw-checkout-product__thumbnail) .sa-fw-checkout-product { display: flex; font-size: 14.5px; }
form.checkout td.product-name:has(.sa-fw-checkout-product__thumbnail) .outlet-co-qty { position: absolute; top: 4px; left: 44px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--oa-ink); color: #fff; font-size: 0; line-height: 20px; text-align: center; }
form.checkout td.product-name:has(.sa-fw-checkout-product__thumbnail) .outlet-co-qty::after { content: attr(data-qty); font-size: 11px; font-weight: 700; }
form.checkout .wcpa_cart_meta,
form.checkout .product-name .variation { margin: 6px 0 0 68px !important; padding: 0; color: var(--oa-muted); font-size: 13px; list-style: none; }
form.checkout .wcpa_cart_meta li { margin: 0; }
form.checkout .wcpa_cart_meta p,
form.checkout .wcpa_cart_meta_item-value { display: inline; margin: 0; color: var(--oa-muted); font-size: 13px; line-height: 1.4; }
form.checkout .woocommerce-checkout-review-order-table tfoot th { color: var(--oa-muted); font-weight: 400; }
form.checkout .woocommerce-checkout-review-order-table tfoot .order-total th,
form.checkout .woocommerce-checkout-review-order-table tfoot .order-total td { border-bottom: 0; color: var(--oa-ink); font-size: 18px; font-weight: 700; }
form.checkout .woocommerce-checkout-review-order-table tfoot .order-total td strong { font-weight: 700; }
@media (min-width: 850px) {
  form.checkout .large-5 > .col-inner { position: sticky; top: 110px; }
  .outlet-co-sum-wrap { display: none; }
}

/* Metodi di pagamento: una scheda ciascuno, quella scelta in evidenza. Tutta la riga in alto si tocca
   (l'etichetta), il riquadro sotto resta libero per i campi che alcuni metodi mostrano. */
form.checkout #payment { margin-top: 6px; border-radius: 0; background: none; }
form.checkout #payment ul.payment_methods { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; border: 0; list-style: none; }
form.checkout #payment ul.payment_methods::before,
form.checkout #payment ul.payment_methods::after { display: none; }
form.checkout #payment ul.payment_methods > li { position: relative; margin: 0; padding: 0; border: 1px solid #d9d4cc; border-radius: 14px; background: #fff; line-height: 1.4; list-style: none; transition: border-color .15s, box-shadow .15s; }
form.checkout #payment ul.payment_methods > li:has(> input:checked) { border-color: var(--outlet-ink, #111); background: var(--oa-soft); box-shadow: 0 0 0 1px var(--outlet-ink, #111); }
form.checkout #payment ul.payment_methods > li > input[type="radio"] { position: absolute; top: 16px; left: 16px; width: 20px; height: 20px; margin: 0; accent-color: var(--outlet-ink, #111); }
form.checkout #payment ul.payment_methods > li > label { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0; padding: 15px 16px 15px 48px; color: var(--oa-ink); font-size: 15px; font-weight: 600; line-height: 1.35; cursor: pointer; }
form.checkout #payment ul.payment_methods > li > label img,
form.checkout #payment ul.payment_methods > li > label [class*="icon"] { margin-left: auto; }
form.checkout #payment .payment_box { margin: 0; padding: 0 16px 14px 48px; border: 0; background: none; color: var(--oa-muted); font-size: 13.5px; line-height: 1.45; }
form.checkout #payment .payment_box::before { display: none; }
form.checkout #payment .payment_box p { margin: 0; }
/* Sotto i metodi di pagamento solo i testi delle impostazioni di WooCommerce: questa nota (in tedesco,
   sul reindirizzamento a Stripe) la aggiunge da solo un altro plugin del sito. */
form.checkout #payment .payment_box .hsms-redirect-note { display: none !important; }

/* Pulsante finale: grande, nel colore del negozio, con il lucchetto. */
form.checkout #payment .place-order { margin: 16px 0 0; padding: 0; }
form.checkout #place_order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--outlet-accent, #111);
  color: var(--outlet-on-accent, #fff);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  text-transform: none;
  box-shadow: none;
}
form.checkout #place_order::before {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
}
form.checkout #place_order:hover { filter: brightness(.96); }
form.checkout .woocommerce-privacy-policy-text,
form.checkout .woocommerce-terms-and-conditions-wrapper { color: var(--oa-muted); font-size: 13px; line-height: 1.5; }
form.checkout .woocommerce-privacy-policy-text p { margin: 12px 0 0; font-size: 13px; }
form.checkout .woocommerce-privacy-policy-text p:empty { display: none; }
form.checkout .woocommerce-privacy-policy-text strong { color: var(--oa-ink); }

/* Suggerimenti di indirizzo sotto il campo della via (assets/outlet-address.js), cassa e Mitt konto. */
.outlet-addr-wrap { position: relative; display: block; }
.outlet-addr { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 60; max-height: 320px; margin: 0; padding: 6px; overflow-y: auto; border: 1px solid #ebe7e1; border-radius: 14px; background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .12); list-style: none; }
.outlet-addr[hidden] { display: none; }
.outlet-addr li { margin: 0; padding: 10px 12px; border-radius: 10px; color: #111; line-height: 1.3; cursor: pointer; }
.outlet-addr li b { display: block; font-size: 15px; font-weight: 600; }
.outlet-addr li span { display: block; color: #736d66; font-size: 13px; }
.outlet-addr li.is-active,
.outlet-addr li[data-i]:hover { background: #f7f5f2; }
.outlet-addr .outlet-addr__credit { padding: 4px 12px 2px; color: #a19a92; font-size: 11px; cursor: default; }

/* Barra sottile in alto durante il cambio pagina (solo app) */
.outlet-pageload {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147483000;
  width: 0;
  height: 3px;
  background: #111;
  opacity: 0;
  pointer-events: none;
}
.outlet-pageload.is-on {
  opacity: 1;
  animation: outlet-pageload 8s cubic-bezier(.08, .8, .2, 1) forwards;
}
@keyframes outlet-pageload { 0% { width: 0; } 20% { width: 55%; } 100% { width: 92%; } }

/* "Meddela mig" sui prodotti esauriti (includes/restock.php) */
.outlet-restock {
  display: block;
  width: 100%;
  margin: 8px 0 16px;
  padding: 12px 16px;
  border: 1px solid #000;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
}
button.outlet-restock:disabled { opacity: .5; }
.outlet-restock--done {
  border-color: #cfe8cf;
  background: #f1f9f1;
  color: #1e6b1e;
  font-weight: 500;
}
.outlet-restock-toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(80px + env(safe-area-inset-bottom));
  z-index: 100000;
  padding: 14px 16px;
  border-radius: 8px;
  background: #000;
  color: #fff;
  font-size: 15px;
  text-align: center;
}

/* Pagina Aviseringar (Mitt konto): consenso a nyheter e kampanjer */
.outlet-consent { max-width: 520px; }
.outlet-consent__phone { display: none; align-items: center; gap: 12px; margin-bottom: 14px; padding: 14px; border-radius: 14px; background: #111; color: #fff; }
.outlet-consent__debug { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: #f3f3f3; color: #222; font: 11px/1.5 ui-monospace, Menlo, monospace; white-space: pre-wrap; word-break: break-all; user-select: text; -webkit-user-select: text; }
.outlet-consent__debug[hidden] { display: none; }
.outlet-app-standalone .outlet-consent__phone,
.outlet-push-web .outlet-consent__phone { display: flex; }
.outlet-consent__phone b { display: block; font-size: 15px; }
.outlet-consent__phone span { font-size: 13px; opacity: .8; }
.outlet-consent__phone .outlet-profile__pill { margin-left: auto; }
.outlet-consent__form { overflow: hidden; border: 1px solid #ebe7e1; border-radius: 18px; }
.outlet-consent__row { display: flex; align-items: center; gap: 12px; margin: 0 !important; padding: 14px 16px; border-bottom: 1px solid #ebe7e1; cursor: pointer; font-weight: 400; }
.outlet-consent__row > span { flex: 1; }
.outlet-consent__row b { display: block; font-size: 15px; }
.outlet-consent__row small { display: block; color: #6b6b6b; font-size: 13px; font-weight: 400; line-height: 1.35; }
.outlet-consent__row .outlet-consent__date { margin-top: 2px; color: #1f7a4d; }
.outlet-consent .outlet-consent__row input { flex: none; width: 22px; height: 22px; margin: 0 0 0 auto; } /* più forte del tema (Flatsome: margine a destra) */
.outlet-consent__row.is-locked { cursor: default; }
.outlet-consent__row.is-locked input { opacity: .5; }
.outlet-consent__note { margin: 12px 14px; color: #6b6b6b; font-size: 13px; }
.outlet-consent__form .outlet-app-sheet__primary { width: calc(100% - 28px); margin: 0 14px 14px; }
.outlet-app-consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: 14px; font-weight: 400; line-height: 1.4; text-align: left; cursor: pointer; }
.outlet-app-consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #111; }

/* Filtro nelle categorie (includes/filter.php, assets/outlet-filter.js). Sito e app. */
.outlet-filter-on .category-filtering,
.outlet-filter-on .woocommerce-ordering,
.outlet-filter-on .widget_price_filter,
.outlet-filter-on .widget_layered_nav { display: none !important; }

.outlet-filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 12px; }
.outlet-filter-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 0;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid #111;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.outlet-filter-bar__btn svg { width: 18px; height: 18px; }
.outlet-filter-bar__n {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}
.outlet-filter-bar__sort { display: inline-flex; align-items: center; gap: 2px; margin: 0; color: #6b6b6b; font-size: 14px; font-weight: 400; }
.outlet-filter-bar .outlet-filter-bar__sort select {
  width: auto;
  height: auto;
  margin: 0;
  padding: 6px 24px 6px 4px;
  border: 0;
  box-shadow: none;
  background-color: transparent;
  color: #111;
  font-size: 14px;
  font-weight: 600;
}
.outlet-filter-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -2px 0 14px; }
.outlet-filter-chips__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 12px;
  border-radius: 20px;
  background: #f5f5f3;
  color: #111 !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
}
.outlet-filter-chips__chip span { color: #6b6b6b; font-size: 16px; line-height: 1; }
.outlet-filter-chips__clear { padding: 6px 4px; color: #6b6b6b !important; font-size: 13px; text-decoration: underline !important; }

/* Pannello: dal basso sul telefono (sopra la barra dell'app), a destra sul computer. */
.outlet-filter { position: fixed; inset: 0; z-index: 100000; }
.outlet-filter[hidden] { display: none; }
.outlet-filter-open body { overflow: hidden; }
.outlet-filter-open .woot-widget-bubble,
.outlet-filter-open .woot--bubble-holder { display: none !important; }
.outlet-filter__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); opacity: 0; transition: opacity .25s ease; }
.outlet-filter__sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  max-height: 88dvh;
  margin: 0;
  border-radius: 16px 16px 0 0;
  background: #fff;
  color: #111;
  outline: none;
  transform: translateY(100%);
  transition: transform .25s ease;
}
.outlet-filter-open .outlet-filter__backdrop { opacity: 1; }
.outlet-filter-open .outlet-filter__sheet { transform: none; }
.outlet-filter__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 6px; }
.outlet-filter__head b { font-size: 18px; }
.outlet-filter__close { min-height: 0; margin: 0; padding: 0 6px; border: 0; background: none; color: #111; font-size: 28px; line-height: 1; cursor: pointer; }
.outlet-filter__body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 0 16px 8px; }
.outlet-filter__section { padding: 16px 0 8px; border-top: 1px solid #eee; }
.outlet-filter__section:first-child { border-top: 0; }
.outlet-filter__title { margin: 0 0 10px; color: #111; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
/* .outlet-filter davanti: i campi di Flatsome (input[type=search/number]) vincerebbero. */
.outlet-filter .outlet-filter__search {
  width: 100%;
  height: 42px;
  margin: 0 0 6px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
  background: #f5f5f3 !important; /* Flatsome mette il fondo bianco ai campi */
  font-size: 16px; /* 16px: iPhone non ingrandisce la pagina */
}
.outlet-filter__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid #f2f2f2;
  color: #111;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.outlet-filter__opt[hidden] { display: none; }
.outlet-filter__opt input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: #111; }
.outlet-filter__opt span, .outlet-filter__color span { flex: 1; }
.outlet-filter__opt em, .outlet-filter__color em { color: #8a8a8a; font-size: 13px; font-style: normal; font-weight: 400; }
.outlet-filter__opt.is-on span, .outlet-filter__color.is-on span { font-weight: 700; }
.outlet-filter__opt.is-zero, .outlet-filter__color.is-zero { opacity: .4; }
.outlet-filter__list.is-collapsed:not(.is-searching) .outlet-filter__opt:nth-of-type(n+9):not(.is-on) { display: none; }
/* Modelli sotto la marca scelta (Air Jordan → Air Jordan 1). */
.outlet-filter__models { padding: 2px 0 12px 32px; border-bottom: 1px solid #f2f2f2; }
.outlet-filter__models[hidden] { display: none; }
.outlet-filter__opt:has(+ .outlet-filter__models:not([hidden])) { border-bottom: 0; }
.outlet-filter__more {
  min-height: 0;
  margin: 0;
  padding: 12px 0 4px;
  border: 0;
  background: none;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: underline;
  text-transform: none;
  cursor: pointer;
}
.outlet-filter__more[hidden] { display: none; }
.outlet-filter__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.outlet-filter__chip { position: relative; margin: 0; font-weight: 500; cursor: pointer; }
.outlet-filter__chip input, .outlet-filter__color input { position: absolute; opacity: 0; pointer-events: none; }
.outlet-filter__chip span { display: block; padding: 8px 13px; border: 1px solid #e0e0e0; border-radius: 20px; color: #111; font-size: 13px; }
.outlet-filter__chip input:checked + span { border-color: #111; background: #111; color: #fff; }
.outlet-filter__chip input:focus-visible + span { outline: 2px solid #111; outline-offset: 2px; }
/* Kategori: chip con il numero; i sottotipi sotto il tipo scelto (Skor → Sneakers...). */
.outlet-filter__chip em { margin-left: 2px; color: #8a8a8a; font-size: 12px; font-style: normal; font-weight: 400; }
.outlet-filter__chip input:checked + span em { color: inherit; opacity: .75; }
.outlet-filter__chip.is-zero { opacity: .4; }
.outlet-filter__subtypes { margin: 14px 0 0; }
.outlet-filter__subtypes[hidden] { display: none; }
.outlet-filter__subtitle { margin: 0 0 8px; color: #6b6b6b; font-size: 13px; font-weight: 500; }
.outlet-filter__range { display: flex; align-items: flex-end; gap: 8px; margin: 14px 0 6px; }
.outlet-filter__range label { flex: 1; margin: 0; font-weight: 400; }
.outlet-filter__range label span { display: block; margin: 0 0 4px; color: #6b6b6b; font-size: 12px; }
.outlet-filter__range > span { padding-bottom: 12px; color: #6b6b6b; }
.outlet-filter .outlet-filter__range input {
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: none;
  background: #fff;
  font-size: 16px;
}
.outlet-filter__colors { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.outlet-filter__color { position: relative; display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 0; color: #111; font-size: 14px; font-weight: 500; cursor: pointer; }
.outlet-filter__color i { flex: none; width: 24px; height: 24px; border: 1px solid rgba(0, 0, 0, .15); border-radius: 50%; }
.outlet-filter__color input:checked + i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #111; }
.outlet-filter__color input:focus-visible + i { outline: 2px solid #111; outline-offset: 4px; }
.outlet-filter__foot { display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #eee; }
.outlet-filter__clear,
.outlet-filter__apply {
  height: 48px;
  min-height: 0;
  margin: 0;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.outlet-filter__clear { flex: none; border: 1px solid #111; background: #fff; color: #111; }
.outlet-filter__apply { flex: 1; border: 0; background: #111; color: #fff; }
.outlet-filter__clear:disabled { opacity: .35; cursor: default; }
.outlet-filter__apply:disabled { background: #b5b5b5; cursor: default; }
@media (min-width: 850px) {
  .outlet-filter__sheet { top: 0; left: auto; width: 420px; max-height: none; border-radius: 0; transform: translateX(100%); }
  .outlet-filter__foot { padding-bottom: 16px; }
}


/* ---------- Colore principale (WooCommerce → Outlet App → General) ----------
   Le variabili arrivano dal <head> (outlet_app_print_splash): --outlet-accent = il colore,
   --outlet-on-accent = il testo sopra (bianco o nero), --outlet-ink = il colore come testo su bianco
   (nero se è troppo chiaro). Senza variabili tutto resta nero come prima. */
.outlet-app-price,
.outlet-app-card { border-color: var(--outlet-accent, #000); }
.outlet-app-price__badge,
.outlet-app-price__btn,
.outlet-app-card button,
.outlet-app-bar__btn,
.outlet-app-sheet__primary,
.outlet-login__step button[type="submit"],
.outlet-restock-toast,
.outlet-profile__avatar,
.outlet-profile__perk,
.outlet-consent__phone,
.outlet-tabbar__badge,
.outlet-filter-bar__n,
.outlet-filter__apply,
.outlet-explore__cat.is-dark { background: var(--outlet-accent, #000); color: var(--outlet-on-accent, #fff); }
a.outlet-app-sheet__primary { color: var(--outlet-on-accent, #fff) !important; }
.outlet-app-bar { background: var(--outlet-accent, #000); color: var(--outlet-on-accent, #fff); }
/* !important e tutti gli stati: i pulsanti del tema cambiano colore al passaggio e dopo il tocco. */
.outlet-chat-fab,
.outlet-chat-fab:hover,
.outlet-chat-fab:focus,
.outlet-chat-fab:active { background: var(--outlet-accent, #000) !important; color: var(--outlet-on-accent, #fff) !important; }
.outlet-app-bar__close { color: var(--outlet-on-accent, #fff); }
.outlet-app-bar .outlet-app-bar__btn,
.outlet-profile__pill { background: var(--outlet-on-accent, #fff); color: var(--outlet-accent, #111); }
.outlet-pageload { background: var(--outlet-ink, #111); }
.outlet-tabbar__tab.is-on { color: var(--outlet-ink, #111); }
.outlet-login__link,
.outlet-restock,
.outlet-filter-bar__btn,
.outlet-filter__clear,
.outlet-search__all { border-color: var(--outlet-ink, #111); color: var(--outlet-ink, #111); }
.outlet-login__link { border-color: transparent; }
.outlet-filter__chip input:checked + span { border-color: var(--outlet-accent, #111); background: var(--outlet-accent, #111); color: var(--outlet-on-accent, #fff); }
.outlet-filter__color input:checked + i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--outlet-ink, #111); }
.outlet-filter__opt input,
.outlet-consent__row input,
.outlet-app-consent input { accent-color: var(--outlet-accent, #111); }
.outlet-filter__apply:disabled { background: #b5b5b5; color: #fff; }
.outlet-profile__avatar { color: var(--outlet-on-accent, #fff) !important; }
/* Mitt konto (dopo lo "sfondo" qui sopra, che toglierebbe la luce sulla scheda dello sconto). */
.outlet-profile__perk { background-image: radial-gradient(circle at 100% 0, rgba(255, 255, 255, .35), transparent 60%); }
.outlet-login__icon,
.outlet-empty__btn,
.outlet-acc__main form button[type="submit"],
.outlet-acc__main .order-again .button,
.outlet-orders__actions .button.pay { border-color: var(--outlet-accent, #111); background: var(--outlet-accent, #111); color: var(--outlet-on-accent, #fff) !important; }
.outlet-steps .is-done::before,
.outlet-steps .is-now::before,
.outlet-updates li::before { background: var(--outlet-ink, #111); }
.outlet-steps .is-done i { border-color: var(--outlet-ink, #111); background: var(--outlet-ink, #111); }
.outlet-steps .is-now i,
.outlet-code span.is-active,
.outlet-login input[type="email"]:focus { border-color: var(--outlet-ink, #111); }


/* Finestra della chat mentre si apre ("Öppnar chatten…", outlet-app.js): stessa forma della chat di
   Chatwoot, appena sotto. Sul telefono tutto schermo, sul computer riquadro in basso a destra. */
.outlet-chat-shell { position: fixed; inset: 0; z-index: 2147482999; display: flex; flex-direction: column; background: #fff; color: #111; }
.outlet-chat-shell[hidden] { display: none; }
.outlet-chat-shell__head { display: flex; align-items: center; justify-content: space-between; padding: calc(12px + env(safe-area-inset-top)) 16px 12px; background: var(--outlet-accent, #000); color: var(--outlet-on-accent, #fff); }
.outlet-chat-shell__head b { font-size: 17px; }
.outlet-chat-shell__head button { min-height: 0; margin: 0; padding: 0 4px; border: 0; background: none; color: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
.outlet-chat-shell__body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #6b6b6b; font-size: 15px; }
.outlet-chat-shell__body p { margin: 0; }
.outlet-chat-shell__dots { display: inline-flex; gap: 6px; }
.outlet-chat-shell__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--outlet-ink, #111); opacity: .25; animation: outlet-dot 1s ease-in-out infinite; }
.outlet-chat-shell__dots i:nth-child(2) { animation-delay: .15s; }
.outlet-chat-shell__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes outlet-dot { 40% { opacity: 1; transform: translateY(-3px); } }
@media (min-width: 668px) {
  .outlet-chat-shell { inset: auto 20px 20px auto; width: 400px; height: min(640px, calc(90vh - 84px)); border-radius: 16px; overflow: hidden; box-shadow: 0 5px 40px rgba(0, 0, 0, .16); }
}
