body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.category-card {
    background-color: #028b00;
    border-color: #028b00;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background-color: #028b00;
}

.btn-brand {
    background-color: #028b00;
    border-color: #028b00;
    color: #fff;
}

.btn-brand:hover,
.btn-brand:focus {
    background-color: #026e00;
    border-color: #026e00;
    color: #fff;
}

.btn-brand-light {
    background-color: var(--bs-success-bg-subtle);
    border-color: var(--bs-success-border-subtle);
    color: var(--bs-success-text-emphasis);
}

.btn-brand-light:hover,
.btn-brand-light:focus {
    background-color: var(--bs-success-border-subtle);
    border-color: var(--bs-success-border-subtle);
    color: var(--bs-success-text-emphasis);
}

.navbar-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .navbar-logo {
        width: 36px;
        height: 36px;
    }
}

main {
    flex: 1;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.price-old {
    text-decoration: line-through;
    color: #888;
    margin-right: .5rem;
}

.price-new {
    color: #198754;
    font-weight: bold;
}

.price-sale {
    color: #dc3545;
    font-weight: bold;
}

.offers-slider {
    margin-bottom: 2rem;
}

.offers-slider .carousel-inner {
    border-radius: .5rem;
    overflow: hidden;
}

.offer-slide {
    background: #f8f9fa;
    padding: 2rem 1rem;
}

.offer-slide-card {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    text-decoration: none;
}

.offer-slide-card img {
    width: 260px;
    height: 200px;
    object-fit: cover;
    border-radius: .5rem;
    background: #fff;
}

.offer-slide-info {
    color: #212529;
}

.offer-badge {
    display: inline-block;
    background: #dc3545;
    color: #fff;
    font-weight: bold;
    padding: .25rem .6rem;
    border-radius: .3rem;
    margin-bottom: .5rem;
}

.offers-slider .carousel-control-prev,
.offers-slider .carousel-control-next {
    width: 5%;
    filter: invert(1) grayscale(100%);
}

.offers-slider .carousel-indicators [data-bs-target] {
    background-color: #028b00;
}

.pagination .page-link {
    color: var(--bs-success-text-emphasis);
    background-color: var(--bs-success-bg-subtle);
    border-color: var(--bs-success-border-subtle);
}

.pagination .page-link:hover {
    color: var(--bs-success-text-emphasis);
    background-color: var(--bs-success-border-subtle);
    border-color: var(--bs-success-border-subtle);
}

.pagination .page-item.active .page-link {
    color: #fff;
    background-color: var(--bs-success);
    border-color: var(--bs-success);
}

.pagination .page-item.disabled .page-link {
    color: var(--bs-success-border-subtle);
    background-color: var(--bs-success-bg-subtle);
    border-color: var(--bs-success-border-subtle);
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #212529;
    color: #fff;
    z-index: 1050;
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .75rem;
    color: #212529;
    text-decoration: none;
    border-radius: .375rem;
}

.account-nav-link:hover {
    background: var(--bs-success-bg-subtle);
    color: var(--bs-success-text-emphasis);
}

.account-nav-link.active {
    background-color: #028b00;
    color: #fff;
}

.admin-sidebar a {
    display: block;
    padding: .5rem .75rem;
    color: #212529;
    text-decoration: none;
    border-radius: .25rem;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: #e9ecef;
}

/* Topbar ajax search */
.search-form {
    min-width: 0;
    width: 100%;
    max-width: 260px;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1080;
    margin-top: .25rem;
    max-height: 70vh;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: .5rem;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .15);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem .75rem;
    text-decoration: none;
    color: #212529;
    border-bottom: 1px solid #f1f1f1;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-item img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: .375rem;
    flex-shrink: 0;
    background: #f1f1f1;
}

.search-result-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.search-result-name {
    font-size: .9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-price {
    font-size: .85rem;
}

.search-results-empty {
    padding: .75rem;
    color: #6c757d;
    font-size: .9rem;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
    .search-results {
        max-height: 60vh;
    }
}

@media (max-width: 575.98px) {
    main.container {
        padding-left: .75rem;
        padding-right: .75rem;
    }

    .product-card img {
        height: 140px;
    }
}

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

.newsletter-form .form-control {
    max-width: 260px;
}

.sol-banner-img {
    width: 150px;
    height: 100px;
    object-fit: contain;
}
