/* ============================================
   PlantCare.dotiam.com — Plants CSS
   Path: assets/css/plants.css
   ============================================ */

/* ─── QUICK FACTS SIDEBAR CARD ─── */
.ps-facts-list {
	padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ps-fact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--pc-border);
}

.ps-fact-row:last-child {
    border-bottom: none;
}

.ps-fact-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--pc-bg);
    border: 1px solid var(--pc-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    line-height: 1;
}

.ps-fact-body {}

.ps-fact-label {
    font-size: .62rem;
    color: var(--pc-muted);
    font-family: var(--pc-font);
    text-transform: uppercase;
    letter-spacing: .05em;
    line-height: 1;
    margin-bottom: 2px;
}

.ps-fact-val {
    font-size: .8rem;
    font-weight: 700;
    color: var(--pc-text);
    font-family: var(--pc-font);
    line-height: 1.3;
}

/* ─── FAQ SECTION ─── */
.ps-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.ps-faq-item {
    border: 1px solid var(--pc-border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .2s;
}

.ps-faq-item:hover {
    box-shadow: 0 2px 12px rgba(22,163,74,.10);
}

.ps-faq-q {
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 700;
    color: var(--pc-text);
    font-family: var(--pc-font);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    line-height: 1.4;
}

.ps-faq-q::after {
    content: '+';
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--pc-primary);
    flex-shrink: 0;
    transition: transform .25s;
    width: 20px;
    text-align: center;
}

.ps-faq-item.open .ps-faq-q::after {
    transform: rotate(45deg);
}

.ps-faq-a {
    display: none;
    padding: 0 16px 14px;
    font-size: .82rem;
    color: var(--pc-text-light);
    font-family: var(--pc-font);
    line-height: 1.65;
    border-top: 1px solid var(--pc-border);
    background: var(--pc-bg);
}

.ps-faq-item.open .ps-faq-a {
    display: block;
}

/* ─── PLANT INFO TABLE ─── */
.ps-info-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--pc-font);
    font-size: .83rem;
    margin: 12px 0;
}

.ps-info-table tr {
    border-bottom: 1px solid var(--pc-border);
}

.ps-info-table tr:last-child {
    border-bottom: none;
}

.ps-info-table td {
    padding: 10px 12px;
    vertical-align: top;
    color: var(--pc-text);
    line-height: 1.5;
}

.ps-info-table td:first-child {
    width: 38%;
    font-weight: 700;
    color: var(--pc-dark);
    background: var(--pc-bg);
    white-space: nowrap;
}

/* ─── PLANT VARIETIES TABLE ─── */
.ps-variety-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--pc-font);
    font-size: .8rem;
    margin: 12px 0;
}

.ps-variety-table th {
    background: var(--pc-dark);
    color: #fff;
    padding: 10px 12px;
    text-align: left;
    font-weight: 700;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ps-variety-table th:first-child { border-radius: 8px 0 0 0; }
.ps-variety-table th:last-child  { border-radius: 0 8px 0 0; }

.ps-variety-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--pc-border);
    vertical-align: top;
    color: var(--pc-text);
    line-height: 1.5;
}

.ps-variety-table tr:nth-child(even) td {
    background: var(--pc-bg);
}

.ps-variety-table tr:last-child td {
    border-bottom: none;
}

/* ─── PLANT TOXICITY BOX ─── */
.ps-toxic-box {
    background: #fef2f2;
    border: 2px solid #fecaca;
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 12px 0;
}

.ps-toxic-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.ps-toxic-title {
    font-size: .88rem;
    font-weight: 800;
    color: #991b1b;
    font-family: var(--pc-font);
    margin-bottom: 5px;
}

.ps-toxic-text {
    font-size: .8rem;
    color: #7f1d1d;
    font-family: var(--pc-font);
    line-height: 1.6;
}

.ps-toxic-text-hi {
    font-size: .76rem;
    color: #991b1b;
    font-family: var(--pc-font);
    line-height: 1.6;
    margin-top: 6px;
    font-style: italic;
    opacity: .85;
}

/* ─── SAFE BOX ─── */
.ps-safe-box {
    background: #f0fdf4;
    border: 2px solid #bbf7d0;
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 12px 0;
}

