
.container-large {
    width: 100%;
    padding-right: 5px;
    padding-left: 5px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container-large {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container-large {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container-large {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container-large {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container-large {
        max-width: 1340px;
    }
}

/* === TOAST NOTIFICATIONS === */
#toast-container > div {
    top: 62px !important;
}

/* === NAVBAR === */
.navbar-toggle-new {
    border: 1px solid black;
    width: 100%;
    display: inline-block;
    height: 50px;
    background-color: #5d5b5b;
    text-align: center;
    padding: 15px;
    float: right;
}

.container > .navbar-header,
.container-fluid > .navbar-header,
.container > .navbar-collapse,
.container-fluid > .navbar-collapse {
    margin-right: -2px;
    margin-left: -2px;
}

.navbar {
    min-height: 20px;
    margin: 0;
}

.widget-slider-image .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    text-align: center;
    z-index: 10;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
}

.widget-slider-image .slide-caption h4 {
    margin: 0 0 5px;
    font-size: 18px;
}

.widget-slider-image .slide-caption p {
    margin: 0;
    font-size: 14px;
}


.widget-text-slider .slide-content {
    padding: 20px;
}

.widget-text-slider .slide-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.widget-text-slider .slide-text {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.widget-text-slider .slide-text p {
    margin-bottom: 15px;
}

.widget-text-slider .slide-button {
    margin-top: 20px;
    text-align: center;
}

.widget-text-slider .slide-more-link {
    display: inline-block;
    margin-top: 15px;
    color: #007aff;
    text-decoration: none;
    font-weight: 500;
}

/* === WIDGET PRODUCT SLIDER === */
.widget-product-slider .product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.widget-product-slider .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.widget-product-slider .product-image img {
    width: 100%;
    object-fit: cover;
}

.widget-product-slider .product-info {
    padding: 15px;
}

.widget-product-slider .product-title {
    font-size: 16px;
    margin-bottom: 10px;
}

.widget-product-slider .product-price {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}

/* === WIDGET CATEGORY SLIDER === */
.widget-category-slider .category-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
}

.widget-category-slider .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.widget-category-slider .category-image img {
    width: 100%;
    object-fit: cover;
}

.widget-category-slider .category-info {
    padding: 15px;
}

.widget-category-slider .category-title {
    font-size: 16px;
    margin-bottom: 10px;
}

.widget-category-slider .category-description {
    font-size: 14px;
    line-height: 1.5;
}

/* === WIDGET PROMOTIONS SLIDER === */
.widget-promotions-slider .promo-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.widget-promotions-slider .promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.widget-promotions-slider .promo-discount {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
    display: inline-block;
    background: #ffebee;
    padding: 4px 12px;
    border-radius: 20px;
}

.widget-promotions-slider .promo-date {
    font-size: 12px;
    margin-top: 8px;
    color: #888;
}

/* === WIDGET PAGES SLIDER === */
.widget-pages-slider .page-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.widget-pages-slider .page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.widget-pages-slider .page-date {
    font-size: 12px;
    margin-bottom: 8px;
    color: #888;
}

.widget-pages-slider .page-description {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

/* === WIDGET IMAGE === */
.widget-image img {
    width: 100%;
    object-fit: cover;
}

.widget-image .image-caption {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

/* === WIDGET VIDEO === */
.widget-video video,
.widget-video iframe {
    max-width: 100%;
    display: block;
}

/* === WIDGET MAP === */
.widget-map .map-address {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

/* === WIDGET BREADCRUMBS === */
.widget-breadcrumbs .breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 8px 15px;
}

.widget-breadcrumbs .breadcrumb-item a {
    text-decoration: none;
}

.widget-breadcrumbs .breadcrumb-item a:hover {
    text-decoration: underline;
}

/* === WIDGET SEARCH PRODUCTS === */
.widget-search-products {
    position: relative;
}

.widget-search-products .autocomplete-results {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 300px;
    overflow-y: auto;
    width: 100%;
    z-index: 1000;
}

.widget-search-products .autocomplete-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.widget-search-products .autocomplete-item:hover {
    background-color: #f5f5f5;
}

/* === WIDGET LOGIN FORM === */
.widget-login-form {
    max-width: 400px;
    margin: 0 auto;
}

.widget-login-form .btn-block {
    width: 100%;
}

.widget-login-form .form-links {
    margin-top: 15px;
    text-align: center;
}

/* === WIDGET CONTACT FORM === */
.widget-contact-form {
    max-width: 600px;
    margin: 0 auto;
}

/* === WIDGET HERO BLOCK === */
.widget-hero-block {
    position: relative;
}

.widget-hero-block .hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.widget-hero-block .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
}

.widget-hero-block .hero-name {
    margin-bottom: 10px;
}

.widget-hero-block .hero-title {
    margin-bottom: 15px;
}

.widget-hero-block .hero-divider {
    margin: 20px auto;
    border: none;
}

.widget-hero-block .hero-description {
    line-height: 1.6;
}

/* === WIDGET TEXT COLUMNS === */
.widget-text-one-column .text-content,
.widget-text-two-column .text-content,
.widget-text-three-column .text-content,
.widget-text-four-column .text-content {
    padding: 15px;
}

/* === WIDGET DELIMITER === */
.widget-delimiter .page-break-before {
    page-break-before: always;
}

.widget-delimiter .page-break-after {
    page-break-after: always;
}

/* === TILDA COVER STYLES === */
.container-fluid.t-cover {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.t-cover__filter {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* === PARALLAX === */
@media only screen and (max-device-width: 1366px) {
    .parallax {
        background-attachment: fixed;
    }
}

[data-parallax="scroll"] {
    background-attachment: fixed !important;
    transform: translateZ(0);
}

/* === PADDING & HEIGHT UTILITIES === */
.padding-0 {
    padding: 0 !important;
}

.padding-5 {
    padding: 5px !important;
}

.padding-10 {
    padding: 10px !important;
}

.padding-15 {
    padding: 15px !important;
}

.padding-20 {
    padding: 20px !important;
}

.padding-30 {
    padding: 30px !important;
}

.padding-40 {
    padding: 40px !important;
}

.padding-50 {
    padding: 50px !important;
}

.padding-60 {
    padding: 60px !important;
}

.padding-80 {
    padding: 80px !important;
}

.padding-100 {
    padding: 100px !important;
}

.height-0 {
    min-height: auto !important;
}

.height-25 {
    min-height: 25vh !important;
}

.height-50 {
    min-height: 50vh !important;
}

.height-75 {
    min-height: 75vh !important;
}

.height-100 {
    min-height: 100vh !important;
}

/* === UTILITY CLASSES === */
.hidden {
    visibility: hidden;
    display: none;
}



.border-around {
    border: 1px solid #cccccc;
}

.radio label,
.checkbox label {
    padding-left: 0 !important;
}

.cursor-pointer {
    cursor: pointer;
}

.full-width {
    width: 100%;
}

.vert-20 {
    height: 20px;
}

.vert-15 {
    height: 15px;
}

.vert-30 {
    height: 30px;
}


/* === IMAGE === */
.image {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 10px;
    transition: background-size .2s ease-in;
    -moz-transition: background-size .2s ease-in;
    -webkit-transition: background-size .2s ease-in;
}

/* === SELECT2 === */
.select2-container .select2-selection--single .select2-selection__rendered {
    margin-top: initial;
}

/* === SOCIAL ICONS === */
#social span {
    width: 30px;
    height: 30px;
    display: inline-block;
    background-image: url('/images/social.png');
    background-size: 95px;
}

#social span:hover {
    background-color: blue;
}

#social span a {
    display: inline-block;
    width: 20px;
    height: 20px;
}

#ok, #vk, #facebook {
    background-position: 0px -18px;
}

#twitter {
    background-position: 63px -18px;
}

