:root {
    --color-text: #1e272e;
    --color-primary: #94bb37;
    --color-primary-dark: #88ac33;
    --color-primary-darken: #7a9a2e;
    --color-gray: #bdbdbd;
    --color-gray-dark: #9a9a9a;
    --color-gray-darken: #7e7e7e;
    --color-gray-light: #f1f2f6;
    --media-xs: 30em;
    --media-sm: 48em;
    --media-md: 64em;
    --media-lg: 74em;
    --media-xl: 90em;
}

html {
    font-size: 14px;
    line-height: 1.2;
}

body {
    margin: 0;
    padding: 0;
    color: var(--color-text);
    font-family: "Arial", sans-serif;
    background-color: var(--color-gray-light);
}
* {
    font-family: "Arial", sans-serif !important;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    text-decoration: underline;
}

a img {
    border: 0;
}

.primary-link {
    color: var(--color-primary);
    transition: color 0.2s;
}

.primary-link:hover {
    color: var(--color-primary-dark);
    text-decoration: none;
}

#wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1em;
}

.nowrap {
    white-space: nowrap;
}

/* input */
input[type="email"],
input[type="text"],
select {
    display: block;
    padding: 0.75em 1em !important;
    border-radius: 0.75em;
    border: 1px solid var(--color-gray);
    outline: 0;
    height: auto;
    transition: border-color 0.2s;
    background-color: #fff;
}

input[type="email"]:focus,
input[type="text"]:focus,
select {
    border: 1px solid #a1a1a1;
}

/* end input */

/* button */
.button,
input[type="button"],
input[type="submit"] {
    display: inline-block !important;
    border: none !important;
    outline: none !important;
    padding: 0.75em 1em !important;
    background-color: var(--color-primary) !important;
    color: #ffffff !important;
    transition: background-color 0.3s !important;
    border-radius: 0.5em !important;
    line-height: 1 !important;
    font-size: 1em !important;
    font-family: Arial, sans-serif !important;
    height: auto !important;
}

.button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    background-color: var(--color-primary-dark) !important;
    text-decoration: none !important;
}

.button:active,
input[type="button"]:active,
input[type="submit"]:active {
    background-color: var(--color-primary-darken) !important;
}

/* end button */

/* site-header */
.site-header {
    display: flex;
    gap: 1em;
    align-items: center;
    justify-content: space-between;
    padding: 1.5em 0;
}

.site-header--logo img {
    max-width: 340px;
}

.site-header--text {
    font-size: 1em;
    padding-left: 0.5em;
}

.site-header--contacts {
    font-size: 2em;
    text-align: right;
}

.site-header--contacts small {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.5em;
}

@media (max-width: 48em) {
    .site-header {
        flex-direction: column;
        gap: 2em;
    }

    .site-header--contacts {
        text-align: center;
    }

    .site-header--text {
        font-weight: bold;
        font-size: 0.75em;
        text-align: center;
    }
}

/* end site-header */

/* site-menu */
.site-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    border-radius: 1em;
    margin: 1em 0 2em;
    box-shadow: rgba(51, 51, 51, 0.15) 0 8px 18px -4px;
}

