/* -----------------------------------------------------------
   Design refresh - charte Eloto (rouge, noir, jaune), sans degrades
----------------------------------------------------------- */
:root {
  --eloto-tap: 44px;
}

/* -----------------------------------------------------------
   Boutons principaux (WooCommerce, WS Form)
----------------------------------------------------------- */
.single_add_to_cart_button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
#place_order,
.wsf-form button[type="submit"],
.wsf-form .wsf-button-primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1.2rem !important;
  color: #ffffff !important;
  background-color: var(--eloto-accent) !important;
  border: 0 !important;
  border-radius: var(--eloto-radius-md) !important;
  font-weight: 850 !important;
  letter-spacing: .01em;
  text-decoration: none !important;
  box-shadow: none !important;
}

.single_add_to_cart_button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
#place_order:hover,
.wsf-form button[type="submit"]:hover,
.wsf-form .wsf-button-primary:hover {
  background-color: var(--eloto-accent-dark) !important;
}

.single_add_to_cart_button:disabled,
.single_add_to_cart_button.disabled {
  color: var(--eloto-muted) !important;
  background-color: var(--eloto-bg-strong) !important;
  opacity: 1 !important;
  cursor: not-allowed;
}

/* -----------------------------------------------------------
   Champs WS Form
----------------------------------------------------------- */
.wsf-form .wsf-label {
  color: var(--eloto-text);
  font-weight: 750;
}

.wsf-form input.wsf-field:not([type="radio"]):not([type="checkbox"]),
.wsf-form select.wsf-field,
.wsf-form textarea.wsf-field {
  width: 100%;
  min-height: var(--eloto-tap);
  padding: .55rem .8rem;
  color: var(--eloto-text);
  background-color: var(--eloto-surface);
  border: 1px solid var(--eloto-border) !important;
  border-radius: var(--eloto-radius-md) !important;
  font-size: 1rem; /* evite le zoom iOS */
}

.wsf-form input.wsf-field:focus,
.wsf-form select.wsf-field:focus,
.wsf-form textarea.wsf-field:focus {
  border-color: var(--eloto-accent) !important;
  box-shadow: var(--eloto-ring) !important;
  outline: 0;
}

/* Les tuiles de saisie (T1, T2...) prennent toute leur colonne */
.wsf-form .wsf-field-wrapper[data-type="text"],
.wsf-form .wsf-field-wrapper[data-type="email"],
.wsf-form .wsf-field-wrapper[data-type="password"] {
  flex-basis: 100%;
  max-width: 100%;
}

.wsf-form .wsf-field-wrapper[data-type="number"] input,
.wsf-form .wsf-field-wrapper[data-type="text"] input {
  max-width: none;
}

.wsf-form .wsf-alert-information {
  color: var(--eloto-text);
  background-color: var(--eloto-surface-warm) !important;
  border: 1px solid var(--eloto-border) !important;
  border-left: 4px solid var(--eloto-accent) !important;
  border-radius: var(--eloto-radius-md);
}

.wsf-form .wsf-alert-information a {
  color: var(--eloto-accent-dark);
  font-weight: 750;
}

/* Barre de progression */
.wsf-form progress.wsf-progress {
  height: 8px;
  overflow: hidden;
  background-color: var(--eloto-bg-strong);
  border: 0;
  border-radius: 999px;
  accent-color: var(--eloto-accent);
  color: var(--eloto-accent);
}

.wsf-form progress.wsf-progress::-webkit-progress-bar {
  background-color: var(--eloto-bg-strong);
  border-radius: 999px;
}

.wsf-form progress.wsf-progress::-webkit-progress-value {
  background-color: var(--eloto-accent) !important;
  border-radius: 999px;
}

.wsf-form progress.wsf-progress::-moz-progress-bar {
  background-color: var(--eloto-accent) !important;
  border-radius: 999px;
}

/* -----------------------------------------------------------
   Choix en pastilles (type de jeu, formule) : styles en ligne
   remplaces par une pastille uniforme, rouge quand choisie
----------------------------------------------------------- */
.wsf-form [role="radiogroup"] {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.wsf-form [role="radiogroup"] > .wsf-inline {
  flex: 1 1 calc(50% - .5rem);
  min-width: 0;
  margin: 0 !important;
}

.wsf-form input.wsf-color[type="radio"] + label.wsf-label {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wsf-form input.wsf-color[type="radio"] + label.wsf-label > span[style] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: var(--eloto-tap) !important;
  height: auto !important;
  padding: .55rem .75rem !important;
  color: var(--eloto-text) !important;
  background-color: var(--eloto-surface) !important;
  border: 1.5px solid var(--eloto-border) !important;
  border-radius: var(--eloto-radius-md) !important;
  box-shadow: none !important;
  font-size: .88rem !important;
  font-weight: 850 !important;
  text-align: center;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.wsf-form input.wsf-color[type="radio"] + label.wsf-label:hover > span[style] {
  border-color: var(--eloto-accent) !important;
}

.wsf-form input.wsf-color[type="radio"]:checked + label.wsf-label > span[style] {
  color: #ffffff !important;
  background-color: var(--eloto-accent) !important;
  border-color: var(--eloto-accent) !important;
}

.wsf-form input.wsf-color[type="radio"]:focus-visible + label.wsf-label > span[style] {
  box-shadow: var(--eloto-ring) !important;
}

/* -----------------------------------------------------------
   Fiche produit
----------------------------------------------------------- */
.single-product .product_title,
.single-product h1.entry-title {
  font-size: 1.45rem;
  letter-spacing: -.01em;
}

.single-product form.cart {
  padding: 1rem;
  background-color: var(--eloto-surface);
  border: 1px solid var(--eloto-border);
  border-radius: var(--eloto-radius-lg);
}

.single-product .single_add_to_cart_button {
  width: 100%;
}

/* -----------------------------------------------------------
   Catalogue
----------------------------------------------------------- */
.woocommerce ul.products li.product .woocommerce-loop-product__title.text-truncate,
.woocommerce .products .product.card .woocommerce-loop-product__title.text-truncate,
.woocommerce-loop-product__title.text-truncate {
  display: -webkit-box !important;
  min-height: 2.3em;
  overflow: hidden;
  white-space: normal !important;
  text-overflow: clip !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.15;
  font-weight: 850;
}

a.text-decoration-none:has(.woocommerce-loop-product__title) .card {
  border: 1px solid var(--eloto-border);
  transition: border-color .16s ease, transform .16s ease;
}

a.text-decoration-none:has(.woocommerce-loop-product__title):hover .card,
a.text-decoration-none:has(.woocommerce-loop-product__title):focus-visible .card {
  border-color: var(--eloto-accent);
  transform: translateY(-2px);
}

/* -----------------------------------------------------------
   Panier (bloc WooCommerce)
----------------------------------------------------------- */
.wc-block-cart-items__row {
  background-color: var(--eloto-surface);
}

.wc-block-cart .wc-block-cart-items__row {
  border-bottom: 1px solid var(--eloto-border);
}

.wc-block-components-product-name {
  color: var(--eloto-text) !important;
  font-weight: 850;
  text-decoration: none !important;
}

.wc-block-components-product-name:hover {
  color: var(--eloto-accent) !important;
}

.wc-block-components-product-metadata {
  margin-top: .35rem;
  padding: .45rem .55rem;
  color: var(--eloto-muted);
  background-color: var(--eloto-surface-warm);
  border-radius: 8px;
  font-size: .78rem;
  line-height: 1.4;
}

.wc-block-components-quantity-selector {
  min-height: 38px;
  border: 1px solid var(--eloto-border) !important;
  border-radius: 999px !important;
  overflow: hidden;
}

.wc-block-components-quantity-selector::after {
  display: none !important;
}

.wc-block-components-quantity-selector__button {
  min-width: 38px;
  color: var(--eloto-accent-dark) !important;
  font-weight: 900;
}

.wc-block-cart-item__remove-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--eloto-accent) !important;
  border-radius: 50%;
}

