/*!
 * PSM Megamenu — storefront styles.
 *
 * Provides the layout and visual treatment for the horizontal top-bar
 * menu, the vertical sidebar menu, the dropdown submenu panels (column
 * grid + tabbed predefined variants), the off-canvas mobile drawer,
 * and the inline product/category/manufacturer/supplier/banner cells
 * inside submenu columns.
 *
 * The selectors here are the CSS half of a contract shared with:
 *   - views/templates/hook/*.tpl              — emits the DOM
 *   - views/js/front.js                       — wires up the JS
 *   - src/Service/CssCompilerService.php      — injects per-shop overrides
 *
 * Custom colours, borders, fonts and dimensions configured per shop
 * are *not* baked into this file; CssCompilerService emits an
 * additional shop-specific stylesheet that cascades on top of these
 * defaults.
 *
 * @author    Christos A. Daggas <info@hotwebdesign.gr>
 * @copyright 2026 Christos A. Daggas
 * @license   Academic Free License v3.0
 */

.megamenu-wrapper {
    z-index: 97;
    clear: both;
}

.megamenu-wrapper.psmm-hor-width-0 {
    padding-left: 0px;
    padding-right: 0px;
}

.container-psm-menu{
    z-index: 10;
    position: relative;
}

/* Full-width menu: hor_width=1 drops the outer Bootstrap .container class
 * from horizontal.tpl, so .container-psm-menu has no max-width and the
 * wrapper bg paints from viewport edge to edge. The INNER .container
 * (around the <nav>) keeps its Bootstrap max-width so the menu items
 * themselves stay centred inside the gutter. No :has() needed.
 *
 * .container-psm-menu in this mode is just the positioning context. */
.psmm-hor-width-1,
.psmm-hor-width-1 #megamenu-horizontal {
    width: 100%;
}

.megamenu {
    background: #cecece;
}

.megamenu .container .row {
    margin-left: 0px;
    margin-right: 0px;
}

.psmm-sticky.psmm-sticky-transparent {
    opacity: 0.85;
    transition: opacity 300ms ease-in-out;
}

.psmm-sticky.psmm-sticky-transparent:hover {
    opacity: 1;
}

#megamenu-horizontal.psmm-sticky {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    z-index: 90;
    left: 0;
}
@media (max-width: 999px) {
    #megamenu-horizontal.psmm-sticky {
        position: static !important;
    } }

#megamenu-horizontal.psmm-sticky .psmm-hrmenu-tab > a > .psmm-legend {
    display: none;
}

.psmm-hrmenu {
    width: 100%;
}
@media (max-width: 999px) {
    .psmm-hrmenu {
        display: none;
    } }

.psmm-hrmenu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.psmm-hrmenu .col-xs-12 {
    float: left;
}

