/*
Theme Name: Startax Theme
Author: Maxim Fedorenko
Author URI: https://www.weblancer.net/users/booby/
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: white, adaptive, one-column, custom-menu, theme-options, translation-ready, woocommerce
This theme, like WordPress, is licensed under the GPL.
*/

dl, ol, ul {
    margin-bottom: 0
}

/* =WordPress Core
-------------------------------------------------------------- */
.aligncenter,
div.aligncenter {
    display: block;
    margin: 0 auto 0 auto;
}

.alignright {
    float: right;
    margin: 0 0 1.167em 1.167em;
}

.alignleft {
    float: left;
    margin: 0 1.167em 1.167em 0;
}

img.alignright {
    float: right;
    margin: 0 0 1.167em 1.167em;
}

img.alignleft {
    float: left;
    margin: 0 1.167em 1.167em 0;
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}


/* Removed a Google Fonts @import (Roboto + Open Sans) that lived here, mid-file.
   CSS @import must be at the very top or browsers ignore it — this one was always
   ignored (console warning), so Roboto never actually loaded. Its only use was input
   placeholder text (see ::placeholder rules below), which is fine on the system
   fallback. Open Sans is loaded non-blocking in header.php. One less external call.
   See CLAUDE.md (2026-06-02 external-dependency cleanup). */


@font-face {
    font-family: "startax-font";
    src: url("fonts/startax-font.eot");
    src: url("fonts/startax-font.eot?#iefix") format("embedded-opentype"),
    url("fonts/startax-font.woff") format("woff"),
    url("fonts/startax-font.ttf") format("truetype"),
    url("fonts/startax-font.svg#startax-font") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

[data-icon]:before,
body.logged-in .navbar-nav > li:first-child a:before,
.chosen-container-single .chosen-single div b:before {
    font-family: "startax-font" !important;
    /*	content: attr(data-icon);*/
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[class^="icon-"]:before,
[class*=" icon-"]:before,
body.logged-in .navbar-nav > li:first-child a:before,
.chosen-container-single .chosen-single div b:before {
    font-family: "startax-font" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    vertical-align: middle;
}

.icon-menu:before,
body.logged-in .navbar-nav > li:first-child a:before {
    /* content: "\61";*/
}

.icon-phone:before {
    content: "\62";
}

.icon-arrow-down:before {
    content: "\63";
}

.icon-tick:before {
    content: "\64";
}

.icon-basket:before {
    content: "\65";
    color: #fff;
}

/*
.icon-basket{

	width: 56px !important;
height: 56px !important;
font-size: 40px;
background: url(https://nordparts.lv/img/cart.svg);
background-repeat: no-repeat;
background-position: 0% 60%;

}
*/

.poiskovik-mobile {
    display: none;
}

.icon-arrow-up:before {
    content: "\66";
}

/* for ios */
html {
    -webkit-text-size-adjust: 100%
}

input, textarea, select {
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none !important;
    -webkit-backface-visibility: hidden
}

b, strong {
    font-weight: bold
}

a {
    color: #1c438e
}

a:hover {
    text-decoration: none
}

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

::selection {
    background: #1c438e;
    color: #fff
}

::-moz-selection {
    background: #1c438e;
    color: #fff
}

input[type=submit], button, a.button {
    cursor: pointer
}

::-webkit-input-placeholder {
    color: #777;
    font-family: 'Roboto', sans-serif;
    font-weight: normal
}

::-moz-placeholder {
    color: #777;
    font-family: 'Roboto', sans-serif;
    font-weight: normal
}

:-moz-placeholder {
    color: #777;
    font-family: 'Roboto', sans-serif;
    font-weight: normal
}

:-ms-input-placeholder {
    color: #777;
    font-family: 'Roboto', sans-serif;
    font-weight: normal
}

::-moz-focus-inner {
    padding: 0;
    border: 0
}

.clearfix, .wrapper:after, [class*="block__"]:after, .header:after, .footer:after, .cats_cart:after, .list-products:after, .products:after, form-row:after {
    content: '';
    display: table;
    clear: both
}

h1, h2, h3, h4, h5, h6, .title, .widget-title {
    color: #333438;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    line-height: 1
}

h1, .title {
    font-size: 36px;
    margin-bottom: 44px
}

h2 {
    font-size: 30px;
    margin-bottom: 0.7em
}

h3 {
    font-size: 24px
}

h4 {
    font-size: 20px
}

p {
    margin-bottom: 1em
}

table {
    width: 100% !important;
    height: auto !important
}

table td {
    vertical-align: top;
}

.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0;
}

.row {
    margin: 0;
}

.row > *:first-child {
    padding-left: 0
}

.row > *:last-child {
    padding-right: 0
}

.nopadding {
    padding: 0 !important
}

/*.header-top .row > *{border-right:1px solid #000}*/

.widget-title {
    color: #000;
    font-size: 24px;
    padding: 0 10px 10px
}

html {
    height: 100%
}

body {
    background: #fff;
    color: #000;
    font: normal 18px/26px 'Poppins', sans-serif;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
}

input, textarea, button, a.button {
    font: normal 18px/26px 'Poppins', sans-serif;
}

.header-top {
    background: #fff;
    padding: 2.5em 0
}

input[type=submit], button[type=submit], a.button, button.woof_submit_search_form,
.woocommerce-MyAccount-content button.button, .woocommerce-MyAccount-content input.button, button.dropdown-toggle, .woocommerce-Button.button {
    background: #FDC100;
    border: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    box-shadow: 0px 8px 16px 0px rgba(28, 67, 142, 0.2);
    color: #fff; /*margin-bottom:1.5em;*/
    padding: 12px;
}

input[type=submit]:focus, button[type=submit]:focus, a.button:focus, button.woof_submit_search_form:focus,
input[type=submit]:hover, button[type=submit]:hover, a.button:hover, button.woof_submit_search_form:hover,
.woocommerce-MyAccount-content button.button:hover, .woocommerce-MyAccount-content input.button:hover,
button.dropdown-toggle:focus, button.dropdown-toggle:hover,
.woocommerce-Button.button:focus, .woocommerce-Button.button:hover {
    color: #333438;
    background: #ccc;
    box-shadow: 0px 9px 16px 0px rgba(253, 193, 0, 0.2)
}

input[type=submit]:disabled, button[type=submit]:disabled {
    opacity: 0.1
}

.list-products *:disabled, .products *:disabled, .number-input.disabled .quantity input {
    cursor: auto;
    pointer-events: none;
}

button.woof_submit_search_form {
    margin-bottom: 0;
    width: 100%;
    text-align: center
}

.wpcf7 input[type=submit], button.woocommerce-Button[type=submit] {
    margin-top: 1em
}

button.dropdown-toggle {
    margin-bottom: 0.5em;
    padding: 6px 12px
}

.header-search, .header-cabinet {
    padding: 0 !important
}

.header-cabinet a {
    color: #333438;
    display: inline-block;
    width: 100%;
    text-align: center
}

.search-form {
    position: relative;
    left: 0px;
    width: -webkit-calc(100% + 200px);
    width: -moz-calc(100% + 200px);
    width: calc(100% + 100px)
}

.search-form * {
    display: block;
    float: left
}

.search-field {
    border: 1px solid #e5e5e6;
    border-right: none;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    font-size: 16px;
    height: 52px; /*width:-webkit-calc(100% - 89px);width:-moz-calc(100% - 89px);width:calc(100% - 89px);*/
    width: 80%;
    padding: 0 1em
}

button[type=submit].search-submit {
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-border-top-right-radius: 3px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    font-size: 18px;
    height: 52px;
    width: 59px;
    padding-left: 20px;
    margin-right: -20px;
}

.icon-phone:before {
    font-size: 1.5em;
    margin-right: 10px
}

.icon-phone {
    color: #164194;
    font-size: 26px;
    font-weight: bold;
    white-space: nowrap
}

.header-phone .icon-phone {
    text-align: left;
    position: relative;
    left: -50px;
    top: 10px
}

.header-middle .row > * {
    padding: 0
}

.navbar-nav {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    /*	width: 100%;
	height: 60px;*/
}

.navbar-nav li {
    flex: 1 0 auto;
    height: 30px;
}

.navbar-nav li a {
    color: #fff;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 18px;
    font-weight: 100;
    height: 30px;
    padding: 5px;
    white-space: nowrap;
    margin-right: 15px;
    margin-top: 10px;
}

.navbar-nav li a:hover, .navbar-nav li.current-menu-item a {
    background: #ccc;
    border-radius: 5px;
}

body.logged-in .navbar-nav > li:first-child { /*background:#fdc100;font-size:22px*/
}

body.logged-in .navbar-nav > li:first-child a:hover, body.logged-in .navbar-nav > li.current-menu-item:first-child a {
}

.navbar-nav > li:first-child a:before {
    margin-right: 10px
}

body:not(.logged-in) .navbar-nav li.auth {
    display: none
}

#menu {
    background: #fdc100;
    color: #333438;
    display: none;
    font-size: 2em;
    width: 70px;
    height: 60px;
    line-height: 60px;
    padding: 0;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    vertical-align: middle;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

#menu span {
    display: block;
    position: absolute;
    height: 4px;
    width: 50%;
    background: #333438;
    opacity: 1;
    left: 25%;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#menu span:nth-child(1) {
    top: 30%
}

#menu span:nth-child(2), #menu span:nth-child(3) {
    top: 45%
}

#menu span:nth-child(4) {
    top: 60%
}

#menu.active span:nth-child(1) {
    top: 30%;
    width: 0%;
    left: 100%
}

#menu.active span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

#menu.active span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#menu.active span:nth-child(4) {
    top: 8px;
    width: 0%;
    left: 50%;
}

.icon-basket {
    position: relative
}

.icon-basket:before {
    font-size: 2.0em;
    margin-right: 0px;
    margin-top: 0px;
    position: absolute;
}

.icon-basket .count {
    background: #E82020;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    box-shadow: 0px 8px 14px 0px rgba(253, 193, 0, 0.3);
    color: #fff;
    display: inline-block;
    font-size: 13px;
    width: 19px;
    height: 19px;
    line-height: 19px;
    position: absolute;
    left: 17px;
    top: -12px;
    text-align: center;
}

.icon-basket .count:hover {
    background: #1c438e;
    box-shadow: 0px 8px 16px 0px rgba(28, 67, 142, 0.2);
    color: #fff
}

.header-cart {
    background: #dddddf;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    /*min-width:200px;*/
}

.header-cart a {
    color: #333438;
    padding: 0 1em;
    white-space: nowrap
}

