@import url('//fonts.googleapis.com/css?family=Poppins:300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,900,900italic');@import url('//fonts.googleapis.com/css?family=Libre+Baskerville:300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,900,900italic');body{font-family: "Poppins", arial, tahoma;font-weight: normal;font-size:14px;}#mainMenu{font-family: "Poppins";}
h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins";
}
h1 {
    font-size: 14px;
}
body {
    color: #3b3b3b;
    line-height: 1.75;
}

a, button {
    color: #8e8e8e;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover,
a:focus,
a:active {
    color: #56cfe1 !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

/*a:hover {*/
/*    color: #56cfe1;*/
/*    text-decoration: none;*/
/*}*/
.blog-post-view .page-title-wrapper,
.blog-index-index .page-title-wrapper,
.catalog-product-view .page-title-wrapper,
.catalog-category-view .page-title-wrapper {
    background-image: url(https://kidsmed.ee/media/bg_page_title/default/shop-category.jpg);
}
.blog-post-view .page-title-wrapper,
.blog-index-index .page-title-wrapper,
.catalog-product-view .page-title-wrapper,
.catalog-category-view .page-title-wrapper {
    background-color: #f7f7f7;
    padding: 58px 0 55px !important;
    text-align: center;
    /*background-image: url(../images/shop-category.jpg);*/
    background-size: cover;
    background-repeat: repeat-y;
    position: relative;
    background-position: center center;
    background-attachment: scroll;
}
.blog-post-view .page-title-wrapper h1,
.blog-index-index .page-title-wrapper h1,
.catalog-product-view .page-title-wrapper h1,
.catalog-category-view .page-title-wrapper h1 {
    color: #fff;
    font-weight: 500;
    font-size: 24px;
    padding: 0;
    border: none;
    display: block;
    margin: 0 auto !important;
    margin-bottom: 0 !important;
    position: relative;
}

.blog-post-view .mainnav-bar + .page-title-wrapper:before,
.blog-index-index .mainnav-bar + .page-title-wrapper:before,
.catalog-product-view .mainnav-bar + .page-title-wrapper:before,
.catalog-category-view .mainnav-bar + .page-title-wrapper:before {
    content: '';
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

@media (min-width: 769px), print {
    .page-title {
        max-width: 1280px;
    }
}

h1 {
    font-family: "Poppins";
}


.breadcrumbs {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.breadcrumbs a:visited,
.breadcrumbs a {
    color: #222;
    font-size: 13px;
}
.breadcrumbs .items>li a:hover {
    color: #56cfe1;
    text-decoration: none;
}
.breadcrumbs .item:not(:last-child):after {
    margin-top: 2px;
}
.breadcrumbs .item:last-child {
    margin-top: 1px;
}
/** Category View start **/
.category-view .category-description div {
    padding-left: 0 !important;
    padding-right: 0 !important;
    font-size: 15px;
}
.category-view .category-description .inner-content {
    width: 100%;
}


@media (min-width: 769px) {
    .page-layout-2columns-left .column.main {
        width: 75% !important;
    }
}
@media (min-width: 769px) {
    .page-layout-2columns-left .sidebar-main {
        width: 25% !important;
    }
}

@media (min-width: 1000px) {

    .catalog-category-view .columns {
        display: flex;
    }
    .catalog-category-view .columns .sidebar-main {
        width: 280px !important;
        flex: 0 0 280px; /* Prevent shrinking */
    }
    .catalog-category-view .columns .column.main {
        flex: 1; /* Take remaining width */
        width: auto !important; /* override any fixed width */
    }
}

/*.toolbar .modes .modes-mode {*/
/*    display: block;*/
/*    padding: 0 25px;*/
/*    height: 40px;*/
/*    border: 1px solid #ddd;*/
/*    color: #ddd;*/
/*    text-align: center;*/
/*    line-height: 40px;*/
/*    font-size: 16px;*/
/*    border-radius: 40px;*/
/*    -webkit-border-radius: 40px;*/
/*    -moz-border-radius: 40px;*/
/*    -o-border-radius: 40px;*/
/*    background: none;*/
/*    box-shadow: inset 0 1px 0 0 #ffffff, inset 0 -1px 0 0 rgba(204, 204, 204, 0.3);*/
/*}*/
/*.modes-mode.active:before {*/
/*    color: #222;*/
/*    border-color: #222;*/

/*}*/
/*a.modes-mode:before {*/
/*    color: #ddd !important;*/
/*}*/
/*.toolbar .modes .modes-mode.active {*/
/*    color: #222;*/
/*    border-color: #222;*/
/*    background: none;*/
/*}*/
/*.toolbar .modes>strong,*/
/*.toolbar .modes>a {*/
/*    display: inline-block !important;*/
/*    vertical-align: middle;*/
/*    margin: 0;*/
/*}*/
/*.toolbar .modes .modes-mode>span {*/
/*    border: 0;*/
/*    clip: rect(0, 0, 0, 0);*/
/*    height: 1px;*/
/*    margin: -1px;*/
/*    overflow: hidden;*/
/*    padding: 0;*/
/*    position: absolute;*/
/*    width: 1px;*/
/*}*/
/*.toolbar .modes .modes-mode+.modes-mode {*/
/*    margin-left: 7px;*/
/*}*/
.toolbar-products .modes,
.modes .modes {
    display: none !important;
}
.toolbar-amount {
    font-size: 16px;
    margin-top: 18px;
}
.toolbar-amount .toolbar-number-total-count {
    color: #047a92;
    font-weight: 500;
}
.toolbar .form-item-select {
    border: 1px solid #ddd;
    border-radius: 40px;
    -webkit-border-radius: 40px;
}
.toolbar .form-item-select:after {
    content: '\f107';
    position: absolute;
    font-family: 'FontAwesome';
    right: 16px;
    top: 8px;
    pointer-events: none;
    margin-top: 3px;
}
.toolbar-sorter.sorter #sorter {
    display: inline-block !important;
    vertical-align: middle;
    margin-top: 0;
    /*margin-bottom: 0;*/

    cursor: pointer;
    border: none;
    width: auto;
    font-size: 14px;
    color: #3B3B3B;
    height: 40px;
    line-height: 44px;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0 40px 0 15px;
    width: 100%;
    background: none;
    box-shadow: none;

    margin-bottom: 2px;
}

@media (min-width: 768px) {
    .catalog-category-view .products-grid .product-items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .item.product.product-item {
        float: none !important;   /* remove old float */
        width: auto !important;   /* let grid control width */
        min-width: 0;             /* allow shrinking inside grid */
        max-width: 100%;          /* prevent overflow */
        box-sizing: border-box;
    }
}

.products-grid .product-item-info .product-item-inner,
.products-grid .product-item-info.active .product-item-inner {
    display: block;
}

.product-item-info,
.products-grid .product-item-inner {
    border: none !important;
    box-shadow: none !important;
}
.product-item-inner {
    position: static !important;
    width: auto !important;
    padding: 0 !important;
    height: auto !important;
    margin: 0 !important;
    overflow: auto;
}
.product-item-actions {
    margin: 0 !important;
}
.products-grid .product-item-info:hover, .products-grid .product-item-info.active {
    margin: 0 !important;
    padding: 0 !important;
}


.product-item .price-box .price-label {
    display: none;
}

.tocart {

    border: 1px solid #ddd !important;
    -webkit-border-radius: 40px !important;
    color: #ffffff !important;
    background-color: #047a92 !important;
    border-color: #047a92 !important;

    padding: 14px 25px !important;
    font-size: 14px !important;
}

.rating-summary .rating-result:before {
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
    -webkit-font-smoothing: antialiased;
    color: #acacac;
    font-family: 'FontAwesome';
    font-size: 12px;
    height: 12px;
    letter-spacing: 2px;
    line-height: 12px;
    content: '\f006' '\f006' '\f006' '\f006' '\f006';
    display: block;
    font-style: normal;
    font-weight: normal;
    speak: none;
}

.rating-summary .rating-result>span:before {
    position: relative;
    z-index: 2;
    -webkit-font-smoothing: antialiased;
    color: #4a4a4a;
    font-family: 'FontAwesome';
    font-size: 12px;
    height: 12px;
    letter-spacing: 2px;
    line-height: 12px;
    content: '\f005' '\f005' '\f005' '\f005' '\f005';
    display: block;
    font-style: normal;
    font-weight: normal;
    speak: none;
}
.product-item-info .product-reviews-summary {
    margin-bottom: 0 !important;
}

.product-item-name .product-item-link {
    color: #222;
    font-size: 14px;
    font-weight: 500 !important;
    text-decoration: none;
}
.product-item-name .product-item-link:hover {
    color: #56cfe1;
    text-decoration: none;
}
.price-box .price {
    font-family: "Poppins";
    font-size: 22px;
}
.price-box .price {
    color: #696969;
    font-weight: normal !important;
}
.product-item .price-box {
    margin: 0 0 10px;
}

.footer .form.subscribe {
    display: block;
}

.footer .form.subscribe .field.newsletter {
    display: block;
    float: left;
}

.footer .form.subscribe .field.newsletter {
    display: block;
    float: left;
}
.footer .form.subscribe .actions {
    display: block;
    float: left;
}

.block.filter .filter-subtitle {
    font-weight: 600;
    font-size: 18px;
    color: #000000;
    padding-left: 0;
    padding-bottom: 16px;
}

.block.filter .filter-actions {
    padding-left: 0;
    margin-bottom: 16px;
}
.block.filter .filter-actions a {
    font-weight: 500;
    color: #696969;
    font-size: 14px;
}
.filter-options .filter-options-item {
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    margin-bottom: 8px;
    padding-bottom: 0;
}

.filter .block-subtitle {
    border-bottom: none;
}
.filter-options .filter-options-item .filter-options-title {
    font-weight: 400;
    font-size: 16px;
    text-transform: none;
    padding-left: 14px;
    padding-top: 14px;
    padding-bottom: 10px;
}
.active > .filter-options-title:after {
    content: '\f107';
    font-family: 'FontAwesome';
}
.filter-options-title:after {
    content: '\f106';
    font-family: 'FontAwesome';
    right: 17px;
    top: 16px;
}
.filter-options {
    float: left;
}
.filter-options .filter-options-item {
    float: left;
    width: 100%;
}
.filter-options .filter-options-content {
    float: left;
    padding: 0 14px 5px;
    box-sizing: border-box;
    width: 100%;
}
.filter-options .items {
    float: left;
    border-top: 1px solid #EAEAEA;
    padding-top: 16px;
    width: 100%;
}
.filter-options .items .item {
    margin-top: 0;
    float: left;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    margin-bottom: 3px;
    width: 100%;
}
.filter-options .items .item a {
    /*vertical-align: super;*/
    display: block;
    float: left;
    margin-left: 8px;
    color: #3B3B3B;
    font-weight: 400;
    margin-bottom: 3px;
}

.custom-checkbox-container {
    display: inline-block;
}
.custom-checkbox-container input[type="checkbox"] {
    display: none;
}
.custom-checkbox-container .checkbox {
    width: 24px;
    height: 24px;
    display: inline-block;
    border: 1px solid #878787;
    border-radius: 4px;
    background-color: #fff;
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}
.custom-checkbox-container input[type="checkbox"]:checked + .checkbox {
    background-color: #eee;
}
.custom-checkbox-container input[type="checkbox"]:checked + .checkbox::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 9px;
    width: 5px;
    height: 10px;
    border: solid #333;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.mobile-filter-toggle {
    display: none;
}
@media (max-width: 768px) {
    .filter-subtitle {
        display: block !important;
    }
    .toolbar-amount {
        display: none;
    }
    .toolbar-sorter.sorter {
        position: relative;
    }
    #layered-filter-block .filter-title {
        display: none;
    }
    .catalog-category-view #maincontent .columns {
        padding-top: 0;
    }
    .mobile-filter-toggle {
        display: inline-block;
        font-weight: 400;
        font-size: 14px;
        margin-left: 6px;
        color: #696969;
    }
    .mobile-filter-toggle .close {
        display: none;
    }
    .mobile-filter-toggle .open {
        display: inline-block;
    }
    .mobile-filter-toggle.open .open {
        display: none;
    }
    .mobile-filter-toggle.open .close {
        display: inline-block;
    }
    .filter-clear {
        display: none;
    }
    .filter-actions {
        float: left;
    }
}

@media (max-width: 500px) {
    .toolbar-sorter.sorter {
        width: 100%;
    }
}

/** Category View end **/

/** Blog View start **/
.blog-index-index .breadcrumbs,
.blog-index-index .limiter {
    display: none;
}
.blog-index-index .page-title-wrapper {
    margin-bottom: 40px;
}
.blog-index-index .column.main {
    width: 100% !important;
    padding-left: 0;
}
.blog-post-categories {
    float: left;
    margin-bottom: 32px;
    width: 100%;
}
.blog-post-category {
    background-color: #F6F6F8;
    border: 1px solid #FFFFFF;
    border-radius: 40px;
    float: left;
    line-height: 22px;
    padding: 10px 16px;
    margin-right: 12px;
    margin-bottom: 12px;
    cursor: pointer;
}
.blog-post-category a {
    color: #047A92;
    font-size: 14px;
    font-weight: 400;
}
.blog-post-category.active {
    background-color: #047A92;
    border: 1px solid #047A92;
}
.blog-post-category.active a {
    color: #FFFFFF;
}
.blog-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 12px;
    /*gap: 12px 32px; !* row-gap column-gap *!*/
}
@media (max-width: 768px) {
    .blog-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .blog-list {
        grid-template-columns: repeat(1, 1fr);
    }
}
.blog-list .blog-post {
    /*width: 398.6666564941406;*/
    /*height: 464;*/
    border-radius: 12px;
    border: 1px solid #EAEAEA;
    overflow: hidden;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    /*angle: 0 deg;*/
    /*opacity: 1;*/
}
.blog-list .blog-post .post-image {
    max-height: 290px;
    overflow: hidden;
}
.blog-list .blog-post .post-image img{
    min-width: 100%;
}
.blog-list .blog-post .post-details {
    padding: 24px;
}
.blog-list .blog-post .post-title {
    margin-top: 0;
    margin-bottom: 8px;
}

