/**
 * Styles Boutique (catalogue / fiche / panier).
 * Icônes de base : shared/css/tokens.css
 */

html,
body {
  height: 100%;
  margin: 0;
  color-scheme: dark;
}

body {
  font-family: Poppins, "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  overflow: hidden;
}

.admin-preview-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  padding: 4px 10px;
  font-size: 12px;
  text-align: center;
  color: #e5e7eb;
  background: #1f2937;
  border-bottom: 1px solid #374151;
}

body:has(.admin-preview-banner:not([hidden])) .shop-app {
  padding-top: 26px;
}

.shop-app {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.shop-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: var(--topbar-h);
  padding: 0 10px;
  background: var(--dark);
  color: #fff;
  flex-shrink: 0;
}

.shop-topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.shop-topbar__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.shop-topbar__right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.shop-topbar__link {
  appearance: none;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.shop-topbar__link:hover,
.shop-topbar__link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.shop-topbar__link .ui-icon {
  width: 14px;
  height: 14px;
}

.shop-topbar .account-menu {
  position: relative;
}

.shop-topbar .account-menu__dropdown[hidden] {
  display: none !important;
}

.shop-topbar .account-menu:not(.is-logged) .account-menu__dropdown {
  display: none !important;
}

.shop-topbar .account-menu__dropdown {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  z-index: 50;
  min-width: 168px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.shop-topbar .account-menu__item {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 8px 10px;
  font: inherit;
  font-size: 12px;
  color: var(--text);
  border-radius: 0;
  cursor: pointer;
}

.shop-topbar .account-menu__item + .account-menu__item {
  border-top: 1px solid var(--border);
}

.shop-topbar .account-menu__item .ui-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.shop-topbar .account-menu__item:hover {
  background: var(--surface-2);
}

.shop-topbar .account-menu__item[data-account-action="logout"] {
  color: #b91c1c;
}

/* —— Auth (compte commun) —— */
.auth-modal[hidden] {
  display: none !important;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: rgba(0, 0, 0, 0.65);
}

.auth-modal__panel {
  width: min(320px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.auth-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.auth-modal__title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.auth-modal__close {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0;
}

.auth-modal__close:hover {
  border-color: #5a5a5a;
  color: var(--text);
}

.auth-modal__msg {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
}

.auth-modal__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.auth-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 6px 4px;
  font: inherit;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.auth-tab:hover {
  color: var(--text);
}

.auth-tab.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  font-weight: 600;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
}

.auth-field[hidden] {
  display: none !important;
}

.auth-field span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.auth-field input {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 8px;
  font: inherit;
  background: var(--surface-2);
  color: var(--text);
}

.auth-field input:focus {
  outline: none;
  border-color: var(--blue);
}

.auth-field input.is-match-ok {
  border-color: #16a34a;
}

.auth-field input.is-match-bad {
  border-color: #dc2626;
}

.auth-pass-match {
  margin: 0;
  font-size: 11px;
  line-height: 1.3;
}

.auth-pass-match.is-ok {
  color: #15803d;
}

.auth-pass-match.is-bad {
  color: #b91c1c;
}

.auth-pass-match[hidden] {
  display: none;
}

.auth-hint {
  margin: 0;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

.auth-submit {
  width: 100%;
  margin-top: 2px;
}

.auth-error {
  margin: 0;
  padding: 6px 8px;
  font-size: 12px;
  background: var(--surface-2);
  border: 1px solid #7f1d1d;
  color: var(--danger);
  border-radius: var(--radius);
}

.auth-error[hidden] {
  display: none;
}

.screen-boutique {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  height: 100%;
}

.boutique--product .boutique__nav {
  pointer-events: none;
  opacity: 0.5;
}

.boutique--product .boutique__side {
  display: none;
}

.boutique--product .boutique__layout {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.boutique {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 10px 10px;
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  min-height: 100%;
}

.boutique__layout {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr) 300px;
  gap: 8px;
  align-items: stretch;
  flex: 1;
  min-height: 0;
}

@media (max-width: 1299px) {
  .boutique {
    min-height: 0;
    flex: 0 1 auto;
  }

  .boutique__layout {
    grid-template-columns: 1fr;
    flex: 0 1 auto;
  }

  .boutique__side {
    padding: 8px;
    border-right: none;
    border-bottom: none;
    max-height: none;
    overflow: visible;
  }

  .boutique__side-panel {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 2px;
    overflow: visible;
  }

  .boutique__subs {
    flex-direction: column;
    flex-wrap: nowrap;
    margin-left: 10px;
    padding-left: 6px;
    border-left: 2px solid var(--border);
  }

  .boutique__nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 2px;
  }

  .boutique__nav-item {
    flex: 0 0 auto;
  }

  .boutique__cat--sub {
    padding-left: 8px;
  }

  .boutique__cart {
    grid-column: 1 / -1;
    max-height: none;
    min-height: 0;
    padding: 8px 0 0;
    border-left: none;
    border-top: 1px solid var(--border);
    position: static;
  }

  #boutique-view-cart,
  .shop-cart {
    flex: 0 0 auto;
    min-height: 0;
  }

  .shop-product {
    grid-template-columns: 1fr;
  }

  .shop-product__visual {
    height: auto;
  }

  .shop-product__gallery {
    flex: 0 0 auto;
    min-height: min(72vw, 360px);
  }

  .shop-product__palette {
    max-width: calc(100% - 12px);
  }

  [data-declinations-host] {
    max-width: calc(100% - 140px);
  }

  .shop-product__declination {
    width: 48px;
    height: 48px;
  }

  .shop-product__palette-swatch {
    width: 16px;
    height: 16px;
  }

  .boutique--product .boutique__layout {
    grid-template-columns: 1fr;
  }
}

.boutique-view {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.boutique-view[hidden] {
  display: none !important;
}

.boutique__intro {
  padding: 0 0 6px;
  border-bottom: 1px solid var(--border);
}

.boutique__intro-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.boutique__intro-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.boutique__eyebrow,
.boutique__intro-eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.boutique__rail {
  background: transparent;
  border-radius: 0;
}

.boutique__intro-title {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

.boutique__intro-sub {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-muted);
}

.boutique__center {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.boutique__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  margin-bottom: 4px;
  background: var(--surface);
  border-radius: var(--radius);
  flex-shrink: 0;
  min-height: 40px;
}

.boutique__nav:empty::after {
  content: "Chargement…";
  font-size: 12px;
  color: var(--text-muted);
}

.boutique__nav-item {
  appearance: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.boutique__nav-item:hover {
  border-color: #4b5563;
  color: var(--text);
  background: var(--surface-2);
}

.boutique__nav-item.is-active {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(59, 130, 246, 0.12);
}

.boutique__nav-item__label {
  line-height: 1.2;
}

.boutique__nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.boutique__nav-star {
  font-size: 14px;
  line-height: 1;
  color: #fbbf24;
  flex-shrink: 0;
}

.boutique__tools {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--border);
}

.boutique__search {
  flex: 1;
  min-width: 0;
  display: block;
}

.boutique__search input {
  width: 100%;
  box-sizing: border-box;
  padding: 6px 0;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
}

.boutique__search input::placeholder {
  color: var(--text-muted);
}

.boutique__search input:focus,
.boutique__search input.is-active {
  outline: none;
  border-bottom-color: var(--blue);
}

.boutique__tools-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.boutique-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.boutique-filter {
  display: flex;
  min-width: 0;
  flex: 0 0 auto;
}

.boutique__filter-select,
.boutique-filter select,
.boutique__sort select {
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
}

.boutique__filter-select.is-active,
.boutique-filter select.is-active,
.boutique__sort select.is-active {
  border-color: var(--blue);
  color: var(--text);
  background: rgba(59, 130, 246, 0.08);
}

.boutique__filter-select:hover,
.boutique-filter select:hover,
.boutique__sort select:hover {
  border-color: #4b5563;
  color: var(--text);
}

.boutique__sort {
  margin-left: auto;
  flex-shrink: 0;
}

.boutique__side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: var(--surface);
  border-radius: var(--radius);
  min-height: 0;
  max-height: calc(100vh - var(--topbar-h) - 48px);
  overflow-y: auto;
}

.boutique__side-eyebrow {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 2px 6px;
  margin: 0;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.boutique__side-eyebrow .ui-icon {
  width: 12px;
  height: 12px;
}

.boutique__side-panel {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.boutique__side-empty {
  margin: 0;
  padding: 6px 4px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-muted);
}

.boutique__side-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
}

.boutique__side-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.boutique__side-group-label {
  margin: 0 0 4px;
  padding: 0 2px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.boutique__subs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 4px 10px;
  padding-left: 6px;
  border-left: 2px solid var(--border);
}

.boutique__cat {
  appearance: none;
  border: none;
  background: transparent;
  text-align: left;
  padding: 7px 8px;
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.boutique__cat__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.boutique__cat__count {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  min-width: 1.4em;
  text-align: right;
}

.boutique__cat__chev {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
  margin-right: 2px;
}

.boutique__cat__chev.is-open {
  transform: rotate(45deg);
}

.boutique__cat .ui-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--text-muted);
}

.boutique__cat--sub {
  padding-left: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.boutique__cat:hover {
  background: var(--surface-2);
}

.boutique__cat.is-active {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue);
  font-weight: 500;
  box-shadow: inset 3px 0 0 var(--blue);
}

.boutique__cat--sub.is-active {
  color: var(--text);
}

.boutique__cat.is-active .ui-icon {
  color: var(--blue);
}

.boutique__cat.is-active .boutique__cat__count {
  color: var(--blue);
  opacity: 0.85;
}

.boutique__cart {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: 0 0 0 8px;
  border: none;
  border-left: 1px solid var(--border);
}

#boutique-view-cart {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.shop-cart {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.shop-cart__head {
  flex-shrink: 0;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--border);
}

