* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #ffffff;
  color: #000000;
}

header {
  width: 150%;
  position: sticky;
  top: 0;
  z-index: 1000;
    background-color: #E4E1D8;
  display: flex;
  align-items: center;
  font-weight: 900;
  justify-content: space-between;
  padding: 20px 40px;
  transition: all 0.3s ease;
  box-shadow: none;
 font-family: "Oswald", sans-serif;
font-optical-sizing: auto;
font-weight: 900; 
font-style: normal;

  width: 100%;
}


.logo a {
  text-decoration: none;
  color: #000000;
  font-size: 24px;
  font-weight: bold;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

nav a {
  
  text-decoration: none;
  color: black;
  font-weight: bold;
  transition: color 0.3s;
}
nav a:hover {
    color: white; 
}

.cabinet {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cart-icon {
  font-size: 24px;
  cursor: pointer;
  position: relative;
}

.cart-icon span {
  background: red;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  position: absolute;
  top: -10px;
  right: -10px;
}


.products-grid {
  margin-top: 100px;
  display: flex;
  flex-wrap: wrap; /* дозволяє карткам переноситись на новий ряд */
  gap: 20px;       /* відстань між продуктами */
  justify-content: center; /* вирівнювання по центру */
 
  color: whitesmoke;
  width: 900px;
  padding: 20px;
  border-radius: 10px;
  line-height: 2;
}

.product {
  flex: 0 1 200px; /* картка має ширину ~200px */
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 10px;

  color: black; /* щоб текст читався */
  text-align: center;
}


button {
  background-color: #3498db;
  color: white;
  font-weight: bold;
  padding: 8px 14px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #008ab4;
  color: #000000;
}

.cart-popup {
  margin-top: 70px;
  display: none;
  position: absolute;
  right: 20px;
  top: 80px;
  width: 300px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 100;
}

.cart-popup a {
  text-decoration: none;
  color: white;
  background-color: #000000;
  width: 200px;
  height: 30px;
  border-radius: 8%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
  padding: 6px 0;
}

.total {
  text-align: right;
  font-weight: bold;
  margin-top: 10px;
}

.remove-btn {
  background: transparent;
  border: none;
  color: rgb(0, 0, 0);
  font-size: 16px;
  cursor: pointer;
  margin-left: 8px;
}

.remove-btn:hover {
  color: rgb(0, 0, 0);
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1024px) {


  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
    gap: 20px;
  }

  .product {
    width: 100%;
  }

  .cart-popup {
    right: 10px;
    width: 90%;
  }
}

@media (max-width: 600px) {
  .logo a {
    font-size: 20px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .product {
    width: 100%;
    padding: 10px;
  }

  .contant {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product img {
    width: 100px;
    height: 100px;
  }

  .cart-popup {
    top: 100px;
    right: 10px;
    width: 95%;
  }

  .cart-icon {
    margin-top: 10px;
  }

  button {
    padding: 10px;
    width: 100%;
  }
}
.red-price1{
  color: red;
}
.product p {
 font-weight: 900;


}
.COFFETEXT h1{
  display: flex;
  justify-content: center;
}
.containerCOFFE {
    
    background-color: #929192;
    color: whitesmoke;
    width: 500px;
    height: 475px;
    margin: 0 auto;
    padding: 20px;
    margin-top: 60px;
    border-radius: 10px;
    line-height: 2;
}


.COFFEIMG {
      display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1; 
}

.COFFEBUTTON button {
  background-color: #EBE8E3;
  color: #3D3939;
    font-family: 'Montserrat', sans-serif;
  font-weight: 900; 
  font-size: 23px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  width: 500px;
  height: 82px;
  position: relative;
  z-index: 10;
  padding: 27px;

  border-radius: 0;   
  border: none;    
}

.COFFEBUTTON :hover {
  background-color: #d6d2ca;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); 
  
}
.footer {
  width: 100%;
  margin-top: 90px;
  position: relative; 
  display: flex;
  align-items: center; 
  justify-content: space-between; 
  gap: 0; 
  height: 340px;
  line-height: 2;
  background-color: #3D3939;
  color: white;
}
@media (max-width: 1024px) {
    .footer {
        flex-wrap: wrap;      
        justify-content: center;
        align-items: flex-start;
        height: auto;         
        padding: 20px 30px;
        gap: 20px;
    }

    .footerIMG {
        flex: 1 1 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .Footercenter1,
    .Footercenter2 {
        flex: 1 1 45%;
        min-width: 200px;
        margin-bottom: 20px;
    }

    .Footercenter3 {
        width: 100%;           
        margin-top: 20px;
        display: block;      
    }
}


@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 20px;
        padding: 15px 20px;
    }

    .footerIMG,
    .Footercenter1,
    .Footercenter2,
    .Footercenter3 {
        width: 100%;         
        text-align: center;  
        margin-bottom: 15px;
    }

    .footerIMG img {
        width: 120px;      
    }
}


@media (max-width: 480px) {
    .Footercenter1 h4,
    .Footercenter2 h4,
    .Footercenter3 h4,
    .Footercenter3 h2 {
        font-size: 14px;
        line-height: 1.5;
    }

    .Footercenter3 h2 {
        font-size: 16px;
    }
}

.footer a {
  

  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.footer a:hover {

  color: #fff;
}
