/* ============================================================
   BASE STYLES (existing)
   ============================================================ */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background: white;
  color: #d41317;
  padding: 1rem;
  text-align: center;
  position: relative;
  height: 70px;
}

header .logo-left {
  position: absolute;
  top: 10px;
  left: 30px;
  width: 180px;
  height: auto;
  max-width: 100%;
}

header .logo-right {
  position: absolute;
  top: 10px;
  right: 50px;
  width: 70px;
  height: auto;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  display: flex;
  justify-content: center;
  background: #d41317;
}

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

nav .nav-list li {
  margin: 0;
}

nav .nav-list li a {
  display: block;
  padding: 1rem;
  text-decoration: none;
  color: white;
}

nav .nav-list li a:hover {
  background: #666;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 1rem;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: white;
  margin-bottom: 4px;
  border-radius: 2px;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
main {
  padding: 2rem;
  text-align: center;
}

/* ============================================================
   PHOTO / GALLERY SECTIONS
   ============================================================ */
.contact-cards {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.contact-card {
  text-align: center;
  font-size: 1.1rem;
}

.contact-card img {
  display: block;
  margin: 0 auto 0.5rem;
}

.menu-section {
  margin: 2rem auto;
  max-width: 600px;
  text-align: left;
}

.menu-table {
  width: 100%;
  border-collapse: collapse;
}

.menu-table td {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #ccc;
}

.menu-table .price {
  text-align: right;
  font-weight: bold;
}

.section-icon {
  width: auto;
  height: 28px;
  margin-right: 8px;
  vertical-align: middle;
}

.wine-section h3 {
  display: flex;
  align-items: center;
  font-size: 1.4em;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}

.photo-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.photo-chantier {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.photo-chantier img {
  width: 300px;
  height: auto;
  border-radius: 8px;
}

.photo-center {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 8px;
}

.photo-center img {
  width: 200px;
  height: auto;
  border-radius: 8px;
}

/* ============================================================
   SHOP (SAPIN ORDER) LAYOUT - EXACTLY AS BEFORE
   ============================================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 3fr 1fr; /* products area and cart */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  background-color: #fafafa;
  text-align: center;
  transition: box-shadow 0.2s ease;
}

.product:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.product h3 {
  margin-top: 0;
  color: #d41317;
}

.product p {
  font-weight: bold;
  margin-bottom: 10px;
}

.qty-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.qty-controls button {
  background-color: #d41317;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  padding: 2px 8px;
  cursor: pointer;
}

.qty-controls button:hover {
  background-color: #a80e11;
}

.qty {
  width: 50px;
  text-align: center;
  padding: 4px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.add-to-cart {
  display: inline-block;
  margin-top: 5px;
  background-color: #d41317;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.add-to-cart:hover {
  background-color: #a80e11;
}

.cart {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  background-color: #f9f9f9;
  height: fit-content;
  min-width: 250px;
  text-align: left;
}

.cart h3 {
  margin-top: 0;
  text-align: center;
}

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

.cart-items li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}

.cart-items button {
  background: none;
  border: none;
  color: #b00020;
  cursor: pointer;
  font-size: 16px;
}

.cart-total {
  font-weight: bold;
  text-align: right;
  margin: 10px 0;
}

.btn {
  display: block;
  width: 100%;
  background-color: #d41317;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #a80e11;
}

.checkout {
  margin: 40px auto;
  max-width: 550px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  background-color: #fafafa;
}

.checkout h3 {
  color: #d41317;
  margin-top: 0;
}

.checkout label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

.checkout input, .checkout textarea {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1em;
}

.bank-info {
  margin-top: 20px;
  background: #fff5f5;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #f0c0c0;
  font-size: 0.95em;
  color: #333;
}

.product-image {
  width: 100%;
  max-width: 180px;
  height: 180px;
  margin: 10px auto;
  display: block;
  border-radius: 8px;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1000px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .products {
    grid-template-columns: repeat(2, 1fr);
  }

  .cart {
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  .products {
    grid-template-columns: 1fr;
  }

  .checkout {
    margin: 20px 10px;
  }

  .cart {
    margin-top: 20px;
  }

  header {
    flex-direction: column;
    align-items: center;
    height: 30px;
    
  }

  h1 {
    font-size: 1.3rem;
    margin: 0.5rem 0;
  }

  header .logo-left {
    margin-top: 0.7rem;
    width: 55px;
    left: 10px
  }

  header .logo-right {
    margin-top: 0.4rem;
    width: 30px;
    right: 15px;
  }

  nav {
    flex-direction: column;
    align-items: flex-end;
    position: relative;
  }

  nav .nav-list {
    display: none; /* hide menu by default on mobile */
    flex-direction: column;
    width: 100%;
    background: #444;
    position: absolute;
    top: 60px;
    right: 0;
  }

  nav .nav-list li a {
    padding: 1rem;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-list.active {
    display: flex; /* show menu when active */
  }

  .contact-cards {
    flex-direction: column;
    gap: 1rem;
  }

  .menu-table {
  width: 90%;
  margin: 0 auto;
  border-collapse: collapse;
  }

  h3 {
    margin-left: 1rem;
  }

  .photo-center {
        margin: 20px auto;
      max-width: 800px; 
      display: block;
  }
  .photo-center img { 
    display: block;
  width: 100%;        /* or a fixed size, e.g. 600px */
  height: auto;
  margin: 10px auto;  /* space between images + center them */
  border-radius: 8px;
   }
}