/*
 * شاپور — لایهٔ footer.css
 * فوتر و کانال‌ها
 * منبع: فاز ۲ مهاجرت از style.css مرجع (خطوط 9500-10787)
 * ترتیب بارگذاری لایه‌ها = ترتیب کسکید اصلی؛ هرگز ترتیب را تغییر ندهید.
 */

/* ============================================
   v2.13.0 — FOOTER ENHANCEMENT
   ============================================ */
.site-footer {
    background:
        linear-gradient(180deg, var(--bg-secondary) 0%, #050505 100%);
    padding: 60px 0 0;
    border-top: 1px solid rgba(37, 99, 235,0.08);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
    padding-bottom: 40px; border-bottom: 1px solid rgba(30, 58, 95, 0.1);
}
.footer-logo { font-size: 1.5rem; font-weight: 900; }
.footer-desc {
    font-size: 0.88rem; color: var(--text-muted); line-height: 1.8;
    margin-top: 12px; max-width: 280px;
}
.footer-title {
    font-size: 0.95rem; color: var(--text-primary); margin-bottom: 16px;
    font-weight: 700; position: relative; padding-right: 12px;
}
.footer-title::before {
    content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    width: 3px; height: 16px; background: var(--accent-green); border-radius: 2px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: 0.88rem; color: var(--text-secondary); text-decoration: none;
    transition: all 0.2s ease; display: inline-flex; align-items: center; gap: 4px;
}
.footer-links a:hover { color: var(--accent-green); transform: translateX(-3px); }
.footer-bottom {
    text-align: center; padding: 20px 0; color: var(--text-muted);
    font-size: 0.82rem;
}
.footer-bottom p { margin: 0; }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ===== v2.19.12: Accessibility — Skip Link & Screen Reader Text ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 99999;
    padding: 12px 24px;
    background: var(--color-primary, #22c55e);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}
.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;
    width: 1px;
    word-wrap: normal !important;
}

/* ===== v2.19.12: Category Description After Products ===== */
.shapor-category-description {
    margin: 2rem auto 0;
    max-width: 900px;
    padding: 1.5rem 2rem;
    background: var(--bg-card, #ffffff);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-right: 4px solid var(--color-primary, #22c55e);
    border-radius: 12px;
}
.shapor-category-description__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary, #142840);
    margin: 0 0 0.75rem;
}
.shapor-category-description__content {
    color: var(--text-secondary, #5a7a96);
    line-height: 2;
    font-size: 0.92rem;
}
.shapor-category-description__content p {
    margin: 0 0 0.75rem;
}
.shapor-category-description__content p:last-child {
    margin-bottom: 0;
}
.shapor-category-description__content h3,
.shapor-category-description__content h4 {
    color: var(--text-primary, #142840);
    margin: 1.25rem 0 0.5rem;
}
.shapor-category-description__content ul,
.shapor-category-description__content ol {
    padding-right: 1.25rem;
    margin: 0.5rem 0;
}
.shapor-category-description__content li {
    margin-bottom: 0.35rem;
}
.shapor-category-description__content a {
    color: var(--color-primary, #22c55e);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.shapor-category-description__content a:hover {
    opacity: 0.85;
}
.shapor-category-description__content strong,
.shapor-category-description__content b {
    color: var(--text-primary, #142840);
}
@media (max-width: 768px) {
    .shapor-category-description {
        padding: 1rem 1.25rem;
        margin: 1.5rem auto 0;
    }
    .shapor-category-description__title {
        font-size: 1.05rem;
    }
    .shapor-category-description__content {
        font-size: 0.85rem;
        line-height: 1.85;
    }
}.shapor-default-page__content .page-links {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(30, 58, 95, 0.1);
    color: var(--text-secondary, #5a7a96);
    font-size: 0.85rem;
}
@media (max-width: 768px) {}

/* ===== v2.19.12: Index Page Template ===== */
.shapor-index-listing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}
.shapor-index-header {
    text-align: center;
    margin-bottom: 2rem;
}
.shapor-index-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary, #142840);
    margin: 0;
}
.shapor-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.shapor-index-card {
    background: var(--bg-card, #ffffff);
    border: 1px solid rgba(30, 58, 95, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.shapor-index-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(23, 43, 77, 0.12);
}
.shapor-index-card__image {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.shapor-index-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.shapor-index-card:hover .shapor-index-card__image img {
    transform: scale(1.05);
}
.shapor-index-card__body {
    padding: 1.25rem;
}
.shapor-index-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary, #142840);
    margin: 0 0 0.5rem;
    line-height: 1.5;
}
.shapor-index-card__title a {
    color: inherit;
    text-decoration: none;
}
.shapor-index-card__title a:hover {
    color: var(--color-primary, #22c55e);
}
.shapor-index-card__excerpt {
    color: var(--text-secondary, #5a7a96);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.shapor-index-card__link {
    display: inline-block;
    color: var(--color-primary, #22c55e);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.shapor-index-card__link:hover {
    opacity: 0.8;
}
.shapor-index-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    color: var(--text-secondary, #5a7a96);
    line-height: 1.9;
    font-size: 0.95rem;
}
.shapor-index-empty {
    text-align: center;
    padding: 4rem 1.5rem;
}
.shapor-index-empty h1 {
    font-size: 1.5rem;
    color: var(--text-primary, #142840);
    margin-bottom: 0.75rem;
}
.shapor-index-empty p {
    color: var(--text-secondary, #5a7a96);
    margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
    .shapor-index-listing {
        padding: 1.5rem 1rem;
    }
    .shapor-index-title {
        font-size: 1.4rem;
    }
    .shapor-index-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== v2.19.12: Focus-Visible Styles ===== */
*:focus-visible {
    outline: 2px solid var(--color-primary, #22c55e);
    outline-offset: 2px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-primary, #22c55e);
    outline-offset: 2px;
}
/* Remove default outline but keep focus-visible for accessibility */
*:focus:not(:focus-visible) {
    outline: none;
}

/* ============================================================
   v2.20.0 — LANDING PAGE TEMPLATES
   Used by: page-landing-starter.php, page-landing-flowering.php,
            page-landing-reproductive.php, page-landing-program.php
   Theme variants:
     .flowering-landing     → orange accent (#f97316)
     .reproductive-landing  → gold accent (#fbbf24)
   (default = green via var(--accent-green))
   ============================================================ */

/* ---------- Base ---------- */
.landing-page {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding-bottom: 80px;
}

.landing-page .container {
    max-width: 1200px;
}

/* ---------- Section header ---------- */
.section-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 16px;
}
.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.12);
    color: var(--accent-green);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.flowering-landing .section-badge {
    background: rgba(249, 115, 22, 0.12);
    color: var(--accent-orange);
    border-color: rgba(249, 115, 22, 0.3);
}
.reproductive-landing .section-badge {
    background: rgba(251, 191, 36, 0.12);
    color: var(--accent-gold);
    border-color: rgba(251, 191, 36, 0.3);
}
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}
.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- HERO ---------- */
.pkg-hero {
    padding: 60px 0 80px;
    background:
        radial-gradient(ellipse at top right, rgba(37, 99, 235, 0.12), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(29, 78, 216, 0.08), transparent 60%),
        var(--bg-primary);
    position: relative;
    overflow: hidden;
}
.flowering-landing .pkg-hero {
    background:
        radial-gradient(ellipse at top right, rgba(249, 115, 22, 0.14), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(239, 68, 68, 0.08), transparent 60%),
        var(--bg-primary);
}
.reproductive-landing .pkg-hero {
    background:
        radial-gradient(ellipse at top right, rgba(251, 191, 36, 0.14), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(245, 158, 11, 0.08), transparent 60%),
        var(--bg-primary);
}
.pkg-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}
.pkg-hero-content { max-width: 640px; }

.pkg-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(37, 99, 235, 0.15);
    color: var(--accent-green);
    border: 1px solid rgba(37, 99, 235, 0.35);
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 24px;
}
.flowering-landing .pkg-badge {
    background: rgba(249, 115, 22, 0.15);
    color: var(--accent-orange);
    border-color: rgba(249, 115, 22, 0.35);
}
.reproductive-landing .pkg-badge {
    background: rgba(251, 191, 36, 0.15);
    color: var(--accent-gold);
    border-color: rgba(251, 191, 36, 0.35);
}
.pkg-hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.flowering-landing .pkg-hero-title {
    background: linear-gradient(135deg, #f97316, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.reproductive-landing .pkg-hero-title {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.pkg-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}

.pkg-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-bottom: 32px;
}
.pkg-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}
.pkg-feature-icon {
    font-size: 1.15rem;
    line-height: 1;
}

.pkg-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Hero floating price card */
.pkg-hero-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(30, 58, 95, 0.1);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}.pkg-hero-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.pkg-hero-price .pkg-price-now {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-green);
}
.flowering-landing .pkg-hero-price .pkg-price-now { color: var(--accent-orange); }
.reproductive-landing .pkg-hero-price .pkg-price-now { color: var(--accent-gold); }
.pkg-hero-price .pkg-price-old {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}
.pkg-hero-buy { width: 100%; padding: 16px 24px; font-size: 1.05rem; }
.pkg-hero-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}.flowering-landing .pkg-price-box::before {
    background: linear-gradient(135deg, #f97316, #ef4444);
}
.reproductive-landing .pkg-price-box::before {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}.flowering-landing .pkg-price-now { color: var(--accent-orange); }
.reproductive-landing .pkg-price-now { color: var(--accent-gold); }.flowering-landing .pkg-price-save {
    background: rgba(249, 115, 22, 0.15);
    color: var(--accent-orange);
}
.reproductive-landing .pkg-price-save {
    background: rgba(251, 191, 36, 0.15);
    color: var(--accent-gold);
}/* ---------- HECTARE SELECTOR ---------- */
.pkg-hectare-section { padding: 64px 0; }
.pkg-hectare-card {
    background: var(--bg-card);
    border: 1px solid rgba(30, 58, 95, 0.1);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-md);
    max-width: 760px;
    margin: 0 auto;
}
.pkg-hectare-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}
.pkg-hectare-btn {
    flex: 1 1 120px;
    padding: 14px 18px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid rgba(30, 58, 95, 0.12);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.pkg-hectare-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: var(--accent-green);
}
.flowering-landing .pkg-hectare-btn:hover { border-color: var(--accent-orange); }
.reproductive-landing .pkg-hectare-btn:hover { border-color: var(--accent-gold); }
.pkg-hectare-btn[aria-pressed="true"] {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}
.flowering-landing .pkg-hectare-btn[aria-pressed="true"] {
    background: linear-gradient(135deg, #f97316, #ef4444);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}
.reproductive-landing .pkg-hectare-btn[aria-pressed="true"] {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.4);
}
.pkg-hectare-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 14px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}
.pkg-hectare-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.pkg-hectare-input {
    width: 120px;
    padding: 10px 14px;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid rgba(30, 58, 95, 0.14);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    text-align: center;
}
.pkg-hectare-input:focus {
    outline: none;
    border-color: var(--accent-green);
}
.flowering-landing .pkg-hectare-input:focus { border-color: var(--accent-orange); }
.reproductive-landing .pkg-hectare-input:focus { border-color: var(--accent-gold); }

.pkg-hectare-info {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    padding: 18px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.pkg-hectare-info strong {
    color: var(--accent-green);
    font-weight: 800;
}
.flowering-landing .pkg-hectare-info strong { color: var(--accent-orange); }
.reproductive-landing .pkg-hectare-info strong { color: var(--accent-gold); }

/* ---------- PRODUCTS ---------- */
.pkg-products-section { padding: 64px 0; }
.pkg-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.pkg-product-card {
    background: var(--bg-card);
    border: 1px solid rgba(30, 58, 95, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}
.pkg-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: var(--shadow-lg);
}
.flowering-landing .pkg-product-card:hover { border-color: rgba(249, 115, 22, 0.4); }
.reproductive-landing .pkg-product-card:hover { border-color: rgba(251, 191, 36, 0.4); }

.pkg-product-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px 16px;
    border-bottom: 1px solid rgba(30, 58, 95, 0.09);
}
.pkg-product-icon {
    font-size: 2.4rem;
    line-height: 1;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}
.pkg-product-meta { display: flex; flex-direction: column; gap: 4px; }
.pkg-product-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
.pkg-product-qty {
    color: var(--accent-green);
    font-size: 0.9rem;
    font-weight: 600;
}
.flowering-landing .pkg-product-qty { color: var(--accent-orange); }
.reproductive-landing .pkg-product-qty { color: var(--accent-gold); }

.pkg-product-body { padding: 18px 24px 24px; }
.pkg-product-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 14px;
}
.pkg-product-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}
.pkg-benefit {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
}
.pkg-benefit-tick {
    color: var(--accent-green);
    font-weight: 800;
    flex-shrink: 0;
}
.flowering-landing .pkg-benefit-tick { color: var(--accent-orange); }
.reproductive-landing .pkg-benefit-tick { color: var(--accent-gold); }

.pkg-product-bottles {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}/* ---------- USAGE STAGES ---------- */
.pkg-usage-section { padding: 64px 0; }
.pkg-usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.pkg-usage-step {
    background: var(--bg-card);
    border: 1px solid rgba(30, 58, 95, 0.1);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}
.pkg-usage-step:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.4);
}
.flowering-landing .pkg-usage-step:hover { border-color: rgba(249, 115, 22, 0.4); }
.reproductive-landing .pkg-usage-step:hover { border-color: rgba(251, 191, 36, 0.4); }
.pkg-usage-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 800;
    font-size: 1.4rem;
    border-radius: 50%;
    margin-bottom: 16px;
}
.flowering-landing .pkg-usage-num {
    background: linear-gradient(135deg, #f97316, #ef4444);
}
.reproductive-landing .pkg-usage-num {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}
.pkg-usage-time {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.pkg-usage-dose {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-secondary);
    color: var(--accent-green);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.flowering-landing .pkg-usage-dose { color: var(--accent-orange); }
.reproductive-landing .pkg-usage-dose { color: var(--accent-gold); }
.pkg-usage-note {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

/* ---------- BENEFITS ---------- */
.pkg-benefits-section { padding: 64px 0; }
.pkg-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.pkg-benefit-card {
    background: var(--bg-card);
    border: 1px solid rgba(30, 58, 95, 0.1);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
}
.pkg-benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.4);
}
.flowering-landing .pkg-benefit-card:hover { border-color: rgba(249, 115, 22, 0.4); }
.reproductive-landing .pkg-benefit-card:hover { border-color: rgba(251, 191, 36, 0.4); }
.pkg-benefit-icon {
    font-size: 2.4rem;
    line-height: 1;
    display: block;
    margin-bottom: 14px;
}
.pkg-benefit-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.pkg-benefit-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ---------- CTA ---------- */
.pkg-cta-section { padding: 64px 0; }
.pkg-cta {
    background: var(--bg-card);
    border: 1px solid rgba(30, 58, 95, 0.1);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.pkg-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0.08;
    pointer-events: none;
}
.flowering-landing .pkg-cta::before {
    background: linear-gradient(135deg, #f97316, #ef4444);
}
.reproductive-landing .pkg-cta::before {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}
.pkg-cta-text { position: relative; z-index: 1; margin-bottom: 24px; }
.pkg-cta-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.pkg-cta-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}
.pkg-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}
.pkg-cta-btn { padding: 16px 36px; font-size: 1.05rem; }
.pkg-cta-phone {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    direction: ltr;
    display: inline-block;
}

