/* ==================================================
À surveiller après collage :
h5 { margin-left: 600px; } et 
.seo-vins { margin-left: 400px; } 
peuvent poser problème sur petits écrans, mais je les ai gardés tels quels.

   1. BASE GÉNÉRALE
================================================== */
/* ===========================
   Version ordinateur
=========================== */

body {
    position: relative;
    margin: 0;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("../img/fond.jpg") center / cover no-repeat;
    opacity: 0.2;
    z-index: -1;
}

body.no-filigrane::before,
.no-filigrane::before {
    display: none;
}

h1 {
    text-align: center;
    font-size: 30px;
    margin: 40px;
    color: #FFFFA6;
}

h2 {
    text-align: center;
    font-size: 40px;
    color: #2C3E50 !important;
}

h3 {
    width: 90%;
    max-width: 1000px;
    margin: 10px auto;
    text-align: center;
    font-size: 20px;
    line-height: 1.6;
    color: #5a3e1b;
    font-family: Georgia, serif;
    font-weight: normal;
}

h4 {
    text-align: center;
    margin-top: 40px;
    font-size: 40px;
    color: #2C3E50;
}

h5 {
    text-align: center;
    margin-top: -5px;
    margin-left: 600px;
    font-size: 1.1em;
    font-style: italic;
    color: #cc5588;
}

p {
    color: #b58;
}

img {
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.4);
}

input,
textarea,
select {
    font-weight: bold;
    color: #616161;
    border: thin solid yellow;
}


/* ==================================================
   2. BANDEAU / INTRO / CONTENU
================================================== */

.bandeau {
    background-color: #722f37;
    color: white;
    text-align: center;
    padding: 10px 20px;

    background:
        linear-gradient(rgba(114,47,55,0.245), rgba(114,47,55,1.0)),
        url("../img/bandeau-magasin.jpg") center / cover no-repeat;
}

.bandeau h1 {
    margin: 0;
    font-size: 48px;
    letter-spacing: 2px;
    font-family: Georgia, serif;
}

.slogan {
    margin-top: 10px;
    font-size: 18px;
    /*font-style: italic;*/
    color: #E0B4B9;
}


.message-recherche {
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;

    text-align: center;

    font-size: 1.8em;
    font-style: italic;
    font-weight: bold;

    color: #7a0015;
}


.instruction {
    font-size: 18px;
    color: #ffe843;
    text-align: center;
    font-style: italic;
    margin-top: 10px;
    letter-spacing: 0.5px;
}

.intro {
    width: 95%;
    max-width: 1000px;
    margin: -50px auto;
    text-align: center;
    /*outline: 1px solid red;*/
}

.intro p {
    color: #5a3e1b;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 25px;
    /*line-height: 1.6;*/
    font-weight: 500;
}
.intro-carte {
    width: 95%;
    max-width: 1000px;
    margin: 0px auto;
    text-align: center;
    /*outline: 1px solid red;*/
}

.intro-carte p {
    color: #5a3e1b;
    font-family: Georgia, serif;
    font-style: normal; /*italic;*/
    font-size: 25px;
    /*line-height: 1.6;*/
    font-weight: 500;
}

.livraison p{
    color: #BE0C10;/*#5a3e1b;*/
    font-family: Georgia, serif;
    font-style: normal;
    font-size: 2.0em;  
    text-align: center;    
} 
.demande p{
    width: 72%;
    margin: 20px auto;
    /*background-color: green;/*#FFF59D;*/
    border: 2px solid green;
    border-radius: 8px;
    padding: 12px 20px;
    
    color: #28A404;/*#5a3e1b;#28A404;*/
    font-family: Georgia, serif;
    font-style: normal;
    font-size: 2.0em;  
    text-align: center;    
} 

