:root {
  --logo-primary-color-rgb: 147, 204, 1; 
  --logo-primary-color: rgb(147, 204, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap');

body, html {
  background-color: #ffffff !important;
}


.info-section {
  margin-bottom: 30px;
  padding-left: 0;
}

.info-row {
  display: flex;
  margin-bottom: 15px;
  align-items: flex-start;
}

.typeInfo {
  width: 200px;
  min-width: 200px;
  text-align: left;
  color: #666;
  font-weight: 500;
  padding-right: 15px;
}

.infoInfo {
  width: calc(100% - 200px);
  color: #333;
  text-align: left;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .info-row {
    flex-direction: column;
  }
  
  .typeInfo, .infoInfo {
    width: 100%;
    text-align: left;
    padding: 5px 0;
  }
}


/* Header Section */
.market-header {
  background-color: #ffffff !important;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  margin-bottom: 30px;
  position: relative;
  top: -10px;
  display: flex;
  flex-wrap: wrap;
}

.market-header .market-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.market-header img {
  max-height: 200px;
  width: auto;
  border-radius: 12px;
}

.market-header .market-details {
  display: flex;
  flex-direction: column;
}

.market-header .market-name {
  font-size: 2.5em;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
  color: #333;
  margin-bottom: 10px;
}

.market-header .market-developer {
  font-size: 1.5em;
  font-weight: 500;
  font-family: 'Raleway', sans-serif;
  color: #707070;
  margin-bottom: 10px;
}

.market-header .market-certification {
  font-size: 1.3em;
  font-weight: 500;
  font-family: 'Raleway', sans-serif;
  margin-bottom: 10px;
}

.market-header .market-certification.officiel {
  color: #3498db;
}

.market-header .market-certification.conseille {
  color: #2ecc71;
}

.market-header .market-certification.obsolete {
  color: #e74c3c;
}

.market-header .market-certification.legacy {
  color: #6b6b6b;
}

.market-header .market-certification.premium {
  color: #9b59b6;
}

.market-header .market-certification.partenaire {
  color: #2ecc71;
}

.market-header .market-category {
  font-size: 1em;
  font-weight: 500;
  font-family: 'Raleway', sans-serif;
  color: #707070;
  margin-bottom: 10px;
}

.market-header .market-actions {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.market-header .market-price {
  font-size: 1.5em;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  color: var(--logo-primary-color);
  margin-top: 15px;
}

.market-header .market-price .price-strikethrough {
  text-decoration: line-through;
  opacity: 0.7;
  font-size: 0.9em;
  margin-right: 5px;
}

/* Content Sections */
.page_complete {
  width: 95%;
  margin: 0 auto;
}

/* Section_nav doit hériter de la largeur de son parent (page_complete à 95%) */
.section_nav {
  margin-top: 30px;
  margin-bottom: 10px;
  width: 100%;
  clear: both;
}

/* Section_bordered doit hériter de la largeur de son parent (page_complete à 95%) */
.section_bordered {
  padding-top: 10px;
  width: 100%;
}

.section__headline {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #333;
  margin-bottom: 20px;
  position: relative;
}

.section__headline::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(135deg, rgba(var(--logo-primary-color-rgb), 0.85) 0%, rgba(var(--logo-primary-color-rgb), 0.65) 100%);
  z-index: 1;
}

.section_padding {
  padding: 15px 0;
}

/* Screenshots Carousel */
/* variable-width doit hériter de la largeur de son parent (page_complete à 95%) */
.variable-width {
  margin-bottom: 30px;
  width: 100%;
  /* clear: both; */
  margin-left: 25px;
  /*margin-right: 0; */
}
/* 
.slick-initialized {
  display: flex;
  justify-content: flex-start !important;
} */

/* .variable-width .item {
  padding: 0 10px;
} */

.variable-width img {
  border-radius: 8px;
  transition: transform 0.3s ease;
  min-width: 30%;
  max-width: 30%;
}

.variable-width img:hover {
  transform: scale(1.05);
}



/* Ratings and Reviews */
.notes_all {
  margin-bottom: 20px;
  width: 100%;
  text-align: left;
}

.notes_grande {
  font-size: 48px;
  font-weight: 700;
  color: #444;
  margin-right: 5px;
}

.nb_notes {
  color: #888;
  font-size: 14px;
  margin-top: 5px;
}

/* Review Cards */
.review-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}


.notes_all + .row {
  display: flex;
  flex-wrap: wrap;
}

.notes_all + .row > [class*='col-'] {
  display: flex;
  flex-direction: column;
}

.review-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  float: left;
  margin-right: 15px;
  margin-bottom: 10px;
  border: 2px solid var(--logo-primary-color);
}

.review-content {
  clear: both;
  margin-top: 10px;
  color: #444;
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}

