﻿html, body {
    height: auto;
    min-height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f0f9ff 0%, #d6e6ff 100%);
    min-width: 320px;
    /*font-family: LatoWeb, Verdana, Geneva, sans-serif;*/
    font-family: "Segoe UI Historic", "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 0.75rem;
    color: #333;
}

main {
    flex: 1;
}

/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

    #spinner.show {
        transition: opacity .8s ease-out, visibility 0s linear .0s;
        visibility: visible;
        opacity: 1;
    }

/*** Spinner End ***/

/*** Back to top Start ***/

.back-to-top {
    position: fixed;
    right: 2vw;
    bottom: 2vh;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Back to top End ***/

/*** header Start ***/
header .navbar {
    background: -webkit-linear-gradient(left, #3b4d57, #567b8c, #6b8598);
    background: -o-linear-gradient(left, #3b4d57, #567b8c, #6b8598);
    background: -moz-linear-gradient(left, #3b4d57, #567b8c, #6b8598);
    background: linear-gradient(left, #3b4d57, #567b8c, #6b8598);
    border-bottom-left-radius: 0.8rem;
    border-bottom-right-radius: 0.8rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    padding: 5px 15px;
}

header .navbar-brand h3 {
    font-weight: 700;
    color: #fff;
    font-size: 1.5rem;
}

header .nav-link {
    color: #fff !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

    header .nav-link:hover {
        color: #ffeb3b !important;
    }

.navbar-toggler {
    border-color: #fff !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

.header-container {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    margin: 0 5vw;
    align-items: center;
    justify-content: space-between;
}

/*** header End ***/

.fs-1 {
    font-size: 2.5vh !important;
}

.frmLoginReg_row {
    display: flex;
    align-items: center !important;
    justify-content: space-between !important;
}

.txtLoginReg {
    text-decoration: underline;
    color: red;
    cursor: pointer;
}

.dropdown-item:hover, .dropdown-item:focus {
    color: #fff !important;
    background: -webkit-linear-gradient(left, #3b4d57, #567b8c, #6b8598);
    background: -o-linear-gradient(left, #3b4d57, #567b8c, #6b8598);
    background: -moz-linear-gradient(left, #3b4d57, #567b8c, #6b8598);
    background: linear-gradient(left, #3b4d57, #567b8c, #6b8598);
}

/*** Index Start ***/
#homeSec1 .carousel-inner {
    overflow: hidden;
    /*box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);*/
}

#homeSec1 .carousel-item img {
    height: 50vh;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#homeSec1 .carousel-item:hover img {
    transform: scale(1.03);
}

.sec-carousel-caption {
    bottom: 0 !important;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

.sec2_wrapper {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 5px 7px 3px rgb(0 0 0 / 25%);
    margin: 0 clamp(1rem, -4rem + 20vw, 20rem);
}

#homeSec2 .icon-link,
#homeSec2 .icon-link img {
    transition: all 0.3s ease;
    justify-content: space-between;
    gap: 0;
    height: 100%;
}

    #homeSec2 .icon-link:hover {
        transform: translateY(-4px);
        /*box-shadow: 0 10px 24px rgba(0,0,0,0.1);*/
    }

.sec3_wrapper .flex-equal:first-child {
    padding-left: 1rem !important;
}

.sec3_wrapper .flex-equal:last-child {
    padding-right: 1rem !important;
}

.sections {
    padding: 10px 0px;
    /*margin: 2vh clamp(1rem, -4rem + 20vw, 20rem);*/
}

    .sections a.icon-link {
        /*display: block;
        background: #ffffff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 6px 16px rgba(0,0,0,0.05);*/
        transition: transform 0.3s ease;
        background-color: transparent;
    }

        .sections a.icon-link:hover {
            transform: translateY(-6px);
            /*box-shadow: 0 10px 24px rgba(0,0,0,0.12);*/
        }

.flex-equal {
    min-width: 0;
    flex: 1 1 0;
    text-align: center;
}

.icon-link {
    text-decoration: none;
    font-size: clamp(0.5rem, 1.5vw, 1.5rem);
    display: inline-block;
    text-align: center;
    color: #bd0000;
}

.grid_selectionContainer {
    display: grid;
    grid-template-columns: repeat(6, minmax(30px, 1fr));
    grid-template-rows: repeat(2, auto);
    width: 100%;
}

.grid_selection {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
}

.grid_selectionTxt {
    font-weight: lighter;
    text-align: center !important;
    font-size: clamp(0.5rem, 1.5vw, 1.5rem);
    width: 70%;
}

.grid_selectionImg {
    aspect-ratio: 1 / 1; /* Makes each grid cell a square */
    object-fit: cover; /* Images will fill square, cropping if necessary */
    width: 70%;
}

/*** Index End ***/

/* Cart icon with badge */
.cartCount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background-color: #dc3545;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    right: -10px;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.toast-warning {
    background: yellow !important;
    color: black !important;
}

@media (max-width: 768px) {
    #homeSec2 .icon-link,
    #homeSec2 .icon-link img {
        height: auto;
        padding: 5px;
    }
}