.carton-perso-1 p,
.carton-perso-2 p {
    color: #880044;
    font-family: Georgia, serif;
    font-size: 2em;
    margin: 40px auto 25px auto;
    max-width: 1000px;
    /*outline: 1px solid red;*/
}   
.carton-perso-1 p {
    text-align: center;
    font-size: 2em;
}   
.carton-perso-2 p {
    text-align: justify;
    font-size: 25px;
}  
.titre-carton p{
    color: #BE0C10;
    font-family: Georgia, serif;
    font-size: 2em;    
    font-weight: bold;
    text-decoration: underline;
    text-align: center;     
    margin: 50px auto -20px;    
} 


.message-carte {
    width: 80%;
    max-width: 1200px;
    margin: 10px auto -20px auto;
    text-align: left;
    color: green; /*#7a0015;*/
    font-size: 1.4em;
    font-style: italic;
    font-weight: normal;
    /*outline: 1px solid red*/
}

.intro2 {
    width: 90%;
    max-width: 1000px;
    margin: 40px auto 20px auto;
    padding: 20px;
    text-align: center;
    font-size: 20px;
    line-height: 1.7;
    color: red;
    font-family: Georgia, serif;
    background: #f3ebde;
    border-left: 4px solid #AC6C15;
}

.contenu {
    width: 95%;
    max-width: 1400px;
    margin: 4px auto;
    padding: 40px;
}

.h2-left {
    margin-left: -100px;
}

.adresse,
.horaires {
    text-align: center;
    font-size: 1.5em;      /* adapte la taille */
    color: #2C3E50;

    margin: -20px 0 15px 0;   /* haut droite bas gauche */
    font-family: Georgia, serif;
/*    outline: 1px solid red;*/
}

.cave-texte p,
.cave-texte-alexandrin p {
    font-size: 1.5em;
    font-family: Georgia, serif;
    line-height: 1.3;
    color: #222;
   /* outline: 1px solid red;*/
}

.cave-texte p {
    text-align: center;
    max-width: 1200px;
    margin: -10px auto 15px auto;
}

.cave-texte-alexandrin p {
    text-align: left;
    max-width: 810px;      /* plus étroit */
    margin: -10px auto 15px auto;
}

.resume-selection {
    text-align: center;
    font-size: 1.8em;
    margin: 20px auto 0px 80px;
    color: #7a0015;
}

.resume-selection strong {
    font-size: 1.1em;
}

/* ==================================================
   3. MENU / FIL D’ARIANE
================================================== */

.menu {
    display: flex;
    padding: 0;
    margin: 0;
    background-color: transparent;
    justify-content: center;
}

.menu li {
    list-style-type: none;
}

.menu a {
    display: block;
    min-width: 140px;
    margin: 0.1rem;
    padding: 0.4rem;
    text-align: center;
    background-color: #ACA088;
    color: #FFFAD9;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 4px;
    transition: all 1s;
    font-size: 28px;
}

.menu a:hover {
    background-color: #FFFAD9;
    color: #920E6A;
}

.menu a.active {
    background-color: #722f37;
    color: #FFFFA6;
    border-color: #ffe843;
}

.menu a.active:hover {
    background-color: #DCABB1;
    color: black;
}

.fil-ariane {
    margin: 20px auto;
    text-align: center;
    font-size: 1.8em;
}

.fil-ariane a,
.fil-ariane a:visited {
    color: #7a0015;
    text-decoration: none;
}

.fil-ariane a:hover {
    color: blue;
    text-decoration: underline;
}

.fil-ariane span {
    font-weight: 600;
    color: #5a3e1b;
}


/* ==================================================
   4. BOUTONS / ACTIONS
================================================== */

.btn-main {
    padding: 14px 28px;
    font-size: 25px;/*32px;*/
    background-color: #AC6C15;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
}

.btn-main:hover {
    background-color: #8c5710;
}


.aide-plein-ecran {
    margin-top: -10px;
    text-align: center;
    font-size: 1.2em;
    font-style: italic;
    color: #8c5710;/*#666;*/
    
}