.blog-index-index .blog-list .blog-post .post-title a,
.blog-index-index .blog-list .blog-post .post-title {
    font-size: 16px;
    font-weight: 500;
    color: #3B3B3B;
    line-height: 24px;
}
.blog-list .blog-post .created-at {
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    margin-bottom: 8px;
}
.blog-index-index .toolbar-amount {
    display: none;
}
.blog-list {
    margin-bottom: 17px;
}
.sidebar .post-list {
    padding-left: 0;
}
.sidebar .block-blog-posts .post-list li:before {
    color: #222;
    content: '+';
    left: 0;
    position: absolute;
}
.sidebar .block-blog-posts .post-list li {
    padding-left: 15px;
    position: relative;
    line-height: 25px;
    margin-bottom: 5px;
}
.sidebar .block-blog-posts .post-list li a {
    color: #222;
}
.sidebar .block-blog-posts .post-list .date {
    font-size: 13px;
}
.blog-post-view .breadcrumbs {
    margin-bottom: 54px;
}
/** Blog View end **/

.toolbar.bottom {
    float: left;
    width: 100%;
}
.pages .action.previous,
.pages .action.next {
    font-size: 14px;
}
.pages .item a {
    font-size: 14px;
}
.pages .action.previous:before,
.pages .action.next:before {
    content: none;
}
.pages .action .label {
    display: none;
}
.pages .action span:not(.label) {
    border: 0;
    clip: auto;
    height: 0;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: static;
}
.pages .action:visited,
.pages a.page {
    color: #5b5b5b!important;
    font-weight: 500;
}
.pages .pages-items .pages-item-previous a,
.pages .pages-items .pages-item-next a {
    box-shadow: none;
    background: none;
    border: none;
}
.pages .pages-items .current strong {
    background: none;
}
.pages .pages-items .current span {
    font-size: 14px;
    color: #ec0101;
    font-weight: 500;
}

.sidebar .block .block-title .title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    position: relative;
    display: block;
    padding: 0 0 2px;
    margin-bottom: 25px;
}
.sidebar .block .block-title .title:after {
    height: 2px;
    width: 60px;
    content: '';
    position: absolute;
    bottom: 0;
    background-color: #222;
    left: 0;
}


/** product view start **/

.product.info.detailed {
    clear: both;
    margin-bottom: 4px;
    margin-top: 66px;
}
.product.info.detailed .additional-attributes {
    width: auto;
    border: none;
}
.product.info.detailed .item.title > .switch .counter {
    font-size: 75%;
}
.product.info.detailed .item.title > .switch .counter:before {
    content: "(";
    display: inline-block;
}
.product.info.detailed .item.title > .switch .counter:after {
    content: ")";
    display: inline-block;
}
.product.info.detailed .item.content .table.additional-attributes {
    margin: 0;
    width: 100%;
}
.product.info.detailed .item.content .table.additional-attributes tr td,
.product.info.detailed .item.content .table.additional-attributes tr th {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    border: 1px solid #ddd;
    padding: 15px;
}
.product.info.detailed .item.content .table.additional-attributes tr th {
    font-weight: 600;
}
.product-data-items-menu {
    display: table;
    margin: 0 auto 25px;
}
.product-data-items-menu .data.item.title {
    display: table-cell;
    vertical-align: middle;
}
.product-data-items-menu .data.item.title .data.switch {
    height: 40px;
    line-height: 40px;
    border: 1px solid transparent;
    padding: 0 25px;
    font-size: 14px;
    font-weight: 600;
    display: block;
    border-radius: 40px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    -o-border-radius: 40px;
}
.product-data-items-menu .data.item.title:hover .data.switch,
.product-data-items-menu .data.item.title.active .data.switch {
    color: #222;
}
.product-data-items-menu .data.item.title.active .data.switch {
    border-color: #222;
}
.product-data-items-content .title-accordion {
    font-weight: 600;
    color: #000000;
    padding: 0 17px 0 20px;
    background-color: #f6f6f8;
    position: relative;
    line-height: 40px;
    cursor: pointer;
    height: 40px;
}
.product-data-items-content .title-accordion:after {
    content: "+";
    position: absolute;
    background-color: #000;
    line-height: 40px;
    display: block;
    color: #fff;
    right: 0;
    top: 0;
    width: 40px;
    bottom: 0;
    text-align: center;
}
.product-data-items-content .title-accordion.active:after {
    content: "-";
}
.product-data-items-content .title-accordion .counter {
    display: inline-block;
}
.product-data-items-content .title-accordion .counter:before {
    content: "(";
}
.product-data-items-content .title-accordion .counter:after {
    content: ")";
}
.product-data-items-content .data.item.content {
    padding: 17px;
    border: 1px solid #f6f6f8;
}
.product-data-items-content .data.item.content + .title-accordion {
    margin-top: 10px;
}