.psmm-hrmenu .psmm-tab-title {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.psmm-hrmenu .psmm-manufacturers {
    margin-top: -10px;
}

.psmm-hrmenu .psmm-manufacturers li {
    margin-top: 10px;
}

.psmm-hrmenu .psmm-manufacturers li:hover {
    opacity: 0.85;
}

.psmm-hrmenu .psmm-vertical-title {
    transition: all 300ms ease-in-out;
    padding: 0px 15px;
}

.psmm-hrmenu .psmm-vertical-title .icon {
    margin-right: 10px;
}

.psmm-hrmenu .psmm-categories-row {
    margin-top: -10px;
}

.psmm-hrmenu .psmm-categories-row > div {
    margin-top: 10px;
}

.psmm-hrmenu .psmm-grid-row {
    position: static;
}

.psmm-hrmenu .psmm-empty-column .psmm-menu-column-inner > .psmm-grid-row:first-child {
    margin-top: -20px;
}

.psmm-hrmenu .psmm-tabs-container {
    width: 100%;
}

.psmm-hrmenu .psmm-absolute-column {
    margin: 0px;
    padding: 0px;
    position: absolute;
    width: auto !important;
    z-index: 2;
}

.psmm-hrmenu .psmm-column-title {
    display: block;
    margin-bottom: 8px;
}

.psmm-hrmenu .psmm-column-title .psmm-legend.psmm-legend-inner {
    top: -2px;
}

.psmm-hrmenu .psmm-column-title .psmm-legend.psmm-legend-inner .psmm-legend-arrow:before {
    top: -1px;
}

.psmm-hrmenu .psmm-column-title.psmm-column-title-inline {
    padding: 0px !important;
    border: none  !important;
    margin: 0px  !important;
    margin-right: 10px  !important;
    display: inline-block;
    vertical-align: middle;
}

.psmm-hrmenu .psmm-menu-column {
    margin-top: 20px;
}

.psmm-hrmenu .psmm-menu-column .row {
    margin-left: -10px;
    margin-right: -10px;
}

.psmm-hrmenu .psmm-mainlink-iicon, .psmm-hrmenu .psmm-mainlink-icon {
    width: auto;
    display: inline;
    vertical-align: middle;
    margin-right: 4px;
}

.psmm-hrmenu .psmm-onlyicon .psmm-mainlink-iicon, .psmm-hrmenu .psmm-onlyicon .psmm-mainlink-icon {
    margin-right: 0px;
}

.psmm-hrmenu .psmm-legend {
    display: inline-block;
    top: -15px;
    right: 5px;
    background-color: #999999;
    color: #ffffff;
    position: absolute;
    font-weight: normal;
    font-size: 10px;
    padding: 4px 6px;
    text-transform: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    line-height: initial;
}

.psmm-hrmenu .psmm-legend .psmm-legend-arrow:before {
    font-family: "Material Icons";
    content: "\e5c5";
    font-size: 15px;
    position: absolute;
    bottom: -10px;
    right: 5px;
}

.psmm-hrmenu .psmm-legend.psmm-legend-inner {
    position: relative;
    top: 0px;
    margin-left: 5px;
    right: 0px;
    padding: 2px 4px;
    vertical-align: middle;
}

.psmm-hrmenu .psmm-legend.psmm-legend-inner .psmm-legend-arrow:before {
    content: "\e5cb";
    bottom: 0px;
    top: 0px;
    margin-top: 1px;
    z-index: 2;
    right: auto;
    left: -4px;
}

.psmm-hrmenu .psmm-tab-content {
    border-left: 1px solid #cecece;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding: 0px;
    vertical-align: top;
}

.psmm-hrmenu .psmm-products-big * {
    box-sizing: border-box;
}

.psmm-hrmenu .psmm-products-big .quick-view {
    font-size: 0px;
}

.psmm-hrmenu .psmm-products-big .online-label, .psmm-hrmenu .psmm-products-big .new-label, .psmm-hrmenu .psmm-products-big .sale-label {
    box-sizing: content-box;
}

.psmm-hrmenu .psmm-products-big li.ajax_block_product {
    text-align: center;
    margin-bottom: 10px;
}

.psmm-hrmenu .psmm-products-big li.ajax_block_product:hover {
    padding-top: 0px;
    padding-bottom: 0px;
}

.psmm-hrmenu .psmm-products-big li.ajax_block_product:hover .functional-buttons-grid {
    visibility: visible;
    opacity: 0.9;
    margin-bottom: 0px;
}

.psmm-hrmenu .price.product-price{
    font-size: 14px;
    line-height: 14px;
}

.psmm-hrmenu .old-price.product-price{
    font-size: 13px;
}

.psmm-hrmenu .psmm-products-list .product-name, .psmm-hrmenu .psmm-products-list .product-name-container {
    height: auto;
    line-height: inherit;
}

.psmm-hrmenu .psmm-products-list > li {
    padding-top: 9px;
    padding-bottom: 9px;
}

.psmm-hrmenu .psmm-products-list .product-image-container {
    float: left;
    margin-right: 10px;
    max-width: 60px;
    min-width: 30px;
}

.psmm-hrmenu .psmm-hrsub-tabs-names {
    margin-right: -10px;
    margin-left: -10px;
}

.psmm-hrmenu .psmm-hrsub-tabs-names li {
    position: relative;
    border-bottom: 1px solid #cecece;
}

.psmm-hrmenu .psmm-hrsub-tabs-names li .psmm-inner-border-hider {
    position: absolute;
    top: 0px;
    background: white;
    display: block;
    height: 100%;
    z-index: 1;
    display: none;
}

.psmm-hrmenu .psmm-hrsub-tabs-names li.active .psmm-inner-border-hider {
    display: block;
}

.psmm-hrmenu .psmm-hrsub-tabs-names li a {
    position: relative;
    display: block;
    transition: none;
    padding: 14px 16px;
}

.psmm-hrmenu.psmm-submenu-notarrowed .psmm-submenu-aindicator {
    display: none;
}

.psmm-hrmenu .psmm-submenu-aindicator {
    margin-left: 3px;
}

.psmm-hrmenu .psmm-submenu-it-indicator {
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 10px;
    margin: auto;
    height: 15px;
}

.psmm-hrmenu.psmm-menu-centered > ul {
    text-align: center;
}

.psmm-hrmenu.psmm-menu-centered > ul > li {
    text-align: left;
    float: none;
}

.psmm-hrmenu .psmm-links li {
    margin: 3px 0;
    padding-left: 2px;
    position: relative;
}

.psmm-hrmenu .psmm-links li:last-child {
    margin-bottom: 0px;
}

.psmm-hrmenu .psmm-links li.psmm-hrsub-haslevel2 > div > a:after, .psmm-hrmenu .psmm-links li .psmm-hrsub-haslevel3 > div > a:after {
    content: "\e5cc";
    display: inline;
    font-family: "Material Icons";
    padding-left: 4px;
    opacity: 0.2;
    position: relative;
    transition: opacity 0.3s ease;
}

.psmm-hrmenu .psmm-links li a {
    padding-left: 10px;
    display: inline-block;
}

.psmm-hrmenu .psmm-links li a:before {
    content: "\e5cc";
    display: inline;
    font-family: "Material Icons";
    position: absolute;
    left: 0px;
    transition: left 0.3s ease, right 0.3s ease;
}

.psmm-hrmenu .psmm-links li a:hover:before {
    left: 3px;
}

.psmm-hrmenu .psmm-links.psmm-valinks-vertical li {
    display: inline-block;
    margin: 0px;
    margin-right: 12px;
    padding: 0px;
}

.psmm-hrmenu .psmm-links.psmm-valinks-vertical.psmm-valinks-vertical2 {
    display: inline-block;
    vertical-align: middle;
}

.psmm-category-thumb{
    display: block;
    margin-bottom: 10px;
}

/* vertical style  */
.psmm-hrmenu.psmm-vertical > ul > li {
    float: none;
    display: block;
}

.psmm-vertical-on-top {
    float: left;
    width: 250px;
    position: relative;
}

.psmm-vertical-on-top > .psmm-vertical > ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    visibility: hidden;
    opacity: 0;
}

