:root {
    --bg-color: #f5f5f5;
    --text-color: #6c757d; 
    --accent-color:  #ffd333;
    --contrast-color: #45322E;
    --gray-color: #ccc;  
    --red-color: #ee6e73;
    --light-grey-color: #eee;
    --dark-brown-color: #31200F;
    --light-brown-color: #f29945;
}

html, body {
    height: 100%; 
}


body {
    min-width: 320px;
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
}

a {
    color: var(--text-color);
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn, .dropdown-menu,
.form-control {
    border-radius: 0;
}

.form-control:focus {
    color: var(--text-color);
    border-color: var(--accent-color);
    box-shadow: none;
}

.form-control::placeholder {
    color: var(--gray-color);
}

.btn-warning {
    background-color: var(--accent-color);
    color: var(--contrast-color);
}

.btn-outline-warning {
    border-color: var(--accent-color); 
}

.bg-warning {
    background-color: var(--accent-color) !important; 
}

.btn-outline-warning:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color); 
}

.table-dark {
    --bs-table-bg: var(--contrast-color); 
}

/* ======================== General rules =========================== */
.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.main.main {
    flex: 1 1 auto;
}

section {
    padding: 50px 0; 
}

.profile-title {
    text-transform: uppercase;
    color: var(--contrast-color);
    font-weight: 700;
}

.section-title {
    position: relative;
    text-transform: uppercase;
    color: var(--contrast-color); 
    font-weight: 700;
}

.section-title span {
    background-color: var(--bg-color);
    padding-right: 1rem;
    position: relative;
    z-index: 1;
}

.section-title::after {
    position:absolute;
    content: "";
    width: 100%;
    top: 50%; 
    left: 0;
    border-top: 1px dashed var(--text-color);
    /* z-index: -1; */
}

label.required::before {
    content: '* ';
    color: #dc3545;
    font-weight: bold;
}

/* ========================== General rules ============================ */

/* ========================== Header rules ============================ */

.header-top-phone a {
    text-decoration: none;
}

.header-top-phone a:hover {
    text-decoration: underline;
}

ul.social-icons {
    list-style: none;
    margin-bottom: 0;
    padding: 0;
}

ul.social-icons li {
    margin-right: 10px;
}

ul.social-icons a {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    float: left;
    text-align: center;
    transition: all .3s;
}

ul.social-icons a:hover {
    background-color: var(--contrast-color);
    color: var(--accent-color);
}

.header-top .btn {
    background-color: #fff;
}

.header-logo {
    text-decoration: none;
    text-transform: uppercase;
    color: var(--accent-color);
    transition: all .3s; 
}

.header-logo:hover {
    color: var(--contrast-color);
}

.cart-buttons .btn {
    color: var(--contrast-color);
    transition: all .3s;
}

.cart-buttons .btn:hover {
    border: 1px solid var(--contrast-color);
}

.offcanvasCart-table .product-img-td {
    width: 70px;
    text-align: center;
}

.offcanvasCart-table img {
    max-width: 50px;
}

.offcanvasCart-table a {
    text-decoration: none;
    display: block;
}

.offcanvasCart-table a:hover {
    text-decoration: underline;
}

.offcanvas-start {
    background-color: var(--dark-brown-color);
}

.header-bottom {
    border-top: 3px solid var(--accent-color);
    box-shadow: 0 10px 10px rgba(0, 0, 0, .3);
}

.header-bottom .navbar,
.header-bottom .navbar .dropdown-menu {
    background-color: var(--contrast-color) !important;
}

.header-bottom .nav-item:first-child .nav-link {
    padding-left: 0;
}

.header-bottom .navbar .nav-link {
    color: #fff;
    transition: all .3s;
    letter-spacing: .1rem;
}

.header-bottom .navbar .nav-link:hover {
    color: var(--accent-color); 
}

.header-bottom .navbar .nav-link.active {
    color: var(--accent-color);
}

.header-bottom .navbar .dropdown-menu {
    margin-top: 7px;
}

