/*
 Theme Name:   Eloto Custom
 Theme URI:    https://eloto.local/
 Description:  Theme custom autonome Eloto base sur Bootscore avec les personnalisations du theme enfant fusionnees.
 Author:       Eloto
 Author URI:   https://eloto.local/
 Version:      1.0.0
 Requires at least: 5.0
 Tested up to: 6.8
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* -----------------------------------------------------------
   Couleurs type Betclic - compatibles Bootscore / Bootstrap 5
----------------------------------------------------------- */
:root {
  --eloto-bg: #f3f4f6;
  --eloto-bg-strong: #e8eaee;
  --eloto-surface: #ffffff;
  --eloto-surface-clear: #ffffff;
  --eloto-surface-warm: #f8f9fb;
  --eloto-surface-blue: #eef0f4;
  --eloto-border: #dfe2e7;
  --eloto-border-strong: #e30613;
  --eloto-text: #000000;
  --eloto-muted: #5b6068;
  --eloto-accent: #e30613;
  --eloto-accent-dark: #b0000f;
  --eloto-accent-soft: #ffe3e6;
  --eloto-accent-subtle: #fff1f2;
  --eloto-yellow: #ffd200;
  --eloto-cyan: #000000;
  --eloto-rose: #e30613;
  --eloto-success: #008f45;
  --eloto-info: #000000;
  --eloto-danger: #e30613;
  --eloto-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --eloto-radius-xl: 24px;
  --eloto-radius-lg: 16px;
  --eloto-radius-md: 12px;
  --eloto-shadow-sm: 0 10px 24px rgba(0, 0, 0, .08);
  --eloto-shadow-md: 0 18px 42px rgba(227, 6, 19, .16);
  --eloto-ring: 0 0 0 .2rem rgba(227, 6, 19, .22);

  --bs-body-bg: var(--eloto-bg);
  --bs-body-color: var(--eloto-text);
  --bs-border-color: var(--eloto-border);
  --bs-primary: var(--eloto-accent);
  --bs-success: var(--eloto-success);
  --bs-info: var(--eloto-info);
  --bs-warning: var(--eloto-yellow);
  --bs-danger: var(--eloto-danger);
}

/* -----------------------------------------------------------
   Base
----------------------------------------------------------- */
html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--eloto-bg);
  color: var(--eloto-text);
  font-family: var(--bs-body-font-family, var(--eloto-font-sans));
  font-size: .95rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: var(--eloto-text);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: 0;
}

h1,
.h1 {
  font-size: 2rem;
}

h2,
.h2 {
  font-size: 1.55rem;
}

h3,
.h3 {
  font-size: 1.25rem;
}

p,
li,
.entry-content {
  color: var(--eloto-text);
}

a {
  color: var(--eloto-accent-dark);
  transition: color .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
  outline: 0;
  box-shadow: var(--eloto-ring);
}

img {
  max-width: 100%;
  height: auto;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-padding-top: calc(var(--eloto-header-height, 56px) + 12px);
}

#page,
.site {
  min-width: 0;
  overflow-x: clip;
  padding-top: var(--eloto-header-height, 56px);
}

:target {
  scroll-margin-top: calc(var(--eloto-header-height, 56px) + 12px);
}

.container,
.container-fluid,
.row,
[class*="col-"],
.entry-content,
.woocommerce {
  min-width: 0;
}

