/* Responsive safeguards shared by every public storefront page. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

.table-responsive,
.cart-table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.product-details-des,
.product-list-content,
.footer-widget,
.newsletter__content {
    min-width: 0;
    overflow-wrap: anywhere;
}

.pwa-install-button {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-height: 54px;
    padding: 7px 17px 7px 8px;
    border: 1px solid var(--brand-primary) !important;
    border-radius: 999px;
    background: var(--brand-primary) !important;
    color: var(--brand-on-primary) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.pwa-install-button:hover,
.pwa-install-button:focus {
    background: var(--brand-primary-hover) !important;
    border-color: var(--brand-primary-hover) !important;
    color: var(--brand-on-primary) !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .2);
    outline: 2px solid transparent;
    transform: translateY(-2px);
}

.pwa-install-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
}

.pwa-install-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pwa-install-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.pwa-install-copy small {
    margin-bottom: 2px;
    color: inherit;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .12em;
    opacity: .78;
    text-transform: uppercase;
}

.pwa-install-copy strong {
    color: inherit;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

/* Refined storefront footer. */
#site-footer .footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: #292b2c !important;
}

#site-footer .footer-top-wrapper .newsletter__wrap {
    flex: 1 1 auto;
    gap: 32px;
}

#site-footer .footer-top-wrapper .newsletter__content h3 {
    margin-bottom: 4px;
    color: #fff !important;
    letter-spacing: .035em;
}

#site-footer .footer-top-wrapper .newsletter__content p {
    margin: 0;
    color: rgba(255, 255, 255, .72) !important;
}

#site-footer .footer-top-wrapper .newsletter__icon {
    border-color: rgba(255, 255, 255, .24);
    border-radius: 8px;
}

#site-footer .footer-top-wrapper .newsletter__box form input {
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 7px;
}

#site-footer .footer-top-wrapper .newsletter__box form button {
    border-radius: 7px;
    color: var(--brand-on-primary) !important;
    background: var(--brand-primary) !important;
    font-weight: 700;
}

#site-footer .footer-widget-area {
    padding-top: 48px !important;
    padding-bottom: 42px !important;
    border-top: 1px solid var(--brand-border);
}

#site-footer .footer-widget-grid {
    row-gap: 28px;
}

#site-footer .footer-widget .widget-title {
    margin-bottom: 18px !important;
}

#site-footer .footer-widget .widget-title h4 {
    position: relative;
    margin: 0;
    padding-bottom: 11px;
    color: var(--brand-footer-text) !important;
    font-size: 13px;
    letter-spacing: .08em;
}

#site-footer .footer-widget .widget-title h4::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-primary);
    content: '';
}

#site-footer .footer-widget .widget-body ul.location li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--brand-footer-text) !important;
    line-height: 1.55;
    text-transform: none;
}

#site-footer .contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin-top: -3px;
    border-radius: 50%;
    color: var(--brand-primary);
    background: var(--brand-surface);
}

#site-footer .contact-icon svg,
#site-footer .map-btn svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#site-footer .contact-link {
    color: var(--brand-footer-text) !important;
    overflow-wrap: anywhere;
}

#site-footer .contact-link:hover,
#site-footer .contact-link:focus {
    padding-left: 0 !important;
    color: var(--brand-primary) !important;
}

#site-footer .contact-link::before {
    display: none;
}

#site-footer .footer-widget .widget-body a.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    margin-top: 8px;
    padding: 6px 17px;
    border: 1px solid var(--brand-primary);
    border-radius: 999px;
    color: var(--brand-on-primary) !important;
    background: var(--brand-primary) !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    transition: transform .2s ease, background-color .2s ease;
}

#site-footer .footer-widget .widget-body a.map-btn:hover,
#site-footer .footer-widget .widget-body a.map-btn:focus {
    padding-left: 17px;
    color: var(--brand-on-primary) !important;
    background: var(--brand-primary-hover) !important;
    transform: translateY(-1px);
}

#site-footer .footer-widget .widget-body a.map-btn::before {
    display: none;
}

#site-footer .footer-bottom-area {
    border-top: 1px solid var(--brand-border);
}

#site-footer .footer-bottom-wrap {
    gap: 24px;
    min-height: 62px;
}

