/* -------------------Font personalitzada -------------------------------*/
@font-face {
    font-family: 'ZapfinoExtraLTOne';
    src: url('../fonts/ZapfinoExtraLTOne.otf') format('opentype');
}

/* ----------------- Variables CSS per a fonts i colors ---------------------*/
:root {
    --primary-font: 'ZapfinoExtraLTOne', sans-serif;
    --secondary-font: Geneva, Verdana, sans-serif;
    --primary-color: #000000;
    --secondary-color: #a29f9f;
    --terciary-color: #ffffff;
    --test-color: #ff0000;
    --link-color: rgb(254, 246, 246);
    --link-hover-color: rgb(99, 98, 98);
}


/* ------------------------- Estils generals -------------------------------- */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--primary-font);
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;  /* Assegura que el cos de la pàgina ocupa l'alçada completa de la pantalla */
}

@media only screen and (max-width: 1000px) {
    body {
        padding: 0;
    }
}

h1 {
    font-size: 5em;
    color: var(--primary-color);
}

h2 {
    font-size: 4em;
    font-weight: 100;
    color: var(--primary-color);
    margin: 0;
}

h3 {
    font-size: 3.2em;
    font-weight: 100;
    color: var(--primary-color);
    margin: 0.5em ;
}

h4 {
    font-size: 1.2em;
    font-weight: 100;
    font-family: var(--secondary-font);
    color: var(--primary-color);
    margin: 0 0.5em;
}

p {
    font-size: 1em;
    font-family: var(--secondary-font);
    color: var(--secondary-color);
}

@media only screen and (max-width: 1000px) {
    h1 {
        margin: 0.1em;
    }
    
    h2, p {
        margin: 0;
    }
}

h2 a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s;
}

h2 a:hover {
    color: var(--link-hover-color);
}

/* ------------------------------ Header ------------------------------ */

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--terciary-color);
    width: 100%;
    position: relative;
    /* top: 0; */
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

@media only screen and (max-width: 1000px) {
    .nav {
        flex-direction: row; /* Canvia a disposició vertical per a mòbils */
        align-items: center; /* Alinea elements al centre */
        justify-content: space-between;
        margin: 5%; /* Alinea el logo a l'esquerra i el botó de menú a la dreta */
    }
}

.nav-logo {
    position: absolute;
    top: 0.2em;
    left: 0.5em;
    max-height: 2.5em;
    transition: none; /* Desactiva les transicions si cal */
    z-index: 1000;
}

@media only screen and (max-width: 1000px) {
    .nav-logo {
        position: absolute;
        top: 0.2em;
        left: 2em;
        margin: 0; /* Assegura't que no hi hagi marges no desitjats */
        z-index: 1000;
    }
}

.nav-logo-toggle {
    position: absolute;
    top: 0.4em;
    right: 40%;
    max-height: 4.5em;
    transition: none; /* Desactiva les transicions si cal */
    z-index: 1000;
}

.nav-toggle {
    display: none;
}

@media only screen and (max-width: 1000px) {
    .nav-toggle {
        display: block; /* Mostra el botó de menú a pantalles petites */
        cursor: pointer; /* Canvia el cursor a una mà per indicar que és interactiu */
    }
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    max-width: 100%;
    padding: 0;
    margin: 1.5em;
}

@media only screen and (max-width: 1000px) {
    .nav-list {
        display: none; /* Amaga la llista de navegació per defecte */
        flex-direction: column;
        align-items: center;
        background-color: var(--terciary-color); /* Color de fons del menú desplegat */
        position: fixed;
        top: 0;
        left: 0;
        padding-top: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        overflow: auto;
        z-index: 1000;
    }
}

.nav-element {
    margin: 0.8em 1.5em;
}

@media only screen and (max-width: 1000px) {
    .nav-element {
        top: 1em;
        margin: 10px 0; /* Espaiat vertical entre elements de la barra de navegació */
    }
}

/* Media queries per a tablets i pantalles més grans
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .nav-element {
        margin: 0 30px; Espaiat ajustat de la barra de navegació en tablets 
    }
}
*/