.wc-block-cart-item__remove-link:hover {
  background-color: var(--eloto-accent-subtle);
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: var(--eloto-accent-dark);
  font-weight: 900;
}

.wc-block-cart__submit-button {
  width: 100%;
}

/* -----------------------------------------------------------
   Mobile / navigation
----------------------------------------------------------- */
@media (max-width: 576px) {
  .header-actions .btn,
  .navbar .nav-toggler,
  .navbar .account-toggler,
  .navbar .cart-toggler {
    width: 36px;
    min-width: 36px;
    height: 36px;
  }

  .breadcrumb a {
    text-decoration: none;
    font-weight: 750;
  }
}

@media (prefers-reduced-motion: reduce) {
  a.text-decoration-none:has(.woocommerce-loop-product__title):hover .card {
    transform: none;
  }
}

/* -----------------------------------------------------------
   Navbar
----------------------------------------------------------- */
.navbar {
  box-shadow: 0 1px 0 var(--eloto-border);
}

@media (min-width: 992px) {
  .navbar .navbar-nav {
    gap: .15rem;
  }

  .navbar .nav-link {
    position: relative;
    padding: .45rem .8rem;
    color: var(--eloto-text);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .02em;
  }

  .navbar .nav-link:hover,
  .navbar .nav-link:focus {
    color: var(--eloto-accent);
    background-color: transparent;
  }

  .navbar .nav-link.active,
  .navbar .current-menu-item > .nav-link {
    color: var(--eloto-accent);
    background-color: var(--eloto-accent-subtle);
  }
}

#offcanvas-navbar .nav-link {
  min-height: var(--eloto-tap);
  font-size: .92rem;
  font-weight: 800;
}

#offcanvas-navbar .current-menu-item > .nav-link {
  color: var(--eloto-accent-dark);
  background-color: var(--eloto-accent-subtle);
  box-shadow: inset 3px 0 0 var(--eloto-accent);
}

/* Barre d'onglets mobile */
.eloto-tabbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1029;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: .25rem .25rem calc(.25rem + env(safe-area-inset-bottom));
  background-color: var(--eloto-surface);
  border-top: 1px solid var(--eloto-border);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, .06);
}

.eloto-tabbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .12rem;
  min-height: 50px;
  color: var(--eloto-muted);
  border-radius: var(--eloto-radius-md);
  text-decoration: none;
}

.eloto-tabbar__item:hover,
.eloto-tabbar__item:focus-visible {
  color: var(--eloto-accent);
}

.eloto-tabbar__item.is-active {
  color: var(--eloto-accent);
}

.eloto-tabbar__icon {
  position: relative;
  font-size: 1.1rem;
  line-height: 1;
}

.eloto-tabbar__badge {
  position: absolute;
  top: -.45rem;
  right: -.7rem;
  min-width: 17px;
  height: 17px;
  padding: 0 .25rem;
  color: var(--eloto-text);
  background-color: var(--eloto-yellow);
  border: 2px solid var(--eloto-surface);
  border-radius: 999px;
  font-size: .6rem;
  font-weight: 900;
  line-height: 13px;
  text-align: center;
}

.eloto-tabbar__label {
  font-size: .68rem;
  font-weight: 800;
}

@media (max-width: 991.98px) {
  body.has-eloto-tabbar {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  /* Le panier et la navigation passent dans la barre du bas */
  body.has-eloto-tabbar .header-actions .cart-toggler {
    display: none !important;
  }
}

/* -----------------------------------------------------------
   Recherche des tirages
----------------------------------------------------------- */
.eloto-draw-search {
  position: sticky;
  top: calc(var(--eloto-header-height, 56px) + .5rem);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .9rem;
  padding: 0 .9rem;
  min-height: 48px;
  background-color: var(--eloto-surface);
  border: 1px solid var(--eloto-border);
  border-radius: var(--eloto-radius-md);
  box-shadow: var(--eloto-shadow-sm);
}

.eloto-draw-search:focus-within {
  border-color: var(--eloto-accent);
  box-shadow: var(--eloto-ring);
}

.eloto-draw-search > i {
  color: var(--eloto-accent);
}

.eloto-draw-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  padding: 0;
  color: var(--eloto-text);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 1rem;
}