#inst, #skype, #telegram {
    background-position: -159px -18px;
}

#youtube {
    background-position: -95px -46px;
}

#watsapp {
    background-position: -32px -46px;
}

#message {
    background-position: -64px -46px;
}

/* === TYPOGRAPHY === */
h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 5px;
}

.h1, h1 {
    font-weight: 700;
    font-size: 34px;
    line-height: 1.205882352941176;
    font-family: 'IBM Plex Sans', sans-serif;
    margin-bottom: 11px;
}

/* === DROPDOWN SUBMENU === */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    border-radius: 0 6px 6px 6px;
    min-width: 200px;
}

.dropdown-submenu .open > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu.open > a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    border-radius: 6px 0 6px 6px;
}

/* === CART COUNT === */
.site-cart-count {
    position: absolute;
    left: 20px;
    top: 7px;
    background: #fe1212;
    width: 22px;
    height: 22px;
    line-height: 24px;
    color: #222;
    font-size: 13px;
    border-radius: 50%;
    text-align: center;
}

/* === NAV LIST === */
.nav-list > li {
    position: relative;
    display: inline-block;
}

/* === SIZING HELPERS === */
.mw-100 {
    max-width: 100% !important;
}

.mh-100 {
    max-height: 100% !important;
}

.min-vw-100 {
    min-width: 100vw !important;
}