/* ---------- STICKY CART ---------- */
.pkg-sticky-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(30, 58, 95, 0.14);
    box-shadow: 0 -4px 20px rgba(23, 43, 77, 0.12);
}
.pkg-sticky-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pkg-sticky-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.pkg-sticky-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-green);
}
.flowering-landing .pkg-sticky-price { color: var(--accent-orange); }
.reproductive-landing .pkg-sticky-price { color: var(--accent-gold); }
.pkg-sticky-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    white-space: nowrap;
}/* ============================================================
   WIZARD — page-landing-program.php
   ============================================================ */
.program-landing .pkg-hero { padding: 60px 0 40px; }
.program-hero-content { max-width: 760px; margin: 0 auto; text-align: center; }
.program-hero-content .pkg-hero-features { justify-content: center; }
.program-hero-content .pkg-hero-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.program-hero-content .pkg-badge { margin: 0 auto 24px; }

.wizard-section { padding: 40px 0 80px; }

/* Steps indicator */
.steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}
.step-dot.active { color: var(--accent-green); }
.step-dot.done { color: var(--accent-emerald); }
.step-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 2px solid rgba(30, 58, 95, 0.14);
    color: var(--text-muted);
    font-weight: 800;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.1rem;
}
.step-dot.active .step-circle {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}
.step-dot.done .step-circle {
    background: var(--accent-emerald);
    color: #fff;
    border-color: transparent;
}
.step-label {
    font-size: 0.85rem;
    font-weight: 600;
}
.step-line {
    width: 60px;
    height: 2px;
    background: rgba(30, 58, 95, 0.14);
    border-radius: 1px;
}