.eloto-draw-search__count {
  flex: 0 0 auto;
  color: var(--eloto-muted);
  font-size: .75rem;
  font-weight: 750;
  white-space: nowrap;
}

.eloto-draw-search__empty {
  padding: 1.5rem 1rem;
  color: var(--eloto-muted);
  text-align: center;
}


.card.product {
  content-visibility: auto;
  contain-intrinsic-size: auto 150px;
}

/* -----------------------------------------------------------
   Espace compte
----------------------------------------------------------- */
.eloto-account-menu__item {
  font-weight: 750;
}

.eloto-account-menu__item.is-active,
.eloto-account-menu__item[aria-current="page"] {
  color: var(--eloto-accent-dark) !important;
  background-color: var(--eloto-accent-subtle) !important;
  border-color: var(--eloto-accent) !important;
}

.eloto-account-content {
  overflow-wrap: anywhere;
}

.eloto-account-content > p:first-child a {
  font-weight: 750;
}

.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-message {
  border: 1px solid var(--eloto-border);
  border-left: 4px solid var(--eloto-accent);
  border-radius: var(--eloto-radius-md);
  background-color: var(--eloto-surface-warm);
  box-shadow: none;
}

.woocommerce-MyAccount-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .85rem;
}

.woocommerce-MyAccount-content table th {
  color: var(--eloto-muted);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.woocommerce-MyAccount-content table a {
  font-weight: 800;
  text-decoration: none;
}

.woocommerce-MyAccount-content .woocommerce-button,
.woocommerce-MyAccount-content .button {
  min-height: 38px;
  color: #ffffff !important;
  background-color: var(--eloto-accent) !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 800;
}

/* Tableaux (historique, tickets) en cartes sur mobile */
@media (max-width: 767.98px) {
  .woocommerce-MyAccount-content table.eloto-stack-table thead {
    display: none;
  }

  .woocommerce-MyAccount-content table.eloto-stack-table,
  .woocommerce-MyAccount-content table.eloto-stack-table tbody,
  .woocommerce-MyAccount-content table.eloto-stack-table tr,
  .woocommerce-MyAccount-content table.eloto-stack-table td {
    display: block;
    width: 100%;
  }

  .woocommerce-MyAccount-content table.eloto-stack-table tr {
    margin-bottom: .6rem;
    padding: .55rem .75rem;
    background-color: var(--eloto-surface);
    border: 1px solid var(--eloto-border);
    border-radius: var(--eloto-radius-md);
  }

  .woocommerce-MyAccount-content table.eloto-stack-table tr:nth-child(odd) td {
    background-color: transparent !important;
  }

  .woocommerce-MyAccount-content table.eloto-stack-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .3rem 0 !important;
    border: 0 !important;
    border-bottom: 1px dashed var(--eloto-border) !important;
    text-align: right;
    box-shadow: none !important;
  }

  .woocommerce-MyAccount-content table.eloto-stack-table td:last-child {
    border-bottom: 0 !important;
  }

  .woocommerce-MyAccount-content table.eloto-stack-table td::before {
    content: attr(data-title);
    flex: 0 0 auto;
    color: var(--eloto-muted);
    font-size: .72rem;
    font-weight: 850;
    text-align: left;
    text-transform: uppercase;
  }

  .woocommerce-MyAccount-content table.eloto-stack-table td:empty {
    display: none;
  }
}

/* -----------------------------------------------------------
   Soldes dans la barre du haut
----------------------------------------------------------- */
.eloto-balances {
  max-width: none;
  gap: 0;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
}

.eloto-balances .eloto-navbar-balance {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  min-height: 34px;
  padding: .2rem .65rem;
  color: #ffffff;
  background-color: var(--eloto-accent);
  text-decoration: none;
  transition: background-color .16s ease;
}

.eloto-balances .eloto-navbar-balance:first-child {
  border-radius: 999px 0 0 999px;
}

.eloto-balances .eloto-navbar-balance:last-child {
  border-radius: 0 999px 999px 0;
}

.eloto-balances .eloto-navbar-balance:only-child {
  border-radius: 999px;
}

.eloto-balances .eloto-navbar-balance:hover {
  color: #ffffff;
  background-color: var(--eloto-accent-dark);
}

.eloto-balances .eloto-navbar-balance.is-gain {
  color: var(--eloto-text);
  background-color: var(--eloto-yellow);
  border-left: 0;
}

.eloto-balances .eloto-navbar-balance.is-gain:hover {
  background-color: #f2c400;
}

.eloto-balances .eloto-navbar-balance__label {
  font-size: .56rem;
  line-height: 1;
}

.eloto-balances .eloto-navbar-balance__value {
  font-size: .82rem;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.eloto-balances .eloto-navbar-balance__value small {
  margin-left: .12rem;
  font-size: .6rem;
  font-weight: 800;
  opacity: .8;
}

/* -----------------------------------------------------------
   Coupon (panier)
----------------------------------------------------------- */
.woocommerce-cart .entry-header,
.woocommerce-cart h1.entry-title {
  display: none;
}

.eloto-coupon {
  max-width: 560px;
  margin: 0 auto;
  overflow: hidden;
  background-color: var(--eloto-surface);
  border: 1px solid var(--eloto-border);
  border-radius: var(--eloto-radius-lg);
}

.eloto-coupon__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 1rem;
  color: #ffffff;
  background-color: var(--eloto-text);
  font-weight: 900;
}

.eloto-coupon__head i {
  color: var(--eloto-yellow);
}

.eloto-coupon__count {
  padding: .15rem .55rem;
  color: var(--eloto-text);
  background-color: var(--eloto-yellow);
  border-radius: 999px;
  font-size: .75rem;
}

