/********** Template CSS **********/
:root {
    --primary: #AB7442;
    --light: #F5F5F5;
    --dark: #353535;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
    border-radius: 50%;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    transition: .5s;
    border-radius: 50%;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: transparent;
    border: 1px solid #FFFFFF;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url(../img/top-bar.jpg) center center no-repeat;
    background-size: cover;
}

.page-header1 {
    background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url(../img/top-bar1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title h1 {
    position: relative;
    display: inline-block;
    padding: 0 60px;
}

.section-title.text-start h1 {
    padding-left: 0;
}

.section-title h1::before,
.section-title h1::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 5px;
    bottom: 0;
    background: var(--dark);
}

.section-title h1::before {
    left: 0;
}

.section-title h1::after {
    right: 0;
}

.section-title.text-start h1::before {
    display: none;
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-item img {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.1);
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-item img {
    transition: .5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 0;
    bottom: 0;
    left: 50%;
    background: rgba(53, 53, 53, .7);
    transition: .5s;
}

.portfolio-item:hover .portfolio-overlay {
    width: 100%;
    height: 100%;
    left: 0;
}

.portfolio-item .portfolio-overlay .btn {
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay .btn {
    opacity: 1;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-social {
    position: absolute;
    width: 38px;
    top: 50%;
    left: -38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover .team-social {
    left: 0;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    border: 5px solid var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer {
        background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7));

    /* background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url(../img/footer.jpg) center center no-repeat; */
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}


.mobile-app {
    background-image: url(../img/mobile-parallax.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 80px;
    padding-bottom: 80px;
}

.mobile-app h2 {
    font-size: 68px;
}

/* Homepage category directory */
.home-categories {
    padding: 88px 0;
    background: #f8f6f3;
}
.home-categories__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}
.home-categories__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #8a5b31;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.home-categories__heading h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 3vw, 42px);
    letter-spacing: -.025em;
}
.home-categories__heading p {
    margin: 0;
    color: #726b64;
}
.home-categories__all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 10px 0;
    color: #76502e;
    font-size: 14px;
    font-weight: 600;
}
.home-categories__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.home-category {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 100px;
    padding: 20px;
    border: 1px solid #ece6df;
    border-radius: 14px;
    background: #fff;
    color: #353535;
    box-shadow: 0 3px 12px rgba(65, 45, 27, .025);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.home-category__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    height: 42px;
    border-radius: 12px;
    background: #f6efe6;
    color: #966638;
    font-size: 16px;
}
.home-category__name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.home-category__arrow {
    color: #a88b71;
    font-size: 12px;
    transition: transform .2s ease;
}
.home-category:hover {
    color: #76502e;
    transform: translateY(-3px);
    border-color: #cdb290;
    box-shadow: 0 10px 24px rgba(65, 45, 27, .07);
}
.home-category:hover .home-category__arrow { transform: translateX(3px); }
.home-category:focus-visible,
.home-categories__all:focus-visible {
    outline: 3px solid #966638;
    outline-offset: 4px;
}
@media (max-width: 1199.98px) {
    .home-categories__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .home-categories { padding: 52px 0; }
    .home-categories__heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
    .home-categories__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .home-category { min-height: 94px; padding: 14px; gap: 10px; }
    .home-category__icon { flex-basis: 30px; height: 34px; border-radius: 9px; font-size: 13px; }
    .home-category__name { font-size: 13px; }
    .home-category__arrow { font-size: 10px; }
}
@media (max-width: 359.98px) {
    .home-categories__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .home-category, .home-category__arrow { transition: none; }
    .home-category:hover, .home-category:hover .home-category__arrow { transform: none; }
}


/* Public product catalogue */
.catalogue-page { padding: 36px 0 72px; background: #f8f7f5; }
.catalogue-intro { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0 0 32px; }
.catalogue-breadcrumb { display: flex; gap: 10px; margin-bottom: 18px; font-size: 12px; color: #817970; }
.catalogue-breadcrumb a { color: #817970; }
.catalogue-intro h1 { margin: 0 0 10px; font-size: clamp(30px, 3vw, 42px); letter-spacing: -.03em; }
.catalogue-intro p { margin: 0; color: #7a7269; font-size: 14px; }
.catalogue-search { display: flex; align-items: center; gap: 12px; width: 410px; max-width: 100%; padding: 6px 6px 6px 18px; background: #fff; border: 1px solid #e6e0d8; border-radius: 12px; }
.catalogue-search > i { color: #a08b76; font-size: 14px; }
.catalogue-search input { min-width: 0; width: 100%; border: 0; background: transparent; padding: 10px 0; font-size: 13px; color: #353535; }
.catalogue-search input:focus { outline: none; }
.catalogue-search:focus-within { border-color: #ab7442; box-shadow: 0 0 0 3px #ab74421a; }
.catalogue-search button { border: 0; border-radius: 8px; background: #8a5b31; padding: 12px 18px; color: #fff; font-size: 13px; font-weight: 600; }
.catalogue-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 28px; }
.catalogue-sidebar { min-width: 0; }
.catalogue-menu { background: #fff; border: 1px solid #eae4dd; border-radius: 16px; overflow: hidden; }
.catalogue-menu__heading { display: flex; align-items: center; justify-content: space-between; padding: 22px 20px 18px; font-size: 16px; font-weight: 700; color: #353535; }
.catalogue-menu__count { background: #f5efe7; color: #8a5b31; padding: 3px 9px; border-radius: 7px; font-size: 11px; }
.catalogue-menu__links { padding: 0 10px 12px; }
.catalogue-menu__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 12px; margin-bottom: 3px; border-radius: 9px; color: #655e56; font-size: 13px; line-height: 1.5; transition: background .18s ease, color .18s ease; }
.catalogue-menu__links a > i { font-size: 9px; color: #b8aa9b; }
.catalogue-menu__links a:hover { background: #faf6f0; color: #8a5b31; }
.catalogue-menu__links a.is-active { color: #80522a; background: #f3e9db; font-weight: 700; }
.catalogue-menu__links a.is-active > i { color: #80522a; }
.catalogue-menu__links .catalogue-menu__new { margin-bottom: 12px; border-bottom: 1px solid #eee7de; }
.catalogue-menu__new span i { margin-right: 8px; font-size: 12px; color: #ab7442; }
.catalogue-menu-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border: 1px solid #e6e0d8; border-radius: 12px; background: #fff; color: #76502e; font-size: 14px; font-weight: 600; }
.catalogue-menu-toggle span i { margin-right: 10px; }
.catalogue-menu-toggle > i { font-size: 11px; transition: transform .2s; }
.catalogue-menu-toggle[aria-expanded="true"] > i { transform: rotate(180deg); }
.catalogue-results { min-width: 0; }
.catalogue-results__heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; padding: 4px 0 18px; border-bottom: 1px solid #e6e0d8; }
.catalogue-results__heading h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.catalogue-results__heading > span { color: #93877a; font-size: 12px; }
.catalogue-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.catalogue-product { min-width: 0; display: flex; flex-direction: column; border: 1px solid #eae4dd; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 3px 10px rgba(65,45,27,.025); transition: border-color .2s ease, box-shadow .2s ease; }
.catalogue-product:hover { border-color: #cdb290; box-shadow: 0 8px 22px rgba(65,45,27,.07); }
.catalogue-product__image { aspect-ratio: 1 / 1; padding: 22px; background: #fff; }
.catalogue-product__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.catalogue-product__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 0 18px 18px; }
.catalogue-product__code { display: inline-block; margin-bottom: 10px; padding: 4px 7px; border-radius: 5px; background: #f6f3ef; font-size: 10px; line-height: 1.3; letter-spacing: .04em; color: #8b7764; overflow-wrap: anywhere; }
.catalogue-product h3 { margin: 0 0 18px; font-size: 14px; font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; }
.catalogue-product__pack { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: auto; padding-top: 12px; border-top: 1px solid #f1ece6; color: #82786c; font-size: 12px; }
.catalogue-product__pack i { font-size: 11px; color: #b29b83; }
.catalogue-loading { text-align: center; margin: 24px 0; color: #82786c; font-size: 14px; }
.catalogue-more { margin-top: 32px; text-align: center; }
.catalogue-more button { padding: 13px 24px; border: 1px solid #cdb290; border-radius: 10px; background: #fff; color: #80522a; font-size: 13px; font-weight: 600; }
.catalogue-more button i { margin-left: 12px; font-size: 11px; }
.catalogue-more button:hover { background: #f3e9db; }
.catalogue-more button:disabled { opacity: .6; }
.catalogue-empty { text-align: center; padding: 64px 20px; border: 1px dashed #ddd0c0; border-radius: 14px; background: #fff; }
.catalogue-empty > i { display: block; font-size: 28px; color: #b29b83; margin-bottom: 20px; }
.catalogue-empty h3 { font-size: 20px; }
.catalogue-empty p { font-size: 14px; color: #82786c; }
.catalogue-page a:focus-visible, .catalogue-page button:focus-visible { outline: 3px solid #966638; outline-offset: 3px; }
@media (min-width: 1600px) { .catalogue-page > .container-xxl { max-width: 1520px; } .catalogue-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1199.98px) { .catalogue-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 22px; } .catalogue-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 991.98px) {
    .catalogue-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .catalogue-menu { margin-top: 10px; }
    .catalogue-menu__links { max-height: 360px; overflow-y: auto; }
    .catalogue-intro { align-items: flex-start; flex-direction: column; gap: 22px; }
    .catalogue-search { width: 100%; }
}
@media (max-width: 575.98px) {
    .catalogue-page { padding: 24px 0 48px; }
    .catalogue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .catalogue-product__image { padding: 16px; }
    .catalogue-product__body { padding: 0 12px 14px; }
    .catalogue-product h3 { font-size: 13px; margin-bottom: 14px; }
    .catalogue-product__pack { font-size: 11px; }
    .catalogue-results__heading h2 { font-size: 20px; }
    .catalogue-results__heading > span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .catalogue-product, .catalogue-menu__links a, .catalogue-menu-toggle > i { transition: none; } }