.min-vh-100 {
    min-height: 100vh !important;
}

.vw-100 {
    width: 100vw !important;
}

.vh-100 {
    height: 100vh !important;
}

/* === CARDS === */
.card {
    position: relative;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .5rem;
    border-radius: 0;
    height: 100%;
    margin-bottom: 10px;
}

.card:hover {
    box-shadow: 0px 2px 4px 0px #e4e4e4, 0px 0px 20px 0px rgba(0, 0, 0, 0.15);
    border-color: #fff;
    z-index: 20;
}

.card > hr {
    margin-right: 0;
    margin-left: 0;
}

.card-body {
    flex: 1 1 auto;
}

.card-title {
    word-break: break-word;
    overflow: hidden;
    height: 80px;
    margin-bottom: .75rem;
}

.card-text {
    word-break: break-all;
    overflow: hidden;
    height: 60px;
    margin-bottom: 0;
}

.card .image {
    min-height: 150px;
    transition: background-size 2s ease-in;
}

.card:hover .image {
    transform: scale(1.05);
}

.card-deck {
    display: flex;
    flex-direction: column;
}

.card-deck .card {
    margin-bottom: .75rem;
}

@media (min-width: 576px) {
    .card-deck {
        flex-flow: row wrap;
        margin-right: -.75rem;
        margin-left: -.75rem;
    }

    .card-deck .card {
        display: flex;
        flex: 1 0 0%;
        flex-direction: column;
        margin-right: .75rem;
        margin-bottom: 0;
        margin-left: .75rem;
    }
}

.card-group {
    display: flex;
    flex-direction: column;
}

.card-group > .card {
    margin-bottom: .75rem;
}

@media (min-width: 576px) {
    .card-group {
        flex-flow: row wrap;
    }

    .card-group > .card {
        flex: 1 0 0%;
        margin-bottom: 0;
    }

    .card-group > .card + .card {
        margin-left: 0;
        border-left: 0;
    }
}

.card-columns .card {
    margin-bottom: .75rem;
}

@media (min-width: 576px) {
    .card-columns {
        column-count: 3;
        column-gap: 1.25rem;
        orphans: 1;
        widows: 1;
    }
}

/* === BACKGROUND === */
.bg-contain {
    background-size: contain;
}

.bg-cover {
    background-size: cover;
}

/* === IMAGE TEXT === */
.image_name {
    margin: 10px;
    text-align: center;
    font-size: 30px;
}

.image_text {
    margin: 10px;
    text-align: center;
    font-size: 15px;
}

/* === PRODUCT DESCRIPTION === */
.product_description {
    max-height: 300px;
    min-height: 200px;
    overflow-y: scroll;
}

/* === LIGHT SLIDER === */
.light-slider li {
    list-style-type: none;
}

/* === MODAL === */
.modal-body {
    overflow: scroll;
}

/* === PAGINATION === */
.pagination {
    margin: 0;
}

.pagination > li > a,
.pagination > li > span {
    padding: 2px 8px;
}

/* === SIDEBAR MENU === */
.sidebar-menu > li > a {
    padding: 5px 5px 5px 10px;
    display: block;
}

@media (min-width: 768px) {
    .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > span {
        padding: 5px 5px 5px 10px;
    }
}

/* === DROPIMAGE === */
.dropImage {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 150px;
    background-color: #999;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.dropImage:hover {
    background-color: #666;
}