.chosen-container {
    width: 100% !important;
    font-size: 18px;
}

.chosen-container-single .chosen-single {
    background: #fff;
    height: auto;
    padding-left: 15px
}

.chosen-container-single .chosen-single span {
    padding: 0em 0
}

.chosen-container-single .chosen-single div {
    width: 26px
}

.chosen-container-single .chosen-single div b {
    background: none !important
}

.chosen-container-single .chosen-single div b:before {
    content: "\63";
    font-size: 0.6em;
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

.chosen-container-single.chosen-with-drop .chosen-single div b:before {
    content: "\66";
}

.breadcrumbs, .woocommerce-breadcrumb {
    background: #fff;
    padding: 1em 0;
}

.breadcrumbs .container, .woocommerce-breadcrumb {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    word-wrap: break-word;
}

.breadcrumbs .delimiter, .woocommerce-breadcrumb .delimiter {
    color: #9aa6b2;
    font-size: 13px;
    line-height: 1;
    padding: 0 1px;
}

.breadcrumbs .delimiter {
    padding: 0 8px;
}

.woocommerce-breadcrumb .delimiter {
    font-size: 0;
}

.woocommerce-breadcrumb .delimiter:before {
    content: "\203A";
    font-size: 14px;
}

.breadcrumbs .current {
    font-size: 16px
}

.woocommerce-breadcrumb {
    font-size: 14px;
    float: none;
    color: #263746;
}

.woocommerce-breadcrumb a, .woocommerce-breadcrumb .current {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 6px;
    background: #f1f5f8;
    color: #263746;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    padding: 5px 10px;
    text-decoration: none;
}

.woocommerce-breadcrumb a:hover,
.woocommerce-breadcrumb a:focus {
    background: #e4edf4;
    color: #0079C1;
    text-decoration: none;
}

.woocommerce-breadcrumb .current {
    background: #e8eef3;
    color: #172b3a;
    font-weight: 600;
}

.product-in-stock {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.product-in-stock > span:first-child:not(.np-stock-pill):not(.green):not(.red) {
    margin-right: 2px;
    color: #2E4158;
    font-weight: 600;
}

.np-stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    min-height: 24px;
    border-radius: 999px;
    padding: 3px 9px;
    font-family: 'Rubik', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    white-space: nowrap;
}

.np-stock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    flex: 0 0 auto;
    transform: translateY(1px);
}

.np-stock-pill--ok {
    background: #ecf8ef;
    color: #367a3f;
}

.np-stock-pill--remote {
    background: #fff4e4;
    color: #9a5a00;
}

.np-stock-pill--delivery {
    background: #eef4fa;
    color: #2E4158;
    font-weight: 600;
}

.np-stock-pill--out {
    background: #fdecec;
    color: #b32626;
}

.product-in-stock .np-stock-pill--ok {
    color: #367a3f !important;
}

.product-in-stock .np-stock-pill--remote {
    color: #9a5a00 !important;
}

.product-in-stock .np-stock-pill--delivery {
    color: #2E4158 !important;
}

.product-in-stock .np-stock-pill--out {
    color: #b32626 !important;
}

.single-product main .product-in-stock {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 12px !important;
    margin-bottom: 12px !important;
    column-gap: 10px;
    row-gap: 8px;
}

.single-product main .product-in-stock .np-stock-pill {
    min-height: 28px;
    padding: 5px 11px;
    font-size: 13px !important;
}

.single-product main .product-in-stock .np-stock-pill--ok,
.single-product main .product-in-stock .np-stock-pill--remote,
.single-product main .product-in-stock .np-stock-pill--out {
    margin-left: 0;
}

@media (max-width: 575px) {
    .woocommerce-breadcrumb {
        gap: 4px;
        font-size: 13px;
        padding-top: .75em;
        padding-bottom: .75em;
    }

    .woocommerce-breadcrumb a, .woocommerce-breadcrumb .current {
        min-height: 26px;
        font-size: 13px;
        padding: 4px 8px;
    }
}

.pull-right > .dropdown-menu {
    left: auto !important;
    right: 0;
    padding: 0.5em !important;
    min-width: 0 !important
}

.pull-right > .dropdown-menu li {
    white-space: nowrap
}

.block__white {
    background: #fff
}

.wp-content, .content {
    padding: 2em 0 1em
}

.home-main-image {
    width: 100%
}

.home .block__content {
    background: #fff
}

