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

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

.logo {
    margin: auto;
    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-header {
    background: #f9f9f9;
    padding: 10px 0;
    position: fixed;
    z-index: 100;
    width: 100%;
    top: 0;
}

.app-header-menu .flex {
    align-items: center;
}

.app-header-menu a {
    color: #000;
    text-decoration: none;
    transition: 0.2s;
}

.app-header-menu a:hover {
    text-shadow: 0 0 .5px #000;
}

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

.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;
}

.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;
}

.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;
}

.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(0, 0, 0, 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 {
    opacity: 0.8;
}

.app-product-content-info-title {
    font-size: 32px;
    margin-bottom: 30px;
    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: #000;
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}


.app-product-content-info-button:hover {
    opacity: 0.8;
}

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




.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: #000;
    color: #fff;
    text-decoration: none;
    transition: 0.2s;
}

.cart-popup-checkout:hover {
    opacity: 0.85;
}

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

.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-content {
    display: flex;
    gap: 30px;
}

.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: 12px;
}

.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, 1fr);
    gap: 50px;
    align-items: start;
}   

.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;
}

.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: 14px;
    border-radius: 0;
    margin-top: 15px;
    width: 100%;
    border: 1px solid rgba(0,0,0, 0.2);
    position: relative;
    padding: 4px 0;
}

.route-checkout .app-header-menu .first,
.route-checkout .cart-icon {
    display: none;
}

.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;
}

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

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

@media (max-width: 767px) {
    .app-products-list-items {
        grid-template-columns: 1fr;
    }

    .cart-icon img {
        width: 20px;
    }

    .app-header-menu a {
        font-size: 14px;
    }

    .logo img {
        width: 20px;
    }

    body {
        padding-top: 43px;
    }

    .app-catalog-content {
        flex-direction: column;
    }

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

    .app-catalog-content {
        gap: 10px;
    }

    .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;
    }
}