.shop-cart__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.shop-cart__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.shop-cart__eyebrow .ui-icon {
  width: 16px;
  height: 16px;
}

.shop-product__actions .btn--primary .ui-icon {
  width: 18px;
  height: 18px;
}

.shop-cart__meta-count {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.shop-cart__empty {
  margin: 0;
  padding: 16px 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-muted);
  text-align: left;
}

.boutique__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.boutique__count {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  padding-bottom: 1px;
}

.boutique__grid {
  --catalog-thumb-max: 128px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--catalog-thumb-max), 1fr));
  gap: 10px;
  min-height: 120px;
}

.boutique__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px 0;
  text-align: left;
  font-size: 13px;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 0;
}

.boutique-back {
  appearance: none;
  border: none;
  background: none;
  padding: 0 0 6px;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--blue);
  cursor: pointer;
  align-self: flex-start;
  text-align: left;
}

.boutique-back:hover {
  color: var(--text);
}

#boutique-view-product {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.shop-card {
  background: transparent;
  border: none;
  border-radius: 0;
}

.shop-card__open {
  appearance: none;
  border: none;
  background: none;
  width: 100%;
  padding: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  color: inherit;
}

.shop-card__open:hover .shop-card__thumb {
  border-color: var(--blue);
}

.shop-card__open:hover .shop-card__name {
  color: var(--blue);
}