/* -----------------------------------------------------------
   Navigation
----------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  width: 100%;
  background-color: var(--eloto-surface-clear);
}

.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.navbar {
  min-height: clamp(38px, 4.4vw, 44px);
  padding-top: clamp(.08rem, .35vw, .16rem);
  padding-bottom: clamp(.08rem, .35vw, .16rem);
  background-color: var(--eloto-surface-clear);
  border-bottom: 1px solid var(--eloto-border);
  box-shadow: var(--eloto-shadow-sm);
}

.navbar > .container,
.navbar > .container-fluid {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(.14rem, .65vw, .32rem);
  min-height: clamp(34px, 3.8vw, 40px);
  min-width: 0;
}

.navbar .navbar-brand,
.navbar .nav-link {
  color: var(--eloto-accent-dark);
}

.navbar .navbar-brand {
  flex: 0 1 auto;
  min-width: 0;
  margin-right: clamp(.08rem, .7vw, .25rem);
  font-weight: 900;
  font-size: 1.02rem;
  line-height: 1;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar .navbar-brand img,
.navbar .custom-logo {
  width: auto;
  max-height: 38px;
}

.navbar .eloto-navbar-logo {
  display: block;
  width: auto;
  height: clamp(26px, 2.7vw, 32px);
  max-width: clamp(26px, 2.7vw, 32px);
  object-fit: contain;
}

.navbar .nav-link {
  border-radius: 999px;
  padding: .26rem .48rem;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.15;
}

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

.navbar .fsww-balance,
.navbar .fsww-right,
#offcanvas-navbar .fsww-balance,
#offcanvas-navbar .fsww-right,
.menu-item.fsww-balance,
.menu-item.fsww-right {
  display: none !important;
}

.header-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(.12rem, .45vw, .24rem);
  flex: 0 1 auto;
  min-width: 0;
  margin-left: auto;
}

.header-actions .btn,
.navbar .nav-toggler,
.navbar .search-toggler,
.navbar .account-toggler,
.navbar .cart-toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(28px, 2.9vw, 32px);
  min-width: clamp(28px, 2.9vw, 32px);
  height: clamp(28px, 2.9vw, 32px);
  padding: 0;
  color: var(--eloto-accent-dark);
  background-color: var(--eloto-surface-clear);
  border: 1px solid var(--eloto-border);
  border-radius: 50%;
  box-shadow: none;
  font-size: .82rem;
}

.header-actions .btn:hover,
.navbar .nav-toggler:hover,
.navbar .search-toggler:hover,
.navbar .account-toggler:hover,
.navbar .cart-toggler:hover,
.header-actions .btn:focus,
.navbar .nav-toggler:focus,
.navbar .search-toggler:focus,
.navbar .account-toggler:focus,
.navbar .cart-toggler:focus {
  color: #ffffff;
  background-color: var(--eloto-accent);
  border-color: var(--eloto-accent);
}

.cart-toggler .cart-content {
  position: absolute;
  top: -5px;
  right: -5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 15px;
  height: 15px;
  padding: 0 .18rem;
  color: var(--eloto-text);
  background-color: var(--eloto-yellow);
  border: 2px solid #ffffff;
  border-radius: 999px;
  font-size: .56rem;
  font-weight: 900;
  line-height: 1;
}

.cart-toggler .cart-content:empty {
  display: none;
}

.eloto-navbar-balances {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  max-width: min(38vw, 220px);
  margin-right: .15rem;
  overflow: hidden;
  border: 1px solid var(--eloto-accent);
  border-radius: 999px;
  box-shadow: 0 5px 12px rgba(227, 6, 19, .12);
}

.eloto-navbar-balances ~ .eloto-navbar-balances {
  display: none !important;
}

.eloto-navbar-balance {
  display: inline-grid;
  grid-template-columns: auto minmax(0, auto);
  align-items: center;
  justify-content: center;
  gap: .18rem;
  min-height: clamp(24px, 2.4vw, 28px);
  min-width: 0;
  max-width: none;
  padding: .16rem .34rem;
  color: #ffffff;
  background-color: var(--eloto-accent);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  line-height: 1;
}

.eloto-navbar-balance.is-gain {
  color: var(--eloto-text);
  background-color: var(--eloto-yellow);
  border-left: 1px solid rgba(0, 0, 0, .12);
  box-shadow: none;
}

.eloto-navbar-balance__label {
  font-size: .5rem;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  opacity: .86;
}

.eloto-navbar-balance__value {
  min-width: 0;
  font-size: .64rem;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.eloto-navbar-balance__value .woocommerce-Price-amount {
  white-space: nowrap;
}

.navbar-toggler {
  padding: .22rem .45rem;
  border-color: var(--eloto-border);
  border-radius: .75rem;
}

.navbar-toggler:focus {
  box-shadow: var(--eloto-ring);
}

#offcanvas-navbar,
#offcanvas-user,
#offcanvas-cart {
  background-color: var(--eloto-surface-clear);
}

.offcanvas {
  --bs-offcanvas-width: clamp(320px, 36vw, 420px);
  max-width: 100vw;
}

.offcanvas.show,
.offcanvas.showing,
.offcanvas.hiding {
  height: 100dvh;
  max-height: 100dvh;
}

.offcanvas-body {
  min-height: 0;
  max-height: calc(100dvh - 54px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.offcanvas-header {
  min-height: clamp(50px, 5.5vw, 56px);
  padding-top: .65rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--eloto-border);
}

.offcanvas-title {
  color: var(--eloto-text);
  font-size: 1rem;
  font-weight: 900;
}

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

#offcanvas-navbar .navbar-nav {
  width: 100%;
  gap: .18rem;
  margin: 0 !important;
}

#offcanvas-navbar .nav-link {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: .58rem .72rem;
  color: var(--eloto-text);
  border-radius: var(--eloto-radius-md);
}

#offcanvas-navbar .nav-link:hover,
#offcanvas-navbar .nav-link:focus,
#offcanvas-navbar .nav-link.active {
  color: var(--eloto-accent-dark);
  background-color: var(--eloto-accent-subtle);
}

#offcanvas-cart .offcanvas-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#offcanvas-cart .widget_shopping_cart_content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

/* -----------------------------------------------------------
   Mini-panier
----------------------------------------------------------- */
.eloto-mini-cart {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background-color: var(--eloto-bg);
}

.eloto-mini-cart__items {
  flex: 1 1 auto;
  gap: .45rem;
  padding: .65rem;
  background-color: transparent;
  overflow-y: auto;
}

.eloto-mini-cart-item {
  padding: .65rem !important;
  color: var(--eloto-text);
  background-color: var(--eloto-surface-clear);
  border: 1px solid var(--eloto-border) !important;
  border-radius: var(--eloto-radius-md) !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
}

.eloto-mini-cart-item__main {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: .6rem;
  align-items: start;
}

.eloto-mini-cart-item__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--eloto-surface-warm);
  border: 1px solid var(--eloto-border);
  border-radius: 10px;
  overflow: hidden;
}

.eloto-mini-cart-item__thumb-link {
  display: flex;
}

.eloto-mini-cart-item__img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.eloto-mini-cart-item__body {
  min-width: 0;
}

