@import url("https://fonts.googleapis.com/css2?family=Sulphur+Point:wght@300;400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");


*{
    margin: 0;
    padding: 0;
}

.inter {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}
body {
  font-family: "Inter", sans-serif;
  background: #fafafa;
}

.burger {
  white-space: nowrap;
  background-color: white;
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  z-index: 7;
  transition: all 0.5s ease;
  overflow: hidden;
}

/* общий стиль кнопки-иконки */
.icon-button {
  width: 40px;
  /* фиксированный размер */
  height: 40px;
  display: flex;
  /* центрируем вложенное img */
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* делаем круг */
  cursor: pointer;
  transition: background 0.3s;
}

/* фон по наведению */
.icon-button:hover {
  background: rgba(0, 0, 0, 0.1);
  /* легкий серый */
}

/* саму картинку ограничиваем размерами */
.icon-button img {
  width: 20px;
  /* подберите под свой дизайн */
  height: 20px;
  display: block;
}

#cart_icon:hover {
  background: rgba(0, 0, 0, 0.1);
  padding: 10px;
}

.burger.open {
  width: 20%;
  padding: 20px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.list {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 15px;
}

.list a {
  color: rgb(60, 60, 60);
  text-decoration: none;
}

.other-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.other-links a {
  text-decoration: none;
  color: rgb(60, 60, 60);
}

.phone_number {
  color: black;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  gap: 5px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
}

header span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

header span,
.logo h1 {
  font-family: "Sulphur Point", sans-serif;
  font-weight: 400;
  font-size: 25px;
}

.icons {
  display: flex;
}

.icons img {
  width: 25px;
  height: 25px;
}
/* 1. Make the container a 5-column grid */
.photoZoneContainer {
  min-height: 90vh;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 20px;
}
.photoZoneContainer .card {
  text-align: center;
}

.photoZoneContainer .card-body {
  display: flex;
  justify-content: space-between;
}
.card-body{
  padding-top: 5px;
}

.card-body p{
  display: flex;
  align-items: center;
}

.card-img img{
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 7px;
}
.card-body button{
  grid-column: 2/3;
  grid-row: 1/3;
  align-self: center;
  justify-self: end;
  padding: 8px 16px;
  background-color: #0fb300;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 10px;
  transition: 0.3s;
}
.card-body button:hover {
  background-color: #0d9001;
}
.title{
  text-decoration: none;
  color: black;
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
}

.modal-window {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 90%;
  width: 320px;
  z-index: 1001;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.modal-close {
  position: absolute;
  top: 0.5rem; right: 0.5rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.modal-title {
  margin: 0 0 0.5rem;
}

.modal-price {
  font-weight: bold;
  margin: 0 0 0.5rem;
}

.modal-desc {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.modal-actions {
  display: flex;
  gap: 0.5rem;
}

.modal-actions button {
  flex: 1;
  padding: 0.5rem;
  border: none;
  border-radius: 7px;
  cursor: pointer;
}

#addToCartBtn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: white;
}

#addToCartBtn {
  background: black;
  color: white;
  display: flex;
  gap: 5px;
  justify-content: center;
}

#orderSingleBtn {
  background: #0fb300;
  color: white;
}



.attetion{
  background-color: rgb(255, 229, 229);
  height: 110px;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.attetion p{
  text-align: center;
}

.fixed-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.fixed-buttons a {
  background-color: #0fb300;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.fixed-buttons a:hover {
  background-color: #0d9001;
}

.fixed-buttons a img {
  width: 24px;
}

.scroll-to-top {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 24px;
  background-color: #d7d7d7;
  color: #000000b4;
  font-size: 30px;
  font-family: sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0.8;
  transition: opacity 0.2s;
  z-index: 1000;
}

.scroll-to-top:hover {
  opacity: 1;
}
.footer{
  height: 30vh;
  display: flex;
  justify-content: space-around;
  padding-top: 50px;
}
hr{
  color: gray;
  margin-top: 40px;
}
.col{
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.row{
  display: flex;
  gap: 20px;
}
.col h5{
  color: gray;
}
.col a{
  color: gray;
}
#photozone {
  text-decoration: none;
  margin-top: 12px;
}

@media only screen and (max-width:1024px){
  .photoZoneContainer{
    grid-template-columns: repeat(4, 1fr);
  }
}
@media only screen and (max-width: 825px) {
  .photoZoneContainer {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .row{
    justify-content: center;
  }
}
@media only screen and (max-width: 545px) {
  .photoZoneContainer {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-img img{
    height: 280px;
  }
}
@media only screen and (max-width: 375px) {
  .card-img img{
    height: 250px;
  }
  .card-title{
    font-size: 12px;
  }
  .title{
    font-size: 20px;
  }
  .photoZoneContainer{
    padding: 10px;
  }
}