/**********************************/
/********** General CSS ***********/
/**********************************/
body {
    color: #000000;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    background: #ffffff;
}

a {
    color: #8E44AD;
    transition: 0.5s;
}

a:hover,
a:active,
a:focus {
    color: #666666;
    outline: none;
    text-decoration: none;
}

p {
    padding: 0;
    margin: 0 0 15px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #666666;
    margin: 0 0 15px 0;
    padding: 0;
}

.back-to-top {
    position: fixed;
    display: none;
    background: #8E44AD;
    color: #ffffff;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 16px;
    border-radius: 50%;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 11;
}

.back-to-top i {
    padding-top: 12px;
    color: #ffffff;
}



/**********************************/
/********* Form Input CSS *********/
/**********************************/
button.btn {
    color: #ffffff;
    background: #8E44AD;
    border-radius: 0;
}



/**********************************/
/********* Top Header CSS *********/
/**********************************/
.top-header {
    padding: 15px 0;
    background: #ffffff;
}

.top-header .logo {
    text-align: left;
    overflow: hidden;
}

.top-header .logo a img {
    max-height: 70px;
}

.top-header .search {
    width: 100%;
}

.top-header .search input[type=text] {
    width: 100%;
    height: 40px;
    padding: 0 15px;
    color: #666666;
    border: 1px solid #8E44AD;
}

.top-header .search button {
    position: absolute;
    width: 40px;
    height: 38px;
    top: 1px;
    right: 16px;
    padding: 0 15px;
    border: none;
    background: none;
    color: #8E44AD;
}

.top-header .search button:hover {
    background: #8E44AD;
    color: #ffffff;
}

.top-header .user {
    width: 100%;
    text-align: right;
}

.top-header .user .dropdown {
    display: inline-block;
    margin-right: 15px;
}

.top-header .user .dropdown-menu {
    border-radius: 0;
}

.top-header .user .cart {
    display: inline-block;
}

.top-header .user .cart i {
    color: #8E44AD;
    font-size: 18px;
}

.top-header .user .cart span {
    color: #666666;
    font-size: 14px;
}

@media (min-width: 768px) {
    .top-header {
        max-height: 90px;
    }
}

@media (max-width: 767.98px) {

    .top-header .logo,
    .top-header .search,
    .top-header .user {
        text-align: center;
        margin-bottom: 15px;
    }

    .top-header .user {
        margin-bottom: 0;
    }
}



/**********************************/
/********* Header Nav CSS *********/
/**********************************/
.header {
    position: relative;
}

.header .navbar {
    height: 100%;
    padding: 0;
}

.header .dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: #f8f9fa;
}

@media (min-width: 768px) {

    .header,
    .header .navbar {
        background: #8E44AD !important;
    }

    .header .navbar-brand {
        display: none;
    }

    .header a.nav-link {
        padding: 8px 15px;
        font-size: 15px;
        text-transform: uppercase;
    }
}

@media (max-width: 768px) {

    .header,
    .header .navbar {
        background: #333333 !important;
    }

    .header a.nav-link {
        padding: 5px;
    }

    .header .dropdown-menu {
        box-shadow: none;
    }
}

/**********************************/
/******* Section Header CSS *******/
/**********************************/
.section-header {
    position: relative;
    max-width: 100%;
    margin: 0 0 20px 0;
}

.section-header h1,
.section-header h2,
.section-header h3 {
    position: relative;
    color: #8E44AD;
    font-size: 23px;
    font-weight: 500;
    text-align: left;
    text-transform: capitalize;
    margin-left: 0;
}

.section-header p {
    font-size: 16px;
    text-align: center;
    margin: 0
}


/**********************************/
/******** Product Item CSS ********/
/**********************************/
.title-overlay {
    padding: 10px;
    background-color: #8E44AD;
    text-align: center;
    color: white;
}

