body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: 100vh;
}

main {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    margin-top: 80px;
}

/* ============ header ============ */
.navbar-brand img {
    /* width: clamp(120px, 46vw, 400px); */
    width: clamp(120px, 42vw, 400px);
    height: auto;
    max-width: 100%;
}

/* ================= Navbar Fullwidth Links ================= */
.navbar-nav {
    width: 100%;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 0.5rem;
}

/* Enhanced Navbar Links */
.navbar-nav .nav-link {
    position: relative;
    font-weight: 500;
    padding: 0.5rem 1rem;
    -webkit-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;

    /* -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none; 

    white-space: nowrap;
    text-align: center;
    padding-left: 4.75rem;
    padding-right: 0.75rem;*/
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #e2dada;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);


}

.navbar-nav .nav-link:hover {
    color: #e5e0e0;
    color: #fff;
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.cart-badge {
    font-size: 0.65rem; 
    -webkit-transform: translate(25%, -25%) !important;
    transform: translate(25%, -25%) !important;
    padding: 0.15rem 0.4rem;
    min-width: 1rem;
}

/* Header animation styles */
header.fixed-top {
    -webkit-transition: -webkit-transform 0.7s ease-in-out;
    transition: -webkit-transform 0.7s ease-in-out;
    transition: transform 0.7s ease-in-out;
    transition: transform 0.7s ease-in-out, -webkit-transform 0.7s ease-in-out;
}

header.header-hidden {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}

/* ============ / header ============ */


@media (min-width: 576px) {
    main {
        margin-top: 90px;
    }
}
@media (min-width: 992px) {
    main {
        margin-top: 163px;
    }
}

/* ================= */

.content-link a {
    color: #52000f;
    text-decoration: none;
    display: inline-block;
    position: relative;
}

.content-link a:hover {
    text-decoration: none;
}

.content-link a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #52000f;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: bottom right;
    transform-origin: bottom right;
    -webkit-transition: -webkit-transform 0.3s ease-out;
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
}

.content-link a:hover::after {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: bottom left;
    transform-origin: bottom left;
}

/* footer links - ftr_details section*/
#ftr_details a {
    color: white;
    text-decoration: none;
    border: 1px solid transparent;
}

#ftr_details a:hover {
    color: white;
    border-bottom: 1px solid white;
}

/* .content-link a:hover {
    color: #b93e40;
    text-decoration: none;
    border-bottom: 1px solid #b93e40 !important;
} */

/* remove default borders and add single border-bottom */
.card {
    border: none;
}

/* red asterisk for mandatory form fields */
.req::after {
    content: "\00a0*";
    color: red;
}

/* ===== hover shadow ======= */
.hover-shadow {
    position: relative;
    -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Shadow pseudo-element */
.hover-shadow::after {
    pointer-events: none;
    content: "";
    border-radius: 5px;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-box-shadow: rgba(16, 16, 16, 0.7) 0 0 10px;
    box-shadow: rgba(16, 16, 16, 0.7) 0 0 10px;
    opacity: 0;
    -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Hover effects */
.hover-shadow:hover {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
}

.hover-shadow:hover::after {
    opacity: 1;
}

.no-hover-anim .hover-shadow,
.no-hover-anim .hover-shadow::after {
    -webkit-transition: none !important;
    transition: none !important;
    -webkit-transform: none !important;
    transform: none !important;
}

.no-hover-anim .hover-shadow:hover,
.no-hover-anim .hover-shadow:hover::after {
    -webkit-transform: none !important;
    transform: none !important;
    /* opacity: 0 !important; */
}

/* to overwrite default background colour */
input,
textarea,
select {
    background-color: #fff !important;
    /* same effect as .bg-white */
}

/* ================= Navbar Fullwidth Links ================= */
/* .navbar-nav {
    width: 100%;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 0.5rem;
}

.navbar-nav .nav-link {
    -webkit-box-flex: 0;
        -ms-flex: none;
            flex: none;
    white-space: nowrap;
    text-align: center;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
} */