.ps-safe-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.ps-safe-title {
    font-size: .88rem;
    font-weight: 800;
    color: #14532d;
    font-family: var(--pc-font);
    margin-bottom: 5px;
}

.ps-safe-text {
    font-size: .8rem;
    color: #166534;
    font-family: var(--pc-font);
    line-height: 1.6;
}

/* ─── QUICK REFERENCE BOX (main article) ─── */
.ps-quick-box {
    border: 2px solid var(--pc-border);
    border-radius: 16px;
    overflow: hidden;
    margin: 16px 0 24px;
}

.ps-quick-title {
    background: linear-gradient(135deg, var(--pc-dark), var(--pc-primary));
    color: #fff;
    padding: 10px 16px;
    font-size: .8rem;
    font-weight: 800;
    font-family: var(--pc-font);
    letter-spacing: .03em;
}

.ps-quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.ps-quick-item {
    padding: 12px 16px;
    border-right: 1px solid var(--pc-border);
    border-bottom: 1px solid var(--pc-border);
}

.ps-quick-item:nth-child(2n) {
    border-right: none;
}

.ps-quick-label {
    font-size: .65rem;
    color: var(--pc-primary);
    font-weight: 700;
    font-family: var(--pc-font);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 3px;
}

.ps-quick-val {
    font-size: .82rem;
    font-weight: 700;
    color: var(--pc-text);
    font-family: var(--pc-font);
    line-height: 1.3;
}

.ps-quick-val-hi {
    font-size: .72rem;
    color: var(--pc-muted);
    font-family: var(--pc-font);
    margin-top: 2px;
    line-height: 1.3;
}

/* ─── FUN FACTS LIST ─── */
.ps-facts-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.ps-fact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    background: var(--pc-bg);
    border: 1px solid var(--pc-border);
    border-radius: 12px;
}

.ps-fact-item-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.ps-fact-item-text {
    font-size: .82rem;
    color: var(--pc-text);
    font-family: var(--pc-font);
    line-height: 1.6;
}

.ps-fact-item-text strong {
    color: var(--pc-dark);
    display: block;
    margin-bottom: 2px;
}

/* ─── CARDS GRID ─── */
.ps-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 12px 0;
}

.ps-card {
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: 14px;
    padding: 16px;
    transition: box-shadow .2s, transform .2s;
}

.ps-card:hover {
    box-shadow: 0 4px 20px rgba(22,163,74,.12);
    transform: translateY(-2px);
}

.ps-card-icon {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.ps-card-title {
    font-size: .83rem;
    font-weight: 800;
    color: var(--pc-dark);
    font-family: var(--pc-font);
    margin-bottom: 6px;
    line-height: 1.3;
}

.ps-card-text {
    font-size: .76rem;
    color: var(--pc-text-light);
    font-family: var(--pc-font);
    line-height: 1.6;
}

/* ─── SECTION HEADINGS ─── */
.ps-h2 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--pc-dark);
    font-family: var(--pc-font);
    margin: 28px 0 4px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--pc-border);
    line-height: 1.3;
}

.ps-h2-hi {
    font-size: .78rem;
    color: var(--pc-muted);
    font-family: var(--pc-font);
    margin-bottom: 14px;
    font-style: italic;
}

.ps-p {
    font-size: .85rem;
    color: var(--pc-text);
    font-family: var(--pc-font);
    line-height: 1.75;
    margin-bottom: 10px;
}

.ps-p-hi {
    font-size: .78rem;
    color: var(--pc-muted);
    font-family: var(--pc-font);
    line-height: 1.7;
    margin-bottom: 14px;
    font-style: italic;
    padding-left: 12px;
    border-left: 3px solid var(--pc-border-dark);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
    .ps-cards-grid {
        grid-template-columns: 1fr;
    }

    .ps-quick-grid {
        grid-template-columns: 1fr;
    }

    .ps-quick-item:nth-child(2n) {
        border-right: 1px solid var(--pc-border);
    }

    .ps-info-table td:first-child {
        width: 45%;
        white-space: normal;
    }
}