.tax-product_cat .content .row {
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.products-filter {
    background: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    /*padding:1.5em 1em !important;*/
    padding-right: 0px !important;
}

.products-filter .woocommerce-ordering {
    margin-bottom: 1em
}

/* Catalog "Kārtot pēc" sort control — fixed-width block, flat select, one custom
   SVG arrow (own arrow overrides Bootstrap's so we control spacing & colour). */
.np-sort {
    display: inline-flex;
    align-items: center;                  /* vertical centre -> label & text aligned */
    box-sizing: border-box;
    width: 330px;                         /* FIXED -> block can never jump on text length */
    max-width: 100%;
    height: 44px;
    margin: 0 0 16px;
    padding: 0 14px;
    border: 1px solid #D5DCE5;
    border-radius: 10px;
    background: #fff;
    box-shadow: none !important;          /* never any shadow on the block itself */
    font-family: 'Rubik', sans-serif;
    transition: border-color 150ms ease;
}

.np-sort:focus-within {
    border-color: #1c438e;
    box-shadow: none !important;
}

.np-sort__label {
    flex: 0 0 auto;
    margin: 0 10px 0 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #5A6B82;
}

.np-sort__select {
    -webkit-appearance: none !important;          /* flatten native widget (no 3D frame) */
    -moz-appearance: none !important;
    appearance: none !important;
    flex: 1 1 auto;
    width: 100% !important;
    min-width: 0;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 26px 0 0 !important;               /* room so text never touches the arrow */
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    outline: none !important;
    /* single custom chevron, drawn as an SVG background (overrides Bootstrap's) */
    background-color: transparent !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' fill='none' stroke='%235A6B82' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right center !important;
    background-size: 14px 14px !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    color: #2E4158;
    text-transform: none;
    text-overflow: ellipsis;
    cursor: pointer;
}

.np-sort__select:focus,
.np-sort__select:focus-visible,
.np-sort__select:active {                          /* kill Bootstrap's blue focus glow */
    box-shadow: none !important;
    outline: 0 !important;
    border: 0 !important;
    background-color: transparent !important;
}

.np-sort__select::-ms-expand {                     /* legacy Edge/IE native arrow */
    display: none;
}

@media only screen and (max-width: 768px) {
    .np-sort {
        width: 100%;
        display: flex;
    }
}

.woof_list_checkbox li {
    position: relative;
    margin: 18px auto;
}

.woof_list_checkbox label {
    width: 22px;
    height: 22px;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    background: #1c438e;
    border-radius: 2px;
    box-shadow: 0px 8px 16px 0px rgba(28, 67, 142, 0.2);
    line-height: 18px;
    text-indent: 36px;
    text-transform: uppercase;
    vertical-align: middle;
}

.woof_list_checkbox label:after {
    content: '';
    width: 13px;
    height: 7px;
    position: absolute;
    top: 5px;
    left: 5px;
    border: 3px solid #fff;
    border-top: none;
    border-right: none;
    background: transparent;
    opacity: 0;
    transform: rotate(-45deg);
}

.woof_list_checkbox input[type=checkbox] {
    visibility: hidden;
}

.woof_list_checkbox input[type=checkbox]:checked + label:after {
    opacity: 1;
}

.row > .products-list:last-child {
    padding-left: 30px
}

.list-products, .products {
    display: -ms-inline-flexbox;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    /*-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;*/
    width: 100%;
}

.list-products li, .products li {
    background: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    display: inline-block;
    overflow: hidden;
    margin: 0 0 30px 0;
    position: relative;
    width: 25%;
    text-align: center;
}

.list-products li:first-child, .list-products li:nth-child(3n+1),
.products li:first-child, .products li:nth-child(3n+1) {
    margin-left: 0
}

.list-products li:nth-child(3n-3), .products li:nth-child(3n-3) {
    margin-right: 0
}

.list-products img, .products img {
    max-width: none;
    width: auto;
    height: 154px;
    -o-object-fit: contain;
    object-fit: contain
}

.list-products img {
    width: 100%;
    height: 194px
}

.page-id-5130 .list-products li,
body.search-results .list-products li {
    width: 18%
}

.page-id-5130 .list-products li:nth-child(3n+1),
body.search-results .list-products li:nth-child(3n+1) {
    margin-left: 1%
}

.page-id-5130 .list-products li:nth-child(4n+1),
body.search-results .list-products li:nth-child(4n+1) {
    margin-left: 0
}

.page-id-5130 .list-products li:nth-child(3n-3),
body.search-results .list-products li:nth-child(3n-3) {
    margin-right: 1%
}

.page-id-5130 .list-products li:nth-child(4n-4),
body.search-results .list-products li:nth-child(4n-4) {
    margin-right: 0
}

.product-wrap {
    padding: 0 15px;
    text-align: left;
    font-size: 14px;
    line-height: 1.4
}

.product-title {
    margin-bottom: 0.4em;
}

.product-title, .product-title a {
    font-size: 16px;
    color: #333438;
    text-transform: capitalize;
}

.product-in-stock, .product-retail-price {
    color: #6e6f73
}

.green {
    color: #139e16
}

.red {
    color: #de2020
}



.product-in-stock {
    font-size: 13px;
    margin-bottom: 4px;
}

.list-products .woocommerce-Price-amount,
.products .woocommerce-Price-amount {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    display: block;
    font-size: 15px !important;
    font-weight: bold;
    margin: 3px 5px 10px 0px;
    /* padding: 5px; */
    text-align: left;
}

.products form.cart, .list-products form.cart {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.products form.cart button, .list-products form.cart button[type=submit] {
    height: 30px;
    width: 30px;
    /* line-height: 44px; */
    padding: 0 0px;
    margin-top: 5px;
    font-size: 16px;
}

/* === Equal-height product cards (tablet + desktop) ===
   The legacy inline-flex + inline-block + width:25% grid never gave reliable
   equal-height rows, so titles / stock-lines / price badges of different
   heights pushed the "Atlaide" badge and the "− 1 + / Ielikt grozā" row to
   different levels across a row. Fix = the same CSS-Grid approach the <=576px
   mobile view already uses: real grid tracks give equal-height cells natively,
   each card is a flex column, fixed-height title + stock blocks line the price
   up, and margin-top:auto pins the buy row to the bottom of every card.
   The <=576px 2-up grid (bottom of file) still handles phones. */
/* minmax(0, 1fr) — NOT 1fr — is essential: a bare 1fr track is minmax(auto,1fr)
   and will grow past its share to fit oversized content (e.g. a wide landscape
   product photo), stretching that column and squishing the rest. min 0 forces
   every column to the same width and lets the image cap (max-width:100%) win. */
@media (min-width: 769px) {
    .products-list ul.products {
        display: grid !important;   /* beat base .products{display:inline-flex} + any woo/bootstrap rule */
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 28px 24px;
        margin: 0;
        padding: 0;
    }
}
@media (min-width: 577px) and (max-width: 768px) {
    .products-list ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 20px;
        margin: 0;
        padding: 0;
    }
}
@media (min-width: 577px) {
    /* Card fills its grid cell and stacks as a flex column. */
    .products-list ul.products li,
    .products-list ul.products li.product {
        width: auto !important;      /* beat base .products li{width:25%} / 48.5% */
        min-width: 0;                /* allow the card to shrink below content min-width (wide images) */
        margin: 0 !important;        /* grid gap handles spacing; kill legacy nth-child margins */
        float: none;
        display: flex;
        flex-direction: column;
        overflow: visible;           /* base overflow:hidden clipped the bottom badge/button */
    }
    /* Photo: fixed box, centred, never wider than the cell (kills the wide-image
       column-stretch and gives every card an identical picture area). */
    .products-list ul.products li > a {
        display: block;
        text-align: center;
    }
    .products-list ul.products li > a img {
        max-width: 100% !important;
        width: auto !important;
        height: 154px;
        object-fit: contain;
        margin: 0 auto;
    }
    /* Body grows to fill the equal-height card. */
    .products-list ul.products li .product-wrap {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-width: 0;
    }
    /* --- Fixed vertical rhythm so every section lines up across the row --- */
    /* Title: always exactly 3 lines (short titles reserve the space, long ones
       clamp) so the block below always starts at the same height. */
    .products-list ul.products li .product-title {
        min-height: 51px;
        max-height: 51px;            /* 3 * 17px line-height (set inline on the <a>) */
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        margin: 0 0 4px 0 !important;
    }
    /* SKU: 2 fixed lines (label + code), small even gap. */
    .products-list ul.products li .product-sku {
        margin: 0 0 4px 0 !important;
    }
    /* Availability: reserve the tallest message (3-line "SOMIJAS NOLIKTAVĀ,
       3-8 DARBA DIENAS") so the price starts level on every card. */
    .products-list ul.products li .product-in-stock {
        min-height: 58px;
        margin: 0 0 4px 0 !important;
    }
    /* Price block: kill the big legacy 10px child margins -> tight spacing, but
       keep a fixed gap below so the "Atlaide līdz" badge never touches the buy
       row when margin-top:auto collapses to 0 on the tallest card in a row. */
    .products-list ul.products li .product-price * {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .products-list ul.products li .product-price {
        display: block;
        margin: 0 0 12px 0 !important;
    }
    /* Pin the qty + buy row to the bottom -> all buy rows line up per row. */
    .products-list ul.products li form.cart {
        margin-top: auto;
    }
}

.number-input {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 1em;
}

.number-input > * {
    flex: 0 0 auto;
    height: 44px
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

input[type=number], input[type=number]:hover, input[type=number]:focus {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

.number-input button {
    background: #fff;
    /* border: 1px solid #1c438e; */
    /* -webkit-border-top-left-radius: 3px; */
    /* -webkit-border-bottom-left-radius: 3px; */
    /* -moz-border-radius-topleft: 3px; */
    /* -moz-border-radius-bottomleft: 3px; */
    /* border-top-left-radius: 3px; */
    /* border-bottom-left-radius: 3px; */
    font: normal 25px 'Poppins', sans-serif;
    /* position: absolute; */
    width: 40px;
    height: 40px;
    /* left: 790px; */
    /* top: 473px; */
    border: 1.12px solid #034EA2;
    box-sizing: border-box;
    border-radius: 40px;
    color: #034EA2;
}

.number-input button.plus {
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;
    /* -webkit-border-top-right-radius: 3px; */
    /* -webkit-border-bottom-right-radius: 3px; */
    /* -moz-border-radius-topright: 3px; */
    /* -moz-border-radius-bottomright: 3px; */
    /* border-top-right-radius: 3px; */
    /* border-bottom-right-radius: 3px; */
    background: #034EA2;
    color: #fff;
    font-size: 25px;
    font-weight: 100;
}

.number-input .quantity {
    width: 57px;
    height: 44px
}

.number-input .quantity label {
    display: none
}

.number-input .quantity input {
    border: none;
    /* border-top: 1px solid #1c438e; */
    /* border-bottom: 1px solid #1c438e; */
    font: bold 16px 'Poppins', sans-serif;
    width: 57px;
    height: 100%;
    padding: 0;
    text-align: center;
}

/*.categories-list{background:#fff;padding:2em 2em 0 2em !important}*/
.menu-categories {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -1%;
}

.menu-categories > li {
    width: 12%;
    margin: 0 1% 1.5em 1%
}

.menu-categories > li > a {
    font-weight: bold;
    font-size: 20px
}

.menu-categories > li ul {
    text-transform: lowercase
}

.menu-categories > li > a {
    color: #333438;
    background: #fff;
    -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1) inset;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1), 0 0 15px rgba(0, 0, 0, 0.1) inset;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    height: 154px;
    overflow: hidden;
    border-radius: 5px;
}

.menu-categories > li img {
    display: block;
    position: relative;
    width: 100%;
    /*object-fit: cover;*/
}

.menu-categories > li.cat-item.cat-item-524 img,
.menu-categories > li.cat-item.cat-item-664 img,
.menu-categories > li.cat-item.cat-item-698 img {
    height: 274px;
    -o-object-fit: cover;
    object-fit: cover;
}

.menu-categories .category-name {
    display: block;
    padding-top: 1em;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1.4;
}

.pagination {
    display: flex;
    flex-direction: row;
    /*justify-content: space-between;*/
    align-content: center;
    justify-content: center;
}

.page-numbers {
    background: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 1.3em 0.5em;
    text-align: center
}

.page-numbers li {
    display: inline-block
}

.page-numbers a {
    color: #333438;
    font-weight: bold
}

.page-numbers span {
    color: #1c438e;
    font-weight: bold
}

.product-image img {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    width: 100%;
    height: auto
}

.product-details {
    background: #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 1.3em
}

.row > .product-details:last-child {
    padding-right: 15px
}

.product-details .clearfix {
    width: 100%
}

.product-details .product-price {
    font-size: 26px;
    font-weight: bold;
    float: left;
    margin-bottom: 0.5em
}

.product-details .product-price .product-retail-price {
    display: block;
    font-size: 18px;
    font-weight: normal
}

.product-details .product-content {
    margin-bottom: 1em
}

.product-details .number-input {
    display: -ms-inline-flexbox;
    display: -webkit-inline-flex;
    display: inline-flex;
    margin-bottom: 0;
}

.product-details button[type=submit] {
    float: right;
    margin-bottom: 0
}

.product-description {
    padding: 1.5em 0 1em
}

.products-featured {
    padding-top: 1.5em
}

.single-product .list-products li {
    width: 23%
}

.single-product .list-products li:nth-child(3n+1) {
    margin-left: 1%
}

.single-product .list-products li:nth-child(3n-3) {
    margin-right: 1%
}

.single-product .list-products li:first-child {
    margin-left: 0
}

.single-product .list-products li:last-child {
    margin-right: 0
}

tr.woocommerce-cart-form__cart-item {
    background: #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border-bottom: 1px solid #ededee;
    margin-bottom: 30px;
}

table.woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item td {
    vertical-align: middle
}

tr.woocommerce-cart-form__cart-item td.product-thumbnail {
    width: 20%
}

tr.woocommerce-cart-form__cart-item td img {
    margin: 15px 30px;
    width: 170px
}

tr.woocommerce-cart-form__cart-item td.product-name {
    text-align: left;
    width: 30%
}

tr.woocommerce-cart-form__cart-item td.product-name a {
    color: #333438;
    font-size: 18px;
    font-weight: medium
}

.product-sku {
    font-size: 14px;
    margin-top: 3px;
    color: #6e6f73;
}
.product-sku span {
	font-weight: 800;
}

tr.woocommerce-cart-form__cart-item td.product-price, tr.woocommerce-cart-form__cart-item td.product-subtotal {
    text-align: center
}

tr.woocommerce-cart-form__cart-item td.product-price .woocommerce-Price-amount, tr.woocommerce-cart-form__cart-item td.product-subtotal .woocommerce-Price-amount {
    font-size: 22px;
    font-weight: bold
}

tr.woocommerce-cart-form__cart-item td.product-price div, tr.woocommerce-cart-form__cart-item td.product-subtotal div {
    color: #6e6f73
}

tr.woocommerce-cart-form__cart-item .number-input {
    margin: 0
}

.product-remove {
    padding-right: 26px
}

.remove {
    color: #fff;
    background: #164194;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    box-shadow: 0px 9px 16px 0px rgba(28, 67, 142, 0.2);
    display: block;
    font-size: 28px;
    float: right;
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding-bottom: 1px;
    text-align: center;
}

.remove:hover {
    color: #333438;
    background: #fdc100;
    box-shadow: 0px 9px 16px 0px rgba(253, 193, 0, 0.2);
}


.cart-collaterals, #order_review {
    background: #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    float: right;
    margin: 15px 0 30px 0;
    padding: 30px 30px 0 30px;
}

.cart-collaterals {
    width: 40%
}

.cart-collaterals li a {
    color: #333438
}

.woocommerce-mini-cart__buttons a.button.quick-order {
    float: right;
    margin-right: 20px;
    background: #139e16;
    color: #fff;
}

.woocommerce-mini-cart__buttons a.button.quick-order:hover {
    background: #ccc;
    color: #333438;
}

.woocommerce-mini-cart__buttons a.button.checkout {
    float: right
}

.woocommerce-mini-cart li {
    position: relative;
    padding-right: 27%
}

.woocommerce-mini-cart li .quantity {
    position: absolute;
    right: 0;
    bottom: 0
}

.woocommerce-mini-cart__total {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.woocommerce-mini-cart__total {
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
}

form.woocommerce-checkout {
    /*display: -ms-flexbox;*/
    /*display: -webkit-flex;*/
    /*display: flex;*/
    /*-webkit-flex-wrap: nowrap;*/
    /*-ms-flex-wrap: nowrap;*/
    /*flex-wrap: nowrap;*/
}

#customer_details {
    margin-bottom: 15px
}

#customer_details .wrapper {
    background: #fff;
    padding: 0 30px 30px 30px;
}