/* Hover (desktop) opens the menu through CSS only.
Click handling lives in JS and toggles .psmm-vert-expanded for sticky/touch. */
.psmm-vertical-on-top:hover > .psmm-vertical > ul,
.psmm-vertical-on-top.psmm-vert-expanded > .psmm-vertical > ul {
    visibility: visible;
    opacity: 1;
}

.psmm-vertical-on-top nav#psmm-hrmenu1 {
    margin-bottom: 0px;
}

#index .psmm-homepage-expanded > .psmm-vertical > ul {
    visibility: visible;
    opacity: 1;
}

#index .psmm-sticky .psmm-homepage-expanded > .psmm-vertical > ul {
    visibility: hidden;
    opacity: 0;
}

#index .psmm-sticky .psmm-vert-expanded > .psmm-vertical > ul {
    visibility: visible;
    opacity: 1;
}

.psmm-hrmenu.psmm-vertical {
    width: 100%;
    margin-bottom: 20px;
}

.psmm-hrmenu.psmm-vertical .psmm-submenu-aindicator {
    position: absolute;
    right: 8px;
    margin-top: 1px;
}

.psmm-hrmenu.psmm-vertical .psmm-legend-vertical {
    top: -8px;
    right: 14px;
}

.psmm-hrmenu.psmm-vertical > ul {
    width: 100%;
    max-width: 100%;
    padding: 0px;
}

.psmm-hrmenu.psmm-vertical > ul > li > a, .psmm-hrmenu.psmm-vertical > ul > li .span.psmm-main-link {
    padding-left: 15px;
    padding-right: 15px;
    display: block;
}

.psmm-hrmenu.psmm-vertical > ul > li:first-child > a, .psmm-hrmenu.psmm-vertical > ul > li:first-child .span.psmm-main-link {
    border-top: none;
}

.psmm-hrmenu.psmm-vertical .psmm-hrsub-wrapper {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    z-index: 100;
}

.psmm-hrmenu.psmm-vertical .psmm-hropen .psmm-hrsub-wrapper {
    visibility: visible;
    opacity: 1.0;
}

/* first level ul style */
.psmm-hrmenu > ul,
.psmm-hrmenu .psmm-hrsub-inner {
    margin: 0 auto;
}

.psmm-hrmenu > ul > li {
    display: inline-block;
}

.psmm-hrmenu > ul > li > a, .psmm-hrmenu > ul > li > span.psmm-main-link {
    display: inline-block;
    position: relative;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.psmm-hrmenu > ul > li:first-child > a, .psmm-hrmenu > ul > li:first-child > span.psmm-main-link {
    border-left: none !important;
}

/* sub-menu */
.psmm-hrmenu.psmm-arrowed .psmm-triangle-container {
    display: block;
}

.psmm-hrmenu .psmm-triangle-top {
    width: 0;
    height: 0;
    position: absolute;
    z-index: 1;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #fff;
    top: 1px;
}

.psmm-hrmenu .psmm-triangle-top-back {
    width: 0;
    height: 0;
    position: absolute;
    left: -1px;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-bottom: 13px solid #EAEAEA;
}

.psmm-hrmenu .psmm-triangle-container {
    display: none;
    left: 0px;
    top: 0px;
    position: absolute;
}

.psmm-hrmenu .psmm-triangle-left, #columns .psmm-hrmenu .psmm-triangle-left {
    position: absolute;
    width: 0;
    height: 0;
    left: 1px;
    z-index: 1;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid #fff;
}

.psmm-hrmenu .psmm-triangle-left-back, #columns .psmm-hrmenu .psmm-triangle-left-back {
    position: absolute;
    width: 0;
    height: 0;
    top: -1px;
    left: 0px;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-right: 13px solid #EAEAEA;
}

.psmm-horizontal.psmm-arrowed .psmm-triangle-container {
    position: absolute;
    bottom: -13px;
}

.psmm-vertical.psmm-arrowed .psmm-hrsub-inner {
    margin-left: 12px;
}

.psmm-horizontal.psmm-arrowed .psmm-hrsub-inner {
    margin-top: 12px;
}

.psmm-hrmenu .psmm-hrsub {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    display: none;
    padding-bottom: 20px;
    padding: 0px !important;
}

.psmm-hropen .psmm-hrsub {
    visibility: visible;
    opacity: 1.0;
    z-index: 1;
}

.psmm-hrmenu .psmm-hrsub-inner {
    background: #fff;
    border: 1px solid #EAEAEA;
}

.psmm-hrmenu .psmm-hrsub-inner > .row {
    margin-left: 10px;
    margin-right: 10px;
}

.psmm-hrmenu .psmm-hrsub-inner > .row:last-child {
    margin-bottom: 20px;
}

.psmm-hrsub-wide .psmm-hrsub-inner .container > .row:last-child {
    margin-bottom: 20px;
}

.psmm-hrmenu .psmm-notfit {
    right: 0px;
}

.psmm-hrmenu .psmm-show {
    display: block;
}

.psmm-category-link-w{
    position: relative;

}

.psmm-category-tree{
    display: inline-block;
}

.psmm-hrmenu ul.psmm-hrsub-level2 {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 100%;
    margin-top: -20px;
    padding: 8px 10px;
    z-index: 3;
    width: auto;
    background: #fff;
    border: 1px solid #EAEAEA;
    white-space: nowrap;
}

.psmm-hrmenu ul.psmm-hrsub-level3{
    left: 101%;
}


.psmm-hrmenu .pull-right {
    float: right !important;
}