.title-overlay a {
    text-decoration: none;
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.title-overlay a:hover {
    color: #F1C40F !important;
}

.title-overlay .h6 {
    font-size: 15px;
}

.image-container img {
    border: 2px solid #dee2e6;
}

@media (max-width: 576px) { 
    .col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

.social-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin: 10px 0;
}

.social-buttons a {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 16px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.social-buttons a:hover {
    opacity: 0.8;
}

.btn-facebook {
    background-color: #3b5998;
}

.btn-pinterest {
    background-color: #e60023;
}

.btn-twitter {
    background-color: #55acee;
}

.btn-instagram {
    background-color: #e4405f;
}

/**********************************/
/******** Featured Product ********/
/**********************************/
.featured-product {
    position: relative;
    padding: 25px 0 60px 0;
}

.recent-product {
    position: relative;
    padding: 60px 0;
}


/**********************************/
/********** Sidebar CSS ***********/
/**********************************/
.sidebar-widget {
    position: relative;
    width: 100%;
    margin-bottom: 45px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget .title {
    position: relative;
    color: #8E44AD;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    text-transform: capitalize;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.sidebar-widget .title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    left: calc(50% - 25px);
    bottom: 0;
    background: #8E44AD;
}

.sidebar-widget.category ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-widget.category ul li {
    margin-bottom: 12px;
}

.sidebar-widget.category ul li:last-child {
    margin-bottom: 0;
}

.sidebar-widget.category ul li a {
    color: #8E44AD;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
    display: inline-block;
    line-height: 23px;
}

.sidebar-widget.category ul li a::before {
    content: '\f061';
    font-family: 'FontAwesome';
    padding-right: 5px;
}

.sidebar-widget.category ul li a:hover {
    padding-left: 10px;
}

.sidebar-widget.category ul li span {
    display: inline-block;
    float: right;
    color: #666666;
    font-size: 14px;
    font-weight: 400;
}


/**********************************/
/********** Contact CSS ***********/
/**********************************/
.contact {
    position: relative;
    padding: 60px 0;
}

.contact .contact-info .section-header h3,
.contact .contact-info .section-header p {
    text-align: left;
}

.contact .contact-info .section-header p {
    font-weight: 400;
}

.contact .contact-info .section-header h3::after {
    left: 0;
}

.contact .contact-info img {
    max-width: 100%;
    margin-bottom: 15px;
}

.contact .contact-info h4 {
    margin-bottom: 10px;
    color: #666666;
    font-size: 16px;
    font-weight: 400;
}

.contact .contact-info h4 i {
    color: #8E44AD;
    margin-right: 5px;
}

.contact .social {
    position: relative;
    width: 100%;
}

.contact .social a {
    display: inline-block;
    margin: 10px 10px 0 0;
    width: 40px;
    height: 40px;
    padding: 3px 0;
    text-align: center;
    font-size: 20px;
    border: 1px solid #8E44AD;
}

.contact .social a i {
    color: #8E44AD;
}

.contact .social a:hover {
    background: #8E44AD;
}

.contact .social a:hover i {
    color: #ffffff;
}

.contact .form {
    color: #666666;
}

@media (max-width: 767.98px) {
    .contact .form {
        margin-bottom: 30px;
    }
}

.contact .form input,
.contact .form textarea {
    color: #666666;
    font-size: 16px;
    padding: 10px 15px;
    border: none;
    border: 1px solid #8E44AD;
    border-radius: 0;
    box-shadow: none;
}

.contact .form input:focus,
.contact .form textarea:focus {
    box-shadow: none;
}

.contact .form button[type="submit"] {
    padding: 6px 25px 7px 25px;
    color: #8E44AD;
    letter-spacing: 1px;
    transition: 0.3s;
    cursor: pointer;
    border-radius: 0;
    border: 1px solid #8E44AD;
    background: #ffffff;
}

.contact .form button[type="submit"]:hover {
    background: #8E44AD;
    color: #FFFFFF;
}


/**********************************/
/********** Footer CSS ************/
/**********************************/
.footer {
    position: relative;
    padding: 60px 0 0 0;
    background: #8E44AD;
}

@media (min-width: 992px) {
    .footer .container-fluid {
        max-width: 95%;
    }
}

.footer .footer-widget {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}

.footer .footer-widget h1 {
    color: #ffffff;
    margin-bottom: 18px;
}

.footer .footer-widget .title {
    color: #ffffff;
    white-space: nowrap;
}

.footer .footer-widget p {
    color: #ffffff;
}

.footer .footer-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer .footer-widget ul li {
    margin-bottom: 12px;
}

.footer .footer-widget ul li:last-child {
    margin-bottom: 0;
}

.footer .footer-widget ul li a {
    color: #ffffff;
    white-space: nowrap;
    display: block;
    line-height: 23px;
}

.footer .footer-widget ul li a::before {
    content: '\f061';
    font-family: 'FontAwesome';
    padding-right: 5px;
}

.footer .footer-widget ul li a:hover {
    padding-left: 10px;
}

.footer .contact-info p {
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 16px;
}

.footer .contact-info p i {
    color: #ffffff;
    margin-right: 5px;
}

.footer .social {
    position: relative;
    width: 100%;
}

.footer .social a {
    display: inline-block;
    margin: 10px 5px 0 0;
    width: 35px;
    height: 35px;
    padding: 2px 0;
    text-align: center;
    font-size: 18px;
    border: 1px solid #ffffff;
}

.footer .social a i {
    color: #ffffff;
}