.dropImage button {
    display: inline-block;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.dropImage input[type='file'] {
    cursor: pointer;
    display: inline-block;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.dropImage input[type='text'] {
    display: none;
}

/* === WIDGET BUTTON === */
.wapperWigetButton {
    padding: 15px;
    font-size: xx-large;
}

/* === BREADCRUMB === */
.breadcrumb {
    margin-bottom: 0;
    padding: 3px 15px;
}

.breadcrumb > li {
    font-size: 12px;
    display: inline-block;
}

/* === CONTENT === */
#content {
    min-height: 800px;
}

/* === GRID SYSTEM OVERRIDES === */
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1,
.col-xs-2, .col-sm-2, .col-md-2, .col-lg-2,
.col-xs-3, .col-sm-3, .col-md-3, .col-lg-3,
.col-xs-4, .col-sm-4, .col-md-4, .col-lg-4,
.col-xs-5, .col-sm-5, .col-md-5, .col-lg-5,
.col-xs-6, .col-sm-6, .col-md-6, .col-lg-6,
.col-xs-7, .col-sm-7, .col-md-7, .col-lg-7,
.col-xs-8, .col-sm-8, .col-md-8, .col-lg-8,
.col-xs-9, .col-sm-9, .col-md-9, .col-lg-9,
.col-xs-10, .col-sm-10, .col-md-10, .col-lg-10,
.col-xs-11, .col-sm-11, .col-md-11, .col-lg-11,
.col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-right: 2px;
    padding-left: 2px;
}

.row {
    margin-right: -2px;
    margin-left: -2px;
}

/* === FORM CONTROLS & BUTTONS === */
.form-control {
    height: initial;
    padding: 2px 12px;
}

.btn {
    padding: 2px 12px;
}

.form-horizontal .form-group {
    margin: 0;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #bfbfbf;
}

/* === FIGURE === */
figure {
    width: 100%;
    float: left;
    height: 200px;
    margin: 0;
}

figure:first-child {
    margin-left: 0;
}

.edge {
    image-rendering: -moz-crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
    image-rendering: crisp-edges;
}

/* === GRID VIEWS === */
.grid-view-2-column {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
}

.grid-view-3-column {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
}

.grid-view-4-column {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25%, 1fr));
}

.grid-view-5-column {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
}

.grid-view-3-column-center-big {
    display: grid;
    grid-template-columns: 20% 60% 20%;
}

.grid-view-2-column > div,
.grid-view-3-column > div,
.grid-view-4-column > div {
    padding: 0px;
    flex: 1 1 auto;
}

@media (max-width: 768px) {
    .grid-view-2-column,
    .grid-view-3-column,
    .grid-view-4-column,
    .grid-view-3-column-center-big {
        grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
    }
}

@media (max-width: 400px) {
    .grid-view-2-column,
    .grid-view-3-column,
    .grid-view-4-column,
    .grid-view-3-column-center-big {
        grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
    }
}

/* === PRODUCT RELATION === */
.product_relation_header {
    background: #FD9F01;
    color: #FFF;
    clear: both;
}

/* === ADMIN MENU === */
#admin_menu {
    border-radius: 8px 0px 0px 8px;
    position: fixed;
    top: 50%;
    right: 0px;
    background-color: gray;
    padding: 5px;
    color: white;
    z-index: 200;
}

#admin_menu a,
#admin_menu a:hover {
    color: white;
}

/* === FLEX CENTER === */
.flex-c {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.i {
    z-index: 10;
    order: 0;
    flex: 0 0 auto;
    align-self: auto;
}

/* === CAROUSEL === */
.carousel-control {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 12%;
    font-size: 94px;
    color: #0a0a0a;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    background-color: rgba(0, 0, 0, 0);
    opacity: 0.5;
}

.carousel-indicators li {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 1px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #000;
    border: 1px solid #464343;
    border-radius: 10px;
}

/* === AUTH ICONS === */
.auth-icon.mailru {
    display: block;
    width: 32px;
    height: 32px;
    background: url(/images/mailru-128.webp) no-repeat;
    background-size: contain;
    border-radius: 3px;
    margin: 0 auto;
}

.auth-icon.okru {
    display: block;
    width: 32px;
    height: 32px;
    background: url(/images/ok.png) no-repeat;
    background-size: contain;
    border-radius: 3px;
    margin: 0 auto;
}

/* === FLEX CONTAINER === */
.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 0 auto;
    font-family: Montserrat, sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
}

.flex-item {
    order: auto;
    flex: 1 1 auto;
    align-self: center;
}

.flex-item-all {
    order: 1;
    flex: 1 1 auto;
    align-self: center;
}

