/* Mobile styles - nowe zmiany */
body {
    font-family: 'Open Sans';
    margin: 0;
    background-color: #F2F2F2;
    background-image: url('../img/mobile_main_bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    overscroll-behavior: contain;
}
.text-center {
    text-align: center;
}
.white-bg {
    background-color: #fff;
}
.dd .theme-fill {
    fill: #87b727;
}
.fd .theme-fill {
    fill: #1d8fce;
}
.shop.mobile {
    margin: 0;
    padding: 10px 25px 40px 25px;
}
.shop-header.mobile header {
    padding: 10px 0;
    margin: 0;
    border: none;
}
.shop-header.mobile header h3 {
    margin: 32px 0 6px 0;
    font-size: 18px;
    line-height: 24px;
}
.shop-header.mobile header .back {
    position: absolute;
    top: 28px;
    left: 10px;
    padding: 15px;
    cursor: pointer;
}
.shop-header.mobile .cart-icon {
    top: 40px;
    right: 35px;
    padding: 0;
}
.shop-header.mobile .cart-icon svg {
    width: 25px;
    height: 25px;
}
.shop-header.mobile .cart-icon .badge {
    position: absolute;
    top: -10px;
    left: 21px;
    font-size: 12px;
    font-weight: bold;
}
.shop.mobile .all-cards {
    align-items: stretch;
    gap: 6px;
    margin-bottom: 40px;
}
.shop.mobile .card {
    flex: 1 1 calc(50% - 6px);
    max-width: 50%;
    min-width: 120px;
    margin: 0;
    padding: 10px;
    background-color: white;
    border-radius: 25px;
    overflow: hidden;
    -webkit-box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.20);
    -moz-box-shadow:    0px 0px 25px 0px rgba(0, 0, 0, 0.20);
    box-shadow:         0px 0px 25px 0px rgba(0, 0, 0, 0.20);
    box-sizing: border-box;
}
.shop.mobile .card .card-body {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    text-align: left;
}
.shop.mobile .card .product-name {
    flex-basis: 100%;
    display: block;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
}
.shop.mobile .card .product-name .name {
    min-height: 38px;
    margin: 4px;
}
.shop.mobile .retail-price {
    flex-basis: 50%;
    display: inline-block;
    margin: 5px;
    font-size: 14px;
    font-weight: normal;
    line-height: 30px;
}
.shop.mobile button.add-to-cart {
    display: inline-block;
    flex-basis: 100%;
    margin: 15px 0 20px 0;
    padding: 10px;
    font-size: 16px;
    border-radius: 15px;
    cursor: pointer;
}
.shop.mobile button.add-to-cart img {
    vertical-align: middle;
}
.shop.mobile .card:hover {
    background: white;
}
.mobile-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.mobile-cart-confirm {
    display: none;
    position: fixed;
    z-index: 1000;
    width: 300px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}