.psmm-hrsub-haslevel3 > .psmm-category-link-w > ul {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 100px;
    margin-top: -20px;
    padding: 8px 10px;
    z-index: 3;
    width: auto;
    transition: visibility 180ms ease-in-out,opacity 180ms ease-in-out;
    white-space: nowrap;
    left: 101%;
}

.psmm-hrsub-haslevel3:hover > .psmm-category-link-w  > ul {
    visibility: visible;
    opacity: 1.0;
}

.psmm-hrsub-haslevel3:hover .psmm-hrsub-level2{
    visibility: visible;
    opacity: 1.0;
}

.psmm-hrsub-haslevel2:hover > div > ul.psmm-hrsub-level2 {
    visibility: visible;
    opacity: 1.0;
}

.psmm-hrmenu .psmm-tab-pane {
    display: none;
}

.psmm-hrmenu .psmm-tab-pane > .clearfix > .row {
    margin: 0px;
}

.psmm-hrmenu .psmm-tab-pane > div > .row:last-child {
    margin-bottom: 20px;
}

.psmm-hrmenu .psmm-hropen .psmm-tab-pane.active {
    visibility: visible;
    opacity: 1.0;
}

.psmm-hrmenu .psmm-tab-pane.active {
    display: table-cell;
}

/* wide submenu wrapper  */
.psmm-hor-width-0 .psmm-hrsub-wide .psmm-hrsub {
    width: 100%;
    left: 0;
}

/* wide submenu submenucontent  */
.psmm-hrsub-wide.psmm-hrsub-widec .psmm-hrsub-inner {
    width: 100%;
    max-width: 100%;
}

/* narrow submenu wrapper  */
.psmm-hrsub-narrow {
    position: relative;
}

/* submenu effects  */
.psmm-fade .psmm-hrsub {
    transition: visibility 300ms ease-in-out, opacity 300ms ease-in-out;
}

.psmm-fade .psmm-hrsub-level2 {
    transition: visibility 300ms ease-in-out, opacity 300ms ease-in-out;
}

.psmm-fade .psmm-hrsub-wrapper {
    transition: visibility 300ms ease-in-out, opacity 300ms ease-in-out;
}

.psmm-fade.psmm-vertical > ul {
    transition: visibility 300ms ease-in-out, opacity 300ms ease-in-out;
}

.psmm-fade-slide-bottom .psmm-hrsub {
    transition: all 300ms ease-in-out;
    margin-top: 15px;
}

.psmm-fade-slide-bottom .psmm-hropen .psmm-hrsub {
    transition: all 300ms ease-in-out;
    margin-top: 0px;
}

.psmm-fade-slide-bottom .psmm-hrsub-level2 {
    transition: visibility 300ms ease-in-out, opacity 300ms ease-in-out;
}

.psmm-fade-slide-top .psmm-hrsub {
    transition: all 300ms ease-in-out;
    margin-top: -15px;
    z-index: -20;
}

.psmm-fade-slide-top .psmm-hropen .psmm-hrsub {
    transition: all 300ms ease-in-out;
    margin-top: 0px;
    z-index: 1;
}

.psmm-fade-slide-top .psmm-hrsub-level2 {
    transition: visibility 300ms ease-in-out, opacity 300ms ease-in-out;
}

.psmm-hrmenu .psmm-hrsub-inner:before,
.psmm-hrmenu .psmm-hrsub-inner:after {
    content: "";
    display: table;
}

.psmm-hrmenu .psmm-hrsub-inner:after {
    clear: both;
}

.psmm-hrsub h4 {
    color: #afdefa;
    padding: 2em 0 0.6em;
    margin: 0;
    font-size: 160%;
    font-weight: 300;
}

@media (min-width: 1000px) {
    .psmm-spmenu-push-toright {
        left: 0px !important;
    } }

/* Responsive styling*/
#megamenu-mobile {
    display: none;
    text-align: left;
}
@media (max-width: 999px) {
    #megamenu-mobile {
        display: block;
    } }

#megamenu-mobile ul, #megamenu-mobile li {
    list-style-type: none;
}

#megamenu-mobile #megamenu-shower {
    text-transform: uppercase;
    padding: 12px 15px;
    cursor: pointer;
    line-height: 36px;
}

#megamenu-mobile .megamenu-icon {
    margin-right: 10px;
    color: #000;
    display: block;
    background-color: #fff;
    font-weight: bold;
    font-size: 24px;
    float: left;
    width: 36px;
    text-align: center;
    cursor: pointer;
}

#megamenu-mobile .megamenu-accordion {
    list-style: none;
    padding: 0px;
    overflow: hidden;
    height: auto;
    max-height: 0px;
    margin: 0px;
    -webkit-transition-delay: 0s;
    transition: all 0.5s ease 0s;
}

#megamenu-mobile .megamenu-accordion.showedmenu {
    border-top: none;
    padding: 12px;
    max-height: 9999px;
    -webkit-transition-delay: 0s;
    transition: all 0.5s ease 0s;
}

#megamenu-mobile .megamenu-accordion > li {
    border-bottom: 1px dashed #dddddd;
}

#megamenu-mobile .megamenu-accordion > li:last-child {
    border-bottom: none;
}

#megamenu-mobile .megamenu-accordion > li > a {
    text-transform: uppercase;
    display: block;
    padding: 10px 0;
}

#megamenu-mobile .megamenu-accordion > li ul {
    background-color: #f8f8f8;
}

