html {
    font-size: 15px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

:root {
    --bg: #f3f8f5;
    --panel: #ffffff;
    --accent: #117a48;
    --accent-2: #0b5f37;
    --muted: #6b7280;
    --border: #e0ede4;
    --shadow: 0 18px 40px rgba(0,0,0,.08);
    --radius: 16px;
    --font-main: "Poppins","Segoe UI",system-ui,-apple-system,sans-serif;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, #f7fbf7 0%, #ebf4ef 45%, #f7fbf7 100%);
    min-height: 100vh;
    color: #102016;
}

/* navbar */
.navbar {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    border-bottom: 1px solid #e8efe8;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: .4px;
}

.navbar .nav-link {
    font-weight: 600;
    color: #1f2d1e;
}

    .navbar .nav-link:hover {
        color: var(--accent);
    }

/* form card */
.card {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    background: var(--panel);
}

.card-header {
    border-radius: var(--radius) var(--radius) 0 0 !important;
    background: linear-gradient(90deg, #030638 0%, #18a45c 100%);
    color: #fff;
    border: none;
}

label.form-label {
    color: #0f3b1e;
    font-weight: 600;
}

.form-control, .form-select {
    border-radius: 12px;
    border: 1px solid #d7e6dc;
    transition: border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--accent);
        box-shadow: 0 6px 20px rgba(17,122,72,.18);
        transform: translateY(-1px);
    }

.form-text {
    color: var(--muted);
}

.btn-success {
    background: linear-gradient(135deg, var(--accent) 0%, #18a45c 100%);
    border: none;
    padding-inline: 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: .2px;
    box-shadow: 0 10px 20px rgba(17,122,72,.18);
}

    .btn-success:hover {
        background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 100%);
        transform: translateY(-1px);
    }

.btn-outline-secondary {
    border-radius: 12px;
}

.badge.bg-light.text-success {
    color: var(--accent) !important;
    border: 1px solid rgba(255,255,255,.6);
}

small.text-muted {
    color: var(--muted) !important;
}

/* footer */
.footer {
    background: #0d3b23;
    color: #f8f9fa;
    border-top: none;
    box-shadow: 0 -2px 8px rgba(0,0,0,.12);
    letter-spacing: .2px;
}

    .footer a {
        color: #c7e9c0;
        text-decoration: none;
    }

        .footer a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

/* utility */
.card-body {
    padding: 1.5rem;
}

/* products */
.product-hero {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(120deg, rgba(17,122,72,.12), rgba(24,164,92,.08));
    border: 1px solid #e0ede4;
    border-radius: 16px;
    box-shadow: 0 12px 26px rgba(0,0,0,.05);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-size: .75rem;
    color: #0b5f37;
    font-weight: 700;
}

.hero-chip {
    align-self: center;
    padding: .5rem .9rem;
    border-radius: 999px;
    background: #0f3b23;
    color: #e7f6ec;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(0,0,0,.15);
}

.chip-muted {
    background: #dae4dd;
    color: #12301e;
    box-shadow: none;
}

.table-products th {
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: .4px;
    color: #425347;
}

.product-img {
    width: 78px !important;
    height: 78px !important;
    object-fit: contain;
    border: 1px solid #e3ebe2;
    border-radius: 12px;
    background: #f8fbf8;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.05);
}

.table-products thead {
    background: #f4f9f4;
}

.table-products tbody tr:hover {
    background: #f9fcf8;
}

.product-card {
    border: 1px solid #e0ede4;
    border-radius: 16px;
}

.product-card-img-wrap {
    height: 180px;
    overflow: hidden;
}

.product-card-img {
    width: 100px;
    height: 100px;
}

.product-card-placeholder {
    height: 100px;
    width: 100px;
    background: #f4f7f4;
    border-radius: 12px;
}

@media (max-width: 576px) {
    .card-body {
        padding: 1.25rem;
    }

    .btn-success {
        width: 50%;
    }

    .product-hero {
        flex-direction: column;
        align-items: flex-start;
    }
}

.header-strip .strip-link {
    color: #5f5f5f;
    text-decoration: none;
    font-size: 0.9rem;
}

    .header-strip .strip-link:hover {
        text-decoration: underline;
        color: #198754;
    }

.footer {
    background: #f7f7f7;
    border-top: 1px solid #e0e0e0;
}

    .footer a {
        color: #6c757d;
        text-decoration: none;
    }

        .footer a:hover {
            text-decoration: underline;
            color: #198754;
        }

.header-strip {
    background: #eef3f8;
}


.top-header {
    background: #fff;
}

.search-box {
    background: #f4f6fb;
    border-radius: 999px;
    padding: 6px 12px;
}

    .search-box input {
        background: transparent;
    }

.icons-bar span {
    font-size: 1.1rem;
}

.call-btn {
    border-radius: 999px;
    padding-inline: 18px;
}

.header-strip {
    background: #eef3ff;
}

    .header-strip .strip-link {
        color: #0d3b66;
        text-decoration: none;
        font-weight: 600;
    }

        .header-strip .strip-link:hover {
            text-decoration: underline;
        }

    /* header cleanup */
    .top-header a,
    .top-header a:visited,
    .header-strip a,
    .header-strip a:visited {
        text-decoration: none;
    }

        .top-header a:hover,
        .header-strip a:hover {
            text-decoration: none;
            color: #0d6efd;
        }

.mobile-menu-btn {
    border: none;
    padding: 6px;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    background: transparent;
}

    .mobile-menu-btn span {
        display: block;
        width: 22px;
        height: 2px;
        background: #0d3b66;
        border-radius: 1px;
    }

.header-strip .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
}

.header-strip {
    background: #eef3ff;
}

@media (max-width: 991.98px) {
    .top-header .search-box {
        order: 3;
        width: 100%;
    }
}


.card-title {
    font-size: 16px;
}

form .btn {
    border-radius: 4px;
    background: #206ab2;
    color:#FFF !important;
    border:none;
    min-width:120px !important
}

form  .btn-outline-secondary {
    background: red !important;
}

.round-button {
    background: #206ab2;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none !important;
}

    .round-button i {
        color: #FFF;
        font-size: 14px;
    }


    @media only screen and (max-width:480px) {
        .d-small-block {
            display: block !important;
        }
        .row-cols-xs-1 .col {
            width: 100%;
        }
    }