:root {
  --bg: #f3f6fb;
  --bg-soft: #e8eef8;
  --surface: #ffffff;
  --text: #0f1b2d;
  --muted: #5b6b82;
  --border: #d7e0ee;
  --accent: #0b3a6e;
  --accent-mid: #1d5bb8;
  --accent-hover: #082a52;
  --brand-light: #eaf1fb;
  --success: #15803d;
  --danger: #b91c1c;
  --warning: #a16207;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px rgba(11, 58, 110, 0.08);
  --shadow-sm: 0 2px 8px rgba(15, 27, 45, 0.06);
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-display: "Outfit", "Plus Jakarta Sans", sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 500px at 10% -10%, #dbe7f8 0%, transparent 55%),
    radial-gradient(900px 400px at 100% 0%, #e7eef9 0%, transparent 45%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.container { width: min(1160px, 92%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: .75rem;
  min-width: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(240px, 34vw);
  position: relative;
  z-index: 2;
}
body.shop-auth .logo {
  max-width: min(200px, 28vw);
}
body.shop-auth .logo-text > span {
  display: none;
}
.logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 10px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.logo-text strong {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.logo-text span { font-size: .68rem; color: var(--muted); }

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  gap: .25rem .85rem;
}
body.shop-auth .nav {
  gap: .25rem .65rem;
}
body.shop-auth .nav > a:not(.nav-login):not(.cart-link) {
  font-size: .84rem;
}
body.shop-auth .nav-user {
  flex-shrink: 0;
}
body.shop-auth .currency-select {
  max-width: 9.5rem;
  padding-right: 1.55rem;
  font-size: .72rem;
}
.nav a {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
  padding: .35rem 0;
  position: relative;
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.nav a i { font-size: .95em; opacity: .88; }
.nav a:hover,
.nav a.is-active { color: var(--accent); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent-mid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }

.nav-login {
  padding: .45rem .95rem !important;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  color: var(--accent) !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .04);
}
.nav-login::after { display: none !important; }
.nav-login:hover {
  border-color: var(--accent-mid);
  color: var(--accent-hover) !important;
  background: #fff;
}

.nav-user {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-left: .15rem;
  padding: .2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,250,252,.95));
  box-shadow: 0 1px 0 rgba(15, 23, 42, .04);
}
.nav-user-chip {
  display: inline-flex !important;
  align-items: center;
  gap: .5rem;
  padding: .22rem .7rem .22rem .22rem !important;
  border-radius: 999px;
  color: var(--text) !important;
  font-weight: 600 !important;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-user-chip::after { display: none !important; }
.nav-user-chip:hover,
.nav-user-chip.is-active {
  background: rgba(29, 91, 184, .08);
  color: var(--accent) !important;
}
.nav-user-avatar {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent-mid), var(--accent));
  color: #fff;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.nav-user-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.nav-user-meta strong {
  font-size: .78rem;
  font-weight: 700;
  max-width: 7.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-user-meta small {
  font-size: .62rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .02em;
}
.nav-action {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 2.05rem;
  padding: .35rem .7rem !important;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted) !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.nav-action::after { display: none !important; }
.nav-action i { font-size: .95rem; opacity: 1 !important; }
.nav-action:hover,
.nav-action.is-active {
  background: rgba(29, 91, 184, .1);
  color: var(--accent) !important;
}
.nav-action-admin {
  background: rgba(11, 58, 110, .08);
  color: var(--accent) !important;
}
.nav-action-admin:hover {
  background: var(--accent);
  color: #fff !important;
}
.nav-action-logout {
  color: #9f1239 !important;
}
.nav-action-logout:hover {
  background: rgba(159, 18, 57, .1);
  color: #be123c !important;
}
.nav-logout-form {
  display: inline-flex;
  margin: 0;
}

@media (max-width: 1100px) {
  .nav-user-meta small { display: none; }
  .nav-action span { display: none; }
  .nav-action {
    width: 2.05rem;
    padding: 0 !important;
  }
  .nav-action-admin span,
  .nav-action-logout span { display: none; }
}

@media (max-width: 1320px) {
  body.shop-auth .nav-toggle { display: inline-flex; }
  body.shop-auth .header-inner .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: 95;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .75rem 1rem 1rem;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  body.shop-auth .header-inner .nav.is-open { display: flex; }
  body.shop-auth .nav a {
    padding: .8rem .4rem;
    border-bottom: 1px solid var(--border);
    font-size: .9rem !important;
  }
  body.shop-auth .nav a::after { display: none; }
  body.shop-auth .nav-user {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .45rem;
    margin: .55rem 0;
    padding: .55rem;
    border-radius: 16px;
  }
  body.shop-auth .nav-user-chip {
    grid-column: 1 / -1;
    padding: .35rem .75rem .35rem .35rem !important;
    border: 1px solid var(--border);
    background: #fff;
  }
  body.shop-auth .nav-user-meta small { display: block; font-size: .7rem; }
  body.shop-auth .nav-user-meta strong { max-width: none; font-size: .9rem; }
  body.shop-auth .nav-action {
    width: auto;
    min-height: 2.5rem;
    justify-content: flex-start;
    padding: .55rem .75rem !important;
    border: 1px solid var(--border);
    background: #fff;
    font-size: .84rem !important;
  }
  body.shop-auth .nav-action span { display: inline; }
  body.shop-auth .nav-logout-form { display: contents; }
  body.shop-auth .cart-link {
    margin-top: .5rem;
    justify-content: center;
  }
  body.shop-auth .logo-text { display: none; }
}

@media (min-width: 1321px) {
  body.shop-auth .nav-user-meta small { display: none; }
  body.shop-auth .nav-action span { display: none; }
  body.shop-auth .nav-action {
    width: 2.05rem;
    padding: 0 !important;
  }
  body.shop-auth .nav-user-meta strong { max-width: 6rem; }
}