.catalog-product-view h2.product-name {
    font-size: 20px ! Important;
    margin-bottom: 5px;
    font-weight: 600;
    margin-top: 0;
}
.product-reviews-summary .reviews-actions a {
    color: #adadad;
}
.product-reviews-summary .reviews-actions a+a:before {
    content: '/';
    color: #adadad;
    display: inline-block;
    margin-right: 3px;
}
.product-reviews-summary .reviews-actions a:not(:last-child) {
    margin-right: 2px;
}
.product-info-main .rating-summary {
    margin-right: 0;
}
.product-info-main .stock.available {
     font-weight: normal;
     text-transform: none;
}
.product-info-main .stock.available .availability-status {
    color: green;
}
.product-info-main .price {
    font-size: 22px !important;
}
.product-info-price {
    border-bottom: none !important;
}
.availability.only {
    font-size: 18px;
    font-weight: 600;
    color: red;
    margin-bottom: 10px;
}

.product-info-main .product-add-form .box-tocart .field.qty>label, .bundle-info .product-details .box-tocart .field.qty>label {
    display: none;
}
.box-tocart .field.qty>.control {
    position: relative;
    height: 40px;
    border: 1px solid #222;
    text-align: left;
    border-radius: 40px;
    display: inline-block;
}
.box-tocart .field.qty>.control span.edit-qty {
    display: block;
    text-align: center;
    font-size: 22px;
    color: #222;
    font-weight: 600;
    line-height: 1;
    position: absolute;
    top: 2px;
    left: 16px;
    cursor: pointer;
    padding-top: 7px;
}
.product-info-main .product-add-form .box-tocart .field.qty>.control .input-text.qty, .bundle-info .product-details .box-tocart .field.qty>.control .input-text.qty {
    width: 115px;
    border: 0;
    height: 40px;
    background: none;
    padding: 0;
    font-weight: 600;
    font-size: 16px;
    color: #222;
    text-align: center;
}
.box-tocart .field.qty>.control span.edit-qty.plus {
    font-size: 18px;
    left: auto;
    right: 16px;
    padding-top: 9px;
}
.box-tocart .field.qty>.control span.edit-qty {
    display: block;
    text-align: center;
    font-size: 22px;
    color: #222;
    font-weight: 600;
    line-height: 1;
    position: absolute;
    top: 2px;
    left: 16px;
    cursor: pointer;
    padding-top: 7px;
}
.product-info-main .product-add-form .box-tocart .field.qty>.control .input-text.qty:focus,
.bundle-info .product-details .box-tocart .field.qty>.control .input-text.qty:focus {
    box-shadow: none;
}
.product-info-main .field.qty {
    float: left;
    margin-right: 16px;
}
.product-info-main .product-add-form {
    padding-top: 0 !important;
}
#product-addtocart-button {
    color: #3b3b3b !important;
    background-color: #52bde6 !important;
    border: none !important;
    line-height: 1.4rem;
}
#product-addtocart-button:hover {
    color: #fff !important;
    background-color: #55bb00 !important;
    border-color: #55bb00 !important;
}
#product-addtocart-button span {
    font-size: 13px !important;
}
.product-info-main .product-add-form .actions button.tocart,
.bundle-info .product-details .actions button.tocart {
    width: auto;
    font-weight: 600;
    text-transform: uppercase;
}
.product-info-main .product-add-form .actions button,
.bundle-info .product-details .actions button {
    height: 40px;
    width: 40px;
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    color: #6c6c6c;
    text-align: center;
    border-radius: 50%;
    box-shadow: none;
    float: left;
}
.catalog-product-view .description-custom {
    width: 100%;
    float: left;
    margin-bottom: 30px;
}
.catalog-product-view .column.main > .product.info.detailed {
    display: none;
}
.product-data-items-menu {
    display: none;
}
#product-options-wrapper > div > div.field {
    display: none;
}
.block.related .product-item-actions {
    display: none;
}
.catalog-product-view .block.related {
    margin: 0;
}
.catalog-product-view .block.related .block-title.title,
.catalog-product-view .block.related .block-content.content .block-actions {
    display: none;
}
.catalog-product-view .products-related {
    margin: 0;
}
.catalog-product-view .products-related .price-box,
.catalog-product-view .products-related .product-item-name {
    text-align: center;
}
.catalog-product-view .product-options-bottom {
    float: left;
    width: 100%;
}
.catalog-product-view .box-tocart {
    margin-top: 0 !important;
}
.catalog-product-view .box-tocart .fieldset {
    margin-bottom: 0;
}
.catalog-product-view .products-related .product-items {
    margin: 0;
}
.catalog-product-view .products-related .product-items .product-item {
    margin-bottom: 0;

}
.catalog-product-view .products-related .product-items {
    grid-template-columns: repeat(4, 1fr);
    display: grid;
    gap: 20px;
}
.catalog-product-view .products-related .product-items .product-image-container {
    max-height: 120px;
}
.related-product-image-wrapper {
    position: relative;
}
.related-product-image-wrapper .field.choice.related {
    position: absolute;
    top: 62px;
    right: 62px;
    left: auto;
    z-index: 10;
}
.product-info-main .products-related .product-item-name {
    margin-left: 0 !important;
}
.product-info-main .products-related input[type="checkbox"] {
    position: absolute;
    left: -9999px;
}
.product-info-main .products-related .label {
    padding-left: 0;
    line-height: 45px;

    border: none !important;
    clip: auto !important;
    height: auto !important;
    margin: auto !important;
    overflow: hidden !important;
    padding: initial !important;
    position: auto !important;
    width: auto !important;

    line-height: 45px;
}

.product-info-main .products-related .label {
    display: block;
    font-size: 20px;
    width: 40px !important;
    height: 40px !important;
    padding-left: 2px;
    background-color: rgba(0, 0, 0, 0.6);
    text-align: center;
    line-height: 45px;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -o-border-radius: 50%;
    transition: all 300ms;
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    -o-transition: all 300ms;
}

.product-info-main .products-related input:checked+.label span:before {
    content: '\e66c';
}

.product-info-main .products-related input:checked+.label {
    background-color: green;
    color: #fff;
    font-size: 26px;
}

.catalog-product-view .block.upsell {
    float: left;
    width: 100%;
    margin: 0;
}
.catalog-product-view .block.upsell .product-image-photo {
    margin: 0;
}