/* === INLINE NAV === */
.inline.nav > .dropdown-menu {
    position: initial;
    float: none;
    border-radius: 0;
}

.inline.nav .open > .dropdown-menu {
    display: block;
    max-height: 500px;
    overflow-x: scroll;
}

.inline.nav .dropdown-menu {
    position: relative;
    float: none;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.inline.nav .dropdown-menu .dropdown-menu {
    position: initial;
    margin-left: 20px;
    display: block;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.dropdown-menu ul,
.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333333;
    white-space: nowrap;
}

.dropdown-menu li a:hover,
.dropdown-menu li a:focus {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}

/* === WIDGET SEARCH === */
.widgetSearch .header-search__form-control {
    background: #f7f8fb linear-gradient(transparent, transparent);
    border-color: #f7f8fb;
    padding: 0 50px 0 10px;
    font-size: 14px;
    line-height: 1.071428571428571;
}

.widgetSearch .header-search__form-icon {
    position: absolute;
    width: 40px;
    height: 44px;
    right: 3px;
    bottom: 0;
    background: 0 0;
    color: #979797;
    z-index: 5;
    background-image: url(search.svg);
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
}

.widgetSearch .form-control {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    background: #fff linear-gradient(transparent, transparent);
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 0;
    box-shadow: none;
    display: block;
    color: #000;
    height: 44px;
    width: 100%;
    padding: 10px 14px 0;
    transition: color .3s ease-in-out, background-color .3s ease-in-out, border-color .3s ease-in-out;
    position: relative;
}

.widgetSearch input.form-control {
    padding-top: 0px;
    padding-right: 50px;
}

.widgetSearch button {
    padding: 0px;
    border: none;
}

.widgetSearch form {
    position: relative;
}

/* === EDITOR ASIDE === */
.editor_aside {
    position: relative;
    min-height: 30px;
    border: 1px solid black;
}

/* === GRID VIEW IMAGE === */
.grid-view-image-column {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}

.grid-view-image-column > div {
    width: 150px;
    height: 150px;
}

.grid-view-image-column .img-thumbnail {
    margin: 0 auto;
    width: 130px !important;
    height: 130px !important;
}

.grid-view-image-column .card-text {
    display: none;
}

.grid-view-image-column h4 {
    display: inline-block;
    position: absolute;
    z-index: 500;
    top: 0px;
    width: 100%;
    background: #000000ab;
    left: 0px;
    line-height: 27px;
    color: white;
    height: 100%;
    margin: 0px;
    padding: 0px;
}

.grid-view-image-column h4 a {
    color: white;
}

/* === CART VIEWS === */
.cart-view-2-column {
    display: grid;
    grid-template-columns: 30% 70%;
}

.cart-view-3-column {
    display: grid;
    grid-template-columns: 25% 40% 25% 10%;
}

@media (max-width: 768px) {
    .cart-view-2-column {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
}

/* === PROMOTION === */
.primotionItem {
    font-family: Helvetica, Arial, sans-serif;
    background: #588fe5;
    display: block;
    color: #fff;
    position: relative;
    padding: 10px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    margin: 1px;
    text-decoration: none;
}

.primotionItem:hover {
    background-color: #739fe4;
}

.primotionItem:before {
    background: #fff;
    width: 10px;
    height: 10px;
    content: "";
    display: inline-block;
    border-radius: 20px;
    margin: 0 5px 0 0;
}

.promotion-div {
    display: inline-block;
    position: absolute;
    z-index: 100;
}

/* === SECTION TITLE === */
.section-title {
    position: relative;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.section-title b {
    display: block;
    flex: 1;
    height: 2px;
    background-color: currentColor;
}

.section-title-center span,
.section-title-bold-center span {
    text-align: center;
}

/* === FRONT THEME === */
#front a {
    color: #993342;
}

#front a:hover,
#front li a:hover {
    color: #661531;
}

#front .nav li a {
    background-color: #e4afcd;
}

#front .nav li a:hover {
    background-color: #EA9696FF;
}

#front .nav .open > a,
#front .nav .open > a:hover,
#front .nav .open > a:focus {
    background-color: #dc6caf;
}

#front h1, #front h2, #front h3, #front h4, #front h5 {
    color: #b72859;
}

#front .pagination > li > a,
#front .pagination > li > span {
    color: #b30404;
}