.eloto-coupon__items {
  background-color: var(--eloto-bg);
  padding: .5rem;
  gap: .4rem;
  display: flex;
  flex-direction: column;
}

.eloto-coupon__items .eloto-mini-cart-item {
  border: 1px solid var(--eloto-border) !important;
  border-radius: var(--eloto-radius-md) !important;
}

.eloto-coupon__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1rem;
  border-top: 2px dashed var(--eloto-border);
  font-weight: 800;
}

.eloto-coupon__total strong {
  color: var(--eloto-accent);
  font-size: 1.3rem;
  font-weight: 900;
}

.eloto-coupon__actions {
  display: grid;
  gap: .5rem;
  padding: 0 1rem 1rem;
}

.eloto-coupon__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  color: #ffffff !important;
  background-color: var(--eloto-accent);
  border-radius: var(--eloto-radius-md);
  font-weight: 900;
  text-decoration: none !important;
}

.eloto-coupon__cta:hover {
  background-color: var(--eloto-accent-dark);
}

.eloto-coupon__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 44px;
  color: var(--eloto-accent-dark) !important;
  border: 1px solid var(--eloto-border);
  border-radius: var(--eloto-radius-md);
  font-weight: 800;
  text-decoration: none !important;
}

.eloto-coupon--empty {
  display: grid;
  justify-items: center;
  gap: .6rem;
  padding: 2rem 1rem;
  text-align: center;
}

.eloto-coupon--empty > i {
  color: var(--eloto-accent);
  font-size: 2rem;
}

.eloto-coupon--empty .eloto-coupon__cta {
  width: 100%;
  max-width: 280px;
}

/* -----------------------------------------------------------
   Mon compte
----------------------------------------------------------- */
@media (max-width: 991.98px) {
  .eloto-account-nav__head {
    display: none !important;
  }

  .eloto-account-hero {
    display: none !important;
  }

  .eloto-account-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: .4rem;
    margin: 0 -.25rem;
    padding: .25rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .eloto-account-menu::-webkit-scrollbar {
    display: none;
  }

  .eloto-account-menu .eloto-account-menu__item {
    flex: 0 0 auto;
    width: auto !important;
    min-height: 38px;
    padding: .35rem .8rem !important;
    border: 1px solid var(--eloto-border) !important;
    border-radius: 999px !important;
    font-size: .8rem;
    white-space: nowrap;
  }

  .eloto-account-menu .eloto-account-menu__icon {
    width: auto !important;
    height: auto !important;
    background: transparent !important;
  }
}

.eloto-dash {
  display: grid;
  gap: 1rem;
}

.eloto-dash__hello {
  margin: 0;
  font-size: 1.05rem;
}

.eloto-dash__balances {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
}

.eloto-dash__balance {
  display: grid;
  gap: .15rem;
  padding: .85rem;
  color: #ffffff;
  background-color: var(--eloto-accent);
  border-radius: var(--eloto-radius-lg);
}

.eloto-dash__balance.is-gain {
  color: var(--eloto-text);
  background-color: var(--eloto-yellow);
}

.eloto-dash__balance span {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  opacity: .85;
}

