:root {
  --green: #2C6A2A;
  --gold: #D8B45A;
  --dark: #2B2B2B;
  --light: #F7F7F7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--dark);
  background: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HERO */
.hero {
  position: relative;
  height: 80vh;
  min-height: 520px;
  border-radius: 24px;
  margin: 20px;
  overflow: hidden;
}

.hero-bg,
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.55)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 700px;
}

.brand {
  font-family: "Montserrat", sans-serif;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand span {
  font-size: 32px;
}

.hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin-top: 10px;
}

.hero-subtitle {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.5;
  opacity: 0.95;
}

.btn-primary {
  margin-top: 28px;
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 500;
  text-decoration: none;
  width: fit-content;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: #245723;
  transform: translateY(-2px);
}

.btn-new
{
  background: #e3ba17;
}


.product-section {
  padding: 60px 20px;
  background: #ffffff;
  font-family: Arial, sans-serif;
}

.product-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.product-info,
.product-specs {
  flex: 1 1 300px;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.product-info h3,
.product-specs h3 {
  color: #27ae60;
  margin-bottom: 20px;
}

.product-info ul {
  padding-left: 18px;
}

.product-info li {
  margin-bottom: 10px;
  color: #34495e;
}

.note {
  margin-top: 15px;
  font-size: 0.95rem;
  color: #7f8c8d;
}

.spec-item {
  margin-bottom: 15px;
}

.spec-item span {
  display: block;
  font-size: 0.9rem;
  color: #555;
}

.dose {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
}

.dose p {
  margin: 5px 0;
}

.small {
  font-size: 0.85rem;
  color: #777;
}

@media (max-width: 900px) {
  .product-grid {
    flex-direction: column;
  }
}





/* FRACTIONS – UPDATED */
.fractions {
  margin-top: 90px;
}

.fractions-list {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  
  /* ключове */
  padding: 30px 20px 25px;
}

.fraction-card {
  min-width: 240px;
  background: #ffffff;
  border-radius: 20px;
  padding: 18px;

  cursor: pointer;

  border: 1px solid rgba(44, 106, 42, 0.15);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.fraction-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;

  background: linear-gradient(
    180deg,
    #ffffff,
    #f6f9f6
  );

  border-radius: 14px;
  padding: 12px;
}

.fraction-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
}

.fraction-label {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--green);
}

.fraction-mm {
  font-size: 14px;
  color: #666;
}

.fractions-note {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: #666;
  padding: 0px 20px 40px;
}

/* Hover / Focus */
.fraction-card:hover {
  transform: translateY(-8px);

  border-color: var(--gold);

  box-shadow:
    0 12px 30px rgba(44, 106, 42, 0.18),
    0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Mobile tuning */
@media (max-width: 768px) {
  .fraction-card {
    min-width: 200px;
  }

  .fraction-card img {
    height: 140px;
  }
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .brand {
    font-size: 42px;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero {
    height: 70vh;
  }
}



/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 1000;
  padding: 20px;
}


.modal-overlay.active {
  display: flex;
}

.modal {
  background: #ffffff;
  color: #2b2b2b;

  max-width: 1100px;
  width: 100%;

  border-radius: 22px;
  padding: 32px 34px;

  position: relative;

  box-shadow:
    0 30px 70px rgba(44, 106, 42, 0.18),
    0 10px 25px rgba(0, 0, 0, 0.06);
}


.modal-title {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 600;

  color: var(--green);
  margin-bottom: 24px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;

  width: 38px;
  height: 38px;

  border-radius: 50%;
  border: 1px solid rgba(44, 106, 42, 0.2);

  background: #ffffff;
  color: var(--green);

  font-size: 16px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: #f3f7f3;
}

/* TABLE */
.table-wrapper {
  overflow-x: auto;
}

.fraction-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.fraction-table th,
.fraction-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e6eee6;
  text-align: center;
}

.fraction-table th:first-child,
.fraction-table td:first-child {
  text-align: left;
  color: #444;
  font-weight: 500;
}

.fraction-table th {
  font-weight: 600;
  color: var(--green);
  background: #f4f9f4;
}

/* Highlighted column */
.fraction-table .active-col {
  background: rgba(44, 106, 42, 0.08);
  box-shadow: inset 0 0 0 1px rgba(44, 106, 42, 0.25);
  font-weight: 500;
}

@media (max-width: 768px) {
  .modal {
    padding: 24px 20px;
  }

  .fraction-table {
    font-size: 13px;
  }
}

/* Основний стиль секції */
  .feedback-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    font-family: 'Arial', sans-serif;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    color: #2c3e50;
  }

  .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #7f8c8d;
  }

  .feedback-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  /* Лівий блок */
  .feedback-info {
    flex: 1 1 300px;
    min-width: 280px;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  }

  .feedback-info h3 {
    margin-bottom: 20px;
    color: #27ae60;
  }

  .feedback-info p {
    margin-bottom: 10px;
    color: #34495e;
  }

  .feedback-info a {
    color: #2980b9;
    text-decoration: none;
  }

  /* Форма */
  .feedback-form {
    flex: 2 1 400px;
    min-width: 300px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .feedback-form label {
    font-weight: bold;
    color: #2c3e50;
  }

  .feedback-form input,
  .feedback-form textarea {
    padding: 12px;
    border: 1px solid #bdc3c7;
    border-radius: 8px;
    font-size: 1rem;
    resize: none;
  }

  .feedback-form button {
    background-color: #2f7d32;
    color: #ffffff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
  }

  .feedback-form button:hover {
    background-color: #215423;
    transform: translateY(-2px);
  }

  /* Адаптивність */
  @media (max-width: 900px) {
    .feedback-content {
      flex-direction: column;
    }
  }


  /* Форматування телефонів */
.phones {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.phone-list {
  display: flex;
  flex-direction: column;
  gap: 5px; /* відстань між телефонами */
}


.feedback-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    font-family: 'Arial', sans-serif;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    color: #2c3e50;
  }

  .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #7f8c8d;
  }

  .feedback-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .feedback-info {
    flex: 1 1 300px;
    min-width: 280px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  }

  .feedback-info h3 {
    margin-bottom: 20px;
    color: #27ae60;
  }

  .feedback-info p {
    margin-bottom: 10px;
    color: #34495e;
  }

  .feedback-info strong {
    color: #c0392b;
  }

  .feedback-form {
    flex: 2 1 400px;
    min-width: 300px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .feedback-form label {
    font-weight: bold;
    color: #2c3e50;
  }

  .feedback-form input,
  .feedback-form select {
    padding: 12px;
    border: 1px solid #bdc3c7;
    border-radius: 8px;
    font-size: 1rem;
  }



  @media (max-width: 900px) {
    .feedback-content {
      flex-direction: column;
    }
  }


/*СЕРТИФІКАТ ТА ЯКІСТЬ */
.cert-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  font-family: Arial, sans-serif;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  color: #555;
  margin-bottom: 40px;
  position: relative;
}