/* Wizard step container */
.wizard-step { animation: fadeIn 0.4s ease; }
/* v2.24.1 — قواعد قطعی نمایش/پنهان‌سازی گام‌های ویزارد «برنامه کودی»:
   صفحه با hidden attribute گام‌ها را جابه‌جا می‌کند؛ این قاعده مطمئن می‌شود
   هیچ قاعده display دیگری (از هر بلاک قدیمی) گام‌ها را قفل نکند. */
.program-landing .wizard-step { display: block; }
.program-landing .wizard-step[hidden] { display: none !important; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Crops grid */
.crops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-top: 24px;
}
.crop-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 18px;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid rgba(30, 58, 95, 0.1);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    position: relative;
}
.crop-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-green);
    box-shadow: var(--shadow-lg);
}
.crop-icon {
    font-size: 3rem;
    line-height: 1;
}
.crop-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}
.crop-latin {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
    direction: ltr;
}
.crop-stages-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    background: rgba(37, 99, 235, 0.15);
    color: var(--accent-green);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
}

/* Wizard hectare card extras */
.wizard-hectare-card { max-width: 760px; margin: 0 auto; }
.wizard-selected-crop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    margin-bottom: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}
.wizard-selected-icon {
    font-size: 2rem;
    line-height: 1;
}
.wizard-selected-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-green);
}