.mobile-cart-confirm .head {
    padding: 20px 0 0;
    border-radius: 25px 25px 0 0;
}
.mobile-cart-confirm .head img.icon {
    display: inline-block;
}
.mobile-cart-confirm .head span {
    display: inline-block;
    margin: 20px 5px;
    font-size: 20px;
    font-weight: bold;
}
.mobile-cart-confirm .bnav {
    padding: 40px 0;
    font-size: 12px;
    font-weight: bold;
    border-radius: 0 0 25px 25px;
    background: #fff;
}
.mobile-cart-confirm .bnav .btn {
    margin: 0 5px;
    padding: 8px 12px;
    border-radius: 24px;
    margin-bottom: 10px;
    text-decoration: none;
}
.mobile-cart-confirm .btn-back {
    color: #656565;
    background-color: #E1E1E1;
}
.mobile-cart-confirm .btn-back:hover {
    color: #fff;
    text-decoration: none;
}
.mobile-cart-confirm .cart-confirm-text {
    padding: 10px;
}
.mobile-cart-confirm .btn-cart {
    color: #fff;
}
.shop.mobile .products-list {
    margin: 0;
}
.shop.mobile .products-list .card .view {
    display: flex;
    align-items: center;
    height: 150px;
}
.shop.mobile .products-list .card .view img {
    max-width: 100%;
    max-height: 150px;
}
.shop.mobile .products-list button.add-to-cart {
    height: 30px;
    padding: 0;
}
.shop.mobile.product-details {
    font-size: 12px;
}
.shop.mobile.product-details .product {
    padding: 10px;
    border-radius: 25px;
}
.shop.mobile.product-details .product-img {
    margin: 20px 0;
    border: none;
}
.shop.mobile .product-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: last baseline;
    padding: 5px;
    text-align: left;
}
.shop.mobile .product-info ul.details {
    width: 100%;
    color: #000;
}
.shop.mobile .product-info ul.details span.val {
    display: inline-block;
    width: 40%;
    padding: 8px 15px;
    color: #000;
    background: #87B72542;
    border-radius: 20px;
    text-align: center;
}
.shop.mobile .product-info h4.title {
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
    font-size: 20px;
}
.shop.mobile .product-info ul.details > li {
    background-image: none;
    padding: 0 0 10px 0;
}
.shop.mobile.cart-summary .cart-totals {
    padding: 15px;
    border-radius: 25px;
}
.shop.mobile.cart-summary .shop-table {
    margin: 10px;
}
.shop.mobile.cart-summary .btn-back,
.shop.mobile.order-summary .btn-back {
    margin: 10px 0 50px 0;
    border-radius: 25px;
}
.shop.mobile.cart-summary .cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    padding: 20px 10px;
    background-color: #fff;
    border-radius: 22px;
}
.shop.mobile.cart-summary .cart-item .thumb-img {
    width: 20%;
    padding-right: 4px;
}
.shop.mobile.cart-summary .cart-item .item-img {
    width: 85px;
}
.shop.mobile.cart-summary .cart-item .item-info {
    width: 110px;
}
.shop.mobile.cart-summary .cart-item .title {
    text-align: left;
    font-size: 12px;
    font-weight: bold;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
}
.shop.mobile.cart-summary .price {
    font-size: 13px;
    color: #000;
}
.shop.mobile.cart-summary .cart-item .controls {
    min-width: 57px;
    font-size: 16px;
}
.shop.mobile.cart-summary .controls span {
    padding: 2px 4px;
    background: none;
    border: none;
}
.shop.mobile.cart-summary .controls span.item_qty {
    background-color: #f7f7f7;
}
.shop.mobile.cart-summary .delete-item {
    padding: 0 0 0 8px;
}

.shop.mobile.cart-summary .proceed-to-checkout button {
    padding: 15px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
}
.shop.mobile.cart-summary div[class^='col-'] {
    border: none;
}

.shop.mobile.order-form h4 {
    margin: 25px 0 20px;
    padding: 10px 15px;
    border-radius: 25px;
    color: #fff;
}
.shop.mobile.order-form .order-data {
    padding: 15px;
    border-radius: 25px;
}
.shop.mobile.order-form .form-group {
    margin-top: 20px;
    padding: 0 15px;
}
.shop.mobile.order-form label {
    display: inline-block;
    width: 100%;
    font-weight: normal;
    margin-bottom: 10px;
}
.shop.mobile.order-form .form-group input,
.shop.mobile.order-form .form-group textarea {
    display: inline-block;
    width: 100%;
    min-height: 25px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #a9a9a9;
    border-radius: 25px;
    background-color: #F2F2F2;
}
.shop.mobile.order-form .order-details {
    margin: 10px 0;
    padding: 15px;
    border-radius: 25px;
    border: none;
}
.shop.mobile.order-form button.checkout {
    padding: 15px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
}
.shop.mobile .nav-tabs {
    padding-left: 0;
    list-style: none;
    text-align: center;
}
.shop.mobile .tab-title li {
    display: inline-block;
    width: 48%;
}
.shop.mobile .tab-title li {
    border-bottom: 2px solid #D9D9D9;
}
.shop.mobile .tab-title li.active {
    border-color: #EB6E3F;
}
.shop.mobile .tab-title li p {
    font-size: 14px;
    color: #000;
    text-transform: none;
    background: none;
}
.shop.mobile .tab-title li.active p {
    color: #EB6E3F;
    background: none;
}
.shop.mobile .parent-category-list {
    gap: 10px;
    padding: 0;
}
.shop.mobile .parent-category {
    margin: 0;
    padding: 10px;
    background-color: white;
    border-radius: 38px;
    overflow: hidden;
    -webkit-box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.20);
    -moz-box-shadow:    0px 0px 25px 0px rgba(0, 0, 0, 0.20);
    box-shadow:         0px 0px 25px 0px rgba(0, 0, 0, 0.20);
    box-sizing: border-box;
}
.shop.mobile .parent-category img {
    width: 286px;
    margin: 0;
}
.shop.mobile .parent-category h4 {
    background: none;
    border: none;
    margin: 0;
    padding: 0;
    font-size: 16px;
}
.shop.mobile .parent-category p {
    font-size: 14px;
    color: #0c0e0f;
}


