body {
    margin: 0;
    font-weight: 300;
    background: #fff;
    font-family: 'Manrope', sans-serif;
    padding-top: 76px;
}

/* Приховано візуально, але доступно для скрінрідерів і пошукових ботів —
   для сторінок, де семантичний h1 потрібен, а місця під великий заголовок немає. */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Admin bar on the public site */

.site-admin-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 150;

    width: 100%;
    height: 38px;

    background: #1c1712;
    color: #e9e3dc;
}

.site-admin-bar__inner {
    width: min(100%, 1680px);
    height: 100%;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 72px);

    display: flex;
    align-items: center;
    gap: 22px;

    font-size: 13px;
}

.site-admin-bar__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.site-admin-bar__label svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-admin-bar__links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.site-admin-bar__links a,
.site-admin-bar__logout {
    color: #c9bfb4;
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-admin-bar__links a:hover,
.site-admin-bar__logout:hover {
    color: #fff;
}

.site-admin-bar__logout {
    margin-left: auto;
    font-weight: 600;
    white-space: nowrap;
}

body.has-admin-bar {
    padding-top: 114px;
}

body.has-admin-bar .app-header {
    top: 38px;
}

@media (max-width: 768px) {
    .site-admin-bar__inner {
        gap: 14px;
        font-size: 12px;
    }

    .site-admin-bar__label span {
        display: none;
    }

    .site-admin-bar__links {
        gap: 10px;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Admin quick-edit buttons on product card & product page */

.app-product-card-admin-edit {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 6;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.92);
    color: #5a3d28;
    text-decoration: none;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);

    transition: 0.2s ease;
}

.app-product-card-admin-edit:hover {
    background: #5a3d28;
    color: #fff;
}

.app-product-card-admin-edit svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.app-product-admin-edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-left: auto;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(90, 61, 40, 0.35);

    color: #5a3d28;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;

    transition: 0.2s ease;
}

.app-product-admin-edit:hover {
    background: #5a3d28;
    color: #fff;
    border-color: #5a3d28;
}

.app-product-admin-edit svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-content {
    margin: 100px 0;
}

.text-align-center {
    text-align: center;
}