.currency-switch {
  display: inline-flex;
  align-items: center;
  margin: 0;
}
.currency-select {
  appearance: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat right .65rem center;
  padding: .42rem 1.75rem .42rem .85rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  max-width: 11.5rem;
  transition: border-color .2s, color .2s;
}
.currency-select:hover,
.currency-select:focus {
  border-color: var(--accent-mid);
  color: var(--accent);
  outline: none;
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .85rem !important;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text) !important;
  font-weight: 600 !important;
}
.cart-link::after { display: none !important; }
.cart-link:hover {
  border-color: var(--accent-mid);
  color: var(--accent) !important;
}
.cart-badge {
  position: static;
  background: var(--accent);
  color: #fff;
  font-size: .68rem;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 .3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  z-index: 96;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--accent);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(8, 30, 66, .88) 0%, rgba(11, 58, 110, .55) 48%, rgba(15, 40, 80, .35) 100%),
    url("../images/hero-office.jpg") center/cover no-repeat,
    linear-gradient(135deg, #0b2e6b, #1d5bb8);
}
.hero-inner {
  width: min(1160px, 92%);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 7vw, 5rem);
  animation: rise .7s var(--ease) both;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.04em;
  line-height: .95;
  margin: 0 0 .85rem;
}
.hero-brand small {
  display: block;
  margin-top: .55rem;
  font-size: .42em;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .88;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 500;
  margin: 0 0 .7rem;
  max-width: 22ch;
  line-height: 1.3;
}
.hero p {
  margin: 0 0 1.5rem;
  max-width: 38ch;
  color: rgba(255,255,255,.84);
  font-size: 1rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.section { padding: clamp(2.25rem, 5vw, 3.5rem) 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0;
}
.section-sub {
  color: var(--muted);
  font-size: .92rem;
  margin: .3rem 0 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .9rem;
}
.category-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #fff 0%, var(--brand-light) 140%);
  transition: transform .25s var(--ease), border-color .2s, box-shadow .25s;
}
.category-tile:hover {
  transform: translateY(-3px);
  border-color: #b8ccea;
  box-shadow: var(--shadow);
}
.category-tile strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent);
}
.category-tile span {
  font-size: .8rem;
  color: var(--muted);
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.filter-chip {
  padding: .45rem .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  font-size: .84rem;
  font-weight: 500;
  transition: .2s;
}
.filter-chip:hover,
.filter-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.15rem;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #c5d4ea;
}
.product-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #eef3fa, #dfe8f5);
  overflow: hidden;
}
.product-card-promo {
  position: absolute;
  top: .55rem;
  left: .55rem;
  z-index: 2;
  padding: .28rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
  background: linear-gradient(135deg, #dc2626, #ea580c);
  box-shadow: 0 4px 12px rgba(220, 38, 38, .35);
}
.product-promo-pill {
  display: inline-flex;
  align-items: center;
  margin-right: .5rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 800;
  color: #b45309;
  background: #fef3c7;
}
.filter-chip-promo i { margin-right: .2rem; }
.filter-chip-promo.active {
  background: linear-gradient(135deg, #dc2626, #ea580c);
  border-color: transparent;
  color: #fff;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s var(--ease);
}
.product-card:hover .product-card-image img { transform: scale(1.04); }
.product-card-body { padding: 1rem 1.05rem 1.15rem; }
.product-card-body .cat {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: .35rem;
}
.product-card-body h3 {
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 650;
  margin: 0 0 .55rem;
  line-height: 1.3;
}
.price {
  font-weight: 700;
  font-size: .95rem;
  color: var(--accent);
}
.price-old {
  text-decoration: line-through;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 500;
  margin-right: .4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .7rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-light {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.btn-light:hover { background: rgba(255,255,255,.22); }
.btn-outline {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent-mid);
  color: var(--accent);
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: 1px solid #1ebe57;
}
.btn-whatsapp:hover {
  background: #1ebe57;
  color: #fff;
}
.btn-sm { padding: .4rem .75rem; font-size: .8rem; }
.btn-block { width: 100%; }

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  margin-bottom: .4rem;
  color: var(--text);
}
.form-control {
  width: 100%;
  padding: .7rem .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 3px rgba(29, 91, 184, .15);
}
textarea.form-control { min-height: 100px; resize: vertical; }

.alert {
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  margin: 1rem 0;
}
.alert-success { background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
table { width: 100%; border-collapse: collapse; font-size: .875rem; }
th, td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
th {
  font-weight: 650;
  color: var(--muted);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
tr:last-child td { border-bottom: none; }

.badge {
  display: inline-block;
  padding: .22rem .55rem;
  border-radius: 6px;
  font-size: .74rem;
  font-weight: 600;
}
.badge-pending { background: #fef9c3; color: #854d0e; }
.badge-info { background: #dbeafe; color: #1e40af; }
.badge-primary { background: #e0e7ff; color: #3730a3; }
.badge-success { background: #dcfce7; color: #166534; }
.badge-muted { background: #eef2f7; color: #64748b; }

.product-detail {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  padding: 2rem 0 1rem;
  animation: rise .5s var(--ease) both;
  align-items: start;
}
.product-detail-compact {
  gap: 1.25rem;
  padding: 1.25rem 0 .75rem;
}
.product-detail-compact .product-zoom-stage {
  border-radius: 12px;
}
.product-detail-compact .product-zoom-hint {
  font-size: .68rem;
  padding: .28rem .5rem;
  left: .55rem;
  bottom: .55rem;
}
.pd-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .35rem .75rem;
}
.pd-top .product-rating-summary { margin: 0; font-size: .82rem; }
.pd-title {
  margin: .25rem 0 .35rem;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.2;
  color: var(--accent);
}
.pd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .85rem;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: .45rem;
}
.pd-price {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  margin: .15rem 0 .45rem;
}
.pd-price strong {
  font-size: 1.35rem;
  color: var(--accent);
  font-weight: 800;
}
.pd-desc {
  margin: 0 0 .75rem;
  font-size: .9rem;
  line-height: 1.45;
  color: var(--text);
}
.pd-buy {
  display: flex;
  gap: .5rem;
  align-items: center;
  margin-bottom: .55rem;
}
.pd-buy .qty-input { width: 72px; }
.pd-buy .btn { flex: 1; padding: .65rem .9rem; }
.pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .65rem;
}
.pd-barcode {
  display: inline-flex;
  padding: .4rem .55rem .25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  margin-bottom: .75rem;
}
.pd-barcode svg { display: block; max-width: 100%; height: auto; }
.pd-commerce {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
}
.pd-commerce-item {
  padding: .65rem .7rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-size: .78rem;
}
.pd-commerce-item strong {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  margin-bottom: .4rem;
}
.pd-pay-row {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: .3rem;
}
.pd-pay-row img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
}
.pd-commerce-item a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.pd-commerce-item ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .28rem;
}
.pd-commerce-item li {
  display: flex;
  justify-content: space-between;
  gap: .35rem;
}
.pd-commerce-item em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.product-reviews-compact .panel { padding: .85rem .95rem; }
.product-reviews-compact .section-title { font-size: 1.15rem; margin: 0; }
.product-reviews-compact .product-reviews-head { margin-bottom: .65rem; }
.review-form-compact .review-form-top {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  align-items: end;
}
.review-form-compact .star-input label { font-size: 1.25rem; }
.review-card-compact { padding: .7rem .85rem; }
.review-card-compact .review-card-head { margin-bottom: .3rem; }
.review-card-compact p { font-size: .88rem; line-height: 1.4; }
.review-empty { padding: .75rem .9rem; font-size: .88rem; }

.product-detail-image {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #eef3fa, #dfe8f5);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-wrap { width: 100%; }
.product-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .65rem;
}
.product-gallery-thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  opacity: .78;
  transition: border-color .2s, opacity .2s, transform .2s;
}
.product-gallery-thumb.is-active,
.product-gallery-thumb:hover {
  border-color: var(--accent-mid);
  opacity: 1;
  transform: translateY(-1px);
}
.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Zoom produit façon Amazon */
.product-zoom {
  position: relative;
  width: 100%;
}
.product-zoom-stage {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(145deg, #eef3fa, #dfe8f5);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: crosshair;
  user-select: none;
  touch-action: manipulation;
}
.product-zoom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.product-zoom-lens {
  position: absolute;
  width: 140px;
  height: 140px;
  border: 2px solid rgba(11, 58, 110, .85);
  background: rgba(255, 255, 255, .28);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
  pointer-events: none;
  opacity: 0;
  transition: opacity .12s ease;
  z-index: 2;
}
.product-zoom.is-zooming .product-zoom-lens {
  opacity: 1;
}
.product-zoom-hint {
  position: absolute;
  left: .75rem;
  bottom: .75rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, .72);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  pointer-events: none;
  opacity: .9;
  transition: opacity .2s ease;
}
.product-zoom.is-zooming .product-zoom-hint,
.product-zoom:hover .product-zoom-hint {
  opacity: 0;
}
.product-zoom-result {
  display: none;
  position: absolute;
  left: calc(100% + 1rem);
  top: 0;
  width: min(100%, 420px);
  aspect-ratio: 1;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background-color: #fff;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
  z-index: 20;
  pointer-events: none;
  overflow: hidden;
}
.product-zoom.is-zooming .product-zoom-result {
  display: block;
}

.product-lightbox {
  border: 0;
  padding: 0;
  max-width: min(96vw, 920px);
  width: 96vw;
  background: transparent;
}
.product-lightbox::backdrop {
  background: rgba(8, 18, 35, .78);
  backdrop-filter: blur(4px);
}
.product-lightbox-close-wrap {
  position: absolute;
  top: .4rem;
  right: .4rem;
  z-index: 2;
  margin: 0;
}
.product-lightbox-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #0f172a;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.product-lightbox-stage {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
}
.product-lightbox-stage img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 86vh;
  object-fit: contain;
  background: #eef3fa;
}

.stars {
  display: inline-flex;
  gap: .12rem;
  color: #f5a524;
  line-height: 1;
}
.stars .bi-star { color: #cbd5e1; }
.stars-lg { font-size: 1.25rem; }
.product-rating-summary {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: .35rem 0 .65rem;
  text-decoration: none;
  color: var(--text);
  font-size: .9rem;
  font-weight: 600;
}
.product-rating-summary .muted { font-weight: 500; color: var(--muted); }
.product-card-rating {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: .25rem 0 .4rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
}
.product-card-rating .stars { font-size: .85rem; }

.product-reviews { padding-top: .5rem; }
.product-reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}
.product-reviews-score {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .95rem;
}
.product-reviews-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1.25rem;
  align-items: start;
}
.review-list {
  display: grid;
  gap: .75rem;
  overflow: visible;
  max-height: none;
}
.product-related { padding-top: .25rem; }
.product-related-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}
.product-related-head .section-title { margin: 0; }
.product-related-carousel { margin-top: .15rem; }
.review-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .65rem;
  margin-bottom: .55rem;
}
.review-card-head time {
  margin-left: auto;
  color: var(--muted);
  font-size: .78rem;
}
.review-card p { margin: 0; line-height: 1.55; }

