:root {
    --accent: #093a09;
    --bg: #F4ECD6;
    --bg2: #F4ECD6;
    --fg: #000;
}

html, body {
    background-color: var(--bg);
    color: var(--fg);
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

a {
    color: var(--fg);
    text-decoration: none;
    position: relative;
}

a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    transition: width 0.3s ease;
    position: absolute;
    bottom: -2px;
    left: 0;
    background-color: var(--accent);
}

/* Hover underline only for links without these classes */
a:not(.product-card):not(.post-card):not(.no-underline):hover::after,
a:not(.product-card):not(.post-card):not(.no-underline):focus::after {
    width: 100%;
}

a.product-card:hover,
a.product-card:focus,
a.product-card:active,
a.post-card:hover,
a.post-card:focus,
a.post-card:active {
    border: 2px solid var(--accent);
}

/* Button styling */
.btn-primary {
    border: var(--accent);
    outline: var(--accent);
    background-color: var(--accent);
    color: #fff;
}

.btn-primary:hover,
.btn-primary *:hover {
    color: #fff;
}

.bg-primary {
    cursor: pointer;
    background-color: var(--accent);
    color: #fff;
    transition: 0.25s;
}

.bg-primary-hover:hover,
.bg-primary-hover:focus,
.bg-primary-hover:active {
    cursor: pointer;
    background-color: var(--accent);
    color: #fff;
    transition: 0.25s;
}

.bg-primary,
.bg-primary *,
.bg-primary-hover:hover *,
.bg-primary-hover:focus *,
.bg-primary-hover:active * {
    color: #fff;
}

.product-type-card:hover,
.product-type-card a,
.product-type-card:hover a,
.product-type-card a:hover {
    color: #fff;
}

.bg-primary-hover,
.bg-primary-hover * {
    text-decoration: none;
}

.cursor-pointer {
    cursor: pointer;
}

.w-max-content {
    width: max-content;
}

.h-max-content {
    height: max-content;
}

.bg-light {
    background-color: var(--bg2);
}

.text-1 {
    font-size: 1.2em;
}

.product-card.card,
.product-card .card-image {
    border-radius: 20px;
}

.product-card .card-body {
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff !important;
    font-weight: bold;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

.product-card .card-image {
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #000;
    background-position: center;
    height: 400px;
}

.slideshow-image {
    width: 100vw;
    height: 70vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #000;
    background-position: center;
    filter: brightness(0.6);
}

footer {
    bottom: 0;
    border-top: 1px solid #999;
}

.logo-img {
    height: 5rem;
    width: 9rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: transparent;
}

input:hover,
input:focus,
input:active {
    outline: none;
    box-shadow: none;
    border: 2px solid var(--accent);
}
navbar, .navbar {
    background-color: var(--bg);
}
}