#front .pagination > li > a:hover,
#front .pagination > li > span:hover,
#front .pagination > li > a:focus,
#front .pagination > li > span:focus {
    color: #ff6d9f;
}

#front .pagination > .active > a,
#front .pagination > .active > span,
#front .pagination > .active > a:hover,
#front .pagination > .active > span:hover,
#front .pagination > .active > a:focus,
#front .pagination > .active > span:focus {
    background-color: #b73333;
    color: #fff;
}

#front p {
    color: #8b580f;
}

#front .btn-primary {
    background-color: #c3325f;
}

.btn-primary:hover,
#front .btn-primary:active:hover,
#front .btn-primary.active:hover,
#front .open > .dropdown-toggle.btn-primary:hover,
#front .btn-primary:active:focus,
#front .btn-primary.active:focus,
#front .open > .dropdown-toggle.btn-primary:focus,
#front .btn-primary:active.focus,
#front .btn-primary.active.focus,
#front .open > .dropdown-toggle.btn-primary.focus {
    background-color: #862642;
}

#front a.btn-primary,
#front .btn-primary {
    color: white;
}

#front .btn-primary:focus,
#front .btn-primary.focus {
    background-color: #862642;
}

#front .cart-button {
    background-color: #c3325f;
    color: white;
}

#front .totalQuantity {
    background-color: #c3325f;
    font-size: x-large;
    color: white;
}

/* === WRAPPER IMAGE === */
.wrapperImg {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 100px;
}