.review-footer {
  margin-top: 15px;
  text-align: right;
  color: #888;
  font-size: 12px;
}

/* Star Ratings */
.rate {
  float: left;
  height: 46px;
  padding: 0 10px;
}

.rate:not(:checked)>input {
  position: absolute;
  top: -9999px;
}

.rate:not(:checked)>label {
  float: right;
  width: 1em;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  font-size: 30px;
  color: #ccc;
}

.rate:not(:checked)>label:before {
  content: '★ ';
}

.rate>input:checked~label {
  color: var(--logo-primary-color);
}

.rate:not(:checked)>label:hover,
.rate:not(:checked)>label:hover~label {
  color: rgba(var(--logo-primary-color-rgb), 0.8);
}

.rate>input:checked+label:hover,
.rate>input:checked+label:hover~label,
.rate>input:checked~label:hover,
.rate>input:checked~label:hover~label,
.rate>label:hover~input:checked~label {
  color: rgba(var(--logo-primary-color-rgb), 0.6);
}

.ratesmall {
  height: 22px;
  padding: 0;
  margin-bottom: 10px;
  display: inline-block;
}

.ratesmall input {
  display: none;
}

.ratesmall label {
  float: right;
  cursor: default;
  font-size: 16px;
  color: #ccc;
  margin: 0;
  padding: 0 2px;
}

.ratesmall label:before {
  content: '★';
}

.ratesmall label.checkedRate {
  color: var(--logo-primary-color) !important;
}

.ratesmall>input:checked~label {
  color: var(--logo-primary-color);
}

.checkedRate {
  color: var(--logo-primary-color) !important;
}

/* Information Table */
.info-section {
  margin-bottom: 30px;
  width: 100%;
}

.info-row {
  display: flex;
  margin-bottom: 15px;
  align-items: center;
  width: 100%;
}

.typeInfo {
  width: 30%;
  min-width: 200px;
  text-align: left;
  color: #666;
  font-weight: 500;
  padding-right: 15px;
}

.infoInfo {
  width: 70%;
  color: #333;
}

/* Compatibility Section */
.compatibility-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 10px;
  height: 100%;
  min-width: 120px;
}

.compatibility-img {
  width: 60px;
  height: 60px;
  /* margin-right: 15px; */
}

.compatibility-details {
  flex: 1;
}

.title_Compatibility {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.corp_Compatibility {
  color: #666;
  font-size: 13px;
}

/* Sections alignement */
.section_nav {
  width: 100%;
  clear: both;
}

.variable-width {
  width: 100%;
  clear: both;
  margin: 0 auto;
}

/* Arrange compatibilities section in a grid */
/* compatibility-row doit hériter de la largeur de son parent (page_complete à 95%) */
.compatibility-row {
  display: flex;
  justify-content: center;
  margin: 0;
  width: 100%;
}

.compatibility-col {
  padding: 0 15px;
  margin-bottom: 30px;
}

/* Buttons */
.btn {
  border-radius: 8px;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-success {
  background-color: var(--logo-primary-color) !important;
  border-color: var(--logo-primary-color) !important;
  color: white !important;
  box-shadow: 0 3px 6px rgba(var(--logo-primary-color-rgb), 0.2);
}

.btn-success:hover {
  background-color: rgba(var(--logo-primary-color-rgb), 0.9) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(var(--logo-primary-color-rgb), 0.4);
}

.btn-warning {
  background-color: #f39c12 !important;
  border-color: #f39c12 !important;
}

.btn-warning:hover {
  background-color: #e67e22 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(243, 156, 18, 0.4);
}

.btn-default {
  background-color: #f8f9fa;
  border-color: #ddd;
}

.btn-default:hover {
  background-color: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Review Form */
#avis {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 30px;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Correction Slick carousel pour la section captures */
.variable-width .slick-track {
  display: flex !important;
  align-items: center;
  margin-left: 0 !important;
}
.variable-width .slick-slide {
  padding: 0 10px;
  min-width: 120px;
  box-sizing: border-box;
}
.variable-width .slick-list {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#votre_avis {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .market-header {
    flex-direction: column;
  }

  .market-header .market-img {
    margin-bottom: 20px;
  }

  .market-header .market-details {
    text-align: center;
  }

  .market-header .market-actions {
    justify-content: center;
  }

  .info-row {
    flex-direction: column;
    text-align: center;
  }

  .typeInfo, .infoInfo {
    width: 100%;
    text-align: center;
    padding: 5px 0;
  }
}


.scroll-down-arrow {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--logo-primary-color);
  border-radius: 50%;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(20px);
  animation: bounce 2s infinite;
}

.scroll-down-arrow.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-down-arrow i {
  font-size: 20px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