.action-global {
    display: flex;
    justify-content: flex-end;
    margin-right: 150px;
    margin-top: -50px;
    margin-bottom: 15px;
}

.action-retour-carte {
    width: 95%;
    max-width: 1400px;   /* même largeur que .contenu */
    margin: 0 auto;
    transform: translateY(-25px);
}

.retour-recherche {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 10px;
}

.retour {
    width: 90%;
    max-width: 1000px;
    margin: 20px auto 0 auto;
}

.btn-retour {
    display: inline-block;
    padding: 10px 18px;
    background-color: #AC6C15;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 20px;
    transition: 0.2s ease;
}

.btn-retour:hover {
    background-color: #8c5710;
}

#btn-top {
    position: fixed;
    bottom: 50px;
    left: min(
        calc(50% + 600px),
        calc(100vw - 130px)
    );
    display: none;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    background: rgba(160, 160, 160, 0.40);
    color: white;
    cursor: pointer;
    z-index: 9999;
    transition: background 0.3s ease;
    font-size: 2.9em;
}

#btn-top:hover {
    background: rgba(122, 0, 21, 0.84);
}

/* ==================================================
   5. PAGES VINS : LISTES, DOMAINES, CUVÉES
================================================== */

.bloc-vins {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
   /* margin-top: -40px;*/
}

.liste-origines {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    text-align: center;
}

.liste-origines li {
    margin: 15px 0;
}

.liste-origines a {
    font-size: 26px;
    font-weight: bold;
    text-decoration: none;
    color: #722f37;
    transition: 0.3s;
}

.liste-origines a:hover {
    color: #AC6C15;
    letter-spacing: 1px;
}

.liste-origines2 {
    padding: 0;
    margin: 0 auto;
    text-align: left;
}

.liste-origines2 .button2 {
    background: none;
    border: none;
    padding: 10px 46px;
    font: inherit;
    font-size: 35px;
    color: #8b0000;
    cursor: pointer;
    text-decoration: none;
    appearance: none;
    width: 100%;
    text-align: left;
}

.liste-origines2 .button2:hover {
    background: #8b0000;
    color: #FFFFA6;
    transform: scale(1.05);
    transition: 0.2s;
}

.liste-vins {
    margin-top: 30px;
    list-style-type: square;
    font-size: 20px;
    color: #722f37;
}

.liste-vins li {
    margin: 10px 0;
}

.fiche-vin {
    margin-bottom: 18px;
}

.fiche-vin p {
    margin: 3px 0 0 auto;
    font-style: italic;
    font-size: 1.85em;
    color: #444;
    text-align: left;
    max-width: 1200px;
}
/*
.fiche-vin h3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    align-items: baseline;

    font-size: 1.55em;
    font-weight: 600;
    text-align: center;
}*/
.fiche-vin h3 {
    width: 85%;      /* élargi le cadre rouge */
    max-width: 1150px;    
   /* outline:1px solid red;*/
    
    
    display: grid;
    /*grid-template-columns: 1fr 1fr 0px;*/
    grid-template-columns: 1fr 1fr auto;
    column-gap: 40px;
    align-items: baseline;

    font-size: 1.55em;
    font-weight: 600;
    text-align: center;
}

.titre-resultats {
    position: relative;
    text-align: center;
}

.titre-resultats .nb-resultats {
    display: inline-block;
}

/*.titre-resultats .retenus {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6em;
    color: #0066cc;
    font-weight: normal;
}*/
.titre-resultats .retenus {
    position: absolute;
    right: 150px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6em;
    color: #222;
    font-weight: normal;
    /* outline:1px solid red;*/
}

/* ===================== 
      Panier
  =====================*/      
.retenir-vin {
    justify-self: end;
}
.retenir-vin span {
    font-size: 0.75em;
    font-weight: normal;
    color: #222;
    margin-right: 6px;
    vertical-align: middle;
}