#site-footer .copyright-text p {
    margin: 0 0 3px;
    color: var(--brand-footer-text) !important;
    font-size: 13px;
    text-transform: none;
}

#site-footer .copyright-text small {
    color: var(--brand-footer-text);
    font-size: 11px;
    opacity: .68;
}

#site-footer .payment-method-img {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
}

#site-footer .payment-method-img img {
    width: auto;
    max-width: 78px;
    max-height: 48px;
    object-fit: contain;
}

#site-footer .footer-credit-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    width: 100%;
    margin-top: 16px;
    padding-top: 15px;
    border-top: 1px solid var(--brand-border);
}

#site-footer .mzasystem-credit {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 7px;
    max-width: 760px;
    padding: 7px 12px;
    border-radius: 10px;
    color: var(--brand-footer-text) !important;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
    text-decoration: none !important;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

#site-footer .mzasystem-credit:hover,
#site-footer .mzasystem-credit:focus {
    color: var(--brand-footer-text) !important;
    background: rgba(255, 255, 255, .5);
    box-shadow: 0 5px 16px rgba(17, 24, 39, .08);
    outline: none;
    transform: translateY(-1px);
}

#site-footer .mzasystem-heart {
    font-size: 14px;
    line-height: 1;
}

#site-footer .mzasystem-phone {
    font-weight: 700;
    white-space: nowrap;
}

#site-footer .mzasystem-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-left: 2px;
    overflow: hidden;
    border-radius: 50%;
    background: #252729;
    box-shadow: 0 2px 7px rgba(17, 24, 39, .18);
}

#site-footer .mzasystem-logo img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

#site-footer .footer-credit-row .app-version {
    grid-column: 3;
    justify-self: end;
}

