/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Theme Variables */
:root {
    --primary-green: #7fad39;
    --dark-green: #5a8022;
    --text-dark: #1c1c1c;
    --text-light: #666666;
    --bg-light: #f5f5f5;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
}

/* Custom Navbar Styling */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-green) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    text-transform: uppercase;
    font-size: 14px;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-green) !important;
}

/* Cart Icon Styling */
.cart-icon {
    font-size: 20px;
    color: var(--text-dark);
    position: relative;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background-color: var(--primary-green);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

/* Footer Styling */
footer h5 {
    color: #7fad39; /* আমাদের সিগনেচার সবুজ রঙ */
    margin-bottom: 20px;
    font-weight: 600;
}

footer p {
    color: #e6e6e6;
    font-size: 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #eeeeee;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgb(255, 255, 255);
    padding-top: 20px;
    margin-top: 40px;
}
footer {
    background-color: #1c1c1c; /* গাঢ় কালো রঙ */
    color: #ffffff;
    padding: 60px 0 30px;
    margin-top: 80px;
}
.hero-content {
    max-width: 500px;
    background: rgba(255, 255, 255, 0.85);
    padding: 40px;
    border-radius: 15px;
}

.btn-success {
    background-color: #7fad39 !important;
    border: none !important;
}

/* Category Cards */
.section-title h2 {
    font-size: 32px;
    position: relative;
    padding-bottom: 10px;
}

.title-line {
    width: 60px;
    height: 3px;
    background: #7fad39;
    margin: 0 auto;
}

.category-card {
    display: block;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    transition: 0.3s;
    text-align: center;
}

.category-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.cat-img-box img {
    width: 70px;
    height: 70px;
}
/* Product Grid Styling */
.product-item {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
}

.product-img-box {
    position: relative;
    overflow: hidden;
}

.product-img-box img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-item:hover .product-img-box img {
    transform: scale(1.1);
}

/* Hover Icons Styling */
.product-hover-icons {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -50px; /* শুরুতে নিচে থাকবে */
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    transition: 0.4s;
}

.product-item:hover .product-hover-icons {
    bottom: 20px; /* মাউস রাখলে উপরে আসবে */
}

.product-hover-icons li {
    margin: 0 5px;
}

.product-hover-icons a, .add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff;
    color: #1c1c1c;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-hover-icons a:hover, .add-to-cart-btn:hover {
    background: #7fad39;
    color: #ffffff;
    transform: rotate(360deg);
}

.product-text h6 a {
    font-size: 16px;
    transition: 0.3s;
}

.product-text h6 a:hover {
    color: #7fad39 !important;
}

/* Product Grid Main Container */
.product-item {
    transition: 0.3s;
}

.product-item:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.12) !important;
}

/* Image settings */
.product-img-box img {
    height: 180px;
    object-fit: contain;
}

/* The Big Green Button */
.add-to-cart-btn {
    background-color: #7fad39 !important;
    color: white !important;
    font-weight: 700 !important;
    padding: 10px 15px !important;
    border: none !important;
    border-radius: 5px !important;
    text-transform: uppercase;
    font-size: 13px !important;
    white-space: nowrap; /* লেখা যেন দুই লাইনে না যায় */
}

.add-to-cart-btn:hover {
    background-color: #5a8022 !important;
}

/* Heart Button */
.wishlist-btn {
    width: 45px;
    height: 42px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: 0.3s;
}

.wishlist-btn:hover {
    background-color: #ff4d4d;
    color: white;
    border-color: #ff4d4d;
}
.hover-green:hover {
    color: #7fad39 !important;
    padding-left: 5px;
    transition: 0.3s;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}
/* ফুটারের টেক্সট কালার ঠিক করার জন্য */
footer {
    background-color: #1a1a1a !important; /* আরও গাঢ় ব্যাকগ্রাউন্ড */
    color: #ffffff !important; /* মেইন টেক্সট সাদা */
}

footer h5 {
    color: #7fad39 !important; /* হেডিং সিগনেচার সবুজ */
    font-weight: 700 !important;
    margin-bottom: 25px;
    text-transform: uppercase;
}

footer p, footer li, footer a {
    color: #e0e0e0 !important; /* হালকা ধূসর সাদা যা চোখে পড়ে */
    font-size: 15px !important;
    line-height: 1.6;
    text-decoration: none !important;
}

footer .footer-links li {
    margin-bottom: 12px;
}

footer .footer-links a:hover {
    color: #7fad39 !important; /* হোভার করলে সবুজ হবে */
    padding-left: 8px;
    transition: 0.3s all ease;
}

footer .text-muted {
    color: #b0b0b0 !important; /* নিচের কপিরাইট টেক্সট */
}

footer hr {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* আইকনগুলোর কালার */
footer i.text-success {
    color: #7fad39 !important;
}
/* Product Details Specific */
.input-group .btn {
    border-color: #ddd;
    color: #333;
}

.input-group .btn:hover {
    background-color: #7fad39;
    color: white;
    border-color: #7fad39;
}

.copyright-text p {
    color: #b0b0b0 !important;
    font-size: 14px;
}
/* Cart Styling */
.table thead th {
    border-bottom: 2px solid #7fad39;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.table tbody td {
    padding: 20px 10px;
}

.card {
    border-radius: 12px;
}

.text-danger {
    font-size: 18px;
    transition: 0.3s;
}

.text-danger:hover {
    color: #ff0000 !important;
    transform: scale(1.2);
}
/* Daraz Style Inputs */
.bg-light {
    background-color: #f5f5f5 !important;
}

.form-control:focus, .form-select:focus {
    background-color: #ffffff !important;
    border: 1px solid #7fad39 !important;
    box-shadow: 0 0 8px rgba(127, 173, 57, 0.2) !important;
}

.btn-check:checked + .btn-outline-success {
    background-color: #7fad39;
    color: white;
}

.form-label {
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}
/* Daraz style for dropdowns */
.custom-select-daraz {
    background-color: #f5f5f5 !important;
    height: 55px !important; /* বক্সের উচ্চতা বাড়ানো হয়েছে */
    font-size: 14px !important;
    color: #333 !important;
    padding: 10px 15px !important;
    border-radius: 8px !important;
    display: flex;
    align-items: center;
}

/* ড্রপডাউনের ভেতরে টেক্সট যেন পরিষ্কার থাকে */
.form-select.custom-select-daraz {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}
/* Payment Items Styling */
.payment-item {
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid #eee !important;
}

.payment-item:hover {
    border-color: #7fad39 !important;
}

.payment-item .form-check-input:checked + .form-check-label {
    color: #1c1c1c;
}

.active-payment {
    border-color: #7fad39 !important;
    background-color: #fafff0;
}

/* Payment logo sizing */
.payment-item img {
    height: 30px;
    object-fit: contain;
}

.add-to-cart-btn {
    letter-spacing: 1px;
    font-size: 16px !important;
}