.retenir-vin input {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    justify-self: end;
}
/*.vin-retenu-origine {
    grid-column: 1 / -1;
    margin-top: 3px;
    text-align: center;
    font-size: 1em;
    color: #777;
    font-style: italic;
}*/
.vin-retenu-origine {
    grid-column: 1 / -1;
    margin-top: 4px;

    text-align: center;

    font-family: Georgia, serif;
    font-size: 1.05em;
    font-style: italic;

    color: #777;
}
.vin-retenu-magnum {
    grid-column: 1 / -1;
    margin-top: 5px;

    text-align: center;

    font-size: 0.95em;
    font-style: italic;

    color: #7a0015;
}
/*.vin-retenu-cle {
    display: block;
    margin-top: 4px;
    font-size: 1.9em;
    color: #888;
    font-family: Consolas, monospace;
}*/
.vin-retenu-cle {
    grid-column: 1 / -1;
    display: block;
    margin-top: 5px;
    text-align: center;
    font-size: 1.25em;
    font-family: Consolas, monospace;
    color: #555;
}
#date-panier {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: -10px;
    margin-bottom: 20px;
    font-size: 1.25em !important;    
}
/*===========================*/


.nom-vin {
    text-align: right;
}

.appellation-vin {
    text-align: left;
    font-size: 1.0em;
    font-style: italic;
    font-weight: normal;
    color: #666;
    text-decoration: none;
}

.vin-selectionne {
    color: #7a0015;
    text-decoration: none;
}

.vin-selectionne .appellation-vin {
    color: #7a0015;
}

.vin-recherche {
    margin-top: 32px;
    text-align: center;
    font-size: 2.0em;
    font-style: italic;
    color: #666;
}

.magnum {
    font-size: 1.8em;
    margin-left: 8px;
}

.icone-magnum {
    height: 40px;
    margin-left: 40px;
    vertical-align: middle;
}

.titre-couleur {
    position: relative;
    max-width: 1200px;
    margin: 65px auto 25px auto;
}

.libelle-gauche,
.libelle-droite {
    position: absolute;
    top: -12px;
    font-size: 1.2em;
    font-style: italic;
    color: #555;
}

.libelle-gauche {
    left: 150px;
}

.libelle-droite {
    right: 100px;
}

.couleur-vin {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #7a0015;
    font-size: 1.4em;
    letter-spacing: 2px;

    max-width: 1200px;
    margin: 65px auto 25px auto;
}

.couleur-vin::before,
.couleur-vin::after {
    content: "";
    flex: 1;
    border-top: 3px solid #dcabb1;
}

.couleur-vin::before {
    margin-right: 20px;
}

.couleur-vin::after {
    margin-left: 20px;
}

.nom-appellation {
    font-size: 1.0em;
    font-weight: normal;
    color: #666;
}

/* Règles spécifiques à placer après h2 et .nom-appellation */
.titre-normal {
    font-weight: normal;
}

h2 .titre-normal,
.h2-left .titre-normal {
    font-weight: normal;
}

h2 .nom-appellation,
.h2-left .nom-appellation {
    font-weight: bold;
}

/* ==================================================
   6. RECHERCHE / FILTRES
================================================== */

.form-recherche {
    text-align: center;
    margin: 30px 0;
}

.form-recherche input {
    width: 400px;
    max-width: 80%;
    padding: 12px 15px;
    font-size: 1.1em;
}

.form-recherche button {
    padding: 12px 20px;
    font-size: 1.1em;
    margin-left: 10px;
}

.form-recherche button[type="submit"] {
    font-family: inherit;
    font-size: 2.2em;
    padding: 10px 25px;
}

.champ-recherche {
    position: relative;
    display: inline-block;
}

.champ-recherche input {
    padding-right: 30px;
}

.effacer {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);

    border: none;
    background: transparent;

    cursor: pointer;
    font-size: 2.2em;
    color: #888;
}

.effacer:hover {
    color: #7a0015;
}

