@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap');


/* =========================
   GLOBAL FONT
   ========================= */

body,
.productdescription,
.product-miniature__description,
button,
input,
textarea,
select,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto Condensed', sans-serif !important;
    font-size: 15px;
    letter-spacing: -0.2px;
}

h2 {
    font-family: 'Roboto Condensed', sans-serif !important;
}


/* =========================
   LOGO / HEADER ELEMENTS
   ========================= */

.logo.img-fluid {
    padding: 0;
}

.details__right {
    padding: 0;
}

.details__right img.img-fluid.details__manufacturer-logo {
    padding: 0;
    display: block;
    max-width: 100%;
}

.header-bottom .navbar-brand .logo {
    max-height: 3rem;
    max-width: 14rem;
    width: auto;
}

.header-bottom {
    padding: 1.25rem 0;
}


/* =========================
   SEARCH
   ========================= */

.ps-searchbar {
    margin-block: .5rem;
    min-width: 14rem;
    overflow: visible;
}

.ps-searchbar input {
    color: #000 !important;
}

.ps-searchbar input::placeholder {
    color: #666 !important;
}


/* =========================
   PRODUCT MINIATURE
   ========================= */

.product-miniature__bottom {
    background: #f7faff6e;
}

.accordion-item {
    border-block-end: none;
}


/* =========================
   HEADER BACKGROUND
   ========================= */

/* Homepage */
body.page-index .header-top,
body.page-index .header-bottom {
    border: none;
}


/* Homepage text */
body.page-index .header-top a,
body.page-index .header-top span,
body.page-index .header-top li,
body.page-index .header-bottom a,
body.page-index .header-bottom span,
body.page-index .header-bottom li {
    color: #fff !important;
}


/* Other pages background */
body:not(.page-index) .header-top,
body:not(.page-index) .header-bottom {
    background-image: url("https://automate-programabile.ro/presta9/modules/ps_imageslider/images/7ab0949c857f28e32806796d1b489696c891725d_s7-1500jpgjpg");
}


/* =========================
   DESKTOP MAIN MENU
   ========================= */

.ps-mainmenu:is(.ps-mainmenu--desktop) .ps-mainmenu__tree > li > .ps-mainmenu__tree-link,
.ps-mainmenu:is(.ps-mainmenu--desktop) .ps-mainmenu__tree > li > .ps-mainmenu__tree-dropdown-toggle {
    color: #fff !important;
}


/* =========================
   DESKTOP SUBMENU
   ========================= */

.ps-mainmenu:is(.ps-mainmenu--desktop) .submenu {
    background: #fff;
}

.ps-mainmenu:is(.ps-mainmenu--desktop) .submenu a,
.ps-mainmenu:is(.ps-mainmenu--desktop) .submenu span,
.ps-mainmenu:is(.ps-mainmenu--desktop) .submenu__left-item,
.ps-mainmenu:is(.ps-mainmenu--desktop) .submenu__right a,
.ps-mainmenu:is(.ps-mainmenu--desktop) .submenu__right-items a {
    color: #000 !important;
}

.ps-mainmenu--desktop .submenu__right {
    background: lightgrey;
}


/* =========================
   MOBILE MENU
   ========================= */

.ps-mainmenu:is(.ps-mainmenu--mobile) .menu a,
.ps-mainmenu:is(.ps-mainmenu--mobile) .menu span {
    color: #fff !important;
}


/* Mobile submenu */
.ps-mainmenu:is(.ps-mainmenu--mobile) .submenu {
    background: #fff;
}

.ps-mainmenu:is(.ps-mainmenu--mobile) .submenu a,
.ps-mainmenu:is(.ps-mainmenu--mobile) .submenu span {
    color: #000 !important;
}


/* =========================
   CUSTOMER SIGN IN
   ========================= */

body:not(.page-index) .ps-customersignin,
body:not(.page-index) .ps-customersignin a,
body:not(.page-index) .ps-customersignin span,
body:not(.page-index) .ps-customersignin i {
    color: #fff !important;
}


