body {
    font-family: "Raleway", sans-serif;
}

h1, h2, h3 {
    font-family: "DynaPuff", cursive;
}

strong {
    font-family: "Oswald", sans-serif;
}

header {
    margin-bottom: 2rem;
    position: sticky;
    top: 0;
    z-index: 100;

}

.header-top {
    background-color: #d10000;
    color: white;
    display:flex;
    align-items:center;
    gap: 1rem;
    padding: 1rem 2rem;

}


.header-top h1 {
    font-family: "DynaPuff", cursive;
    font-size: 2.5rem;
    margin: 0;
}

.header-top strong {
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
}


.header-bottom {
    background-color: #555;
    color: white;
    text-align: center;
    padding: 1rem;
}

.header-bottom h2 {
    font-weight: 300;
    font-size: 1.3rem;
    margin: 0;
}

.header-bottom h2 strong {
    font-weight: 700;
}

main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.figurine {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
    position: relative;
}

.figurine:hover {
    transform: scale(1.02);
}

.figurine__picture {
    width: 100%;
    height: auto;
    display: block;
}

.figurine__category {
    font-size: 0.9rem;
    color: #999;
    margin: 1rem 1rem 0 1rem;
    font-style: italic;
}

.figurine__name {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0.5rem 1rem;
    color: #222;
    font-family: 'Oswald', sans-serif;
}

.figurine__description {
    font-size: 1rem;
    margin: 0 1rem 1rem;
    color: #444;
    line-height: 1.4;
}

.add-to-cart {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #d10000;
    color: white;
    padding: 0.75rem 1rem;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    margin-top: auto; 
}
.add-to-cart:hover {
    background-color: #a80000;
    cursor: pointer;
}

.add-to-cart__name {
    font-family: 'Raleway', sans-serif;
}

.add-to-cart__prices {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
}

.add-to-cart__price--old {
    text-decoration: line-through;
    color: #ccc;
    font-size: 0.9rem;
}

.add-to-cart__price {
    font-size: 1.1rem;
    color: #fff;
}

footer {
    background-color: #111;
    color: #eee;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    font-family: 'Raleway', sans-serif;
    margin-top: 3rem;
}

.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(128, 128, 128, 0.8); 
  color: white;
  font-weight: bold;
  font-size: 14px;
  padding: 10px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  z-index: 10;
}

.soldes-badge {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-color: #d50000; 
  color: white;
  padding: 5px 10px;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 2px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border-radius: 0 5px 5px 0;
  user-select: none;
  z-index: 50;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

