body { font-family: 'Segoe UI', Arial, sans-serif; background: #f9fafb; margin: 0; padding: 0;}
.container { margin: 2rem auto; background: #fff; border-radius: 12px; box-shadow: 0 4px 24px #0001; padding: 2rem; }
.container-wide { max-width: 1200px; margin: 2rem auto; background: #fff; border-radius: 12px; box-shadow: 0 4px 24px #0001; padding: 1rem; }
.variety-name-en { font-size: 2rem; font-weight: bold; color: #222; }
.variety-name-ua { font-size: 1.2rem; color: #888; font-style: italic; margin-bottom: 1rem; }
.variety-image { width: 100%; max-width: 1150px; display: block; margin: 1rem auto; border-radius: 10px; box-shadow: 0 2px 8px #0002; }
.variety-video { width: 100%; max-width: 1150px; display: block; margin: 1.5rem auto; border-radius: 10px; }
.variety-info { margin: 1.5rem 0; }
.info-item { margin-bottom: 0.5rem; }
.info-label { color: #6b7280; font-weight: 500; }
.info-value { color: #1f2937; font-weight: 600; }
.variety-taste { background: #fef3c7; padding: 0.75rem; border-radius: 8px; margin-bottom: 1rem; color: #92400e; }
.variety-description { color: #444; font-size: 1rem; line-height: 1.6; margin-bottom: 2rem; }
.variety-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.variety-breadcrumb-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.variety-breadcrumb-link:hover {
    text-decoration: underline;
}

.variety-breadcrumb .breadcrumb-separator {
    color: #94a3b8;
    font-weight: 600;
}

.variety-breadcrumb .variety-name-en,
.variety-breadcrumb .variety-name-ua {
    margin: 0;
}

.variety-breadcrumb .variety-name-en {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
}

.variety-breadcrumb .variety-name-ua {
    font-size: 1.2rem;
    font-weight: 500;
    color: #475569;
    font-style: normal;
}

.variety-breadcrumb .variety-card-name-en {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.variety-breadcrumb .variety-card-name-ua {
    font-size: 1.2rem;
    font-weight: 500;
    color: #475569;
    font-style: normal;
    margin: 0;
}

/* Mobile warning overlay */
#mobile-warning-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.94);
    color: #f8fafc;
    z-index: 9999;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#mobile-warning-overlay .warning-card {
    max-width: 540px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 18px;
    padding: 2.25rem 1.75rem;
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.35);
}

#mobile-warning-overlay h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

#mobile-warning-overlay p {
    margin-bottom: 1rem;
    line-height: 1.5;
    color: #e2e8f0;
}

#mobile-warning-overlay .warning-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

#mobile-warning-overlay .warning-actions button {
    background: #f97316;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.35);
}

#mobile-warning-overlay .warning-actions button:hover {
    background: #ea580c;
}

body.mobile-warning-active {
    overflow: hidden;
    height: 100vh;
}

/* Основний контейнер */
.pawpaw-container {font-family: 'Georgia', serif;line-height: 1.7;max-width: 900px;margin: 2rem auto;padding: 0 1.5rem;background-color: #f8f1e9;color: #3c2f2f}

/* Заголовок */
.pawpaw-header {background-color: #6b8e23;color: #fff;text-align: center;padding: 1.5rem;border-radius: 8px}
.pawpaw-header h1 {margin: 0;font-size: 2.8rem;}

/* Секції */
.pawpaw-section {margin-bottom: 2.5rem;}
.pawpaw-section h2 {color: #6b8e23;font-size: 1.6rem;border-bottom: 3px solid #a9ba9d;padding-bottom: 0.4rem}
.pawpaw-section h3 {color: #8a9a5b;font-size: 1.3rem;margin-top: 1.5rem}
.pawpaw-section h4 {color: #8a9a5b;font-size: 1.1rem;margin-top: 1rem}

/* Списки */
.pawpaw-list {list-style-type: square;padding-left: 2.2rem;margin: 1rem 0}
.pawpaw-list li {margin-bottom: 0.5rem}

/* Таблиця */
.pawpaw-table {width: 100%;border-collapse: collapse;margin: 1.5rem 0;background-color: #fff;box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);}

.pawpaw-table th,
.pawpaw-table td {border: 1px solid #d8d8d8;padding: 1rem;text-align: left}

.pawpaw-table th {background-color: #6b8e23;color: #fff;font-weight: bold;}
.pawpaw-table tr:nth-child(even) {background-color: #f5f5f5;}

/* Посилання */
.pawpaw-link {
    color: #6b8e23;
    text-decoration: none;
    font-weight: 500;
}

.pawpaw-link:hover {
    text-decoration: underline;
    color: #556b2f;
}

/* Футер */
.pawpaw-footer {
    text-align: center;
    padding: 1.2rem;
    background-color: #6b8e23;
    color: #fff;
    border-radius: 8px;
    margin-top: 2.5rem;
}

/* Адаптивність */
@media (max-width: 768px) {
    .pawpaw-header h1 {
        font-size: 2rem;
    }

    .pawpaw-section h2 {
        font-size: 1.5rem;
    }

    .pawpaw-table {
        font-size: 0.95rem;
    }

    .pawpaw-table th,
    .pawpaw-table td {
        padding: 0.6rem;
    }
}

@media (max-width: 480px) {
    .pawpaw-container {
        padding: 0 1rem;
    }

    .pawpaw-header h1 {
        font-size: 1.6rem;
    }

    .pawpaw-table {
        font-size: 0.85rem;
    }
}

/* Адаптивність */
@media (max-width: 600px) {header h1 {font-size: 1.8rem;}
table {font-size: 0.9rem;}
table th, table td {padding: 0.5rem;}
}

/* Додано з index.html */
* { margin: 0; padding: 0; box-sizing: border-box; }
.branch-bg { background: url('images/branch-bg.jpg') no-repeat center center fixed; background-size: cover; min-height: 100vh; }
.header {margin: 0;}
.header-content { text-align: center; position: relative; }
.header h1 { font-size: 2rem; font-weight: bold; color: #1f2937; margin-bottom: 0.2rem; }
.header p { font-size: 1rem; color: #6b7280; margin: 0 auto; }

/* Language switcher */
.lang-switcher-container {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-weight: 500;
}

.lang-item-active {
    background: rgba(255,255,255,0.1);
}

.lang-item-link {
    background: rgba(255,255,255,0.05);
    text-decoration: none;
    color: #f97316;
    transition: background 0.2s;
}

.lang-item-link:hover {
    background: rgba(255,255,255,0.15);
}

.lang-item-link span {
    font-size: 0.85em;
}

.flag {
    width: 24px;
    height: 18px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 2px;
    flex-shrink: 0;
}

.flag-ua {
    background: linear-gradient(to bottom, #005BBB 0%, #005BBB 50%, #FFD500 50%, #FFD500 100%);
}

.flag-gb {
    background: #012169;
    position: relative;
    overflow: hidden;
}

.flag-gb::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #FFF;
    transform: translateY(-50%);
}

.flag-gb::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #FFF;
    transform: translateX(-50%);
}

.flag-gb-cross-red {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #C8102E;
    transform: translateY(-50%);
}

.flag-gb-cross-red-vertical {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #C8102E;
    transform: translateX(-50%);
}

.flag-gb-diagonal-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 50%;
    background: linear-gradient(135deg, transparent 30%, #FFF 30%, #FFF 40%, transparent 40%);
}

.flag-gb-diagonal-2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 50%;
    background: linear-gradient(225deg, transparent 30%, #FFF 30%, #FFF 40%, transparent 40%);
}

.flag-gb-diagonal-3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 50%;
    background: linear-gradient(45deg, transparent 30%, #FFF 30%, #FFF 40%, transparent 40%);
}

.flag-gb-diagonal-4 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 50%;
    background: linear-gradient(315deg, transparent 30%, #FFF 30%, #FFF 40%, transparent 40%);
}

/* Language selection modal */
#language-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.92);
    z-index: 11000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

#language-modal.visible {
    display: flex;
}

.language-modal-content {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 16px;
    padding: 2rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.55);
}

.language-modal-content h2 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: #f8fafc;
}

.language-modal-content p {
    margin-bottom: 1.25rem;
    color: #cbd5f5;
    font-size: 0.95rem;
}

.language-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(248, 113, 113, 0.05);
    border: 1px solid rgba(248, 250, 252, 0.15);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    color: #f97316;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
}

.language-option:hover {
    border-color: rgba(249, 115, 22, 0.6);
    transform: translateY(-2px);
}

.language-option .flag {
    width: 28px;
    height: 20px;
}

body.language-modal-open {
    overflow: hidden;
}
.grid { display: grid; grid-template-columns: 1.3fr 3fr; gap: 2rem; }
@media (max-width: 1024px) { .grid { grid-template-columns: 1fr; } }
.filter-panel {
    position: sticky;
    top: 1.5rem;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    min-width: 320px;
    max-width: 420px;
}
.filter-panel::-webkit-scrollbar {width: 7px;background: transparent;}
.filter-panel::-webkit-scrollbar-thumb {background: rgba(180,200,220,0.25);border-radius: 8px;}
.filter-panel::-webkit-scrollbar-thumb:hover {background: rgba(120,160,200,0.35);}
.filter-panel {scrollbar-width: thin;scrollbar-color: rgba(180,200,220,0.25) transparent;}
.filter-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; color: #1f2937; }
.filter-group { margin-bottom: 1rem; }
.filter-label { display: block; font-weight: 500; margin-bottom: 0.3rem; color: #374151; }
.filter-input { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid #d1d5db; border-radius: 6px; font-size: 0.875rem; }
.filter-input:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.1); }
.checkbox-group { display: flex; flex-direction: column; gap: 0.3rem; }
.checkbox-item { display: flex; align-items: center; gap: 0.3rem; }
.checkbox-item input[type="checkbox"] { width: 1rem; height: 1rem; }
.filter-hint { font-size: 0.75rem; color: #6b7280; margin-top: 0.25rem; font-style: italic; }
.weight-examples { font-size: 0.7rem; color: #9ca3af; margin-top: 0.25rem; }
.clear-button { width: 100%; padding: 0.75rem; background: #ef4444; color: white; border: none; border-radius: 6px; font-weight: 500; cursor: pointer; transition: background-color 0.2s; }
.clear-button:hover { background: #dc2626; }
.results-section { background: white; border-radius: 12px; padding: 1.5rem; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.results-header { margin-bottom: 1.5rem; }
.results-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; color: #1f2937; }
.results-count { color: #6b7280; font-size: 0.875rem; }
.active-filters { margin: 0.5rem 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.active-filter-tag { background: #e5e7eb; color: #374151; padding: 0.25rem 0.5rem; border-radius: 4px; font-size: 0.75rem; }
.varieties-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.variety-card { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 1rem; transition: transform 0.2s, box-shadow 0.2s; }
.variety-card:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.variety-name-en { font-size: 1.5rem; font-weight: bold; color: #222; margin-bottom: 0.25rem; }
.variety-name-ua { font-size: 1.05rem; color: #888; margin-bottom: 0.5rem; font-style: italic; }
.variety-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-bottom: 1rem; }
.info-item {display: flex; justify-content: space-between; font-size: 0.72rem}
.info-label {color: #6b7280}
.info-value {font-weight: 500; color: #1f2937}
.variety-taste { background: #fef3c7; padding: 0.75rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.875rem; color: #92400e; }
.variety-description { font-size: 0.875rem; color: #6b7280; line-height: 1.5; }
.no-results { text-align: center; padding: 3rem; color: #6b7280; }
.no-results-icon { font-size: 4rem; margin-bottom: 1rem; }
.footer {margin: 0;}
.footer-content { text-align: center; color: #6b7280; font-size: 0.95rem; }
.sort-controls { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.sort-select { flex: 1; padding: 0.5rem 0.75rem; border: 1px solid #d1d5db; border-radius: 6px; font-size: 0.875rem; }
.flex-gap { display: flex; gap: 0.5rem; }
.footer-note { font-size: 0.8rem; margin-top: 0.5rem; }

/* Додано з variety_pages/style.css */
:root { --main-green: #e6f4ea; --main-green-dark: #38761d; --main-green-text: #295317; --main-green-accent: #a3c585; }
.alphabet-group { margin-bottom: 2.5rem; }
.alphabet-title { font-size: 1.5rem; font-weight: 700; color: var(--main-green-dark); margin-bottom: 0.5rem; letter-spacing: 0.05em; text-align: center; }
.varieties-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.5rem 2rem; margin-bottom: 1.5rem; }
.variety-link { display: block; padding: 0.5rem 0.75rem; border-radius: 8px; color: #1f2937; background: #f4fbf6; text-decoration: none; font-size: 1.05rem; transition: background 0.2s, color 0.2s; margin-bottom: 0.25rem; }
.variety-link:hover { background: var(--main-green-dark); color: #fff; }
.variety-link .variety-ua { color: var(--main-green-text); font-size: 0.95rem; font-style: normal; font-weight: 600; margin-left: 0.5em; transition: color 0.2s; }
.variety-link:hover .variety-ua { color: var(--main-green-accent); }
.catalog-title { text-align: center; font-size: 2.3rem; font-weight: bold; margin: 2rem 0 1.5rem 0; color: var(--main-green-dark); letter-spacing: 0.03em; }
.nav-main { display: flex; justify-content: center; margin: 1.5rem 0 2rem 0; }
.nav-main a { background: var(--main-green-dark); color: #fff; text-decoration: none; padding: 0.7rem 1.5rem; border-radius: 8px; font-weight: 600; font-size: 1.1rem; transition: background 0.2s; box-shadow: 0 2px 8px #0001; }
.nav-main a:hover { background: #295317; }

/* Кнопка "Алфавітний список сортів азиміни" */
.azimina-list-link { display:inline-block; margin:12px 0 0 0; padding:8px 20px; background:#f9fafb; border:1px solid #e5e7eb; border-radius:8px; font-weight:500; text-decoration:none; color:#1f2937; transition:background 0.2s;}
.azimina-list-link:hover {background: #e5e7eb;}

/* --- variety card (catalog) styles --- */
.variety-card-name-en { font-size: 1.5rem; font-weight: bold; color: #222; margin-bottom: 0.25rem; }
.variety-card-name-ua { font-size: 1.05rem; color: #888; margin-bottom: 0.5rem; font-style: italic; }
.variety-card-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-bottom: 1rem; }
.variety-card-info-item { display: flex; justify-content: space-between; font-size: 0.875rem; }
.variety-card-info-label { color: #6b7280; }
.variety-card-info-value { font-weight: 500; color: #1f2937; }
.variety-card-taste { background: #fef3c7; padding: 0.75rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.875rem; color: #92400e; }
.variety-card-description { font-size: 0.875rem; color: #6b7280; line-height: 1.5; }

/* --- variety detail (single page) styles --- */
.variety-name-en { font-size: 1.5rem; font-weight: bold; color: #222; }
.variety-name-ua { font-size: 1.2rem; color: #888; font-style: italic; margin-bottom: 1rem; }
.variety-info { margin: 1.5rem 0; }
.info-item { margin-bottom: 0.5rem; }
.info-label { color: #6b7280; font-weight: 500; }
.info-value { color: #1f2937; font-weight: 600; }
.variety-taste { background: #fef3c7; padding: 0.75rem; border-radius: 8px; margin-bottom: 1rem; color: #92400e; }
.variety-description { color: #444; font-size: 1rem; line-height: 1.6; margin-bottom: 2rem; }
.variety-description .long-desc {
    display: none;
    color: #444;
    font-size: 0.98em;
    margin-top: 0.5em;
    background: #f7f7f7;
    border-radius: 6px;
    padding: 0.5em 0.7em;
    box-shadow: 0 2px 8px #0001;
}
.variety-description.expanded .short-desc {display: none;}
.variety-description.expanded .long-desc {display: block;animation: fadeIn 0.3s;}
.variety-description .show-more {
    color: #1976d2;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.97em;
    margin-left: 0.5em;
    text-decoration: underline dotted;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.container-narrow {margin: 2rem auto; background: #fff; border-radius: 12px; box-shadow: 0 4px 24px #0001; padding: 2rem; }
.variety-image, .variety-video { max-width: 740px; }

/* Custom tooltip for taste filter (side placement) */
.taste-tooltip {
  position: relative;
  cursor: pointer;
  display: inline-block;
}
.taste-tooltip .taste-tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: 320px;
  background: #ffe9b3;
  color: #7a4a00;
  text-align: left;
  border-radius: 10px;
  padding: 0.75em 1em;
  position: absolute;
  z-index: 10;
  left: 110%;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 4px 16px #0002;
  font-size: 0.98em;
  font-weight: 500;
  transition: opacity 0.2s;
  pointer-events: none;
  white-space: normal;
}
.taste-tooltip:hover .taste-tooltip-text {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.taste-tooltip .taste-tooltip-text::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -12px;
  transform: translateY(-50%);
  border-width: 10px 12px 10px 0;
  border-style: solid;
  border-color: transparent #ffe9b3 transparent transparent;
}
.show-more-btn {
  width: 100%;
  padding: 0.75rem;
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  display: block;
  margin: 1.5rem auto 0 auto;
  font-size: 1.05rem;
  box-shadow: none;
}
.show-more-btn:hover {
  background: #dc2626;
}
.varieties-grid a,
.variety-card a {
  text-decoration: none;
  color: inherit;
}
.no-underline {
  text-decoration: none !important;
  color: inherit !important;
}
.results-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.centered {
  text-align: center;
}
.button-like-info {
  display: inline-block;
  background: #e11d48;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 2rem;
  padding: 0.5rem 1.5rem;
  margin: 0.7rem 0 1.2rem 0;
  box-shadow: 0 2px 8px #0002;
  letter-spacing: 0.03em;
  border: none;
  text-align: center;
}
.read-more {
    color: #1976d2;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}
.read-more:hover {
    color: #0d47a1;
}
.results-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2em;
    margin-bottom: 1.2em;
    flex-wrap: wrap;
}
@media (max-width: 600px) {
    .results-row {
        flex-direction: column;
        gap: 0.3em;
    }
}

/* --- Фрейми фото сортів --- */
.frame-description {font-size:16px;color:#333;background-color:#f9f9f9;padding:10px;border: 1px solid #ccc;border-radius:5px;margin: 0px 0;text-align:center}

.frame-bg {
  background: #222;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.frame-photo {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 8px 32px #000a;
  margin: 2rem 0;
}
.frame-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 5rem;
  font-weight: 900;
  color: #a3e635;
  text-decoration: none;
  background: none;
  border-radius: 0;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  z-index: 1001;
  text-align: center;
  text-shadow: 0 0 8px #222, 0 0 2px #a3e635;
}
.frame-arrow.left { left: 3vw; }
.frame-arrow.right { right: 3vw; }
.frame-back {
  margin-bottom: 1.5rem;
  background: #38761d;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px #0001;
  text-decoration: none;
  padding: 0.5em 1.2em;
  display: inline-block;
}

#HCB_comment_box{border: 2px solid #FFFFFF; border-radius: 5px; padding: 10px; color:#FFFFFF; background: rgba(0, 0, 0, 0.5);}
.hcb-mod b{color:#0088AF;}
#HCB_comment_box textarea,#HCB_comment_box input.text{border-top:1px solid #e4e4e4;border-left:1px solid #e4e4e4;border-bottom:1px solid #eaeaea;border-right:1px solid #eaeaea;background-color:#f8f8f8;}
#HCB_comment_box .hcb-wrapper-half{display:block;width:50%;float:left;}
#HCB_comment_box .hcb-wrapper{clear:both;}
#HCB_comment_box input.text{display:block;width:95%;}
#HCB_comment_box input.submit{border-top:1px solid #FCB1A2;border-left:1px solid #FCB1A2;border-bottom:1px solid #BB2B0F;border-right:1px solid #BB2B0F;background-color:#F26646;color:#000;font-weight:bold;cursor:pointer;}
#HCB_comment_box div.comment{color:#FDB3A5; background: rgba(0, 0, 0, 0.5); border:3px double #F26646 ; margin:5px; padding:2px;}
#HCB_comment_box .comment .likes{color: #00FF00;}
#HCB_comment_box .hcb-link{color:#0088AF;text-decoration:none;} 

/* --- Навігація (головне меню) --- */
.nav-bar {background: #fff; color: #fff;align-items: center;justify-content: center}
.nav-bar .nav-root {list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; align-items: center;justify-content: center}
.nav-bar .nav-root, .nav-bar .submenu { list-style: none !important; }
.nav-bar .submenu li { list-style: none !important; }
.nav-bar a {color: #000; text-decoration: none; padding: 12px 8px; display: inline-block}
.nav-bar a:hover {text-decoration: underline}
.nav-bar .has-sub {position: relative}
.nav-bar .submenu {position: absolute; left: 0; top: 100%; background: #fff; color: #222; list-style: none; margin: 0; padding: 8px 0; min-width: 220px; border-radius: 8px; box-shadow: 0 6px 20px #0003; display: none; z-index: 10}
.nav-bar .submenu a {color: #222; display: block; padding: 8px 14px}
.nav-bar .submenu .submenu {left: 100%; top: 0; min-width: 220px}
.nav-bar .has-sub:hover > .submenu {display: block}

.iframe-wrapper {position: relative;width: 100%;max-width: 700px;height: 860px;margin: 0 auto;background-color: rgba(var(--color-idvisidy2), 1)}
.my-form-iframe {width:100%;height:100%;border:none}
.iframe-mask {position: absolute;bottom: -11px;left: 0;width: 100%;height: 50px;background-color: #fff;pointer-events: none;z-index: 10}

/* --- Бізнес-баннер для футера --- */
.business-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 20px;
    margin: 40px 0 0 0;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.business-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(0deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(180deg); }
}

.business-banner-content {
    position: relative;
    z-index: 2;
}

.business-banner h3 {
    font-size: 1.8em;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.business-banner p {
    font-size: 1.1em;
    margin: 0 0 25px 0;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.business-banner .cta-button {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    margin: 0 10px 10px 10px;
}

.business-banner .cta-button:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
    text-decoration: none;
    color: white;
}

.business-banner .contact-info {
    margin-top: 20px;
    font-size: 0.9em;
    opacity: 0.8;
}

.business-banner .contact-info a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: bold;
}

.business-banner .contact-info a:hover {
    text-decoration: underline;
}

/* Адаптивність для мобільних пристроїв */
@media (max-width: 768px) {
    .business-banner {
        padding: 20px 15px;
        margin: 20px 0 0 0;
    }
    
    .business-banner h3 {
        font-size: 1.5em;
    }
    
    .business-banner p {
        font-size: 1em;
    }
    
    .business-banner .cta-button {
        padding: 12px 25px;
        font-size: 1em;
        display: block;
        margin: 10px auto;
        max-width: 250px;
    }
}
.photo-indicator {
  margin-left: 8px;
  font-size: 1rem;
  color: #ecb300;
  vertical-align: middle;
  filter: drop-shadow(0 1px 1px #fff7) drop-shadow(0 0 2px #3b3b3b80);
  cursor: pointer;
  float: right;
}
.variety-link .photo-indicator {
  margin-left: 12px;
}
@media (max-width: 600px) {
  .photo-indicator {
    font-size: 0.92em;
  }
}

.nav-home {
  color: #000;
  text-decoration: none;
  padding: 12px 8px;
  display: inline-block;
}

.nav-consulting {
  background-color:#ff6b6b;
  color: white;
  border-radius:5px;
}

.nav-admin {
  background-color:#ff6b6b;
  color:white;
}

.help-link {
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
  background: #f8f9fa;
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid #dee2e6;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
}
.main-page-container {
  max-width: 1200px;
  margin: 2rem auto 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* ======= Consulting Page Styles ======= */
.business-page-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white; padding: 60px 40px; border-radius: 15px;
  text-align: center; margin-bottom: 40px;
}
.business-page-hero h1 {font-size: 2.5em; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.3);}
.business-page-hero p{font-size:1.2em;margin-bottom:30px;opacity:0.9;}
.business-page-cta{display: inline-block; background: #ff6b6b;color:white;padding:15px 30px;text-decoration:none;border-radius:50px;font-weight:bold;font-size:1.1em;transition:all 0.3s;box-shadow:0 4px 15px rgba(255,107,107,.4);} 
.business-page-cta:hover{background:#ff5252;transform:translateY(-2px);box-shadow:0 6px 20px rgba(255,107,107,.6);}
.business-page-services{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:30px;margin:40px 0}
.business-page-service-card{background:white;border-radius:15px;padding:30px;box-shadow:0 8px 25px rgba(0,0,0,0.1);border:1px solid #e9ecef;transition:all 0.3s;position:relative;overflow:hidden;}
.business-page-service-card:hover{transform:translateY(-5px);box-shadow:0 15px 35px rgba(0,0,0,0.15);}
.business-page-service-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#667eea,#764ba2);}
.business-page-service-icon{font-size:3em;margin-bottom:20px;display:block;}
.business-page-service-card h3{color:#2c3e50;margin-bottom:15px;font-size:1.4em;}
.business-page-service-card p{color:#6c757d;line-height:1.6;margin-bottom:20px;}
.business-page-price-tag{background:#28a745;color:white;padding:8px 16px;border-radius:20px;font-weight:bold;display:inline-block;margin-bottom:15px;}
.business-page-features-list{list-style:none;padding:0;margin:20px 0;}
.business-page-features-list li{padding:8px 0;border-bottom:1px solid #f8f9fa;position:relative;padding-left:25px;}
.business-page-features-list li::before{content:'✓';position:absolute;left:0;color:#28a745;font-weight:bold;}
.business-page-testimonial-section{background:#f8f9fa;padding:40px;border-radius:15px;margin:40px 0;text-align:center;}
.business-page-testimonial-section h3{color:#2c3e50;margin-bottom:30px;}
.business-page-testimonial{background:white;padding:30px;border-radius:10px;margin:20px 0;box-shadow:0 4px 15px rgba(0,0,0,0.1);font-style:italic;color:#6c757d;}
.business-page-testimonial-author{font-weight:bold;color:#2c3e50;margin-top:15px;}
.business-page-pricing-section{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:white;padding:40px;border-radius:15px;margin:40px 0;}
.business-page-pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:30px;margin-top:30px;}
.business-page-pricing-card{background:rgba(255,255,255,0.1);backdrop-filter:blur(10px);border-radius:15px;padding:30px;text-align:center;border:1px solid rgba(255,255,255,0.2);}
.business-page-pricing-card.featured{background:rgba(255,255,255,0.2);border:2px solid #ff6b6b;transform:scale(1.05);}
.business-page-pricing-card h4{font-size:1.5em;margin-bottom:15px;}
.business-page-pricing-amount{font-size:2.5em;font-weight:bold;margin:20px 0;}
.business-page-contact-section{background:#2c3e50;color:white;padding:40px;border-radius:15px;margin:40px 0;text-align:center}
.business-page-contact-section h3{margin-bottom:30px;}
.business-page-contact-methods{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:30px;margin-top:30px;}
.business-page-contact-method{background:rgba(255,255,255,0.1);padding:20px;border-radius:10px;}
.business-page-contact-method h4{margin-bottom:15px;color:#ff6b6b;}
.business-page-guarantee-box{background:#d4edda;border-left:4px solid #28a745;padding:20px;margin:20px 0;border-radius:8px;}
.business-page-guarantee-box h4{color:#155724;margin-top:0;}
.business-page-stats-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin:40px 0;}
.business-page-stat-item{text-align:center;padding:20px;background:#f8f9fa;border-radius:10px;}
.business-page-stat-number{font-size:2.5em;font-weight:bold;color:#667eea;margin-bottom:10px;}
.business-page-stat-label{color:#6c757d;font-weight:500;}
.business-page{max-width:1200px;margin:3rem auto 0 auto;padding:20px;background:white;border-radius:10px;box-shadow:0 4px 6px rgba(0,0,0,0.1);}
.business-page .guide-section{background:#d4edda;border-left:4px solid #28a745;padding:40px;border-radius:15px;margin:40px 0;}
.business-page .guide-section h4{color:#155724;margin-top:0;margin-bottom:15px;}
.business-page .guide-section ul{margin:15px 0;padding-left:20px;}
.business-page .guide-section li{margin-bottom:8px;line-height:1.6;}
.business-page h2{text-align:center;color:#2c3e50;margin:40px 0;}
.business-page .center-text{text-align:center;margin-top:40px;color:#666;}

/* ======= Region Ripening Explanation Page Styles ======= */
.region-explanation-container{max-width:1200px;margin:3rem auto 0 auto;padding:20px;background:#fff;border-radius:10px;box-shadow:0 4px 6px rgba(0,0,0,0.1);}
.region-explanation-climate-zones{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin:30px 0;}
.region-explanation-zone-card{border:2px solid #e0e0e0;border-radius:10px;padding:20px;background:#f9f9f9;}
.region-explanation-zone-card.earlier{border-color:#ff6b6b;background:#fff5f5;}
.region-explanation-zone-card.default{border-color:#4ecdc4;background:#f0fffe;}
.region-explanation-zone-card.later{border-color:#45b7d1;background:#f0f8ff;}
.region-explanation-zone-title{font-size:1.3em;font-weight:bold;margin-bottom:10px;color:#333;}
.region-explanation-zone-description{margin-bottom:15px;color:#666;line-height:1.5;}
.region-explanation-zone-areas{font-size:0.9em;color:#555;}
.region-explanation-zone-areas ul{margin:5px 0;padding-left:20px;list-style-type:disc;overflow-wrap:break-word;word-wrap:break-word;}
.region-explanation-zone-areas li{margin-bottom:3px;line-height:1.3;}
.region-explanation-adjustment-info{background:#e8f4fd;border-left:4px solid #2196f3;padding:15px;margin:20px 0;border-radius:5px}
.region-explanation-warning-info{background:#fff3cd;border-left:4px solid #ffc107;padding:15px;margin:20px 0;border-radius:5px}
.region-explanation-climate-change-info{background:#f8f9fa;border:1px solid #dee2e6;border-radius:10px;padding:20px;margin:30px 0;}
.region-explanation-climate-change-info h3{color:#dc3545;margin-top:0;}
.region-explanation-examples{background:#f0f8f0;border-radius:10px;padding:20px;margin:20px 0;}
.region-explanation-example-item{margin:10px 0;padding:10px;background:white;border-radius:5px;border-left:3px solid #28a745;}

/* ======= Contribute Page Styles ======= */
.contrib-container { max-width: 960px; margin: 0 auto; padding: 1rem; }
.contrib-title { font-size: 1.6rem; margin: 0 0 0.25rem 0; }
.card { background: #fff; border-radius: 12px; box-shadow: 0 2px 8px #0002; padding: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row-1 { display: grid; grid-template-columns: 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field input[type="text"], .field input[type="email"], .field textarea, .field select {padding: 10px; border: 1px solid #ddd; border-radius: 8px}
.hint { font-size: 12px; color: #666}
.btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px}
.btn { padding: 10px 14px; border: none; border-radius: 10px; background: #2e7d32; color: #fff; cursor: pointer}
.btn.secondary { background: #1565c0; }
.btn.warn { background: #b71c1c; }
.preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 12px}
.thumb { border: 1px solid #eee; border-radius: 10px; overflow: hidden; background: #fafafa}
.thumb img { width: 100%; height: 120px; object-fit: cover; display: block}
.thumb .meta { padding: 6px 8px; font-size: 12px; color: #444}
@media (max-width: 720px) { .row { grid-template-columns: 1fr} }

/* ======= Compare Page Styles ======= */
.compare-container { max-width: 1200px; margin: 0 auto; padding: 1rem; }
.compare-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.compare-title { font-size: 1.6rem; margin: 0; }
.controls { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.compare-select { min-width: 260px; padding: 0.5rem; border-radius: 8px; border: 1px solid #ddd; }
.compare-btn { padding: 0.5rem 0.8rem; border-radius: 8px; border: none; background: #2e7d32; color: #fff; cursor: pointer; }
.compare-btn:disabled { background: #9e9e9e; cursor: not-allowed; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid #ddd; border-radius: 999px; background: #fff; }
.pill button { border: none; background: transparent; cursor: pointer; font-weight: bold; }
.compare-grid { overflow-x: auto; }
.compare-scroll-shell { display: flex; flex-direction: column; gap: 8px; }
.compare-grid-top { overflow-x: auto; overflow-y: hidden; border-radius: 6px; outline: 1px solid #e5e7eb; }
.compare-grid-main { overflow-x: auto; width: 100%; }
.compare-grid-top .compare-scroll-spacer { height: 1px; }
.compare-grid-top::-webkit-scrollbar,
.compare-grid-main::-webkit-scrollbar {
    height: 12px;
}
.compare-grid-top::-webkit-scrollbar-track,
.compare-grid-main::-webkit-scrollbar-track {
    background: #eef2f7;
    border-radius: 8px;
}
.compare-grid-top::-webkit-scrollbar-thumb,
.compare-grid-main::-webkit-scrollbar-thumb {
    background: #b7c0cc;
    border-radius: 8px;
}
.compare-grid-top::-webkit-scrollbar-thumb:hover,
.compare-grid-main::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
/* Firefox */
.compare-grid-top,
.compare-grid-main {
    scrollbar-width: thin;
    scrollbar-color: #b7c0cc #eef2f7;
}
table.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px #0002; }
table.compare-table th, table.compare-table td { padding: 10px 12px; border-bottom: 1px solid #eee; vertical-align: top; text-align: left; }
table.compare-table th.sticky { position: sticky; left: 0; background: #fafafa; z-index: 2; min-width: 180px; }
table.compare-table thead th { background: #f5f5f5; font-weight: 600; position: sticky; top: 0; z-index: 3; }
.variety-col { min-width: 220px; }
.variety-name { font-weight: 700; }
.contrib-intro { margin-bottom: 12px; }
.contrib-iframe { border: none; width: 100%; }
.muted { color: #555; }
.badge { display: inline-block; padding: 2px 6px; border-radius: 6px; background: #e8f5e9; color: #1b5e20; font-size: 0.85rem; }

/* ======= Practical Comparison Guide Page Styles ======= */
.practical-guide { max-width: 1200px; margin: 3rem auto 0 auto; padding: 20px; background: white; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.guide-section { margin: 30px 0; padding: 20px; border-radius: 10px; background: #f8f9fa; border-left: 4px solid #007bff; }
.highlight-box { background: #d1ecf1; border-left: 4px solid #17a2b8; padding: 20px; margin: 20px 0; border-radius: 8px; }
.highlight-box h4 { color: #0c5460; margin-top: 0; }
.step-by-step { background: #e8f5e9; border-left: 4px solid #28a745; padding: 20px; margin: 20px 0; border-radius: 8px; }
.step-by-step h4 { color: #28a745; margin-top: 0; }
.comparison-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 20px 0; }
.comparison-card { background: white; padding: 20px; border-radius: 8px; border: 1px solid #dee2e6; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.comparison-card h4 { color: #495057; margin-top: 0; }
.tool-features { background: #fff3cd; border-left: 4px solid #ffc107; padding: 20px; margin: 20px 0; border-radius: 8px; }
.tool-features h4 { color: #856404; margin-top: 0; }
.warning-box { background: #f8d7da; border-left: 4px solid #dc3545; padding: 20px; margin: 20px 0; border-radius: 8px; }
.warning-box h4 { color: #721c24; margin-top: 0; }
.success-box { background: #d4edda; border-left: 4px solid #28a745; padding: 20px; margin: 20px 0; border-radius: 8px; }
.success-box h4 { color: #155724; margin-top: 0; }
.screenshot-container { text-align: center; margin: 20px 0; padding: 20px; background: #f8f9fa; border-radius: 8px; border: 1px solid #dee2e6; }
.screenshot-container img { max-width: 100%; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); margin-bottom: 10px; }
.screenshot-caption { margin-top: 10px; color: #666; font-size: 14px; font-style: italic; }
.comparison-link { display: inline-block; background: #007bff; color: white; padding: 12px 24px; text-decoration: none; border-radius: 8px; font-weight: bold; margin: 10px 0; transition: background-color 0.3s; }
.comparison-link:hover { background: #0056b3; color: white; text-decoration: none; }
.step-number { background: #007bff; color: white; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: bold; margin-right: 10px; }
.practical-guide h1, .practical-guide h2, .practical-guide h3 { text-align: center; margin-top: 1.3em; margin-bottom: 1.3em; }
.practical-guide ul, .practical-guide ol { padding-left: 20px !important; }

/* ======= Scientific Articles Page Styles ======= */
#searchBox { width: 100%; max-width: 480px; padding: 8px; margin: 10px 0; border: 1px solid #ddd; border-radius: 6px; }
#articlesMount { margin-top: 1rem; }
#articlesMount ul { list-style: disc; padding-left: 1.2rem; }
#articlesMount li { margin-bottom: 0.5rem; }
#articlesMount a { color: #2563eb; text-decoration: none; }
#articlesMount a:hover { text-decoration: underline; }
#articles-empty { display: none; color: #666; font-style: italic; }

/* ======= Variety Comparison Guide Page Styles ======= */
.comparison-guide { max-width: 1200px; margin: 3rem auto 0 auto; padding: 20px; background: white; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.comparison-guide .guide-section { margin: 30px 0; padding: 20px; border-radius: 10px; background: #f8f9fa; border-left: 4px solid #007bff; }
.comparison-guide .guide-section h3 { color: #007bff; margin-top: 0; }
.rating-explanation { background: #e8f5e9; border-left: 4px solid #28a745; padding: 20px; margin: 20px 0; border-radius: 8px; }
.rating-explanation h4 { color: #28a745; margin-top: 0; }
.comparison-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 20px 0; }
.tip-card { background: white; padding: 20px; border-radius: 8px; border: 1px solid #dee2e6; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.tip-card h4 { color: #495057; margin-top: 0; }
.system-features { background: #fff3cd; border-left: 4px solid #ffc107; padding: 20px; margin: 20px 0; border-radius: 8px; }
.system-features h4 { color: #856404; margin-top: 0; }
.rating-list { background: #f8f9fa; padding: 15px; border-radius: 8px; margin: 15px 0; }
.rating-list ol { margin: 10px 0; padding-left: 20px; }
.rating-list li { margin-bottom: 8px; line-height: 1.5; }
.comparison-guide .warning-box { background: #f8d7da; border-left: 4px solid #dc3545; padding: 20px; margin: 20px 0; border-radius: 8px; }
.comparison-guide .warning-box h4 { color: #721c24; margin-top: 0; }
.comparison-guide .success-box { background: #d4edda; border-left: 4px solid #28a745; padding: 20px; margin: 20px 0; border-radius: 8px; }
.comparison-guide .success-box h4 { color: #155724; margin-top: 0; }
.explanation-page ul, .explanation-page ul ul, .zone-card ul, .climate-change-info ul, .adjustment-info ul, .warning-info ul {
    padding-left: 40px !important;
    margin: 1em 0 !important;
    list-style-type: disc !important;
}
.explanation-page li {
    margin-bottom: 5px;
    line-height: 1.4;
}
.section-label {
    margin-bottom: 1.3em !important;
    display: block;
}
.section-label + ul,
.section-label + ol {
    margin-top: 1.1em !important;
    margin-left: 2.5em !important;
}
.comparison-header h1 {
    text-align: center;
}
.comparison-guide ul, .comparison-guide ol {
    padding-left: 20px !important;
    margin-left: 0 !important;
}
.comparison-guide footer {
    text-align: center;
    color: #666;
    margin: 2.5rem 0 1rem 0;
    font-size: 1.06em;
}
.accent-info {
    font-weight: 600;
    color: #007bff;
}

/* ======= Variety Characteristics Guide Page Styles ======= */
.characteristics-guide { max-width: 1200px; margin: 3rem auto 0 auto; padding: 20px; background: white; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.characteristics-guide .guide-section { margin: 30px 0; padding: 20px; border-radius: 10px; background: #f8f9fa; border-left: 4px solid #007bff; }
.characteristics-guide .highlight-box { background: #d1ecf1; border-left: 4px solid #17a2b8; padding: 20px; margin: 20px 0; border-radius: 8px; }
.characteristics-guide .highlight-box h4 { color: #0c5460; margin-top: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 20px 0; }
.stat-card { background: white; padding: 20px; border-radius: 8px; border: 1px solid #dee2e6; box-shadow: 0 2px 4px rgba(0,0,0,0.1); text-align: center; }
.stat-card h4 { color: #495057; margin-top: 0; font-size: 1.2em; }
.stat-number { font-size: 2em; font-weight: bold; color: #007bff; margin: 10px 0; }
.rare-characteristics { background: #e8f5e9; border-left: 4px solid #28a745; padding: 20px; margin: 20px 0; border-radius: 8px; }
.rare-characteristics h4 { color: #28a745; margin-top: 0; }
.characteristic-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px; margin: 20px 0; }
.characteristic-item { background: white; padding: 15px; border-radius: 8px; border: 1px solid #dee2e6; }
.characteristic-item h5 { color: #495057; margin-top: 0; margin-bottom: 10px; }
.variety-examples { background: #fff3cd; border-left: 4px solid #ffc107; padding: 20px; margin: 20px 0; border-radius: 8px; }
.variety-examples h4 { color: #856404; margin-top: 0; }
.comparison-table { width: 100%; border-collapse: collapse; margin: 20px 0; background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.comparison-table th, .comparison-table td { padding: 12px; text-align: left; border-bottom: 1px solid #dee2e6; }
.comparison-table th { background: #f8f9fa; font-weight: 600; color: #495057; }
.comparison-table tr:hover { background: #f8f9fa; }
.characteristics-guide .warning-box { background: #f8d7da; border-left: 4px solid #dc3545; padding: 20px; margin: 20px 0; border-radius: 8px; }
.characteristics-guide .warning-box h4 { color: #721c24; margin-top: 0; }
.characteristics-guide .success-box { background: #d4edda; border-left: 4px solid #28a745; padding: 20px; margin: 20px 0; border-radius: 8px; }
.characteristics-guide .success-box h4 { color: #155724; margin-top: 0; }
.characteristics-guide h1, .characteristics-guide h2, .characteristics-guide h3 { text-align: center; margin-top: 1.3em; margin-bottom: 1.3em; }
.characteristics-guide ul, .characteristics-guide ol { padding-left: 20px !important; }
.characteristics-guide p.center-text { text-align: center; margin-top: 40px; color: #666; }

/* ======= Privacy Policy Page Styles ======= */
.policy-page { max-width: 1200px; margin: 3rem auto 0 auto; padding: 24px; background: rgba(255,255,255,0.96); border-radius: 18px; box-shadow: 0 12px 40px rgba(15,23,42,0.12); backdrop-filter: blur(6px); }
.policy-hero { background: linear-gradient(135deg, #0f172a, #1e3a8a); color: white; padding: 56px 40px; border-radius: 20px; margin-bottom: 36px; position: relative; overflow: hidden; }
.policy-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1), transparent 55%), radial-gradient(circle at 80% 15%, rgba(255,255,255,0.1), transparent 60%), radial-gradient(circle at 60% 80%, rgba(255,255,255,0.12), transparent 55%); }
.policy-hero h1 { font-size: 2.7rem; margin-bottom: 16px; position: relative; }
.policy-hero p { font-size: 1.15rem; opacity: 0.9; max-width: 720px; position: relative; }
.policy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 32px; }
.policy-card { background: rgba(248,250,252,0.9); border-radius: 16px; padding: 22px 24px; border: 1px solid rgba(148,163,184,0.35); box-shadow: 0 8px 28px rgba(15,23,42,0.1); }
.policy-card h3 { margin-top: 0; color: #1f2937; font-size: 1.25rem; margin-bottom: 12px; }
.policy-section { margin: 48px 0; }
.policy-section h2 { font-size: 2rem; color: #0f172a; margin-bottom: 18px; }
.policy-section p { color: #475569; line-height: 1.7; margin-bottom: 16px; font-size: 0.98rem; }
.policy-section ul { padding-left: 22px; color: #475569; line-height: 1.6; }
.policy-section ul li { margin-bottom: 10px; }
.policy-updates { background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.25); border-radius: 16px; padding: 24px 28px; color: #1d4ed8; }
.policy-updates h3 { margin-top: 0; }
.contact-block { background: #0f172a; color: white; border-radius: 18px; padding: 32px 28px; margin: 48px 0; }
.contact-block h2 { margin-top: 0; font-size: 2rem; }
.contact-block p { color: #cbd5f5; margin-bottom: 16px; }
.contact-block a { color: #fef08a; font-weight: 600; text-decoration: none; }
.contact-block a:hover { text-decoration: underline; }
.legal-note { font-size: 0.9rem; color: #6b7280; background: rgba(248,250,252,0.9); padding: 18px 20px; border-radius: 12px; border: 1px dashed rgba(148,163,184,0.45); margin-top: 30px; }
@media (max-width: 768px) {
    .policy-page { margin: 1.5rem auto; padding: 18px; border-radius: 12px; }
    .policy-hero { padding: 36px 24px; border-radius: 16px; }
    .policy-hero h1 { font-size: 2.2rem; }
    .policy-section h2 { font-size: 1.6rem; }
}

/* ======= Trusted Sellers Page Styles ======= */
.trusted-page { max-width: 1200px; margin: 3rem auto 0 auto; padding: 20px; background: rgba(255,255,255,0.95); border-radius: 16px; box-shadow: 0 10px 35px rgba(15,23,42,0.15); backdrop-filter: blur(6px); }
.trusted-hero { background: linear-gradient(140deg, #2563eb, #7c3aed); color: white; padding: 60px 40px; border-radius: 20px; text-align: center; margin-bottom: 40px; position: relative; overflow: hidden; }
.trusted-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15), transparent 55%), radial-gradient(circle at 80% 15%, rgba(255,255,255,0.12), transparent 50%), radial-gradient(circle at 60% 80%, rgba(255,255,255,0.18), transparent 50%); }
.trusted-hero h1 { font-size: 2.75rem; margin-bottom: 18px; position: relative; }
.trusted-hero p { font-size: 1.2rem; margin-bottom: 28px; opacity: 0.92; position: relative; }
.trusted-hero .hero-tags { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; position: relative; }
.hero-tag { background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; padding: 10px 18px; font-weight: 600; letter-spacing: 0.02em; }
.trust-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 40px 0; }
.trust-card { background: #f8fafc; border-radius: 16px; padding: 24px 22px; border: 1px solid rgba(148,163,184,0.35); box-shadow: 0 8px 30px rgba(15,23,42,0.08); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.trust-card:hover { transform: translateY(-4px); box-shadow: 0 18px 35px rgba(15,23,42,0.12); }
.trust-card h3 { margin-top: 0; margin-bottom: 14px; color: #1f2937; font-size: 1.3rem; }
.trust-card p, .trust-card ul { color: #4b5563; line-height: 1.6; font-size: 0.98rem; }
.trust-card ul { padding-left: 20px; margin: 0; }
.seller-section { margin: 60px 0; }
.seller-section h2 { font-size: 2rem; margin-bottom: 18px; color: #0f172a; text-align: center; }
.seller-section p.section-note { text-align: center; color: #475569; margin-bottom: 32px; }
.seller-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; }
.seller-card { background: white; border-radius: 18px; padding: 26px 24px; border: 1px solid rgba(203,213,225,0.6); box-shadow: 0 12px 32px rgba(15,23,42,0.08); transition: transform 0.25s ease, box-shadow 0.25s ease; position: relative; overflow: hidden; }
.seller-card::before { content: attr(data-type-label); position: absolute; top: 18px; right: -75px; background: #f97316; color: white; padding: 8px 120px; transform: rotate(40deg); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; box-shadow: 0 10px 25px rgba(249,115,22,0.35); }
.seller-card[data-type="rootstock"]::before { background: #0ea5e9; }
.seller-card[data-type="scion"]::before { background: #8b5cf6; }
.seller-card[data-type="fruit"]::before { background: #22c55e; }
.seller-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(15,23,42,0.15); }
.seller-card h3 { margin-top: 0; margin-bottom: 10px; color: #1f2937; font-size: 1.35rem; }
.seller-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.seller-meta span { background: rgba(59,130,246,0.08); color: #1d4ed8; border-radius: 999px; padding: 6px 14px; font-size: 0.85rem; font-weight: 600; }
.seller-meta span.location { background: rgba(16,185,129,0.1); color: #0f766e; }
.seller-meta span.experience { background: rgba(245,158,11,0.12); color: #b45309; }
.seller-specialties { list-style: none; padding: 0; margin: 0 0 16px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seller-specialties li { background: #f1f5f9; border-radius: 10px; padding: 6px 12px; font-size: 0.9rem; color: #475569; }
.seller-desc { color: #475569; margin-bottom: 16px; line-height: 1.6; font-size: 0.96rem; }
.seller-contact { background: #0f172a; color: white; border-radius: 14px; padding: 16px 18px; display: grid; gap: 10px; font-size: 0.95rem; }
.seller-contact a { color: #fef08a; text-decoration: none; font-weight: 600; }
.seller-contact a:hover { text-decoration: underline; }
.seller-contact .availability { color: #cbd5f5; }
.seller-credibility { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.35); border-radius: 12px; padding: 14px 16px; color: #166534; font-size: 0.9rem; margin-bottom: 14px; }
.verification-box { background: rgba(59,130,246,0.08); border-radius: 18px; padding: 30px 26px; display: grid; gap: 18px; margin: 60px 0; border: 1px solid rgba(59,130,246,0.25); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); }
.verification-box h3 { margin: 0; color: #1d4ed8; font-size: 1.35rem; }
.verification-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.verification-step { background: rgba(255,255,255,0.9); border-radius: 16px; padding: 18px; border: 1px solid rgba(148,163,184,0.25); }
.verification-step strong { display: block; margin-bottom: 8px; color: #1e293b; }
.feedback-section { background: #0f172a; color: white; padding: 40px 32px; border-radius: 20px; text-align: center; margin-top: 60px; }
.feedback-section h2 { margin: 0 0 16px 0; font-size: 2rem; }
.feedback-section p { margin: 0 0 24px 0; color: #cbd5f5; }
.feedback-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.feedback-buttons a { background: linear-gradient(120deg, #f97316, #ef4444); color: white; padding: 14px 24px; border-radius: 999px; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 15px 35px rgba(249,115,22,0.35); }
.feedback-buttons a.secondary { background: transparent; border: 1px solid rgba(255,255,255,0.35); box-shadow: none; }
.feedback-buttons a:hover { opacity: 0.9; }
.disclaimer { margin-top: 50px; background: rgba(248,250,252,0.85); border-radius: 16px; padding: 22px; font-size: 0.92rem; color: #475569; border: 1px dashed rgba(148,163,184,0.45); }
.disclaimer strong { color: #0f172a; }
@media (max-width: 768px) {
    .trusted-page { margin: 1.5rem auto; padding: 16px; border-radius: 12px; }
    .trusted-hero { padding: 36px 24px; }
    .trusted-hero h1 { font-size: 2.1rem; }
    .trusted-hero p { font-size: 1.05rem; }
    .seller-card::before { display: none; }
    .trust-points, .verification-steps { grid-template-columns: 1fr; }
    .seller-grid { grid-template-columns: 1fr; }
}

/* ======= Variety Page Tag Cloud ======= */
.variety-shell { margin: 2rem auto 3rem; }
.variety-layout {
    display: grid;
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    width: 100%;
}
.tag-cloud-panel { background: rgba(15,23,42,0.05); border: 1px solid rgba(15,23,42,0.1); border-radius: 18px; padding: 24px; position: sticky; top: 110px; box-shadow: 0 12px 30px rgba(15,23,42,0.08); backdrop-filter: blur(4px); }
.tag-cloud-title { margin: 0 0 8px 0; font-size: 1.2rem; color: #0f172a; }
.tag-cloud-desc { margin: 0 0 16px 0; color: #475569; font-size: 0.92rem; }
.tag-cloud-orbit { position: relative; width: 100%; max-width: 420px; margin: 0 auto 16px; aspect-ratio: 1 / 1; border-radius: 18px; background: radial-gradient(circle at top, rgba(59,130,246,0.15), transparent 58%), radial-gradient(circle at bottom, rgba(14,165,233,0.18), transparent 55%), rgba(248,250,252,0.9); border: 1px dashed rgba(99,102,241,0.3); overflow: hidden; }
.tag-cloud-link { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-decoration: none; color: #1d4ed8; font-weight: 600; white-space: nowrap; padding: 2px 6px; border-radius: 999px; transition: color 0.2s ease, text-shadow 0.2s ease; }
.tag-cloud-link:hover { color: #ef4444; text-shadow: 0 3px 14px rgba(239,68,68,0.4); }
.tag-cloud-fallback { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud-chip { background: rgba(148,163,184,0.18); border-radius: 999px; padding: 6px 12px; font-size: 0.85rem; color: #0f172a; text-decoration: none; border: 1px solid rgba(148,163,184,0.4); }
.tag-cloud-chip:hover { background: rgba(14,165,233,0.12); border-color: rgba(14,165,233,0.4); }
.tag-cloud-note { margin-top: 12px; font-size: 0.78rem; color: #64748b; }
.tag-cloud-panel--error .tag-cloud-orbit,
.tag-cloud-panel--empty .tag-cloud-orbit { display: none; }
.tag-cloud-panel--error::after { content: 'Не вдалося завантажити теги.'; display: block; margin-top: 10px; font-size: 0.85rem; color: #b91c1c; }
.variety-main { min-width: 0; }
.variety-main-card.container-narrow { margin: 0; width: 100%; }

@media (max-width: 1024px) {
    .variety-layout {
        grid-template-columns: 1fr;
        padding: 0;
    }
    .tag-cloud-panel { position: static; }
}

/* ======= Region Ripening Explanation Page - Additional Styles ======= */
.explanation-page { max-width: 1200px; margin: 3rem auto 0 auto; padding: 20px; background: white; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.climate-zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 30px 0; }
.zone-card { border: 2px solid #e0e0e0; border-radius: 10px; padding: 20px; background: #f9f9f9; }
.zone-card.earlier { border-color: #ff6b6b; background: #fff5f5; }
.zone-card.default { border-color: #4ecdc4; background: #f0fffe; }
.zone-card.later { border-color: #45b7d1; background: #f0f8ff; }
.zone-title { font-size: 1.3em; font-weight: bold; margin-bottom: 10px; color: #333; }
.zone-description { margin-bottom: 15px; color: #666; line-height: 1.5; }
.zone-areas { font-size: 0.9em; color: #555; }
.zone-areas ul { margin: 5px 0; padding-left: 20px; list-style-type: disc; overflow-wrap: break-word; word-wrap: break-word; }
.zone-areas li { margin-bottom: 3px; line-height: 1.3; }
.adjustment-info { background: #e8f4fd; border-left: 4px solid #2196f3; padding: 15px; margin: 20px 0; border-radius: 5px; }
.warning-info { background: #fff3cd; border-left: 4px solid #ffc107; padding: 15px; margin: 20px 0; border-radius: 5px; }
.climate-change-info { background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 10px; padding: 20px; margin: 30px 0; }
.climate-change-info h3 { color: #dc3545; margin-top: 0; }
.examples { background: #f0f8f0; border-radius: 10px; padding: 20px; margin: 20px 0; }
.example-item { margin: 10px 0; padding: 10px; background: white; border-radius: 5px; border-left: 3px solid #28a745; }
.explanation-page h1, .explanation-page h2, .explanation-page h3 {
    text-align: center;
    margin-top: 0.7em;
    margin-bottom: 1.3em;
}
.explanation-page h1 {
    text-align: center;
}
.explanation-page h3, .explanation-page .climate-impact-title {
    text-align: center;
    margin-top: 0.7em;
    margin-bottom: 1.3em;
}
.explanation-page .section-label {
    display: block;
    margin-bottom: 1em !important;
    margin-top: 1.7em;
    font-weight: bold;
}
.explanation-page p, .explanation-page .section-label + ul, .explanation-page .section-label + ol {
    margin-top: 1.1em !important;
}
.explanation-page ul, .explanation-page ol {
    padding-left: 20px !important;
    margin-left: 0 !important;
}
.explanation-page p.center-text {
    text-align: center;
    margin-top: 40px;
    color: #666;
}