/* Jocker Cuir — SHARED leather material-tabs + textured-swatch selector.
   Loaded by BOTH /entreprise (enterprise.css) and /personnalisation
   (personalization.css) — one stylesheet, not two. Scoped to
   .leather-selector* only; never touches page-specific classes. See
   resources/views/monsite/partials/leather-swatch-selector.blade.php
   and public/monsite/js/leather-swatch-selector.js for the markup/
   behavior this styles. */

/* Material tabs — compact, Lucrin-proportioned; frontend-only display
   filter over the swatches already rendered below
   (leather-swatch-selector.js), no new query per tab click. */
.leather-selector__tabs{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0 0}
.leather-selector__tab{
  /* Mobile-audit: 44px is the recommended minimum comfortable tap
     target (was 36px) — this component is shared by both /entreprise
     and /personnalisation, so the fix applies everywhere it's used. */
  min-height:44px;padding:0 16px;
  border:1px solid var(--line);background:var(--white);color:var(--ink);
  font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;font-weight:500;
  cursor:pointer;transition:.2s ease;
}
.leather-selector__tab:hover{border-color:var(--ink)}
.leather-selector__tab.is-active{background:var(--ink);border-color:var(--ink);color:var(--white)}

/* Swatch grid — real leather texture photo (variant swatch_texture_image)
   via inline background-image, a plain hex chip only when a variant has
   none (resolvedSwatchVisual()'s own fallback — see the Blade partial).
   Circle size/border/hover/active-ring intentionally match the product
   page's own .variant-swatch treatment (product.blade.php's inline
   <style>) exactly, just 1px larger (48px, this selector's own spec)
   and without the radio-input selection state (this grid is a read-only
   showcase, not a purchasable configurator). */
.leather-selector__swatches{
  display:flex;flex-wrap:wrap;gap:18px 14px;margin-top:26px;
}
.leather-selector__swatch-item{margin:0;width:64px;text-align:center}
.leather-selector__swatch{
  display:block;margin:0 auto;width:48px;height:48px;border-radius:50%;
  border:1px solid rgba(30,33,27,.35);background-size:cover;background-position:center;
  transition:.2s ease;box-shadow:0 0 0 0 transparent;
}
.leather-selector__swatch-item:hover .leather-selector__swatch{box-shadow:0 0 0 2px var(--line)}
.leather-selector__swatch-item figcaption{
  margin-top:8px;font-size:.68rem;line-height:1.25;color:#747870;
}
.leather-selector__swatch--more{
  display:flex;align-items:center;justify-content:center;
  background:var(--white);color:var(--ink);font-size:1.1rem;font-weight:500;
}
.leather-selector__swatch-item--more figcaption{color:var(--ink)}
