/* ---------------------------- konto użytkownika ---------------------------- */


.woocommerce-account .woocommerce-MyAccount-navigation {
	width: 20%;
}

.woocommerce-account .woocommerce-MyAccount-content {
  display: inline-block;
  margin-left: 5%;
  width: 75%;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    padding: 0;
	border-top: 1px solid #eee;

}

.woocommerce-account .woocommerce-MyAccount-navigation ul li::before {
    content: '';
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
	list-style: none;
    list-style-type: none;
	border-bottom: 1px solid #eee;
	padding-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a:before {
	opacity: 1;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	padding: 10px 5px;
	display: block;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:before {
	margin-right: 20px;
    opacity: .25;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover:before {
	opacity: 1;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard a:before {
	content: "🔰";
    font-size: 21px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--orders a:before {
    font-family: 'FontAwesome';
	content: "🛍️";
    font-size: 21px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--downloads a:before {
    font-family: 'FontAwesome';
	content: "💾";
    font-size: 21px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-address a:before {
    font-family: 'FontAwesome';
	content: "📝";
    font-size: 21px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--payment-methods a:before {
    font-family: 'FontAwesome';
	content: "💸";
    font-size: 21px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-account a:before {
    font-family: 'FontAwesome';
	content: "👤";
    font-size: 21px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:before {
    font-family: 'FontAwesome';
	content: "🔐";
    font-size: 21px;
}

.woocommerce-account .woocommerce-MyAccount-content h2 {
	font-size: 25px;
    text-align: center;
	font-weight: 600;
}

.woocommerce-account p.order-again {
    text-align: right;
}

.woocommerce-account .woocommerce-EditAccountForm input[type="submit"] {
    margin-top: 50px;
    float: right;
}


.u-column1.col-1.woocommerce-Address, .u-column2.col-2.woocommerce-Address {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
}

.u-column1.col-1.woocommerce-Address h2, .u-column2.col-2.woocommerce-Address h2 {
    font-size: 24px;
    text-align: left;
    font-weight: 700;
    margin: 20px 0;
}

.u-column1.col-1.woocommerce-Address a.edit, .u-column2.col-2.woocommerce-Address a.edit {
    font-size: 12px;
    padding: 10px 17px;
    border: 1px solid #eee;
    border-radius: 10px;
}



@media (max-width: 768px) {

    .woocommerce-account .woocommerce-MyAccount-navigation {
        display: block;
        width: auto;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
    display: block;
    width: 90%;
    }

}




/* ---------------------------- lista produktów ---------------------------- */

.woocommerce ul.products,
.woocommerce-page ul.products {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0 auto;
}

.woocommerce ul.products li::before,
.woocommerce-page ul.products li::before {
    content: none;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.4em;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
    color: #507553;
    font-size: 1.7em;
    font-weight: 200;
}

.woocommerce ul.products li.product .button {
    display: inline-block;
    padding: 15px;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
    font-size: .8em;
    color: #999;
    padding-bottom: 10px;
    border-bottom: 1px solid #f2f2f2;
    margin-bottom: 10px;
}

.woocommerce nav.woocommerce-pagination ul {
    list-style: none;
    border: 0;
}

.woocommerce nav.woocommerce-pagination ul li::before {
    content: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border-right: 0;
    margin: 0 4px;
}

a.added_to_cart.wc-forward {
    padding: 10px 18px;
    border: 1px solid #eee;
    margin-left: 10px;
    border-radius: 10px;
}

.woocommerce .woocommerce-ordering select {
    border: 1px solid #ccc;
    padding: 8px 16px;
    border-radius: 10px;
}

/* ---------------------------- produkt ---------------------------- */

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    color: #507553;
    font-size: 2.7em;
    font-weight: 200;
}

.woocommerce div.product form.cart .button {
    margin-top: 0 !important;
    padding: 16px;
}

.woocommerce div.product form.cart .variations label {
    margin-right: 20px;
    font-size: 16px;
}

.woocommerce div.product form.cart table.variations {
    width: 100%;
    table-layout: fixed;
}

.woocommerce div.product form.cart table.variations td.label {
    width: 140px;
}

.woocommerce div.product form.cart table.variations td.value {
    width: auto;
}

.woocommerce div.product form.cart table.variations td.value select {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-radius: 10px;
    padding: 14px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .woocommerce div.product form.cart table.variations td.label,
    .woocommerce div.product form.cart table.variations td.value {
        display: block;
        width: 100%;
    }

    .woocommerce div.product form.cart .variations label {
        display: block;
        margin-right: 0;
        margin-bottom: 8px;
    }
}

.woocommerce div.product div.images img {
    border-radius: 10px;
}

.woocommerce ul.products li.product a img {
    border-radius: 10px;
}

.woocommerce div.product .mgk-product-sections {
    clear: both;
    margin-top: 56px;
}

.woocommerce div.product .mgk-product-section {
    margin: 0 0 28px;
    display: block !important;
    padding: 32px 36px;
    background: linear-gradient(180deg, rgba(80, 117, 83, 0.06) 0%, rgba(80, 117, 83, 0.02) 100%);
    border: 1px solid rgba(80, 117, 83, 0.16);
    border-radius: 10px;
    box-shadow: 0 14px 40px rgba(80, 117, 83, 0.08);
}

.woocommerce div.product .mgk-product-section__header {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(80, 117, 83, 0.14);
}

.woocommerce div.product .mgk-product-section__title {
    margin: 0;
    color: #507553;
    font-size: 1.7em;
    font-weight: 300;
    line-height: 1.1;
}

.woocommerce div.product .mgk-product-section__body > h2:first-child {
    display: none;
}

.woocommerce div.product .mgk-product-section__body > *:last-child {
    margin-bottom: 0;
}

.woocommerce div.product .mgk-product-section__body p {
    color: #777;
    line-height: 1.8;
}

.woocommerce div.product .mgk-product-section__body table.shop_attributes {
    margin: 0;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.woocommerce div.product .mgk-product-section__body table.shop_attributes th,
.woocommerce div.product .mgk-product-section__body table.shop_attributes td {
    padding: 14px 18px;
    background: #fff;
    border: 1px solid rgba(80, 117, 83, 0.12);
}

.woocommerce div.product .mgk-product-section__body table.shop_attributes th {
    width: 32%;
    color: #507553;
    font-weight: 600;
    border-radius: 10px 0 0 10px;
}

.woocommerce div.product .mgk-product-section__body table.shop_attributes td {
    border-radius: 0 10px 10px 0;
}

@media (max-width: 768px) {
    .woocommerce div.product .mgk-product-sections {
        margin-top: 40px;
    }

    .woocommerce div.product .mgk-product-section {
        padding: 24px 20px;
        border-radius: 10px;
    }

    .woocommerce div.product .mgk-product-section__title {
        font-size: 1.8em;
    }

    .woocommerce div.product .mgk-product-section__body table.shop_attributes,
    .woocommerce div.product .mgk-product-section__body table.shop_attributes tbody,
    .woocommerce div.product .mgk-product-section__body table.shop_attributes tr,
    .woocommerce div.product .mgk-product-section__body table.shop_attributes th,
    .woocommerce div.product .mgk-product-section__body table.shop_attributes td {
        display: block;
        width: 100%;
    }

    .woocommerce div.product .mgk-product-section__body table.shop_attributes th,
    .woocommerce div.product .mgk-product-section__body table.shop_attributes td {
        border-radius: 10px;
    }
}





/* --------------------------------- koszyk ------------------------------------ */

.woocommerce-message {
    border-radius: 10px;
    background-color: #faffe7;
    border: 1px solid #8fae1b;
}

.woocommerce-message::before {
    top: 1.2em;
}    

.editor-styles-wrapper .wc-block-cart__empty-cart__title, .wc-block-cart__empty-cart__title {
    text-align: center;
}

.wc-block-cart__empty-cart__title.with-empty-cart-icon:before {
    background-color: currentColor;
    content: "";
    display: block;
    height: 5em;
    margin: 0 auto 2em;
    mask-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzOCIgaGVpZ2h0PSIzOCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iY3VycmVudENvbG9yIiBkPSJNMTkgMEM4LjUwNCAwIDAgOC41MDQgMCAxOXM4LjUwNCAxOSAxOSAxOSAxOS04LjUwNCAxOS0xOVMyOS40OTYgMCAxOSAwWm02LjEyOSAxMi44NzFhMi40NDkgMi40NDkgMCAwIDEgMi40NTIgMi40NTIgMi40NDkgMi40NDkgMCAwIDEtMi40NTIgMi40NTEgMi40NDkgMi40NDkgMCAwIDEtMi40NTItMi40NTEgMi40NDkgMi40NDkgMCAwIDEgMi40NTItMi40NTJaTTExLjY0NSAzMS4yNThjLTIuMDMgMC0zLjY3Ny0xLjYwOS0zLjY3Ny0zLjYgMC0xLjUzMyAyLjE4My00LjYyOCAzLjE4Ny01Ljk2MWEuNjEuNjEgMCAwIDEgLjk4IDBjMS4wMDQgMS4zMzMgMy4xODggNC40MjggMy4xODggNS45NiAwIDEuOTkyLTEuNjQ4IDMuNjAxLTMuNjc4IDMuNjAxWm0xLjIyNi0xMy40ODRhMi40NDkgMi40NDkgMCAwIDEtMi40NTItMi40NTEgMi40NDkgMi40NDkgMCAwIDEgMi40NTItMi40NTIgMi40NDkgMi40NDkgMCAwIDEgMi40NTIgMi40NTIgMi40NDkgMi40NDkgMCAwIDEtMi40NTIgMi40NTFabTEzLjA0IDExLjgxNEE4Ljk4OSA4Ljk4OSAwIDAgMCAxOSAyNi4zNTVjLTEuNjI0IDAtMS42MjQtMi40NTIgMC0yLjQ1MmExMS40IDExLjQgMCAwIDEgOC43ODggNC4xMjJjMS4wNTcgMS4yNTctLjg1OSAyLjc5Ni0xLjg3OCAxLjU2M1oiLz48L3N2Zz4=);
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: 5em;
    width: 5em;
}

.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__header, table.wc-block-cart-items .wc-block-cart-items__header {
    font-size: 17px !important;
}

.wc-block-components-formatted-money-amount {
    font-size: 16px;
}

.wc-block-cart .wc-block-cart__totals-title {
    font-size: 17px !important;
}

.wc-block-cart .wc-block-components-sidebar {
    border: 1px solid hsla(0, 0%, 7%, .11);
    padding: 20px;
    border-radius: 8px;
}

body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) {
    background-color: #507553;
    padding: 15px 19px;
    font-size: 17px;
    font-weight: 400;
    border-radius: 10px;
    color: #fff;
    border: 0;
    display: inline-block;
    min-height: auto !important;
}

.wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link  {
    background-color: #f1f1f1 !important;
    border-radius: 5px !important;
    color: #507553 !important;
}

/* ------------------------ button -------------------- */


.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
    background-color: #507553;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 400;
    border-radius: 10px;
    color: #fff;
    border: 0;
    display: inline-block;
}




.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
    background-color: #507553;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) div.product form.cart .single_add_to_cart_button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) div.product form.cart .single_add_to_cart_button.alt:focus,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) div.product form.cart .single_add_to_cart_button.alt:active,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce div.product form.cart .single_add_to_cart_button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce div.product form.cart .single_add_to_cart_button.alt:focus,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce div.product form.cart .single_add_to_cart_button.alt:active {
    background-color: #6a966e !important;
    border-color: #6a966e !important;
    color: #fff !important;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit:disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button:disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button:disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button:disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.disabled {
    background-color: rgba(80, 117, 83, 0.45) !important;
    border-color: rgba(80, 117, 83, 0.45) !important;
    color: #fff;
    opacity: 1;
    cursor: not-allowed;
}



.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.1em;
    min-height: 55px;
}




/* ----------------------- zamówienie ------------------------ */

.wc-block-components-checkout-return-to-cart-button {
    background-color: #eee;
    padding: 13px 20px;
    border-radius: 10px;
}


/* ----------------------- sidebar sklepu ------------------------ */

.mgk-woo-layout {
    align-items: flex-start;
    gap: 40px 0;
}

.mgk-woo-main {
    min-width: 0;
}

.mgk-woo-sidebar-column {
    align-self: flex-start;
    height: fit-content;
    position: sticky;
    top: var(--mgk-sidebar-sticky-top);
}

.mgk-woo-sidebar {
    height: fit-content;
}

.mgk-woo-widget {
    border: 1px solid #e8ece8;
    border-radius: 10px;
    padding: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbf8 100%);
}

.mgk-woo-widget .widget-title {
    margin: 0 0 16px;
    font-size: 22px;
    line-height: 1.2;
}

.mgk-woo-widget p {
    margin: 0 0 10px;
}

.mgk-woo-widget .button {
    text-align: center;
}

.mgk-woo-user-panel {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    column-gap: 32px;
}

.mgk-woo-user-panel::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: #dfe8df;
    transform: translateX(-0.5px);
}

.mgk-woo-user-panel__section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    text-align: center;
    min-width: 0;
    width: 100%;
}

.mgk-woo-user-panel__section--account {
    padding-left: 0;
    margin-left: 0;
}

.mgk-woo-user-panel__icon {
    width: auto;
    height: 27px;
    flex: 0 0 27px;
    margin-top: 0;
}

.mgk-woo-user-panel__content {
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.mgk-woo-user-panel .widget-title {
    margin-bottom: 0;
    font-size: 14px;
}

.mgk-woo-user-panel__meta {
    min-height: 34px;
    font-size: 13px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mgk-woo-user-panel__meta--primary {
    color: #666;
}

.mgk-woo-user-panel .button {
    min-height: 0;
    padding: 8px 18px;
    font-size: 12px;
    line-height: 1.2;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
}

.mgk-woo-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mgk-woo-widget ul li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #edf1ed;
}

.mgk-woo-widget ul li::before {
    content: none;
}

.mgk-woo-widget ul li:last-child {
    border-bottom: 0;
}

.mgk-woo-widget ul li a {
    display: block;
    padding: 12px 0;
}

.mgk-woo-widget ul.children {
    padding-left: 16px;
    margin-bottom: 8px;
}

.woocommerce-account .mgk-woo-main .woocommerce {
    display: flow-root;
}

@media (max-width: 1024px) {
    .mgk-woo-layout {
        gap: 24px 0;
    }

    .mgk-woo-sidebar {
        position: static;
    }

    .mgk-woo-user-panel {
        grid-template-columns: 1fr;
        gap: 20px;
        column-gap: 0;
    }

    .mgk-woo-user-panel::before {
        display: none;
    }

    .mgk-woo-user-panel__section--account {
        border-top: 1px solid #dfe8df;
        padding-left: 0;
        padding-top: 20px;
        margin-left: 0;
    }
}