.eloto-dash__balance strong {
  font-size: clamp(1.25rem, 6vw, 1.6rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.eloto-dash__balance a {
  justify-self: start;
  margin-top: .3rem;
  padding: .25rem .7rem;
  color: inherit !important;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 850;
  text-decoration: none !important;
}

.eloto-dash__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
}

.eloto-dash__actions a {
  display: grid;
  justify-items: center;
  gap: .3rem;
  padding: .75rem .3rem;
  color: var(--eloto-text) !important;
  background-color: var(--eloto-surface);
  border: 1px solid var(--eloto-border);
  border-radius: var(--eloto-radius-md);
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none !important;
}

.eloto-dash__actions a:hover {
  border-color: var(--eloto-accent);
}

.eloto-dash__actions i {
  color: var(--eloto-accent);
  font-size: 1.1rem;
}

@media (min-width: 768px) {
  .eloto-dash__actions {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.eloto-dash__section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: .5rem;
}

.eloto-dash__section-head h2 {
  margin: 0;
  font-size: 1rem;
}

.eloto-dash__section-head a {
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}

.eloto-dash__tickets {
  display: grid;
  gap: .4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eloto-dash__tickets a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .6rem .75rem;
  color: var(--eloto-text) !important;
  background-color: var(--eloto-surface);
  border: 1px solid var(--eloto-border);
  border-radius: var(--eloto-radius-md);
  text-decoration: none !important;
}

.eloto-dash__ticket-main,
.eloto-dash__ticket-side {
  display: grid;
  gap: .1rem;
}

.eloto-dash__ticket-side {
  justify-items: end;
}

.eloto-dash__tickets small {
  color: var(--eloto-muted);
  font-size: .72rem;
}

.eloto-status {
  padding: .05rem .5rem;
  color: var(--eloto-muted);
  background-color: var(--eloto-bg-strong);
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 850;
}

.eloto-status--completed {
  color: #ffffff;
  background-color: var(--eloto-success);
}

.eloto-status--processing,
.eloto-status--on-hold {
  color: var(--eloto-text);
  background-color: var(--eloto-yellow);
}

.eloto-status--cancelled,
.eloto-status--failed {
  color: #ffffff;
  background-color: var(--eloto-accent);
}

.eloto-dash__empty {
  padding: 1rem;
  color: var(--eloto-muted);
  background-color: var(--eloto-surface);
  border: 1px dashed var(--eloto-border);
  border-radius: var(--eloto-radius-md);
  text-align: center;
}

/* Historique compact */
.woocommerce-MyAccount-content table .is-extra {
  display: none !important;
}

@media (max-width: 767.98px) {
  .woocommerce-MyAccount-content table.eloto-compact-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .1rem .75rem;
    padding: .55rem .75rem;
  }

  .woocommerce-MyAccount-content table.eloto-compact-table td {
    display: block;
    padding: 0 !important;
    border: 0 !important;
    text-align: left;
  }

  .woocommerce-MyAccount-content table.eloto-compact-table td::before {
    display: none;
  }

  .woocommerce-MyAccount-content table.eloto-compact-table td[data-title="Description"] {
    grid-column: 1;
    grid-row: 1;
    font-weight: 750;
  }

  .woocommerce-MyAccount-content table.eloto-compact-table td[data-title="Amount"] {
    grid-column: 2;
    grid-row: 1;
    font-weight: 900;
    text-align: right;
  }

  .woocommerce-MyAccount-content table.eloto-compact-table td[data-title="Date"],
  .woocommerce-MyAccount-content table.eloto-compact-table td[data-title="Order ID"] {
    grid-column: 1;
    color: var(--eloto-muted);
    font-size: .72rem;
  }

  .woocommerce-MyAccount-content table.eloto-compact-table td[data-title="Type"] {
    grid-column: 2;
    grid-row: 2;
    color: var(--eloto-muted);
    font-size: .72rem;
    text-align: right;
  }
}

/* -----------------------------------------------------------
   Resultats
----------------------------------------------------------- */
.category-result .filter-card,
.archive .filter-card {
  border: 1px solid var(--eloto-border) !important;
  border-radius: var(--eloto-radius-lg);
  box-shadow: none !important;
}

.archive .filter-card .btn {
  min-height: 36px;
  border-radius: 999px;
  font-weight: 800;
}

.archive .filter-card .btn-primary {
  color: #ffffff;
  background-color: var(--eloto-accent);
  border-color: var(--eloto-accent);
}

.archive .filter-card .form-control {
  min-height: 40px;
  border-radius: var(--eloto-radius-md);
  font-size: 1rem;
}

.compact-card.has-loto-result {
  border-radius: var(--eloto-radius-lg) !important;
  box-shadow: none !important;
}

.eloto-loto-result__title {
  font-size: 1rem !important;
  font-weight: 900 !important;
}

.eloto-loto-result__date {
  color: var(--eloto-muted);
  font-size: .72rem;
}

/* -----------------------------------------------------------
   Revendeurs
----------------------------------------------------------- */
.page-id-dealers .card,
.rvd-rate {
  font-size: .85rem;
}

body:has(.rvd-rate) .card {
  border: 1px solid var(--eloto-border) !important;
  border-radius: var(--eloto-radius-lg) !important;
  box-shadow: none !important;
}

body:has(.rvd-rate) .card h3 a {
  color: var(--eloto-text) !important;
  font-weight: 900;
}

body:has(.rvd-rate) .badge.bg-secondary {
  color: var(--eloto-muted) !important;
  background-color: var(--eloto-bg-strong) !important;
  font-weight: 800;
}

body:has(.rvd-rate) a[href^="tel:"].btn,
body:has(.rvd-rate) a[href*="wa.me"].btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.woocommerce-MyAccount-content table.eloto-compact-table tr.is-credit td[data-title="Amount"] {
  color: var(--eloto-success);
}

.woocommerce-MyAccount-content table.eloto-compact-table tr.is-credit td[data-title="Amount"]::before {
  content: "+";
  display: inline !important;
  color: inherit;
  font-size: inherit;
}

/* Barre de date des resultats sur une ligne */
.eloto-date-filter.row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .4rem;
  margin: 0;
}

.eloto-date-filter.row > * {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

.eloto-date-filter.row > .col-12 {
  flex: 1 1 auto;
  min-width: 0;
}

.eloto-date-filter.row > .col-auto,
.eloto-date-filter .btn-link,
.eloto-date-filter a[title="Recharger ce jour"] {
  display: none !important;
}

.eloto-date-filter.row > .col {
  flex: 0 0 auto;
  flex-wrap: nowrap !important;
}

.eloto-date-filter .btn-outline-secondary {
  min-width: 36px;
  color: var(--eloto-accent-dark);
  border-color: var(--eloto-border);
}

/* -----------------------------------------------------------
   Validation de la commande (checkout)
----------------------------------------------------------- */
.woocommerce-checkout #customer_details:not(:has(.woocommerce-billing-fields__field-wrapper > *)):not(:has(.woocommerce-shipping-fields input)):not(:has(#order_comments)) {
  display: none;
}

.woocommerce-checkout form.checkout > .col-lg-5 {
  flex: 1 1 100%;
  max-width: 640px;
  margin: 0 auto;
}

.woocommerce-checkout #order_review_heading {
  margin: 0 0 .6rem;
  font-size: 1.15rem;
}

.woocommerce-checkout #order_review {
  overflow: hidden;
  background-color: var(--eloto-surface);
  border: 1px solid var(--eloto-border);
  border-radius: var(--eloto-radius-lg);
}

.woocommerce-checkout-review-order-table {
  width: 100%;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse;
}

.woocommerce-checkout-review-order-table thead {
  display: none;
}

.woocommerce-checkout-review-order-table tbody tr.cart_item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .3rem .75rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--eloto-border);
}

