/* ============================================================
   UAorganic — Flower page styles (single-edible_flower.php)
   Depends on: culture.css (cult-hero, page-nav, section-*,
               taste-card, grow-param, sim-card, etc.)
   Version: 2.1.0
   ============================================================ */

/* ── Page background (override theme green-50) ───────────── */
body.single-edible_flower {
    --color-bg:   #ffffff;
    --color-bg-2: #f8fafc;
    background:   #ffffff;
}

/* ── Hero: soft floral gradient (deep plum → rose) ──────────*/
body.single-edible_flower .cult-hero {
    background: linear-gradient( 150deg, #1a0828 0%, #4a1272 45%, #9d174d 100% );
}
body.single-edible_flower .cult-hero::after {
    background: radial-gradient( circle, rgba(190,24,93,.18) 0%, transparent 70% );
}

/* ── Intensity bar: glass card on dark hero ──────────────── */
body.single-edible_flower .cult-intensity {
    background: rgba(0,0,0,.30);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    padding: 10px 16px;
    gap: 10px;
}
body.single-edible_flower .cult-intensity__label { color: rgba(255,255,255,.85); }
body.single-edible_flower .cult-intensity__track  {
    background: rgba(255,255,255,.35);
    height: 6px;
}
body.single-edible_flower .cult-intensity__fill {
    background: linear-gradient( 90deg, #f43f8e 0%, #a855f7 100% );
    height: 6px;
    box-shadow: 0 0 8px rgba(244,63,142,.6);
}
body.single-edible_flower .cult-intensity__score  { color: #f472b6; font-size: 13px; font-weight: 800; }

/* ── Section spacing: tighter than microgreen pages ─────── */
body.single-edible_flower .cult-section { padding: 36px 0; }
body.single-edible_flower #taste        { padding: 32px 0 16px; }

/* ── Profile strip: orange icons (matches btn--hero-primary) ─ */
body.single-edible_flower .grow-param__icon {
    background: #fff7ed;
    color: #ea580c;
}

/* ── Culinary: orange icon overrides (culture.css uses green) */
body.single-edible_flower .usage-card__icon {
    background: #fff7ed;
    color: #ea580c;
}
body.single-edible_flower .usage-card:hover {
    border-color: #fed7aa;
    box-shadow: 0 4px 16px rgba(234,88,12,.08);
}
body.single-edible_flower .usage-pair-card__icon {
    background: #fff7ed;
    color: #ea580c;
}
body.single-edible_flower .usage-pair-card:hover {
    border-color: #fed7aa;
    box-shadow: 0 4px 12px rgba(234,88,12,.07);
}
body.single-edible_flower .usage-pair-card__item {
    background: #fff7ed;
    color: #ea580c;
    border-color: #fed7aa;
}

/* ── Profile strip (quick-facts row below nav) ────────────── */
.flower-profile-strip {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
}
.flower-profile-grid {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax( 150px, 1fr ) );
    gap: 12px;
}

/* ── Safety note (callout inside safety section) ─────────── */
.flower-safety-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-left: 4px solid #ea580c;
    border-radius: 10px;
    padding: 13px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.6;
    color: #431407;
}
.flower-safety-note svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #ea580c;
}
.flower-safety-note p { margin: 0; }

/* ── Generic prose (safety, culinary, storage, benefits) ──── */
.flower-prose {
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 20px;
}
.flower-prose p                 { margin: 0 0 12px; }
.flower-prose p:last-child      { margin-bottom: 0; }
.flower-prose ul, .flower-prose ol { margin: 0 0 14px; padding-left: 22px; }
.flower-prose li                { margin-bottom: 6px; }
.flower-prose strong            { color: #1e293b; }
.flower-prose h3, .flower-prose h4 { font-family: var(--font-heading); font-weight: 700; color: var(--color-text); margin: 18px 0 8px; }

/* ── Table wrap (season, stages) ─────────────────────────── */
.flower-table-wrap { overflow-x: auto; margin: 0 0 16px; }

.flower-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}
.flower-table-wrap th {
    background: #f8fafc;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #64748b;
    padding: 9px 14px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}
