.adastra-spa-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  height: 64px;
  padding: 0 20px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #eee;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
}

.header-center {
  flex: 1;
  text-align: center;
}

.logo-text {
  font-size: 22px;
  font-weight: bold;
  color: #ff9900;
  text-decoration: none;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  letter-spacing: 0.5px;
}

.icon-link {
  color: #333;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-link:hover {
  color: #ff9900;
}

.cart-count,
.badge {
  position: absolute;
  top: -5px;
  right: -8px;
  background: red;
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 50%;
  font-weight: bold;
  line-height: 1;
}

#account-icon img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background-color: #f5f5f5;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.adastra-spa-header {
  transition: transform 0.3s ease;
  will-change: transform;
}

.adastra-spa-header.hide-on-scroll {
  transform: translateY(-100%);
}

.softadastra {
  font-size: 1.6em;
  font-weight: 700;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.5px;
}

.softadastra .soft {
  color: #ff9900;
}

.softadastra .adastra {
  background: linear-gradient(90deg, #333, #ff9900);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-move 3s ease infinite;
  background-size: 200% auto;
}

.softadastra .dotcom {
  color: #999;
  font-size: 0.8em;
  font-weight: 400;
  margin-left: 4px;
}

/* Animation du dégradé */
@keyframes gradient-move {
  0% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }

  100% {
    background-position: 0% center;
  }
}

/* Responsive mobile : cacher .com et réduire les tailles */
@media (max-width: 600px) {
  .softadastra {
    font-size: 1.3em;
    gap: 2px;
    letter-spacing: 0.3px;
  }

  .softadastra .dotcom {
    display: none;
  }

  .softadastra .adastra {
    animation: gradient-move 4s ease infinite;
    background-size: 250% auto;
  }
}

@media (max-width: 600px) {
  .adastra-spa-header {
    height: 56px;
    padding: 0 14px;
  }

  .logo-text {
    font-size: 18px;
  }

  .icon-link {
    font-size: 18px;
  }

  .cart-count,
  .badge {
    font-size: 10px;
    top: -12px;
    right: -6px;
  }

  #account-icon img {
    width: 26px;
    height: 26px;
  }
}

.product-info span {
  display: inline-block !important;
  max-width: 180px !important;
  /* Ajuste selon la place dispo */
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  vertical-align: middle !important;
  font-weight: 500 !important;
  color: #333 !important;
  text-decoration: none !important;
}

.adastra-card-country-img {
  margin-bottom: 10px !important;
  height: 14px !important;
  width: 20px !important;
  border-radius: 0px !important;
}

.adastra-spa-header .icon-link i,
.adastra-spa-header .icon-link span,
.adastra-spa-header .header-center {
  color: #f8f9fa;
}

.header-center {
  font-size: 1.5rem;
  font-weight: 600;
  color: #f8f9fa;
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0.05em;
  user-select: none;
}

.badge,
.cart-count {
  background-color: #dc3545;
  /* Rouge vif pour bien ressortir */
  color: white;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 10px;
  position: absolute;
  top: 0;
  right: 0;
}

.icon-link {
  color: #f8f9fa;
  position: relative;
  padding: 0 10px;
  text-decoration: none;
}

.icon-link:hover {
  color: #ffffff;
}

.thumbnail-images img {
  border: 0px solid transparent;
}
:root {
  --adastra-bg: #ffffff;
  --adastra-text: #333333;
  --adastra-accent: #ff9900;
  --adastra-accent-hover: #e68200;
  --adastra-border: #e0e0e0;
}
main,
.main-content,
.show-page {
  margin-top: 60px;
}

.user-info {
  background-color: #f9f9f9 !important;
}

.adastra-carousel-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  background: #fff;
}

.adastra-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.article-card {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: start;
}

.carousel-nav {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background-color: #ff9900;
  border: none;
  font-size: 24px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 2;
  transition: background 0.2s;
  color: #fff;
}

.carousel-nav.left {
  left: 0;
}

.carousel-nav.right {
  right: 0;
}

.carousel-nav:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: #000;
}

.product-title,
.card-container .app-title {
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  border-radius: 8px;
  padding: 0;
  margin: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  white-space: pre-wrap;
  overflow-wrap: break-word;
  max-width: 100%;
  transition: max-height 0.3s ease;
  max-height: 100px;
  overflow: hidden;
  position: relative;
}

@media (max-width: 768px) {
  .product-title,
  .card-container .app-title {
    font-size: 1rem;
  }
}
.price-with-shipping {
  padding: 0;
  border: 0px solid #fff;
}
#priceContainer {
  border-top: 0px solid #fff;
}
@media (max-width: 768px) {
  /* Réduction des titres trop grands */
  h1 {
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
  }

  h2 {
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
  }

  h3 {
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
  }

  p,
  li,
  .product-info span,
  .product-condition span,
  .product-description,
  .user-details p,
  .user-protection-fee p,
  .review-form-container textarea,
  .review-form-container input,
  .product-brand span,
  .product-category span,
  .product-created-at span,
  .product-views span {
    font-size: 0.88rem !important;
    line-height: 1.4 !important;
  }

  .product-title {
    font-size: 1.1rem !important;
  }

  .product-price {
    font-size: 1.2rem !important;
  }

  .user-photo {
    width: 48px !important;
    height: 48px !important;
  }

  .review-form-container h1,
  .review-form-container h2,
  .card-container .app-title {
    font-size: 1.2rem !important;
  }

  .checkout-action-link {
    font-size: 0.9rem !important;
    padding: 10px 14px !important;
  }

  #toggleDescription {
    font-size: 0.9rem !important;
  }

  .share-option {
    font-size: 0.9rem !important;
  }
}