.eloto-mini-cart-item__toggle {
  width: 100%;
  padding: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
}

.eloto-mini-cart-item__top,
.eloto-mini-cart-item__meta {
  display: flex;
  align-items: center;
  gap: .45rem;
  min-width: 0;
}

.eloto-mini-cart-item__name {
  min-width: 0;
  color: var(--eloto-text);
  font-size: .84rem;
  font-weight: 900;
  line-height: 1.18;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eloto-mini-cart-item__remove {
  flex: 0 0 auto;
  margin-left: auto;
}

.eloto-mini-cart-item__remove .remove_from_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--eloto-danger);
  background-color: var(--eloto-accent-subtle);
  border-radius: 50%;
  text-decoration: none;
}

.eloto-mini-cart-item__meta {
  margin-top: .22rem;
  color: var(--eloto-muted);
  font-size: .72rem;
  font-weight: 750;
}

.eloto-mini-cart-item__price {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eloto-mini-cart-item__details-link {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--eloto-accent-dark);
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eloto-mini-cart-item__collapse {
  margin-top: .5rem;
}

.eloto-mini-cart-item__details {
  padding: .55rem;
  background-color: var(--eloto-surface-warm);
  border: 1px solid var(--eloto-border);
  border-radius: 10px;
}

.mini-details .mini-line {
  margin: .12rem 0;
  color: var(--eloto-text);
  font-size: .76rem;
  line-height: 1.25;
}

.mini-details .mini-label {
  font-weight: 900;
}

.mini-details .mini-sep {
  color: var(--eloto-muted);
}

.mini-details .mini-value {
  white-space: normal;
}

.eloto-mini-cart-item__empty-detail {
  color: var(--eloto-muted);
  font-size: .78rem;
  font-weight: 750;
}

.eloto-mini-cart-item__stock {
  margin-top: .45rem;
}

.eloto-mini-cart__footer {
  flex: 0 0 auto;
  background-color: var(--eloto-surface-clear);
  border-top: 1px solid var(--eloto-border);
  box-shadow: 0 -8px 20px rgba(15, 23, 42, .06);
}

.eloto-mini-cart-footer__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 0 0 .75rem;
  color: var(--eloto-text);
  font-size: .95rem;
  font-weight: 900;
}

.eloto-mini-cart-footer__buttons {
  display: grid;
  gap: .45rem;
}

.eloto-mini-cart-footer__buttons .button,
.eloto-mini-cart-footer__buttons .btn {
  width: 100%;
  margin: 0 !important;
  min-height: 40px;
  font-size: .86rem;
  font-weight: 900;
}

.eloto-mini-cart-empty {
  display: grid;
  place-items: center;
  gap: .65rem;
  min-height: 220px;
  padding: 1rem;
  color: var(--eloto-muted);
  text-align: center;
}

.eloto-mini-cart-empty i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--eloto-accent-dark);
  background-color: var(--eloto-accent-soft);
  border-radius: 50%;
  font-size: 1.1rem;
}

.eloto-mini-cart-empty p {
  margin: 0;
  font-size: .92rem;
  font-weight: 800;
}

/* -----------------------------------------------------------
   Surfaces
----------------------------------------------------------- */
.content-wrapper,
.eloto-section,
.bg-glass {
  color: var(--eloto-text);
  background-color: var(--eloto-surface);
  border: 1px solid var(--eloto-border);
  box-shadow: var(--eloto-shadow-sm);
}

.content-wrapper {
  border-radius: var(--eloto-radius-xl);
  padding: clamp(14px, 2vw, 22px);
  margin: clamp(10px, 2vw, 18px);
}

.eloto-section {
  border-radius: var(--eloto-radius-lg);
  padding: clamp(14px, 2vw, 20px);
}

.eloto-home {
  color: var(--eloto-text);
  border-radius: var(--eloto-radius-xl);
}

.header-content h1 {
  margin: 0 0 .4rem;
  color: var(--eloto-accent-dark);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.08;
}

.header-content .lead {
  color: var(--eloto-muted);
  font-size: 1rem;
  font-weight: 600;
}

/* -----------------------------------------------------------
   Boutons
----------------------------------------------------------- */
.btn,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.action-buttons .action-btn {
  border-radius: 999px;
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: 0;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, background-color .16s ease, border-color .16s ease;
}

.btn-primary,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
  border: 0;
  background-color: var(--eloto-accent);
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(227, 6, 19, .22);
}

.btn-primary:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
  background-color: var(--eloto-accent-dark);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.btn-secondary,
.btn-outline-secondary {
  border-color: var(--eloto-border-strong);
  background-color: var(--eloto-surface);
  color: var(--eloto-accent-dark);
}

.btn-secondary:hover,
.btn-outline-secondary:hover {
  border-color: var(--eloto-accent);
  background-color: var(--eloto-accent-soft);
  color: var(--eloto-accent-dark);
}

.btn-success {
  border: 0;
  background-color: var(--eloto-success);
  color: #ffffff;
}

.btn-info {
  border: 0;
  background-color: var(--eloto-info);
  color: #ffffff;
}

.btn-danger {
  border: 0;
  background-color: var(--eloto-danger);
  color: #ffffff;
}

.btn-warning {
  border: 0;
  background-color: var(--eloto-yellow);
  color: #000000;
}