.headernav-scroll.header-bottom .navbar .offcanvas:not(.show) .nav-link {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

/* ========================== Header rules ============================ */

/* ========================== Main rules ============================ */

/* ========================== Carousel ============================ */

.carousel-caption {
    text-shadow: 0 0 2px rgba(0, 0, 0, .9);
}

.carousel-caption p {
    font-size: 1.5rem;
}

/* ========================== Carousel ============================ */

/* ========================== Advantages ============================ */

.advantages .item {
    background-color: #fff;
    text-align: center;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition:all .3s; 
}

.advantages .item:hover {
    box-shadow: 0 15px 30px -20px rgba(0, 0, 0, .5);
}

.advantages i {
    font-size: 70px;
    color: var(--accent-color);
}
/* ========================== Advantages ============================ */

/* ========================== Featured Products ============================ */

/* ========================== Product Card ============================ */

.product-card {
    transition: all .3s;
    border: 1px solid var(--gray-color);
    background-color: #fff;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 10px 20px -15px rgba(0, 0, 0, .75);
}

.product-card-offer {
    color: #fff;
    position:absolute; 
    top: 5px;
    right: 5px;
    text-transform: uppercase;
}

.product-card-offer>div {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
}

.offer-hit {
    background-color: var(--red-color);
}

.offer-new {
    background-color: var(--accent-color);
}

.product-thumb {
    text-align: center;
}

.product-thumb img {
    max-height: 250px;
}

.product-details {
    padding: 10px 20px;
}

.product-details h4 {
    font-size: 1.2rem;
}

.product-details h4 a {
    height: 45px;
    overflow: hidden;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-decoration: none;
    transition: all .3s;
}

.product-details h4 a:hover {
    color: var(--accent-color);
}

.product-excerpt {
    height: 45px;
    overflow: hidden;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-bottom-details {
    border-top: 1px solid var(--light-grey-color); 
    padding-top: 1rem;
}

.product-price {
    font-size: 18px;
    color: var(--red-color);
    font-weight: 600;
}

.product-price small {
    color: var(--gray-color);
    font-weight: 400;
    text-decoration: line-through;
    font-size: 0.8rem;
}

.owl-carousel-full .owl-item img {
    display: inline-block;
    width: auto;
}

/* ========================== Product Card ============================ */

/* ========================== Featured Products ============================ */

/* ========================== About Us ============================ */

.about-us {
    background-color: #fff; 
}

.about-us .section-title span,
.sidebar .section-title span,
.product-content .section-title span,
.page-register .section-title span,
.cart-summary .section-title span,
.order-detail .section-title span,
.cart-content .section-title span {
    background-color: #fff; 
}

/* ========================== About Us ============================ */

/* ========================== Contacts ============================ */

.location {
	padding: 0px 97px;
}

.location i {
	display: block;
	margin: 48px auto 0px;
	width: 30px;
}

.location h2 {
    text-align: center;
	color: var(--contrast-color);
}
.location h4 {
	margin: 23px auto 23px;
	text-transform: uppercase;
	text-align: center;
	color: var(--contrast-color);
	font-size: 22px;
	font-weight: 700;
	line-height: 16px;
}

.location-title {
    border-bottom: 1px solid var(--light-grey-color);
}

.contacts {
	text-align: center;
	margin-bottom: 15px;
	line-height: 14px;
	color:  var(--contrast-color);
	font-size: 14px;
	font-weight: 700;
}
/* ========================== Contacts ============================ */

/* ========================== Footer ============================ */

footer {
    background-color: var(--contrast-color);
    padding: 50px 0;
    color: #fff;
}

footer h4 {
    color: var(--accent-color);
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: all .3s;
}

footer a:hover {
    color: var(--accent-color);
}

.footer-icons {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    font-size: 20px;
}

/* ========================== Footer ============================ */

#top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--accent-color);
    opacity: .5;
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 0;
    font-size: 25px;
    transition: all .5s;
    z-index: 10;
    display: none;
}

#top:hover {
    opacity: 1;
}