.filtre-couleur {
    text-align: center;
/*    margin: 25px auto -70px;*/
    margin: 25px auto 0px;
}

.filtre-couleur label {
    margin-right: 12px;
    font-family: Georgia, serif;
    font-size: 2.0em;
    color: #7a0015;
}

.filtre-couleur select {
    padding: 8px 14px;
    font-family: Georgia, serif;
    font-size: 1.55em;
    color: #5a3e1b;
    background: #fffdf8;
    border: 1px solid #c9b7a0;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filtre-couleur select:hover {
    border-color: #7a0015;
}

.filtre-couleur select:focus {
    outline: none;
    border-color: #7a0015;
    box-shadow: 0 0 6px rgba(122, 0, 21, 0.25);
}

.filtre-actif {
    max-width: 1200px;
    margin: 15px auto 25px auto;
    text-align: center;
    font-style: italic;
    font-size: 1.8em;
    color: blue;
}

.filtre-actif strong {
    font-weight: normal;
}

/* ==================================================
   8. IMAGES / CONTACT / MESSAGES / DIVERS
================================================== */

.image-grande {
    width: 80%;
    display: block;
    margin: 30px auto;
    height: auto;
}

.image-magasin {
    width: 50%;
    display: block;
    margin: 20px auto;
    height: auto;
}

.image-vin {
    width: 350px;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
}

.carte-visite {
        display: block;/* pour centre la carte */
        margin: 0 auto;/* pour centre la carte */
       
    width: 500px;
    height: auto;   
    border-radius: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.bloc-carte {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.bloc-carte .btn-main {
    width: 240px;
}


.message-construction {
    max-width: 700px;
    /*margin: 60px auto;*/
    margin: 100px auto 60px auto;
    padding: 30px;

    text-align: center;
    font-size: 1.5em;

    border: 1px solid #dcabb1;
    border-radius: 10px;

    background: #faf7f2;
}

.message-construction h3 {
    margin-bottom: 20px;
    color: #7a0015;
    font-size: 1.2em;
}

.message-construction p {
    margin: 10px 0;
    color: #555;
}

.seo-vins {
    font-size: 30px;
    color: #444;
    line-height: 1.2;
    margin-left: 400px;
}

.special {
    color: red;
    margin-right: 40px;
    font-size: 2em;
}

.backnoir {
    background-color: black;
}

.backbeige {
    background-color: #F8F7F5;
}

.petiteimage {
    max-width: 100px;
    height: auto;
    border-radius: 50px;
}

.petiteimagecercle {
    max-width: 100px;
    height: auto;
    border-radius: 50%;
}

.baniere {
    width: 100%;
    height: 150px;
    border-radius: 0;
    border: none;
}

.btn {
    display: block;
    background-color: #daf7a6;
    border-radius: 50px;
    border: 4px double black;
    color: black;
    text-align: center;
    font-size: 18px;
    padding: 1px;
    width: 150px;
    cursor: pointer;
    margin: 20px auto;
}

.TDDROITE {
    text-align: right;
}

.TDCENTRE {
    text-align: center;
}



/* ==================================================
   9. TABLEAUX
================================================== */

table {
    margin-top: 40px;
    border: medium solid #787878;
    width: 50%;
    background-color: #1abc9c;
}

td,
th {
    border: thin solid white;
    width: 50%;
    color: #daf7a6;
    font-style: italic;
    font-weight: bold;
}

.photo-pays {
    margin: 50px auto 20px auto;
    text-align: center;
}

.photo-pays img {
    max-width: 100%;
    max-height: 700px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.25);
}

/* ==================================================
   PAGE DES VINS RETENUS
================================================== */

.message-panier {
    text-align: center;
    font-family: Georgia, serif;
    font-size: 1.6em;
    color: #5a3e1b;
    margin: 30px 0;
}

#liste-vins-retenus {
    width: 90%;
    max-width: 1100px;
    margin: 30px auto;
}