/* -----------------------------------------------------------
   WooCommerce
----------------------------------------------------------- */
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  width: 100%;
  float: none;
  margin-right: auto;
  margin-left: auto;
}

.woocommerce-checkout #order_review {
  text-align: center;
}

.woocommerce-checkout #payment,
.woocommerce table.shop_table,
.woocommerce-page table.shop_table {
  color: var(--eloto-text);
  background-color: var(--eloto-surface);
  border: 1px solid var(--eloto-border);
  border-radius: var(--eloto-radius-lg);
  box-shadow: var(--eloto-shadow-sm);
  overflow: hidden;
}

.woocommerce table.shop_table,
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  font-size: .92rem;
}

.woocommerce-checkout #payment {
  padding: .85rem;
  font-weight: 700;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: var(--eloto-border);
}

.woocommerce table.shop_table th {
  color: var(--eloto-accent-dark);
  background-color: var(--eloto-bg-strong);
  font-weight: 900;
}

.woocommerce table.shop_table_responsive tr:nth-child(2n) td,
.woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
  background-color: var(--eloto-surface-warm);
  color: var(--eloto-text);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.form-control,
.form-select {
  min-height: 44px;
  color: var(--eloto-text);
  background-color: var(--eloto-surface-clear);
  border-color: var(--eloto-border);
  border-radius: var(--eloto-radius-md);
  font-size: .94rem;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.form-control:focus,
.form-select:focus {
  color: var(--eloto-text);
  background-color: var(--eloto-surface);
  border-color: var(--eloto-accent);
  box-shadow: var(--eloto-ring);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top: 0;
  border-radius: var(--eloto-radius-lg);
  color: var(--eloto-text);
  background-color: var(--eloto-surface);
  box-shadow: var(--eloto-shadow-sm);
}

.woocommerce-message {
  border-left: 5px solid var(--eloto-success);
}

.woocommerce-info {
  border-left: 5px solid var(--eloto-info);
}

.woocommerce-error {
  border-left: 5px solid var(--eloto-danger);
}

/* -----------------------------------------------------------
   Mon compte WooCommerce
----------------------------------------------------------- */
.woocommerce-account .entry-content,
.woocommerce-account .woocommerce {
  min-width: 0;
}

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

.eloto-account-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  color: var(--eloto-text);
  background-color: var(--eloto-surface-clear);
  border: 1px solid var(--eloto-border);
  border-radius: var(--eloto-radius-lg);
  box-shadow: var(--eloto-shadow-sm);
}

.eloto-account-hero__identity {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}

.eloto-account-avatar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #ffffff;
  background-color: var(--eloto-accent);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(227, 6, 19, .16);
}

.eloto-account-hero__text {
  min-width: 0;
}

.eloto-account-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.1;
}

.eloto-account-subtitle {
  margin: .18rem 0 0;
  color: var(--eloto-muted);
  font-size: .86rem;
  font-weight: 650;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.eloto-account-layout {
  align-items: flex-start;
}

.eloto-account-nav,
.eloto-account-content {
  color: var(--eloto-text);
  background-color: var(--eloto-surface-clear);
  border: 1px solid var(--eloto-border);
  border-radius: var(--eloto-radius-lg);
  box-shadow: var(--eloto-shadow-sm);
  overflow: hidden;
}

.eloto-account-nav {
  position: sticky;
  top: 72px;
}

.eloto-account-nav__head {
  display: flex;
  align-items: center;
  gap: .62rem;
  padding: .85rem;
  border-bottom: 1px solid var(--eloto-border);
  background-color: var(--eloto-accent-subtle);
}

.woocommerce-account .eloto-account-nav__head {
  display: none;
}

.eloto-account-nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  background-color: var(--eloto-accent);
  border-radius: 50%;
}

.eloto-account-nav__head strong,
.eloto-account-nav__head span {
  display: block;
  line-height: 1.15;
}

.eloto-account-nav__head strong {
  font-size: .92rem;
  font-weight: 900;
}

.eloto-account-nav__head span {
  margin-top: .15rem;
  color: var(--eloto-muted);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eloto-account-menu.list-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
  gap: .38rem;
  margin: 0;
  padding: .55rem;
  border-radius: 0;
}

.eloto-account-menu .list-group-item {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  align-items: center;
  gap: .4rem;
  min-height: 36px;
  padding: .44rem .58rem;
  color: var(--eloto-text);
  background-color: var(--eloto-surface);
  border: 1px solid var(--eloto-border);
  border-top-width: 1px;
  border-radius: var(--eloto-radius-md) !important;
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.15;
}

.eloto-account-menu .list-group-item:last-child {
  border-bottom: 1px solid var(--eloto-border);
}

.eloto-account-menu .list-group-item:hover,
.eloto-account-menu .list-group-item:focus,
.eloto-account-menu .list-group-item[aria-current="page"] {
  color: var(--eloto-accent-dark);
  background-color: var(--eloto-accent-subtle);
}

.eloto-account-menu .list-group-item[aria-current="page"] {
  border-color: var(--eloto-accent);
  box-shadow: inset 4px 0 0 var(--eloto-accent);
}

.eloto-account-menu__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  color: var(--eloto-accent-dark);
  background-color: var(--eloto-accent-soft);
  border-radius: 50%;
  font-size: .72rem;
}