/* =========================
   HEADER MOBILE/DESKTOP
   ========================= */

@media (min-width: 768px) {

    #header .logo {
        max-width: 100%;
    }

    .header-top {
        border-bottom: 0 solid var(--bs-border-color);
    }

}


body.page-index #header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent;
}


body.page-index #wrapper {
    margin-top: 0;
}
/* =========================
   CONTAINER SIZE
   ========================= */

@media (min-width: 1400px) {

    .checkout-steps__mobile,
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xs,
    .container-xxl {
        max-width: 90%;
        margin: 0 auto;
    }

}


/* =========================
   HEADER FIXED
   ========================= */

@media (min-width: 992px) {

    .header-top.fixed {
        position: relative;
    }

}


/* =========================
   CATEGORY / SEARCH LIST MODE
   ========================= */

@media (min-width: 992px) {

    body#category .products,
    body#search .products {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }


    body#category .product-miniature,
    body#search .product-miniature {
        width: 100% !important;
    }


    body#category .product-miniature__inner,
    body#search .product-miniature__inner {
        display: flex;
        flex-direction: row;
        gap: 20px;
        align-items: stretch;
    }


    body#category .product-miniature__top,
    body#search .product-miniature__top {
        width: 220px;
        min-width: 220px;
    }


    body#category .product-miniature__bottom,
    body#search .product-miniature__bottom {
        flex: 1;
    }


    body#category .product-miniature__actions,
    body#search .product-miniature__actions {
        width: 180px;
        min-width: 180px;
    }

}


/* =========================
   PRODUCT GRID / LIST SWITCH
   ========================= */

@media (min-width: 992px) {


    /* GRID */

    .products-wrapper.grid-view .products {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }



    /* LIST */

    .products-wrapper.list-view .products {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }


    .products-wrapper.list-view .product-miniature {
        width: 100% !important;
    }


    .products-wrapper.list-view .product-miniature__inner {
        display: flex !important;
        flex-direction: row !important;
        gap: 20px !important;
        align-items: stretch !important;
    }


    .products-wrapper.list-view .product-miniature__top {
        width: 250px !important;
        min-width: 250px !important;
        padding: 15px;
    }


    .products-wrapper.list-view .product-miniature__bottom {
        flex: 1 !important;
    }


    .products-wrapper.list-view .product-miniature__actions {
        width: 180px !important;
        min-width: 180px !important;
    }

}



/* =========================
   VIEW TOGGLE BUTTONS
   ========================= */

.products-view-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}


.products-view-toggle button {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: .2s;
}


.products-view-toggle button:hover {
    border-color: #000;
}


.products-view-toggle button.active {
    background: #000;
    color: #fff;
    border-color: #000;
}


.products-view-toggle i {
    font-size: 20px;
}



/* =========================
   PRODUCT IMAGES
   ========================= */

@media (min-width: 992px) {


    .img-fluid,
    .img-thumbnail {
        max-width: 65%;
        height: auto;
        display: block;
        margin-left: auto;
        margin-right: auto;
        padding: 15px;
    }



    .ps-categoryproducts .product-miniature__image,
    .ps-bestsellers .product-miniature__image,
    .ps-newproducts .product-miniature__image,
    .ps-viewedproduct .product-miniature__image {
        width: 65%;
        height: auto;
        display: block;
        margin: 0 auto;
        transition: var(--bs-transition-default);
    }


    .ps-categoryproducts .product-miniature__image {
        padding: 15px;
    }

}
/* =========================
   PRODUCT ACTIONS
   ========================= */

@media (min-width: 992px) {

    .product-miniature__actions {
        margin-top: auto;
        display: flex;
    }

}


/* =========================
   PRODUCT PAGE
   ========================= */

@media (min-width: 1200px) {

    .page-product .product__container {
        grid-template-columns: 35% minmax(0, 1fr);
        border-bottom: 1px solid #ddd;
    }

}