.catalog-product-view .block.upsell .block-title .block-title-content {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.catalog-product-view .block.upsell .block-title #block-upsell-heading {
    line-height: 3rem;
}
.catalog-product-view .block.upsell .block-title .block-title-content:before {
    left: -75px;
}
.catalog-product-view .block.upsell .block-title .block-title-content:after {
    right: -75px;
}
.catalog-product-view .block.upsell .block-title .block-title-content:before,
.catalog-product-view .block.upsell .block-title .block-title-content:after {
    position: absolute;
    content: '';
    width: 60px;
    height: 2px;
    background: #000;
    top: 48%;
}
.catalog-product-view .block.upsell .block-title.title {
    text-align: center;
}
.catalog-product-view .block.upsell #block-upsell-heading {
    color: #000;
    font-size: 24px;
}
.catalog-product-view .block.upsell .product-item-info {
    width: auto;
}
.catalog-product-view .block.upsell .product-items {
    grid-template-columns: repeat(5, 1fr);
    display: grid;
    gap: 20px;
}
.catalog-product-view .block.upsell .product-items .product-item {
    width: auto;
}
.catalog-product-view .block.upsell .product-items .product-item .product-image-container {
    width: 100%;
}
.product-info-main .product.info.detailed {
    margin-top: 26px;
}
.product.attribute.overview .mgz-element-column > .mgz-element-inner {
    padding: 0 !important;
}
.notify-back-in-stock-trigger {
    padding: 15px;
}
.product.alert.stock {
    width: 100%;
    float: left;
    margin-bottom: 30px;
}
@media (max-width: 550px) {
    .catalog-product-view .block.upsell .product-items {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 551px) and (max-width: 650px) {
    .catalog-product-view .block.upsell .product-items {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 651px)  and (max-width: 768px) {
    .catalog-product-view .block.upsell .product-items {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 769px) {
    .catalog-product-view .product.media {
        width: 49% !important;
    }
    .catalog-product-view .product-info-main {
        width: 49% !important;
    }
}
/** product view end **/


/* ----- Header, navigation bar - start  ----- */
.mainnav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border-top: 0;
}
.mainnav-bar .mainnav-menu {
    flex: 1 1 auto;
    min-width: 0;
}
 .mainnav-bar .mainnav-actions {
    display: flex;
    align-items: center;
    gap: 16px; /* space between search and cart */
    padding-right: 15px;
  }
  .mainnav-bar .block.block-search,
  .mainnav-bar .minicart-wrapper {
    margin: 0;
  }
  .mainnav-bar .block-search .control {
    max-width: 220px;
  }

@media (min-width: 768px) {		/* Header desktop view */
  .nav-sections {
    display: none;
  }
    .mainnav-menu .navigation {
    position: static;
    max-height: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
 /* Keep predictable order and spacing on desktop */
.page-header .panel.header .logo {
	order: 1;
	flex: 0 0 auto;
  	margin: auto;
  	margin-left: -35px;
}
.page-header .panel.header .logo img {
	width: 230px;
	height: 65px;
}
}

/* Account dropdown styling */
.account-dropdown {
  position: relative;
}
.account-trigger {
  list-style: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 6px;
}
.account-trigger__icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  display: block;
}
.account-dropdown__menu {
  position: absolute;
  right: 0;
  top: 100%;
  min-width: auto;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  padding: 10px 5px 5px 5px;
  z-index: 1000;
  display: none;
}
.account-dropdown[open] .account-dropdown__menu {
  display: block;
}
.account-dropdown__menu .header.links {		/* Make the UL from header.links look like a menu */
  margin: 0;
  padding: 0;
  list-style: none;
}
.account-dropdown__menu .header.links > li {
  margin: 0;
}
.account-dropdown__menu .header.links a {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
.account-dropdown__menu .header.links a:hover {
  background: #f6f6f6;
}
.account-dropdown__menu .not-logged-in {
  display: none;
}
.account-dropdown__menu .greet.welcome {
  padding: 10px 10px 0 10px;
  line-height: 1.3;
}
#social-login-popup .social-login-title {
  background-color: #047a92 !important;
}

/* Header mobile view & Megamenu */
@media (max-width: 767px) {
  .page-header { margin-bottom: 0px;}
  .page-header .action.nav-toggle { display: none; }	/* Hide the original hamburger and nav-sections */
  .nav-sections { display: none; }
  .mainnav-bar {	/* Layout: hamburger left, icons right */
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
	height: 55px;
	min-height: 55px;
    padding: 0 !important;
    overflow: hidden;
  }
  .mainnav-menu {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .mainnav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .mainnav-menu .navigation {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    z-index: 999;
    background: #fff;
    /* animation-friendly closed state */
    overflow: hidden;
    max-height: 0;              /* collapsed */
    opacity: 0;                 /* fade out */
    visibility: hidden;         /* hide from a11y flow */
    transform: translateY(-4px);/* tiny upward shift for a nicer feel */
    pointer-events: none;       /* prevent accidental taps while closed */
    transition:
      max-height 280ms ease,
      opacity 220ms ease,
      transform 280ms ease,
      visibility 0s linear 280ms; /* delay making it hidden until after collapse */
  }
  body.nav-open .mainnav-menu .navigation {		/* OPEN state (body.nav-open) */
    display: block;
    position: absolute;
    top: 100%;
    left: 5px;
    right: 0;
    background: #fff;
    z-index: 999;
    max-height: 80vh;           /* enough room for  6 categories */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition:
      max-height 320ms ease,
      opacity 220ms ease,
      transform 320ms ease,
      visibility 0s;            /* show immediately on open */
  }
  .mainnav-menu .navigation > ul {
    margin: 0;
    padding: 8px 0;
    list-style: none;
  }
  .mainnav-menu .navigation > ul > li {
    border-top: none;
  }
  .mainnav-menu .navigation > ul > li > a {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
	border-top: none;
  }
 .mainnav-menu .navigation li.level0:last-child {
	border-top: none;
	border-bottom: none;
 }
  .block-search { order: 1; }
  .account-dropdown { order: 2; }
  .minicart-wrapper { order: 3; }
  .block-search .control { max-width: 100%; }
  .page-header .switcher {
  	display: inline-flex !important;
  	margin-left: auto;
  }
  .page-header .panel.header {
  	display: flex;
  	align-items: center;
  	gap: 10px;
  }
  .page-header .logo {
  	flex: 0 0 auto;
  }
  .page-header .panel.header .logo img {
	width: 130px;
	height: 34px;
  }
  .nav-toggle {
	position: inherit;
  }
  .mainnav-bar .mainnav-toggle {		/* Mobile: custom burger icon for our nav toggle */
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    background-color: transparent !important;  /* don't use background: shorthand */
    background-image: url('../images/icons/burger_button.png') !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px 16px;
    width: 30px;
    height: 16px;
    margin: 0 0 0 17px !important;
    border-radius: 0px;
    cursor: pointer;
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
	/* Normalize every clickable control to a 55px-tall inline-flex container */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;                 /* kill baseline wobble */
    padding: 0;
  }

  .mainnav-bar .mainnav-toggle::before,			/* kill theme's icon font pseudo-element that draws the gray block */
  .mainnav-bar .mainnav-toggle::after {
    content: none !important;
    display: none !important;
  }
  .mainnav-bar .mainnav-toggle:hover,			/* keep the PNG during hover/focus/active (theme overrides) */
  .mainnav-bar .mainnav-toggle:focus,
  .mainnav-bar .mainnav-toggle:active {
    background-color: transparent !important;
    background-image: url('../images/icons/burger_button.png') !important;
    outline: none;
    box-shadow: none;
  }
  .mainnav-bar .mainnav-toggle > span { display: none !important; }
}  /* @media (max-width: 767px) */

/* Header: Language switcher */
.switcher-language .switcher-dropdown li.switcher-option a {
  position: relative;
  display: block;
  padding-left: 32px;
}
.switcher-language .switcher-dropdown li.switcher-option a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
}
.switcher-language .switcher-dropdown .view-ee a::before { background-image: url('../images/flags/ee.png'); }
.switcher-language .switcher-dropdown .view-ru a::before { background-image: url('../images/flags/ru.png'); }
.switcher-language .switcher-dropdown .view-fi a::before { background-image: url('../images/flags/fi.png'); }
.switcher-language .switcher-dropdown .view-lv a::before { background-image: url('../images/flags/lv.png'); }
.switcher-language .switcher-dropdown .view-lt a::before { background-image: url('../images/flags/lt.png'); }
/* Languane switcher arrow */
.switcher-language .action.toggle::after {
  border: 0 !important;
  content: "" !important; /* ensure the pseudo-element exists */
}
.switcher-language .switcher-trigger::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 22px;
  background-image: url('../images/icons/lang-arrow.png');
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: 10px !important;
  vertical-align: middle;
}
/* Language switcher: white rounded background around flag + (label on desktop) + arrow */
.switcher-language .switcher-trigger {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  padding: 4px 8px;
  line-height: 1;
}
.switcher-language .switcher-trigger {
  margin: 0;
  box-sizing: border-box;
}
.switcher-language .switcher-trigger::after {
  margin-left: 8px;
  width: 20px;
  height: 22px;
  background-size: contain;
  background-position: center;
}
.switcher-language .switcher-trigger:hover,
.switcher-language .switcher-trigger:focus {
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

@media (max-width: 767px) {		/* Mobile: flag + arrow only */
  .switcher-language .switcher-trigger::after {
    margin-left: 6px !important;
  }
  .switcher-language .switcher-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-top: 6px !important;
    padding-bottom: 3px !important;
    padding-left: 8px !important;
    padding-right: 6px !important;
    line-height: 1;
  }
  .switcher-language .switcher-trigger strong[class^="view-"],
  .switcher-language .switcher-trigger strong[class*=" view-"] {
    display: inline-block;
    vertical-align: middle;
  }
  .switcher-language .switcher-trigger::after {
    margin-left: 6px;
    vertical-align: middle;
  }
  .switcher-language .switcher-dropdown li.switcher-option a {	/* hide language text labels on mobile */
    font-size: 0;
  }
  .switcher-language .switcher-dropdown li.switcher-option a::before {
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .page-header .panel.wrapper .switcher .options ul.dropdown, .page-footer .switcher .options ul.dropdown {
    min-width: 40px;
  }
  .switcher-language .switcher-trigger {
    display: inline-flex;
    align-items: center;
  }
  .switcher-language .switcher-trigger strong[class^="view-"],
  .switcher-language .switcher-trigger strong[class*=" view-"] {
    position: relative;
    display: inline-block;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    overflow: hidden;
  }
  .switcher-language .switcher-trigger strong[class^="view-"] > span,
  .switcher-language .switcher-trigger strong[class*=" view-"] > span {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    border: 0;
  }
  .switcher-language .switcher-trigger strong[class^="view-"]::before,
  .switcher-language .switcher-trigger strong[class*=" view-"]::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    width: 19px;
    height: 19px;
  }
  .switcher-language .switcher-trigger .view-ee::before { background-image: url('../images/flags/ee.png'); }
  .switcher-language .switcher-trigger .view-ru::before { background-image: url('../images/flags/ru.png'); }
  .switcher-language .switcher-trigger .view-fi::before { background-image: url('../images/flags/fi.png'); }
  .switcher-language .switcher-trigger .view-lv::before { background-image: url('../images/flags/lv.png'); }
  .switcher-language .switcher-trigger .view-lt::before { background-image: url('../images/flags/lt.png'); }

  .switcher-language .switcher-options { position: relative; display: inline-block; }
  .switcher-language .switcher-dropdown {
    left: 0;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
    z-index: 999;
  }
  .switcher-language .switcher-dropdown li.switcher-option > a {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    line-height: 1;
    font-size: 0;
  }
  .switcher-language .switcher-dropdown li.switcher-option > a::before {
    content: "";
    display: inline-block;
    position: static;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: none;
    flex: 0 0 18px;
  }
}

@media (min-width: 768px) {			/* Language switcher: desktop view */
  .switcher-language .switcher-trigger {
    padding: 6px 10px !important;
    gap: 0;
  }
  .switcher-language .switcher-trigger::after {
    margin-left: 10px !important;
  }
  .switcher-language .switcher-dropdown li.switcher-option a {
    font-size: inherit;
  }
  .switcher-language .switcher-dropdown li.switcher-option a::before {
    left: 0;
    transform: translateY(-50%);
  }
  .switcher-language .switcher-trigger {
    display: inline-flex;
    align-items: center;
  }
  .switcher-language .switcher-trigger strong[class^="view-"],
  .switcher-language .switcher-trigger strong[class*=" view-"] {
    position: relative;
    display: inline-block;
    padding-left: 28px;
    border-radius: 0;
    overflow: visible;
    width: 20px;
    height: 20px;
  }
  .switcher-language .switcher-trigger strong[class^="view-"] > span,
  .switcher-language .switcher-trigger strong[class*=" view-"] > span {
    width: auto; height: auto;
    margin: 0; padding: 0;
    overflow: visible; clip: auto; border: 0;
    position: relative;
    top: 2px;
    display: inline-block;
  }
  .switcher-language .switcher-trigger strong[class^="view-"]::before,
  .switcher-language .switcher-trigger strong[class*=" view-"]::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
     width: 20px;
     height: 20px;
    transform: translateY(-50%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
  }
  .switcher-language .switcher-trigger .view-ee::before { background-image: url('../images/flags/ee.png'); }
  .switcher-language .switcher-trigger .view-ru::before { background-image: url('../images/flags/ru.png'); }
  .switcher-language .switcher-trigger .view-fi::before { background-image: url('../images/flags/fi.png'); }
  .switcher-language .switcher-trigger .view-lv::before { background-image: url('../images/flags/lv.png'); }
  .switcher-language .switcher-trigger .view-lt::before { background-image: url('../images/flags/lt.png'); }
  .switcher-language .switcher-trigger::after {
    margin-left: 10px;
  }

  .switcher-language .switcher-trigger {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: calc(22px + 8px + 8ch + 32px + 16px) !important;
    white-space: nowrap !important;
    position: relative;
    padding-right: 32px !important;
    box-sizing: border-box;
    color: #3b3b3b;
  }
  .switcher-language .switcher-trigger::after {
    content: "" !important;
    position: absolute;
    right: 10px; top: 50%;
    transform: translateY(-50%);
    width: 20px; height: 22px;
    background: url('../images/icons/lang-arrow.png') no-repeat center / contain;
  }
  .switcher-language .switcher-options { position: relative; display: inline-block; }
  .switcher-language .switcher-dropdown {
    left: 0;
    width: max-content;
    min-width: 100% !important;
    box-sizing: border-box;
  }
  .page-header .switcher.language.switcher-language .switcher-dropdown li.switcher-option > a {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 12px 8px 14px;            /* left padding from edge */
    font-size: inherit;                    /* restore desktop font size */
    line-height: 1.2;
  }
  .page-header .switcher.language.switcher-language .switcher-dropdown li.switcher-option > a::before {
    content: "" !important;
    display: inline-block !important;
    position: static !important;           /* was absolute in your file */
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex: 0 0 18px;
    transform: none !important;
  }
}

.page-header .panel.header {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}
.page-header .panel.header .header-welcome {
  order: 2;
  flex: 1 1 auto;
  line-height: 1.7;
  min-width: 0;
}
.page-header .panel.header .header-welcome p {
  margin: 0;
  font-size: 15px;
}
.page-header .panel.header .header-contact {
  order: 3;
  flex: 0 0 auto;
  white-space: nowrap;
  margin-right: 7px;
  position: relative;
  top: 5px;
}
.page-header .panel.header .header-contact .ci-icon {
  vertical-align: -1px;
  margin-right: 6px;
}
.page-header .panel.header .header-contact .contact-line a {
  text-decoration: none;
  color: #ffffff;
}
.page-header .panel.header .header-contact p {
  line-height: 1.8;
}
.page-header .panel.header .switcher-language {
  order: 4;
  margin-left: 0;
  margin-right: 15px;
}

@media (min-width: 768px) {
  .header-contact { display: block; }
  .header-welcome p { display: block; }
}
@media (max-width: 1025px) {
  .page-header .panel.header .header-contact { display: none; }
}
@media (max-width: 767px) {
  .page-header .panel.header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 17px 17px 20px;
    align-items: flex-start;
}
/* Row 1: logo (left) + language (right) */
.page-header .panel.header .logo { order: 1; margin: 0 0 0 0;}
.page-header .panel.header .logo img { display: block; }
.page-header .panel.header .switcher-language {
    order: 2;
    margin-left: auto;
    display: inline-flex !important;
    margin-right: 0px;
}
/* Row 2: welcome (full width) */
.page-header .panel.header .header-welcome {
  order: 3;
  width: 100%;
}
/* Mobile: only show the second welcome line */
.page-header .panel.header .header-welcome p:first-child { display: none; }
.page-header .panel.header .header-welcome p:nth-child(2) { display: block; }
/* Mobile: hide contact block entirely */
.page-header .panel.header .header-contact { display: none; }
}