.site-menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.site-menu ul a {
    display: block;
    padding: 1em 1.75em;
    transition: background-color 0.3s;
    color: #fff;
    font-size: 1.25em;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.site-menu ul li:last-child a {
    border: none;
}

.site-menu ul a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.site-menu--mobile-bar {
    flex: 1;
    padding: 1em;
    display: flex;
    justify-content: flex-end;
}

.site-menu--mobile-bar--button {
    background-color: transparent;
}

.site-menu--mobile-bar--close {
    display: none;
}

@media (max-width: 48em) {
    .site-menu {
        flex-direction: column;
        align-items: stretch;
        border-radius: 0;
        margin: 0 -1em 2em;
        position: sticky;
        top: 0;
        z-index: 999;
    }

    .site-menu ul {
        flex-direction: column;
        align-items: stretch;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .site-menu.-opened ul {
        max-height: 999px;
        transition: max-height 0.3s ease-in;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .site-menu.-opened .site-menu--mobile-bar--bars {
        display: none;
    }

    .site-menu.-opened .site-menu--mobile-bar--close {
        display: inline-block;
    }

    .site-menu ul a {
        border-right: none;
    }
}

@media (min-width: 48em) {
    .site-menu--mobile-bar {
        display: none;
    }
}

/* site-footer */
.site-footer {
    background-color: #f8f8fb;
    display: flex;
    flex-direction: row;
    gap: 4em;
    align-items: flex-start;
    margin-top: 4em;
    padding: 2em;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
}

.site-footer--col {
    max-width: 300px;
}

.site-footer--col:first-child {
    flex: 1;
    max-width: 100%;
}

.site-footer--logo {
    width: 200px;
}

.site-footer--logo a {
    display: block;
}

.site-footer--logo a img {
    width: 100%;
}

.site-footer--copy {
    margin-top: 0.5em;
    color: var(--color-gray-darken);
    padding-left: 0.25em;
}

.site-footer--title {
    font-size: 1.25em;
    margin-bottom: 0.5rem;
    color: var(--color-gray-dark);
}

.site-footer--menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-footer--menu ul a {
    display: block;
    padding: 0.25em 0;
}

.site-footer--contacts {
    display: flex;
    flex-direction: column;
    gap: 1em;
    font-size: 1em;
}

.site-footer--contacts b {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.5em;
    font-weight: normal;
    color: var(--color-gray-darken);
}

@media (max-width: 48em) {
    .site-footer {
        flex-direction: column;
        gap: 2em;
    }
}

/* end site-footer */

/* end site-menu */

/* content */
.content {
    display: flex;
    gap: 2em;
}

.content-main {
    flex: 1;
}

.content-body {
    flex: 1;
    padding: 1em;
    border: 1px solid var(--color-gray-light);
    border-radius: 0.5em;
    box-shadow: rgba(51, 51, 51, 0.1) 0 8px 18px -4px;
    background-color: #fff;
}

.content-left,
.content-right {
    display: flex;
    flex-direction: column;
    gap: 3em;
    max-width: 260px;
}

@media (max-width: 48em) {
    .content {
        flex-direction: column-reverse;
        gap: 2em;
    }

    .content-left,
    .content-right {
        max-width: 100%;
    }
}

/* end content */

/* box */
.box {
    --border-radius: 1em;
}

.box-title {
    font-size: 1.5em;
    padding: 0 0.75em 0.75em;
}

.box-body {
    border-radius: var(--border-radius);
    box-shadow: rgba(51, 51, 51, 0.1) 0 8px 18px -4px;
    background-color: #fff;
}

/* end box */


/* menu */
.left_menu {
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: #fff;
    border-radius: 0.75em;
    overflow: hidden;
}

.left_menu li {
    position: relative;
}

.left_menu li:after {
    display: block;
    content: '';
    height: 1px;
    background-color: #ebeef1;
    margin: 0 0.5em;
}

.left_menu li:last-child:after {
    display: none;
}

.left_menu li a {
    display: block;
    padding: 0.75em 1.5em;
    transition: background-color 0.3s;
}

.left_menu li a:hover {
    background-color: #eaebef;
    text-decoration: none !important;
}

/* end menu */

/* news_list */
.news_list a span {
    display: block;
    margin-bottom: 0.25em;
    color: var(--color-primary);
}

/* end news_list */

/* novelty */
.novelty {
    background-color: #fff;
    border-radius: 0.75em;
    overflow: hidden;
    padding: 0.75em;
}

.novelty a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    padding: 1em 2em;
    text-align: center;
    transition: background-color 0.3s;
    border-radius: 0.5em;
}

.novelty a:hover {
    background-color: #eaebef;
    text-decoration: none;
}

.novelty a span {
    display: block;
    margin-bottom: 0.25em;
}

/* end novelty */

/* shop */
#shop_menu {
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: #fff;
    border-radius: 0.75em;
    overflow: hidden;
}

#shop_menu li {

}