.star-input {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: .15rem;
}
.star-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.star-input label {
  cursor: pointer;
  font-size: 1.55rem;
  color: #cbd5e1;
  transition: color .12s ease, transform .12s ease;
  margin: 0;
}
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label {
  color: #f5a524;
}
.star-input label:hover { transform: scale(1.08); }



.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.cart-item-image {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #eef3fa;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: .5rem;
  font-size: .94rem;
}
.cart-summary-row.total {
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
  color: var(--accent);
}

.cart-page { max-width: 1100px; margin: 0 auto; }
.cart-layout {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 1.25rem;
  align-items: start;
}
.cart-list.panel { padding: 0; overflow: hidden; }
.cart-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.cart-row:last-child { border-bottom: none; }
.cart-row-image {
  width: 96px; height: 96px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #eef3fa;
}
.cart-row-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-row-info h3 {
  margin: 0 0 .25rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
}
.cart-row-unit {
  margin: 0 0 .75rem;
  color: var(--muted);
  font-size: .85rem;
}
.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.cart-qty form { margin: 0; }
.cart-qty-btn {
  width: 36px; height: 36px;
  border: 0; background: transparent;
  color: var(--accent); font-size: 1.1rem; font-weight: 700;
  cursor: pointer;
}
.cart-qty-btn:hover { background: var(--brand-light); }
.cart-qty-mid { display: flex; }
.cart-qty-input {
  width: 48px; height: 36px;
  border: 0; border-inline: 1px solid var(--border);
  text-align: center; font-weight: 700;
  color: var(--accent); background: #fff;
  -moz-appearance: textfield;
}
.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-row-side { text-align: right; }
.cart-row-total {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: .55rem;
}
.cart-remove {
  border: 0; background: transparent;
  color: var(--muted); font-size: .82rem;
  cursor: pointer; display: inline-flex; align-items: center; gap: .3rem;
}
.cart-remove:hover { color: var(--danger); }
.cart-summary-box {
  margin-top: 0;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.cart-summary-box h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--accent);
  display: flex; align-items: center; gap: .4rem;
}
.cart-summary-note {
  margin: .35rem 0 1rem;
  font-size: .8rem;
  color: var(--muted);
}
.cart-summary-box .btn + .btn { margin-top: .55rem; }
.cart-empty h2 {
  margin: .75rem 0 .35rem;
  font-family: var(--font-display);
  color: var(--accent);
}
.cart-empty-icon {
  width: 72px; height: 72px; margin: 0 auto .5rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-light);
  color: var(--accent);
  font-size: 1.8rem;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.75rem;
  align-items: start;
}
.checkout-grid .cart-summary {
  margin-top: 0;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.payment-fieldset {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
}
.payment-fieldset legend {
  font-weight: 700;
  font-size: .92rem;
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.payment-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
}
.payment-option { cursor: pointer; margin: 0; }
.payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.payment-option-card {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 72px;
  padding: .65rem .75rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.payment-option-card img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  flex-shrink: 0;
}
.payment-option-card strong {
  display: block;
  font-size: .88rem;
  line-height: 1.2;
}
.payment-option-card small {
  color: var(--muted);
  font-size: .72rem;
}
.payment-option-cash {
  color: var(--accent);
}
.payment-option-cash i {
  font-size: 1.55rem;
  width: 44px;
  text-align: center;
}
.payment-option input:checked + .payment-option-card {
  border-color: var(--accent);
  background: rgba(11, 58, 110, .05);
  box-shadow: 0 0 0 3px rgba(11, 58, 110, .12);
}
.payment-contact {
  margin-top: .85rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(29, 155, 240, .08), rgba(255, 121, 0, .08));
  border: 1px solid var(--border);
}
.payment-contact p {
  margin: 0;
  font-size: .9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .45rem;
}
.payment-contact a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
}
.payment-contact-hint {
  margin-top: .35rem !important;
  color: var(--muted);
  font-size: .78rem !important;
}
.payment-accepted-mini {
  margin-top: 1.1rem;
  padding-top: .9rem;
  border-top: 1px dashed var(--border);
  display: grid;
  gap: .45rem;
  justify-items: start;
  font-size: .78rem;
  color: var(--muted);
}
.payment-accepted-mini div {
  display: flex;
  gap: .45rem;
  align-items: center;
}
.payment-accepted-mini img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
}
.payment-accepted-mini a {
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
}

.shop-footer-payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.1rem;
  margin: 1.25rem 0 .25rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  font-size: .85rem;
  color: rgba(255,255,255,.88);
}
.shop-footer-payment-logos {
  display: flex;
  gap: .5rem;
  align-items: center;
}
.shop-footer-payment-logos img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
  background: transparent;
  padding: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.shop-footer-payment-phone {
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  margin-left: auto;
}
.shop-footer-payment-phone:hover { opacity: .9; }


.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.site-footer { display: none; }

.footer-modules {
  margin-top: 2.5rem;
  padding: 1.5rem 0 1.75rem;
  background: linear-gradient(180deg, transparent, rgba(219, 231, 248, .55));
  border-top: 1px solid var(--border);
}
.footer-timeline {
  margin-bottom: 0;
}