#megamenu-mobile .megamenu-accordion > li ul a {
    display: block;
    padding: 10px 0;
    border-top: 1px dashed #dddddd;
}

#megamenu-mobile .megamenu-accordion ul {
    list-style: none;
    padding: 0 0 0 0;
}

#megamenu-mobile .megamenu-accordion ul li {
    font-weight: normal;
    cursor: auto;
    padding: 0 0 0 7px;
}

#megamenu-mobile .megamenu-accordion a {
    text-decoration: none;
}

#megamenu-mobile .megamenu-accordion a:hover {
    text-decoration: none;
}

#megamenu-accordion {
    display: none;
}

#megamenu-accordion .psmm-subtoggle {
    display: block;
    font-weight: bold;
    font-size: 24px;
    float: right;
    padding: 6px 0;
    position: relative;
    top: 7px;
    width: 32px;
    text-align: center;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
    font-family: inherit;
    line-height: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

#megamenu-accordion > li ul {
    display: none;
}

@media (max-width: 999px) {
    #megamenu-accordion {
        display: block;
    } }

#megamenu-accordion.psmm-spmenu .psmm-subtoggle {
    border: none;
}

#megamenu-accordion.psmm-spmenu li a:hover {
    box-shadow: inset -134px 0px 10px -133px rgba(0, 0, 0, 0.4);
}

#megamenu-accordion.psmm-spmenu > li a {
    text-transform: uppercase;
    font-weight: bold;
}

#megamenu-accordion.psmm-spmenu > li ul{
    padding: 0px 10px;
    display: none;
    font-size: 90%;
    box-shadow: inset -134px 0px 10px -133px rgba(0, 0, 0, 0.4);
}

#megamenu-accordion  > li ul.psmm-ul-showed {
    display: block;
}

#megamenu-accordion.psmm-spmenu > li ul ul {
    box-shadow: none;
}

#megamenu-accordion.psmm-spmenu > li ul ul a:hover {
    box-shadow: none;
}

#megamenu-accordion.psmm-spmenu > li ul .psmm-subtoggle {
    background: none;
    margin-right: 0px;
    color: #fff;
}

#megamenu-accordion.psmm-spmenu > li ul ul {
    margin: 0px;
}

#megamenu-accordion.psmm-spmenu > li ul ul a {
    text-transform: none;
    border: none;
}

#megamenu-accordion.psmm-spmenu > li ul ul ul a {
    text-transform: none;
    font-weight: normal;
}

#megamenu-mobile .megamenu-accordion li a {
    transition: all 0.3s ease;
}

.psmm-spmenu .psmm-subtoggle {
    margin-right: 10px;
}

#psmm-close-mobile {
    padding: 0px;
    text-align: center;
    width: 50px;
    height: 50px;
    position: absolute;
    left: -50px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    border: none !important;
}

#psmm-close-mobile i {
    line-height: 50px;
    font-size: 28px;
}

.psmm-spmenu-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    z-index: 5102;
    visibility: hidden;
    opacity: 0;
    display: none;
}
@media (max-width: 999px) {
    .psmm-spmenu-overlay {
        display: block;
    } }

.psmm-spmenu-overlay-show {
    visibility: visible;
    opacity: 1;
}

.psmm-spmenu-overlay-show #psmm-close-mobile {
    left: 240px;
    visibility: visible;
    opacity: 1;
}

.psmm-spmenu {
    position: fixed;
    z-index: 5103;
    box-shadow: inset -134px 0px 10px -133px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
}

.psmm-spmenu h3 {
    color: #afdefa;
    font-size: 1.9em;
    padding: 20px;
    margin: 0;
    font-weight: 300;
    background: #0d77b6;
}

.psmm-spmenu a {
    display: block;
    color: #fff;
    font-size: 1.1em;
    font-weight: 300;
}

.psmm-spmenu > li > ul > li > a:hover {
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 23px;
}

.psmm-spmenu a:active {
    background: #afdefa;
    color: #47a3da;
}

/* Orientation-dependent styles for the content of the menu */
.psmm-spmenu-vertical {
    width: 240px;
    height: 100%;
    top: 0;
}

.psmm-spmenu-vertical a {
    border-bottom: 1px solid #258ecd;
    padding: 1em;
}

/* Vertical menu that slides from the left or right */
.psmm-spmenu-left {
    left: -240px;
}

.psmm-spmenu-left.psmm-spmenu-open {
    left: 0px;
}

/* Push classes applied to the body */
.psmm-spmenu-push {
    overflow-x: hidden;
    position: relative;
    left: 0;
}
@media (max-width: 999px){
    .psmm-spmenu-push-toright {
        left: 240px;
        width: 100%;
        position: fixed;
    }
}

.psmm-spmenu-push-toleft {
    left: -240px;
}

/* Transitions */
.psmm-spmenu,
.psmm-spmenu-push {
    transition: all 0.3s ease;
}

/* Example media queries */
@media screen and (max-width: 55.1875em) {
    .psmm-spmenu-top {
        top: -110px;
    }

    .psmm-spmenu-bottom {
        bottom: -110px;
    } }

.container-xs-height {
    display: table;
    padding-left: 0px;
    padding-right: 0px;
}

.row-xs-height {
    display: table-row;
}

.row-xs-height:before {
    display: none;
}

.row-xs-height:after {
    display: none;
}

.col-xs-height {
    display: table-cell;
    float: none;
    vertical-align: top;
}

#megamenu-horizontal #search_block_top_content {
    width: auto;
    float: right;
    position: relative;
    width: 160px;
    right: 0px;
}

