/* =========================================================
   GLOBAL FONT IMPORTS
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Fredericka+the+Great&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playwrite+DE+LA+Guides&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Festive&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kranky&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
/* --- PH Number --- */


:root {

    --green-top: #b6e8c5;
    --green-mid: #c8edd2;
    --green-bottom: #f8fcf9;
    --ink: #101010;
    --muted: #6f746f;
    --yellow: #ffc900;
    --nav-shadow: 0 12px 28px rgba(50, 75, 58, 0.1);
    --green-brand: rgb(15 190 109);

    /* Details page */
    --primary:#0d6efd;
    --success:#0ea54a;
    --dark:#10253d;
    --light:#f6f8fb;
    --border:#e8edf4;
    --radius:18px;
    --shadow:0 10px 35px rgba(25,42,70,.08);
    --transition:.35s ease;
}

* {

    box-sizing: border-box;
}

html {

    scroll-behavior: smooth;
}

body {

    color: var(--ink);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* COMMON */
.categories-section {
    padding: 40px 0 100px;
    background: #ffffff;
    margin-top: 0;
}

.cat-plant-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
}

.cat-plant-card {
    position: relative;
    cursor: pointer;
}

.cat-plant-card:hover {
    box-shadow: 0 4px 20px rgb(0 0 0 / 32%);
}

.plant-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.plant-img-wrapper {
    position: relative;
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    padding: 14% 0 0 0;
}
.plant-img-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.plant-body {
    padding: 16px;
    position: relative;
}

.plant-category {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 2px;
}

.plant-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}
.plant-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0;
}

.btn-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    padding: 0;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.btn-favorite, .btn-add {
    position: absolute;
    z-index: 10;
}

.btn-add {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #10b981;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    padding: 0;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.btn-add:hover {
    background-color: #059669;
}

.btn-favorite:hover {
    color: #ff6b6b;
}

@media (max-width: 767.98px) {
    .plant-img-wrapper img {
        height: 135px;
    }
 
    .plant-category {
        margin-bottom: 1px;
    }
 
    .plant-title {
        font-size: 19px;
    }
 
    .plant-desc {
        font-size: 11px;
        line-height: initial;
        margin-bottom: 1px !important;
    }
 
    .plant-category {
        margin-bottom: 1px;
    }
 
    .btn-add {
        width: 35px;
        height: 35px;
    }
 
    .categories-section .col-md-3 {
        margin-bottom: 3%;
    }
}