main {
    padding-top: 90px;
}

/* Modal - item-detail.view.php*/
h1 {
  text-align: center;
  padding: 20px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 0 15px;
}

.gallery-item {
  position: relative;
  width: calc(25% - 20px);
  height: auto;
  margin: 10px;
  cursor: pointer;
  transition: transform 0.5s ease;
}

.gallery-item:hover {
  transform: scale(1.1);
}

/* The Modal (background) */
.modal-item {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

/* Modal content (image) */
.modal-content-item {
  position: relative;
  width: auto;
  height: auto;
  max-width: 90%;
  max-height: 90%;
  border-radius: 5px;
  overflow: hidden;
  animation: zoomIn 0.5s;
}

@keyframes zoomIn {
  from {transform: scale(0.6);}
  to {transform: scale(1);}
}

.modal.show {
  display: flex;
  opacity: 1;
}

/* Close button */
.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #ffffff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s;
}

/* Caption of modal image */
.caption {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  color: #ffffff;
  font-size: 24px;
}

.responsive-title-item {
    font-size: 96px !important;
    font-weight: bold;
    color: #ffffff;   
    /*text-decoration-line: underline;
    text-decoration-color: white; */
    font-style: italic;
}

.responsive-title-welcome {
    font-size: 84px !important;
    color: white; 
    font-weight: bold; 
    font-style: italic;
    margin-top: 60px;
}

@media screen and (max-width: 768px) {
  .gallery-item {
     width: calc(50% - 20px);
  }
  .responsive-title-item {
    font-size: 48px !important;
  }
    .responsive-title-welcome {
    font-size: 28px !important;
    margin-top: 25px;
  }
  .modal-mobile {
    display: none !important;
  }
}

@media screen and (max-width: 480px) {
  .gallery-item  {
    width: calc(100% - 20px);
  }
}

/* Styles spécifiques pour la vue best.view.php */
.best-price-container {
    max-width: 900px;
    margin: 80px auto;
    padding: 20px;
    color: #000000;
    line-height: 1.6;
}

.best-title-beat {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.best-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 10px 0px 10px 0px;
    margin-bottom: 20px;
}

.best-highlight-text {
    color: #ff0000;
    font-style: italic;
    font-weight: bold;
}

.best-step-list, .best-policy-list {
    list-style: none;
    padding-left: 0;
}

.best-step-list li::before {
    content: "•";
    color: #000000;
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
}

.best-policy-list li {
    margin-bottom: 15px;
}

.best-policy-list strong {
    display: inline-block;
    margin-bottom: 5px;
}

.best-contact-info {
    /*text-align: center;*/
    margin-top: 40px;
}

.best-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #000000;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s;
    background: transparent;
    margin-top: 20px;
}

.best-btn:hover {
    background: #000000;
    color: #ffffff;
}

/* Styles spécifiques pour la vue order.view.php */
.order-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 20px;
    color: #000000;
    line-height: 1.6;
}

.promo-banner {
    border: 1px solid rgba(255, 0, 0, 0.3);
    background: rgba(255, 0, 0, 0.05);
    padding: 20px;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 4px;
}

.promo-text {
    color: #ff0000;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
}

.order-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.contact-link {
    color: #ff4444;
    text-decoration: underline;
    word-break: break-all;
}

.free-delivery {
    color: #ff0000;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 30px 0;
}

.experience-text {
    margin-top: 30px;
    font-style: italic;
}

.text-justify {
    text-align: justify;
    max-width: 800px; 
    margin: 0 auto;
}

@media (max-width: 600px) {
    .order-title { font-size: 2rem; }
    .promo-text { font-size: 1.1rem; }
}

/* Styles spécifiques pour la vue contact.view.php */
.info-page-container {
    max-width: 1100px;
    margin: 100px auto 50px;
    /*padding: 0 20px;*/
    color: #fff;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.info-card {
    padding: 20px;
    border-radius: 8px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
    text-transform: uppercase;
    color: #4e4e4e;
}

.enrich-text {
    font-style: italic;
    color: #706c6ccc;
    margin-bottom: 30px;
}

/* Contact Items Styling */
.method-item {
    /*display: flex;*/
    /*align-items: center;*/
    margin-bottom: 20px;
}