/* Desktop fixes (pill size + spacing) */
.switcher-language .switcher-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  min-height: 32px;
  line-height: 1.2;
  white-space: nowrap;
  box-sizing: border-box;
}
.switcher-language .switcher-trigger::after {
  width: 20px;
  height: 20px;
  margin-left: 8px;
}
/* Ensure dropdown items show text on desktop */
@media (min-width: 768px) {
  .switcher-language .switcher-dropdown li.switcher-option > a {
    font-size: inherit;
    line-height: 1.2;
  }
}

/* Mobile-only fixes */
@media (max-width: 767px) {
  .switcher-language .switcher-trigger {
    padding: 6px 10px;
    min-height: 30px;
  }
  .switcher-language .switcher-trigger::after {
    margin-left: 6px !important;
    width: 18px;
    height: 18px;
  }
  .switcher-language .switcher-dropdown li.switcher-option > a {
    font-size: 0;
    line-height: 1;
    padding: 8px 10px;
  }
  .switcher-language .switcher-dropdown li.switcher-option > a::before {
    display: inline-block;
    position: static;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 0;
  }
}

.mainnav-bar {
  position: relative;
  z-index: 5;
}
@media (min-width: 769px), print {
.mainnav-bar .mainnav-actions .block-search {
    z-index: 2;
    position: relative;
  }

  /* >>>> */
  .mainnav-bar .mainnav-actions .block-search .form.minisearch {
    height: 25px;
  }
 .mainnav-bar .mainnav-actions .block-search .field.search .input-text {
    height: 25px;
 }
}

.switcher.language,
.switcher.language .action.toggle,
.switcher.language .dropdown,
.switcher.language .mage-dropdown-dialog,
.page-header .panel.wrapper .panel.header .switcher.language {
  position: relative;
}
.page-header .panel.wrapper .panel.header .switcher-language .switcher-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
}
.mainnav-bar,
.page-wrapper .page-header,
.page-wrapper .page-header .panel.wrapper {
  overflow: visible;
}

/* Mobile header tweaks */
@media (max-width: 767px) {
  .page-header .panel.header .switcher-language {
    order: 2;
    margin-left: auto;
  }
  .page-header .panel.header .header-welcome {
    order: 3;
    width: 100%;
    text-align: center;
    padding: 0 25px;
    margin-top: 8px;
  }
  .page-header .panel.header .header-welcome p:nth-child(2) {
    font-size: 16px;
    line-height: 1.4;
  }
  .page-wrapper .page-header .panel.wrapper {
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .page-wrapper .page-header .panel.wrapper::before {		/* kill the Chrome white sliver after view switches */
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
    margin: 0;
  }
}

/* Navigation bar tweaks */
.mainnav-bar .mainnav-menu .navigation {
  background: #fff;
  width: 97%;
}
.mainnav-bar .mainnav-menu .nav-main-menu > li > a {
  color: #3b3b3b;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .mainnav-bar .mainnav-menu {
  	flex: 1 1 auto;
  	min-width: 0;
  	height: 55px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
  }
  .mainnav-bar .mainnav-actions {
    display: flex; align-items: center; gap: 10px;
    flex: 0 0 auto; overflow: visible; /* lets input expand leftwards */
    flex-wrap: nowrap;
    height: 55px;
  }

  .mainnav-bar .block-search {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 0; margin: 0; background: transparent; border: 0; box-shadow: none;
  }
  .mainnav-bar .block-search .field.search,
  .mainnav-bar .block-search .field.search .control {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important; margin: 0 !important; min-height: 0 !important;
  }
  .mainnav-bar .block-search .label {
    position: absolute !important; width:1px; height:1px; overflow:hidden;
    clip: rect(1px,1px,1px,1px); white-space: nowrap;
  }
  .mainnav-bar .block-search .field.search {
  	order: -1;
  	display: flex;
    align-items: center;
    margin: 0 !important;
  }
  .mainnav-bar .block-search input[type="search"],
  .mainnav-bar .block-search input[type="text"] {
    width: 0; opacity: 0; min-width: 0; height: 25px;
    padding: 0 8px; border: 0; border-radius: 3px; background: #fff;
    transition: width .18s ease, opacity .12s ease, border-color .12s ease;
	box-sizing: border-box;
    pointer-events: none;
    align-self: center !important;              /* vertical center in the row */
  }
  .mainnav-bar .block-search.active input[type="search"],
  .mainnav-bar .block-search.active input[type="text"],
  .mainnav-bar .block-search:focus-within input[type="search"],
  .mainnav-bar .block-search:focus-within input[type="text"] {
    width: 140px;
    opacity: 1;
    border: 1px solid #047a92 !important;
    pointer-events: auto;
  }
  .mainnav-bar .block-search .actions .action.search {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    background: transparent;
    width: 25px;
    height: 25px;
    padding: 0;
    cursor: pointer;
    position: relative;
    background-image: url('../images/icons/search.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    z-index: 1002;
    pointer-events: auto;
    display: inline-block;
    line-height: 25px;                 /* avoids inline-block baseline wobble */
    vertical-align: middle;
    line-height: 1 !important;
  }
  .mainnav-bar .block-search .actions .action.search > span { display: none; }
  .mainnav-bar .block-search .actions .action.search::before,
  .mainnav-bar .block-search .actions .action.search::after { content: none; display: none; }
  .mainnav-bar .block-search .actions .action.search[disabled] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 25px !important;
    height: 25px !important;
    padding: 0 !important;
    border: 0 !important;
    background-color: transparent !important;
    background-image: url('../images/icons/search.png') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
  }
.mainnav-bar .block-search .actions .action.search[disabled]::before,
.mainnav-bar .block-search .actions .action.search[disabled]::after {
  content: none !important;
  display: none !important;
}
  .mainnav-bar .block-search { position: relative; }
  /* Keep the action button on top and clickable */
  .mainnav-bar .block-search .actions {
  	position: relative;
  	display: inline-block;
    z-index: 1001;
    width: 25px;                       /* match icon area */
    height: 25px;
  }
  /* Keep the search block compact and inline on mobile */
  /* Hide the "Search" title row and remove extra padding */
  .mainnav-bar .block-search .block-title { display: none !important; }
  .mainnav-bar .block-search .block-content { padding: 0 !important; }
  /* Lay out the minisearch horizontally (input to the left, icon to the right) */
  .mainnav-bar .block-search .form.minisearch {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    margin: 0;
    height: 55px;
  }
  /* prevent baseline from affecting height */
  .mainnav-bar * { line-height: 1 !important; }
}

