/*Вывод на главной категорий в соотношении 1к1*/
.category-default1 figure {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.category img {
    background: white;
}
/*********************************************/

/*Вывод на главной в товара в соотношении 1к1*/
.product-media img:first-child {
    object-fit: contain;
    aspect-ratio: 1 / 1;
}

.product-media img {
    padding: 10px;
}

/* Product card image swap on hover (if secondary image exists) */
.product-media.product-media-hover-swap > a {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.product-media.product-media-hover-swap .product-main-image,
.product-media.product-media-hover-swap .product-swap-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    box-sizing: border-box;
    transition: opacity 0.25s ease;
}
.product-media.product-media-hover-swap .product-swap-image {
    opacity: 0;
    pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
    .product:hover .product-media.product-media-hover-swap .product-main-image {
        opacity: 0;
    }
    .product:hover .product-media.product-media-hover-swap .product-swap-image {
        opacity: 1;
    }
}
/*********************************************/

/* Align service slider icons vertically center with their text */
/* .service-slider .icon-box-icon{
	margin: 1rem 1rem .2rem .2rem;
} */

.service-slider .owl-item:not(:last-child)::after {
    content: none !important;
}

.service-slider .icon-box-icon {
    color: #4f4f4f !important;
}

.hb_index .owl-stage {
    display: flex;
    align-items: center;
}

.hb_index .icon-box i::before {
    margin-left: 10px;
}

.hb_index .icon-box-content {
    padding-right: 10px;
}

/* Featured brands carousel */
.brands-wrapper {
    padding-top: 12px;
    padding-bottom: 12px;
}

.brands-wrapper .owl-carousel .owl-stage {
    display: flex;
    align-items: center;
}

.brands-wrapper figure {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    margin: 0;
    padding: 12px 10px;
}

.brands-wrapper figure img {
    max-height: 60px;
    max-width: 100%;
    width: auto !important;
    object-fit: contain;
    /* filter: grayscale(100%); */
    opacity: 0.8;
    transition:
        filter 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

.brands-wrapper figure img:hover {
    /* filter: grayscale(0); */
    opacity: 1;
    transform: translateY(-2px);
}

/* Recently viewed carousel */
.recent-view-slider .owl-stage {
    display: flex;
    align-items: center;
}
.recent-view-slider .product {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e1e1e1;
    transition: border-color 0.2s ease;
}
.recent-view-slider .product:hover {
    border-color: var(--shop-primary);
}
.recent-view-slider .product .product-name {
    font-size: 1.2rem;
}
.recent-view-slider .product .product-name,
.recent-view-slider .product .product-name a {
    line-height: 1.2;
    min-height: 2.4em;
}
.recent-view-slider .product .product-price .price,
.recent-view-slider .product .product-price .new-price,
.recent-view-slider .product .product-price .old-price {
    font-size: 1.3rem;
}
.recent-view-slider .product .product-availability {
    font-size: 1.1rem;
}
@media (min-width: 992px) {
    .recent-view-slider .product .product-price {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
        line-height: 1.3;
        min-height: 4.2rem;
    }

    .recent-view-slider .product .product-price .old-price {
        order: -1;
        display: block;
        margin: 0;
    }

    .recent-view-slider .product .product-price .new-price,
    .recent-view-slider .product .product-price .price {
        display: block;
    }
}
@media (max-width: 767px) {
    .viewed-products-block {
        padding-bottom: 2.4rem;
    }

    .viewed-products-block .recent-view-slider {
        margin-bottom: 0 !important;
    }
}

/* Home store-about: tame oversized rich-text headings from admin content */
.store-about-description h1,
.store-about-description h2,
.store-about-description h3 {
    font-size: clamp(2rem, 2.8vw, 3rem);
    line-height: 1.35;
    margin: 0 0 1.2rem;
    font-weight: 600;
}

.store-about-description p {
    font-size: 1.5rem;
    line-height: 1.55;
    margin: 0 0 1.2rem;
}

.store-about-description strong {
    font-weight: 600;
}

@media (max-width: 767px) {
    .viewed-products-title {
        padding-left: 15px;
        padding-right: 15px;
    }

    .viewed-products-block .recent-view-slider {
        padding-left: 15px;
    }

    .store-about-description h1,
    .store-about-description h2,
    .store-about-description h3 {
        font-size: 2.2rem;
    }

    .store-about-description p {
        font-size: 1.45rem;
    }
}

.product-with-qty .btn-cart i {
    display: inline-block !important;
}

/* Compact icon-only cart button (used in viewed products) */
.product-with-qty .btn-cart.btn-cart-icon-only,
.btn-cart.btn-cart-icon-only {
    min-width: 3.5rem !important;
    max-width: 3.5rem !important;
    padding: 0.55rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc !important;
    height: 3.6rem !important;
}
.btn-cart.btn-cart-icon-only i {
    margin: 0 !important;
}

.btn-product.btn-cart.disabled,
.btn-product.btn-cart[disabled],
.btn-product.btn-cart[aria-disabled="true"] {
    pointer-events: none;
    opacity: 0.5;
}

/* Product page (mobile tap): keep add-to-cart button in primary color, not sticky hover gray. */
.single-product .product-form .btn-cart:not(:disabled):hover,
.single-product .product-form .btn-cart:not(:disabled):focus,
.single-product .product-form .btn-cart:not(:disabled):active {
    background-color: var(--shop-primary);
    border-color: var(--shop-primary);
    color: #fff;
}

.product-warehouse .warehouse-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.single-product .product-details .product-form.product-warehouse {
    display: block;
}

.single-product .product-details .product-form.product-warehouse > label {
    display: block;
    margin: 0 0 12px;
}

.single-product .product-details .product-form.product-warehouse .product-form-group {
    display: block;
    width: 100%;
}

.product-specs-list {
    margin: 0 auto;
    padding: 0;
    width: min(100%, 920px);
    border: 1px solid #e7e9ef;
    border-radius: 1.2rem;
    overflow: hidden;
    background: #fff;
}

#product-tab-additional > .mt-6 {
    display: flex;
    justify-content: center;
}

#product-tab-additional .product-specs-list {
    width: min(100%, 920px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.product-specs-list .product-specs-item {
    display: grid;
    grid-template-columns: minmax(190px, 320px) minmax(140px, 260px);
    justify-content: center;
    gap: 1.8rem;
    align-items: start;
    text-align: center;
    margin: 0;
    padding: 1.2rem 1.6rem;
    border-bottom: 1px solid #edf0f4;
}

.product-specs-list .product-specs-item:last-child {
    border-bottom: 0;
}

.product-specs-list .product-specs-item:nth-child(even) {
    background: #fafbfd;
}

.product-specs-list .product-specs-name {
    color: #5f6672;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.product-specs-list .product-specs-value {
    color: #1f2430;
    line-height: 1.4;
    text-align: center;
    word-break: break-word;
}

@media (max-width: 767px) {
    #product-tab-additional > .mt-6 {
        display: block;
    }

    .product-specs-list {
        width: 100%;
    }

    .product-specs-list .product-specs-item {
        grid-template-columns: minmax(120px, 1fr) minmax(100px, 1fr);
        justify-content: center;
        gap: 1rem;
        padding: 1.1rem 1.2rem;
    }

    .product-specs-list .product-specs-name {
        text-align: left;
    }

    .product-specs-list .product-specs-value {
        text-align: right;
    }
}

.product-warehouse .warehouse-option {
    border: 1px solid #d9dde7;
    background: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    min-width: 190px;
    text-align: left;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.product-warehouse .warehouse-option__name {
    display: block;
    font-size: 1.6rem;
    color: #222;
    font-weight: 600;
    line-height: 1.2;
}

.product-warehouse .warehouse-option__name small {
    font-size: 1.3rem;
    color: #7b7f87;
    font-weight: 400;
}

.product-warehouse .warehouse-option__meta {
    display: block;
    margin-top: 2px;
    font-size: 1.2rem;
    color: #6a7280;
}

.product-warehouse .warehouse-option.is-active {
    border-color: var(--shop-primary);
    box-shadow: 0 0 0 2px rgba(70, 106, 184, 0.15);
    background-color: #f7faff;
}

.product-warehouse .warehouse-option[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Brand page: breathing room between menu and brand logo */
.brand-hero {
    margin-top: 20px;
}

/* Header: keep bottom border visible across pages */
.header-bottom {
    border-bottom: 1px solid #f5f5f5;
    background: var(--shop-header-menu-bg, var(--shop-primary));
    color: var(--shop-header-menu-text, #fff);
}

/* Dropdowns (filters/sort) font size tweak */
.toolbox select.form-control,
.toolbox .select-box select {
    font-size: 1.3rem;
}

/* Rating stars for product review form */
.rating-input {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 0.15rem;
    align-items: center;
}
.rating-input input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}
.rating-input input[type="radio"] + label {
    padding-left: 0.1rem !important;
    margin-left: 0;
    display: block;
}
.rating-input label {
    font-size: 1.6rem;
    color: #d1d5db;
    cursor: pointer;
    line-height: 1;
    display: block;
}
.rating-input input[type="radio"] + label::before,
.rating-input input[type="radio"] + label::after {
    display: none !important;
    content: none !important;
}
.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input[type="radio"]:checked ~ label {
    color: var(--shop-primary, #f4b400);
}

/* Review votes */
.review-votes {
    color: #bcbcbc !important;
}
.review-votes i,
.review-votes span,
.review-votes .btn-link {
    color: inherit !important;
}

.review-errors {
    margin-bottom: 1.2rem;
    color: #dc3545;
}

.review-errors,
.review-errors *,
.review-errors li::marker {
    color: #dc3545 !important;
    opacity: 1;
}

.review-errors li {
    font-size: 1.3rem;
    line-height: 1.45;
}

.review-errors__title {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.review-errors__list {
    margin: 0;
    padding-left: 1.8rem;
}

.review-errors__list li {
    list-style: disc;
    margin-bottom: 0.3rem;
}

.review-image-errors {
    margin-top: 0.8rem;
    font-size: 1.3rem;
    line-height: 1.4;
    color: #dc3545;
}

.review-image-errors > div + div {
    margin-top: 0.2rem;
}

.review-rating-error {
    margin: 0.6rem 0 1.2rem;
    font-size: 1.3rem;
    line-height: 1.35;
}

.reply .rating-form.is-invalid .rating-input {
    padding: 0.4rem 0.6rem;
    border: 1px solid #dc3545;
    border-radius: 1rem;
}

.product-tabs #product-tab-reviews .alert.alert-success {
    background: var(--shop-primary) !important;
    border: 1px solid var(--shop-primary) !important;
    color: var(--shop-header-category-dropdown-text, #ffffff) !important;
    border-radius: 2.6rem !important;
}

.review-success-toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1200;
    max-width: min(56rem, calc(100vw - 3rem));
    padding: 1.2rem 2rem;
    border-radius: 2.6rem;
    background: var(--shop-primary);
    border: 1px solid var(--shop-primary);
    color: var(--shop-header-category-dropdown-text, #ffffff);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.45;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.review-success-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 767px) {
    .review-success-toast {
        left: 1.2rem;
        right: 1.2rem;
        top: 1.2rem;
        max-width: none;
    }
}

/* Mobile: use full width without side gutters */
@media (max-width: 767px) {
    body {
        background: #fff;
    }

    .page-wrapper {
        max-width: none;
        margin: 0;
        box-shadow: none;
    }

    .page-wrapper > * {
        padding-left: 0;
        padding-right: 0;
    }

    .container,
    .header .container,
    .main .container,
    .footer .container {
        max-width: 100% !important;
        padding-left: 0;
        padding-right: 0;
    }

    .mobile-menu a {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .toolbox .toolbox-left {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .toolbox .mobile-sort {
        margin-left: 12px;
        flex: 1 1 auto;
        display: flex;
        justify-content: flex-end;
    }

    .toolbox .mobile-sort select.form-control {
        min-width: 220px;
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    .home .grey-section .intro-wrapper {
        width: auto;
        margin-left: -15px;
        margin-right: -15px;
        padding-top: 0 !important;
    }

    .home .grey-section,
    .home .page-content {
        overflow-x: clip;
    }

    .home .grey-section .intro-wrapper > [class*='col-'] {
        padding-left: 0;
        padding-right: 0;
    }

    .home .grey-section .intro-wrapper .intro-slide.banner-radius {
        border-radius: 0;
    }
}

@media (min-width: 992px) {
    .home .grey-section {
        margin-top: 3rem;
    }
}

/* Review card styling */
.review-card {
    list-style: none;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 0 8px 16px 8px;
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}
.review-title-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.review-meta {
    font-size: 1rem;
    margin-top: -8px !important;
}
.review-meta-block {
    display: block;
}
.review-rating {
    margin-top: 0;
}
.review-rating-left {
    margin-top: 4px;
}
.review-rating-inline {
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    float: none !important;
}
.review-card .comment-rating,
.review-card .ratings-container {
    float: none !important;
    display: inline-flex;
    align-items: center;
    margin: 0 0 0 8px;
}
.review-card .review-header > .ratings-container {
    display: none !important;
}
.review-rating-inline .ratings-full {
    margin-top: 0;
    float: none !important;
}
.review-card > .ratings-container,
.review-card > .rating-reviews {
    display: none !important;
}
.review-rating-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.review-rating-inline-mobile {
    display: none;
}
.review-head-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.review-meta-block {
    display: block;
}
.review-date {
    font-size: 1.3rem;
}
.review-image-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}
.review-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}
.review-photo-upload {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #e1e4e8;
    border-radius: 14px;
    background: #f8fafc;
}
.review-photo-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.review-photo-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7dce2;
    border-radius: 14px;
    background: #fff;
    color: #9aa4b5;
    font-size: 22px;
}
.review-photo-text {
    flex: 1 1 220px;
    min-width: 220px;
}
.review-photo-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 4px;
}
.review-photo-hint {
    font-size: 1.35rem;
    color: #6f757d;
    line-height: 1.4;
}
.review-photo-cta {
    border-radius: 14px;
    padding: 12px 18px;
    background: #f1f3f6;
    color: #2f6db0;
    border: 1px solid #e1e4e8;
    font-weight: 700;
    white-space: nowrap;
}
.review-photo-cta:hover {
    background: #e6eaef;
    color: #2f6db0;
}
@media (max-width: 575px) {
    .review-card {
        margin: 0 0 12px;
        padding: 14px 14px 12px;
        border-radius: 14px;
    }

    .review-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 10px;
        margin-bottom: 10px;
    }

    .review-header .d-flex {
        min-width: 0;
        align-items: flex-start;
        gap: 10px;
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .review-header .comment-media {
        margin-right: 0 !important;
        flex: 0 0 36px;
        max-width: 36px;
    }

    .review-header .comment-media img {
        width: 36px;
        height: 36px;
        object-fit: cover;
        border-radius: 50%;
    }

    .review-title-row h4 {
        font-size: 1.6rem;
        line-height: 1.2;
        margin: 0;
        word-break: break-word;
    }

    .review-rating-inline {
        display: inline-flex;
        align-items: center;
        line-height: 1;
        margin-top: 2px;
    }

    .review-rating-inline .ratings-full {
        margin: 0 !important;
        line-height: 1;
        transform: none;
    }

    .review-rating-inline .ratings {
        top: 0;
        line-height: 1;
    }

    .review-meta {
        margin-top: 0 !important;
        font-size: 1.3rem;
        line-height: 1.35;
        color: #6b7280;
    }

    .review-date {
        font-size: 1.25rem;
        line-height: 1.25;
        text-align: right;
        white-space: nowrap;
    }

    .review-rating-inline-desktop {
        display: none !important;
    }

    .review-head-side {
        grid-column: 2;
        grid-row: 1;
        gap: 2px;
    }

    .review-rating-inline-mobile {
        display: inline-flex !important;
        margin-top: 0;
    }

    .review-card .comment-content p {
        margin-bottom: 10px;
        font-size: 1.3rem;
        line-height: 1.45;
        color: #3f3f46;
        word-break: break-word;
    }

    .review-card .comment-content p strong {
        color: #2f2f2f;
        margin-right: 4px;
    }

    .review-images {
        margin-top: 2px !important;
    }

    .review-actions {
        margin-top: 8px;
    }

    .review-photo-upload {
        align-items: flex-start;
    }
    .review-photo-cta {
        width: 100%;
        text-align: center;
    }
}
.header-bottom .header-left,
.header-bottom .header-right,
.header-bottom .category-dropdown,
.header-bottom .main-nav {
    background: var(--shop-header-menu-bg, var(--shop-primary));
}
.header-bottom .category-dropdown,
.header-bottom .category-dropdown > a {
    background: var(
        --shop-header-category-dropdown-bg,
        var(--shop-header-menu-bg, var(--shop-primary))
    );
}
.header-bottom .category-dropdown {
    background: transparent;
}
.header-bottom .category-dropdown > a {
    border-radius: 2.5rem;
}
.header-bottom a,
.header-bottom i {
    color: var(--shop-header-menu-text, #fff);
}
.header-bottom .category-dropdown > a,
.header-bottom .category-dropdown > a i {
    color: var(
        --shop-header-category-dropdown-text,
        var(--shop-header-menu-text, #fff)
    );
}
.header-bottom a:hover {
    opacity: 0.85;
}
.header-bottom .main-nav > .menu {
    justify-content: flex-start;
}
.header-bottom .main-nav > .menu > li {
    text-align: left;
}
.header-bottom .main-nav > .menu > li > a {
    color: var(--shop-header-menu-text, #fff) !important;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 1.3rem 0;
    line-height: 1;
    letter-spacing: inherit;
    display: inline-block;
    text-transform: none;
}
.header-bottom .main-nav > .menu > li.active > a,
.header-bottom .main-nav > .menu > li > a:hover {
    color: var(--shop-header-menu-text, #fff) !important;
}
.header-bottom .menu-active-underline > li > a::before {
    background: var(--shop-header-menu-text, #fff);
    left: 0;
    right: auto;
    width: 100%;
    transform-origin: left center;
}

/* Price filter slider: use brand color */
.noUi-handle {
    background: var(--shop-primary) !important;
    border-color: var(--shop-primary) !important;
}

.shop-sidebar .noUi-target {
    margin-left: 1.4rem !important;
    margin-right: 1.4rem !important;
}

.shop-category .category-active-filters {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin: 1.2rem 0 1.8rem;
}

.shop-category .category-found-count {
    flex: 0 0 auto;
    font-size: 1.6rem;
    color: #222;
    white-space: nowrap;
}

.shop-category .category-filter-chips {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
}

.shop-category .category-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.5rem;
    border: 1px solid #cfd2d9;
    border-radius: 999px;
    color: #222;
    background: #fff;
    white-space: nowrap;
    line-height: 1;
}

.shop-category .category-filter-chip i {
    font-size: 1.1rem;
    opacity: 0.8;
}

.shop-category .category-filter-chip-clear {
    font-weight: 600;
}

@media (max-width: 991px) {
    .shop-category .category-active-filters {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.9rem;
    }

    .shop-category .category-filter-chips {
        width: 100%;
    }
}

/* Contact form styling */
.contact-section .form-control {
    border-radius: 2.4rem !important;
}
.contact-section textarea.form-control {
    min-height: 16rem;
}
.contact-section .form-control:focus {
    border-radius: 2.4rem !important;
}
.contact-section .contact-info-box {
    border-radius: 2.4rem;
}
.header-bottom .menu-active-underline > li.active > a::before {
    transform: scale(1, 1);
}
.header-bottom .dropdown-box,
.header-bottom .dropdown-box a,
.header-bottom .dropdown-box i {
    color: #222;
    opacity: 1;
}
.header-bottom.sticky-header.fix-top.sticky-content.d-lg-show {
    border-bottom-color: transparent;
    border: none;
}
.header-bottom.sticky-content.fixed {
    background: var(--shop-header-menu-bg, var(--shop-primary));
}
.header-bottom.sticky-content.fixed .header-left,
.header-bottom.sticky-content.fixed .header-right,
.header-bottom.sticky-content.fixed .category-dropdown,
.header-bottom.sticky-content.fixed .main-nav {
    background: var(--shop-header-menu-bg, var(--shop-primary));
}
.header-bottom.sticky-content.fixed .category-dropdown,
.header-bottom.sticky-content.fixed .category-dropdown > a {
    background: var(
        --shop-header-category-dropdown-bg,
        var(--shop-header-menu-bg, var(--shop-primary))
    );
}
.header-bottom.sticky-content.fixed .category-dropdown {
    background: transparent;
}
.header-bottom.sticky-content.fixed .category-dropdown > a {
    border-radius: 2.5rem;
}
.header-bottom.sticky-header.fix-top.sticky-content.d-lg-show
    .category-dropdown
    > a,
.header-bottom.sticky-header.fix-top.sticky-content.d-lg-show
    .category-dropdown
    > a
    i {
    color: var(
        --shop-header-category-dropdown-text,
        var(--shop-header-menu-text, #fff)
    );
}
.header-bottom.sticky-header.fix-top.sticky-content.d-lg-show
    .category-dropdown
    > a {
    background: var(
        --shop-header-category-dropdown-bg,
        var(--shop-header-menu-bg, var(--shop-primary))
    );
}
.header-bottom.sticky-header.fix-top.sticky-content.d-lg-show
    .category-dropdown
    .dropdown-box,
.header-bottom.sticky-header.fix-top.sticky-content.d-lg-show
    .category-dropdown
    .dropdown-box
    a,
.header-bottom.sticky-header.fix-top.sticky-content.d-lg-show
    .category-dropdown
    .dropdown-box
    i {
    color: #222;
}

/* Header search: pill radius */
.header-search .input-wrapper,
.header-search .form-control,
.header-search .btn-search {
    border-radius: 2.5rem;
}
.header-search.hs-expanded .input-wrapper {
    width: 100%;
    border: 2px solid var(--shop-primary);
    border-radius: 2.5rem;
    height: 4.5rem;
}
.header-search .btn-search i {
    margin: 0 0.1rem 0.4rem 0;
    vertical-align: middle;
    font-size: 1.7rem;
}
.header-search.hs-expanded {
    position: relative;
}
.header-search-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.6rem);
    z-index: 30;
    max-height: 34rem;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 1.6rem;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
}
.header-search-suggestions__item {
    display: block;
    padding: 1rem 1.6rem;
    color: #222;
    transition: background-color 0.2s ease;
}
.header-search-suggestions__item + .header-search-suggestions__item {
    border-top: 1px solid #f2f2f2;
}
.header-search-suggestions__item:hover {
    background-color: #f8f9fb;
}
.header-search-suggestions__title {
    display: block;
    font-size: 1.4rem;
    line-height: 1.4;
}
.header-search-suggestions__sku {
    display: block;
    margin-top: 0.2rem;
    font-size: 1.2rem;
    color: #6b7280;
}
.header-search-suggestions__state {
    padding: 1.2rem 1.6rem;
    color: #6b7280;
    font-size: 1.3rem;
}

/* Password visibility toggle (eye icon) */
.password-field {
    position: relative;
}
.password-field .form-control {
    padding-right: 3.6rem;
}
.password-field .password-toggle {
    position: absolute;
    top: 50%;
    right: 1.2rem;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    padding: 0;
    line-height: 1;
    color: #999;
    cursor: pointer;
}

/* Blog pages: narrower content width */
.blog .page-content .container,
.blog-post .page-content .container,
.news .page-content .container,
.news-post .page-content .container {
    max-width: 1220px;
}

/* Home blog carousel: normalize card media height */
.home-blog-section .post-media {
    height: 220px;
    overflow: hidden;
}

.home-blog-section .post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Home news carousel: normalize card media height */
.home-news-section .post-media {
    height: 220px;
    overflow: hidden;
}

.home-news-section .post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Related posts: normalize media height */
.blog-post .related-posts .post-media {
    height: 220px;
    overflow: hidden;
}

.blog-post .related-posts .post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-post .related-posts .post-media {
    height: 220px;
    overflow: hidden;
}

.news-post .related-posts .post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Blog titles: match requested size/weight */
.home-blog-section .post-title,
.home-news-section .post-title,
.blog .post-title,
.blog-post .post-title,
.news .post-title,
.news-post .post-title {
    font-size: 1.6rem;
    font-weight: 600;
}

/* Static pages: narrower content width */
.page-static .page-content .container {
    max-width: 1220px;
}
.password-field .password-toggle:focus {
    outline: none;
}

/* Auth social icons: ensure Font Awesome brand font is used */
.social-links .social-link.fab {
    font-family: "Font Awesome 5 Brands";
    font-weight: 400;
}
.login-popup .social-link.social-google::before,
.login-popup .social-link.social-apple::before {
    font-family: "Font Awesome 5 Brands" !important;
    font-weight: 400;
    display: inline-block;
    line-height: 1;
}
.login-popup .social-link.social-google::before {
    content: "\f1a0";
}
.login-popup .social-link.social-apple::before {
    content: "\f179";
}

/* Account: underline active left menu item */
.main.account .nav-tabs .nav-link.active {
    text-decoration: underline;
    text-underline-offset: 6px;
}

/* Select: add right padding so arrow isn't flush */
select.form-control:not([multiple]):not([size]) {
    padding-right: 5rem;
    background-position: right 2.1rem center;
}

.wishlist-toggle-form {
    display: inline-block;
    margin: 0;
}

.compare-toggle-form {
    display: inline-block;
    margin: 0;
}

.wishlist-toggle-form .btn-product-icon {
    padding: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.compare-toggle-form .btn-product-icon {
    padding: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.wishlist-toggle-form .btn-product-icon::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.compare-toggle-form .btn-product-icon::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* Variations: show unavailable options as disabled */
.product-variations .disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.product-action-vertical .wishlist-toggle-form .btn-product-icon {
    width: 3.6rem;
    height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #e1e1e1;
    color: #999;
    border-radius: 50% !important;
}

.product-action-vertical .compare-toggle-form .btn-product-icon {
    width: 3.6rem;
    height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #e1e1e1;
    color: #999;
    border-radius: 50% !important;
}

.product-action-vertical .btn-product-icon.btn-wishlist i {
    font-size: 1.8rem;
}

.product-action-vertical .btn-product-icon.btn-compare i {
    font-size: 1.8rem;
}

.product-action-vertical .wishlist-toggle-form {
    display: block;
}

.product-action-vertical .compare-toggle-form {
    display: block;
}

.btn-compare.added {
    color: var(--shop-primary);
}

.header .wishlist {
    position: relative;
}

.header .compare {
    position: relative;
}

.header .wishlist .wishlist-count {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: var(--shop-primary);
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
}

.header .compare .compare-count {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: var(--shop-primary);
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
}

/* Wishlist table: add visual spacing between price and stock columns */
.wishlist-table th.product-stock-status,
.wishlist-table td.product-stock-status {
    padding-left: 24px;
}

.compare-page .compare-page-head .title {
    font-size: 2.8rem;
}

.compare-page .compare-page-subtitle {
    color: #666;
}

.compare-only-diff__label {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 1.6rem;
    color: #333;
    user-select: none;
}

.compare-only-diff__label input[type='checkbox'] {
    appearance: auto;
    -webkit-appearance: checkbox;
    width: 1.8rem;
    height: 1.8rem;
    min-width: 1.8rem;
    border: 1px solid #b9b9b9;
    border-radius: 2px;
    background: #fff;
    cursor: pointer;
}

.compare-group {
    padding: 2.2rem;
    border: 1px solid #ececec;
    border-radius: 1.2rem;
    background: #fff;
}

.compare-group__title {
    font-size: 2rem;
}

.compare-group__hint {
    color: #777;
    font-size: 1.4rem;
}

.compare-matrix-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.6rem;
}

.compare-matrix {
    display: grid;
    grid-template-columns: 220px repeat(var(--compare-columns), minmax(240px, 1fr));
    min-width: max-content;
    border: 1px solid #e8e8e8;
    border-radius: 1rem;
    overflow: hidden;
}

.compare-cell {
    border-right: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
    background: #fff;
}

.compare-matrix > .compare-cell:nth-last-child(-n + calc(1 + var(--compare-columns))) {
    border-bottom: 0;
}

.compare-matrix > .compare-cell:nth-child(n) {
    min-width: 0;
}

.compare-cell-feature {
    background: #f7f8fa;
    font-weight: 600;
    color: #333;
    padding: 1.4rem 1.6rem;
    position: sticky;
    left: 0;
    z-index: 3;
}

.compare-cell-feature-head {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.compare-cell-product {
    padding: 1.2rem 1.2rem 1.6rem;
}

.compare-cell-value {
    padding: 1.4rem 1.6rem;
    color: #333;
}

.compare-value-inner {
    width: 280px;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
}

.compare-home-card-wrap {
    position: relative;
    width: 280px;
    margin: 0 auto;
}

.compare-product-remove {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 5;
}

.compare-remove-btn {
    border: 0;
    background: #f5f5f5;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    color: #666;
}

.compare-home-card.product {
    margin-bottom: 0;
}

.compare-value-empty {
    color: #999;
}

@media (max-width: 767px) {
    .compare-group {
        padding: 1.4rem;
    }

    .compare-matrix {
        grid-template-columns: 170px repeat(var(--compare-columns), minmax(196px, 1fr));
    }

    .compare-home-card-wrap {
        width: 240px;
    }

    .compare-value-inner {
        width: 240px;
    }

    .compare-cell-feature,
    .compare-cell-value {
        padding: 1rem 1.1rem;
    }
}

/* Contacts: map should stretch full width, even for fixed-size embeds */
.contact-map-full {
    padding: 0;
}

.contact-map-full iframe {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* Contacts: keep padding inside the info block */
.contact-info-box {
    padding: 2.4rem;
}

.recent-view-slider .product-border {
    background: #fff;
    border-radius: 10px;
    /*border: 1px solid #efefef;*/
    /*box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);*/
    padding: 14px;
    margin: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recent-view-slider .product-border img {
    width: 100%;
    height: 155px;
    object-fit: contain;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.recent-view-slider a:hover .product-border img {
    transform: translateY(-2px);
}

/* Home main banner: keep image inside banner block ratio */
.intro-wrapper .intro-slide > figure {
    width: 100%;
    height: 498px;
    max-height: 498px;
    overflow: hidden;
}

.intro-wrapper .intro-slide > figure > img {
    width: 100% !important;
    height: 100% !important;
    max-height: 498px;
    min-height: 0 !important;
    object-fit: cover;
}

@media (min-width: 992px) {
    .intro-wrapper .intro-slide1 .banner-content {
        max-width: 70rem;
    }
}

.intro-wrapper .intro-slide .banner-content {
    position: absolute;
    z-index: 2;
    padding: 2.2rem 2.6rem;
    border-radius: 1.8rem;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.72) 0%,
        rgba(255, 255, 255, 0.54) 45%,
        rgba(255, 255, 255, 0.28) 100%
    );
    /* backdrop-filter: blur(6px); */
    /* -webkit-backdrop-filter: blur(6px); */
    box-shadow: 0 14px 36px rgba(19, 33, 68, 0.16);
}

.intro-wrapper .intro-slide .banner-title,
.intro-wrapper .intro-slide p {
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* Fix small home banners to consistent height */
.intro-wrapper .intro-banner img {
    height: 239px !important;
    object-fit: cover;
}

/* Deals page: 3-grid banners fixed height (180px) */
.deals-grid-banners .banner,
.deals-grid-banners .banner > figure,
.deals-grid-banners .banner > figure > img {
    height: 180px !important;
}

.deals-grid-banners .banner > figure {
    overflow: hidden;
}

.deals-grid-banners .banner > figure > img {
    width: 100% !important;
    object-fit: cover;
}

/* Site width: almost full width with a small gutter on both sides */
.container {
    max-width: none;
    width: min(1600px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

/* Product page: constrain gallery images */
.product-gallery .product-image {
    height: 452px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery .product-main-img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
}

.product-thumbs .product-thumb-img {
    height: 122px;
    width: 109px;
    max-width: 100%;
    max-height: 122px;
    object-fit: contain;
    background: #fff;
    display: block;
    margin: 0 auto;
}

.product-thumbs .product-thumb {
    width: 109px;
    height: 122px;
    display: inline-flex;
    /* align-items: center; */
    justify-content: center;
}

/* Single product gallery: rounded main image and thumbnails */
.single-product .product-gallery .product-image {
    border-radius: 2.6rem;
    overflow: hidden;
}
.single-product .product-gallery .product-image img {
    border-radius: inherit;
}
.single-product .product-thumbs .product-thumb {
    border-radius: 1.4rem;
}
.single-product .product-thumbs .product-thumb-img {
    border-radius: inherit;
}
.single-product .product-thumbs .owl-item.active .product-thumb {
    border-radius: 1.4rem;
}

@media (max-width: 991px) {
    /* .product-gallery .product-image {
		height: auto;
	} */
    .product-thumbs .product-thumb {
        width: 100%;
        height: 100px;
    }
    .product-thumbs .product-thumb-img {
        width: 100%;
        height: auto;
        max-height: none;
    }
}

/* Product cards: allow two-line titles before truncation */
.product .product-name,
.product .product-name a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    line-height: 1.4;
    min-height: 2.8em;
    padding-right: 0;
}

.product-card-mobile-title {
    display: none;
    font-size: 1.4rem;
    line-height: 1.4;
    color: #333;
    margin-bottom: 0.6rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

@media (max-width: 991px) {
    .product-card-mobile-title {
        display: -webkit-box;
    }
}
.product.cart-full:hover {
    border-color: var(--shop-primary);
}

/* Product card image rounding */
.product.product-vertical .product-media {
    border-radius: 2.6rem;
    overflow: hidden;
}
.product.product-vertical .product-media > a {
    display: block;
    border-radius: inherit;
    overflow: hidden;
}
.product.product-vertical .product-media img {
    border-radius: inherit;
}

/* Touch devices: avoid iOS double-tap caused by hover state on product card */
@media (hover: none) and (pointer: coarse) {
    .product.cart-full:hover {
        border-color: #eee;
    }
    .product.cart-full:active {
        border-color: var(--shop-primary);
    }
    .product.cart-full .product-action-vertical {
        display: none !important;
    }
    .product.cart-full .product-media > a,
    .product.cart-full .product-name > a,
    .product.cart-full form[data-cart-add] .btn-cart {
        touch-action: manipulation;
    }
}

/* Product availability: force status colors in card and product page */
.product-availability .text-success {
    color: #28a745 !important;
}
.product-availability .text-danger {
    color: #dc3545 !important;
}
.product-availability .text-warning,
.product-availability .text-warning i {
    color: #ff9602 !important;
}
.product-availability .text-info {
    color: #17a2b8 !important;
}
.product-availability .text-secondary {
    color: #6c757d !important;
}
.product-availability {
    margin-bottom: 1rem;
}

/* Category grid: fit 4 cards without shrinking the sidebar */
@media (min-width: 1200px) {
    .shop-category.search-results .search-results-title {
        margin-top: 1.6rem;
        margin-bottom: 2.4rem;
        font-size: 3.4rem;
        line-height: 1.2;
    }

    .shop-category .product-wrapper {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2rem;
    }
    .shop-category .product-wrapper > * {
        max-width: 100%;
        flex: 0 0 auto;
        padding: 0;
    }

    .shop-category.search-results .product-wrapper {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1199px) {
    .shop-category.search-results .search-results-title {
        margin-top: 1.2rem;
        margin-bottom: 2rem;
        font-size: 3rem;
        line-height: 1.2;
    }
}

@media (max-width: 991px) {
    .shop-category .product-wrapper > * {
        padding-left: 0px;
        padding-right: 0px;
    }
    .product.cart-full .product-details {
        padding: 0.3rem 1rem 0rem 1rem;
    }

    .recent-view-slider .product.cart-full .product-details {
        padding-bottom: 1.2rem;
    }

    .product .product-price {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        line-height: 1.46;
    }

    .product .product-price .old-price {
        order: -1;
    }
    .product.cart-full .product-price {
        min-height: 5.2rem;
        align-content: flex-start;
    }
    .product.cart-full .product-price,
    .product.product-with-qty .product-details .product-price {
        margin-bottom: 0.2rem;
    }
    .product.cart-full .ratings-container {
        margin-bottom: 0rem;
    }
    .product.cart-full {
        border-radius: 1.3rem;
    }
    .product-gallery .product-image {
        height: 350px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Product with qty (from style.min.css23323): keep qty + cart inline */
.product.product-with-qty .product-action {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
}
.product.product-with-qty .product-action .product-form {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}
.product.product-with-qty .product-form-group {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    margin-right: 2rem;
}
.product.product-with-qty:not(.product-single) .btn-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    margin-right: 0;
    background-color: #f4f4f4;
    border-color: #e1e1e1;
    color: #222;
}
.product .btn-cart,
.product-single .btn-cart {
    border-radius: 2.5rem;
}
.product.product-with-qty:not(.product-single) .btn-cart i {
    display: none;
}
.product.cart-full.product-with-qty:hover .btn-cart:not(:hover) {
    background-color: var(--shop-primary);
    border-color: var(--shop-primary);
    color: #fff;
}

/* Category grid: allow wrapping so the button doesn't overflow */
.main-content .product.product-with-qty .product-action {
    flex-wrap: wrap;
    gap: 0.8rem;
}
.main-content .product.product-with-qty .product-form-group {
    margin-right: 0;
}
.main-content .product.product-with-qty .btn-cart {
    max-width: 100%;
}
.product.product-with-qty .product-quantity,
.product.product-with-qty .product-form-group {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
}
.product.product-with-qty .product-form-group .input-group {
    display: flex;
    align-items: center;
}
.product.product-with-qty button,
.product.product-with-qty .quantity-minus,
.product.product-with-qty .quantity-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #333;
    font-size: 1rem;
    width: 24px;
    height: 24px;
    border-radius: 0.3rem;
    border: none;
    background: #f4f4f4;
    cursor: pointer;
    transition:
        background-color 0.3s,
        color 0.3s;
}
.product.product-with-qty button:hover,
.product.product-with-qty .quantity-minus:hover,
.product.product-with-qty .quantity-plus:hover {
    background-color: var(--shop-primary);
    color: #fff;
}
.product.product-with-qty .quantity {
    min-height: auto;
    width: 3.2rem;
    padding: 0;
    font-weight: 700;
    font-size: 1.2rem;
    border: none;
    text-align: center;
    color: #222;
}
.product-single .input-group.mr-2,
.product-single .input-group.mr-2 .quantity,
.product-single .input-group.mr-2 .quantity-minus,
.product-single .input-group.mr-2 .quantity-plus {
    border: none;
    box-shadow: none;
}
/* .product-single .product-form .input-group .quantity-minus,
.product-single .product-form .input-group .quantity-plus {
	background-color: var(--shop-primary);
	border-color: var(--shop-primary);
	color: #fff;
} */
.product-single .product-form .input-group .quantity-minus:disabled,
.product-single .product-form .input-group .quantity-plus:disabled {
    background-color: #e4eaec;
    border-color: #e4eaec;
    color: #999;
}
.cart-full .product-details .btn-cart span {
    display: inline;
}
.cart-full .btn-cart i {
    display: none;
}

/* Advantages list scroll when more than 3 */
.advantages-list {
    max-height: 360px;
    overflow-y: auto;
    padding-right: 6px;
}

@font-face {
    font-family: "Raleway";
    src: url("../fonts/Raleway/Raleway-VariableFont_wght.ttf")
        format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Курсив */
@font-face {
    font-family: "Raleway";
    src: url("../fonts/Raleway/Raleway-Italic-VariableFont_wght.ttf")
        format("truetype");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* Use Raleway for the shop (targeted override to avoid breaking icon fonts) */
@supports (font-variation-settings: normal) {
    html.market,
    body.market,
    .home.market,
    body.home.market,
    .home.market.loaded,
    body.home.market.loaded,
    .market .page-wrapper,
    .market h1,
    .market h2,
    .market h3,
    .market h4,
    .market h5,
    .market h6,
    .market p,
    .market a,
    .market span,
    .market button,
    .market input,
    .market select,
    .market textarea,
    .market label {
        font-family: "Raleway", sans-serif !important;
        font-variant-numeric: lining-nums;
        font-feature-settings: "lnum" 1;
    }
}

/* Restore icon fonts overridden by global font-family rules */
.market .fab {
    font-family: "Font Awesome 5 Brands" !important;
}
.market .fas,
.market .far {
    font-family: "Font Awesome 5 Free" !important;
}
.market [class^="d-icon-"],
.market [class*=" d-icon-"] {
    font-family: "riode" !important;
}

/* Product price styling: keep new/old prices on the same font as .price and make the old price smaller */
.product-price .old-price.price,
.product-price .new-price.price {
    font-family: "Raleway", sans-serif !important;
    /* display: block;
	line-height: 1.2; */
}
.product-price .new-price.price {
    color: var(--shop-primary);
}
.product-price .old-price.price {
    font-size: 0.7em !important;
    /* margin-bottom: 0.2rem; */
}

/* Keep product cards the same height even when optional price lines appear */
/* .product .product-price {
	min-height: 3.6rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
    align-items: flex-start;
} */

/* Ensure cart icon shows on product cards (theme hides it for product-with-qty) */

/* Order: colored status badge */
.order-status {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    border: 1px solid transparent;
}

.order-status--new {
    color: #4b5563;
    background: #f3f4f6;
    border-color: #e5e7eb;
}

.order-status--processing {
    color: #92400e;
    background: #fffbeb;
    border-color: #fcd34d;
}

.order-status--paid,
.order-status--completed {
    color: #065f46;
    background: #ecfdf5;
    border-color: #6ee7b7;
}

.order-status--shipped {
    color: #1e3a8a;
    background: #eff6ff;
    border-color: #93c5fd;
}

.order-status--canceled {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}
.main.checkout .col-lg-7.mb-6.mb-lg-0.pr-lg-4 .form-control {
    color: #222 !important;
    border-radius: 1rem;
}
.main.checkout .checkout-section {
    background: #fff;
    border: 1px solid #e7ebf3;
    border-radius: 1.6rem;
    padding: 1.8rem 1.8rem 1.4rem;
    margin-bottom: 1.6rem;
}
.main.checkout .checkout-section__title {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.2rem;
}
.main.checkout .checkout-section__title i {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    background: var(--shop-primary);
}
.main.checkout .checkout-section .form-control {
    background: #fff;
}
@media (max-width: 767px) {
    .main.checkout .checkout-section {
        border-radius: 1.2rem;
        padding: 1.4rem 1.2rem 1rem;
        margin-bottom: 1.2rem;
    }
    .main.checkout .checkout-section__title {
        font-size: 1.6rem;
        margin-bottom: 0.9rem;
    }
}
.main.checkout .col-lg-7.mb-6.mb-lg-0.pr-lg-4 .form-control::placeholder,
.main.checkout
    .col-lg-7.mb-6.mb-lg-0.pr-lg-4
    .form-control::-webkit-input-placeholder,
.main.checkout
    .col-lg-7.mb-6.mb-lg-0.pr-lg-4
    .form-control:-ms-input-placeholder,
.main.checkout
    .col-lg-7.mb-6.mb-lg-0.pr-lg-4
    .form-control::-ms-input-placeholder {
    color: #222 !important;
    border-radius: 1rem;
}
.main.checkout .select-with-icon {
    display: flex;
    gap: 12px;
}
.main.checkout .select-with-icon .select-box {
    flex: 1 1 auto;
    width: 100%;
}
.main.checkout .select-with-icon .select-box {
    height: 4.1rem;
}

/* extra right padding for selects in account forms */
.main.account select.form-control {
    padding-right: 2.75rem;
}

/* Mini-cart empty state: vertically centered while keeping left alignment */
.mini-cart-empty {
    display: flex;
    align-items: center;
    min-height: 8rem;
}
.mini-cart-empty p {
    margin-bottom: 0;
}
.main.checkout .select-with-icon .select-icon-wrap {
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
}
.main.checkout .select-with-icon .select-icon {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: none;
}

/* Product description: keep rich-editor tables readable */
.product-description table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}
.product-description th,
.product-description td {
    border: 1px solid #d9d9d9;
    padding: 0.9rem 1rem;
    text-align: left;
    vertical-align: top;
}
.product-description thead th {
    background: #f7f7f7;
    font-weight: 600;
}

/* Category filters: add breathing room below price slider */
.shop-sidebar .filter-price-slider {
    margin-bottom: 1.2rem;
}

/* Mobile category filter: enforce true modal behavior */
@media (max-width: 991px) {
    body.sidebar-active {
        overflow: hidden;
    }

    body.sidebar-active .shop-sidebar .sidebar-overlay {
        position: fixed;
        inset: 0;
        z-index: 4000;
        background: rgba(17, 21, 29, 0.55);
        pointer-events: auto;
    }

    body.sidebar-active .shop-sidebar .sidebar-content {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(82vw, 36rem);
        max-width: 36rem;
        z-index: 4001;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #fff;
        pointer-events: auto;
    }

    body.sidebar-active .shop-sidebar .sidebar-close {
        position: fixed;
        top: 1.6rem;
        right: 1.6rem;
        z-index: 4002;
    }

    body.sidebar-active #js-category-main {
        pointer-events: none;
    }
}

/* Category filters: desktop scroll only when sidebar is expanded */
@media (min-width: 992px) {
    .shop-category #js-category-sidebar:not(.closed) .sticky-sidebar {
        max-height: calc(100vh - 180px);
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 6px;
        scrollbar-width: none;
    }

    .shop-category #js-category-sidebar:not(.closed) .filter-actions {
        position: static !important;
        top: auto !important;
        z-index: auto !important;
    }

    .shop-category #js-category-sidebar:not(.closed) .sidebar-toggle-btn {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin: 0 !important;
    }

    .shop-category #js-category-sidebar:not(.closed) .sticky-sidebar::-webkit-scrollbar {
        width: 0;
    }

    .shop-category #js-category-sidebar:not(.closed) .sticky-sidebar::-webkit-scrollbar-thumb {
        background: rgba(67, 67, 67, 0.2);
        border-radius: 5px;
    }

    .shop-category #js-category-sidebar:not(.closed) .sticky-sidebar:hover {
        scrollbar-width: thin;
    }

    .shop-category #js-category-sidebar:not(.closed) .sticky-sidebar:hover::-webkit-scrollbar {
        width: 5px;
    }
}

/* Rich text headings: keep h2/h3 readable in category/product descriptions */
.product-description h2,
.category-description h2 {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 2rem 0 1rem;
}
.product-description h3,
.category-description h3 {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 1.6rem 0 0.8rem;
}

/* Header: hide dropdown arrow when only one currency or language */
.header-top .dropdown.is-single > a::after {
    display: none !important;
}
.header-top .dropdown.is-single > a {
    padding-right: 0;
}

.sidebar-toggle {
    color: #999999 !important;
    background-color: rgb(246 246 246) !important;
}

/* Mobile: make main content full width */
@media (max-width: 767px) {
    .page-content > .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .main .container,
    .main .container-fluid {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .product .product-sku {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .product.product-with-qty .product-form-group .input-group {
        display: none;
    }

    .product .product-action .btn-cart span {
        display: inline;
    }

    /* Product cards (mobile): qty left + icon-only cart button right */
    .product.cart-full.product-with-qty .product-form-group {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        gap: 0.8rem;
        margin-right: 0;
    }
    .product.cart-full.product-with-qty .product-form-group .input-group {
        display: inline-flex;
        align-items: center;
        margin-right: 0.8rem;
    }
    .product.cart-full.product-with-qty .product-action {
        justify-content: flex-end;
    }
    .product.cart-full.product-with-qty .product-action .product-form {
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
    .product.cart-full .product-action .btn-cart {
        width: 3.8rem;
        min-width: 3.8rem;
        max-width: 3.8rem;
        height: 3.8rem;
        padding: 0;
        margin-left: auto;
        border-radius: 1rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: var(--shop-primary);
        border-color: var(--shop-primary);
        color: #fff;
    }
    .product.cart-full .product-action .btn-cart:hover,
    .product.cart-full .product-action .btn-cart:focus {
        background-color: var(--shop-primary);
        border-color: var(--shop-primary);
        color: #fff;
    }
    .product.cart-full:hover .product-action .btn-cart {
        background-color: var(--shop-primary);
        border-color: var(--shop-primary);
        color: #fff;
    }
    .product.cart-full .product-action .btn-cart span {
        display: none;
    }
    .product.cart-full .product-action .btn-cart i {
        margin: 0;
        line-height: 1;
    }

    .product .product-details .product-meta.d-lg-none {
        display: flex;
        gap: 0.4rem;
        align-items: baseline;
    }
    .product .product-details .product-meta.d-lg-none .product-sku {
        white-space: nowrap;
    }

    .header-middle {
        padding-top: 1.9rem;
        padding-bottom: 1.9rem;
    }
    .header-middle.is-sticky {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1100;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    }
}

/* Account orders: keep first column readable on desktop */
@media (min-width: 768px) {
    .main.account #orders .order-table th:first-child,
    .main.account #orders .order-table td:first-child {
        min-width: 160px;
        white-space: nowrap;
    }
    .main.account #orders .order-table thead th,
    .main.account #orders .order-table tbody td {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .main.account #orders .order-table th.pl-2 {
        padding-left: 2rem !important;
    }
    .main.account #orders .order-table th.pr-2 {
        padding-right: 2rem !important;
    }
}

/* Category dropdown: subtle shadow for menu panel */
.category-dropdown .dropdown-box {
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

/* Mega menu: keep category titles in original case */
.megamenu .menu-title,
.megamenu .menu-title > a,
.megamenu a.menu-title {
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Mega menu: shrink panel width for small column counts */
.category-dropdown .dropdown-box {
    background: transparent !important;
}
.category-dropdown .category-menu {
    background: #fff;
}
.category-menu .megamenu {
    background: #fff;
}
.category-menu .megamenu .divider {
    display: block;
    width: 100%;
    height: 1px;
    margin: 0;
    background-color: #eee;
}
.category-menu .megamenu .menu-title,
.category-menu .megamenu .menu-title > a {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1;
    margin: 0;
    padding: 2.7rem 0 0.2rem;
    text-transform: none;
    letter-spacing: normal;
}
.category-menu .megamenu.type2 .menu-title,
.category-menu .megamenu.type2 .menu-title > a {
    padding-top: 1.5rem;
}
.category-menu .megamenu.type2 {
    min-width: calc(var(--mega-cols, 4) * 260px) !important;
    width: calc(var(--mega-cols, 4) * 260px) !important;
    max-width: 100%;
}
.category-menu .megamenu ul {
    padding: 0;
    font-size: 1.3rem;
    line-height: 1.2;
    letter-spacing: 0;
}
.category-menu .megamenu ul li {
    padding: 0;
}
.category-menu .megamenu ul li a {
    padding: 0.7rem 0;
}

/* Category dropdown: wider panel + readable long names */
@media (min-width: 992px) {
    .header-bottom .category-dropdown {
        width: 36rem;
    }

    .header-bottom .category-dropdown .dropdown-box {
        width: 36rem;
        min-width: 36rem;
    }

    .header-bottom .category-dropdown .category-menu > li > a {
        display: flex;
        align-items: center;
        white-space: normal;
        line-height: 1.35;
        min-height: 5rem;
        padding: 1rem 3.2rem 1rem 2rem;
    }

    .header-bottom .category-dropdown .category-menu > li > a > span {
        display: block;
        overflow-wrap: anywhere;
    }

    .header-bottom .category-dropdown .category-menu > li.submenu > a::after {
        right: 1.4rem;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* account select padding tweak */
.main.account select.form-control {
    padding-right: 3.5rem !important;
}

/* Keep first-screen content visible for Lighthouse/LCP measurement. */
.page-wrapper {
    opacity: 1 !important;
}

/* Accessibility: improve text contrast for reported low-contrast elements */
.cart-dropdown .dropdown-box .btn-close {
    color: #111827 !important;
}

.cart-dropdown .dropdown-box .btn-close:hover,
.cart-dropdown .dropdown-box .btn-close:focus {
    color: #000000 !important;
}

/* Offcanvas mini-cart: keep footer visible and make product list scrollable */
.cart-dropdown.cart-offcanvas .dropdown-box {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
}

.cart-dropdown.cart-offcanvas [data-mini-cart] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.cart-dropdown.cart-offcanvas [data-mini-cart] .products {
    height: 100%;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
}

.cart-dropdown.cart-offcanvas .product.product-cart {
    padding-right: 0.8rem;
}

.cart-dropdown.cart-offcanvas .product.product-cart .btn-close {
    right: 0;
}

.home-blog-section .post-comment,
.home-news-section .post-comment,
.post .post-comment {
    color: #374151 !important;
}

.checkout [data-error] {
    display: block;
    font-size: 13px;
    margin-top: 6px;
    color: #dc3545;
}

.checkout .is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 1px rgba(220, 53, 69, 0.15);
}

/* Checkout errors: theme sets alert-danger text equal to background */
.checkout .alert.alert-danger {
    color: #ffffff;
}

.checkout .alert.alert-danger a {
    color: #ffffff;
    text-decoration: underline;
}

/* Checkout warning: ensure readable contrast for multi-shipment notice */
.checkout .alert.alert-warning {
    background-color: var(--shop-primary) !important;
    border-color: var(--shop-primary) !important;
    color: var(--shop-header-category-dropdown-text, #ffffff) !important;
}

.checkout .alert.alert-warning a {
    color: var(--shop-header-category-dropdown-text, #ffffff) !important;
    text-decoration: underline;
}

/* Cart warning uses site primary/text colors too */
.cart .alert.alert-warning {
    background-color: var(--shop-primary) !important;
    border-color: var(--shop-primary) !important;
    color: var(--shop-header-category-dropdown-text, #ffffff) !important;
}

.cart .alert.alert-warning a {
    color: var(--shop-header-category-dropdown-text, #ffffff) !important;
    text-decoration: underline;
}

/* Checkout: progress to free delivery */
.checkout-free-delivery-hint {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.4rem;
    padding: 1.4rem 1.6rem;
    border: 1px solid #e4c77c;
    border-radius: 1.8rem;
    background: #f6edd6;
    color: #2d2d2d;
}

.checkout-free-delivery-hint__icon {
    width: 2.6rem;
    height: 2.6rem;
    border: 2px solid #d7ad2f;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c69400;
    flex: 0 0 auto;
}

.checkout-free-delivery-hint__text {
    flex: 1;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}

.checkout .checkout-do-not-call {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.2rem 0 1.6rem;
}

.checkout .checkout-do-not-call .form-control-label {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
}

@media (max-width: 767px) {
    .checkout-free-delivery-hint {
        margin-bottom: 1rem;
        padding: 1.1rem 1.2rem;
        border-radius: 1.3rem;
    }

    .checkout-free-delivery-hint__text {
        font-size: 1.4rem;
    }
}

/* Checkout summary: grouped warehouse headings should stay left-aligned and compact */
.checkout .order-table .warehouse-group-row .warehouse-group-cell {
    text-align: left !important;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    line-height: 1.4;
}

.checkout .order-table .warehouse-group-title {
    display: inline-flex;
    align-items: baseline;
    gap: 1.2rem;
    font-size: 1.9rem;
    font-weight: 700;
    color: #222;
}

.checkout .order-table .warehouse-group-count {
    font-size: 1.5rem;
    font-weight: 500;
    color: #666;
}

.checkout .order-table .order-item-qty-inline {
    white-space: nowrap;
}

/* Checkout totals: consistent font and no currency wrapping */
.checkout .order-table .summary-subtitle,
.checkout .order-table .summary-subtotal-price,
.checkout .order-table .summary-total-price {
    font-family: Raleway, sans-serif;
}

.checkout .order-table .summary-subtotal-price,
.checkout .order-table .summary-total-price {
    white-space: nowrap;
}

/* Remove divider under the final total row ("Разом") */
.checkout .order-table .summary-total {
    border-bottom: none;
}

/* Cart summary: remove divider under the final total row ("Разом") */
.cart .summary .summary-total {
    border-bottom: none;
}

/* Home products section: keep category column height stable when there are many subcategories */
.home .category-wrapper {
    min-height: 0;
}

.home .category-wrapper .home-category-children-list {
    max-height: 42rem;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
    scrollbar-width: none;
}

.home .category-wrapper .home-category-children-list::-webkit-scrollbar {
    width: 0;
}

.home .category-wrapper .home-category-children-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

.home .category-wrapper .home-category-children-list:hover,
.home .category-wrapper .home-category-children-list:focus-within {
    scrollbar-width: thin;
}

.home .category-wrapper .home-category-children-list:hover::-webkit-scrollbar,
.home .category-wrapper .home-category-children-list:focus-within::-webkit-scrollbar {
    width: 5px;
}

@media (max-width: 991px) {
    .home .category-wrapper .home-category-children-list {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
}

/* Footer owner badge */
.footer-bottom .footer-right {
    padding-right: 90px;
}

.footer-bottom .footer-right .footer-owner-image {
    display: block;
    max-height: 34px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 991px) {
    .footer-bottom .footer-right {
        padding-right: 16px;
    }
}

/* Footer headings: force uppercase like "ГРАФІК РОБОТИ" */
.footer .widget-title,
.footer .widget-info label {
    text-transform: uppercase;
}

/* Cart page: remove divider below header menu */
.cart-page .header-bottom {
    border-bottom: none !important;
    box-shadow: none !important;
}

.cart-page .header-bottom.sticky-content.fixed,
.cart-page .header-bottom.sticky-header.fix-top.sticky-content.d-lg-show,
.cart-page .header-bottom.sticky-header.fix-top.sticky-content.d-lg-show.fixed {
    border-bottom: none !important;
    box-shadow: none !important;
}

.cart-page .header-bottom > .container {
    border-bottom: none !important;
}

.cart-page .cart.main {
    border-top: none !important;
}

/* Cart coupon input: rounded corners per design */
.cart .cart-coupon-box input[name="coupon_code"] {
    border-radius: 2.6rem !important;
}

/* Footer newsletter input: rounded wrapper */
.footer .widget-newsletter .input-wrapper-inline.mx-auto.mx-lg-0,
.footer .widget-newsletter .input-wrapper-inline {
    border-radius: 2.6rem;
    overflow: hidden;
}

.footer .widget-newsletter .input-wrapper-inline .form-control {
    border-radius: 2.6rem 0 0 2.6rem;
}

/* Footer social links: match original outlined style */
.footer .footer-bottom .social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer .footer-bottom .social-links .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 2px solid #9aa0a6;
    border-radius: 50%;
    background: transparent !important;
    color: #9aa0a6;
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.footer .footer-bottom .social-links .social-link i {
    font-size: 1.7rem;
    line-height: 1;
}

.footer .footer-bottom .social-links .social-link:hover,
.footer .footer-bottom .social-links .social-link:focus-visible {
    color: #fff;
    border-color: var(--social-color, #4267b1);
    background-color: var(--social-color, #4267b1) !important;
}

@media (max-width: 991px) {
    .footer .footer-bottom {
        justify-content: center;
        gap: 12px;
    }

    .footer .footer-bottom .footer-left,
    .footer .footer-bottom .footer-center,
    .footer .footer-bottom .footer-right {
        width: 100%;
        text-align: center;
    }

    .footer .footer-bottom .social-links {
        justify-content: center !important;
        margin: 0 auto !important;
        padding: 0 !important;
        width: 100% !important;
        display: flex !important;
    }

    .footer .footer-bottom .social-links .social-link {
        margin: 0 !important;
    }

    .footer .footer-bottom .footer-left {
        display: flex !important;
        justify-content: center !important;
        text-align: center;
        width: 100% !important;
        padding: 0 !important;
        margin-left: 0 !important;
    }

    .footer .footer-bottom .footer-right {
        padding-right: 0;
        display: flex;
        justify-content: center;
    }
}

/* Add-to-cart minipopup: close button */
.minipopup-box .minipopup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    background: #fff;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.minipopup-box .minipopup-close i {
    font-size: 1.2rem;
    line-height: 1;
}

.minipopup-box .minipopup-close:hover,
.minipopup-box .minipopup-close:focus {
    border-color: var(--shop-primary);
    color: var(--shop-primary);
}

/* Mobile dock menu: keep stable during horizontal product swipes. */
@media (max-width: 991px) {
    .shop-mobile-dock {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1051;
        background: #fff;
        border-top: 1px solid #e1e1e1;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
        animation: none !important;
        transform: translateY(0) !important;
    }

    .market .page-wrapper {
        padding-bottom: 62px;
    }
}

.wishlist-page .alert.alert-info .btn.btn-primary,
.compare-page .alert.alert-info .btn.btn-primary {
    border-radius: 2.6rem !important;
}

.shop-mobile-dock .header-search .input-wrapper {
    border-radius: 2.6rem;
    overflow: hidden;
}

.shop-mobile-dock .header-search .input-wrapper .form-control {
    border-radius: 2.6rem 0 0 2.6rem !important;
}

.shop-mobile-dock .header-search .input-wrapper .btn.btn-search {
    border-radius: 0 2.6rem 2.6rem 0 !important;
}
