/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-green: #6cb043;
  --dark-green: #188542;
  --light-green: #b7e09f;
  --bg-light: #f3f9ef;
  --bg-secondary: #eff7ea;
  --white: #ffffff;
  --text-black: #000000;
  --text-gray: #565656;
  --font-inter: "Inter", sans-serif;
  --font-commissioner: "Commissioner", sans-serif;
  --font-calibri: "Calibri", sans-serif;
}

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
  padding: 25px 0 10px;
}
.breadcrumbs span {
  font-weight: 700;
  font-size: 13px;
  color: var(--primary-green);
}

/* ========== PRODUCT HERO ========== */
.product-hero {
  padding: 10px 0 30px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.product-hero-left {
  flex: 0 0 397px;
  max-width: 100%;
}
.product-hero-left .image-wrapper {
  border: 1px solid var(--primary-green);
  border-radius: 5px;
  padding: 20px;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-hero-left .image-wrapper img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
}
.product-hero-right {
  flex: 1;
  min-width: 300px;
}
.product-hero-right h1 {
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 10px;
}
.product-hero-right .discount-note {
  font-family: var(--font-calibri);
  font-size: 20px;
  color: #4e4e4e;
  margin-bottom: 25px;
}
.product-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}
.feature-item {
  position: relative;
  background: linear-gradient(180deg, #ffffff 38.79%, #d6ebc9 187.61%);
  box-shadow: 0px 4px 12.7px #e2f0da;
  border-radius: 8px;
  padding: 20px 10px;
  text-align: center;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 110px;
}
.feature-item:hover {
  transform: translateY(-5px);
}
.feature-item .icon {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
.feature-item .icon svg {
  width: 36px;
  height: 36px;
  fill: var(--primary-green);
}
.feature-item h4 {
  font-weight: 700;
  font-size: 15px;
  color: #050505;
  line-height: 1.2;
}
.nav-arrows {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  pointer-events: none;
  padding: 0 5px;
}
.nav-arrows button {
  pointer-events: auto;
  width: 32px;
  height: 32px;
  background: var(--light-green);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.3s;
}
.nav-arrows button:hover {
  background: var(--primary-green);
}
.nav-arrows button svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.product-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--primary-green);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 5px;
  font-family: var(--font-commissioner);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  transition: background 0.3s;
}
.btn-primary:hover {
  background: #5a9437;
}
.btn-secondary {
  background: var(--white);
  color: var(--primary-green);
  padding: 14px 30px;
  border: 1px solid var(--primary-green);
  border-radius: 5px;
  font-family: var(--font-commissioner);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  transition: all 0.3s;
}
.btn-secondary:hover {
  background: var(--primary-green);
  color: var(--white);
}

/* ========== REPAIR ISSUES ========== */
.repair-section {
  padding: 40px 0;
}
.repair-section h2 {
  font-weight: 800;
  font-size: 19px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.repair-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.repair-card {
  background: linear-gradient(90.49deg, #efefef 29.64%, #ffffff 171.7%);
  border: 1px solid var(--light-green);
  border-radius: 5px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.3s;
  min-height: 153px;
  position: relative;
}

.repair-card:hover {
  background: linear-gradient(287.97deg, #188542 31.55%, #6cb043 87.28%);
  border-radius: 5px;
}

.repair-card:hover .top .title{
    color: #fff;
}

.repair-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.repair-card:hover .bottom .price {
    color: #fff;
}


.repair-card .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.repair-card .top .title {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-black);
  max-width: 70%;
}
.repair-card .top .icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
}
.repair-card .top .icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}
.repair-card .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}
.repair-card .bottom .price {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  font-size: 22px;
  color: var(--text-black);
}
.repair-card .bottom .price .from {
  font-size: 16px;
  color: #737373;
  font-weight: 600;
}
.repair-card .bottom .btn-order {
  background: var(--white);
  border: 1px solid var(--light-green);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  padding: 6px 16px;
  font-family: var(--font-commissioner);
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-green);
  transition: all 0.3s;
}
.repair-card .bottom .btn-order:hover {
  background: var(--primary-green);
  color: var(--white);
}