/* Account icon */
.account-dropdown .account-trigger .account-trigger__icon {
  display: none !important;
}
.account-dropdown .account-trigger {
  position: relative;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
}
.account-dropdown .account-trigger::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/icons/account.png") no-repeat 50% 50%;
  background-size: contain;
}
@media (max-width: 767px) {
  .account-dropdown .account-trigger,
  .account-dropdown .account-trigger::before {
    width: 32px;
    height: 22px;
  }
  /* lock the row height and align items */
  .account-dropdown .account-trigger,
  .minicart-wrapper .action.showcart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 25px;
  }
  .account-dropdown .account-trigger::before,
  .minicart-wrapper .action.showcart::before {
    width: 22px; height: 22px;                  /* center icons 22×22 */
    left: 50%; top: 50%; transform: translate(-50%, -50%);
    background-size: 22px 22px;
  }
}

/* Cart icon */
.minicart-wrapper .action.showcart {
  position: relative;
  width: 20px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
}
.minicart-wrapper .action.showcart::before,
.minicart-wrapper .action.showcart.active::before,
.minicart-wrapper .action.showcart:focus::before,
.minicart-wrapper .action.showcart:hover::before {
  content: "";
  display: block;
  width: 20px;
  height: 22px;
  background: url("../images/icons/cart.png") no-repeat 50% 50%;
  background-size: contain;
  -webkit-mask: none !important;
  mask: none !important;
  background-color: transparent !important;
}
/* Hide built-in text & icon spans so they don’t affect layout */
.minicart-wrapper .action.showcart .text,
.minicart-wrapper .action.showcart .icon,
.minicart-wrapper .action.showcart .icon svg {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}
.minicart-wrapper .action.showcart .counter.qty {		/* Badge position */
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  font-size: 11px;
}
@media (max-width: 767px) {
  .minicart-wrapper .action.showcart { width: 32px }
  .minicart-wrapper .action.showcart::before {
    width: 22px; height: 22px;                  /* icon 20×22 */
    left: 50%; top: 50%; transform: translate(-50%, -50%);
    background-size: 20px 22px;
    position: absolute; content: "";
    background: url("../images/icons/cart.png") no-repeat 50% 50%;
  }
}
/* Add a proxy click target over the search icon because Luma theme keeps the search button disabled without text inserted into the searh field.
Ensure the proxy covers the icon.*/
@media (max-width: 767px) {
  .mainnav-bar .block-search .search-toggle-proxy {
    position: absolute;
    top: 0; left: 0; right: 0;
    width: 25px; height: 25px;
    z-index: 1003;
    cursor: pointer;
    pointer-events: auto;
    inset: 0;
  }
  /* While submitting, don't animate width/opacity, just hold steady */
  .mainnav-bar .block-search.submitting input[type="search"],
  .mainnav-bar .block-search.submitting input[type="text"],
  .mainnav-bar .block-search.submitting .form.minisearch {
    transition: none !important;
  }
  /* Fix the search text field "jump" after submit and before the search results page get loaded.
	Make the proxy the only clickable thing, and make the real button non-interactive so it can’t trigger visual states at all.
	Also, turn off all transitions in the search block.
	Suppress the search button’s active/focus flicker. Only the proxy handles clicks, the real button never reacts */
  .mainnav-bar .block-search .actions .action.search {
    pointer-events: none !important;         /* prevent :active/focus effects */
    outline: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }
  .mainnav-bar .block-search .actions .action.search:active,
  .mainnav-bar .block-search .actions .action.search:focus,
  .mainnav-bar .block-search .actions .action.search:focus-visible {
    outline: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    background-image: url('../images/icons/search.png') !important;
  }
  /* Reduce mobile tap highlight on the proxy too */
  .mainnav-bar .block-search .search-toggle-proxy {
    -webkit-tap-highlight-color: transparent;
  }
  /* When submitting, kill any transitions anywhere in the block */
  .mainnav-bar .block-search.submitting,
  .mainnav-bar .block-search.submitting * {
    transition: none !important;
  }
}

/* Navbar search - Desktop view */
@media (min-width: 768px) {
  .mainnav-bar .mainnav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    line-height: 1;
  }
  /* shirink search block to its content and sit next to the account icon */
  .mainnav-bar .mainnav-actions > .block.block-search {
    flex: 0 0 auto;     /* don’t stretch */
    width: auto;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* inner bits stick to the right edge */
  }
  /* Right-align the inner wrapper; no full-width behavior */
  .mainnav-bar .block.block-search .block-content {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end; /* puts the icon snug to account */
    gap: 8px;
    width: auto;
    margin: 0;
    padding: 0;
  }
  /* Minisearch row: input (left) + icon (right), same line */
  .mainnav-bar .block-search .form.minisearch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    flex-wrap: nowrap;
  }
  .mainnav-bar .block-search .field.search {
    order: -1;		/* input before the icon */
    display: flex;
    align-items: center;
    margin: 0;
  }
  .mainnav-bar .block-search .field.search .control {
    margin: 0; padding: 0;
    border: 0; box-shadow: none;
  }
  /* Search input: 25px tall, hidden by default, expands inline to the left */
  .mainnav-bar .block-search input[type="search"],
  .mainnav-bar .block-search input[type="text"] {
    height: 25px;
    box-sizing: border-box;
    padding: 0 8px;
    border-radius: 3px;
    border: 0;
    background: #fff;
    width: 0;
    opacity: 0;
    min-width: 0;
    transition: width .18s ease, opacity .12s ease, border-color .12s ease;
    pointer-events: none;
  }
  .mainnav-bar .block-search.active input[type="search"],
  .mainnav-bar .block-search.active input[type="text"],
  .mainnav-bar .block-search:focus-within input[type="search"],
  .mainnav-bar .block-search:focus-within input[type="text"] {
    width: 200px;            /* desktop width */
    opacity: 1;
    border: 1px solid var(--search-border, #047a92);
    pointer-events: auto;
  }
  .mainnav-bar .block-search .actions {
    position: relative;
    display: inline-block;
    width: 25px;
    height: 25px;
    margin: 0;
    z-index: 1001;
  }
  .mainnav-bar .block-search .actions .action.search {
    width: 25px; height: 25px;
    background: transparent url('../images/icons/search.png') no-repeat center / 20px 20px;
    opacity: 1; filter: none; -webkit-filter: none; mix-blend-mode: normal;
    pointer-events: none;   /* proxy handles clicks */
    border: 0; padding: 0; line-height: 1;
    right: 0;
    opacity: 1;
  }
  .mainnav-bar .block-search .actions .action.search::before,
  .mainnav-bar .block-search .actions .action.search::after,
  .mainnav-bar .block-search .actions .action.search > span { display: none; }
  /* proxy exactly covers the 25×25 icon */
  .mainnav-bar .block-search .search-toggle-proxy {
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    width: 25px; height: 25px;
    z-index: 1003;
    cursor: pointer; pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
  }
}

/*  ----- Header, navigation bar - end  ----- */