/* === WOW ANIMATION (Animate.css) === */
.wow {
    visibility: hidden;
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 768px) {

    .widget-hero-block .hero-title {
        font-size: 28px !important;
    }

    .widget-text-slider .slide-title {
        font-size: 20px;
    }

    .padding-30 {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .widget-hero-block .hero-title {
        font-size: 24px !important;
    }

    .widget-text-slider .slide-title {
        font-size: 18px;
    }

    .widget-product-slider .product-title {
        font-size: 14px;
    }
}
.container-fluid {
    padding-right: 2px;
    padding-left: 2px;
    margin-right: auto;
    margin-left: auto;
}
/* ===== Cart Item ===== */
.cart-item {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
    margin-bottom: 16px;
}

.cart-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cart-item__inner {
    position: relative;
    padding: 20px 24px;
}

/* Remove button */
.cart-item__remove {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: #adb5bd;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.cart-item__remove:hover {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.08);
}

/* Body */
.cart-item__body {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Image */
.cart-item__image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Info */
.cart-item__info {
    flex: 1;
    min-width: 0;
}

.cart-item__title {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.cart-item__title:hover {
    color: #0d6efd;
    text-decoration: underline;
}

/* Props */
.cart-item__props {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.cart-item__prop {
    font-size: 12px;
    color: #6c757d;
    background: #f1f3f5;
    padding: 2px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Meta row */
.cart-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-top: 6px;
}

/* Price */
.cart-item__price {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
}

/* Quantity */
.cart-item__quantity {
    flex-shrink: 0;
}

.cart-item__form {
    margin: 0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    background: #f1f3f5;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: border-color 0.2s ease;
}

.quantity-selector:focus-within {
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.15);
}

.quantity-selector__btn {
    background: transparent;
    border: none;
    color: #495057;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 14px;
    padding: 0;
}

.quantity-selector__btn:hover {
    background: #e9ecef;
    color: #0d6efd;
}

.quantity-selector__btn:active {
    transform: scale(0.92);
}

.quantity-selector__input {
    width: 48px;
    height: 36px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    padding: 0;
    outline: none;
    -moz-appearance: textfield;
}

.quantity-selector__input::-webkit-outer-spin-button,
.quantity-selector__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Total */
.cart-item__total {
    text-align: right;
    margin-left: auto;
}

.cart-item__total-label {
    font-size: 13px;
    color: #6c757d;
    display: block;
}

.cart-item__total-price {
    font-size: 20px;
    font-weight: 700;
    color: #0d6efd;
}

/* ===== Адаптивность ===== */
@media (max-width: 768px) {
    .cart-item__inner {
        padding: 16px;
    }

    .cart-item__body {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-item__image {
        width: 100%;
        height: 160px;
        max-width: 200px;
        margin: 0 auto;
    }

    .cart-item__meta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cart-item__total {
        text-align: left;
        margin-left: 0;
    }

    .cart-item__title {
        font-size: 15px;
    }

    .cart-item__price {
        font-size: 16px;
    }

    .cart-item__total-price {
        font-size: 18px;
    }

    .cart-item__remove {
        top: 8px;
        right: 12px;
    }
}

@media (max-width: 480px) {
    .cart-item__image {
        height: 140px;
        max-width: 140px;
    }

    .quantity-selector__input {
        width: 40px;
        font-size: 14px;
    }

    .quantity-selector__btn {
        width: 32px;
        height: 32px;
    }
}
/* ===== CART ITEM ENHANCEMENTS ===== */
.cart-item-row {
    transition: background 0.2s ease;
    border-radius: 8px;
    padding: 10px 0;
}

.cart-item-row:hover {
    background: #fafafa;
}

.cart-item-image {
    border-radius: 8px;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: #f8f9fa !important;
}

.cart-item-title {
    color: #212529;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.2s ease;
}

.cart-item-title:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.cart-item-props .label {
    font-size: 11px;
    padding: 4px 10px;
    background-color: #f1f3f5;
    color: #495057;
    border-radius: 20px;
    font-weight: 400;
    display: inline-block;
}

.item-price {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    margin: 0;
}

.item-total-price {
    font-size: 20px;
    font-weight: 700;
    color: #0d6efd;
    margin: 0;
}

/* Quantity controls */
.quantity-control .btn-outline-secondary {
    border-color: #ced4da;
    color: #495057;
    background: #fff;
    transition: all 0.15s ease;
    padding: 4px 10px;
    font-size: 12px;
    line-height: 1.5;
}

.quantity-control .btn-outline-secondary:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #0d6efd;
}

.quantity-control .btn-outline-secondary:active {
    transform: scale(0.95);
}

.quantity-control .quantity-input {
    width: 60px;
    text-align: center;
    border-radius: 0;
    padding: 4px 0;
    height: 31px;
    font-size: 14px;
    font-weight: 600;
    border-left: none;
    border-right: none;
    -moz-appearance: textfield;
}

.quantity-control .quantity-input::-webkit-outer-spin-button,
.quantity-control .quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-control .quantity-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.15);
    z-index: 2;
}

/* Remove button enhancement */
.remove-from-cart {
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.remove-from-cart:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .cart-item-row {
        padding: 10px 0;
    }

    .cart-item-row .row > div[class*="col-"] {
        padding: 4px 0;
    }

    .quantity-control {
        flex-wrap: nowrap;
    }

    .item-price,
    .item-total-price {
        font-size: 16px;
    }

    .cart-item-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .quantity-control .quantity-input {
        width: 50px;
        font-size: 13px;
    }

    .quantity-control .btn-outline-secondary {
        padding: 3px 8px;
        font-size: 11px;
    }

    .cart-item-props .label {
        font-size: 10px;
        padding: 2px 8px;
        margin: 1px 2px 1px 0;
    }
}

/* Fix for label margins in props */
.cart-item-props .label:last-child {
    margin-right: 0;
}

/* Fix for cart quantity form */
.cart-quantity-form {
    margin: 0;
}

/* Fix for grid in cart */
.cart-item-row .row {
    margin-right: -2px;
    margin-left: -2px;
}

.cart-item-row .row > [class*="col-"] {
    padding-right: 2px;
    padding-left: 2px;
}


/* ==================== ПРЕЛОАДЕР ДЛЯ БЛОКА "ИТОГО" И КНОПКИ ==================== */

.checkout-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.checkout-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
    border-radius: 4px;
}

.checkout-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #e0e0e0;
    border-top-color: #0d6efd;
    border-radius: 50%;
    animation: checkout-spinner 0.8s linear infinite;
    z-index: 11;
}

@keyframes checkout-spinner {
    to { transform: rotate(360deg); }
}

/* Для кнопки "Оформить заказ" */
.checkout-actions {
    position: relative;
}

.checkout-actions.checkout-loading {
    pointer-events: none;
}

.checkout-actions.checkout-loading .btn {
    opacity: 0.5;
}

/* Для блока "Итого" */
#checkout-summary-panel.checkout-loading {
    pointer-events: none;
}

#checkout-summary-panel.checkout-loading::after {
    background: rgba(255, 255, 255, 0.85);
}