/* Vue liste */
.wgl-materiel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.wgl-materiel-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.2s ease;
}

.wgl-materiel-card:hover {
    transform: translateY(-5px);
}

.wgl-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.wgl-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: none;
    transition: filter 0.2s ease;
}

.wgl-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.wgl-title {
    font-size: 1.1rem;
    padding: 15px;
    margin: 0;
}

.wgl-button {
    display: inline-block;
    margin-bottom: 15px;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}

.wgl-button:hover {
    background-color: #005177;
}

.wgl-button.disabled {
    background: #ccc;
    color: #666;
    pointer-events: none;
    cursor: not-allowed;
}

/* Vue details */
.wgl-materiel-detail {
    padding: 10px;
}

.wgl-detail-title {
    font-size: 1.8rem;
    text-align: center;
}

.wgl-detail-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.wgl-detail-left {
    flex: 2;
    min-width: 300px;
}

.wgl-detail-right {
    flex: 1;
    min-width: 280px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 6px;
}

.wgl-detail-right h3 {
    margin-top: 0;
}

.wgl-confirmation {
    background: #d1f1d1;
    color: #1a661a;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #a1d4a1;
}

.product-section {
  display: flex;
  flex-wrap: wrap;
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  gap: 20px;
  align-items: center;
}

.product-info {
  flex: 1 1 300px;
}

.product-info h2 {
  color: #1ca6a3;
}

.product-info ul {
  padding-left: 20px;
}

.product-image {
  flex: 1 1 250px;
  text-align: center;
}

.product-image img {
  max-width: 100%;
  height: auto;
}

.tarifs {
  text-align: center;
  margin-top: 20px;
}

.tarifs .price {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 10px;
}

.tarifs .price div {
  background-color: #1ca6a3;
  color: white;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
}

.tarifs p {
  font-weight: bold;
}

.form-section {
  background: #d8eff0;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-left {
  flex: 1 1 300px;
}

.form-left label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-left input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-right {
  flex: 1 1 300px;
}

.form-right .calendar-placeholder {
  background: white;
  border-radius: 5px;
  padding: 20px;
  text-align: center;
  height: 100%;
}

.form-right .calendar-placeholder h4 {
  margin-bottom: 10px;
}

.submit-btn {
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

.submit-btn button {
  background-color: #1ca6a3;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .product-section, .form-section {
    flex-direction: column;
    align-items: stretch;
  }

  .tarifs .price {
    flex-direction: column;
  }
}

.wgl-prix-container {
    display: flex;
    gap: 30px;
    margin: 20px 0;
    align-items: center;
    flex-wrap: wrap;
}

.wgl-prix-box {
    text-align: center;
}

.wgl-prix-label {
    font-weight: bold;
    color: #2d7c7c;
    margin-bottom: 8px;
}

.wgl-prix-bulle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #2d7c7c;
    color: white;
    font-size: 20px;
    font-weight: bold;
    line-height: 80px;
    margin: 0 auto;
}

.title_page{
    font-weight: 800;
    color: #182E4D !important;
    text-align: center;
}


.wgl-fiche-materiel {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 30px;
}

.wgl-fiche-col {
  flex: 1 1 300px;
}


.wgl-fiche-right {
  text-align: center;
}

.wgl-titre-materiel {
  font-size: 24px;
  font-weight: 700;
  color: #005377;
  margin-bottom: 20px;
}

.wgl-description {
  padding-left: 20px;
  line-height: 1.6;
}

.wgl-description li {
  margin-bottom: 8px;
}

.wgl-prix-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.wgl-prix-box {
  text-align: center;
}

.wgl-prix-label {
  font-weight: 600;
  color: #2d7c7c;
  margin-bottom: 8px;
}

.wgl-prix-bulle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: #2d7c7c;
  color: white;
  font-size: 24px;
  font-weight: bold;
  line-height: 90px;
  margin: 0 auto;
  box-shadow: 0 0 5px rgba(0,0,0,0.15);
}

.wgl-caution {
  font-weight: bold;
  color: #2d7c7c;
  font-size: 18px;
  margin-top: 20px;
  text-align: center;
}

.wgl-plages span {
  margin: 5px 0;
  font-size: 12px;
}

.flatpickr-calendar.inline{
    margin: auto;
}