/** Frontpage - start **/
/*
.cms-home.cms-index-index.page-layout-1column { border: 1px solid gray; }
*/
@media (min-width: 1260px) {
.page-main .column.main .magezon-builder .mgz-container {
	width: 1410px;
	margin: 0;
	padding: 0;
}
.magezon-builder .mgz-element-row.full-width-content .mgz-element-inner {
	padding: 0;
}
.magezon-builder .mgz-element-row.apteegid-row {
	margin-bottom: 20px;
}
.magezon-builder .mgz-element-row .apteegid-row-logod {
	padding: 5px 15%;
}
.magezon-builder .mgz-element-row .apteegid-row-logod-lv {
  padding: 5px 5%;
}
.magezon-builder .mgz-element-row .apteegid-row-logod-lv img {
  max-width: 90%;
}
.magezon-builder .mgz-element-row .apteegid-row-logod .apteek-logo-2 {
	padding-left: 30px;
}
.magezon-builder .mgz-element-row .apteegid-row-logod .apteek-logo-4 {
	padding-left: 30px;
}
/* Reviews - widescreen */
.magezon-builder .mgz-element-row.reviews-row {
	width: 1440px;
    margin-left: -35px;
}
.magezon-builder .mgz-element-row.reviews-heading-row .mgz-element-heading-text {
  font-size: 35px;
  font-weight: 600;
  margin-bottom: -15px;
}
.magezon-builder .mgz-element-row.reviews-row .mgz-element-testimonials .mgz-parallax {
  width: 1440px;   
}
.magezon-builder .mgz-element-row.reviews-row .mgz-element-testimonials .mgz-testimonials {
  padding: 0 40px 0 85px;
  margin-bottom: 30px;   
}
.magezon-builder .mgz-element-row.reviews-row .mgz-element-testimonials .mgz-testimonials .owl-item.active {
  width: 630px !important;
  min-height: 322px;   
}
.magezon-builder .mgz-element-row.reviews-row .mgz-element-testimonials .mgz-testimonials .mgz-testimonial {
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  padding: 10px;
  margin: 0 15px 30px 15px;
}
.magezon-builder .mgz-element-row.reviews-row .mgz-element-testimonials .mgz-testimonials .mgz-testimonial .mgz-testimonial-content {
  text-align: left;
  min-height: 240px;
  padding: 20px;
  font-weight: 300;
}
.magezon-builder .mgz-element-row.reviews-row .mgz-carousel.owl-carousel.owl-loaded .owl-dots {
  margin-top: -10px;
}
}
/* Blog block */
#blog-list-style .mgz-element-heading-text {
  font-size: 35px;
  font-weight: 600;
  margin-bottom: 15px;
}
#blog-list-style ul.row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 32px 0 45px;
  list-style: none;
}
#blog-list-style ul.row > li.item {
  flex: 0 0 33%;
  max-width: 417px;
  border: 1px solid #f0f0f0; 
  border-radius: 13px;
  overflow: hidden;
}
#blog-list-style .blog-grid-block .thumbnail {
  width: 417px;
  height: 289px;
  overflow: hidden;
}
#blog-list-style .blog-grid-block .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center center;
}
#blog-list-style ul.row > li.item .title {
  font-size: 15px;
  font-weight: 500;
  margin: 20px 15px 5px 20px;
  /* show first 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;           
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6em;
}
#blog-list-style ul.row > li.item .title a {
  color: #3b3b3b;
}
#blog-list-style ul.row > li.item .short-content {
  font-size: 14px;
  margin: 0 10px 20px 20px;
  color: #737373;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6em;
}
/* Reviews */ 
.magezon-builder .mgz-element-row.reviews-row .mgz-element-testimonials .mgz-testimonials .mgz-testimonial .mgz-testimonial-meta {
  justify-content: left;
  font-weight: 300;
  padding: 0 0 15px 20px;
}
.magezon-builder .mgz-element-row.reviews-row .mgz-testimonials .mgz-testimonial .mgz-testimonial-meta .mgz-testimonial-name {
  text-align: left;
  font-weight: 300;
}
.magezon-builder .mgz-element-row.reviews-row .mgz-testimonials .mgz-testimonial .mgz-testimonial-meta .mgz-testimonial-name b {
    font-weight: 500;
}
/* Categories block */
.magezon-builder .mgz-element-row.kategooriad-row .mgz-element-inner .mgz-single-image-inner {
    position: relative;
}
.magezon-builder .mgz-element-row.kategooriad-row .mgz-element-inner .mgz-single-image-inner .image-title {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 13px 20px;
    border-radius: 999px;
    border: 1px solid #047a92;
    font-size: 14px;
    font-weight: normal;
    text-transform: lowercase;
    color: #047a92;
	white-space: nowrap;
    line-height: 1;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    pointer-events: none;
}
.magezon-builder .mgz-element-row.kategooriad-row .mgz-element-inner .mgz-single-image-inner .image-title::first-letter {
    text-transform: uppercase;
}
.magezon-builder .mgz-element-row.kategooriad-row .mgz-element-inner .mgz-single-image-inner a {
    display: block;
    position: relative;
}
.magezon-builder > .mgz-element-row.kategooriad-row {
    padding: 0 55px;
}
.magezon-builder .mgz-element-row:nth-of-type(3) .mgz-element-separator .mgz-element-separator-line {
    display: none;
}
.magezon-builder .mgz-element-row .mgz-element-separator .mgz-element-separator-line {
	border-color: #eaeaea;
    border-top-style: solid;
    border-top-width: 1px;
    width: 90%;
}
/* h1 : Meie tooted on saadaval ka apteekides üle Eesti */
.magezon-builder .mgz-element-row:nth-of-type(4) .mgz-element-heading .mgz-element-heading-text {
    font-weight: 600;
    font-size: 21px;
    margin-top: -30px;
}
/* Brands */
.magezon-builder .mgz-element-row .brands-heading .mgz-element-heading-text {
    font-size: 20px;
	font-weight: 600;
	margin: 35px 0 35px 0;
  }
.magezon-builder .mgz-element-row.brands-row1 {
	padding: 0 18% 30px 18%;
}
.magezon-builder .mgz-element-row.brands-row2 {
	padding: 0 18% 0 18%;
	margin-bottom: 30px;
}