.shop.mobile.order-summary .order-details {
    padding: 15px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
}
.shop.mobile.order-summary .order-details h4 {
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: normal;
    color: #fff;
    box-sizing: border-box;
}
.shop.mobile.order-summary .order-details img {
    vertical-align: middle;
}
.shop.mobile.order-summary .order-details .btn-pay {
    display: inline-block;
    /*width: 100%;*/
    margin-bottom: 10px;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: normal;
    color: #fff;
    box-sizing: border-box;
}
.shop.mobile.order-confirmation .info {
    padding: 15px;
    border-radius: 25px;
}
.shop.mobile.order-confirmation .info img {
    display: inline-block;
    vertical-align: middle;
}


@media (max-width: 767px) {
    .shop.mobile .product-info span.name {
        display: inline-block;
        font-size: 15px;
        font-weight: normal;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background-image: url('../img/mobile-screen-bg-dark.jpg');
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    .shop-header,
    .shop-header.mobile .back svg {
        background-color: #000;
        color: #fff;
        fill: #fff;
    }
    .shop.mobile .card,
    .shop.mobile .parent-category,
    .shop.mobile .product,
    .shop.mobile.cart-summary .cart-item,
    .shop.mobile.order-form .order-data,
    .shop.mobile.order-form .order-details,
    .shop.mobile.order-summary .order-details,
    .shop.mobile.order-confirmation .info,
    .mobile-cart-confirm .bnav {
        background-color: #2d2d2d;
        color: #e0e0e0;
    }

    .shop.mobile .card:hover {
        background-color: #363636;
    }

    .shop.mobile.cart-summary .cart-totals {
        background-color: #2d2d2d;
        color: #e0e0e0;
    }

    .shop.mobile.order-form .form-group input,
    .shop.mobile.order-form .form-group textarea {
        background-color: #1a1a1a;
        color: #e0e0e0;
        border-color: #555;
    }

    .shop.mobile.cart-summary .controls span.item_qty {
        background-color: #1a1a1a;
    }

    .shop.mobile .product-info ul.details span.val {
        background-color: #87B72533;
        color: #e0e0e0;
    }


    .shop.mobile .product-info ul.details,
    .shop.mobile .parent-category p,
    .shop.mobile .tab-title li p,
    .shop.mobile .retail-price,
    .shop.mobile.cart-summary .price,
    .shop.mobile.order-form .order-details a,
    .shop.mobile.order-confirmation .info a,
    .shop.mobile.order-summary .info {
        color: #e0e0e0;
    }

    .shop.mobile.order-form ul.errorlist {
        color: #e48686;
    }

    .shop.mobile .tab-title li {
        border-bottom-color: #555;
    }

    .mobile-cart-confirm .btn-back {
        background-color: #3a3a3a;
        color: #e0e0e0;
    }
}