#shop_menu li a {
    display: flex;
    flex-direction: row;
    gap: 0.5em;
    align-items: center;
    padding: 0.75em 1.5em;
    transition: background-color 0.3s;
}

#shop_menu li a span {
    flex: 1;
}

#shop_menu li a svg {
    width: 1em;
    height: 1em;
    color: var(--color-gray);
    transition: transform 0.2s;
}

#shop_menu li a:hover {
    background-color: #eaebef;
    text-decoration: none;
}

#shop_menu li a.-opened + ul {
    max-height: 5000px;
}

#shop_menu li a.-opened > svg {
    transform: rotateZ(90deg);
}

#shop_menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

#shop_menu > li:after {
    display: block;
    content: '';
    height: 1px;
    background-color: #ebeef1;
    margin: 0 0.5em;
}

#shop_menu > li:last-child:after {
    display: none;
}

#shop_menu li > ul a {
    padding-left: 2em;
}

#shop_menu ul > li > ul a {
    padding-left: 3em;
}

#shop_menu ul > li > ul > li > ul a {
    padding-left: 4em;
}

/* end shop */


/* little-cart */
.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.cart-summary--empty {
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 1em;
}

.cart-summary--empty--title {
    color: var(--color-gray);
    font-size: 1.25em;
}

.cart-summary--empty--text {
    font-size: 1em;
}

.cart-summary--calculation {
    background-color: #fff;
    border-radius: 0.75em;
    padding: 1em;
}

.cart-summary--grid {
    display: grid;
    /* Создаем 2 колонки: левая по контенту, правая забирает все остальное */
    grid-template-columns: max-content 1fr;
    /* Отступы между строками и колонками (настройте под себя) */
    gap: 0.5em 1em;
    align-items: center;
    width: 100%;
}

.cart-summary--grid--label {
    font-weight: bold; /* Опционально */
    white-space: nowrap;
}

.cart-summary--grid--value {
    white-space: nowrap;
}

.cart-summary--grid--fullwidth {
    grid-column: span 2;
    margin-top: 0.5em;
}

/* end little-cart */

/* subscription */
.subscription-body {
    padding: 1em;
}

@media (max-width: 48em) {
    .subscription {
        display: none;
    }
}

/* end subscription */


/* breadcrumb */
.breadcrumb {
    margin: 0.9em 0;
}

.breadcrumb ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25em;
    color: var(--color-gray-dark);
}

.breadcrumb ul li:after {
    display: inline-block;
    content: '/';
    margin-left: 0.25em;
}

.breadcrumb ul li:last-child:after {
    content: '';
}

.breadcrumb ul li a {
    color: var(--color-gray-dark);
}

.breadcrumb ul li a:hover {
    color: var(--color-gray-darken);
    text-decoration: none;
}

/* end breadcrumb */


/* CATALOG */
.catalog--title {
    font-size: 2em;
    color: var(--color-gray-darken);
    text-align: left;
    padding: 0;
}

.catalog--subtitle {
    font-size: 1.5em;
    color: var(--color-gray-darken);
    text-align: left;
    padding: 0;
}

.filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em;
}

.filters span {
    display: block;
    margin-bottom: 0.25em;
}

.filters--price {
    display: flex;
    gap: 1em;
}

@media (max-width: 48em) {
    .filters {
        flex-direction: column;
        align-items: stretch;
        gap: 1em;
    }

    .filters--price {
        flex-direction: column;
        align-items: stretch;
    }

    .filters input,
    .filters select {
        width: 100%;
    }
}

.sorting {
    display: flex;
    gap: 2em;
    margin: 1em 0;
}

.sorting--field {
    display: flex;
    gap: 0.5em;
    align-items: center;
}

.sorting--field--arrows {
    display: flex;
}

@media (max-width: 48em) {
    .sorting {
        gap: 0.5em;
    }
}

.sorting--arrow svg {
    width: 1em;
    height: 1em;
}

.sorting--arrow-green {
    color: var(--color-primary);
}

.catalog--items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
}

