﻿html {
    font-size: 14px;
}
:root {
    --flora-primary: #6F8E4E;
    --flora-primary-hover: #58703E;
    --flora-background: #F7F5F2;
    --flora-card: #FFFFFF;
    --flora-border: #E7E2DB;
    --flora-text: #2E2E2E;
}
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}
.logo{
    margin-left:130px;
}
i{
    height:40px;
}
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Poppins',sans-serif;
    background: #F7F3EE;
    position: relative;
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background: url('/images/background.jpg') center center/cover no-repeat;
        filter: blur(12px);
        transform: scale(1.1);
        opacity: .88;
        z-index: -2;
    }

    body::after {
        content: "";
        position: fixed;
        inset: 0;
        background: #F7F3EE;
        opacity: .82;
        z-index: -1;
    }


.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
.product-image {
    height: 260px;
    width: 100%;
    object-fit: contain;
    padding: 20px;
}

.product-card .card-body {
    display: flex;
    flex-direction: column;
}
.card {
    transition: .3s;
    border-radius: 18px;
    box-shadow: rgba(0,0,0,.08);

}
    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0,0,0,.15);
    }
.card-body {
    padding: 25px;
}
.card-title {
    font-weight: 700;
    min-height: 55px;
}
.price {
    font-size: 24px;
    font-weight: bold;
    color: #6BA539;
}
.product-image {
    transition: .4s;
}
.card:hover .product-image {
    transform: scale(1.08);
}
.btn-flora {
    background:var(--flora-primary);
    color: white;
    border: none;
    border-radius: 40px;
    padding: 14px;
    font-weight: 600;
    transition: .3s;
}

    .btn-flora:hover {
        background: #5B7640;
        color: white;
        transform: translateY(-3px);
    }
    .thumbnail-image{

    width:450px;

    height:900px;

    object-fit:cover;

    border-radius:12px;

    border:2px solid #ddd;

    cursor:pointer;

    transition:.3s;

}

.thumbnail-image:hover{

    border-color:#6F8E4E;

    transform:scale(1.08);

}
.product-detail-image {
    width: 100%;
    height: 520px;
    object-fit: contain;
    background: #fff;
    padding: 25px;
    transition: .35s;
}

    .product-detail-image:hover {
        transform: scale(1.03);
    }
.product-detail-image {
    width: 100%;
    height: 500px;
    object-fit: contain;
    background: #fff;
    padding: 20px;
    transition: .35s;
}

    .product-detail-image:hover {
        transform: scale(1.03);
    }
.cart-image {
    width: 170px;
    height: 170px;
    object-fit: contain;
}

.cart-card {
    border-radius: 20px;
    transition: .3s;
}

    .cart-card:hover {
        transform: translateY(-4px);
    }
.address-card {
    background: white;
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    transition: .3s;
}

    .address-card:hover {
        box-shadow: 0 10px 25px rgba(0,0,0,.08);
        transform: translateY(-3px);
    }
.card {
    transition: .25s;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 .8rem 1.5rem rgba(0,0,0,.12);
    }

.btn {
    border-radius: 12px;
}

.form-control {
    border-radius: 12px;
}

textarea.form-control {
    resize: none;
}

/* ===========================
   ORDER
=========================== */

.order-card {
    border: none;
    border-radius: 20px;
    transition: .3s;
}

    .order-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 35px rgba(0,0,0,.12);
    }

    .order-card h4 {
        color: #2d6a4f;
    }

    .order-card .badge {
        padding: 10px 18px;
        border-radius: 30px;
    }

    .order-card .btn {
        border-radius: 30px;
        padding: 10px 24px;
    }

.bg-warning {
    background: #ffd166 !important;
    color: #333 !important;
}

.bg-success {
    background: #52b788 !important;
}

.bg-danger {
    background: #d62828 !important;
}

/*==========================
        CHECKOUT
==========================*/

.checkout-card {
    border: none;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

    .checkout-card .card-body {
        padding: 28px;
    }

    .checkout-card h4 {
        color: #2d6a4f;
        font-weight: 700;
        margin-bottom: 20px;
    }

.address-box {
    background: #f6fff8;
    border-left: 5px solid #52b788;
    border-radius: 12px;
    padding: 18px;
}

.checkout-item {
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

    .checkout-item:last-child {
        border-bottom: none;
    }

.checkout-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 15px;
}

.payment-option {
    border: 2px solid #ddd;
    border-radius: 15px;
    padding: 18px;
    transition: .25s;
}

    .payment-option:hover {
        border-color: #52b788;
    }

.checkout-summary {
    position: sticky;
    top: 30px;
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
}

    .checkout-summary .card-body {
        padding: 30px;
    }

.checkout-total {
    font-size: 30px;
    font-weight: bold;
    color: #2d6a4f;
}

.checkout-btn {
    width: 100%;
    border: none;
    border-radius: 40px;
    padding: 16px;
    background: #52b788;
    color: white;
    font-size: 18px;
    font-weight: 600;
    transition: .25s;
}

    .checkout-btn:hover {
        background: #40916c;
        transform: translateY(-2px);
    }

.product-card {
    transition: .25s;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0,0,0,.15);
    }

.product-image {
    height: 250px;
    object-fit: cover;
    transition: .3s;
}

.card:hover .product-image {
    transform: scale(1.05);
}

.about-banner {
    height: 90vh;
    background-image: linear-gradient( rgba(0,0,0,.45), rgba(0,0,0,.45)), url('/images/about/banner23.jpg');
    background-size: cover;
    background-position: center;
}

.main-navbar {
    transition: .3s;
    padding: 14px 0;
}

    .main-navbar .nav-link {
        font-weight: 600;
        margin: 0 10px;
        transition: .3s;
    }

        .main-navbar .nav-link:hover {
            color: #198754;
        }

    .main-navbar.scrolled {
        padding: 8px 0;
        box-shadow: 0 8px 20px rgba(0,0,0,.08);
    }

.nav-link {
    position: relative;
}

    .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 0;
        height: 2px;
        background: #198754;
        transition: .3s;
    }

    .nav-link:hover::after {
        width: 100%;
    }

.footer-link {
    color: #ced4da;
    text-decoration: none;
    transition: .3s;
}

    .footer-link:hover {
        color: #20c997;
        padding-left: 6px;
    }

.social-icon {
    color: white;
    transition: .3s;
}

    .social-icon:hover {
        color: #20c997;
        transform: translateY(-4px);
    }

footer {
    box-shadow: 0 -3px 12px rgba(0,0,0,.15);
}

#backTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    display: none;
    z-index: 9999;
}

footer.mt-0 {
    margin-top: 0 !important;
}


.bg-white h5.text-dark {
    color: #212529 !important;
    font-size: 1rem;
    font-weight: 600;
}


.container.mb-0.bg-white {
    position: relative;
    z-index: 10;
    margin-bottom: -40px !important;
}