/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333333; /* Dark charcoal for general text */
    background-color: #F8F8F8; /* Light background */
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #333333; /* Dark charcoal for headings */
}

a {
    color: #78A083; /* Soft green for links */
    text-decoration: none;
}

a:hover {
    color: #5A7B66; /* Slightly darker green on hover */
    text-decoration: underline;
}

.text-primary {
    color: #78A083 !important; /* Soft green */
}

.text-secondary {
    color: #A27B5C !important; /* Earthy brown */
}

.text-success {
    color: #5A7B66 !important; /* A darker shade of primary for success/price */
}

.bg-primary-subtle {
    background-color: #E6F0E8 !important; /* Very light green for subtle backgrounds */
}

.bg-light-subtle {
    background-color: #F9F7C9 !important; /* Warm yellow/cream for subtle backgrounds */
}

.btn-primary {
    background-color: #78A083;
    border-color: #78A083;
    color: #fff;
}

.btn-primary:hover {
    background-color: #5A7B66;
    border-color: #5A7B66;
}

.btn-outline-primary {
    color: #78A083;
    border-color: #78A083;
}

.btn-outline-primary:hover {
    background-color: #78A083;
    color: #fff;
}

.btn-success {
    background-color: #5A7B66;
    border-color: #5A7B66;
    color: #fff;
}

