/* static/store/css/style.css */
html, body {
  height: 100%;
  margin: 0;
}

@media (max-width: 768px) {
  .menu {
    display: none; /* exemple : cacher le menu sur mobile */
  }
}
body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    background: #fdfdfd;
    margin: 0;
    padding: 0;
    color: #333;
}

main {
  flex: 1;
}

footer {
  background-color: #f8f9fa; /* même que bg-light */
}

h1 a {
    color: purple;
    text-decoration: none;
}


img {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 10px;
}
.book-description {
  text-align: justify;
  white-space: pre-line;
  margin: 0;
}

.book-more-link {
    font-size: 0.9em;
    color: #0077cc;
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

img.logo-site {
    border: none; 
    outline: none;
    box-shadow: none;
    height: 160px; /* ou ce que tu veux */
    vertical-align: middle;
}









.book-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.book-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: box-shadow 0.2s ease;
}

.book-card:hover {
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.book-card img {
  width: auto;
  height: 180px;
  object-fit: contain;
  margin-bottom: 10px;
  border: none;
}

.book-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: #111;
}

.book-author {
  font-size: 14px;
  color: #666;
  margin: 4px 0 0;
}

.related-carousel .swiper-slide {
  flex: 0 0 auto;
  width: 160px;
}


/* Langue dans navbar */
.navbar .lang-flag-button {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: inline-block;
}

.navbar .lang-flag-button img {
    width: 32px;
    height: auto;
    border: none;
    box-shadow: none;
    outline: none;
    display: inline-block;
    vertical-align: middle;
}


