/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

:root {
    --color-primary: #8b0000;
    --color-primary-hover: #a30000;
    --color-primary-active: #600000;
    --color-secondary: #d46a6a;
    --color-accent: #4d0000;
    --color-bg-light: #fff5f5;
    --color-text: #222;
    --color-white: #ffffff;
}

h1,
h2 {
    color: var(--color-primary);
}

i {
    color: var(--color-primary);
}

html {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

body {
    margin: 0;
    font-family: "Georgia", serif;
    background-color: #ffffff;
    color: #000000;
    overflow-x: hidden;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
}

.bg-primary {
    background-color: #d7d7d7 !important;
    /*height: 40vh;*/
    display: flex;
    flex-direction: column;
}
.prod-card__img-link img {
    width: auto !important;
}

.bg-primary *,
ul li {
    /* color: black !important; */
}

.swiper-container {
    width: 100%;
    height: 55vh !important;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card {
    border: none;
}

.card-title {
    color: var(--color-primary);
    font-weight: bold;
}

.btn-primary {
    background-color: var(--color-primary) !important;
    color: white !important;
}

    .btn-primary:hover {
        background-color: var(--color-primary-hover) !important;
    }

footer {
    background-color: var(--color-primary);
    color: #ffffff;
}

#mainLogodov h5 {
    color: #6e3d3d;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

#navlinks a i {
    font-size: 1.7rem;
}

#bar_inMobile,
#headerInMobile {
    display: none;
}

#headerInMobile {
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: 22;
    background-color: white;
    top: 0;
}

    #headerInMobile .nav-link.-mobile {
        margin: 20px 0;
    }

@media (max-width: 768px) {
    .swiper-container {
        height: 250px;
    }

    .swiper-slide img {
        object-fit: cover;
    }

    .card img {
        height: 350px;
        object-fit: cover;
    }

    #categories {
        display: none !important;
    }

    header.bg-primary {
        /*height: 30vh !important;*/
    }

    #navlinks {
        margin-top: 5px;
    }

    #bar_inMobile {
        display: block;
    }

    a.prod-card__img-link {
        height: 177px
    }

        a.prod-card__img-link img {
            max-height: 177px
        }
            a.prod-card__img-link img.image-grid {
                max-height: 95%
            }

    .CartProductMainContainer {
        flex-direction: column !important;
    }

    .CartProduct {
        margin: 10px 0 !important
    }

    .CartCheckoutMainContainer {
        margin-top: 25px !important
    }
}

/*Small size*/
@media (max-width: 576px) {
    #mainLogodov {
        display: flex;
        justify-content: center;
    }

    #CheckoutContainer .CartProduct {
        max-width: 90% !important;
    }

    #PaymentView {
        max-width: 90% !important
    }
}

.logo-image {
    height: 180px;
}

.headerbg {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-caption h1 {
    letter-spacing: 15px;
    color: #9a4b2a !important;
}

.logo-caption hr {
    color: grey;
    height: 1px;
    background-color: gray;
    margin: 11px;
}

.logo-caption h5 {
    font-weight: 200 !important;
    letter-spacing: 9px;
    color: var(--color-secondary);
}

.logo-div div {
    padding-left: 24px;
}

.header-links {
    font-size: 22px;
}

    .header-links a {
        margin: 0 9px;
    }

#cart-badge {
    color: red !important;
}

.categories > a,
.categories > .dropdown {
    max-width: 209px;
    text-align: center;
    margin: 0 15px;
}

.categories {
    flex-wrap: wrap;
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Button styling */
.dropdown-toggle {
    background-color: transparent;
    color: white;
    padding: 10px 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

/* Dropdown menu */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15);
    z-index: 11;
    border-radius: 4px;
    overflow: hidden;
    border-radius: 10px;
}

    /* Menu links */
    .dropdown-menu a {
        color: #333;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: center;
    }

        /* Hover styles */
        .dropdown-menu a:hover {
            background-color: #f1f1f1;
        }

/* Show the menu on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Optional: hover effect on the button */
.dropdown:hover .dropdown-toggle {
    background-color: #9a4b2a;
    transition: 0.25s all ease-in;
}

.action-links {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.swiper-button-next,
.swiper-button-prev {
    top: 69vh;
}

.swiper-slide {
    cursor: grab;
}

.cartdetails {
    position: absolute;
    padding: 10% 5%;
}

.button-outliter-st {
    margin-top: 10px;
    padding: 15px !important;
    border-radius: 5px !important;
    color: var(--color-primary) !important;
    border: 1px solid var(--color-primary) !important;
}

    .button-outliter-st:hover, prod-card__action-button:hover, .prod-card__wishlist:hover {
        background-color: var(--color-primary-hover) !important;
        color: white !important;
    }

        .button-outliter-st:hover i, .prod-card__action-button:hover i, .prod-card__wishlist:hover i {
            color: white !important;
        }


.nav-link {
    color: #8b0000 !important;
    font-weight: bold;
    font-weight: bold;
    font-size: larger;
}

footer {
    background-color: var();
}

    footer i {
        color: white;
    }

#search {
    display: none;
    position: absolute;
    z-index: 99;
    background: white;
    width: 100vw !important;
    transition: 0.25s all linear;
    margin: 0;
}

    #search.show {
        transition: 0.25s all linear;
        display: block;
    }