#megamenu-horizontal #search_block_top {
    position: absolute;
    top: 0px;
    width: 150px;
    right: 0px;
    bottom: 0px;
    margin: auto;
}

@media (max-width: 999px) {
    #megamenu-horizontal > .container {
        position: relative;
    } }

@media (max-width: 767px) {
    #megamenu-horizontal #search_block_top_content {
        width: 100%;
        margin-bottom: 10px;
    } }
@media (min-width: 768px) and (max-width: 999px) {
    #megamenu-horizontal #search_block_top_content {
        position: absolute;
        right: 20px;
        top: 10px;
        bottom: 10px;
        margin-right: 0px !important;
    } }

@media (max-width: 767px) {
    #megamenu-horizontal #search_block_top {
        left: 0px;
    } }

.psmm-hor-width-1 #megamenu-horizontal #search_block_top_content {
    margin-right: 15px;
}

@media (max-width: 767px) {
    #megamenu-horizontal {
        background: transparent !important;
        border: none !important;
    } }


.psmm-hrmenu .col-xs-1, .psmm-hrmenu .col-xs-2, .psmm-hrmenu .col-xs-3, .psmm-hrmenu .col-xs-4, .psmm-hrmenu .col-xs-5, .psmm-hrmenu .col-xs-6, .psmm-hrmenu .col-xs-7, .psmm-hrmenu .col-xs-8, .psmm-hrmenu .col-xs-9, .psmm-hrmenu .col-xs-10, .psmm-hrmenu .col-xs-11, .psmm-hrmenu .col-xs-12, .psmm-hrmenu .col-sm-1, .psmm-hrmenu .col-sm-2, .psmm-hrmenu .col-sm-3, .psmm-hrmenu .col-sm-4,
.psmm-hrmenu .col-sm-5, .psmm-hrmenu .col-sm-6, .psmm-hrmenu .col-sm-7, .psmm-hrmenu .col-sm-8, .psmm-hrmenu .col-sm-9, .psmm-hrmenu .col-sm-10, .psmm-hrmenu .col-sm-11, .psmm-hrmenu .col-sm-12, .psmm-hrmenu .col-md-1, .psmm-hrmenu .col-md-2, .psmm-hrmenu .col-md-3, .psmm-hrmenu .col-md-4, .psmm-hrmenu .col-md-5, .psmm-hrmenu .col-md-6, .psmm-hrmenu .col-md-7, .psmm-hrmenu .col-md-8,
.psmm-hrmenu .col-md-9, .psmm-hrmenu .col-md-10, .psmm-hrmenu .col-md-11, .psmm-hrmenu .col-md-12, .psmm-hrmenu .col-lg-1, .psmm-hrmenu .col-lg-2, .psmm-hrmenu .col-lg-3, .psmm-hrmenu .col-lg-4, .psmm-hrmenu .col-lg-5, .psmm-hrmenu .col-lg-6, .psmm-hrmenu .col-lg-7, .psmm-hrmenu .col-lg-8, .psmm-hrmenu .col-lg-9, .psmm-hrmenu .col-lg-10, .psmm-hrmenu .col-lg-11, .psmm-hrmenu .col-lg-12
{
    padding-left: 10px;
    padding-right: 10px;
}

/* In the constrained (hor_width=0) layout the outer .container-psm-menu
 * already caps the menu at its breakpoint max-width, so the inner
 * .container is told to fill that area instead of re-centring inside it.
 * In full-width mode (hor_width=1) we WANT the inner .container to keep
 * its Bootstrap max-width — that's what holds the items centred while
 * the wrapper bg spans the viewport — so this override is scoped to
 * hor_width=0. */
.psmm-hor-width-0 #megamenu-horizontal.psmm-nosticky .container{
    max-width: 100%;
}

.psmm-hor-width-0 #megamenu-horizontal{
    margin: 0 -500%;
    padding: 0 500%;

}

.psmm-hor-width-0 #megamenu-horizontal  .container{
    padding-left: 10px;
    padding-right: 10px;
}

.psmm-hor-width-0 #megamenu-horizontal.psmm-sticky{
    margin: 0px;
    padding: 0px;
}

body{
    overflow-x: hidden;
}

.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.col-xs-15 {
    width: 20%;
    float: left;
}
@media (min-width: 768px) {
    .col-sm-15 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 992px) {
    .col-md-15 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 1200px) {
    .col-lg-15 {
        width: 20%;
        float: left;
    }
}

/* Accessibility: focus-visible styles */
.psmm-hrmenu-tab > a:focus-visible,
.psmm-hrmenu-tab > span > a:focus-visible,
.psmm-vertical-menu-tab > a:focus-visible,
#megamenu-accordion a:focus-visible,
#megamenu-shower:focus-visible,
#psmm-close-mobile:focus-visible,
.psmm-subtoggle:focus-visible {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}

.psmm-hrmenu-tab > a:focus:not(:focus-visible),
.psmm-hrmenu-tab > span > a:focus:not(:focus-visible),
.psmm-vertical-menu-tab > a:focus:not(:focus-visible),
#megamenu-accordion a:focus:not(:focus-visible),
#megamenu-shower:focus:not(:focus-visible),
#psmm-close-mobile:focus:not(:focus-visible),
.psmm-subtoggle:focus:not(:focus-visible) {
    outline: none;
}

/* Honour the user's OS-level reduced-motion preference.
 * Disables fade/slide animations on submenu open + the sticky-bar
 * shadow transition so visitors with vestibular sensitivity don't get
 * unsolicited movement. Hover/colour transitions stay because they're
 * tiny and informative, not motion-based. */