#order_review {
    background: none;
    flex: 0 0 auto;
    margin: 0;
    padding: 0 0 0 15px
}

#order_review .wrapper {
    background: #fff;
    padding: 0 0 30px 0;
}

form.woocommerce-form-login .form-row, form.woocommerce-form-login label,
form.register .form-row, form.register label,
form.woocommerce-ResetPassword .form-row, form.woocommerce-ResetPassword label,
.woocommerce-additional-fields__field-wrapper .form-row {
    display: block !important;
    margin: 0 !important
}

.woocommerce-billing-fields__field-wrapper .form-row {
    display: inline-block ;
    margin: 0 0 1.5em 0 !important;
    width: 48%
}

.woocommerce-billing-fields__field-wrapper .form-row:first-child, .woocommerce-billing-fields__field-wrapper .form-row:nth-child(2n+1) {
    margin-right: 4% !important
}

.woocommerce-billing-fields__field-wrapper label, .woocommerce-additional-fields__field-wrapper label {
    display: block
}

.woocommerce-billing-fields__field-wrapper label *, .woocommerce-additional-fields__field-wrapper label * {
    display: none
}

#order_comments {
    width: 100%
}

.woocommerce-billing-fields__field-wrapper .form-row > span * {
    width: 100%
}

.woocommerce-checkout input[type=text], .woocommerce-checkout input[type=tel], .woocommerce-checkout input[type=email], textarea, .header-cabinet a {
    border: 1px solid #e5e5e6;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 15px
}

.woocommerce-checkout #order_review .order-total {
    font-size: 20px;
    font-weight: bold
}

.form-row.place-order {
    display: block
}

.woocommerce-checkout #place_order {
    margin-top: 1em;
    width: 100%;
}

ul.mtree ul {
    margin-left: 0;
    padding-left: 1em
}

ul.mtree.default li {
    font-size: 'Poppins', sans-serif;
    position: relative
}

ul.mtree.default li.mtree-node:before {
    float: none;
    margin: 0;
    position: absolute;
    left: 0;
    top: auto;
    z-index: -1
}

ul.mtree.default ul.children li.mtree-node:before {
    left: -1em
}

ul.mtree.default a {
    padding: 0 0 0 18px
}

ul.mtree.default ul.children a {
    padding: 0;
    text-transform: lowercase;
    text-transform: uppercase;
}

.woocommerce-MyAccount-content .form-row {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid #ececec;
    font-size: 13px;
    list-style: outside none none;
}

.woocommerce-MyAccount-navigation ul li a:before {
    content: ">";
    float: left;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    margin-right: 5px;
    text-decoration: 'Poppins', sans-serif;
}

.woocommerce-MyAccount-navigation ul li a {
    color: #3f3f3f;
    position: relative;
}

.woocommerce-MyAccount-navigation ul li.is-active a, .woocommerce-MyAccount-navigation ul li:hover a {
    color: #c2a476;
}

div#checkoutMethod {
    background: #f4f4f4;
}

.woocommerce-MyAccount-navigation {
    margin-bottom: 50px;
}

.added_to_cart, .woof_products_top_panel, .woof_reset_search_form, table.woocommerce-cart-form__contents td.actions,
.woocommerce-mini-cart__buttons a.button.wc-forward:not(.checkout):not(.quick-order), .woocommerce-simple-registration-login-link, .woocommerce-checkout-payment .payment_methods,
.woocommerce-message .button, .woocommerce-message button, .list-products li del, .products li del {
    display: none !important
}

.footer:before {
    background: #fff;
    content: '';
    display: block;
    width: 100%;
    height: 50px;
}

.home .footer:before {
    display: none
}

.footer .row:first-child {
    padding-top: 2em
}