.vin-retenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    padding: 18px 20px;
    margin-bottom: 15px;

    border-bottom: 2px solid #dcabb1;
}

.vin-retenu-infos {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) minmax(250px, 1fr);
    column-gap: 50px;
    align-items: baseline;
    flex: 1;
}

.vin-retenu-nom {
    text-align: right;
    font-family: Georgia, serif;
    font-size: 1.6em;
    color: #7a0015;
}

.vin-retenu-appellation {
    text-align: left;
    font-family: Georgia, serif;
    font-size: 1.45em;
    font-style: italic;
    color: #666;
}

.vin-retenu-domaine {
    grid-column: 1 / -1;
    margin-top: 8px;
    text-align: center;
    font-family: Georgia, serif;
    font-size: 1.15em;
    font-style: italic;
    color: #555;
}

.supprimer-vin {
    padding: 7px 12px;
    border: 1px solid #7a0015;
    border-radius: 5px;

    background: transparent;
    color: #7a0015;

    cursor: pointer;
    font-size: 1em;
}

.supprimer-vin:hover {
    background: #7a0015;
    color: white;
}

.actions-panier {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 50px 0;
}

.titre-retenus {
    text-align: center;
    color: #222;/*#7a0015;*/
    font-size: 2.4em;
    font-family: Georgia, serif;
    font-weight: bold;
    margin: 0 0 25px 0;
}

@media print {
    .menu,
    .fil-ariane,
    footer,
    #vider-panier,
    #imprimer-panier,
    .supprimer-vin,
    #btn-top {
        display: none !important;
    }
    body::before {
        display: none;
    }
    .contenu {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .vin-retenu {
        align-items: flex-start;
    }
    .vin-retenu-infos {
        display: block;
    }
    .vin-retenu-nom,
    .vin-retenu-appellation,
    .vin-retenu-domaine {
        display: block;
        text-align: left;
        margin-bottom: 7px;
    }
    .actions-panier {
        flex-direction: column;
        align-items: center;
    }
}


/* ==================================================
   AFFICHAGE MOBILE
================================================== */

/* ===========================
   Adaptation tablette
=========================== *//*

@media (max-width: 1000px) {

    ...
}


/* ===========================
   Adaptation téléphone
=========================== *//*

@media (max-width: 768px) {

    ...
}


/* ===========================
   Très petits téléphones
=========================== *//*

@media (max-width: 480px) {

    ...
}
*/

/* ==================================================
   MENU SUR PETITS ÉCRANS
================================================== * /

@media (max-width: 768px) {
    .menu {
        flex-wrap: wrap;
    }    
    .menu li:nth-child(2)  { order: 9; }   /* Recherche* /
    .menu li:nth-child(4)  { order: 10; }  /* Vins du Monde* /
    .menu li:nth-child(11) { order: 11; }  /* Contact * /
    .menu li:nth-child(2) {
        background: red;
    }
}*/



@media (max-width: 768px) {  /*Sur téléphone, le bouton sera alors centré.*/

    .action-global {
        justify-content: center;
        margin-right: 0;
        margin-top: 20px;
        margin-bottom: 25px;
    }

}
@media (max-width: 768px) { /*bouton "Retour à la carte" :*/

    .action-retour-carte {
        width: 100%;
        padding-left: 0;
        text-align: center;
        transform: none;
    }

}
/*
Et pour les fiches de vins, qui sont actuellement en deux colonnes 
(nom à droite, appellation à gauche), tu pourrais les empiler sur mobile :
*/
@media (max-width: 768px) {

    .fiche-vin h3 {
        display: block;
        text-align: center;
    }

    .nom-vin,
    .appellation-vin {
        display: block;
        text-align: center;
    }

}

.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
     /*   gap: 4px;*/
}

.menu a {
    min-width: auto;
    white-space: nowrap;
    padding: 0.4rem 0.7rem;
}