.nav-link-logo {
    display: block;
    font-size: 2.5em;
}

@media only screen and (max-width: 1000px) {
    .nav-link-logo { 
        display: none;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 2.4em;
    transition: color 0.3s, transform 0.3s; /* Transicions suaus per color i transformació */
    display: inline-block; /* Necessari per aplicar transformacions */
}

@media only screen and (max-width: 1000px) {
    .nav-link {
        font-size: 4em; /* Redueix la mida de la font per a pantalles petites */
        transition: color 0.3s, transform 0.3s;
    }
}

.nav-link:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: bold;
  }

/* Menu desplegable */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

@media only screen and (max-width: 1000px) {
    .menu-overlay {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .menu-overlay.active {
            display: block;
    }
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background-color: #333;
    padding: 20px;
    box-sizing: border-box;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

@media only screen and (max-width: 1000px) {
    .menu {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        background-color: #a01111;
    }
}

.menu-close {
    display:none;
    text-align: right;
    margin-bottom: 20px;
}

@media only screen and (max-width: 1000px) {
    .menu-close {
        display: block;
        position: absolute;
        top: 2rem;
        left: 2rem;
        font-size: 2rem;
        color: #000000;
        cursor: pointer;
        z-index: 1000; /* Assegura't que està per sobre del menú */
    }
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    margin-bottom: 15px;
}

.menu-list a {
    text-decoration: none;
    color: rgb(233, 31, 31);
    font-size: 1.5em;
}

.menu-list a:hover {
    color: rgb(218, 44, 44);
}

/* ------------------------------ Contingut principal ------------------------------ */

.main-content {
    display: flex;
    flex-direction: column;
}

/* ------------------------------ Contingut principal /inici ------------------------------ */

.main-content--inici {
    flex-direction: row;
    justify-content: space-between;
    height: 80vh;
}

@media only screen and (max-width: 1000px) {
    .main-content--inici {
        flex-direction: column; /* Canvia a disposició vertical en pantalles petites */
    }
}

.main-content--box {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    margin: 1em 1em;
}

@media only screen and (max-width: 1000px) {
    .main-content--box {
        margin: 0.2em 0; /* Espai vertical entre caixes a mida mòbil */
        padding: 0.1em; /* Afegir padding de 20px a les caixes en pantalles petites */
    }
}

.main-content--overlay {
    background-color: rgba(226, 223, 223, 0.5);
    color: rgb(189, 113, 113);
    padding: 20px;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
}

.main-content--box__title {
    font-size: 2em;
    margin: 0;
}

.main-content__title {
    font-size: 5em;
    font-weight: 100;
    text-align: center;
}

/* .main-content__subtitle {
    font-size: 3em;
    margin-top: 40px;
    text-align: center;
} */

.main-content p {
    max-width: 100%;
    margin: 0.2em;
}

@media only screen and (max-width: 1000px) {
    .main-content p {
        margin: 1em; /* Assegura't que no hi hagi marges no desitjats */
    }

    .main-content__paragraph {
        font-size: 1.2em;
    }
}

/* ------------------------------ Contingut principal / qui som ------------------------------ */

.main-content__paragraph--quisom {
    margin: 0.2em auto;
    padding: 1em 2em;
    max-width: 60%;
}

@media only screen and (max-width: 1000px) {
    .main-content__paragraph--quisom {
        font-size: 1.2em;
        word-wrap: break-word;
    }
}

.center-image {
    display: block;
    margin: 2em auto;
    width: 50%; /* Ajusta la mida de la imatge segons necessitis */
}

/* ------------------------------ Contingut principal / ubicació ------------------------------ */

.main-content__map-container {
    text-align: center;
    margin-bottom: 20px;
}

@media only screen and (max-width: 1000px) {
    .main-content__map-container {
        max-width: 100%; /* Assegura't que no hi hagi marges no desitjats */
    }
}

.main-content__address a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s, transform 0.3s; /* Transicions suaus per color i transformació */
}

.main-content__address a:hover {
    color: var(--secondary-color);
    transform: scale(1.2);
}

/* ------------------------------ Contingut principal / horaris ------------------------------ */

.schedule-table {
    background-color: var(--terciary-color);
    border-radius: 8px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    width: 30%;
    margin: 1em auto 3em auto;
    padding-bottom: 0.5em;
    border-collapse: collapse;
}

/* Media queries per a tablets i pantalles més grans
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .schedule-table {
        width: 80%; /* Amplada més gran de la taula en tablets 
    }
} */

.schedule-table__body {
    text-align: left;
    font-size: 30px;
}

.schedule-table__cell {
    font-family: var(--secondary-font);
    font-size: small;
    padding: 5px;
}

.schedule-table__cell--horaris {
    font-family: var(--secondary-font);
    font-size: small;
    
} 

/* ------------------------------ Contingut principal / data container ------------------------------ */

.data-container {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

@media only screen and (max-width: 1000px) { 
    .data-container {
        padding: 0;
    }
}

.data-container h2 {
    margin: 0.5em auto;
    text-align: center;
}

.data-container ul {
    margin: 0.5em auto;
    text-align: center;
}

.preu {
    color: var(--primary-color);
}

/* ------------------------------ Contingut principal / data container / table ------------------------------ */

.plat-table {
    width: 100%;
    margin-bottom: 20px;
}

.plat-table__name {
    text-align: left;
}

.plat-table__price {
    width: 2em;
    text-align: top;
    font-size: 100%;
    color: #000000;
}

.plat-table__description {
    color: #504f4f;
    text-align: left;
    font-size: 0.8em;
}

.plat-table__spacer-row {
    height: 60px;
}

/* Media queries per a tablets i pantalles més grans
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .plat-table__spacer-row {
        height: 40px; /* Alçada reduïda de l'espaiador entre plats en tablets
    }
}
*/

@media only screen and (max-width: 1000px) { 
    .menu-item {
        margin-bottom: 20px; /* Espaiat entre elements del menú */
        text-align: center; /* Alineació al centre */
    }
    
    .menu-item__title {
        font-size: 1.2em; /* Mida de la font del títol */
        margin-bottom: 5px; /* Espaiat inferior del títol */
    }
    
    .menu-item__description {
        margin-bottom: 5px; /* Espaiat inferior de la descripció */
    }
    
    .menu-item__price {
        font-weight: bold; /* Text en negreta per destacar el preu */
        font-size: 1.1em; /* Mida de la font del preu */
    }
}

/* ------------------------------ Contingut principal / spinner i icones ------------------------------ */


.loading-spinner {
    display: block; /* Per defecte amagat */
    text-align: center; /* Centra l'spinner dins del contenidor */
}

.loading-spinner img {
    width: 5%;
}

.scroll-to-top {
    display: inline-block;
    width: 100%;    
    text-align: center;
}

.icon {
    height: 2em;
}

.icon-arrow {
    height: 2em;
    transition: color 0.3s, transform 0.3s; /* Transicions suaus per color i transformació */
    display: inline-block; /* Necessari per aplicar transformacions */
}

.icon-arrow:hover {
    color: var(--secondary-color);
    transform: scale(1.3);
}

/* ----------------------------- Preu menú -------------------------------*/
.main-content--menu {
    text-align: center;
    align-items: center;
} 

.preu-menu-global {
    font-family: var(--secondary-font);
    color: var(--primary-color);
    font-size: 1.8em;
    position: relative;
    padding-bottom: 0em;
    margin-bottom: 0.1em;
}

.inclos {
    font-family: var(--secondary-font);
    margin-top: 0.5em;
    font-size: 0.5em;
    color: #777;
}
.iva {
    font-family: var(--secondary-font);
    margin-top: 0em;
    font-size: 0.4em;
    color: #777;
}

/* Ajustar la mida del preu en dispositius mòbils */
@media only screen and (max-width: 1000px) {
    .preu-global {
        font-size: 1.2em; /* Reduir la mida a mòbil */
    }
    .iva {
        font-size: 0.2em; /* Reduir la mida a mòbil */
    }
}

/* ----------------------------- Galeria -------------------------------*/
.contenidor {
    max-width: 1000px;
    color: var(--primary-color);
    width: 90%;
    margin: 2em auto;
}

.esquerra {
    float: left;
}

.dreta {
    float: right;
}


/* ----------------------------- Galeria / photos -------------------------------*/

.fotos .contenidor {
    display: flex;
    color: var(--primary-color);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media only screen and (max-width: 1000px) {
    .fotos .contenedor {
        flex-direction: column;
        margin-right: auto;
    }
}

.thumb {
    width: 22%;
    margin-bottom: 30px;
    outline: 5px solid rgba(255, 255, 255, 0);
    -webkit-box-shadow: 2px 2px 3px var(--primary-color);
    box-shadow: 2px 2px 3px var(--primary-color);
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease; 
}

@media only screen and (max-width: 1000px) {
    .thumb {
        width: 40%;
        margin-right: auto;
        margin-left: auto;
    }
}

.thumb:hover {
    outline: 5px solid var(--terciary-color);
}

.thumb a {
    display: block;
}

.thumb img {
    vertical-align: top;
    width: 100%;
}

/* ----------------------------- Galeria / single picture -------------------------------*/
.foto {
    width: 100%;
    margin: auto;
    max-width: 500px;
    text-align: center;
}

.foto img {
    width: 100%;
    vertical-align: top;
    -webkit-box-shadow: 2px 2px 3px rgba(0,0,0,.8);
    box-shadow: 2px 2px 3px rgba(0,0,0,.8);
    margin-bottom: 30px;
}

.foto .texto {
    max-width: 500px;
    margin-bottom: 30px;
}

.regresar {
    padding: 5px 10px;
    margin-bottom: 30px;
    display: inline-block;
    border-radius: 50px;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, .2);
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease; 
}

.regresar:hover {
    border: 1px solid #fff;
    text-decoration: none;
}

.regresar .fa {
    margin-right: 15px;
}

/* ----------------------------- Galeria / Paginació -------------------------------*/

.paginacio {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 20%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    overflow: hidden;
}

@media only screen and (max-width: 1000px) {
    .paginacio { 
        width: 50%;
        margin-bottom: 30px;
    }
}

.paginacio a {
    display: flex;
    align-items: center;
    font-family: var(--secondary-font);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1em;
    padding: 15px 20px;
    border-radius: 50px;
    /* border: 1px solid var(--primary-color); */
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease; 
}

.paginacio a:hover {
    /* border: 1px solid var(--secondary-color); */
    text-decoration: none;
}

.paginacio .esquerra .icon-arrow {
    height: 1em;
    transition: color 0.3s, transform 0.3s; /* Transicions suaus per color i transformació */
    display: inline-block; /* Necessari per aplicar transformacions */
    margin-right: 10px;
}

.paginacio .dreta .icon-arrow {
    height: 1em;
    transition: color 0.3s, transform 0.3s; /* Transicions suaus per color i transformació */
    display: inline-block; /* Necessari per aplicar transformacions */
    margin-right: 10px;
}

/* ------------------------------ Footer ------------------------------ */

.footer {
    text-align: center;
    background-color: #ffffff;
}

@media only screen and (max-width: 1000px) { 
    .footer {
        padding: 10px; /* Redueix el padding del footer per a mòbils */
    }   
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

@media only screen and (max-width: 1000px) { 
    .footer-nav {
        flex-direction: column;
        align-items: center;
    }
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

@media only screen and (max-width: 1000px) { 
    .footer-list {
        display: flex;
        justify-content: space-between;
    }
}

.footer-element {
    margin: 1em 1em;
    
}

@media only screen and (max-width: 1000px) { 
    .footer-element {
        text-align: center;
        margin: 0 0.5em;
    }
}

.footer-link {
    text-decoration: none;
    color: var(--primary-color);
    font-family: var(--secondary-font);
    font-size: 0.8em;
    transition: color 0.3s, transform 0.3s; /* Transicions suaus per color i transformació */
    display: inline-block; /* Necessari per aplicar transformacions */
}

@media only screen and (max-width: 1000px) { 
    .footer-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #333;
        font-size: 0; /* Oculta el text */
    }
}

.footer-link:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.footer-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    vertical-align: middle;
}

@media only screen and (max-width: 1000px) { 
    .footer-icon {
        width: 2rem; /* Ajusta la mida de les icones */
        height: auto;
        margin-bottom: 5px; /* Espaiat inferior opcional per a les icones */
    }
}

/* ----------------------------- Allergen Icons ------------------------------- */
.allergen-icons {
    margin-top: 0.5em;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.allergen-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: transform 0.2s ease-in-out;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.allergen-icon:hover {
    transform: scale(1.2);
}

@media only screen and (max-width: 1000px) {
    .allergen-icon {
        width: 1.2em;
        height: 1.2em;
    }
}
/* ----------------------------- flags ------------------------------- */
.language-switcher {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.6em;
    z-index: 999;
}

.language-switcher img {
    height: 15px;
    width: auto;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.language-switcher img:hover {
    transform: scale(1.15);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}
/* ----------------------------- lletres idiomes ------------------------------- */
.language-switcher-lletres {
    display: flex;
    gap: 1em;
    align-items: center;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
}

.language-switcher-lletres .nav-link {
    font-size: 3em; /* mateix tamany que altres en desktop */
    padding: 0;
    color: var(--primary-color);
    transition: color 0.3s, transform 0.3s;
    text-decoration: none;
    font-family: var(--primary-font); /* o secondary si vols més claritat */
}

.language-switcher-lletres .nav-link:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.language-switcher-lletres .active-lang {
    font-weight: bold;
    pointer-events: none;
}

/* --------------- celler -------------------*/
/* ---------- TÍTOL de la pàgina ---------- */
.main-content--celler .main-content__title {
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 3rem;
}

/* ---------- CONTENIDOR DE BOTONS DE FILTRE ---------- */
.wine-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75em;
    margin-bottom: 2rem;
}

/* ---------- BOTONS DE FILTRE ---------- */
.wine-filter-btn {
    background-color: var(--secondary-color);
    font-size: 1.5rem;
    padding: 0.7em 1.5em;
    margin-top: 0.5em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.8;
    font-family: var(--secondary-font);
    font-size: 1em;
    text-transform: capitalize;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hover i actiu */
.wine-filter-btn:hover {
    transform: scale(1.05);
    opacity: 1;
}
.wine-filter-btn.active {
    opacity: 5;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
    transform: scale(1.15);
    border: 1px solid #000;
}

/* ---------- COLORS DELS TIPUS DE VI ---------- */
/* .wine-filter-btn.blanc {
    background-color: #f5f5dc;
    color: #333;
}
.wine-filter-btn.rosat {
    background-color: #d99ea8;
    color: #333;
}
.wine-filter-btn.negre {
    background-color: #623850;
    color: #fff;
}
.wine-filter-btn.escumós {
    background-color: #66cc66;
    color: #fff;
} */

/* ---------- CONTENIDOR DELS VINS ---------- */
.wine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding: 0 2rem 2rem;
}

/* ---------- TARGETA DE VI ---------- */
.wine-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.wine-card:hover {
    transform: translateY(-5px);
}

.wine-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ---------- IMATGE DEL VI ---------- */
.wine-card img {
    max-height: 240px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 6px;
}

/* ---------- TEXTOS ---------- */
.wine-card h4 {
    font-size: 1.4rem;
    margin: 0.3rem 0;
}

.wine-card p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
    .wine-filter-btn {
        font-size: 1em;
        padding: 0.4rem 1rem;
        margin:0.2rem;
        width: 20%;
        height: 110%;
        max-width: 300px;
        text-align: center;
    }

    .wine-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        padding: 0 1rem 2rem;
    }

    .wine-card img {
        max-height: 180px;
    }

    .wine-card h4 {
        font-size: 1.2rem;
    }

    .wine-card p {
        font-size: 0.9rem;
    }
}