.shop-footer {
  background: linear-gradient(165deg, #082a52 0%, #0b3a6e 48%, #1d5bb8 140%);
  color: rgba(255,255,255,.92);
  padding: 2rem 0 1.5rem;
}
.shop-footer-brand {
  display: flex; align-items: center; gap: .9rem;
  margin-bottom: 1.4rem; padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.shop-footer-logo {
  width: 52px; height: 52px; border-radius: 12px;
  background: #fff; padding: 6px; object-fit: contain;
}
.shop-footer-brand strong {
  display: block; font-family: var(--font-display);
  font-size: 1.05rem; color: #fff;
}
.shop-footer-brand small {
  display: block; margin-top: .2rem;
  font-size: .78rem; color: rgba(255,255,255,.75); line-height: 1.35;
}
.shop-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
  margin-bottom: 1.35rem;
}
.shop-footer-col h3 {
  margin: 0 0 .7rem;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #93c5fd;
  font-weight: 800;
}
.shop-footer-col a,
.shop-footer-address {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  color: rgba(255,255,255,.88);
  font-size: .88rem;
  line-height: 1.55;
  margin-bottom: .4rem;
}
.shop-footer-col a i,
.shop-footer-address i {
  margin-top: .15rem;
  opacity: .85;
}
.shop-footer-col a:hover { color: #fff; text-decoration: underline; }
.shop-footer-cta {
  display: inline-block !important;
  margin-top: .55rem;
  padding: .45rem .8rem;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  font-weight: 700;
  text-decoration: none !important;
}
.shop-footer-cta:hover { background: rgba(255,255,255,.2); }
.shop-footer-bottom {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem;
  justify-content: space-between; align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .78rem;
  color: rgba(255,255,255,.75);
}
.shop-footer-tag {
  color: #bfdbfe;
  font-weight: 700;
}

.legal-page { max-width: 820px; }
.page-shell { max-width: 960px; margin: 0 auto; }

.page-hero {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: .5rem 0 1.5rem;
  padding: 1.15rem 1.2rem;
  background:
    linear-gradient(135deg, rgba(11,58,110,.08), rgba(29,91,184,.04)),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-sm);
}
.page-hero-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 1.35rem;
}
.page-hero-text { min-width: 0; flex: 1; }
.page-hero .page-title { margin: .15rem 0 .35rem; }
.page-hero .legal-lead { margin: 0; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
  color: inherit;
}
a.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #b8ccea;
}
.contact-card-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--brand-light);
  color: var(--accent);
  font-size: 1.15rem;
  margin-bottom: .35rem;
}
.contact-card-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  font-weight: 700;
}
.contact-card strong {
  font-size: 1rem;
  color: var(--accent);
  line-height: 1.35;
}
.contact-card-action {
  margin-top: .35rem;
  font-size: .82rem;
  font-weight: 650;
  color: var(--accent-mid);
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.panel-head {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
}
.panel-head i { color: var(--accent); font-size: 1.15rem; }
.panel-head h2 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--accent);
}
.hours-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
}
.hours-list li span { color: var(--muted); }
.contact-cta-actions {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.contact-cta-actions .btn { justify-content: flex-start; }

.help-timeline {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.35rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow-sm);
}
.help-timeline-kicker {
  margin: 0 0 1rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.help-timeline-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
}
.help-timeline-step {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
}
.help-timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.65rem;
  left: calc(50% + 1.75rem);
  right: calc(-50% + 1.75rem);
  height: 3px;
  background: linear-gradient(90deg, var(--accent-mid), #cbd5e1);
  border-radius: 999px;
  z-index: 0;
  pointer-events: none;
}
.help-timeline-card {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: .5rem .65rem 1rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  transition: transform .2s, background .2s;
}
.help-timeline-card:hover {
  background: var(--brand-light);
  transform: translateY(-2px);
}
.help-timeline-card-static {
  cursor: default;
}
.help-timeline-card-static:hover {
  background: transparent;
  transform: none;
}
.help-timeline-num {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--accent-mid));
  box-shadow: 0 4px 14px rgba(11, 58, 110, .28);
  border: 3px solid var(--surface);
}
.help-timeline-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--accent);
  font-size: 1.15rem;
}
.help-timeline-card strong {
  font-size: .92rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}
.help-timeline-card small {
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.35;
  max-width: 9rem;
}
.help-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  background: var(--brand-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.help-footer-cta p {
  margin: .2rem 0 0;
  color: var(--muted);
  font-size: .88rem;
}

.account-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 560px;
}
.account-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.25rem;
}
.account-name { font-size: 1.05rem; color: var(--accent); }
.account-meta {
  margin: .3rem 0 0;
  color: var(--muted);
  font-size: .875rem;
}
.account-form { max-width: 720px; }
.account-form-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.account-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 640px) {
  .account-form-grid { grid-template-columns: 1fr; }
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.75rem 0 .5rem;
  flex-wrap: wrap;
}
.pagination-btn {
  padding: .45rem .9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--surface);
}
.pagination-btn:hover {
  border-color: var(--accent-mid);
  background: rgba(11,58,110,.04);
}
.pagination-info {
  font-size: .875rem;
  color: var(--muted);
}

.btn i { font-size: 1em; }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--muted);
  font-size: .875rem;
  margin-bottom: .5rem;
}
.legal-back:hover { color: var(--accent); }
.legal-lead { color: var(--muted); margin: 0 0 1.25rem; }
.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.legal-h2 {
  font-size: 1rem;
  margin: 0 0 .85rem;
  color: var(--accent);
}
.legal-note {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: var(--muted);
  font-size: .875rem;
}
.legal-prose p {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.65;
}
.legal-prose p i {
  color: var(--accent);
  margin-top: .2rem;
  flex-shrink: 0;
}
.legal-faq details {
  border-bottom: 1px solid var(--border);
  padding: .85rem 0;
}
.legal-faq summary {
  display: flex;
  align-items: center;
  gap: .55rem;
  list-style: none;
  cursor: pointer;
  font-weight: 650;
  color: var(--accent);
}
.legal-faq summary::-webkit-details-marker { display: none; }
.legal-faq summary i { color: var(--accent-mid); }
.legal-faq p {
  margin: .55rem 0 0;
  color: var(--muted);
  font-size: .92rem;
}

.search-bar {
  display: flex;
  gap: .55rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.search-bar .form-control { max-width: 360px; flex: 1; }

.empty-state {
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.empty-state i {
  display: block;
  font-size: 2.5rem;
  margin-bottom: .75rem;
  color: var(--accent-mid);
  opacity: .65;
}
.empty-state .btn { margin-top: 1rem; }

.contact-form { margin-bottom: 1.25rem; scroll-margin-top: 5rem; }
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 640px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
}

.error-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(900px 400px at 10% -10%, #dbe7f8 0%, transparent 55%),
    var(--bg);
}
.error-shell { text-align: center; max-width: 420px; }
.error-logo { display: inline-block; margin-bottom: 1rem; }
.error-logo img { border-radius: 12px; box-shadow: var(--shadow-sm); }
.error-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: .5rem;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 4.5rem);
  font-weight: 800;
  margin: 0;
  line-height: 1;
  color: var(--accent);
}
.error-message { color: var(--muted); margin: .75rem 0 1.5rem; }
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 1.4rem 0 1rem;
}

.auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    radial-gradient(800px 400px at 20% 0%, #d5e4f8, transparent 60%),
    var(--bg);
}
.auth-card {
  width: min(420px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.auth-card h1 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: .75rem 0 1.35rem;
}
.auth-logo { height: 42px; width: auto; margin: 0 auto; }
.auth-back {
  display: block;
  text-align: center;
  margin-top: 1.35rem;
  font-size: .875rem;
  color: var(--muted);
}
.auth-back:hover { color: var(--accent); }

/* Auth redesign */
.auth-body { margin: 0; min-height: 100vh; }
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(29, 91, 184, .18), transparent 55%),
    linear-gradient(160deg, #e8f0fa 0%, #f4f7fb 45%, #eef3f9 100%);
}
.auth-brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(7, 28, 58, .55), rgba(11, 58, 110, .82)),
    linear-gradient(145deg, #0b3a6e, #1d5bb8 70%, #0f4c8a);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.auth-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 220px at 20% 20%, rgba(255,255,255,.14), transparent 60%),
    radial-gradient(360px 200px at 80% 80%, rgba(191, 219, 254, .18), transparent 55%);
  pointer-events: none;
}
.auth-brand > * { position: relative; z-index: 1; }
.auth-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: #fff;
  text-decoration: none;
  max-width: max-content;
}
.auth-brand-logo img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  padding: .2rem;
  object-fit: contain;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 10px;
}
.admin-logo {
  height: 36px;
  width: 36px;
  object-fit: contain;
  border-radius: 9px;
}
.shop-footer-logo {
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 2px;
}
.home-hero-logo {
  width: 56px !important;
  height: 56px !important;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255,255,255,.95);
  padding: .25rem;
}
.auth-showcase-slide img,
.product-card-image img,
.product-zoom-img {
  background: #e8f1fb;
}
.auth-brand-logo strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.2;
}
.auth-brand-logo small {
  display: block;
  opacity: .85;
  font-size: .78rem;
  margin-top: .15rem;
}
.auth-brand-copy h2 {
  margin: 0 0 .75rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  max-width: 14ch;
}
.auth-brand-copy p {
  margin: 0;
  max-width: 34ch;
  opacity: .9;
  line-height: 1.5;
  font-size: .95rem;
}
.auth-timeline {
  margin-top: auto;
}
.auth-timeline-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
}
.auth-timeline-step {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
}
.auth-timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.55rem;
  left: calc(50% + 1.65rem);
  right: calc(-50% + 1.65rem);
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,.22));
  border-radius: 999px;
  z-index: 0;
  pointer-events: none;
}
.auth-timeline-card {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: .35rem .45rem .65rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  transition: background .2s, transform .2s;
}
a.auth-timeline-card:hover {
  background: rgba(255,255,255,.08);
  transform: translateY(-2px);
}
.auth-timeline-num {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 800;
  color: #0b3a6e;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  border: 2px solid rgba(255,255,255,.35);
}
.auth-timeline-icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 11px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 1.05rem;
}
.auth-timeline-card strong {
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.auth-timeline-card small {
  font-size: .68rem;
  color: rgba(255,255,255,.78);
  line-height: 1.3;
  max-width: 8.5rem;
}
.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.auth-shell .auth-card {
  width: min(440px, 100%);
  padding: 1.5rem 1.4rem 1.25rem;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
  animation: authFadeIn .35s ease both;
}
@keyframes authFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.auth-mobile-brand {
  display: none;
  width: max-content;
  margin: 0 auto .75rem;
}
.auth-head { margin-bottom: 1rem; }
.auth-eyebrow {
  margin: 0 0 .25rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-mid);
}
.auth-shell .auth-card h1 {
  margin: 0 0 .35rem;
  font-size: 1.55rem;
}
.auth-lead {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.4;
}
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  width: 100%;
  margin-top: 1rem;
  padding: .7rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: #1f2937;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn-google:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
  color: #111827;
}
.auth-google-hint {
  margin: .45rem 0 0;
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.35;
}
.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .65rem;
  margin: 1rem 0 .85rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--border);
}
.auth-form .form-group { margin-bottom: .8rem; }
.password-field {
  position: relative;
  display: block;
}
.password-field .form-control {
  padding-right: 2.75rem;
}
.password-toggle {
  position: absolute;
  top: 50%;
  right: .45rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}
.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--accent);
  background: rgba(11, 58, 110, .08);
  outline: none;
}
.password-toggle i { font-size: 1.05rem; line-height: 1; }
.auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}
.auth-switch {
  text-align: center;
  margin: .95rem 0 0;
  font-size: .875rem;
  color: var(--muted);
}
.auth-switch a { font-weight: 700; color: var(--accent); text-decoration: none; }
.auth-shell .auth-back {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  width: 100%;
}

.auth-showcase-mobile {
  display: none !important;
  min-height: 160px;
  margin: 0 0 1rem;
  border-radius: 14px;
}
.auth-showcase-mobile .auth-showcase-track { min-height: 160px; }

@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-panel { min-height: auto; }
  .auth-mobile-brand { display: block; }
  .auth-form-row { grid-template-columns: 1fr; }
  .auth-showcase-mobile { display: block !important; }
}

.auth-showcase {
  position: relative;
  flex: 1;
  min-height: 280px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
}
.auth-showcase-track { position: relative; height: 100%; min-height: 280px; }
.auth-showcase-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.06) translateY(10px);
  transition: opacity .7s ease, transform .9s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.auth-showcase-slide.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  z-index: 1;
}
.auth-showcase-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}
.auth-showcase-slide figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.1rem 1rem .9rem;
  background: linear-gradient(180deg, transparent, rgba(7,28,58,.92));
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: end;
}
.auth-showcase-slide figcaption strong {
  font-size: .92rem;
  line-height: 1.25;
}
.auth-showcase-slide figcaption span {
  font-size: .82rem;
  font-weight: 800;
  color: #bfdbfe;
  white-space: nowrap;
}
.auth-showcase-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: .7rem;
  transform: translateX(-50%);
  display: flex;
  gap: .35rem;
}
.auth-showcase-dots button {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.auth-showcase-dots button.is-active {
  width: 18px;
  background: #fff;
}

/* Modal flash animé */
.tsf-modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 400px);
}
.tsf-modal::backdrop {
  background: rgba(8, 18, 35, .62);
  backdrop-filter: blur(5px);
  animation: tsfFadeIn .25s ease both;
}
.tsf-modal[open] .tsf-modal-card {
  animation: tsfPopIn .42s cubic-bezier(.22,1,.36,1) both;
}
.tsf-modal-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.15rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
}
.tsf-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto .75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 2rem;
}
.tsf-modal.is-success .tsf-modal-icon {
  background: rgba(34, 197, 94, .12);
  color: #16a34a;
}
.tsf-modal.is-error .tsf-modal-icon {
  background: rgba(239, 68, 68, .12);
  color: #dc2626;
}
.tsf-modal-title {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent);
}
.tsf-modal-text {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}
@keyframes tsfPopIn {
  from { opacity: 0; transform: translateY(18px) scale(.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes tsfFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.product-detail-info .cat {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent-mid);
}
.muted-ref { color: var(--muted); font-size: .875rem; margin: 0 0 1rem; }
.price-lg { font-size: 1.35rem; margin-bottom: 1rem; }
.product-desc { margin: 0 0 1.4rem; color: var(--muted); }
.stock-line { font-size: .875rem; margin: 0 0 1rem; }
.in-stock { color: var(--success); font-weight: 600; }
.out-stock { color: var(--danger); font-weight: 600; }
.buy-row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }

.product-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
}
.product-commerce-box {
  margin-top: 1.35rem;
  display: grid;
  gap: .85rem;
}
.product-commerce-block {
  padding: 1rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(11,58,110,.04), rgba(37,211,102,.04)),
    var(--surface);
}
.product-commerce-block h3 {
  margin: 0 0 .7rem;
  font-size: .92rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.product-pay-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
}
.product-pay-logos img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
}
.product-pay-cash {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .65rem;
  border-radius: 999px;
  background: rgba(11,58,110,.08);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
}
.product-pay-phone {
  margin: .65rem 0 0;
  font-size: .88rem;
}
.product-pay-phone a {
  color: var(--accent);
  text-decoration: none;
}
.product-delivery-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .65rem;
}
.product-delivery-list li {
  display: grid;
  gap: .15rem;
}
.product-delivery-list strong { font-size: .9rem; }
.product-delivery-list span {
  font-size: .82rem;
  color: var(--accent);
  font-weight: 700;
}
.product-delivery-list small {
  color: var(--muted);
  font-size: .78rem;
}