.shop-card__thumb {
  display: block;
  width: 100%;
  max-width: var(--catalog-thumb-max, 128px);
  margin-inline: auto;
  aspect-ratio: 1;
  background: transparent;
  border: 1px solid #3a3a3a9e;
  overflow: hidden;
  position: relative;
  transition: border-color 0.15s ease;
}

.shop-card__thumb-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  background: transparent;
}

.shop-card__thumb-img--ph {
  padding: 28%;
  filter: invert(0.82);
  opacity: 0.55;
}

.shop-fav-star,
.shop-card__fav {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 4;
  font-size: 18px;
  line-height: 1;
  color: #fbbf24;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

.shop-fav-star--info {
  top: 10px;
  right: 10px;
  font-size: 20px;
  text-shadow: none;
}

.shop-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 0 0;
}

.shop-card__name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}

.shop-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.shop-card__badge {
  font-size: 9px;
  padding: 1px 4px;
  border-radius: 0;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shop-card__badge--new {
  border-color: #1e3a5f;
  background: rgba(30, 58, 95, 0.35);
  color: #93c5fd;
}

.shop-card__price {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.shop-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.shop-product__visual {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 10px;
  background: var(--surface);

  border-radius: var(--radius);
  --preview-bg: #1e1e1e;
}

.shop-bg,
.shop-product__pack {
  flex-shrink: 0;
}

[data-declinations-host] {
  position: absolute;
  bottom: 6px;
  left: 6px;
  z-index: 3;
  max-width: calc(100% - 260px);
}

.shop-product__gallery {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 260px;
  padding: 8px;
  box-sizing: border-box;
  background: var(--preview-bg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 4px;
}

/* Damier fiche (grand motif) — pas sur la bande répétition */
.shop-product__visual--checker .shop-product__gallery::before,
.shop-product__visual--checker .shop-product__pack::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: repeating-conic-gradient(#3d3d3d 0 25%, #262626 0 50%);
  background-size: 26px 26px;
}

.shop-product__visual--checker .shop-product__gallery,
.shop-product__visual--checker .shop-product__pack {
  background-color: #141414;
}

.shop-product__visual--checker .shop-product__pack {
  position: relative;
}

.shop-product__visual--checker .shop-product__repeat,
.shop-product__visual--checker .shop-product__repeat-mini {
  background-color: #141414;
}

.shop-product__visual--checker .shop-product__repeat-col {
  background-color: #141414;
}

.shop-product__gallery-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  margin-right: 35%;
  position: relative;
  z-index: 1;
}

.shop-product__gallery-title {
  position: absolute;
  top: 18px;
  left: 10px;
  z-index: 2;
  max-width: calc(100% - 120px);
  margin: 0;
  padding: 0;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #e5e7eb;
  text-align: left;
  pointer-events: none;
}

.shop-product__gallery-label {
  font-weight: 400;
  color: var(--blue);
}

.shop-product__info {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 10px 32px 10px 10px;
  background: var(--surface);
  border-radius: var(--radius);
  text-align: left;
}

.shop-product__declinations {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shop-product__declination {
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.shop-product__declination:hover {
  border-color: var(--blue);
}

.shop-product__declination img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shop-product__palette {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
  align-items: center;
  max-width: calc(100% - 12px);
  padding: 0;
  pointer-events: none;
}

.shop-product__palette[hidden] {
  display: none !important;
}

.shop-product__palette-swatch {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 3px;
}

.shop-color-pick-hint {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 6000;
  margin: 0;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transform: translateX(-50%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.shop-color-pick-target {
  cursor: crosshair;
}

.shop-product__repeat {
  display: flex;
  flex-direction: row;
  height: 160px;
  max-height: 160px;
  overflow: hidden;
  background: var(--preview-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  position: relative;
}

.shop-product__repeat-col {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  background-color: var(--preview-bg);
  background-repeat: repeat;
  background-size: 48px 48px;
  background-position: 0 0;
  position: relative;
  z-index: 1;
}

.shop-product__pack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 6px;
  background: var(--preview-bg);
}

.shop-product__pack-item {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: transparent;
  position: relative;
  z-index: 1;
}

.shop-product__img {
  display: block;
  flex: 0 1 auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.shop-product__img--ph {
  max-width: 52%;
  max-height: 52%;
  filter: invert(0.82);
  opacity: 0.55;
}

.shop-product__repeat-mini {
  position: absolute;
  right: -31px;
  bottom: -11px;
  z-index: 2;
  width: 320px;
  height: 300px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  background: var(--preview-bg);
  transform: rotate(-6deg);
  transform-origin: bottom right;
  isolation: isolate;
}

.shop-product__repeat-mini-tile {
  position: absolute;
  inset: 0;
  background-color: transparent;
  background-repeat: repeat;
  background-size: 40px 40px;
  background-position: 0 0;
}

.shop-bg {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.shop-bg__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  cursor: help;
}

.shop-bg__field {
  width: auto;
}

.shop-color-field {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.shop-color-field__pipette,
.shop-color-picker__pipette {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text-muted);
  cursor: pointer;
}

.shop-color-field__pipette:hover,
.shop-color-picker__pipette:hover {
  border-color: var(--blue);
  color: var(--text);
}

.shop-color-field__pipette .ui-icon,
.shop-color-picker__pipette .ui-icon {
  width: 14px;
  height: 14px;
}

.shop-color-field__swatch {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--surface-2);
}

.shop-color-field__swatch--checker {
  background-color: transparent;
}

.shop-color-picker {
  position: fixed;
  z-index: 5000;
  width: 220px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.shop-color-picker[hidden] {
  display: none !important;
}

.shop-color-picker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.shop-color-picker__head:active {
  cursor: grabbing;
}

.shop-color-picker__title {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.shop-color-picker__close {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  touch-action: auto;
}

.shop-color-picker__close:hover {
  border-color: var(--blue);
  color: var(--text);
}

.shop-color-picker__sv {
  position: relative;
  height: 120px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: crosshair;
  background:
    linear-gradient(to top, #000, transparent),
    linear-gradient(to right, #fff, var(--shop-picker-hue, #f00));
  touch-action: none;
}

.shop-color-picker__sv-cursor {
  position: absolute;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.shop-color-picker__row,
.shop-color-picker__hex-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

.shop-color-picker__row span,
.shop-color-picker__hex-wrap span {
  flex: 0 0 36px;
}

.shop-color-picker__hue {
  flex: 1;
  min-width: 0;
  accent-color: var(--blue);
}

.shop-color-picker__hex-wrap .shop-color-picker__hex {
  flex: 1;
  min-width: 0;
}

.shop-color-picker__hex {
  padding: 4px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 12px;
}

.shop-color-picker__hex:disabled {
  opacity: 0.45;
}

.shop-color-picker__sv.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.shop-color-picker__none {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 5px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text-muted);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.shop-color-picker__none:hover,
.shop-color-picker__none.is-active {
  border-color: var(--blue);
  color: var(--text);
}

.shop-color-picker__none-swatch {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 3px;
  background-color: transparent;
  background-image: repeating-conic-gradient(#3a3a3a 0 25%, #242424 0 50%);
  background-size: 8px 8px;
}

.shop-product__eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue);
}

.shop-product__name {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

.shop-product__price {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--blue);
}

.shop-block__licence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.shop-licence-read {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--blue);
  cursor: pointer;
}

.shop-licence-read:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.shop-licence-read .ui-icon {
  width: 17px;
  height: 17px;
}

.shop-licence-modal[hidden] {
  display: none !important;
}

.shop-licence-modal {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: rgba(0, 0, 0, 0.65);
}

.shop-licence-modal__panel {
  width: min(480px, 100%);
  max-height: min(80vh, 560px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.shop-licence-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
}

.shop-licence-modal__title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.shop-licence-modal__close {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.shop-licence-modal__close:hover {
  border-color: var(--blue);
  color: var(--text);
}

.shop-licence-modal__status {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.shop-licence-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  margin: 0;
  padding: 8px;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
}

.shop-product__desc {
  margin: 0;
  padding: 0 0 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.shop-product .shop-block {
  margin: 0;
  padding: 8px;
  border-radius: 4px;
  background: var(--surface-2);
}

.shop-product .shop-block__title {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
}

.shop-product .shop-block__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
}

.shop-product .shop-block__formats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.shop-formats__intro {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
}

.shop-formats__list {
  margin: 0;
}

.shop-formats__empty {
  margin: 0;
}

.shop-format-tag {
  display: inline-block;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
}

.shop-block__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shop-block__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: baseline;
  font-size: 13px;
  color: var(--text);
}

.shop-product .shop-block__list {
  gap: 6px;
}

.shop-product .shop-block__list li {
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
}

.shop-product .shop-block__list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.shop-product .shop-block__list li span:first-child {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.shop-product .shop-block__list li span:first-child::after {
  content: " :";
}

.shop-product .shop-block__list li span:last-child {
  min-width: 0;
  text-align: left;
  color: var(--text);
  font-weight: 400;
}

.shop-product__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.shop-product__actions .btn {
  font-size: 14px;
  padding: 8px 16px;
}

.btn__fav-star {
  font-size: 16px;
  line-height: 1;
  color: var(--text-muted);
}

.btn__fav-star.is-on {
  color: #fbbf24;
}

.shop-product__actions .btn--favorite {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.shop-product__actions .btn--favorite:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(59, 130, 246, 0.08);
}

.shop-product__actions .btn--favorite.is-active {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(59, 130, 246, 0.12);
}

.shop-product__hint {
  margin: 6px 0 0;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--blue);
  text-align: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 4px;
}

.shop-cart__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.shop-cart__list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.shop-cart__row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto auto 18px;
  gap: 6px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  min-width: 0;
  overflow: hidden;
}

.shop-cart__row:last-child {
  border-bottom: none;
}

.shop-cart__thumb {
  appearance: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0;
  width: 36px;
  height: 36px;
  background: var(--surface-2);
  cursor: pointer;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
}

.shop-cart__thumb:hover {
  border-color: #4b5563;
}

.shop-cart__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-cart__thumb-img--ph {
  object-fit: contain;
  padding: 4px;
  opacity: 0.55;
}

.shop-cart__stepper {
  display: inline-flex;
  align-items: stretch;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
}

.shop-cart__step {
  appearance: none;
  border: none;
  background: var(--surface-2);
  color: var(--text);
  width: 22px;
  height: 22px;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.shop-cart__step:hover {
  background: #2e2e2e;
  color: var(--blue);
}

.shop-cart__step:active {
  background: #252525;
}

.shop-cart__step-val {
  min-width: 22px;
  padding: 0 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: var(--surface);
}

.shop-cart__name {
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  min-width: 0;
  text-align: left;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-cart__name:hover {
  color: var(--blue);
}

.shop-cart__line-price {
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
  white-space: nowrap;
  text-align: right;
}

.shop-cart__remove {
  appearance: none;
  border: none;
  background: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  border-radius: 3px;
}

.shop-cart__remove:hover {
  color: var(--danger);
  background: rgba(248, 113, 113, 0.1);
}

.shop-cart__footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 8px 0 0;
  border-top: 1px solid var(--border);
  background: transparent;
}

.shop-cart__total {
  margin: 0 0 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.shop-cart__total strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.shop-cart__actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shop-cart__actions .btn {
  width: 100%;
  justify-content: center;
}

.shop-footer {
  flex-shrink: 0;
  padding: 8px 10px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}

.shop-footer__copy {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* ——— Mes achats ——— */
.shop-purchases {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0 10px;
}

.shop-purchases__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shop-purchases__back {
  align-self: flex-start;
  padding: 4px 8px;
}

.shop-purchases__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.shop-purchases__status,
.shop-purchases__empty {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.shop-purchases__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shop-purchases__row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
}

.shop-purchases__thumb {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface-2);
}

.shop-purchases__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-purchases__name {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.shop-purchases__sub {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
}

.shop-purchases__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.shop-purchases__price {
  font-size: 12px;
  color: var(--text-muted);
}

.shop-purchases__actions .btn {
  white-space: nowrap;
  font-size: 12px;
  padding: 6px 8px;
}

/* ——— Modal commande ——— */
.shop-checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: rgba(15, 23, 42, 0.45);
}

.shop-checkout-modal[hidden] {
  display: none !important;
}

.shop-checkout-modal__panel {
  width: min(420px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.shop-checkout-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.shop-checkout-modal__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.shop-checkout-modal__close {
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.shop-checkout-modal__msg {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.shop-checkout-modal__msg.is-err {
  color: var(--danger);
}

.shop-checkout-modal__list {
  margin: 0 0 8px;
  padding: 0 0 0 16px;
  font-size: 13px;
  color: var(--text);
}

.shop-checkout-modal__lic {
  color: var(--text-muted);
  text-transform: capitalize;
}

.shop-checkout-modal__total {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.shop-checkout-modal__accept {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--text);
  cursor: pointer;
}

.shop-checkout-modal__licence-hint {
  margin: 0 0 8px;
  font-size: 12px;
}

.shop-checkout-modal__licence-link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
}

.shop-checkout-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

/* ——— Déjà acheté ——— */
.shop-product__owned {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}

.shop-cart__row--owned {
  opacity: 0.92;
  background: var(--surface-2);
}

.shop-cart__owned {
  display: flex;
  align-items: center;
  gap: 6px;
  grid-column: span 2;
}

.shop-cart__owned-label {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
}

.shop-cart__owned-dl {
  padding: 4px 8px;
  font-size: 11px;
  min-height: 0;
}

.shop-cart__owned-note {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
}

.shop-cart__actions .btn[disabled],
.shop-cart__actions .btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

.shop-cart__line-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.shop-cart__offer {
  font-size: 11px;
  color: var(--text-muted);
}

.shop-block--offers {
  margin-top: 4px;
}

.shop-offer-picks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shop-offer-pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #3f3f46;
  border-radius: 6px;
  background: #18181b;
  color: #e4e4e7;
  cursor: pointer;
  text-align: left;
}

.shop-offer-pick:hover {
  border-color: #52525b;
  background: #1f1f23;
}

.shop-offer-pick.is-active {
  border-color: #3b82f6;
  background: #172554;
}

.shop-offer-pick__label {
  font-size: 13px;
  font-weight: 500;
}

.shop-offer-pick__price {
  font-size: 12px;
  color: #a1a1aa;
}

.shop-offer-pick.is-active .shop-offer-pick__price {
  color: #bfdbfe;
}