.footer-menu ul {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.footer-menu ul li {
    flex: 0 0 33.3%;
    line-height: 34px
}

.footer-menu ul li a {
    color: #333438;
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap
}

.footer-contacts {
    padding: 0
}

.footer .icon-phone {
    font-size: 32px;
    position: relative;
    top: 10px
}

.footer .icon-phone:before {
    font-size: 1em
}

.footer-address {
    margin-top: 2em
}

.footer-copyright, .footer-designedby {
    color: #6e6f73;
    padding-bottom: 2em
}

.footer-copyright {
    padding-right: 4em
}

@media (max-width: 1170px) {
    .container {
        width: 100%;
        padding: 0 3%
    }

    .header-phone .icon-phone {
        left: -70px
    }
}

@media (max-width: 1070px) {

    .poiskovik {
        display: none !important;
    }

    .poiskovik-mobile {
        display: flex !important;
        margin-top: 1rem;
        justify-content: center;
        width: 100%;
    }

    .search-form .search-field {
        width: 35%;
    }

    .korzinka {
        margin-right: 30px !important;
    }

    tr.woocommerce-cart-form__cart-item {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        margin-bottom: 0;
    }

    tr.woocommerce-cart-form__cart-item td.product-thumbnail {
        flex: 0 0 35%;
        max-width: 35%;
        width: 35%
    }

    tr.woocommerce-cart-form__cart-item td.product-name {
        flex: 0 0 65%;
        max-width: 65%;
        width: auto
    }

    tr.woocommerce-cart-form__cart-item td.product-price, tr.woocommerce-cart-form__cart-item td.product-quantity,
    tr.woocommerce-cart-form__cart-item td.product-subtotal, tr.woocommerce-cart-form__cart-item td.product-remove {
        flex: 0 0 25%;
        max-width: 25%;
        padding-bottom: 1em
    }

    .cart-collaterals {
        width: 65%
    }
}

@media (max-width: 992px) {


    .logan {
        margin-top: 0px !important;
    }


    .icon-basket:before {
        font-size: 2.0em;
        margin-right: 0px !important;
    }

    .header-top {
        padding: 2.5em 0 1em
    }

    .header-top .row {
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .header-search {
        -webkit-order: 4;
        -ms-flex-order: 4;
        order: 4;
        flex: 1 0 100%;
        max-width: 100%;
        margin: 1.5em 0 0;
    }

    .search-form {
        left: 0;
        width: 100%
    }

    .header-top .nopadding {
        display: none
    }

    .header-logo, .header-phone, .header-cabinet {
        flex: 0 1 auto;
        max-width: none;
        width: auto
    }

    .header-cabinet {
        min-width: 195px
    }

    .header-phone {
        text-align: center
    }

    .header-phone .icon-phone {
        left: 0
    }

    .navbar-nav > li:first-child a {
        text-align: center;
        text-indent: -10000px;
    }

    .navbar-nav > li:first-child a:before {
        margin-right: 0;
        text-indent: 0
    }

    .header-cart a {
        padding: 0 0 0 1em
    }

    .icon-basket strong {
        display: none
    }

    .products-filter {
        margin-bottom: 1em
    }

    button.woof_submit_search_form {
        width: auto;
        float: right
    }

    .row > .products-list:last-child {
        padding-left: 0
    }

    .page-id-5130 .list-products li,
    body.search-results .list-products li {
        width: 32%
    }

    .page-id-5130 .list-products li:nth-child(4n+1),
    body.search-results .list-products li:nth-child(4n+1) {
        margin-left: 1%
    }

    .page-id-5130 .list-products li:nth-child(3n+1),
    body.search-results .list-products li:nth-child(3n+1) {
        margin-left: 0
    }

    .page-id-5130 .list-products li:nth-child(4n-4),
    body.search-results .list-products li:nth-child(4n-4) {
        margin-right: 1%
    }

    .page-id-5130 .list-products li:nth-child(3n-3),
    body.search-results .list-products li:nth-child(3n-3) {
        margin-right: 0
    }

    .products-featured .list-products li {
        width: 48%
    }

    .products-featured .list-products li:nth-child(3n+1) {
        margin-left: 1%
    }

    .products-featured .list-products li:nth-child(3n-3) {
        margin-right: 1%
    }

    .products-featured .list-products li:nth-child(2n+1) {
        margin-left: 0
    }

    .products-featured .list-products li:nth-child(2n-2) {
        margin-right: 0
    }

    .products-featured .list-products form.cart {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .products-featured .list-products form.cart button[type=submit] {
        height: 44px;
        line-height: 44px;
        padding: 0 12px
    }

    .menu-categories > li {
        width: 31.3%
    }

    #customer_details, #order_review {
        padding: 0
    }

    .footer-menu ul li {
        flex: 0 0 50%
    }
}

@media (max-width: 650px) {

    .telefon {
        display: none;
    }

}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {

    .icon-basket:before {
        font-size: 2.0em;
        margin-right: 0px !important;
    }

    .header-top {
        padding-top: 1em
    }

    .header-top .row {
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .header-logo, .header-phone, .header-cabinet {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .header-logo {
        padding-right: 0;
        text-align: center
    }

    .header-phone {
        margin: 1em 0 2em
    }

    #menu {
        display: inline-block !important
    }

    .navbar-nav {
        display: block;
        float: left;
        flex-flow: row nowrap;
        position: relative;
        padding-left: 0px;
        display: none;
        position: absolute;
        top: 100%;
        margin: 0;
        padding: 0;
        z-index: 990
    }

    .navbar-nav li {
        display: block;
        float: left;
        flex: 0 1 auto
    }

    .navbar-nav li a {
        display: block;
        white-space: normal;
        color: #000;
        text-align: center;
        padding: 10px 10px 10px 10px;
        /* margin-bottom: 10px; */
        line-height: 0.4 !important;
    }

    .navbar-nav.dropdown {
        background: #dddddf;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        float: none;
    }

    .navbar-nav.dropdown li {
        background: #dddddf;
        float: none;
        height: 10px;
        margin: 30px;
    }

    .navbar-nav > li:first-child {
        font-size: Roboto Regular
    }

    .navbar-nav.dropdown > li:first-child,
    .navbar-nav.dropdown > li:first-child a:hover, .navbar-nav.dropdown > li.current-menu-item:first-child a {
        background: Roboto Regular
    }

    .navbar-nav.dropdown > li:first-child a {
        text-align: left;
        text-indent: 0
    }

    .navbar-nav.dropdown > li:first-child a:before {
        content: "";
        display: none
    }

    .navbar-nav.dropdown li a:hover, .navbar-nav.dropdown > li:first-child a:hover {
        background: #ededee
    }

    .list-products li, .products li {
        width: 48.5%
    }

    .list-products li:nth-child(3n+1), .products li:nth-child(3n+1) {
        margin-left: 1%
    }

    .list-products li:nth-child(3n-3), .products li:nth-child(3n-3) {
        margin-right: 1%
    }

    .list-products li:nth-child(2n+1), .products li:nth-child(2n+1) {
        margin-left: 0
    }

    .list-products li:nth-child(2n-2), .products li:nth-child(2n-2) {
        margin-right: 0
    }

    .page-id-5130 .list-products li,
    body.search-results .list-products li {
        width: 48.5%
    }

    .page-id-5130 .list-products li:nth-child(4n+1),
    body.search-results .list-products li:nth-child(4n+1) {
        margin-left: 0
    }

    .page-id-5130 .list-products li:nth-child(3n+1),
    body.search-results .list-products li:nth-child(3n+1) {
        margin-left: 1%
    }

    .page-id-5130 .list-products li:nth-child(4n-4),
    body.search-results .list-products li:nth-child(4n-4) {
        margin-right: 0
    }

    .page-id-5130 .list-products li:nth-child(3n-3),
    body.search-results .list-products li:nth-child(3n-3) {
        margin-right: 1%
    }

    .page-id-5130 .list-products li:nth-child(2n+1),
    body.search-results .list-products li:nth-child(2n+1) {
        margin-right: 1%
    }

    .page-id-5130 .list-products li:nth-child(2n-2),
    body.search-results .list-products li:nth-child(2n-2) {
        margin-right: 0
    }

    .product-image {
        margin-bottom: 1em;
        padding-right: 0
    }

    .menu-categories > li {
        width: 48%
    }

    tr.woocommerce-cart-form__cart-item td.product-thumbnail {
        flex: 0 0 40%;
        max-width: 40%;
        width: 40%
    }

    tr.woocommerce-cart-form__cart-item td.product-name {
        flex: 0 0 60%;
        max-width: 60%
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
    .header-navbar {
        flex: 0 0 70%;
        max-width: 70%
    }

    .header-cart {
        flex: 0 0 30%;
        max-width: 30%
    }

    .list-products li, .products li {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important
    }

    .products form.cart, .list-products form.cart {
        display: block
    }

    /* === Mobile category grid: 2 products per row, done with CSS Grid ===
       Grid gives equal-height cards, fixed gutters and no inline-block overflow,
       so cards never overlap. Scoped to the category/shop product list only. */
    .products-list ul.products {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        margin: 0;
        padding: 0;
    }
    .products-list ul.products li,
    .products-list ul.products li.product {
        width: auto !important;
        margin: 0 !important;
        float: none;
        display: flex;            /* let card fill the grid cell, content top-aligned */
        flex-direction: column;
        overflow: visible !important;  /* base .products li{overflow:hidden} clipped the button bottom */
        padding-bottom: 14px;
    }
    /* Product photo must fit the card (was width:auto/max-width:none -> overflowed). */
    .products-list ul.products li > a img {
        width: 100%;
        max-width: 100%;
        height: 120px;
        object-fit: contain;
    }
    /* Buy button: compact, full width, icon + text centred and on one line. */
    .products-list ul.products li .add_to_cart_button {
        width: 100% !important;       /* beat inline .loop-product{width:70%!important} */
        float: none !important;
        height: auto !important;      /* inline pins height:30px -> text bottom was clipped */
        min-height: 32px;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 14px !important;
        line-height: 1.15;
        padding: 6px 8px;
        margin-bottom: 0 !important;
        white-space: nowrap;
    }
    /* Drop the cart icon on mobile — text-only "Ielikt grozā" is cleaner and more
       compact on the small 2-up card (the icon was also inheriting the 154px image
       height and breaking the button). */
    .products-list ul.products li .add_to_cart_button img { display: none !important; }
    /* Tidy card text spacing at 2-up width. */
    /* Clamp the title to exactly 2 lines so every card is the same height and the
       image tops + text lines up across the row (min-height alone let long titles
       push the card taller and left short ones ragged). Ellipsis on overflow. */
    .products-list ul.products li .product-title {
        font-size: 13px;
        line-height: 1.3;
        min-height: 0 !important;   /* beat inline .loop-product .product-title{min-height:52px!important} */
        height: 2.6em;              /* 2 lines * 1.3 */
        margin-bottom: 4px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        word-break: break-word;
    }
    .products-list ul.products li .product-sku { font-size: 11px; margin: 0 0 4px 0 !important; }
    /* Keep the availability line a consistent 2-line height so the price + button
       block starts at the same spot on every card. */
    .products-list ul.products li .product-in-stock {
        min-height: 2.6em;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        margin: 0 0 4px 0 !important;
    }
    /* Kill the legacy 10px price margins that caused the big gaps on mobile, and
       keep a fixed gap below so the Atlaide badge never touches the buy row. */
    .products-list ul.products li .product-price * {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .products-list ul.products li .product-price {
        font-size: 15px;
        display: block;
        margin: 0 0 10px 0 !important;
    }
    /* Equal-height cards: stretch the body and pin the qty+buy block to the
       bottom so buttons line up across the row regardless of title length. */
    .products-list ul.products li .product-wrap {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        width: 100%;
    }
    .products-list ul.products li form.cart { margin-top: auto; }
    /* Compact qty stepper: shrink −, number and + so all three fit and stay
       centred inside the small 2-up card (was ~137px wide -> "+" got clipped by
       the card's overflow:hidden). New total ~122px. */
    .products-list ul.products li .number-input {
        width: 100% !important;   /* beat inline .loop-product{width:30%!important;float:left} */
        float: none !important;
        justify-content: center;
        gap: 4px;
        margin-bottom: 10px;
    }
    .products-list ul.products li .number-input > * { height: 34px; }
    .products-list ul.products li .number-input button {
        width: 34px;
        min-width: 34px;
        height: 34px;
        font-size: 20px;
        line-height: 1;
        padding: 0;
    }
    .products-list ul.products li .number-input .quantity { width: 42px; height: 34px; }
    .products-list ul.products li .number-input .quantity input { width: 42px; font-size: 15px; }

    .product-details {
        text-align: center
    }

    .product-price, .product-details .product-in-stock {
        padding: 0;
        text-align: center
    }

    body.single-product .product-details form.cart {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }

    body.single-product .product-details form.cart button[type=submit] {
        float: none;
        width: auto;
        height: 44px;
        line-height: 44px;
        margin-top: 1em;
        padding: 0 12px
    }

    .products-featured .list-products li, .page-id-5130 .list-products li, body.search-results .list-products li {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important
    }

    .products-featured .list-products form.cart {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .products-featured .list-products form.cart button[type=submit] {
        float: none;
        width: auto;
        height: 44px;
        line-height: 44px;
        padding: 0 12px
    }

    .menu-categories > li {
        margin: 0 0 1.5em;
        text-align: center;
        width: 100%
    }

    tr.woocommerce-cart-form__cart-item {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }

    tr.woocommerce-cart-form__cart-item td.product-thumbnail, tr.woocommerce-cart-form__cart-item td.product-name,
    tr.woocommerce-cart-form__cart-item td.product-price, tr.woocommerce-cart-form__cart-item td.product-quantity,
    tr.woocommerce-cart-form__cart-item td.product-subtotal, tr.woocommerce-cart-form__cart-item td.product-remove {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        text-align: center
    }

    tr.woocommerce-cart-form__cart-item td.product-name {
        padding: 0 1em 1em 1em;
        text-align: center
    }

    tr.woocommerce-cart-form__cart-item td.product-remove {
        padding-right: 0;
        width: auto
    }

    .cart-collaterals, #order_review {
        float: none;
        margin-top: 0;
        padding: 20px;
        width: 100%
    }

    .woocommerce-mini-cart__buttons {
        text-align: center
    }

    .woocommerce-mini-cart__buttons a.button.checkout {
        display: inline-block;
        float: none;
        margin: 1em 0 0 0
    }

    .woocommerce-billing-fields__field-wrapper .form-row {
        /* display NOT !important: lets the Privātpersona/Juridiska toggle JS
           (inline display:none/block) hide the company fields on mobile too.
           Was `display: block !important` which overrode the inline hide. */
        display: block;
        margin: 0 0 1em 0 !important;
        width: 100%
    }

    #order_review {
        padding: 0
    }

    #order_review table {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        flex-flow: column nowrap;
    }

    #order_review .cart_item, #order_review .order-total {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        text-align: center;
    }

    #order_review .cart_item > * {
        flex: 0 0 100%
    }

    .form-row.place-order {
        text-align: center
    }

    .woocommerce-checkout #place_order {
        display: inline-block;
        float: none;
        margin: 1em 0
    }

    .product-details .product-price, .product-details .product-in-stock {
        float: none
    }

    .footer-menu ul li {
        flex: 0 0 100%;
        text-align: center
    }

    .footer-contacts {
        margin-bottom: 1em;
        text-align: center
    }

    .footer .icon-phone {
        font-size: 28px
    }

    .footer .row:last-child {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .footer-copyright, .footer-designedby {
        padding: 0 0 1em 0;
        text-align: center
    }
}

@media (max-width: 480px) {
    .header-navbar {
        flex: 0 0 65%;
        max-width: 65%
    }

    .header-cart {
        flex: 0 0 35%;
        max-width: 35%
    }
}

@media (max-width: 320px) {

}

/*  fix methods-payment */
.page-id-46 .woocommerce-checkout-payment, .page-id-46 .payment_methods, .page-id-46 .wc_payment_methods, .page-id-46 .methods {
    display: block !important;
    position: relative !important;
}

.page-id-46 .payment_method_cod input, .page-id-46 .payment_method_paysera input, .page-id-46 .payment_method_cheque input {
    appearance: radio !important;
    -moz-appearance: radio !important;
    -webkit-appearance: radio !important;
}

.page-id-46 .payment-country-select {
    appearance: menulist;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
}


.akcia a {
    color: #E82020 !important;
    border: 2px solid #E82020;
    border-radius: 5px;


}

.akcia a:hover {
    color: #000 !important;
    background: #fdc100 !important;

}

/*  Sale products custom price */
.sale_price {
    display: inline-block;
    background: #FDC100 !important;
    padding: 10px;
    margin: 10px 20%;
    text-align: center !important;
    border-radius: 5px;
    color: #333;
}

.sale_price p {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}


.b-head-decor, b-page_newyear, b-page__content {

    z-index: 999999999;

}


.b-page__content {
}

.b-head-decor {
    display: none
}

.b-page_newyear .b-head-decor {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    height: 115px;
    width: 100%;
    overflow: hidden;
    background: url(balls/b-head-decor_newyear.png) repeat-x 0 0
}

.b-page_newyear .b-head-decor__inner {
    position: absolute;
    top: 0;
    left: 0;
    height: 115px;
    display: block;
    width: 373px
}

.b-page_newyear .b-head-decor::before {
    content: '';
    display: block;
    position: absolute;
    top: -115px;
    left: 0;
    z-index: 3;
    height: 115px;
    display: block;
    width: 100%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.75)
}