/* Front page mobile view */
@media (max-width: 767px) {
  .magezon-builder .full_width_row > .mgz-element-inner > .inner-content > .mgz-element-column > .mgz-element-inner {
	padding-left: 0px;
	padding-right: 0px;
  }
  .magezon-builder .mgz-element-row.tarneikoonid-row .image-title {
	font-size: 12px;
  }
  .magezon-builder .mgz-element-row.kategooriad-row .mgz-element-inner .mgz-single-image-inner .image-title {
	font-size: 14px;
  }
  .magezon-builder > .mgz-element-row.kategooriad-row {
    padding: 0 0;
  }
  .magezon-builder > .mgz-element-row.kategooriad-row .mgz-element-column > .mgz-element-inner {
    padding: 0;
  }
  .magezon-builder .mgz-element-row.kategooriad-row .mgz-element-inner .mgz-single-image-inner .image-title {
	width: 95%;
  }
  .magezon-builder .mgz-element-row.apteegid-row {
	margin-top: 1px;
  }
  .magezon-builder .mgz-element-row .apteegid-row-logod {
  	margin: 10px 0 15px 10%;
  }
  .magezon-builder .mgz-element-row .apteegid-row-logod-lv {
  	margin: 10px 0 0 17%;
  }
  .magezon-builder .mgz-element-row .mgz-element-image_carousel {
	  display: none;
  }
  /* Brands */
  .magezon-builder .mgz-element-row .brands-heading .mgz-element-heading-text {
    font-size: 20px;
	font-weight: 600;
	margin: 20px 0 5px 0;
	line-height: 1.5;
  }
  .magezon-builder .mgz-element-row.brands-row1 {
	padding: 0 0 0 0;
  }
  .magezon-builder .mgz-element-row.brands-row2 {
	padding: 0 0 0 0;
	margin-bottom: 5px;
  }
/* Reviews - mobile */ 
.magezon-builder .mgz-element-row.reviews-row {
	width: 100%;
}
.magezon-builder .mgz-element-row.reviews-row .mgz-element-testimonials .mgz-parallax {
  width: 110%;
  margin-left: -12px; 
}
.magezon-builder .mgz-element-row.reviews-row .mgz-element-testimonials .mgz-parallax .mgz-parallax-inner {
  background-size: auto;
}
.magezon-builder .mgz-element-row.reviews-heading-row .mgz-element-heading-text {
  font-size: 28px;
  font-weight: 600;
}
.magezon-builder .mgz-element-row.reviews-heading-row > .mgz-element-inner { 
  padding-top: 30px !important;
  padding-bottom: 20px !important;
}
.magezon-builder .mgz-element-row.reviews-row .mgz-testimonials .mgz-testimonial {
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  padding: 10px;
}
.magezon-builder .mgz-element-row.reviews-row .mgz-testimonials .mgz-testimonial .mgz-testimonial-content {
  text-align: left;
  padding: 20px 20px 25px 20px;
  font-weight: 300;
}
.magezon-builder .mgz-element-row.reviews-row .mgz-element-testimonials .mgz-testimonials .mgz-testimonial .mgz-testimonial-meta {
  font-weight: 300;
  margin: 0 0 15px 20px;
  padding: 0;
}
.magezon-builder .mgz-element-row.reviews-row .mgz-testimonials.mgz-testimonials-type2 .mgz-testimonial-image {
  width: 80px; height: 80px;
  flex: 0 0 80px;       /* do not shrink, fixed 80px */
  margin-right: 0;
}
.magezon-builder .mgz-element-row.reviews-row .mgz-testimonials.mgz-testimonials-type2 .mgz-testimonial-image img {
  width: 80px; height: 80px;
  object-fit: cover; /* if the source image isn’t square, it’s cropped, not distorted. */
}
.magezon-builder .mgz-element-row.reviews-row .mgz-testimonials .mgz-testimonial .mgz-testimonial-meta .mgz-testimonial-name {
  padding-left: 12px;
}
.magezon-builder .mgz-element-row.reviews-row .mgz-carousel.owl-carousel.owl-loaded .owl-dots {
  margin: 15px 0 20px 0;
}
/* Blog block - no mobile view in design */
#blog-list-style {
  	display: none;
  }
  /*#blog-list-style ul.row {
    flex-direction: column;
  }
  #blog-list-style ul.row > li.item {
    flex: 0 0 100%;
    max-width: 100%;
  }*/
}
/* Best sellers block */ 
.best-sellers-row .best-sellers-heading .mgz-element-heading-text {
  font-size: 35px;
  font-weight: 600;
}
.best-sellers-row .kidsmed-best-seller-grid { 
  margin-top: 15px;
}	
.best-sellers-row .kidsmed-best-seller-grid .product-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.best-sellers-row .kidsmed-best-seller-grid .product-items li {
  width: 260px;
  padding: 20px;
  border: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.best-sellers-row .kidsmed-best-seller-grid .product-items li:hover {
  border: 1px solid #ebebeb;
}
.best-sellers-row .kidsmed-best-seller-grid .product-image-container {
  width: 260px;
  height: auto;
  aspect-ratio: 260 / 260;
}
.best-sellers-row .kidsmed-best-seller-grid .product-item-info .product-image-photo {
  margin-left: 0;
}    
.best-sellers-row .kidsmed-best-seller-grid .product-item-info {
  width: auto; 
}
@media (min-width: 1260px) {
  .best-sellers-row .kidsmed-best-seller-grid { 
    padding: 0 80px;
  }	
}
@media (max-width: 767px) {
.best-sellers-row .best-sellers-heading .mgz-element-heading-text {
  font-size: 28px;
  font-weight: 600;
}
.best-sellers-row .kidsmed-best-seller-grid .product-items {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.best-sellers-row .kidsmed-best-seller-grid .product-items > li:nth-child(n+5) {  /* show only first 4 products (2 rows x 2 cols) */
  display: none;
}
.best-sellers-row .kidsmed-best-seller-grid { 
  padding: 0 0;
}	
.best-sellers-row .kidsmed-best-seller-grid .product-items li {
  width: 164px;
  padding: 0;
  border: none;
}
.best-sellers-row .kidsmed-best-seller-grid .product-items li:hover {
	border: none;
}
.best-sellers-row .kidsmed-best-seller-grid .product-image-container {
  width: 164px;
  height: auto;
  aspect-ratio: 164 / 164;
}
}
/* Newsletter block */
.uudiskiri-row > .mgz-element-inner {
  background-color: #f7f7f9;
}
.uudiskiri-row .uudiskiri-col-media {
	padding-top: 20px;
	padding-bottom: 20px;
} 
.uudiskiri-row .uudiskiri-col-media img {
  max-width: 80%;
  margin-left: 80px;
} 
.uudiskiri-row .uudiskiri-col-form {
  padding-left: 105px;
  padding-right: 85px;
}
.uudiskiri-row .uudiskiri-col-form > .mgz-element-inner {
  width: 521px; height: 243px; 
  border: 1px solid #efeff1;
  border-radius: 13px;
  background-color: #ffffff;
}
.uudiskiri-row .uudiskiri-col-form .uudiskiri-text {
  padding-left: 35px;
  font-weight: 400;
}
.uudiskiri-row .uudiskiri-form .mgz-newsletter-form-wrapper {
  display: flex;
  justify-content: center;
}
.uudiskiri-row .uudiskiri-form .mgz-newsletter-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #c3c3c3;
  border-radius: 999px;
  padding: 2px;
  height: 50px;
  width: 100%;
  max-width: 430px;
}
.uudiskiri-row .uudiskiri-form .newsletter-title,
.uudiskiri-row .uudiskiri-form .newsletter-description {
  display: none; 
}
.uudiskiri-row .uudiskiri-form .mgz-newsletter-form .mgz-newsletter-fields .mgz-newsletter-field {
  margin-bottom: 0;
}
.uudiskiri-row .uudiskiri-form input[type="email"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 18px;
  height: 24px;
  box-shadow: none !important;
  outline: none;
}
.uudiskiri-row .uudiskiri-form .mgz-newsletter-form .actions {
  margin-bottom: 0;
}
.uudiskiri-row .uudiskiri-form .mgz-newsletter-btn {
  height: 44px;
  margin: 0;
  border-radius: 999px;
  padding: 0 23px;
  white-space: nowrap;
  background-color: #047a92;
  font-weight: 400;
}
@media (min-width: 1260px) {
.uudiskiri-row > .mgz-element-inner {
  width: 1440px; 
  margin-left: -25px;
}
}
@media (max-width: 767px) {
.uudiskiri-row > .mgz-element-inner {
  padding-top: 0 !important;
  width: 108%;
  margin-left: -12px;
}
.uudiskiri-row .uudiskiri-col-media img {
  max-width: 100%;
  margin-left: 20px;
} 
.uudiskiri-row .uudiskiri-col-form {
  padding-left: 20px;
  padding-right: 15px;
}
.uudiskiri-row .uudiskiri-col-form > .mgz-element-inner {
  border-radius: 5px;
  height: 190px;
}
.uudiskiri-row .uudiskiri-col-form .uudiskiri-text {
  padding-top: 20px;
  padding-left: 23px;
}
.uudiskiri-row .uudiskiri-form {
  margin-left: 22px;
  margin-right: 22px;
}
.uudiskiri-row .uudiskiri-col-form {
  padding-bottom: 30px;
}
}
/* Badges row */ 
.badges-row > .mgz-element-inner {
  height: 265px;
  padding-left: 50px;
  padding-right: 50px;	
} 
.badges-row .col-badges-text p:nth-of-type(1) {
  font-size: 20px;
  font-weight: 600;
}
.badges-row .col-badges-text p:nth-of-type(2) {
  font-size: 14px;
  font-weight: 400;
}
.badges-row .badge-images-col .mgz-element-inner {
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  column-gap: 15px;
  flex-direction: row !important; 
  padding-right: 0;
  padding-left: 0;
}
.badges-row .badge-images-col .mgz-element-single_image {
  margin: 0;
  width: auto;
}
@media (max-width: 767px) {
.badges-row > .mgz-element-inner {
  height: 470px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px !important;
  margin-bottom: 25px;
}
.badges-row .col-badges-text p {
  text-align: center;
}
.badges-row .col-badges-text {
  margin-bottom: 10px;	
}
}
/* 'All products' banner */ 
.koik-tooted-row .koik-tooted-heading {
  margin-top: 10px;
}
.koik-tooted-row .koik-tooted-heading .mgz-element-heading-text {
  font-size: 24px;
  font-weight: 600;
}
.koik-tooted-row .koik-tooted-button .mgz-link.mgz-btn {
  background-color: #eaeaea;
  color: #047a92;
  font-size: 16px;
}
@media (min-width: 1260px) {
.koik-tooted-row > .mgz-element-inner {
  width: 1440px; 
  margin-left: -25px;
}
.koik-tooted-row .koik-tooted-col1 {
  padding-left: 90px;
}
}
@media (max-width: 767px) {
.koik-tooted-row > .mgz-element-inner {
  padding-top: 10px !important;
  width: 107%;
  margin-left: -12px;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 20px !important;
}
.koik-tooted-row .koik-tooted-heading .mgz-element-heading-text {
  font-size: 22px;
  line-height: 1.5;
}
.koik-tooted-row .koik-tooted-button .mgz-link.mgz-btn {
  font-size: 14px;
  height: 40px;
  padding: 10px 20px;
}
.page-footer {
  margin-top: 0;
}
}
/* Remove space before the footer */
.columns .column.main {
  padding-bottom: 0px;
}    
.best-sellers-row .mgz-element-column:first-of-type > .mgz-element-inner {
  padding-bottom: 0;
}
/** Frontpage - end **/

/** checkout start **/
.checkout-agreements button {
    background: none;
    border: none;
    padding-left: 0;
    color: #5f5f5f;
    font-size: 13px;
    font-weight: 500;
    font-family: Poppins;
}
.checkout-agreements .checkout-agreement {
    margin-bottom: 8px !important;
}
.firecheckout-index-index [name="shippingAddress.telephone"] input {
    padding-left: 48px !important;
}
.checkout-payment-method .payment-method .checkout-agreements-block { /* hide double agreement checkboxes from Lumav_Everypay */
  display: none;
}
.firecheckout-header .logo img {
  display: none !important;
}
.firecheckout-header .logo {
  display: block;
  width: 180px; height: 50px;
  background-image: url('../images/logo_footer_180x50.png');
  background-size: contain;
  background-repeat: no-repeat;
}
.firecheckout-header .header.content {
  display: flex;
  justify-content: center;
  align-items: center;
}
.firecheckout #maincontent .authentication-wrapper .action-auth-toggle,
.firecheckout .actions-toolbar button.action.action-login {
  background: #047a92 !important;
  border-color: #047a92 !important; 
}
.firecheckout #maincontent .authentication-wrapper .action-auth-toggle:hover,
.firecheckout #maincontent .authentication-wrapper .action-auth-toggle:focus {
  color: #ffffff !important;
}
.firecheckout .place-order .actions-toolbar .primary .action {
  border-color: #047a92 !important;
}
.firecheckout .actions-toolbar button.action, 
.firecheckout .actions-toolbar .action.primary {
  color: #ffffff !important;
}
.firecheckout #checkout .opc-wrapper .step-title:before, /* Firecheckout step counter number color */ 
.firecheckout #checkout .opc-block-summary > .title:before {
  color: #047a92 !important;
  border: 2px solid #047a92 !important;
}
/** checkout end **/

/** Cart, minicart - start **/
.minicart-wrapper .action.showcart .counter.qty {
  background: #3b3b3b;
  padding: 0 1px;
  top: -10px;
  height: 19px;
}
.action.primary, .action-primary,
.action.primary, .action-primary:focus {
  background: #047a92 !important; 
}
.minicart-wrapper .actions .action.viewcart {
  color: #047a92; 
  font-size: 15px;
  font-weight: 600;
}
.minicart-wrapper .subtotal .amount.price-container {
  padding-top: 10px;	
}
.minicart-wrapper .block-minicart {
  padding-bottom: 10px;
}
.page-title-wrapper .page-title {
  text-align: center;
}
.cart-discount .block > .title strong {
  color: #047a92;
}
.cart-discount .actions-toolbar .action.primary {
  color: #ffffff;
}
@media (max-width: 767px) {
.minicart-wrapper .action.showcart .counter.qty {
  right: -6px;
}
.minicart-wrapper .action.showcart .counter.qty .counter-number {
  position: relative;
  top: 4px;
}
}
/** Cart, minicart - end **/