.flower-table-wrap td {
    padding: 10px 14px;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
    line-height: 1.5;
    vertical-align: top;
}
.flower-table-wrap tr:last-child td         { border-bottom: none; }
.flower-table-wrap tbody tr:nth-child(even) td { background: #fafafa; }

/* ── Benefits prose: style embedded table ───────────────── */
.flower-prose--benefits table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 12px 0 20px;
}
.flower-prose--benefits th {
    background: #052E16;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #ffffff;
    padding: 9px 14px;
    text-align: left;
    border-bottom: none;
}
.flower-prose--benefits td {
    padding: 9px 14px;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
    line-height: 1.5;
    vertical-align: top;
}
.flower-prose--benefits tr:last-child td { border-bottom: none; }
.flower-prose--benefits tbody tr:nth-child(even) td { background: #fafafa; }
.flower-prose--benefits td:first-child { font-weight: 600; color: #1e293b; white-space: nowrap; }
.flower-prose--benefits blockquote {
    margin: 0 0 16px;
    padding: 10px 14px;
    background: #f8fafc;
    border-left: 3px solid #cbd5e1;
    border-radius: 0 8px 8px 0;
    font-size: 12px;
    color: #64748b;
}
.flower-prose--benefits blockquote p { margin: 0; }

/* ── Benefits "присутні" compact tag line ────────────────── */
.benefits-present {
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}
.benefits-present span {
    font-weight: 600;
    color: #475569;
}

/* ── Sub-section title ────────────────────────────────────── */
.flower-sub-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    margin: 20px 0 10px;
}

/* ── Culinary 2-column grid ──────────────────────────────── */
.flower-culinary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

/* ── Storage: three horizontal cards ────────────────────── */
.flower-storage-row {
    display: grid;
    grid-template-columns: repeat( 3, 1fr );
    gap: 16px;
}
.flower-storage-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
}
.flower-storage-card--fresh { background: #f0fdf4; border-color: #bbf7d0; }
.flower-storage-card--buy   { background: #fee2e2; border-color: #fca5a5; position: relative; overflow: hidden; }
.flower-storage-card--home  { background: #f0f9ff; border-color: #bae6fd; }
.flower-storage-card__watermark {
    position: absolute;
    bottom: -16px;
    right: -12px;
    width: 100px;
    height: 100px;
    color: #ef4444;
    opacity: .1;
    pointer-events: none;
}
.flower-storage-card__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.flower-storage-card__header svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #94a3b8;
}
.flower-storage-card .flower-prose { margin-bottom: 0; }

/* ── Benefits: table (left) + know block (right) + note bar */
.flower-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 4px;
}
.flower-benefits-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    overflow: hidden;
}
.flower-benefits-card--table {
    background: #fff;
    padding-top: 12px;
}
.flower-benefits-card--table .flower-prose--benefits table:first-child {
    margin-top: 0;
}
.flower-benefits-card--know {
    background: #fff0f6;
    border-color: #fecdd3;
}
.flower-benefits-card .flower-prose { margin-bottom: 0; }
.flower-benefits-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-left: 4px solid #f97316;
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.6;
    color: #7c2d12;
}
.flower-benefits-note svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #f97316;
}
.flower-benefits-note p { margin: 0; }
.flower-benefits-note a { color: #c2410c; text-underline-offset: 2px; }

/* ── Safety: edible parts + usage notes side-by-side ────── */
.flower-safety-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 4px;
}
.flower-safety-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
}
.flower-safety-card--edible {
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.flower-safety-card--usage {
    background: #fffbeb;
    border-color: #fde68a;
}
.flower-safety-card .flower-prose { margin-bottom: 0; }
.flower-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-left: 4px solid #0ea5e9;
    border-radius: 10px;
    padding: 13px 16px;
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.6;
    color: #0c4a6e;
}
.flower-disclaimer svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #0ea5e9;
}
.flower-disclaimer p { margin: 0; }
.flower-disclaimer a { color: #0369a1; text-decoration: underline; text-underline-offset: 2px; }
.flower-disclaimer a:hover { color: #075985; }

/* ── Season / supply side-by-side grid ───────────────────── */
.flower-season-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 4px;
}
.flower-season-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    overflow: hidden;
}
.flower-season-card:nth-child(1) {
    background: #fff7ed;
    border-color: #fed7aa;
}
.flower-season-card:nth-child(2) {
    background: #fff0f6;
    border-color: #fecdd3;
}
.flower-season-card .flower-table-wrap { margin-bottom: 0; }
.flower-season-card .flower-table-wrap tbody tr:nth-child(even) td { background: transparent; }
.flower-season-card .flower-table-wrap table { border: none; }
.flower-season-card .flower-table-wrap th { background: transparent; }
.flower-season-card__title {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #94a3b8;
    margin-bottom: 14px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media ( max-width: 900px ) {
    .flower-storage-row    { grid-template-columns: 1fr 1fr; }
}
@media ( max-width: 768px ) {
    .flower-culinary-grid  { grid-template-columns: 1fr; }
    .flower-profile-grid   { grid-template-columns: repeat( 2, 1fr ); }
    .flower-season-grid    { grid-template-columns: 1fr; }
    .flower-safety-grid    { grid-template-columns: 1fr; }
    .flower-benefits-grid  { grid-template-columns: 1fr; }
    .flower-storage-row    { grid-template-columns: 1fr; }

    /* Benefits table: stack cells on mobile */
    .flower-prose--benefits thead { display: none; }
    .flower-prose--benefits table,
    .flower-prose--benefits tbody { display: block; width: 100%; }
    .flower-prose--benefits tr    { display: flex; flex-direction: column; border-bottom: 1px solid #f1f5f9; }
    .flower-prose--benefits tr:last-child { border-bottom: none; }
    .flower-prose--benefits td    { display: block; border-bottom: none; padding: 3px 14px; }
    .flower-prose--benefits td:first-child { padding-top: 10px; font-weight: 700; color: #1e293b; white-space: normal; }
    .flower-prose--benefits td:last-child  { padding-bottom: 10px; color: #64748b; font-size: 12px; }
}
@media ( max-width: 480px ) {
    .flower-profile-grid  { grid-template-columns: repeat( 2, 1fr ); }
}