.b-page_newyear .b-head-decor__inner_n2 {
    left: 373px
}

.b-page_newyear .b-head-decor__inner_n3 {
    left: 746px
}

.b-page_newyear .b-head-decor__inner_n4 {
    left: 1119px
}

.b-page_newyear .b-head-decor__inner_n5 {
    left: 1492px
}

.b-page_newyear .b-head-decor__inner_n6 {
    left: 1865px
}

.b-page_newyear .b-head-decor__inner_n7 {
    left: 2238px
}

.b-ball {
    position: absolute
}

.b-ball_n1 {
    top: 0;
    left: 3px;
    width: 59px;
    height: 83px
}

.b-ball_n2 {
    top: -19px;
    left: 51px;
    width: 55px;
    height: 70px
}

.b-ball_n3 {
    top: 9px;
    left: 88px;
    width: 49px;
    height: 67px
}

.b-ball_n4 {
    top: 0;
    left: 133px;
    width: 57px;
    height: 102px
}

.b-ball_n5 {
    top: 0;
    left: 166px;
    width: 49px;
    height: 57px
}

.b-ball_n6 {
    top: 6px;
    left: 200px;
    width: 54px;
    height: 70px
}

.b-ball_n7 {
    top: 0;
    left: 240px;
    width: 56px;
    height: 67px
}

.b-ball_n8 {
    top: 0;
    left: 283px;
    width: 54px;
    height: 53px
}

.b-ball_n9 {
    top: 10px;
    left: 321px;
    width: 49px;
    height: 66px
}

.b-ball_n1 .b-ball__i {
    background: url(balls/b-ball_n1.png) no-repeat
}

.b-ball_n2 .b-ball__i {
    background: url(balls/b-ball_n2.png) no-repeat
}

.b-ball_n3 .b-ball__i {
    background: url(balls/b-ball_n3.png) no-repeat
}

.b-ball_n4 .b-ball__i {
    background: url(balls/b-ball_n4.png) no-repeat
}

.b-ball_n5 .b-ball__i {
    background: url(balls/b-ball_n5.png) no-repeat
}

.b-ball_n6 .b-ball__i {
    background: url(balls/b-ball_n6.png) no-repeat
}

.b-ball_n7 .b-ball__i {
    background: url(balls/b-ball_n7.png) no-repeat
}

.b-ball_n8 .b-ball__i {
    background: url(balls/b-ball_n8.png) no-repeat
}

.b-ball_n9 .b-ball__i {
    background: url(balls/b-ball_n9.png) no-repeat
}

.b-ball_i1 .b-ball__i {
    background: url(balls/b-ball_i1.png) no-repeat
}

.b-ball_i2 .b-ball__i {
    background: url(balls/b-ball_i2.png) no-repeat
}

.b-ball_i3 .b-ball__i {
    background: url(balls/b-ball_i3.png) no-repeat
}

.b-ball_i4 .b-ball__i {
    background: url(balls/b-ball_i4.png) no-repeat
}

.b-ball_i5 .b-ball__i {
    background: url(balls/b-ball_i5.png) no-repeat
}

.b-ball_i6 .b-ball__i {
    background: url(balls/b-ball_i6.png) no-repeat
}

.b-ball_i1 {
    top: 0;
    left: 0;
    width: 25px;
    height: 71px
}

.b-ball_i2 {
    top: 0;
    left: 25px;
    width: 61px;
    height: 27px
}

.b-ball_i3 {
    top: 0;
    left: 176px;
    width: 29px;
    height: 31px
}

.b-ball_i4 {
    top: 0;
    left: 205px;
    width: 50px;
    height: 51px
}

.b-ball_i5 {
    top: 0;
    left: 289px;
    width: 78px;
    height: 28px
}

.b-ball_i6 {
    top: 0;
    left: 367px;
    width: 6px;
    height: 69px
}

.b-ball__i {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transform-origin: 50% 0;
    -moz-transform-origin: 50% 0;
    -o-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    pointer-events: none
}

.b-ball_bounce .b-ball__right {
    position: absolute;
    top: 0;
    right: 0;
    left: 50%;
    bottom: 0;
    z-index: 9
}

.b-ball_bounce:hover .b-ball__right {
    display: none
}

.b-ball_bounce .b-ball__right:hover {
    left: 0;
    display: block !important
}

.b-ball_bounce.bounce > .b-ball__i {
    -webkit-transform: rotate(-9deg);
    -moz-transform: rotate(-9deg);
    -o-transform: rotate(-9deg);
    transform: rotate(-9deg)
}

.b-ball_bounce .b-ball__right.bounce + .b-ball__i {
    -webkit-transform: rotate(9deg);
    -moz-transform: rotate(9deg);
    -o-transform: rotate(9deg);
    transform: rotate(9deg)
}

.b-ball_bounce.bounce1 > .b-ball__i {
    -webkit-transform: rotate(6deg);
    -moz-transform: rotate(6deg);
    -o-transform: rotate(6deg);
    transform: rotate(6deg)
}

.b-ball_bounce .b-ball__right.bounce1 + .b-ball__i {
    -webkit-transform: rotate(-6deg);
    -moz-transform: rotate(-6deg);
    -o-transform: rotate(-6deg);
    transform: rotate(-6deg)
}

.b-ball_bounce.bounce2 > .b-ball__i {
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    -o-transform: rotate(-3deg);
    transform: rotate(-3deg)
}

.b-ball_bounce .b-ball__right.bounce2 + .b-ball__i {
    -webkit-transform: rotate(3deg);
    -moz-transform: rotate(3deg);
    -o-transform: rotate(3deg);
    transform: rotate(3deg)
}

.b-ball_bounce.bounce3 > .b-ball__i {
    -webkit-transform: rotate(1.5deg);
    -moz-transform: rotate(1.5deg);
    -o-transform: rotate(1.5deg);
    transform: rotate(1.5deg)
}

.b-ball_bounce .b-ball__right.bounce3 + .b-ball__i {
    -webkit-transform: rotate(-1.5deg);
    -moz-transform: rotate(-1.5deg);
    -o-transform: rotate(-1.5deg);
    transform: rotate(-1.5deg)
}

.sorting-items {
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 30px;
}

.sorting-items span {
    font-size: 12px;
    color: #8e929c;
}

.products-filter {
    /*margin-top: 26px !important;*/
    border-right: 1px solid #ccc;
}


.slotholder {
    margin-top: 30px;

}


.tp-bgimg {

    border-radius: 5px !important;

}


.footerlink li {
    float: left;
    text-align: center;

}

.footerlink li a {
    margin: 30px;
    text-align: center;
    color: #fff;
}


.product-retail-price {
    font-size: 12px !important;
}


.woocommerce-Price-amount b {
}

.product-retail-price, .product-retail-price b {
    font-size: 14px !important;
}


.woocommerce-mini-cart cart_list product_list_widget {
    font-size: 0px !important;
    display: none;
}


.product-name, .product-total {
    border-bottom: 1px solid #ccc;
    /* margin-bottom: 20px !important; */
    padding: 10px 20px 10px 10px;
    vertical-align: bottom;
}

.order-total {
    padding: 26px 10px 10px 20px !important;
    font-size: 24px !important;
}

.order-total > th,
.order-total > td {
    padding-top: 20px;
    padding-bottom: 20px;
}

.venipak-shipping-options {
    position: relative;
}

/* Venipak inline pakomāts selector.
   The plugin renders it after the shipping-method label (woocommerce_after_
   shipping_rate) as .venipak-pickup-wrapper. NOTE: the theme previously styled
   #venipak_pickup_point_wrapper — an id from an OLD plugin template that no
   longer exists, so those rules were dead and the selector was unconstrained on
   desktop (caused the width "flash"/gap when the terminals AJAX-loaded and
   select2 initialised). These rules pin it to a clean, deterministic block so
   nothing shifts before/after select2. Mobile (<=768px) caps it to 100% below. */
.venipak-pickup-wrapper {
    display: block;
    float: none;
    clear: both;
    width: 100%;
    max-width: none;          /* full width, exactly like Omniva's .terminal-container */
    margin: 10px 0 6px;
    padding: 0;
    overflow: visible;
    box-sizing: border-box;
}

.venipak-pickup-wrapper > div {
    width: 100%;
}

/* Pin the native <select> AND the select2 box to the same width so the
   horizontal layout is identical before and after select2 enhances it. */
.venipak-pickup-wrapper select.venipak_pickup_point,
.venipak-pickup-wrapper .select2-container {
    width: 100% !important;
    box-sizing: border-box;
    margin-bottom: 0;
}

/* Make the Venipak select2 box IDENTICAL to Omniva's .dropdown field:
   full width, 24px tall (border-box), 1px #aaa border, 4px radius, and the
   default select2 caret (no flex — flex was distorting the arrow). */
.venipak-pickup-wrapper .select2-container--default .select2-selection--single {
    height: 24px;
    border: 1px solid #aaa;
    border-radius: 4px;
    background: #fff;
}

.venipak-pickup-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 22px;        /* fill the 24px box (minus 1px borders) */
    padding-left: 5px;
    padding-right: 22px;
    color: #333;
}

.venipak-pickup-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 22px;
    right: 2px;
}

.venipak-pickup-wrapper #selected-pickup-info {
    text-align: left !important;
    padding-top: 6px !important;
}

/* The label printed inside the method <li> is short; don't let the theme
   uppercase-transform it and keep it left-aligned under the method. */
.venipak-pickup-wrapper label[for="venipak_pickup_point"] {
    text-transform: none;
}

/* The pickup wrapper makes its shipping <li> tall; the radio is absolutely
   positioned and otherwise re-centres vertically (the "detached dot"). Pin it
   to the top so it stays beside the method name. :has() degrades gracefully on
   older browsers (radio just stays centred, as before). */
.woocommerce-shipping-methods li:has(.venipak-pickup-wrapper) > input.shipping_method {
    top: 12px;
}

