* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #faf8f3;
  color: #333333;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
}

header {
  background-color: #4b2e1b;
  color: #fff;
  padding: 15px 20px;
  text-align: center;
}

nav {
  margin-top: 10px;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

main {
  max-width: 960px;
  margin: 30px auto;
  padding: 0 20px;
}

h1, h2 {
  color: #5B270B;
  font-family: 'Georgia', serif;
  margin-bottom: 10px;
}

h1, h2, h3 {
  font-family: 'Georgia', serif;
}

.intro {
  margin-bottom: 30px;
  text-align: center;
}

.producto {
  margin-bottom: 40px;
}

.producto img {
  max-width: 100%;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-top: 10px;
}

/*.producto__container {*/
/*  display: flex;*/
/*  gap: 40px;*/
/*}*/

.producto__img-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.producto__text-container {
  /*flex: 1;*/
  text-align: center;
  display: flex;
  justify-content: space-around;
}

.producto__title {
  font-size: 24px;
  margin-bottom: 16px;
  text-decoration: underline;
  min-width: max-content;
}

.producto__text {
  font-size: 20px;
}

.boton {
  background-color: #3d7c47;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  margin-top: 10px;
}

.boton:hover {
  background-color: #556B2F;
}

.contacto {
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 50px;
}

footer {
  background-color: #4b2e1b;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}

footer a {
  color: #F5F5DC;
  text-decoration: none;
}

footer a:hover {
  color: #ffffff;
}

/*slider*/

#galeria {
  margin: 40px 0;
}

.gallery {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery a {
  display: block;
  width: calc(33.333% - 10px);
  min-width: 200px;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery a:hover {
  transform: scale(1.02);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.messengers {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.messenger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #5B270B;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 6px;
  transition: background-color 0.3s;
  font-size: 16px;
}

.messenger:hover {
  opacity: 0.9;
}

.messenger i {
  font-size: 18px;
}

.telegram {
  background-color: #0088cc;
}

.messenger.email {
  background-color: #3d7c47;
}
.messenger.email:hover {
  background-color: #5a7a1d;
}
.messenger.whatsapp {
  background-color: #25D366;
}
.messenger.whatsapp:hover {
  background-color: #1ebe57;
}
.messenger.phone {
  background-color: #8b4513; /* або будь-який фірмовий колір */
}
.messenger.phone:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .producto__container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .producto__img-container {
    flex-direction: column;
    justify-content: center;
  }

  .producto__text-container {
    text-align: center;
  }

  .producto__title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .producto__text {
    font-size: 18px;
  }
}

.promo-location {
  margin-top: 6px;
  font-weight: 600;
  font-size: 22px;
  color: #8b4513;       /* у твоїй гаммі */
  text-align: right;    /* десктопи */
}

@media (max-width: 768px) {
  .promo-location {
    text-align: left; /* мобілки */
  }
}

.promo-products {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.promo-product-card {
  background: #fff;
  border: 2px solid #8b4513;
  border-radius: 10px;
  width: calc(33.3% - 14px);
  padding: 15px;
  text-align: center;
  position: relative;
}

.promo-product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.promo-product-title {
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.promo-prices {
  font-size: 1rem;
  margin-bottom: 5px;
}

.new-price {
  color: #e60000;
  font-weight: bold;
}

.promo-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e60000;
  color: white;
  padding: 4px 8px;
  font-size: 0.9rem;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .promo-products {
    flex-direction: column;
    align-items: center;
  }

  .promo-product-card {
    width: 90%;
    max-width: 400px;
  }

  .promo-product-card img {
    height: 250px;
  }
}

.about-store {
  margin: 50px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 12px;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

.about-store h2 {
  text-align: center;
  color: #8b4513;
  margin-bottom: 20px;
  font-size: 2rem;
}

.about-store h3 {
  color: #8b4513;
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.about-store ul {
  list-style: disc inside;
  margin-left: 20px;
}

.about-store li {
  margin-bottom: 8px;
}

.location-section {
  margin: 70px 0 50px;
}

.location-section__header {
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: center;
}

.location-section__header h2 {
  margin-bottom: 12px;
  font-size: 2rem;
}

.location-section__header p {
  color: #5f5147;
  font-size: 17px;
}

.location-card {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  min-height: 380px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(139, 69, 19, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(75, 46, 27, 0.12);
}

.location-card__info {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 34px;
  background:
          linear-gradient(135deg, rgba(91, 39, 11, 0.96), rgba(139, 69, 19, 0.92)),
          url("../img/block9.png");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.location-card__info::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  pointer-events: none;
}

.location-card__icon {
  position: relative;
  z-index: 1;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #faf8f3;
  color: #5B270B;
  border-radius: 50%;
  font-size: 20px;
}

.location-card__info h3,
.location-card__info p {
  position: relative;
  z-index: 1;
}

.location-card__info h3 {
  margin-bottom: 12px;
  color: #fff;
  font-family: 'Georgia', serif;
  font-size: 26px;
}

.location-card__address {
  color: #f8eadc;
  font-size: 17px;
  line-height: 1.7;
}

.location-card__map {
  min-height: 380px;
  background: #eee;
}

.location-card__map iframe {
  display: block;
}

@media (max-width: 768px) {
  .location-section {
    margin: 55px 0 40px;
  }

  .location-section__header {
    text-align: left;
  }

  .location-card {
    grid-template-columns: 1fr;
    border-radius: 8px;
  }

  .location-card__info {
    padding: 28px 22px;
  }

  .location-card__map {
    min-height: 320px;
  }

  .location-card__info h3 {
    font-size: 23px;
  }
}
