    html {
      scroll-behavior: smooth;
    }

    :root {
      --bg-color: #FDFBF7;
      --text-main: #333333;
      --text-light: #777777;
      --accent-green: #7DAB7A;
      --accent-green-light: #EEF4EE;
      --border-color: #EAEAEA;
    }

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

    body {
      font-family: 'Helvetica Neue', Arial, sans-serif;
      background-color: var(--bg-color);
      color: var(--text-main);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    p {
      margin-bottom: 20px;
    }

    /* HEADER */
    .site-header {
      background-color: #ffffff;
      border-bottom: 1px solid var(--border-color);
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    }

    .header-container {
      max-width: 1000px;
      margin: 0 auto;
      padding: 15px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      font-size: 24px;
      font-weight: 800;
      color: var(--text-main);
      text-decoration: none;
      letter-spacing: -0.5px;
    }

    .logo span {
      color: var(--accent-green);
      font-weight: 400;
    }

    .main-nav {
      display: flex;
      gap: 25px;
    }

    .main-nav a {
      width: 100%;
      padding: 15px 20px;
      text-align: center;
      border-top: 1px solid #f6f8f7;

      text-decoration: none !important;
      color: var(--text-main) !important;
      background-color: transparent !important;
      outline: none !important;
      -webkit-tap-highlight-color: transparent;
    }

    .main-nav a:hover {
      color: var(--accent-green);
    }
    .main-nav a:active, 
    .main-nav a:visited {
      color: var(--text-main) !important;
    }

    .mobile-menu-icon {
      display: none;
      font-size: 24px;
      cursor: pointer;
      color: var(--text-main);
    }

    /* MAIN CONTENT & HERO */
    .main-content {
      max-width: 800px;
      margin: 0 auto;
      padding: 30px 20px;
    }

    .breadcrumbs {
      font-size: 13px;
      color: var(--text-light);
      margin-bottom: 20px;
    }

    .breadcrumbs a {
      color: var(--accent-green);
      text-decoration: none;
    }

    .breadcrumbs a:hover {
      text-decoration: underline;
    }

    .hero-title {
      font-size: 2.5rem;
      line-height: 1.2;
      color: #222222;
      margin-bottom: 15px;
      letter-spacing: -0.5px;
    }

    .hero-subtitle {
      font-size: 1.2rem;
      color: var(--text-light);
      margin-bottom: 25px;
      font-style: italic;
    }

    .article-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 30px;
    }

    .meta-tag {
      background-color: var(--accent-green-light);
      color: #5A8358;
      padding: 6px 14px;
      border-radius: 50px;
      font-size: 14px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .hero-image {
      width: 100%;
      height: auto;
      border-radius: 12px;
      box-shadow: 0 5px 20px rgba(0,0,0,0.06);
      margin-bottom: 40px;
      display: block;
    }

    h2 {
      font-size: 1.8rem;
      border-bottom: 2px solid var(--accent-green);
      padding-bottom: 10px;
      display: inline-block;
      margin-top: 40px;
      margin-bottom: 20px;
      color: #222222;
    }

    h3 {
      font-size: 1.4rem;
      margin-top: 30px;
      margin-bottom: 15px;
      color: #222222;
    }

    ul {
      padding-left: 20px;
      margin-bottom: 20px;
    }

    ul li {
      margin-bottom: 10px;
    }

    .highlight-box {
      background-color: var(--accent-green-light);
      border-left: 5px solid var(--accent-green);
      padding: 20px;
      border-radius: 0 8px 8px 0;
      margin: 25px 0;
      font-style: normal;
    }

    /* TABLE & CARDS */
    .table-responsive {
      width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      margin: 30px 0;
      border-radius: 8px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.04);
      background: #fff;
    }

    table {
      width: 100%;
      min-width: 600px;
      border-collapse: collapse;
    }

    th, td {
      padding: 16px;
      text-align: left;
      border-bottom: 1px solid var(--border-color);
      font-size: 0.95rem;
      line-height: 1.5;
    }

    th {
      background-color: var(--accent-green);
      color: #ffffff;
      font-weight: 600;
    }

    tr:nth-child(even) {
      background-color: #FAF9F6;
    }

    tr:last-child td {
      border-bottom: none;
    }

    td strong {
      color: var(--accent-green-hover);
      font-size: 1.05rem;
    }

    /* TABLE OF CONTENTS */
    .toc-container {
      margin: 30px 0 40px 0;
     padding: 0;
    }

    .toc-title {
      margin-top: 0;
      margin-bottom: 12px;
      font-size: 1.1rem;
      color: #222222;
      font-weight: 600;
    }

    .toc-list {
      list-style-type: disc;
      padding-left: 20px;
      margin: 0;
    }

    .toc-list li {
      margin-bottom: 8px;
    }

    .toc-list a {
      text-decoration: none;
      color: #555555;
      font-size: 0.95rem;
      transition: color 0.2s ease;
    }

    .toc-list a:hover {
      color: #5C8D77;
      text-decoration: underline;
    }

    .toc-sublist {
      list-style-type: circle;
      padding-left: 20px;
      margin-top: 8px;
      margin-bottom: 0;
    }

    .toc-sublist li {
      margin-bottom: 8px;
      font-size: 0.9rem;
    }

    .toc-sublist li:last-child {
      margin-bottom: 0;
    }

    .toc-sublist a {
      color: #5C8D77;
    }

    /* CTA BUTTON */
    .cta-container {
      text-align: center;
      margin: 40px 0;
    }

    .btn-nano-slim {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background-color: #5C8D77;
      color: #ffffff;
      font-size: 1.15rem;
      font-weight: 600;
      text-decoration: none;
      padding: 18px 38px;
      border-radius: 50px;
      border: none;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(92, 141, 119, 0.25);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      max-width: 100%;
    }

    .btn-nano-slim:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(92, 141, 119, 0.35);
    }

    .btn-content {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
    }

    .btn-icon {
      margin-left: 10px;
      font-size: 1.2rem;
      transition: transform 0.3s ease;
    }

    .btn-nano-slim:hover .btn-icon {
      transform: translateX(5px);
    }

    .btn-nano-slim::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 250px;
      height: 250px;
      background-color: rgba(255, 255, 255, 0.25);
      border-radius: 50%;
      transform: translate(-50%, -50%) scale(0);
      animation: smooth-ripple 2.5s infinite ease-out;
    }

    @keyframes smooth-ripple {
      0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
      }
      60% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
      }
      100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
      }
    }

    .cta-subtext {
      margin-top: 12px;
      font-size: 0.85rem;
      color: #888888;
    }

    /* IMAGES & LISTS IN TEXT */
    .food-image {
      display: block;
      max-width: 100%;
      margin: 35px 0 15px 0;
      border-radius: 12px;
      object-fit: cover;
    }

    .food-text-list {
      padding-left: 20px;
      margin-top: 0;
      margin-bottom: 0;
    }

    .food-text-list li {
      line-height: 1.6;
      margin-bottom: 15px;
    }

    /* FAQ SECTION */
    .faq-section {
      margin-top: 50px;
      margin-bottom: 40px;
    }

    details {
      background-color: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: 10px;
      margin-bottom: 15px;
      padding: 15px 20px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.02);
      transition: all 0.3s ease;
    }

    details > summary {
      list-style: none;
    }

    details > summary::-webkit-details-marker {
      display: none;
    }

    summary {
      font-size: 1.1rem;
      font-weight: 600;
      color: #222222;
      cursor: pointer;
      position: relative;
      padding-right: 30px;
    }

    summary::after {
      content: '+';
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      font-size: 1.5rem;
      color: var(--accent-green);
      font-weight: 400;
    }

    details[open] summary::after {
      content: '−';
    }

    .faq-answer {
      margin-top: 15px;
      padding-top: 15px;
      border-top: 1px solid var(--border-color);
      font-size: 0.95rem;
      color: var(--text-main);
    }

    /* SCIENTIFIC SOURCES (E-E-A-T) */
    .scientific-sources {
      margin: 40px 0;
      padding: 20px;
      background-color: #f6f8f7;
      border-radius: 12px;
      font-size: 0.85rem;
      color: #555;
    }

    .scientific-sources h4 {
      margin-top: 0;
      margin-bottom: 15px;
      color: #2b332f;
    }

    .scientific-sources ol {
      padding-left: 20px;
      margin: 0;
    }

    .scientific-sources li {
      margin-bottom: 10px;
      line-height: 1.5;
    }

    .scientific-sources a {
      color: #5C8D77;
      text-decoration: underline;
    }

    .scientific-sources a:hover {
      text-decoration: none;
    }

    .ref-link {
      font-size: 0.75rem;
      vertical-align: super;
      color: #5C8D77;
      text-decoration: none;
      font-weight: bold;
      padding: 0 2px;
    }

    /* FOOTER */
    .site-footer {
      background-color: #2b332f;
      color: #a9b5af;
      padding: 40px 20px 20px;
      font-size: 0.85rem;
      text-align: center;
      margin-top: 50px;
    }

    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0 0 25px 0;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 20px;
    }

    .footer-links li {
      margin: 0;
    }

    .footer-links a {
      color: #ffffff;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.3s ease;
    }

    .footer-links a:hover {
      color: #5C8D77;
    }

    .footer-disclaimer {
      max-width: 800px;
      margin: 0 auto 20px;
      line-height: 1.5;
      font-size: 0.75rem;
      color: #7b8882;
    }

    .footer-copyright {
      border-top: 1px solid #3f4b45;
      padding-top: 20px;
      margin-top: 10px;
    }

    /* RESPONSIVENESS */
    @media (max-width: 768px) {
      .main-nav {
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        border-bottom: 1px solid var(--border-color);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
      }
      .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
      }
      .mobile-menu-icon {
        display: block;
        user-select: none;
      }
      .hero-title {
        font-size: 2rem;
      }
      .hero-subtitle {
        font-size: 1.1rem;
      }
      .article-meta {
        flex-direction: column;
        align-items: flex-start;
      }

      .table-responsive {
        box-shadow: none;
        background: transparent;
        margin: 20px 0;
      }

      table.mobile-cards,
      .mobile-cards tbody,
      .mobile-cards tr,
      .mobile-cards td {
        display: block;
        width: 100%;
      }

      table.mobile-cards {
        min-width: auto;
      }

      .mobile-cards thead {
        display: none;
      }

      .mobile-cards tr {
        margin-bottom: 20px;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.03);
        overflow: hidden;
      }

      .mobile-cards td {
        padding: 15px;
        text-align: left;
        border-bottom: 1px solid #F0F0F0;
        white-space: normal;
        word-wrap: break-word;
      }

      .mobile-cards td:last-child {
        border-bottom: none;
      }

      .mobile-cards td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--accent-green);
        margin-bottom: 5px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }
    }

    @media (max-width: 480px) {
      .btn-nano-slim {
        width: 100%;
        padding: 16px 20px;
      }
    }

      .ref-link {
       color: inherit !important;
       text-decoration: none !important;
       font-size: inherit !important;
       font-weight: normal !important;
       vertical-align: baseline !important;
       padding: 0 2px;
       cursor: pointer;
      }

      .ref-link:hover {
       text-decoration: none !important;
       opacity: 0.8;
      }

      /* (Terms / Privacy)*/
      .legal-page-container {
        max-width: 800px; /* Робимо вужчий контейнер для зручного читання */
        margin: 40px auto 60px;
        padding: 0 20px;
      }

      .legal-content {
       background-color: #ffffff;
       padding: 40px;
       border-radius: 12px;
       box-shadow: 0 4px 15px rgba(0,0,0,0.03);
       border: 1px solid var(--border-color, #E8ECEA);
      }

    .legal-content h1 {
      font-size: 2rem;
      color: #2b332f;
      margin-top: 0;
      margin-bottom: 10px;
    }

    .last-updated {
      font-size: 0.9rem;
      color: #888;
      margin-bottom: 30px;
      font-style: italic;
      border-bottom: 1px solid #eee;
      padding-bottom: 20px;
    }

    .legal-section {
     margin-bottom: 30px;
    }

    .legal-section h2 {
      font-size: 1.3rem;
      color: #2b332f;
      margin-bottom: 15px;
    }

    .legal-section p, 
    .legal-section li {
      font-size: 1rem;
      line-height: 1.6;
      color: #444;
      margin-bottom: 12px;
    }

    .legal-section ul {
      padding-left: 20px;
      margin-bottom: 15px;
    }

    .legal-section strong {
      color: #222;
    }

/* Moblile */
    @media (max-width: 768px) {
    .legal-content {
        padding: 25px 20px;
    }
    .legal-content h1 {
        font-size: 1.6rem;
    }
    .legal-section h2 {
        font-size: 1.2rem;
    }
}
/* =========================================
   СТОРІНКА ОГЛЯДУ (ОНОВЛЕНА)
   ========================================= */

.review-page {
    background-color: #ffffff;
    color: var(--text-main);
    line-height: 1.6;
}

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

.review-container.narrow {
    max-width: 800px;
}

.review-section {
    padding: 60px 0;
}

.bg-light {
    background-color: #F9FBFA; 
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
    color: #2b332f;
}

/* Головний екран */
.review-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding-top: 40px; /* Трохи відступу зверху */
}

