/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: sans-serif;
    line-height: 1.4;
    background: #f9f9f9;
    color: #333;
  }
  
  .container {
    position: relative;
    max-width: 1400px;
    margin: 1rem auto;
    padding: 0 1rem;
  }

  /* 
  Fontes google 
  https://chatgpt.com/c/68010973-9384-8011-80b7-f2e258c68700
  */

  .cinzel-decorative-regular {
    font-family: "Cinzel Decorative", serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .cinzel-decorative-bold {
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .cinzel-decorative-black {
    font-family: "Cinzel Decorative", serif;
    font-weight: 900;
    font-style: normal;
  }

  .great-vibes-regular {
    font-family: "Great Vibes", cursive;
    font-weight: 400;
    font-style: normal;
  }  

  .appellation {
    font-family: "Cinzel Decorative", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    color:#a71c1b;
  }

  .appellation_shadow {
    text-shadow: 0px 6px 7px rgb(0 0 0 / 20%);
  }

  .hero-header {
    position: relative;
    height: 300px; /* ajustez selon vos besoins */
    background: url("https://www.josephjanoueix.com/img/bg/page-top-liste-vins.jpg")
                center/cover no-repeat;
  }
  
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* légère ombre sombre */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 0 1rem;
  }
  
  .logo-blason {
    padding-top: 40px;
    margin-bottom: 1rem;
  }
  
  .logo-text {
    /*width: 150px;*/
    margin-bottom: 0.5rem;
  }
  
  .subtitle {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    /*margin-bottom: 1rem;*/
  }
  
  .hero-title {
    font-size: 5rem;
    font-family: "Great Vibes", cursive;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    text-shadow: 2px 2px 6px #000000;
  }
  
  header h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  /* 
  pour les boutons devises / réinitialiser 
  https://chatgpt.com/c/68012491-3614-8011-a25e-f615ad067a6c
  */
  .controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0; /* ajuste l’espacement vertical */
  }
  
  #reset-btn {
    padding: 0.5rem 1rem;
    background: #004080;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  /* sélecteur de Langue */
  .lang-selector {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  }
  .lang-selector label {
    font-weight: bold;
    margin-right: 0.5rem;
  }
  .lang-selector select {
    padding: 0.3rem;
    font-size: 0.9rem;
  }

  /* sélecteur de devise */
  .currency-selector {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  }
  .currency-selector label {
    font-weight: bold;
    margin-right: 0.5rem;
  }
  .currency-selector select {
    padding: 0.3rem;
    font-size: 0.9rem;
  }
  
  /* vignettes des châteaux */
  .thumb {
    display: block;
    width: auto;
    height: 100%;
    object-fit: contain;
  }
  
  /* conteneur en deux colonnes */
  .order-container {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 20px;
    align-items: start;
    /*margin: 20px;*/
  }

  /* wrapper pour scroll horizontal si besoin */
  .order-table-wrapper {
    overflow-x: auto;
  }

  .tableau-commande {
    width: 100%;
    border-collapse: collapse;
    /* ajoutez vos autres styles de tableau ici */
  }

  .sidebar {
    /* on force la deuxième colonne du grid */
    grid-column: 2;
    /* on empile récap + contact */
    display: flex;
    flex-direction: column;
    gap: 1rem;           /* espacement entre les deux blocs */
    /* on colle le tout en haut de la page */
    position: sticky;
    top: 20px;
  }

  .tableau-commande table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .tableau-commande th,
  .tableau-commande td {
    padding-top: 0.5rem;
    padding-right: 0.4rem;
    padding-bottom: 0.3rem;
    padding-left: 0.4rem;
    line-height: 1.2;
    border: 1px solid #ddd;
    /*text-align: left;*/
    /*font-size: 0.9rem;*/
  }
  
  .tableau-commande thead {
    background: #a71c1b;
    color: #fff;
  }
  
  .tableau-commande select {
    width: 100%;
    padding: 0.3rem;
    font-size: 0.9rem;
  }
  
  /* ici on augmente la police de la colonne Château */
  .tableau-commande th.col-vin,
  .tableau-commande td.col-vin {
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
  }

  .tableau-commande th.col-annee,
  .tableau-commande td.col-annee {
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    font-size: large;
    color: #a71c1b;
  }

  .image_vin {
    margin-top: 0.6rem;
    margin-bottom: 0.6rem;
  }

  .col-recompense {
    font-size: 0.9rem;
  }

  .col-recompense .texte {
    display: block;
    margin-top: -16px;
    padding-left: 1.8em;
    /*white-space: nowrap;*/
    font-size: 0.8rem;
  }

  .price {
    text-align: center;
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    font-size:large;
    color:#a71c1b;
  }

  .discount_price {
    text-align: center;
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    font-size:medium;
    color:#a71c1b;
  }

  .iso-currency {
    font-weight: bold;
    color: #5c5c5c;
    letter-spacing: 0.05em;
    font-size:small;
  }

  .order-summary,
  .order-contact {
    position: static;
  }

  .order-summary {
    padding: 0.5rem;
    border-radius: 4px;
    border-style: solid;
    border-color: #a71c1b;
  }
  
  .order-contact {
    padding: 1rem;
    border-radius: 4px;
    border-style: solid;
    border-color: #a71c1b;
  }

  .order-summary strong {
    font-weight: 600;
  }
  

  .titre-summary {
    border-bottom-style: solid;
    border-bottom-width: thin;
    margin-top: -3px;
    margin-left: -10px;
    margin-right: -10px;
    line-height: 2;
    color: #a71c1b;
  }

  .depense-net {
    text-align: right;
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    font-size:large;
    color:#a71c1b;
  }

  .economie {
    text-align: right;
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    font-size:large;
    color:#a71c1b;
  }

  .small_euros {
    font-size:0.7em;
    color:#aeaeae;
  }

  .small_discount {
    font-size:0.65em;
    color:#272727;
  }

  .recap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 1.5rem;
    background: #a71c1b;
    color: #fff;
    padding: 1rem;
    border-radius: 4px;
  }
  
  .recap-item {
    flex: 1 1 200px;
    margin: 0.5rem;
    font-size: 1.0rem;
    margin-bottom: 0.75rem;
  }
  
  .recap-item span:first-child {
    font-weight: bold;
  }

  .recap-item:last-child {
    margin-bottom: 0;
  }

  .recap-number {
    color:#a71c1b;
    font-size: 1.6em;
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
  }

  .recap-bottles {
    color:#a71c1b;
    font-size: 2.5em;
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    line-height: 1;
  }
  
  @media (max-width: 600px) {
    .recap {
      flex-direction: column;
    }
    .recap-item {
      margin: 0.3rem 0;
    }
  }  

  .phone {
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.2rem;
    color: #a71c1b;
  }

  .email {
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 0.8rem;
    color: lightblue;
  }

  .web {
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 0.8rem;
    color: #a71c1b;
  }

  .address {
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 0.8rem;
    color: #a71c1b;
  }