.btn-success:hover {
    background-color: #45604E;
    border-color: #45604E;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}

.shadow-lg {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('photos/media/chicken-farm-hero-bg.jpg') no-repeat center center/cover;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 20px 0;
}

.hero-section .navbar {
    width: 100%;
}

.site-logo {
    max-height: 80px;
    width: auto;
}

.promo-banner-img {
    max-height: 100px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Filters Sidebar */
.filter-sidebar {
    background-color: #fff;
    border: 1px solid #eee;
    top: 20px; /* Adjust as needed for sticky position */
}

.filter-sidebar .form-check-input:checked {
    background-color: #78A083;
    border-color: #78A083;
}

/* Product List */
.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.product-card .card-body {
    padding: 1.25rem;
}

.product-card .card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-card .product-price {
    font-size: 1.4rem;
}

.add-to-cart i {
    margin-right: 5px;
}

.load-more-btn {
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Shopping Cart Section */
.shopping-cart-section {
    background-color: #F5F5DC;
}

.cart-items-container {
    min-height: 150px;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-weight: 600;
    color: #333;
}

.cart-item-price {
    color: #5A7B66;
    font-weight: 600;
}

.cart-item-quantity {
    width: 70px;
    margin: 0 15px;
}

.remove-item-btn {
    color: #dc3545;
    background: none;
    border: none;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.remove-item-btn:hover {
    color: #c82333;
}

.cart-summary {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.order-form-container {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* About the Store Section */
.about-section {
    background-color: #E6F0E8;
}

.about-section img {
    max-width: 100%;
    height: auto;
}

.carousel-item img {
    max-height: 600px;
    object-fit: cover;
}

/* Payment Methods Section */
.payment-card {
    background-color: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1) !important;
}

/* Shipping Zones Section */
.info-card {
    background-color: #fff;
    border: 1px solid #eee;
}

/* Delivery Info (Map) Section */
.map-placeholder {
    position: relative;
    height: 400px;
    background-color: #ccc; /* Placeholder background */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.map-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
    padding: 20px;
    color: #fff;
}

/* Guarantee Section */
.guarantee-card {
    background-color: #fff;
    border: 1px solid #eee;
}

.our-benefits {
    border-left: 5px solid #5A7B66;
}

.competitor-downsides {
    border-left: 5px solid #dc3545;
}

/* Reviews Section */
.review-card {
    background-color: #fff;
    border: 1px solid #eee;
}

.review-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #78A083;
}

.text-warning {
    color: #ffc107 !important;
}

/* Contact Section */
.contact-info {
    background-color: #fff;
    border: 1px solid #eee;
}

/* Footer */
.footer {
    background-color: #333333 !important;
    color: #f8f8f8;
}

.footer-logo {
    max-height: 70px;
}

.footer-logo-link:hover {
    opacity: 0.8;
}

.footer .list-unstyled li a {
    transition: color 0.2s ease;
}

.footer .list-unstyled li a:hover {
    color: #78A083 !important;
}

.social-icons a {
    transition: transform 0.2s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
    color: #78A083 !important;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background-color: #fff;
    border-radius: 8px;
    z-index: 1050;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cookie-banner .card-title {
    color: #78A083;
}

.cookie-banner .btn-primary {
    background-color: #78A083;
    border-color: #78A083;
}

.cookie-banner .btn-outline-secondary {
    color: #A27B5C;
    border-color: #A27B5C;
}

.cookie-banner .btn-outline-secondary:hover {
    background-color: #A27B5C;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .hero-section {
        min-height: 200px;
    }
    .site-logo {
        max-height: 60px;
    }
    .promo-banner-img {
        max-height: 80px;
    }
    .filter-sidebar {
        position: static !important;
        top: auto !important;
    }
    .product-card {
        margin-bottom: 1rem !important;
    }
    .map-placeholder {
        height: 300px;
    }
    .cookie-banner {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
    }
}

@media (max-width: 575.98px) {
    .hero-section .navbar-brand {
        margin: auto;
    }
    .hero-section .ms-auto {
        display: none !important;
    }
    .product-card .card-img-top {
        height: 180px;
    }
    .cart-item {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    .cart-item-image {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .cart-item-details {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    .cart-item-controls {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .cart-item-quantity {
        margin: 0 10px;
    }
    .remove-item-btn {
        margin-left: 0;
    }
    .payment-card, .info-card, .guarantee-card, .review-card, .contact-info {
        margin-bottom: 1rem !important;
    }
}/* New Styles for .regShieldWrap and its children */

.regShieldWrap {
    padding: 40px 20px; /* Top/bottom padding and side padding for the wrapper */
    /* Optional: max-width for content centering on larger screens */
    /* max-width: 1200px; */
    /* margin-left: auto; */
    /* margin-right: auto; */
}

.regShieldWrap h1 {
    font-size: 2.2em; /* Heading 1 font size */
    margin-top: 1.5em; /* Top margin for heading */
    margin-bottom: 0.8em; /* Bottom margin for heading */
    line-height: 1.2; /* Line height for heading */
}

.regShieldWrap h2 {
    font-size: 1.8em; /* Heading 2 font size */
    margin-top: 1.2em; /* Top margin for heading */
    margin-bottom: 0.7em; /* Bottom margin for heading */
    line-height: 1.3; /* Line height for heading */
}

.regShieldWrap h3 {
    font-size: 1.5em; /* Heading 3 font size */
    margin-top: 1em; /* Top margin for heading */
    margin-bottom: 0.6em; /* Bottom margin for heading */
    line-height: 1.4; /* Line height for heading */
}

.regShieldWrap h4 {
    font-size: 1.2em; /* Heading 4 font size */
    margin-top: 0.8em; /* Top margin for heading */
    margin-bottom: 0.5em; /* Bottom margin for heading */
    line-height: 1.5; /* Line height for heading */
}

.regShieldWrap h5 {
    font-size: 1.1em; /* Heading 5 font size */
    margin-top: 0.6em; /* Top margin for heading */
    margin-bottom: 0.4em; /* Bottom margin for heading */
    line-height: 1.6; /* Line height for heading */
}

.regShieldWrap p {
    font-size: 1em; /* Paragraph font size */
    margin-bottom: 1em; /* Bottom margin for paragraphs */
    line-height: 1.6; /* Line height for paragraphs */
}

.regShieldWrap ul,
.regShieldWrap ol {
    margin-bottom: 1em; /* Bottom margin for lists */
    padding-left: 25px; /* Left padding for list bullets/numbers */
}

.regShieldWrap li {
    font-size: 1em; /* List item font size */
    margin-bottom: 0.5em; /* Bottom margin for list items */
    line-height: 1.6; /* Line height for list items */
}

/* Ensure the first child element inside regShieldWrap doesn't have excessive top margin */
.regShieldWrap > h1:first-child,
.regShieldWrap > h2:first-child,
.regShieldWrap > h3:first-child,
.regShieldWrap > h4:first-child,
.regShieldWrap > h5:first-child,
.regShieldWrap > p:first-child,
.regShieldWrap > ul:first-child,
.regShieldWrap > ol:first-child {
    margin-top: 0;
}