.hero-label {
    display: inline-block;
    color: var(--accent-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.review-hero .hero-title {
    font-size: 2.6rem;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.2;
}

.review-meta {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}

.meta-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
}

.hero-visual {
    position: relative;
}

.hero-main-img {
    border-radius: 20px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.hero-floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #ffffff;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    max-width: 260px;
}

.hero-floating-card .stars {
    color: #FFB800;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Сітки карток */
.review-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.review-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 30px 20px;
    border-radius: 18px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card.bg-light {
    background: #F9FBFA;
    border: none;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.review-card h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #2b332f;
}

/* Склад */
.ingredient-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.ingredient-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.ing-info {
    padding: 20px;
}

.ing-info h4 {
    margin-top: 0;
    margin-bottom: 8px;
    color: var(--accent-green);
    font-size: 1.05rem;
}

.ing-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Інструкція (Як приймати) */
.instruction-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
}

.instruction-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.instruction-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.instruction-item strong {
    display: block;
    color: var(--accent-green);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.instruction-item p {
    margin: 0;
    color: #444;
}

/* FAQ */
.faq-accordion details {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-accordion summary {
    padding: 20px 25px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: #2b332f;
}

.faq-accordion summary::-webkit-details-marker {
    display: none;
}

.faq-accordion summary::after {
    content: '+';
    position: absolute;
    right: 25px;
    color: var(--accent-green);
    font-size: 1.5rem;
}

.faq-accordion details[open] summary::after {
    content: '−';
}

.faq-content {
    padding: 0 25px 25px;
    color: #666;
}

/* Відгуки (Статичні) */
.static-review {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-photos {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
}

.review-photos img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #eee;
}

.review-author {
    font-weight: 700;
    color: #2b332f;
    font-size: 1.05rem;
}

.static-review p {
    font-size: 0.95rem;
    color: #555;
    font-style: italic;
    margin: 0;
    line-height: 1.5;
}

/* Фінальний банер */
.final-banner {
    background: var(--accent-green);
    border-radius: 20px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.final-text h2 {
    color: #ffffff;
    margin-top: 0;
}

.custom-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.custom-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.light-list li { color: #ffffff; }
.light-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: bold;
}

.final-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 18px;
    text-align: center;
}

.final-card img {
    border-radius: 12px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 200px;
}

.final-price {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Адаптив */
@media (max-width: 900px) {
    .review-hero, .final-banner { grid-template-columns: 1fr; }
    .review-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .review-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero-floating-card { left: 0; bottom: -30px; }
}

@media (max-width: 600px) {
    .review-grid-4, .review-grid-3 { grid-template-columns: 1fr; }
    .final-banner { padding: 30px 20px; }
    .review-photos img { width: 50px; height: 50px; }
}

.material-symbols-outlined {
    color: var(--accent-green);
    font-size: 2.2rem; /* Розмір для великих карток */
    vertical-align: middle;
}

/* =========================================
   СПЛИВАЮЧЕ ВІКНО ЗАМОВЛЕННЯ (MODAL)
   ========================================= */

/* Затемнення фону */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 51, 47, 0.6); /* Темний фірмовий колір із прозорістю */
    backdrop-filter: blur(4px); /* Легке розмиття фону сайту */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Перекриває sticky-шапку та все інше */
    
    /* Спочатку вікно повністю сховане */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Клас, який вмикає відображення вікна (додається через JS) */
.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Контейнер модального вікна */
.modal-window {
    background-color: #ffffff;
    width: 100%;
    max-width: 440px; /* Оптимальна ширина блоку */
    border-radius: 18px; /* Ваше фірмове заокруглення з ТЗ */
    padding: 40px 30px 35px 30px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color, #E8E5DF);
    box-sizing: border-box;
    
    /* Ефект плавного виїзду вікна */
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Анімація вікна при відкритті оверлею */
.modal-overlay.is-open .modal-window {
    transform: scale(1) translateY(0);
}

/* Кнопка-хрестик */
.modal-close-x {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #999;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s ease;
    line-height: 1;
}

.modal-close-x:hover {
    color: var(--text-main, #333);
}

/* Контент всередині */
.modal-content {
    text-align: center;
}

.modal-brand {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-green, #6A8F52);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.modal-title {
    font-size: 2.2rem;
    margin: 0 0 10px 0;
    color: var(--text-main, #333);
    font-weight: 800;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
    margin: 0 0 25px 0;
}

/* Форма */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.modal-form input {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color, #E8E5DF);
    background-color: #FAF9F6;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.modal-form input:focus {
    outline: none;
    border-color: var(--accent-green, #6A8F52);
    background-color: #ffffff;
}

/* Текст під кнопкою (Дрібний та клікабельний) */
.modal-legal-text {
    font-size: 0.75rem;
    color: #999;
    line-height: 1.4;
    margin: 0;
    padding: 0 10px;
}

.modal-legal-text a {
    color: #777;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.modal-legal-text a:hover {
    color: var(--accent-green, #6A8F52);
}

/* Адаптація під маленькі екрани */
@media (max-width: 480px) {
    .modal-window {
        max-width: calc(100% - 30px); /* Відступи по боках на смартфонах */
        padding: 35px 20px 25px 20px;
    }
    .modal-title {
        font-size: 1.8rem;
    }
}

/* =========================================
   LIGHTBOX ДЛЯ КАРТИНОК (ZOOM)
   ========================================= */

/* Додаємо курсор-лупу на всі картинки в основному блоці, щоб люди розуміли, що їх можна клікати */
main img {
    cursor: zoom-in;
    transition: opacity 0.2s ease;
}

main img:hover {
    opacity: 0.9;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 35, 32, 0.95); /* Дуже темний фон */
    backdrop-filter: blur(5px);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.lightbox-close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 3001;
    transition: transform 0.2s;
    line-height: 1;
}

.lightbox-close-btn:hover {
    transform: scale(1.1);
}

.lightbox-img-container {
    width: 90%;
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Щоб при зумі картинка не вилазила на кнопки */
}

#lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.1s ease-out; /* Плавний зум */
    cursor: grab;
}

#lightbox-img:active {
    cursor: grabbing; /* Курсор "хватання" під час перетягування */
}

/* Панель з повзунком */
.lightbox-controls {
    position: absolute;
    bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 30px;
    color: #ffffff;
}

#lightbox-zoom-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 150px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    outline: none;
}

#lightbox-zoom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-green, #6A8F52);
    cursor: pointer;
}

@media (max-width: 600px) {
    .lightbox-close-btn { right: 15px; top: 15px; }
    .lightbox-controls { bottom: 25px; }
}

/* Додайте це до файлу CSS */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}


/* =========================================
   СТОРІНКА УСПІШНОГО ЗАМОВЛЕННЯ
   ========================================= */

.success-card {
    background: #ffffff;
    border: 1px solid var(--border-color, #E8E5DF);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.success-icon {
    font-size: 5rem !important; 
    color: var(--accent-green, #6A8F52);
    margin-bottom: 20px;
}

.success-title {
    font-size: 2rem;
    color: #2b332f;
    margin-bottom: 15px;
}

.success-text {
    font-size: 1.1rem;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
}