.eloto-account-menu__label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.eloto-account-content {
  min-height: 320px;
  padding: 1rem;
}

.eloto-account-content > p:first-child {
  margin-top: 0;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3,
.woocommerce-account .woocommerce-MyAccount-content legend {
  color: var(--eloto-text);
  font-size: 1.05rem;
  font-weight: 900;
}

.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content button.button {
  min-height: 36px;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
  margin-bottom: 0;
}

.woocommerce-account .u-columns {
  row-gap: 1rem;
}

#offcanvas-user .eloto-account-page {
  gap: .75rem;
}

#offcanvas-user .eloto-account-hero,
#offcanvas-user .eloto-account-content {
  display: none;
}

#offcanvas-user .eloto-account-nav {
  position: static;
}

#offcanvas-user .eloto-account-nav__head {
  display: flex;
}

#offcanvas-user .eloto-account-menu__item--edit-account {
  display: none;
}

#offcanvas-user .eloto-account-layout {
  margin-right: 0;
  margin-left: 0;
}

#offcanvas-user .eloto-account-layout > [class*="col-"] {
  width: 100%;
  max-width: 100%;
  padding-right: 0;
  padding-left: 0;
}

#offcanvas-user .eloto-account-menu.list-group {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .3rem;
  padding: .45rem;
}

#offcanvas-user .eloto-account-menu .list-group-item {
  grid-template-columns: 22px minmax(0, 1fr);
  min-height: 42px;
  padding: .42rem;
  font-size: .76rem;
}

/* Single product: focus on title and play/order form */
.single-product .product {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.single-product div.product div.images,
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .product_meta,
.single-product div.product .posted_in,
.single-product div.product .tagged_as,
.single-product div.product .woocommerce-tabs,
.single-product div.product .related,
.single-product div.product .upsells,
.single-product div.product .summary .price,
.single-product div.product .summary .woocommerce-product-rating,
.single-product div.product .summary .woocommerce-product-details__short-description {
  display: none !important;
}

.single-product div.product div.summary,
.single-product div.product .summary {
  float: none !important;
  width: min(100%, 620px) !important;
  max-width: 620px;
  margin: 0 auto !important;
  text-align: center;
}

.single-product div.product .product_title,
.single-product div.product .entry-title {
  margin: 0 auto 1rem;
  color: var(--eloto-text);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
}

.single-product div.product form.cart,
.single-product div.product .cart,
.single-product div.product form.wsf-form,
.single-product div.product .wsf-form {
  width: min(100%, 540px);
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: left;
}

.single-product div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .65rem;
}

.single-product div.product form.cart .quantity {
  margin: 0;
}

.single-product div.product form.cart .single_add_to_cart_button {
  min-width: min(100%, 220px);
}

.single-product div.product .wsf-form,
.single-product div.product form.wsf-form {
  padding: .95rem;
  background-color: var(--eloto-surface-clear);
  border: 1px solid var(--eloto-border);
  border-radius: var(--eloto-radius-lg);
  box-shadow: var(--eloto-shadow-sm);
}

/* -----------------------------------------------------------
   Select2 chips (numéros)
----------------------------------------------------------- */
select.wsf-field ~ .select2-container--default .select2-selection--multiple {
  min-height: 46px;
  background-color: var(--eloto-surface);
  border-color: var(--eloto-border);
  border-radius: var(--eloto-radius-md);
}

select.wsf-field ~ .select2-container--default .select2-selection--multiple .select2-selection__choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 5px;
  padding: 0;
  color: #000000;
  background-color: var(--eloto-yellow);
  border: 1px solid #d6ad00;
  border-radius: 50%;
  font-size: .88rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 3px 8px rgba(214, 173, 0, .22);
}

select.wsf-field ~ .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #000000;
}

/* -----------------------------------------------------------
   Cartes résultats loto
----------------------------------------------------------- */
.eloto-loto-result {
  display: flex;
  flex-direction: column;
  gap: .62rem;
  height: 100%;
  min-width: 0;
}

.eloto-loto-result__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
  min-width: 0;
  padding-bottom: .48rem;
  border-bottom: 1px solid var(--eloto-border);
}

.eloto-loto-result__title {
  min-width: 0;
  margin: 0;
  color: var(--eloto-text);
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eloto-loto-result__date {
  flex: 0 0 auto;
  color: var(--eloto-muted);
  font-size: .66rem;
  font-weight: 750;
  line-height: 1.15;
  white-space: nowrap;
}

.eloto-loto-result__rows {
  display: grid;
  gap: .48rem;
}

.eloto-loto-result__row {
  display: grid;
  grid-template-columns: 2.45rem minmax(0, 1fr);
  align-items: center;
  gap: .45rem;
  min-width: 0;
}

.eloto-loto-result__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.45rem;
  padding: .15rem .35rem;
  color: #ffffff;
  background-color: var(--eloto-accent);
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.eloto-loto-result__numbers {
  display: flex;
  flex-wrap: wrap;
  gap: .28rem;
  min-width: 0;
}

.eloto-loto-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.72rem;
  height: 1.72rem;
  color: var(--eloto-text);
  background-color: #ffffff;
  border: 2px solid var(--eloto-accent);
  border-radius: 50%;
  font-size: .74rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 3px 8px rgba(227, 6, 19, .14);
}