.cert-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cert-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px 20px;
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cert-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.cert-item img {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}

.cert-item span {
  font-weight: bold;
  color: #2c3e50;
  text-align: center;
  font-size: 0.95rem;
}



/* MODAL INFO PRODUCT */
body {
  font-family: Inter, Arial, sans-serif;
}

.btn {
  padding: 10px 18px;
  background: #2f7d32;
  color: #fff;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #245723;
  transform: translateY(-2px);
}

.modalProduct-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modalProduct-overlay.active {
  display: flex;
}

.modalProduct {
  background: #fff;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  animation: scaleIn .25s ease;
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}

.modalProduct-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}

.modalProduct-header h2 {
  font-size: 20px;
}

.modalProduct-close {
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

.modalProduct-body {
  padding: 20px;
}

section {
  margin-bottom: 28px;
}

section h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #2f7d32;
}

ul {
  padding-left: 18px;
}

li {
  margin-bottom: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  border: 1px solid #ddd;
  padding: 8px;
}

th {
  background: #f3f6f4;
  text-align: left;
}


/*КНОПНА ВІДКРИТТЯ PRODUCTS - INFO */
.details-btn-wrapper {
  display: flex;
  justify-content: end;
  margin-top: 24px;
}


/* Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

/* Modal */
.modal {
  background: #fff;
  width: min(920px, 94vw);
  max-height: 90vh;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Header */
.modal-header {
  flex-shrink: 0;
  padding: 18px 22px;
  border-bottom: 1px solid #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h2 {
  font-size: 18px;
}

.modal-close {
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

/* BODY = СКРОЛ */
.modal-body {
  padding: 20px 22px 26px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Sections */
.modal-body section {
  margin-bottom: 28px;
}

.modal-body h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
}

/* 🔒 Блокуємо сторінку */
body.modal-open {
  overflow: hidden;
}

/* 📱 Mobile */
@media (max-width: 640px) {
  .modal {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .modal-header h2 {
    font-size: 16px;
  }

  table {
    font-size: 13px;
  }
}


/*Products Ashphos варіанти в Model*/
.product-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.product-card {
  background: #f4f9f4;
  border-radius: 14px;
  padding: 18px 18px 20px;
  border-left: 4px solid var(--green);
}

.product-mark {
  font-size: 18px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 14px;
  line-height: 1.3;
}

.product-row {
  margin-bottom: 10px;
}

.product-row span {
  display: block;
  font-size: 12px;
  color: #6b6b6b;
  margin-bottom: 2px;
}

.product-row p {
  font-size: 14px;
  color: #333;
  margin: 0;
}

/* Mobile tweaks */
@media (max-width: 480px) {
  .product-card {
    padding: 16px;
  }

  .product-mark {
    font-size: 16px;
  }
}



/*MODAL SERTIFICATE*/
.modalcert {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);

  display:none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modalcert.active {
  display: flex;
}

.modalcert-overlay {
  position: absolute;
  inset: 0;  
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
}

.modalcert-content {
  position: relative;
  width: 92vw;
  height: 88vh;
  max-width: 1100px; /* обмеження для великих екранів */
  max-height: 90vh;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.modalcert-content iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
}

.modalcert-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #000;
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}
/*СЕРФИТІКА АДАПТАЦІЯ*/
@media (min-width: 768px) {
  .modalcert-content {
    width: 85vw;
    height: 85vh;
    border-radius: 18px;
  }
}
@media (min-width: 1024px) {
  .modalcert-content {
    width: 900px;
    height: 85vh;
  }
}
@media (min-width: 1440px) {
  .modalcert-content {
    width: 95vw;
    height: 95vh;
  }
}






/*PACKING BLOCK*/
/* SECTION */
.packaging-section {
  padding: 80px 20px;
  background: #ffffff; /* як у решти сторінки */
}

/* GRID */
.packaging-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

/* CARD */
.packaging-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.packaging-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.12);
}

/* IMAGE */
.packaging-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* CONTENT */
.packaging-content {
  padding: 26px 28px 30px;
}

.packaging-content h3 {
  font-size: 21px;
  font-weight: 600;
  color: var(--green); /* твій основний зелений */
  margin-bottom: 6px;
}

.packaging-weight {
  font-weight: 600;
  color: #6b7f73; /* нейтральний сіро-зелений */
  margin-bottom: 12px;
}

.packaging-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

@media (max-width: 768px) {
  .packaging-grid {
    grid-template-columns: 1fr;
  }

  .packaging-image img {
    height: 200px;
  }
}