

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;

}

input:focus {
  outline: none;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}



/* Телефонный инпут */
.phone-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem;
  background: transparent;
  border: 2px solid #1f2937;
  border-radius: 8px;
  color: white;
}
.phone-input:focus {
  border-color: #0000ff;
}

@media (max-width: 768px) {
  .image-text-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .overlap-image {
    position: static;
    margin: 0 10px;
    max-width: 80px;
  }

  .text-content {
    margin-top: 1rem;
    max-width: 90%;
  }
}


.ornament,
.ornamentfutbolky,
.ornamentnashiv,
.ornamenthydi,
.ornamentpartner,
.ornamentline {
  width: 100%;
  overflow: hidden;
}

.ornament img,
.ornamentfutbolky img,
.ornamentnashiv img,
.ornamenthydi img,
.ornamentpartner img,
.ornamentline img,
.ornamenttkan img {
  width: 100%;
  height: auto;
  display: block;
}

.image-text-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  max-width: 1200px;
  margin: auto;
}

.images {
  position: relative;
  width: 200px;
  height: 200px;
}

.overlap-image {
  position: absolute;
  width: 250px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.text-content {
  max-width: 500px;
}

.text-content h2 {
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.text-content p {
  font-size: 18px;
  color: #444;
  line-height: 1.6;
}


.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
  padding: 0 1rem;
}



@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

.product-item {
  text-align: center;
}

.product-image {
  width: 100px;
  margin: 0 auto;
}

.product-image:hover {
  transform: scale(1.05);
  content: url('x-red.svg')
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-item p {
  margin-top: 0.5rem;
  font-weight: 500;
}


.patches-section {
  background-color: #000;
  padding: 4rem 1rem;
  color: #fff;
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.patches-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  gap: 2.5rem;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.patch-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 0rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.patch-card:hover {
  transform: scale(1.10);
  box-shadow: 0 15px 25px rgba(255,255,255,0.1);
}

.patch-image {
  width: 100%;
  height: 100%;
  object-fit: contain;;
  display: block;
}

@media (max-width: 640px) {
  .patches-grid {
    grid-template-columns: 1fr; /* одна колонка */
  }
}

.order-button-wrapper {
  margin-top: 3rem;
}

.order-button {
  background-color: #fff;
  color: #000;
  padding: 0.75rem 2.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.order-button:hover {
  background-color: #e5e5e5;
}
