/* France-Mobilier — style e-commerce mobilier */
:root {
  --fm-red: #e60012;
  --fm-red-dark: #c4000f;
  --fm-text: #1f2328;
  --fm-blue: #0074c8;
  --fm-yellow: #f5c400;
}

body {
  color: var(--fm-text);
  background: #f6f7f9;
}

.fm-shell {
  background: #f6f7f9;
}

.fm-sidebar {
  background: #ffffff;
  border-right-color: #e8eaed !important;
}

.fm-brand {
  border: 1px solid #eceef1;
  border-top: 3px solid var(--fm-red);
  border-radius: 4px;
  padding: 0.85rem;
  background: #fff;
}

.fm-brand__tag {
  display: inline-block;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--fm-red);
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  margin-bottom: 0.35rem;
}

.fm-brand p {
  color: #5f6b76;
  font-size: 0.9rem;
}

.fm-btn-primary {
  background: var(--fm-red);
  border: 1px solid var(--fm-red);
  color: #fff;
  font-weight: 700;
  border-radius: 4px;
}

.fm-btn-primary:hover {
  background: var(--fm-red-dark);
  border-color: var(--fm-red-dark);
  color: #fff;
}

.fm-btn-secondary {
  background: transparent;
  border: 1px solid var(--fm-red);
  color: var(--fm-red);
  font-weight: 700;
  border-radius: 4px;
}

.fm-btn-secondary:hover {
  background: rgba(230, 0, 18, 0.06);
  border-color: var(--fm-red-dark);
  color: var(--fm-red-dark);
}

.fm-hero {
  background: linear-gradient(90deg, #ffffff 0%, #f1f3f6 100%);
  border: 1px solid #eceef1;
  border-left: 4px solid var(--fm-red);
  border-radius: 4px;
  padding: 1rem 1.25rem;
}

.fm-hero__eyebrow {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  background: var(--fm-red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fm-hero__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 800;
}

.fm-hero__text {
  margin: 0;
  color: #5f6b76;
}

.fm-top-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.86rem;
}

.fm-top-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  border: 1px solid #eceef1;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  color: #4f5a66;
}

.fm-top-strip i {
  color: var(--fm-blue);
}

.fm-carousel {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #eceef1;
  border-radius: 4px;
  background: #fff;
}

.fm-slide-wrap {
  position: relative;
  min-height: 280px;
  background: #eceff3;
}

@media (min-width: 768px) {
  .fm-slide-wrap {
    min-height: 400px;
  }
}

.fm-slide-img {
  object-fit: cover;
  max-height: 440px;
}

.fm-caption {
  left: 1rem !important;
  right: 1rem !important;
  bottom: 1rem !important;
  transform: none;
  width: auto;
  max-width: 460px;
  text-align: left;
  background: rgba(255, 255, 255, 0.95);
  color: #1f2328;
  border-left: 4px solid var(--fm-red);
  border-radius: 4px;
  padding: 0.75rem 0.95rem !important;
}

.fm-caption h5 {
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.fm-nav-btn {
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.55) !important;
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}

#liste-magasins {
  margin-top: 1.5rem;
}

#liste-magasins h3 {
  display: inline-block;
  margin: 0.2rem 0.25rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid #eceef1;
  border-radius: 999px;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4f5a66;
}

.fm-products-showcase h3 {
  font-weight: 800;
}

.fm-product-card {
  background: #fff;
  border: 1px solid #e7eaef;
  border-radius: 6px;
  padding: 0.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.fm-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.fm-product-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  background: var(--fm-yellow);
  color: #1c2127;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
}

.fm-product-img-wrap {
  width: 100%;
  background: #f4f6f9;
  border: 1px solid #edf0f4;
  border-radius: 4px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  margin-bottom: 0.6rem;
}

.fm-product-img {
  max-width: 100%;
  max-height: 135px;
  object-fit: contain;
}

.fm-product-ref {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  color: #6b7785;
}

.fm-product-name {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  min-height: 2.6em;
}

.fm-product-bottom {
  margin-top: auto;
  padding-top: 0.55rem;
}

.fm-product-price {
  color: var(--fm-red-dark);
  font-size: 1.05rem;
  font-weight: 800;
}

.fm-product-stock {
  font-size: 0.78rem;
  color: var(--fm-blue);
  font-weight: 600;
}

#view-liste h1 {
  color: var(--fm-text);
  font-weight: 800;
}

.fm-table thead th {
  background: var(--fm-red);
  color: #fff;
  border-bottom: none;
  white-space: nowrap;
}

.fm-table tbody tr:hover {
  background: #fff5f6;
}

.fm-table td strong {
  color: var(--fm-red-dark);
}

.fm-footer {
  background: #141414;
  color: #fff;
}

.fm-footer .text-white-50 {
  color: rgba(255, 255, 255, 0.72) !important;
}