/* Active / First Card */
.repair-card.active {
  background: linear-gradient(287.97deg, #188542 31.55%, #6cb043 87.28%);
  border-color: transparent;
}
.repair-card.active .top .title,
.repair-card.active .bottom .price,
.repair-card.active .bottom .price .from {
  color: var(--white);
}
.repair-card.active .top .icon svg {
  fill: #a0ce84;
}
.repair-card.active .bottom .btn-order {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid var(--white);
  color: var(--white);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.08);
}
.repair-card.active .bottom .btn-order:hover {
  background: var(--white);
  color: var(--dark-green);
}

/* ========== REASONS ========== */
.reasons-section {
  padding: 40px 0;
  background: var(--bg-secondary);
}
.reasons-section h2 {
  text-align: center;
  font-weight: 800;
  font-size: 19px;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.reason-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 38.79%, #d6ebc9 187.61%);
  box-shadow: 0px 4px 12.7px #e2f0da;
  border-radius: 8px;
  padding: 30px 15px 20px;
  text-align: center;
  transition: transform 0.3s;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.reason-card:hover {
  transform: translateY(-5px);
}
.reason-number {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(333.9deg, #6cb043 29.36%, #188542 142.01%);
  border: 1px solid #95c479;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-inter);
  font-weight: 800;
  font-size: 30px;
  color: var(--white);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.reason-icon {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reason-icon svg {
  width: 50px;
  height: 50px;
}
.reason-card h4 {
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-green);
  line-height: 1.2;
}

/* ========== CONSULTATION FORM ========== */
.consultation-section {
  padding: 40px 0;
}
.consultation-wrapper {
  background: linear-gradient(268.14deg, #6cb043 20.62%, #188542 134.98%);
  border-radius: 5px;
  padding: 40px;
  color: var(--white);
}
.consultation-wrapper h3 {
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 5px;
}
.consultation-wrapper p {
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 25px;
  color: var(--white);
}
.consultation-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.consultation-form input {
  background: var(--white);
  border: 1px solid var(--white);
  border-radius: 5px;
  padding: 12px 15px;
  font-family: var(--font-commissioner);
  font-weight: 500;
  font-size: 16px;
  color: var(--text-black);
  width: 100%;
  outline: none;
}
.consultation-form input::placeholder {
  color: #888;
}
.consultation-form .full-width {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.consultation-form .consent {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 10px;
  color: var(--white);
  cursor: pointer;
}
.consultation-form .consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
}
.btn-consultation {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--white);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 5px;
  font-family: var(--font-commissioner);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  transition: all 0.3s;
}
.btn-consultation:hover {
  background: var(--white);
  color: var(--dark-green);
}

/* ========== GALLERY ========== */
.gallery-section {
  padding: 40px 0;
}
.gallery-section h2 {
  text-align: center;
  font-weight: 800;
  font-size: 19px;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1.4 / 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.pagination-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #afafaf;
  cursor: pointer;
  transition: background 0.3s;
}
.dot.active {
  background: var(--primary-green);
}
.dot:hover {
  background: var(--light-green);
}

/* ========== CONTACTS ========== */
.contacts-section {
  padding: 40px 0;
  background: transparent;
}
.contacts-section h2 {
  font-weight: 800;
  font-size: 19px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.contacts-wrapper {
  display: flex;
  gap: 30px;
  background: var(--white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.contacts-info {
  flex: 0 0 350px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.contact-item .icon {
  width: 30px;
  height: 30px;
  background: var(--primary-green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}
.contact-item .icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.contact-item .text {
  font-family: var(--font-commissioner);
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-green);
}
.contact-item .text span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-black);
}
.contacts-map {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  min-height: 300px;
  background: #ddd;
}
.contacts-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .product-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .reasons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .repair-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contacts-wrapper {
    flex-direction: column;
  }
  .contacts-info {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .product-hero {
    flex-direction: column;
    align-items: center;
  }
  .product-hero-left {
    flex: 1;
    width: 100%;
    max-width: 400px;
  }
  .reasons-grid {
    grid-template-columns: 1fr 1fr;
  }
  .consultation-form {
    grid-template-columns: 1fr;
  }
  .consultation-form .full-width {
    grid-column: 1;
    flex-direction: column;
    align-items: stretch;
  }
  .product-actions {
    flex-direction: column;
    align-items: center;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  .nav-arrows {
    display: none;
  }
}

@media (max-width: 480px) {
  .product-features {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .reasons-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .btn-consultation {
    width: 100%;
    text-align: center;
  }
}