input.form-control,
input.form-control ::placeholder, .form-select {
    border-color: #8b0000 !important;
}

    input.form-control:focus, .form-select:focus {
        box-shadow: 0 0 0 0.25rem #bfb2b2 !important;
    }
/*Product overlay*/
.image-container {
    position: relative;
    overflow: hidden;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.6);
    padding: 10px;
    text-align: center;
    display: none;
    justify-content: center;
    gap: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    height: 100%;
}

.prod-card__img-link:hover {
    background: rgba(255, 255, 255, 0.6);
}

.image-container:hover .overlay {
    transform: translateY(0%);
    display: flex;
}

.overlay button {
    font-size: 14px;
    padding: 6px 12px;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.swiper-pagination1.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    text-align: center;
}

.shippingnotes {
    background-color: black;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 10px;
}

#ShopbyCategory {
    display: flex;
    justify-content: center;
    align-items: center;
}

    #ShopbyCategory h2 {
        white-space: nowrap;
        margin-right: 20px !important;
    }

    #ShopbyCategory div {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

        #ShopbyCategory div button {
            margin: 10px;
        }

#Product-Carsoule .swiper-slide {
    /*background: white*/
}

#Product-Carsoule .swiper-slide {
    max-height: 400px;
    border-radius: 10px;
    /*padding: 5px*/
}

    #Product-Carsoule .swiper-slide img {
        /*max-height:70%*/
    }

#Product-Carsoule .card-title, #Product-Carsoule .card-text {
    margin-top: 15px
}

a {
    text-decoration: none !important
}

h1, h2, h3, h4 {
    color: var( --color-primary, #1c1c21) !important;
    line-height: var(--heading-line-height, 1.2);
    margin: 10px 0
}

#product_configure_form [name="QTY"] {
    border-radius: 15px
}

#product_configure_form button:active {
    color: white;
    background: var(--color-primary)
}

.anchor {
    color: var(--color-primary-hover) !important;
    text-decoration: underline !important
}

#product_configure_form .btn-add-to-cart {
    border-radius: 5px 0px 0 5px;
}

#product_configure_form .btn--wishlist {
    color: white !important;
    border-radius: 0px 5px 5px 0px !important;
    margin: 0
}

#product_configure_form .btn--wishlist {
}

hr {
    color: grey;
    height: 1px;
    background-color: gray;
    margin: 11px;
    width: 100%
}

#ProductListViewProducts hr {
    margin: 11px !important;
    width: 100%
}

.prod-card {
    background: white;
    border: 0;
}

    .prod-card img {
        border-radius: 10px
    }

.gui-cart .CartProduct {
    background: white;
    border-radius: 10px;
    padding: 5px;
    margin: 15px;
}

    .gui-cart .CartProduct .CartProdName {
        padding: 5px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

.CartProduct .CartProductImage {
    height: 260px;
}

.gui-cart .CartProduct .CartProductImage img {
    border-radius: 10px
}

.gui-cart .CartProduct .CartProdName hr {
    margin: 10px 0
}

.gui-cart .CartProduct .CartProdName h5 {
    font-weight: normal !important;
    font-size: medium;
}

.gui-cart .CartProduct .CartProdName h6 {
    font-weight: normal !important;
    font-size: medium;
    text-align: center;
}

.gui-cart .CartProduct .CartDesc {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    margin: 10px 0
}

hr.hr-separtor {
    margin: 10px 0
}

.gui-cart .CartProduct .CartDesc * {
    width: auto
}

.gui-cart .CartProduct .CartDesc .number-input,
.gui-cart .CartProduct .CartDesc [name="QTY"] {
    width: 85px;
    border-radius: 15px
}

#form-checkout .checkout-btn {
    border-radius: 5px;
    background: var(--color-primary-hover) !important
}

    #form-checkout .checkout-btn:hover {
        background: var(--color-primary) !important
    }

.CartProductMainContainer {
    flex-direction: row;
    flex-wrap: wrap !important;
}

#CheckoutContainer textarea {
    height: 150px !important
}

#CheckoutContainer .form-group {
    width: 300px;
    margin: 10px;
}

    #CheckoutContainer .form-group label.required:after {
        content: '*';
        color: red
    }

#CheckoutContainer .CartProduct {
    height: 250px;
    margin: 15px auto !important;
}

.hide-important {
    display: none !important;
}

#PaymentView.hide {
    display: none !important
}

div#OrderMainInfo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

input[type=text], input[type=email], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    height: 40px;
    background: white;
    font-size: 17px;
    color: #3a3a3a;
    font-family: helvetica, tahoma, calibri, sans-serif;
}
#CheckoutContainer .CartProduct .CartProductImage img {
    height: 231px;
    width: auto !important;
    text-align: center;
    margin: auto;
}
