:root {
    --offt-yellow: #ffd600;
    --bg-main: #f8f8f8;
    --color-dark: #234;
    --middle-gray: #456;
    --color-light: #789;
}

a {
    color: var(--color-dark);
}

a:hover {
    color: #000;
}

html,
body {
    height: 100%;
}

body {
    background: var(--bg-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    margin-top: auto;
}

a.logo {
    height: 40px;
    width: 150px;
    display: block;
}

.logo img{
    height: 40px;
    width: 150px;
    display: block;
}


input[type="search"] {
    padding: 10px 14px;
}

form[role="search"] {
    position: relative;
}

form[role="search"] button {
    position: absolute;
    right: 10px;
    top: 10px;
    border: none;
    background: transparent;
    font-size: 24px;
    color: #ced4da;
    margin-right: 5px;
    transition: .3s;
}

form[role="search"] button:hover {
    color: #234;
}

.nav-phone {
    color: #000;
    font-weight: 600;
    font-size: 18px;
    margin-top: -3px;
}

.nav-whatsapp {
    color: var(--color-light);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .7px;
    text-decoration: none;
    display: block;
}


.aimmenu {
    position: relative;
}

.aimmenu>li {
    border: 1px solid #ccc;
    padding: 0;
}

.aimmenu>li.has-sub:hover {}

.aimmenu>li a {
    padding: .65rem 1rem;
    display: block;
    text-decoration: none;
    color: #234;
}

.aimmenu .is-sub {
    width: 600px;
    background: var(--middle-gray);
    position: absolute;
    display: none;
    color: #000;
    top: 0;
    z-index: 9;
    padding: 20px;
    border: 1px solid var(--bs-list-group-border-color);
    display: none;
}

.aimmenu :nth-child(odd) .is-sub {
    background: #cff;
}

.aimmenu .list-group-item {
    position: static;
}

.circle-instock, .circle-outofstock {
    height: 16px;
    width: 16px;
    background: #66cc00;
    display: inline-block;
    margin-right: 6px;
    border: 4px solid #dde9c7;
    border-radius: 50%;
    margin-bottom: -2px;
}

.circle-outofstock {
    background: #ccc;
}

.card.product h5 {
    height: 72px;
    overflow: hidden;
}

.hero-banner-form {
    z-index: 2;
    min-height: 300px;
}

.dropdown-toggle::after {
    content: none;
}


.user-widget button{
    position: relative;
    padding: 0 8px 0 45px;
    transition: .3s;
}

.user-widget button:hover{
    background: #fff;
}

.user-widget button.show{
    border: 1px dotted var(--color-light);
    background: #fff;
}

.user-widget .icon-user {
    font-size: 36px;
    position: absolute;
    left: 0;
    top: 4px;
}

.user-dropdown-description {
    font-size: 12px;
    color: var(--color-light);
    text-align: left;
    
}

.user-dropdown-name {
    color:#000;
    text-transform: uppercase;
    font-size: 18px;
    text-align: left;
    font-weight: 600;
}


.cart-widget a{
    text-decoration: none;
    color: #000;
    display: block;
    padding-left: 40px;
    position: relative;
}

.cart-widget .icon-cart {
    font-size: 36px;
    display: block;
    position: absolute;
    left: 0;
    top: 4px;
    width: 36px;
    padding: 0;
}

.services .icon{
    font-size: 30px;
}

.services h5 {
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
}

.services-card {
    border: 1px dotted #fff;
    display: block;
    padding: 20px 0;
    transition: .3s;
    text-decoration: none;
}
.services-card:hover {
    color: #000;
}

.services-card:hover {
    background: #fff;
    border-radius: 3px;
    border: 1px dotted var(--offt-yellow);
}

.services-description {
    margin-bottom: 0;
    color: var(--middle-gray);
}

.form-phone {
    padding: 10px 20px;
}

.excel-price {
    padding: .78rem 1rem!important;
    background: #f0e7d6;
}

.excel-price small {
    color: var(--color-light)
}

.product-list {
    clear: both;
}

.list-view h5{
    height: auto;
}


.list-view a img{
    width: 80px;
    filter: brightness(95%);
    margin: 10px;
}
.product a {
    text-decoration: none;
}

.list-view .product {
    width: 100%!important;
    margin-bottom: 0!important;
    display: flex;
    flex-direction: row;
}

.product-list.list-view .product-type-simple:last-child {
 margin-bottom: 40px!important;
}

.list-view .product .card {
    border-bottom: 1px dotted var(--color-light);
}

.list-view .product-cart {
    margin-bottom: 0!important;
}

.list-view .product-sku {
  display: inline;
}

.list-view .card-body {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.product .btn.btn-warning {
    width: 100%;
}

.list-view .product .btn.btn-warning {
    width: 140px;
    display: block;
}

.list-view .card.product h5 {
    height: auto;
    font-size: 1rem;
}

.list-view .card {
    border-bottom: 1px dotted #bbb!important;
}

.d-flex.justify-content-between {
    margin-bottom: 30px;
}


.list-view  .d-flex.justify-content-between {
    width: 230px;
    margin-bottom: 0;
}



.add_to_cart_button.loading::before {
    content: '';
    animation: spin 2s linear infinite;
    display:inline-block;
    border: 2px solid #000;
    border-bottom: none;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    opacity: .6;
}

.card-img-top {
  width: 100%;
  height: auto;
}

@media (min-width: 1400px) { 
    .card-img-top {
        width: 306px;
        height: 306px;
    }
}


@media (min-width: 768px) { /* md и выше */
  .h-md-100 {
    height: 100% !important;
  }
}

@media (max-width: 768px) { /* md и ниже */

  .hero-banner-form {
    margin-top: 70px;
  }
}

/* Layout for shop loop controls */
.shop-loop-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.shop-loop-top-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.shop-loop-top .woocommerce-result-count {
  margin-bottom: 0;
}

.woocommerce .woocommerce-ordering {
  margin-bottom: 0!important;
}

.woocommerce nav.woocommerce-pagination ul {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li span, .woocommerce nav.woocommerce-pagination ul li  a{
    padding: 12px 13px !important;
}

/* Use Bootstrap secondary color for pagination */
.pagination,
.woocommerce nav.woocommerce-pagination ul {
  --bs-pagination-color: var(--bs-secondary);
  --bs-pagination-hover-color: var(--bs-secondary);
  --bs-pagination-focus-color: var(--bs-secondary);
  --bs-pagination-active-bg: var(--bs-secondary);
  --bs-pagination-active-border-color: var(--bs-secondary);
  --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.25);
}

.related.products {
    clear: both;
}

.product-type-simple h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 30px;
}

.single-product .product_meta {
    opacity: .6;
}

.woocommerce-breadcrumb {
    margin-bottom: 30px!important;
}