.text-align-right {
    text-align: right;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.logo img {
    width: 30px;
    display: block;
}

div {
    box-sizing: border-box;
}

.app-footer img {
    width: 25px;
    display: block;
}

.app-socials {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.app-socials img {
    width: 25px;
    display: block;
}

.flex {
    display: flex;
}

.gap-10 {
    gap: 10px;
}

.items-center {
    align-items: center;
}

.app-disclaimer {
    margin-left: auto;
    color: #fff;
    font-size: 12px;
}

.inner {
    max-width: 1200px;
    padding: 0 10px;
    margin: auto;
}

.login-form {
    margin: 100px auto;
    text-align: center;
}

.login-form .form-group {
    margin-bottom: 10px;
}

.app-pre-footer {
    background: rgba(30, 30, 30, 1);
    padding: 15px 0;
}

.route-catalog .app-pre-footer,
.route-goods .app-pre-footer {
    margin-top: 60px;
}

.app-pre-footer .app-footer-menu {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.app-pre-footer .app-footer-menu a {
    font-size: 12px;
}

.app-footer {
    background: black;
    padding: 10px 0;
}

.app-footer-menu a {
    color: white;
    text-decoration: none;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
}

.app-slider {
    height: 300px;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.app-slider img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.app-products-list-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.app-products-list-items-item {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-products-list-items-item img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}

.app-products-list-items-item-content {
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.app-products-list-items-item-content-name {
    font-size: 28px;
    color: #000;
    font-weight: 400;
    margin-bottom: 5px;
    display: block;
    text-decoration: none;
    transition: 0.2s;
}

.app-products-list-items-item-content-name:hover {
    text-shadow: 0 0 .5px #000;
}

.app-products-list-items-item-content-utp {
    font-size: 16px;
    margin-bottom: 20px;
    color: #6e6e6e;
}

.app-products-list-items-item-content-footer {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.app-products-list-items-item-content-footer-price {
    font-size: 18px;
    font-weight: 400;
}

.app-products-list-items-item-content-footer-buy {
    color: rgba(255, 255, 255, 1) !important;
    font-size: 16px;
    text-align: center;
    padding: 8px 35px;
    background: rgba(17, 17, 17, 1);
    text-decoration: none;
    display: block;
    margin-left: auto;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.app-products-list-items-item-content-footer-buy:hover {
    background: #5a3d28;
}

.app-product-content-info-title {
    margin: 0 0 30px;
    font-size: 32px;
    font-weight: 400;
}

.app-product-content-info-price {
    font-size: 22px;
    margin-bottom: 30px;
}

.app-product {
    margin-top: 50px;
}

.app-product-content {
    display: flex;
    gap: 50px;
}

.app-product-content .app-product-content-gallery,
.app-product-content .app-product-content-info {
    flex: 1;
}

.app-product-content .app-product-content-gallery img {
    width: 100%;
}

.app-product-content-info-button {
    padding: 10px;
    background: rgba(17,17,17,1);
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}


.app-product-content-info-button:hover {
    background: #5a3d28;
}

.app-product-content-info-description {
    margin-bottom: 30px;
}

.app-product-info-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;

    margin: 22px 0 26px;
    padding: 18px 20px;

    background: #faf8f6;
    border: 1px solid #ece6e1;
    border-radius: 14px;
}

.app-product-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.app-product-info-item + .app-product-info-item {
    padding-top: 14px;
    border-top: 1px solid #ece6e1;
}

.app-product-info-item-icon {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 50%;
    background: rgba(90, 61, 40, 0.1);
    color: #5a3d28;
}

.app-product-info-item-icon svg {
    width: 20px;
    height: 20px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.app-product-info-item-body {
    flex: 1;
    min-width: 0;
}

.app-product-info-item-title {
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #171717;
}

.app-product-info-item-text {
    font-size: 14px;
    line-height: 1.6;
    color: #5c5c5c;
}

.app-product-info-item-list {
    margin: 0;
    padding: 0;
    list-style: none;

    font-size: 14px;
    line-height: 1.6;
    color: #5c5c5c;
}

.app-product-info-item-list li {
    position: relative;
    padding-left: 16px;
}

.app-product-info-item-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;

    width: 6px;
    height: 6px;

    border-radius: 50%;
    background: #5a3d28;
}

@media (max-width: 768px) {
    .app-product-info-grid {
        padding: 16px;
        margin: 18px 0 20px;
    }
}

.cart-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.cart-popup.active {
    display: block;
}

.cart-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.cart-popup-dialog {
    position: absolute;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
}

.cart-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.cart-popup-title {
    font-size: 22px;
    font-weight: 600;
}

.cart-popup-close {
    border: 0;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: black;
}

.cart-popup-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-popup-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cart-popup-item-image {
    width: 90px;
    min-width: 90px;
    height: 90px;
    overflow: hidden;
    background: #f5f5f5;
}

.cart-popup-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-popup-item-content {
    flex: 1;
}

.cart-popup-item-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cart-popup-item-price {
    font-size: 15px;
    margin-bottom: 12px;
}

.cart-popup-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.cart-popup-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-popup-qty button {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    color: black;
}

.cart-popup-qty input {
    width: 40px;
    height: 32px;
    border: 1px solid #ddd;
    text-align: center;
}

.cart-popup-remove {
    border: 0;
    background: transparent;
    color: #c00;
    cursor: pointer;
    padding: 0;
}

.cart-popup-footer {
    padding-top: 10px;
}

.cart-popup-total {
    font-size: 18px;
    font-weight: 700;
}

.cart-popup-empty {
    font-size: 16px;
    text-align: center;
    padding: 40px 20px;
}

.cart-popup-buttons {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-popup-checkout {
    display: block;
    padding: 14px;
    text-align: center;
    background: #171717;
    color: #fff;
    text-decoration: none;
    transition: 0.2s;
}

.cart-popup-checkout:hover {
    background: #5a3d28;
}

.cart-popup-continue {
    padding: 14px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s;
    color: black;
    font-size: 16px;
}

.cart-popup-continue:hover {
    background: #e0e0e0;
}

.cart-icon img {
    width: 25px;
    display: block;
}

.cart-icon  {
    margin-left: 10px;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.cart-icon-count {
    position: absolute;
    top: -10px;
    right: -10px;
    min-width: 10px;
    height: 20px;
    padding: 0 5px;
    border-radius: 20px;
    background: #000;
    color: #fff;
    font-size: 10px;
    line-height: 20px;
    text-align: center;
    display: none;
}

.cart-icon-count.active {
    display: inline-block;
}

.app-catalog {
    margin-top: 50px;
}

.app-catalog-sidebar {
    flex: 0 0 auto;
}

.app-products-list {
    flex: 1;
}

.app-catalog-sidebar-group {
    margin-bottom: 10px;
}

.app-catalog-sidebar-list-item-all {
    margin-bottom: 20px;
    display: block;
}

.app-catalog-sidebar-list a {
    color: black;
    text-decoration: none;
    transition: 0.2s;
    display: block;
}

.app-catalog-sidebar-list a.active {
    text-shadow: 0 0 .5px #000;
}

.app-catalog-sidebar-list a:hover {
    text-shadow: 0 0 .5px #000;
}

.app-products-category-block-head-title {
    font-size: 26px;
    margin-bottom: 15px;
}

.app-products-category-block-head-title a {
    text-decoration: none;
    color: black;
    transform: 0.2s;
}

.app-products-category-block-bottom {
    margin-bottom: 70px;
    margin-top: 30px;
    text-align: center;
}

.app-products-category-block-bottom a {
    color: black;
    text-transform: uppercase;
    transform: 0.2s;
    font-size: 14px;
}

.app-products-category-block-bottom a:hover {
    text-shadow: 0 0 .5px #000;
}

.app-products-category-block-head-title a:hover {
    text-shadow: 0 0 .5px #000;
}

.checkout-page {
    padding: 40px 0;
}

.checkout-page input[type="text"] {
    border: 1px solid rgba(0,0,0, 0.2);
    width: 250px;
    padding: 10px;
    display: block;
    margin-bottom: 15px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
    align-items: start;
}   

.checkout-grid > * {
    min-width: 0;
}

.checkout-title,
.checkout-summary-title,
.checkout-section-title {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 15px;
}

.checkout-section {
    margin-bottom: 30px;
}

.checkout-product {
    display: flex;
    gap: 15px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.checkout-product-image {
    width: 90px;
    min-width: 90px;
    height: 90px;
    overflow: hidden;
    background: #f7f7f7;
}

.checkout-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.checkout-product-title {
    font-weight: 600;
    margin-bottom: 6px;
}

.checkout-product-meta {
    color: #777;
    margin-bottom: 6px;
}

.checkout-product-price {
    font-weight: 600;
}

.checkout-total {
    font-size: 22px;
    font-weight: 700;
    margin-top: 20px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 5px !important;
}

.select2-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.checkout-page .form-check-label, .checkout-page .form-label {
    font-size: 16px;
}

.checkout-page button {
    width: 100%;
    padding: 15px;
    border: none;
    background: black;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.checkout-page button:hover {
    opacity: 0.8;
}

.checkout-page .select2-container--default .select2-selection--single {
    height: auto;
    font-size: 16px;
    border-radius: 0;
    margin-top: 15px;
    width: 100%;
    border: 1px solid rgba(0,0,0, 0.2);
    position: relative;
    padding: 5px 0;
    font-weight: 400px;
}

.order-success {
    text-align: center;
    margin: 100px auto;
}

.order-success img {
    width: 150px;
    margin-bottom: 20px;
}

.order-success a {
    display: block;
    width: fit-content;
    margin: 31px auto;
    padding: 10px 50px;
    background: black;
    color: white;
    text-decoration: none;
    transition: 0.2s;
}

.order-success a:hover {
    opacity: 0.8;
}

.route-checkout-success .app-footer,
.route-checkout-success-order .app-footer {
    display: none;
}

#ukrPoshtaFields {
    margin-top: 15px;
}

.app-product-content-info-description table tr td {
    padding: 15px;
}

.app-reviews {
    padding: 40px 0;
}

.app-reviews-head {
    margin-bottom: 24px;
    text-align: center;
}

.app-reviews-title {
    font-size: 36px;
    font-weight: 600;
    color: #171717;
}

.app-reviews-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.app-reviews-item {
    padding: 28px;
}

.app-reviews-item-stars {
    margin-bottom: 16px;
    color: #171717;
    font-size: 22px;
    letter-spacing: 2px;
}

.app-reviews-item-text {
    margin-bottom: 20px;
    color: #171717;
    font-size: 16px;
    line-height: 1.6;
}

.app-reviews-item-name {
    font-size: 16px;
    font-weight: 600;
    color: #171717;
}

.app-product-characteristics {
    margin-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.app-product-characteristics-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    user-select: none;
}

.app-product-characteristics-arrow {
    font-size: 28px;
    line-height: 1;
    transition: transform .3s ease;
}

.app-product-characteristics-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height .35s ease,
        opacity .25s ease,
        padding .35s ease;
    line-height: 1.8;
    padding-bottom: 0;
}

.app-product-characteristics.open .app-product-characteristics-content {
    max-height: 1000px;
    opacity: 1;
    padding-bottom: 20px;
}

.app-product-characteristics.open .app-product-characteristics-arrow {
    transform: rotate(45deg);
}

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .app-reviews-items {
        grid-template-columns: 1fr;
    }

    .app-reviews-title {
        font-size: 28px;
    }
}

@media (max-width: 1200px) {
    .app-products-list-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 767px) {

    .checkout-page input[type="text"] {
        width: 100%;
        box-sizing: border-box;
    }

    .app-products-list-items-item-content-name {
        font-size: 22px;
    }

    .app-products-list-items-item-content-utp {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .app-products-list-items-item-content-footer {
        flex-direction: column;
    }

    .app-products-list-items-item-content-footer-price {
        margin-bottom: 5px;
    }

    .app-products-list-items-item-content-footer-buy {
        margin-left: 0;
        width: 100%;
        padding: 12px 0;
        text-align: center;
        justify-content: center;
    }

    .text-align-right {
        margin-left: auto;
        display: flex;
        gap: 25px;
        align-items: center;
        margin-right: 5px;
    }

    .text-align-center {
        margin: auto;
        position: absolute;
        top: 55px;
        background: white;
        border-radius: 12px;
        padding: 10px;
        right: 10px;
        display: none;
    }

    .text-align-center a {
        padding: 5px 25px;
    }

    .logo img {
        width: 20px;
    }

    body {
        padding-top: 43px;
    }

    .app-catalog {
        margin-top: 20px;
    }

    .app-product {
        margin-top: 20px;
    }

    .app-slider {
        margin-bottom: 15px;
    }

    .app-product-content-info-title {
        margin-bottom: 10px;
    }

    .app-product-content-info-price {
        margin-bottom: 10px;
    }
}

body {
    margin: 0;
    padding-top: 76px;
    background: #fff;
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
}

/* Header */

.app-header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;
    background: rgba(249, 249, 249, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(17, 18, 15, 0);
    transition: box-shadow 0.35s ease, background 0.35s ease;
}

.app-header.is-scrolled {
    background: rgba(249, 249, 249, 0.96);
    box-shadow: 0 1px 0 rgba(17, 18, 15, 0.07), 0 12px 28px -18px rgba(17, 18, 15, 0.25);
}

.app-header__inner {
    width: min(100%, 1680px);
    height: 100%;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 72px);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.app-header__logo {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #11120f;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.app-header__logo:hover {
    opacity: 0.7;
}

.app-header__logo img {
    width: 31px;
    height: 36px;
    display: block;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-header__logo:hover img {
    transform: rotate(-6deg) scale(1.06);
}

.app-header__logo span {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.app-header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 2.4vw, 44px);
}

.app-header__nav a {
    position: relative;
    padding: 28px 0 25px;
    color: #11120f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.app-header__nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 19px;
    left: 0;
    height: 1px;
    background: #11120f;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-header__nav a:hover::after,
.app-header__nav a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.app-header__nav a.active {
    font-weight: 600;
}

.app-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.cart-icon {
    position: relative;
    width: 42px;
    height: 42px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #11120f;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.cart-icon:hover {
    background: rgba(17, 18, 15, 0.06);
}

.cart-icon:active {
    transform: scale(0.94);
}

.cart-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-icon-count {
    position: absolute;
    top: 3px;
    right: 3px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #11120f;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 17px;
    transform: scale(1);
}

.cart-icon-count.active {
    display: flex;
}

.cart-icon-count.bump {
    animation: cartCountBump 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cartCountBump {
    0% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.45);
    }
    100% {
        transform: scale(1);
    }
}

.app-header-mobile-burger {
    width: 36px;
    height: 36px;
    padding: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease;
}

.app-header-mobile-burger:hover {
    background: rgba(17, 18, 15, 0.06);
}

.app-header-mobile-burger span {
    width: 18px;
    height: 1.5px;
    display: block;
    background: #11120f;
    border-radius: 1px;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, width 0.3s ease;
}

.app-header-mobile-burger.active span:first-child {
    transform: translateY(3.75px) rotate(45deg);
}

.app-header-mobile-burger.active span:last-child {
    width: 18px;
    transform: translateY(-3.75px) rotate(-45deg);
}

@media (max-width: 767px) {
    body {
        padding-top: 64px;
    }

    .app-header {
        height: 64px;
    }

    .app-header__inner {
        display: flex;
        justify-content: space-between;
        padding: 0 18px;
    }

    .app-header__logo img {
        width: 25px;
        height: 30px;
    }

    .app-header__logo span {
        font-size: 12px;
    }

    .app-header__nav {
        position: absolute;
        top: 64px;
        right: 12px;
        left: 12px;
        padding: 10px 20px;
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        border: 1px solid rgba(17, 18, 15, 0.1);
        border-radius: 16px;
        background: #faf9f5;
        box-shadow: 0 20px 40px -16px rgba(17, 18, 15, 0.22);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px) scale(0.98);
        transform-origin: top center;
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.25s;
    }

    .app-header__nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .app-header__nav a {
        padding: 15px 2px;
        border-bottom: 1px solid rgba(17, 18, 15, 0.08);
        font-size: 16px;
    }

    .app-header__nav a:last-child {
        border-bottom: 0;
    }

    .app-header__nav a::after {
        display: none;
    }

    .app-header-mobile-burger {
        display: flex;
    }
}

@media (max-width: 767px) {
    .checkout-page input,
    .checkout-page select,
    .checkout-page textarea,
    .select2-search__field {
        font-size: 16px !important;
    }
}

.checkout-page .select2-container .select2-selection--single {
    max-width: 100%;
    overflow: hidden;
}

.checkout-page .select2-container .select2-selection__rendered {
    display: block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
/*
|--------------------------------------------------------------------------
| Кнопка «вгору»
|--------------------------------------------------------------------------
*/

.app-scroll-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 90;

    width: 48px;
    height: 48px;
    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;

    background: #171717;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease;
}

.app-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.app-scroll-top:hover {
    background: #000;
    transform: translateY(-2px);
}

.app-scroll-top svg {
    width: 22px;
    height: 22px;

    fill: none;
    stroke: #fff;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 767px) {
    .app-scroll-top {
        right: 16px;
        bottom: 16px;

        width: 42px;
        height: 42px;
    }

    .app-scroll-top svg {
        width: 19px;
        height: 19px;
    }
}