.delivery-options {
  display: grid;
  gap: .55rem;
}
.delivery-option { margin: 0; cursor: pointer; }
.delivery-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.delivery-option-card {
  display: grid;
  gap: .2rem;
  padding: .75rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.delivery-option-card strong { font-size: .9rem; }
.delivery-option-card small { color: var(--muted); font-size: .78rem; }
.delivery-option input:checked + .delivery-option-card {
  border-color: var(--accent);
  background: rgba(11, 58, 110, .05);
  box-shadow: 0 0 0 3px rgba(11, 58, 110, .12);
}

.order-receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 0 0 1.25rem;
}
.order-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.order-meta-grid h3 {
  margin: 0 0 .55rem;
  font-size: .9rem;
}
.order-meta-grid p { margin: 0 0 .35rem; font-size: .9rem; }
.order-meta-grid .muted { color: var(--muted); }
.order-pay-hint { margin-top: .55rem !important; }

.admin-delivery-list { display: grid; gap: .85rem; }
.admin-delivery-row {
  display: grid;
  grid-template-columns: 1.3fr .7fr 1.4fr auto;
  gap: .65rem;
  align-items: end;
  padding: .85rem;
  border: 1px solid var(--admin-border, #dbe3ef);
  border-radius: 10px;
  background: #fff;
}
.admin-delivery-enabled {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .85rem;
  padding-bottom: .55rem;
  white-space: nowrap;
}

@media print {
  .site-header, .shop-footer, .footer-modules, .order-receipt-actions, .nav { display: none !important; }
  .order-receipt { padding: 0; }
}

.qty-input { width: 88px; }

/* ——— Home kcom-style ——— */
.home-shell { padding-bottom: 1rem; }

.home-hero {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  margin: 0 calc(50% - 50vw) 1rem;
  width: 100vw;
  background: #0b2e6b;
  box-shadow: 0 12px 28px rgba(11, 58, 110, .2);
}
.home-hero-slider { position: absolute; inset: 0; z-index: 0; }
.home-hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0; transform: scale(1.05);
  transition: opacity .7s ease;
}
.home-hero-slide.is-active {
  opacity: 1; transform: scale(1);
  transition: opacity .7s ease, transform 10s ease;
}
.home-hero-slide-link { text-decoration: none; color: inherit; display: block; }
.home-hero-slide-link img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.home-hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(8,30,66,.88) 0%, rgba(8,30,66,.45) 42%, rgba(8,30,66,.1) 70%, transparent 100%),
    linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 55%);
}
.home-hero-body {
  position: relative; z-index: 2;
  width: min(1160px, 92%);
  margin: 0 auto;
  padding: 1.25rem 0 1.1rem;
  min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .75rem;
}
.home-hero-panel {
  background: rgba(8, 30, 66, .78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  padding: 1.1rem 1.15rem;
  max-width: 520px;
  color: #fff;
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
  animation: rise .6s var(--ease) both;
}
.home-hero-brand { display: flex; gap: .85rem; align-items: flex-start; }
.home-hero-logo {
  width: 54px; height: 54px; border-radius: 12px;
  background: #fff; padding: 6px; object-fit: contain; flex-shrink: 0;
}
.home-hero-kicker {
  margin: 0; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #93c5fd;
}
.home-hero-title {
  margin: .2rem 0 0; font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.7rem); font-weight: 800; line-height: 1.15; color: #fff;
}
.home-hero-sub { margin: .35rem 0 0; font-size: .92rem; color: rgba(255,255,255,.9); font-weight: 500; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .9rem; }
.btn-hero-primary, .btn-hero-ghost {
  min-height: 44px; padding: .65rem 1rem; border-radius: 10px; font-weight: 700; font-size: .9rem;
}
.btn-hero-primary { background: #fff; color: var(--accent); }
.btn-hero-primary:hover { background: #e8eef8; }
.btn-hero-ghost {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4);
}
.btn-hero-ghost:hover { background: rgba(255,255,255,.12); }
.home-hero-contact { margin: .75rem 0 0; font-size: .88rem; }
.home-hero-contact a { color: #bfdbfe; font-weight: 600; }
.home-hero-dots { display: flex; gap: .35rem; justify-content: center; }
.home-hero-dots button {
  width: 7px; height: 7px; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.35); padding: 0; cursor: pointer;
}
.home-hero-dots button.is-active { width: 22px; background: #fff; }

.home-search-section {
  width: min(1160px, 92%);
  margin: 0 auto .35rem;
}
.home-search-form {
  display: flex; align-items: center; gap: .5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .45rem .5rem .45rem .9rem;
  box-shadow: var(--shadow-sm);
}
.home-search-icon { color: var(--muted); font-size: 1.1rem; }
.home-search-input {
  flex: 1; border: 0; outline: none; background: transparent;
  font: inherit; font-size: .95rem; min-width: 0; padding: .4rem 0;
}
.home-search-btn {
  border: 0; background: var(--accent); color: #fff;
  border-radius: 10px; padding: .65rem 1rem; font-weight: 700; cursor: pointer;
}
.home-search-btn:hover { background: var(--accent-hover); }

.home-cats-section {
  background: var(--surface);
  border-block: 1px solid var(--border);
  padding: 1.1rem 0 .85rem;
  margin: .85rem 0 0;
}
.home-cats-inner { width: min(1160px, 100%); margin: 0 auto; position: relative; }
.home-cats-head,
.home-section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; padding: 0 4%; margin-bottom: .85rem;
}
.home-cats-head h2,
.home-section-head .section-title { margin: 0; }
.home-see-all {
  display: inline-flex; align-items: center;
  padding: .4rem .75rem; border-radius: 999px;
  background: rgba(11,58,110,.08); color: var(--accent);
  font-weight: 700; font-size: .82rem; border: 1px solid rgba(11,58,110,.12);
}
.home-see-all:hover { background: var(--accent); color: #fff; }

.home-cats-track {
  display: flex; flex-wrap: nowrap; gap: .85rem;
  overflow-x: auto; padding: .15rem 4% .65rem;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.home-cats-track::-webkit-scrollbar { display: none; }
.home-cats-track.is-auto-scroll {
  display: block; overflow-x: auto; overflow-y: hidden;
  padding-left: 0; padding-right: 0; cursor: grab;
  touch-action: pan-x;
}
.home-cats-track.is-dragging { cursor: grabbing; user-select: none; }
.home-cats-marquee-inner {
  display: flex; flex-wrap: nowrap; gap: .85rem; width: max-content;
  padding: .15rem 4% .65rem;
}
.home-cats-inner:has(.is-auto-scroll)::before,
.home-cats-inner:has(.is-auto-scroll)::after {
  content: ""; position: absolute; top: 2.4rem; bottom: .4rem; width: 1.4rem;
  z-index: 2; pointer-events: none;
}
.home-cats-inner:has(.is-auto-scroll)::before {
  left: 0; background: linear-gradient(to right, #fff 20%, transparent);
}
.home-cats-inner:has(.is-auto-scroll)::after {
  right: 0; background: linear-gradient(to left, #fff 20%, transparent);
}

.home-cat-item {
  flex: 0 0 auto; width: 118px;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  text-align: center; color: var(--text);
}
.home-cat-circle {
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #e8eef8, #d7e4f6);
  border: 2px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.home-cat-circle img {
  width: 100%; height: 100%; object-fit: cover;
}
.home-cat-item:hover .home-cat-circle {
  transform: translateY(-4px) scale(1.03);
  box-shadow: var(--shadow);
  border-color: #b8ccea;
}
.home-cat-label {
  font-size: .82rem; font-weight: 650; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.home-cat-count { font-size: .72rem; color: var(--muted); }

.home-section { padding: 1.5rem 0 .5rem; }
.home-section-last { padding-bottom: 2rem; }
.home-section-head { padding: 0; margin-bottom: 1rem; }

.home-featured-carousel {
  position: relative;
  width: 100%;
  container-type: inline-size;
}
.home-featured-viewport {
  overflow: hidden;
  width: 100%;
  outline: none;
}
.home-featured-track {
  display: flex;
  gap: 1rem;
  will-change: transform;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
}
.home-featured-slide {
  flex: 0 0 calc((100cqw - 3rem) / 4);
  min-width: 0;
}
.home-featured-slide .product-card { height: 100%; }

@media (max-width: 900px) {
  .home-featured-slide {
    flex-basis: calc((100cqw - 1rem) / 2);
  }
}
@media (max-width: 520px) {
  .home-featured-slide {
    flex-basis: calc((100cqw - 1rem) / 1.15);
  }
}

@media (max-width: 900px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-grid { grid-template-columns: 1fr; }
  .payment-options { grid-template-columns: 1fr; }
  .shop-footer-payment-phone { margin-left: 0; }
  .cart-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .product-zoom-result { display: none !important; }
  .product-zoom-lens { display: none !important; }
  .product-zoom-stage { cursor: zoom-in; }
  .product-zoom-hint { opacity: .9 !important; }
  .product-zoom-hint::after { content: " · touchez pour agrandir"; }
  .order-meta-grid { grid-template-columns: 1fr; }
  .admin-delivery-row { grid-template-columns: 1fr; }
  .product-reviews-grid { grid-template-columns: 1fr; }
  .pd-commerce { grid-template-columns: 1fr; }
  .review-form-compact .review-form-top { flex-direction: column; align-items: stretch; }
  .logo-text { display: none; }
  .home-hero { min-height: 300px; }
  .home-hero-body { min-height: 300px; }
  .shop-footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .contact-cards,
  .contact-split,
  .help-timeline-step:not(:last-child)::after { top: 1.55rem; }
  .help-timeline-card small { max-width: none; }
  .help-footer-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .header-inner .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: 95;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .75rem 1rem 1rem;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .header-inner .nav.is-open { display: flex; }
  body.nav-open { overflow: hidden; }
  .nav-backdrop {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 90;
    background: rgba(15, 27, 45, .35);
    border: 0;
    padding: 0;
    cursor: pointer;
  }
  .nav a {
    padding: .8rem .4rem;
    border-bottom: 1px solid var(--border);
  }
  .nav a::after { display: none; }
  .nav-user {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .45rem;
    margin: .55rem 0;
    padding: .55rem;
    border-radius: 16px;
  }
  .nav-user-chip {
    grid-column: 1 / -1;
    padding: .35rem .75rem .35rem .35rem !important;
    border: 1px solid var(--border);
    background: #fff;
  }
  .nav-user-meta small { display: block; font-size: .7rem; }
  .nav-user-meta strong { max-width: none; font-size: .9rem; }
  .nav-action {
    width: auto;
    min-height: 2.5rem;
    justify-content: flex-start;
    padding: .55rem .75rem !important;
    border: 1px solid var(--border);
    background: #fff;
    font-size: .84rem !important;
  }
  .nav-action span { display: inline; }
  .nav-logout-form { display: contents; }
  .nav-action-logout { color: #be123c !important; }
  .nav-login {
    justify-content: center;
    margin: .35rem 0;
  }
  .cart-link {
    margin-top: .5rem;
    justify-content: center;
  }
  .hero { min-height: 72vh; }
  .home-search-btn { padding: .65rem .8rem; font-size: .82rem; }
}

@media (max-width: 640px) {
  .shop-footer-grid,
  .contact-cards,
  .contact-split,
  .help-timeline-track { flex-direction: column; gap: .35rem; }
  .help-timeline-step:not(:last-child)::after {
    top: auto;
    bottom: -.2rem;
    left: 1.05rem;
    right: auto;
    width: 3px;
    height: calc(100% + .35rem);
    background: linear-gradient(180deg, var(--accent-mid), #cbd5e1);
  }
  .help-timeline-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: .75rem;
    padding: .75rem .85rem;
  }
  .help-timeline-num { flex-shrink: 0; }
  .help-timeline-icon { flex-shrink: 0; }
  .help-timeline-card strong,
  .help-timeline-card small { display: block; }
  .help-timeline-card small { max-width: none; }
  .page-hero { flex-direction: column; }
  .cart-row {
    grid-template-columns: 72px 1fr;
    grid-template-areas:
      "img info"
      "img side";
  }
  .cart-row-image { width: 72px; height: 72px; grid-area: img; }
  .cart-row-info { grid-area: info; }
  .cart-row-side {
    grid-area: side;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
  }
  .cart-row-total { margin-bottom: 0; }
}

/* ——— TSF home (layout SoleilMali, couleurs TSF) ——— */
.tsf-home { padding-bottom: .5rem; }

.home-search-mobile {
  display: none;
  width: min(1160px, 92%);
  margin: .65rem auto 0;
}
.page-home .home-search-mobile { display: block; }

.tsf-hero {
  position: relative;
  min-height: clamp(300px, 50vw, 480px);
  margin: 0 calc(50% - 50vw) 1rem;
  width: 100vw;
  overflow: hidden;
  border-radius: 0 0 22px 22px;
  background: #0b2e6b;
  box-shadow: 0 12px 28px rgba(11, 58, 110, .18);
}
.tsf-hero-slider { position: relative; height: 100%; min-height: inherit; }
.tsf-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .65s ease;
  pointer-events: none;
}
.tsf-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.tsf-hero-photo {
  width: 100%;
  height: 100%;
  min-height: clamp(300px, 50vw, 480px);
  object-fit: cover;
  object-position: center;
  display: block;
}
.tsf-hero-fallback {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, #0b3a6e, #1d5bb8 70%, #0f4c8a),
    radial-gradient(420px 220px at 20% 20%, rgba(255,255,255,.12), transparent 60%);
}
.tsf-hero-banner-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.tsf-hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 1.1rem clamp(1rem, 4vw, 2rem) 1.35rem;
  background: linear-gradient(to top, rgba(8,30,66,.88), rgba(8,30,66,.15), transparent);
  color: #fff;
  pointer-events: none;
}
.tsf-hero-caption a { pointer-events: auto; }
.tsf-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .28rem .55rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  font-size: .72rem;
  font-weight: 700;
}
.tsf-hero-title {
  margin: .45rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-weight: 800;
  line-height: 1.15;
}
.tsf-hero-sub {
  margin: .35rem 0 0;
  max-width: 42ch;
  font-size: .92rem;
  opacity: .92;
}
.tsf-hero-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .75rem; }
.tsf-hero-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: .65rem;
  z-index: 4;
  display: flex;
  gap: .35rem;
}
.tsf-hero-dots button {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  padding: 0;
  cursor: pointer;
}
.tsf-hero-dots button.is-active { width: 22px; background: #fff; }

.tsf-trust-bar {
  margin: 0 calc(50% - 50vw) 1rem;
  width: 100vw;
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.tsf-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .65rem;
  padding: .85rem 0;
}
.tsf-trust-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .65rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background .2s;
}
a.tsf-trust-item:hover { background: var(--brand-light); }
.tsf-trust-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 1.05rem;
}
.tsf-trust-copy strong {
  display: block;
  font-size: .86rem;
  color: var(--accent);
}
.tsf-trust-copy small {
  display: block;
  font-size: .74rem;
  color: var(--muted);
  line-height: 1.3;
}

.tsf-section { padding: 1.25rem 0; }
.tsf-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.tsf-section-meta {
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.tsf-cats-section {
  background: var(--surface);
  border-block: 1px solid var(--border);
  margin-bottom: .5rem;
}
.tsf-cats-inner {
  position: relative;
  overflow: hidden;
}
.tsf-cats-track {
  display: flex;
  flex-wrap: nowrap;
  gap: .85rem;
  overflow-x: auto;
  padding-bottom: .35rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.tsf-cats-track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.tsf-cats-track.is-auto-scroll {
  display: block;
  overflow: hidden;
  scroll-snap-type: none;
  cursor: default;
}
.tsf-cats-inner:has(.is-auto-scroll)::before,
.tsf-cats-inner:has(.is-auto-scroll)::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: .35rem;
  width: 2rem;
  z-index: 2;
  pointer-events: none;
}
.tsf-cats-inner:has(.is-auto-scroll)::before {
  left: 0;
  background: linear-gradient(to right, var(--surface) 25%, transparent);
}
.tsf-cats-inner:has(.is-auto-scroll)::after {
  right: 0;
  background: linear-gradient(to left, var(--surface) 25%, transparent);
}
.tsf-cat-card {
  flex: 0 0 108px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  scroll-snap-align: start;
}
.home-cats-track.is-auto-scroll .home-cats-marquee-inner,
.tsf-cats-track.is-auto-scroll .home-cats-marquee-inner,
.tsf-partners-track.is-auto-scroll .home-cats-marquee-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: .85rem;
  width: max-content;
  padding-bottom: .35rem;
  animation: tsf-marquee var(--marquee-duration, 28s) linear infinite;
  will-change: transform;
}
.tsf-partners-track.is-auto-scroll .home-cats-marquee-inner {
  gap: 1rem;
  padding-bottom: .25rem;
}
.tsf-cats-track.is-paused .home-cats-marquee-inner,
.tsf-partners-track.is-paused .home-cats-marquee-inner,
.home-cats-track.is-paused .home-cats-marquee-inner {
  animation-play-state: paused;
}
@keyframes tsf-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}
@media (prefers-reduced-motion: reduce) {
  .home-cats-track.is-auto-scroll .home-cats-marquee-inner,
  .tsf-cats-track.is-auto-scroll .home-cats-marquee-inner,
  .tsf-partners-track.is-auto-scroll .home-cats-marquee-inner {
    animation: none;
  }
}
.tsf-cat-visual {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto .45rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #c7daf4;
  background: #e8f1fb;
}
.tsf-cat-visual img,
.tsf-cat-visual svg,
.tsf-cat-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .4rem;
  background: #e8f1fb;
  display: block;
}
.tsf-cat-label {
  display: block;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.25;
}
.tsf-cat-count {
  display: block;
  font-size: .72rem;
  color: var(--muted);
}