.woocommerce-shipping-totals.shipping {
    margin-top: 20px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
}

.shopup_venipak_shipping_method_title {
    margin-left: 20px;
}

.woocommerce-shipping-methods label {
    cursor: pointer;
    width: 100%;
}

.woocommerce-shipping-methods li {
    display: block;
    padding: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 5px;
}

.woocommerce-shipping-methods li.active {
    background: #fcefa1;
}

.woocommerce-checkout-payment .payment_methods {
    border-bottom: 1px solid #ccc;
    padding-left: 1px;
    padding-bottom: 7px;
}

#selected-pickup-info {
    padding-top: 0 !important;
}

input[name="xoo-el-rememberme"],
input.xoo-aff-checkbox_single {
    -webkit-appearance: checkbox;
    width: 21px;
    height: 21px;
    vertical-align: middle;
    margin-right: 10px !important;
}

input.xoo-aff-radio {
    -webkit-appearance: radio;
    width: 21px;
    height: 21px;
    vertical-align: middle;
}

.woocommerce-shipping-methods li {
    display: flex;
    flex-direction: column;
}

label[for="shipping_method_0_local_pickup13"] {
    margin-top: 0;
    margin-bottom: 0;
    padding: 20px 0;
}

label[for="shipping_method_0_local_pickup13"]:before {
    content: '';
    display: block;
    background: url(/wp-content/uploads/nordparts.jpeg) center center no-repeat;
    background-size: contain;
    float: left;
    width: 64px;
    height: 48px;
    margin-right: 21px;
}

label[for="shipping_method_0_local_pickup13"]:after {
    content: 'Daugavgrīvas 104, Riga, LV-1007';
    display: block;
    font-size: 13px;
}

.header-user-name {
    color: #fff;
    top: -4px;
    position: relative;
    display: inline-block;
    padding-right: 4px;
}

.header-user-name:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .header-user-name {
        top: 1px;
    }
}

.quick-order-payment-methods .input-radio {
    -webkit-appearance: radio;
}

.woocommerce-mini-cart__buttons {
    /*display: flex;*/
}

@media (min-width: 600px) {
    .woocommerce-mini-cart__buttons {
        /*position: relative;*/
        /*left: -110px;*/
    }

    .woocommerce-mini-cart__buttons .button {
        min-width: 250px;
    }
}

@media (max-width: 600px) {
    .woocommerce-mini-cart__buttons {
        position: relative;
        flex-direction: column;
    }

    .woocommerce-mini-cart__buttons .button {
        width: 100%;
        float: none;
    }
}

.woocommerce-checkout-payment li,
.woocommerce-shipping-methods li {
    position: relative;
    padding-left: 40px !important;
}

.woocommerce-checkout-payment li {
    margin-bottom: 7px;
    position: relative;
}

.woocommerce-checkout-payment li input,
.woocommerce-shipping-methods li input {
    -webkit-appearance: radio;
    appearance: auto;
    min-width: 18px;
    min-height: 18px;
    position: absolute;
    left: 12px;
    top: calc(50% - 9px);
}

.woocommerce-checkout-payment li label,
.woocommerce-shipping-methods li label,
.woocommerce-shipping-methods li span.omnivalt-shipping-description {
    margin-bottom: 0;
}

.woocommerce-order-details h4 {
    margin-bottom: 0;
}

.woocommerce-customer-details {
    margin-top: 30px;
}

.woocommerce-customer-details address {
    padding: 0 10px;
}

.woocommerce-table--order-details tfoot tr th,
.woocommerce-table--order-details tfoot tr td {
    padding: 5px 10px 0 10px;
}

.single-product-page .old_price {
    margin: 10px 0 !important;
}

.old_price {
    display: inline-block;
    /* background: #FDC100 !important; */
	text-decoration: line-through;
    padding: 10px;
    margin: 10px 20%;
    text-align: center !important;
    border-radius: 5px;
    color: #333;
}
.old_price p {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}
.product-wrap .old_price {
	width: 50%; 
}
.product-wrap .sale_price {
	width: 50%; 
}
@media (max-width: 576px){
	.product-price div {
		width: 50%;
	}

}

.product-wrap .product-price{
	display: flex;
}
.product-wrap .product-price .sale_price, .product-wrap .product-price .old_price{
	margin: 10px 5%;
}

.MessageBody_body_pmf3j table{
    font-size: 10px !important;

}

/* Reduce excessive top space on single blog posts */
.single-post .breadcrumbs {
    padding: 0.3em 0;
}

.single-post .wp-content {
    padding: 0.5em 0 1em;
}

/* Hide stray HTML at top of imported blog post content */
.single-post .wp-content head,
.single-post .wp-content meta,
.single-post .wp-content .bialty-container > br {
    display: none;
}

/* Hide first paragraph if it only contains a <br> (imported empty line) */
.single-post .wp-content .bialty-container > p:first-child:has(> br:only-child) {
    display: none;
}

/* Blog post typography (replaces AI-generated inline styles we strip out) */
.single-post .wp-content .blog-container {
    max-width: 800px;
    margin: 20px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    color: #333;
    line-height: 1.7;
}

.single-post .wp-content .blog-container h1 {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px;
    line-height: 1.3;
}

.single-post .wp-content .blog-container h2 {
    font-size: 20px;
    font-weight: 600;
    color: #2c2c2c;
    margin: 32px 0 12px;
    line-height: 1.4;
}

.single-post .wp-content .blog-container h3 {
    font-size: 18px;
    font-weight: 500;
    color: #3c3c3c;
    margin: 24px 0 10px;
}

.single-post .wp-content .blog-container p {
    font-size: 16px;
    line-height: 1.7;
    margin: 12px 0;
    color: #444;
}

.single-post .wp-content .blog-container img {
    display: block;
    margin: 24px auto;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.single-post .wp-content .blog-container ul,
.single-post .wp-content .blog-container ol {
    margin: 16px 0;
    padding-left: 24px;
}

.single-post .wp-content .blog-container li {
    margin: 8px 0;
    line-height: 1.6;
    font-size: 16px;
}

.single-post .wp-content .blog-container strong {
    font-weight: 600;
    color: #2c2c2c;
}

/* Related products section at bottom of single blog posts */
.single-post .wp-content h2 + .woocommerce,
.single-post .wp-content p > .woocommerce {
    margin-top: 16px;
}

.single-post .wp-content .woocommerce ul.products {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
    margin: 16px 0 40px;
    padding: 0;
    list-style: none;
}

.single-post .wp-content .woocommerce ul.products li.product {
    flex: 1 1 calc(33.333% - 14px);
    margin: 0 !important;
    padding: 16px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    width: auto !important;
}

.single-post .wp-content .woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.single-post .wp-content .woocommerce ul.products li.product > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.single-post .wp-content .woocommerce ul.products li.product img {
    width: 100%;
    max-width: 220px;
    height: 180px;
    object-fit: contain;
    margin: 0 0 12px;
}

.single-post .wp-content .woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
    text-transform: none;
    margin: 8px 0;
    padding: 0;
    min-height: 36px;
}

.single-post .wp-content .woocommerce ul.products li.product .price {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1c438e;
    margin: 8px 0 12px;
}

.single-post .wp-content .woocommerce ul.products li.product .price .product-retail-price > span {
    font-weight: 400;
    color: #666;
}

.single-post .wp-content .woocommerce ul.products li.product .add_to_cart_button {
    display: inline-block;
    padding: 8px 16px;
    background: #fdc100;
    color: #333;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    margin-top: auto;
    align-self: center;
}

.single-post .wp-content .woocommerce ul.products li.product .add_to_cart_button:hover {
    background: #e0a800;
}

@media (max-width: 768px) {
    .single-post .wp-content .woocommerce ul.products li.product {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .single-post .wp-content .woocommerce ul.products li.product {
        flex: 1 1 100%;
    }
}

/* Top utility bar — soft blue → gray gradient */
.toprow-1 {
    background: linear-gradient(90deg, #e6f0fa 0%, #eef1f5 60%, #f0f2f5 100%);
    border-bottom: 1px solid #dde3ea;
}

/* ──────────────────────────────────────────────────────────────────────────
   Venipak pickup-point selector — keep it inside the screen on mobile.
   The wc-venipak-shipping plugin's pickup window (both the `after_shipping`
   <tr class="wc-venipak-shipping-terminals"> template and the `inline`
   .venipak-pickup-wrapper template) can render wider than a phone viewport.
   Cap everything to 100% and drive the plugin's own width variable to 100%.
   Scoped to Venipak's own classes so no other select2 widgets are affected.
   ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .venipak-pickup-wrapper {
        /* plugin uses max-width: var(--venipak-pickup-width, 275px) */
        --venipak-pickup-width: 100% !important;
        max-width: 100% !important;
    }

    .wc-venipak-shipping-terminals,
    .wc-venipak-shipping-terminals td,
    .wc-venipak-shipping-terminals select,
    .wc-venipak-shipping-terminals #venipak_pickup_point,
    .wc-venipak-shipping-terminals #selected-pickup-info,
    .wc-venipak-shipping-terminals #venipak-map,
    .venipak-pickup-wrapper .select2-container,
    .venipak-pickup-wrapper #venipak-map,
    .venipak_pickup_point,
    .venipak-map {
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* The select2 dropdown panel for the pickup list is appended to <body>
       with a JS-set pixel width; stop it overflowing the viewport. */
    .select2-container--open .select2-dropdown {
        max-width: 96vw !important;
    }
}

/* ──────────────────────────────────────────────────────────────────────────
   "Kā lādēt akumulatoru mājas apstākļos?" article — modern refresh (2026-06-14)
   Scoped to .akku-* classes so nothing leaks site-wide. Powers the live-price
   charger grid ([akumulatori_ladetaji] shortcode) + the modernised guide text.
   ────────────────────────────────────────────────────────────────────────── */

/* Article wrapper / readability.
   Full theme content width (.container = 1170px) so the layout matches the
   rest of the site on desktop instead of looking narrow. */
.single-post .wp-content .akku-article {
    max-width: 100%;
    margin: 0 auto;
    color: #2E4158;
    font-family: 'Rubik', 'Poppins', sans-serif;
}

.single-post .wp-content .akku-article .akku-lead {
    font-size: 19px;
    line-height: 1.7;
    color: #3a4a5e;
    background: #f3f8fd;
    border-left: 4px solid #0079C1;
    border-radius: 0 10px 10px 0;
    padding: 18px 22px;
    margin: 0 0 32px;
}

.single-post .wp-content .akku-article h2 {
    font-size: 26px;
    font-weight: 700;
    color: #2E4158;
    margin: 40px 0 18px;
    line-height: 1.25;
}

/* Step list as clean numbered cards */
.single-post .wp-content .akku-steps {
    list-style: none;
    counter-reset: akku-step;
    margin: 0 0 36px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* two columns on desktop so the steps fill the full width */
    gap: 14px;
}

.single-post .wp-content .akku-steps > li {
    counter-increment: akku-step;
    position: relative;
    background: #fff;
    border: 1px solid #E3E8EF;
    border-radius: 12px;
    padding: 18px 20px 18px 70px;
    box-shadow: 0 6px 18px rgba(46, 65, 88, 0.06);
    font-size: 16px;
    line-height: 1.6;
    color: #3a4a5e;
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.single-post .wp-content .akku-steps > li:hover {
    box-shadow: 0 10px 24px rgba(46, 65, 88, 0.12);
    transform: translateY(-2px);
}

.single-post .wp-content .akku-steps > li::before {
    content: counter(akku-step);
    position: absolute;
    left: 16px;
    top: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0079C1, #00a0e3);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 121, 193, 0.35);
}

/* Inline highlight for the "buy a charger" link inside the steps */
.single-post .wp-content .akku-steps a,
.single-post .wp-content .akku-article p a {
    color: #0079C1;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Tip / note callout */
.single-post .wp-content .akku-note {
    background: #fff8e6;
    border: 1px solid #ffe2a8;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #6b5418;
    margin: 0 0 32px;
}

/* ── Live-price product grid ─────────────────────────────────────────────── */
.single-post .wp-content .akku-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 8px 0 30px;
}

.single-post .wp-content .akku-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #E3E8EF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(46, 65, 88, 0.06);
    transition: box-shadow 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.single-post .wp-content .akku-card:hover {
    border-color: #C8D3E0;
    box-shadow: 0 12px 26px rgba(46, 65, 88, 0.14);
    transform: translateY(-3px);
}

.single-post .wp-content .akku-card__media {
    display: block;
    padding: 16px;
    background: #fff;
    text-align: center;
}

.single-post .wp-content .akku-card__media img,
.single-post .wp-content .akku-card__img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    margin: 0 auto;
}

.single-post .wp-content .akku-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 0 16px 16px;
}

