*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #f9f9f9;
}

header{
    display: flex;
    flex-direction: column;
    font-size: clamp(14px, 2vw, 1.2rem);
    flex-grow: 1;
    background:#d5b895;
    color: #362e2e;
    padding: 30px;
    justify-content: center;
    max-height: 90px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.nav{
    flex-direction: row;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    list-style: none;
}
@media screen and (max-width: 530px) {
header .nav li.hidden {
    display: none;
}
.Product--card{
        margin: 0 auto;
        width:80%;
        max-height:400px ;
}

}
header .nav li #search {
    padding: 5px;
    border: none;
    border-radius: 5px;
}
header .nav li {
    display: flex;
    align-items: center;
}
.logo{
    width: clamp(150px, 5vw, 100px);
    /* max-width: 100%; */
    max-height: 100px;  
    padding: 10px;
    
}
.shopping--cart--icon{
    border: none;
    background: none;
    font-size: 20px;
    color: #362e2e;
    cursor: pointer;
}

.video--container{
    align-self: center;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width:90%;
    max-height: 500px;
    overflow: hidden;
    & video{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
 }
main{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    row-gap: 40px;
}
.hero--section{
    position: relative;

    width: 100%;
    max-height: 500px;
    overflow: hidden;
    & img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
.hero--section--img--text{
    position: absolute;
    top: 20%;
    left: 5%;
    color: #fff;
    font-size: clamp(1rem, 5vw, 4rem);
    font-family: italic;
}
.section--button{
    position: absolute;
    top: 55%;
    left: 5%;
    background: #d0800f;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    color: #151313;
    border: none;
}
.hero--section--text {
    text-align: center;
    padding: 20px;
}

.hero--section--text h1 {
    font-size:clamp(1rem, 5vw, 2.5rem);
    margin-bottom: 10px;
}

.hero--section--text p {
    font-size:clamp(0.8rem, 2vw, 1.2rem);
    color: #555;
}
.Product--card--warpper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Dynamiska kolumner */
    width: 90%;
    margin: 0 auto; /* Centrera layouten */
    gap: 30px; /* Kombinerar kolumn- och radavstånd för enklare hantering */
    align-self: center;
}

.Product--card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* För bättre layout */
    align-items: center;
    margin: 0 auto;
    /* width: 100%; Anpassar sig till gridens kolumnbredd */
        width:80%;
        max-height:400px ;    border-radius: 15px; /* Rundare hörn för modern design */
    overflow: hidden;
    border: 1px solid rgba(213, 184, 149, 0.6); /* Förbättrad färgtransparens */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Mjukare skugga */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Lägg till skuggeffekt vid hover */
    background-color: #fff; /* Vit bakgrund för bättre kontrast */
}

.Product--card:hover {
    transform: scale(1.05); /* Förstora kortet vid hover */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Starkare skugga vid hover */
    border-color: #d5b895; /* Förstärk gränsfärgen vid hover */
}

.product--card--img{
    background: rgb(129, 143, 146);
    width: 100%;
    max-height: 60%;
    & img {
        width: 100%;
        height: 100%;
        object-fit: fill;
    }
}
.Product--card:hover {
    transform: scale(1.05);
}

.product--card--info{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
.add-to-cart{
    background: #fffffc;
    padding: 10px 20px;
    border: 1px solid #2f25097d;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}



footer {
    background-color:#d5b895;
    color: #0e0b0b;
    padding: 20px 20px;
    font-family: Arial, sans-serif;
    align-items: center;
    /* justify-content: center; */
    display: flex;
    flex-direction: column;

    
}

.footer--wrapper {
    display: flex;
    width: 90%;
    flex-wrap: wrap;

}
.copy--right {
    text-align: center;
    font-size: 0.8em;
}
.footer--text,
.contact,
.footer--newsletter {
    flex: 1 1 30%; /* Flex-grow, flex-shrink, flex-basis */
    margin: 20px;    

}
.footer--text p, .contact p {
    line-height: 1.5;
}
.footer--text h2,
.contact h2,
.footer--newsletter h2,
.footer--social--media h2 {
    color: #2a2824;
    margin-bottom: 10px;
    font-size: 1.5em;
}

.footer--newsletter{
    display: flex;
    flex-direction: column;
    row-gap: 20px ;
}
.footer--newsletter form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer--newsletter input[type="email"] {
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 1em;
}

.footer--newsletter button {
    padding: 10px;
    background-color: #d09939;
    color: #222;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.footer--newsletter button:hover {
    background-color: #ffd166;
}

.footer--social--media ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
    margin-top: 10px;
    align-items: center;
    & .fa-brands{
        color: #262320;
    }

}

.footer--social--media a {
    color: #f1f1f1;
    font-size: 1.5em;
    transition: color 0.3s;
}

.footer--social--media a:hover {
    color: #f9c74f;
}

/* Responsiv design */
/* @media (max-width: 768px) {
    .footer--wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
  .nav .search, .labbel--search{
    display: none;
  }
}
@media (max-width: 530px) {

} */