@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
:root {
  --color-primary: #41C4C3;
  --bg-image: url("https://i.goopics.net/mqzmt9.png");
}

body {
  font-family: Lato, sans-serif;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 250px; /* 👈 Réduis ici selon ce que tu veux */
  z-index: -1;
  background: var(--bg-image) center center/cover no-repeat;
  mask-image: linear-gradient(rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.25));
  pointer-events: none;
}

/* Réduction de la hauteur du header */
.site-header-inner {
  position: relative;
  height: 100px; /* Réduit la hauteur du bloc */
  display: block !important; /* ⚠️ enlève le flex qui gêne */
  padding: 0 !important;
  margin: 0 !important;
}

/* Remonte le logo au top-centre */
.site-title {
  top: 70px !important;       /* ajuste la hauteur ici */
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 9999 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: fit-content !important;
  pointer-events: none;
}

/* Ajustement visuel du logo */
.site-title img {
  height: 175px !important;
  width: auto;
  display: block;
}

.site-header-inner {
  padding-top: 10px; /* 👈 Réduit au minimum */
  padding-bottom: 0;
  position: relative;
  height: 250px; /* correspond à ton body::before */
  box-sizing: border-box;
}

/* Logo remonté vers le haut */
.site-header-inner .logo {
  display: block;
  margin: 0 auto;
  margin-top: 0;
  max-height: 70px;
}

/* Bloc Discord aussi remonté */
.site-header-inner .info {
  position: absolute;
  top: 20px; /* 👈 Plus petit = plus haut */
  right: 40px;
  text-align: right;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
  border-radius: 2px;
}

.pack-container {
  display: flex;
  gap: 30px;
  background-color: #111;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  color: white;
  align-items: flex-start;
  flex-wrap: wrap;
}

.pack-left {
  width: 250px;
}

.pack-left .image {
  width: 100%;
  border-radius: 10px;
  display: block;
  margin-bottom: 10px;
}

.category-container {
  width: 100%;
  max-width: none;
}

.pack-container {
  display: flex;
  gap: 30px;
  background-color: #111;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  color: white;
  align-items: flex-start;
  width: 100%;
}

.pack-left {
  flex: 0 0 250px; /* Garde la partie gauche fixe */
}

.pack-right {
  flex: 1; /* Prend tout l’espace restant */
  background-color: #1a1a1a;
  padding: 15px 20px;
  border-radius: 10px;
  word-break: break-word;
}

.pack-right .description {
  max-height: none;
  overflow-y: auto;
  word-wrap: break-word;
  white-space: normal;
}


.title-price-button-wrapper {
  display: flex;
  flex-direction: column; /* empile verticalement */
  align-items: center;    /* centre horizontalement */
}

.price-button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* espace entre prix et bouton */
  margin-top: 10px;
  flex-wrap: wrap;
}

/* Style prix */
.price-button-wrapper .price,
.price-button-wrapper .product-price {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  width: auto; /* pour que le margin fonctionne bien */
  margin-right: 15px; /* marge à droite entre prix et bouton */
}




.pack-right {
  flex: 1;
  background-color: #1a1a1a;
  padding: 15px 20px;
  border-radius: 10px;
}

.pack-right h4 {
  margin-top: 0;
}

@media (max-width: 768px) {
  .pack-container {
    flex-direction: column;
  }

  .pack-left,
  .pack-right {
    width: 100%;
  }

  .pack-right {
    margin-top: 15px;
  }
}


.btn-primary:hover, .btn-primary:focus,
.btn-secondary:hover,
.btn-secondary:focus {
  box-shadow: 0 0 6px rgb(from var(--btn-color-bg-hover) r g b/0.6);
}

.quantity-field {
  border-radius: 5px;
}

.site-header-inner .info .image {
  border-radius: 5px;
}
.site-header-inner .user-name ul li {
  overflow: hidden;
}
.site-header-inner .user-name ul li:first-child {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}
.site-header-inner .user-name ul li:last-child {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.site-sale-banner {
  border-radius: 5px;
}

.site-home-categories .category {
  border-radius: 5px;
  padding: 20px var(--widget-padding);
  background: var(--color-brighter-bg);
  transition: color 0.15s ease-in-out;
}
.site-home-categories .category:hover {
  color: var(--color-primary);
}

.category-description {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.store-text {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}
.store-text h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6 {
  text-align: center;
}

.store-products-list .store-product,
.store-products-images .store-product {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.store-products-images .store-product {
  text-align: center;
}

.widget-title {
  text-align: center;
}

.widget .store-product {
  text-align: center;
}

.no-products {
  color: var(--color-text-secondary);
  background: var(--color-brighter-bg);
  border-radius: 5px;
}

.store-product-full {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.store-product .quantity-field {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}
.store-product .quantity-field input[type=number] {
  border: none;
}

@media (width > 960px) {
  .navigation-horizontal > ul {
    border-radius: 5px;
  }
}
.navigation-horizontal .has-children > ul {
  border-radius: 5px;
}

.widget {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}
@media (width <= 960px) {
  .widget.site-navigation {
    border-radius: 0;
    background: transparent;
  }
}

nav.site-navigation {
  margin-top: -60px !important; /* ajuste selon ton goût */
}


.widget-gift-card .gift-card-input {
  border-radius: 2px;
}

.widget-top-donator .avatar {
  border-radius: 50%;
}

.widget-community-goal .progress,
.widget-goal .progress {
  border-radius: 2px;
}
.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
  border-radius: 2px;
}

.popup-content {
  border-radius: 5px;
}

.popup-close {
  border-radius: 0 5px 0 5px;
}

.basket-popup-content,
.basket-popup-content .popup-close {
  border-radius: 0;
}

.basket-items {
  padding: var(--widget-padding) calc(var(--content-padding) - var(--widget-padding));
}

.basket-item {
  border-radius: 5px;
}
.basket-item .quantity {
  border-radius: 2px;
}

.toast {
  border-radius: 6px;
}

.toast-close {
  border-radius: 2px;
}

.store-category-tiered {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.store-category-tiered-header h1,
.store-category-tiered-header h2,
.store-category-tiered-header h3,
.store-category-tiered-header h4,
.store-category-tiered-header h5,
.store-category-tiered-header h6 {
  text-align: center;
}

.store-product-tiered {
  border-radius: 5px;
  background: rgb(from var(--color-bg) r g b/0.5);
}