/* ========================== Main rules ============================ */

/* ========================== Category page ============================ */

.breadcrumbs {
    margin: 30px 0;
    background-color: #fff;
    padding: 1rem;
}

.breadcrumbs ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.breadcrumbs a {
    text-decoration: none;
    color: var(--contrast-color);
    transition: all .5s;
    margin-right: 0.5rem;
}

.breadcrumbs a:hover {
    color: var(--accent-color);
}

.breadcrumbs a::after {
    content: "/";
    padding-left: 0.5rem;
    color: var(--contrast-color);
}

.sidebar {
    background-color: #fff;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.filter-block:not(:last-child) {
    margin-bottom: 2rem;
}

.filter-block .form-check {
    margin-bottom: 0.5rem;
}

.form-check-input[type="checkbox"] {
    border-radius: 0;
    border-color: var(--gray-color);
}

.form-check-input:focus {
    border-color: var(--gray-color);
    box-shadow: none;
}

.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.filter-block .badge {
    color: var(--text-color);
}

.filter-subtitle {
    color: var(--contrast-color);
}

.page-link {
    color: var(--contrast-color);
}

.page-link:hover {
    color: #fff;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.active>.page-link,
.page-link.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.sidebar .collapse-filters-btn {
    color: var(--contrast-color);
}

.sb-button {
    color: var(--bg-color); 
    background-color: var(--text-color);
}

.btn-secondary {
    --bs-btn-bg: var(--contrast-color);
    --bs-btn-hover-bg: #a8631f;
}
/* ========================== Category page ============================ */

/* ========================== Product page ============================ */

.product-content .product-price {
    font-size: 25px;
}

.product-content .input-group {
    width: 250px;
}

.product-content .card i {
    color: var(--accent-color);
}

.product-content .card {
    padding-left: 20px;
    font-size: 14px;
}

.product-content .card ul li::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 10px;
}

.nav-tabs .nav-link {
    border-radius: 0;
    color: var(--contrast-color); 
}

.tab-content {
    padding-top: 20px;
}

/* ========================== Product page ============================ */

/* ============================= Cart Page ============================ */
.cart-content table img {
    max-width: 50px;
}

.cart-content table th {
    text-align: center;
}

.cart-content table td {
    padding: 1rem;
    text-align: center;
}

.cart-content-title {
    text-decoration: none;
    display: block;
}

.cart-qty {
    width: 70px;
}

.btn-coupon {
    color: var(--text-color);
    text-decoration: none;
}

.btn-coupon:hover {
    color: var(--contrast-color);
}

.cart-summary h3 {
    color: #000;
}

.cart-summary .btn {
    padding: 1rem;
}

.product-stock {
    font-style: italic;
    background-color: var(--contrast-color) !important;
}

.product-not-available {
    font-style: italic;
    background-color: var(--red-color) !important;
}
/* ============================= Cart Page ============================ */

/* ======================== Profile Page =========================== */

.accordion-button:not(.collapsed) {
    color: black;
    background-color: var(--gray-color);
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--contrast-color);

}

.accordion-body .table>:not(caption)>*>* {
	background-color: var(--light-brown-color);
}

/* ======================== Profile Page =========================== */


@media only screen and (min-width : 992px) {
    .header-bottom .navbar .dropdown-menu-end {
        margin-left: 0;
        border: 0;
    }

    .header-bottom .navbar .nav-link {
        padding: 1rem;
    }
}

@media only screen and (max-width : 991.98px) {
    .header-bottom .navbar .dropdown-menu {
        padding-left: 1rem;
    }
}

@media only screen and (min-width : 768px) {
    .sidebar .collapse-filters {
        display: block;
    }

    .sidebar .collapse-filters-btn {
        display: none;
    }
}

@media only screen and (max-width : 500px) {
    .product-content-details .nav-tabs .nav-link {
        padding-left: 8px;
        padding-right: 8px;
    }
}
    