.woocommerce-checkout-review-order-table tbody td {
  display: block;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.woocommerce-checkout-review-order-table td.product-name {
  font-weight: 900;
  overflow-wrap: normal;
  word-break: normal;
}

.woocommerce-checkout-review-order-table td.product-total {
  color: var(--eloto-accent-dark);
  font-weight: 900;
  white-space: nowrap;
  text-align: right;
}

.woocommerce-checkout-review-order-table .product-quantity {
  color: var(--eloto-muted);
  font-weight: 750;
}

.woocommerce-checkout-review-order-table dl.variation {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .1rem .6rem;
  margin: .45rem 0 0;
  padding: .5rem .6rem;
  background-color: var(--eloto-surface-warm);
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 500;
}

.woocommerce-checkout-review-order-table dl.variation dt,
.woocommerce-checkout-review-order-table dl.variation dd {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.woocommerce-checkout-review-order-table dl.variation dt {
  color: var(--eloto-muted);
  font-weight: 700;
}

.woocommerce-checkout-review-order-table dl.variation dd,
.woocommerce-checkout-review-order-table dl.variation dd p {
  margin: 0 !important;
  color: var(--eloto-text);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.woocommerce-checkout-review-order-table tfoot tr {
  display: flex;
  justify-content: space-between;
  padding: .55rem 1rem;
}

.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal {
  color: var(--eloto-muted);
  font-size: .85rem;
}

.woocommerce-checkout-review-order-table tfoot tr.order-total {
  border-top: 2px dashed var(--eloto-border);
  font-size: 1.05rem;
  font-weight: 900;
}

.woocommerce-checkout-review-order-table tfoot tr.order-total td {
  color: var(--eloto-accent);
  font-size: 1.3rem;
}

.woocommerce-checkout #payment {
  margin: 0;
  padding: 1rem;
  background: transparent !important;
  border-top: 1px solid var(--eloto-border);
  border-radius: 0;
}

.woocommerce-checkout #payment ul.payment_methods {
  margin: 0 0 .75rem;
  padding: 0;
  border: 0;
}

.woocommerce-checkout #payment li.wc_payment_method {
  list-style: none;
}

.woocommerce-checkout #payment li.wc_payment_method > label {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .45rem;
  font-weight: 900;
}

.woocommerce-checkout #payment li.wc_payment_method > label::before {
  content: "\f555";
  color: var(--eloto-accent);
  font-family: "Font Awesome 7 Free", "Font Awesome 6 Free";
  font-weight: 900;
}

.woocommerce-checkout #payment .fsww-wallet-checkout-icon {
  display: none !important;
}

.woocommerce-checkout #payment .payment_box {
  margin: 0 !important;
  padding: .6rem .8rem !important;
  color: var(--eloto-text);
  background-color: var(--eloto-surface-warm) !important;
  border-radius: var(--eloto-radius-md);
  font-size: .85rem;
}

.woocommerce-checkout #payment .payment_box::before {
  display: none !important;
}

.woocommerce-checkout #payment .payment_box > p {
  margin: 0 0 .4rem;
}

.woocommerce-checkout #payment .payment_box > p + p {
  margin-top: .15rem;
  color: var(--eloto-muted);
  font-size: .78rem;
}

.woocommerce-checkout #payment .payment_box .amount {
  font-weight: 900;
}

.woocommerce-checkout #payment .place-order {
  margin: 0;
  padding: 0;
}

.woocommerce-checkout #place_order {
  width: 100%;
  min-height: 52px;
  font-size: 1.05rem;
}

/* -----------------------------------------------------------
   Menu principal
----------------------------------------------------------- */
.eloto-menu-icon {
  width: 1.25rem;
  margin-right: .55rem;
  color: var(--eloto-accent);
  text-align: center;
}

@media (min-width: 992px) {
  #bootscore-navbar .eloto-menu-icon {
    display: none;
  }

  #bootscore-navbar a[href*="/mon-compte"]:not([href*="/orders"]) {
    display: none;
  }
}

#offcanvas-navbar .offcanvas-header {
  padding-right: 1rem;
  padding-left: 1rem;
}

#offcanvas-navbar .offcanvas-body {
  padding: .75rem 1rem 1.25rem;
}

#offcanvas-navbar #bootscore-navbar {
  gap: .25rem;
}

#offcanvas-navbar .nav-link {
  display: flex;
  align-items: center;
  padding: .6rem .75rem;
  color: var(--eloto-text);
  border-radius: var(--eloto-radius-md);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

#offcanvas-navbar .nav-link:hover,
#offcanvas-navbar .nav-link:focus-visible {
  background-color: var(--eloto-surface-warm);
}

#offcanvas-navbar .current-menu-item > .nav-link,
#offcanvas-navbar .nav-link.active {
  color: var(--eloto-accent-dark);
  background-color: var(--eloto-accent-subtle);
  box-shadow: none;
}

.eloto-menu-quick {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .4rem;
  margin: 0 0 .6rem;
  padding: 0 0 .85rem;
  list-style: none;
  border-bottom: 1px solid var(--eloto-border);
}

.eloto-menu-quick a {
  display: grid;
  justify-items: center;
  gap: .3rem;
  padding: .55rem .15rem;
  color: var(--eloto-text) !important;
  background-color: var(--eloto-surface-warm);
  border: 1px solid var(--eloto-border);
  border-radius: var(--eloto-radius-md);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
  text-decoration: none !important;
}

.eloto-menu-quick a:first-child {
  color: #ffffff !important;
  background-color: var(--eloto-accent);
  border-color: var(--eloto-accent);
}

.eloto-menu-quick a:first-child i {
  color: #ffffff;
}

.eloto-menu-quick i {
  color: var(--eloto-accent);
  font-size: 1.05rem;
}

.eloto-menu-logout {
  margin-top: .5rem;
  padding-top: .6rem;
  border-top: 1px solid var(--eloto-border);
}

#offcanvas-navbar .eloto-menu-logout .nav-link {
  color: var(--eloto-muted);
}

/* -----------------------------------------------------------
   Accueil (refonte)
----------------------------------------------------------- */
.home .site-content.container {
  max-width: 1100px;
}

.eloto-home2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  min-width: 0;
  padding: .75rem 0 1.5rem;
}

.eloto-home2__hero {
  padding: 2rem 1.25rem;
  color: #ffffff;
  background-color: var(--eloto-text);
  border-radius: var(--eloto-radius-xl);
  text-align: center;
}

.eloto-home2__hero h1 {
  margin: 0 0 .5rem;
  color: #ffffff;
  font-size: clamp(1.7rem, 7vw, 2.4rem);
}

.eloto-home2__hero p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, .75);
}

.eloto-home2__auth {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
  max-width: 420px;
  margin: 0 auto;
}