@media (prefers-reduced-motion: reduce) {
    .psmm-hrmenu .psmm-hrsub,
    .psmm-hrmenu .psmm-hrsub-wrapper,
    .psmm-spmenu,
    .psmm-spmenu-overlay,
    #megamenu-horizontal {
        transition: none !important;
        animation: none !important;
    }

    .psmm-fade .psmm-hrsub,
    .psmm-fade-slide-bottom .psmm-hrsub,
    .psmm-fade-slide-top .psmm-hrsub {
        transform: none !important;
    }
}

/* ============================================================================
 * Per-column dynamic styling driven by CSS custom properties.
 *
 * The dynamic stylesheet (views/css/megamenu.css, compiled by
 * CssCompilerService::compileSubmenuStyles) emits ONE rule per submenu
 * element that carries only `--psmm-col-*` variables — the rule below maps
 * those variables onto the actual paint targets (column background,
 * borders, padding/margin, legend chip, title/link colours, absolute
 * positioning). Keeping the property→target wiring static here means the
 * compiler never has to reproduce the IQIT-style "selector per property"
 * concatenation pattern.
 * ========================================================================== */
[class*="psmm-grid-element-id-"] > .psmm-menu-column-inner {
    background-color: var(--psmm-col-bg);
    border-top-style:    var(--psmm-col-bd-top-style);
    border-top-width:    var(--psmm-col-bd-top-width);
    border-top-color:    var(--psmm-col-bd-top-color);
    border-right-style:  var(--psmm-col-bd-right-style);
    border-right-width:  var(--psmm-col-bd-right-width);
    border-right-color:  var(--psmm-col-bd-right-color);
    border-bottom-style: var(--psmm-col-bd-bottom-style);
    border-bottom-width: var(--psmm-col-bd-bottom-width);
    border-bottom-color: var(--psmm-col-bd-bottom-color);
    border-left-style:   var(--psmm-col-bd-left-style);
    border-left-width:   var(--psmm-col-bd-left-width);
    border-left-color:   var(--psmm-col-bd-left-color);
    margin-top:    var(--psmm-col-m-top);
    margin-right:  var(--psmm-col-m-right);
    margin-bottom: var(--psmm-col-m-bottom);
    margin-left:   var(--psmm-col-m-left);
    padding-top:    var(--psmm-col-p-top);
    padding-right:  var(--psmm-col-p-right);
    padding-bottom: var(--psmm-col-p-bottom);
    padding-left:   var(--psmm-col-p-left);
}
[class*="psmm-grid-element-id-"] > .psmm-menu-column-inner ul.psmm-hrsub-level2 {
    background-color: var(--psmm-col-bg);
}
[class*="psmm-grid-element-id-"] > .psmm-menu-column-inner .psmm-legend-inner {
    background-color: var(--psmm-col-legend-bg);
    color:            var(--psmm-col-legend-txt);
}
[class*="psmm-grid-element-id-"] > .psmm-menu-column-inner .psmm-legend-arrow {
    color: var(--psmm-col-legend-bg);
}
[class*="psmm-grid-element-id-"] > .psmm-menu-column-inner .psmm-column-title {
    color: var(--psmm-col-title-color);
    border-color: var(--psmm-col-title-bd-color);
}
[class*="psmm-grid-element-id-"] > .psmm-menu-column-inner .psmm-column-title:hover {
    color: var(--psmm-col-title-color-h);
}
[class*="psmm-grid-element-id-"] > .psmm-menu-column-inner,
[class*="psmm-grid-element-id-"] > .psmm-menu-column-inner a,
[class*="psmm-grid-element-id-"] > .psmm-menu-column-inner a:link {
    color: var(--psmm-col-txt-color);
}
[class*="psmm-grid-element-id-"] > .psmm-menu-column-inner a:hover {
    color: var(--psmm-col-txt-color-h);
}
.psmm-absolute-column[class*="psmm-grid-element-id-"] {
    top:    var(--psmm-col-abs-top);
    right:  var(--psmm-col-abs-right);
    bottom: var(--psmm-col-abs-bottom);
    left:   var(--psmm-col-abs-left);
}

/* ============================================================================
 * Right-side toolbar (Search / Login / Cart) + sticky-only shop logo.
 *
 * The toolbar is positioned absolute-right inside #megamenu-horizontal
 * .container, so the centred nav keeps its width. The shop logo lives
 * BEFORE the vertical/nav block in DOM and is hidden by default — only
 * the sticky variant reveals it.
 * ========================================================================== */
#megamenu-horizontal .container {
    position: relative;
}
.psmm-menu-toolbar {
    position: absolute;
    top: 0;
    right: 12px;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
}
/* Shared reset for both the <a class="psmm-tool"> anchors and the
 * <button class="psmm-tool-toggle"> button. The button needs an
 * explicit override of the browser's outset border + light-gray
 * background or it renders as a generic "form button" instead of a
 * flat icon trigger. */
.psmm-tool,
.psmm-tool-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    text-decoration: none;
    font: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.psmm-tool:hover,
.psmm-tool:focus-visible,
.psmm-tool-toggle:hover,
.psmm-tool-toggle:focus-visible {
    background: rgba(0, 0, 0, 0.06);
    outline: none;
}
.psmm-tool .material-icons,
.psmm-tool-toggle .material-icons {
    font-size: 22px;
    line-height: 1;
    color: inherit;
}
.psmm-tool-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: #c8102e;
    color: #fff;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    font-weight: 600;
}

