/*
Theme Name: FloraMech
Theme URI: https://meyil.net/
Author: meyiLNET
Author URI: https://meyil.net/
Description: FloraMech is an ultra-fast, zero-dependency, modern 2026 e-commerce WordPress & WooCommerce theme designed specifically for BitkiGrow. Built for maximum speed, Core Web Vitals optimization, and clean native shopping experiences without heavy builder plugins.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: floramech
Tags: e-commerce, woocommerce, responsive-layout, block-styles, custom-colors, custom-menu, featured-images
*/

/* Core styles are loaded via assets/css/ */

/* ==========================================================================
   BITKIGROW BESİN PROGRAMLARI & TABLOLARI (FloraMech 2026)
   ========================================================================== */

/* Lead Description */
.flora-feed-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border-left: 4px solid var(--flora-primary, #047857);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

/* Tabs Navigation */
.flora-feed-tab-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.flora-feed-tab-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  font-family: inherit;
  color: #334155;
  flex: 1 1 240px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.flora-feed-tab-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.flora-feed-tab-btn.is-active {
  background: var(--flora-primary, #047857);
  border-color: var(--flora-primary, #047857);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(4, 120, 87, 0.25);
}

.flora-feed-tab-btn.is-active .tab-text small {
  color: #a7f3d0;
}

.flora-feed-tab-btn .tab-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.flora-feed-tab-btn .tab-text {
  display: flex;
  flex-direction: column;
}

.flora-feed-tab-btn .tab-text strong {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.flora-feed-tab-btn .tab-text small {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 3px;
  transition: color 0.2s ease;
}

/* Tab Panes */
.flora-feed-tab-pane {
  display: none;
  animation: floraFeedFadeIn 0.35s ease;
}

.flora-feed-tab-pane.is-active {
  display: block;
}

@keyframes floraFeedFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.flora-feed-tab-pane h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sub-tab Navigation (e.g. Biobizz All-Mix vs Light-Mix) */
.flora-subtab-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #f1f5f9;
  padding: 6px;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  border: 1px solid #e2e8f0;
}

.flora-subtab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.flora-subtab-btn:hover {
  color: #0f172a;
  background: #e2e8f0;
}

.flora-subtab-btn.is-active {
  background: #059669;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
}

.flora-subtab-pane {
  display: none;
  animation: floraFeedFadeIn 0.3s ease;
}

.flora-subtab-pane.is-active {
  display: block;
}

/* Feeding Section Wrappers (For multi-medium pages like Canna) */
.flora-feed-section {
  margin-bottom: 3.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 2px dashed #e2e8f0;
}

.flora-feed-section:last-child {
  border-bottom: none;
  margin-bottom: 1.5rem;
  padding-bottom: 0;
}

.flora-feed-section-header {
  margin-bottom: 1.5rem;
}

.flora-feed-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 6px 0;
}

.flora-feed-section-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.flora-feed-section-desc {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0;
}

/* Card Container Expansion for Wide Content */
.flora-page-card:has(.flora-feed-tab-nav) {
  max-width: 1280px;
}

.flora-feed-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 6px;
}

/* Responsive Table Styling */
.wp-block-table.flora-feed-table {
  display: block !important;
  width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid #e2e8f0 !important;
  margin: 0.75rem 0 2rem 0 !important;
  background: #ffffff !important;
  position: relative !important;
}

/* Custom Scrollbar for sleek UX */
.wp-block-table.flora-feed-table::-webkit-scrollbar {
  height: 8px;
}
.wp-block-table.flora-feed-table::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 0 0 12px 12px;
}
.wp-block-table.flora-feed-table::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}
.wp-block-table.flora-feed-table::-webkit-scrollbar-thumb:hover {
  background: var(--flora-primary, #047857);
}

.wp-block-table.flora-feed-table table,
.wp-block-table.flora-feed-table table.has-fixed-layout {
  display: table !important;
  width: max-content !important;
  min-width: 100% !important;
  table-layout: auto !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 0 !important;
  font-size: 0.88rem !important;
}

.flora-feed-table th {
  display: table-cell !important;
  background: #0f172a !important;
  color: #ffffff !important;
  padding: 12px 14px !important;
  text-align: center !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap !important;
  border-bottom: 2px solid var(--flora-primary, #047857) !important;
  border-top: none !important;
  vertical-align: middle !important;
}

.flora-feed-table th.flora-feed-col-product {
  display: table-cell !important;
  text-align: left !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
  position: sticky !important;
  left: 0 !important;
  z-index: 5 !important;
  background: #0f172a !important;
  color: #ffffff !important;
  width: 220px !important;
  min-width: 220px !important;
  max-width: 220px !important;
  box-sizing: border-box !important;
  box-shadow: 4px 0 8px rgba(0, 0, 0, 0.12) !important;
}

.flora-feed-table th:not(.flora-feed-col-product) {
  min-width: 95px !important;
  width: 95px !important;
}

.flora-feed-table td {
  display: table-cell !important;
  padding: 10px 10px !important;
  text-align: center !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-right: 1px solid #f1f5f9 !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
  font-size: 0.88rem !important;
}

.flora-feed-table td.flora-feed-col-product {
  display: table-cell !important;
  text-align: left !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
  position: sticky !important;
  left: 0 !important;
  z-index: 4 !important;
  background: #ffffff !important;
  width: 220px !important;
  min-width: 220px !important;
  max-width: 220px !important;
  box-sizing: border-box !important;
  box-shadow: 4px 0 8px rgba(0, 0, 0, 0.05) !important;
}

.flora-feed-table td:not(.flora-feed-col-product) {
  min-width: 95px !important;
  width: 95px !important;
}

.flora-feed-table tr:nth-child(even) td {
  background-color: #f8fafc;
}

.flora-feed-table tr:nth-child(even) td.flora-feed-col-product {
  background-color: #f8fafc !important;
}

.flora-feed-table tr:hover td {
  background-color: #f1f5f9;
}

.flora-feed-table tr:hover td.flora-feed-col-product {
  background-color: #e2e8f0 !important;
}

.flora-feed-table td.flora-feed-col-product a {
  color: var(--flora-primary, #047857) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  transition: color 0.2s ease !important;
}

.flora-feed-table td.flora-feed-col-product a:hover {
  color: #065f46 !important;
  text-decoration: underline !important;
}

.flora-feed-table td.flora-feed-cell-dose {
  display: table-cell !important;
  font-weight: 700 !important;
  color: #065f46 !important;
  background: #ecfdf5 !important;
  border-bottom: 1px solid #d1fae5 !important;
  border-right: 1px solid #e2e8f0 !important;
}

.flora-feed-table tr:nth-child(even) td.flora-feed-cell-dose {
  background: #e6fcf0 !important;
}

.flora-feed-table tr:hover td.flora-feed-cell-dose {
  background: #d1fae5 !important;
  color: #047857 !important;
}

.flora-feed-table td.flora-feed-cell-empty {
  display: table-cell !important;
  color: #94a3b8 !important;
  font-size: 0.88rem !important;
}

/* Phase Badges Container */
.flora-feed-phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 1.5rem 0 2.5rem 0;
}

.flora-phase-badge {
  padding: 14px 18px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.flora-phase-badge .phase-title {
  font-weight: 800;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}

.flora-phase-badge .phase-desc {
  font-size: 0.84rem;
  font-weight: 600;
  color: inherit;
  opacity: 0.9;
}

.phase-fide {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.phase-veg {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.phase-bloom {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.phase-flush {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.flora-feed-section-heading {
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  color: #064e3b !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 2.2rem !important;
  margin-bottom: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  border-bottom: 2px solid #e2e8f0 !important;
}

/* Notes List */
.flora-feed-notes-list {
  background: #f8fafc;
  padding: 1.5rem 1.5rem 1.5rem 2.5rem !important;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  line-height: 1.8;
  margin-top: 1rem;
}

.flora-feed-notes-list li {
  margin-bottom: 0.85rem;
  color: #334155;
  font-size: 0.95rem;
}

.flora-feed-notes-list li strong {
  color: #0f172a;
}

.flora-feed-notes-list a {
  color: var(--flora-primary, #047857);
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .flora-feed-tab-btn {
    flex: 1 1 100%;
  }
  .flora-feed-phases {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BITKI BESIN PROGRAMLARI HUB & SEO REHBERİ (FloraMech 2026)
   ========================================================================== */

.flora-hub-hero {
  background: linear-gradient(135deg, #064e3b 0%, #047857 60%, #059669 100%);
  color: #ffffff;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px rgba(6, 78, 59, 0.18);
  position: relative;
  overflow: hidden;
}

.flora-hub-hero::after {
  content: "🌿";
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-size: 10rem;
  opacity: 0.08;
  pointer-events: none;
}

.flora-hub-hero h1 {
  font-size: 2.35rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.flora-hub-hero p {
  font-size: 1.12rem;
  line-height: 1.7;
  color: #e2e8f0;
  max-width: 820px;
  margin-bottom: 0;
}

.flora-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.flora-brand-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  position: relative;
}

.flora-brand-card:hover {
  transform: translateY(-5px);
  border-color: #10b981;
  box-shadow: 0 16px 30px rgba(4, 120, 87, 0.12);
}

.flora-brand-top {
  margin-bottom: 1.25rem;
}

.flora-brand-tag {
  display: inline-block;
  padding: 4px 10px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.flora-brand-card h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a !important;
  margin: 0 0 0.65rem 0 !important;
  line-height: 1.3;
}

.flora-brand-card p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.flora-brand-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.flora-brand-features li {
  font-size: 0.88rem;
  color: #334155;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.flora-brand-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: #f8fafc;
  color: #047857;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.flora-brand-card:hover .flora-brand-cta {
  background: #047857;
  color: #ffffff !important;
  border-color: #047857;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.25);
}

/* SEO Article Styles */
.flora-seo-article {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  margin-bottom: 3rem;
}

.flora-seo-article h2 {
  color: #064e3b !important;
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ecfdf5;
  line-height: 1.35;
}

.flora-seo-article h2:first-of-type {
  margin-top: 0;
}

.flora-seo-article h3 {
  color: #0f172a !important;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.flora-seo-article p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 1.25rem;
}

.flora-callout {
  background: #f0fdf4;
  border-left: 4px solid #10b981;
  padding: 1.25rem 1.5rem;
  border-radius: 0 12px 12px 0;
  margin: 1.75rem 0;
}

.flora-callout p {
  margin: 0;
  color: #064e3b;
  font-size: 0.98rem;
  line-height: 1.7;
}

.flora-callout strong {
  color: #047857;
}

.flora-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.flora-faq-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  transition: border-color 0.2s ease;
}

.flora-faq-item:hover {
  border-color: #cbd5e1;
}

.flora-faq-item h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.flora-faq-item p {
  margin: 0;
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .flora-hub-hero {
    padding: 2rem 1.5rem;
  }
  .flora-hub-hero h1 {
    font-size: 1.8rem;
  }
  .flora-brand-grid {
    grid-template-columns: 1fr;
  }
}

/* Accessibility / SEO Screen Reader Text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}