.icon-box {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.method-detail .label {
    display: block;
    font-weight: bold;
    color: #ff4444;
}

.method-detail .value {
    display: block;
    font-weight: bold;
    color: #0000006c;
}

/* Shipping Details Styling */
.detail-box {
    margin-bottom: 25px;
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-left: 3px solid #666;
}

.detail-box.accent {
    border-left-color: #ff0000;
}

.detail-box strong {
    display: block;
    margin-bottom: 5px;
}

.tracking-alert {
    margin-top: 30px;
    padding: 15px;
    background: rgba(255, 68, 68, 0.1);
    border: 1px dashed #ff4444;
}


@media (max-width: 600px) {
    .modal-responsive { display:none !important } 
    .info-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.6rem; }
}

/* Style spécifique pour la vue about.view.php */
    .about-container {
    max-width: 950px;
    margin: 50px auto 50px;
    /*padding: 0 20px;*/
    color: #fff;
}

.about-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: black;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    line-height: 1.8;
    border-radius: 4px;
}

.highlight-box {
    border-left: 4px solid #ff0000;
    padding-left: 20px;
    margin-bottom: 30px;
    font-size: 1.2rem;
    background: rgba(255, 0, 0, 0.05);
    padding: 15px 20px;
}

.about-content h3 {
    color: #ff4444;
    margin-top: 40px;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.feature-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.feature-item i {
    font-size: 2rem;
    color: #ff0000;
    margin-bottom: 15px;
}

.feature-item h4 {
    margin-bottom: 10px;
    color: #fff;
}

.trust-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-style: italic;
    text-align: center;
}

.btn-continue {
    display: inline-block;
    border: 1px solid #fff;
    padding: 12px 35px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    margin-top: 30px;
    text-transform: uppercase;
}

.btn-continue:hover {
    background: #fff;
    color: #000;
}

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
    .about-title { font-size: 1.8rem; }
}

/* Styles complémentaires pour la vue item-detail.view.php */
  img {
    max-width: 400px;
    height: auto;
  }
  @media screen and (max-width: 768px) {
   img {
    max-width: 95%;
    height: auto;
  }    
}

/* Styles spécifiques pour les cartes de cycle */
.cycles-list .cycle-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    /*cursor: pointer; /* Indique que la carte est cliquable */
}

.cycles-list .cycle-card:hover {
    transform: translateY(-5px); /* Effet de léger soulèvement au survol */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; /* Ombre plus prononcée */
}

.cycles-list .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cycles-list .card-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem; /* Espace avant le prix/bouton */
}

.cycles-list .cycle-price {
    font-size: 1.8rem; /* Plus grand pour attirer l'attention */
    /*color: #28a745; /* Vert Bootstrap par défaut pour le succès */
    color: #002486; /* Vert Bootstrap par défaut pour le succès */
}

.cycles-list .btn-primary {
    background-color: #007bff; /* Bleu Bootstrap */
    border-color: #007bff;
    font-weight: 500;
}

.cycles-list .btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
}

/* S'assurer que le lien stretched-link n'est pas coupé par un overflow *//*
.cycles-list .card {
    position: relative;
    overflow: hidden; /* Important pour que stretched-link fonctionne bien */
/*}

/* Styles complémentaires pour les vues en générale */
.text-align-right {
    text-align: right;
}

.text-justify {
    text-align: justify;
}

/* Styles pour le bouton "Back to top" */
.top-responsive {
    position: fixed;
    bottom: 15px;
    right: 15px;
    display: block;
    z-index: 999!important;
}

.back-to-top-button {
  border: none;
  background-color: #c40d0d99; 
  color: rgb(255, 255, 255);
  padding: 0px 15px 0px 15px ;
  text-decoration: none;
  display: inline-block;
  font-size: 28px;
  font-weight: bold;
  margin: 2px 1px;
  cursor: pointer;
  border-radius: 7px;
}

/* Style par défaut : L'objet est masqué */
#monObjetCache {
  /* Rend l'objet complètement transparent */
  opacity: 0; 
  /* Le retire du flux, mais le garde visible pour la transition */
  visibility: hidden; 
  /* Ajoute une transition douce (facultatif, mais recommandé) */
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out; 
}

/* Style de l'objet lorsqu'il doit être visible */
#monObjetCache.visible {
  opacity: 1; /* Le rend opaque */
  visibility: visible; /* Le rend visible */
}

.arrow {
  border: solid rgb(255, 255, 255);
  border-width: 0 4px 4px 0;
  display: inline-block;
  padding: 5px;
}
.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}


/* Styles pour le panier */
.cart-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
  font-size: 24px;
}

.fa-cart-shopping {
  color: #333; /* Couleur de l'icône */
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: #ff4757; /* Rouge vif */
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  font-family: Arial, sans-serif;
}