/* Search expand panel — TWO floating layers anchored to the search
 * icon, kept inside the .psmm-search-panel wrapper so the JS toggle
 * can show/hide both at once.
 *
 *   1. The FORM expands leftward from the icon at the same vertical
 *      level: position absolute, right edge glued to the icon's right
 *      edge, top:0 (no vertical translate, so it never bleeds into
 *      a topbar / sticky header above the menu). The input width
 *      animates 0 → 280 px so the user perceives a leftward slide.
 *   2. The RESULTS dropdown sits BELOW the icon, right-aligned to
 *      its right edge. This way the live results never compete with
 *      the topbar elements that share the icon's horizontal band.
 *
 * The outer .psmm-search-panel is a positioning wrapper only — it
 * has no box of its own. */
.psmm-tool-search { overflow: visible; }
.psmm-search-panel {
    position: static;
    pointer-events: none;
}
.psmm-tool-search.psmm-open .psmm-search-panel {
    pointer-events: auto;
}
.psmm-tool-search:not(.psmm-open) .psmm-search-panel[hidden] {
    display: none;
}
.psmm-search-form {
    position: absolute;
    top: 0;
    right: 100%;
    margin-right: 4px;
    display: flex;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    padding: 4px;
    z-index: 6;
}
.psmm-search-input {
    width: 0;
    flex: 0 0 auto;
    height: 32px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font: inherit;
    transition: width 220ms ease-in-out, padding 220ms ease-in-out, opacity 220ms ease-in-out;
    opacity: 0;
}
.psmm-tool-search.psmm-open .psmm-search-input {
    width: 280px;
    opacity: 1;
}
.psmm-search-submit {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border: 0;
    background: #222;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.psmm-search-submit .material-icons {
    font-size: 18px;
    color: inherit;
}
.psmm-search-results {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    width: 320px;
    max-width: calc(100vw - 24px);
    background: #fff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    max-height: 360px;
    overflow-y: auto;
    padding: 6px;
    z-index: 6;
}
.psmm-search-results:empty {
    display: none;
}
.psmm-search-result {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 4px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f0f0f0;
}
.psmm-search-result:last-child { border-bottom: 0; }
.psmm-search-result:hover { background: #f5f5f5; }
.psmm-search-result img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 3px;
    flex: 0 0 40px;
}
.psmm-search-result-body {
    flex: 1 1 auto;
    min-width: 0;
}
.psmm-search-result-name {
    display: block;
    font-size: 13px;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.psmm-search-result-price {
    display: block;
    font-size: 12px;
    color: #555;
}
.psmm-search-results-empty {
    padding: 12px 6px;
    color: #888;
    font-size: 13px;
    text-align: center;
}

/* Sticky-only shop logo — hidden by default. When the horizontal bar
 * enters its .psmm-sticky state the logo becomes the LEFTMOST item in
 * the bar (alongside any .psmm-vertical-on-top wrapper), with a
 * max-height that respects the bar's own line-height so the bar never
 * grows taller because of a tall source PNG. */
.psmm-sticky-logo {
    display: none;
    float: left;
    align-items: center;
    height: 100%;
    margin-right: 16px;
    text-decoration: none;
    /* min-width:0 lets the float collapse to image width instead of
     * inheriting any line-height-driven width. */
    min-width: 0;
}
.psmm-sticky-logo img {
    /* Cap the image height to the bar's effective line-height (the
     * common values across themes are 40-48px). overflow is hidden on
     * the parent so an oversize source PNG never pushes the menu down. */
    max-height: 40px;
    width: auto;
    display: block;
}
#megamenu-horizontal.psmm-sticky .psmm-sticky-logo {
    display: inline-flex;
}
/* Stop a tall logo from inflating the sticky bar height. The bar's
 * height is driven by the menu items' line-height; the logo simply
 * scales down via max-height to fit. */
#megamenu-horizontal.psmm-sticky {
    overflow: visible;
}

@media (max-width: 999px) {
    .psmm-menu-toolbar { display: none; }
}

/* ============================================================================
 * Centred horizontal bar layout (hor_center=1).
 *
 * Default mode: nav fills the row, vertical-on-top floats left, the
 * right-side toolbar is absolute-anchored to the right edge. When the
 * operator turns on "Center the menu", we instead want every visible
 * item — sticky logo, vertical-on-top wrapper, main nav, toolbar — to
 * converge around the centre as a single inline cluster. We achieve
 * that by switching the inner .container/.psmm-bar-row to flex with
 * justify-content:center and stripping the float/absolute positioning
 * each child applied in the default layout.
 * ========================================================================== */
.psmm-bar-centered .psmm-bar-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.psmm-bar-centered .psmm-sticky-logo,
.psmm-bar-centered .psmm-vertical-on-top {
    float: none;
    width: auto;
    margin: 0;
}
.psmm-bar-centered .psmm-menu-toolbar {
    position: static;
    margin: 0;
}
.psmm-bar-centered #psmm-hrmenu {
    width: auto;
    flex: 0 0 auto;
}
.psmm-bar-centered #psmm-hrmenu > ul {
    margin: 0;
    padding: 0;
}
/* Inside the centred bar the nav <ul>'s text-align:center is no
 * longer needed — the flex parent already centres it. Reset it so
 * inline items don't get extra spacing. */
.psmm-bar-centered #psmm-hrmenu.psmm-menu-centered > ul {
    text-align: left;
}