.eloto-loto-result__row.is-mac .eloto-loto-result__label {
  color: var(--eloto-text);
  background-color: var(--eloto-yellow);
}

.eloto-loto-result__row.is-mac .eloto-loto-ball {
  background-color: #fff9d6;
  border-color: var(--eloto-yellow);
  box-shadow: 0 3px 8px rgba(255, 210, 0, .2);
}

.eloto-loto-result__edit {
  position: absolute;
  top: .48rem;
  right: .48rem;
  z-index: 2;
  background-color: #ffffff;
}

/* -----------------------------------------------------------
   Catalogue produits
----------------------------------------------------------- */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: clamp(8px, 1.7vw, 14px);
  margin: 0;
  padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce .products .product.card,
.woocommerce-page .products .product.card {
  float: none;
  width: auto;
  margin: 0;
  list-style: none;
  background-color: var(--eloto-surface-clear);
  border: 1px solid var(--eloto-border);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
  overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce .products .product.card:hover {
  transform: translateY(-2px);
  border-color: var(--eloto-border-strong);
  background-color: var(--eloto-accent-subtle);
  box-shadow: 0 16px 34px rgba(227, 6, 19, .12);
}

.woocommerce ul.products li.product a,
.woocommerce .products .product.card a {
  color: inherit;
  display: block;
}

.woocommerce ul.products li.product a img,
.woocommerce .products .product.card img {
  display: block;
  width: min(100%, 95px);
  height: auto;
  max-height: 78px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: .65rem auto .25rem;
  padding: .35rem;
  background-color: var(--eloto-surface-warm);
  border: 1px solid var(--eloto-border);
  border-radius: 12px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce .products .product.card .woocommerce-loop-product__title {
  min-height: 1.15em;
  margin: .55rem .65rem .25rem;
  color: var(--eloto-text);
  font-size: .88rem;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.woocommerce ul.products li.product .price,
.woocommerce .products .product.card .price,
.woocommerce .products .product.card .product-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  margin: 0 .65rem .65rem;
  color: var(--eloto-accent-dark);
  font-size: .88rem;
  font-weight: 900;
}

.woocommerce ul.products li.product .button,
.woocommerce .products .product.card .button {
  display: flex;
  justify-content: center;
  margin: 0 .65rem .75rem;
  min-height: 36px;
  padding: .45rem .65rem;
  font-size: .82rem;
}

.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
  min-width: auto;
  min-height: auto;
  padding: .35rem .65rem;
  border-radius: 999px;
  background-color: var(--eloto-yellow);
  color: #000000;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(214, 173, 0, .22);
}

/* -----------------------------------------------------------
   Boutons d'action maison
----------------------------------------------------------- */
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.action-buttons .action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 42px;
  padding: .62rem 1.15rem;
  color: #ffffff;
  text-decoration: none;
  background-color: var(--eloto-accent);
  box-shadow: var(--eloto-shadow-sm);
}

.action-buttons .action-btn:hover {
  color: #ffffff;
  background-color: var(--eloto-accent-dark);
  transform: translateY(-2px);
}

.action-buttons .action-btn:active {
  transform: translateY(0);
}

.action-buttons .action-btn .icon {
  font-size: 1.12rem;
  line-height: 1;
}

/* -----------------------------------------------------------
   Utilitaires
----------------------------------------------------------- */
.rounded-xl {
  border-radius: var(--eloto-radius-xl);
}

.rounded-lg {
  border-radius: var(--eloto-radius-lg);
}

.text-muted-2 {
  color: var(--eloto-muted);
}

.border-soft {
  border: 1px solid var(--eloto-border);
}

.shadow-soft {
  box-shadow: var(--eloto-shadow-sm);
}

.bg-glass {
  background-color: var(--eloto-surface);
}

.pulse {
  animation: eloto-pulse .9s ease-in-out;
}

.btn,
button,
input,
select,
textarea {
  max-width: 100%;
}

.woocommerce table.shop_table,
.woocommerce-page table.shop_table {
  max-width: 100%;
}

.woocommerce table.shop_table td,
.woocommerce table.shop_table th,
.woocommerce-page table.shop_table td,
.woocommerce-page table.shop_table th {
  vertical-align: middle;
}

.woocommerce form .form-row,
.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
  min-width: 0;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.form-control,
.form-select {
  width: 100%;
}

