

.product-preview-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .product-preview {
    width: 240px;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    padding: 10px;
    transition: transform 0.2s ease;
  }

  .product-preview:hover {
    transform: translateY(-5px);
  }

  .product-preview img {
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
  }

  .full-view {
    display: none;
  }

  .full-view.active {
    display: flex;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }



  .rental-products {
    display: flex;
    flex-direction: column;
    align-items: center;

  }

  .back-button {
  padding: 10px 20px;
  background-color: #ffffff;
  color: #50AB38;
  border: 2px solid #50AB38;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1px;
}

.back-button:hover {
  background-color: #50AB38;
  color: #ffffff;
}


  .product-card {
    display: flex;
    width: 90%;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
    padding: 30px;
    box-sizing: border-box;
    margin-top: 2rem;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 1rem;
  }

  .product-header {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-start;
  }

  .product-image {
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .product-video {
    width: 280px;
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .product-details {
    flex-grow: 1;
  }

  .product-details h2 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #333;
  }

  .product-description {
    margin-top: 20px;
    font-size: 16px;
    color: #555;
  }

  .price-table {
    width: 100%;
    }

    thead{
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

  .price-table th,
  .price-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
    font-size: 16px;
  }

  .price-table th {
    background-color: #4fb933;
    color: #222;
    background-color: #4fb933;
    color: #ffffff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    text-align: center;
  }

  .price-table td {
    color: #444;
    text-align: center;
  }


  .contact-toggle {
  margin: 5px 0;
  width: 100%;
  padding: 10px 30px;
  background-color: #50AB38;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 26px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-toggle:hover {
  background-color: #3d9624;
}

.contact-bar {
  position: fixed;
  top: -100px;
  left: 0;
  right: 0;
  background-color: #fdf7f1;
  padding: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
  transition: top 0.3s ease-in-out;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-bar.visible {
  top: 0;
}

.contact-button {
  padding: 10px 25px;
  background-color: #50AB38;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.3s;
}

.contact-button:hover {
  background-color: #3d9624;
}
.block-call-table{
    width: 40%;
    margin-top: 3.5rem;
}
.block-heder-name-photo-video-table{
    display: flex;
    justify-content: space-between;
}


#mediaModal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  #mediaModal.active {
    display: flex;
  }

  #mediaModalClose {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
  }

  @media (max-width: 1024px) {
  .product-card {
    flex-direction: column;
    padding: 20px;
  }
  .block-heder-name-photo-video-table {
    flex-direction: column;
    align-items: center;
  }
  .block-call-table {
    width: 100%;
    margin-top: 2rem;
  }
  .product-image, .product-video {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .product-preview {
    width: 100%;
    max-width: 340px;
    height: 450px;
    padding-bottom: 4rem;
  }
  .phone-block {
    margin-left: 1rem;
    }

  .product-preview img {
    height: 85%;
  }

  .product-card {
    width: 100%;
    padding: 16px;
  }

  .product-description {
    font-size: 15px;
  }
  .stik-up {
    display: none;
  }
  .lang-menu{
    z-index: 2000;
    width: 95%;
  }

  .price-table th,
  .price-table td {
    padding: 10px;
    font-size: 14px;
  }

  #mediaModal {
    padding: 20px;
  }

  #mediaModalClose {
    font-size: 32px;
    top: 10px;
    right: 16px;
  }

  .contact-button {
    font-size: 14px;
    padding: 10px 20px;
  }
}


  @media (max-width: 768px) {
    .product-header {
      flex-direction: column;
      align-items: center;
    }

    .product-image,
    .product-video {
      width: 100%;
      height: auto;
    }
  }