/* ——— Partenaires (marques défilantes) ——— */
.tsf-partners-section {
  padding-top: .25rem;
  padding-bottom: .5rem;
}
.tsf-partners-head .section-title { margin: 0; }
.tsf-partners-kicker {
  margin: 0 0 .2rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-mid);
}
.tsf-partners-inner {
  position: relative;
  overflow: hidden;
  margin-top: .65rem;
  padding: .35rem 0;
}
.tsf-partners-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: .25rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.tsf-partners-track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.tsf-partners-track.is-auto-scroll {
  display: block;
  overflow: hidden;
  scroll-snap-type: none;
  cursor: default;
}
.tsf-partners-inner:has(.is-auto-scroll)::before,
.tsf-partners-inner:has(.is-auto-scroll)::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: .25rem;
  width: 2.5rem;
  z-index: 2;
  pointer-events: none;
}
.tsf-partners-inner:has(.is-auto-scroll)::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 20%, transparent);
}
.tsf-partners-inner:has(.is-auto-scroll)::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 20%, transparent);
}
.tsf-partner-card {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}
.tsf-partner-card img {
  display: block;
  width: 180px;
  height: 64px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(11, 58, 110, .06);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tsf-partner-card:hover img {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 58, 110, .1);
}

.tsf-cta-section { padding-bottom: 1.75rem; }
.tsf-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
}
.tsf-cta-card {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tsf-cta-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #b8ccea;
}
.tsf-cta-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--brand-light);
  color: var(--accent);
  font-size: 1.1rem;
}
.tsf-cta-card--wa .tsf-cta-icon { background: #ecfdf5; color: #16a34a; }
.tsf-cta-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.tsf-cta-copy h3 {
  margin: .15rem 0;
  font-size: .95rem;
  color: var(--accent);
}
.tsf-cta-copy p {
  margin: 0;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.35;
}
.tsf-cta-arrow,
.tsf-cta-action {
  margin-left: auto;
  align-self: center;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
}
.tsf-cta-card--wa .tsf-cta-action { color: #16a34a; }

.market-switcher { position: relative; }
.market-switcher-flag,
.market-switcher-item-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.market-switcher-flag-svg,
.market-switcher-flag-img {
  display: block;
  width: 22px;
  height: 15px;
  flex-shrink: 0;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
  overflow: hidden;
}
.market-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .42rem .65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
}
.market-switcher-menu {
  position: absolute;
  right: 0;
  top: calc(100% + .35rem);
  min-width: 11rem;
  padding: .35rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  z-index: 40;
}
.market-switcher-menu[hidden] { display: none; }
.market-switcher-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .65rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: .84rem;
  font-weight: 600;
}
.market-switcher-item:hover,
.market-switcher-item.is-active { background: var(--brand-light); color: var(--accent); }
.market-switcher-all {
  margin-top: .25rem;
  border-top: 1px solid var(--border);
  border-radius: 0 0 8px 8px;
  padding-top: .65rem;
}

@media (max-width: 900px) {
  .tsf-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .tsf-cta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tsf-trust-grid { grid-template-columns: 1fr; }
  .tsf-hero-caption { padding-bottom: 1.6rem; }
}