.eloto-home2__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 48px;
  color: var(--eloto-text) !important;
  background-color: #ffffff;
  border-radius: var(--eloto-radius-md);
  font-weight: 850;
  text-decoration: none !important;
}

.eloto-home2__btn.is-primary {
  color: #ffffff !important;
  background-color: var(--eloto-accent);
}

.eloto-home2__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
}

.eloto-home2__steps > div {
  display: grid;
  gap: .2rem;
  padding: .85rem .7rem;
  background-color: var(--eloto-surface);
  border: 1px solid var(--eloto-border);
  border-radius: var(--eloto-radius-md);
}

.eloto-home2__steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--eloto-text);
  background-color: var(--eloto-yellow);
  border-radius: 50%;
  font-weight: 900;
}

.eloto-home2__steps strong {
  font-size: .9rem;
}

.eloto-home2__steps small {
  color: var(--eloto-muted);
  font-size: .74rem;
  line-height: 1.3;
}

@media (max-width: 575.98px) {
  .eloto-home2__steps {
    grid-template-columns: 1fr;
  }

  .eloto-home2__steps > div {
    grid-template-columns: auto 1fr;
    column-gap: .65rem;
    align-items: center;
  }

  .eloto-home2__steps span {
    grid-row: span 2;
  }
}

.eloto-home2__help {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  color: var(--eloto-accent-dark) !important;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none !important;
}

.eloto-home2__welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.eloto-home2__welcome > div {
  display: grid;
  min-width: 0;
}

.eloto-home2__welcome small {
  color: var(--eloto-muted);
  font-size: .75rem;
  font-weight: 700;
}

.eloto-home2__welcome > div strong {
  overflow: hidden;
  font-size: 1.25rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eloto-home2__balance {
  display: grid;
  justify-items: end;
  padding: .45rem .8rem;
  color: var(--eloto-text) !important;
  background-color: var(--eloto-surface);
  border: 1px solid var(--eloto-border);
  border-radius: var(--eloto-radius-md);
  text-decoration: none !important;
}

.eloto-home2__balance strong {
  color: var(--eloto-accent);
  font-size: 1.1rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.eloto-home2__play {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.1rem 1.2rem;
  color: #ffffff !important;
  background-color: var(--eloto-accent);
  border-radius: var(--eloto-radius-lg);
  text-decoration: none !important;
  transition: background-color .16s ease;
}

.eloto-home2__play:hover {
  background-color: var(--eloto-accent-dark);
}

.eloto-home2__play > i:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--eloto-accent);
  background-color: #ffffff;
  border-radius: 14px;
  font-size: 1.35rem;
}

.eloto-home2__play span {
  display: grid;
  flex: 1 1 auto;
}

.eloto-home2__play strong {
  font-size: 1.2rem;
  font-weight: 900;
}

.eloto-home2__play small {
  opacity: .85;
}

.eloto-home2__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: .55rem;
}

.eloto-home2__head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.eloto-home2__head a {
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}

.eloto-home2__draws {
  display: grid;
  min-width: 0;
  grid-auto-columns: minmax(118px, 1fr);
  grid-auto-flow: column;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .25rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.eloto-home2__draws::-webkit-scrollbar {
  display: none;
}

.eloto-home2__draws a {
  display: grid;
  justify-items: center;
  gap: .3rem;
  padding: .75rem .5rem;
  color: var(--eloto-text) !important;
  background-color: var(--eloto-surface);
  border: 1px solid var(--eloto-border);
  border-radius: var(--eloto-radius-md);
  text-align: center;
  text-decoration: none !important;
  scroll-snap-align: start;
}

.eloto-home2__draws a:hover {
  border-color: var(--eloto-accent);
}

.eloto-home2__draws img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.eloto-home2__draws span {
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.15;
}

.eloto-home2__draws small {
  padding: .05rem .5rem;
  color: var(--eloto-text);
  background-color: var(--eloto-yellow);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 900;
}

.eloto-home2__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
}

.eloto-home2__actions a {
  display: grid;
  justify-items: center;
  gap: .35rem;
  padding: .85rem .3rem;
  color: var(--eloto-text) !important;
  background-color: var(--eloto-surface);
  border: 1px solid var(--eloto-border);
  border-radius: var(--eloto-radius-md);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none !important;
}

.eloto-home2__actions a:hover {
  border-color: var(--eloto-accent);
}

.eloto-home2__actions i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--eloto-accent-dark);
  background-color: var(--eloto-accent-soft);
  border-radius: 12px;
  font-size: 1.05rem;
}

@media (min-width: 768px) {
  .eloto-home2__actions {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.eloto-home2__manager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
}

.eloto-home2__manager a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 44px;
  color: #ffffff !important;
  background-color: var(--eloto-text);
  border-radius: var(--eloto-radius-md);
  font-weight: 800;
  text-decoration: none !important;
}

.eloto-home2__apps {
  display: grid;
  gap: .5rem;
  margin-top: .25rem;
}

@media (min-width: 768px) {
  .eloto-home2__apps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.eloto-home2__app {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .8rem .9rem;
  color: #ffffff !important;
  background-color: var(--eloto-text);
  border-radius: var(--eloto-radius-lg);
  text-decoration: none !important;
}

.eloto-home2__app[hidden] {
  display: none;
}

.eloto-home2__app.is-net {
  color: var(--eloto-text) !important;
  background-color: var(--eloto-surface);
  border: 1px solid var(--eloto-border);
}

.eloto-home2__app.is-net:hover {
  border-color: var(--eloto-accent);
}

.eloto-home2__app-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--eloto-text);
  background-color: var(--eloto-yellow);
  border-radius: 12px;
  font-size: 1.3rem;
}

.eloto-home2__app.is-net .eloto-home2__app-icon {
  color: #ffffff;
  background-color: var(--eloto-accent);
}

.eloto-home2__app-text {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
}

.eloto-home2__app-text strong {
  font-size: .95rem;
  font-weight: 900;
}