@media (max-width: 48em) {
    .catalog--items {
        grid-template-columns: 1fr;
    }
}


.catalog--item {
    background-color: #fff;
    border-radius: 1em;
    padding: 2em 1em;
    border: 1px solid var(--color-gray-light);
    box-shadow: rgba(51, 51, 51, 0.15) 0 8px 18px -4px;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.catalog--item--image {
    display: flex;
    justify-content: center;
}

.catalog--item--image a {
    display: block;
    width: 100%;
}

.catalog--item--image img {
    max-width: 160px;
    max-height: 280px;
}

.catalog--item--name {
    display: block;
    font-size: 1.5em;
    text-align: center;
}

.catalog--item--cart {
    display: flex;
    justify-content: space-between;
    gap: 1em;
}

.catalog--item--cart-count {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.catalog--item--cart-count button {
    padding: 0;
    background-color: var(--color-gray);
    width: 2em;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog--item--cart-count button:hover {
    background-color: var(--color-gray-dark);
}

.catalog--item--cart-count button svg {
    width: 1.5em;
    height: 1.5em;
}

.catalog--item--cart > button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    border-radius: 0.5em;
    height: 37px;
}

.catalog--item--cart > button svg {
    width: 1.5em;
    height: 1.5em;
}


.catalog--detail--info {
    display: flex;
    flex-direction: row;
    gap: 2em;
    padding-block: 1em;
}

.catalog--detail--info--left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

.catalog--detail--info--left .catalog--item--cart {
    width: 100%;
}

.catalog--detail--info--right {
    flex: 1;
}

@media (max-width: 48em) {
    .catalog--detail--info {
      flex-direction: column;
    }
}

.catalog--item--properties {
    color: var(--color-gray-darken) !important;
}

.catalog--item--properties table {
    font-size: 1em;
    color: inherit;
}

.catalog--item--properties table tr td {
    padding: 0.5em;
}

.catalog--item--properties table tr td:first-child {
    padding-left: 0;
}

.catalog--item--properties table tr td:last-child {
    padding-right: 0;
}

.catalog--item--modifications {
    padding: 1em;
}
.catalog--item--modifications table {
    width: 100%;
}
.catalog--item--modifications table th {
    text-align: left;
    padding: 0.5em;
}
.catalog--item--modifications table tr td {
    padding: 0.5em;
}
.catalog--item--modifications table tr td:first-child {
    padding-left: 0;
}
.catalog--item--modifications table tr td:last-child {
    padding-right: 0;
}
.catalog--item--modifications--price {
   white-space: nowrap;
}
/* END CATALOG */

/**
OLD STYLES
 */


.table_dealers {
    margin: 30px 50px
}

.table_dealers td {
    vertical-align: top;
    padding-right: 20px;
    border-bottom: 0px solid #eee;
    color: #181510;
    line-height: 14px
}

.table_dealers td a {
    color: #84aa26
}

.contacts {
    margin-left: 0px
}

.contacts td {
    border-bottom-width: 1px;
    border-bottom-style: dotted;
    padding-left: 20px;
}

#head_wrapper {
    height: 170px;
    background: #fff;
    color: white;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-radius: 3px 0 3px 0;
}

#head_wrapper h2 {
    display: block;
    color: #333;
    text-align: center;
    clear: right;
    margin-top: 2px;
}

.right-phones {
    float: right;
    height: 40px;
    font-size: 11px;
    line-height: 11px;
    color: #666;
    margin-top: 68px;
    margin-right: 50px;
    text-align: center;
}

.right-phones span {
    display: block;
    margin-top: 5px;
    font-size: 22px;
    color: #333;
}

#top_menu_wrapper {
    height: 35px;
    background: url('../../images/bw/bodyBg.png') 5px bottom repeat-x #94bb37;
    margin-top: -15px;
}

#left_wrapper {
    float: left;
    width: 205px;
    background: #fff;
    color: white;
}

#right_wrapper {
    float: right;
    width: 205px;
    background: #fff;
    color: white;
}

#body_wrapper {
    min-height: 1200px;
    margin: 0 201px;
    padding: 20px;
    background: #fff;
}