@keyframes eloto-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.03);
    opacity: .92;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 768px) {
  body {
    font-size: .93rem;
  }

  h1,
  .h1 {
    font-size: 1.55rem;
  }

  h2,
  .h2 {
    font-size: 1.28rem;
  }

  h3,
  .h3 {
    font-size: 1.08rem;
  }

  .navbar {
    min-height: 38px;
    padding-top: .08rem;
    padding-bottom: .08rem;
  }

  .navbar > .container,
  .navbar > .container-fluid {
    gap: .18rem;
    min-height: 34px;
  }

  .header-actions {
    gap: .16rem;
    flex: 1 1 auto;
    justify-content: flex-end;
    margin-left: auto;
  }

  .header-actions .btn,
  .navbar .nav-toggler,
  .navbar .search-toggler,
  .navbar .account-toggler,
  .navbar .cart-toggler {
    width: 30px;
    min-width: 30px;
    height: 30px;
  }

  .navbar .navbar-brand {
    font-size: .96rem;
  }

  .navbar .navbar-brand img,
  .navbar .custom-logo {
    max-height: 28px;
  }

  .navbar .eloto-navbar-logo {
    height: 28px;
    max-width: 28px;
  }

  .eloto-navbar-balances {
    flex: 0 1 auto;
    justify-content: center;
    max-width: min(50vw, 190px);
    margin-right: 0;
  }

  .eloto-navbar-balance {
    min-height: 24px;
    max-width: none;
    padding: .12rem .28rem;
  }

  .eloto-navbar-balance__label {
    font-size: .46rem;
  }

  .eloto-navbar-balance__value {
    font-size: .58rem;
  }

  .offcanvas {
    --bs-offcanvas-width: clamp(316px, 82vw, 400px);
  }

  .eloto-mini-cart__items {
    padding: .55rem;
  }

  .eloto-mini-cart-item {
    padding: .58rem !important;
  }

  .eloto-mini-cart-item__main {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: .52rem;
  }

  .eloto-mini-cart-item__thumb {
    width: 44px;
    height: 44px;
  }

  .eloto-mini-cart-item__img {
    width: 38px;
    height: 38px;
  }

  .woocommerce table.shop_table:not(.woocommerce-cart-form__contents) {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .woocommerce table.shop_table tbody,
  .woocommerce table.shop_table tfoot,
  .woocommerce table.shop_table thead {
    min-width: 100%;
  }

  .navbar-collapse {
    margin-top: .35rem;
    padding: .45rem;
    background-color: var(--eloto-surface-clear);
    border: 1px solid var(--eloto-border);
    border-radius: var(--eloto-radius-lg);
    box-shadow: var(--eloto-shadow-sm);
  }

  .navbar .nav-link {
    padding: .55rem .7rem;
    font-size: .92rem;
  }

  .eloto-account-hero {
    align-items: center;
  }

  .eloto-account-nav {
    position: static;
  }

  .eloto-account-content {
    padding: .85rem;
  }

  .content-wrapper {
    margin: .75rem;
    padding: .85rem;
    border-radius: 18px;
  }

  .header-content h1 {
    font-size: 1.5rem;
  }

  .header-content .lead {
    font-size: .94rem;
  }

  .action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  }

  .action-buttons .action-btn,
  .btn,
  .woocommerce ul.products li.product .button {
    min-width: 0;
    white-space: nowrap;
  }

  .btn,
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button {
    max-width: 100%;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
  }

  .woocommerce .products > [class*="col-"] {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding-right: .25rem;
    padding-left: .25rem;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    margin: .65rem .55rem .25rem;
    font-size: .78rem;
  }

  .woocommerce ul.products li.product .price {
    margin-right: .55rem;
    margin-left: .55rem;
    font-size: .8rem;
  }

  .woocommerce ul.products li.product .button {
    margin-right: .55rem;
    margin-left: .55rem;
    font-size: .76rem;
  }
}

@media (max-width: 576px) {
  .navbar {
    --eloto-mobile-nav-control: 28px;
    min-height: 34px;
    padding-top: .08rem;
    padding-bottom: .08rem;
  }

  .navbar > .container,
  .navbar > .container-fluid {
    align-items: center;
    flex-wrap: nowrap;
    gap: .14rem;
    row-gap: 0;
  }

  .navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--eloto-mobile-nav-control);
    padding-top: 0;
    padding-bottom: 0;
    margin-right: .08rem;
  }

  .navbar .navbar-brand img,
  .navbar .custom-logo,
  .navbar .eloto-navbar-logo {
    width: auto;
    height: var(--eloto-mobile-nav-control);
    max-height: var(--eloto-mobile-nav-control);
  }

  .header-actions {
    align-items: center;
    flex: 1 1 auto;
    min-height: var(--eloto-mobile-nav-control);
    justify-content: flex-end;
    order: 0;
    gap: .12rem;
    margin-left: auto;
  }

  .eloto-navbar-balances {
    align-items: center;
    order: 0;
    flex: 0 1 auto;
    max-width: min(52vw, 176px);
    min-height: var(--eloto-mobile-nav-control);
    justify-content: center;
    margin-top: 0;
    margin-right: 0;
  }

  .eloto-navbar-balance {
    min-height: var(--eloto-mobile-nav-control);
    height: var(--eloto-mobile-nav-control);
    align-content: center;
    max-width: none;
    padding-right: .24rem;
    padding-left: .24rem;
  }

  .header-actions .btn,
  .navbar .nav-toggler,
  .navbar .search-toggler,
  .navbar .account-toggler,
  .navbar .cart-toggler {
    width: var(--eloto-mobile-nav-control);
    min-width: var(--eloto-mobile-nav-control);
    height: var(--eloto-mobile-nav-control);
  }

  .offcanvas {
    --bs-offcanvas-width: min(100vw, 380px);
  }

  .eloto-account-menu.list-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .32rem;
    padding: .45rem;
  }

  .eloto-account-menu .list-group-item {
    grid-template-columns: 22px minmax(0, 1fr);
    min-height: 40px;
    padding: .4rem;
    font-size: .75rem;
  }

}