/* =========================
   PRODUCT TITLE / STOCK
   ========================= */

.product-title-stock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}


.product-title-stock .product-miniature__title {
    flex: 1;
}


.numeprodus {
    flex-shrink: 0;
}


#numeprodus {
    font-size: 18px;
}


.textmarius {
    padding-top: 7px;
    padding-bottom: 7px;
}



/* =========================
   MAIN MENU SPACING
   ========================= */

.ps-mainmenu:is(.ps-mainmenu--desktop) {
    justify-content: flex-end;
}


.ps-mainmenu:is(.ps-mainmenu--desktop) .ps-mainmenu__tree > li .ps-mainmenu__tree-link {
    padding: .1rem .1rem;
}


.ps-mainmenu:is(.ps-mainmenu--desktop) .submenu__left-item {
    padding: .1rem .1rem;
}



/* =========================
   BADGES
   ========================= */

.header-block__badge {
    background: lightblue;
}



/* =========================
   BANNERS
   ========================= */

.banner {
    display: block;
    width: 100%;
}


.banner-img {
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
}



/* =========================
   LEFT / RIGHT BLOCKS
   ========================= */

.left-block,
.right-block {
    border: 1px solid var(--bs-border-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-radius: 3%;
    padding: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}



/* =========================
   MANUFACTURERS
   ========================= */

#ybc-mnf-block .ybc-mnf-block-a-img {
    text-align: center;
}



/* =========================
   CATEGORY TREE
   ========================= */

.category-tree__list[data-depth="0"] > .category-tree__item > .category-tree__item-header .category-tree__item-link {
    font-weight: 400;
	
}


.category-tree__list {
    row-gap: .1rem;
}



/* =========================
   OPTIONAL HIDE PRICE
   ========================= */

/*
.product-miniature__prices {
    display: none !important;
}

.page-product .product__prices-block {
    display: none !important;
}
*/


/* =========================
   MOBILE FINAL FIXES
   ========================= */

@media (max-width: 767px) {

    .ps-searchbar {
        min-width: auto;
    }


    .header-bottom .navbar-brand .logo {
        max-width: 14rem;
    }


}

/* Force main menu white on all non-home pages */
body:not(.page-index) {
    --bs-secondary-color: #fff;
}

/* Desktop main menu */
body:not(.page-index) .ps-mainmenu--desktop .ps-mainmenu__tree > li > .ps-mainmenu__tree-link,
body:not(.page-index) .ps-mainmenu--desktop .ps-mainmenu__tree > li > .ps-mainmenu__tree-dropdown-toggle {
    color: #fff !important;
}

/* Mobile main menu */
body:not(.page-index) .ps-mainmenu--mobile .menu > li > a {
    color: #fff !important;
}

	.ps-mainmenu:is(.ps-mainmenu--mobile) .menu a {
    color: #000 !important;
}
.ps-mainmenu:is(.ps-mainmenu--desktop) .ps-mainmenu__mobile-toggle .menu-toggle .material-icons, .ps-mainmenu:is(.ps-mainmenu--desktop) .ps-mainmenu__mobile-toggle .menu-toggle .submenu__left-item[data-ps-has-child=true]:after {

    color: white;
}

.header-block__action-btn {

    color: white
}
.left-block__title, h3 {

    color: #1982eb;
        border-bottom: solid 1px #3940cb4d;
}
/* Homepage full-width banner */
body.page-index .ps-banner {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
}

body.page-index .ps-banner .container {
    max-width: none !important;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

body.page-index .ps-banner .banner,
body.page-index .ps-banner .banner-img {
    display: block;
    width: 100%;
    height: auto;
}
.page-content--home
 {
gap: 0rem;
}
body {
    background: #fdfdfd;
}

/* Hummingbird category tree block */
#left-column .ps-categorytree,
#left-column .category-tree {
    background: #fff !important;
    padding: 15px;
    border-radius: 8px;
}