#foot_wrapper {
    height: 55px;
    background: url('../../images/bw/bodyBeg.png') repeat-x #94bb37;
    text-align: center;
    padding-top: 30px;
}

h1 {
    padding: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #84aa26
}

/*                back form                  */
#contact_form span {
    float: left;
    width: 150px;
    color: #84aa26
}

#contact_form input, #contact_form textarea {
}

/* logo */
.logo {
    width: 500px;
    position: relative;
    left: 50%;
    margin-left: -250px;
    margin-top: 20px
}

/* end logo */

/* top menu */
.top_menu {
    text-align: center
}

.top_menu a {
    margin: 0 30px;
    line-height: 30px;
    font-size: 14px;
}

/* end top menu */

/* end menu */


/* cart */
#little_cart {
    color: #000
}

/*    end cart     */

/*         catalog        */
.arrow_up_gray {
    float: left;
}

.arrow_down_gray {
    float: left
}

.arrow_up {
    float: left
}

.arrow_down {
    float: left
}


.path_arrow {
    margin: 0 5px
}

.items {
    margin-top: 50px;
}

.product {
    width: 43%;
    height: 320px;
    margin: 5px;
    padding: 10px 5px 10px 10px;
    border: 1px solid #84aa26;
    border-radius: 5px;
    background: #fff;
    display: inline-table;
}

.image {
    width: 100px;
}

.attr {
    float: right;
}

.property td {
    background: #fff;
    border-bottom: 1px solid #eee;
    text-align: left
}

.group_img {
    width: 100%;
    margin-bottom: 30px
}


.pages {
    width: 100%;
    text-align: center;
    font-weight: bold;
    letter-spacing: 10px;
}

.pages a {
    color: #000
}

.pages p {
    letter-spacing: 3px;
}

.current {
    font-size: 16px;
    color: #94bb37
}

/*       end catalog           */


/*   dealers    */

.dealers {
    list-style-type: none
}

.dealers li {
    margin-top: 16px;
}

.news_title img {
    position: relative;
    top: 13px;
}

.news_title {
    margin-top: 5px;
    padding-left: 30px;
}

.news_title2 {
    margin-top: 15px;
    padding-left: 40px;
    padding-top: 20px;
}

.news_title2 img {
    position: relative;
    top: -13px;
    margin-right: 11px
}


.tags a {
    font-size: 10px;
    color: #94bb37
}

.tags {
    text-align: center;
    color: #94bb37
}

.g_item {
    width: 45%;
    padding: 10px;
    border: 0px solid #999;
    display: inline-table;
}

.g_item:hover {
    background-color: #fff
}

.g_name {
    text-align: center;
    font-size: 16px;
    height: 50px;
}

.g_img {
    text-align: center;
}

.g_img img {
    width: 200px;
    border: 1px solid #999
}


/*     buttons    */

button, input[type='submit'], input[type='button'] {
    border: 0px solid #090;
    background: #84aa26;
    color: #fff;
    height: 30px;
    margin: 0;
    padding: 0px 10px;
    border-radius: 3px;
    cursor: pointer
}

button:hover, input[type='submit']:hover, input[type='button']:hover {
    background: #95bb37
}

.path {
    color: #95bb37
}

.path a {
    color: #84aa26
}

.action_title {
    text-align: center;
    font-weight: 300;
    font-family: Tahoma;
    font-size: 18px;
    text-transform: lowercase;
}


.top-sale__item {
    width: 100px;
    display: inline-table;
    text-align: canter;
    margin: 10px 10px;
}

.top-sale__item__header {
    height: 40px;
    text-align: center;
}

.top-sale__item__image {
    text-align: center;
}

.top-sale__item__image img {
    max-width: 100px;
    max-height: 200px;
}

.top-sale__item__price {
    text-align: center;
}

.top-sale__item__cart {
    display: inline-block;
    margin-left: 8px;
}

/*
** Main page block header
*/
.action_title {
    text-transform: uppercase;
    margin-bottom: 0;
}