.header-top-area .admin-panel-link {
    color: var(--brand-primary, #E81123);
    font-weight: 700;
    white-space: nowrap;
}

.header-top-area .admin-panel-link i {
    margin-right: 4px;
}

/* Featured-products carousel on the home page. */
.banner-statistic {
    min-width: 0;
}

.promo-slider {
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(17, 24, 39, 0.1);
}

.promo-slider .slick-list,
.promo-slider .slick-track,
.promo-slider .slick-slide,
.promo-slider .slick-slide > div {
    min-width: 0;
}

.promo-slider .slick-list {
    border-radius: 18px;
}

.promo-card {
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(0, 56%) minmax(220px, 44%);
    align-items: stretch;
    min-height: 278px;
    overflow: hidden;
    border: 1px solid var(--brand-border, #e5e7eb);
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff 0%, var(--brand-page-background, #f8f8f8) 100%);
    color: var(--brand-page-text, #1f2937);
    isolation: isolate;
}

.promo-card:hover,
.promo-card:focus {
    color: var(--brand-page-text, #1f2937);
}

.promo-card::before {
    position: absolute;
    right: -80px;
    bottom: -145px;
    z-index: -1;
    width: 410px;
    height: 410px;
    border: 78px solid var(--brand-primary, #e81123);
    border-radius: 50%;
    content: '';
    opacity: 0.07;
}

.promo-card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: 34px 28px 48px 42px;
}

.promo-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    margin-bottom: 13px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--brand-primary, #e81123);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.promo-card__title {
    display: -webkit-box;
    max-width: 540px;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--brand-page-text, #1f2937);
    font-size: clamp(21px, 2.25vw, 31px);
    font-weight: 700;
    line-height: 1.16;
    text-transform: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.promo-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    margin-bottom: 16px;
    color: var(--brand-primary, #e81123);
    font-size: 20px;
    font-weight: 800;
}

.promo-card__price del {
    color: #7b8190;
    font-size: 13px;
    font-weight: 500;
}

.promo-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-page-text, #1f2937);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.promo-card__link i {
    color: var(--brand-primary, #e81123);
    font-size: 17px;
    transition: transform 0.2s ease;
}

.promo-card:hover .promo-card__link i,
.promo-card:focus .promo-card__link i {
    transform: translateX(4px);
}

.promo-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 20px 38px 24px 12px;
}

.promo-card__media::before {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    width: 235px;
    height: 235px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 20px 45px rgba(17, 24, 39, 0.08);
    content: '';
    transform: translate(-50%, -50%);
}

.promo-card .promo-img {
    width: auto;
    max-width: 100%;
    height: 232px;
    max-height: 232px;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 0;
    filter: drop-shadow(0 16px 14px rgba(17, 24, 39, 0.18));
    transition: transform 0.35s ease;
}

.promo-card:hover .promo-img,
.promo-card:focus .promo-img {
    transform: translateY(-4px) scale(1.025);
}

.promo-slider .slick-arrow {
    position: absolute;
    top: auto;
    bottom: 16px;
    z-index: 5;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--brand-primary, #e81123);
    box-shadow: 0 7px 20px rgba(17, 24, 39, 0.2);
    color: #fff;
    cursor: pointer;
    line-height: 1;
    transform: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.promo-slider .slick-arrow:hover,
.promo-slider .slick-arrow:focus {
    background: var(--brand-primary-hover, #c70f20);
    color: #fff;
    outline: none;
    transform: scale(1.08);
}

.promo-slider .slick-prev {
    right: 62px;
    left: auto;
}

.promo-slider .slick-next {
    right: 14px;
}

.promo-slider .slick-arrow i {
    font-size: 21px;
    line-height: 1;
}

.promo-slider.slick-dot-style ul.slick-dots {
    right: auto;
    bottom: 18px;
    left: 42px;
    z-index: 4;
    display: flex !important;
    gap: 7px;
    margin: 0;
    transform: none;
}

.promo-slider.slick-dot-style ul.slick-dots li {
    margin: 0;
}

.promo-slider.slick-dot-style ul.slick-dots li button {
    width: 9px;
    height: 9px;
    background: #cbd0d8;
}

.promo-slider.slick-dot-style ul.slick-dots li.slick-active button {
    width: 28px;
    background: var(--brand-primary, #e81123);
}

@media (max-width: 991.98px) {
    .header-call-action,
    .header-top-right,
    .header-top-right.float-md-right {
        float: none !important;
        text-align: center;
    }

    .header-call-action,
    .header-top-right nav > ul,
    .header-middle-shipping {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 8px 16px;
    }

    .header-top-area .header-call-action a,
    .header-top-area .header-call-action a:last-child {
        max-width: 100%;
        margin: 0;
        padding: 0;
        overflow-wrap: anywhere;
    }

    .header-top-right nav > ul > li {
        margin: 0 !important;
    }

    .header-middle-area .brand-logo {
        margin-bottom: 16px;
        text-align: center;
    }

    .header-middle-right,
    .header-middle-right .header-middle-block {
        width: 100%;
        min-width: 0;
    }

    .header-middle-right .header-middle-shipping {
        margin-bottom: 14px !important;
    }

    .header-middle-right .header-middle-shipping .single-block-shipping {
        width: auto;
        min-width: 190px;
        margin: 0 !important;
    }

    .header-middle-right .header-middle-block {
        display: flex !important;
        flex-flow: row nowrap !important;
        align-items: stretch;
        gap: 10px;
    }

    .header-middle-right .header-middle-block .header-middle-searchbox {
        width: 100% !important;
        min-width: 0;
        margin: 0 !important;
        flex: 1 1 0 !important;
        flex-basis: 0 !important;
    }

    .header-middle-right .header-middle-block .header-mini-cart {
        position: relative;
        width: auto;
        min-width: 116px;
        margin: 0 !important;
        flex: 0 0 116px !important;
        flex-basis: 116px !important;
    }

    .header-mini-cart .cart-list {
        right: 0 !important;
        width: min(320px, calc(100vw - 30px)) !important;
    }

    .main-header-inner,
    .category-toggle-wrap,
    .mobile-menu,
    .slicknav_menu {
        width: 100% !important;
        min-width: 0;
    }

    .category-toggle {
        min-height: 46px;
    }

    .hero-slider-area .slider-wrapper-area3 {
        max-width: calc(100% - 24px);
    }

    .promo-card {
        grid-template-columns: minmax(0, 58%) minmax(180px, 42%);
        min-height: 250px;
    }

    .promo-card__content {
        padding: 28px 20px 46px 28px;
    }

    .promo-card__media {
        padding: 18px 24px 22px 8px;
    }

    .promo-card .promo-img {
        height: 205px;
        max-height: 205px;
    }

    .footer-top-wrapper,
    .newsletter__wrap,
    .footer-bottom-wrap {
        flex-wrap: wrap;
        gap: 18px;
    }

    .newsletter__title,
    .newsletter__box,
    .newsletter__box form {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 767.98px) {
    .container {
        width: 100%;
        max-width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }

    .header-middle-area .brand-logo img {
        width: 112px !important;
        height: 112px !important;
    }

    #site-footer .footer-credit-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    #site-footer .mzasystem-credit {
        grid-column: 1 / -1;
        justify-self: center;
    }

    #site-footer .footer-credit-row .app-version {
        grid-column: 2;
    }

    .header-middle-right .header-middle-shipping .single-block-shipping {
        min-width: min(100%, 220px);
    }

    .shop-top-bar .top-bar-left,
    .shop-top-bar .top-bar-right,
    .shop-top-bar .product-short {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
    }

    .shop-top-bar .product-view-mode,
    .shop-top-bar .product-amount,
    .shop-top-bar .product-short p,
    .shop-top-bar .product-short form {
        margin: 0 !important;
    }

    .shop-top-bar .product-amount p {
        line-height: 1.35;
    }

    .shop-top-bar .product-short form,
    .shop-top-bar .product-short select,
    .shop-top-bar .product-short .nice-select {
        flex: 1 1 180px;
        width: 100% !important;
    }

    .product-details-inner .product-details-des {
        padding-right: 0;
        padding-left: 0;
    }

    .product-review-info .review-tab {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .product-review-info .review-tab li,
    .product-review-info .review-tab li a {
        flex: 1 1 auto;
        text-align: center;
    }

    .share-icon {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .footer-widget-area .row > [class*="col-"] {
        margin-bottom: 20px;
    }
}

@media (max-width: 479.98px) {
    .header-top-area {
        font-size: 12px;
    }

    .header-call-action a,
    .header-top-right a {
        overflow-wrap: anywhere;
    }

    .header-middle-right .header-middle-block {
        gap: 7px;
    }

    .header-middle-right .header-middle-block .header-mini-cart {
        min-width: 86px;
        width: 86px;
        flex: 0 0 86px !important;
        flex-basis: 86px !important;
        padding-right: 5px;
        padding-left: 5px;
    }

    .header-top-area .header-call-action a,
    .header-top-area .header-call-action a:last-child {
        flex: 0 0 100%;
        width: 100%;
        text-align: center;
    }

    .header-mini-cart .cart-total-price {
        font-size: 11px;
        line-height: 1.2;
    }

    .product-list-item .product-list-content {
        width: 100%;
        padding-top: 16px !important;
    }

    .product-list-item .product-list-content > .product-action-link {
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .shop-product-wrap.grid > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .cart-update-option,
    .coupon-accordion,
    .checkout-box-wrap {
        padding-right: 12px;
        padding-left: 12px;
    }

    .pwa-install-button {
        width: 100%;
        justify-content: center;
    }

    .banner-statistic {
        padding-bottom: 28px !important;
    }

    .promo-slider,
    .promo-slider .slick-list,
    .promo-card {
        border-radius: 14px;
    }

    .promo-card {
        grid-template-columns: minmax(0, 62%) minmax(105px, 38%);
        min-height: 230px;
    }

    .promo-card__content {
        padding: 23px 8px 42px 17px;
    }

    .promo-card__badge {
        min-height: 24px;
        margin-bottom: 9px;
        padding: 4px 9px;
        font-size: 9px;
    }

    .promo-card__title {
        margin-bottom: 9px;
        font-size: 17px;
        -webkit-line-clamp: 4;
    }

    .promo-card__price {
        gap: 3px 7px;
        margin-bottom: 10px;
        font-size: 16px;
    }

    .promo-card__price del,
    .promo-card__link {
        font-size: 10px;
    }

    .promo-card__media {
        padding: 12px 10px 18px 0;
    }

    .promo-card__media::before {
        width: 135px;
        height: 135px;
    }

    .promo-card .promo-img {
        height: 165px;
        max-height: 165px;
    }

    .promo-slider.slick-dot-style ul.slick-dots {
        bottom: 14px;
        left: 17px;
    }
}

@media (display-mode: standalone) {
    .pwa-install-button {
        display: none !important;
    }
}
