.product-section {
  background: #fff;
  padding-bottom: 12rem;
  padding-top: 8rem;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.product-gallery {
  position: relative;
  overflow: hidden;
}
.main-image {
  position: relative;
  overflow: hidden;
}
.main-image img {
  width: 100%;
  border-radius: 1rem;
}
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 0.1rem solid #ccc;
  border-radius: 50%;
  width: 6.4rem;
  height: 6.4rem;
  cursor: pointer;
  padding: 0;
}
.arrow.prev {
  left: 1rem;
}
.arrow.next {
  right: 1rem;
}
.thumbnail-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.thumbnail-row img {
  width: auto;
  max-height: 17rem;
  object-fit: cover;
  border: 0.1rem solid transparent;
  border-radius: 0.6rem;
  cursor: pointer;
  transition: border 0.2s ease;
  max-width: 17rem;
}

.thumbnail-row img.active,
.thumbnail-row img:hover {
  border-color: #001a66;
}

.breadcrumbs ol {
  display: flex;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  align-items: center;
  margin-left: 0;
  margin-bottom: 0;
  font-size: 2rem;
  line-height: 120%;
  font-family: "WorkSans";
  font-weight: 400;
}
.breadcrumbs li a,
.breadcrumbs li span {
  color: #021859;
  text-decoration: none;
  font-size: 1.6rem;
  font-family: "WorkSans";
}
.breadcrumbs li span {
  color: #049dbf;
}
.breadcrumbs li {
  line-height: 3rem;
  margin-bottom: 2rem;
}
.breadcrumbs li + li::before {
  content: "›";
  color: #021859;
  font-family: "WorkSans";
  margin-right: 1rem;
  font-size: 2.2rem;
}

.title {
  font-size: 4rem;
  color: #021859;
  font-weight: 700;
  font-family: "LibreBaskerville-Bold";
  margin-bottom: 1.5rem;
}
.product-description p {
  color: #021859;
  font-size: 2rem;
  line-height: 120%;
  margin-bottom: 2rem;
  font-family: "WorkSans";
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: "LibreBaskerville-Bold";
}
.current-price {
  font-size: 4rem;
  font-weight: 700;
  font-family: "LibreBaskerville-Bold";
  color: #049dbf;
}
.old-price {
  color: #afafaf;
  font-size: 2.8rem;
  text-decoration: line-through;
}
.product-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.form-group label {
  color: #021859;
  font-size: 2rem;
  font-family: "WorkSans-SemiBold";
  font-weight: 700;
}
select,
input[type="number"] {
  border: 0.1rem solid #093773;
  border-radius: 0.6rem;
  padding: 1rem 2.4rem;
  line-height: 100%;
  width: 40rem;
  height: 5rem;
  color: #093773;
  font-size: 1.8rem;
  font-family: "WorkSans-SemiBold";
  font-weight: 700;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23021859' xmlns='http://www.w3.org/2000/svg' width='16' height='10'><path d='M1 1l7 7 7-7'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1.2rem;
  appearance: none;
}
.qty-btn {
  width: 3rem;
  height: 3rem;
  background: #f2f4f8;
  border: 0.1rem solid #ccd5e0;
  border-radius: 0.6rem;
  font-size: 2rem;
  cursor: pointer;
}
.btn-add {
  background: #f0f6ff;
  padding: 1.6rem;
  border-radius: 0.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  border: 0.1rem solid #093773;
  color: #093773;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40rem;
  font-size: 1.8rem;
}
.btn-add svg {
  margin-left: 0.5rem;
  width: 2.4rem;
  height: 2.4rem;
}
.btn-add:hover {
  background: #afc3f7;
  color: #093773;
}
.quantity-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-family: "Segoe UI", sans-serif;
}
.quantity-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0.1rem solid #001a66;
  border-radius: 0.6rem;
  padding: 0.4rem 0.4rem;
  max-width: 40rem;
  height: 5.3rem;
}
.qty-btn {
  background: none;
  border: none;
  font-size: 2.6rem;
  font-weight: 300;
  color: #001a66;
  cursor: pointer;
  transition: color 0.2s ease;
  width: 40rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover {
  color: #001a6678;
}
.quantity-box input {
  border: none;
  width: 25rem;
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  color: #001a66;
  background: transparent;
}
.quantity-box input:focus {
  outline: none;
}
/* 🔹 Убираем стрелки в Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* 🔹 Убираем стрелки в Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