/* Wizard actions */
.wizard-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 28px;
    flex-wrap: wrap;
}

/* Program (step 3) */
.program-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid rgba(30, 58, 95, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
}
.program-head-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.program-head-crop {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-green);
}
.program-head-ha {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.program-stages {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}
.program-stage {
    background: var(--bg-card);
    border: 1px solid rgba(30, 58, 95, 0.1);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}
.program-stage:hover { border-color: rgba(37, 99, 235, 0.3); }
.program-stage-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(30, 58, 95, 0.1);
}
.program-stage-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 800;
    border-radius: 50%;
    flex-shrink: 0;
}
.program-stage-head-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.program-stage-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}
.program-stage-time {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.program-stage-products {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.program-stage-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}
.program-stage-product-name {
    font-weight: 600;
    color: var(--text-primary);
}
.program-stage-product-dose {
    color: var(--text-secondary);
    font-size: 0.88rem;
}
.program-stage-product-dose strong {
    color: var(--accent-green);
    font-weight: 800;
}

/* Bottle summary */
.bottle-summary {
    background: var(--bg-card);
    border: 1px solid rgba(30, 58, 95, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    margin-bottom: 32px;
}
.bottle-summary .section-header { margin-bottom: 24px; }
.bottle-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.bottle-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}
.bottle-item-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}
.bottle-item-total {
    color: var(--text-secondary);
    font-size: 0.88rem;
}
.bottle-item-total strong {
    color: var(--accent-green);
    font-weight: 800;
}
.bottle-item-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}
.bottle-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}
.bottle-chip-20 {
    background: rgba(37, 99, 235, 0.18);
    color: var(--accent-green);
}
.bottle-chip-5 {
    background: rgba(29, 78, 216, 0.18);
    color: var(--accent-emerald);
}
.bottle-chip-1 {
    background: rgba(160, 160, 160, 0.18);
    color: var(--text-secondary);
}

/* Buy program CTA */
.buy-program {
    background: var(--bg-card);
    border: 1px solid rgba(30, 58, 95, 0.1);
    border-radius: var(--radius-xl);
    padding: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.buy-program::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0.08;
    pointer-events: none;
}
.buy-program-info { position: relative; z-index: 1; }
.buy-program-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.18);
    color: var(--accent-green);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.buy-program-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.buy-program-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin: 0;
    max-width: 460px;
}
.buy-program-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
    min-width: 240px;
}
.buy-program-btn {
    padding: 14px 24px;
    font-size: 0.98rem;
    white-space: nowrap;
}
.pdf-download {
    padding: 12px 20px;
    font-size: 0.92rem;
    white-space: nowrap;
}