.eloto-home2__app-text small {
  overflow: hidden;
  font-size: .74rem;
  opacity: .75;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eloto-home2__app-btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .35rem;
  padding: .5rem .8rem;
  color: var(--eloto-text) !important;
  background-color: #ffffff;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none !important;
}

.eloto-home2__app.is-net .eloto-home2__app-btn {
  color: var(--eloto-accent-dark) !important;
  background-color: var(--eloto-accent-subtle);
}

/* -----------------------------------------------------------
   Guide / aide
----------------------------------------------------------- */
.page-id-190 .entry-header,
.page-id-190 h1.entry-title {
  display: none;
}

.eloto-guide {
  display: grid;
  gap: .6rem;
  max-width: 760px;
  margin: 0 auto;
  padding: .75rem 0 1.5rem;
}

.eloto-guide__intro {
  display: grid;
  gap: .4rem;
  margin-bottom: .4rem;
}

.eloto-guide__intro h1 {
  margin: 0;
  font-size: clamp(1.45rem, 6vw, 1.9rem);
}

.eloto-guide__intro p {
  margin: 0 0 .4rem;
  color: var(--eloto-muted);
}

.eloto-guide__intro .eloto-draw-search {
  position: static;
  margin: 0;
}

.eloto-guide__chips {
  display: flex;
  gap: .4rem;
  margin: 0 0 .3rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.eloto-guide__chips::-webkit-scrollbar {
  display: none;
}

.eloto-guide__chips a {
  flex: 0 0 auto;
  padding: .35rem .8rem;
  color: var(--eloto-text) !important;
  background-color: var(--eloto-surface);
  border: 1px solid var(--eloto-border);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none !important;
}

.eloto-guide__chips a:hover {
  border-color: var(--eloto-accent);
}

.eloto-guide__item {
  background-color: var(--eloto-surface);
  border: 1px solid var(--eloto-border);
  border-radius: var(--eloto-radius-md);
  scroll-margin-top: calc(var(--eloto-header-height, 56px) + 12px);
}

.eloto-guide__item[open] {
  border-color: var(--eloto-accent);
}

.eloto-guide__item > summary {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .9rem 1rem;
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}

.eloto-guide__item > summary::-webkit-details-marker {
  display: none;
}

.eloto-guide__item > summary::after {
  content: "\f078";
  margin-left: auto;
  color: var(--eloto-muted);
  font-family: "Font Awesome 7 Free", "Font Awesome 6 Free";
  font-size: .8rem;
  font-weight: 900;
  transition: transform .16s ease;
}

.eloto-guide__item[open] > summary::after {
  transform: rotate(180deg);
}

.eloto-guide__item > summary > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: var(--eloto-accent-dark);
  background-color: var(--eloto-accent-soft);
  border-radius: 10px;
}

.eloto-guide__item > :not(summary) {
  margin-right: 1rem;
  margin-left: 1rem;
}

.eloto-guide__item > :last-child {
  margin-bottom: 1rem;
}

.eloto-guide__item h3 {
  margin-top: 1rem;
  margin-bottom: .3rem;
  font-size: .95rem;
}

.eloto-guide__item p,
.eloto-guide__item li {
  font-size: .9rem;
  line-height: 1.5;
}

.eloto-guide__item ol,
.eloto-guide__item ul {
  padding-left: 1.2rem;
}

.eloto-guide__lead {
  padding: .6rem .75rem;
  background-color: var(--eloto-surface-warm);
  border-radius: 8px;
}

.eloto-guide__note {
  padding: .55rem .75rem;
  background-color: #fff8d6;
  border-left: 4px solid var(--eloto-yellow);
  border-radius: 8px;
  font-size: .85rem !important;
}

.eloto-guide__facts {
  display: grid;
  gap: .4rem;
  margin-top: .6rem;
}

.eloto-guide__facts > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem .75rem;
  background-color: var(--eloto-surface-warm);
  border-radius: 8px;
}

.eloto-guide__facts dt {
  color: var(--eloto-muted);
  font-size: .82rem;
  font-weight: 700;
}

.eloto-guide__facts dd {
  margin: 0;
  font-size: .85rem;
  font-weight: 900;
  text-align: right;
}

.eloto-guide__table {
  margin-top: .75rem;
  overflow-x: auto;
}

.eloto-guide__table table {
  width: 100%;
  border-collapse: collapse;
  font-size: .8rem;
}

.eloto-guide__table caption {
  caption-side: top;
  padding: 0 0 .35rem;
  color: var(--eloto-text);
  font-weight: 900;
}

.eloto-guide__table th,
.eloto-guide__table td {
  padding: .4rem .5rem;
  border-bottom: 1px solid var(--eloto-border);
  white-space: nowrap;
}

.eloto-guide__table thead th {
  color: #ffffff;
  background-color: var(--eloto-text);
  text-align: center;
}

.eloto-guide__table tbody th {
  font-weight: 800;
  text-align: left;
}

.eloto-guide__table td {
  font-weight: 800;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.eloto-guide__rules {
  margin-top: .6rem;
}

.eloto-guide__empty {
  padding: 1rem;
  color: var(--eloto-muted);
  text-align: center;
}

.eloto-guide__contact {
  display: grid;
  gap: .25rem;
  justify-items: center;
  margin-top: .6rem;
  padding: 1.2rem 1rem;
  background-color: var(--eloto-surface);
  border: 1px dashed var(--eloto-border);
  border-radius: var(--eloto-radius-md);
  text-align: center;
}

.eloto-guide__contact span {
  color: var(--eloto-muted);
  font-size: .85rem;
}

.eloto-guide__contact a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .4rem;
  padding: .55rem 1rem;
  color: #ffffff !important;
  background-color: var(--eloto-accent);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none !important;
}

/* Recharge : le choix du solde n'a qu'une option, il est masque */
.woocommerce-MyAccount-content .form-row:has(> select[name="target_balance"]):not(:has(option + option)) {
  display: none;
}