.single-post .wp-content .akku-card__title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 8px;
    min-height: 56px;
}

.single-post .wp-content .akku-card__title a {
    color: #2E4158;
    text-decoration: none;
}

.single-post .wp-content .akku-card__title a:hover {
    color: #0079C1;
}

.single-post .wp-content .akku-card__price {
    font-size: 18px;
    font-weight: 700;
    color: #2E4158;
    margin: 0 0 6px;
}

.single-post .wp-content .akku-card__price del {
    color: #9aa6b4;
    font-weight: 500;
    font-size: 14px;
    margin-right: 6px;
}

.single-post .wp-content .akku-card__price ins {
    color: #C12727;
    text-decoration: none;
}

.single-post .wp-content .akku-card__stock {
    font-size: 12.5px;
    font-weight: 600;
    margin: 0 0 12px;
}

.single-post .wp-content .akku-card__stock.is-instock { color: #5D8D4D; }
.single-post .wp-content .akku-card__stock.is-outofstock { color: #C0792B; }

.single-post .wp-content .akku-card__btn {
    margin-top: auto;
    display: block;
    text-align: center;
    background: #0079C1;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .3px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 160ms ease;
}

.single-post .wp-content .akku-card__btn:hover {
    background: #005b92;
    color: #fff;
}

/* ── Highlighted category call-to-action ─────────────────────────────────── */
.single-post .wp-content .akku-cta {
    text-align: center;
    margin: 14px 0 40px;
    padding: 28px 20px;
    background: linear-gradient(135deg, #0079C1 0%, #00a0e3 100%);
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(0, 121, 193, 0.25);
}

.single-post .wp-content .akku-cta__btn {
    display: inline-block;
    background: #fff;
    color: #0079C1 !important;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none !important;
    padding: 14px 30px;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.single-post .wp-content .akku-cta__btn span { margin-left: 4px; }

.single-post .wp-content .akku-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
    color: #005b92 !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .single-post .wp-content .akku-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
    .single-post .wp-content .akku-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .single-post .wp-content .akku-card__title { min-height: 44px; }
    .single-post .wp-content .akku-steps { grid-template-columns: 1fr; } /* single column on mobile */
}

@media (max-width: 460px) {
    .single-post .wp-content .akku-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .single-post .wp-content .akku-card__media img { height: 130px; }
    .single-post .wp-content .akku-article h2 { font-size: 22px; }
}

/* ============================================================================
 * Category-discount engine — modern price blocks (np_catdisc)
 * Two looks: .np-price--akcijas (manual sale, warm red) and .np-price--deal
 * (category/role %, fresh green saving). .np-price--plain = unchanged retail.
 * ========================================================================== */
.np-price{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;line-height:1.2}
.np-price__body{display:inline-flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.np-price__old{font-size:13px;color:#8a8f98;text-decoration:line-through;text-decoration-thickness:1.5px;white-space:nowrap}
.np-price__now{font-size:20px;font-weight:800;white-space:nowrap;color:#111}
.np-price__badge{display:inline-flex;align-items:center;font-size:12px;font-weight:800;letter-spacing:.2px;padding:3px 8px;border-radius:999px;line-height:1;white-space:nowrap}

/* Deal — category / role percentage → green "saving" */
.np-price--deal .np-price__now{color:#0a7d33}
.np-price--deal .np-price__badge{background:#e6f7ec;color:#0a7d33;box-shadow:inset 0 0 0 1px #b7e6c6}

/* Akcijas — manual per-product sale → soft, friendly red pill (matches the deal look) */
.np-price--akcijas .np-price__now{color:#e2574f}
.np-price--akcijas .np-price__badge{background:#ffeceb;color:#df4a41;box-shadow:inset 0 0 0 1px #f6cac6}

/* Plain — keep the familiar small "Cena:" look */
.np-price--plain{gap:4px}
.np-price--plain .np-price__label{color:#666}

/* "Limited time" chip for scheduled discounts — styled 100% INLINE in np_price_until()
   (class .np-promo-until) so no cached/other stylesheet can touch it. No rule here on purpose. */

@media (max-width:576px){
  .np-price__now{font-size:18px}
  .np-price{gap:6px}
}

/* Mobile category cards: keep text slots pixel-stable when late web fonts load.
   Lighthouse showed the remaining category CLS coming from font swap on
   div#np-products > ul.products, not image sizing or the filter panel. These
   values match the current rendered mobile card geometry and avoid adding JS or
   extra requests. */
@media only screen and (max-width: 576px) {
    .products-list ul.products li .product-title {
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        line-height: 17px !important;
    }

    .products-list ul.products li .product-sku {
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        line-height: 17px !important;
        overflow: hidden;
    }

    .products-list ul.products li .product-in-stock {
        height: 89px !important;
        min-height: 89px !important;
        max-height: 89px !important;
        line-height: 17px !important;
        overflow: hidden;
        align-items: flex-start;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 4px;
    }

    .products-list ul.products li .product-in-stock > span:first-child:not(.np-stock-pill):not(.green):not(.red) {
        margin: 0 !important;
        width: 100%;
    }

    .products-list ul.products li .product-in-stock .np-stock-pill {
        max-width: 100%;
        white-space: normal;
        text-align: left;
    }

    .products-list ul.products li .product-in-stock .np-stock-pill--ok,
    .products-list ul.products li .product-in-stock .np-stock-pill--remote,
    .products-list ul.products li .product-in-stock .np-stock-pill--out {
        order: 1;
    }

    .products-list ul.products li .product-in-stock .np-stock-pill--delivery {
        order: 2;
        flex-basis: auto;
        border-radius: 10px;
        padding-left: 10px;
        padding-right: 10px;
        line-height: 1.25;
    }

    .single-product main .product-in-stock .np-stock-pill--delivery {
        flex: 0 1 auto;
        margin-top: 0;
    }

    .single-product main .product-in-stock::after {
        content: "";
        order: 1;
        flex: 0 0 100%;
        height: 0;
    }

    .single-product main .product-in-stock .np-stock-pill--delivery {
        order: 2;
    }

    .products-list ul.products li .product-price {
        min-height: 22px !important;
    }
}

/* ---- Category intro typography (GEO 2026-07-08) ----
   Styles the plain category intros (ACF `apraksts`) rendered below the product grid so
   ALL categories look like the P2 guide pages. Lives here in the already-loaded, cache-
   busted stylesheet (no extra request, no inline per-page CSS). Only a .np-catintro
   wrapper div is added in woocommerce/archive-product.php. Text is never changed. */
.np-catintro{ font-family:'Rubik','Poppins',sans-serif; color:#22303C; line-height:1.6; margin:26px 0 8px; }
.np-catintro *{ box-sizing:border-box; }
.np-catintro h1, .np-catintro h2{ font-size:26px !important; font-weight:700 !important; color:#2E4158 !important; margin:28px 0 12px !important; line-height:1.25 !important; text-transform:none !important; }
.np-catintro h3{ font-size:20px !important; font-weight:700 !important; color:#2E4158 !important; margin:22px 0 8px !important; text-transform:none !important; }
.np-catintro h4{ font-size:17px !important; font-weight:700 !important; color:#2E4158 !important; margin:18px 0 6px !important; text-transform:none !important; }
.np-catintro p{ margin:0 0 12px !important; font-size:16px !important; line-height:1.6 !important; }
.np-catintro ul, .np-catintro ol{ margin:0 0 14px !important; padding-left:20px !important; }
.np-catintro li{ margin:0 0 6px !important; font-size:16px !important; line-height:1.6 !important; }
.np-catintro strong, .np-catintro b{ color:#1c2b3a; font-weight:700; }
.np-catintro a{ color:#2E4158; text-decoration:underline; }
.np-catintro a:hover{ color:#f7941d; }
.np-catintro img{ max-width:100%; height:auto; }
.np-catintro table{ width:100%; border-collapse:collapse; font-size:15.5px; margin:8px 0 18px; display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.np-catintro th, .np-catintro td{ text-align:left; padding:10px 12px; border-bottom:1px solid #e3ebf3; vertical-align:top; }
.np-catintro thead th{ background:#2E4158; color:#fff; }
.np-catintro tbody tr:nth-child(even){ background:#f5f8fb; }
@media (max-width:768px){ .np-catintro h1, .np-catintro h2{ font-size:22px !important; } }