@media (max-width: 420px) {
  body {
    font-size: .91rem;
  }

  .navbar {
    --eloto-mobile-nav-control: 27px;
    min-height: 33px;
  }

  .navbar .navbar-brand img,
  .navbar .custom-logo {
    max-height: var(--eloto-mobile-nav-control);
  }

  .navbar .eloto-navbar-logo {
    height: var(--eloto-mobile-nav-control);
    max-width: var(--eloto-mobile-nav-control);
  }

  .eloto-navbar-balances {
    gap: 0;
    order: 0;
    flex: 0 1 auto;
    max-width: min(54vw, 156px);
    justify-content: center;
    margin-top: 0;
  }

  .eloto-navbar-balance {
    max-width: none;
    padding-right: .18rem;
    padding-left: .18rem;
  }

  .eloto-navbar-balance__label {
    font-size: .42rem;
  }

  .eloto-navbar-balance__value {
    font-size: .54rem;
  }

  .header-actions {
    align-items: center;
    gap: .1rem;
  }

  .header-actions .btn,
  .navbar .nav-toggler,
  .navbar .search-toggler,
  .navbar .account-toggler,
  .navbar .cart-toggler {
    width: var(--eloto-mobile-nav-control);
    min-width: var(--eloto-mobile-nav-control);
    height: var(--eloto-mobile-nav-control);
    font-size: .82rem;
  }

  .eloto-mini-cart-item__name {
    font-size: .78rem;
  }

  .eloto-mini-cart-item__meta {
    font-size: .66rem;
  }

  .offcanvas-header {
    min-height: 50px;
    padding-right: .75rem;
    padding-left: .75rem;
  }

  .offcanvas {
    --bs-offcanvas-width: 100vw;
  }

  .offcanvas-body,
  #offcanvas-navbar .offcanvas-body {
    padding: .65rem;
  }

  .eloto-account-hero {
    padding: .75rem;
  }

  .eloto-account-avatar {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .eloto-account-title {
    font-size: 1.08rem;
  }

  .eloto-account-subtitle {
    font-size: .78rem;
  }

  .eloto-account-menu .list-group-item {
    min-height: 38px;
    padding: .38rem .42rem;
    font-size: .72rem;
  }

  .eloto-account-content {
    padding: .75rem;
  }

  .eloto-loto-result {
    gap: .5rem;
  }

  .eloto-loto-result__title {
    font-size: .82rem;
  }

  .eloto-loto-result__date {
    font-size: .6rem;
  }

  .eloto-loto-result__row {
    grid-template-columns: 2.15rem minmax(0, 1fr);
    gap: .34rem;
  }

  .eloto-loto-result__label {
    min-height: 1.3rem;
    font-size: .58rem;
  }

  .eloto-loto-result__numbers {
    gap: .22rem;
  }

  .eloto-loto-ball {
    width: 1.52rem;
    height: 1.52rem;
    font-size: .66rem;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .woocommerce ul.products li.product a img,
  .woocommerce .products .product.card img {
    width: min(100%, 61px);
    max-height: 56px;
    margin-top: .45rem;
    padding: .25rem;
    border-radius: 10px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce .products .product.card .woocommerce-loop-product__title {
    margin-right: .35rem;
    margin-left: .35rem;
    font-size: .68rem;
    line-height: 1.12;
  }

  .woocommerce ul.products li.product .price,
  .woocommerce .products .product.card .price,
  .woocommerce .products .product.card .product-price {
    margin-right: .35rem;
    margin-left: .35rem;
    font-size: .72rem;
  }
}

@media (max-width: 360px) {
  .navbar > .container,
  .navbar > .container-fluid {
    gap: .08rem;
    padding-right: .45rem;
    padding-left: .45rem;
  }

  .navbar .eloto-navbar-logo {
    height: 25px;
    max-width: 25px;
  }

  .eloto-navbar-balances {
    max-width: min(54vw, 132px);
  }

  .eloto-navbar-balance {
    max-width: none;
    min-height: 25px;
    height: 25px;
    padding-right: .14rem;
    padding-left: .14rem;
  }

  .eloto-navbar-balance__label {
    display: none;
  }

  .eloto-navbar-balance__value {
    font-size: .5rem;
  }

  .header-actions {
    gap: .08rem;
  }

  .header-actions .btn,
  .navbar .nav-toggler,
  .navbar .search-toggler,
  .navbar .account-toggler,
  .navbar .cart-toggler {
    width: 25px;
    min-width: 25px;
    height: 25px;
    font-size: .72rem;
  }
}

@media (max-width: 360px) {
  .woocommerce .products {
    --bs-gutter-x: .35rem;
    --bs-gutter-y: .45rem;
  }

  .woocommerce .products > [class*="col-"] {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding-right: .175rem;
    padding-left: .175rem;
  }

  .woocommerce ul.products {
    gap: .35rem;
  }

  .woocommerce ul.products li.product,
  .woocommerce .products .product.card {
    border-radius: 10px;
  }

  .woocommerce ul.products li.product a img,
  .woocommerce .products .product.card img {
    width: min(100%, 49px);
    max-height: 46px;
    margin-top: .35rem;
    padding: .2rem;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce .products .product.card .woocommerce-loop-product__title {
    font-size: .62rem;
  }

  .woocommerce ul.products li.product .price,
  .woocommerce .products .product.card .price,
  .woocommerce .products .product.card .product-price {
    font-size: .66rem;
  }
}
